layerpro 0.0.72 → 0.0.74
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/index.js +2 -0
- package/package.json +13 -4
package/index.js
ADDED
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
/*! For license information please see index.js.LICENSE.txt */
|
|
2
|
+
(()=>{var e={369:(e,o,t)=>{"use strict";t(173)},173:(e,o,t)=>{!function(){globalThis.layerpro={};var e=t(147);t(255),t(279),t(218),t(822),console.groupCollapsed("%c".concat(e.name," v").concat(e.version,"%c"),"color:orange",""),console.debug("%c".concat(e.name," v").concat(e.version,"%c by Dario Passariello started"),"color:orange",""),console.debug("%cType ".concat(e.name," in this console to see it"),"color:gray",""),console.debug("%cFor help visit: "+e.repository.help,"color:gray",""),console.debug("name: %c"+e.name,"color:orange",""),console.debug("version: %c"+e.version,"color:orange",""),console.debug("description: %c"+e.description,"color:orange",""),console.debug("license: %c"+e.license,"color:orange",""),console.debug("repository: %c"+e.repository.url,"color:orange",""),console.debug("author: %c"+e.author.name,"color:orange",""),console.debug("email: %c"+e.author.email,"color:orange",""),console.groupEnd()}()},279:(e,o,t)=>{"use strict";t.r(o),t.d(o,{popup:()=>R});var i=t(294),r=function(e){var o=!0===e.raised?".popup_raised_"+e.id:"#popup";$('[class^="popup_window_"]',o).removeClass("zHigh"),$('[class^="popup_bar_"]',o).removeClass("pupup_bar_selected"),$('[class^="icon_"]',o).removeClass("pupup_bar_selected"),!0===e.raised&&$('<div class="popup_raised_'+e.id+'">',o).appendTo("#popup").css({"pointer-events":"auto","z-index":layerpro.popup.zIndex($('[class^="popup_overflow_"]',o))+1e3}),$('<div class="popup_overflow_'+e.id+'">',o).appendTo(o).css({top:e.top,left:e.left,right:e.right,bottom:e.bottom,width:e.width,height:e.height,"min-width":e.minWidth,"min-height":e.minHeight,"pointer-events":"auto","z-index":layerpro.popup.zIndex($('[class^="popup_overflow_"]',o))+1}).on("mousedown",(function(o){layerpro.popup.index(e)})).hide().fadeIn(e.fadeIn);var t=$('<div class="popup_window_'+e.id+'">',o).appendTo(".popup_overflow_"+e.id).css({"pointer-events":"auto"}).addClass("zHigh");if(0===[e.top,e.left,e.bottom,e.right].reduce((function(e,o){return"number"==typeof o&&isFinite(o)?e+o:e}),0)&&layerpro.popup.center(e),$('<div class="popup_bar_'+e.id+'">',o).appendTo(t).addClass("pupup_bar_selected"),$('<div class="popup_icon_'+e.id+'">'+e.icon+"</div>",o).appendTo(".popup_bar_"+e.id),$('<div class="popup_drag_'+e.id+'">'+e.name+"</div>",o).appendTo(".popup_bar_"+e.id),$('<div class="popup_option_'+e.id+'">',o).appendTo(".popup_bar_"+e.id),!0===e.iconize&&0===$("#popup_dock").length){$("#root").css("margin","0 0 var( --dock-height ) 0");$('<div id="popup_dock">\n <div id="popup_dock_icon"></div>\n <div id="popup_dock_list"></div>\n <div id="popup_dock_options"></div>\n </div>').appendTo("#popup").css({"pointer-events":"auto","z-index":layerpro.popup.zIndex($("#popup"))+1e3})}if($("#popup_dock").length>0&&!0===e.dockable){var r='\n <div class="icon_'.concat(e.id,'">\n <span>').concat(e.icon,"</span>\n <span>").concat(e.name,"</span>\n ");$(r,"#popup_dock").appendTo("#popup_dock_list").addClass("pupup_bar_selected").find("span").on("click",(function(){$(".popup_overflow_"+e.id+":hidden")?(layerpro.popup.iconize(e),layerpro.popup.index(e)):layerpro.popup.iconize(e),layerpro.popup.index(e)})),$('<button class="icon_close_'.concat(e.id,'">X</button>'),"#popup_dock").appendTo(".icon_".concat(e.id)).on("click",(function(){layerpro.popup.close(e)}))}!0===e.iconize&&$('<button class="button_iconize_'+e.id+' iconize">',"#popup").appendTo(".popup_option_"+e.id).on("click",(function(){layerpro.popup.iconize(e)})),!0===e.maximize&&$('<button class="button_maximize_'+e.id+' maximize">',"#popup").appendTo(".popup_option_"+e.id).on("click",(function(){layerpro.popup.maximize(e)})),!0===e.close&&$('<button class="button_close_'+e.id+' close">',"#popup").appendTo(".popup_option_"+e.id).on("click",(function(){layerpro.popup.close(e)}));var p=$('<div class="popup_overflow_'+e.id+'">',"#popup");$('<div class="popup_internal_'+e.id+'">',p).appendTo(t),$('<div class="popup_body_'+e.id+'">',p).appendTo(".popup_internal_"+e.id).hide().fadeIn(e.fadeIn,(function(){n()}));var n=function(){if(e.body&&!e.source)if(e.body.props){var o;if(null===(o=e.body.props)||void 0===o||!o.children)return console.debug("You need to pass a component to LayerPro");var t=e.body.props.children;r=t,p=$(".popup_body_"+e.id)[0],$(p).html(r).fadeIn(300),(void 0).render(i.createElement(i.StrictMode,{__self:void 0,__source:{fileName:"A:\\NPM\\layerpro\\scripts\\genLayer.tsx",lineNumber:179,columnNumber:7}},r))}else $(".popup_body_"+e.id).html(e.body).fadeIn(300);var r,p;return!1};return e.source&&$(".popup_body_"+e.id).load(e.source,(function(o,t,i){"success"===t&&$(this).hide().html(o).fadeIn(e.fadeIn),"error"===t&&console.log("Error: "+i.status+" "+i.statusText)})),e.movable&&layerpro.popup.movable(e),e.resizable&&layerpro.popup.resizable(e),e.isMaximize&&layerpro.popup.maximize(e),!1},p=function(e){return[e.clientX,e.clientY,e.screenX,e.screenY]};layerpro.alert=function(e){var o=layerpro.popup.open({id:"__alert",body:"",source:"",width:380,height:220,name:"Warning",icon:"⚠",iconize:!1,maximize:!1,close:!0,isMaximize:!1,dockable:!1,raised:!0,movable:!0,resizable:!1,store:!1,top:"",left:"",right:"",bottom:"",fadeIn:"",fadeOut:"",minWidth:"",minHeight:""}),t="";return t+="<div class='popup_prompt'>",t+='<div class="popup_message_body">',t+="<center>",t+=e,t+="</center>",t+="</div>",t+='<button id="a_'+o.id+'" type="button">CLOSE</button>',$(".popup_body_"+o.id).html(t),$("#a_"+o.id).css("width","100%").on("click",(function(e){layerpro.popup.close(o)})),!1},layerpro.message=function(e){var o=layerpro.popup.open({id:"__message",body:"",width:380,height:220,name:"Message",source:"",icon:"⛭",iconize:!1,maximize:!1,close:!0,isMaximize:!1,dockable:!1,raised:!0,movable:!0,resizable:!1,store:!1,top:"",left:"",right:"",bottom:"",fadeIn:"",fadeOut:"",minWidth:"",minHeight:""}),t="";return t+="<div class='popup_prompt'>",t+='<div class="popup_message_body">',t+="<center>",t+=e,t+="</center>",t+="</div>",t+='<button id="a_'+o.id+'" type="button">CLOSE</button>',$(".popup_body_"+o.id).html(t),$("#a_"+o.id).css("width","100%").on("click",(function(){layerpro.popup.close(o)})),!1},layerpro.confirm=function(e,o,t){if(0===$(".confirm").length){var i=layerpro.popup.open({id:"__confirm",body:"",source:"",width:380,height:220,name:"Confirm",icon:"☑",iconize:!1,maximize:!1,close:!0,isMaximize:!1,dockable:!1,raised:!0,movable:!0,resizable:!1,store:!1,top:"",left:"",right:"",bottom:"",fadeIn:"",fadeOut:"",minWidth:"",minHeight:""}),r="";r+="<div class='popup_prompt'>",r+='<div class="popup_message_body">',r+="<center>",r+=e,r+="</center>",r+="</div>",r+='<button id="a_'+i.id+'" type="button">CONFIRM</button>',r+='<button id="b_'+i.id+'" type="button">CANCEL</button>',$(".popup_body_"+i.id).html(r),$("#a_"+i.id).on("click",(function(){o&&o(),layerpro.popup.close(i)})),$("#b_"+i.id).on("click",(function(){t&&t(),layerpro.popup.close(i)}))}return!1},layerpro.prompt=function(e,o){o=o||"_prompt";var t=layerpro.popup.open({id:"__prompt",body:"",source:"",width:380,height:220,name:"Prompt",icon:"✎",iconize:!1,maximize:!1,close:!0,isMaximize:!1,dockable:!1,raised:!0,movable:!0,resizable:!1,store:!1,top:"",left:"",right:"",bottom:"",fadeIn:"",fadeOut:"",minWidth:"",minHeight:""}),i="";return i+="<div class='popup_prompt'>",i+='<div class="popup_message_body">',i+="<center>",i+=e,i+="</center>",i+="</div>",i+='<input id="input_'+t.id+'" type="text" placeholder="write here" /><br/>',i+='<button id="a_'+t.id+'" type="button">OK</button>',i+='<button id="b_'+t.id+'" type="button">CANCEL</button>',i+="</div>",$(".popup_body_"+t.id).html(i),$("#input_"+t.id).on("focus",(function(){$(this).attr("placeholder","")})).on("blur",(function(){$(this).attr("placeholder","write here")})),$("#a_"+t.id).on("click",(function(e){if($("#input_"+t.id).val()>"")return layerpro.popup.close(t),JSON.stringify($("#input_"+t.id).val());alert("input can't be empty!")})),$("#b_"+t.id).on("click",(function(e){layerpro.popup.close(t)})),!1};window.message=function(e){layerpro.message(e)},window.alert=function(e){layerpro.alert(e)},window.confirm=function(e,o,t){layerpro.confirm(e,o,t)},window.prompt=function(e,o,t){layerpro.prompt(e,o,t)};var n=t(379),a=t.n(n),c=t(795),s=t.n(c),u=t(569),l=t.n(u),d=t(565),g=t.n(d),h=t(216),m=t.n(h),b=t(589),I=t.n(b),f=t(422),y={};y.styleTagTransform=I(),y.setAttributes=g(),y.insert=l().bind(null,"head"),y.domAPI=s(),y.insertStyleElement=m();a()(f.Z,y);f.Z&&f.Z.locals&&f.Z.locals;$.ajaxSetup({async:!0,cache:!0,global:!0});var C,v,_,w,A,M,x,z,k,j=300,N=150,Z=(localStorage.getItem("layerpro"),1),L=$(window),S=$("body"),G="ontouchdown"in window?"touchdown":"mousedown",T="ontouchmove"in window?"touchmove":"mousemove",Y="ontouchend"in window?"touchend":"mouseup",R={open:function(e){return!!e&&(e.id=e.id||Math.round(1e3*Math.random()),e.body,e.width=e.width||640,e.height=e.height||480,e.name=e.name||"popUp_"+e.id,e.source=e.source||null,e.icon=e.icon||null,e.iconize=e.iconize||null,e.maximize=e.maximize||null,e.isMaximize=e.isMaximize||null,e.dockable,e.close=e.close||null,e.raised=e.raised||null,e.movable=e.movable||null,e.resizable=e.resizable||null,e.store=e.store||!1,e.top=e.top?e.top:"auto",e.left=e.left?e.left:"auto",e.right=e.right?e.right:"auto",e.bottom=e.bottom?e.bottom:"auto",e.fadeIn=e.fadeIn||100,e.fadeOut=e.fadeOut||100,e.minWidth=e.minWidth||340,e.minHeight=e.minHeight||220,e.width<e.minWidth&&(e.width=e.minWidth),e.height<e.minHeight&&(e.height=e.minHeight),"auto"===e.width&&(e.width="100%"),"auto"===e.height&&(e.height="100%"),0===$("#popup").length&&$('<div id="popup">',"#popup").appendTo("body").css({"pointer-events":"none","z-index":R.zIndex($("*"))+1}),0===$(".popup_window_"+e.id,"#popup").length&&r(e),layerpro.purge(document),e)},show:function(e){return e.toggle(),!1},vfx:function(e,o){var t=arguments.length>2&&void 0!==arguments[2]&&arguments[2];setTimeout((function(){return $('[class^="popup_overflow_"]',"#popup").css("opacity",1==o?1:.5).find('[class^="popup_body_"]').css({"content-visibility":1==o?"auto":"hidden"}),e.css("opacity",1),t||$('[class^="popup_body_"]',e).css("content-visibility","visible"),!1}),0),window.dispatchEvent(new Event("resize"))},center:function(e){var o=$(".popup_overflow_"+e.id,"#popup");return o.css("top",Math.max(0,(L.height()-o.outerHeight())/2+L.scrollTop())),o.css("left",Math.max(0,(L.width()-o.outerWidth())/2+L.scrollLeft())),!1},checkArea:function(e){return[e.clientX,e.clientY,L.scrollLeft(),L.scrollTop(),L.height(),L.width()]},close:function(e){return e?!0===e.raised?$(".popup_raised_"+e.id).fadeOut(e.fadeOut,(function(){$(".popup_raised_"+e.id).remove()})):$(".popup_overflow_"+e.id).fadeOut(e.fadeOut,(function(){$(this).remove(),R.removeDock(e)})):$("#popup").fadeOut((function(){$(this).remove()})),layerpro.purge(document),localStorage.removeItem("popup_"+e.id),!1},removeDock:function(e){return $(".icon_"+e.id).remove(),$('[class^="popup_overflow_"]',"#popup").length<=0&&($("#popup_dock").remove(),$("#root").css("margin","0")),!1},iconize:function(e){var o=$(".popup_overflow_"+e.id,"#popup");if(!1===o.find("[class^=popup_window_]").hasClass("zHigh"))return!1;if(R.vfx(o,!1,!0),o.data("iconize")){if(o.data("iconize")){var t=o.data("iconize");o.animate({top:t.y,left:t.x,width:t.w,height:t.h,opacity:1},(function(){R.vfx(o,!0)})),o.removeData("iconize")}}else o.animate({top:"100%",left:$(".icon_"+e.id,"#popup_dock").offset().left+15,width:0,height:0,opacity:0},200,(function(){R.vfx(o,!0)})),o.data("iconize",{y:o.offset().top,x:o.offset().left,w:o.width(),h:o.height()},200);return!1},maximize:function(e){var o=$(".popup_overflow_"+e.id,"#popup");if(R.vfx(o,!1,!0),o.data("store")){if(o.data("store")){var t=o.data("store");o.animate({top:t.y,left:t.x,width:t.w,height:t.h},(function(){$("[class^='resize_']").on(G,(function(e){R.ResizePopups(e,this)})),L.off("resize.eventItem"),R.vfx(o,!0)})),o.removeData("store")}}else o.data("store",{y:o.offset().top,x:o.offset().left,w:o.width(),h:o.height()}),o.animate({position:"absolute",top:-6,left:-6,right:-6,bottom:-6,width:L.width()+12,height:L.height()+12-45},(function(){L.on("resize.eventItem",(function(){o.css({width:L.width()+12,height:L.height()+12-40})})),$('[class^="resize_"]',o).off(G),R.vfx(o,!0,!0)}));return!1},movable:function(e){if(e.movable){var o=$(".popup_overflow_"+e.id,"#popup"),t=$(".popup_drag_"+e.id,o),i=$(".popup_body_"+e.id,o),r=0,p=0,n=0,a=0;return t.on(G,(function(e){if(i.css("pointer-events","none"),!(L.width()>o.width()))return e.stopImmediatePropagation(),!1;!function(e){n=e.clientX,a=e.clientY,$(document).on(T,(function(e){!function(e){r=n-e.clientX,p=a-e.clientY,n=e.clientX,a=e.clientY,R.checkArea(e)[1]<R.checkArea(e)[4]&&1===Math.sign(R.checkArea(e)[1])&&o.css("top",o.offset().top-p);R.checkArea(e)[0]<R.checkArea(e)[5]&&1===Math.sign(R.checkArea(e)[0])&&o.css("left",o.offset().left-r)}(e)})),$(document).on(Y,(function(e){$(document).off(T),$(document).off(Y),i.css("pointer-events","auto"),R.vfx(o,!0)}))}(e),R.vfx(o,!1)})),t.on("dblclick",(function(o){layerpro.popup.maximize(e)})),!1}},resizable:function(e){if(e.resizable){var o=$(".popup_overflow_"+e.id,"#popup");return $("<div class='resize_0'>",o).appendTo(o),$("<div class='resize_1'>",o).appendTo(o),$("<div class='resize_2'>",o).appendTo(o),$("<div class='resize_3'>",o).appendTo(o),$("<div class='resize_corner_0'>",o).appendTo(o),$("<div class='resize_corner_1'>",o).appendTo(o),$("<div class='resize_corner_2'>",o).appendTo(o),$("<div class='resize_corner_3'>",o).appendTo(o),$("[class^='resize_']").on(G,(function(e){R.ResizePopups(e,this)})),!1}},ResizePopups:function(e,o){var t=$(o).parent(),i=p(e);return S.css("pointer-events","none"),t.css("pointer-events","none"),R.vfx(t,!1),$(document).on(T,(function(e){R.doRes(e,o)})),$(document).on(Y,(function(){R.stopRes(o)})),v=i[0],_=i[1],w=t.width(),A=t.height(),M=t.position().left,x=t.position().top,z=x+A+1,k=M+w+1,C=o,!1},doRes:function(e,o){window.dispatchEvent(new Event("resize"));var t=$(o),i=t.parent(),r=p(e);if(o===C){var n=w+r[0]-v,a=A+r[1]-_,c=w-r[0]+v,s=A-r[1]+_;n<=0&&(n=0),a<=0&&(a=0),R.checkArea(e)[1]<R.checkArea(e)[4]&&1===Math.sign(R.checkArea(e)[1])&&t.hasClass("resize_0")&&(i.height()>=N&&i.css({top:Number(z-s),height:parseInt(s)}),i.height()<=N&&s>N&&i.css({height:Number(151)})),R.checkArea(e)[0]<R.checkArea(e)[5]&&1===Math.sign(R.checkArea(e)[0])&&t.hasClass("resize_1")&&(i.width()>=j&&i.css({width:Number(n),right:Number(M-n)}),i.width()<=j&&i.css({width:Number(301)})),R.checkArea(e)[1]<R.checkArea(e)[4]&&1===Math.sign(R.checkArea(e)[1])&&t.hasClass("resize_2")&&(i.height()>=N&&i.css({height:Number(a)}),i.height()<=N&&a>N&&i.css({height:Number(151)})),R.checkArea(e)[0]<R.checkArea(e)[5]&&1===Math.sign(R.checkArea(e)[0])&&t.hasClass("resize_3")&&(i.width()>=j&&i.css({width:parseInt(c),left:Number(k-c)}),i.width()<=j&&c>j&&i.css({width:Number(301)})),R.checkArea(e)[1]<R.checkArea(e)[4]&&R.checkArea(e)[0]<R.checkArea(e)[5]&&1===Math.sign(R.checkArea(e)[0])&&1===Math.sign(R.checkArea(e)[1])&&(t.hasClass("resize_corner_0")&&(i.height()>=N&&i.css({top:Number(z-s),height:parseInt(s)}),i.height()<=N&&s>N&&i.css({height:Number(151)}),i.width()>=j&&i.css({width:parseInt(c),left:Number(k-c)}),i.width()<=j&&c>j&&i.css({width:Number(301)})),t.hasClass("resize_corner_1")&&(i.height()>=N&&i.css({top:Number(z-s),height:Number(s)}),i.height()<=N&&s>N&&i.css({height:Number(151)}),i.width()>=j&&i.css({width:Number(n),right:Number(M-n)}),i.width()<=j&&i.css({width:Number(301)})),t.hasClass("resize_corner_2")&&(i.height()>=N&&i.css({height:Number(a)}),i.height()<=N&&a>N&&i.css({height:Number(151)}),i.width()>=j&&i.css({width:Number(n),right:Number(M-n)}),i.width()<=j&&i.css({width:Number(301)})),t.hasClass("resize_corner_3")&&(i.height()>=N&&i.css({height:Number(a)}),i.height()<=N&&a>N&&i.css({height:Number(151)}),i.width()>=j&&i.css({width:Number(c),left:Number(k-c)}),i.width()<=j&&c>j&&i.css({width:Number(301)})))}return!1},stopRes:function(e){var o=$(e).parent();return S.css("pointer-events","auto"),o.css("pointer-events","auto"),R.vfx(o,!0),C=!1,$(document).off(T),$(document).off(Y),!1},index:function(e){var o=$('[class^="popup_overflow_"]',"#popup");return $('[class^="popup_window_"]',"#popup").removeClass("zHigh"),$('[class^="popup_bar_"]',"#popup").removeClass("pupup_bar_selected"),$('[class^="icon_"]',"#popup").removeClass("pupup_bar_selected"),o.each((function(){$(this,"#popup").css("zIndex",$(this,"#popup")[0].style.zIndex-1)})),$(".icon_"+e.id,"#popup").addClass("pupup_bar_selected"),$(".popup_overflow_"+e.id,"#popup").css("zIndex",R.zIndex(o)),$(".popup_bar_"+e.id,"#popup").addClass("pupup_bar_selected"),$(".popup_window_"+e.id,"#popup").addClass("zHigh"),!1},zIndex:function(e){return e.each((function(){var e=parseInt($(this,"#popup").css("zIndex"),10);e>Z&&(Z=e)})),Z+1}};layerpro.popup=R},255:()=>{layerpro.purge=function(e){var o,t,i=e.attributes;if(i)for(t=i.length,o=0;o<t;o+=1)e[i[o].name];if(i=e.childNodes)for(t=i.length,o=0;o<t;o+=1)layerpro.purge(e.childNodes[o])}},218:()=>{},822:()=>{var e=top.window;e.offScreenBuffering=!0,e.document.addEventListener("wheel",(function(e){}),{capture:!0,passive:!0})},422:(e,o,t)=>{"use strict";t.d(o,{Z:()=>a});var i=t(81),r=t.n(i),p=t(645),n=t.n(p)()(r());n.push([e.id,':root{--input-background-color: #444;--input-color: white;--button-background-color: #444;--button-color: white;--inputButton-fontSize: .8em;--resize-background-color: rgba(30, 150, 255, .5);--resize-shadow: 0 0 10px rgba(30, 150, 255, .5)}#popup>input,#popup>button,#popup>textarea,#popup>select{all:unset}#popup .iconize:before,#popup .maximize:before,#popup .close:before{content:"";position:absolute;top:0;left:0;right:0;bottom:0;background-repeat:no-repeat !important;background-position:center !important;background-size:50% !important;filter:invert(1);opacity:.5;margin:0;padding:0}#popup .iconize:before{background-image:url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiIHN0YW5kYWxvbmU9Im5vIj8+CjwhLS0gQ3JlYXRlZCB3aXRoIElua3NjYXBlIChodHRwOi8vd3d3Lmlua3NjYXBlLm9yZy8pIC0tPgoKPHN2ZwogICB3aWR0aD0iMjAiCiAgIGhlaWdodD0iMjAiCiAgIHZpZXdCb3g9IjAgMCA1LjI5MTY2NjUgNS4yOTE2NjY4IgogICB2ZXJzaW9uPSIxLjEiCiAgIGlkPSJzdmczNzY4IgogICBpbmtzY2FwZTp2ZXJzaW9uPSIxLjEuMSAoM2JmNWFlMGQyNSwgMjAyMS0wOS0yMCkiCiAgIHNvZGlwb2RpOmRvY25hbWU9Imljb25pemUuc3ZnIgogICB4bWxuczppbmtzY2FwZT0iaHR0cDovL3d3dy5pbmtzY2FwZS5vcmcvbmFtZXNwYWNlcy9pbmtzY2FwZSIKICAgeG1sbnM6c29kaXBvZGk9Imh0dHA6Ly9zb2RpcG9kaS5zb3VyY2Vmb3JnZS5uZXQvRFREL3NvZGlwb2RpLTAuZHRkIgogICB4bWxucz0ia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AgPG1ldGFkYXRhCiAgICAgaWQ9Im1ldGFkYXRhMzc2NSI+CiAgICA8cmRmOlJERj4KICAgICAgPGNjOldvcmsKICAgICAgICAgcmRmOmFib3V0PSIiPgogICAgICAgIDxkYzpmb3JtYXQ+aW1hZ2Uvc3ZnK3htbDwvZGM6Zm9ybWF0PgogICAgICAgIDxkYzp0eXBlCiAgICAgICAgICAgcmRmOnJlc291cmNlPSJodHRwOi8vcHVybC5vcmcvZGMvZGNtaXR5cGUvU3RpbGxJbWFnZSIgLz4KICAgICAgPC9jYzpXb3JrPgogICAgPC9yZGY6UkRGPgogIDwvbWV0YWRhdGE+CiAgPGcKICAgICBpbmtzY2FwZTpsYWJlbD0iTGF5ZXIgMSIKICAgICBpbmtzY2FwZTpncm91cG1vZGU9ImxheWVyIgogICAgIGlkPSJsYXllcjEiCiAgICAgdHJhbnNmb3JtPSJ0cmFuc2xhdGUoMCwtMjkxLjcwODMyKSI+CiAgICA8cmVjdAogICAgICAgcnk9IjAuNjk5MTc0MjMiCiAgICAgICB5PSIyOTMuNjkyNzgiCiAgICAgICB4PSIwLjI3NDg0NjczIgogICAgICAgaGVpZ2h0PSIxLjM5ODM0ODUiCiAgICAgICB3aWR0aD0iNC43NjI0OTk4IgogICAgICAgaWQ9InJlY3QzNzM2LTciCiAgICAgICBzdHlsZT0iZmlsbDojMDAwMDAwO3N0cm9rZS13aWR0aDowLjEzMjk5MTg1IiAvPgogIDwvZz4KPC9zdmc+Cg==) !important}#popup .maximize:before{background-image:url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiIHN0YW5kYWxvbmU9Im5vIj8+CjwhLS0gQ3JlYXRlZCB3aXRoIElua3NjYXBlIChodHRwOi8vd3d3Lmlua3NjYXBlLm9yZy8pIC0tPgoKPHN2ZwogICB3aWR0aD0iMjAiCiAgIGhlaWdodD0iMjAiCiAgIHZpZXdCb3g9IjAgMCA1LjI5MTY2NjUgNS4yOTE2N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0IDAsLTAuOTU3ODEgLTAuMjY1Mzc5LC0wLjI2NTM3IC0wLjY5MjYxLC0wLjI2NTM3IC0wLjk1Nzk5LDAgbCAtMS4yMjQyMDgsMS4yMjQxNyAtMS4yMjQyMSwtMS4yMjQxNyBjIC0wLjEzMjY5LC0wLjEzMjY5IC0wLjMwNTgzLC0wLjE5OTI3IC0wLjQ3ODk4OTk1LC0wLjE5OTI3IHoiCiAgICAgICBpZD0icmVjdDM3MTUiCiAgICAgICBpbmtzY2FwZTpjb25uZWN0b3ItY3VydmF0dXJlPSIwIiAvPgogIDwvZz4KPC9zdmc+Cg==) !important}.popup_alert,.popup_message,.popup_prompt,.popup_confirm{height:calc(100% - 41px);box-shadow:0 1px 1px #888;overflow:auto;padding:20px;word-break:break-all}.popup_alert button,.popup_message button,.popup_prompt button,.popup_confirm button{position:absolute;height:40px;background:#222 !important;transition:all .3s ease;color:#ddd;border-radius:0 0 10px 10px}.popup_alert button:hover,.popup_message button:hover,.popup_prompt button:hover,.popup_confirm button:hover{text-shadow:0 0 15px #fff,0 0 3px #fff;box-shadow:inset 0 0 50px #000}.popup_message button:nth-of-type(1),.popup_prompt button:nth-of-type(1),.popup_confirm button:nth-of-type(1){left:0;bottom:0;width:50%;display:block;border-radius:0 0 0 10px;border-right:2px solid rgba(0,0,0,.5)}.popup_message button:nth-of-type(2),.popup_prompt button:nth-of-type(2),.popup_confirm button:nth-of-type(2){right:0;bottom:0;width:50%;display:block;border-radius:0 0 10px 0;border-left:1px solid rgba(255,255,255,.2)}.popup_alert input[type=text],.popup_message input[type=text],.popup_prompt input[type=text],.popup_confirm input[type=text]{position:relative;width:90%;height:35px;padding:5px;font-size:1.05em;border:2px solid rgba(0,0,0,.3);border-radius:6px;color:#ddd;background-color:#4a4a4f}.resize_0,.resize_1,.resize_2,.resize_3{position:absolute;background-color:var(--resize-background-color);border-radius:25px;opacity:0;z-index:5000;transition:.5s}.resize_0{top:-4px;left:0;width:100%;height:10px;cursor:n-resize}.resize_1{top:0;right:-4px;width:10px;height:100%;cursor:e-resize}.resize_2{bottom:-4px;left:0;width:100%;height:10px;cursor:n-resize}.resize_3{top:0;left:-4px;width:10px;height:100%;cursor:e-resize}.resize_corner_0,.resize_corner_1,.resize_corner_2,.resize_corner_3{position:absolute;background-color:var(--resize-background-color);border-radius:50%;width:14px;height:14px;opacity:0;z-index:5000;transition:.5s}.resize_corner_0{top:-4px;left:-4px;cursor:nw-resize}.resize_corner_1{top:-4px;right:-4px;cursor:ne-resize}.resize_corner_2{bottom:-4px;right:-4px;cursor:nw-resize}.resize_corner_3{bottom:-4px;left:-4px;cursor:ne-resize}.resize_0:hover,.resize_1:hover,.resize_2:hover,.resize_3:hover,.resize_corner_0:hover,.resize_corner_1:hover,.resize_corner_2:hover,.resize_corner_3:hover{opacity:1;filter:blur(3px);box-shadow:var(--resize-shadow);transition:.5s}:root{--dock-background-color: black;--dock-height: 35px;--dock-sideLeft: 10px;--dock-sideCenter: auto;--dock-sideRight: 10px;--dock-icon-width: 140px}#popup_dock{position:absolute;bottom:0;left:0;right:0;height:var(--dock-height);background-color:var(--dock-background-color);border-top:1px solid rgba(255,255,255,.521)}#popup_dock #popup_dock_icon{position:absolute;top:3px;left:3px;width:70px;height:var(--dock-height)}#popup_dock #popup_dock_list{position:absolute;top:3px;left:var(--dock-sideLeft);right:var(--dock-sideLeft);height:calc(var(--dock-height) - 5px);overflow-y:auto;text-align:right;display:flex;flex-direction:row;justify-content:flex-end}#popup_dock #popup_dock_list [class^=icon_]{width:var(--dock-icon-width);float:left;padding:4px;color:#fff;margin:2px 3px 0 0;display:flex;flex-direction:row;flex-wrap:nowrap;justify-content:flex-start;filter:saturate(400%)}#popup_dock #popup_dock_list [class^=icon_]:hover{background-color:#4d4d4d}#popup_dock #popup_dock_list [class^=icon_] span:nth-child(1){width:20%;text-align:center;color:#f60}#popup_dock #popup_dock_list [class^=icon_] span:nth-child(2){width:80%;text-align:left;text-overflow:ellipsis;white-space:nowrap;overflow:hidden}#popup_dock #popup_dock_list [class^=icon_] button{width:20px;height:20px;color:#fff;padding:4px;margin:0;display:flex;align-content:center;justify-content:center;font-size:.7em;border:none;background:none}#popup_dock #popup_dock_options{position:absolute;top:3px;right:10px;width:var(--dock-sideRight);height:var(--dock-height)}::-webkit-scrollbar{width:10px;scroll-behavior:smooth}::-webkit-scrollbar-track{-webkit-border-radius:2px;border-radius:2px;margin:5px}::-webkit-scrollbar-thumb{-webkit-border-radius:2px;border-radius:2px;background:#1e96ff !important}#popup>[class^=popup_overflow],#popup>[class^=popup_bar_],#popup>[class^=popup_window_],#popup>[class^=popup_internal],#popup>[class^=popup_body],#popup{position:static}#popup>[class^=popup_overflow],#popup>[class^=popup_bar_],#popup>[class^=popup_window_],#popup>[class^=popup_internal],#popup>[class^=popup_body],#popup,#popup_dock{will-change:transform,opacity,top,left,height,width;contain-intrinsic-size:auto;-webkit-transform:translate3d(0, 0, 0);-moz-transform:translate3d(0, 0, 0);-ms-transform:translate3d(0, 0, 0);-o-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0);-webkit-perspective:1;-moz-perspective:1;-ms-perspective:1;-o-perspective:1;perspective:1;-webkit-backface-visibility:hidden;-moz-backface-visibility:hidden;-ms-backface-visibility:hidden;-o-backface-visibility:hidden;backface-visibility:hidden;-webkit-transform:translateZ(0);-moz-transform:translateZ(0);-ms-transform:translateZ(0);-o-transform:translateZ(0);transform:translateZ(0);-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;-o-user-select:none;user-select:none;z-index:auto}#popup{position:absolute;top:0;left:0;right:0;bottom:0;width:100%;height:100%}#popup .pupup_bar_selected{background:linear-gradient(45deg, #162858 60%, rgba(34, 78, 145, 0.5411764706) 100%) !important}#popup .zHigh{border-top-color:#278ed0 !important;box-shadow:0 -15px 20px -10px rgba(30,150,255,.5),0 0 15px rgba(0,0,0,.7) !important;border:1px solid rgba(0,0,0,.05)}#popup [class^=popup_raised_]{position:absolute;top:0;left:0;right:0;bottom:0;width:100%;height:100%;background-color:rgba(0,0,0,.3);z-index:1}#popup [class^=popup_window_]{position:absolute;top:0;left:0;right:0;bottom:0;width:100%;height:100%;z-index:2;border-radius:10px;box-shadow:0 0 10px rgba(0,0,0,.3);overflow:hidden}#popup [class^=popup_overflow_]{position:absolute;top:auto;left:auto;right:auto;bottom:auto;z-index:3;border-radius:10px;background:gray}#popup [class^=popup_bar_]{display:flex;width:100%;height:36px;background:linear-gradient(45deg, #4a4a4f 60%, #AAA 100%);border-bottom:2px solid #555;box-shadow:0 1px 1px #888;z-index:2}#popup [class^=popup_drag_]{width:100%;padding:10px 0 0 10px;color:#eee;text-overflow:ellipsis;white-space:nowrap;overflow:hidden}#popup [class^=popup_icon_]{padding:8px 0 0 10px;color:#eee;font-size:1.1em}#popup [class^=popup_option_]{display:flex;margin-right:15px}#popup [class^=popup_option_] button{position:relative;display:inline-block;width:36px;height:28px;color:#fff;border-radius:5px;margin:4px;transition:all .3s ease;background:rgba(0,0,0,0)}#popup [class^=popup_option_] button img{filter:invert(1);opacity:.5;width:15px;height:auto;margin-top:2px}#popup [class^=popup_option_] button::after{content:"";display:block;position:absolute;left:0;top:0;bottom:0;right:0;background:linear-gradient(180deg, #000 0%, rgb(60, 60, 60) 100%);border-radius:5px;z-index:-1}#popup [class^=popup_option_] button::after{opacity:0;transition:opacity .3s ease-in-out}#popup [class^=popup_option_] button:hover{background:rgba(255,255,255,.1);box-shadow:inset 0 0 5px #000;text-shadow:0 0 15px #fff,0 0 3px #fff}#popup [class^=popup_option_] button:hover::after{opacity:1}#popup [class^=button_close_]:hover{background:red !important;box-shadow:inset 0 0 25px #fff,0 0 35px red !important}#popup [class^=popup_internal_]{position:absolute;top:37px;left:0;right:0;bottom:0;z-index:1;background:linear-gradient(0deg, rgb(60, 60, 60) 0%, #4a4a4f 100%)}#popup [class^=popup_body_]{position:absolute;top:0;left:0;right:0;bottom:0;color:#eee;text-align:center}',""]);const a=n},645:e=>{"use strict";e.exports=function(e){var o=[];return o.toString=function(){return this.map((function(o){var t="",i=void 0!==o[5];return o[4]&&(t+="@supports (".concat(o[4],") {")),o[2]&&(t+="@media ".concat(o[2]," {")),i&&(t+="@layer".concat(o[5].length>0?" ".concat(o[5]):""," {")),t+=e(o),i&&(t+="}"),o[2]&&(t+="}"),o[4]&&(t+="}"),t})).join("")},o.i=function(e,t,i,r,p){"string"==typeof e&&(e=[[null,e,void 0]]);var n={};if(i)for(var a=0;a<this.length;a++){var c=this[a][0];null!=c&&(n[c]=!0)}for(var s=0;s<e.length;s++){var u=[].concat(e[s]);i&&n[u[0]]||(void 0!==p&&(void 0===u[5]||(u[1]="@layer".concat(u[5].length>0?" ".concat(u[5]):""," {").concat(u[1],"}")),u[5]=p),t&&(u[2]?(u[1]="@media ".concat(u[2]," {").concat(u[1],"}"),u[2]=t):u[2]=t),r&&(u[4]?(u[1]="@supports (".concat(u[4],") {").concat(u[1],"}"),u[4]=r):u[4]="".concat(r)),o.push(u))}},o}},81:e=>{"use strict";e.exports=function(e){return e[1]}},408:(e,o)=>{"use strict";var t=Symbol.for("react.element"),i=Symbol.for("react.portal"),r=Symbol.for("react.fragment"),p=Symbol.for("react.strict_mode"),n=Symbol.for("react.profiler"),a=Symbol.for("react.provider"),c=Symbol.for("react.context"),s=Symbol.for("react.forward_ref"),u=Symbol.for("react.suspense"),l=Symbol.for("react.memo"),d=Symbol.for("react.lazy"),g=Symbol.iterator;var h={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},m=Object.assign,b={};function I(e,o,t){this.props=e,this.context=o,this.refs=b,this.updater=t||h}function f(){}function y(e,o,t){this.props=e,this.context=o,this.refs=b,this.updater=t||h}I.prototype.isReactComponent={},I.prototype.setState=function(e,o){if("object"!=typeof e&&"function"!=typeof e&&null!=e)throw Error("setState(...): takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,e,o,"setState")},I.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")},f.prototype=I.prototype;var C=y.prototype=new f;C.constructor=y,m(C,I.prototype),C.isPureReactComponent=!0;var v=Array.isArray,_=Object.prototype.hasOwnProperty,w={current:null},A={key:!0,ref:!0,__self:!0,__source:!0};function M(e,o,i){var r,p={},n=null,a=null;if(null!=o)for(r in void 0!==o.ref&&(a=o.ref),void 0!==o.key&&(n=""+o.key),o)_.call(o,r)&&!A.hasOwnProperty(r)&&(p[r]=o[r]);var c=arguments.length-2;if(1===c)p.children=i;else if(1<c){for(var s=Array(c),u=0;u<c;u++)s[u]=arguments[u+2];p.children=s}if(e&&e.defaultProps)for(r in c=e.defaultProps)void 0===p[r]&&(p[r]=c[r]);return{$$typeof:t,type:e,key:n,ref:a,props:p,_owner:w.current}}function x(e){return"object"==typeof e&&null!==e&&e.$$typeof===t}var z=/\/+/g;function k(e,o){return"object"==typeof e&&null!==e&&null!=e.key?function(e){var o={"=":"=0",":":"=2"};return"$"+e.replace(/[=:]/g,(function(e){return o[e]}))}(""+e.key):o.toString(36)}function j(e,o,r,p,n){var a=typeof e;"undefined"!==a&&"boolean"!==a||(e=null);var c=!1;if(null===e)c=!0;else switch(a){case"string":case"number":c=!0;break;case"object":switch(e.$$typeof){case t:case i:c=!0}}if(c)return n=n(c=e),e=""===p?"."+k(c,0):p,v(n)?(r="",null!=e&&(r=e.replace(z,"$&/")+"/"),j(n,o,r,"",(function(e){return e}))):null!=n&&(x(n)&&(n=function(e,o){return{$$typeof:t,type:e.type,key:o,ref:e.ref,props:e.props,_owner:e._owner}}(n,r+(!n.key||c&&c.key===n.key?"":(""+n.key).replace(z,"$&/")+"/")+e)),o.push(n)),1;if(c=0,p=""===p?".":p+":",v(e))for(var s=0;s<e.length;s++){var u=p+k(a=e[s],s);c+=j(a,o,r,u,n)}else if(u=function(e){return null===e||"object"!=typeof e?null:"function"==typeof(e=g&&e[g]||e["@@iterator"])?e:null}(e),"function"==typeof u)for(e=u.call(e),s=0;!(a=e.next()).done;)c+=j(a=a.value,o,r,u=p+k(a,s++),n);else if("object"===a)throw o=String(e),Error("Objects are not valid as a React child (found: "+("[object Object]"===o?"object with keys {"+Object.keys(e).join(", ")+"}":o)+"). If you meant to render a collection of children, use an array instead.");return c}function N(e,o,t){if(null==e)return e;var i=[],r=0;return j(e,i,"","",(function(e){return o.call(t,e,r++)})),i}function Z(e){if(-1===e._status){var o=e._result;(o=o()).then((function(o){0!==e._status&&-1!==e._status||(e._status=1,e._result=o)}),(function(o){0!==e._status&&-1!==e._status||(e._status=2,e._result=o)})),-1===e._status&&(e._status=0,e._result=o)}if(1===e._status)return e._result.default;throw e._result}var L={current:null},S={transition:null},G={ReactCurrentDispatcher:L,ReactCurrentBatchConfig:S,ReactCurrentOwner:w};o.Children={map:N,forEach:function(e,o,t){N(e,(function(){o.apply(this,arguments)}),t)},count:function(e){var o=0;return N(e,(function(){o++})),o},toArray:function(e){return N(e,(function(e){return e}))||[]},only:function(e){if(!x(e))throw Error("React.Children.only expected to receive a single React element child.");return e}},o.Component=I,o.Fragment=r,o.Profiler=n,o.PureComponent=y,o.StrictMode=p,o.Suspense=u,o.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=G,o.cloneElement=function(e,o,i){if(null==e)throw Error("React.cloneElement(...): The argument must be a React element, but you passed "+e+".");var r=m({},e.props),p=e.key,n=e.ref,a=e._owner;if(null!=o){if(void 0!==o.ref&&(n=o.ref,a=w.current),void 0!==o.key&&(p=""+o.key),e.type&&e.type.defaultProps)var c=e.type.defaultProps;for(s in o)_.call(o,s)&&!A.hasOwnProperty(s)&&(r[s]=void 0===o[s]&&void 0!==c?c[s]:o[s])}var s=arguments.length-2;if(1===s)r.children=i;else if(1<s){c=Array(s);for(var u=0;u<s;u++)c[u]=arguments[u+2];r.children=c}return{$$typeof:t,type:e.type,key:p,ref:n,props:r,_owner:a}},o.createContext=function(e){return(e={$$typeof:c,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null,_defaultValue:null,_globalName:null}).Provider={$$typeof:a,_context:e},e.Consumer=e},o.createElement=M,o.createFactory=function(e){var o=M.bind(null,e);return o.type=e,o},o.createRef=function(){return{current:null}},o.forwardRef=function(e){return{$$typeof:s,render:e}},o.isValidElement=x,o.lazy=function(e){return{$$typeof:d,_payload:{_status:-1,_result:e},_init:Z}},o.memo=function(e,o){return{$$typeof:l,type:e,compare:void 0===o?null:o}},o.startTransition=function(e){var o=S.transition;S.transition={};try{e()}finally{S.transition=o}},o.unstable_act=function(){throw Error("act(...) is not supported in production builds of React.")},o.useCallback=function(e,o){return L.current.useCallback(e,o)},o.useContext=function(e){return L.current.useContext(e)},o.useDebugValue=function(){},o.useDeferredValue=function(e){return L.current.useDeferredValue(e)},o.useEffect=function(e,o){return L.current.useEffect(e,o)},o.useId=function(){return L.current.useId()},o.useImperativeHandle=function(e,o,t){return L.current.useImperativeHandle(e,o,t)},o.useInsertionEffect=function(e,o){return L.current.useInsertionEffect(e,o)},o.useLayoutEffect=function(e,o){return L.current.useLayoutEffect(e,o)},o.useMemo=function(e,o){return L.current.useMemo(e,o)},o.useReducer=function(e,o,t){return L.current.useReducer(e,o,t)},o.useRef=function(e){return L.current.useRef(e)},o.useState=function(e){return L.current.useState(e)},o.useSyncExternalStore=function(e,o,t){return L.current.useSyncExternalStore(e,o,t)},o.useTransition=function(){return L.current.useTransition()},o.version="18.2.0"},294:(e,o,t)=>{"use strict";e.exports=t(408)},379:e=>{"use strict";var o=[];function t(e){for(var t=-1,i=0;i<o.length;i++)if(o[i].identifier===e){t=i;break}return t}function i(e,i){for(var p={},n=[],a=0;a<e.length;a++){var c=e[a],s=i.base?c[0]+i.base:c[0],u=p[s]||0,l="".concat(s," ").concat(u);p[s]=u+1;var d=t(l),g={css:c[1],media:c[2],sourceMap:c[3],supports:c[4],layer:c[5]};if(-1!==d)o[d].references++,o[d].updater(g);else{var h=r(g,i);i.byIndex=a,o.splice(a,0,{identifier:l,updater:h,references:1})}n.push(l)}return n}function r(e,o){var t=o.domAPI(o);t.update(e);return function(o){if(o){if(o.css===e.css&&o.media===e.media&&o.sourceMap===e.sourceMap&&o.supports===e.supports&&o.layer===e.layer)return;t.update(e=o)}else t.remove()}}e.exports=function(e,r){var p=i(e=e||[],r=r||{});return function(e){e=e||[];for(var n=0;n<p.length;n++){var a=t(p[n]);o[a].references--}for(var c=i(e,r),s=0;s<p.length;s++){var u=t(p[s]);0===o[u].references&&(o[u].updater(),o.splice(u,1))}p=c}}},569:e=>{"use strict";var o={};e.exports=function(e,t){var i=function(e){if(void 0===o[e]){var t=document.querySelector(e);if(window.HTMLIFrameElement&&t instanceof window.HTMLIFrameElement)try{t=t.contentDocument.head}catch(e){t=null}o[e]=t}return o[e]}(e);if(!i)throw new Error("Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.");i.appendChild(t)}},216:e=>{"use strict";e.exports=function(e){var o=document.createElement("style");return e.setAttributes(o,e.attributes),e.insert(o,e.options),o}},565:(e,o,t)=>{"use strict";e.exports=function(e){var o=t.nc;o&&e.setAttribute("nonce",o)}},795:e=>{"use strict";e.exports=function(e){var o=e.insertStyleElement(e);return{update:function(t){!function(e,o,t){var i="";t.supports&&(i+="@supports (".concat(t.supports,") {")),t.media&&(i+="@media ".concat(t.media," {"));var r=void 0!==t.layer;r&&(i+="@layer".concat(t.layer.length>0?" ".concat(t.layer):""," {")),i+=t.css,r&&(i+="}"),t.media&&(i+="}"),t.supports&&(i+="}");var p=t.sourceMap;p&&"undefined"!=typeof btoa&&(i+="\n/*# sourceMappingURL=data:application/json;base64,".concat(btoa(unescape(encodeURIComponent(JSON.stringify(p))))," */")),o.styleTagTransform(i,e,o.options)}(o,e,t)},remove:function(){!function(e){if(null===e.parentNode)return!1;e.parentNode.removeChild(e)}(o)}}}},589:e=>{"use strict";e.exports=function(e,o){if(o.styleSheet)o.styleSheet.cssText=e;else{for(;o.firstChild;)o.removeChild(o.firstChild);o.appendChild(document.createTextNode(e))}}},147:e=>{"use strict";e.exports=JSON.parse('{"name":"layerpro","version":"0.0.74","description":"Manage your popups and customize them","deprecated":false,"appCode":"layerpro","appCodeRelease":"layerpro","appName":"layerpro","appType":"beta","appFolder":"/","appAPI":"api","apiDev":"","apiProd":"","main":"index.js","targets":{"main":{"includeNodeModules":{"react":false,"react-dom":false},"isLibrary":true}},"engines":{"node":">=12.0.0"},"scripts":{"make-dist":"webpack --progress --color --mode production --config webpack.config.js","backup":"mcp/backup/run.bat","git":"cd mcp/node && node gitDeploy","git-tag":"cd mcp/node && node createTag","node:update":"cd mcp/node && node npmUpdate","goLive":"cd mcp/node && node goLive","test:lint":"eslint {**/*,*}.{js,ts,jsx,tsx} --fix"},"eslintConfig":{"globals":{"window":true,"dphelper":true,"layerpro":true}},"author":{"name":"Dario Passariello","url":"https://github.com/passariello/","email":"dariopassariello@gmail.com"},"contributors":[{"name":"Dario Passariello","email":"dariopassariello@gmail.com"},{"name":"Valeria Cala Scaglitta","email":"valeriacalascaglitta@gmail.com"}],"keywords":["layer","popup","modal","passariello","layerpro"],"globals":{"jQuery":{},"$":{},"dphelper":{},"menupro":{},"layerpro":{},"mui":{}},"license":"MIT","homepage":"https://github.com/passariello/layerpro","funding":[{"type":"individual","url":"https://www.paypal.com/donate/?business=HC7LJ2ZXRRNDL&no_recurring=0&item_name=I+am+a+software+developer.+Just+a+donation+can+help+me+to+have+more+time+to+dedicate+on+this+project¤cy_code=CAD"},{"type":"patreon","url":"https://www.patreon.com/passariello"}],"repository":{"type":"git","url":"git+https://github.com/passariello/layerpro.git","help":"git+https://github.com/passariello/layerpro.git#readme"},"bugs":{"url":"https://github.com/passariello/layerpro/issues"},"files":["scripts","index.tsx","init.tsx","types/**/*.d.ts"],"devDependencies":{"@types/react":"18.0.21","@types/react-dom":"18.0.6","@typescript-eslint/eslint-plugin":"5.40.1","css-loader":"6.7.1","eslint":"8.26.0","eslint-plugin-import":"2.26.0","eslint-plugin-node":"11.1.0","eslint-plugin-promise":"6.1.1","eslint-plugin-react":"7.31.10","eslint-plugin-unicorn":"44.0.2","file-loader":"6.2.0","less-loader":"11.1.0","sass-loader":"13.1.0","style-loader":"3.3.1","webpack":"5.74.0","webpack-cli":"4.10.0"},"dependencies":{"@babel/core":"7.19.6","@babel/plugin-proposal-class-properties":"7.18.6","@babel/plugin-transform-runtime":"7.19.6","@babel/preset-env":"7.19.4","@babel/preset-react":"7.18.6","@babel/preset-typescript":"7.18.6","@testing-library/user-event":"^14.4.3","@typescript-eslint/parser":"5.40.1","babel-loader":"8.2.5","classnames":"2.3.2","cli-confirm":"1.0.1","compression-webpack-plugin":"10.0.0","concurrently":"7.5.0","copy-webpack-plugin":"11.0.0","css":"3.0.0","dotenv":"16.0.3","fs":"0.0.1-security","html-webpack-plugin":"5.5.0","jquery":"3.6.1","jsdom-worker":"0.3.0","jshint":"^2.13.5","less":"4.1.3","moment":"2.29.4","path":"0.12.7","progress-bar-webpack-plugin":"2.1.0","react":"18.2.0","react-dom":"18.2.0","sass":"1.55.0","terser-webpack-plugin":"5.3.6","typescript":"4.8.4"}}')}},o={};function t(i){var r=o[i];if(void 0!==r)return r.exports;var p=o[i]={id:i,exports:{}};return e[i](p,p.exports,t),p.exports}t.n=e=>{var o=e&&e.__esModule?()=>e.default:()=>e;return t.d(o,{a:o}),o},t.d=(e,o)=>{for(var i in o)t.o(o,i)&&!t.o(e,i)&&Object.defineProperty(e,i,{enumerable:!0,get:o[i]})},t.o=(e,o)=>Object.prototype.hasOwnProperty.call(e,o),t.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},t.nc=void 0;t(369)})();
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "layerpro",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.74",
|
|
4
4
|
"description": "Manage your popups and customize them",
|
|
5
5
|
"deprecated": false,
|
|
6
6
|
"appCode": "layerpro",
|
|
@@ -11,8 +11,16 @@
|
|
|
11
11
|
"appAPI": "api",
|
|
12
12
|
"apiDev": "",
|
|
13
13
|
"apiProd": "",
|
|
14
|
-
"main": "index.
|
|
15
|
-
"
|
|
14
|
+
"main": "index.js",
|
|
15
|
+
"targets": {
|
|
16
|
+
"main": {
|
|
17
|
+
"includeNodeModules": {
|
|
18
|
+
"react": false,
|
|
19
|
+
"react-dom": false
|
|
20
|
+
},
|
|
21
|
+
"isLibrary": true
|
|
22
|
+
}
|
|
23
|
+
},
|
|
16
24
|
"engines": {
|
|
17
25
|
"node": ">=12.0.0"
|
|
18
26
|
},
|
|
@@ -28,7 +36,8 @@
|
|
|
28
36
|
"eslintConfig": {
|
|
29
37
|
"globals": {
|
|
30
38
|
"window": true,
|
|
31
|
-
"dphelper": true
|
|
39
|
+
"dphelper": true,
|
|
40
|
+
"layerpro": true
|
|
32
41
|
}
|
|
33
42
|
},
|
|
34
43
|
"author": {
|