/*! For license information please see app.js.LICENSE.txt */ (()=>{var e={2584:e=>{e.exports=function(e,t){return Array.prototype.slice.call(e,t)}},1155:(e,t,n)=>{"use strict";var i=n(9755),r=i("html"),s=i("body");function a(e,t,n){var i=new Date;i.setTime(i.getTime()+24*n*60*60*1e3);var r="expires="+i.toUTCString();document.cookie=e+"="+t+";"+r+"; path=/; SameSite=None; Secure"}function o(e){for(var t=e+"=",n=document.cookie.split(";"),i=0;i0&&i("#btn-layout-modes-dark").on("change",(function(){!0===i(this).prop("checked")?(document.documentElement.setAttribute("data-bs-theme","dark"),a("adminuiuxlayoutmode","dark"),i("#btn-layout-modes-dark-page").addClass("active")):(document.documentElement.setAttribute("data-bs-theme","light"),a("adminuiuxlayoutmode","light"),i("#btn-layout-modes-dark-page").removeClass("active"))}));i("#btn-layout-modes-dark-page").length>0&&i("#btn-layout-modes-dark-page").on("click",(function(){!0===i(this).hasClass("active")?(document.documentElement.setAttribute("data-bs-theme","light"),a("adminuiuxlayoutmode","light"),i(this).removeClass("active"),i("#btn-layout-modes-dark").prop("checked",!1)):(document.documentElement.setAttribute("data-bs-theme","dark"),a("adminuiuxlayoutmode","dark"),i(this).addClass("active"),i("#btn-layout-modes-dark").prop("checked",!0))}))}(),i("#btn-layout-dir-rtl").on("change",(function(){!0===i(this).prop("checked")?document.documentElement.setAttribute("dir","rtl"):document.documentElement.setAttribute("dir","ltr")})),i("#btn-layout-dir-rtl-page").on("change",(function(){!0===i(this).prop("checked")?document.documentElement.setAttribute("dir","rtl"):document.documentElement.setAttribute("dir","ltr")})),"rtl"===o("adminuiuxdirectionmode")?(i("#btn-layout-RTL").prop("checked",!0),r.addClass("rtl"),r.attr("dir","ltr")):(i("#btn-layout-RTL").prop("checked",!1),r.attr("dir",""),r.removeClass("rtl")),i("#btn-layout-RTL").on("click",(function(){i(this).is(":checked")?(a("adminuiuxdirectionmode","rtl",1),r.attr("dir","rtl"),r.addClass("rtl")):(a("adminuiuxdirectionmode","ltr",1),r.attr("dir",""),r.removeClass("rtl"))}))}))},3367:(e,t,n)=>{"use strict";n(9755)(window).on("resize",(function(){}))},486:function(e,t,n){var i,r;i=[n(381),n(9755)],void 0===(r=function(e,t){return t.fn||(t.fn={}),"function"!=typeof e&&e.hasOwnProperty("default")&&(e=e.default),function(e,t){var n=function(n,i,r){if(this.parentEl="body",this.element=t(n),this.startDate=e().startOf("day"),this.endDate=e().endOf("day"),this.minDate=!1,this.maxDate=!1,this.maxSpan=!1,this.autoApply=!1,this.singleDatePicker=!1,this.showDropdowns=!1,this.minYear=e().subtract(100,"year").format("YYYY"),this.maxYear=e().add(100,"year").format("YYYY"),this.showWeekNumbers=!1,this.showISOWeekNumbers=!1,this.showCustomRangeLabel=!0,this.timePicker=!1,this.timePicker24Hour=!1,this.timePickerIncrement=1,this.timePickerSeconds=!1,this.linkedCalendars=!0,this.autoUpdateInput=!0,this.alwaysShowCalendars=!1,this.ranges={},this.opens="right",this.element.hasClass("pull-right")&&(this.opens="left"),this.drops="down",this.element.hasClass("dropup")&&(this.drops="up"),this.buttonClasses="btn btn-sm",this.applyButtonClasses="btn-primary",this.cancelButtonClasses="btn-default",this.locale={direction:"ltr",format:e.localeData().longDateFormat("L"),separator:" - ",applyLabel:"Apply",cancelLabel:"Cancel",weekLabel:"W",customRangeLabel:"Custom Range",daysOfWeek:e.weekdaysMin(),monthNames:e.monthsShort(),firstDay:e.localeData().firstDayOfWeek()},this.callback=function(){},this.isShowing=!1,this.leftCalendar={},this.rightCalendar={},"object"==typeof i&&null!==i||(i={}),"string"==typeof(i=t.extend(this.element.data(),i)).template||i.template instanceof t||(i.template='
'),this.parentEl=i.parentEl&&t(i.parentEl).length?t(i.parentEl):t(this.parentEl),this.container=t(i.template).appendTo(this.parentEl),"object"==typeof i.locale&&("string"==typeof i.locale.direction&&(this.locale.direction=i.locale.direction),"string"==typeof i.locale.format&&(this.locale.format=i.locale.format),"string"==typeof i.locale.separator&&(this.locale.separator=i.locale.separator),"object"==typeof i.locale.daysOfWeek&&(this.locale.daysOfWeek=i.locale.daysOfWeek.slice()),"object"==typeof i.locale.monthNames&&(this.locale.monthNames=i.locale.monthNames.slice()),"number"==typeof i.locale.firstDay&&(this.locale.firstDay=i.locale.firstDay),"string"==typeof i.locale.applyLabel&&(this.locale.applyLabel=i.locale.applyLabel),"string"==typeof i.locale.cancelLabel&&(this.locale.cancelLabel=i.locale.cancelLabel),"string"==typeof i.locale.weekLabel&&(this.locale.weekLabel=i.locale.weekLabel),"string"==typeof i.locale.customRangeLabel)){(h=document.createElement("textarea")).innerHTML=i.locale.customRangeLabel;var s=h.value;this.locale.customRangeLabel=s}if(this.container.addClass(this.locale.direction),"string"==typeof i.startDate&&(this.startDate=e(i.startDate,this.locale.format)),"string"==typeof i.endDate&&(this.endDate=e(i.endDate,this.locale.format)),"string"==typeof i.minDate&&(this.minDate=e(i.minDate,this.locale.format)),"string"==typeof i.maxDate&&(this.maxDate=e(i.maxDate,this.locale.format)),"object"==typeof i.startDate&&(this.startDate=e(i.startDate)),"object"==typeof i.endDate&&(this.endDate=e(i.endDate)),"object"==typeof i.minDate&&(this.minDate=e(i.minDate)),"object"==typeof i.maxDate&&(this.maxDate=e(i.maxDate)),this.minDate&&this.startDate.isBefore(this.minDate)&&(this.startDate=this.minDate.clone()),this.maxDate&&this.endDate.isAfter(this.maxDate)&&(this.endDate=this.maxDate.clone()),"string"==typeof i.applyButtonClasses&&(this.applyButtonClasses=i.applyButtonClasses),"string"==typeof i.applyClass&&(this.applyButtonClasses=i.applyClass),"string"==typeof i.cancelButtonClasses&&(this.cancelButtonClasses=i.cancelButtonClasses),"string"==typeof i.cancelClass&&(this.cancelButtonClasses=i.cancelClass),"object"==typeof i.maxSpan&&(this.maxSpan=i.maxSpan),"object"==typeof i.dateLimit&&(this.maxSpan=i.dateLimit),"string"==typeof i.opens&&(this.opens=i.opens),"string"==typeof i.drops&&(this.drops=i.drops),"boolean"==typeof i.showWeekNumbers&&(this.showWeekNumbers=i.showWeekNumbers),"boolean"==typeof i.showISOWeekNumbers&&(this.showISOWeekNumbers=i.showISOWeekNumbers),"string"==typeof i.buttonClasses&&(this.buttonClasses=i.buttonClasses),"object"==typeof i.buttonClasses&&(this.buttonClasses=i.buttonClasses.join(" ")),"boolean"==typeof i.showDropdowns&&(this.showDropdowns=i.showDropdowns),"number"==typeof i.minYear&&(this.minYear=i.minYear),"number"==typeof i.maxYear&&(this.maxYear=i.maxYear),"boolean"==typeof i.showCustomRangeLabel&&(this.showCustomRangeLabel=i.showCustomRangeLabel),"boolean"==typeof i.singleDatePicker&&(this.singleDatePicker=i.singleDatePicker,this.singleDatePicker&&(this.endDate=this.startDate.clone())),"boolean"==typeof i.timePicker&&(this.timePicker=i.timePicker),"boolean"==typeof i.timePickerSeconds&&(this.timePickerSeconds=i.timePickerSeconds),"number"==typeof i.timePickerIncrement&&(this.timePickerIncrement=i.timePickerIncrement),"boolean"==typeof i.timePicker24Hour&&(this.timePicker24Hour=i.timePicker24Hour),"boolean"==typeof i.autoApply&&(this.autoApply=i.autoApply),"boolean"==typeof i.autoUpdateInput&&(this.autoUpdateInput=i.autoUpdateInput),"boolean"==typeof i.linkedCalendars&&(this.linkedCalendars=i.linkedCalendars),"function"==typeof i.isInvalidDate&&(this.isInvalidDate=i.isInvalidDate),"function"==typeof i.isCustomDate&&(this.isCustomDate=i.isCustomDate),"boolean"==typeof i.alwaysShowCalendars&&(this.alwaysShowCalendars=i.alwaysShowCalendars),0!=this.locale.firstDay)for(var a=this.locale.firstDay;a>0;)this.locale.daysOfWeek.push(this.locale.daysOfWeek.shift()),a--;var o,l,c;if(void 0===i.startDate&&void 0===i.endDate&&t(this.element).is(":text")){var d=t(this.element).val(),u=d.split(this.locale.separator);o=l=null,2==u.length?(o=e(u[0],this.locale.format),l=e(u[1],this.locale.format)):this.singleDatePicker&&""!==d&&(o=e(d,this.locale.format),l=e(d,this.locale.format)),null!==o&&null!==l&&(this.setStartDate(o),this.setEndDate(l))}if("object"==typeof i.ranges){for(c in i.ranges){o="string"==typeof i.ranges[c][0]?e(i.ranges[c][0],this.locale.format):e(i.ranges[c][0]),l="string"==typeof i.ranges[c][1]?e(i.ranges[c][1],this.locale.format):e(i.ranges[c][1]),this.minDate&&o.isBefore(this.minDate)&&(o=this.minDate.clone());var h,f=this.maxDate;if(this.maxSpan&&f&&o.clone().add(this.maxSpan).isAfter(f)&&(f=o.clone().add(this.maxSpan)),f&&l.isAfter(f)&&(l=f.clone()),!(this.minDate&&l.isBefore(this.minDate,this.timepicker?"minute":"day")||f&&o.isAfter(f,this.timepicker?"minute":"day")))(h=document.createElement("textarea")).innerHTML=c,s=h.value,this.ranges[s]=[o,l]}var p="",this.container.find(".ranges").prepend(p)}"function"==typeof r&&(this.callback=r),this.timePicker||(this.startDate=this.startDate.startOf("day"),this.endDate=this.endDate.endOf("day"),this.container.find(".calendar-time").hide()),this.timePicker&&this.autoApply&&(this.autoApply=!1),this.autoApply&&this.container.addClass("auto-apply"),"object"==typeof i.ranges&&this.container.addClass("show-ranges"),this.singleDatePicker&&(this.container.addClass("single"),this.container.find(".drp-calendar.left").addClass("single"),this.container.find(".drp-calendar.left").show(),this.container.find(".drp-calendar.right").hide(),!this.timePicker&&this.autoApply&&this.container.addClass("auto-apply")),(void 0===i.ranges&&!this.singleDatePicker||this.alwaysShowCalendars)&&this.container.addClass("show-calendar"),this.container.addClass("opens"+this.opens),this.container.find(".applyBtn, .cancelBtn").addClass(this.buttonClasses),this.applyButtonClasses.length&&this.container.find(".applyBtn").addClass(this.applyButtonClasses),this.cancelButtonClasses.length&&this.container.find(".cancelBtn").addClass(this.cancelButtonClasses),this.container.find(".applyBtn").html(this.locale.applyLabel),this.container.find(".cancelBtn").html(this.locale.cancelLabel),this.container.find(".drp-calendar").on("click.daterangepicker",".prev",t.proxy(this.clickPrev,this)).on("click.daterangepicker",".next",t.proxy(this.clickNext,this)).on("mousedown.daterangepicker","td.available",t.proxy(this.clickDate,this)).on("mouseenter.daterangepicker","td.available",t.proxy(this.hoverDate,this)).on("change.daterangepicker","select.yearselect",t.proxy(this.monthOrYearChanged,this)).on("change.daterangepicker","select.monthselect",t.proxy(this.monthOrYearChanged,this)).on("change.daterangepicker","select.hourselect,select.minuteselect,select.secondselect,select.ampmselect",t.proxy(this.timeChanged,this)),this.container.find(".ranges").on("click.daterangepicker","li",t.proxy(this.clickRange,this)),this.container.find(".drp-buttons").on("click.daterangepicker","button.applyBtn",t.proxy(this.clickApply,this)).on("click.daterangepicker","button.cancelBtn",t.proxy(this.clickCancel,this)),this.element.is("input")||this.element.is("button")?this.element.on({"click.daterangepicker":t.proxy(this.show,this),"focus.daterangepicker":t.proxy(this.show,this),"keyup.daterangepicker":t.proxy(this.elementChanged,this),"keydown.daterangepicker":t.proxy(this.keydown,this)}):(this.element.on("click.daterangepicker",t.proxy(this.toggle,this)),this.element.on("keydown.daterangepicker",t.proxy(this.toggle,this))),this.updateElement()};return n.prototype={constructor:n,setStartDate:function(t){"string"==typeof t&&(this.startDate=e(t,this.locale.format)),"object"==typeof t&&(this.startDate=e(t)),this.timePicker||(this.startDate=this.startDate.startOf("day")),this.timePicker&&this.timePickerIncrement&&this.startDate.minute(Math.round(this.startDate.minute()/this.timePickerIncrement)*this.timePickerIncrement),this.minDate&&this.startDate.isBefore(this.minDate)&&(this.startDate=this.minDate.clone(),this.timePicker&&this.timePickerIncrement&&this.startDate.minute(Math.round(this.startDate.minute()/this.timePickerIncrement)*this.timePickerIncrement)),this.maxDate&&this.startDate.isAfter(this.maxDate)&&(this.startDate=this.maxDate.clone(),this.timePicker&&this.timePickerIncrement&&this.startDate.minute(Math.floor(this.startDate.minute()/this.timePickerIncrement)*this.timePickerIncrement)),this.isShowing||this.updateElement(),this.updateMonthsInView()},setEndDate:function(t){"string"==typeof t&&(this.endDate=e(t,this.locale.format)),"object"==typeof t&&(this.endDate=e(t)),this.timePicker||(this.endDate=this.endDate.endOf("day")),this.timePicker&&this.timePickerIncrement&&this.endDate.minute(Math.round(this.endDate.minute()/this.timePickerIncrement)*this.timePickerIncrement),this.endDate.isBefore(this.startDate)&&(this.endDate=this.startDate.clone()),this.maxDate&&this.endDate.isAfter(this.maxDate)&&(this.endDate=this.maxDate.clone()),this.maxSpan&&this.startDate.clone().add(this.maxSpan).isBefore(this.endDate)&&(this.endDate=this.startDate.clone().add(this.maxSpan)),this.previousRightTime=this.endDate.clone(),this.container.find(".drp-selected").html(this.startDate.format(this.locale.format)+this.locale.separator+this.endDate.format(this.locale.format)),this.isShowing||this.updateElement(),this.updateMonthsInView()},isInvalidDate:function(){return!1},isCustomDate:function(){return!1},updateView:function(){this.timePicker&&(this.renderTimePicker("left"),this.renderTimePicker("right"),this.endDate?this.container.find(".right .calendar-time select").prop("disabled",!1).removeClass("disabled"):this.container.find(".right .calendar-time select").prop("disabled",!0).addClass("disabled")),this.endDate&&this.container.find(".drp-selected").html(this.startDate.format(this.locale.format)+this.locale.separator+this.endDate.format(this.locale.format)),this.updateMonthsInView(),this.updateCalendars(),this.updateFormInputs()},updateMonthsInView:function(){if(this.endDate){if(!this.singleDatePicker&&this.leftCalendar.month&&this.rightCalendar.month&&(this.startDate.format("YYYY-MM")==this.leftCalendar.month.format("YYYY-MM")||this.startDate.format("YYYY-MM")==this.rightCalendar.month.format("YYYY-MM"))&&(this.endDate.format("YYYY-MM")==this.leftCalendar.month.format("YYYY-MM")||this.endDate.format("YYYY-MM")==this.rightCalendar.month.format("YYYY-MM")))return;this.leftCalendar.month=this.startDate.clone().date(2),this.linkedCalendars||this.endDate.month()==this.startDate.month()&&this.endDate.year()==this.startDate.year()?this.rightCalendar.month=this.startDate.clone().date(2).add(1,"month"):this.rightCalendar.month=this.endDate.clone().date(2)}else this.leftCalendar.month.format("YYYY-MM")!=this.startDate.format("YYYY-MM")&&this.rightCalendar.month.format("YYYY-MM")!=this.startDate.format("YYYY-MM")&&(this.leftCalendar.month=this.startDate.clone().date(2),this.rightCalendar.month=this.startDate.clone().date(2).add(1,"month"));this.maxDate&&this.linkedCalendars&&!this.singleDatePicker&&this.rightCalendar.month>this.maxDate&&(this.rightCalendar.month=this.maxDate.clone().date(2),this.leftCalendar.month=this.maxDate.clone().date(2).subtract(1,"month"))},updateCalendars:function(){var e,t,n,i;this.timePicker&&(this.endDate?(e=parseInt(this.container.find(".left .hourselect").val(),10),t=parseInt(this.container.find(".left .minuteselect").val(),10),isNaN(t)&&(t=parseInt(this.container.find(".left .minuteselect option:last").val(),10)),n=this.timePickerSeconds?parseInt(this.container.find(".left .secondselect").val(),10):0,this.timePicker24Hour||("PM"===(i=this.container.find(".left .ampmselect").val())&&e<12&&(e+=12),"AM"===i&&12===e&&(e=0))):(e=parseInt(this.container.find(".right .hourselect").val(),10),t=parseInt(this.container.find(".right .minuteselect").val(),10),isNaN(t)&&(t=parseInt(this.container.find(".right .minuteselect option:last").val(),10)),n=this.timePickerSeconds?parseInt(this.container.find(".right .secondselect").val(),10):0,this.timePicker24Hour||("PM"===(i=this.container.find(".right .ampmselect").val())&&e<12&&(e+=12),"AM"===i&&12===e&&(e=0))),this.leftCalendar.month.hour(e).minute(t).second(n),this.rightCalendar.month.hour(e).minute(t).second(n));this.renderCalendar("left"),this.renderCalendar("right"),this.container.find(".ranges li").removeClass("active"),null!=this.endDate&&this.calculateChosenLabel()},renderCalendar:function(n){var i,r=(i="left"==n?this.leftCalendar:this.rightCalendar).month.month(),s=i.month.year(),a=i.month.hour(),o=i.month.minute(),l=i.month.second(),c=e([s,r]).daysInMonth(),d=e([s,r,1]),u=e([s,r,c]),h=e(d).subtract(1,"month").month(),f=e(d).subtract(1,"month").year(),p=e([f,h]).daysInMonth(),m=d.day();(i=[]).firstDay=d,i.lastDay=u;for(var g=0;g<6;g++)i[g]=[];var v=p-m+this.locale.firstDay+1;v>p&&(v-=7),m==this.locale.firstDay&&(v=p-6);for(var _=e([f,h,v,12,o,l]),y=(g=0,0),b=0;g<42;g++,y++,_=e(_).add(24,"hour"))g>0&&y%7==0&&(y=0,b++),i[b][y]=_.clone().hour(a).minute(o).second(l),_.hour(12),this.minDate&&i[b][y].format("YYYY-MM-DD")==this.minDate.format("YYYY-MM-DD")&&i[b][y].isBefore(this.minDate)&&"left"==n&&(i[b][y]=this.minDate.clone()),this.maxDate&&i[b][y].format("YYYY-MM-DD")==this.maxDate.format("YYYY-MM-DD")&&i[b][y].isAfter(this.maxDate)&&"right"==n&&(i[b][y]=this.maxDate.clone());"left"==n?this.leftCalendar.calendar=i:this.rightCalendar.calendar=i;var x="left"==n?this.minDate:this.startDate,M=this.maxDate,w=("left"==n?this.startDate:this.endDate,this.locale.direction,'');w+="",w+="",(this.showWeekNumbers||this.showISOWeekNumbers)&&(w+=""),x&&!x.isBefore(i.firstDay)||this.linkedCalendars&&"left"!=n?w+="":w+='';var C=this.locale.monthNames[i[1][1].month()]+i[1][1].format(" YYYY");if(this.showDropdowns){for(var L=i[1][1].month(),k=i[1][1].year(),S=M&&M.year()||this.maxYear,T=x&&x.year()||this.minYear,D=k==T,E=k==S,A='";for(var Y='")}if(w+='",M&&!M.isAfter(i.lastDay)||this.linkedCalendars&&"right"!=n&&!this.singleDatePicker?w+="":w+='',w+="",w+="",(this.showWeekNumbers||this.showISOWeekNumbers)&&(w+='"),t.each(this.locale.daysOfWeek,(function(e,t){w+=""})),w+="",w+="",w+="",null==this.endDate&&this.maxSpan){var H=this.startDate.clone().add(this.maxSpan).endOf("day");M&&!H.isBefore(M)||(M=H)}for(b=0;b<6;b++){for(w+="",this.showWeekNumbers?w+='":this.showISOWeekNumbers&&(w+='"),y=0;y<7;y++){var j=[];i[b][y].isSame(new Date,"day")&&j.push("today"),i[b][y].isoWeekday()>5&&j.push("weekend"),i[b][y].month()!=i[1][1].month()&&j.push("off","ends"),this.minDate&&i[b][y].isBefore(this.minDate,"day")&&j.push("off","disabled"),M&&i[b][y].isAfter(M,"day")&&j.push("off","disabled"),this.isInvalidDate(i[b][y])&&j.push("off","disabled"),i[b][y].format("YYYY-MM-DD")==this.startDate.format("YYYY-MM-DD")&&j.push("active","start-date"),null!=this.endDate&&i[b][y].format("YYYY-MM-DD")==this.endDate.format("YYYY-MM-DD")&&j.push("active","end-date"),null!=this.endDate&&i[b][y]>this.startDate&&i[b][y]'+i[b][y].date()+""}w+=""}w+="",w+="
'+C+"
'+this.locale.weekLabel+""+t+"
'+i[b][0].week()+"'+i[b][0].isoWeek()+"
",this.container.find(".drp-calendar."+n+" .calendar-table").html(w)},renderTimePicker:function(e){if("right"!=e||this.endDate){var t,n,i,r=this.maxDate;if(!this.maxSpan||this.maxDate&&!this.startDate.clone().add(this.maxSpan).isBefore(this.maxDate)||(r=this.startDate.clone().add(this.maxSpan)),"left"==e)n=this.startDate.clone(),i=this.minDate;else if("right"==e){n=this.endDate.clone(),i=this.startDate;var s=this.container.find(".drp-calendar.right .calendar-time");if(""!=s.html()&&(n.hour(isNaN(n.hour())?s.find(".hourselect option:selected").val():n.hour()),n.minute(isNaN(n.minute())?s.find(".minuteselect option:selected").val():n.minute()),n.second(isNaN(n.second())?s.find(".secondselect option:selected").val():n.second()),!this.timePicker24Hour)){var a=s.find(".ampmselect option:selected").val();"PM"===a&&n.hour()<12&&n.hour(n.hour()+12),"AM"===a&&12===n.hour()&&n.hour(0)}n.isBefore(this.startDate)&&(n=this.startDate.clone()),r&&n.isAfter(r)&&(n=r.clone())}t=' ",t+=': ",this.timePickerSeconds){for(t+=': "}if(!this.timePicker24Hour){t+='"}this.container.find(".drp-calendar."+e+" .calendar-time").html(t)}},updateFormInputs:function(){this.singleDatePicker||this.endDate&&(this.startDate.isBefore(this.endDate)||this.startDate.isSame(this.endDate))?this.container.find("button.applyBtn").prop("disabled",!1):this.container.find("button.applyBtn").prop("disabled",!0)},move:function(){var e,n={top:0,left:0},i=this.drops,r=t(window).width();switch(this.parentEl.is("body")||(n={top:this.parentEl.offset().top-this.parentEl.scrollTop(),left:this.parentEl.offset().left-this.parentEl.scrollLeft()},r=this.parentEl[0].clientWidth+this.parentEl.offset().left),i){case"auto":(e=this.element.offset().top+this.element.outerHeight()-n.top)+this.container.outerHeight()>=this.parentEl[0].scrollHeight&&(e=this.element.offset().top-this.container.outerHeight()-n.top,i="up");break;case"up":e=this.element.offset().top-this.container.outerHeight()-n.top;break;default:e=this.element.offset().top+this.element.outerHeight()-n.top}this.container.css({top:0,left:0,right:"auto"});var s=this.container.outerWidth();if(this.container.toggleClass("drop-up","up"==i),"left"==this.opens){var a=r-this.element.offset().left-this.element.outerWidth();s+a>t(window).width()?this.container.css({top:e,right:"auto",left:9}):this.container.css({top:e,right:a,left:"auto"})}else if("center"==this.opens)(o=this.element.offset().left-n.left+this.element.outerWidth()/2-s/2)<0?this.container.css({top:e,right:"auto",left:9}):o+s>t(window).width()?this.container.css({top:e,left:"auto",right:0}):this.container.css({top:e,left:o,right:"auto"});else{var o;(o=this.element.offset().left-n.left)+s>t(window).width()?this.container.css({top:e,left:"auto",right:0}):this.container.css({top:e,left:o,right:"auto"})}},show:function(e){this.isShowing||(this._outsideClickProxy=t.proxy((function(e){this.outsideClick(e)}),this),t(document).on("mousedown.daterangepicker",this._outsideClickProxy).on("touchend.daterangepicker",this._outsideClickProxy).on("click.daterangepicker","[data-toggle=dropdown]",this._outsideClickProxy).on("focusin.daterangepicker",this._outsideClickProxy),t(window).on("resize.daterangepicker",t.proxy((function(e){this.move(e)}),this)),this.oldStartDate=this.startDate.clone(),this.oldEndDate=this.endDate.clone(),this.previousRightTime=this.endDate.clone(),this.updateView(),this.container.show(),this.move(),this.element.trigger("show.daterangepicker",this),this.isShowing=!0)},hide:function(e){this.isShowing&&(this.endDate||(this.startDate=this.oldStartDate.clone(),this.endDate=this.oldEndDate.clone()),this.startDate.isSame(this.oldStartDate)&&this.endDate.isSame(this.oldEndDate)||this.callback(this.startDate.clone(),this.endDate.clone(),this.chosenLabel),this.updateElement(),t(document).off(".daterangepicker"),t(window).off(".daterangepicker"),this.container.hide(),this.element.trigger("hide.daterangepicker",this),this.isShowing=!1)},toggle:function(e){this.isShowing?this.hide():this.show()},outsideClick:function(e){var n=t(e.target);"focusin"==e.type||n.closest(this.element).length||n.closest(this.container).length||n.closest(".calendar-table").length||(this.hide(),this.element.trigger("outsideClick.daterangepicker",this))},showCalendars:function(){this.container.addClass("show-calendar"),this.move(),this.element.trigger("showCalendar.daterangepicker",this)},hideCalendars:function(){this.container.removeClass("show-calendar"),this.element.trigger("hideCalendar.daterangepicker",this)},clickRange:function(e){var t=e.target.getAttribute("data-range-key");if(this.chosenLabel=t,t==this.locale.customRangeLabel)this.showCalendars();else{var n=this.ranges[t];this.startDate=n[0],this.endDate=n[1],this.timePicker||(this.startDate.startOf("day"),this.endDate.endOf("day")),this.alwaysShowCalendars||this.hideCalendars(),this.clickApply()}},clickPrev:function(e){t(e.target).parents(".drp-calendar").hasClass("left")?(this.leftCalendar.month.subtract(1,"month"),this.linkedCalendars&&this.rightCalendar.month.subtract(1,"month")):this.rightCalendar.month.subtract(1,"month"),this.updateCalendars()},clickNext:function(e){t(e.target).parents(".drp-calendar").hasClass("left")?this.leftCalendar.month.add(1,"month"):(this.rightCalendar.month.add(1,"month"),this.linkedCalendars&&this.leftCalendar.month.add(1,"month")),this.updateCalendars()},hoverDate:function(e){if(t(e.target).hasClass("available")){var n=t(e.target).attr("data-title"),i=n.substr(1,1),r=n.substr(3,1),s=t(e.target).parents(".drp-calendar").hasClass("left")?this.leftCalendar.calendar[i][r]:this.rightCalendar.calendar[i][r],a=this.leftCalendar,o=this.rightCalendar,l=this.startDate;this.endDate||this.container.find(".drp-calendar tbody td").each((function(e,n){if(!t(n).hasClass("week")){var i=t(n).attr("data-title"),r=i.substr(1,1),c=i.substr(3,1),d=t(n).parents(".drp-calendar").hasClass("left")?a.calendar[r][c]:o.calendar[r][c];d.isAfter(l)&&d.isBefore(s)||d.isSame(s,"day")?t(n).addClass("in-range"):t(n).removeClass("in-range")}}))}},clickDate:function(e){if(t(e.target).hasClass("available")){var n=t(e.target).attr("data-title"),i=n.substr(1,1),r=n.substr(3,1),s=t(e.target).parents(".drp-calendar").hasClass("left")?this.leftCalendar.calendar[i][r]:this.rightCalendar.calendar[i][r];if(this.endDate||s.isBefore(this.startDate,"day")){if(this.timePicker){var a=parseInt(this.container.find(".left .hourselect").val(),10);this.timePicker24Hour||("PM"===(c=this.container.find(".left .ampmselect").val())&&a<12&&(a+=12),"AM"===c&&12===a&&(a=0));var o=parseInt(this.container.find(".left .minuteselect").val(),10);isNaN(o)&&(o=parseInt(this.container.find(".left .minuteselect option:last").val(),10));var l=this.timePickerSeconds?parseInt(this.container.find(".left .secondselect").val(),10):0;s=s.clone().hour(a).minute(o).second(l)}this.endDate=null,this.setStartDate(s.clone())}else if(!this.endDate&&s.isBefore(this.startDate))this.setEndDate(this.startDate.clone());else{var c;if(this.timePicker)a=parseInt(this.container.find(".right .hourselect").val(),10),this.timePicker24Hour||("PM"===(c=this.container.find(".right .ampmselect").val())&&a<12&&(a+=12),"AM"===c&&12===a&&(a=0)),o=parseInt(this.container.find(".right .minuteselect").val(),10),isNaN(o)&&(o=parseInt(this.container.find(".right .minuteselect option:last").val(),10)),l=this.timePickerSeconds?parseInt(this.container.find(".right .secondselect").val(),10):0,s=s.clone().hour(a).minute(o).second(l);this.setEndDate(s.clone()),this.autoApply&&(this.calculateChosenLabel(),this.clickApply())}this.singleDatePicker&&(this.setEndDate(this.startDate),!this.timePicker&&this.autoApply&&this.clickApply()),this.updateView(),e.stopPropagation()}},calculateChosenLabel:function(){var e=!0,t=0;for(var n in this.ranges){if(this.timePicker){var i=this.timePickerSeconds?"YYYY-MM-DD HH:mm:ss":"YYYY-MM-DD HH:mm";if(this.startDate.format(i)==this.ranges[n][0].format(i)&&this.endDate.format(i)==this.ranges[n][1].format(i)){e=!1,this.chosenLabel=this.container.find(".ranges li:eq("+t+")").addClass("active").attr("data-range-key");break}}else if(this.startDate.format("YYYY-MM-DD")==this.ranges[n][0].format("YYYY-MM-DD")&&this.endDate.format("YYYY-MM-DD")==this.ranges[n][1].format("YYYY-MM-DD")){e=!1,this.chosenLabel=this.container.find(".ranges li:eq("+t+")").addClass("active").attr("data-range-key");break}t++}e&&(this.showCustomRangeLabel?this.chosenLabel=this.container.find(".ranges li:last").addClass("active").attr("data-range-key"):this.chosenLabel=null,this.showCalendars())},clickApply:function(e){this.hide(),this.element.trigger("apply.daterangepicker",this)},clickCancel:function(e){this.startDate=this.oldStartDate,this.endDate=this.oldEndDate,this.hide(),this.element.trigger("cancel.daterangepicker",this)},monthOrYearChanged:function(e){var n=t(e.target).closest(".drp-calendar").hasClass("left"),i=n?"left":"right",r=this.container.find(".drp-calendar."+i),s=parseInt(r.find(".monthselect").val(),10),a=r.find(".yearselect").val();n||(athis.maxDate.year()||a==this.maxDate.year()&&s>this.maxDate.month())&&(s=this.maxDate.month(),a=this.maxDate.year()),n?(this.leftCalendar.month.month(s).year(a),this.linkedCalendars&&(this.rightCalendar.month=this.leftCalendar.month.clone().add(1,"month"))):(this.rightCalendar.month.month(s).year(a),this.linkedCalendars&&(this.leftCalendar.month=this.rightCalendar.month.clone().subtract(1,"month"))),this.updateCalendars()},timeChanged:function(e){var n=t(e.target).closest(".drp-calendar"),i=n.hasClass("left"),r=parseInt(n.find(".hourselect").val(),10),s=parseInt(n.find(".minuteselect").val(),10);isNaN(s)&&(s=parseInt(n.find(".minuteselect option:last").val(),10));var a=this.timePickerSeconds?parseInt(n.find(".secondselect").val(),10):0;if(!this.timePicker24Hour){var o=n.find(".ampmselect").val();"PM"===o&&r<12&&(r+=12),"AM"===o&&12===r&&(r=0)}if(i){var l=this.startDate.clone();l.hour(r),l.minute(s),l.second(a),this.setStartDate(l),this.singleDatePicker?this.endDate=this.startDate.clone():this.endDate&&this.endDate.format("YYYY-MM-DD")==l.format("YYYY-MM-DD")&&this.endDate.isBefore(l)&&this.setEndDate(l.clone())}else if(this.endDate){var c=this.endDate.clone();c.hour(r),c.minute(s),c.second(a),this.setEndDate(c)}this.updateCalendars(),this.updateFormInputs(),this.renderTimePicker("left"),this.renderTimePicker("right")},elementChanged:function(){if(this.element.is("input")&&this.element.val().length){var t=this.element.val().split(this.locale.separator),n=null,i=null;2===t.length&&(n=e(t[0],this.locale.format),i=e(t[1],this.locale.format)),(this.singleDatePicker||null===n||null===i)&&(i=n=e(this.element.val(),this.locale.format)),n.isValid()&&i.isValid()&&(this.setStartDate(n),this.setEndDate(i),this.updateView())}},keydown:function(e){9!==e.keyCode&&13!==e.keyCode||this.hide(),27===e.keyCode&&(e.preventDefault(),e.stopPropagation(),this.hide())},updateElement:function(){if(this.element.is("input")&&this.autoUpdateInput){var e=this.startDate.format(this.locale.format);this.singleDatePicker||(e+=this.locale.separator+this.endDate.format(this.locale.format)),e!==this.element.val()&&this.element.val(e).trigger("change")}},remove:function(){this.container.remove(),this.element.off(".daterangepicker"),this.element.removeData()}},t.fn.daterangepicker=function(e,i){var r=t.extend(!0,{},t.fn.daterangepicker.defaultOptions,e);return this.each((function(){var e=t(this);e.data("daterangepicker")&&e.data("daterangepicker").remove(),e.data("daterangepicker",new n(e,r,i))})),this},n}(e,t)}.apply(t,i))||(e.exports=r)},1807:e=>{var t=!("undefined"==typeof window||!window.document||!window.document.createElement);e.exports=t},8514:(e,t,n)=>{"use strict";var i=n(6115);e.exports=function(e,t,n){e&&i((function(){e.apply(n||null,t||[])}))}},5229:(e,t,n)=>{"use strict";var i=n(2584),r=n(8514);e.exports=function(e,t){var n=t||{},s={};return void 0===e&&(e={}),e.on=function(t,n){return s[t]?s[t].push(n):s[t]=[n],e},e.once=function(t,n){return n._once=!0,e.on(t,n),e},e.off=function(t,n){var i=arguments.length;if(1===i)delete s[t];else if(0===i)s={};else{var r=s[t];if(!r)return e;r.splice(r.indexOf(n),1)}return e},e.emit=function(){var t=i(arguments);return e.emitterSnapshot(t.shift()).apply(this,t)},e.emitterSnapshot=function(t){var a=(s[t]||[]).slice(0);return function(){var s=i(arguments),o=this||e;if("error"===t&&!1!==n.throws&&!a.length)throw 1===s.length?s[0]:s;return a.forEach((function(i){n.async?r(i,s,o):i.apply(o,s),i._once&&e.off(t,i)})),e}},e}},1808:(e,t,n)=>{"use strict";var i=n(9638),r=n(4874),s=n.g.document,a=function(e,t,n,i){return e.addEventListener(t,n,i)},o=function(e,t,n,i){return e.removeEventListener(t,n,i)},l=[];function c(e,t,n){var i=function(e,t,n){var i,r;for(i=0;i{"use strict";var i=[],r="",s=/^on/;for(r in n.g)s.test(r)&&i.push(r.slice(2));e.exports=i},9638:(e,t,n)=>{var i=n.g.CustomEvent;e.exports=function(){try{var e=new i("cat",{detail:{foo:"bar"}});return"cat"===e.type&&"bar"===e.detail.foo}catch(e){}return!1}()?i:"undefined"!=typeof document&&"function"==typeof document.createEvent?function(e,t){var n=document.createEvent("CustomEvent");return t?n.initCustomEvent(e,t.bubbles,t.cancelable,t.detail):n.initCustomEvent(e,!1,!1,void 0),n}:function(e,t){var n=document.createEventObject();return n.type=e,t?(n.bubbles=Boolean(t.bubbles),n.cancelable=Boolean(t.cancelable),n.detail=t.detail):(n.bubbles=!1,n.cancelable=!1,n.detail=void 0),n}},9425:e=>{"use strict";var t={},n="(?:^|\\s)",i="(?:\\s|$)";function r(e){var r=t[e];return r?r.lastIndex=0:t[e]=r=new RegExp(n+e+i,"g"),r}e.exports={add:function(e,t){var n=e.className;n.length?r(t).test(n)||(e.className+=" "+t):e.className=t},rm:function(e,t){e.className=e.className.replace(r(t)," ").trim()}}},7137:(e,t,n)=>{"use strict";var i=n(5229),r=n(1808),s=n(9425),a=document,o=a.documentElement;function l(e,t,i,s){n.g.navigator.pointerEnabled?r[t](e,{mouseup:"pointerup",mousedown:"pointerdown",mousemove:"pointermove"}[i],s):n.g.navigator.msPointerEnabled?r[t](e,{mouseup:"MSPointerUp",mousedown:"MSPointerDown",mousemove:"MSPointerMove"}[i],s):(r[t](e,{mouseup:"touchend",mousedown:"touchstart",mousemove:"touchmove"}[i],s),r[t](e,i,s))}function c(e){if(void 0!==e.touches)return e.touches.length;if(void 0!==e.which&&0!==e.which)return e.which;if(void 0!==e.buttons)return e.buttons;var t=e.button;return void 0!==t?1&t?1:2&t?3:4&t?2:0:void 0}function d(e,t){return void 0!==n.g[t]?n.g[t]:o.clientHeight?o[e]:a.body[e]}function u(e,t,n){var i,r=(e=e||{}).className||"";return e.className+=" gu-hide",i=a.elementFromPoint(t,n),e.className=r,i}function h(){return!1}function f(){return!0}function p(e){return e.width||e.right-e.left}function m(e){return e.height||e.bottom-e.top}function g(e){return e.parentNode===a?null:e.parentNode}function v(e){return"INPUT"===e.tagName||"TEXTAREA"===e.tagName||"SELECT"===e.tagName||_(e)}function _(e){return!!e&&("false"!==e.contentEditable&&("true"===e.contentEditable||_(g(e))))}function y(e){return e.nextElementSibling||function(){var t=e;do{t=t.nextSibling}while(t&&1!==t.nodeType);return t}()}function b(e,t){var n=function(e){return e.targetTouches&&e.targetTouches.length?e.targetTouches[0]:e.changedTouches&&e.changedTouches.length?e.changedTouches[0]:e}(t),i={pageX:"clientX",pageY:"clientY"};return e in i&&!(e in n)&&i[e]in n&&(e=i[e]),n[e]}e.exports=function(e,t){var n,_,x,M,w,C,L,k,S,T,D;1===arguments.length&&!1===Array.isArray(e)&&(t=e,e=[]);var E,A=null,O=t||{};void 0===O.moves&&(O.moves=f),void 0===O.accepts&&(O.accepts=f),void 0===O.invalid&&(O.invalid=function(){return!1}),void 0===O.containers&&(O.containers=e||[]),void 0===O.isContainer&&(O.isContainer=h),void 0===O.copy&&(O.copy=!1),void 0===O.copySortSource&&(O.copySortSource=!1),void 0===O.revertOnSpill&&(O.revertOnSpill=!1),void 0===O.removeOnSpill&&(O.removeOnSpill=!1),void 0===O.direction&&(O.direction="vertical"),void 0===O.ignoreInputTextSelection&&(O.ignoreInputTextSelection=!0),void 0===O.mirrorContainer&&(O.mirrorContainer=a.body);var Y=i({containers:O.containers,start:function(e){var t=F(e);t&&B(t)},end:W,cancel:G,remove:q,destroy:function(){H(!0),V({})},canMove:function(e){return!!F(e)},dragging:!1});return!0===O.removeOnSpill&&Y.on("over",(function(e){s.rm(e,"gu-hide")})).on("out",(function(e){Y.dragging&&s.add(e,"gu-hide")})),H(),Y;function N(e){return-1!==Y.containers.indexOf(e)||O.isContainer(e)}function H(e){var t=e?"remove":"add";l(o,t,"mousedown",I),l(o,t,"mouseup",V)}function j(e){l(o,e?"remove":"add","mousemove",z)}function P(e){var t=e?"remove":"add";r[t](o,"selectstart",R),r[t](o,"click",R)}function R(e){E&&e.preventDefault()}function I(e){if(C=e.clientX,L=e.clientY,!(1!==c(e)||e.metaKey||e.ctrlKey)){var t=e.target,n=F(t);n&&(E=n,j(),"mousedown"===e.type&&(v(t)?t.focus():e.preventDefault()))}}function z(e){if(E)if(0!==c(e)){if(!(void 0!==e.clientX&&Math.abs(e.clientX-C)<=(O.slideFactorX||0)&&void 0!==e.clientY&&Math.abs(e.clientY-L)<=(O.slideFactorY||0))){if(O.ignoreInputTextSelection){var t=b("clientX",e)||0,i=b("clientY",e)||0;if(v(a.elementFromPoint(t,i)))return}var r=E;j(!0),P(),W(),B(r);var u,h={left:(u=x.getBoundingClientRect()).left+d("scrollLeft","pageXOffset"),top:u.top+d("scrollTop","pageYOffset")};M=b("pageX",e)-h.left,w=b("pageY",e)-h.top,s.add(T||x,"gu-transit"),function(){if(n)return;var e=x.getBoundingClientRect();(n=x.cloneNode(!0)).style.width=p(e)+"px",n.style.height=m(e)+"px",s.rm(n,"gu-transit"),s.add(n,"gu-mirror"),O.mirrorContainer.appendChild(n),l(o,"add","mousemove",Q),s.add(O.mirrorContainer,"gu-unselectable"),Y.emit("cloned",n,x,"mirror")}(),Q(e)}}else V({})}function F(e){if(!(Y.dragging&&n||N(e))){for(var t=e;g(e)&&!1===N(g(e));){if(O.invalid(e,t))return;if(!(e=g(e)))return}var i=g(e);if(i)if(!O.invalid(e,t))if(O.moves(e,i,t,y(e)))return{item:e,source:i}}}function B(e){var t,n;t=e.item,n=e.source,("boolean"==typeof O.copy?O.copy:O.copy(t,n))&&(T=e.item.cloneNode(!0),Y.emit("cloned",T,e.item,"copy")),_=e.source,x=e.item,k=S=y(e.item),Y.dragging=!0,Y.emit("drag",x,_)}function W(){if(Y.dragging){var e=T||x;U(e,g(e))}}function $(){E=!1,j(!0),P(!0)}function V(e){if($(),Y.dragging){var t=T||x,i=b("clientX",e)||0,r=b("clientY",e)||0,s=X(u(n,i,r),i,r);s&&(T&&O.copySortSource||!T||s!==_)?U(t,s):O.removeOnSpill?q():G()}}function U(e,t){var n=g(e);T&&O.copySortSource&&t===_&&n.removeChild(x),K(t)?Y.emit("cancel",e,_,_):Y.emit("drop",e,t,_,S),Z()}function q(){if(Y.dragging){var e=T||x,t=g(e);t&&t.removeChild(e),Y.emit(T?"cancel":"remove",e,t,_),Z()}}function G(e){if(Y.dragging){var t=arguments.length>0?e:O.revertOnSpill,n=T||x,i=g(n),r=K(i);!1===r&&t&&(T?i&&i.removeChild(T):_.insertBefore(n,k)),r||t?Y.emit("cancel",n,_,_):Y.emit("drop",n,i,_,S),Z()}}function Z(){var e=T||x;$(),n&&(s.rm(O.mirrorContainer,"gu-unselectable"),l(o,"remove","mousemove",Q),g(n).removeChild(n),n=null),e&&s.rm(e,"gu-transit"),D&&clearTimeout(D),Y.dragging=!1,A&&Y.emit("out",e,A,_),Y.emit("dragend",e),_=x=T=k=S=D=A=null}function K(e,t){var i;return i=void 0!==t?t:n?S:y(T||x),e===_&&i===k}function X(e,t,n){for(var i=e;i&&!r();)i=g(i);return i;function r(){if(!1===N(i))return!1;var r=J(i,e),s=ee(i,r,t,n);return!!K(i,s)||O.accepts(x,i,_,s)}}function Q(e){if(n){e.preventDefault();var t=b("clientX",e)||0,i=b("clientY",e)||0,r=t-M,s=i-w;n.style.left=r+"px",n.style.top=s+"px";var a=T||x,o=u(n,t,i),l=X(o,t,i),c=null!==l&&l!==A;(c||null===l)&&(A&&p("out"),A=l,c&&p("over"));var d=g(a);if(l!==_||!T||O.copySortSource){var h,f=J(l,o);if(null!==f)h=ee(l,f,t,i);else{if(!0!==O.revertOnSpill||T)return void(T&&d&&d.removeChild(a));h=k,l=_}(null===h&&c||h!==a&&h!==y(a))&&(S=h,l.insertBefore(a,h),Y.emit("shadow",a,l,_))}else d&&d.removeChild(a)}function p(e){Y.emit(e,a,A,_)}}function J(e,t){for(var n=t;n!==e&&g(n)!==e;)n=g(n);return n===o?null:n}function ee(e,t,n,i){var r="horizontal"===O.direction,s=t!==e?function(){var e=t.getBoundingClientRect();if(r)return a(n>e.left+p(e)/2);return a(i>e.top+m(e)/2)}():function(){var t,s,a,o=e.children.length;for(t=0;tn)return s;if(!r&&a.top+a.height/2>i)return s}return null}();return s;function a(e){return e?y(t):t}}}},8508:function(e){var t;"undefined"!=typeof self&&self,t=function(){return function(e){var t={};function n(i){if(t[i])return t[i].exports;var r=t[i]={i:i,l:!1,exports:{}};return e[i].call(r.exports,r,r.exports,n),r.l=!0,r.exports}return n.m=e,n.c=t,n.d=function(e,t,i){n.o(e,t)||Object.defineProperty(e,t,{configurable:!1,enumerable:!0,get:i})},n.r=function(e){Object.defineProperty(e,"__esModule",{value:!0})},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=0)}({"./dist/icons.json":function(e){e.exports={activity:'',airplay:'',"alert-circle":'',"alert-octagon":'',"alert-triangle":'',"align-center":'',"align-justify":'',"align-left":'',"align-right":'',anchor:'',aperture:'',archive:'',"arrow-down-circle":'',"arrow-down-left":'',"arrow-down-right":'',"arrow-down":'',"arrow-left-circle":'',"arrow-left":'',"arrow-right-circle":'',"arrow-right":'',"arrow-up-circle":'',"arrow-up-left":'',"arrow-up-right":'',"arrow-up":'',"at-sign":'',award:'',"bar-chart-2":'',"bar-chart":'',"battery-charging":'',battery:'',"bell-off":'',bell:'',bluetooth:'',bold:'',"book-open":'',book:'',bookmark:'',box:'',briefcase:'',calendar:'',"camera-off":'',camera:'',cast:'',"check-circle":'',"check-square":'',check:'',"chevron-down":'',"chevron-left":'',"chevron-right":'',"chevron-up":'',"chevrons-down":'',"chevrons-left":'',"chevrons-right":'',"chevrons-up":'',chrome:'',circle:'',clipboard:'',clock:'',"cloud-drizzle":'',"cloud-lightning":'',"cloud-off":'',"cloud-rain":'',"cloud-snow":'',cloud:'',code:'',codepen:'',codesandbox:'',coffee:'',columns:'',command:'',compass:'',copy:'',"corner-down-left":'',"corner-down-right":'',"corner-left-down":'',"corner-left-up":'',"corner-right-down":'',"corner-right-up":'',"corner-up-left":'',"corner-up-right":'',cpu:'',"credit-card":'',crop:'',crosshair:'',database:'',delete:'',disc:'',"divide-circle":'',"divide-square":'',divide:'',"dollar-sign":'',"download-cloud":'',download:'',dribbble:'',droplet:'',"edit-2":'',"edit-3":'',edit:'',"external-link":'',"eye-off":'',eye:'',facebook:'',"fast-forward":'',feather:'',figma:'',"file-minus":'',"file-plus":'',"file-text":'',file:'',film:'',filter:'',flag:'',"folder-minus":'',"folder-plus":'',folder:'',framer:'',frown:'',gift:'',"git-branch":'',"git-commit":'',"git-merge":'',"git-pull-request":'',github:'',gitlab:'',globe:'',grid:'',"hard-drive":'',hash:'',headphones:'',heart:'',"help-circle":'',hexagon:'',home:'',image:'',inbox:'',info:'',instagram:'',italic:'',key:'',layers:'',layout:'',"life-buoy":'',"link-2":'',link:'',linkedin:'',list:'',loader:'',lock:'',"log-in":'',"log-out":'',mail:'',"map-pin":'',map:'',"maximize-2":'',maximize:'',meh:'',menu:'',"message-circle":'',"message-square":'',"mic-off":'',mic:'',"minimize-2":'',minimize:'',"minus-circle":'',"minus-square":'',minus:'',monitor:'',moon:'',"more-horizontal":'',"more-vertical":'',"mouse-pointer":'',move:'',music:'',"navigation-2":'',navigation:'',octagon:'',package:'',paperclip:'',"pause-circle":'',pause:'',"pen-tool":'',percent:'',"phone-call":'',"phone-forwarded":'',"phone-incoming":'',"phone-missed":'',"phone-off":'',"phone-outgoing":'',phone:'',"pie-chart":'',"play-circle":'',play:'',"plus-circle":'',"plus-square":'',plus:'',pocket:'',power:'',printer:'',radio:'',"refresh-ccw":'',"refresh-cw":'',repeat:'',rewind:'',"rotate-ccw":'',"rotate-cw":'',rss:'',save:'',scissors:'',search:'',send:'',server:'',settings:'',"share-2":'',share:'',"shield-off":'',shield:'',"shopping-bag":'',"shopping-cart":'',shuffle:'',sidebar:'',"skip-back":'',"skip-forward":'',slack:'',slash:'',sliders:'',smartphone:'',smile:'',speaker:'',square:'',star:'',"stop-circle":'',sun:'',sunrise:'',sunset:'',table:'',tablet:'',tag:'',target:'',terminal:'',thermometer:'',"thumbs-down":'',"thumbs-up":'',"toggle-left":'',"toggle-right":'',tool:'',"trash-2":'',trash:'',trello:'',"trending-down":'',"trending-up":'',triangle:'',truck:'',tv:'',twitch:'',twitter:'',type:'',umbrella:'',underline:'',unlock:'',"upload-cloud":'',upload:'',"user-check":'',"user-minus":'',"user-plus":'',"user-x":'',user:'',users:'',"video-off":'',video:'',voicemail:'',"volume-1":'',"volume-2":'',"volume-x":'',volume:'',watch:'',"wifi-off":'',wifi:'',wind:'',"x-circle":'',"x-octagon":'',"x-square":'',x:'',youtube:'',"zap-off":'',zap:'',"zoom-in":'',"zoom-out":''}},"./node_modules/classnames/dedupe.js":function(e,t,n){var i;!function(){"use strict";var n=function(){function e(){}function t(e,t){for(var n=t.length,i=0;i1?arguments[1]:void 0,g=void 0!==m,v=0,_=c(h);if(g&&(m=i(m,p>2?arguments[2]:void 0,2)),null==_||f==Array&&a(_))for(n=new f(t=o(h.length));t>v;v++)l(n,v,g?m(h[v],v):h[v]);else for(u=_.call(h),n=new f;!(d=u.next()).done;v++)l(n,v,g?s(u,m,[d.value,v],!0):d.value);return n.length=v,n}},"./node_modules/core-js/internals/array-includes.js":function(e,t,n){var i=n("./node_modules/core-js/internals/to-indexed-object.js"),r=n("./node_modules/core-js/internals/to-length.js"),s=n("./node_modules/core-js/internals/to-absolute-index.js");e.exports=function(e){return function(t,n,a){var o,l=i(t),c=r(l.length),d=s(a,c);if(e&&n!=n){for(;c>d;)if((o=l[d++])!=o)return!0}else for(;c>d;d++)if((e||d in l)&&l[d]===n)return e||d||0;return!e&&-1}}},"./node_modules/core-js/internals/bind-context.js":function(e,t,n){var i=n("./node_modules/core-js/internals/a-function.js");e.exports=function(e,t,n){if(i(e),void 0===t)return e;switch(n){case 0:return function(){return e.call(t)};case 1:return function(n){return e.call(t,n)};case 2:return function(n,i){return e.call(t,n,i)};case 3:return function(n,i,r){return e.call(t,n,i,r)}}return function(){return e.apply(t,arguments)}}},"./node_modules/core-js/internals/call-with-safe-iteration-closing.js":function(e,t,n){var i=n("./node_modules/core-js/internals/an-object.js");e.exports=function(e,t,n,r){try{return r?t(i(n)[0],n[1]):t(n)}catch(t){var s=e.return;throw void 0!==s&&i(s.call(e)),t}}},"./node_modules/core-js/internals/check-correctness-of-iteration.js":function(e,t,n){var i=n("./node_modules/core-js/internals/well-known-symbol.js")("iterator"),r=!1;try{var s=0,a={next:function(){return{done:!!s++}},return:function(){r=!0}};a[i]=function(){return this},Array.from(a,(function(){throw 2}))}catch(e){}e.exports=function(e,t){if(!t&&!r)return!1;var n=!1;try{var s={};s[i]=function(){return{next:function(){return{done:n=!0}}}},e(s)}catch(e){}return n}},"./node_modules/core-js/internals/classof-raw.js":function(e,t){var n={}.toString;e.exports=function(e){return n.call(e).slice(8,-1)}},"./node_modules/core-js/internals/classof.js":function(e,t,n){var i=n("./node_modules/core-js/internals/classof-raw.js"),r=n("./node_modules/core-js/internals/well-known-symbol.js")("toStringTag"),s="Arguments"==i(function(){return arguments}());e.exports=function(e){var t,n,a;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(n=function(e,t){try{return e[t]}catch(e){}}(t=Object(e),r))?n:s?i(t):"Object"==(a=i(t))&&"function"==typeof t.callee?"Arguments":a}},"./node_modules/core-js/internals/copy-constructor-properties.js":function(e,t,n){var i=n("./node_modules/core-js/internals/has.js"),r=n("./node_modules/core-js/internals/own-keys.js"),s=n("./node_modules/core-js/internals/object-get-own-property-descriptor.js"),a=n("./node_modules/core-js/internals/object-define-property.js");e.exports=function(e,t){for(var n=r(t),o=a.f,l=s.f,c=0;cdocument.F=Object"),e.close(),h=e.F;n--;)delete h[d][s[n]];return h()};e.exports=Object.create||function(e,t){var n;return null!==e?(u[d]=i(e),n=new u,u[d]=null,n[c]=e):n=h(),void 0===t?n:r(n,t)},a[c]=!0},"./node_modules/core-js/internals/object-define-properties.js":function(e,t,n){var i=n("./node_modules/core-js/internals/descriptors.js"),r=n("./node_modules/core-js/internals/object-define-property.js"),s=n("./node_modules/core-js/internals/an-object.js"),a=n("./node_modules/core-js/internals/object-keys.js");e.exports=i?Object.defineProperties:function(e,t){s(e);for(var n,i=a(t),o=i.length,l=0;o>l;)r.f(e,n=i[l++],t[n]);return e}},"./node_modules/core-js/internals/object-define-property.js":function(e,t,n){var i=n("./node_modules/core-js/internals/descriptors.js"),r=n("./node_modules/core-js/internals/ie8-dom-define.js"),s=n("./node_modules/core-js/internals/an-object.js"),a=n("./node_modules/core-js/internals/to-primitive.js"),o=Object.defineProperty;t.f=i?o:function(e,t,n){if(s(e),t=a(t,!0),s(n),r)try{return o(e,t,n)}catch(e){}if("get"in n||"set"in n)throw TypeError("Accessors not supported");return"value"in n&&(e[t]=n.value),e}},"./node_modules/core-js/internals/object-get-own-property-descriptor.js":function(e,t,n){var i=n("./node_modules/core-js/internals/descriptors.js"),r=n("./node_modules/core-js/internals/object-property-is-enumerable.js"),s=n("./node_modules/core-js/internals/create-property-descriptor.js"),a=n("./node_modules/core-js/internals/to-indexed-object.js"),o=n("./node_modules/core-js/internals/to-primitive.js"),l=n("./node_modules/core-js/internals/has.js"),c=n("./node_modules/core-js/internals/ie8-dom-define.js"),d=Object.getOwnPropertyDescriptor;t.f=i?d:function(e,t){if(e=a(e),t=o(t,!0),c)try{return d(e,t)}catch(e){}if(l(e,t))return s(!r.f.call(e,t),e[t])}},"./node_modules/core-js/internals/object-get-own-property-names.js":function(e,t,n){var i=n("./node_modules/core-js/internals/object-keys-internal.js"),r=n("./node_modules/core-js/internals/enum-bug-keys.js").concat("length","prototype");t.f=Object.getOwnPropertyNames||function(e){return i(e,r)}},"./node_modules/core-js/internals/object-get-own-property-symbols.js":function(e,t){t.f=Object.getOwnPropertySymbols},"./node_modules/core-js/internals/object-get-prototype-of.js":function(e,t,n){var i=n("./node_modules/core-js/internals/has.js"),r=n("./node_modules/core-js/internals/to-object.js"),s=n("./node_modules/core-js/internals/shared-key.js"),a=n("./node_modules/core-js/internals/correct-prototype-getter.js"),o=s("IE_PROTO"),l=Object.prototype;e.exports=a?Object.getPrototypeOf:function(e){return e=r(e),i(e,o)?e[o]:"function"==typeof e.constructor&&e instanceof e.constructor?e.constructor.prototype:e instanceof Object?l:null}},"./node_modules/core-js/internals/object-keys-internal.js":function(e,t,n){var i=n("./node_modules/core-js/internals/has.js"),r=n("./node_modules/core-js/internals/to-indexed-object.js"),s=n("./node_modules/core-js/internals/array-includes.js"),a=n("./node_modules/core-js/internals/hidden-keys.js"),o=s(!1);e.exports=function(e,t){var n,s=r(e),l=0,c=[];for(n in s)!i(a,n)&&i(s,n)&&c.push(n);for(;t.length>l;)i(s,n=t[l++])&&(~o(c,n)||c.push(n));return c}},"./node_modules/core-js/internals/object-keys.js":function(e,t,n){var i=n("./node_modules/core-js/internals/object-keys-internal.js"),r=n("./node_modules/core-js/internals/enum-bug-keys.js");e.exports=Object.keys||function(e){return i(e,r)}},"./node_modules/core-js/internals/object-property-is-enumerable.js":function(e,t,n){"use strict";var i={}.propertyIsEnumerable,r=Object.getOwnPropertyDescriptor,s=r&&!i.call({1:2},1);t.f=s?function(e){var t=r(this,e);return!!t&&t.enumerable}:i},"./node_modules/core-js/internals/object-set-prototype-of.js":function(e,t,n){var i=n("./node_modules/core-js/internals/validate-set-prototype-of-arguments.js");e.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var e,t=!1,n={};try{(e=Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set).call(n,[]),t=n instanceof Array}catch(e){}return function(n,r){return i(n,r),t?e.call(n,r):n.__proto__=r,n}}():void 0)},"./node_modules/core-js/internals/own-keys.js":function(e,t,n){var i=n("./node_modules/core-js/internals/global.js"),r=n("./node_modules/core-js/internals/object-get-own-property-names.js"),s=n("./node_modules/core-js/internals/object-get-own-property-symbols.js"),a=n("./node_modules/core-js/internals/an-object.js"),o=i.Reflect;e.exports=o&&o.ownKeys||function(e){var t=r.f(a(e)),n=s.f;return n?t.concat(n(e)):t}},"./node_modules/core-js/internals/path.js":function(e,t,n){e.exports=n("./node_modules/core-js/internals/global.js")},"./node_modules/core-js/internals/redefine.js":function(e,t,n){var i=n("./node_modules/core-js/internals/global.js"),r=n("./node_modules/core-js/internals/shared.js"),s=n("./node_modules/core-js/internals/hide.js"),a=n("./node_modules/core-js/internals/has.js"),o=n("./node_modules/core-js/internals/set-global.js"),l=n("./node_modules/core-js/internals/function-to-string.js"),c=n("./node_modules/core-js/internals/internal-state.js"),d=c.get,u=c.enforce,h=String(l).split("toString");r("inspectSource",(function(e){return l.call(e)})),(e.exports=function(e,t,n,r){var l=!!r&&!!r.unsafe,c=!!r&&!!r.enumerable,d=!!r&&!!r.noTargetGet;"function"==typeof n&&("string"!=typeof t||a(n,"name")||s(n,"name",t),u(n).source=h.join("string"==typeof t?t:"")),e!==i?(l?!d&&e[t]&&(c=!0):delete e[t],c?e[t]=n:s(e,t,n)):c?e[t]=n:o(t,n)})(Function.prototype,"toString",(function(){return"function"==typeof this&&d(this).source||l.call(this)}))},"./node_modules/core-js/internals/require-object-coercible.js":function(e,t){e.exports=function(e){if(null==e)throw TypeError("Can't call method on "+e);return e}},"./node_modules/core-js/internals/set-global.js":function(e,t,n){var i=n("./node_modules/core-js/internals/global.js"),r=n("./node_modules/core-js/internals/hide.js");e.exports=function(e,t){try{r(i,e,t)}catch(n){i[e]=t}return t}},"./node_modules/core-js/internals/set-to-string-tag.js":function(e,t,n){var i=n("./node_modules/core-js/internals/object-define-property.js").f,r=n("./node_modules/core-js/internals/has.js"),s=n("./node_modules/core-js/internals/well-known-symbol.js")("toStringTag");e.exports=function(e,t,n){e&&!r(e=n?e:e.prototype,s)&&i(e,s,{configurable:!0,value:t})}},"./node_modules/core-js/internals/shared-key.js":function(e,t,n){var i=n("./node_modules/core-js/internals/shared.js"),r=n("./node_modules/core-js/internals/uid.js"),s=i("keys");e.exports=function(e){return s[e]||(s[e]=r(e))}},"./node_modules/core-js/internals/shared.js":function(e,t,n){var i=n("./node_modules/core-js/internals/global.js"),r=n("./node_modules/core-js/internals/set-global.js"),s=n("./node_modules/core-js/internals/is-pure.js"),a="__core-js_shared__",o=i[a]||r(a,{});(e.exports=function(e,t){return o[e]||(o[e]=void 0!==t?t:{})})("versions",[]).push({version:"3.1.3",mode:s?"pure":"global",copyright:"© 2019 Denis Pushkarev (zloirock.ru)"})},"./node_modules/core-js/internals/string-at.js":function(e,t,n){var i=n("./node_modules/core-js/internals/to-integer.js"),r=n("./node_modules/core-js/internals/require-object-coercible.js");e.exports=function(e,t,n){var s,a,o=String(r(e)),l=i(t),c=o.length;return l<0||l>=c?n?"":void 0:(s=o.charCodeAt(l))<55296||s>56319||l+1===c||(a=o.charCodeAt(l+1))<56320||a>57343?n?o.charAt(l):s:n?o.slice(l,l+2):a-56320+(s-55296<<10)+65536}},"./node_modules/core-js/internals/to-absolute-index.js":function(e,t,n){var i=n("./node_modules/core-js/internals/to-integer.js"),r=Math.max,s=Math.min;e.exports=function(e,t){var n=i(e);return n<0?r(n+t,0):s(n,t)}},"./node_modules/core-js/internals/to-indexed-object.js":function(e,t,n){var i=n("./node_modules/core-js/internals/indexed-object.js"),r=n("./node_modules/core-js/internals/require-object-coercible.js");e.exports=function(e){return i(r(e))}},"./node_modules/core-js/internals/to-integer.js":function(e,t){var n=Math.ceil,i=Math.floor;e.exports=function(e){return isNaN(e=+e)?0:(e>0?i:n)(e)}},"./node_modules/core-js/internals/to-length.js":function(e,t,n){var i=n("./node_modules/core-js/internals/to-integer.js"),r=Math.min;e.exports=function(e){return e>0?r(i(e),9007199254740991):0}},"./node_modules/core-js/internals/to-object.js":function(e,t,n){var i=n("./node_modules/core-js/internals/require-object-coercible.js");e.exports=function(e){return Object(i(e))}},"./node_modules/core-js/internals/to-primitive.js":function(e,t,n){var i=n("./node_modules/core-js/internals/is-object.js");e.exports=function(e,t){if(!i(e))return e;var n,r;if(t&&"function"==typeof(n=e.toString)&&!i(r=n.call(e)))return r;if("function"==typeof(n=e.valueOf)&&!i(r=n.call(e)))return r;if(!t&&"function"==typeof(n=e.toString)&&!i(r=n.call(e)))return r;throw TypeError("Can't convert object to primitive value")}},"./node_modules/core-js/internals/uid.js":function(e,t){var n=0,i=Math.random();e.exports=function(e){return"Symbol(".concat(void 0===e?"":e,")_",(++n+i).toString(36))}},"./node_modules/core-js/internals/validate-set-prototype-of-arguments.js":function(e,t,n){var i=n("./node_modules/core-js/internals/is-object.js"),r=n("./node_modules/core-js/internals/an-object.js");e.exports=function(e,t){if(r(e),!i(t)&&null!==t)throw TypeError("Can't set "+String(t)+" as a prototype")}},"./node_modules/core-js/internals/well-known-symbol.js":function(e,t,n){var i=n("./node_modules/core-js/internals/global.js"),r=n("./node_modules/core-js/internals/shared.js"),s=n("./node_modules/core-js/internals/uid.js"),a=n("./node_modules/core-js/internals/native-symbol.js"),o=i.Symbol,l=r("wks");e.exports=function(e){return l[e]||(l[e]=a&&o[e]||(a?o:s)("Symbol."+e))}},"./node_modules/core-js/modules/es.array.from.js":function(e,t,n){var i=n("./node_modules/core-js/internals/export.js"),r=n("./node_modules/core-js/internals/array-from.js");i({target:"Array",stat:!0,forced:!n("./node_modules/core-js/internals/check-correctness-of-iteration.js")((function(e){Array.from(e)}))},{from:r})},"./node_modules/core-js/modules/es.string.iterator.js":function(e,t,n){"use strict";var i=n("./node_modules/core-js/internals/string-at.js"),r=n("./node_modules/core-js/internals/internal-state.js"),s=n("./node_modules/core-js/internals/define-iterator.js"),a="String Iterator",o=r.set,l=r.getterFor(a);s(String,"String",(function(e){o(this,{type:a,string:String(e),index:0})}),(function(){var e,t=l(this),n=t.string,r=t.index;return r>=n.length?{value:void 0,done:!0}:(e=i(n,r,!0),t.index+=e.length,{value:e,done:!1})}))},"./node_modules/webpack/buildin/global.js":function(e,t){var n;n=function(){return this}();try{n=n||Function("return this")()||(0,eval)("this")}catch(e){"object"==typeof window&&(n=window)}e.exports=n},"./src/default-attrs.json":function(e){e.exports={xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":2,"stroke-linecap":"round","stroke-linejoin":"round"}},"./src/icon.js":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=Object.assign||function(e){for(var t=1;t2&&void 0!==arguments[2]?arguments[2]:[];!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.name=t,this.contents=n,this.tags=r,this.attrs=i({},a.default,{class:"feather feather-"+t})}return r(e,[{key:"toSvg",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return""+this.contents+""}},{key:"toString",value:function(){return this.contents}}]),e}();t.default=l},"./src/icons.js":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=a(n("./src/icon.js")),r=a(n("./dist/icons.json")),s=a(n("./src/tags.json"));function a(e){return e&&e.__esModule?e:{default:e}}t.default=Object.keys(r.default).map((function(e){return new i.default(e,r.default[e],s.default[e])})).reduce((function(e,t){return e[t.name]=t,e}),{})},"./src/index.js":function(e,t,n){"use strict";var i=a(n("./src/icons.js")),r=a(n("./src/to-svg.js")),s=a(n("./src/replace.js"));function a(e){return e&&e.__esModule?e:{default:e}}e.exports={icons:i.default,toSvg:r.default,replace:s.default}},"./src/replace.js":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=Object.assign||function(e){for(var t=1;t0&&void 0!==arguments[0]?arguments[0]:{};if("undefined"==typeof document)throw new Error("`feather.replace()` only works in a browser environment.");var t=document.querySelectorAll("[data-feather]");Array.from(t).forEach((function(t){return function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=function(e){return Array.from(e.attributes).reduce((function(e,t){return e[t.name]=t.value,e}),{})}(e),a=n["data-feather"];delete n["data-feather"];var o=s.default[a].toSvg(i({},t,n,{class:(0,r.default)(t.class,n.class)})),l=(new DOMParser).parseFromString(o,"image/svg+xml").querySelector("svg");e.parentNode.replaceChild(l,e)}(t,e)}))}},"./src/tags.json":function(e){e.exports={activity:["pulse","health","action","motion"],airplay:["stream","cast","mirroring"],"alert-circle":["warning","alert","danger"],"alert-octagon":["warning","alert","danger"],"alert-triangle":["warning","alert","danger"],"align-center":["text alignment","center"],"align-justify":["text alignment","justified"],"align-left":["text alignment","left"],"align-right":["text alignment","right"],anchor:[],archive:["index","box"],"at-sign":["mention","at","email","message"],award:["achievement","badge"],aperture:["camera","photo"],"bar-chart":["statistics","diagram","graph"],"bar-chart-2":["statistics","diagram","graph"],battery:["power","electricity"],"battery-charging":["power","electricity"],bell:["alarm","notification","sound"],"bell-off":["alarm","notification","silent"],bluetooth:["wireless"],"book-open":["read","library"],book:["read","dictionary","booklet","magazine","library"],bookmark:["read","clip","marker","tag"],box:["cube"],briefcase:["work","bag","baggage","folder"],calendar:["date"],camera:["photo"],cast:["chromecast","airplay"],"chevron-down":["expand"],"chevron-up":["collapse"],circle:["off","zero","record"],clipboard:["copy"],clock:["time","watch","alarm"],"cloud-drizzle":["weather","shower"],"cloud-lightning":["weather","bolt"],"cloud-rain":["weather"],"cloud-snow":["weather","blizzard"],cloud:["weather"],codepen:["logo"],codesandbox:["logo"],code:["source","programming"],coffee:["drink","cup","mug","tea","cafe","hot","beverage"],columns:["layout"],command:["keyboard","cmd","terminal","prompt"],compass:["navigation","safari","travel","direction"],copy:["clone","duplicate"],"corner-down-left":["arrow","return"],"corner-down-right":["arrow"],"corner-left-down":["arrow"],"corner-left-up":["arrow"],"corner-right-down":["arrow"],"corner-right-up":["arrow"],"corner-up-left":["arrow"],"corner-up-right":["arrow"],cpu:["processor","technology"],"credit-card":["purchase","payment","cc"],crop:["photo","image"],crosshair:["aim","target"],database:["storage","memory"],delete:["remove"],disc:["album","cd","dvd","music"],"dollar-sign":["currency","money","payment"],droplet:["water"],edit:["pencil","change"],"edit-2":["pencil","change"],"edit-3":["pencil","change"],eye:["view","watch"],"eye-off":["view","watch","hide","hidden"],"external-link":["outbound"],facebook:["logo","social"],"fast-forward":["music"],figma:["logo","design","tool"],"file-minus":["delete","remove","erase"],"file-plus":["add","create","new"],"file-text":["data","txt","pdf"],film:["movie","video"],filter:["funnel","hopper"],flag:["report"],"folder-minus":["directory"],"folder-plus":["directory"],folder:["directory"],framer:["logo","design","tool"],frown:["emoji","face","bad","sad","emotion"],gift:["present","box","birthday","party"],"git-branch":["code","version control"],"git-commit":["code","version control"],"git-merge":["code","version control"],"git-pull-request":["code","version control"],github:["logo","version control"],gitlab:["logo","version control"],globe:["world","browser","language","translate"],"hard-drive":["computer","server","memory","data"],hash:["hashtag","number","pound"],headphones:["music","audio","sound"],heart:["like","love","emotion"],"help-circle":["question mark"],hexagon:["shape","node.js","logo"],home:["house","living"],image:["picture"],inbox:["email"],instagram:["logo","camera"],key:["password","login","authentication","secure"],layers:["stack"],layout:["window","webpage"],"life-buoy":["help","life ring","support"],link:["chain","url"],"link-2":["chain","url"],linkedin:["logo","social media"],list:["options"],lock:["security","password","secure"],"log-in":["sign in","arrow","enter"],"log-out":["sign out","arrow","exit"],mail:["email","message"],"map-pin":["location","navigation","travel","marker"],map:["location","navigation","travel"],maximize:["fullscreen"],"maximize-2":["fullscreen","arrows","expand"],meh:["emoji","face","neutral","emotion"],menu:["bars","navigation","hamburger"],"message-circle":["comment","chat"],"message-square":["comment","chat"],"mic-off":["record","sound","mute"],mic:["record","sound","listen"],minimize:["exit fullscreen","close"],"minimize-2":["exit fullscreen","arrows","close"],minus:["subtract"],monitor:["tv","screen","display"],moon:["dark","night"],"more-horizontal":["ellipsis"],"more-vertical":["ellipsis"],"mouse-pointer":["arrow","cursor"],move:["arrows"],music:["note"],navigation:["location","travel"],"navigation-2":["location","travel"],octagon:["stop"],package:["box","container"],paperclip:["attachment"],pause:["music","stop"],"pause-circle":["music","audio","stop"],"pen-tool":["vector","drawing"],percent:["discount"],"phone-call":["ring"],"phone-forwarded":["call"],"phone-incoming":["call"],"phone-missed":["call"],"phone-off":["call","mute"],"phone-outgoing":["call"],phone:["call"],play:["music","start"],"pie-chart":["statistics","diagram"],"play-circle":["music","start"],plus:["add","new"],"plus-circle":["add","new"],"plus-square":["add","new"],pocket:["logo","save"],power:["on","off"],printer:["fax","office","device"],radio:["signal"],"refresh-cw":["synchronise","arrows"],"refresh-ccw":["arrows"],repeat:["loop","arrows"],rewind:["music"],"rotate-ccw":["arrow"],"rotate-cw":["arrow"],rss:["feed","subscribe"],save:["floppy disk"],scissors:["cut"],search:["find","magnifier","magnifying glass"],send:["message","mail","email","paper airplane","paper aeroplane"],settings:["cog","edit","gear","preferences"],"share-2":["network","connections"],shield:["security","secure"],"shield-off":["security","insecure"],"shopping-bag":["ecommerce","cart","purchase","store"],"shopping-cart":["ecommerce","cart","purchase","store"],shuffle:["music"],"skip-back":["music"],"skip-forward":["music"],slack:["logo"],slash:["ban","no"],sliders:["settings","controls"],smartphone:["cellphone","device"],smile:["emoji","face","happy","good","emotion"],speaker:["audio","music"],star:["bookmark","favorite","like"],"stop-circle":["media","music"],sun:["brightness","weather","light"],sunrise:["weather","time","morning","day"],sunset:["weather","time","evening","night"],tablet:["device"],tag:["label"],target:["logo","bullseye"],terminal:["code","command line","prompt"],thermometer:["temperature","celsius","fahrenheit","weather"],"thumbs-down":["dislike","bad","emotion"],"thumbs-up":["like","good","emotion"],"toggle-left":["on","off","switch"],"toggle-right":["on","off","switch"],tool:["settings","spanner"],trash:["garbage","delete","remove","bin"],"trash-2":["garbage","delete","remove","bin"],triangle:["delta"],truck:["delivery","van","shipping","transport","lorry"],tv:["television","stream"],twitch:["logo"],twitter:["logo","social"],type:["text"],umbrella:["rain","weather"],unlock:["security"],"user-check":["followed","subscribed"],"user-minus":["delete","remove","unfollow","unsubscribe"],"user-plus":["new","add","create","follow","subscribe"],"user-x":["delete","remove","unfollow","unsubscribe","unavailable"],user:["person","account"],users:["group"],"video-off":["camera","movie","film"],video:["camera","movie","film"],voicemail:["phone"],volume:["music","sound","mute"],"volume-1":["music","sound"],"volume-2":["music","sound"],"volume-x":["music","sound","mute"],watch:["clock","time"],"wifi-off":["disabled"],wifi:["connection","signal","wireless"],wind:["weather","air"],"x-circle":["cancel","close","delete","remove","times","clear"],"x-octagon":["delete","stop","alert","warning","times","clear"],"x-square":["cancel","close","delete","remove","times","clear"],x:["cancel","close","delete","remove","times","clear"],youtube:["logo","video","play"],"zap-off":["flash","camera","lightning"],zap:["flash","camera","lightning"],"zoom-in":["magnifying glass"],"zoom-out":["magnifying glass"]}},"./src/to-svg.js":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i,r=n("./src/icons.js"),s=(i=r)&&i.__esModule?i:{default:i};t.default=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(console.warn("feather.toSvg() is deprecated. Please use feather.icons[name].toSvg() instead."),!e)throw new Error("The required `key` (icon name) parameter is missing.");if(!s.default[e])throw new Error("No icon matching '"+e+"'. See the complete list of icons at https://feathericons.com");return s.default[e].toSvg(t)}},0:function(e,t,n){n("./node_modules/core-js/es/array/from.js"),e.exports=n("./src/index.js")}})},e.exports=t()},8598:function(e){e.exports=function(){"use strict";function e(t){return(e="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(t)}function t(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var i,r,s,a,o=[],l=!0,c=!1;try{if(s=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;l=!1}else for(;!(l=(i=s.call(n)).done)&&(o.push(i.value),o.length!==t);l=!0);}catch(e){c=!0,r=e}finally{try{if(!l&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(c)throw r}}return o}}(e,t)||function(e,t){if(e){if("string"==typeof e)return n(e,t);var i=Object.prototype.toString.call(e).slice(8,-1);return"Object"===i&&e.constructor&&(i=e.constructor.name),"Map"===i||"Set"===i?Array.from(e):"Arguments"===i||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(i)?n(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function n(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,i=new Array(t);n")},closeTagString:function(e){return"")},isFirstSibling:function t(n,i){void 0===i&&(i=!0);for(var r=n.previousSibling;r&&i&&e.node.hasClass(r,"fr-marker");)r=r.previousSibling;return!r||r.nodeType===Node.TEXT_NODE&&""===r.textContent&&t(r)},isLastSibling:function t(n,i){void 0===i&&(i=!0);for(var r=n.nextSibling;r&&i&&e.node.hasClass(r,"fr-marker");)r=r.nextSibling;return!r||r.nodeType===Node.TEXT_NODE&&""===r.textContent&&t(r)},isList:function(e){return!!e&&0<=["UL","OL"].indexOf(e.tagName)},isLink:function(e){return!!e&&e.nodeType===Node.ELEMENT_NODE&&"a"===e.tagName.toLowerCase()},isElement:o,contents:n,isVoid:function(e){return e&&e.nodeType===Node.ELEMENT_NODE&&0<=i.VOID_ELEMENTS.indexOf((e.tagName||"").toLowerCase())},hasFocus:function(t){return t===e.doc.activeElement&&(!e.doc.hasFocus||e.doc.hasFocus())&&Boolean(o(t)||t.type||t.href||~t.tabIndex)},isEditable:function(e){return(!e.getAttribute||"false"!==e.getAttribute("contenteditable"))&&["STYLE","SCRIPT"].indexOf(e.tagName)<0},isDeletable:function(e){return e&&e.nodeType===Node.ELEMENT_NODE&&e.getAttribute("class")&&0<=(e.getAttribute("class")||"").indexOf("fr-deletable")},hasClass:function(e,n){return e instanceof t&&(e=e.get(0)),e&&e.classList&&e.classList.contains(n)},filter:function(t){return e.browser.msie?t:{acceptNode:t}}}},Object.assign(i.DEFAULTS,{DOMPurify:window.DOMPurify,htmlAllowedTags:["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","blockquote","br","button","canvas","caption","cite","code","col","colgroup","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","header","hgroup","hr","i","iframe","img","input","ins","kbd","keygen","label","legend","li","link","main","map","mark","menu","menuitem","meter","nav","noscript","object","ol","optgroup","option","output","p","param","pre","progress","queue","rp","rt","ruby","s","samp","script","style","section","select","small","source","span","strike","strong","sub","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","tr","track","u","ul","var","video","wbr"],htmlRemoveTags:["script","style"],htmlAllowedAttrs:["accept","accept-charset","accesskey","action","align","allowfullscreen","allowtransparency","alt","async","autocomplete","autofocus","autoplay","autosave","background","bgcolor","border","charset","cellpadding","cellspacing","checked","cite","class","color","cols","colspan","content","contenteditable","contextmenu","controls","coords","data","data-.*","datetime","default","defer","dir","dirname","disabled","download","draggable","dropzone","enctype","for","form","formaction","frameborder","headers","height","hidden","high","href","hreflang","http-equiv","icon","id","ismap","itemprop","keytype","kind","label","lang","language","list","loop","low","max","maxlength","media","method","min","mozallowfullscreen","multiple","muted","name","novalidate","open","optimum","pattern","ping","placeholder","playsinline","poster","preload","pubdate","radiogroup","readonly","rel","required","reversed","rows","rowspan","sandbox","scope","scoped","scrolling","seamless","selected","shape","size","sizes","span","src","srcdoc","srclang","srcset","start","step","summary","spellcheck","style","tabindex","target","title","type","translate","usemap","value","valign","webkitallowfullscreen","width","wrap"],htmlAllowedStyleProps:[".*"],htmlAllowComments:!0,htmlUntouched:!1,fullPage:!1}),i.HTML5Map={B:"STRONG",I:"EM",STRIKE:"S"},i.MODULES.clean=function(e){var t,n,r,s,a=e.$;function o(t){if(t.nodeType===Node.ELEMENT_NODE&&t.getAttribute("class")&&0<=t.getAttribute("class").indexOf("fr-marker"))return!1;var n,i=e.node.contents(t),r=[];for(n=0;n/g,">"):t.textContent.replace(/&/g,"&").replace(//g,">").replace(/\u00A0/g," ").replace(/\u0009/g,"");if(t.nodeType!==Node.ELEMENT_NODE)return t.outerHTML;if(t.nodeType===Node.ELEMENT_NODE&&0<=["STYLE","SCRIPT","NOSCRIPT"].indexOf(t.tagName))return t.outerHTML;if(t.nodeType===Node.ELEMENT_NODE&&"svg"===t.tagName){var i=document.createElement("div"),r=t.cloneNode(!0);return i.appendChild(r),i.innerHTML}if("IFRAME"===t.tagName)return t.outerHTML.replace(/</g,"<").replace(/>/g,">");var s=t.childNodes;if(0===s.length)return t.outerHTML;for(var a="",o=0;o)<[^<]*)*<\/script>/gi,(function(e){return c.push(e),"[FROALA.EDITOR.SCRIPT ".concat(c.length-1,"]")}))).replace(/)<[^<]*)*<\/noscript>/gi,(function(e){return c.push(e),"[FROALA.EDITOR.NOSCRIPT ".concat(c.length-1,"]")}))).replace(/"),r=a(i);if(r&&r.length){var s=h(r.html(),m);r.html(s),i=r.get(0).outerHTML}return i}))).replace(/":n;var a=u(e.html.extractNodeAttrs(i,"head")),o=u(e.html.extractNodeAttrs(i,"body"));return"".concat(r,"").concat(n,"").concat(t,"")}return t}(r,s,t))}function p(t){var n=e.doc.createElement("DIV");return n.innerText=t,n.textContent}function m(a){for(var o=e.node.contents(a),l=0;l"))}(a),a.nodeType===Node.ELEMENT_NODE&&(a.getAttribute("data-fr-src")&&0!==a.getAttribute("data-fr-src").indexOf("blob:")&&a.setAttribute("data-fr-src",e.helpers.sanitizeURL(p(a.getAttribute("data-fr-src")))),a.getAttribute("href")&&a.setAttribute("href",e.helpers.sanitizeURL(p(a.getAttribute("href")))),a.getAttribute("src")&&a.setAttribute("src",e.helpers.sanitizeURL(p(a.getAttribute("src")))),a.getAttribute("srcdoc")&&a.setAttribute("srcdoc",e.clean.html(a.getAttribute("srcdoc"))),0<=["TABLE","TBODY","TFOOT","TR"].indexOf(a.tagName)&&(a.innerHTML=a.innerHTML.trim())),!e.opts.pasteAllowLocalImages&&a.nodeType===Node.ELEMENT_NODE&&"IMG"===a.tagName&&a.getAttribute("data-fr-src")&&0===a.getAttribute("data-fr-src").indexOf("file://"))return a.parentNode.removeChild(a),!1;if(a.nodeType===Node.ELEMENT_NODE&&i.HTML5Map[a.tagName]&&""===e.node.attributes(a)){var o=i.HTML5Map[a.tagName],l="<".concat(o,">").concat(a.innerHTML,"");a.insertAdjacentHTML("beforebegin",l),(a=a.previousSibling).parentNode.removeChild(a.nextSibling)}if(e.opts.htmlAllowComments||a.nodeType!==Node.COMMENT_NODE)if(a.tagName&&a.tagName.match(n)){if("STYLE"==a.tagName&&e.helpers.isMac()){var c,u=a.innerHTML.trim(),h=[],f=/{([^}]+)}/g;for(u=u.replace(/\/\*[\s\S]*?\*\/|([^\\:]|^)\/\/.*|$/,"");c=f.exec(u);)h.push(c[1]);for(var m=function(e){var t=u.substring(0,u.indexOf("{")).trim();0==!/^[a-z_-][a-z\d_-]*$/i.test(t)&&a.parentNode.querySelectorAll(t).forEach((function(t){t.removeAttribute("class"),t.setAttribute("style",h[e])})),u=u.substring(u.indexOf("}")+1)},g=0;-1!=u.indexOf("{");g++)m(g)}a.parentNode.removeChild(a)}else if(a.tagName&&!a.tagName.match(t))"svg"===a.tagName?a.parentNode.removeChild(a):e.browser.safari&&"path"===a.tagName&&a.parentNode&&"svg"===a.parentNode.tagName||(a.outerHTML=a.innerHTML);else{var v=a.attributes;if(v)for(var _=v.length-1;0<=_;_--){var y=v[_],b=y.nodeName.match(r),x=null;"style"===y.nodeName&&e.opts.htmlAllowedStyleProps.length&&(x=y.value.match(s)),b&&x?y.value=d(x.join(";")):b&&("style"!==y.nodeName||x)||a.removeAttribute(y.nodeName)}}else 0!==a.data.indexOf("[FROALA.EDITOR")&&a.parentNode.removeChild(a)}(a)}return{_init:function(){e.opts.fullPage&&a.merge(e.opts.htmlAllowedTags,["head","title","style","link","base","body","html","meta"])},html:function(i,o,l,c){void 0===o&&(o=[]),void 0===l&&(l=[]),void 0===c&&(c=!1);var d,u=a.merge([],e.opts.htmlAllowedTags);for(d=0;d").concat(t[r].innerHTML,""));n&&e.selection.restore()}},tables:function(){!function(){for(var t=e.el.querySelectorAll("tr"),n=0,i=0;i ul, ol > ol, ul > ol, ol > ul"),n=0;n"))}}(),function(){for(var t=e.el.querySelectorAll("li > ul, li > ol"),n=0;n ul, li > ol"),n=0;n");else if(i.previousSibling&&"BR"===i.previousSibling.tagName){for(var r=i.previousSibling.previousSibling;r&&e.node.hasClass(r,"fr-marker");)r=r.previousSibling;r&&"BR"!==r.tagName&&a(i.previousSibling).remove()}}}(),function(){for(var t=e.el.querySelectorAll("li:empty"),n=0;n/g,"%3E").replace(/"/g,"%22").replace(/ /g,"%20"),new RegExp("^".concat(i.LinkRegExHTTP).concat(i.LinkRegExEnd,"$"),"gi").test(e))},getAlignment:function(e){e.css||(e=r(e));var i=(e.css("text-align")||"").replace(/-(.*)-/g,"");if(["left","right","justify","center"].indexOf(i)<0){if(!n){var s=r('
..
'));r("body").first().append(s);var a=s.find("#s1").get(0).getBoundingClientRect().left,o=s.find("#s2").get(0).getBoundingClientRect().left;s.remove(),n=a=(window.innerHeight||document.documentElement.clientHeight)}}},i.MODULES.events=function(e){var t,n=e.$,r={};function s(e,t,n){f(e,t,n)}function a(t){if(void 0===t&&(t=!0),!e.$wp)return!1;if(e.helpers.isIOS()&&e.$win.get(0).focus(),e.core.hasFocus())return!1;if(!e.core.hasFocus()&&t){var r=e.$win.scrollTop();if(e.browser.msie&&e.$box&&e.$box.css("position","fixed"),e.browser.msie&&e.$wp&&e.$wp.css("overflow","visible"),e.browser.msie&&e.$sc&&e.$sc.css("position","fixed"),e.browser.msie||(c(),e.el.focus(),e.events.trigger("focus"),l()),e.browser.msie&&e.$sc&&e.$sc.css("position",""),e.browser.msie&&e.$box&&e.$box.css("position",""),e.browser.msie&&e.$wp&&e.$wp.css("overflow","auto"),r!==e.$win.scrollTop()&&e.$win.scrollTop(r),!e.selection.info(e.el).atStart)return!1}if(!e.core.hasFocus()||0").concat(t,"")),t}var r={bold:function(){o("bold","strong")},subscript:function(){e.format.is("sup")&&e.format.remove("sup"),o("subscript","sub")},superscript:function(){e.format.is("sub")&&e.format.remove("sub"),o("superscript","sup")},italic:function(){o("italic","em")},strikeThrough:function(){o("strikeThrough","s")},underline:function(){o("underline","u")},undo:function(){e.undo.run()},redo:function(){e.undo.redo()},indent:function(){l(1)},outdent:function(){l(-1)},show:function(){e.opts.toolbarInline&&e.toolbar.showInline(null,!0)},insertHR:function(){e.selection.remove();var r="";e.core.isEmpty()&&(r=n(r="
"));var s='
'.concat(r);e.opts.trackChangesEnabled&&(s=e.track_changes.wrapInTracking(t(s),"hrWrapper").get(0).outerHTML),e.html.insert(s);var a,o=e.$el.find("hr#fr-just").length?e.$el.find("hr#fr-just"):e.$el.find(".fr-just");o.removeAttr("id"),o.removeAttr("class");var l=e.opts.trackChangesEnabled&&"SPAN"===o[0].parentNode.tagName&&"P"===o[0].parentNode.parentNode.tagName;if(0===o.next().length){var c=e.html.defaultTag();c&&!l?o.after(t(e.doc.createElement(c)).append("
").get(0)):l?o[0].parentNode.after(t(e.doc.createElement(c)).append("
").get(0)):o.after("
")}o.prev().is("hr")?a=e.selection.setAfter(o.get(0),!1):o.next().is("hr")?a=e.selection.setBefore(o.get(0),!1):l||e.selection.setAfter(o.get(0),!1)?e.selection.setAfter(o[0].parentNode,!1):e.selection.setBefore(o.get(0),!1),a||void 0===a||(r=n(r="".concat(i.MARKERS,"
")),o.after(r)),e.selection.restore()},clearFormatting:function(){e.format.remove()},selectAll:function(){e.doc.execCommand("selectAll",!1,!1)},moreText:function(e){s(e)},moreParagraph:function(e){s(e)},moreRich:function(e){s(e)},moreMisc:function(e){s(e)},moreTrackChanges:function(){s("trackChanges")}};function s(n){var i=e.$tb.find("[data-cmd=".concat(n,"]")),r=e.$tb.find("[data-cmd=html]");e.opts.trackChangesEnabled||e.markdown&&e.markdown.isEnabled()?r&&r.addClass("fr-disabled"):r&&r.removeClass("fr-disabled"),function(n){e.helpers.isMobile()&&e.opts.toolbarInline&&e.events.disableBlur();var i=e.$tb.find('.fr-more-toolbar[data-name="'.concat(n.attr("data-group-name"),'"]'));"trackChanges"===n.data("cmd")&&(i=e.$tb.find('.fr-more-toolbar[data-name="'.concat(n.attr("id"),'"]'))),e.$tb.find(".fr-open").not(n).not('[data-cmd="trackChanges"]').removeClass("fr-open"),n.toggleClass("fr-open"),e.$tb.find(".fr-more-toolbar").removeClass("fr-overflow-visible"),e.$tb.find(".fr-expanded").not(i).length?(e.$tb.find(".fr-expanded").not(i).each((function(i,r){0!=t(r).data("name").indexOf("trackChanges-")&&0!=t(r).data("name").indexOf("moreRich-")?t(r).toggleClass("fr-expanded"):n.parents('[data-name^="moreRich-"]').length||0==t(r).data("name").indexOf("trackChanges-")||t(r).find('[id^="trackChanges-"]').length&&e.opts.trackChangesEnabled||t(r).toggleClass("fr-expanded")})),i.toggleClass("fr-expanded")):(i.toggleClass("fr-expanded"),e.$box.toggleClass("fr-toolbar-open"),e.$tb.toggleClass("fr-toolbar-open"))}(i),e.toolbar.setMoreToolbarsHeight()}function a(n,s){if(!(e.markdown&&e.markdown.isEnabled()&&("bold"===n||"italic"===n||"underline"===n)||e.opts.trackChangesEnabled&&"markdown"===n)&&!1!==e.events.trigger("commands.before",t.merge([n],s||[]))){var a=i.COMMANDS[n]&&i.COMMANDS[n].callback||r[n],o=!0,l=!1;i.COMMANDS[n]&&(void 0!==i.COMMANDS[n].focus&&(o=i.COMMANDS[n].focus),void 0!==i.COMMANDS[n].accessibilityFocus&&(l=i.COMMANDS[n].accessibilityFocus)),(!e.core.hasFocus()&&o||!e.core.hasFocus()&&l&&e.accessibility.hasFocus())&&(e.el.focus({preventScroll:!0}),e.events.trigger("focus")),i.COMMANDS[n]&&!1!==i.COMMANDS[n].undo&&(e.$el.find(".fr-marker").length&&(e.events.disableBlur(),e.selection.restore()),e.undo.saveStep()),a&&a.apply(e,t.merge([n],s||[])),e.events.trigger("commands.after",t.merge([n],s||[])),i.COMMANDS[n]&&!1!==i.COMMANDS[n].undo&&e.undo.saveStep()}}function o(t,n){e.format.toggle(n)}function l(n){e.selection.save(),e.html.wrap(!0,!0,!0,!0),e.selection.restore();for(var i=e.selection.blocks(),r=0;r").concat(i.MARKERS,"
").concat(h)}else m="".concat(f,"
  • ").concat(i.MARKERS,"
    ").concat(h);else m=u?"".concat(f,"<").concat(u,">").concat(i.MARKERS,"
    ").concat(h):"".concat(f+i.MARKERS,"
    ").concat(h);for(;["UL","OL"].indexOf(p.tagName)<0||p.parentNode&&"LI"===p.parentNode.tagName;)p=p.parentNode;t(l).replaceWith('');var v=e.node.openTagString(p)+t(p).html()+e.node.closeTagString(p);v=v.replace(/<\/span>/g,m),t(p).replaceWith(v),e.$el.find("li:empty").remove(),e.$el.find("li > p > span:empty").length&&e.$el.find("li > p > span:empty")[0].parentNode.parentNode.remove()}else if(d&&c||!e.node.isEmpty(l,!0)){var _="
    ",y=a.parentNode;for(y&&"A"===y.tagName&&(y=null);y&&"LI"!==y.tagName;)_=e.node.openTagString(y)+_+e.node.closeTagString(y),y=y.parentNode;if(y&&y.attributes.length){var b=s(y.attributes);t(l).before("
  • ").concat(_,"
  • "))}else t(l).before("
  • ".concat(_,"
  • "));t(a).remove()}else if(d){o=r(l);for(var x="".concat(i.MARKERS,"
    "),M=a.parentNode;M&&"LI"!==M.tagName;)x=e.node.openTagString(M)+x+e.node.closeTagString(M),M=M.parentNode;if(o.parentNode&&"LI"===o.parentNode.tagName)if(o.parentNode.attributes.length){var w=s(o.parentNode.attributes);t(o.parentNode).after("
  • ").concat(x,"
  • "))}else t(o.parentNode).after("
  • ".concat(x,"
  • "));else u?t(o).after("<".concat(u,">").concat(x,"")):t(o).after(x);t(l).remove()}else(o=r(l)).parentNode&&"LI"===o.parentNode.tagName?c?t(o.parentNode).before("".concat(e.node.openTagString(l)+i.MARKERS,"
    ")):t(o.parentNode).after("".concat(e.node.openTagString(l)+i.MARKERS,"
    ")):u?t(o).before("<".concat(u,">").concat(i.MARKERS,"
    ")):t(o).before("".concat(i.MARKERS,"
    ")),t(l).remove()},_middleEnter:function(r){for(var s=n(r),a="",o=r,l="",c="",d=!1;o!==s;){var u="A"===(o=o.parentNode).tagName&&e.cursor.isAtEnd(r,o)?"fr-to-remove":"";d||o==s||e.node.isBlock(o)||(d=!0,l+=i.INVISIBLE_SPACE),l=e.node.openTagString(t(o).clone().addClass(u).get(0))+l,c+=e.node.closeTagString(o)}a=c+a+l+i.MARKERS+(e.opts.keepFormatOnDelete?i.INVISIBLE_SPACE:""),t(r).replaceWith('');var h=e.node.openTagString(s)+t(s).html()+e.node.closeTagString(s);h=h.replace(/<\/span>/g,a),t(s).replaceWith(h)},_endEnter:function(r){for(var s=n(r),a=i.MARKERS,o="",l=r,c=!1;l!==s;)if(!(l=l.parentNode).classList.contains("fr-img-space-wrap")&&!l.classList.contains("fr-img-space-wrap2")){var d="A"===l.tagName&&e.cursor.isAtEnd(r,l)?"fr-to-remove":"";c||l===s||e.node.isBlock(l)||(c=!0,o+=i.INVISIBLE_SPACE),o=e.node.openTagString(t(l).clone().addClass(d).get(0))+o,a+=e.node.closeTagString(l)}var u=o+a;t(r).remove(),t(s).after(u)},_backspace:function(s){var a=n(s),o=a.previousSibling;if(o){o=t(o).find(e.html.blockTagsQuery()).get(-1)||o,t(s).replaceWith(i.MARKERS);var l=e.node.contents(o);l.length&&"BR"===l[l.length-1].tagName&&t(l[l.length-1]).remove(),t(a).find(e.html.blockTagsQuery()).not("ol, ul, table").each((function(){this.parentNode===a&&t(this).replaceWith(t(this).html()+(e.node.isEmpty(this)?"":"
    "))}));for(var c,d=e.node.contents(a)[0];d&&!e.node.isList(d);)c=d.nextSibling,t(o).append(d),d=c;for(o=a.previousSibling;d;)c=d.nextSibling,t(o).append(d),d=c;1<(l=e.node.contents(o)).length&&"BR"===l[l.length-1].tagName&&t(l[l.length-1]).remove(),t(a).remove()}else{var u=r(a);if(t(s).replaceWith(i.MARKERS),u.parentNode&&"LI"===u.parentNode.tagName){var h=u.previousSibling;e.node.isBlock(h)?(t(a).find(e.html.blockTagsQuery()).not("ol, ul, table").each((function(){this.parentNode===a&&t(this).replaceWith(t(this).html()+(e.node.isEmpty(this)?"":"
    "))})),t(h).append(t(a).html())):t(u).before(t(a).html())}else{var f=e.html.defaultTag();f&&0===t(a).find(e.html.blockTagsQuery()).length?t(u).before("<".concat(f,">").concat(t(a).html(),"")):t(u).before(t(a).html())}t(a).remove(),e.html.wrap(),0===t(u).find("li").length&&t(u).remove()}},_del:function(r){var s,a=n(r),o=a.nextSibling;if(o){(s=e.node.contents(o)).length&&"BR"===s[0].tagName&&t(s[0]).remove(),t(o).find(e.html.blockTagsQuery()).not("ol, ul, table").each((function(){this.parentNode===o&&t(this).replaceWith(t(this).html()+(e.node.isEmpty(this)?"":"
    "))}));for(var l,c=r,d=e.node.contents(o)[0];d&&!e.node.isList(d);)l=d.nextSibling,t(c).after(d),c=d,d=l;for(;d;)l=d.nextSibling,t(a).append(d),d=l;t(r).replaceWith(i.MARKERS),t(o).remove()}else{for(var u=a;!u.nextSibling&&u!==e.el;)u=u.parentNode;if(u===e.el)return!1;if(u=u.nextSibling,e.node.isBlock(u)){if(i.NO_DELETE_TAGS.indexOf(u.tagName)<0){if(t(r).replaceWith(i.MARKERS),(s=e.node.contents(a)).length&&"BR"===s[s.length-1].tagName&&t(s[s.length-1]).remove(),u.isContentEditable&&"DIV"===u.tagName&&(!e.node.isBlock(u.previousSibling)||"DIV"===u.previousSibling.tagName))return;t(a).append(t(u).html()),t(u).remove()}}else{for((s=e.node.contents(a)).length&&"BR"===s[s.length-1].tagName&&t(s[s.length-1]).remove(),t(r).replaceWith(i.MARKERS);u&&!e.node.isBlock(u)&&"BR"!==u.tagName;)t(a).append(t(u)),u=u.nextSibling;t(u).remove()}}}}},i.NO_DELETE_TAGS=["TH","TD","TR","TABLE","FORM"],i.SIMPLE_ENTER_TAGS=["TH","TD","LI","DL","DT","FORM"],i.MODULES.cursor=function(e){var t=e.$;function n(t){return!!t&&(e.node.isBlock(t)?"P"!==t.tagName||!t.nextElementSibling||!t.parentElement||"OL"!==t.nextElementSibling.tagName||"LI"!==t.parentElement.tagName:t.nextSibling&&t.nextSibling.nodeType===Node.TEXT_NODE&&0===t.nextSibling.textContent.replace(/\u200b/g,"").length?n(t.nextSibling):!(t.nextSibling&&(!t.previousSibling||"BR"!==t.nextSibling.tagName||t.nextSibling.nextSibling))&&n(t.parentNode))}function r(t){return!!t&&(!!e.node.isBlock(t)||(t.previousSibling&&t.previousSibling.nodeType===Node.TEXT_NODE&&0===t.previousSibling.textContent.replace(/\u200b/g,"").length?r(t.previousSibling):!t.previousSibling&&(!(t.previousSibling||!e.node.hasClass(t.parentNode,"fr-inner"))||r(t.parentNode))))}function s(t,n){return!!t&&t!==e.$wp.get(0)&&(t.previousSibling&&t.previousSibling.nodeType===Node.TEXT_NODE&&0===t.previousSibling.textContent.replace(/\u200b/g,"").length?s(t.previousSibling,n):!t.previousSibling&&(t.parentNode===n||s(t.parentNode,n)))}function a(t,n){return!!t&&t!==e.$wp.get(0)&&(t.nextSibling&&t.nextSibling.nodeType===Node.TEXT_NODE&&0===t.nextSibling.textContent.replace(/\u200b/g,"").length?a(t.nextSibling,n):!(t.nextSibling&&(!t.previousSibling||"BR"!==t.nextSibling.tagName||t.nextSibling.nextSibling))&&(t.parentNode===n||a(t.parentNode,n)))}function o(n){return 0=e.opts.tabSpaces&&0===d.substr(d.length-e.opts.tabSpaces,d.length-1).replace(/ /g,"").replace(new RegExp(i.UNICODE_NBSP,"g"),"").length&&(u=d.length-e.opts.tabSpaces+1),s.textContent=d.substring(0,u-l(d));var h=s.textContent;(e.opts.enter===i.ENTER_BR&&0");var v=s.parentNode;s.parentNode.removeChild(s),e.node.isEmpty(v)&&t(v).html(i.INVISIBLE_SPACE+i.MARKERS)}else t(s.parentNode).after(i.MARKERS),t(s.parentNode).remove();else t(s).after(i.MARKERS)}else e.node.isDeletable(s)?(t(s).after(i.MARKERS),t(s).remove()):n.nextSibling&&"BR"===n.nextSibling.tagName&&e.node.isVoid(s)&&"BR"!==s.tagName?(t(n.nextSibling).remove(),t(n).replaceWith(i.MARKERS)):!1!==e.events.trigger("node.remove",[t(s)])&&(t(s).after(i.MARKERS),t(s).remove())}else if(i.NO_DELETE_TAGS.indexOf(s.tagName)<0&&(e.node.isEditable(s)||e.node.isDeletable(s)))if(e.node.isDeletable(s))t(n).replaceWith(i.MARKERS),t(s).remove();else if(e.node.isEmpty(s)&&!e.node.isList(s))t(s).remove(),t(n).replaceWith(i.MARKERS);else{for(e.node.isList(s)&&(s=t(s).find("li").last().get(0)),(r=e.node.contents(s))&&0"))})),t(s).append(e.node.contents(c.get(0))),c.remove(),0===t(l).find("li").length&&t(l).remove())}else{if((o=e.node.contents(l)).length&&"BR"===o[0].tagName&&t(o[0]).remove(),"BLOCKQUOTE"!==l.tagName&&"BLOCKQUOTE"===s.tagName)for(o=e.node.contents(s);o.length&&e.node.isBlock(o[o.length-1]);)s=o[o.length-1],o=e.node.contents(s);else if("BLOCKQUOTE"===l.tagName&&"BLOCKQUOTE"!==s.tagName)for(o=e.node.contents(l);o.length&&e.node.isBlock(o[0]);)l=o[0],o=e.node.contents(l);t(n).replaceWith(i.MARKERS),t(s).append(l.innerHTML),t(l).remove()}else{for(t(n).replaceWith(i.MARKERS);l&&"BR"!==l.tagName&&!e.node.isBlock(l)&&e.node.isEditable(l);){var d=l;l=l.nextSibling,t(s).append(d)}l&&"BR"===l.tagName&&e.node.isEditable(l)&&t(l).remove()}}}function u(r){for(var s,a=r;!a.nextSibling;)if(a=a.parentNode,e.node.isElement(a))return!1;if("BR"===(a=a.nextSibling).tagName&&e.node.isEditable(a))if(a.nextSibling){if(e.node.isBlock(a.nextSibling)&&e.node.isEditable(a.nextSibling)){if(!(i.NO_DELETE_TAGS.indexOf(a.nextSibling.tagName)<0))return void t(a).remove();a=a.nextSibling,t(a.previousSibling).remove()}}else if(n(a))return void(o(r)?e.cursorLists._del(r):e.node.deepestParent(a)&&((!e.node.isEmpty(e.node.blockParent(a))||(e.node.blockParent(a).nextSibling&&i.NO_DELETE_TAGS.indexOf(e.node.blockParent(a).nextSibling.tagName))<0)&&t(a).remove(),a&&a.parentNode&&8203===a.parentNode.textContent.charCodeAt()&&a.parentNode.childNodes[1]&&"BR"===a.parentNode.childNodes[1].tagName&&a.parentNode.tagName.toLowerCase()===e.html.defaultTag()&&a.parentNode.nextSibling&&"TABLE"===a.parentNode.nextSibling.tagName&&t(a.parentNode).remove(),d(r)));if(!e.node.isBlock(a)&&e.node.isEditable(a)){for(s=e.node.contents(a);a.nodeType!==Node.TEXT_NODE&&s.length&&!e.node.isDeletable(a)&&e.node.isEditable(a);)a=s[0],s=e.node.contents(a);a.nodeType===Node.TEXT_NODE?(t(a).before(i.MARKERS),a.textContent.length&&(a.textContent=a.textContent.substring(l(a.textContent,!0),a.textContent.length))):(e.node.isDeletable(a)||!1!==e.events.trigger("node.remove",[t(a)]))&&(t(a).before(i.MARKERS),t(a).remove()),t(r).remove()}else if(i.NO_DELETE_TAGS.indexOf(a.tagName)<0&&(e.node.isEditable(a)||e.node.isDeletable(a)))if(e.node.isDeletable(a))t(r).replaceWith(i.MARKERS),t(a).remove();else if(e.node.isList(a))r.previousSibling?(t(a).find("li").first().prepend(r),e.cursorLists._backspace(r)):(t(a).find("li").first().prepend(i.MARKERS),t(r).remove());else if((s=e.node.contents(a))&&0"+i.MARKERS):o?t(l).after("<".concat(o,">").concat(i.MARKERS,"
    ")):t(l).after("".concat(i.MARKERS,"
    ")),t(n).remove()):p(n,r,s),!1;if(null===l)(o=e.html.defaultTag())&&e.node.isElement(n.parentNode)?t(n).replaceWith("<".concat(o,">").concat(i.MARKERS,"
    ")):!n.previousSibling||t(n.previousSibling).is("br")||n.nextSibling?t(n).replaceWith("
    ".concat(i.MARKERS)):t(n).replaceWith("
    ".concat(i.MARKERS,"
    "));else{var c=n,d="";"PRE"!=l.tagName||n.nextSibling||(r=!0),e.node.isBlock(l)&&!r||(d="
    ");var u,h="",f="",m="",g="";(o=e.html.defaultTag())&&e.node.isBlock(l)&&(m="<".concat(o,">"),g=""),l.tagName===o.toUpperCase()&&(m=e.node.openTagString(t(l).clone().removeAttr("id").get(0))));do{if(c=c.parentNode,!r||c!==l||r&&!e.node.isBlock(l))if(h+=e.node.closeTagString(c),c===l&&e.node.isBlock(l))f=m+f;else{var v=("A"===c.tagName||e.node.hasClass(c,"fa"))&&a(n,c)?"fr-to-remove":"";f="isPasted"===c.getAttribute("id")?e.node.openTagString(t(c).clone().attr("style","").addClass(v).get(0))+f:e.node.openTagString(t(c).clone().addClass(v).get(0))+f}}while(c!==l);d=h+d+f+(n.parentNode===l&&e.node.isBlock(l)?"":i.INVISIBLE_SPACE)+i.MARKERS,e.node.isBlock(l)&&!t(l).find("*").last().is("br")&&t(l).append("
    "),t(n).after(''),t(n).remove(),l.nextSibling&&!e.node.isBlock(l.nextSibling)||e.node.isBlock(l)||t(l).after("
    "),u=(u=!r&&e.node.isBlock(l)?e.node.openTagString(l)+t(l).html()+g:e.node.openTagString(l)+t(l).html()+e.node.closeTagString(l)).replace(/<\/span>/g,d),t(l).replaceWith(u)}}function p(n,r,o){var l=e.node.deepestParent(n,[],!o);if(null===l)e.html.defaultTag()&&n.parentNode===e.el?t(n).replaceWith("<".concat(e.html.defaultTag(),">").concat(i.MARKERS,"
    ")):(n.nextSibling&&!e.node.isBlock(n.nextSibling)||t(n).after("
    "),t(n).replaceWith("
    ".concat(i.MARKERS)));else if(n.previousSibling&&"IMG"==n.previousSibling.tagName||n.nextSibling&&"IMG"==n.nextSibling.tagName)t(n).replaceWith("<"+e.html.defaultTag()+">"+i.MARKERS+"
    ");else{var c=n,d="";"PRE"===l.tagName&&(r=!0),e.node.isBlock(l)&&!r||(d="
    ");var u="",h="";do{var f=c;if(c=c.parentNode,"BLOCKQUOTE"===l.tagName&&e.node.isEmpty(f)&&!e.node.hasClass(f,"fr-marker")&&t(f).contains(n)&&t(f).after(n),"BLOCKQUOTE"!==l.tagName||!a(n,c)&&!s(n,c))if(!r||c!==l||r&&!e.node.isBlock(l)){u+=e.node.closeTagString(c);var p="A"==c.tagName&&a(n,c)||e.node.hasClass(c,"fa")?"fr-to-remove":"";h=e.node.openTagString(t(c).clone().addClass(p).removeAttr("id").get(0))+h,e.opts.enter!==i.ENTER_DIV&&c===l&&"DIV"===l.tagName&&(u="
    ",h="")}else"BLOCKQUOTE"==l.tagName&&r&&(h=u="")}while(c!==l);var m=l===n.parentNode&&e.node.isBlock(l)||n.nextSibling;if("BLOCKQUOTE"===l.tagName)if(n.previousSibling&&e.node.isBlock(n.previousSibling)&&n.nextSibling&&"BR"===n.nextSibling.tagName&&(t(n.nextSibling).after(n),n.nextSibling&&"BR"===n.nextSibling.tagName&&t(n.nextSibling).remove()),r)d=u+d+i.MARKERS+h;else{var g=e.html.defaultTag();d="".concat(u+d+(g?"<".concat(g,">"):"")+i.MARKERS,"
    ").concat(g?""):"").concat(h)}else d=u+d+h+(m?"":i.INVISIBLE_SPACE)+i.MARKERS;t(n).replaceWith('');var v=e.node.openTagString(l)+t(l).html()+e.node.closeTagString(l);v=v.replace(/<\/span>/g,d),t(l).replaceWith(v)}}function m(e){var t=e.getBoundingClientRect(),n=window.pageXOffset||document.documentElement.scrollLeft,i=window.pageYOffset||document.documentElement.scrollTop;return{top:t.top+i,left:t.left+n}}function g(){var t=e.selection.get(),n=null;if(e.selection.inEditor()&&t.rangeCount)for(var i=e.selection.ranges(),r=0;r").concat(i.MARKERS,"
    ")):t(u).before("".concat(i.MARKERS,"
    ")),t(o).remove(),!1}else a(o,u)?f(o,l,!0):p(o,l,!0);if(null===u)(d=e.html.defaultTag())&&e.node.isElement(o.parentNode)?t(o).replaceWith("<".concat(d,">").concat(i.MARKERS,"
    ")):t(o).replaceWith("
    ".concat(i.MARKERS));else{if(d=e.html.defaultTag(),e.node.isBlock(u))if("PRE"===u.tagName&&(l=!0),l)t(o).remove(),t(u).prepend("
    ".concat(i.MARKERS));else if(o.nextSibling&&"IMG"==o.nextSibling.tagName||o.nextSibling&&o.nextSibling.nextElementSibling&&"IMG"==o.nextSibling.nextElementSibling)t(o).replaceWith("<"+e.html.defaultTag()+">"+i.MARKERS+"
    ");else{if(e.node.isEmpty(u,!0))return f(o,l,c);if(e.opts.keepFormatOnDelete||"DIV"===u.tagName||"div"===e.html.defaultTag())if(!e.opts.keepFormatOnDelete&&"DIV"===u.tagName||"div"===e.html.defaultTag())t(u).before("<"+e.html.defaultTag()+">
    ");else if(e.opts.keepFormatOnDelete&&!e.opts.htmlUntouched&&"DIV"!==u.tagName&&"div"!==e.html.defaultTag()&&r(e.selection.get().focusNode))t(u).before("".concat(e.node.openTagString(t(u).clone().removeAttr("id").get(0)),"
    ").concat(e.node.closeTagString(u)));else{for(var h=o,m=i.INVISIBLE_SPACE;h!==u&&!e.node.isElement(h);)h=h.parentNode,m=e.node.openTagString(h)+m+e.node.closeTagString(h);t(u).before(m)}else t(u).before("".concat(e.node.openTagString(t(u).clone().removeAttr("id").get(0)),"
    ").concat(e.node.closeTagString(u)))}else t(u).before("
    ");t(o).remove()}}(c,l,u):e.cursorLists._startEnter(c):!o(c)||l||u?p(c,l,u):e.cursorLists._middleEnter(c),e.$el.find(".fr-to-remove").each((function(){for(var n=e.node.contents(this),i=0;ih){var v=g();if(v){var _=m(v);_=_.top;var y=v.getBoundingClientRect().top;e.opts.scrollableContainer&&e.opts.enter!==i.ENTER_BR&&"BR"===v.tagName&&y+20===h&&(y=_=v.parentNode.offsetTop),v.parentNode&&"TD"===v.parentNode.tagName&&he.$sc[0].scrollTop+t(e.$sc).height()&&e.$sc[0].scroll(0,_-t(e.$sc).height()+2*e.$tb.height())}}else if(e.opts.scrollableContainer&&e.opts.toolbarSticky){var b=g();if(b){var x=m(b);x=x.top;var M=b.getBoundingClientRect().top;e.opts.enter!==i.ENTER_BR&&"BR"===b.tagName&&(M=x=b.parentNode.offsetTop),(e.opts.iframe&&M+2*e.$tb.height()>e.$sc[0].scrollTop+t(e.$sc).height()||M+2*e.$tb.height()>t(e.$sc).height())&&e.$sc[0].scroll(0,x-t(e.$sc).height()+2*e.$tb.height())}}},backspace:function(){var a=!1,d=e.markers.insert();if(!d)return!0;for(var u=d.parentNode;u&&!e.node.isElement(u);){if("false"===u.getAttribute("contenteditable"))return t(d).replaceWith(i.MARKERS),e.selection.restore(),!1;if(u.innerText.length&&"true"===u.getAttribute("contenteditable"))break;u=u.parentNode}e.el.normalize();var f=d.previousSibling;if(f){var p=f.textContent;p&&p.length&&8203===p.charCodeAt(p.length-1)&&(1===p.length?t(f).remove():f.textContent=f.textContent.substr(0,p.length-l(p)))}return n(d)?o(d)&&s(d,t(d).parents("li").first().get(0))?e.cursorLists._backspace(d):a=c(d):r(d)?o(d)&&s(d,t(d).parents("li").first().get(0))?e.cursorLists._backspace(d):function(n){for(var r=0 div").first(),d=c.find("> a"),"rtl"===e.opts.direction&&c.css("left","auto").css("right",0).attr("direction","rtl"),y++}function o(e){for(var t=[_("9qqG-7amjlwq=="),_("KA3B3C2A6D1D5H5H1A3=="),_("3B9B3B5F3C4G3E3=="),_("QzbzvxyB2yA-9m=="),_("ji1kacwmgG5bc=="),_("nmA-13aogi1A3c1jd=="),_("BA9ggq=="),_("emznbjbH3fij=="),_("tkC-22d1qC-13sD1wzF-7=="),_("tA3jjf=="),_("1D1brkm==")],n=0;nthis.length)&&(t=this.length),this.substring(t-e.length,t)===e}),e.endsWith(t[n]))return!0;return!1}function l(){var e=_(t(p)),n=_(t("tzgatD-13eD1dtdrvmF3c1nrC-7saQcdav==")).split(".");try{return window.parent.document.querySelector(e)&&window[n[1]][n[2]]}catch(e){return!1}}var c,d,u=e.$,h="sC-7OB2fwhVC4vsG-7ohPA4ZD4D-8f1J3stzB-11bFE2FC1A3NB2IF1HE1TH4WB8eB-11zVG2F3I3yYB5ZG4CB2DA15CC5AD3F1A1KG1oLA10B1A6wQF1H3vgale2C4F4XA2qc2A5D5B3pepmriKB3OE1HD1fUC10pjD-11E-11TB4YJ3bC-16zE-11yc1B2CE2BC3jhjKC1pdA-21OA6C1D5B-8vF4QA11pD6sqf1C3lldA-16BD4A2H3qoEA7bB-16rmNH5H1F1vSB7RE2A3TH4YC5A5b1A4d1B3whepyAC3AA2zknC3mbgf1SC4WH4PD8TC5ZB2C3H3jb2A5ZA2EF2aoFC5qqHC4B1H1zeGA7UA5RF4TA29TA6ZC4d1C3hyWA10A3rBB2E3decorationRD3QC10UD3E6E6ZD2F3F3fme2E5uxxrEC9C3E4fB-11azhHB1LD7D6VF4VVTPC6b1C4TYG3qzDD6B3B3AH4I2H2kxbHE1JD1yihfd1QD6WB1D4mhrc1B5rvFG3A14A7cDA2OC1AA1JB5zC-16KA6WB4C-8wvlTB5A5lkZB2C2C7zynBD2D2bI-7C-21d1HE2cubyvPC8A6VB3aroxxZE4C4F4e1I2BE1WjdifH1H4A14NA1GB1YG-10tWA3A14A9sVA2C5XH2A29b2A6gsleGG2jaED2D-13fhE1OA8NjwytyTD4e1sc1D-16ZC3B5C-9e1C2FB6EFF5B2C2JH4E1C2tdLE5A3UG4G-7b2D3B4fA-9oh1G3kqvB4AG3ibnjcAC6D2B1cDA9KC2QA6bRC4VA30RB8hYB2A4A-8h1A21A2B2==",f="7D4YH4fkhHB3pqDC3H2E1fkMD1IB1NF1D3QD9wB5rxqlh1A8c2B4ZA3FD2AA6FB5EB3jJG4D2J-7aC-21GB6PC5RE4TC11QD6XC4XE3XH3mlvnqjbaOA2OC2BE6A1fmI-7ujwbc1G5f1F3e1C11mXF4owBG3E1yD1E4F1D2D-8B-8C-7yC-22HD1MF5UE4cWA3D8D6a1B2C3H3a3I3sZA4B3A2akfwEB3xHD5D1F1wIC11pA-16xdxtVI2C9A6YC4a1A2F3B2GA6B4C3lsjyJB1eMA1D-11MF5PE4ja1D3D7byrf1C3e1C7D-16lwqAF3H2A1B-21wNE1MA1OG1HB2A-16tSE5UD4RB3icRA4F-10wtwzBB3E1C3CC2DA8LA2LA1EB1kdH-8uVB7decorg1J2B7B6qjrqGI2J1C6ijehIB1hkemC-13hqkrH4H-7QD6XF5XF3HLNAC3CB2aD2CD2KB10B4ycg1A-8KA4H4B11jVB5TC4yqpB-21pd1E4pedzGB6MD5B3ncB-7MA4LD2JB6PD5uH-8TB9C7YD5XD2E3I3jmiDB3zeimhLD8E2F2JC1H-9ivkPC5lG-10SB1D3H3A-21rc1A3d1E3fsdqwfGA2KA1OrC-22LA6D1B4afUB16SC7AitC-8qYA11fsxcajGA15avjNE2A-9h1hDB16B9tPC1C5F5UC1G3B8d2A5d1D4RnHJ3C3JB5D3ucMG1yzD-17hafjC-8VD3yWC6e1YD2H3ZE2C8C5oBA3H3D2vFA4WzJC4C2i1A-65fNB8afWA1H4A26mvkC-13ZB3E3h1A21BC4eFB2GD2AA5ghqND2A2B2==",p="MekC-11nB-8tIzpD7pewxvzC6mD-16xerg1==",m="lC4B3A3B2B5A1C2E4G1A2==",g="sC-7OB2fwhVC4vsG-7ohPA4ZD4D-8f1J3stzB-11bFE2EE1MA2ND1KD1IE4cA-21pSD2D5ve1G3h1A8b1E5ZC3CD2FA16mC5OC5E1hpnG1NA10B1D7hkUD4I-7b2C3C5nXD2E3F3whidEC2EH3GI2mJE2E2bxci1WA10VC7pllSG2F3A7xd1A4ZC3DB2aaeGA2DE4H2E1j1ywD-13FD1A3VE4WA3D8C6wuc1A2hf1B5B7vnrrjA1B9ic1mpbD1oMB1iSB7rWC4RI4G-7upB6jd1A2F3H2EA4FD3kDF4A2moc1anJD1TD4VI4b2C7oeQF4c1E3XC7ZA3C3G3uDB2wGB6D1JC4D1JD4C1hTE6QC5pH4pD3C-22D7c1A3textAA4gdlB2mpozkmhNC1mrxA3yWA5edhg1I2H3B7ozgmvAI3I2B5GD1LD2RSNH1KA1XA5SB4PA3sA9tlmC-9tnf1G3nd1coBH4I2I2JC3C-16LE6A1tnUA3vbwQB1G3f1A20a3A8a1C6pxAB2eniuE1F3kH2lnjB2hB-16XA5PF1G4zwtYA5B-11mzTG2B9pHB3BE2hGH3B3B2cMD5C1F1wzPA8E7VG5H5vD3H-7C8tyvsVF2I1G2A5fE3bg1mgajoyxMA4fhuzSD8aQB2B4g1A20ukb1A4B3F3GG2CujjanIC1ObiB11SD1C5pWC1D4YB8YE5FE-11jXE2F-7jB4CC2G-10uLH4E1C2tA-13yjUH5d1H1A7sWD5E4hmjF-7pykafoGA16hDD4joyD-8OA33B3C2tC7cRE4SA31a1B8d1e2A4F4g1A2A22CC5zwlAC2C1A12==",v=function(){for(var e=0,t=document.domain,n=t.split("."),i="_gd".concat((new Date).getTime());e"}(t,o)+i.INVISIBLE_SPACE+i.MARKERS+function(e){return"")}(t)),e.selection.restore()}else{e.selection.save();var d,u=e.$el.find('.fr-marker[data-type="true"]').length&&e.$el.find('.fr-marker[data-type="true"]').get(0).nextSibling;a(u,t,o),n(u).parent().find("a:empty").remove();do{for(d=e.$el.find("".concat(r(t,o)," > ").concat(r(t,o))),l=0;l
    '),l=u.html().replace(/<\/span>/,c+e.node.closeTagString(u.get(0))+d+h+c+e.node.openTagString(u.get(0))+d),u.replaceWith(e.node.openTagString(u.get(0))+l+e.node.closeTagString(u.get(0))),!0}return!1}function d(t,a){void 0===a&&(a={}),a.style&&delete a.style;var o=e.selection.isCollapsed();e.selection.save();var l=e.$el.find(".fr-marker");if(t&&l.length&&(l[0].parentNode&&l[0].parentNode.tagName===t.toUpperCase()||l[1].parentNode.tagName===t.toUpperCase())){var d=l[0];l[0].parentNode.tagName!==t.toUpperCase()&&(d=l[1]);for(var u=d.parentNode.previousSibling;null!=u;)u.nodeType===Node.TEXT_NODE&&(u.textContent=u.textContent.replace(/\u200B/g,"")),u=u.previousSibling;for(var h=d.parentNode.nextSibling;null!=h;)h.nodeType===Node.TEXT_NODE&&(h.textContent=h.textContent.replace(/\u200B/g,"")),h=h.nextSibling}for(var f=!0;f;){f=!1;for(var p=e.$el.find(".fr-marker"),m=0;m')){if(e.node.isEmpty(_.get(0)))v=n(e.doc.createElement("span")).attr("style","".concat(r,": ").concat(s,";")).html("".concat(i.INVISIBLE_SPACE).concat(i.MARKERS)),_.replaceWith(v);else{var y={};y["style*"]="".concat(r,":"),c(l,"span",y,!0),l=e.$el.find(".fr-marker"),s?(v=n(e.doc.createElement("span")).attr("style","".concat(r,": ").concat(s,";")).html("".concat(i.INVISIBLE_SPACE).concat(i.MARKERS)),l.replaceWith(v)):l.replaceWith(i.INVISIBLE_SPACE+i.MARKERS)}e.html.cleanEmptyTags()}else e.node.isEmpty(_.get(0))&&_.is("span")?(l.replaceWith(i.MARKERS),_.css(r,s)):(l.get(0).nextSibling&&e.node.isBlock(l.get(0).nextSibling)&&!l.get(0).previousSibling&&"LI"===l.get(0).parentNode.tagName&&l.get(0).nextSibling.prepend(l.get(0)),v=n(s?'').concat(i.INVISIBLE_SPACE).concat(i.MARKERS,""):"".concat(i.INVISIBLE_SPACE).concat(i.MARKERS,"")),l.replaceWith(v));v&&f(v,r,s)}else{if(e.selection.save(),null===s||"color"===r&&0").concat(u);t.replaceWith('');var g=l.get(0).outerHTML;n(l.get(0)).replaceWith(g.replace(/<\/span>/g,(function(){return m})))}}function p(t,n){void 0===n&&(n={}),n.style&&delete n.style;var i=e.selection.ranges(0),a=i.startContainer;if(a.nodeType===Node.ELEMENT_NODE&&0"),i.END_MARKER='"),i.MARKERS=i.START_MARKER+i.END_MARKER,i.MODULES.markers=function(e){var t=e.$;function n(){if(!e.$wp)return null;try{var n=e.selection.ranges(0),r=n.commonAncestorContainer;if(r!==e.el&&!e.$el.contains(r))return null;var s=n.cloneRange(),a=n.cloneRange();s.collapse(!0);var o=t(e.doc.createElement("SPAN")).addClass("fr-marker").attr("style","display: none; line-height: 0;").html(i.INVISIBLE_SPACE).get(0);if(s.insertNode(o),o=e.$el.find("span.fr-marker").get(0)){for(var l=o.nextSibling;l&&l.nodeType===Node.TEXT_NODE&&0===l.textContent.length;)t(l).remove(),l=e.$el.find("span.fr-marker").get(0).nextSibling;return e.selection.clear(),e.selection.get().addRange(a),o}return null}catch(e){}}function r(){e.$el.find(".fr-marker").remove()}return{place:function(n,r,s){var a,o,l;try{var c=n.cloneRange();if(c.collapse(r),c.insertNode(function(n,r){var s=t(e.doc.createElement("SPAN"));return s.addClass("fr-marker").attr("data-id",r).attr("data-type",n).attr("style","display: ".concat(e.browser.safari?"none":"inline-block","; line-height: 0;")).html(i.INVISIBLE_SPACE),s.get(0)}(r,s)),!0===r)for(l=(a=e.$el.find('span.fr-marker[data-type="true"][data-id="'.concat(s,'"]')).get(0)).nextSibling;l&&l.nodeType===Node.TEXT_NODE&&0===l.textContent.length;)t(l).remove(),l=a.nextSibling;if(!0===r&&!n.collapsed){for(;!e.node.isElement(a.parentNode)&&!l;)-1'):t(r).append('');else if(e.cursor.isAtStart(i,r))t(r).before(''),t(i).remove();else if(e.cursor.isAtEnd(i,r))t(r).after(''),t(i).remove();else{for(var s=i,a="",o="";s=s.parentNode,a+=e.node.closeTagString(s),o=e.node.openTagString(s)+o,s!==r;);t(i).replaceWith('');var l=e.node.openTagString(r)+t(r).html()+e.node.closeTagString(r);l=l.replace(/<\/span>/g,"".concat(a,'').concat(o)),t(r).replaceWith(l)}return e.$el.find(".fr-marker").get(0)},insertAtPoint:function(t){var i,s=t.clientX,a=t.clientY;r();var o=null;if(void 0!==e.doc.caretPositionFromPoint?(i=e.doc.caretPositionFromPoint(s,a),(o=e.doc.createRange()).setStart(i.offsetNode,i.offset),o.setEnd(i.offsetNode,i.offset)):void 0!==e.doc.caretRangeFromPoint&&(i=e.doc.caretRangeFromPoint(s,a),(o=e.doc.createRange()).setStart(i.startContainer,i.startOffset),o.setEnd(i.startContainer,i.startOffset)),null!==o&&void 0!==e.win.getSelection){var l=e.win.getSelection();l.removeAllRanges(),l.addRange(o)}else if(void 0!==e.doc.body.createTextRange)try{(o=e.doc.body.createTextRange()).moveToPoint(s,a);var c=o.duplicate();c.moveToPoint(s,a),o.setEndPoint("EndToEnd",c),o.select()}catch(e){return!1}n()},remove:r}},i.MODULES.selection=function(e){var t=e.$;function n(){var t="";return e.win.getSelection?t=e.win.getSelection():e.doc.getSelection?t=e.doc.getSelection():e.doc.selection&&(t=e.doc.selection.createRange().text),t.toString()}function r(){return e.win.getSelection?e.win.getSelection():e.doc.getSelection?e.doc.getSelection():e.doc.selection.createRange()}function s(t){var n=r(),i=[];if(n&&n.getRangeAt&&n.rangeCount){i=[];for(var s=0;s'.concat(n[t].innerHTML));var i=!1,r=h(e.el);for(r.atStart&&r.atEnd&&(i=!0),n=e.el.querySelectorAll(".fr-mk"),t=0;t"):t(o).find(".fr-inner").filter(m).html("
    "):(t(o).empty(),t(o).attr("data-del-cell",!0)):0"),e.spaces.normalize());var L=e.$el.find(".fr-marker").last().get(0),k=e.$el.find(".fr-marker").first().get(0);void 0!==L&&void 0!==k&&!L.nextSibling&&k.previousSibling&&"BR"===k.previousSibling.tagName&&e.node.isElement(L.parentNode)&&e.node.isElement(k.parentNode)&&e.$el.append("
    "),c()},blocks:function(n){var i,a,l=[],c=r();if(g()&&c.rangeCount){var d=s();for(i=0;i"))}function i(){e.$wp.removeClass("show-placeholder")}function r(){if(!e.$wp)return!1;e.core.isEmpty()?n():i()}return{_init:function(){if(!e.$wp)return!1;e.events.on("init input keydown keyup contentChanged initialized",r)},show:n,hide:i,refresh:r,isVisible:function(){return!e.$wp||e.node.hasClass(e.$wp.get(0),"show-placeholder")}}},i.UNICODE_NBSP=String.fromCharCode(160),i.VOID_ELEMENTS=["area","base","br","col","embed","hr","img","input","keygen","link","menuitem","meta","param","source","track","wbr"],i.BLOCK_TAGS=["address","article","aside","audio","blockquote","canvas","details","dd","div","dl","dt","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","header","hgroup","hr","li","main","nav","noscript","ol","output","p","pre","section","table","tbody","td","tfoot","th","thead","tr","ul","video"],Object.assign(i.DEFAULTS,{htmlAllowedEmptyTags:["textarea","a","iframe","object","video","style","script",".fa",".fr-emoticon",".fr-inner","path","line","hr"],htmlDoNotWrapTags:["script","style"],htmlSimpleAmpersand:!1,htmlIgnoreCSSProperties:[],htmlExecuteScripts:!0}),i.MODULES.html=function(e){var t=e.$;function n(){return e.opts.enter===i.ENTER_P?"p":e.opts.enter===i.ENTER_DIV?"div":e.opts.enter===i.ENTER_BR?null:void 0}function r(t,n){return!(!t||t===e.el)&&(n?-1!=["PRE","SCRIPT","STYLE"].indexOf(t.tagName)||r(t.parentNode,n):-1!==["PRE","SCRIPT","STYLE"].indexOf(t.tagName))}function s(t){var n,r=[],s=[];if(t){var o=e.el.querySelectorAll(".fr-marker");for(n=0;n";return t&&(n="")),n}function p(t){var n=t.parentNode;if(n&&(e.node.isBlock(n)||e.node.isElement(n))&&["TD","TH"].indexOf(n.tagName)<0){for(var r=t.previousSibling,s=t.nextSibling;r&&(r.nodeType===Node.TEXT_NODE&&0===r.textContent.replace(/\n|\r/g,"").length||e.node.hasClass(r,"fr-tmp"));)r=r.previousSibling;if(s)return!1;r&&n&&"BR"!==r.tagName&&!e.node.isBlock(r)&&!s&&0").concat(i.MARKERS,"
    ")),e.selection.restore()):e.$el.html("<".concat(n(),">
    "))):e.el.querySelector("*:not(.fr-marker):not(br)")||(e.core.hasFocus()?(e.$el.html("".concat(i.MARKERS,"
    ")),e.selection.restore()):e.$el.html("
    ")))}function v(e,t){return h(e,"<".concat(t,"[^>]*?>([\\w\\W]*)"),1)}function _(n,i){var r=t("
    ]*?)>"),1)||"",">"));return e.node.rawAttributes(r.get(0))}function y(e){return(h(e,"]*?)>",0)||"").replace(/\n/g," ").replace(/ {2,}/g," ")}function b(t,n){e.opts.htmlExecuteScripts?t.html(n):t.get(0).innerHTML=n}function x(e){var t;return(t=/:not\(([^)]*)\)/g).test(e)&&(e=e.replace(t," $1 ")),100*(e.match(/(#[^\s+>~.[:]+)/g)||[]).length+10*(e.match(/(\[[^]]+\])/g)||[]).length+10*(e.match(/(\.[^\s+>~.[:]+)/g)||[]).length+10*(e.match(/(:[\w-]+\([^)]*\))/gi)||[]).length+10*(e.match(/(:[^\s+>~.[:]+)/g)||[]).length+(e.match(/(::[^\s+>~.[:]+|:first-line|:first-letter|:before|:after)/gi)||[]).length+((e=(e=e.replace(/[*\s+>~]/g," ")).replace(/[#.]/g," ")).match(/([^\s+>~.[:]+)/g)||[]).length}function M(t){if(e.events.trigger("html.processGet",[t]),t&&t.getAttribute&&""===t.getAttribute("class")&&t.removeAttribute("class"),t&&t.getAttribute&&""===t.getAttribute("style")&&t.removeAttribute("style"),t&&t.nodeType===Node.ELEMENT_NODE){var n,i=t.querySelectorAll('[class=""],[style=""]');for(n=0;n")}},cleanEmptyTags:o,cleanWhiteTags:k,cleanBlankSpaces:u,blocks:function(){return e.$el.get(0).querySelectorAll(a())},getDoctype:f,set:function(n){var i=e.clean.html((n||"").trim(),[],[],e.opts.fullPage),r=new RegExp("%3A//","g"),s=i.replace(r,"://");if(e.opts.fullPage){var a=v(s,"body")||(0<=s.indexOf("",c=_(s,"head"),d=t("
    ");d.append(l).contents().each((function(){(this.nodeType===Node.COMMENT_NODE||0<=["BASE","LINK","META","NOSCRIPT","SCRIPT","STYLE","TEMPLATE","TITLE"].indexOf(this.tagName))&&this.parentNode.removeChild(this)}));var u=d.html().trim();l=t("
    ").append(l).contents().map((function(){return this.nodeType===Node.COMMENT_NODE?"\x3c!--".concat(this.nodeValue,"--\x3e"):0<=["BASE","LINK","META","NOSCRIPT","SCRIPT","STYLE","TEMPLATE","TITLE"].indexOf(this.tagName)?this.outerHTML:""})).toArray().join("");var h=y(s),f=_(s,"html");b(e.$el,"".concat(u,"\n").concat(a)),e.node.clearAttributes(e.el),e.$el.attr(o),e.$el.addClass("fr-view"),e.$el.attr("spellcheck",e.opts.spellcheck),e.$el.attr("dir",e.opts.direction),b(e.$head,l),e.node.clearAttributes(e.$head.get(0)),e.$head.attr(c),e.node.clearAttributes(e.$html.get(0)),e.$html.attr(f),e.iframe_document.doctype.parentNode.replaceChild(function(e,t){var n=e.match(//i);return n?t.implementation.createDocumentType(n[1],n[3],n[4]):t.implementation.createDocumentType("html")}(h,e.iframe_document),e.iframe_document.doctype)}else b(e.$el,s);var p=e.edit.isDisabled();e.edit.on(),e.core.injectStyle(e.opts.iframeDefaultStyle+e.opts.iframeStyle),m(),e.opts.useClasses||(e.$el.find("[fr-original-class]").each((function(){this.setAttribute("class",this.getAttribute("fr-original-class")),this.removeAttribute("fr-original-class")})),e.$el.find("[fr-original-style]").each((function(){this.setAttribute("style",this.getAttribute("fr-original-style")),this.removeAttribute("fr-original-style")}))),p&&e.edit.off(),e.events.trigger("html.set"),e.events.trigger("charCounter.update"),e.events.trigger("wordCounter.update")},syncInputs:C,get:function(t,n){if(!e.$wp)return e.$oel.clone().removeClass("fr-view").removeAttr("contenteditable").get(0).outerHTML;var i="";e.events.trigger("html.beforeGet");var r,s,a=[],o={},l=[];if(C(),!e.opts.useClasses&&!n){var c=new RegExp("^".concat(e.opts.htmlIgnoreCSSProperties.join("$|^"),"$"),"gi");for(r=0;r=o[g[s]][b]&&(o[g[s]][b]=v,_[y].trim().length))){var L=_[y].trim().split(":");L.splice(0,1);var k=L.join(":").trim();-1").concat(e.$html.find("head").get(0).outerHTML,""));else if(void 0===t&&(t=!1),e.opts.fullPage){i=f(e.iframe_document),e.$el.removeClass("fr-view");var A=e.opts.heightMin,O=e.opts.height,Y=e.opts.heightMax;e.opts.heightMin=null,e.opts.height=null,e.opts.heightMax=null,e.size.refresh(),i+="").concat(e.$html.html(),""),e.opts.iframe&&e.$html&&0(?:[\w\W]*?)<\/style>/g,"")).replace(/]*)data-fr-style="true"([^>]*)>/g,"")).replace(/(?:[\w\W]*?)<\/style>/g,"")).replace(/((?:[\w\W]*?))<\/body>/g,"$3")).replace(/((?:[\w\W]*?))<\/body>/g,"$4")).replace(/((?:[\w\W]*?))<\/body>/g,"$4")).replace(/((?:[\w\W]*?))<\/body>/g,'$6')).replace(/((?:[\w\W]*?))<\/body>/g,"$3")),e.opts.htmlSimpleAmpersand&&(i=i.replace(/&/gi,"&")),e.events.trigger("html.afterGet"),t||(i=i.replace(/]*? class\s*=\s*["']?fr-marker["']?[^>]+>\u200b<\/span>/gi,"")),i=e.clean.invisibleSpaces(i),i=e.clean.exec(i,M);var N=e.events.chainTrigger("html.get",i);return"string"==typeof N&&(i=N),(i=i.replace(/(?:[\w\W]*?)<\/pre>/g,(function(e){return e.replace(/
    /g,"\n")}))).replace(/ ".concat(s,"")),n.indexOf('class="fr-marker"')<0&&(s=function(t){var n=e.doc.createElement("div");return n.innerHTML=t,e.selection.setAtEnd(n,!0),n.innerHTML}(s)),e.node.isEmpty(e.el)&&!e.opts.keepFormatOnDelete&&L(s))e.opts.trackChangesEnabled?e.track_changes.pasteInEmptyEdior(s):e.el.innerHTML=s;else{(function(){var t=e.selection.ranges(0).commonAncestorContainer;return t!==e.el&&!e.$el.contains(t)})()&&e.selection.restore();var a=e.markers.insert();if(a)if(e.opts.trackChangesEnabled)e.track_changes.pasteInEdior(s);else{e.node.isLastSibling(a)&&t(a).parent().hasClass("fr-deletable")&&t(a).insertAfter(t(a).parent());var o=e.node.blockParent(a);if((L(s)||r)&&(e.node.deepestParent(a)||o&&"LI"===o.tagName)){o&&"LI"===o.tagName&&(s=function(n){if(!e.html.defaultTag())return n;var i=e.doc.createElement("div");i.innerHTML=n;for(var r=i.querySelectorAll(":scope > ".concat(e.html.defaultTag())),s=r.length-1;0<=s;s--){var a=r[s];e.node.isBlock(a.previousSibling)||(a.previousSibling&&!e.node.isEmpty(a)&&t("
    ").insertAfter(a.previousSibling),a.outerHTML=a.innerHTML)}return i.innerHTML}(s));var l=e.selection.element();if(l&&t(l).parentsUntil(e.el,"ul, ol").length&&"LI"!=a.parentNode.tagName&&("DIV"==t(s).get(0).tagName&&1==t(s).length&&"UL"==t(s).get(0).firstChild.tagName?s=t(s).get(0).firstChild.innerHTML:"UL"==t(s).get(0).tagName&&(s=t(s).get(0).innerHTML),a=e.markers.split()),!(a=e.markers.split()))return!1;a.outerHTML=s}else a.outerHTML=s}else e.el.innerHTML+=s}m(),e.keys.positionCaret(),e.events.trigger("html.inserted")},wrap:d,unwrap:function(){e.$el.find("div.fr-temp-div").each((function(){this.previousSibling&&this.previousSibling.nodeType===Node.TEXT_NODE&&t(this).before("
    "),t(this).attr("data-empty")||!this.nextSibling||e.node.isBlock(this.nextSibling)&&!t(this.nextSibling).hasClass("fr-temp-div")?t(this).replaceWith(t(this).html()):t(this).replaceWith("".concat(t(this).html(),"
    "))})),e.$el.find(".fr-temp-div").removeClass("fr-temp-div").filter((function(){return""===t(this).attr("class")})).removeAttr("class")},escapeEntities:function(e){return e.replace(//gi,">").replace(/"/gi,""").replace(/'/gi,"'")},checkIfEmpty:g,extractNode:v,extractNodeAttrs:_,extractDoctype:y,cleanBRs:function(){for(var t=e.el.getElementsByTagName("br"),n=0;n").concat(i.MARKERS,"
    ")):e.$el.html("".concat(i.MARKERS,"
    ")),e.selection.restore(),e.placeholder.refresh(),e.button.bulkRefresh(),e.undo.saveStep()}),0)}function u(){a=!1}function h(){a=!1}function f(){var t=e.html.defaultTag();t?e.$el.html("<".concat(t,">").concat(i.MARKERS,"
    ")):e.$el.html("".concat(i.MARKERS,"
    ")),e.selection.restore()}function p(e,t){var n=(e&&e.parentElement).parentElement;if(e.parentElement&&(-1/g,"")).length<1?e.parentElement.insertAdjacentHTML("afterbegin"," "):" "!=i&&" "!=i&&"Backspace"==t.key?o(t):" "!=i&&" "!=i&&"Delete"==t.key&&l(t),!0}if(s(e).is("p")){var r=e.innerHTML.replace(/
    /g,"");return r.length<1?e.insertAdjacentHTML("afterbegin"," "):" "!=r&&" "!=r&&"Backspace"==t.key?o(t):" "!=r&&" "!=r&&"Delete"==t.key&&l(t),!0}}return!1}function m(n){var r=e.selection.element();if(r&&0<=["INPUT","TEXTAREA"].indexOf(r.tagName))return!0;if(n&&b(n.which)){var s=e.selection.element(),c=e.selection.get(),d=c.anchorNode,u=c.anchorOffset;if(d.nodeType===Node.TEXT_NODE&&0e.$wp.offset().top-e.helpers.scrollTop()+e.$wp.height()-20?e.$wp.scrollTop(t+e.$wp.scrollTop()-(e.$wp.height()+e.$wp.offset().top)+e.helpers.scrollTop()+20):e.opts.iframe&&i&&(e.$wp.scrollTop()>i?e.$wp.scrollTop(i-20):i>e.$wp.scrollTop()+e.$wp.height()&&e.$wp.scrollTop(i))}else t=e.position.getBoundingRect().top,e.opts.toolbarBottom&&(t+=e.opts.toolbarStickyOffset),(e.helpers.isIOS()||e.helpers.isAndroid())&&(t-=e.helpers.scrollTop()),e.opts.iframe&&(t+=e.$iframe.offset().top,t-=e.helpers.scrollTop()),(t+=e.opts.toolbarStickyOffset)>e.o_win.innerHeight-20&&s(e.o_win).scrollTop(t+e.helpers.scrollTop()-e.o_win.innerHeight+20),t=e.position.getBoundingRect().top,e.opts.toolbarBottom||(t-=e.opts.toolbarStickyOffset),(e.helpers.isIOS()||e.helpers.isAndroid())&&(t-=e.helpers.scrollTop()),e.opts.iframe&&(t+=e.$iframe.offset().top,t-=e.helpers.scrollTop()),t<100&&s(e.o_win).scrollTop(t+e.helpers.scrollTop()-100)}function _(n){var r=e.selection.element();if(r&&0<=["INPUT","TEXTAREA"].indexOf(r.tagName))return!0;if(n&&0===n.which&&t&&(n.which=t),e.helpers.isAndroid()&&e.browser.mozilla)return!0;if(a)return!1;if(n&&e.helpers.isIOS()&&n.which===i.KEYCODE.ENTER&&e.doc.execCommand("undo"),!e.selection.isCollapsed())return!0;if(n&&(n.which===i.KEYCODE.META||n.which===i.KEYCODE.CTRL))return!0;if(n&&b(n.which))return!0;if(n&&!e.helpers.isIOS()&&(n.which===i.KEYCODE.ENTER||n.which===i.KEYCODE.BACKSPACE||37<=n.which&&n.which<=40&&!e.browser.msie))try{v()}catch(e){}var s=e.selection.element();if(function(e){if(!e)return!1;var t=e.innerHTML;return!!((t=t.replace(/]*? class\s*=\s*["']?fr-marker["']?[^>]+>\u200b<\/span>/gi,""))&&/\u200B/.test(t)&&0=i.KEYCODE.ARROW_LEFT&&e<=i.KEYCODE.ARROW_DOWN)return!0}function x(t){if(t>=i.KEYCODE.ZERO&&t<=i.KEYCODE.NINE)return!0;if(t>=i.KEYCODE.NUM_ZERO&&t<=i.KEYCODE.NUM_MULTIPLY)return!0;if(t>=i.KEYCODE.A&&t<=i.KEYCODE.Z)return!0;if(e.browser.webkit&&0===t)return!0;switch(t){case i.KEYCODE.SPACE:case i.KEYCODE.QUESTION_MARK:case i.KEYCODE.NUM_PLUS:case i.KEYCODE.NUM_MINUS:case i.KEYCODE.NUM_PERIOD:case i.KEYCODE.NUM_DIVISION:case i.KEYCODE.SEMICOLON:case i.KEYCODE.FF_SEMICOLON:case i.KEYCODE.DASH:case i.KEYCODE.EQUALS:case i.KEYCODE.FF_EQUALS:case i.KEYCODE.COMMA:case i.KEYCODE.PERIOD:case i.KEYCODE.SLASH:case i.KEYCODE.APOSTROPHE:case i.KEYCODE.SINGLE_QUOTE:case i.KEYCODE.OPEN_SQUARE_BRACKET:case i.KEYCODE.BACKSLASH:case i.KEYCODE.CLOSE_SQUARE_BRACKET:return!0;default:return!1}}function M(t){var s=t.which;if(y(t)||37<=s&&s<=40||!x(s)&&s!==i.KEYCODE.DELETE&&s!==i.KEYCODE.BACKSPACE&&s!==i.KEYCODE.ENTER&&s!==i.KEYCODE.IME)return!0;n||(r=e.snapshot.get(),e.undo.canDo()||e.undo.saveStep()),clearTimeout(n),n=setTimeout((function(){n=null,e.undo.saveStep()}),Math.max(250,e.opts.typingTimer))}function w(t){var i=t.which;if(y(t)||37<=i&&i<=40)return!0;r&&n?(e.undo.saveStep(r),r=null):void 0!==i&&0!==i||r||n||e.undo.saveStep()}function C(t){if(t&&"BR"===t.tagName)return!1;try{return 0===(t.textContent||"").length&&t.querySelector&&!t.querySelector(":scope > br")||t.childNodes&&1===t.childNodes.length&&t.childNodes[0].getAttribute&&("false"===t.childNodes[0].getAttribute("contenteditable")||e.node.hasClass(t.childNodes[0],"fr-img-caption"))}catch(e){return!1}}function L(t){var n=e.el.childNodes,r=e.html.defaultTag(),s=e.node.blockParent(e.selection.blocks()[0]);return s&&"TR"==s.tagName&&null==s.getAttribute("contenteditable")&&(s=s.closest("table")),!e.node.isEditable(t.target)||s&&"false"===s.getAttribute("contenteditable")?e.toolbar.disable():e.toolbar.enable(),!(!t.target||t.target===e.el)||0===n.length||void(n[0].offsetHeight+n[0].offsetTop<=t.offsetY?C(n[n.length-1])&&(r?e.$el.append("<".concat(r,">").concat(i.MARKERS,"
    ")):e.$el.append("".concat(i.MARKERS,"
    ")),e.selection.restore(),v()):t.offsetY<=10&&C(n[0])&&(r?e.$el.prepend("<".concat(r,">").concat(i.MARKERS,"
    ")):e.$el.prepend("".concat(i.MARKERS,"
    ")),e.selection.restore(),v()))}function k(){n&&clearTimeout(n)}return{_init:function(){e.events.on("keydown",M),e.events.on("input",c),e.events.on("mousedown",h),e.events.on("keyup input",w),e.events.on("keypress",u),e.events.on("keydown",m),e.events.on("keyup",_),e.events.on("destroy",k),e.events.on("html.inserted",_),e.events.on("cut",d),e.opts.multiLine&&e.events.on("click",L),e.events.on("initialized",(function(){e.el.addEventListener("compositionstart",(function(){if(e.selection.isCollapsed()){var t=e.selection.ranges(0),n=t.startContainer,r=t.startOffset;if(n&&n.nodeType===Node.TEXT_NODE&&r<=n.textContent.length&&0

    "===t||""===t||/([ ])/.test(t)||/([

    ]*)/.test(t))&&(t=e.win.localStorage.getItem("fr-copied-html"))):/text\/uri-list/.test(o)&&e.browser.safari?t=i.clipboardData.getData("text/uri-list"):/text\/rtf/.test(o)&&e.browser.safari?t=n:/public.rtf/.test(o)&&e.browser.safari&&(t=i.clipboardData.getData("text/rtf")),r=i.clipboardData.getData("text"),""!==t)return _(),i.preventDefault&&(i.stopPropagation(),i.preventDefault()),!1;t=null}return function(){if(e.selection.save(),e.events.disableBlur(),t=null,a){a.html("");var n=g(e.selection.get().anchorNode)+e.$wp.offset().top;a.css("top",n),e.browser.edge&&e.opts.iframe&&e.$el.append(a)}else{var i=document.getElementsByTagName("BODY")[0],r=window.getComputedStyle(i).transform;if("none"!==r){var s=g(e.selection.get().anchorNode)+e.$wp.offset().top;a=l('
    ')}else a=l('
    ');e.browser.webkit||e.browser.mozilla?("none"===r&&a.css("top",e.$sc.scrollTop()),e.$el.after(a)):e.browser.edge&&e.opts.iframe?e.$el.append(a):e.$box.after(a),e.events.on("destroy",(function(){a.remove()}))}var o;e.helpers.isIOS()&&e.$sc&&(o=e.$sc.scrollTop()),e.opts.iframe&&e.$el.attr("contenteditable","false"),e.helpers.isIOS()&&e.$sc&&e.$sc.scrollTop(o);var c=u.clipboardData.getData("Text");4e5")),""!==t){e.keys.forceUndo(),o=e.snapshot.get(),e.selection.save(),e.$el.find(".fr-marker").removeClass("fr-marker").addClass("fr-marker-helper");var d=e.markers.insertAtPoint(r);if(e.$el.find(".fr-marker").removeClass("fr-marker").addClass("fr-marker-placeholder"),e.$el.find(".fr-marker-helper").addClass("fr-marker").removeClass("fr-marker-helper"),e.selection.restore(),e.selection.remove(),e.$el.find(".fr-marker-placeholder").addClass("fr-marker").removeClass("fr-marker-placeholder"),!1!==d){var u=e.el.querySelector(".fr-marker");return l(u).replaceWith(i.MARKERS),e.selection.restore(),_(),r.preventDefault&&(r.stopPropagation(),r.preventDefault()),!1}}else t=null}}function g(e){return e.nodeType===Node.TEXT_NODE?e.parentNode.offsetTop:e.offsetTop}function v(t){var n=e.html.defaultTag()||"p",r="<").concat(n,">");return e.opts.enter===i.ENTER_BR?r="
    ":t="<".concat(n,">")+t,t.replace(/\n{2,}/g,r)}function _(){e.opts.iframe&&e.$el.attr("contenteditable","true"),e.browser.edge&&e.opts.iframe&&e.$box.after(a),o||(e.keys.forceUndo(),o=e.snapshot.get()),t||(t=a.get(0).innerHTML,r=a.text(),e.$el[0].setAttribute("plainpaste",!0),e.selection.restore(),e.events.enableBlur());var n=t.match(/(MSFontService|class="?Mso|class='?Mso|class="?Xl|class='?Xl|class=Xl|style="[^"]*\bmso-|style='[^']*\bmso-|w:WordDocument|LibreOffice)/gi),i=e.events.chainTrigger("paste.beforeCleanup",t);if(i&&"string"==typeof i){t=i;var s=(new DOMParser).parseFromString(i,"text/html");r=s.body.innerText}(!n||n&&!1!==e.events.trigger("paste.wordPaste",[t]))&&b(t,n)}function y(e){for(var t="",n=0;n++]*(]*>[\s]*[.\s\S\w\W<>]*[\s]*<\/style>)[.\s\S\w\W<>]*/gi,"$1")),t=(t=(t=h+t.replace(/[.\s\S\w\W<>]*]*>[\s]*([.\s\S\w\W<>]*)[\s]*<\/body>[.\s\S\w\W<>]*/gi,"$1")).replace(/(?:[\w\W]*?)<\/pre>/g,(function(e){return e.replace(/\n/g,"
    ")}))).replace(/ \n/g," ").replace(/\n /g," ").replace(/([^>])\n([^<])/g,"$1 $2")}var f=!1;0<=t.indexOf('id="docs-internal-guid')&&(t=t.replace(/^[\w\W\s\S]* id="docs-internal-guid[^>]*>([\w\W\s\S]*)<\/b>[\w\W\s\S]*$/g,"$1"),f=!0),(0<=t.indexOf('content="Sheets"')||0<=t.indexOf("google-sheets-html-origin"))&&(t=t.replace(/width:0px;/g,""));var p=!1;if(!n)if((p=function(){var t=null;try{t=e.win.localStorage.getItem("fr-copied-text")}catch(e){}return!(!t||!r||s&&-1===s.indexOf("text/html")||r.replace(/\u00A0/gi," ").replace(/\r|\n/gi,"")!==t.replace(/\u00A0/gi," ").replace(/\r|\n/gi,"")&&r.replace(/\s/g,"")!==t.replace(/\s/g,""))}())&&(t=e.win.localStorage.getItem("fr-copied-html")),p)t=e.clean.html(t,e.opts.pasteDeniedTags,e.opts.pasteDeniedAttrs);else{var m=e.opts.htmlAllowedStyleProps;e.opts.htmlAllowedStyleProps=e.opts.pasteAllowedStyleProps,e.opts.htmlAllowComments=!1,t=(t=(t=t.replace(/\s*<\/span>/g,y(e.opts.tabSpaces||4))).replace(/(\t*)<\/span>/g,(function(t,n){return y(n.length*(e.opts.tabSpaces||4))}))).replace(/\t/g,y(e.opts.tabSpaces||4)),t=e.clean.html(t,e.opts.pasteDeniedTags,e.opts.pasteDeniedAttrs),e.opts.htmlAllowedStyleProps=m,e.opts.htmlAllowComments=!0,e.html.defaultTag()&&"div"===e.html.defaultTag()||(t=M(t)),t=(t=t.replace(/\r/g,"")).replace(/^ */g,"").replace(/ *$/g,"")}!n||e.wordPaste&&a||(0===(t=t.replace(/^\n*/g,"").replace(/^ /g,"")).indexOf("")&&(t="".concat(t,"
    ")),t=M(t=function(t){var n;t=(t=(t=(t=(t=(t=(t=(t=(t=(t=(t=(t=(t=(t=(t=t.replace(/([\s\S]*?)<\/p>/gi,"
    • $3
    ")).replace(/([\s\S]*?)<\/p>/gi,"
    1. $3
    ")).replace(/([\s\S]*?)<\/p>/gi,"
      $5")).replace(/([\s\S]*?)<\/p>/gi,"
        $5")).replace(/([\s\S]*?)<\/p>/gi,"$5")).replace(/([\s\S]*?)<\/p>/gi,"$5")).replace(/([\s\S]*?)<\/p>/gi,"$5")).replace(/([\s\S]*?)<\/p>/gi,"$5
    ")).replace(/([\s\S]*?)<\/p>/gi,"$5")).replace(/([\s\S]*?)([\s\S]*?)/gi,"")).replace(/([\s\S]*?)/gi,"")).replace(/(\n|\r| class=(")?Mso[a-zA-Z0-9]+(")?)/gi," ")).replace(//gi,"")).replace(/<(\/)*(meta|link|span|\\?xml:|st1:|o:|font)(.*?)>/gi,"");var i,r=["style","script","applet","embed","noframes","noscript"];for(n=0;n"),"gi");t=t.replace(s,"")}for(t=(t=(t=t.replace(/ /gi," ")).replace(/]*)><\/td>/g,"
    ")).replace(/]*)><\/th>/g,"
    ");(t=(i=t).replace(/<[^/>][^>]*><\/[^>]+>/gi,""))!==i;);t=(t=t.replace(/]*)>/gi,'
  • ')).replace(/]*)>/gi,""),t=(t=(t=e.clean.html(t,e.opts.pasteDeniedTags,e.opts.pasteDeniedAttrs)).replace(/(.[^<]+)<\/a>/gi,"$1")).replace(/
    */g,"
    ");var a=e.o_doc.createElement("div");a.innerHTML=t;var o=a.querySelectorAll("li[data-indent]");for(n=0;n ul, :scope > ol");d||(d=document.createElement("ul"),c.appendChild(d)),d.appendChild(l)}else l.removeAttribute("data-indent")}return e.html.cleanBlankSpaces(a),a.innerHTML}(t))),e.opts.pastePlain&&(t=function(t){var n,i=null,r=e.doc.createElement("div");r.innerHTML=t;var s=r.querySelectorAll("p, div, h1, h2, h3, h4, h5, h6, pre, blockquote");for(n=0;n").concat(i.innerText,""));i.outerHTML=a}for(n=(s=r.querySelectorAll("*:not(".concat("p, div, h1, h2, h3, h4, h5, h6, pre, blockquote, ul, ol, li, table, tbody, thead, tr, td, br, img".split(",").join("):not("),")"))).length-1;0<=n;n--)(i=s[n]).outerHTML=i.innerHTML;return function t(n){for(var i=e.node.contents(n),r=0;r")?(e.html.cleanBlankSpaces(v),e.spaces.normalize(v,!0)):e.spaces.normalize(v);var _=v.getElementsByTagName("span");for(c=_.length-1;0<=c;c--){var b=_[c];0===b.attributes.length&&(b.outerHTML=b.innerHTML)}if(!0===e.opts.linkAlwaysBlank){var x=v.getElementsByTagName("a");for(c=x.length-1;0<=c;c--){var w=x[c];w.getAttribute("target")||w.setAttribute("target","_blank")}}var C=e.selection.element(),L=!1;if(C&&l(C).parentsUntil(e.el,"ul, ol").length&&(L=!0),L){var k=v.children;1===k.length&&0<=["OL","UL"].indexOf(k[0].tagName)&&(k[0].outerHTML=k[0].innerHTML)}if(!f){var S=v.getElementsByTagName("br");for(c=S.length-1;0<=c;c--){var T=S[c];e.node.isBlock(T.previousSibling)&&T.parentNode.removeChild(T)}}if(e.opts.enter===i.ENTER_BR)for(c=(d=v.querySelectorAll("p, div")).length-1;0<=c;c--)0===(u=d[c]).attributes.length&&(u.outerHTML=u.innerHTML+(u.nextSibling&&!e.node.isEmpty(u)?"
    ":""));else if(e.opts.enter===i.ENTER_DIV)for(c=(d=v.getElementsByTagName("p")).length-1;0<=c;c--)0===(u=d[c]).attributes.length&&(u.outerHTML="
    ".concat(u.innerHTML,"
    "));else e.opts.enter===i.ENTER_P&&1===v.childNodes.length&&"P"===v.childNodes[0].tagName&&0===v.childNodes[0].attributes.length&&(v.childNodes[0].outerHTML=v.childNodes[0].innerHTML);if(v.childNodes[0]instanceof HTMLHeadingElement&&e.selection.element().tagName===v.childNodes[0].tagName&&(v.childNodes[0].outerHTML=v.childNodes[0].innerHTML),v.children&&0 div:not([style]), td > div:not([style]), th > div:not([style]), li > div:not([style])")));r.length;){var s=r[r.length-1];if(e.html.defaultTag()&&"div"!==e.html.defaultTag())s.querySelector(e.html.blockTagsQuery())?s.outerHTML=s.innerHTML:s.outerHTML="<".concat(e.html.defaultTag(),">").concat(s.innerHTML,"");else{var a=s.querySelectorAll("*");!a.length||"BR"!==a[a.length-1].tagName&&0===s.innerText.length||!a.length||"BR"!==a[a.length-1].tagName||a[a.length-1].nextSibling?s.outerHTML=s.innerHTML+(s.nextSibling?"
    ":""):s.outerHTML=s.innerHTML}r=x(Array.prototype.slice.call(i.querySelectorAll(":scope > div:not([style]), td > div:not([style]), th > div:not([style]), li > div:not([style])")))}for(r=x(Array.prototype.slice.call(i.querySelectorAll("div:not([style])")));r.length;){for(n=0;ne.undo_index;)e.undo_stack.pop()}function s(){e.undo_index=0,e.undo_stack=[]}function a(){e.undo_stack=[]}return{_init:function(){s(),e.events.on("initialized",(function(){n=(e.$wp?e.$el.html():e.$oel.get(0).outerHTML).replace(/ style=""/g,"")})),e.events.on("blur",(function(){e.el.querySelector(".fr-dragging")||e.undo.saveStep()})),e.events.on("keydown",t),e.events.on("destroy",a)},run:function(){if(1"));e.$head.append(o)}}}"auto"!==e.opts.direction&&e.$box.removeClass("fr-ltr fr-rtl").addClass("fr-".concat(e.opts.direction)),e.$el.attr("dir",e.opts.direction),e.$wp.attr("dir",e.opts.direction),1'.concat(n,""));for(var i=0;i'));r.get(0).addEventListener("load",e.size.syncIframe),e.$head.append(r)}}},hasFocus:function(){return e.browser.mozilla&&e.helpers.isMobile()?e.selection.inEditor():e.node.hasFocus(e.el)||0 span").css("width")),u=e.helpers.getPX(c.css("paddingLeft")),h=e.helpers.getPX(c.css("paddingRight"));c.css("width",d*e.opts.colorsStep+u+h)}return e.button.bindCommands(l,!1),l}function y(t){var r=s[t];return{_windowResize:function(){var n=r.data("instance")||e;if(!n.helpers.isMobile()&&r.isVisible()){var i=r.find(".fr-file-progress-bar-layer");if("file.insert"===t&&0').concat(r.attr("placeholder"),"")),r.attr("placeholder",""))}}(o),e.events.$on(o,"focus",c),e.events.$on(o,"blur change",d),e.events.$on(r,"click",".fr-checkbox + label",x),e.accessibility.registerPopup(t),e.helpers.isIOS()&&e.events.$on(r,"touchend","label",(function(){n("#".concat(n(this).attr("for"))).prop("checked",(function(e,t){return!t}))}),!0),e.events.$on(n(e.o_win),"resize",a._windowResize,!0),"filesManager.insert"===t&&s["filesManager.insert"].css("zIndex",2147483641),r},get:function(t){var n=s[t];return n&&!n.data("inst".concat(e.id))&&b(y(t),t),n},show:function(t,n,i,o,l){if(u(t)||(h()&&0 .fr-dropdown-wrapper").css("height",""),c.next().attr("aria-hidden",!0).css("overflow","").find("> .fr-dropdown-wrapper").css("height",""),s[t].data("instance",e),e.$tb&&e.$tb.data("instance",e);var d=u(t);s[t].addClass("fr-active").removeClass("fr-hidden").find("input, textarea").removeAttr("disabled");var f=s[t].data("container");if(function(t,n){n.isVisible()||(n=e.$sc),n.contains([s[t].get(0)])||n.append(s[t])}(t,f),e.opts.toolbarInline&&f&&e.$tb&&f.get(0)===e.$tb.get(0)&&(a(t,e.$sc),i=e.$tb.offset().top-e.helpers.getPX(e.$tb.css("margin-top")),n=e.$tb.offset().left+e.$tb.outerWidth()/2,e.node.hasClass(e.$tb.get(0),"fr-above")&&i&&(i+=e.$tb.outerHeight()),o=0),f=s[t].data("container"),e.opts.iframe&&!o&&!d){var m=e.helpers.getPX(e.$wp.find(".fr-iframe").css("padding-top")),v=e.helpers.getPX(e.$wp.find(".fr-iframe").css("padding-left"));n&&(n-=e.$iframe.offset().left+v),i&&(i-=e.$iframe.offset().top+m)}f.is(e.$tb)?e.$tb.css("zIndex",(e.opts.zIndex||1)+4):s[t].css("zIndex",(e.opts.zIndex||1)+3),e.opts.toolbarBottom&&f&&e.$tb&&f.get(0)===e.$tb.get(0)&&(s[t].addClass("fr-above"),i&&(i-=s[t].outerHeight())),l&&(n-=s[t].width()/2),n+s[t].outerWidth()>e.$sc.offset().left+e.$sc.width()&&(n-=n+s[t].outerWidth()-e.$sc.offset().left-e.$sc.width()),nwindow.innerHeight/2&&(window.innerWidth<500?n.get(0).clientHeight>.6*t&&o(n):400 button.fr-command").first());if(0t(e.o_win).width()&&(u=t(e.o_win).width()-e.$tooltip.outerWidth()),void 0===r&&(r=e.opts.toolbarBottom),n.offset().top-t(window).scrollTop()+n.outerHeight()+10>=t(window).height()&&(r=!0);var h=r?n.offset().top-e.$tooltip.height():n.offset().top+n.outerHeight();e.$tooltip.css("position",""),e.$tooltip.css("left",u),e.$tooltip.css("top",Math.ceil(h));var f={};e.$wp&&0 .fr-dropdown-wrapper");if(!s){var h=n.data("cmd");r.find(".fr-command").removeClass("fr-active").attr("aria-selected",!1),i.COMMANDS[h]&&i.COMMANDS[h].refreshOnShow&&i.COMMANDS[h].refreshOnShow.apply(l,[n,r]),r.css("left",n.offset().left-n.parents(".fr-btn-wrap, .fr-toolbar, .fr-buttons").offset().left-("rtl"===e.opts.direction?r.width()-n.outerWidth():0)),r.addClass("test-height"),c=r.outerHeight(),d=e.helpers.getPX(u.css("max-height")),r.removeClass("test-height"),r.css("top","").css("bottom","");var f=n.outerHeight()/10;if(!e.opts.toolbarBottom&&r.offset().top+n.outerHeight()+ce.$sc.offset().left+e.$sc.width()&&r.css("margin-left",-(r.offset().left+r.outerWidth()-e.$sc.offset().left-e.$sc.width())),r.offset().left .fr-dropdown-wrapper").css("height",""),o.prev(".fr-expanded").removeClass("fr-expanded"),o.parents(".fr-toolbar:not(.fr-inline)").css("zIndex",""),0!==n.parents(".fr-popup").length||e.opts.toolbarInline||(e.node.hasClass(n.get(0),"fr-active")?e.$tb.css("zIndex",(e.opts.zIndex||1)+4):e.$tb.css("zIndex",""));var g=r.find("a.fr-command.fr-active").first();e.helpers.isMobile()||(g.length?(e.accessibility.focusToolbarElement(g),u.scrollTop(Math.abs(g.parents(".fr-dropdown-content").offset().top-g.offset().top)-g.offset().top)):(e.accessibility.focusToolbarElement(n),u.scrollTop(0)))}function l(e){e.addClass("fr-blink"),setTimeout((function(){e.removeClass("fr-blink")}),500);for(var t=e.data("cmd"),n=[];void 0!==e.data("param".concat(n.length+1));)n.push(e.data("param".concat(n.length+1)));var i=a(".fr-dropdown.fr-active");i.length&&(i.removeClass("fr-active").attr("aria-expanded",!1).next().attr("aria-hidden",!0).css("overflow","").find("> .fr-dropdown-wrapper").css("height",""),i.prev(".fr-expanded").removeClass("fr-expanded"),i.parents(".fr-toolbar:not(.fr-inline)").css("zIndex","")),e.parents(".fr-popup, .fr-toolbar").data("instance").commands.exec(t,n)}function c(t){var n=t.parents(".fr-popup, .fr-toolbar").data("instance"),r=e.popups.get("link.insert");if(0===t.parents(".fr-popup").length&&t.data("popup")&&!t.hasClass("fr-btn-active-popup")&&(t.attr("id")==="insertLink-".concat(e.id)&&r&&r.hasClass("fr-active")||t.addClass("fr-btn-active-popup")),0!==t.parents(".fr-popup").length||t.data("popup")||n.popups.hideAll(),n.popups.areVisible()&&!n.popups.areVisible(n)){for(var s=0;s .fr-dropdown-wrapper").css("height",""),t.parents(".fr-toolbar:not(.fr-inline)").css("zIndex",""),t.prev().removeClass("fr-expanded"))}function h(e){e.preventDefault(),e.stopPropagation()}function f(t){if(t.stopPropagation(),!e.helpers.isMobile())return!1}function p(t){var n=1').concat(e.language.translate(a||n.title),"")}else s=e.icon.create(n.icon||t),s+=''.concat(e.language.translate(n.title)||"","");var o=n.popup?' data-popup="true"':"",l=n.modal?' data-modal="true"':"",c=e.shortcuts.get("".concat(t,"."));c=c?" (".concat(c,")"):"";var d="".concat(t,"-").concat(e.id),u="dropdown-menu-".concat(d),h='");if("dropdown"===n.type||"options"===n.type){var f='
    "}return n.hasOptions&&n.hasOptions.apply(e)&&(h='
    '.concat(h," ").concat(p(t+"Options",Object.assign({},n,{type:"options",hasOptions:!1}),i),"
    ")),h}function m(n){var r=e.$tb&&e.$tb.data("instance")||e;if(!1===e.events.trigger("buttons.refresh"))return!0;setTimeout((function(){for(var s=r.selection.inEditor()&&r.core.hasFocus(),a=0;a
  • ':"-"===a&&(r+=''))}return r},buildGroup:function(t){var n="",r="";for(var s in t){var a=t[s];if(a.buttons){for(var o="",l="",c=0,d="left",u=i.TOOLBAR_VISIBLE_BUTTONS,h=0;h
    ':"-"==f&&(o+='')),!m||m&&void 0!==m.plugin&&e.opts.pluginsEnabled.indexOf(m.plugin)<0||(void 0!==t[s].align&&(d=t[s].align),void 0!==t[s].buttonsVisible&&(u=t[s].buttonsVisible),t.showMoreButtons&&u<=c?l+=p(f,m,!0):o+=p(f,m,!0),c++)}if(t.showMoreButtons&&u').concat(o,"
    ")),t.showMoreButtons&&0').concat(l,""))}}return e.opts.toolbarBottom?e.helpers.isMobile()?'
    '.concat(r,"
    ").concat(n,"
    "):"".concat(r,'
    ').concat(n):"".concat(n,'
    ').concat(r)},bindCommands:function(s,a){e.events.bindClick(s,".fr-command:not(.fr-disabled)",d),e.events.$on(s,"".concat(e._mousedown," ").concat(e._mouseup," ").concat(e._move),".fr-dropdown-menu",h,!0),e.events.$on(s,"".concat(e._mousedown," ").concat(e._mouseup," ").concat(e._move),".fr-dropdown-menu .fr-dropdown-wrapper",f,!0);var o=s.get(0).ownerDocument,l="defaultView"in o?o.defaultView:o.parentWindow;function c(n){(!n||n.type===e._mouseup&&n.target!==t("html").get(0)||"keydown"===n.type&&(e.keys.isCharacter(n.which)&&!e.keys.ctrlKey(n)||n.which===i.KEYCODE.ESC))&&(u(s),e.opts.iframe&&function(n){var i=n.find(".fr-popup.fr-active");if(i.length){i.removeClass("fr-active").attr("aria-expanded",!1).next().attr("aria-hidden",!0).css("overflow","").find("> .fr-dropdown-wrapper").css("height",""),i.parents(".fr-toolbar:not(.fr-inline)").css("zIndex",""),i.prev().removeClass("fr-expanded");var r=e.$tb.find(".fr-btn-active-popup");t(r[0]).removeClass("fr-btn-active-popup")}}(s))}e.events.$on(t(l),"".concat(e._mouseup," resize keydown"),c,!0),e.opts.iframe&&e.events.$on(e.$win,e._mouseup,c,!0),e.node.hasClass(s.get(0),"fr-popup")?t.merge(r,s.find(".fr-btn").toArray()):t.merge(n,s.find(".fr-btn").toArray()),e.tooltip.bind(s,".fr-btn, .fr-title",a)},refresh:function(t){var n,r=t.parents(".fr-popup, .fr-toolbar").data("instance")||e,s=t.data("cmd");e.node.hasClass(t.get(0),"fr-dropdown")?n=t.next():(t.removeClass("fr-active"),t.attr("aria-pressed")&&t.attr("aria-pressed",!1)),i.COMMANDS[s]&&i.COMMANDS[s].refresh?i.COMMANDS[s].refresh.apply(r,[t,n]):e.refresh[s]&&r.refresh[s](t,n)},bulkRefresh:g,exec:l,click:c,hideActiveDropdowns:u,addButtons:function(e){for(var t=0;t