diff --git a/LICENSE.md b/LICENSE.md
new file mode 100644
index 0000000..20b9c7d
--- /dev/null
+++ b/LICENSE.md
@@ -0,0 +1,5 @@
+Released by TheGreatNacho on Reddit https://www.reddit.com/r/BattleTokens/comments/115upoi/token_border_collection_oc/
+
+> You can all have these for free. Feel free to use them in any project or game, paid or free. No need to give me credit. They are now free for all of humanity.
+
+> I just ask that you follow the spirit of the post and release the module as public domain.
diff --git a/Minipaint licence b/Minipaint licence
new file mode 100644
index 0000000..760e232
--- /dev/null
+++ b/Minipaint licence
@@ -0,0 +1,21 @@
+Copyright (c) ViliusL
+https://github.com/viliusle
+
+Permission is hereby granted, free of charge, to any person obtaining
+a copy of this software and associated documentation files (the
+"Software"), to deal in the Software without restriction, including
+without limitation the rights to use, copy, modify, merge, publish,
+distribute, sublicense, and/or sell copies of the Software, and to
+permit persons to whom the Software is furnished to do so, subject to
+the following conditions:
+
+The above copyright notice and this permission notice shall be
+included in all copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
+EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
+MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
+NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
+LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
+OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
+WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
diff --git a/README.md b/README.md
index 4d5f03c..d38fd00 100644
--- a/README.md
+++ b/README.md
@@ -1,12 +1,45 @@
+  [](https://forge-vtt.com/bazaar#package=minipaint) [](https://www.foundryvtt-hub.com/package/minipaint/) 
+
+Support Me on Ko-Fi! :D
+
+[](https://ko-fi.com/D1D210UKH9)
+
+### Overview
+
+miniPaint is a powerful, browser-based image editor that now integrates seamlessly with FoundryVTT, allowing Game Masters to edit and manage images directly within the FoundryVTT environment. This integration brings the full power of miniPaint’s tools to your tabletop RPG experience.
+
+# New
+2.3 Added special effects (bottom bar), added Hide all and Show all to the layers box. Added Layers FX (multi-filters) button above the layers box, that is for filters that you can apply to all layers with one click (good for changing animations). The special effects (bottom bar) are:
+ - Hexagone Pixelate
+ - Cute Blur effect
+ - Ink effect
+ - Edges
+ - Dotted screen
+ - Multitone dotted screen
+You can also apply them on all layers thanks to a checkbox in the dialog.
+2.2 Added animation editor (webm instead of gifs and also Layers FX for animations that applies multi effects to each layer)
+- Now works also with tokens and items
+- If you have a token or a tile selected while opening minipaint, it will be automatically imported
+- Added support for tidy5e
+- You can now remove backgrounds from an image. It uses remove.bg free api (50 uses a month with free account, check minipaint module settings to input the api key) It removes background from the whole canvas image, not from single layers. So think about your editing workflow before remove the background, my young Padawan.
+
+
+https://github.com/user-attachments/assets/6c363532-0aa8-4993-811d-ac96fd5e18a6
+
+
+
+https://github.com/user-attachments/assets/73187221-9ee1-4848-a9d1-493b9532e8a4
+
+
+https://github.com/user-attachments/assets/dc846868-4126-4693-ba18-4163611b38c8
+
## miniPaint Integration with FoundryVTT
-### Overview
-miniPaint is a powerful, browser-based image editor that now integrates seamlessly with FoundryVTT, allowing Game Masters to edit and manage images directly within the FoundryVTT environment. This integration brings the full power of miniPaint’s tools to your tabletop RPG experience.
### Change Log
- **[miniPaint Releases](https://github.com/viliusle/miniPaint/releases)**
@@ -81,3 +114,6 @@ Once you have edited an image, you can use the **Show in ImagePopout** function
- **Tools**: Offers a wide array of tools including pencil, brush, magic wand, erase, fill, color picker, text, crop, blur, sharpen, desaturate, clone, borders, sprites, key-points, color zoom, replace color, restore alpha, and content fill.
- **Help**: Provides keyboard shortcuts and translations to enhance the user experience.
+
+Licence
+https://github.com/tirzah2/minipaint/blob/main/Minipaint%20licence
diff --git a/READMEomggif.txt b/READMEomggif.txt
new file mode 100644
index 0000000..a526f26
--- /dev/null
+++ b/READMEomggif.txt
@@ -0,0 +1,24 @@
+omggif is a JavaScript implementation of a GIF 89a encoder and decoder.
+
+https://github.com/deanm/omggif
+
+
+(c) Dean McNamee , 2013.
+
+Permission is hereby granted, free of charge, to any person obtaining a copy
+of this software and associated documentation files (the "Software"), to
+deal in the Software without restriction, including without limitation the
+rights to use, copy, modify, merge, publish, distribute, sublicense, and/or
+sell copies of the Software, and to permit persons to whom the Software is
+furnished to do so, subject to the following conditions:
+
+The above copyright notice and this permission notice shall be included in
+all copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
+FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
+IN THE SOFTWARE.
diff --git a/dist/bundle.js b/dist/bundle.js
index 5b6b34b..e58d4b9 100644
--- a/dist/bundle.js
+++ b/dist/bundle.js
@@ -1,2 +1,2 @@
/*! For license information please see bundle.js.LICENSE.txt */
-(()=>{var e={1606:function(e,t){var n;!function(r){"use strict";function a(e,t){e.className+=" "+t}function i(e,t){for(var n=e.className.split(" "),r=t.split(" "),a=0;a-1&&n.splice(i,1)}e.className=n.join(" ")}function o(){return"rtl"===r.getComputedStyle(document.body).direction}function s(){return document.documentElement&&document.documentElement.scrollTop||document.body.scrollTop}function l(){return document.documentElement&&document.documentElement.scrollLeft||document.body.scrollLeft}function c(e){for(;e.lastChild;)e.removeChild(e.lastChild)}function u(e){if(null===e)return e;var t;if(Array.isArray(e)){t=[];for(var n=0;n0){for(var n=[],r=0;r=0?(i(document.body,ge.noOverflow),v(!1)):e>0&&document.body.className.indexOf(ge.noOverflow)<0&&(v(!0),a(document.body,ge.noOverflow))}function v(e){k.defaults.preventBodyShift&&(e&&document.documentElement.scrollHeight>document.documentElement.clientHeight?(ve=de,Ae=r.getComputedStyle(document.body).top,a(document.body,ge.fixed),document.body.style.top=-de+"px"):e||(de=ve,document.body.style.top=Ae,i(document.body,ge.fixed),n()))}function y(e,t){for(var n=A.indexOf(t)+1;n200&&(_e=e.timeStamp)&&!ye){var n=e.srcElement||e.target;!0===t.get("closableByDimmer")&&n===t.elements.modal&&B(t)}ye=!1}function O(e,t){if(Date.now()-Ce>200&&(Ce=Date.now()))for(var n=0;n-1?(O(t,(function(e){return e.key===n})),!1):void 0}be=!1}function j(e){var t=A[A.length-1],n=e.keyCode;if(37===n||39===n){for(var r=t.__internal.buttons,a=0;a111&&he.indexOf(n)>-1)return e.preventDefault(),e.stopPropagation(),O(t,(function(e){return e.key===n})),!1}function H(e,t){if(t)t.focus();else{var n=e.__internal.focus,r=n.element;switch(typeof n.element){case"number":e.__internal.buttons.length>n.element&&(r=!0===e.get("basic")?e.elements.reset[0]:e.__internal.buttons[n.element].element);break;case"string":r=e.elements.body.querySelector(n.element);break;case"function":r=n.element.call(e)}!0!==e.get("defaultFocusOff")&&(null!=r||0!==e.__internal.buttons.length)||(r=e.elements.reset[0]),r&&r.focus&&(r.focus(),n.select&&r.select&&r.select())}}function N(e,t){if(!t)for(var n=A.length-1;n>-1;n-=1)if(A[n].isModal()){t=A[n];break}if(t&&t.isModal()){var r,a=t.elements.reset[0],i=t.elements.reset[1],o=e.relatedTarget,s=t.elements.root.contains(o),l=e.srcElement||e.target;if(l===a&&!s||l===i&&o===a)return;l===i||l===document.body?r=a:l===a&&o===i?r=G(t):l===a&&s&&(r=G(t,!0)),H(t,r)}}function G(e,t){var n=[].slice.call(e.elements.dialog.querySelectorAll(g.tabbable));t&&n.reverse();for(var r=0;rPe?t.style.left=Re+u+"px":t.offsetWidth>=Le&&(t.style.left=Re-u+"px")}}(t,Te.elements.dialog,!Te.get("modal")&&!Te.get("pinned")))}function ee(){if(Te){var e=Te;Te=null,i(document.body,ge.noSelection),i(e.elements.dialog,ge.capture),ye=!0,f("onresized",e)}}function te(e){Te=null;var t=e.elements.dialog;"none"===t.style.maxWidth&&(t.style.maxWidth=t.style.minWidth=t.style.width=t.style.height=t.style.minHeight=t.style.left="",Re=Number.Nan,Pe=Le=De=0)}function ne(){for(var e=0;e-1&&r.navigator.userAgent.indexOf("Chrome")<0,me={dimmer:'',modal:'',dialog:'',reset:'',commands:'',header:'',body:'',content:'',footer:'',buttons:{primary:'',auxiliary:''},button:'',resizeHandle:''},ge={animationIn:"ajs-in",animationOut:"ajs-out",base:"alertify",basic:"ajs-basic",capture:"ajs-capture",closable:"ajs-closable",fixed:"ajs-fixed",frameless:"ajs-frameless",hidden:"ajs-hidden",maximize:"ajs-maximize",maximized:"ajs-maximized",maximizable:"ajs-maximizable",modeless:"ajs-modeless",movable:"ajs-movable",noSelection:"ajs-no-selection",noOverflow:"ajs-no-overflow",noPadding:"ajs-no-padding",pin:"ajs-pin",pinnable:"ajs-pinnable",prefix:"ajs-",resizable:"ajs-resizable",restore:"ajs-restore",shake:"ajs-shake",unpinned:"ajs-unpinned",noTransition:"ajs-no-transition"},Ae="",ve=0,ye=!1,_e=0,Ce=0,be=!1,we=null,xe=0,ke=0,Be="pageX",Se="pageY",Ze=null,Ie=!1,Ee=null,Te=null,Re=Number.Nan,Pe=0,Le=0,De=0;return{__init:e,isOpen:function(){return this.__internal.isOpen},isModal:function(){return this.elements.root.className.indexOf(ge.modeless)<0},isMaximized:function(){return this.elements.root.className.indexOf(ge.maximized)>-1},isPinned:function(){return this.elements.root.className.indexOf(ge.unpinned)<0},maximize:function(){return this.isMaximized()||E(this),this},restore:function(){return this.isMaximized()&&T(this),this},pin:function(){return this.isPinned()||Z(this),this},unpin:function(){return this.isPinned()&&I(this),this},bringToFront:function(){return y(0,this),this},moveTo:function(e,t){if(!isNaN(e)&&!isNaN(t)){f("onmove",this);var n=this.elements.dialog,r=n,a=0,i=0;n.style.left&&(a-=parseInt(n.style.left,10)),n.style.top&&(i-=parseInt(n.style.top,10));do{a+=r.offsetLeft,i+=r.offsetTop}while(r=r.offsetParent);var s=e-a,l=t-i;o()&&(s*=-1),n.style.left=s+"px",n.style.top=l+"px",f("onmoved",this)}return this},resizeTo:function(e,t){var n=parseFloat(e),r=parseFloat(t),a=/(\d*\.\d+|\d+)%/;if(!isNaN(n)&&!isNaN(r)&&!0===this.get("resizable")){f("onresize",this),(""+e).match(a)&&(n=n/100*document.documentElement.clientWidth),(""+t).match(a)&&(r=r/100*document.documentElement.clientHeight);var i=this.elements.dialog;"none"!==i.style.maxWidth&&(i.style.minWidth=(Le=i.offsetWidth)+"px"),i.style.maxWidth="none",i.style.minHeight=this.elements.header.offsetHeight+this.elements.footer.offsetHeight+"px",i.style.width=n+"px",i.style.height=r+"px",f("onresized",this)}return this},setting:function(e,t){var n=this,r=x(this,this.__internal.options,(function(e,t,r){w(n,e,t,r)}),e,t);if("get"===r.op)return r.found?r.value:void 0!==this.settings?x(this,this.settings,this.settingUpdated||function(){},e,t).value:void 0;if("set"===r.op){if(r.items.length>0)for(var a=this.settingUpdated||function(){},i=0;i0){var t=this;this.__internal.timer=setTimeout((function(){t.dismiss()}),1e3*this.__internal.delay)}return this},setContent:function(e){if("string"==typeof e?(c(this.element),this.element.innerHTML=e):e instanceof r.HTMLElement&&this.element.firstChild!==e&&(c(this.element),this.element.appendChild(e)),this.__internal.closeButton){var t=document.createElement("span");a(t,d.close),t.setAttribute("data-close",!0),this.element.appendChild(t)}return this},dismissOthers:function(){return x.dismissAll(this),this}})}var l,u=[],d=g.notifier.classes,p=d.base;return{setting:function(t,n){if(e(this),void 0===n)return this.__internal[t];switch(t){case"position":this.__internal.position=n,o(this);break;case"delay":this.__internal.delay=n}return this},set:function(e,t){return this.setting(e,t),this},get:function(e){return this.setting(e)},create:function(t,n){e(this);var r=document.createElement("div");return r.className=d.message+("string"==typeof t&&""!==t?" "+d.prefix+t:""),s(r,n)},dismissAll:function(e){for(var t=u.slice(0),n=0;n{"use strict";n.d(t,{Z:()=>r});const r={GUI:null,Tools:null,Layers:null,Config:null,State:null,FileOpen:null,FileSave:null,Actions:null}},9314:(e,t,n)=>{"use strict";n.d(t,{Z:()=>i});var r=n(2982),a={TRANSPARENCY:!1,TRANSPARENCY_TYPE:"squares",LANG:"en",WIDTH:null,HEIGHT:null,visible_width:null,visible_height:null,COLOR:"#008000",ALPHA:255,ZOOM:1,SNAP:!0,pixabay_key:"3ca2cd8af3fde33af218bea02-9021417",safe_search_can_be_disabled:!0,google_webfonts_key:"AIzaSyAC_Tx8RKkvN235fXCUyi_5XhSaRCzNhMg",layers:[],layer:null,need_render:!1,need_render_changed_params:!1,mouse:{},mouse_lock:null,swatches:{default:[]},user_fonts:{},guides_enabled:!0,guides:[],ruler_active:!1,enable_autoresize_by_default:!0,themes:["dark","light","green"],FONTS:["Arial","Courier","Impact","Helvetica","Monospace","Tahoma","Times New Roman","Verdana","Amatic SC","Arimo","Codystar","Creepster","Indie Flower","Lato","Lora","Merriweather","Monoton","Montserrat","Mukta","Muli","Nosifer","Nunito","Oswald","Orbitron","Pacifico","PT Sans","PT Serif","Playfair Display","Poppins","Raleway","Roboto","Rubik","Special Elite","Tangerine","Titillium Web","Ubuntu"]};a.TOOLS=[{name:"select",title:"Select object tool",attributes:{auto_select:!0}},{name:"selection",attributes:{},on_leave:"on_leave"},{name:"brush",attributes:{size:4,pressure:!1}},{name:"pencil",attributes:{size:1,pressure:!1}},{name:"pick_color",attributes:{global:!1}},{name:"erase",on_update:"on_params_update",attributes:{size:30,circle:!0,strict:!0}},{name:"magic_erase",title:"Magic Eraser Tool",attributes:{power:15,anti_aliasing:!0,contiguous:!1}},{name:"fill",attributes:{power:5,anti_aliasing:!1,contiguous:!1}},{name:"shape",on_activate:"on_activate",title:"Shapes (H)",attributes:{size:3,stroke:"#00aa00"}},{name:"line",visible:!1,attributes:{size:4}},{name:"arrow",visible:!1,attributes:{size:4}},{name:"rectangle",visible:!1,attributes:{border_size:4,border:!0,fill:!0,border_color:"#555555",fill_color:"#aaaaaa",radius:{value:0,min:0},square:!1}},{name:"ellipse",visible:!1,attributes:{border_size:4,border:!0,fill:!0,border_color:"#555555",fill_color:"#aaaaaa",circle:!1}},{name:"media",title:"Search Images",on_activate:"on_activate",attributes:{size:30}},{name:"triangle",visible:!1,attributes:{border_size:4,border:!0,fill:!0,border_color:"#555555",fill_color:"#aaaaaa"}},{name:"right_triangle",visible:!1,attributes:{border_size:4,border:!0,fill:!0,border_color:"#555555",fill_color:"#aaaaaa"}},{name:"romb",visible:!1,attributes:{border_size:4,border:!0,fill:!0,border_color:"#555555",fill_color:"#aaaaaa"}},{name:"parallelogram",visible:!1,attributes:{border_size:4,border:!0,fill:!0,border_color:"#555555",fill_color:"#aaaaaa"}},{name:"trapezoid",visible:!1,attributes:{border_size:4,border:!0,fill:!0,border_color:"#555555",fill_color:"#aaaaaa"}},{name:"plus",visible:!1,attributes:{border_size:4,border:!0,fill:!0,border_color:"#555555",fill_color:"#aaaaaa"}},{name:"pentagon",visible:!1,attributes:{border_size:4,border:!0,fill:!0,border_color:"#555555",fill_color:"#aaaaaa"}},{name:"hexagon",visible:!1,attributes:{border_size:4,border:!0,fill:!0,border_color:"#555555",fill_color:"#aaaaaa"}},{name:"star",visible:!1,attributes:{border_size:4,corners:5,inner_radius:40,border:!0,fill:!0,border_color:"#555555",fill_color:"#aaaaaa"}},{name:"heart",visible:!1,attributes:{border_size:4,border:!0,fill:!0,border_color:"#555555",fill_color:"#aaaaaa"}},{name:"cylinder",visible:!1,attributes:{border_size:4,border:!0,fill:!0,border_color:"#555555",fill_color:"#aaaaaa"}},{name:"human",visible:!1,attributes:{border_size:4,fill:!0,border_color:"#555555",fill_color:"#aaaaaa"}},{name:"tear",visible:!1,attributes:{border_size:4,border:!0,fill:!0,border_color:"#555555",fill_color:"#aaaaaa"}},{name:"cog",visible:!1,attributes:{fill_color:"#555555"}},{name:"bezier_curve",visible:!1,attributes:{size:4}},{name:"moon",visible:!1,attributes:{border_size:4,border:!0,fill:!0,border_color:"#555555",fill_color:"#aaaaaa"}},{name:"callout",visible:!1,attributes:{border_size:4,border:!0,fill:!0,border_color:"#555555",fill_color:"#aaaaaa"}},{name:"text",on_update:"on_params_update",attributes:{font:{value:"Arial",values:function(){var e=Object.keys(a.user_fonts);return["","[Add Font...]"].concat((0,r.Z)(Array.from(new Set([].concat((0,r.Z)(a.FONTS),e).sort()))))}},size:40,bold:{value:!1,icon:"bold.svg"},italic:{value:!1,icon:"italic.svg"},underline:{value:!1,icon:"underline.svg"},strikethrough:{value:!1,icon:"strikethrough.svg"},fill:"#008800",stroke:"#000000",stroke_size:{value:0,min:0,step:.1},kerning:{value:0,min:-999,max:999,step:1},leading:{value:0,min:-999,max:999,step:1}}},{name:"gradient",attributes:{color_1:"#008000",color_2:"#ffffff",alpha:0,radial:!1,radial_power:50}},{name:"clone",attributes:{size:30,anti_aliasing:!0,source_layer:{value:"Current",values:["Current","Previous"]}}},{name:"crop",on_update:"on_params_update",on_leave:"on_leave",attributes:{crop:!0}},{name:"blur",attributes:{size:30,strength:1}},{name:"sharpen",attributes:{size:30}},{name:"desaturate",attributes:{size:50,anti_aliasing:!0}},{name:"bulge_pinch",title:"Bulge/Pinch Tool",attributes:{radius:80,power:50,bulge:!0}},{name:"animation",on_activate:"on_activate",on_update:"on_params_update",on_leave:"on_leave",attributes:{play:!1,delay:400}},{name:"polygon",visible:!1,attributes:{border_size:4,border:!0,fill:!0,border_color:"#555555",fill_color:"#aaaaaa"}}],a.TOOL=a.TOOLS[2];const i=a},1125:(e,t,n)=>{"use strict";n.d(t,{Z:()=>R});var r=n(5671),a=n(3144),i=n(9314),o=n(699),s=n(4182),l=n(8476),c=n(9687),u=n(8562),d=n(1748),h=n(6031),p=n(2448),f=n(2414),m=n(9250),g=n(5405);const A=function(){function e(t){(0,r.Z)(this,e),this.Base_layers=new o.Z,this.Helper=new d.Z,this.Layer_rename=new h.default,this.Effects_browser=new p.default,this.Layer_duplicate=new f.default,this.Layer_raster=new m.default,this.Tools_translate=new g.default}return(0,a.Z)(e,[{key:"render_main_layers",value:function(){document.getElementById("layers_base").innerHTML='\n\t\n\t\n\t\n\n\t\n\t\n\n\t\n',"en"!=i.Z.LANG&&this.Tools_translate.translate(i.Z.LANG,document.getElementById("layers_base")),this.render_layers(),this.set_events()}},{key:"set_events",value:function(){var e=this;document.getElementById("layers_base").addEventListener("click",(function(t){var n=t.target;if("insert_layer"==n.id)u.Z.State.do_action(new u.Z.Actions.Insert_layer_action);else if("layer_duplicate"==n.id)e.Layer_duplicate.duplicate();else if("layer_raster"==n.id)e.Layer_raster.raster();else if("layer_up"==n.id)u.Z.State.do_action(new u.Z.Actions.Reorder_layer_action(i.Z.layer.id,1));else if("layer_down"==n.id)u.Z.State.do_action(new u.Z.Actions.Reorder_layer_action(i.Z.layer.id,-1));else{if("visibility"==n.id)return u.Z.State.do_action(new u.Z.Actions.Toggle_layer_visibility_action(n.dataset.id));if("delete"==n.id)u.Z.State.do_action(new u.Z.Actions.Delete_layer_action(n.dataset.id));else if("layer_name"==n.id){if(n.dataset.id==i.Z.layer.id)return;u.Z.State.do_action(new u.Z.Actions.Select_layer_action(n.dataset.id))}else if("delete_filter"==n.id)u.Z.State.do_action(new u.Z.Actions.Delete_layer_filter_action(n.dataset.pid,n.dataset.id));else if("filter_name"==n.id){var r=e.Effects_browser.get_effects_list(),a=n.dataset.filter.toLowerCase();for(var o in r)if(r[o].title.toLowerCase()==a){e.Base_layers.select(n.dataset.pid);var s=e.Effects_browser.get_function_from_path(a);r[o].object[s](n.dataset.id)}}}})),document.getElementById("layers_base").addEventListener("dblclick",(function(t){var n=t.target;"layer_name"==n.id&&e.Layer_rename.rename(n.dataset.id)}))}},{key:"render_layers",value:function(){var e="layers",t=i.Z.layers.concat().sort((function(e,t){return t.order-e.order}));document.getElementById(e).innerHTML="";var n="";if(i.Z.layer)for(var r in t){var a=t[r],o="";"source-atop"===a.composition&&(o+=" shorter"),a.id==i.Z.layer.id&&(o+=" active"),n+='