!function(l){function t(t){for(var e,n,i=t[0],r=t[1],a=t[2],o=0,s=[];ol&&s[1]>c&&this.setPosition(n+a-s[0],i+o-s[1]):(s[0]>=l&&(this.setPosition(t),0===Math.round(this.prop("Left")-t)&&this.prop("Width",s[0])),s[1]>=c&&(this.setPosition(null,e),0===Math.round(this.prop("Top")-e)&&this.prop("Height",s[1])))}}).dir="nw":t("n")?(n=function(t,e){if(this.canResizeY()){var n,i=this.prop("Top"),r=Object(x.a)([null,e-i]);n=ithis.prop("Minimum")?(this.prop(t,e),this.prop("Value")>e&&(this.prop("Value",this.prop("Minimum")),s.a.trigger("update-properties-panel",this))):s.a.trigger("update-properties-panel",this)}},Minimum:{label:"Properties Minimum",type:"number",setValue:function(t,e){e=this.prop("Minimum")&&e<=this.prop("Maximum")?this.prop(t,e):s.a.trigger("update-properties-panel",this)}},MaxHeight:{type:"unit",label:"Properties MaxHeight",attrs:{min:0}},MaxWidth:{type:"unit",label:"Properties MaxWidth",attrs:{min:0}},MinHeight:{type:"unit",label:"Properties MinHeight",attrs:{min:0}},MinWidth:{type:"unit",label:"Properties MinWidth",attrs:{min:0}}}},Paper:{label:"Properties Paper",propName:"Paper",fields:{BottomMargin:{type:"unit",label:"Properties BottomMargin",attrs:{min:0}},Landscape:{type:"checkbox",label:"Properties Landscape"},LeftMargin:{type:"unit",label:"Properties LeftMargin",attrs:{min:0}},PaperHeight:{type:"unit",label:"Properties PaperHeight",attrs:{min:0,step:.1}},PaperWidth:{type:"unit",label:"Properties PaperWidth",attrs:{min:0,step:.1}},RawPaperSize:{type:"text",label:"Properties RawPaperSize"},RightMargin:{type:"unit",label:"Properties RightMargin",attrs:{min:0}},TopMargin:{type:"unit",label:"Properties TopMargin",attrs:{min:0}}}},Print:{label:"Properties Print",propName:"Print",fields:{Duplex:{type:"text",label:"Properties Duplex"},FirstPageSource:{type:"number",label:"Properties FirstPageSource"},OtherPagesSource:{type:"number",label:"Properties OtherPagesSource"},PrintSettings:{label:"Properties PrintSettings",fields:{"PrintSettings.Collate":{label:"Properties Collate",type:"checkbox"},"PrintSettings.Copies":{label:"Properties Copies",type:"number"},"PrintSettings.CopyNames":{label:"Properties CopyNames",type:"textarea"},"PrintSettings.Duplex":{label:"Properties Duplex",type:"select",collection:["Default","Simplex","Vertical","Horizontal"]},"PrintSettings.PageNumbers":{label:"Properties PageNumbers",type:"text"},"PrintSettings.PageRange":{label:"Properties PageRange",type:"select",collection:["All","Current","PageNumbers"]},"PrintSettings.PagesOnSheet":{label:"Properties PagesOnSheet",type:"select",collection:["One","Two","Four","Eight"]},"PrintSettings.PaperSource":{label:"Properties PaperSource",type:"number"},"PrintSettings.Printer":{label:"Properties Printer",type:"select",collection:["Default"]},"PrintSettings.PrintMode":{label:"Properties PrintMode",type:"select",collection:["Default","Split","Scale"]},"PrintSettings.PrintOnSheetHeight":{label:"Properties PrintOnSheetHeight",type:"number"},"PrintSettings.PrintOnSheetRawPaperSize":{label:"Properties PrintOnSheetRawPaperSize",type:"number"},"PrintSettings.PrintOnSheetWidth":{label:"Properties PrintOnSheetWidth",type:"number"},"PrintSettings.PrintPages":{label:"Properties PrintPages",type:"select",collection:["All","Odd","Even"]},"PrintSettings.PrintToFile":{label:"Properties PrintToFile",type:"checkbox"},"PrintSettings.PrintToFileName":{label:"Properties PrintToFileName",type:"text"},"PrintSettings.Reverse":{label:"Properties Reverse",type:"checkbox"},"PrintSettings.SavePrinterWithReport":{label:"Properties SavePrinterWithReport",type:"checkbox"},"PrintSettings.ShowDialog":{label:"Properties ShowDialog",type:"checkbox"}}}}},Hierarchy:{label:"Properties Hierarchy",propName:"Hierarchy",fields:{IdColumn:{type:"select",label:"Properties IdColumn"},Indent:{type:"unit",label:"Properties Indent"},ParentIdColumn:{type:"select",label:"Properties ParentIdColumn"}}},Navigation:{label:"Properties Navigation",propName:"Navigation",fields:{Bookmark:{label:"Properties Bookmark",type:"text",expression:!0},Hyperlink:{label:"Properties Hyperlink",expression:!0,expressionEventName:"hyperlink-editor",fields:{"Hyperlink.DetailPageName":{type:"text",label:"Properties DetailPageName"},"Hyperlink.DetailReportName":{type:"text",label:"Properties DetailReportName"},"Hyperlink.Expression":{type:"text",label:"Properties Expression",expression:!0,exprMenu:!0},"Hyperlink.Kind":{type:"select",label:"Properties Kind",collection:["URL","PageNumber","Bookmark","DetailReport","DetailPage","Custom"]},"Hyperlink.ReportParameter":{type:"text",label:"Properties ReportParameter"},"Hyperlink.Value":{type:"text",label:"Properties Value"},"Hyperlink.ValueSeparator":{type:"text",label:"Properties ValueSeparator"},"Hyperlink.OpenLinkInNewTab":{type:"checkbox",label:"Properties OpenLinkInNewTab"}}}}},Script:{label:"Properties Script",propName:"Script",fields:{ReferencedAssemblies:{label:"Properties ReferencedAssemblies",type:"textarea",attrs:{disabled:!0}},ScriptLanguage:{label:"Properties ScriptLanguage",type:"select",collection:["CSharp","Vb"],afterSetValue:function(t,e){var n=c().code;n&&n.setMode(e)}}}}},!0),e.a=o.a},function(t,e,n){"use strict";var i,g,m,r,a,c,o,s,l,p,d,u,b,h,f,v,y,C,S,x;n.r(e),i=n(0),g=n.n(i),m=n(4),r=n(2),a=n(137),c=n(39),o=n(97),s=n(193),l=n(1),p=n(96),d=n(8),u=n(18),b=n(3),h=n(23),f=n(59),v=n(5),y=n(42),C=n(32),S=n(75),x=function(){return S.a.apply(null,arguments).w},e.default=Object(d.a)(c.a,{SM:new a.a,disabled:!0,_init:function(){this._id="b"+Object(u.a)(),this.prop({Width:718.2,Height:170.08}),this.attr({title:"title",threshold:0,"title-font-size":"1em","title-font-family":window.DSG.head.$main.css("font-family"),"title-font-weight":"normal","title-angle":"-90","title-color":"black","fill-blanket":"rgb(90, 90, 90)",removeable:!0,activated:!1,margin:0,padding:0,"margin-left":0,layer_defect:0,placeAboveParent:!1,"separator.color":m.a.get("colors")["default-band-separator"],"separator.style":"","separator.width":m.a.get("band-indent-top")||2,"separator.opacity":m.a.get("band-indent-opacity")||1})},create:function(){var t=this.createObject(this);return t._init.apply(t,arguments),t.prop("Name",t.formName()),t.unparsed=[],t.components=o.a.create(t),t.bands=s.a.create(t),this.SM.add(t),t},getFillTitleColor:function(){return"#91D4FF"},canHaveChildren:function(t){return["ChildBand"].includes(t.type||t)},canBeSorted:function(){return!1},has:function(t){return 0n.attr("threshold")&&n.attr("threshold",e),t.setPosition()}),this.touch(),this},updateComponentsCoords:function(){this.components.everyEntity(function(t){t.isActivated()&&t.syncUpControlsPos()})},adjust:function(){var t,e=this.bands.getHeightTo(this,this.attr("padding"));return this.prop("Top",e),m.a.get("resize-bands")?(this.updateThreshold(),(t=this.attr("threshold"))>e+this.prop("Height")&&this.prop("Height",t-e)):this.touch(),this},balance:function(t){var e,n=this.getPage();return t=void 0!==t?t:this.prop("Height"),this.adjust(),this.render(),t!==(e=this.prop("Height"))&&void 0!==e&&(n.bands.after(this,function(t){t.updateThreshold()}),n.balance()),this},renderContainer:function(){return this.$g||(this.g=Object(b.a)("g",{class:"band"}),this.$g=g()(this.g),(this.g.band=this).$body=g()(Object(b.a)("g")),this.$bandsTop=g()(Object(b.a)("g")),this.$bandsBottom=g()(Object(b.a)("g")),this.$title=g()(Object(b.a)("g")),this.$resize=m.a.get("resize-bands")?g()(Object(b.a)("g",{class:"resizing-band s-resize"})):g()(),this.$components=g()(Object(b.a)("g")),this.$background=g()(Object(b.a)("g")),this.$rect=g()(Object(b.a)("rect")),this.$net=g()(Object(b.a)("rect",{class:"fr-net"})),this.$background.append(this.$rect,this.$net),this.$workspace=this.$background,this.$body.append(this.$background,this.$resize,this.$components),this.$g.append(this.$title,this.$body,this.$bandsTop,this.$bandsBottom)),this.$g},render:function(){var t,e,n,i,r;return this.touched&&(this.renderContainer(),t=this.attr("padding"),e=this.attr("margin"),i=this.prop("Height"),n=this.prop("Width"),Object(v.a)(this.$background[0],"transform","translate("+t+", 0)"),Object(v.a)(this.$components[0],"transform","translate("+t+", 0)"),Object(v.a)(this.$body[0],"transform","translate("+e+", "+this.bands.getTopBandsHeight()+")"),Object(v.a)(this.$bandsTop[0],"transform","translate(0, 0)"),Object(v.a)(this.$bandsBottom[0],"transform","translate(0, "+(m.a.get("resize-bands")?i+this.attr("separator.width"):0)+")"),this.balanceChildBands(),this.$rect.attr({width:n,height:i}),this.$net.attr({width:n,height:i}),this.$rect.css("fill",this.getFillColor()),(r=this.getPage()).report.attr("grid")?this.$net.css("fill","url(#"+r.netId+")"):this.$net.css("fill",""),this.appendSeparator(),this.addResizingBandComponent(),this.appendTitle(),this.separate(),this.touched=!1,c.a.render.call(this)),this.$g},balanceChildBands:function(){var t,e=0,n=0;m.a.get("resize-bands")&&(n=m.a.get("band-indent-top")||0),t=function(){g()(this).hasClass("fr-hidden")||(Object(v.a)(this.band.g,"transform","translate("+this.band.prop("Left")+", "+e+")"),e+=this.band.prop("Height")+n)},this.$bandsTop.children(".band").each(t),e=0,this.$bandsBottom.children(".band").each(t)},toXMLNET:function(s){var l=this;return new Promise(function(o){c.a.toXMLNET.call(l,s).then(function(t){var e,n,i,r,a=g()(t.xml);s=Object.assign({parentNode:a[0]},s),a.removeAttr("Top"),"0"===a.attr("Left")&&a.removeAttr("Left"),e=[],l.components.eachEntity(function(t){e.push(t.toXMLNET(s))}),n=Promise.all(e).then(function(t){t.forEach(function(t){a.append(t.xml)})}),i=[],0i&&r.shift(),a=r.length},clear:function(){r.length=0,a=r.length},canUndo:function(){return 0 Highlight"),i=this;return n.length&&this.highlights&&o.a.each(n,function(){(e=r.a.create()).fillPropsNET(o()(this)),i.highlights.add(e)}),this},fillPropsVCL:function(t){return s.default.fillPropsVCL.apply(this,arguments),this.fillFontVCL(t),this.prop("Text")&&this.prop("Text",Object(p.a)(this.prop("Text").toString())),this.prop("HAlign")&&(this.prop("HorzAlign",this.horzAlignVCL2NET(this.prop("HAlign"))),this.deleteProp("HAlign")),this.prop("VAlign")&&(this.prop("VertAlign",this.vertAlignVCL2NET(this.prop("VAlign"))),this.deleteProp("VAlign")),this},toXMLNET:function(a){var t=this;return new Promise(function(r){s.default.toXMLNET.call(t,a).then(function(e){var n,i=o()(e.xml);a=Object.assign({parentNode:i[0]},a),"#000000"===t.prop("TextFill.Color")&&i.removeAttr("TextFill.Color"),t.prop("Text")&&i.attr("Text",Object(d.a)(t.prop("Text").replace(/\n/gm,"\r\n"))),Object(u.a)(i,t),n=[],t.highlights&&t.highlights.eachEntity(function(t){n.push(t.toXMLNET(a))}),Promise.all(n).then(function(t){return t.forEach(function(t){return i.append(t)}),r(e)})})})},toXMLVCL:function(t){var n=this;return new Promise(function(e){s.default.toXMLVCL.call(n,t).then(function(t){return t=o()(t),n.prop("Text")&&t.attr("Text",Object(d.a)(n.prop("Text").replace(/\n/gm,"\r\n"))),n.prop("HorzAlign")&&(t.attr("HAlign",n.horzAlignNET2VCL(n.prop("HorzAlign"))),t.removeAttr("HorzAlign")),n.prop("VertAlign")&&(t.attr("VAlign",n.vertAlignNET2VCL(n.prop("VertAlign"))),t.removeAttr("VertAlign")),e(t[0])})})}})},function(t,e,n){"use strict";e.a=function(){return Math.random().toString(36).substr(2,9)}},,,,function(t,e,n){"use strict";n.d(e,"a",function(){return i});var i=(r.prototype._writeLog=function(t,e,n,i){var r,a;if(this.enabled){if(function(){var t,e,n=window.navigator.userAgent,i=n.indexOf("MSIE ");return 0"),b=function(t,e){var n=a()("
"),i=a()("
");return n.hide(),n.addClass("ntf"),i.addClass("ntf-message"),n.append(i),n.on("click",function(){n.fadeOut(c)}),e.success&&n.addClass("ntf-success"),e.danger&&n.addClass("ntf-danger"),e.warning&&n.addClass("ntf-warning"),e.info&&n.addClass("ntf-info"),!1===e.limitWidth&&n.css("max-width","none"),"string"!=typeof t?i.html(t):i.html(e.trans?s.a.tr(t):t),n},m.addClass("ntf-panel"),function(t,e){var n,i=window.DSG.head,r=window.DSG.currentReport;if((e=e||{}).debug)return!1;m.parent().length||i.put(m),m.css({top:r.attr("Top"),right:"10px"}),n=b(t,e),e.inEmptyList?m.html(n):m.prepend(n),n.fadeIn(300,function(){!1!==e.delay&&setTimeout(function(){n.fadeOut(c,function(){n.removeClass("success danger warning info")})},e.delay||p)})}):function(){}},function(t,e,n){"use strict";var i,S,o,s,r,a,l,d,x,P,c,p,w,u;n.r(e),i=n(0),S=n.n(i),o=n(4),s=n(17),r=n(25),a=n(2),l=n(1),d=n(194),x=n(3),P=n(5),c=n(42),p=n(32),w=n(75),u=n(46),e.default=s.a.createObject(s.a,{title:"Objects TextObject",info:"TextObjectInfo",icon:"icon-102",pos:10,type:"TextObject",typevcl:"TfrxMemoView",disabled:!1,_init:function(){s.a._init.apply(this,arguments),this.highlights=r.a.create(this),this.defaultValues={Angle:0,VertAlign:"Top",HorzAlign:"Left","TextFill.Color":"#000","Padding.Left":2,"Padding.Right":2,AutoShrinkMinSize:0,Editable:!1,CanBreak:!0,Clip:!0,FirstTabOffset:0,FontWidthRatio:1,LineHeight:0,ParagraphOffset:0,TabWidth:58,ProcessAt:"Default",WordWrap:!0,AllowExpressions:!0,TextRenderType:"Default"},this.attr({"droppable-view":!0,"droppable-component":!0,withPadding:!0,"text-anchor":"start"}),this.prop({Name:"Text",Width:94.5,Height:18.9,Text:""}),this.setDefaultFont()},setDefaultFont:function(){this.attr({"Font.Name":o.a.get("default-font-name"),"Font.Size":"10pt","Font.Bold":!1,"Font.Italic":!1,"Font.Underline":!1,"Font.Strikeout":!1})},getPxFontSize:function(){var t=this.attr("Font.Size");return/pt$/.test(t)&&(t=+(parseFloat(t,10)/.75).toFixed(2)),parseFloat(t,10)},getHorzAlign:function(){var t=this.prop("HorzAlign"),e=this.attr("innerWidth"),n=this.getPxFontSize(),i=0;return this.attr("minPadding",n/5),"Center"===t||"Justify"===t?(i=e/2,this.attr("text-anchor","middle")):"Left"===t?(i=this.attr("minPadding"),this.attr("text-anchor","start")):"Right"===t&&(i=e-this.attr("minPadding"),this.attr("text-anchor","end")),parseInt(i,10)},getVertAlign:function(){var t=this.prop("VertAlign"),e=this.attr("innerHeight"),n=this.attr("contentHeight"),i=this.getPxFontSize(),r=0,a=0;return"Center"===t?a=e/2-n/2:"Bottom"===t&&(a=e-n),(r=Math.floor(i/10)-1)<0&&(r=0),a+i-r},dblclick:function(){l.a.trigger("show-expression-editor",{entity:this,prop:"Text"})},getContextMenuItems:function(){function t(t){e.onChangeCM(t),e._updateProperties()}var e=this;return[{name:a.a.tr("ComponentMenu Edit"),type:"default",closeAfter:!0,onClick:function(){l.a.trigger("activate",e),e.dblclick()}},{name:a.a.tr("TextObject Format"),type:"default",closeAfter:!0,onClick:function(){l.a.trigger("activate",e),l.a.trigger("format",e)}},{name:a.a.tr("ComponentMenu Clear"),type:"default",closeAfter:!0,onClick:function(){e.prop("Text","",!0),e.render(),l.a.trigger("activate",e)}},{name:a.a.tr("ComponentMenu Hyperlink"),type:"default",closeAfter:!0,onClick:function(){l.a.trigger("hyperlink-editor",e)}},{type:"separator"},{name:a.a.tr("ComponentMenu CanGrow"),type:"checkbox",curVal:e.prop("CanGrow"),prop:"CanGrow",onChange:t},{name:a.a.tr("ComponentMenu CanShrink"),type:"checkbox",curVal:e.prop("CanShrink"),prop:"CanShrink",onChange:t},{name:a.a.tr("ComponentMenu CanBreak"),type:"checkbox",curVal:e.prop("CanBreak"),prop:"CanBreak",onChange:t},{name:a.a.tr("ComponentMenu GrowToBottom"),type:"checkbox",curVal:e.prop("GrowToBottom"),prop:"GrowToBottom",onChange:t},{type:"separator"},{name:a.a.tr("ComponentMenu AutoWidth"),type:"checkbox",curVal:e.prop("AutoWidth"),prop:"AutoWidth",onChange:t},{name:a.a.tr("ComponentMenu WordWrap"),type:"checkbox",curVal:e.prop("WordWrap"),prop:"WordWrap",onChange:t},{name:a.a.tr("Allow Expressions"),type:"checkbox",curVal:e.prop("AllowExpressions"),prop:"AllowExpressions",onChange:t},{type:"separator"},{name:a.a.tr("Menu Edit Cut"),type:"default",closeAfter:!0,shortcut:"Ctrl + X",onClick:function(){l.a.trigger("cut",S()(e))}},{name:a.a.tr("Menu Edit Copy"),type:"default",closeAfter:!0,shortcut:"Ctrl + C",onClick:function(){l.a.trigger("copy",S()(e))}},{name:a.a.tr("Menu Edit Paste"),type:"default",disabled:!window.DSG.currentReport.getCurrentPage().buffer.length,closeAfter:!0,shortcut:"Ctrl + V",onClick:function(){setTimeout(function(){l.a.trigger("paste")},100)}},{name:a.a.tr("Menu Edit Delete"),type:"default",disabled:!e.canBeRemoved(),closeAfter:!0,shortcut:"Del",onClick:function(){l.a.trigger("remove",e)}},{type:"separator"},{name:a.a.tr("Layout BringToFront"),type:"default",closeAfter:!0,onClick:function(){l.a.trigger("bring-to-front",e)}},{name:a.a.tr("Layout SendToBack"),type:"default",closeAfter:!0,onClick:function(){l.a.trigger("send-to-back",e)}}]},mouseover:function(){var t,e,n=this.$moveBlock[0].getBoundingClientRect(),i=this.prop("Text"),r=this.attr("Font.Size"),a=window.DSG.head,o=this.prop("Width"),s=this.prop("Height"),l=this.prop("HorzAlign"),c=this.prop("VertAlign"),p="";i&&"in_move"!==this.attr("state")&&"HtmlTags"===this.prop("TextRenderType")&&(this.$tooltip||(this.$tooltip=new d.a,a.put(this.$tooltip)),(e=this.$tooltip).css({left:n.left,top:n.top+n.height+10,width:o,height:s,"text-align":l.toLowerCase(),"background-color":this.$moveBlock.css("fill")}),this.attr("Font.Underline")&&(p+="underline "),this.attr("Font.Strikeout")&&(p+="line-through"),(t=e.find("span")).css({"vertical-align":"Center"===c?"middle":c.toLowerCase(),transform:"rotate("+this.prop("Angle")+"deg)","font-size":r+(Object(u.a)(r)?"pt":""),"font-family":this.attr("Font.Name"),color:this.prop("TextFill.Color"),"font-weight":this.attr("Font.Bold")?700:400,"font-style":this.attr("Font.Italic")?"italic":"normal"}),p&&t.css("text-decoration",p),i=i.replace(/\n/g,"
"),t.html(i),a.$node.height()m&&(i.firstChild.data=i.firstChild.data.slice(0,l),C=this._getLineHeight(y.h),0===e||v||Object(P.a)(i,{x:0,dy:C}),i=Object(x.a)("tspan"),r=S()(i),Object(P.a)(i,{x:0,dy:C}),b+=C,r.append(s),d.append(r),v=!0);y=y||t(n),b+=C=this._getLineHeight(y.h),c=0!==e||v?C:0,Object(P.a)(i,{x:0,dy:c}),d.append(r),y=null,v=!1}this.attr("contentHeight",b||0)},render:function(){var t,e,n=this.prop("Angle"),i=this.attr("Font.Size"),r=this.attr("Font.Name"),a=this.prop("Text");return s.a.render.apply(this,arguments),this.$contentGroup.children().length||(this.$nestedG1=S()(Object(x.a)("g")),this.$nestedG2=S()(Object(x.a)("g")),this.$textNode=S()(Object(x.a)("text")),this.$nestedG2.append(this.$textNode),this.$nestedG1.append(this.$nestedG2),this.$contentGroup.append(this.$nestedG1)),this.attr("droppable-component")?Object(c.a)(this.g,"droppable-component"):Object(p.a)(this.g,"droppable-component"),this.attr("droppable-view")?Object(c.a)(this.g,"droppable-view"):Object(p.a)(this.g,"droppable-view"),a!==this.$textNode.text()&&this.$textNode.text(a),this.$textNode.css({"font-size":i+(Object(u.a)(i)?"pt":""),fill:this.prop("TextFill.Color"),"font-family":r}),this.prop("TextOutline.Enabled")?this.$textNode.css({stroke:this.prop("TextOutline.Color")||"#000","stroke-width":this.prop("TextOutline.Width")||1,"stroke-dasharray":o.a.get("dasharrays")[this.prop("TextOutline.Style")||"Solid"]}):this.$textNode.css({stroke:"","stroke-width":"","stroke-dasharray":""}),this.applyFontStyles(this.$textNode),this._createMultiline(),t=this.getHorzAlign(),e=this.getVertAlign(),this.$textNode.css("text-anchor",this.attr("text-anchor")),Object(P.a)(this.$nestedG2[0],"transform","translate("+t+", "+e+")"),void 0!==n&&Object(P.a)(this.$nestedG1[0],"transform","translate({0}, {1}) rotate({2} {3} {4})".format(this.prop("Width")/2-this.attr("innerWidth")/2,this.prop("Height")/2-this.attr("innerHeight")/2,n,this.attr("innerWidth")/2,this.attr("innerHeight")/2)),this.prop("Clip")?this.body.firstChild.style="overflow: hidden;":this.body.firstChild.style="overflow: visible;",this.$g}})},,function(t,e,n){"use strict";var i=n(192);e.a=function(t,e){for(var n=0;nthis.attr("ColumnCount")&&(r=Math.abs(a[n].self.getPosInRow()-this.attr("ColumnCount"))),i={self:t,counter:1,need:r})),a[n].counter>a[n].need)return t.$g.removeClass("fr-hidden"),a[n].self.render(),a[n]=void 0,this._processSpanCell(t,e,n);if(e+1===this.attr("RowCount"))return a[n].self.render(),void(a[n]=void 0)}else 1i.need)return t.$g.removeClass("fr-hidden"),i.self.render(),i=null,this._processSpanCell(t,e,n);if(i.self.parent!==t.parent)return t.$g.removeClass("fr-hidden"),i.self.render(),void(i=null)}else 1this.attr("ColumnCount")&&(r=Math.abs(t.getPosInRow()-this.attr("ColumnCount"))),i={self:t,counter:1,need:r});i||a[n]||t.$g.removeClass("fr-hidden")},this._processSpanCell.apply(this,arguments)},_generate:function(){var r,a,o,s,l=0;this.$contentGroup&&this.$contentGroup.children().length>this.attr("RowCount")*this.attr("ColumnCount")&&this.$contentGroup.empty(),this._eachRow(function(n,i){a=0,s=i.prop("Height"),this._eachColumn(function(t,e){r=i.cells[t]||(i.cells[t]=this.createCell(i)),o=e.prop("Width"),r.prop({Width:o,Height:s,Left:a,Top:l}),a+=o,r.render(),this._processSpanCell(r,n,t),this.$contentGroup&&this.$contentGroup.append(r.$g)}),l+=s}),a&&l&&(this.prop("Width",a),this.prop("Height",l))},appendEdges:function(){},update:function(){return this._generate(),this._percentage(),this.render()},render:function(){return this.render=function(){return this.attr("ColumnCount")===this.columns.length&&this.attr("RowCount")===this.rows.length||this.update(),g.default.render.apply(this,arguments),this._recalculate(),this._generate(),this.$g},g.default.render.apply(this,arguments),this.$additionalMoveBlock=this.createMoveBlock(),Object(c.a)(this.content,"move"),Object(c.a)(this.$moveBlock[0],"move"),Object(c.a)(this.$moveBlock[0],"move-decor"),this.$g.append(this.$additionalMoveBlock),this.update(),this.$g},fillPropsNET:function(t){function e(t,n){t.each(function(){var t=f()(this),e=window.DSG.components[t.prop("tagName")];e&&((e=e.create()).fillPropsNET(t),e.render(),n.put(e))})}var n,i,r,a,o,s,l,c,p,d,u,h;for(g.default.fillPropsNET.apply(this,arguments),n=f()("TableRow",t),r=0,a=(i=f()("TableColumn",t)).length,this.attr("RowCount",n.length),this.attr("ColumnCount",a),this._generate();r line",i),p.a.get("resize-bands")||t.push({x1:l,y1:e+s,x2:o+l,y2:e+s}),t.forEach(function(t,e){var n=r[e]||Object(u.a)("line");Object(f.a)(n,{x1:t.x1,y1:t.y1,x2:t.x2,y2:t.y2}),2===a.length&&Object(f.a)(n,"style","stroke-dasharray: "+a[0]+", "+a[1]+";"),i.append(c()(n))}),this)},render:function(){return this.$workspace.css("fill","transparent"),o.a.render.call(this,{top:this.attr("padding")}),this.balance(),this},canHaveChildren:function(){return!0},fillPropsNET:function(t){return o.a.fillPropsNET.apply(this,arguments),t.attr("PaperWidth")&&this.prop("PaperWidth",parseFloat(s.a.toPx(t.attr("PaperWidth"),"mm"),10)),t.attr("PaperHeight")&&this.prop("PaperHeight",parseFloat(s.a.toPx(t.attr("PaperHeight"),"mm"),10)),t.attr("LeftMargin")&&this.prop("LeftMargin",parseFloat(s.a.toPx(t.attr("LeftMargin"),"mm"),10)),t.attr("RightMargin")&&this.prop("RightMargin",parseFloat(s.a.toPx(t.attr("RightMargin"),"mm"),10)),t.attr("TopMargin")&&this.prop("TopMargin",parseFloat(s.a.toPx(t.attr("TopMargin"),"mm"),10)),t.attr("BottomMargin")&&this.prop("BottomMargin",parseFloat(s.a.toPx(t.attr("BottomMargin"),"mm"),10)),t.attr("Columns.Width")&&this.prop("Columns.Width",parseFloat(s.a.toPx(t.attr("Columns.Width"),"mm"),10)),t.attr("Watermark.Image")&&this.prop("Watermark.Image","data:image/png;base64,"+t.attr("Watermark.Image")),this},fillPropsVCL:function(t){return o.a.fillPropsVCL.apply(this,arguments),t.attr("PaperWidth")&&this.prop("PaperWidth",parseFloat(s.a.toPx(t.attr("PaperWidth"),"mm"),10)),t.attr("PaperHeight")&&this.prop("PaperHeight",parseFloat(s.a.toPx(t.attr("PaperHeight"),"mm"),10)),t.attr("LeftMargin")&&this.prop("LeftMargin",parseFloat(s.a.toPx(t.attr("LeftMargin"),"mm"),10)),t.attr("RightMargin")&&this.prop("RightMargin",parseFloat(s.a.toPx(t.attr("RightMargin"),"mm"),10)),t.attr("TopMargin")&&this.prop("TopMargin",parseFloat(s.a.toPx(t.attr("TopMargin"),"mm"),10)),t.attr("BottomMargin")&&this.prop("BottomMargin",parseFloat(s.a.toPx(t.attr("BottomMargin"),"mm"),10)),this},toXMLNET:function(r){var a=this;return new Promise(function(i){o.a.toXMLNET.call(a,r).then(function(t){var e,n=c()(t.xml);r=Object.assign({parentNode:n[0]},r),n.attr("PaperWidth")&&n.attr("PaperWidth",parseFloat(s.a.toUnit(n.attr("PaperWidth"),"mm"),10)),n.attr("PaperHeight")&&n.attr("PaperHeight",parseFloat(s.a.toUnit(n.attr("PaperHeight"),"mm"),10)),n.attr("RightMargin")&&n.attr("RightMargin",parseFloat(s.a.toUnit(n.attr("RightMargin"),"mm"),10)),n.attr("LeftMargin")&&n.attr("LeftMargin",parseFloat(s.a.toUnit(n.attr("LeftMargin"),"mm"),10)),n.attr("TopMargin")&&n.attr("TopMargin",parseFloat(s.a.toUnit(n.attr("TopMargin"),"mm"),10)),n.attr("BottomMargin")&&n.attr("BottomMargin",parseFloat(s.a.toUnit(n.attr("BottomMargin"),"mm"),10)),n.attr("Columns.Width")&&n.attr("Columns.Width",parseFloat(s.a.toUnit(n.attr("Columns.Width"),"mm"),10)),n.attr("Watermark.Image")&&n.attr("Watermark.Image",n.attr("Watermark.Image").replace(/^([\w:\/;]+base64,){1}/,"")),e=[],a.bands.eachEntity(function(t){e.push(t.toXMLNET(r))}),Promise.all(e).then(function(t){return t.forEach(function(t){t.xml&&n.append(t.xml)}),c.a.each(a.unparsed,function(){n.append(this)}),i({xml:n[0]})})})})},toXMLVCL:function(r){var a=this;return new Promise(function(i){o.a.toXMLVCL.call(a,r).then(function(t){var e,n=c()(t.xml);r=Object.assign({parentNode:n[0]},r),n.attr("PaperWidth")&&n.attr("PaperWidth",parseFloat(s.a.toUnit(n.attr("PaperWidth"),"mm"),10)),n.attr("PaperHeight")&&n.attr("PaperHeight",parseFloat(s.a.toUnit(n.attr("PaperHeight"),"mm"),10)),n.attr("RightMargin")&&n.attr("RightMargin",parseFloat(s.a.toUnit(n.attr("RightMargin"),"mm"),10)),n.attr("LeftMargin")&&n.attr("LeftMargin",parseFloat(s.a.toUnit(n.attr("LeftMargin"),"mm"),10)),n.attr("TopMargin")&&n.attr("TopMargin",parseFloat(s.a.toUnit(n.attr("TopMargin"),"mm"),10)),n.attr("BottomMargin")&&n.attr("BottomMargin",parseFloat(s.a.toUnit(n.attr("BottomMargin"),"mm"),10)),e=[],a.bands.eachEntity(function(t){e.push(t.toXMLVCL(r))}),Promise.all(e).then(function(t){return t.forEach(function(t){t&&n.append(t)}),c.a.each(a.unparsed,function(){n.append(this)}),i(n[0])})})})}})},function(t,e,n){"use strict";var r=n(5);e.a=function(t,e){var n,i;if(t.classList)t.classList.add(e);else{if(n=new RegExp("(^|\\s)"+e+"(\\s|$)","g"),i=Object(r.a)(t,"class"),n.test(i))return null;i=((i||"")+" "+e).replace(/\s+/g," ").replace(/(^ | $)/g,""),Object(r.a)(t,"class",i)}return t}},function(t,e,n){"use strict";var i,r,a,o,s,l,c,p;n.d(e,"d",function(){return i}),n.d(e,"c",function(){return r}),n.d(e,"g",function(){return a}),n.d(e,"f",function(){return o}),n.d(e,"b",function(){return s}),n.d(e,"a",function(){return l}),n.d(e,"h",function(){return c}),n.d(e,"e",function(){return p}),i=50,r="200",a=100,o=20,l=s=200,c=0,p=1},function(t,e,n){"use strict";var i=n(0),d=n.n(i),r=n(4),p=n(2),a=n(1),o=n(93),l=n(170),s=n(8),c=n(12),u=n(51),h="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},f={},g=Object(s.a)(c.a,{_afterFilter:function(t,e,n){n.element.render&&n.element.render(),"function"==typeof n.afterSetValue&&n.afterSetValue.apply(n.element,arguments)},_beforeFilter:function(t){"function"==typeof t.beforeSetValue&&t.beforeSetValue.apply(t.element,arguments)},_applyProp:function(t,e,n,i){var r,a=n.field;if(this._beforeFilter(a),a.value=e,"function"==typeof a.setValue)return a.setValue.apply(a.element,arguments),void this._afterFilter(t,e,a);r=void 0!==a.element.attr(t)?"attr":"prop",a.element[r](t,e,i),this._afterFilter(t,e,a)},_getRelatedExtraField:function(t,e){var n=t.data("control");return e.querySelector('[field="'+n.$group[0].getAttribute("field")+'"]')},_getRelatedField:function(t,e){var n=t.data("control"),i=void 0;switch(n.$group[0].getAttribute("field-type")){case u.a:i=u.e;break;case u.e:i=u.a}return e.querySelector('[entity="'+n.$group[0].getAttribute("entity")+'"][field="'+n.$group[0].getAttribute("field")+'"][field-type="'+i+'"]')},_processProp:function(a,o){var s,t,l,c=d.a.Deferred(),p=this._getRelatedField;return a.is(".js-subcontrol-value")&&(t=a.parents(".d-fc-json-field:first")).length&&(a=t),s=a.data("control"),l=s.field,d.a.when(s.getProp(),s.getValue(a)).done(function(n,i){function t(t,e){e.removeClass("has-error"),g._applyProp(n,i,t,o),c.resolve(l)}function e(t){return t.addClass("has-error"),c.resolve(!1),!1}var r=p(a,document.querySelector(".cstn"));r&&(r.control.isValid(i),r.control.isValid(i)||r.control.field.defaultValue&&i===r.control.field.defaultValue?t(r.control,r.control.$control):e(r.control.$control)),l.isValid?l.isValid.call(l.element,i)?t(s,a):e(a):s.isValid(i)||s.field.defaultValue&&i===s.field.defaultValue?t(s,a):e(a)}),c.promise()},_generateGroupHeader:function(t,e,n){if(!t.fields)return!1;function i(){l.removeClass("icon-plus").addClass("icon-minus")}function r(){l.removeClass("icon-minus").addClass("icon-plus"),s.hide()}var a=d()("
"),o=d()("
"),s=d()("
"),l=d()("
"),c=d()("");return s.attr("tabIndex",-1),a.addClass("cstn-panel"),o.addClass("cstn-panel-header"),s.addClass("cstn-panel-body"),l.addClass("fa cstn-toogle"),n&&n.globalType&&a.attr("entity",n.globalType),n&&n.mainClass&&!a[0].classList.contains(n.mainClass)&&a[0].classList.add(n.mainClass),n&&n.headerClass&&!o[0].classList.contains(n.headerClass)&&o[0].classList.add(n.headerClass),a[0].field=t,e&&(a.addClass("cstn-root"),s.addClass("fgs-opened")),c.text(p.a.tr(t.label)),o.append(l,c),a.append(o,s),void 0!==f[t.label]?!1===f[t.label]?r():i():t.opened||e?i():r(),a.data("field",t),{$main:a,$header:o,$body:s,$toggle:l,$headerTitle:c}},_bindMainProps:function(t,e){return e.prop=t,e.element=this,e.getValue?e.value=e.getValue.call(this,t,e):(e.value=this.prop(t),void 0===e.value&&(e.value=this.attr(t),void 0===e.value&&(e.value=e.defaultValue))),e},_buildMap:function(){return function n(t,i,r){var a,o,s=this;d.a.each(t,function(t,e){if(a=g._generateGroupHeader(e,r))return i.append(a.$main),n.call(s,e.fields,a.$body),a;g._bindMainProps.call(s,t,e),e.control=l.a.getFor(e),(o=e.control.self.$control).is(".d-fc-json-field")?(o.on("change keyup","input",g._changeControl),o.on("focus","input",g._focusOnControl),o.on("blur","input",g._blurFromControl)):(o.on("change keyup",g._changeControl),o.is(":not(select[multiple])")&&(o.on("focus",g._focusOnControl),o.on("blur",g._blurFromControl))),i.append(e.control.$main)})}.apply(this,arguments)},_clickOnHeader:function(t){var e=d()(this),n=e.find(".cstn-toogle"),i=e.parent(),r=i.data("field");if(d()(t.target).is(".d-fc-exp-but"))return!1;n.is(".icon-minus")?(r.opened=!1,e.next(".cstn-panel-body").slideUp(100,function(){d()(this).removeClass("fgs-opened"),n.removeClass("icon-minus").addClass("icon-plus")})):(r.opened=!0,e.next(".cstn-panel-body").slideDown(100,function(){d()(this).addClass("fgs-opened"),n.removeClass("icon-plus").addClass("icon-minus")})),i.is(".cstn-root")&&(f[r.label]=r.opened)},_focusOnControl:function(){r.a.set("hotkeyProhibited",!0)},_updateMenu:Object(o.a)(function(){a.a.trigger("update-menu")},500),_setControlValue:function(i,t){var r=this._updateMenu;d.a.when(this._processProp(i,t)).done(function(e){var n,t=i.data("ref");e&&(t&&t.length?t.forEach(function(t){n=e.control.self.getValue(i,!0),Array.isArray(n)||"object"===(void 0===n?"undefined":h(n))||("checkbox"===e.type?t.prop("checked",n):t.val(n))}):r())})},_changeControl:function(t){var e=!0;t.keyCode&&13!==t.keyCode&&(e=!1),g._setControlValue(d()(this),e)},_blurFromControl:function(){r.a.set("hotkeyProhibited",!1),g._setControlValue(d()(this),!0)},getTargetElement:function(t,e){for(var n=1")).addClass("form-horizontal"),i.addClass("js-properties-form"),i.attr("role","form"),(i[0].component=this).form=i),this.selectedComponent||(r=window.DSG.currentReport,this.selectedComponent=t||r.getPage()),a=d()("
"),(o=this._generateGroupHeader({label:"Properties Favorite",opened:!0,fields:e&&0");return r.addClass("form-horizontal"),r.addClass("js-properties-form"),r.attr("role","form"),(r[0].component=this).form=r,this.selectedComponent=t||i.getPage(),e&&(this._buildMap.call(t,e,{buildExtra:!0,type:u.e,globalType:n,rootNode:r},r,!0),r.on("click",".cstn-panel-header",this._clickOnHeader)),r}});e.a=g},,function(t,e,n){"use strict";e.a=function(t){return!isNaN(parseFloat(t))&&isFinite(t)}},function(t,e,n){"use strict";var i,d,a,o,s,c,l,u,p,h,f,g,m,r;n.r(e),i=n(0),d=n.n(i),a=n(4),o=n(7),s=n(1),c=n(3),l=n(5),u=n(50),p=function(t,e){return e=a.a.get("sticky-grid")?e||a.a.get("grid"):1,[Math.round((t[0]||0)/e)*e,Math.round((t[1]||0)/e)*e]},h=n(16),f=n(78),g=n(15),n.d(e,"GROW",function(){return m}),n.d(e,"INITIAL_POINT",function(){return r}),m=10,r="10/10",e.default=o.default.createObject(o.default,{title:"Objects PolyLine",info:"PolyLineObjectInfo",icon:"icon-108",pos:30,type:"PolyLineObject",groupType:"Shapes",poly:!0,disabled:!1,_init:function(){o.default._init.apply(this,arguments),this.defaultValues={Curve:0},this.prop({Name:"PolyLine",Width:20,Height:20,"Fill.Color":"transparent","Border.Lines":"All"}),this.oldWidth=this.prop("Width")-(this.prop("Border.Width")||0),this.oldHeight=this.prop("Height")-(this.prop("Border.Width")||0),this.pointsArray=[],this.points=[],this.noData=!0},onClick:function(){this.hideResizingComponents(),this.showResizingComponents(),this._activate()},adjustPoints:function(e,t){var n,i=!(1this.prop("Height")&&this.adjustPoints({top:this.newY-this.prop("CenterY")+m-this.prop("Height")},!1),this.newX-this.prop("CenterX")>this.prop("Width")&&this.adjustPoints({left:this.newX-this.prop("CenterX")+m-this.prop("Width")},!1),this.clearNewLinePointer(),this.render(),this.showResizingComponents()}},onMouseMove:function(t){var e=window.DSG.currentReport.$workspace,n=window.DSG.currentReport;return"touchmove.polyobject"===t.type&&e.off("mousemove.polyobject"),h.b.getInstrument()!==h.a.NEW_POINT||this._id!==n.getSelected()._id?(e.unbind("touchmove.polyobject mousemove.polyobject"),e.unbind("mousedown.polyobject touchstart.polyobject"),this.eachPoint(function(t){return t.deactivate()}),void this.clearNewLinePointer()):this.createNewLinePointer(this,t)},onEscapePress:function(t){"Escape"===t.key&&(this.destroyEventListener(),this.clearNewLinePointer())},clearNewLinePointer:function(){this.$newLine.innerHTML=""},destroyEventListener:function(){var t=window.DSG.currentReport.$workspace;d()(document).unbind("keyup.polyobject"),t.unbind("touchmove.polyobject mousemove.polyobject"),t.unbind("mousedown.polyobject touchstart.polyobject"),this.clearNewLinePointer()},createEventListener:function(){var t=window.DSG.currentReport.$workspace;d()(document).on("keyup.polyobject",this.onEscapePress.bind(this)),t.on("touchmove.polyobject mousemove.polyobject",this.onMouseMove.bind(this)),t.on("mousedown.polyobject touchstart.polyobject",this.onMouseDown.bind(this))},hideResizingComponents:function(){o.default.hideResizingComponents.apply(this,arguments),this.clearNewLinePointer(),this.eachPoint(function(t){t.g&&t.g.classList.add("fr-hidden"),t.clickArea&&t.clickArea.classList.add("fr-hidden")}),this.eachBezierPoint(function(t){t.g&&t.g.classList.add("fr-hidden"),t.clickArea&&t.clickArea.classList.add("fr-hidden"),t.line&&t.line.classList.add("fr-hidden")}),this.eachBezierPseudoPoint(function(t){t.g&&t.g.classList.add("fr-hidden"),t.clickArea&&t.clickArea.classList.add("fr-hidden"),t.line&&t.line.classList.add("fr-hidden")})},showPoints:function(t){var e=0this.parent.prop("Height")-this.prop("CenterY")&&this.parent.adjustPoints({top:e.topLastCoord+n.GROW+this.prop("CenterY")-this.parent.prop("Height")}),e&&e.leftLastCoord>this.parent.prop("Width")-this.prop("CenterX")&&this.parent.adjustPoints({left:e.leftLastCoord+n.GROW+this.prop("CenterX")-this.parent.prop("Width")}),this.parent.showResizingComponents()},setPosition:function(t,e,n){var i=!(2i[0]+10||n.pageXi[1]+10||n.pageY
'),S()(".add,.remove",r).remove(),e.put(r),this.set({$container:r}),w.a||!i.is(".d-mc")?c=setTimeout(t,$):t()},move:function(t){var e,n,i,r=this.get();return r&&r.component?(e=l(t,r.$container),r.$container.addClass("fr-hidden"),n=S()(document.elementFromPoint(e.left,e.top)),r.$container.removeClass("fr-hidden"),a(t,r.$container),(i=S()("."+E)).length&&S.a.each(i,function(){Object(k.a)(this,E)}),r.existingComponent&&r.existingComponent.deleteComponentOver(t,e),r.existingComponent=n.parents(".component.droppable-component:first"),r.existingComponent.length&&r.view&&r.existingComponent.is(".droppable-view")&&~["Text","Custom"].indexOf(r.bindableControl)?(r.existingComponent=r.existingComponent[0].component,Object(T.a)(r.existingComponent.$moveBlock[0],E),r.existingComponent.creatingComponentOver(t,e)):delete r.existingComponent,!1):!c},end:function(t){var e,n,i=this.get(),r=i.$container,a=p.getCurrentPage(),o=S.a.contains(document.documentElement,r[0]),s=l(t,r);r.remove(),c?clearTimeout(c):(o&&(i.existingComponent?(i.existingComponent.creatingComponentEnd(t,s,Object(B.a)(i.view)),Object(k.a)(i.existingComponent.$moveBlock[0],E),i.existingComponent.render()):(e=null,n=this.report.$node[0].getBoundingClientRect(),t.clientX>=n.left&&t.clientX<=n.right&&t.clientY>=n.top&&t.clientY<=n.bottom&&(a.bands?(e=a.bands.findInsideCoord([s.x,s.y]))&&(s.y-=e.prop("Top")):e=a),e||(e=a.bands?a.bands.getSelectedBand()||a.bands.first():a,s.x=0,s.y=a.attr("padding")),x.a.trigger("add-component",i.component,e,{remember:!0,view:i.view,left:s.x,top:s.y}).done(function(t){t&&"SubreportObject"!==t.type&&p.drop(t)}),e.creatingComponentEnd(t,s,Object(B.a)(i.view)))),this.set(null))}})},D=i(38),A=i(95),j=function(){function s(t){x.a.trigger("put-component",t.container,t.component,t.leftLastCoord,t.topLastCoord);var e=t.container.prop("Height");return t.container.prop("Height",t.bandHeight),x.a.trigger("balance-band",t.container,e),!0}function n(t,e){for(var n,i,r=1i.prevX?10:-10,1===i.direction&&(n=-n),e.prop("Angle",e.prop("Angle")+n),i.prevX=t.x,e.rotating(t,i))),!1},end:function(t){var e,n=this.get();n&&((e=n.component).rotatingEnd(t,n),e.showUpControls(),x.a.trigger("activate",e),x.a.trigger("update-properties-panel",e),this.set(null))}})},R=i(126),N=function(){var o,i=this.report;this.addAction("resizing-band",{start:function(t,e){e.resizingStart(t),o=new R.a({x1:0,x2:e.prop("Width")+e.attr("margin")+e.attr("padding")}),e.$g.append(o),this.set({band:e,oldHeight:e.prop("Height"),changed:!1})},move:function(t){var e,n=this.get(),i=n.band,r=t.y,a=i.prop("Height");return i.canResizeY()?(i.attr("threshold")>=r&&(r=i.attr("threshold")),r-=i.prop("Top"),e=Object(D.a)([null,r-a])[1],(e=(e=a"),this.$wrap=S()("
"),this.$node.append(this.$wrap),this.hide(),this.$node.addClass("d-report"),this.$wrap.addClass("fr-workspace"),this.$workspace=S()("
"),this.workspace=this.$workspace.get(0),this.$workspace.data("report",this),this.$wrap.append(this.$workspace),this.createCode(),this.$node.on("dragstart",function(){return!1}),n(this),this.attr=function(t,e){var n=this._super.attr.apply(this,arguments);if("left"===t||"top"===t){if(void 0===e)return this.workspace.getBoundingClientRect()[t];this.$node.css(t,e)}return n}},isReport:function(){return!0},canNotBeSaved:function(){return"Deny"===this.prop("ReportInfo.SaveMode")},create:function(){var t=this.createObject(this);return t._init(),t},show:function(){return this.$node.removeClass("fr-hidden"),this},hide:function(){return this.$node.addClass("fr-hidden"),this},afterInitShow:function(){return this.pages.eachEntity(function(t){t.afterInitShow(),void 0!==t.bands&&t.bands.eachEntity(function(t){t.afterInitShow(),void 0!==t.components&&t.components.eachEntity(function(t){t.afterInitShow()})}),void 0!==t.components&&t.components.eachEntity(function(t){t.afterInitShow()})}),this},updateFilters:function(){return this.pages.eachEntity(function(t){t.updateFilters()}),this},updateDefs:function(){return this.pages.eachEntity(function(t){t.updateDefs()}),this},findContainerForDropping:function(t,e,i){var r=S()(document.elementFromPoint(t+1,e+1)),n=function t(e){var n=".component.droppable-component:first";return(e=e||r.parents(n)).length?e[0].component.canHaveChildren(i.type)?e[0].component:t(e.parents(n)):null},a=n();return a=a||((r=r.parents(".band:first")).length?r[0].band:null)},drop:function(t){var e,n,i,r,a=t.$workspace[0].getBoundingClientRect(),o=this.attr("left"),s=this.attr("top"),l=this.attr("data-scale");return t.$g.addClass("fr-hidden"),e=this.findContainerForDropping(a.left,a.top,t)||t.collection.container,t.$g.removeClass("fr-hidden"),t.setState("normal"),n=e.$workspace[0].getBoundingClientRect(),i=a.left-o-(n.left-o),r=a.top-s-(n.top-s),i/=l,r/=l,x.a.trigger("put-component",e,t,i,r),e},createPage:function(t){var e,n=d.default.create();return this.pages.add(n),n.report=this,n.$wrap=S()("
"),n.$wrap.append(n.$workspace),this.$workspace.append(n.$wrap),n.update(),n.render(),n.prop("Name",n.formName("Page")),t||((e=[i(113).default,i(114).default,i(94).default,i(115).default])[0]&&n.addBand(e[0].create()),e[1]&&n.addBand(e[1].create()),e[2]&&n.addBand(e[2].create()),e[3]&&n.addBand(e[3].create())),n},createStyle:function(){var t=v.create();return this.styles.add(t),t.report=this,t},createDialog:function(){var t=i(112).default;return t=t.create(),this.pages.add(t),(t.report=this).$workspace.append(t.$workspace),t.render(),t.prop("Name",t.formName("Form")),t},createDialogDefaultSet:function(n){return S.a.when(x.a.trigger("add-component","ButtonControl",n,{remember:!1,left:128,top:240}),x.a.trigger("add-component","ButtonControl",n,{remember:!1,left:211,top:240})).done(function(t,e){t.prop("Text","OK"),e.prop("Text","Cancel"),t.prop("Name",t.formName("btnOk")),e.prop("Name",e.formName("btnCancel")),t.render(),e.render(),n.prop("AcceptButton",t.toString()),n.prop("CancelButton",e.toString())})},createCode:function(){var t=i(200).default;return this.code=t.create(),this.pages.add(this.code),(this.code.report=this).$node.append(this.code.$workspace),this.code},removePage:function(t){if(!t)return!1;var e=this.pages.all(["ReportPage","DialogPage"]),n=e[e.indexOf(t)-1];return n=n||this.pages.last(),t.remove(),x.a.trigger("activate",n),this},getCurrentPage:function(){return this.pages.current},clear:function(){for(var t=[].concat(this.pages.all()),e=t.length;e--;)this.removePage(t[e]);this.pages.clear(),y.a.clear(),this.counter.clear()},remove:function(){this.clear(),this.$node.remove()},getComponents:function(e){var n=S()();return this.pages.eachEntity(function(t){t.isReportPage()&&(n=n.add(t.bands.getComponents(e)))}),n},getCurPageComponents:function(t,e){var n=this.getCurrentPage(),i=S()();return n.isReportPage()&&(i=i.add(n.bands.getComponents(t,e))),i},findEntity:function(n){function i(e,n){var i;return Object.keys(n).every(function(t){return i=n[t],e[t]===i||e.attributes[t]===i||e.properties[t]===i})}var r;if(n)return i(this,n)?this:(this.pages.eachEntity(function(t){var e;if(i(t,n))r=t;else if(t.bands)t.bands.eachEntity(function(t){return i(t,n)?(r=t,!1):(e=t.components.findOneBy(n))?(r=e,!1):void 0});else if(t.components&&(e=t.components.findOneBy(n)))return r=e,!1}),r)},getSelected:function(){var t,e,n=this.getCurrentPage();if(!n)return null;if(t=u.a.getSelected())return t;if(e=n.bands||n.components,!n.isCode()){if(1<(t=e.getSelectedComponents()).length)return null;!(t=t[0])&&e.getSelectedBand&&(t=e.getSelectedBand())}return t||n.attr("activated")?n:this},fillPropsNET:function(t){var e,n,i;if(u.a.fillPropsNET.apply(this,arguments),(e=t.attr("ReportInfo.Created"))&&this.prop("ReportInfo.Created",Object(o.b)(e)),(n=t.attr("ReportInfo.Modified"))&&this.prop("ReportInfo.Modified",Object(o.b)(n)),i=t.attr("ReportInfo.Tag"))try{this.prop("ReportInfo.Tag",JSON.parse(i))}catch(t){l.warn("ReportInfo.Tag:",t)}return this},fillPropsVCL:function(){return u.a.fillPropsVCL.apply(this,arguments),this.code&&this.prop("ScriptText.Text")&&this.code.setCode(Object(a.a)(this.prop("ScriptText.Text"))),this},toXMLNET:function(v){var y=this;return new Promise(function(f){var g=S.a.parseXML("<{0}/>".format(y.type)),m=S()(g.createElement("Styles")),b=S()(g.createElement("Dictionary"));v=Object.assign({parentNode:g,type:y.type},v),u.a.toXMLNET.call(y,v).then(function(t){var e,n,i,r,a,o,s,l,c,p,d,u,h=S()(t.xml);if(h.attr("ReportInfo.Picture")&&h.attr("ReportInfo.Picture",h.attr("ReportInfo.Picture").replace(/^([\w:\/;]+base64,){1}/,"")),y.prop("ReportInfo.Tag")&&"object"===C(y.prop("ReportInfo.Tag")))try{h.attr("ReportInfo.Tag",JSON.stringify(y.prop("ReportInfo.Tag")))}catch(t){}e=[],y.styles&&y.styles.count()&&(v.parentNode=m[0],y.styles.eachEntity(function(t){e.push(t.toXMLNET(v))}),h.append(m)),n=Promise.all(e).then(function(t){t.forEach(function(t){m.append(t.xml)})}),v.parentNode=b[0],i=[],y.connections&&y.connections.eachEntity(function(t){i.push(t.toXMLNET(v))}),r=Promise.all(i).then(function(t){t.forEach(function(t){b.append(t.xml)})}),a=[],y.dataSources&&y.dataSources.eachEntity(function(t){a.push(t.toXMLNET(v))}),o=Promise.all(a).then(function(t){t.forEach(function(t){b.append(t.xml)})}),s=[],y.relations&&y.relations.eachEntity(function(t){s.push(t.toXMLNET(v))}),l=Promise.all(s).then(function(t){t.forEach(function(t){b.append(t.xml)})}),c=[],y.parameters&&y.parameters.eachEntity(function(t){c.push(t.toXMLNET(v))}),p=Promise.all(c).then(function(t){t.forEach(function(t){b.append(t.xml)})}),d=[],y.totals&&y.totals.eachEntity(function(t){d.push(t.toXMLNET(v))}),u=Promise.all(d).then(function(t){t.forEach(function(t){b.append(t.xml)})}),Promise.all([n,r,o,l,p,u]).then(function(){S.a.each(y.unparsedDict,function(){b.append(S()(this))}),h.append(b),v.parentNode=h[0];var e=[];y.pages.eachEntity(function(t){e.push(t.toXMLNET(v))}),Promise.all(e).then(function(t){return t.forEach(function(t){t.xml&&h.append(t.xml)}),S.a.each(y.unparsed,function(){h.append(S()(this))}),g.documentElement.appendChild(h[0]),f({xml:h[0]})})})})})},toXMLVCL:function(r){var a=this;return new Promise(function(i){var t=S.a.parseXML("<{0}/>".format(a.typevcl));r=Object.assign({parentNode:t},r),u.a.toXMLVCL.call(a,r).then(function(e){e=S()(e),r.parentNode=e[0];var n=[];a.pages.eachEntity(function(t){n.push(t.toXMLVCL(r))}),Promise.all(n).then(function(t){return t.forEach(function(t){t&&e.append(t)}),S.a.each(a.unparsed,function(){e.append(S()(this))}),i(e[0])})})})}})},function(t,e,n){"use strict";function i(t){return t=function(t){return t.replace(/([\s\S]+)<\/ScriptText>/,function(t,e){return"{0}".format(Object(b.a)(e))})}(t),t=Object(v.a)(t),p.a.parseXML(t)}function r(e,t){var n=p.a.Deferred();return p.a.ajax({url:e,dataType:t||"text",crossDomain:!0,headers:{"Access-Control-Allow-Origin":"*"},beforeSend:function(t){r.cache[e]&&(t.abort(),n.resolve(r.cache[e]))},success:function(t){r.cache[e]=t,n.resolve(r.cache[e])},error:function(){n.reject.apply(null,arguments)}}),n.promise()}var a,o,s=n(0),p=n.n(s),d=n(26),l=n(8),c=Object(l.a)({},{init:function(t,e){return a=t,o=e,this},_getComponent:function(t){var e,n,i,r;if(t)for(e=window.DSG.components,i=void 0,r=(n=Object.keys(e)).length-1;0<=r;r--)if((i=e[n[r]]).type===t||i.typevcl===t)return i},_getBand:function(t){var e,n,i,r;if(t)for(e=window.DSG.bands,i=void 0,r=(n=Object.keys(e)).length-1;0<=r;r--)if((i=e[n[r]]).type===t||i.typevcl===t)return i},preCall:function(){if(!a)throw new Error("Report wasn't initialized")},getCurrentReport:function(){return a},getState:function(){return o}}),u=n(130),h=n(22),f=(new h.a("parser net"),Object(l.a)(c,{_createParameter:function(t,e){var n,i,r=this.getCurrentReport();return!!r.createParameter&&(n=r.createParameter(e),i=t.children(),n.fillPropsNET(t),i.length?this._processingParameters(i,n):n)},_processingTotal:function(t){var e,n=this.getCurrentReport();return!!n.createTotal&&((e=n.createTotal()).fillPropsNET(t),e)},_createColumn:function(t,e){var n=e.createColumn(),i=t.children();n.fillPropsNET(t),n.updateBindableControl(),i.length&&i.each(function(t,e){(e=p()(e)).is("column")?this._createColumn(e,n):this._processingDataSource(e,n)}.bind(this))},_createRelation:function(t){var e,n=this.getCurrentReport();return!!n.createRelation&&((e=n.createRelation()).fillPropsNET(t),e.update(),e)},_processingPage:function(t){var e=this.getCurrentReport().createPage(!0);return!!e&&(e.fillPropsNET(t),e.update(),this._processingBands(t.children(),e))},_processingDialog:function(t){var e,n=this.getCurrentReport().createDialog(!0),i=this;return!!n&&(n.fillPropsNET(t),p.a.each(t.children(),function(){e=p()(this),window.DSG.controls[e.prop("tagName")]?i._processingControl(e,n):n.unparsed.push(e)}),!0)},_processingStyles:function(t){var e=this.getCurrentReport();return p.a.each(t.children(),function(){e.createStyle().fillPropsNET(p()(this))}),!0},_processingParameters:function(t,n){var i=!1;return p.a.each(t,function(t,e){this._createParameter(p()(e),n)&&(i=!0)}.bind(this)),i},_processingDataSource:function(t,e){var n=this.getCurrentReport(),i=this,r=!1,a=t.prop("tagName"),o=/DataSource$/i;return a.match(o)&&n.createDataSource?r=n.createDataSource(a,e):a.match(/Connection$/i)&&n.createConnection&&(r=n.createConnection(a,e)),r&&(r.fillPropsNET(t),t.children().each(function(){var t=p()(this);t.is("Column")?i._createColumn(t,r):t.prop("tagName").match(o)?i._processingDataSource(t,r):r.unparsed.push(t)})),r},_getControl:function(t){return window.DSG.controls[t.prop("tagName")]},_processingComponent:function(t,e){var n=this._getComponent(t.prop("tagName")),i=this.getState();return n&&((n=n.create()).fillPropsNET(t),"TextObject"===n.type&&i&&i.texts[n.prop("mission")]&&n.prop(i.texts[n.prop("mission")]),n.render({action:"init"}),e.put(n)),n},_processingControl:function(t,e){var n=this._getControl(t);return n&&((n=n.create()).fillPropsNET(t),n.render({action:"init"}),e.put(n)),n},_processingBand:function(t,e){var n=this._getBand(t.prop("tagName"));return!!n&&((n=n.create()).fillPropsNET(t),e.addBand(n)?n:null)},_processingBands:function(t,i){var a=function(t,e){e=e||i;var n=this._processingBand(t,e);return!!n&&r(t.children(),n)}.bind(this),r=function(t,e){for(var n,i=0,r=t.length;i").appendTo(window.DSG.head.$reusable).css("fill",t),t=getComputedStyle(i[0]).getPropertyValue("fill"),i.remove(),n.test(t)?t:e.test(t)?(t=t.match(e).slice(1),a.a.apply(null,t)):o(t)||t))}},function(t,e,n){"use strict";var i,s,r,l,o,c;n.r(e),i=n(0),s=n.n(i),r=n(4),l=n(13),o=n(3),c=n(5),e.default=l.default.createObject(l.default,{title:"DateTimePickerControl",info:"DateTimePickerControl info",icon:"icon-120",pos:45,type:"DateTimePickerControl",disabled:!1,_init:function(){l.default._init.apply(this,arguments),this.defaultValues={ForeColor:"#000",BackColor:"#FFF",DropDownAlign:"Left",ShowCheckBox:!1,ShowUpDown:!1,Checked:!0,Enabled:!0,TabIndex:3,TabStop:!0,Visible:!0,CustomFormat:"",Format:"Long",AutoFill:!0,AutoFilter:!0,FilterOperation:"Equal"},this.attr({"Font.Name":r.a.get("default-font-name"),"Font.Size":"8pt","Font.Bold":!1,"Font.Italic":!1,"Font.Underline":!1,"Font.Strikeout":!1,resizableXY:!1,resizableY:!1}),this.prop({Name:"DateTimePicker",MaxDate:new Date("12.31.9998"),MinDate:new Date("01.01.1753"),Value:new Date,Width:200,Height:20})},showResizingComponents:function(){return l.default.showResizingComponents.call(this,!1)},format:function(t,e,n){var i,r,a,o;return"string"==typeof t&&(t=new Date(t)),e=e||"/",i=t.getMonth()+1+e+t.getDate()+e+t.getFullYear(),n&&(r=t.getHours(),a=t.getMinutes(),o=t.getSeconds(),r||a||o||(r=(t=new Date).getHours(),a=t.getMinutes(),o=t.getSeconds()),i=i+" "+r+n+a+n+o),i},render:function(){var t=this.attr("Font.Size"),e=this.attr("Font.Name"),n=new Date(this.format(this.prop("Value"),"/",":")).toLocaleString(),i=this.prop("Width"),r=this.prop("Height"),a=parseFloat(t,10);return l.default.render.apply(this,arguments),this.prop("Text",n),this.$contentGroup.children().length||(this.$nestedG1=s()(Object(o.a)("g")),this.$nestedG2=s()(Object(o.a)("g")),this.$textNode=s()(Object(o.a)("text")),this.$arrow=s()(Object(o.a)("text")),this.$nestedG2.append(this.$textNode),this.$nestedG1.append(this.$nestedG2),this.$textNode[0].setAttributeNS("http://www.w3.org/XML/1998/namespace","xml:space","preserve"),this.$arrow.text("▼"),this.$back=s()(Object(o.a)("rect",{stroke:"gray",x:0,y:0})),this.$contentGroup.append(this.$back,this.$nestedG1,this.$arrow)),this.$back.attr({width:i-2,height:r-2,fill:this.prop("BackColor")}),this.$textNode.text()!==n&&this.$textNode.text(n),this.$moveBlock.css("fill",this.prop("BackColor")),this.$textNode.css({"font-size":t+(s.a.isNumeric(t)?"pt":""),fill:this.prop("ForeColor"),"font-family":e}),this.applyFontStyles(this.$textNode),Object(c.a)(this.$back[0],"transform","translate(0, 0)"),Object(c.a)(this.$nestedG1[0],"transform","translate(2, "+(a+2)+")"),Object(c.a)(this.$arrow[0],"transform","translate("+(i-15)+", 12)"),this.$g},fillPropsNET:function(){var t,e,n;return l.default.fillPropsNET.apply(this,arguments),t=this.prop("value"),e=this.prop("MaxDate"),n=this.prop("MinDate"),t&&this.prop("value",new Date(t)),e&&this.prop("MaxDate",new Date(e)),n&&this.prop("MinDate",new Date(n)),this},toXMLNET:function(t){var o=this;return new Promise(function(a){l.default.toXMLNET.call(o,t).then(function(t){var e,n,i=s()(t.xml),r=o.prop("Value");return r&&i.attr("Value",o.format(r,"/",":")),(e=o.prop("MinDate"))&&i.attr("MinDate",o.format(e,"-")),(n=o.prop("MaxDate"))&&i.attr("MaxDate",o.format(n,"-")),a(t)})})}})},function(t,e,n){"use strict";function i(t){var e=!(1 ")),(i=l()("
"+t+"
")).css({position:"absolute",float:"left","white-space":"nowrap",visibility:"hidden","font-size":e["font-size"],"font-family":e["font-family"],"font-weight":e["font-weight"],"font-style":e["font-style"]}).appendTo(o),r=n?i.width():s(t,e),a=i.height(),i.remove(),{w:r,h:a}}},function(t,e,n){"use strict";var i,a,r,o,s,l;n.r(e),i=n(0),a=n.n(i),r=n(4),o=n(13),s=n(3),l=n(5),e.default=o.default.createObject(o.default,{title:"CheckBoxControl",info:"CheckBoxControl info",icon:"icon-116",pos:20,type:"CheckBoxControl",disabled:!1,CHECKBOXWH:12,_init:function(){o.default._init.apply(this,arguments),this.defaultValues={Appearance:"Normal",ForeColor:"#000",BackColor:"#F0F0F0",CheckAlign:"MiddleLeft",Checked:!1,CheckState:"Unchecked",ImageAlign:"MiddleCenter",TextAlign:"MiddleLeft",TextImageRelation:"Overlay",Enabled:!0,AutoSize:!0,TabStop:!0,RightToLeft:"No",AutoFilter:!0,FilterOpeartion:"Equal",DetailControl:"None"},this.prop({Name:"CheckBox",Width:73,Height:17,Text:"CheckBox"}),this.attr({"Font.Name":r.a.get("default-font-name"),"Font.Size":"8pt","Font.Bold":!1,"Font.Italic":!1,"Font.Underline":!1,"Font.Strikeout":!1,resizableX:!1,resizableY:!1,resizableXY:!1})},resizingComponents:function(){},generateCheckbox:function(){var t=a()(Object(s.a)("g")),e=a()(Object(s.a)("rect",{width:this.CHECKBOXWH,height:this.CHECKBOXWH,fill:"#fff",stroke:"gray",x:5,y:0})),n=a()(Object(s.a)("text"));return t.append(e,n),t},render:function(){var t=this.attr("Font.Size"),e=this.attr("Font.Name"),n=this.prop("Text"),i=this.prop("CheckState"),r=this.prop("Height")/2+parseFloat(t,10)/3;return o.default.render.apply(this,arguments),this.$contentGroup.children().length||(this.$nestedG1=a()(Object(s.a)("g")),this.$nestedG2=a()(Object(s.a)("g")),this.$textNode=a()(Object(s.a)("text")),this.$nestedG2.append(this.$textNode),this.$nestedG1.append(this.$nestedG2),this.$checkbox=this.generateCheckbox(),this.$contentGroup.append(this.$checkbox,this.$nestedG1)),n!==this.$textNode.text()&&this.$textNode.text(n),"Checked"===i?this.$checkbox.find("text").text("✓").attr({x:7,y:10}):"Indeterminate"===i?this.$checkbox.find("text").text("■").attr({x:8,y:9}):this.$checkbox.find("text").text(""),this.$moveBlock.css("fill",this.prop("BackColor")),this.$textNode.css({"font-size":t+(a.a.isNumeric(t)?"pt":""),fill:this.prop("ForeColor"),"font-family":e}),this.applyFontStyles(this.$textNode),Object(l.a)(this.$checkbox[0],"transform","translate(0, 2)"),Object(l.a)(this.$nestedG1[0],"transform","translate("+(0+1.7*this.CHECKBOXWH)+", "+r+")"),this.$g}})},function(t,e,n){"use strict";e.a=function(t){return t.replace(/&/g,"&").replace(//g,">").replace(/"/g,""").replace(/'/g,"'")}},function(t,e,n){"use strict";e.a=function(t){var e,n;return t&&t[0]&&t[0].component?t[0].component:t.is(".fr-crosshair")?t[0].component:(e=t.parents(".component:first")).length?e[0].component:(e=t.parents(".band:first")).length?e[0].band:(e=(e=t.parents(".rt-node").data("entity"))||(e=t.parents(".js-properties-form")[0])&&e.component,n=window.DSG.currentReport,e||n&&n.getCurrentPage())}},,,,,function(t,e,n){"use strict";e.a=function(t){for(var e,n=window.location.search.substring(1).split("&"),i=0,r=n.length,a=[];i ")&&null},resizing:function(t,e){var n,i=this.getTable();"e"===e.dir?(n=this.getPosInRow(),i.columns[n].prop("Width",this.prop("Width")),i.update()):"s"===e.dir&&(n=this.getPosInColumn(),i.rows[n].prop("Height",this.prop("Height")),i.update())},resizingEnd:function(){a.a.trigger("balance-band",this.getTable().getContainer())},canHaveChildren:function(t){return"TableObject"!==t&&"MatrixObject"!==t},toXMLNET:function(a){var t=this;return new Promise(function(r){s.default.toXMLNET.call(t,a).then(function(e){var n,i=o()(e);a=Object.assign({parentNode:i[0]},a),n=[],t.components.everyEntity(function(t){n.push(t.toXMLNET(a))}),Promise.all(n).then(function(t){return t.forEach(function(t){i.append(t)}),i.removeAttr("Left"),i.removeAttr("Top"),i.removeAttr("Width"),i.removeAttr("Height"),r(e)})})})}})},function(t,e,n){"use strict";function l(t){return t.split(":").filter(function(t){return!/^[\s]*$/.test(t)&&t})}function o(t,n){var i,r,a,e={},o=t,s={};if(c.a.isPlainObject(t))o=(t=Object.assign({},t)).prop,i=l(t.prop),delete t.prop,e=t;else{if("string"!=typeof t)return null;i=l(t)}return i.forEach(function(t,e){if(0===e)return r=c.a.extend(!0,{},n[t]),s[t]=r,void(a=s[t]);r=r&&(r[t]||r.fields&&r.fields[t]),a.fields={},a.fields[t]=r,a.fields[t]||(i[e+1]?a.fields[t]={label:t,fields:{}}:a.fields[t]={type:"text",label:t}),a=a.fields[t]}),Object(f.a)(a,e,!0),a.origin=o,s}function u(t,e,n){var i,r,a;if(e&&(i=Object(m.b)(e,t.propName))?t.opened=i.opened:n&&(t.opened=!0),t.fields)for(r=Object.values(t.fields),a=0;a Sort"),n=void 0,e.length&&c.a.each(e,function(){c.a.each(c()(this).children(),function(){n={},c.a.each(this.attributes,function(){n[this.name]=Object(l.a)(this.value)}),i.attr("Sort").push(n)}),c()(this).remove()})},toXMLNET:function(t){var l=this;return new Promise(function(s){a.default.toXMLNET.call(l,t).then(function(t){var e=c()(t.xml),n=+e.attr("Columns.Count"),i=+e.attr("Columns.Width"),r=l.attr("Sort"),a=void 0,o=void 0;return Object(p.a)(n)||(n=0),Object(p.a)(i)||(i=0),0===n?(e.removeAttr("Columns.Count"),e.removeAttr("Columns.Width")):0!==i?e.attr("Width",i):n&&(e.attr("Width",l.prop("Width")/l.prop("Columns.Count")),e.removeAttr("Columns.Width")),c.a.each(r,function(){this&&this.Expression&&(a||(a=c()(e[0].ownerDocument.createElement("Sort")),e.append(a)),a&&(o=c()(a[0].ownerDocument.createElement("Sort")),c.a.each(this,function(t,e){o.attr(t,e)}),a.append(o)))}),s(t)})})},toString:function(){var t=this.prop("Name"),e=this.prop("DataSource");return e&&(t+=": "+e),t}})},function(t,e,n){"use strict";e.a=function(t){var e,n=[];for(e=0;e"),h=document.body,f=b()(h),g=window.DSG.head.$main[0].getBoundingClientRect();if(!n||!n.length)return null;for(d=n.length,u.addClass("d-cm"),m=function(t){27===t.keyCode&&u.remove()},o=t.pageX-g.left-h.scrollLeft,r=t.pageY-g.top-h.scrollTop,u.css({left:o,top:r}),e&&((l=b()("
")).addClass("d-cm-item d-cm-title"),l.text(e),u.append(l)),c=0;c")).addClass("d-cm-item"),s.addClass("d-cm-"+p.type),p.curVal&&s.addClass("d-cm-checked"),p.disabled&&s.addClass("disabled"),s.append(''+p.name+""),s.data("item",p),p.shortcut&&s.append(''+p.shortcut+""),u.append(s)):u.append('
');return window.DSG.head.put(u),f.height()this.attr("ColumnCount")?(n.vert=!0,l=[0,a+1],c=[s,0],p[1]=1):(n.horz=!0,l=[0,a],c=[s+1,0],p[0]=1)),this.prop("ShowTitle")&&(this.attr("hasTitle",!0),l[0]+=1,c[0]+=1),e=this.rows[l[0]].cells[l[1]],t=0;e&&t",r),t("MatrixRows >",i),t("MatrixCells >",n),this.bindEvents()},toXMLNET:function(p){var d=this;return new Promise(function(c){b.default.toXMLNET.call(d,p).then(function(t){var e,n,i,r,a=f()(t.xml),o=void 0,s=f()(p.parentNode.ownerDocument.createElement("MatrixColumns")),l=d.attr("MatrixColumns");return f.a.each(l,function(){o=f()(p.parentNode.ownerDocument.createElement("Header")),f.a.each(this,function(t,e){"object"!==(void 0===e?"undefined":S(e))&&o.attr(t,e)}),s.append(o)}),e=f()(p.parentNode.ownerDocument.createElement("MatrixRows")),n=d.attr("MatrixRows"),f.a.each(n,function(){o=f()(p.parentNode.ownerDocument.createElement("Header")),f.a.each(this,function(t,e){"object"!==(void 0===e?"undefined":S(e))&&o.attr(t,e)}),e.append(o)}),i=f()(p.parentNode.ownerDocument.createElement("MatrixCells")),r=d.attr("MatrixCells"),f.a.each(r,function(){o=f()(p.parentNode.ownerDocument.createElement("Cell")),f.a.each(this,function(t,e){"object"!==(void 0===e?"undefined":S(e))&&o.attr(t,e)}),i.append(o)}),a.prepend(i),a.prepend(e),a.prepend(s),c(t)})})}})},function(t,e,n){"use strict";var i,a,r,o,s,l;n.r(e),i=n(0),a=n.n(i),r=n(4),o=n(13),s=n(3),l=n(5),e.default=o.default.createObject(o.default,{title:"ButtonControl",info:"ButtonControl info",icon:"icon-115",pos:10,type:"ButtonControl",disabled:!1,_init:function(){o.default._init.apply(this,arguments),this.defaultValues={ForeColor:"#000",BackColor:"#F0F0F0",ImageAlign:"MiddleCenter",TextAlign:"MiddleCenter",TextImageRelation:"Overlay",RightToLeft:"No",AutoSize:!1,Enabled:!0,TabIndex:4,TabStop:!0},this.prop({Name:"Button",Width:75,Height:23,Text:"Button"}),this.attr({"text-anchor":"middle","Font.Name":r.a.get("default-font-name"),"Font.Size":"8pt","Font.Bold":!1,"Font.Italic":!1,"Font.Underline":!1,"Font.Strikeout":!1})},render:function(){var t=this.attr("Font.Size"),e=this.attr("Font.Name"),n=this.prop("Text"),i=this.prop("Width")/2,r=this.prop("Height")/2+parseFloat(t,10)/3;return o.default.render.apply(this,arguments),this.$contentGroup.children().length||(this.$nestedG1=a()(Object(s.a)("g")),this.$nestedG2=a()(Object(s.a)("g")),this.$textNode=a()(Object(s.a)("text")),this.$nestedG2.append(this.$textNode),this.$nestedG1.append(this.$nestedG2),this.$contentGroup.append(this.$nestedG1)),n!==this.$textNode.text()&&this.$textNode.text(n),this.$moveBlock.css({fill:this.prop("BackColor"),stroke:"silver"}),this.$textNode.css({"font-size":t+(a.a.isNumeric(t)?"pt":""),fill:this.prop("ForeColor"),"font-family":e,"text-anchor":this.attr("text-anchor")}),this.applyFontStyles(this.$textNode),Object(l.a)(this.$nestedG1[0],"transform","translate("+i+", "+r+")"),this.$g}})},function(t,e,n){"use strict";var i,u,r,h,f,g,m,a,o,b;n.r(e),i=n(0),u=n.n(i),r=n(4),h=n(13),f=n(76),g=n(3),m=n(5),a=n(85),o=n(86),b=n(75),e.default=h.default.createObject(h.default,{title:"CheckedListBoxControl",info:"CheckedListBoxControl info",icon:"icon-148",pos:30,type:"CheckedListBoxControl",disabled:!1,_init:function(){h.default._init.apply(this,arguments),this.defaultValues={ForeColor:"#000",BackColor:"#FFF",ColumnWidth:0,Enabled:!0,MultiColumn:!1,SelectionMode:"One",Sorted:!1,TabIndex:2,TabStop:!0,UseTabStops:!0,AutoFill:!0,AutoFilter:!0,CheckOnClick:!1},this.attr({"Font.Name":r.a.get("default-font-name"),"Font.Size":"8pt","Font.Bold":!1,"Font.Italic":!1,"Font.Underline":!1,"Font.Strikeout":!1}),this.prop({Name:"CheckedListBox",ItemsText:"",Width:120,Height:96})},render:function(){var t,e,n,i,r,a=this.attr("Font.Size"),o=this.attr("Font.Name"),s=this.prop("ItemsText"),l=this.prop("Width"),c=this.prop("Height"),p=parseFloat(a,10)+2,d=-9;if(h.default.render.apply(this,arguments),this.$contentGroup.children().length||(this.$nestedG1=u()(Object(g.a)("g")),this.$nestedG2=u()(Object(g.a)("g")),this.$textNode=u()(Object(g.a)("text")),this.$checkboxes=u()(Object(g.a)("g")),this.$nestedG2.append(this.$textNode,this.$checkboxes),this.$nestedG1.append(this.$nestedG2),this.$textNode[0].setAttributeNS("http://www.w3.org/XML/1998/namespace","xml:space","preserve"),this.$back=u()(Object(g.a)("rect",{stroke:"gray",x:0,y:0})),this.$contentGroup.append(this.$back,this.$nestedG1)),this.$back.attr({width:l-2,height:c-2,fill:this.prop("BackColor")}),this.$textNode.empty(),this.$checkboxes.empty(),r=Object(b.a)(s,{"font-size":a,"font-family":o,"font-weight":a}),s=s.split(/\n\r|\n|\r/g),r.h+=2,n=0,1<(i=s.length)||s[0])for(;n").replace(/"/g,'"').replace(/'/g,"'")}},,,,,,function(t,e,n){"use strict";function i(t){var e=(+t).toString(16);return 1===e.length?"0"+e:e}e.a=function(t,e,n){return"#"+i(t)+i(e)+i(n)}},function(t,e,n){"use strict";function i(){}var a=n(12),r=n(29);i.prototype.add=function(t){var i=this,r=this._callbacks||(this._callbacks=[]);return r.push(t),t.active=function(){var t,e,n;for(e=0,n=r.length;ethis.prop("Height")?(this.createHorz(),this.attr("isHorizontal",!0),this.attr("isVertical",!1)):(this.createVert(),this.attr("isVertical",!0),this.attr("isHorizontal",!1)),this.appendPointer(),this.$g},fillPropsNET:function(t){return a.a.fillPropsNET.apply(this,arguments),this.fillFontNET(t,"Scale."),this},toXMLNET:function(t){var n=this;return new Promise(function(e){a.a.toXMLNET.call(n,t).then(function(t){return t=p()(t),Object(o.a)(t,n,"Scale."),e(t.get(0))})})}})},function(t,e,n){"use strict";var i,m,r,a,b,v,o,y,C,S,x,P;n.r(e),i=n(0),m=n.n(i),r=n(4),a=n(17),b=n(3),v=n(5),o=n(65),y=6,C=3,S=10,x=18.89,P=14.89,e.default=a.a.createObject(a.a,{title:"Objects Gauge Simple",info:"SimpleGaugeInfo",icon:"icon-135",pos:140,type:"SimpleGauge",groupType:"Gauge",disabled:!1,_init:function(){a.a._init.apply(this,arguments),this.defaultValues={Maximum:100,Minimum:0,Value:75,Inverted:!1,"Pointer.BorderColor":"#000","Pointer.Color":"#FFA500","Scale.FirstSubScale.Enabled":!0,"Scale.FirstSubScale.ShowCaption":!0,"Scale.SecondSubScale.Enabled":!0,"Scale.SecondSubScale.ShowCaption":!0,"Scale.MajorTicks.Color":"#000","Scale.MajorTicks.Width":2,"Scale.MinorTicks.Color":"#000","Scale.MinorTicks.Width":2,"Pointer.Height":6},this.prop({Name:"SimpleGauge",Width:302.36,Height:75.59,"Border.Lines":"All"}),this.attr({"Scale.Font.Name":r.a.get("default-font-name"),"Scale.Font.Size":"8pt","Scale.Font.Bold":!1,"Scale.Font.Italic":!1,"Scale.Font.Underline":!1,"Scale.Font.Strikeout":!1})},getRange:function(){return this.prop("Maximum")-this.prop("Minimum")},getPace:function(){return Math.floor(this.getRange()/(y-1))},appendPointer:function(){var t,e=this.prop("Pointer.Height"),n=this.prop("Width"),i=this.prop("Height"),r=100*this.prop("Value")/this.getRange(),a=n-2*x,o=i-2*P;this.$pointer||(this.$pointerContainer=m()(Object(b.a)("g")),this.$pointer=m()(Object(b.a)("rect"))),this.$pointer.css({stroke:this.prop("Pointer.BorderColor"),fill:this.prop("Pointer.Color")}),this.$pointerContainer.append(this.$pointer),this.$contentGroup.append(this.$pointerContainer),this.attr("isHorizontal")?(t=this.prop("Pointer.Width",a*r/100),this.$pointer.attr({width:t,height:e}),Object(v.a)(this.$pointerContainer[0],"transform","translate("+x+", "+(i/2-e/2)+")")):(t=this.prop("Pointer.Width",o*r/100),this.$pointer.attr({width:e,height:t}),Object(v.a)(this.$pointerContainer[0],"transform","translate("+(n/2-e/2)+", "+(i-P-t)+")"))},createHorz:function(){function t(t,e){e.text(c),r.applyFontStyles(e,"Scale."),e.css({"font-size":d+(m.a.isNumeric(r.attr("Scale.Font.Size"))?"pt":""),fill:"#000","font-family":r.attr("Scale.Font.Name"),"text-anchor":"middle"})}var e,n,i,r=this,a=x,o=this.prop("Width"),s=this.prop("Height"),l=this.getPace(),c=this.prop("Minimum"),p=(o-2*x)/(y-1),d=parseInt(this.attr("Scale.Font.Size"),10),u=s-2*P-S,h=50*u/100,f=h/2;for(this.paces&&!this.attr("isVertical")||(this.$contentGroup.empty(),this.paces=[]),e=0;ethis.prop("Height")?(this.createHorz(),this.attr("isHorizontal",!0),this.attr("isVertical",!1)):(this.createVert(),this.attr("isVertical",!0),this.attr("isHorizontal",!1)),this.appendPointer(),this.$g},fillPropsNET:function(t){return a.a.fillPropsNET.apply(this,arguments),this.fillFontNET(t,"Scale."),this},toXMLNET:function(t){var i=this;return new Promise(function(n){a.a.toXMLNET.call(i,t).then(function(t){var e=m()(t.xml);return Object(o.a)(e,i,"Scale."),n(t)})})}})},function(t,e,n){"use strict";var i,a,r,o,s,l,c,p,d,u,h;n.r(e),i=n(0),a=n.n(i),r=n(4),o=n(17),s=n(65),l=n(3),c=n(5),p=n(46),d=n(75),u="full",h="Small",e.default=o.a.createObject(o.a,{title:"Objects Gauge SimpleProgress",info:"SimpleProgressGaugeInfo",icon:"icon-135",pos:140,type:"SimpleProgressGauge",groupType:"Gauge",disabled:!1,_init:function(){o.a._init.apply(this,arguments),this.defaultValues={Maximum:100,Minimum:0,Value:75,Inverted:!1,"Pointer.BorderColor":"transparent","Pointer.Color":"#FFA500","Pointer.SmallPointerWidth":.1,"Pointer.Type":"full"},this.prop({Name:"SimpleProgressGauge",Width:302.36,Height:75.59,"Border.Lines":"All","Label.Color":"#000000","Label.Decimals":0}),this.attr({"Label.Font.Name":r.a.get("default-font-name"),"Label.Font.Size":"8pt","Label.Font.Bold":!1,"Label.Font.Italic":!1,"Label.Font.Underline":!1,"Label.Font.Strikeout":!1})},getPercentage:function(){var t=this.prop("Value"),e=this.prop("Minimum"),n=this.prop("Maximum");return(t-e)/(n-e)*100},appendPointer:function(){var t,e,n,i=this.prop("Pointer.Type");return this.$pointer||(this.$pointerContainer=a()(Object(l.a)("g")),this.$pointer=a()(Object(l.a)("rect"))),this.$pointer.css("fill",this.prop("Pointer.Color")),this.$pointer.attr("height",this.prop("Height")),t=this.prop("Width"),e=this.getPercentage(),i===u?this.$pointer.attr("width",t*e/100):i===h&&(n=t*this.prop("Pointer.SmallPointerWidth"),this.$pointer.attr("width",n),Object(c.a)(this.$pointer.get(0),"transform","translate({0},0)".format(t*e/100-n/2))),this.$pointer.css({stroke:this.prop("Pointer.BorderColor"),"stroke-width":1}),this.$pointerContainer.append(this.$pointer),this.$contentGroup.append(this.$pointerContainer),this.$pointer},appendLabel:function(){var t,e,n,i,r;return this.$label||(this.$labelContainer=a()(Object(l.a)("g")),this.$label=a()(Object(l.a)("text"))),t=this.attr("Label.Font.Size"),e=this.attr("Label.Font.Name"),n="{0}%".format(this.getPercentage()),this.$label.text(n),r=30<(i=Object(d.a)(n,{"font-size":t,"font-family":e,"font-weight":this.attr("Font.Bold")?"500":"100"})).h?i.h/1.5:this.prop("Height")/2,Object(c.a)(this.$label.get(0),"transform","translate({0},{1})".format(this.prop("Width")/2-i.w/2,r)),this.$label.css({"font-size":t+(Object(p.a)(t)?"pt":""),fill:this.prop("Label.Color"),"font-family":e}),this.applyFontStyles(this.$label,"Label."),this.$labelContainer.append(this.$label),this.$contentGroup.append(this.$labelContainer),this.$label},render:function(){return o.a.render.apply(this,arguments),this.appendPointer(),this.appendLabel(),this.$g},fillPropsNET:function(t){return o.a.fillPropsNET.apply(this,arguments),this.fillFontNET(t,"Label."),this},toXMLNET:function(t){var i=this;return new Promise(function(n){o.a.toXMLNET.call(i,t).then(function(t){var e=a()(t.xml);return Object(s.a)(e,i,"Label."),n(e.get(0))})})}})},function(t,e,n){"use strict";n.r(e);var i=n(27);e.default=i.default.createObject(i.default,{title:"Objects HtmlObject",info:"HtmlObjectInfo",icon:"icon-135",pos:160,type:"HtmlObject",disabled:!1,_init:function(){i.default._init.apply(this,arguments),this.defaultValues={"Padding.Left":2,"Padding.Right":2,CanBreak:!0,TabWidth:58,ProcessAt:"Default",AllowExpressions:!0,"TextFill.Color":"#000"},this.attr({"droppable-view":!0,"droppable-component":!0,withPadding:!0}),this.prop("Name","Html")}})},function(t,e,n){"use strict";var i,r,a,o,s,l,c,p;n.r(e),i=n(0),r=n.n(i),a=n(7),o=n(3),s=n(5),l=n(59),c=n(22),p=new c.a("SVGObject"),e.default=a.default.createObject(a.default,{title:"Objects SVGObject",info:"SVGObjectInfo",icon:"icon-103",pos:170,type:"SVGObject",disabled:!1,_init:function(){a.default._init.apply(this,arguments),this.defaultValues={Angle:0,Tile:!1,Transparency:0,TransparentColor:"transparent",Tag:"",ShowErrorImage:!1,SizeMode:"Zoom",Grayscale:!1,MaxSvgHeight:0,MaxSvgWidth:0,SvgDocument:"",SvgGrayscale:""},this.prop({Name:"SVG",Width:75.6,Height:75.6}),this.attr("withPadding",!0)},render:function(){var t=this.prop("Angle"),e=this.prop("ImageLocation"),n=this.prop("SvgData");return a.default.render.apply(this,arguments),this.$rGroup||(this.$rGroup=r()(Object(o.a)("g")),this.$contentGroup.append(this.$rGroup)),e?(this.$image||(this.$image=r()(Object(o.a)("image",{class:"move"})),this.$rGroup.append(this.$image)),this.$image.attr({width:this.prop("Width")+"px",height:this.prop("Height")+"px",x:0,y:0}),Object(l.a)(this.$image[0],"href",e)):n&&this.$rGroup.append(n),this.prop("Grayscale")?Object(s.a)(this.$rGroup.get(0),"filter","url(#grayscale)"):Object(s.a)(this.$rGroup.get(0),"filter",""),void 0!==t&&Object(s.a)(this.$rGroup[0],"transform","rotate($angle $x $y)".replace(/\$angle/g,t).replace(/\$x/g,this.prop("Width")/2).replace(/\$y/g,this.prop("Height")/2)),this.$g},fillPropsNET:function(){if(a.default.fillPropsNET.apply(this,arguments),this.prop("SvgData"))try{this.prop("SvgData",atob(this.prop("SvgData")))}catch(t){p.error(t)}return this},toXMLNET:function(e){var n=this;return new Promise(function(t){!n.prop("ImageLocation")&&n.prop("SvgData")&&n.prop("SvgData",btoa(n.prop("SvgData"))),a.default.toXMLNET.call(n,e).then(t)})}})},function(t,e,n){"use strict";var i,r,a,o,s;n.r(e),i=n(0),r=n.n(i),a=n(7),o=n(2),s=n(3),e.default=a.default.createObject(a.default,{title:"Objects DigitalSignatureObject",info:"DigitalSignatureObjectInfo",icon:"icon-133",pos:131,type:"DigitalSignatureObject",disabled:!1,_init:function(){a.default._init.apply(this,arguments),this.defaultValues={Tile:!1,Transparency:0,TransparentColor:"transparent"},this.prop({Name:"DigitalSignature",Width:132.6,Height:45.6})},render:function(){return a.default.render.apply(this,arguments),this.$rGroup||(this.$rGroup=r()(Object(s.a)("g")),this.$text=r()(Object(s.a)("text")),this.$text.text(o.a.tr("Objects DigitalSignatureObject")),this.$text.css({"font-size":"10pt",fill:"#000","font-family":"Arial","text-anchor":"middle"}),this.$text.attr("transform","translate(60, 15)"),this.$rGroup.append(this.$text),this.$contentGroup.append(this.$rGroup)),this.$g}})},function(t,e,n){"use strict";var i,r,a,o,s,l,c,p,d,u,h,f,g,m,b,v,y,C,S,x,P,w,T,k,B,$,O,E,M,D,A,j,F,L,R,N,W,H,_,z,V,I,G,X,U,Y,K,q,J,Z,Q,tt;function et(t,e){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,et),this.self=t,this.barcodeType=e,this.props=Z[this.barcodeType],this.isExist()||Q.error("there is no such barcode type")}n.r(e),i=n(0),r=n.n(i),a=n(7),o=n(26),n(325),s=n(22),l=n(3),c=n(5),p=n(59),d=n(93),u=n(294),h=n.n(u),f=n(295),g=n.n(f),m=n(296),b=n.n(m),v=n(297),y=n.n(v),C=n(298),S=n.n(C),x=n(299),P=n.n(x),w=n(300),T=n.n(w),k=n(301),B=n.n(k),$=n(302),O=n.n($),E=n(303),M=n.n(E),D=n(241),A=n.n(D),j=n(304),F=n.n(j),L=n(305),R=n.n(L),N=n(306),W=n.n(N),H=n(307),_=n.n(H),z=n(308),V=n.n(z),I=n(309),G=n.n(I),X=n(310),U=n.n(X),Y=n(311),K=n.n(Y),q=n(312),J=n.n(q),Z={"2/5 Interleaved":{defaultWidth:80,defaultHeight:94.5,canBeRenderedViaJs:!1,isTwoDimensional:!1,path:b.a},"2/5 Industrial":{defaultWidth:155,defaultHeight:94.5,canBeRenderedViaJs:!1,isTwoDimensional:!1,path:g.a},"2/5 Matrix":{defaultWidth:115,defaultHeight:94.5,canBeRenderedViaJs:!1,isTwoDimensional:!1,path:y.a},Codabar:{defaultWidth:126,defaultHeight:94.5,canBeRenderedViaJs:!1,isTwoDimensional:!1,path:S.a},Code128:{defaultWidth:98.6,defaultHeight:94.5,canBeRenderedViaJs:!1,isTwoDimensional:!1,path:P.a},Code39:{defaultWidth:177.6,defaultHeight:94.5,format:"CODE39",canBeRenderedViaJs:!0,isTwoDimensional:!1},"Code39 Extended":{defaultWidth:177.6,defaultHeight:94.5,canBeRenderedViaJs:!1,isTwoDimensional:!1,path:T.a},Code93:{defaultWidth:136.06,defaultHeight:94.5,canBeRenderedViaJs:!1,isTwoDimensional:!1,path:B.a},"Code93 Extended":{defaultWidth:136.06,defaultHeight:94.5,canBeRenderedViaJs:!1,isTwoDimensional:!1,path:O.a},EAN8:{defaultWidth:83.9,defaultHeight:94.5,format:"EAN8",canBeRenderedViaJs:!0,isTwoDimensional:!1},EAN13:{defaultWidth:128.8,defaultHeight:94.5,format:"EAN13",canBeRenderedViaJs:!0,isTwoDimensional:!1},MSI:{defaultWidth:143.6,defaultHeight:94.5,format:"MSI",canBeRenderedViaJs:!0,isTwoDimensional:!1},PostNet:{defaultWidth:154.9,defaultHeight:94.5,canBeRenderedViaJs:!1,isTwoDimensional:!1,path:M.a},"UPC-A":{defaultWidth:138.7,defaultHeight:94.5,format:"UPC",canBeRenderedViaJs:!0,isTwoDimensional:!1},"UPC-E0":{defaultWidth:83.9,defaultHeight:94.5,canBeRenderedViaJs:!1,isTwoDimensional:!1,path:A.a},"UPC-E1":{defaultWidth:83.9,defaultHeight:94.5,canBeRenderedViaJs:!1,isTwoDimensional:!1,path:A.a},"Supplement 2":{defaultWidth:24.9,defaultHeight:94.5,canBeRenderedViaJs:!1,isTwoDimensional:!1,path:F.a},"Supplement 5":{defaultWidth:58.5,defaultHeight:94.5,canBeRenderedViaJs:!1,isTwoDimensional:!1,path:R.a},PDF417:{defaultWidth:171.9,defaultHeight:122.07,canBeRenderedViaJs:!1,isTwoDimensional:!0,path:W.a},Datamatrix:{defaultWidth:35.9,defaultHeight:54.04,canBeRenderedViaJs:!1,isTwoDimensional:!0,path:_.a},"QR Code":{defaultWidth:116.03,defaultHeight:133.79,canBeRenderedViaJs:!1,isTwoDimensional:!0,path:h.a},Plessey:{defaultWidth:183.68,defaultHeight:94.5,canBeRenderedViaJs:!1,isTwoDimensional:!1,path:V.a},"GS1-128 (UCC/EAN-128)":{defaultWidth:98.64,defaultHeight:94.5,canBeRenderedViaJs:!1,isTwoDimensional:!1,path:G.a},Aztec:{defaultWidth:60.09,defaultHeight:77.85,canBeRenderedViaJs:!1,isTwoDimensional:!0,path:U.a},Pharmacode:{defaultWidth:148.9,defaultHeight:94.5,format:"pharmacode",canBeRenderedViaJs:!0,isTwoDimensional:!1},MaxiCode:{defaultWidth:181.79,defaultHeight:193.5,canBeRenderedViaJs:!1,isTwoDimensional:!0,path:K.a},"Intelligent Mail (USPS)":{defaultWidth:94.5,defaultHeight:94.5,canBeRenderedViaJs:!1,isTwoDimensional:!1,path:J.a}},Q=new s.a("Barcode"),et.prototype.init=function(){var t=this.self,e=t.prop("Width")||this.props.defaultWidth||0,n=t.prop("Height")||this.props.defaultHeight||0;0this.bufZoom?this.attr("lastWidth")*(this.prop("Barcode.WideBarRatio")||1)*this.prop("Zoom"):this.prop("Zoom")');return t&&t.addClass("d-fc-exp-input"),n.addClass("d-fc-exp-but"),n.on("click",function(t){t.preventDefault(),e.expressionEventName=e.expressionEventName||"show-expression-editor","show-expression-editor"===e.expressionEventName?o.a.trigger(e.expressionEventName,{entity:e.element,prop:e.prop,menu:void 0===e.exprMenu||e.exprMenu}):o.a.trigger(e.expressionEventName,e.element,e.prop)}),n}function i(t,e){var n,i,r=D[t.type],a=c()("
"),o=c()("