Changeset 3121729
- Timestamp:
- 07/18/2024 08:59:54 PM (19 months ago)
- Location:
- wicked-folders
- Files:
-
- 14 edited
- 1 copied
-
tags/3.0.5 (copied) (copied from wicked-folders/trunk)
-
tags/3.0.5/admin-templates/settings-page-general.php (modified) (1 diff)
-
tags/3.0.5/classes/class-admin.php (modified) (1 diff)
-
tags/3.0.5/classes/class-screen-state.php (modified) (3 diffs)
-
tags/3.0.5/dist/folders.asset.php (modified) (1 diff)
-
tags/3.0.5/dist/folders.js (modified) (1 diff)
-
tags/3.0.5/readme.txt (modified) (2 diffs)
-
tags/3.0.5/wicked-folders.php (modified) (1 diff)
-
trunk/admin-templates/settings-page-general.php (modified) (1 diff)
-
trunk/classes/class-admin.php (modified) (1 diff)
-
trunk/classes/class-screen-state.php (modified) (3 diffs)
-
trunk/dist/folders.asset.php (modified) (1 diff)
-
trunk/dist/folders.js (modified) (1 diff)
-
trunk/readme.txt (modified) (2 diffs)
-
trunk/wicked-folders.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
wicked-folders/tags/3.0.5/admin-templates/settings-page-general.php
r3065665 r3121729 124 124 <input type="checkbox" name="include_children" value="1"<?php if ( $include_children ) echo ' checked="checked"'; ?>/> 125 125 <?php _e( 'Include items from child folders', 'wicked-folders' ); ?> 126 <span class="dashicons dashicons-editor-help" title="<?php _e( "When unchecked (default) and a folder is selected, only items assigned to that folder will be displayed. When checked, items in the selected folder *and* items in any of the folder's child folders will be displayed. Please note: this setting does not apply to media.", 'wicked-folders' ); ?>"></span>126 <span class="dashicons dashicons-editor-help" title="<?php _e( "When unchecked (default) and a folder is selected, only items assigned to that folder will be displayed. When checked, items in the selected folder *and* items in any of the folder's child folders will be displayed. See additional/separate setting below if you'd like to enable this option for media files.", 'wicked-folders' ); ?>"></span> 127 127 </label> 128 128 </td> -
wicked-folders/tags/3.0.5/classes/class-admin.php
r3045356 r3121729 815 815 if ( isset( $query->tax_query->queries ) && is_array( $query->tax_query->queries ) ) { 816 816 foreach ( $query->tax_query->queries as $index => $tax_query ) { 817 if ( $tax_query['taxonomy'] == $taxonomy ) { 817 // $tax_query can sometimes be a relation string (e.g. 'AND' or 'OR') so 818 // make sure the taxonomy key is actually set before comparing it 819 if ( isset( $tax_query['taxonomy'] ) && $tax_query['taxonomy'] == $taxonomy ) { 818 820 $query->tax_query->queries[ $index ]['include_children'] = $include_children; 819 821 } -
wicked-folders/tags/3.0.5/classes/class-screen-state.php
r3079001 r3121729 35 35 public $sync_upload_folder_dropdown = true; 36 36 public $is_folder_panel_busy = false; 37 public $disable_drag_drop_on_mobile = true; 37 38 public $selected_folders = array(); 38 39 public $schema = array( … … 56 57 'isFolderPanelBusy' => 'is_folder_panel_busy', 57 58 'selectedFolders' => 'selected_folders', 59 'disableDragDropOnMobile' => 'disable_drag_drop_on_mobile', 58 60 ); 59 61 … … 145 147 146 148 $this->sync_upload_folder_dropdown = ( bool ) get_option( 'wicked_folders_sync_upload_folder_dropdown', true ); 149 150 $this->disable_drag_drop_on_mobile = apply_filters( 'wicked_folders_disable_drag_drop_on_mobile', $this->disable_drag_drop_on_mobile ); 147 151 148 152 /** -
wicked-folders/tags/3.0.5/dist/folders.asset.php
r3068593 r3121729 1 <?php return array('dependencies' => array('wp-api-fetch', 'wp-components', 'wp-data', 'wp-data-controls', 'wp-element', 'wp-hooks', 'wp-i18n'), 'version' => ' 51bd5c06d03c7636259a');1 <?php return array('dependencies' => array('wp-api-fetch', 'wp-components', 'wp-data', 'wp-data-controls', 'wp-element', 'wp-hooks', 'wp-i18n'), 'version' => '18865c4ee7681630ded2'); -
wicked-folders/tags/3.0.5/dist/folders.js
r3068593 r3121729 1 (()=>{var e={703:(e,t)=>{var r;!function(){"use strict";var n={}.hasOwnProperty;function o(){for(var e=[],t=0;t<arguments.length;t++){var r=arguments[t];if(r){var a=typeof r;if("string"===a||"number"===a)e.push(r);else if(Array.isArray(r)){if(r.length){var i=o.apply(null,r);i&&e.push(i)}}else if("object"===a)if(r.toString===Object.prototype.toString)for(var c in r)n.call(r,c)&&r[c]&&e.push(c);else e.push(r.toString())}}return e.join(" ")}e.exports?(o.default=o,e.exports=o):void 0===(r=function(){return o}.apply(t,[]))||(e.exports=r)}()},705:e=>{"use strict";e.exports=function(e){var t=[];return t.toString=function(){return this.map((function(t){var r="",n=void 0!==t[5];return t[4]&&(r+="@supports (".concat(t[4],") {")),t[2]&&(r+="@media ".concat(t[2]," {")),n&&(r+="@layer".concat(t[5].length>0?" ".concat(t[5]):""," {")),r+=e(t),n&&(r+="}"),t[2]&&(r+="}"),t[4]&&(r+="}"),r})).join("")},t.i=function(e,r,n,o,a){"string"==typeof e&&(e=[[null,e,void 0]]);var i={};if(n)for(var c=0;c<this.length;c++){var l=this[c][0];null!=l&&(i[l]=!0)}for(var s=0;s<e.length;s++){var u=[].concat(e[s]);n&&i[u[0]]||(void 0!==a&&(void 0===u[5]||(u[1]="@layer".concat(u[5].length>0?" ".concat(u[5]):""," {").concat(u[1],"}")),u[5]=a),r&&(u[2]?(u[1]="@media ".concat(u[2]," {").concat(u[1],"}"),u[2]=r):u[2]=r),o&&(u[4]?(u[1]="@supports (".concat(u[4],") {").concat(u[1],"}"),u[4]=o):u[4]="".concat(o)),t.push(u))}},t}},738:e=>{"use strict";e.exports=function(e){return e[1]}},805:function(e,t,r){"use strict";var n=this&&this.__assign||function(){return n=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var o in t=arguments[r])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},n.apply(this,arguments)};Object.defineProperty(t,"__esModule",{value:!0});var o=r(547),a=r(125),i=r(663),c=n(n({},o.namedReferences),{all:o.namedReferences.html5});function l(e,t,r){t.lastIndex=0;var n,o=t.exec(e);if(o){n="";var a=0;do{a!==o.index&&(n+=e.substring(a,o.index));var i=o[0];n+=r(i),a=o.index+i.length}while(o=t.exec(e));a!==e.length&&(n+=e.substring(a))}else n=e;return n}var s={specialChars:/[<>'"&]/g,nonAscii:/[<>'"&\u0080-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/g,nonAsciiPrintable:/[<>'"&\x01-\x08\x11-\x15\x17-\x1F\x7f-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/g,nonAsciiPrintableOnly:/[\x01-\x08\x11-\x15\x17-\x1F\x7f-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/g,extensive:/[\x01-\x0c\x0e-\x1f\x21-\x2c\x2e-\x2f\x3a-\x40\x5b-\x60\x7b-\x7d\x7f-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/g},u={mode:"specialChars",level:"all",numeric:"decimal"};t.encode=function(e,t){var r=void 0===t?u:t,n=r.mode,o=void 0===n?"specialChars":n,a=r.numeric,d=void 0===a?"decimal":a,f=r.level;if(!e)return"";var p=s[o],h=c[void 0===f?"all":f].characters,m="hexadecimal"===d;return l(e,p,(function(e){var t=h[e];if(!t){var r=e.length>1?i.getCodePoint(e,0):e.charCodeAt(0);t=(m?"&#x"+r.toString(16):"&#"+r)+";"}return t}))};var d={scope:"body",level:"all"},f=/&(?:#\d+|#[xX][\da-fA-F]+|[0-9a-zA-Z]+);/g,p=/&(?:#\d+|#[xX][\da-fA-F]+|[0-9a-zA-Z]+)[;=]?/g,h={xml:{strict:f,attribute:p,body:o.bodyRegExps.xml},html4:{strict:f,attribute:p,body:o.bodyRegExps.html4},html5:{strict:f,attribute:p,body:o.bodyRegExps.html5}},m=n(n({},h),{all:h.html5}),g=String.fromCharCode,v=g(65533),y={level:"all"};function b(e,t,r,n){var o=e,c=e[e.length-1];if(r&&"="===c)o=e;else if(n&&";"!==c)o=e;else{var l=t[e];if(l)o=l;else if("&"===e[0]&&"#"===e[1]){var s=e[2],u="x"==s||"X"==s?parseInt(e.substr(3),16):parseInt(e.substr(2));o=u>=1114111?v:u>65535?i.fromCodePoint(u):g(a.numericUnicodeMap[u]||u)}}return o}t.decodeEntity=function(e,t){var r=(void 0===t?y:t).level;return e?b(e,c[void 0===r?"all":r].entities,!1,!1):""},t.decode=function(e,t){var r=void 0===t?d:t,n=r.level,o=void 0===n?"all":n,a=r.scope,i=void 0===a?"xml"===o?"strict":"body":a;if(!e)return"";var s=m[o][i],u=c[o].entities,f="attribute"===i,p="strict"===i;return l(e,s,(function(e){return b(e,u,f,p)}))}},547:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.bodyRegExps={xml:/&(?:#\d+|#[xX][\da-fA-F]+|[0-9a-zA-Z]+);?/g,html4:/∉|&(?:nbsp|iexcl|cent|pound|curren|yen|brvbar|sect|uml|copy|ordf|laquo|not|shy|reg|macr|deg|plusmn|sup2|sup3|acute|micro|para|middot|cedil|sup1|ordm|raquo|frac14|frac12|frac34|iquest|Agrave|Aacute|Acirc|Atilde|Auml|Aring|AElig|Ccedil|Egrave|Eacute|Ecirc|Euml|Igrave|Iacute|Icirc|Iuml|ETH|Ntilde|Ograve|Oacute|Ocirc|Otilde|Ouml|times|Oslash|Ugrave|Uacute|Ucirc|Uuml|Yacute|THORN|szlig|agrave|aacute|acirc|atilde|auml|aring|aelig|ccedil|egrave|eacute|ecirc|euml|igrave|iacute|icirc|iuml|eth|ntilde|ograve|oacute|ocirc|otilde|ouml|divide|oslash|ugrave|uacute|ucirc|uuml|yacute|thorn|yuml|quot|amp|lt|gt|#\d+|#[xX][\da-fA-F]+|[0-9a-zA-Z]+);?/g,html5:/·|℗|⋇|⪧|⩺|⋗|⦕|⩼|⪆|⥸|⋗|⋛|⪌|≷|≳|⪦|⩹|⋖|⋋|⋉|⥶|⩻|⦖|◃|⊴|◂|∉|⋹̸|⋵̸|∉|⋷|⋶|∌|∌|⋾|⋽|∥|⊠|⨱|⨰|&(?:AElig|AMP|Aacute|Acirc|Agrave|Aring|Atilde|Auml|COPY|Ccedil|ETH|Eacute|Ecirc|Egrave|Euml|GT|Iacute|Icirc|Igrave|Iuml|LT|Ntilde|Oacute|Ocirc|Ograve|Oslash|Otilde|Ouml|QUOT|REG|THORN|Uacute|Ucirc|Ugrave|Uuml|Yacute|aacute|acirc|acute|aelig|agrave|amp|aring|atilde|auml|brvbar|ccedil|cedil|cent|copy|curren|deg|divide|eacute|ecirc|egrave|eth|euml|frac12|frac14|frac34|gt|iacute|icirc|iexcl|igrave|iquest|iuml|laquo|lt|macr|micro|middot|nbsp|not|ntilde|oacute|ocirc|ograve|ordf|ordm|oslash|otilde|ouml|para|plusmn|pound|quot|raquo|reg|sect|shy|sup1|sup2|sup3|szlig|thorn|times|uacute|ucirc|ugrave|uml|uuml|yacute|yen|yuml|#\d+|#[xX][\da-fA-F]+|[0-9a-zA-Z]+);?/g},t.namedReferences={xml:{entities:{"<":"<",">":">",""":'"',"'":"'","&":"&"},characters:{"<":"<",">":">",'"':""","'":"'","&":"&"}},html4:{entities:{"'":"'"," ":" "," ":" ","¡":"¡","¡":"¡","¢":"¢","¢":"¢","£":"£","£":"£","¤":"¤","¤":"¤","¥":"¥","¥":"¥","¦":"¦","¦":"¦","§":"§","§":"§","¨":"¨","¨":"¨","©":"©","©":"©","ª":"ª","ª":"ª","«":"«","«":"«","¬":"¬","¬":"¬","­":"","­":"","®":"®","®":"®","¯":"¯","¯":"¯","°":"°","°":"°","±":"±","±":"±","²":"²","²":"²","³":"³","³":"³","´":"´","´":"´","µ":"µ","µ":"µ","¶":"¶","¶":"¶","·":"·","·":"·","¸":"¸","¸":"¸","¹":"¹","¹":"¹","º":"º","º":"º","»":"»","»":"»","¼":"¼","¼":"¼","½":"½","½":"½","¾":"¾","¾":"¾","¿":"¿","¿":"¿","À":"À","À":"À","Á":"Á","Á":"Á","Â":"Â","Â":"Â","Ã":"Ã","Ã":"Ã","Ä":"Ä","Ä":"Ä","Å":"Å","Å":"Å","Æ":"Æ","Æ":"Æ","Ç":"Ç","Ç":"Ç","È":"È","È":"È","É":"É","É":"É","Ê":"Ê","Ê":"Ê","Ë":"Ë","Ë":"Ë","Ì":"Ì","Ì":"Ì","Í":"Í","Í":"Í","Î":"Î","Î":"Î","Ï":"Ï","Ï":"Ï","Ð":"Ð","Ð":"Ð","Ñ":"Ñ","Ñ":"Ñ","Ò":"Ò","Ò":"Ò","Ó":"Ó","Ó":"Ó","Ô":"Ô","Ô":"Ô","Õ":"Õ","Õ":"Õ","Ö":"Ö","Ö":"Ö","×":"×","×":"×","Ø":"Ø","Ø":"Ø","Ù":"Ù","Ù":"Ù","Ú":"Ú","Ú":"Ú","Û":"Û","Û":"Û","Ü":"Ü","Ü":"Ü","Ý":"Ý","Ý":"Ý","Þ":"Þ","Þ":"Þ","ß":"ß","ß":"ß","à":"à","à":"à","á":"á","á":"á","â":"â","â":"â","ã":"ã","ã":"ã","ä":"ä","ä":"ä","å":"å","å":"å","æ":"æ","æ":"æ","ç":"ç","ç":"ç","è":"è","è":"è","é":"é","é":"é","ê":"ê","ê":"ê","ë":"ë","ë":"ë","ì":"ì","ì":"ì","í":"í","í":"í","î":"î","î":"î","ï":"ï","ï":"ï","ð":"ð","ð":"ð","ñ":"ñ","ñ":"ñ","ò":"ò","ò":"ò","ó":"ó","ó":"ó","ô":"ô","ô":"ô","õ":"õ","õ":"õ","ö":"ö","ö":"ö","÷":"÷","÷":"÷","ø":"ø","ø":"ø","ù":"ù","ù":"ù","ú":"ú","ú":"ú","û":"û","û":"û","ü":"ü","ü":"ü","ý":"ý","ý":"ý","þ":"þ","þ":"þ","ÿ":"ÿ","ÿ":"ÿ",""":'"',""":'"',"&":"&","&":"&","<":"<","<":"<",">":">",">":">","Œ":"Œ","œ":"œ","Š":"Š","š":"š","Ÿ":"Ÿ","ˆ":"ˆ","˜":"˜"," ":" "," ":" "," ":" ","‌":"","‍":"","‎":"","‏":"","–":"–","—":"—","‘":"‘","’":"’","‚":"‚","“":"“","”":"”","„":"„","†":"†","‡":"‡","‰":"‰","‹":"‹","›":"›","€":"€","ƒ":"ƒ","Α":"Α","Β":"Β","Γ":"Γ","Δ":"Δ","Ε":"Ε","Ζ":"Ζ","Η":"Η","Θ":"Θ","Ι":"Ι","Κ":"Κ","Λ":"Λ","Μ":"Μ","Ν":"Ν","Ξ":"Ξ","Ο":"Ο","Π":"Π","Ρ":"Ρ","Σ":"Σ","Τ":"Τ","Υ":"Υ","Φ":"Φ","Χ":"Χ","Ψ":"Ψ","Ω":"Ω","α":"α","β":"β","γ":"γ","δ":"δ","ε":"ε","ζ":"ζ","η":"η","θ":"θ","ι":"ι","κ":"κ","λ":"λ","μ":"μ","ν":"ν","ξ":"ξ","ο":"ο","π":"π","ρ":"ρ","ς":"ς","σ":"σ","τ":"τ","υ":"υ","φ":"φ","χ":"χ","ψ":"ψ","ω":"ω","ϑ":"ϑ","ϒ":"ϒ","ϖ":"ϖ","•":"•","…":"…","′":"′","″":"″","‾":"‾","⁄":"⁄","℘":"℘","ℑ":"ℑ","ℜ":"ℜ","™":"™","ℵ":"ℵ","←":"←","↑":"↑","→":"→","↓":"↓","↔":"↔","↵":"↵","⇐":"⇐","⇑":"⇑","⇒":"⇒","⇓":"⇓","⇔":"⇔","∀":"∀","∂":"∂","∃":"∃","∅":"∅","∇":"∇","∈":"∈","∉":"∉","∋":"∋","∏":"∏","∑":"∑","−":"−","∗":"∗","√":"√","∝":"∝","∞":"∞","∠":"∠","∧":"∧","∨":"∨","∩":"∩","∪":"∪","∫":"∫","∴":"∴","∼":"∼","≅":"≅","≈":"≈","≠":"≠","≡":"≡","≤":"≤","≥":"≥","⊂":"⊂","⊃":"⊃","⊄":"⊄","⊆":"⊆","⊇":"⊇","⊕":"⊕","⊗":"⊗","⊥":"⊥","⋅":"⋅","⌈":"⌈","⌉":"⌉","⌊":"⌊","⌋":"⌋","⟨":"〈","⟩":"〉","◊":"◊","♠":"♠","♣":"♣","♥":"♥","♦":"♦"},characters:{"'":"'"," ":" ","¡":"¡","¢":"¢","£":"£","¤":"¤","¥":"¥","¦":"¦","§":"§","¨":"¨","©":"©",ª:"ª","«":"«","¬":"¬","":"­","®":"®","¯":"¯","°":"°","±":"±","²":"²","³":"³","´":"´",µ:"µ","¶":"¶","·":"·","¸":"¸","¹":"¹",º:"º","»":"»","¼":"¼","½":"½","¾":"¾","¿":"¿",À:"À",Á:"Á",Â:"Â",Ã:"Ã",Ä:"Ä",Å:"Å",Æ:"Æ",Ç:"Ç",È:"È",É:"É",Ê:"Ê",Ë:"Ë",Ì:"Ì",Í:"Í",Î:"Î",Ï:"Ï",Ð:"Ð",Ñ:"Ñ",Ò:"Ò",Ó:"Ó",Ô:"Ô",Õ:"Õ",Ö:"Ö","×":"×",Ø:"Ø",Ù:"Ù",Ú:"Ú",Û:"Û",Ü:"Ü",Ý:"Ý",Þ:"Þ",ß:"ß",à:"à",á:"á",â:"â",ã:"ã",ä:"ä",å:"å",æ:"æ",ç:"ç",è:"è",é:"é",ê:"ê",ë:"ë",ì:"ì",í:"í",î:"î",ï:"ï",ð:"ð",ñ:"ñ",ò:"ò",ó:"ó",ô:"ô",õ:"õ",ö:"ö","÷":"÷",ø:"ø",ù:"ù",ú:"ú",û:"û",ü:"ü",ý:"ý",þ:"þ",ÿ:"ÿ",'"':""","&":"&","<":"<",">":">",Œ:"Œ",œ:"œ",Š:"Š",š:"š",Ÿ:"Ÿ",ˆ:"ˆ","˜":"˜"," ":" "," ":" "," ":" ","":"‌","":"‍","":"‎","":"‏","–":"–","—":"—","‘":"‘","’":"’","‚":"‚","“":"“","”":"”","„":"„","†":"†","‡":"‡","‰":"‰","‹":"‹","›":"›","€":"€",ƒ:"ƒ",Α:"Α",Β:"Β",Γ:"Γ",Δ:"Δ",Ε:"Ε",Ζ:"Ζ",Η:"Η",Θ:"Θ",Ι:"Ι",Κ:"Κ",Λ:"Λ",Μ:"Μ",Ν:"Ν",Ξ:"Ξ",Ο:"Ο",Π:"Π",Ρ:"Ρ",Σ:"Σ",Τ:"Τ",Υ:"Υ",Φ:"Φ",Χ:"Χ",Ψ:"Ψ",Ω:"Ω",α:"α",β:"β",γ:"γ",δ:"δ",ε:"ε",ζ:"ζ",η:"η",θ:"θ",ι:"ι",κ:"κ",λ:"λ",μ:"μ",ν:"ν",ξ:"ξ",ο:"ο",π:"π",ρ:"ρ",ς:"ς",σ:"σ",τ:"τ",υ:"υ",φ:"φ",χ:"χ",ψ:"ψ",ω:"ω",ϑ:"ϑ",ϒ:"ϒ",ϖ:"ϖ","•":"•","…":"…","′":"′","″":"″","‾":"‾","⁄":"⁄",℘:"℘",ℑ:"ℑ",ℜ:"ℜ","™":"™",ℵ:"ℵ","←":"←","↑":"↑","→":"→","↓":"↓","↔":"↔","↵":"↵","⇐":"⇐","⇑":"⇑","⇒":"⇒","⇓":"⇓","⇔":"⇔","∀":"∀","∂":"∂","∃":"∃","∅":"∅","∇":"∇","∈":"∈","∉":"∉","∋":"∋","∏":"∏","∑":"∑","−":"−","∗":"∗","√":"√","∝":"∝","∞":"∞","∠":"∠","∧":"∧","∨":"∨","∩":"∩","∪":"∪","∫":"∫","∴":"∴","∼":"∼","≅":"≅","≈":"≈","≠":"≠","≡":"≡","≤":"≤","≥":"≥","⊂":"⊂","⊃":"⊃","⊄":"⊄","⊆":"⊆","⊇":"⊇","⊕":"⊕","⊗":"⊗","⊥":"⊥","⋅":"⋅","⌈":"⌈","⌉":"⌉","⌊":"⌊","⌋":"⌋","〈":"⟨","〉":"⟩","◊":"◊","♠":"♠","♣":"♣","♥":"♥","♦":"♦"}},html5:{entities:{"Æ":"Æ","Æ":"Æ","&":"&","&":"&","Á":"Á","Á":"Á","Ă":"Ă","Â":"Â","Â":"Â","А":"А","𝔄":"𝔄","À":"À","À":"À","Α":"Α","Ā":"Ā","⩓":"⩓","Ą":"Ą","𝔸":"𝔸","⁡":"","Å":"Å","Å":"Å","𝒜":"𝒜","≔":"≔","Ã":"Ã","Ã":"Ã","Ä":"Ä","Ä":"Ä","∖":"∖","⫧":"⫧","⌆":"⌆","Б":"Б","∵":"∵","ℬ":"ℬ","Β":"Β","𝔅":"𝔅","𝔹":"𝔹","˘":"˘","ℬ":"ℬ","≎":"≎","Ч":"Ч","©":"©","©":"©","Ć":"Ć","⋒":"⋒","ⅅ":"ⅅ","ℭ":"ℭ","Č":"Č","Ç":"Ç","Ç":"Ç","Ĉ":"Ĉ","∰":"∰","Ċ":"Ċ","¸":"¸","·":"·","ℭ":"ℭ","Χ":"Χ","⊙":"⊙","⊖":"⊖","⊕":"⊕","⊗":"⊗","∲":"∲","”":"”","’":"’","∷":"∷","⩴":"⩴","≡":"≡","∯":"∯","∮":"∮","ℂ":"ℂ","∐":"∐","∳":"∳","⨯":"⨯","𝒞":"𝒞","⋓":"⋓","≍":"≍","ⅅ":"ⅅ","⤑":"⤑","Ђ":"Ђ","Ѕ":"Ѕ","Џ":"Џ","‡":"‡","↡":"↡","⫤":"⫤","Ď":"Ď","Д":"Д","∇":"∇","Δ":"Δ","𝔇":"𝔇","´":"´","˙":"˙","˝":"˝","`":"`","˜":"˜","⋄":"⋄","ⅆ":"ⅆ","𝔻":"𝔻","¨":"¨","⃜":"⃜","≐":"≐","∯":"∯","¨":"¨","⇓":"⇓","⇐":"⇐","⇔":"⇔","⫤":"⫤","⟸":"⟸","⟺":"⟺","⟹":"⟹","⇒":"⇒","⊨":"⊨","⇑":"⇑","⇕":"⇕","∥":"∥","↓":"↓","⤓":"⤓","⇵":"⇵","̑":"̑","⥐":"⥐","⥞":"⥞","↽":"↽","⥖":"⥖","⥟":"⥟","⇁":"⇁","⥗":"⥗","⊤":"⊤","↧":"↧","⇓":"⇓","𝒟":"𝒟","Đ":"Đ","Ŋ":"Ŋ","Ð":"Ð","Ð":"Ð","É":"É","É":"É","Ě":"Ě","Ê":"Ê","Ê":"Ê","Э":"Э","Ė":"Ė","𝔈":"𝔈","È":"È","È":"È","∈":"∈","Ē":"Ē","◻":"◻","▫":"▫","Ę":"Ę","𝔼":"𝔼","Ε":"Ε","⩵":"⩵","≂":"≂","⇌":"⇌","ℰ":"ℰ","⩳":"⩳","Η":"Η","Ë":"Ë","Ë":"Ë","∃":"∃","ⅇ":"ⅇ","Ф":"Ф","𝔉":"𝔉","◼":"◼","▪":"▪","𝔽":"𝔽","∀":"∀","ℱ":"ℱ","ℱ":"ℱ","Ѓ":"Ѓ",">":">",">":">","Γ":"Γ","Ϝ":"Ϝ","Ğ":"Ğ","Ģ":"Ģ","Ĝ":"Ĝ","Г":"Г","Ġ":"Ġ","𝔊":"𝔊","⋙":"⋙","𝔾":"𝔾","≥":"≥","⋛":"⋛","≧":"≧","⪢":"⪢","≷":"≷","⩾":"⩾","≳":"≳","𝒢":"𝒢","≫":"≫","Ъ":"Ъ","ˇ":"ˇ","^":"^","Ĥ":"Ĥ","ℌ":"ℌ","ℋ":"ℋ","ℍ":"ℍ","─":"─","ℋ":"ℋ","Ħ":"Ħ","≎":"≎","≏":"≏","Е":"Е","IJ":"IJ","Ё":"Ё","Í":"Í","Í":"Í","Î":"Î","Î":"Î","И":"И","İ":"İ","ℑ":"ℑ","Ì":"Ì","Ì":"Ì","ℑ":"ℑ","Ī":"Ī","ⅈ":"ⅈ","⇒":"⇒","∬":"∬","∫":"∫","⋂":"⋂","⁣":"","⁢":"","Į":"Į","𝕀":"𝕀","Ι":"Ι","ℐ":"ℐ","Ĩ":"Ĩ","І":"І","Ï":"Ï","Ï":"Ï","Ĵ":"Ĵ","Й":"Й","𝔍":"𝔍","𝕁":"𝕁","𝒥":"𝒥","Ј":"Ј","Є":"Є","Х":"Х","Ќ":"Ќ","Κ":"Κ","Ķ":"Ķ","К":"К","𝔎":"𝔎","𝕂":"𝕂","𝒦":"𝒦","Љ":"Љ","<":"<","<":"<","Ĺ":"Ĺ","Λ":"Λ","⟪":"⟪","ℒ":"ℒ","↞":"↞","Ľ":"Ľ","Ļ":"Ļ","Л":"Л","⟨":"⟨","←":"←","⇤":"⇤","⇆":"⇆","⌈":"⌈","⟦":"⟦","⥡":"⥡","⇃":"⇃","⥙":"⥙","⌊":"⌊","↔":"↔","⥎":"⥎","⊣":"⊣","↤":"↤","⥚":"⥚","⊲":"⊲","⧏":"⧏","⊴":"⊴","⥑":"⥑","⥠":"⥠","↿":"↿","⥘":"⥘","↼":"↼","⥒":"⥒","⇐":"⇐","⇔":"⇔","⋚":"⋚","≦":"≦","≶":"≶","⪡":"⪡","⩽":"⩽","≲":"≲","𝔏":"𝔏","⋘":"⋘","⇚":"⇚","Ŀ":"Ŀ","⟵":"⟵","⟷":"⟷","⟶":"⟶","⟸":"⟸","⟺":"⟺","⟹":"⟹","𝕃":"𝕃","↙":"↙","↘":"↘","ℒ":"ℒ","↰":"↰","Ł":"Ł","≪":"≪","⤅":"⤅","М":"М"," ":" ","ℳ":"ℳ","𝔐":"𝔐","∓":"∓","𝕄":"𝕄","ℳ":"ℳ","Μ":"Μ","Њ":"Њ","Ń":"Ń","Ň":"Ň","Ņ":"Ņ","Н":"Н","​":"","​":"","​":"","​":"","≫":"≫","≪":"≪","
":"\n","𝔑":"𝔑","⁠":""," ":" ","ℕ":"ℕ","⫬":"⫬","≢":"≢","≭":"≭","∦":"∦","∉":"∉","≠":"≠","≂̸":"≂̸","∄":"∄","≯":"≯","≱":"≱","≧̸":"≧̸","≫̸":"≫̸","≹":"≹","⩾̸":"⩾̸","≵":"≵","≎̸":"≎̸","≏̸":"≏̸","⋪":"⋪","⧏̸":"⧏̸","⋬":"⋬","≮":"≮","≰":"≰","≸":"≸","≪̸":"≪̸","⩽̸":"⩽̸","≴":"≴","⪢̸":"⪢̸","⪡̸":"⪡̸","⊀":"⊀","⪯̸":"⪯̸","⋠":"⋠","∌":"∌","⋫":"⋫","⧐̸":"⧐̸","⋭":"⋭","⊏̸":"⊏̸","⋢":"⋢","⊐̸":"⊐̸","⋣":"⋣","⊂⃒":"⊂⃒","⊈":"⊈","⊁":"⊁","⪰̸":"⪰̸","⋡":"⋡","≿̸":"≿̸","⊃⃒":"⊃⃒","⊉":"⊉","≁":"≁","≄":"≄","≇":"≇","≉":"≉","∤":"∤","𝒩":"𝒩","Ñ":"Ñ","Ñ":"Ñ","Ν":"Ν","Œ":"Œ","Ó":"Ó","Ó":"Ó","Ô":"Ô","Ô":"Ô","О":"О","Ő":"Ő","𝔒":"𝔒","Ò":"Ò","Ò":"Ò","Ō":"Ō","Ω":"Ω","Ο":"Ο","𝕆":"𝕆","“":"“","‘":"‘","⩔":"⩔","𝒪":"𝒪","Ø":"Ø","Ø":"Ø","Õ":"Õ","Õ":"Õ","⨷":"⨷","Ö":"Ö","Ö":"Ö","‾":"‾","⏞":"⏞","⎴":"⎴","⏜":"⏜","∂":"∂","П":"П","𝔓":"𝔓","Φ":"Φ","Π":"Π","±":"±","ℌ":"ℌ","ℙ":"ℙ","⪻":"⪻","≺":"≺","⪯":"⪯","≼":"≼","≾":"≾","″":"″","∏":"∏","∷":"∷","∝":"∝","𝒫":"𝒫","Ψ":"Ψ",""":'"',""":'"',"𝔔":"𝔔","ℚ":"ℚ","𝒬":"𝒬","⤐":"⤐","®":"®","®":"®","Ŕ":"Ŕ","⟫":"⟫","↠":"↠","⤖":"⤖","Ř":"Ř","Ŗ":"Ŗ","Р":"Р","ℜ":"ℜ","∋":"∋","⇋":"⇋","⥯":"⥯","ℜ":"ℜ","Ρ":"Ρ","⟩":"⟩","→":"→","⇥":"⇥","⇄":"⇄","⌉":"⌉","⟧":"⟧","⥝":"⥝","⇂":"⇂","⥕":"⥕","⌋":"⌋","⊢":"⊢","↦":"↦","⥛":"⥛","⊳":"⊳","⧐":"⧐","⊵":"⊵","⥏":"⥏","⥜":"⥜","↾":"↾","⥔":"⥔","⇀":"⇀","⥓":"⥓","⇒":"⇒","ℝ":"ℝ","⥰":"⥰","⇛":"⇛","ℛ":"ℛ","↱":"↱","⧴":"⧴","Щ":"Щ","Ш":"Ш","Ь":"Ь","Ś":"Ś","⪼":"⪼","Š":"Š","Ş":"Ş","Ŝ":"Ŝ","С":"С","𝔖":"𝔖","↓":"↓","←":"←","→":"→","↑":"↑","Σ":"Σ","∘":"∘","𝕊":"𝕊","√":"√","□":"□","⊓":"⊓","⊏":"⊏","⊑":"⊑","⊐":"⊐","⊒":"⊒","⊔":"⊔","𝒮":"𝒮","⋆":"⋆","⋐":"⋐","⋐":"⋐","⊆":"⊆","≻":"≻","⪰":"⪰","≽":"≽","≿":"≿","∋":"∋","∑":"∑","⋑":"⋑","⊃":"⊃","⊇":"⊇","⋑":"⋑","Þ":"Þ","Þ":"Þ","™":"™","Ћ":"Ћ","Ц":"Ц","	":"\t","Τ":"Τ","Ť":"Ť","Ţ":"Ţ","Т":"Т","𝔗":"𝔗","∴":"∴","Θ":"Θ","  ":" "," ":" ","∼":"∼","≃":"≃","≅":"≅","≈":"≈","𝕋":"𝕋","⃛":"⃛","𝒯":"𝒯","Ŧ":"Ŧ","Ú":"Ú","Ú":"Ú","↟":"↟","⥉":"⥉","Ў":"Ў","Ŭ":"Ŭ","Û":"Û","Û":"Û","У":"У","Ű":"Ű","𝔘":"𝔘","Ù":"Ù","Ù":"Ù","Ū":"Ū","_":"_","⏟":"⏟","⎵":"⎵","⏝":"⏝","⋃":"⋃","⊎":"⊎","Ų":"Ų","𝕌":"𝕌","↑":"↑","⤒":"⤒","⇅":"⇅","↕":"↕","⥮":"⥮","⊥":"⊥","↥":"↥","⇑":"⇑","⇕":"⇕","↖":"↖","↗":"↗","ϒ":"ϒ","Υ":"Υ","Ů":"Ů","𝒰":"𝒰","Ũ":"Ũ","Ü":"Ü","Ü":"Ü","⊫":"⊫","⫫":"⫫","В":"В","⊩":"⊩","⫦":"⫦","⋁":"⋁","‖":"‖","‖":"‖","∣":"∣","|":"|","❘":"❘","≀":"≀"," ":" ","𝔙":"𝔙","𝕍":"𝕍","𝒱":"𝒱","⊪":"⊪","Ŵ":"Ŵ","⋀":"⋀","𝔚":"𝔚","𝕎":"𝕎","𝒲":"𝒲","𝔛":"𝔛","Ξ":"Ξ","𝕏":"𝕏","𝒳":"𝒳","Я":"Я","Ї":"Ї","Ю":"Ю","Ý":"Ý","Ý":"Ý","Ŷ":"Ŷ","Ы":"Ы","𝔜":"𝔜","𝕐":"𝕐","𝒴":"𝒴","Ÿ":"Ÿ","Ж":"Ж","Ź":"Ź","Ž":"Ž","З":"З","Ż":"Ż","​":"","Ζ":"Ζ","ℨ":"ℨ","ℤ":"ℤ","𝒵":"𝒵","á":"á","á":"á","ă":"ă","∾":"∾","∾̳":"∾̳","∿":"∿","â":"â","â":"â","´":"´","´":"´","а":"а","æ":"æ","æ":"æ","⁡":"","𝔞":"𝔞","à":"à","à":"à","ℵ":"ℵ","ℵ":"ℵ","α":"α","ā":"ā","⨿":"⨿","&":"&","&":"&","∧":"∧","⩕":"⩕","⩜":"⩜","⩘":"⩘","⩚":"⩚","∠":"∠","⦤":"⦤","∠":"∠","∡":"∡","⦨":"⦨","⦩":"⦩","⦪":"⦪","⦫":"⦫","⦬":"⦬","⦭":"⦭","⦮":"⦮","⦯":"⦯","∟":"∟","⊾":"⊾","⦝":"⦝","∢":"∢","Å":"Å","⍼":"⍼","ą":"ą","𝕒":"𝕒","≈":"≈","⩰":"⩰","⩯":"⩯","≊":"≊","≋":"≋","'":"'","≈":"≈","≊":"≊","å":"å","å":"å","𝒶":"𝒶","*":"*","≈":"≈","≍":"≍","ã":"ã","ã":"ã","ä":"ä","ä":"ä","∳":"∳","⨑":"⨑","⫭":"⫭","≌":"≌","϶":"϶","‵":"‵","∽":"∽","⋍":"⋍","⊽":"⊽","⌅":"⌅","⌅":"⌅","⎵":"⎵","⎶":"⎶","≌":"≌","б":"б","„":"„","∵":"∵","∵":"∵","⦰":"⦰","϶":"϶","ℬ":"ℬ","β":"β","ℶ":"ℶ","≬":"≬","𝔟":"𝔟","⋂":"⋂","◯":"◯","⋃":"⋃","⨀":"⨀","⨁":"⨁","⨂":"⨂","⨆":"⨆","★":"★","▽":"▽","△":"△","⨄":"⨄","⋁":"⋁","⋀":"⋀","⤍":"⤍","⧫":"⧫","▪":"▪","▴":"▴","▾":"▾","◂":"◂","▸":"▸","␣":"␣","▒":"▒","░":"░","▓":"▓","█":"█","=⃥":"=⃥","≡⃥":"≡⃥","⌐":"⌐","𝕓":"𝕓","⊥":"⊥","⊥":"⊥","⋈":"⋈","╗":"╗","╔":"╔","╖":"╖","╓":"╓","═":"═","╦":"╦","╩":"╩","╤":"╤","╧":"╧","╝":"╝","╚":"╚","╜":"╜","╙":"╙","║":"║","╬":"╬","╣":"╣","╠":"╠","╫":"╫","╢":"╢","╟":"╟","⧉":"⧉","╕":"╕","╒":"╒","┐":"┐","┌":"┌","─":"─","╥":"╥","╨":"╨","┬":"┬","┴":"┴","⊟":"⊟","⊞":"⊞","⊠":"⊠","╛":"╛","╘":"╘","┘":"┘","└":"└","│":"│","╪":"╪","╡":"╡","╞":"╞","┼":"┼","┤":"┤","├":"├","‵":"‵","˘":"˘","¦":"¦","¦":"¦","𝒷":"𝒷","⁏":"⁏","∽":"∽","⋍":"⋍","\":"\\","⧅":"⧅","⟈":"⟈","•":"•","•":"•","≎":"≎","⪮":"⪮","≏":"≏","≏":"≏","ć":"ć","∩":"∩","⩄":"⩄","⩉":"⩉","⩋":"⩋","⩇":"⩇","⩀":"⩀","∩︀":"∩︀","⁁":"⁁","ˇ":"ˇ","⩍":"⩍","č":"č","ç":"ç","ç":"ç","ĉ":"ĉ","⩌":"⩌","⩐":"⩐","ċ":"ċ","¸":"¸","¸":"¸","⦲":"⦲","¢":"¢","¢":"¢","·":"·","𝔠":"𝔠","ч":"ч","✓":"✓","✓":"✓","χ":"χ","○":"○","⧃":"⧃","ˆ":"ˆ","≗":"≗","↺":"↺","↻":"↻","®":"®","Ⓢ":"Ⓢ","⊛":"⊛","⊚":"⊚","⊝":"⊝","≗":"≗","⨐":"⨐","⫯":"⫯","⧂":"⧂","♣":"♣","♣":"♣",":":":","≔":"≔","≔":"≔",",":",","@":"@","∁":"∁","∘":"∘","∁":"∁","ℂ":"ℂ","≅":"≅","⩭":"⩭","∮":"∮","𝕔":"𝕔","∐":"∐","©":"©","©":"©","℗":"℗","↵":"↵","✗":"✗","𝒸":"𝒸","⫏":"⫏","⫑":"⫑","⫐":"⫐","⫒":"⫒","⋯":"⋯","⤸":"⤸","⤵":"⤵","⋞":"⋞","⋟":"⋟","↶":"↶","⤽":"⤽","∪":"∪","⩈":"⩈","⩆":"⩆","⩊":"⩊","⊍":"⊍","⩅":"⩅","∪︀":"∪︀","↷":"↷","⤼":"⤼","⋞":"⋞","⋟":"⋟","⋎":"⋎","⋏":"⋏","¤":"¤","¤":"¤","↶":"↶","↷":"↷","⋎":"⋎","⋏":"⋏","∲":"∲","∱":"∱","⌭":"⌭","⇓":"⇓","⥥":"⥥","†":"†","ℸ":"ℸ","↓":"↓","‐":"‐","⊣":"⊣","⤏":"⤏","˝":"˝","ď":"ď","д":"д","ⅆ":"ⅆ","‡":"‡","⇊":"⇊","⩷":"⩷","°":"°","°":"°","δ":"δ","⦱":"⦱","⥿":"⥿","𝔡":"𝔡","⇃":"⇃","⇂":"⇂","⋄":"⋄","⋄":"⋄","♦":"♦","♦":"♦","¨":"¨","ϝ":"ϝ","⋲":"⋲","÷":"÷","÷":"÷","÷":"÷","⋇":"⋇","⋇":"⋇","ђ":"ђ","⌞":"⌞","⌍":"⌍","$":"$","𝕕":"𝕕","˙":"˙","≐":"≐","≑":"≑","∸":"∸","∔":"∔","⊡":"⊡","⌆":"⌆","↓":"↓","⇊":"⇊","⇃":"⇃","⇂":"⇂","⤐":"⤐","⌟":"⌟","⌌":"⌌","𝒹":"𝒹","ѕ":"ѕ","⧶":"⧶","đ":"đ","⋱":"⋱","▿":"▿","▾":"▾","⇵":"⇵","⥯":"⥯","⦦":"⦦","џ":"џ","⟿":"⟿","⩷":"⩷","≑":"≑","é":"é","é":"é","⩮":"⩮","ě":"ě","≖":"≖","ê":"ê","ê":"ê","≕":"≕","э":"э","ė":"ė","ⅇ":"ⅇ","≒":"≒","𝔢":"𝔢","⪚":"⪚","è":"è","è":"è","⪖":"⪖","⪘":"⪘","⪙":"⪙","⏧":"⏧","ℓ":"ℓ","⪕":"⪕","⪗":"⪗","ē":"ē","∅":"∅","∅":"∅","∅":"∅"," ":" "," ":" "," ":" ","ŋ":"ŋ"," ":" ","ę":"ę","𝕖":"𝕖","⋕":"⋕","⧣":"⧣","⩱":"⩱","ε":"ε","ε":"ε","ϵ":"ϵ","≖":"≖","≕":"≕","≂":"≂","⪖":"⪖","⪕":"⪕","=":"=","≟":"≟","≡":"≡","⩸":"⩸","⧥":"⧥","≓":"≓","⥱":"⥱","ℯ":"ℯ","≐":"≐","≂":"≂","η":"η","ð":"ð","ð":"ð","ë":"ë","ë":"ë","€":"€","!":"!","∃":"∃","ℰ":"ℰ","ⅇ":"ⅇ","≒":"≒","ф":"ф","♀":"♀","ffi":"ffi","ff":"ff","ffl":"ffl","𝔣":"𝔣","fi":"fi","fj":"fj","♭":"♭","fl":"fl","▱":"▱","ƒ":"ƒ","𝕗":"𝕗","∀":"∀","⋔":"⋔","⫙":"⫙","⨍":"⨍","½":"½","½":"½","⅓":"⅓","¼":"¼","¼":"¼","⅕":"⅕","⅙":"⅙","⅛":"⅛","⅔":"⅔","⅖":"⅖","¾":"¾","¾":"¾","⅗":"⅗","⅜":"⅜","⅘":"⅘","⅚":"⅚","⅝":"⅝","⅞":"⅞","⁄":"⁄","⌢":"⌢","𝒻":"𝒻","≧":"≧","⪌":"⪌","ǵ":"ǵ","γ":"γ","ϝ":"ϝ","⪆":"⪆","ğ":"ğ","ĝ":"ĝ","г":"г","ġ":"ġ","≥":"≥","⋛":"⋛","≥":"≥","≧":"≧","⩾":"⩾","⩾":"⩾","⪩":"⪩","⪀":"⪀","⪂":"⪂","⪄":"⪄","⋛︀":"⋛︀","⪔":"⪔","𝔤":"𝔤","≫":"≫","⋙":"⋙","ℷ":"ℷ","ѓ":"ѓ","≷":"≷","⪒":"⪒","⪥":"⪥","⪤":"⪤","≩":"≩","⪊":"⪊","⪊":"⪊","⪈":"⪈","⪈":"⪈","≩":"≩","⋧":"⋧","𝕘":"𝕘","`":"`","ℊ":"ℊ","≳":"≳","⪎":"⪎","⪐":"⪐",">":">",">":">","⪧":"⪧","⩺":"⩺","⋗":"⋗","⦕":"⦕","⩼":"⩼","⪆":"⪆","⥸":"⥸","⋗":"⋗","⋛":"⋛","⪌":"⪌","≷":"≷","≳":"≳","≩︀":"≩︀","≩︀":"≩︀","⇔":"⇔"," ":" ","½":"½","ℋ":"ℋ","ъ":"ъ","↔":"↔","⥈":"⥈","↭":"↭","ℏ":"ℏ","ĥ":"ĥ","♥":"♥","♥":"♥","…":"…","⊹":"⊹","𝔥":"𝔥","⤥":"⤥","⤦":"⤦","⇿":"⇿","∻":"∻","↩":"↩","↪":"↪","𝕙":"𝕙","―":"―","𝒽":"𝒽","ℏ":"ℏ","ħ":"ħ","⁃":"⁃","‐":"‐","í":"í","í":"í","⁣":"","î":"î","î":"î","и":"и","е":"е","¡":"¡","¡":"¡","⇔":"⇔","𝔦":"𝔦","ì":"ì","ì":"ì","ⅈ":"ⅈ","⨌":"⨌","∭":"∭","⧜":"⧜","℩":"℩","ij":"ij","ī":"ī","ℑ":"ℑ","ℐ":"ℐ","ℑ":"ℑ","ı":"ı","⊷":"⊷","Ƶ":"Ƶ","∈":"∈","℅":"℅","∞":"∞","⧝":"⧝","ı":"ı","∫":"∫","⊺":"⊺","ℤ":"ℤ","⊺":"⊺","⨗":"⨗","⨼":"⨼","ё":"ё","į":"į","𝕚":"𝕚","ι":"ι","⨼":"⨼","¿":"¿","¿":"¿","𝒾":"𝒾","∈":"∈","⋹":"⋹","⋵":"⋵","⋴":"⋴","⋳":"⋳","∈":"∈","⁢":"","ĩ":"ĩ","і":"і","ï":"ï","ï":"ï","ĵ":"ĵ","й":"й","𝔧":"𝔧","ȷ":"ȷ","𝕛":"𝕛","𝒿":"𝒿","ј":"ј","є":"є","κ":"κ","ϰ":"ϰ","ķ":"ķ","к":"к","𝔨":"𝔨","ĸ":"ĸ","х":"х","ќ":"ќ","𝕜":"𝕜","𝓀":"𝓀","⇚":"⇚","⇐":"⇐","⤛":"⤛","⤎":"⤎","≦":"≦","⪋":"⪋","⥢":"⥢","ĺ":"ĺ","⦴":"⦴","ℒ":"ℒ","λ":"λ","⟨":"⟨","⦑":"⦑","⟨":"⟨","⪅":"⪅","«":"«","«":"«","←":"←","⇤":"⇤","⤟":"⤟","⤝":"⤝","↩":"↩","↫":"↫","⤹":"⤹","⥳":"⥳","↢":"↢","⪫":"⪫","⤙":"⤙","⪭":"⪭","⪭︀":"⪭︀","⤌":"⤌","❲":"❲","{":"{","[":"[","⦋":"⦋","⦏":"⦏","⦍":"⦍","ľ":"ľ","ļ":"ļ","⌈":"⌈","{":"{","л":"л","⤶":"⤶","“":"“","„":"„","⥧":"⥧","⥋":"⥋","↲":"↲","≤":"≤","←":"←","↢":"↢","↽":"↽","↼":"↼","⇇":"⇇","↔":"↔","⇆":"⇆","⇋":"⇋","↭":"↭","⋋":"⋋","⋚":"⋚","≤":"≤","≦":"≦","⩽":"⩽","⩽":"⩽","⪨":"⪨","⩿":"⩿","⪁":"⪁","⪃":"⪃","⋚︀":"⋚︀","⪓":"⪓","⪅":"⪅","⋖":"⋖","⋚":"⋚","⪋":"⪋","≶":"≶","≲":"≲","⥼":"⥼","⌊":"⌊","𝔩":"𝔩","≶":"≶","⪑":"⪑","↽":"↽","↼":"↼","⥪":"⥪","▄":"▄","љ":"љ","≪":"≪","⇇":"⇇","⌞":"⌞","⥫":"⥫","◺":"◺","ŀ":"ŀ","⎰":"⎰","⎰":"⎰","≨":"≨","⪉":"⪉","⪉":"⪉","⪇":"⪇","⪇":"⪇","≨":"≨","⋦":"⋦","⟬":"⟬","⇽":"⇽","⟦":"⟦","⟵":"⟵","⟷":"⟷","⟼":"⟼","⟶":"⟶","↫":"↫","↬":"↬","⦅":"⦅","𝕝":"𝕝","⨭":"⨭","⨴":"⨴","∗":"∗","_":"_","◊":"◊","◊":"◊","⧫":"⧫","(":"(","⦓":"⦓","⇆":"⇆","⌟":"⌟","⇋":"⇋","⥭":"⥭","‎":"","⊿":"⊿","‹":"‹","𝓁":"𝓁","↰":"↰","≲":"≲","⪍":"⪍","⪏":"⪏","[":"[","‘":"‘","‚":"‚","ł":"ł","<":"<","<":"<","⪦":"⪦","⩹":"⩹","⋖":"⋖","⋋":"⋋","⋉":"⋉","⥶":"⥶","⩻":"⩻","⦖":"⦖","◃":"◃","⊴":"⊴","◂":"◂","⥊":"⥊","⥦":"⥦","≨︀":"≨︀","≨︀":"≨︀","∺":"∺","¯":"¯","¯":"¯","♂":"♂","✠":"✠","✠":"✠","↦":"↦","↦":"↦","↧":"↧","↤":"↤","↥":"↥","▮":"▮","⨩":"⨩","м":"м","—":"—","∡":"∡","𝔪":"𝔪","℧":"℧","µ":"µ","µ":"µ","∣":"∣","*":"*","⫰":"⫰","·":"·","·":"·","−":"−","⊟":"⊟","∸":"∸","⨪":"⨪","⫛":"⫛","…":"…","∓":"∓","⊧":"⊧","𝕞":"𝕞","∓":"∓","𝓂":"𝓂","∾":"∾","μ":"μ","⊸":"⊸","⊸":"⊸","⋙̸":"⋙̸","≫⃒":"≫⃒","≫̸":"≫̸","⇍":"⇍","⇎":"⇎","⋘̸":"⋘̸","≪⃒":"≪⃒","≪̸":"≪̸","⇏":"⇏","⊯":"⊯","⊮":"⊮","∇":"∇","ń":"ń","∠⃒":"∠⃒","≉":"≉","⩰̸":"⩰̸","≋̸":"≋̸","ʼn":"ʼn","≉":"≉","♮":"♮","♮":"♮","ℕ":"ℕ"," ":" "," ":" ","≎̸":"≎̸","≏̸":"≏̸","⩃":"⩃","ň":"ň","ņ":"ņ","≇":"≇","⩭̸":"⩭̸","⩂":"⩂","н":"н","–":"–","≠":"≠","⇗":"⇗","⤤":"⤤","↗":"↗","↗":"↗","≐̸":"≐̸","≢":"≢","⤨":"⤨","≂̸":"≂̸","∄":"∄","∄":"∄","𝔫":"𝔫","≧̸":"≧̸","≱":"≱","≱":"≱","≧̸":"≧̸","⩾̸":"⩾̸","⩾̸":"⩾̸","≵":"≵","≯":"≯","≯":"≯","⇎":"⇎","↮":"↮","⫲":"⫲","∋":"∋","⋼":"⋼","⋺":"⋺","∋":"∋","њ":"њ","⇍":"⇍","≦̸":"≦̸","↚":"↚","‥":"‥","≰":"≰","↚":"↚","↮":"↮","≰":"≰","≦̸":"≦̸","⩽̸":"⩽̸","⩽̸":"⩽̸","≮":"≮","≴":"≴","≮":"≮","⋪":"⋪","⋬":"⋬","∤":"∤","𝕟":"𝕟","¬":"¬","¬":"¬","∉":"∉","⋹̸":"⋹̸","⋵̸":"⋵̸","∉":"∉","⋷":"⋷","⋶":"⋶","∌":"∌","∌":"∌","⋾":"⋾","⋽":"⋽","∦":"∦","∦":"∦","⫽⃥":"⫽⃥","∂̸":"∂̸","⨔":"⨔","⊀":"⊀","⋠":"⋠","⪯̸":"⪯̸","⊀":"⊀","⪯̸":"⪯̸","⇏":"⇏","↛":"↛","⤳̸":"⤳̸","↝̸":"↝̸","↛":"↛","⋫":"⋫","⋭":"⋭","⊁":"⊁","⋡":"⋡","⪰̸":"⪰̸","𝓃":"𝓃","∤":"∤","∦":"∦","≁":"≁","≄":"≄","≄":"≄","∤":"∤","∦":"∦","⋢":"⋢","⋣":"⋣","⊄":"⊄","⫅̸":"⫅̸","⊈":"⊈","⊂⃒":"⊂⃒","⊈":"⊈","⫅̸":"⫅̸","⊁":"⊁","⪰̸":"⪰̸","⊅":"⊅","⫆̸":"⫆̸","⊉":"⊉","⊃⃒":"⊃⃒","⊉":"⊉","⫆̸":"⫆̸","≹":"≹","ñ":"ñ","ñ":"ñ","≸":"≸","⋪":"⋪","⋬":"⋬","⋫":"⋫","⋭":"⋭","ν":"ν","#":"#","№":"№"," ":" ","⊭":"⊭","⤄":"⤄","≍⃒":"≍⃒","⊬":"⊬","≥⃒":"≥⃒",">⃒":">⃒","⧞":"⧞","⤂":"⤂","≤⃒":"≤⃒","<⃒":"<⃒","⊴⃒":"⊴⃒","⤃":"⤃","⊵⃒":"⊵⃒","∼⃒":"∼⃒","⇖":"⇖","⤣":"⤣","↖":"↖","↖":"↖","⤧":"⤧","Ⓢ":"Ⓢ","ó":"ó","ó":"ó","⊛":"⊛","⊚":"⊚","ô":"ô","ô":"ô","о":"о","⊝":"⊝","ő":"ő","⨸":"⨸","⊙":"⊙","⦼":"⦼","œ":"œ","⦿":"⦿","𝔬":"𝔬","˛":"˛","ò":"ò","ò":"ò","⧁":"⧁","⦵":"⦵","Ω":"Ω","∮":"∮","↺":"↺","⦾":"⦾","⦻":"⦻","‾":"‾","⧀":"⧀","ō":"ō","ω":"ω","ο":"ο","⦶":"⦶","⊖":"⊖","𝕠":"𝕠","⦷":"⦷","⦹":"⦹","⊕":"⊕","∨":"∨","↻":"↻","⩝":"⩝","ℴ":"ℴ","ℴ":"ℴ","ª":"ª","ª":"ª","º":"º","º":"º","⊶":"⊶","⩖":"⩖","⩗":"⩗","⩛":"⩛","ℴ":"ℴ","ø":"ø","ø":"ø","⊘":"⊘","õ":"õ","õ":"õ","⊗":"⊗","⨶":"⨶","ö":"ö","ö":"ö","⌽":"⌽","∥":"∥","¶":"¶","¶":"¶","∥":"∥","⫳":"⫳","⫽":"⫽","∂":"∂","п":"п","%":"%",".":".","‰":"‰","⊥":"⊥","‱":"‱","𝔭":"𝔭","φ":"φ","ϕ":"ϕ","ℳ":"ℳ","☎":"☎","π":"π","⋔":"⋔","ϖ":"ϖ","ℏ":"ℏ","ℎ":"ℎ","ℏ":"ℏ","+":"+","⨣":"⨣","⊞":"⊞","⨢":"⨢","∔":"∔","⨥":"⨥","⩲":"⩲","±":"±","±":"±","⨦":"⨦","⨧":"⨧","±":"±","⨕":"⨕","𝕡":"𝕡","£":"£","£":"£","≺":"≺","⪳":"⪳","⪷":"⪷","≼":"≼","⪯":"⪯","≺":"≺","⪷":"⪷","≼":"≼","⪯":"⪯","⪹":"⪹","⪵":"⪵","⋨":"⋨","≾":"≾","′":"′","ℙ":"ℙ","⪵":"⪵","⪹":"⪹","⋨":"⋨","∏":"∏","⌮":"⌮","⌒":"⌒","⌓":"⌓","∝":"∝","∝":"∝","≾":"≾","⊰":"⊰","𝓅":"𝓅","ψ":"ψ"," ":" ","𝔮":"𝔮","⨌":"⨌","𝕢":"𝕢","⁗":"⁗","𝓆":"𝓆","ℍ":"ℍ","⨖":"⨖","?":"?","≟":"≟",""":'"',""":'"',"⇛":"⇛","⇒":"⇒","⤜":"⤜","⤏":"⤏","⥤":"⥤","∽̱":"∽̱","ŕ":"ŕ","√":"√","⦳":"⦳","⟩":"⟩","⦒":"⦒","⦥":"⦥","⟩":"⟩","»":"»","»":"»","→":"→","⥵":"⥵","⇥":"⇥","⤠":"⤠","⤳":"⤳","⤞":"⤞","↪":"↪","↬":"↬","⥅":"⥅","⥴":"⥴","↣":"↣","↝":"↝","⤚":"⤚","∶":"∶","ℚ":"ℚ","⤍":"⤍","❳":"❳","}":"}","]":"]","⦌":"⦌","⦎":"⦎","⦐":"⦐","ř":"ř","ŗ":"ŗ","⌉":"⌉","}":"}","р":"р","⤷":"⤷","⥩":"⥩","”":"”","”":"”","↳":"↳","ℜ":"ℜ","ℛ":"ℛ","ℜ":"ℜ","ℝ":"ℝ","▭":"▭","®":"®","®":"®","⥽":"⥽","⌋":"⌋","𝔯":"𝔯","⇁":"⇁","⇀":"⇀","⥬":"⥬","ρ":"ρ","ϱ":"ϱ","→":"→","↣":"↣","⇁":"⇁","⇀":"⇀","⇄":"⇄","⇌":"⇌","⇉":"⇉","↝":"↝","⋌":"⋌","˚":"˚","≓":"≓","⇄":"⇄","⇌":"⇌","‏":"","⎱":"⎱","⎱":"⎱","⫮":"⫮","⟭":"⟭","⇾":"⇾","⟧":"⟧","⦆":"⦆","𝕣":"𝕣","⨮":"⨮","⨵":"⨵",")":")","⦔":"⦔","⨒":"⨒","⇉":"⇉","›":"›","𝓇":"𝓇","↱":"↱","]":"]","’":"’","’":"’","⋌":"⋌","⋊":"⋊","▹":"▹","⊵":"⊵","▸":"▸","⧎":"⧎","⥨":"⥨","℞":"℞","ś":"ś","‚":"‚","≻":"≻","⪴":"⪴","⪸":"⪸","š":"š","≽":"≽","⪰":"⪰","ş":"ş","ŝ":"ŝ","⪶":"⪶","⪺":"⪺","⋩":"⋩","⨓":"⨓","≿":"≿","с":"с","⋅":"⋅","⊡":"⊡","⩦":"⩦","⇘":"⇘","⤥":"⤥","↘":"↘","↘":"↘","§":"§","§":"§",";":";","⤩":"⤩","∖":"∖","∖":"∖","✶":"✶","𝔰":"𝔰","⌢":"⌢","♯":"♯","щ":"щ","ш":"ш","∣":"∣","∥":"∥","­":"","­":"","σ":"σ","ς":"ς","ς":"ς","∼":"∼","⩪":"⩪","≃":"≃","≃":"≃","⪞":"⪞","⪠":"⪠","⪝":"⪝","⪟":"⪟","≆":"≆","⨤":"⨤","⥲":"⥲","←":"←","∖":"∖","⨳":"⨳","⧤":"⧤","∣":"∣","⌣":"⌣","⪪":"⪪","⪬":"⪬","⪬︀":"⪬︀","ь":"ь","/":"/","⧄":"⧄","⌿":"⌿","𝕤":"𝕤","♠":"♠","♠":"♠","∥":"∥","⊓":"⊓","⊓︀":"⊓︀","⊔":"⊔","⊔︀":"⊔︀","⊏":"⊏","⊑":"⊑","⊏":"⊏","⊑":"⊑","⊐":"⊐","⊒":"⊒","⊐":"⊐","⊒":"⊒","□":"□","□":"□","▪":"▪","▪":"▪","→":"→","𝓈":"𝓈","∖":"∖","⌣":"⌣","⋆":"⋆","☆":"☆","★":"★","ϵ":"ϵ","ϕ":"ϕ","¯":"¯","⊂":"⊂","⫅":"⫅","⪽":"⪽","⊆":"⊆","⫃":"⫃","⫁":"⫁","⫋":"⫋","⊊":"⊊","⪿":"⪿","⥹":"⥹","⊂":"⊂","⊆":"⊆","⫅":"⫅","⊊":"⊊","⫋":"⫋","⫇":"⫇","⫕":"⫕","⫓":"⫓","≻":"≻","⪸":"⪸","≽":"≽","⪰":"⪰","⪺":"⪺","⪶":"⪶","⋩":"⋩","≿":"≿","∑":"∑","♪":"♪","¹":"¹","¹":"¹","²":"²","²":"²","³":"³","³":"³","⊃":"⊃","⫆":"⫆","⪾":"⪾","⫘":"⫘","⊇":"⊇","⫄":"⫄","⟉":"⟉","⫗":"⫗","⥻":"⥻","⫂":"⫂","⫌":"⫌","⊋":"⊋","⫀":"⫀","⊃":"⊃","⊇":"⊇","⫆":"⫆","⊋":"⊋","⫌":"⫌","⫈":"⫈","⫔":"⫔","⫖":"⫖","⇙":"⇙","⤦":"⤦","↙":"↙","↙":"↙","⤪":"⤪","ß":"ß","ß":"ß","⌖":"⌖","τ":"τ","⎴":"⎴","ť":"ť","ţ":"ţ","т":"т","⃛":"⃛","⌕":"⌕","𝔱":"𝔱","∴":"∴","∴":"∴","θ":"θ","ϑ":"ϑ","ϑ":"ϑ","≈":"≈","∼":"∼"," ":" ","≈":"≈","∼":"∼","þ":"þ","þ":"þ","˜":"˜","×":"×","×":"×","⊠":"⊠","⨱":"⨱","⨰":"⨰","∭":"∭","⤨":"⤨","⊤":"⊤","⌶":"⌶","⫱":"⫱","𝕥":"𝕥","⫚":"⫚","⤩":"⤩","‴":"‴","™":"™","▵":"▵","▿":"▿","◃":"◃","⊴":"⊴","≜":"≜","▹":"▹","⊵":"⊵","◬":"◬","≜":"≜","⨺":"⨺","⨹":"⨹","⧍":"⧍","⨻":"⨻","⏢":"⏢","𝓉":"𝓉","ц":"ц","ћ":"ћ","ŧ":"ŧ","≬":"≬","↞":"↞","↠":"↠","⇑":"⇑","⥣":"⥣","ú":"ú","ú":"ú","↑":"↑","ў":"ў","ŭ":"ŭ","û":"û","û":"û","у":"у","⇅":"⇅","ű":"ű","⥮":"⥮","⥾":"⥾","𝔲":"𝔲","ù":"ù","ù":"ù","↿":"↿","↾":"↾","▀":"▀","⌜":"⌜","⌜":"⌜","⌏":"⌏","◸":"◸","ū":"ū","¨":"¨","¨":"¨","ų":"ų","𝕦":"𝕦","↑":"↑","↕":"↕","↿":"↿","↾":"↾","⊎":"⊎","υ":"υ","ϒ":"ϒ","υ":"υ","⇈":"⇈","⌝":"⌝","⌝":"⌝","⌎":"⌎","ů":"ů","◹":"◹","𝓊":"𝓊","⋰":"⋰","ũ":"ũ","▵":"▵","▴":"▴","⇈":"⇈","ü":"ü","ü":"ü","⦧":"⦧","⇕":"⇕","⫨":"⫨","⫩":"⫩","⊨":"⊨","⦜":"⦜","ϵ":"ϵ","ϰ":"ϰ","∅":"∅","ϕ":"ϕ","ϖ":"ϖ","∝":"∝","↕":"↕","ϱ":"ϱ","ς":"ς","⊊︀":"⊊︀","⫋︀":"⫋︀","⊋︀":"⊋︀","⫌︀":"⫌︀","ϑ":"ϑ","⊲":"⊲","⊳":"⊳","в":"в","⊢":"⊢","∨":"∨","⊻":"⊻","≚":"≚","⋮":"⋮","|":"|","|":"|","𝔳":"𝔳","⊲":"⊲","⊂⃒":"⊂⃒","⊃⃒":"⊃⃒","𝕧":"𝕧","∝":"∝","⊳":"⊳","𝓋":"𝓋","⫋︀":"⫋︀","⊊︀":"⊊︀","⫌︀":"⫌︀","⊋︀":"⊋︀","⦚":"⦚","ŵ":"ŵ","⩟":"⩟","∧":"∧","≙":"≙","℘":"℘","𝔴":"𝔴","𝕨":"𝕨","℘":"℘","≀":"≀","≀":"≀","𝓌":"𝓌","⋂":"⋂","◯":"◯","⋃":"⋃","▽":"▽","𝔵":"𝔵","⟺":"⟺","⟷":"⟷","ξ":"ξ","⟸":"⟸","⟵":"⟵","⟼":"⟼","⋻":"⋻","⨀":"⨀","𝕩":"𝕩","⨁":"⨁","⨂":"⨂","⟹":"⟹","⟶":"⟶","𝓍":"𝓍","⨆":"⨆","⨄":"⨄","△":"△","⋁":"⋁","⋀":"⋀","ý":"ý","ý":"ý","я":"я","ŷ":"ŷ","ы":"ы","¥":"¥","¥":"¥","𝔶":"𝔶","ї":"ї","𝕪":"𝕪","𝓎":"𝓎","ю":"ю","ÿ":"ÿ","ÿ":"ÿ","ź":"ź","ž":"ž","з":"з","ż":"ż","ℨ":"ℨ","ζ":"ζ","𝔷":"𝔷","ж":"ж","⇝":"⇝","𝕫":"𝕫","𝓏":"𝓏","‍":"","‌":""},characters:{Æ:"Æ","&":"&",Á:"Á",Ă:"Ă",Â:"Â",А:"А",𝔄:"𝔄",À:"À",Α:"Α",Ā:"Ā","⩓":"⩓",Ą:"Ą",𝔸:"𝔸","":"⁡",Å:"Å",𝒜:"𝒜","≔":"≔",Ã:"Ã",Ä:"Ä","∖":"∖","⫧":"⫧","⌆":"⌆",Б:"Б","∵":"∵",ℬ:"ℬ",Β:"Β",𝔅:"𝔅",𝔹:"𝔹","˘":"˘","≎":"≎",Ч:"Ч","©":"©",Ć:"Ć","⋒":"⋒",ⅅ:"ⅅ",ℭ:"ℭ",Č:"Č",Ç:"Ç",Ĉ:"Ĉ","∰":"∰",Ċ:"Ċ","¸":"¸","·":"·",Χ:"Χ","⊙":"⊙","⊖":"⊖","⊕":"⊕","⊗":"⊗","∲":"∲","”":"”","’":"’","∷":"∷","⩴":"⩴","≡":"≡","∯":"∯","∮":"∮",ℂ:"ℂ","∐":"∐","∳":"∳","⨯":"⨯",𝒞:"𝒞","⋓":"⋓","≍":"≍","⤑":"⤑",Ђ:"Ђ",Ѕ:"Ѕ",Џ:"Џ","‡":"‡","↡":"↡","⫤":"⫤",Ď:"Ď",Д:"Д","∇":"∇",Δ:"Δ",𝔇:"𝔇","´":"´","˙":"˙","˝":"˝","`":"`","˜":"˜","⋄":"⋄",ⅆ:"ⅆ",𝔻:"𝔻","¨":"¨","⃜":"⃜","≐":"≐","⇓":"⇓","⇐":"⇐","⇔":"⇔","⟸":"⟸","⟺":"⟺","⟹":"⟹","⇒":"⇒","⊨":"⊨","⇑":"⇑","⇕":"⇕","∥":"∥","↓":"↓","⤓":"⤓","⇵":"⇵","̑":"̑","⥐":"⥐","⥞":"⥞","↽":"↽","⥖":"⥖","⥟":"⥟","⇁":"⇁","⥗":"⥗","⊤":"⊤","↧":"↧",𝒟:"𝒟",Đ:"Đ",Ŋ:"Ŋ",Ð:"Ð",É:"É",Ě:"Ě",Ê:"Ê",Э:"Э",Ė:"Ė",𝔈:"𝔈",È:"È","∈":"∈",Ē:"Ē","◻":"◻","▫":"▫",Ę:"Ę",𝔼:"𝔼",Ε:"Ε","⩵":"⩵","≂":"≂","⇌":"⇌",ℰ:"ℰ","⩳":"⩳",Η:"Η",Ë:"Ë","∃":"∃",ⅇ:"ⅇ",Ф:"Ф",𝔉:"𝔉","◼":"◼","▪":"▪",𝔽:"𝔽","∀":"∀",ℱ:"ℱ",Ѓ:"Ѓ",">":">",Γ:"Γ",Ϝ:"Ϝ",Ğ:"Ğ",Ģ:"Ģ",Ĝ:"Ĝ",Г:"Г",Ġ:"Ġ",𝔊:"𝔊","⋙":"⋙",𝔾:"𝔾","≥":"≥","⋛":"⋛","≧":"≧","⪢":"⪢","≷":"≷","⩾":"⩾","≳":"≳",𝒢:"𝒢","≫":"≫",Ъ:"Ъ",ˇ:"ˇ","^":"^",Ĥ:"Ĥ",ℌ:"ℌ",ℋ:"ℋ",ℍ:"ℍ","─":"─",Ħ:"Ħ","≏":"≏",Е:"Е",IJ:"IJ",Ё:"Ё",Í:"Í",Î:"Î",И:"И",İ:"İ",ℑ:"ℑ",Ì:"Ì",Ī:"Ī",ⅈ:"ⅈ","∬":"∬","∫":"∫","⋂":"⋂","":"⁣","":"⁢",Į:"Į",𝕀:"𝕀",Ι:"Ι",ℐ:"ℐ",Ĩ:"Ĩ",І:"І",Ï:"Ï",Ĵ:"Ĵ",Й:"Й",𝔍:"𝔍",𝕁:"𝕁",𝒥:"𝒥",Ј:"Ј",Є:"Є",Х:"Х",Ќ:"Ќ",Κ:"Κ",Ķ:"Ķ",К:"К",𝔎:"𝔎",𝕂:"𝕂",𝒦:"𝒦",Љ:"Љ","<":"<",Ĺ:"Ĺ",Λ:"Λ","⟪":"⟪",ℒ:"ℒ","↞":"↞",Ľ:"Ľ",Ļ:"Ļ",Л:"Л","⟨":"⟨","←":"←","⇤":"⇤","⇆":"⇆","⌈":"⌈","⟦":"⟦","⥡":"⥡","⇃":"⇃","⥙":"⥙","⌊":"⌊","↔":"↔","⥎":"⥎","⊣":"⊣","↤":"↤","⥚":"⥚","⊲":"⊲","⧏":"⧏","⊴":"⊴","⥑":"⥑","⥠":"⥠","↿":"↿","⥘":"⥘","↼":"↼","⥒":"⥒","⋚":"⋚","≦":"≦","≶":"≶","⪡":"⪡","⩽":"⩽","≲":"≲",𝔏:"𝔏","⋘":"⋘","⇚":"⇚",Ŀ:"Ŀ","⟵":"⟵","⟷":"⟷","⟶":"⟶",𝕃:"𝕃","↙":"↙","↘":"↘","↰":"↰",Ł:"Ł","≪":"≪","⤅":"⤅",М:"М"," ":" ",ℳ:"ℳ",𝔐:"𝔐","∓":"∓",𝕄:"𝕄",Μ:"Μ",Њ:"Њ",Ń:"Ń",Ň:"Ň",Ņ:"Ņ",Н:"Н","":"​","\n":"
",𝔑:"𝔑","":"⁠"," ":" ",ℕ:"ℕ","⫬":"⫬","≢":"≢","≭":"≭","∦":"∦","∉":"∉","≠":"≠","≂̸":"≂̸","∄":"∄","≯":"≯","≱":"≱","≧̸":"≧̸","≫̸":"≫̸","≹":"≹","⩾̸":"⩾̸","≵":"≵","≎̸":"≎̸","≏̸":"≏̸","⋪":"⋪","⧏̸":"⧏̸","⋬":"⋬","≮":"≮","≰":"≰","≸":"≸","≪̸":"≪̸","⩽̸":"⩽̸","≴":"≴","⪢̸":"⪢̸","⪡̸":"⪡̸","⊀":"⊀","⪯̸":"⪯̸","⋠":"⋠","∌":"∌","⋫":"⋫","⧐̸":"⧐̸","⋭":"⋭","⊏̸":"⊏̸","⋢":"⋢","⊐̸":"⊐̸","⋣":"⋣","⊂⃒":"⊂⃒","⊈":"⊈","⊁":"⊁","⪰̸":"⪰̸","⋡":"⋡","≿̸":"≿̸","⊃⃒":"⊃⃒","⊉":"⊉","≁":"≁","≄":"≄","≇":"≇","≉":"≉","∤":"∤",𝒩:"𝒩",Ñ:"Ñ",Ν:"Ν",Œ:"Œ",Ó:"Ó",Ô:"Ô",О:"О",Ő:"Ő",𝔒:"𝔒",Ò:"Ò",Ō:"Ō",Ω:"Ω",Ο:"Ο",𝕆:"𝕆","“":"“","‘":"‘","⩔":"⩔",𝒪:"𝒪",Ø:"Ø",Õ:"Õ","⨷":"⨷",Ö:"Ö","‾":"‾","⏞":"⏞","⎴":"⎴","⏜":"⏜","∂":"∂",П:"П",𝔓:"𝔓",Φ:"Φ",Π:"Π","±":"±",ℙ:"ℙ","⪻":"⪻","≺":"≺","⪯":"⪯","≼":"≼","≾":"≾","″":"″","∏":"∏","∝":"∝",𝒫:"𝒫",Ψ:"Ψ",'"':""",𝔔:"𝔔",ℚ:"ℚ",𝒬:"𝒬","⤐":"⤐","®":"®",Ŕ:"Ŕ","⟫":"⟫","↠":"↠","⤖":"⤖",Ř:"Ř",Ŗ:"Ŗ",Р:"Р",ℜ:"ℜ","∋":"∋","⇋":"⇋","⥯":"⥯",Ρ:"Ρ","⟩":"⟩","→":"→","⇥":"⇥","⇄":"⇄","⌉":"⌉","⟧":"⟧","⥝":"⥝","⇂":"⇂","⥕":"⥕","⌋":"⌋","⊢":"⊢","↦":"↦","⥛":"⥛","⊳":"⊳","⧐":"⧐","⊵":"⊵","⥏":"⥏","⥜":"⥜","↾":"↾","⥔":"⥔","⇀":"⇀","⥓":"⥓",ℝ:"ℝ","⥰":"⥰","⇛":"⇛",ℛ:"ℛ","↱":"↱","⧴":"⧴",Щ:"Щ",Ш:"Ш",Ь:"Ь",Ś:"Ś","⪼":"⪼",Š:"Š",Ş:"Ş",Ŝ:"Ŝ",С:"С",𝔖:"𝔖","↑":"↑",Σ:"Σ","∘":"∘",𝕊:"𝕊","√":"√","□":"□","⊓":"⊓","⊏":"⊏","⊑":"⊑","⊐":"⊐","⊒":"⊒","⊔":"⊔",𝒮:"𝒮","⋆":"⋆","⋐":"⋐","⊆":"⊆","≻":"≻","⪰":"⪰","≽":"≽","≿":"≿","∑":"∑","⋑":"⋑","⊃":"⊃","⊇":"⊇",Þ:"Þ","™":"™",Ћ:"Ћ",Ц:"Ц","\t":"	",Τ:"Τ",Ť:"Ť",Ţ:"Ţ",Т:"Т",𝔗:"𝔗","∴":"∴",Θ:"Θ"," ":"  "," ":" ","∼":"∼","≃":"≃","≅":"≅","≈":"≈",𝕋:"𝕋","⃛":"⃛",𝒯:"𝒯",Ŧ:"Ŧ",Ú:"Ú","↟":"↟","⥉":"⥉",Ў:"Ў",Ŭ:"Ŭ",Û:"Û",У:"У",Ű:"Ű",𝔘:"𝔘",Ù:"Ù",Ū:"Ū",_:"_","⏟":"⏟","⎵":"⎵","⏝":"⏝","⋃":"⋃","⊎":"⊎",Ų:"Ų",𝕌:"𝕌","⤒":"⤒","⇅":"⇅","↕":"↕","⥮":"⥮","⊥":"⊥","↥":"↥","↖":"↖","↗":"↗",ϒ:"ϒ",Υ:"Υ",Ů:"Ů",𝒰:"𝒰",Ũ:"Ũ",Ü:"Ü","⊫":"⊫","⫫":"⫫",В:"В","⊩":"⊩","⫦":"⫦","⋁":"⋁","‖":"‖","∣":"∣","|":"|","❘":"❘","≀":"≀"," ":" ",𝔙:"𝔙",𝕍:"𝕍",𝒱:"𝒱","⊪":"⊪",Ŵ:"Ŵ","⋀":"⋀",𝔚:"𝔚",𝕎:"𝕎",𝒲:"𝒲",𝔛:"𝔛",Ξ:"Ξ",𝕏:"𝕏",𝒳:"𝒳",Я:"Я",Ї:"Ї",Ю:"Ю",Ý:"Ý",Ŷ:"Ŷ",Ы:"Ы",𝔜:"𝔜",𝕐:"𝕐",𝒴:"𝒴",Ÿ:"Ÿ",Ж:"Ж",Ź:"Ź",Ž:"Ž",З:"З",Ż:"Ż",Ζ:"Ζ",ℨ:"ℨ",ℤ:"ℤ",𝒵:"𝒵",á:"á",ă:"ă","∾":"∾","∾̳":"∾̳","∿":"∿",â:"â",а:"а",æ:"æ",𝔞:"𝔞",à:"à",ℵ:"ℵ",α:"α",ā:"ā","⨿":"⨿","∧":"∧","⩕":"⩕","⩜":"⩜","⩘":"⩘","⩚":"⩚","∠":"∠","⦤":"⦤","∡":"∡","⦨":"⦨","⦩":"⦩","⦪":"⦪","⦫":"⦫","⦬":"⦬","⦭":"⦭","⦮":"⦮","⦯":"⦯","∟":"∟","⊾":"⊾","⦝":"⦝","∢":"∢","⍼":"⍼",ą:"ą",𝕒:"𝕒","⩰":"⩰","⩯":"⩯","≊":"≊","≋":"≋","'":"'",å:"å",𝒶:"𝒶","*":"*",ã:"ã",ä:"ä","⨑":"⨑","⫭":"⫭","≌":"≌","϶":"϶","‵":"‵","∽":"∽","⋍":"⋍","⊽":"⊽","⌅":"⌅","⎶":"⎶",б:"б","„":"„","⦰":"⦰",β:"β",ℶ:"ℶ","≬":"≬",𝔟:"𝔟","◯":"◯","⨀":"⨀","⨁":"⨁","⨂":"⨂","⨆":"⨆","★":"★","▽":"▽","△":"△","⨄":"⨄","⤍":"⤍","⧫":"⧫","▴":"▴","▾":"▾","◂":"◂","▸":"▸","␣":"␣","▒":"▒","░":"░","▓":"▓","█":"█","=⃥":"=⃥","≡⃥":"≡⃥","⌐":"⌐",𝕓:"𝕓","⋈":"⋈","╗":"╗","╔":"╔","╖":"╖","╓":"╓","═":"═","╦":"╦","╩":"╩","╤":"╤","╧":"╧","╝":"╝","╚":"╚","╜":"╜","╙":"╙","║":"║","╬":"╬","╣":"╣","╠":"╠","╫":"╫","╢":"╢","╟":"╟","⧉":"⧉","╕":"╕","╒":"╒","┐":"┐","┌":"┌","╥":"╥","╨":"╨","┬":"┬","┴":"┴","⊟":"⊟","⊞":"⊞","⊠":"⊠","╛":"╛","╘":"╘","┘":"┘","└":"└","│":"│","╪":"╪","╡":"╡","╞":"╞","┼":"┼","┤":"┤","├":"├","¦":"¦",𝒷:"𝒷","⁏":"⁏","\\":"\","⧅":"⧅","⟈":"⟈","•":"•","⪮":"⪮",ć:"ć","∩":"∩","⩄":"⩄","⩉":"⩉","⩋":"⩋","⩇":"⩇","⩀":"⩀","∩︀":"∩︀","⁁":"⁁","⩍":"⩍",č:"č",ç:"ç",ĉ:"ĉ","⩌":"⩌","⩐":"⩐",ċ:"ċ","⦲":"⦲","¢":"¢",𝔠:"𝔠",ч:"ч","✓":"✓",χ:"χ","○":"○","⧃":"⧃",ˆ:"ˆ","≗":"≗","↺":"↺","↻":"↻","Ⓢ":"Ⓢ","⊛":"⊛","⊚":"⊚","⊝":"⊝","⨐":"⨐","⫯":"⫯","⧂":"⧂","♣":"♣",":":":",",":",","@":"@","∁":"∁","⩭":"⩭",𝕔:"𝕔","℗":"℗","↵":"↵","✗":"✗",𝒸:"𝒸","⫏":"⫏","⫑":"⫑","⫐":"⫐","⫒":"⫒","⋯":"⋯","⤸":"⤸","⤵":"⤵","⋞":"⋞","⋟":"⋟","↶":"↶","⤽":"⤽","∪":"∪","⩈":"⩈","⩆":"⩆","⩊":"⩊","⊍":"⊍","⩅":"⩅","∪︀":"∪︀","↷":"↷","⤼":"⤼","⋎":"⋎","⋏":"⋏","¤":"¤","∱":"∱","⌭":"⌭","⥥":"⥥","†":"†",ℸ:"ℸ","‐":"‐","⤏":"⤏",ď:"ď",д:"д","⇊":"⇊","⩷":"⩷","°":"°",δ:"δ","⦱":"⦱","⥿":"⥿",𝔡:"𝔡","♦":"♦",ϝ:"ϝ","⋲":"⋲","÷":"÷","⋇":"⋇",ђ:"ђ","⌞":"⌞","⌍":"⌍",$:"$",𝕕:"𝕕","≑":"≑","∸":"∸","∔":"∔","⊡":"⊡","⌟":"⌟","⌌":"⌌",𝒹:"𝒹",ѕ:"ѕ","⧶":"⧶",đ:"đ","⋱":"⋱","▿":"▿","⦦":"⦦",џ:"џ","⟿":"⟿",é:"é","⩮":"⩮",ě:"ě","≖":"≖",ê:"ê","≕":"≕",э:"э",ė:"ė","≒":"≒",𝔢:"𝔢","⪚":"⪚",è:"è","⪖":"⪖","⪘":"⪘","⪙":"⪙","⏧":"⏧",ℓ:"ℓ","⪕":"⪕","⪗":"⪗",ē:"ē","∅":"∅"," ":" "," ":" "," ":" ",ŋ:"ŋ"," ":" ",ę:"ę",𝕖:"𝕖","⋕":"⋕","⧣":"⧣","⩱":"⩱",ε:"ε",ϵ:"ϵ","=":"=","≟":"≟","⩸":"⩸","⧥":"⧥","≓":"≓","⥱":"⥱",ℯ:"ℯ",η:"η",ð:"ð",ë:"ë","€":"€","!":"!",ф:"ф","♀":"♀",ffi:"ffi",ff:"ff",ffl:"ffl",𝔣:"𝔣",fi:"fi",fj:"fj","♭":"♭",fl:"fl","▱":"▱",ƒ:"ƒ",𝕗:"𝕗","⋔":"⋔","⫙":"⫙","⨍":"⨍","½":"½","⅓":"⅓","¼":"¼","⅕":"⅕","⅙":"⅙","⅛":"⅛","⅔":"⅔","⅖":"⅖","¾":"¾","⅗":"⅗","⅜":"⅜","⅘":"⅘","⅚":"⅚","⅝":"⅝","⅞":"⅞","⁄":"⁄","⌢":"⌢",𝒻:"𝒻","⪌":"⪌",ǵ:"ǵ",γ:"γ","⪆":"⪆",ğ:"ğ",ĝ:"ĝ",г:"г",ġ:"ġ","⪩":"⪩","⪀":"⪀","⪂":"⪂","⪄":"⪄","⋛︀":"⋛︀","⪔":"⪔",𝔤:"𝔤",ℷ:"ℷ",ѓ:"ѓ","⪒":"⪒","⪥":"⪥","⪤":"⪤","≩":"≩","⪊":"⪊","⪈":"⪈","⋧":"⋧",𝕘:"𝕘",ℊ:"ℊ","⪎":"⪎","⪐":"⪐","⪧":"⪧","⩺":"⩺","⋗":"⋗","⦕":"⦕","⩼":"⩼","⥸":"⥸","≩︀":"≩︀",ъ:"ъ","⥈":"⥈","↭":"↭",ℏ:"ℏ",ĥ:"ĥ","♥":"♥","…":"…","⊹":"⊹",𝔥:"𝔥","⤥":"⤥","⤦":"⤦","⇿":"⇿","∻":"∻","↩":"↩","↪":"↪",𝕙:"𝕙","―":"―",𝒽:"𝒽",ħ:"ħ","⁃":"⁃",í:"í",î:"î",и:"и",е:"е","¡":"¡",𝔦:"𝔦",ì:"ì","⨌":"⨌","∭":"∭","⧜":"⧜","℩":"℩",ij:"ij",ī:"ī",ı:"ı","⊷":"⊷",Ƶ:"Ƶ","℅":"℅","∞":"∞","⧝":"⧝","⊺":"⊺","⨗":"⨗","⨼":"⨼",ё:"ё",į:"į",𝕚:"𝕚",ι:"ι","¿":"¿",𝒾:"𝒾","⋹":"⋹","⋵":"⋵","⋴":"⋴","⋳":"⋳",ĩ:"ĩ",і:"і",ï:"ï",ĵ:"ĵ",й:"й",𝔧:"𝔧",ȷ:"ȷ",𝕛:"𝕛",𝒿:"𝒿",ј:"ј",є:"є",κ:"κ",ϰ:"ϰ",ķ:"ķ",к:"к",𝔨:"𝔨",ĸ:"ĸ",х:"х",ќ:"ќ",𝕜:"𝕜",𝓀:"𝓀","⤛":"⤛","⤎":"⤎","⪋":"⪋","⥢":"⥢",ĺ:"ĺ","⦴":"⦴",λ:"λ","⦑":"⦑","⪅":"⪅","«":"«","⤟":"⤟","⤝":"⤝","↫":"↫","⤹":"⤹","⥳":"⥳","↢":"↢","⪫":"⪫","⤙":"⤙","⪭":"⪭","⪭︀":"⪭︀","⤌":"⤌","❲":"❲","{":"{","[":"[","⦋":"⦋","⦏":"⦏","⦍":"⦍",ľ:"ľ",ļ:"ļ",л:"л","⤶":"⤶","⥧":"⥧","⥋":"⥋","↲":"↲","≤":"≤","⇇":"⇇","⋋":"⋋","⪨":"⪨","⩿":"⩿","⪁":"⪁","⪃":"⪃","⋚︀":"⋚︀","⪓":"⪓","⋖":"⋖","⥼":"⥼",𝔩:"𝔩","⪑":"⪑","⥪":"⥪","▄":"▄",љ:"љ","⥫":"⥫","◺":"◺",ŀ:"ŀ","⎰":"⎰","≨":"≨","⪉":"⪉","⪇":"⪇","⋦":"⋦","⟬":"⟬","⇽":"⇽","⟼":"⟼","↬":"↬","⦅":"⦅",𝕝:"𝕝","⨭":"⨭","⨴":"⨴","∗":"∗","◊":"◊","(":"(","⦓":"⦓","⥭":"⥭","":"‎","⊿":"⊿","‹":"‹",𝓁:"𝓁","⪍":"⪍","⪏":"⪏","‚":"‚",ł:"ł","⪦":"⪦","⩹":"⩹","⋉":"⋉","⥶":"⥶","⩻":"⩻","⦖":"⦖","◃":"◃","⥊":"⥊","⥦":"⥦","≨︀":"≨︀","∺":"∺","¯":"¯","♂":"♂","✠":"✠","▮":"▮","⨩":"⨩",м:"м","—":"—",𝔪:"𝔪","℧":"℧",µ:"µ","⫰":"⫰","−":"−","⨪":"⨪","⫛":"⫛","⊧":"⊧",𝕞:"𝕞",𝓂:"𝓂",μ:"μ","⊸":"⊸","⋙̸":"⋙̸","≫⃒":"≫⃒","⇍":"⇍","⇎":"⇎","⋘̸":"⋘̸","≪⃒":"≪⃒","⇏":"⇏","⊯":"⊯","⊮":"⊮",ń:"ń","∠⃒":"∠⃒","⩰̸":"⩰̸","≋̸":"≋̸",ʼn:"ʼn","♮":"♮","⩃":"⩃",ň:"ň",ņ:"ņ","⩭̸":"⩭̸","⩂":"⩂",н:"н","–":"–","⇗":"⇗","⤤":"⤤","≐̸":"≐̸","⤨":"⤨",𝔫:"𝔫","↮":"↮","⫲":"⫲","⋼":"⋼","⋺":"⋺",њ:"њ","≦̸":"≦̸","↚":"↚","‥":"‥",𝕟:"𝕟","¬":"¬","⋹̸":"⋹̸","⋵̸":"⋵̸","⋷":"⋷","⋶":"⋶","⋾":"⋾","⋽":"⋽","⫽⃥":"⫽⃥","∂̸":"∂̸","⨔":"⨔","↛":"↛","⤳̸":"⤳̸","↝̸":"↝̸",𝓃:"𝓃","⊄":"⊄","⫅̸":"⫅̸","⊅":"⊅","⫆̸":"⫆̸",ñ:"ñ",ν:"ν","#":"#","№":"№"," ":" ","⊭":"⊭","⤄":"⤄","≍⃒":"≍⃒","⊬":"⊬","≥⃒":"≥⃒",">⃒":">⃒","⧞":"⧞","⤂":"⤂","≤⃒":"≤⃒","<⃒":"<⃒","⊴⃒":"⊴⃒","⤃":"⤃","⊵⃒":"⊵⃒","∼⃒":"∼⃒","⇖":"⇖","⤣":"⤣","⤧":"⤧",ó:"ó",ô:"ô",о:"о",ő:"ő","⨸":"⨸","⦼":"⦼",œ:"œ","⦿":"⦿",𝔬:"𝔬","˛":"˛",ò:"ò","⧁":"⧁","⦵":"⦵","⦾":"⦾","⦻":"⦻","⧀":"⧀",ō:"ō",ω:"ω",ο:"ο","⦶":"⦶",𝕠:"𝕠","⦷":"⦷","⦹":"⦹","∨":"∨","⩝":"⩝",ℴ:"ℴ",ª:"ª",º:"º","⊶":"⊶","⩖":"⩖","⩗":"⩗","⩛":"⩛",ø:"ø","⊘":"⊘",õ:"õ","⨶":"⨶",ö:"ö","⌽":"⌽","¶":"¶","⫳":"⫳","⫽":"⫽",п:"п","%":"%",".":".","‰":"‰","‱":"‱",𝔭:"𝔭",φ:"φ",ϕ:"ϕ","☎":"☎",π:"π",ϖ:"ϖ",ℎ:"ℎ","+":"+","⨣":"⨣","⨢":"⨢","⨥":"⨥","⩲":"⩲","⨦":"⨦","⨧":"⨧","⨕":"⨕",𝕡:"𝕡","£":"£","⪳":"⪳","⪷":"⪷","⪹":"⪹","⪵":"⪵","⋨":"⋨","′":"′","⌮":"⌮","⌒":"⌒","⌓":"⌓","⊰":"⊰",𝓅:"𝓅",ψ:"ψ"," ":" ",𝔮:"𝔮",𝕢:"𝕢","⁗":"⁗",𝓆:"𝓆","⨖":"⨖","?":"?","⤜":"⤜","⥤":"⥤","∽̱":"∽̱",ŕ:"ŕ","⦳":"⦳","⦒":"⦒","⦥":"⦥","»":"»","⥵":"⥵","⤠":"⤠","⤳":"⤳","⤞":"⤞","⥅":"⥅","⥴":"⥴","↣":"↣","↝":"↝","⤚":"⤚","∶":"∶","❳":"❳","}":"}","]":"]","⦌":"⦌","⦎":"⦎","⦐":"⦐",ř:"ř",ŗ:"ŗ",р:"р","⤷":"⤷","⥩":"⥩","↳":"↳","▭":"▭","⥽":"⥽",𝔯:"𝔯","⥬":"⥬",ρ:"ρ",ϱ:"ϱ","⇉":"⇉","⋌":"⋌","˚":"˚","":"‏","⎱":"⎱","⫮":"⫮","⟭":"⟭","⇾":"⇾","⦆":"⦆",𝕣:"𝕣","⨮":"⨮","⨵":"⨵",")":")","⦔":"⦔","⨒":"⨒","›":"›",𝓇:"𝓇","⋊":"⋊","▹":"▹","⧎":"⧎","⥨":"⥨","℞":"℞",ś:"ś","⪴":"⪴","⪸":"⪸",š:"š",ş:"ş",ŝ:"ŝ","⪶":"⪶","⪺":"⪺","⋩":"⋩","⨓":"⨓",с:"с","⋅":"⋅","⩦":"⩦","⇘":"⇘","§":"§",";":";","⤩":"⤩","✶":"✶",𝔰:"𝔰","♯":"♯",щ:"щ",ш:"ш","":"­",σ:"σ",ς:"ς","⩪":"⩪","⪞":"⪞","⪠":"⪠","⪝":"⪝","⪟":"⪟","≆":"≆","⨤":"⨤","⥲":"⥲","⨳":"⨳","⧤":"⧤","⌣":"⌣","⪪":"⪪","⪬":"⪬","⪬︀":"⪬︀",ь:"ь","/":"/","⧄":"⧄","⌿":"⌿",𝕤:"𝕤","♠":"♠","⊓︀":"⊓︀","⊔︀":"⊔︀",𝓈:"𝓈","☆":"☆","⊂":"⊂","⫅":"⫅","⪽":"⪽","⫃":"⫃","⫁":"⫁","⫋":"⫋","⊊":"⊊","⪿":"⪿","⥹":"⥹","⫇":"⫇","⫕":"⫕","⫓":"⫓","♪":"♪","¹":"¹","²":"²","³":"³","⫆":"⫆","⪾":"⪾","⫘":"⫘","⫄":"⫄","⟉":"⟉","⫗":"⫗","⥻":"⥻","⫂":"⫂","⫌":"⫌","⊋":"⊋","⫀":"⫀","⫈":"⫈","⫔":"⫔","⫖":"⫖","⇙":"⇙","⤪":"⤪",ß:"ß","⌖":"⌖",τ:"τ",ť:"ť",ţ:"ţ",т:"т","⌕":"⌕",𝔱:"𝔱",θ:"θ",ϑ:"ϑ",þ:"þ","×":"×","⨱":"⨱","⨰":"⨰","⌶":"⌶","⫱":"⫱",𝕥:"𝕥","⫚":"⫚","‴":"‴","▵":"▵","≜":"≜","◬":"◬","⨺":"⨺","⨹":"⨹","⧍":"⧍","⨻":"⨻","⏢":"⏢",𝓉:"𝓉",ц:"ц",ћ:"ћ",ŧ:"ŧ","⥣":"⥣",ú:"ú",ў:"ў",ŭ:"ŭ",û:"û",у:"у",ű:"ű","⥾":"⥾",𝔲:"𝔲",ù:"ù","▀":"▀","⌜":"⌜","⌏":"⌏","◸":"◸",ū:"ū",ų:"ų",𝕦:"𝕦",υ:"υ","⇈":"⇈","⌝":"⌝","⌎":"⌎",ů:"ů","◹":"◹",𝓊:"𝓊","⋰":"⋰",ũ:"ũ",ü:"ü","⦧":"⦧","⫨":"⫨","⫩":"⫩","⦜":"⦜","⊊︀":"⊊︀","⫋︀":"⫋︀","⊋︀":"⊋︀","⫌︀":"⫌︀",в:"в","⊻":"⊻","≚":"≚","⋮":"⋮",𝔳:"𝔳",𝕧:"𝕧",𝓋:"𝓋","⦚":"⦚",ŵ:"ŵ","⩟":"⩟","≙":"≙",℘:"℘",𝔴:"𝔴",𝕨:"𝕨",𝓌:"𝓌",𝔵:"𝔵",ξ:"ξ","⋻":"⋻",𝕩:"𝕩",𝓍:"𝓍",ý:"ý",я:"я",ŷ:"ŷ",ы:"ы","¥":"¥",𝔶:"𝔶",ї:"ї",𝕪:"𝕪",𝓎:"𝓎",ю:"ю",ÿ:"ÿ",ź:"ź",ž:"ž",з:"з",ż:"ż",ζ:"ζ",𝔷:"𝔷",ж:"ж","⇝":"⇝",𝕫:"𝕫",𝓏:"𝓏","":"‍","":"‌"}}}},125:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.numericUnicodeMap={0:65533,128:8364,130:8218,131:402,132:8222,133:8230,134:8224,135:8225,136:710,137:8240,138:352,139:8249,140:338,142:381,145:8216,146:8217,147:8220,148:8221,149:8226,150:8211,151:8212,152:732,153:8482,154:353,155:8250,156:339,158:382,159:376}},663:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.fromCodePoint=String.fromCodePoint||function(e){return String.fromCharCode(Math.floor((e-65536)/1024)+55296,(e-65536)%1024+56320)},t.getCodePoint=String.prototype.codePointAt?function(e,t){return e.codePointAt(t)}:function(e,t){return 1024*(e.charCodeAt(t)-55296)+e.charCodeAt(t+1)-56320+65536},t.highSurrogateFrom=55296,t.highSurrogateTo=56319},804:(e,t,r)=>{"use strict";r.d(t,{Z:()=>c});var n=r(738),o=r.n(n),a=r(705),i=r.n(a)()(o());i.push([e.id,"",""]);const c=i},379:e=>{"use strict";var t=[];function r(e){for(var r=-1,n=0;n<t.length;n++)if(t[n].identifier===e){r=n;break}return r}function n(e,n){for(var a={},i=[],c=0;c<e.length;c++){var l=e[c],s=n.base?l[0]+n.base:l[0],u=a[s]||0,d="".concat(s," ").concat(u);a[s]=u+1;var f=r(d),p={css:l[1],media:l[2],sourceMap:l[3],supports:l[4],layer:l[5]};if(-1!==f)t[f].references++,t[f].updater(p);else{var h=o(p,n);n.byIndex=c,t.splice(c,0,{identifier:d,updater:h,references:1})}i.push(d)}return i}function o(e,t){var r=t.domAPI(t);return r.update(e),function(t){if(t){if(t.css===e.css&&t.media===e.media&&t.sourceMap===e.sourceMap&&t.supports===e.supports&&t.layer===e.layer)return;r.update(e=t)}else r.remove()}}e.exports=function(e,o){var a=n(e=e||[],o=o||{});return function(e){e=e||[];for(var i=0;i<a.length;i++){var c=r(a[i]);t[c].references--}for(var l=n(e,o),s=0;s<a.length;s++){var u=r(a[s]);0===t[u].references&&(t[u].updater(),t.splice(u,1))}a=l}}},569:e=>{"use strict";var t={};e.exports=function(e,r){var n=function(e){if(void 0===t[e]){var r=document.querySelector(e);if(window.HTMLIFrameElement&&r instanceof window.HTMLIFrameElement)try{r=r.contentDocument.head}catch(e){r=null}t[e]=r}return t[e]}(e);if(!n)throw new Error("Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.");n.appendChild(r)}},216:e=>{"use strict";e.exports=function(e){var t=document.createElement("style");return e.setAttributes(t,e.attributes),e.insert(t,e.options),t}},565:(e,t,r)=>{"use strict";e.exports=function(e){var t=r.nc;t&&e.setAttribute("nonce",t)}},795:e=>{"use strict";e.exports=function(e){var t=e.insertStyleElement(e);return{update:function(r){!function(e,t,r){var n="";r.supports&&(n+="@supports (".concat(r.supports,") {")),r.media&&(n+="@media ".concat(r.media," {"));var o=void 0!==r.layer;o&&(n+="@layer".concat(r.layer.length>0?" ".concat(r.layer):""," {")),n+=r.css,o&&(n+="}"),r.media&&(n+="}"),r.supports&&(n+="}");var a=r.sourceMap;a&&"undefined"!=typeof btoa&&(n+="\n/*# sourceMappingURL=data:application/json;base64,".concat(btoa(unescape(encodeURIComponent(JSON.stringify(a))))," */")),t.styleTagTransform(n,e,t.options)}(t,e,r)},remove:function(){!function(e){if(null===e.parentNode)return!1;e.parentNode.removeChild(e)}(t)}}}},589:e=>{"use strict";e.exports=function(e,t){if(t.styleSheet)t.styleSheet.cssText=e;else{for(;t.firstChild;)t.removeChild(t.firstChild);t.appendChild(document.createTextNode(e))}}}},t={};function r(n){var o=t[n];if(void 0!==o)return o.exports;var a=t[n]={id:n,exports:{}};return e[n].call(a.exports,a,a.exports,r),a.exports}r.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return r.d(t,{a:t}),t},r.d=(e,t)=>{for(var n in t)r.o(t,n)&&!r.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},r.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),r.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},r.nc=void 0,(()=>{"use strict";var e={};r.r(e),r.d(e,{canAddFolders:()=>P, folderHasChildren:()=>le,folderMatchesSearchTerms:()=>se,getChildFolders:()=>j,getFolderBeingEdited:()=>V,getFolderPanelContext:()=>Y,getFolderPanelError:()=>Z,getFolderUsingContextMenuId:()=>z,getFolders:()=>H,getFoldersFilteredBySearchTerms:()=>W,getNavigationError:()=>X,getNotifications:()=>Q,getOrganizationMode:()=>J,getPostIdsToMove:()=>K,getPostType:()=>ee,getScreenState:()=>te,getSearchTerms:()=>re,getSelectedFolder:()=>B,getSelectedFolderId:()=>U,getSelectedFolderIds:()=>M,getSortMode:()=>ne,getState:()=>G,getUserId:()=>oe,getWidth:()=>ae,includeChildren:()=>ue,isAjaxNavEnabled:()=>ye,isBreadcrumbsEnabled:()=>be,isDirty:()=>ie,isFolderDragging:()=>de,isFolderExpanded:()=>ce,isFolderPaneVisible:()=>he,isFolderPanelBusy:()=>fe,isFolderSelected:()=>pe,isNavigating:()=>we,isSearch:()=>me,isSearchEnabled:()=>ge,showItemCounts:()=>ve,syncUploadFolderDropdown:()=>Ee});var t={};r.r(t),r.d(t,{TYPES:()=>je,addNotification:()=>Ue,deleteNotification:()=>Be,dismissNotification:()=>Me,expandFolder:()=>Ge,fetchFolders:()=>Ve,initInstance:()=>ze,instanceAction:()=>gt,moveFolder:()=>pt,movePostsToFolder:()=>ht,saveScreenState:()=>Ze,setExpandedFolders:()=>He,setFolderBeingEditedId:()=>We,setFolderPanelContext:()=>ot,setFolderPanelError:()=>at,setFolderPanelMessage:()=>ct,setFolderUsingContextMenuId:()=>Ye,setFolders:()=>nt,setIsFolderDragging:()=>it,setIsFolderPaneVisible:()=>lt,setIsFolderPanelBusy:()=>st,setIsNavigating:()=>ut,setNavigationError:()=>Qe,setOrganizationMode:()=>Je,setPostIdsToMove:()=>Ke,setSearchTerms:()=>tt,setSelectedFolderId:()=>$e,setSelectedFolderIds:()=>et,setSortMode:()=>rt,setWidth:()=>Xe,toggleExpanded:()=>dt,unassignFolders:()=>mt,updateSavedScreenState:()=>ft});var n={};r.r(n),r.d(n,{getChildFolders:()=>Dt,getFolders:()=>Ft,getScreenState:()=>At});const o=window.wp.element,a=window.wp.data,i=window.wp.dataControls;var c="wicked-folders/state",l="edit",s="delete",u="settings",d="/wicked-folders/v1/",f="organize",p="sort",h="bulk",m="alpha",g="custom";function v(e){return function(e){if(Array.isArray(e))return y(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(e){if("string"==typeof e)return y(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?y(e,t):void 0}}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function y(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}var b=lodash,w=b.isUndefined,E=b.find,S=function(e,t,r){if(-1==e.indexOf(t+"="))e+=-1==e.indexOf("?")?"?":"&",e+=t+"="+r;else{var n=new RegExp(t+"=([^&]*)","gi");e=e.replace(n,t+"="+r)}return!1!==r&&""!=r||(n=new RegExp(t+"=([^&]*)","gi"),e=(e=e.replace(n,"")).replace(/[&]*$/,"")),e},x=function(){return w(window.isRtl)?jQuery("body").hasClass("rtl"):window.isRtl},_=function e(t,r){if(void 0===r)return[];if(r.parent){var n=E(t,{id:r.parent});if(n)return[n].concat(v(e(t,n)))}return[]},k=function e(t,r){if(void 0===r)return[];var n=[];return t.filter((function(e){return e.parent==r.id})).forEach((function(r){n=[].concat(v(n),[r],v(e(t,r)))})),n},R=lodash,L=(R.isNaN,R.isArray),T=R.each,O=(R.find,function(e){var t=jQuery,r=L(e)?e:[e];T(r,(function(e){t('.wp-list-table tr[id="post-'+e+'"]').fadeOut(500,(function(){t(this).remove()})),t('.wp-list-table tr[id="user-'+e+'"]').fadeOut(500,(function(){t(this).remove()}));var r=t('.wp-list-table.plugins .wicked-item[data-object-id="'+e+'"]').closest("tr").attr("data-slug");t('.wp-list-table.plugins tr[data-slug="'+r+'"]').fadeOut(500,(function(){t(this).remove()})),t('.wp-list-table.toplevel_page_gf_edit_forms .wicked-item[data-object-id="'+e+'"]').closest("tr").fadeOut(500,(function(){t(this).remove()})),t('.wp-list-table.gf_entries tr[data-id="'+e+'"]').fadeOut(500,(function(){t(this).remove()})),t('.wp-list-table.tablepress-all-tables tr[data-wf-post-id="'+e+'"]').fadeOut(500,(function(){t(this).remove()})),t('.wp-list-table.wc-orders-list-table-shop_order tr[id="order-'+e+'"]').fadeOut(500,(function(){t(this).remove()})),t('.wp-list-table .wicked-item[data-object-id="'+e+'"]').closest("tr").fadeOut(500,(function(){t(this).remove()}))}))}),F=function(e){return["Wicked_FoldersTerm_Folder","Wicked_Folders\\Term_Folder"].includes(e.type)},A=function(e){return["Wicked_FoldersTerm_Dynamic_Folder","Wicked_Folders\\Term_Dynamic_Folder"].includes(e.type)};function D(e){return function(e){if(Array.isArray(e))return N(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(e){if("string"==typeof e)return N(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?N(e,t):void 0}}(e)||function(){throw new TypeError("Invalid attempt to spread 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 r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}var I=lodash,q=I.find,C=I.uniqBy,P=function(e,t){return e.instances[t].screenState.canAddFolders},j=function(e,t){var r=B(e,t),n=H(e,t);return k(n,r)},U=function(e,t){return e.instances[t].screenState.folder},B=function(e,t){return e.instances[t].folders.find((function(r){return r.id==e.instances[t].screenState.folder}))},M=function(e,t){return e.instances[t].screenState.selectedFolders},G=function(e,t){return e.instances[t]},V=function(e,t){return e.instances[t].folders.find((function(r){return r.id==e.instances[t].folderBeingEditedId}))},z=function(e,t){return e.instances[t].folderUsingContextMenuId},H=function(e,t){return D(e.instances[t].folders)},W=function(e,t){var r=H(e,t),n=re(e,t),o=[];return n?(r.filter((function(e){return-1!=e.name.toUpperCase().indexOf(n.toUpperCase())})).forEach((function(e){o=[].concat(D(o),[e]),_(r,e).forEach((function(e){q(o,{id:e.id})||(o=[].concat(D(o),[e]))}))})),o=C(o,"id")):r},Y=function(e,t){return e.instances[t].folderPanelContext},Z=function(e,t){return e.instances[t].screenState.folderPanelError},X=function(e,t){return e.instances[t].screenState.navigationError},Q=function(e,t){return e.notifications},J=function(e,t){return e.instances[t].organizationMode},K=function(e,t){return e.instances[t].postIdsToMove},ee=function(e,t){return e.instances[t].postType},te=function(e,t){return e.instances[t].screenState},re=function(e,t){return e.instances[t].searchTerms},ne=function(e,t){return e.instances[t].screenState.sortMode},oe=function(e,t){return e.instances[t].screenState.userId},ae=function(e,t){return e.instances[t].screenState.treePaneWidth},ie=function(e,t){return e.instances[t].screenState.isDirty},ce=function(e,t,r){return e.instances[t].screenState.expandedFolders.includes(r)},le=function(e,t,r){return e.instances[t].folders.filter((function(e){return e.parent==r})).length},se=function(e,t,r){var n=H(e,t),o=q(n,{id:r}),a=re(e,t);return-1!=o.name.toUpperCase().indexOf(a.toUpperCase())},ue=function(e,t){return e.instances[t].screenState.includeChildren},de=function(e,t){return e.instances[t].isFolderDragging},fe=function(e,t){return e.instances[t].screenState.isFolderPanelBusy},pe=function(e,t,r){return e.instances[t].screenState.folder==r},he=function(e,t){return e.instances[t].screenState.isFolderPaneVisible},me=function(e,t){return e.instances[t].searchTerms.trim().length>0},ge=function(e,t){return e.instances[t].screenState.enableSearch},ve=function(e,t){return e.instances[t].screenState.showItemCounts},ye=function(e,t){return e.instances[t].screenState.enableAjaxNav},be=function(e,t){return e.instances[t].screenState.enableBreadcrumbs},we=function(e,t){return e.instances[t].screenState.isNavigating},Ee=function(e,t){return e.instances[t].screenState.syncUploadFolderDropdown};const Se=window.wp.i18n;function xe(e){return xe="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},xe(e)}var _e;function ke(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function Re(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?ke(Object(r),!0).forEach((function(t){Ne(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):ke(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function Le(){Le=function(){return e};var e={},t=Object.prototype,r=t.hasOwnProperty,n="function"==typeof Symbol?Symbol:{},o=n.iterator||"@@iterator",a=n.asyncIterator||"@@asyncIterator",i=n.toStringTag||"@@toStringTag";function c(e,t,r){return Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{c({},"")}catch(e){c=function(e,t,r){return e[t]=r}}function l(e,t,r,n){var o=t&&t.prototype instanceof d?t:d,a=Object.create(o.prototype),i=new x(n||[]);return a._invoke=function(e,t,r){var n="suspendedStart";return function(o,a){if("executing"===n)throw new Error("Generator is already running");if("completed"===n){if("throw"===o)throw a;return{value:void 0,done:!0}}for(r.method=o,r.arg=a;;){var i=r.delegate;if(i){var c=w(i,r);if(c){if(c===u)continue;return c}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if("suspendedStart"===n)throw n="completed",r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);n="executing";var l=s(e,t,r);if("normal"===l.type){if(n=r.done?"completed":"suspendedYield",l.arg===u)continue;return{value:l.arg,done:r.done}}"throw"===l.type&&(n="completed",r.method="throw",r.arg=l.arg)}}}(e,r,i),a}function s(e,t,r){try{return{type:"normal",arg:e.call(t,r)}}catch(e){return{type:"throw",arg:e}}}e.wrap=l;var u={};function d(){}function f(){}function p(){}var h={};c(h,o,(function(){return this}));var m=Object.getPrototypeOf,g=m&&m(m(_([])));g&&g!==t&&r.call(g,o)&&(h=g);var v=p.prototype=d.prototype=Object.create(h);function y(e){["next","throw","return"].forEach((function(t){c(e,t,(function(e){return this._invoke(t,e)}))}))}function b(e,t){function n(o,a,i,c){var l=s(e[o],e,a);if("throw"!==l.type){var u=l.arg,d=u.value;return d&&"object"==xe(d)&&r.call(d,"__await")?t.resolve(d.__await).then((function(e){n("next",e,i,c)}),(function(e){n("throw",e,i,c)})):t.resolve(d).then((function(e){u.value=e,i(u)}),(function(e){return n("throw",e,i,c)}))}c(l.arg)}var o;this._invoke=function(e,r){function a(){return new t((function(t,o){n(e,r,t,o)}))}return o=o?o.then(a,a):a()}}function w(e,t){var r=e.iterator[t.method];if(void 0===r){if(t.delegate=null,"throw"===t.method){if(e.iterator.return&&(t.method="return",t.arg=void 0,w(e,t),"throw"===t.method))return u;t.method="throw",t.arg=new TypeError("The iterator does not provide a 'throw' method")}return u}var n=s(r,e.iterator,t.arg);if("throw"===n.type)return t.method="throw",t.arg=n.arg,t.delegate=null,u;var o=n.arg;return o?o.done?(t[e.resultName]=o.value,t.next=e.nextLoc,"return"!==t.method&&(t.method="next",t.arg=void 0),t.delegate=null,u):o:(t.method="throw",t.arg=new TypeError("iterator result is not an object"),t.delegate=null,u)}function E(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function S(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function x(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(E,this),this.reset(!0)}function _(e){if(e){var t=e[o];if(t)return t.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var n=-1,a=function t(){for(;++n<e.length;)if(r.call(e,n))return t.value=e[n],t.done=!1,t;return t.value=void 0,t.done=!0,t};return a.next=a}}return{next:k}}function k(){return{value:void 0,done:!0}}return f.prototype=p,c(v,"constructor",p),c(p,"constructor",f),f.displayName=c(p,i,"GeneratorFunction"),e.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===f||"GeneratorFunction"===(t.displayName||t.name))},e.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,p):(e.__proto__=p,c(e,i,"GeneratorFunction")),e.prototype=Object.create(v),e},e.awrap=function(e){return{__await:e}},y(b.prototype),c(b.prototype,a,(function(){return this})),e.AsyncIterator=b,e.async=function(t,r,n,o,a){void 0===a&&(a=Promise);var i=new b(l(t,r,n,o),a);return e.isGeneratorFunction(r)?i:i.next().then((function(e){return e.done?e.value:i.next()}))},y(v),c(v,i,"Generator"),c(v,o,(function(){return this})),c(v,"toString",(function(){return"[object Generator]"})),e.keys=function(e){var t=[];for(var r in e)t.push(r);return t.reverse(),function r(){for(;t.length;){var n=t.pop();if(n in e)return r.value=n,r.done=!1,r}return r.done=!0,r}},e.values=_,x.prototype={constructor:x,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEach(S),!e)for(var t in this)"t"===t.charAt(0)&&r.call(this,t)&&!isNaN(+t.slice(1))&&(this[t]=void 0)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var t=this;function n(r,n){return i.type="throw",i.arg=e,t.next=r,n&&(t.method="next",t.arg=void 0),!!n}for(var o=this.tryEntries.length-1;o>=0;--o){var a=this.tryEntries[o],i=a.completion;if("root"===a.tryLoc)return n("end");if(a.tryLoc<=this.prev){var c=r.call(a,"catchLoc"),l=r.call(a,"finallyLoc");if(c&&l){if(this.prev<a.catchLoc)return n(a.catchLoc,!0);if(this.prev<a.finallyLoc)return n(a.finallyLoc)}else if(c){if(this.prev<a.catchLoc)return n(a.catchLoc,!0)}else{if(!l)throw new Error("try statement without catch or finally");if(this.prev<a.finallyLoc)return n(a.finallyLoc)}}}},abrupt:function(e,t){for(var n=this.tryEntries.length-1;n>=0;--n){var o=this.tryEntries[n];if(o.tryLoc<=this.prev&&r.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var a=o;break}}a&&("break"===e||"continue"===e)&&a.tryLoc<=t&&t<=a.finallyLoc&&(a=null);var i=a?a.completion:{};return i.type=e,i.arg=t,a?(this.method="next",this.next=a.finallyLoc,u):this.complete(i)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),u},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.finallyLoc===e)return this.complete(r.completion,r.afterLoc),S(r),u}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.tryLoc===e){var n=r.completion;if("throw"===n.type){var o=n.arg;S(r)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(e,t,r){return this.delegate={iterator:_(e),resultName:t,nextLoc:r},"next"===this.method&&(this.arg=void 0),u}},e}var Te=Le().mark(Ve),Oe=Le().mark(Ze),Fe=Le().mark(pt),Ae=Le().mark(ht),De=Le().mark(mt);function Ne(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var Ie=lodash,qe=Ie.defaults,Ce=Ie.find,Pe=Ie.uniqueId,je=(Ne(_e={ADD_NOTIFICATION:"ADD_NOTIFICATION",DELETE_NOTIFICATION:"DELETE_NOTIFICATION",DISMISS_NOTIFICATION:"DISMISS_NOTIFICATION",EXPAND_FOLDER:"EXPAND_FOLDER"},"EXPAND_FOLDER","EXPAND_FOLDER"),Ne(_e,"INIT_INSTANCE","INIT_INSTANCE"),Ne(_e,"SET_EXPANDED_FOLDERS","SET_EXPANDED_FOLDERS"),Ne(_e,"SET_FOLDERS","SET_FOLDERS"),Ne(_e,"SET_FOLDER_BEING_EDITED_ID","SET_FOLDER_BEING_EDITED_ID"),Ne(_e,"SET_FOLDER_USING_CONTEXT_MENU_ID","SET_FOLDER_USING_CONTEXT_MENU_ID"),Ne(_e,"SET_FOLDER_PANEL_CONTEXT","SET_FOLDER_PANEL_CONTEXT"),Ne(_e,"SET_FOLDER_PANEL_MESSAGE","SET_FOLDER_PANEL_MESSAGE"),Ne(_e,"SET_FOLDER_PANEL_ERROR","SET_FOLDER_PANEL_ERROR"),Ne(_e,"SET_IS_FOLDER_DRAGGING","SET_IS_FOLDER_DRAGGING"),Ne(_e,"SET_IS_FOLDER_PANE_VISIBLE","SET_IS_FOLDER_PANE_VISIBLE"),Ne(_e,"SET_IS_FOLDER_PANEL_BUSY","SET_IS_FOLDER_PANEL_BUSY"),Ne(_e,"SET_IS_NAVIGATING","SET_IS_NAVIGATING"),Ne(_e,"SET_NAVIGATION_ERROR","SET_NAVIGATION_ERROR"),Ne(_e,"SET_ORGANIZATION_MODE","SET_ORGANIZATION_MODE"),Ne(_e,"SET_POST_IDS_TO_MOVE","SET_POST_IDS_TO_MOVE"),Ne(_e,"SET_SELECTED_FOLDER_ID","SET_SELECTED_FOLDER_ID"),Ne(_e,"SET_SELECTED_FOLDER_IDS","SET_SELECTED_FOLDER_IDS"),Ne(_e,"SET_SEARCH_TERMS","SET_SEARCH_TERMS"),Ne(_e,"SET_SORT_MODE","SET_SORT_MODE"),Ne(_e,"SET_WIDTH","SET_WIDTH"),Ne(_e,"TOGGLE_EXPANDED","TOGGLE_EXPANDED"),Ne(_e,"UPDATE_SAVED_SCREEN_STATE","UPDATE_SAVED_SCREEN_STATE"),Ne(_e,"WITH_INSTANCE","WITH_INSTANCE"),_e),Ue=function(e){var t=qe(e,{title:(0,Se.__)("Success","wicked-folders"),message:"",dismissible:!0,dismissed:!1,autoDismiss:!0,delay:3e3});return t.id=Pe(),t.autoDismiss&&setTimeout((function(){(0,a.dispatch)(c).dismissNotification(t.id)}),t.delay),{type:je.ADD_NOTIFICATION,notification:t}},Be=function(e){return{type:je.DELETE_NOTIFICATION,notificationId:e}},Me=function(e){return setTimeout((function(){(0,a.dispatch)(c).deleteNotification(e)}),500),{type:je.DISMISS_NOTIFICATION,notificationId:e}},Ge=function(e){return{type:je.EXPAND_FOLDER,folderId:e}};function Ve(e){var t,r,n;return Le().wrap((function(o){for(;;)switch(o.prev=o.next){case 0:return o.prev=0,(0,a.dispatch)(c).instanceAction(e,st,!0),t=(0,a.select)(c).getPostType(e),r=(0,a.select)(c).getSortMode(e),o.next=6,(0,i.apiFetch)({path:"/wicked-folders/v1/folders?post_type=".concat(t,"&sort_mode=").concat(r)});case 6:return n=o.sent,(0,a.dispatch)(c).instanceAction(e,st,!1),o.abrupt("return",{type:je.WITH_INSTANCE,payload:{action:{type:je.SET_FOLDERS,folders:n},instanceId:e}});case 11:o.prev=11,o.t0=o.catch(0),console.log("Error fetching folders: ".concat(o.t0.message));case 14:case"end":return o.stop()}}),Te,null,[[0,11]])}var ze=function(e,t){return{type:je.INIT_INSTANCE,instanceId:e,postType:t}},He=function(e){return{type:je.SET_EXPANDED_FOLDERS,folderIds:e}},We=function(e){return{type:je.SET_FOLDER_BEING_EDITED_ID,folderId:e}},Ye=function(e){return{type:je.SET_FOLDER_USING_CONTEXT_MENU_ID,folderId:e}};function Ze(e){var t;return Le().wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return t=(0,a.select)(c).getScreenState(e),r.prev=1,r.next=4,(0,i.apiFetch)({path:"/wicked-folders/v1/screen-state",method:"PUT",data:t});case 4:return t=(0,a.select)(c).getScreenState(e),r.abrupt("return",{type:je.WITH_INSTANCE,payload:{action:{type:je.UPDATE_SAVED_SCREEN_STATE,state:t},instanceId:e}});case 8:r.prev=8,r.t0=r.catch(1),console.log("Error while saving Wicked Folders state: ".concat(r.t0));case 11:return r.abrupt("return");case 12:case"end":return r.stop()}}),Oe,null,[[1,8]])}var Xe=function(e){return{type:je.SET_WIDTH,width:e}},Qe=function(e){return{type:je.SET_NAVIGATION_ERROR,error:e}},Je=function(e){return{type:je.SET_ORGANIZATION_MODE,mode:e}},Ke=function(e){return{type:je.SET_POST_IDS_TO_MOVE,postIds:e}},$e=function(e){return{type:je.SET_SELECTED_FOLDER_ID,folderId:e}},et=function(e){return{type:je.SET_SELECTED_FOLDER_IDS,folderIds:e}},tt=function(e){return{type:je.SET_SEARCH_TERMS,s:e}},rt=function(e){return{type:je.SET_SORT_MODE,mode:e}},nt=function(e){return{type:je.SET_FOLDERS,folders:e}},ot=function(e){return{type:je.SET_FOLDER_PANEL_CONTEXT,context:e}},at=function(e){return{type:je.SET_FOLDER_PANEL_ERROR,error:e}},it=function(e){return{type:je.SET_IS_FOLDER_DRAGGING,isDragging:e}},ct=function(e){return{type:je.SET_FOLDER_PANEL_MESSAGE,message:e}},lt=function(e){return{type:je.SET_IS_FOLDER_PANE_VISIBLE,isFolderPaneVisible:e}},st=function(e){return{type:je.SET_IS_FOLDER_PANEL_BUSY,isBusy:e}},ut=function(e){return{type:je.SET_IS_NAVIGATING,isNavigating:e}},dt=function(e){return{type:je.TOGGLE_EXPANDED,folderId:e}},ft=function(e){return{type:je.UPDATE_SAVED_SCREEN_STATE,state:e}};function pt(e,t,r){var n,o,l,s;return Le().wrap((function(u){for(;;)switch(u.prev=u.next){case 0:return u.prev=0,n=(0,a.select)(c).getFolders(e),o=Ce(n,{id:t}),u.next=5,(0,i.apiFetch)({path:"".concat(d,"folders/").concat(t),method:"PUT",data:Re(Re({},o),{},{parent:r})});case 5:return l=u.sent,s=n.map((function(e){return e.id==o.id?l:e})),u.abrupt("return",{type:je.WITH_INSTANCE,payload:{action:{type:je.SET_FOLDERS,folders:s},instanceId:e}});case 10:u.prev=10,u.t0=u.catch(0),console.log(u.t0.message);case 13:case"end":return u.stop()}}),Fe,null,[[0,10]])}function ht(e,t,r,n,o){var l,s,u;return Le().wrap((function(f){for(;;)switch(f.prev=f.next){case 0:return f.prev=0,l=(0,a.select)(c).getPostType(e),s=(0,a.select)(c).getSortMode(e),f.next=5,(0,i.apiFetch)({path:"".concat(d,"folders/").concat(r,"/assign"),method:"PUT",data:{post_type:l,post_ids:t,sort_mode:s,from_folder_id:n,copy:o}});case 5:return u=f.sent,Ke([]),f.abrupt("return",{type:je.WITH_INSTANCE,payload:{action:{type:je.SET_FOLDERS,folders:u},instanceId:e}});case 10:f.prev=10,f.t0=f.catch(0),console.log(f.t0.message);case 13:case"end":return f.stop()}}),Ae,null,[[0,10]])}function mt(e,t){var r,n;return Le().wrap((function(o){for(;;)switch(o.prev=o.next){case 0:return o.prev=0,r=(0,a.select)(c).getPostType(e),o.next=4,(0,i.apiFetch)({path:"".concat(d,"folders/unassign"),method:"PUT",data:{post_type:r,post_ids:t}});case 4:return n=o.sent,Ke([]),o.abrupt("return",{type:je.WITH_INSTANCE,payload:{action:{type:je.SET_FOLDERS,folders:n},instanceId:e}});case 9:o.prev=9,o.t0=o.catch(0),console.log(o.t0.message);case 12:case"end":return o.stop()}}),De,null,[[0,9]])}var gt=function(e,t){for(var r=arguments.length,n=new Array(r>2?r-2:0),o=2;o<r;o++)n[o-2]=arguments[o];var a=t.apply(null,n);return{type:je.WITH_INSTANCE,payload:{action:a,instanceId:e}}};function vt(e){return vt="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},vt(e)}function yt(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function bt(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?yt(Object(r),!0).forEach((function(t){wt(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):yt(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function wt(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Et(){Et=function(){return e};var e={},t=Object.prototype,r=t.hasOwnProperty,n="function"==typeof Symbol?Symbol:{},o=n.iterator||"@@iterator",a=n.asyncIterator||"@@asyncIterator",i=n.toStringTag||"@@toStringTag";function c(e,t,r){return Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{c({},"")}catch(e){c=function(e,t,r){return e[t]=r}}function l(e,t,r,n){var o=t&&t.prototype instanceof d?t:d,a=Object.create(o.prototype),i=new x(n||[]);return a._invoke=function(e,t,r){var n="suspendedStart";return function(o,a){if("executing"===n)throw new Error("Generator is already running");if("completed"===n){if("throw"===o)throw a;return{value:void 0,done:!0}}for(r.method=o,r.arg=a;;){var i=r.delegate;if(i){var c=w(i,r);if(c){if(c===u)continue;return c}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if("suspendedStart"===n)throw n="completed",r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);n="executing";var l=s(e,t,r);if("normal"===l.type){if(n=r.done?"completed":"suspendedYield",l.arg===u)continue;return{value:l.arg,done:r.done}}"throw"===l.type&&(n="completed",r.method="throw",r.arg=l.arg)}}}(e,r,i),a}function s(e,t,r){try{return{type:"normal",arg:e.call(t,r)}}catch(e){return{type:"throw",arg:e}}}e.wrap=l;var u={};function d(){}function f(){}function p(){}var h={};c(h,o,(function(){return this}));var m=Object.getPrototypeOf,g=m&&m(m(_([])));g&&g!==t&&r.call(g,o)&&(h=g);var v=p.prototype=d.prototype=Object.create(h);function y(e){["next","throw","return"].forEach((function(t){c(e,t,(function(e){return this._invoke(t,e)}))}))}function b(e,t){function n(o,a,i,c){var l=s(e[o],e,a);if("throw"!==l.type){var u=l.arg,d=u.value;return d&&"object"==vt(d)&&r.call(d,"__await")?t.resolve(d.__await).then((function(e){n("next",e,i,c)}),(function(e){n("throw",e,i,c)})):t.resolve(d).then((function(e){u.value=e,i(u)}),(function(e){return n("throw",e,i,c)}))}c(l.arg)}var o;this._invoke=function(e,r){function a(){return new t((function(t,o){n(e,r,t,o)}))}return o=o?o.then(a,a):a()}}function w(e,t){var r=e.iterator[t.method];if(void 0===r){if(t.delegate=null,"throw"===t.method){if(e.iterator.return&&(t.method="return",t.arg=void 0,w(e,t),"throw"===t.method))return u;t.method="throw",t.arg=new TypeError("The iterator does not provide a 'throw' method")}return u}var n=s(r,e.iterator,t.arg);if("throw"===n.type)return t.method="throw",t.arg=n.arg,t.delegate=null,u;var o=n.arg;return o?o.done?(t[e.resultName]=o.value,t.next=e.nextLoc,"return"!==t.method&&(t.method="next",t.arg=void 0),t.delegate=null,u):o:(t.method="throw",t.arg=new TypeError("iterator result is not an object"),t.delegate=null,u)}function E(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function S(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function x(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(E,this),this.reset(!0)}function _(e){if(e){var t=e[o];if(t)return t.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var n=-1,a=function t(){for(;++n<e.length;)if(r.call(e,n))return t.value=e[n],t.done=!1,t;return t.value=void 0,t.done=!0,t};return a.next=a}}return{next:k}}function k(){return{value:void 0,done:!0}}return f.prototype=p,c(v,"constructor",p),c(p,"constructor",f),f.displayName=c(p,i,"GeneratorFunction"),e.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===f||"GeneratorFunction"===(t.displayName||t.name))},e.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,p):(e.__proto__=p,c(e,i,"GeneratorFunction")),e.prototype=Object.create(v),e},e.awrap=function(e){return{__await:e}},y(b.prototype),c(b.prototype,a,(function(){return this})),e.AsyncIterator=b,e.async=function(t,r,n,o,a){void 0===a&&(a=Promise);var i=new b(l(t,r,n,o),a);return e.isGeneratorFunction(r)?i:i.next().then((function(e){return e.done?e.value:i.next()}))},y(v),c(v,i,"Generator"),c(v,o,(function(){return this})),c(v,"toString",(function(){return"[object Generator]"})),e.keys=function(e){var t=[];for(var r in e)t.push(r);return t.reverse(),function r(){for(;t.length;){var n=t.pop();if(n in e)return r.value=n,r.done=!1,r}return r.done=!0,r}},e.values=_,x.prototype={constructor:x,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEach(S),!e)for(var t in this)"t"===t.charAt(0)&&r.call(this,t)&&!isNaN(+t.slice(1))&&(this[t]=void 0)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var t=this;function n(r,n){return i.type="throw",i.arg=e,t.next=r,n&&(t.method="next",t.arg=void 0),!!n}for(var o=this.tryEntries.length-1;o>=0;--o){var a=this.tryEntries[o],i=a.completion;if("root"===a.tryLoc)return n("end");if(a.tryLoc<=this.prev){var c=r.call(a,"catchLoc"),l=r.call(a,"finallyLoc");if(c&&l){if(this.prev<a.catchLoc)return n(a.catchLoc,!0);if(this.prev<a.finallyLoc)return n(a.finallyLoc)}else if(c){if(this.prev<a.catchLoc)return n(a.catchLoc,!0)}else{if(!l)throw new Error("try statement without catch or finally");if(this.prev<a.finallyLoc)return n(a.finallyLoc)}}}},abrupt:function(e,t){for(var n=this.tryEntries.length-1;n>=0;--n){var o=this.tryEntries[n];if(o.tryLoc<=this.prev&&r.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var a=o;break}}a&&("break"===e||"continue"===e)&&a.tryLoc<=t&&t<=a.finallyLoc&&(a=null);var i=a?a.completion:{};return i.type=e,i.arg=t,a?(this.method="next",this.next=a.finallyLoc,u):this.complete(i)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),u},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.finallyLoc===e)return this.complete(r.completion,r.afterLoc),S(r),u}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.tryLoc===e){var n=r.completion;if("throw"===n.type){var o=n.arg;S(r)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(e,t,r){return this.delegate={iterator:_(e),resultName:t,nextLoc:r},"next"===this.method&&(this.arg=void 0),u}},e}var St=Et().mark(Ft),xt=Et().mark(At),_t=Et().mark(Dt);function kt(e){return function(e){if(Array.isArray(e))return Rt(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(e){if("string"==typeof e)return Rt(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?Rt(e,t):void 0}}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Rt(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}var Lt=lodash,Tt=Lt.forOwn,Ot=Lt.uniqBy;function Ft(e){var t,r,n;return Et().wrap((function(o){for(;;)switch(o.prev=o.next){case 0:if(t=[],r=[],n=(0,a.select)(c).getPostType(e),!1!==wickedFoldersSettings.instances[e].folders){o.next=9;break}return o.next=6,(0,i.apiFetch)({path:"/wicked-folders/v1/folders?post_type=".concat(n)});case 6:t=o.sent,o.next=11;break;case 9:t=kt(wickedFoldersSettings.instances[e].folders),wickedFoldersSettings.instances[e].folders=!1;case 11:return Tt(t,(function(e){return r.push(e)})),o.abrupt("return",gt(e,nt,r));case 13:case"end":return o.stop()}}),St)}function At(e){var t;return Et().wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return t=null,r.prev=1,!1===wickedFoldersSettings.instances[e].state||(t=bt({},wickedFoldersSettings.instances[e].state)),r.abrupt("return",gt(e,ft,t));case 6:r.prev=6,r.t0=r.catch(1),(0,a.dispatch)(c).setError("Error while loading state: ".concat(r.t0.message));case 9:case"end":return r.stop()}}),xt,null,[[1,6]])}function Dt(e,t){var r,n,o;return Et().wrap((function(l){for(;;)switch(l.prev=l.next){case 0:if(r=(0,a.select)(c).getFolders(e),n=(0,a.select)(c).getPostType(e),!r.find((function(e){return e.id==t})).lazy){l.next=9;break}return l.next=6,(0,i.apiFetch)({path:"/wicked-folders/v1/folders/".concat(t,"/children?post_type=").concat(n)});case 6:o=l.sent,r=[].concat(kt(r),kt(o)),r=Ot(r,"id");case 9:return l.abrupt("return",gt(e,nt,r));case 10:case"end":return l.stop()}}),_t)}function Nt(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,o,a=[],_n=!0,i=!1;try{for(r=r.call(e);!(_n=(n=r.next()).done)&&(a.push(n.value),!t||a.length!==t);_n=!0);}catch(e){i=!0,o=e}finally{try{_n||null==r.return||r.return()}finally{if(i)throw o}}return a}}(e,t)||qt(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 It(e){return function(e){if(Array.isArray(e))return Ct(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||qt(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function qt(e,t){if(e){if("string"==typeof e)return Ct(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?Ct(e,t):void 0}}function Ct(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function Pt(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function jt(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?Pt(Object(r),!0).forEach((function(t){Ut(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Pt(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function Ut(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var Bt=lodash,Mt=Bt.has,Gt=Bt.union,Vt=je.ADD_NOTIFICATION,zt=je.DELETE_NOTIFICATION,Ht=je.DISMISS_NOTIFICATION,Wt=je.EXPAND_FOLDER,Yt=je.INIT_INSTANCE,Zt=je.SET_FOLDERS,Xt=je.SET_FOLDER_BEING_EDITED_ID,Qt=je.SET_FOLDER_USING_CONTEXT_MENU_ID,Jt=je.SET_FOLDER_PANEL_CONTEXT,Kt=je.SET_FOLDER_PANEL_ERROR,$t=je.SET_FOLDER_PANEL_MESSAGE,er=je.SET_EXPANDED_FOLDERS,tr=je.SET_IS_FOLDER_DRAGGING,rr=je.SET_IS_FOLDER_PANE_VISIBLE,nr=je.SET_IS_FOLDER_PANEL_BUSY,or=je.SET_IS_NAVIGATING,ar=je.SET_NAVIGATION_ERROR,ir=je.SET_ORGANIZATION_MODE,cr=je.SET_POST_IDS_TO_MOVE,lr=je.SET_SEARCH_TERMS,sr=je.SET_SELECTED_FOLDER_ID,ur=je.SET_SELECTED_FOLDER_IDS,dr=je.SET_SORT_MODE,fr=je.SET_WIDTH,pr=je.TOGGLE_EXPANDED,hr=je.UPDATE_SAVED_SCREEN_STATE,mr=je.WITH_INSTANCE,gr={instances:{},notifications:[]},vr={folders:[],folderPanelContext:!1,isFolderDragging:!1,postType:!1,postIdsToMove:[],organizationMode:f,searchTerms:"",folderBeingEditedId:!1,folderUsingContextMenuId:!1,screenState:{canAddFolders:!0,folder:!1,enableSearch:!1,enableBreadcrumbs:!1,expandedFolders:[],isFolderPaneVisible:!0,showItemCounts:!0,enableAjaxNav:!0,isDirty:!1,isFolderPanelBusy:!1,isNavigating:!1,navigationError:!1,folderPanelMessage:!1,folderPanelError:!1,screenId:!1,includeChildren:!1,treePaneWidth:292,userId:1,selectedFolders:[],sortMode:m,syncUploadFolderDropdown:!0}},yr=function(e,t){switch(t.type){case Wt:return jt(jt({},e),{},{screenState:jt(jt({},e.screenState),{},{expandedFolders:Gt(It(e.screenState.expandedFolders),[t.folderId]),isDirty:!0})});case Xt:return jt(jt({},e),{},{folderBeingEditedId:t.folderId});case Qt:return jt(jt({},e),{},{folderUsingContextMenuId:t.folderId});case ar:return jt(jt({},e),{},{screenState:jt(jt({},e.screenState),{},{navigationError:t.error})});case ir:return jt(jt({},e),{},{organizationMode:t.mode});case cr:return jt(jt({},e),{},{postIdsToMove:t.postIds});case lr:return jt(jt({},e),{},{searchTerms:t.s});case sr:return jt(jt({},e),{},{screenState:jt(jt({},e.screenState),{},{folder:t.folderId,isDirty:!0})});case ur:return jt(jt({},e),{},{screenState:jt(jt({},e.screenState),{},{selectedFolders:t.folderIds})});case dr:return jt(jt({},e),{},{screenState:jt(jt({},e.screenState),{},{sortMode:t.mode,isDirty:!0})});case Zt:return jt(jt({},e),{},{folders:t.folders});case Jt:return jt(jt({},e),{},{folderPanelContext:t.context});case Kt:return jt(jt({},e),{},{screenState:jt(jt({},e.screenState),{},{folderPanelError:t.error})});case $t:return jt(jt({},e),{},{screenState:jt(jt({},e.screenState),{},{folderPanelMessage:t.message})});case er:return jt(jt({},e),{},{screenState:jt(jt({},e.screenState),{},{expandedFolders:t.folderIds,isDirty:!0})});case tr:return jt(jt({},e),{},{isFolderDragging:t.isDragging});case rr:return jt(jt({},e),{},{screenState:jt(jt({},e.screenState),{},{isFolderPaneVisible:t.isFolderPaneVisible,isDirty:!0})});case nr:return jt(jt({},e),{},{screenState:jt(jt({},e.screenState),{},{isFolderPanelBusy:t.isBusy})});case or:return jt(jt({},e),{},{screenState:jt(jt({},e.screenState),{},{isNavigating:t.isNavigating})});case fr:return jt(jt({},e),{},{screenState:jt(jt({},e.screenState),{},{treePaneWidth:t.width,isDirty:!0})});case pr:return-1==e.screenState.expandedFolders.indexOf(t.folderId)?jt(jt({},e),{},{screenState:jt(jt({},e.screenState),{},{expandedFolders:[].concat(It(e.screenState.expandedFolders),[t.folderId]),isDirty:!0})}):jt(jt({},e),{},{screenState:jt(jt({},e.screenState),{},{expandedFolders:It(e.screenState.expandedFolders.filter((function(e){return e!=t.folderId}))),isDirty:!0})});case hr:return jt(jt({},e),{},{screenState:jt(jt({},t.state),{},{isDirty:!1})});default:return e}};var br=(0,o.createContext)(),wr=lodash,Er=wr.forOwn,Sr=wr.isFunction,xr=function(e){var t=(0,o.useContext)(br);return(0,a.useSelect)((function(r){return e.apply(null,[function(e){var n={},o=r(e);return Er(o,(function(e,r){n[r]=function(){return e.apply(null,[t].concat(Array.prototype.slice.call(arguments)))}})),n}])}))},_r=function(e){var r=(0,o.useContext)(br),n={},i=(0,a.useDispatch)(e);return Er(t,(function(e,t){Sr(e)&&(n[t]=function(){return i.instanceAction.apply(null,[r,e].concat(Array.prototype.slice.call(arguments)))})})),n},kr=r(379),Rr=r.n(kr),Lr=r(795),Tr=r.n(Lr),Or=r(569),Fr=r.n(Or),Ar=r(565),Dr=r.n(Ar),Nr=r(216),Ir=r.n(Nr),qr=r(589),Cr=r.n(qr),Pr=r(804),jr={};function Ur(){var e=(0,o.useRef)(),t=xr((function(e){return{width:(0,e(c).getWidth)()}})).width,r=_r(c).setWidth;return(0,o.useEffect)((function(){var t=jQuery,n=t(e.current);n.resizable({resizeHeight:!1,handles:"e",minWidth:150,containment:t("#wpcontent"),resize:function(e,t){r(t.size.width)},stop:function(e,t){r(t.size.width)}}),x()&&n.resizable("disable")})),(0,o.useEffect)((function(){document.documentElement.style.setProperty("--wicked-folders-tree-pane-width",t+"px"),document.documentElement.style.setProperty("--wicked-folders-modal-tree-pane-width",t+"px")}),[t]),React.createElement("div",{className:"wicked-resizer ui-resizable",ref:e})}function Br(e){var t=e.children;return React.createElement("div",{className:"wicked-content"},t)}function Mr(e){return e.hidden,React.createElement("h2",{className:"wicked-title"},(0,Se.__)("Folders","wicked-folders"))}jr.styleTagTransform=Cr(),jr.setAttributes=Dr(),jr.insert=Fr().bind(null,"head"),jr.domAPI=Tr(),jr.insertStyleElement=Ir(),Rr()(Pr.Z,jr),Pr.Z&&Pr.Z.locals&&Pr.Z.locals;const Gr=React.createElement("svg",{width:"7px",height:"13px",viewBox:"0 0 7 13",version:"1.1",xmlns:"http://www.w3.org/2000/svg"},React.createElement("g",{stroke:"none",strokeWidth:"1",fill:"none",fillRule:"evenodd"},React.createElement("g",{transform:"translate(0.312500, 0.691360)",fill:"#2271B1",fillRule:"nonzero"},React.createElement("path",{d:"M0,10.8345095 C0,11.5305375 0.84152021,11.8791237 1.33365313,11.3869145 L6.3595048,6.36106287 C6.66460356,6.05600226 6.66460356,5.5613135 6.3595048,5.25625288 L1.33365313,0.230401217 C0.84152021,-0.26176985 0,0.0867782077 0,0.782806211 L0,10.8345095 Z"})))),Vr=React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 352 512"},React.createElement("path",{d:"M242.72 256l100.07-100.07c12.28-12.28 12.28-32.19 0-44.48l-22.24-22.24c-12.28-12.28-32.19-12.28-44.48 0L176 189.28 75.93 89.21c-12.28-12.28-32.19-12.28-44.48 0L9.21 111.45c-12.28 12.28-12.28 32.19 0 44.48L109.28 256 9.21 356.07c-12.28 12.28-12.28 32.19 0 44.48l22.24 22.24c12.28 12.28 32.2 12.28 44.48 0L176 322.72l100.07 100.07c12.28 12.28 32.2 12.28 44.48 0l22.24-22.24c12.28-12.28 12.28-32.19 0-44.48L242.72 256z"})),zr=React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512"},React.createElement("path",{d:"M173.898 439.404l-166.4-166.4c-9.997-9.997-9.997-26.206 0-36.204l36.203-36.204c9.997-9.998 26.207-9.998 36.204 0L192 312.69 432.095 72.596c9.997-9.997 26.207-9.997 36.204 0l36.203 36.204c9.997 9.997 9.997 26.206 0 36.204l-294.4 294.401c-9.998 9.997-26.207 9.997-36.204-.001z"})),Hr=React.createElement("svg",{width:"28px",height:"30px",viewBox:"0 0 28 30",version:"1.1",xmlns:"http://www.w3.org/2000/svg"},React.createElement("g",{stroke:"none",strokeWidth:"1",fill:"none",fillRule:"evenodd"},React.createElement("g",{transform:"translate(0.092416, 0.224615)",fill:"#2271B1",fillRule:"nonzero"},React.createElement("path",{d:"M27.4661321,18.0234622 L24.9700099,16.582025 C25.221951,15.222699 25.221951,13.8281253 24.9700099,12.4687993 L27.4661321,11.0273622 C27.7532064,10.8633115 27.8821238,10.52348 27.7883969,10.2070517 C27.1379735,8.12114202 26.0305886,6.23441632 24.583315,4.66411901 C24.3606707,4.42385088 23.9973789,4.36525727 23.716141,4.52936515 L21.2200189,5.97074508 C20.1712276,5.06838059 18.9641649,4.37115096 17.6575388,3.91413224 L17.6575388,1.03715165 C17.6575388,0.709050316 17.4290008,0.421918738 17.106736,0.351594961 C14.9563963,-0.128826867 12.7532422,-0.105423755 10.7083595,0.351594961 C10.3860946,0.421918738 10.1575567,0.709050316 10.1575567,1.03715165 L10.1575567,3.91996872 C8.85676709,4.38288113 7.6497616,5.08011076 6.59507662,5.97658155 L4.10484818,4.53520162 C3.8177166,4.37115096 3.46031847,4.42385088 3.23767419,4.66995548 C1.79040057,6.23441632 0.68295845,8.12114202 0.0325922641,10.2129454 C-0.0670283175,10.5293165 0.0677255421,10.869148 0.354857121,11.0332559 L2.85092203,12.4746358 C2.59898095,13.834019 2.59898095,15.2285355 2.85092203,16.5879187 L0.354857121,18.0292986 C0.0677255421,18.1933493 -0.0611918446,18.533238 0.0325922641,18.8496092 C0.68295845,20.935576 1.79040057,22.8222445 3.23767419,24.392599 C3.46031847,24.63281 3.82361029,24.6914036 4.10484818,24.5273529 L6.60091309,23.0859158 C7.6497616,23.9882802 8.85676709,24.6855671 10.1633932,25.1425858 L10.1633932,28.0254029 C10.1633932,28.3535042 10.3919311,28.6406358 10.714196,28.7109023 C12.8645929,29.1913814 15.0676898,29.1679783 17.1126297,28.7109023 C17.4348945,28.6406358 17.6633753,28.3535042 17.6633753,28.0254029 L17.6633753,25.1425858 C18.9641649,24.6796734 20.1712276,23.9824438 21.2259126,23.0859158 L23.7219775,24.5273529 C24.009109,24.6914036 24.3665072,24.6386464 24.5891515,24.392599 C26.0364251,22.8281382 27.1438672,20.9414125 27.7942334,18.8496092 C27.8821238,18.5273443 27.7532064,18.1875128 27.4661321,18.0234622 Z M13.9075477,19.212901 C11.3235924,19.212901 9.22005892,17.1093675 9.22005892,14.5254122 C9.22005892,11.9414569 11.3235924,9.83792336 13.9075477,9.83792336 C16.4915031,9.83792336 18.5950366,11.9414569 18.5950366,14.5254122 C18.5950366,17.1093675 16.4915031,19.212901 13.9075477,19.212901 Z"})))),Wr=React.createElement("svg",{width:"27px",height:"27px",viewBox:"0 0 27 27",version:"1.1",xmlns:"http://www.w3.org/2000/svg"},React.createElement("g",{stroke:"none",strokeWidth:"1",fill:"none",fillRule:"evenodd"},React.createElement("g",{transform:"translate(0.000000, 0.625058)",fill:"#2271B1",fillRule:"nonzero"},React.createElement("path",{d:"M6.32810991,14.7655898 L19.9218275,14.7655898 C20.3085224,14.7655898 20.6249508,14.4491614 20.6249508,14.0624665 L20.6249508,12.1874709 C20.6249508,11.800776 20.3085224,11.4843476 19.9218275,11.4843476 L6.32810991,11.4843476 C5.94141497,11.4843476 5.62498659,11.800776 5.62498659,12.1874709 L5.62498659,14.0624665 C5.62498659,14.4491614 5.94141497,14.7655898 6.32810991,14.7655898 Z M26.2499374,2.81249329 C26.2499374,1.25976262 24.9901748,0 23.4374441,0 L2.81249329,0 C1.25976262,0 0,1.25976262 0,2.81249329 L0,23.4374441 C0,24.9901748 1.25976262,26.2499374 2.81249329,26.2499374 L23.4374441,26.2499374 C24.9901748,26.2499374 26.2499374,24.9901748 26.2499374,23.4374441 L26.2499374,2.81249329 Z M23.4374441,23.0858825 C23.4374441,23.2792299 23.2792299,23.4374441 23.0858825,23.4374441 L3.16405496,23.4374441 C2.97070749,23.4374441 2.81249329,23.2792299 2.81249329,23.0858825 L2.81249329,3.16405496 C2.81249329,2.97070749 2.97070749,2.81249329 3.16405496,2.81249329 L23.0858825,2.81249329 C23.2792299,2.81249329 23.4374441,2.97070749 23.4374441,3.16405496 L23.4374441,23.0858825 Z"})))),Yr=React.createElement("svg",{width:"30px",height:"31px",viewBox:"0 0 30 31",version:"1.1",xmlns:"http://www.w3.org/2000/svg"},React.createElement("g",{stroke:"none",strokeWidth:"1",fill:"none",fillRule:"evenodd"},React.createElement("g",{transform:"translate(0.001406, 0.754469)",fill:"#2271B1",fillRule:"nonzero"},React.createElement("path",{d:"M29.1723759,8.32172317 C30.2739244,7.22017474 30.2739244,5.43896332 29.1723759,4.34325136 L25.6508656,0.821741052 C24.5493172,-0.273913684 22.7680485,-0.273913684 21.6723938,0.821741052 L18.971194,3.52294082 C18.6957926,3.79834223 18.6957926,4.24363078 18.971194,4.51903219 L25.4750848,11.0229229 C25.7504862,11.2983244 26.1957747,11.2983244 26.4711762,11.0229229 L29.1723759,8.32172317 Z M16.65091,5.8432249 L1.26419356,21.2299413 L0.0220547985,28.3490649 C-0.14788956,29.3099658 0.689987624,30.1420065 1.65094572,29.9779559 L8.77006937,28.7299234 L24.1567285,13.343207 C24.43213,13.0678056 24.43213,12.6225171 24.1567285,12.3471156 L17.6528378,5.8432249 C17.3715999,5.56782349 16.9263114,5.56782349 16.65091,5.8432249 Z M5.15483217,24.8392848 L7.96732547,24.8392848 L7.96732547,26.9662214 L4.1880376,27.6283178 L2.36579921,25.8060794 L3.02789556,22.0267915 L5.15483217,22.0267915 L5.15483217,24.8392848 Z"})))),Zr=React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 448 512"},React.createElement("path",{d:"M352 240v32c0 6.6-5.4 12-12 12h-88v88c0 6.6-5.4 12-12 12h-32c-6.6 0-12-5.4-12-12v-88h-88c-6.6 0-12-5.4-12-12v-32c0-6.6 5.4-12 12-12h88v-88c0-6.6 5.4-12 12-12h32c6.6 0 12 5.4 12 12v88h88c6.6 0 12 5.4 12 12zm96-160v352c0 26.5-21.5 48-48 48H48c-26.5 0-48-21.5-48-48V80c0-26.5 21.5-48 48-48h352c26.5 0 48 21.5 48 48zm-48 346V86c0-3.3-2.7-6-6-6H54c-3.3 0-6 2.7-6 6v340c0 3.3 2.7 6 6 6h340c3.3 0 6-2.7 6-6z",fill:"#2271B1"})),Xr=React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512"},React.createElement("path",{d:"M464 128H272l-64-64H48C21.49 64 0 85.49 0 112v288c0 26.51 21.49 48 48 48h416c26.51 0 48-21.49 48-48V176c0-26.51-21.49-48-48-48z",fill:"#2271B1"})),Qr=React.createElement("svg",{width:"34px",height:"23px",viewBox:"0 0 34 23",version:"1.1",xmlns:"http://www.w3.org/2000/svg"},React.createElement("g",{stroke:"none",strokeWidth:"1",fill:"none",fillRule:"evenodd"},React.createElement("g",{transform:"translate(0.000000, 0.500054)",fill:"#2271B1",fillRule:"nonzero"},React.createElement("path",{d:"M33.5562287,13.3647791 C34.1031406,12.4272813 33.4269108,11.2499732 32.3415557,11.2499732 L8.90622877,11.2499732 C7.71724768,11.2499732 6.2661403,12.0834444 5.66704353,13.1104347 L1.42346996,20.3851405 C0.876615342,21.3226382 1.55284511,22.4999464 2.63820019,22.4999464 L26.0735272,22.4999464 L26.0735844,22.4999464 C27.2625082,22.4999464 28.7135584,21.6664751 29.312598,20.6394848 L33.5562287,13.3647791 Z M8.90622877,9.37497765 L28.1249329,9.37497765 L28.1249329,6.56248435 C28.1249329,5.00918148 26.8657425,3.74999106 25.3124397,3.74999106 L15.937462,3.74999106 L12.1874709,0 L2.81249329,0 C1.25919042,0 0,1.25919042 0,2.81249329 L0,19.1042063 L4.04747952,12.16567 C5.05158174,10.444311 6.91341659,9.37497765 8.90622877,9.37497765 Z"})))),Jr=React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 448 512"},React.createElement("path",{d:"M416 208H272V64c0-17.67-14.33-32-32-32h-32c-17.67 0-32 14.33-32 32v144H32c-17.67 0-32 14.33-32 32v32c0 17.67 14.33 32 32 32h144v144c0 17.67 14.33 32 32 32h32c17.67 0 32-14.33 32-32V304h144c17.67 0 32-14.33 32-32v-32c0-17.67-14.33-32-32-32z",fill:"#0073aa"})),Kr=React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 448 512"},React.createElement("path",{fill:"#2271B1",d:"M32 464a48 48 0 0 0 48 48h288a48 48 0 0 0 48-48V128H32zm272-256a16 16 0 0 1 32 0v224a16 16 0 0 1-32 0zm-96 0a16 16 0 0 1 32 0v224a16 16 0 0 1-32 0zm-96 0a16 16 0 0 1 32 0v224a16 16 0 0 1-32 0zM432 32H312l-9.4-18.7A24 24 0 0 0 281.1 0H166.8a23.72 23.72 0 0 0-21.4 13.3L136 32H16A16 16 0 0 0 0 48v32a16 16 0 0 0 16 16h416a16 16 0 0 0 16-16V48a16 16 0 0 0-16-16z"})),$r=React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512"},React.createElement("path",{fill:"#2271B1",d:"M224 96l16-32 32-16-32-16-16-32-16 32-32 16 32 16 16 32zM80 160l26.66-53.33L160 80l-53.34-26.67L80 0 53.34 53.33 0 80l53.34 26.67L80 160zm352 128l-26.66 53.33L352 368l53.34 26.67L432 448l26.66-53.33L512 368l-53.34-26.67L432 288zm70.62-193.77L417.77 9.38C411.53 3.12 403.34 0 395.15 0c-8.19 0-16.38 3.12-22.63 9.38L9.38 372.52c-12.5 12.5-12.5 32.76 0 45.25l84.85 84.85c6.25 6.25 14.44 9.37 22.62 9.37 8.19 0 16.38-3.12 22.63-9.37l363.14-363.15c12.5-12.48 12.5-32.75 0-45.24zM359.45 203.46l-50.91-50.91 86.6-86.6 50.91 50.91-86.6 86.6z"}));function en(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}const tn=function(){var e,t,r=(e=(0,o.useState)(!1),t=2,function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,o,a=[],_n=!0,i=!1;try{for(r=r.call(e);!(_n=(n=r.next()).done)&&(a.push(n.value),!t||a.length!==t);_n=!0);}catch(e){i=!0,o=e}finally{try{_n||null==r.return||r.return()}finally{if(i)throw o}}return a}}(e,t)||function(e,t){if(e){if("string"==typeof e)return en(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?en(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.")}()),n=r[0],a=r[1],i=_r(c),d=i.setFolderPanelContext,p=i.setExpandedFolders,m=i.setFolderBeingEditedId,g=i.setOrganizationMode,v=i.setSelectedFolderIds,y=xr((function(e){var t=e(c),r=t.getSelectedFolder,n=t.canAddFolders,o=t.getFolders,a=t.getOrganizationMode,i=t.getSelectedFolderIds;return{folder:r(),folders:o(),canAddFolders:n(),organizationMode:a(),selectedFolderIds:i()}})),b=y.folder,w=y.folders,E=y.canAddFolders,S=y.organizationMode,x=y.selectedFolderIds;return React.createElement("div",{className:"wicked-toolbar-container"},React.createElement("div",{className:"wicked-folder-pane-toolbar"},h==S?React.createElement("div",{className:"wicked-folder-pane-toolbar-bulk-buttons"},React.createElement("button",{type:"button",className:"button action",disabled:!x.length,onClick:function(){return d(s)}},(0,Se.__)("Delete Selected","wicked-folders")),React.createElement("button",{type:"button",className:"button action",onClick:function(){g(f),v([])}},(0,Se.__)("Cancel","wicked-folders"))):React.createElement("div",{className:"wicked-folder-pane-toolbar-buttons"},React.createElement("div",null,React.createElement("button",{type:"button",title:(0,Se.__)("Add New Folder","wicked-folders"),disabled:!E,onClick:function(){return d("add")}},Jr,React.createElement("span",{className:"screen-reader-text"},(0,Se.__)("Add New Folder","wicked-folders")))),React.createElement("div",null,React.createElement("button",{type:"button",title:(0,Se.__)("Edit Folder","wicked-folders"),disabled:!b||!b.editable,onClick:function(){d(l),m(b.id)}},Yr,React.createElement("span",{className:"screen-reader-text"},(0,Se.__)("Edit Folder","wicked-folders")))),React.createElement("div",null,React.createElement("button",{type:"button",title:(0,Se.__)("Delete Folder","wicked-folders"),disabled:!b||!b.deletable,onClick:function(){return d(s)}},Kr,React.createElement("span",{className:"screen-reader-text"},(0,Se.__)("Delete Folder","wicked-folders")))),React.createElement("div",null,React.createElement("button",{type:"button",title:(0,Se.__)(n?"Collapse All":"Expand All","wicked-folders"),onClick:function(){if(n)p(["0"]),a(!1);else{var e=w.map((function(e){return e.id}));p(e),a(!0)}}},n?Wr:Zr,React.createElement("span",{className:"screen-reader-text"},(0,Se.__)(n?"Collapse All":"Expand All","wicked-folders")))),React.createElement("div",null,React.createElement("button",{type:"button",title:(0,Se.__)("Settings","wicked-folders"),onClick:function(){return d(u)}},Hr,React.createElement("span",{className:"screen-reader-text"},(0,Se.__)("Settings","wicked-folders")))))))};var rn=r(703),nn=r.n(rn);const on=window.wp.apiFetch;var an=r.n(on);const cn=window.wp.hooks;window.wp.components;var ln=r(805);function sn(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}var un=lodash.find;const dn=function(e){var t=e.folder,r=Xr,n=(0,o.useContext)(br),i=(0,o.useRef)(),l=(0,a.useDispatch)(c),s=l.addNotification,u=l.moveFolder,d=l.movePostsToFolder,m=l.unassignFolders,g=_r(c),v=g.toggleExpanded,y=g.setSelectedFolderId,b=g.setSelectedFolderIds,w=g.expandFolder,E=(g.setIsFolderDragging,g.setFolderUsingContextMenuId,xr((function(e){return{allFolders:e(c).getFolders(),organizationMode:e(c).getOrganizationMode(),selectedFolder:e(c).getSelectedFolder(),selectedFolderIds:e(c).getSelectedFolderIds(),postIdsToMove:e(c).getPostIdsToMove(),postType:e(c).getPostType(),isExpanded:e(c).isFolderExpanded(t.id),showItemCounts:e(c).showItemCounts(),folderUsingContextMenuId:e(c).getFolderUsingContextMenuId()}}))),S=E.allFolders,x=E.organizationMode,_=E.selectedFolder,k=E.selectedFolderIds,R=E.postIdsToMove,L=E.postType,T=E.isExpanded,D=E.showItemCounts,N=(E.folderUsingContextMenuId,t.id,function(){y(t.id),w(t.id)});return(0,o.useEffect)((function(){var e=jQuery,r=e(i.current);return p!=x&&h!=x||!r.data("ui-droppable")||r.droppable("destroy"),f==x&&r.droppable({hoverClass:"wicked-drop-hover",tolerance:"pointer",accept:function(t){var r=!1,n=e(this).parents("li").eq(0).attr("data-folder-id"),o=un(S,{id:n}),a=t.attr("data-folder-id"),i=un(S,{id:a}),c=_;return(i||R)&&(r=!0),t.hasClass("wicked-folder-leaf")?(n==i.parent&&(r=!1),"unassigned_dynamic_folder"==n&&(r=!1),f!=x&&(r=!1),0!=n&&(o.editable&&i.editable||(r=!1))):(n==c.id&&(r=!1),0==n&&(r=!1),o.assignable||(r=!1)),r},drop:function(r,o){var a=e(this).parents("li").eq(0).attr("data-folder-id"),i=un(S,{id:a}),c=_.id,l=_.assignable,f=r.shiftKey||!l,p="wf_"+L+"_folders",h=(f?(0,Se.__)("Copied","wicked-folders"):(0,Se.__)("Moved","wicked-folders"))+" "+(1==R.length?"item":R.length+" items")+" "+(0,Se.__)("to folder.","wicked-folders");if(R.length>0)if(A(i)&&(a=i.termId),A(_.type)&&(t.termId,function(e){throw new TypeError('"fromFolderId" is read-only')}()),0==a||"unassigned_dynamic_folder"==a){if(!confirm((0,Se.__)("This will unassign the selected item(s) from all folders. Are you sure you want to continue?","wicked-folders")))return!1;F(_)||A(_)?O(R):R.forEach((function(t){e('.wp-list-table [id="post-'+t+'"] td.taxonomy-'+p).html('<span aria-hidden="true">—</span><span class="screen-reader-text">No categories</span>')})),s({message:(0,Se.sprintf)((0,Se._n)("Unassigned %d item","Unassigned %d items",R.length,"wicked-folders"),R.length)}),m(n,R),(0,cn.doAction)("wickedFolders.unassignFolders",R,c)}else"0"!=c||r.shiftKey?"unassigned_dynamic_folder"==c?O(R):f||O(R):O(R),d(n,R,a,c,f),s({message:h}),(0,cn.doAction)("wickedFolders.movePostsToFolder",R,a,c,f);else{var g=e(o.draggable).attr("data-folder-id");u(n,g,a)}}}),function(){r.data("ui-droppable")}}),[S,x]),T&&(r=Qr),"dynamic_root"==t.id&&(r=$r),React.createElement("div",{className:"wicked-folder-wrapper"},React.createElement("button",{className:"wicked-toggle",type:"button",onClick:function(){return v(t.id)}},React.createElement("span",{className:"screen-reader-text"},T?(0,Se.__)("Collapse","wicked-folders"):(0,Se.__)("Expand","wicked-folders")),Gr),React.createElement("div",{className:"wicked-folder",onClick:N,ref:i},h==x?React.createElement("span",{className:"wicked-select"},React.createElement("input",{type:"checkbox","aria-label":(0,ln.decode)(t.name),disabled:!t.deletable,onClick:function(e){return e.stopPropagation()},onChange:function(e){return function(e,t){e.stopPropagation();var r,n=function(e){if(Array.isArray(e))return sn(e)}(r=k)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(r)||function(e,t){if(e){if("string"==typeof e)return sn(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?sn(e,t):void 0}}(r)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}();e.target.checked?n.push(t):n.splice(n.indexOf(t),1),b(n)}(e,t.id)},checked:k.includes(t.id)})):React.createElement("span",{className:"wicked-icon"},r),React.createElement("button",{className:"wicked-folder-name",type:"button",onClick:N},(0,ln.decode)(t.name)),D&&t.showItemCount&&React.createElement("span",{className:"wicked-count"},t.itemCount)))},fn=function(e){var t=e.folder,r=(0,o.useRef)(),n=_r(c).setIsFolderDragging,a=xr((function(e){var r=e(c),n=r.isFolderExpanded,o=r.folderHasChildren,a=r.isFolderSelected,i=r.isSearch,l=r.folderMatchesSearchTerms,s=r.getFolders,u=r.getOrganizationMode;return{isSearch:i(),isExpanded:n(t.id),isSelected:a(t.id),hasChildren:o(t.id),isMatch:l(t.id),allFolders:s(),organizationMode:u()}})),i=a.allFolders,l=a.organizationMode,s=a.isExpanded,u=a.hasChildren,d=a.isSelected,h=a.isSearch,m=a.isMatch,g=nn()("wicked-tree-leaf","wicked-folder-leaf",{"wicked-expanded":s||h},{"has-children":u},{"wicked-selected":d},{"wicked-movable":t.movable},{editable:t.editable},{assignable:t.assignable},{"wicked-no-match":h&&!m});return(0,o.useEffect)((function(){var e=jQuery(r.current);return p==l&&e.data("ui-draggable")&&e.draggable("destroy"),t.movable&&f==l&&(e.draggable({revert:"invalid",helper:"clone",start:function(e,t){n(!0)},stop:function(e,t){n(!1)}}),x()&&e.draggable("option","cursorAt",{top:0,right:40})),function(){e.data("ui-draggable")}}),[i,l]),React.createElement("li",{className:g,"data-folder-id":t.id,ref:r},React.createElement(dn,{folder:t}),s&&React.createElement(vn,{parent:t.id}))};function pn(e){return pn="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},pn(e)}function hn(){hn=function(){return e};var e={},t=Object.prototype,r=t.hasOwnProperty,n="function"==typeof Symbol?Symbol:{},o=n.iterator||"@@iterator",a=n.asyncIterator||"@@asyncIterator",i=n.toStringTag||"@@toStringTag";function c(e,t,r){return Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{c({},"")}catch(e){c=function(e,t,r){return e[t]=r}}function l(e,t,r,n){var o=t&&t.prototype instanceof d?t:d,a=Object.create(o.prototype),i=new x(n||[]);return a._invoke=function(e,t,r){var n="suspendedStart";return function(o,a){if("executing"===n)throw new Error("Generator is already running");if("completed"===n){if("throw"===o)throw a;return{value:void 0,done:!0}}for(r.method=o,r.arg=a;;){var i=r.delegate;if(i){var c=w(i,r);if(c){if(c===u)continue;return c}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if("suspendedStart"===n)throw n="completed",r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);n="executing";var l=s(e,t,r);if("normal"===l.type){if(n=r.done?"completed":"suspendedYield",l.arg===u)continue;return{value:l.arg,done:r.done}}"throw"===l.type&&(n="completed",r.method="throw",r.arg=l.arg)}}}(e,r,i),a}function s(e,t,r){try{return{type:"normal",arg:e.call(t,r)}}catch(e){return{type:"throw",arg:e}}}e.wrap=l;var u={};function d(){}function f(){}function p(){}var h={};c(h,o,(function(){return this}));var m=Object.getPrototypeOf,g=m&&m(m(_([])));g&&g!==t&&r.call(g,o)&&(h=g);var v=p.prototype=d.prototype=Object.create(h);function y(e){["next","throw","return"].forEach((function(t){c(e,t,(function(e){return this._invoke(t,e)}))}))}function b(e,t){function n(o,a,i,c){var l=s(e[o],e,a);if("throw"!==l.type){var u=l.arg,d=u.value;return d&&"object"==pn(d)&&r.call(d,"__await")?t.resolve(d.__await).then((function(e){n("next",e,i,c)}),(function(e){n("throw",e,i,c)})):t.resolve(d).then((function(e){u.value=e,i(u)}),(function(e){return n("throw",e,i,c)}))}c(l.arg)}var o;this._invoke=function(e,r){function a(){return new t((function(t,o){n(e,r,t,o)}))}return o=o?o.then(a,a):a()}}function w(e,t){var r=e.iterator[t.method];if(void 0===r){if(t.delegate=null,"throw"===t.method){if(e.iterator.return&&(t.method="return",t.arg=void 0,w(e,t),"throw"===t.method))return u;t.method="throw",t.arg=new TypeError("The iterator does not provide a 'throw' method")}return u}var n=s(r,e.iterator,t.arg);if("throw"===n.type)return t.method="throw",t.arg=n.arg,t.delegate=null,u;var o=n.arg;return o?o.done?(t[e.resultName]=o.value,t.next=e.nextLoc,"return"!==t.method&&(t.method="next",t.arg=void 0),t.delegate=null,u):o:(t.method="throw",t.arg=new TypeError("iterator result is not an object"),t.delegate=null,u)}function E(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function S(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function x(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(E,this),this.reset(!0)}function _(e){if(e){var t=e[o];if(t)return t.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var n=-1,a=function t(){for(;++n<e.length;)if(r.call(e,n))return t.value=e[n],t.done=!1,t;return t.value=void 0,t.done=!0,t};return a.next=a}}return{next:k}}function k(){return{value:void 0,done:!0}}return f.prototype=p,c(v,"constructor",p),c(p,"constructor",f),f.displayName=c(p,i,"GeneratorFunction"),e.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===f||"GeneratorFunction"===(t.displayName||t.name))},e.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,p):(e.__proto__=p,c(e,i,"GeneratorFunction")),e.prototype=Object.create(v),e},e.awrap=function(e){return{__await:e}},y(b.prototype),c(b.prototype,a,(function(){return this})),e.AsyncIterator=b,e.async=function(t,r,n,o,a){void 0===a&&(a=Promise);var i=new b(l(t,r,n,o),a);return e.isGeneratorFunction(r)?i:i.next().then((function(e){return e.done?e.value:i.next()}))},y(v),c(v,i,"Generator"),c(v,o,(function(){return this})),c(v,"toString",(function(){return"[object Generator]"})),e.keys=function(e){var t=[];for(var r in e)t.push(r);return t.reverse(),function r(){for(;t.length;){var n=t.pop();if(n in e)return r.value=n,r.done=!1,r}return r.done=!0,r}},e.values=_,x.prototype={constructor:x,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEach(S),!e)for(var t in this)"t"===t.charAt(0)&&r.call(this,t)&&!isNaN(+t.slice(1))&&(this[t]=void 0)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var t=this;function n(r,n){return i.type="throw",i.arg=e,t.next=r,n&&(t.method="next",t.arg=void 0),!!n}for(var o=this.tryEntries.length-1;o>=0;--o){var a=this.tryEntries[o],i=a.completion;if("root"===a.tryLoc)return n("end");if(a.tryLoc<=this.prev){var c=r.call(a,"catchLoc"),l=r.call(a,"finallyLoc");if(c&&l){if(this.prev<a.catchLoc)return n(a.catchLoc,!0);if(this.prev<a.finallyLoc)return n(a.finallyLoc)}else if(c){if(this.prev<a.catchLoc)return n(a.catchLoc,!0)}else{if(!l)throw new Error("try statement without catch or finally");if(this.prev<a.finallyLoc)return n(a.finallyLoc)}}}},abrupt:function(e,t){for(var n=this.tryEntries.length-1;n>=0;--n){var o=this.tryEntries[n];if(o.tryLoc<=this.prev&&r.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var a=o;break}}a&&("break"===e||"continue"===e)&&a.tryLoc<=t&&t<=a.finallyLoc&&(a=null);var i=a?a.completion:{};return i.type=e,i.arg=t,a?(this.method="next",this.next=a.finallyLoc,u):this.complete(i)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),u},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.finallyLoc===e)return this.complete(r.completion,r.afterLoc),S(r),u}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.tryLoc===e){var n=r.completion;if("throw"===n.type){var o=n.arg;S(r)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(e,t,r){return this.delegate={iterator:_(e),resultName:t,nextLoc:r},"next"===this.method&&(this.arg=void 0),u}},e}function mn(e,t,r,n,o,a,i){try{var c=e[a](i),l=c.value}catch(e){return void r(e)}c.done?t(l):Promise.resolve(l).then(n,o)}var gn=lodash.debounce;const vn=function(e){var t=e.parent,r=void 0===t?"root":t,n=(0,o.useRef)(null),a=_r(c),i=a.setFolders,l=a.setSortMode,s=xr((function(e){var t=e(c).getSelectedFolderId();return{allFolders:e(c).getFolders(),organizationMode:e(c).getOrganizationMode(),selectedFolder:e(c).getSelectedFolder(),postIdsToMove:e(c).getPostIdsToMove(),postType:e(c).getPostType(),searchTerms:e(c).getSearchTerms(),isFolderDragging:e(c).isFolderDragging(),childFolders:e(c).getChildFolders(t)}})),u=(s.childFolders,s.allFolders),h=s.organizationMode,m=(s.selectedFolder,s.postIdsToMove),v=(s.postType,s.searchTerms,s.isFolderDragging);(0,o.useEffect)((function(){var e=jQuery,t=e(n.current);f==h&&t.data("ui-sortable")&&t.sortable("destroy"),"root"!=r&&p==h&&t.sortable({items:"> li",helper:"clone",stop:function(t,r){var n=r.item.parent().find("> li"),o=[],a=[];n.each((function(t,r){var n=e(r).attr("data-folder-id");o.push(n),a=u.map((function(e){return e.id==n&&(e.order=t),e}))})),e(r.sender).sortable("cancel"),y(o),l(g),i(a)}})}));var y=function(){var e,t=(e=hn().mark((function e(t){return hn().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,an()({path:"".concat(d,"folders/sort"),method:"PUT",data:{folder_ids:t}});case 2:e.sent;case 3:case"end":return e.stop()}}),e)})),function(){var t=this,r=arguments;return new Promise((function(n,o){var a=e.apply(t,r);function i(e){mn(a,n,o,i,c,"next",e)}function c(e){mn(a,n,o,i,c,"throw",e)}i(void 0)}))});return function(_x){return t.apply(this,arguments)}}(),b=((0,o.useCallback)(gn((function(e){return y(e)}),500),[]),xr((function(e){return{folders:e(c).getFoldersFilteredBySearchTerms().filter((function(e){return e.parent==r}))}}))).folders,w=nn()({"wicked-tree":"root"==r},{"highlight-editable":v},{"highlight-assignable":m.length>0});return React.createElement("ul",{className:w,ref:n},b.map((function(e){return React.createElement(fn,{folder:e,key:e.id})})))},yn=function(){return React.createElement("div",{className:"wicked-folder-tree"},React.createElement(vn,{parent:"root"}))};var bn=function e(t){var r=t.folders,n=t.depth,a=void 0===n?0:n,i=t.parent,c=void 0===i?0:i,l=r.filter((function(e){return e.parent==c}));return React.createElement(React.Fragment,null,l.map((function(t){return React.createElement(o.Fragment,{key:t.id},React.createElement("option",{value:t.id},function(e,t){var r=" ",n=0;if(t<1)return"";for(n=0;n<t-1;n++)r+=" ";return r}(0,a),(0,ln.decode)(t.name)),React.createElement(e,{folders:r,parent:t.id,depth:a+1}))})))};const wn=function(e){var t=e.folders,r=e.parent,n=void 0===r?"0":r,o=e.selected,a=void 0!==o&&o,i=e.label,c=void 0!==i&&i,l=e.onChange,s=c||(0,Se.__)("Parent Folder","wicked-folders");return React.createElement(React.Fragment,null,React.createElement("label",{htmlFor:"wicked-folder-select",className:"screen-reader-text"},s,":"),React.createElement("select",{id:"wicked-folder-select",onChange:function(e){return l(e.target.value)},value:a},React.createElement("option",{value:"0"},s),React.createElement(bn,{folders:t,parent:n})))};function En(e){return En="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},En(e)}function Sn(){Sn=function(){return e};var e={},t=Object.prototype,r=t.hasOwnProperty,n="function"==typeof Symbol?Symbol:{},o=n.iterator||"@@iterator",a=n.asyncIterator||"@@asyncIterator",i=n.toStringTag||"@@toStringTag";function c(e,t,r){return Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{c({},"")}catch(e){c=function(e,t,r){return e[t]=r}}function l(e,t,r,n){var o=t&&t.prototype instanceof d?t:d,a=Object.create(o.prototype),i=new x(n||[]);return a._invoke=function(e,t,r){var n="suspendedStart";return function(o,a){if("executing"===n)throw new Error("Generator is already running");if("completed"===n){if("throw"===o)throw a;return{value:void 0,done:!0}}for(r.method=o,r.arg=a;;){var i=r.delegate;if(i){var c=w(i,r);if(c){if(c===u)continue;return c}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if("suspendedStart"===n)throw n="completed",r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);n="executing";var l=s(e,t,r);if("normal"===l.type){if(n=r.done?"completed":"suspendedYield",l.arg===u)continue;return{value:l.arg,done:r.done}}"throw"===l.type&&(n="completed",r.method="throw",r.arg=l.arg)}}}(e,r,i),a}function s(e,t,r){try{return{type:"normal",arg:e.call(t,r)}}catch(e){return{type:"throw",arg:e}}}e.wrap=l;var u={};function d(){}function f(){}function p(){}var h={};c(h,o,(function(){return this}));var m=Object.getPrototypeOf,g=m&&m(m(_([])));g&&g!==t&&r.call(g,o)&&(h=g);var v=p.prototype=d.prototype=Object.create(h);function y(e){["next","throw","return"].forEach((function(t){c(e,t,(function(e){return this._invoke(t,e)}))}))}function b(e,t){function n(o,a,i,c){var l=s(e[o],e,a);if("throw"!==l.type){var u=l.arg,d=u.value;return d&&"object"==En(d)&&r.call(d,"__await")?t.resolve(d.__await).then((function(e){n("next",e,i,c)}),(function(e){n("throw",e,i,c)})):t.resolve(d).then((function(e){u.value=e,i(u)}),(function(e){return n("throw",e,i,c)}))}c(l.arg)}var o;this._invoke=function(e,r){function a(){return new t((function(t,o){n(e,r,t,o)}))}return o=o?o.then(a,a):a()}}function w(e,t){var r=e.iterator[t.method];if(void 0===r){if(t.delegate=null,"throw"===t.method){if(e.iterator.return&&(t.method="return",t.arg=void 0,w(e,t),"throw"===t.method))return u;t.method="throw",t.arg=new TypeError("The iterator does not provide a 'throw' method")}return u}var n=s(r,e.iterator,t.arg);if("throw"===n.type)return t.method="throw",t.arg=n.arg,t.delegate=null,u;var o=n.arg;return o?o.done?(t[e.resultName]=o.value,t.next=e.nextLoc,"return"!==t.method&&(t.method="next",t.arg=void 0),t.delegate=null,u):o:(t.method="throw",t.arg=new TypeError("iterator result is not an object"),t.delegate=null,u)}function E(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function S(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function x(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(E,this),this.reset(!0)}function _(e){if(e){var t=e[o];if(t)return t.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var n=-1,a=function t(){for(;++n<e.length;)if(r.call(e,n))return t.value=e[n],t.done=!1,t;return t.value=void 0,t.done=!0,t};return a.next=a}}return{next:k}}function k(){return{value:void 0,done:!0}}return f.prototype=p,c(v,"constructor",p),c(p,"constructor",f),f.displayName=c(p,i,"GeneratorFunction"),e.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===f||"GeneratorFunction"===(t.displayName||t.name))},e.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,p):(e.__proto__=p,c(e,i,"GeneratorFunction")),e.prototype=Object.create(v),e},e.awrap=function(e){return{__await:e}},y(b.prototype),c(b.prototype,a,(function(){return this})),e.AsyncIterator=b,e.async=function(t,r,n,o,a){void 0===a&&(a=Promise);var i=new b(l(t,r,n,o),a);return e.isGeneratorFunction(r)?i:i.next().then((function(e){return e.done?e.value:i.next()}))},y(v),c(v,i,"Generator"),c(v,o,(function(){return this})),c(v,"toString",(function(){return"[object Generator]"})),e.keys=function(e){var t=[];for(var r in e)t.push(r);return t.reverse(),function r(){for(;t.length;){var n=t.pop();if(n in e)return r.value=n,r.done=!1,r}return r.done=!0,r}},e.values=_,x.prototype={constructor:x,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEach(S),!e)for(var t in this)"t"===t.charAt(0)&&r.call(this,t)&&!isNaN(+t.slice(1))&&(this[t]=void 0)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var t=this;function n(r,n){return i.type="throw",i.arg=e,t.next=r,n&&(t.method="next",t.arg=void 0),!!n}for(var o=this.tryEntries.length-1;o>=0;--o){var a=this.tryEntries[o],i=a.completion;if("root"===a.tryLoc)return n("end");if(a.tryLoc<=this.prev){var c=r.call(a,"catchLoc"),l=r.call(a,"finallyLoc");if(c&&l){if(this.prev<a.catchLoc)return n(a.catchLoc,!0);if(this.prev<a.finallyLoc)return n(a.finallyLoc)}else if(c){if(this.prev<a.catchLoc)return n(a.catchLoc,!0)}else{if(!l)throw new Error("try statement without catch or finally");if(this.prev<a.finallyLoc)return n(a.finallyLoc)}}}},abrupt:function(e,t){for(var n=this.tryEntries.length-1;n>=0;--n){var o=this.tryEntries[n];if(o.tryLoc<=this.prev&&r.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var a=o;break}}a&&("break"===e||"continue"===e)&&a.tryLoc<=t&&t<=a.finallyLoc&&(a=null);var i=a?a.completion:{};return i.type=e,i.arg=t,a?(this.method="next",this.next=a.finallyLoc,u):this.complete(i)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),u},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.finallyLoc===e)return this.complete(r.completion,r.afterLoc),S(r),u}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.tryLoc===e){var n=r.completion;if("throw"===n.type){var o=n.arg;S(r)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(e,t,r){return this.delegate={iterator:_(e),resultName:t,nextLoc:r},"next"===this.method&&(this.arg=void 0),u}},e}function xn(e,t,r,n,o,a,i){try{var c=e[a](i),l=c.value}catch(e){return void r(e)}c.done?t(l):Promise.resolve(l).then(n,o)}function kn(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,o,a=[],_n=!0,i=!1;try{for(r=r.call(e);!(_n=(n=r.next()).done)&&(a.push(n.value),!t||a.length!==t);_n=!0);}catch(e){i=!0,o=e}finally{try{_n||null==r.return||r.return()}finally{if(i)throw o}}return a}}(e,t)||Rn(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 Rn(e,t){if(e){if("string"==typeof e)return Ln(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?Ln(e,t):void 0}}function Ln(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}const Tn=function(){var e=(0,o.useRef)(),t=kn((0,o.useState)(""),2),r=t[0],n=t[1],i=(0,a.useDispatch)(c).addNotification,l=_r(c),s=l.setFolderPanelContext,u=(l.setFolderPanelMessage,l.setFolderPanelError),f=l.setIsFolderPanelBusy,p=l.setFolders,h=xr((function(e){var t=e(c),r=t.getFolders,n=t.getPostType,o=t.isFolderPanelBusy,a=t.getFolderPanelError,i=t.getUserId,l=t.getSelectedFolderId,s=t.getSelectedFolder;return{folders:r(),postType:n(),isBusy:o(),error:a(),userId:i(),folderId:l(),folder:s()}})),m=h.folders,g=h.postType,v=h.isBusy,y=h.error,b=h.userId,w=h.folderId,E=h.folder,S=kn((0,o.useState)(F(E)&&E.editable?w:"0"),2),x=S[0],_=S[1],k=m?m.filter((function(e){return F(e)&&e.editable})):[];(0,o.useEffect)((function(){e.current.focus()}),[]);var R=function(){var t,o=(t=Sn().mark((function t(){var o;return Sn().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return f(!0),u(!1),t.prev=2,t.next=5,an()({path:"".concat(d,"folders"),method:"POST",data:{name:r,parent:x,postType:g,ownerId:b}});case 5:o=t.sent,n(""),p([].concat(function(e){if(Array.isArray(e))return Ln(e)}(a=m)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(a)||Rn(a)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}(),[o])),f(!1),i({message:(0,Se.__)("Successfully added new folder.","wicked-folders")}),e.current.focus(),t.next=17;break;case 13:t.prev=13,t.t0=t.catch(2),u(t.t0.message),f(!1);case 17:case"end":return t.stop()}var a}),t,null,[[2,13]])})),function(){var e=this,r=arguments;return new Promise((function(n,o){var a=t.apply(e,r);function i(e){xn(a,n,o,i,c,"next",e)}function c(e){xn(a,n,o,i,c,"throw",e)}i(void 0)}))});return function(){return o.apply(this,arguments)}}(),L=function(){s(!1)};return React.createElement(React.Fragment,null,React.createElement("div",{className:"wicked-header"},React.createElement("h2",null,(0,Se.__)("Add New Folder","wicked-folders")),React.createElement("button",{type:"button",className:"wicked-close",onClick:L},React.createElement("span",{className:"screen-reader-text"},(0,Se.__)("Close","wicked-folders")),React.createElement("span",{className:"dashicons dashicons-no"}))),React.createElement("div",null,y&&React.createElement("div",{className:"wicked-messages wicked-errors"},y),React.createElement("div",{className:"wicked-folder-name"},React.createElement("label",{htmlFor:"wicked-folder-name",className:"screen-reader-text"},(0,Se.__)("Folder name","wicked-folders"),":"),React.createElement("input",{ref:e,id:"wicked-folder-name",type:"text",name:"wicked_folder_name",placeholder:(0,Se.__)("Folder name","wicked-folders"),value:r,onChange:function(e){return n(e.target.value)},onKeyUp:function(e){27==e.which&&L()},onKeyDown:function(e){13==e.which&&r.length>0&&R()}})),React.createElement("div",{className:"wicked-folder-parent"},React.createElement(wn,{folders:k,onChange:function(e){return _(e)},selected:x}))),React.createElement("div",{className:"wicked-footer"},React.createElement("button",{className:"button wicked-cancel",onClick:L,disabled:v},(0,Se.__)("Cancel","wicked-folders")),React.createElement("button",{className:"button-primary wicked-save",type:"submit",disabled:r.length<1||v,onClick:R},(0,Se.__)("Save","wicked-folders"))))};function On(e){return On="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},On(e)}function Fn(){Fn=function(){return e};var e={},t=Object.prototype,r=t.hasOwnProperty,n="function"==typeof Symbol?Symbol:{},o=n.iterator||"@@iterator",a=n.asyncIterator||"@@asyncIterator",i=n.toStringTag||"@@toStringTag";function c(e,t,r){return Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{c({},"")}catch(e){c=function(e,t,r){return e[t]=r}}function l(e,t,r,n){var o=t&&t.prototype instanceof d?t:d,a=Object.create(o.prototype),i=new x(n||[]);return a._invoke=function(e,t,r){var n="suspendedStart";return function(o,a){if("executing"===n)throw new Error("Generator is already running");if("completed"===n){if("throw"===o)throw a;return{value:void 0,done:!0}}for(r.method=o,r.arg=a;;){var i=r.delegate;if(i){var c=w(i,r);if(c){if(c===u)continue;return c}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if("suspendedStart"===n)throw n="completed",r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);n="executing";var l=s(e,t,r);if("normal"===l.type){if(n=r.done?"completed":"suspendedYield",l.arg===u)continue;return{value:l.arg,done:r.done}}"throw"===l.type&&(n="completed",r.method="throw",r.arg=l.arg)}}}(e,r,i),a}function s(e,t,r){try{return{type:"normal",arg:e.call(t,r)}}catch(e){return{type:"throw",arg:e}}}e.wrap=l;var u={};function d(){}function f(){}function p(){}var h={};c(h,o,(function(){return this}));var m=Object.getPrototypeOf,g=m&&m(m(_([])));g&&g!==t&&r.call(g,o)&&(h=g);var v=p.prototype=d.prototype=Object.create(h);function y(e){["next","throw","return"].forEach((function(t){c(e,t,(function(e){return this._invoke(t,e)}))}))}function b(e,t){function n(o,a,i,c){var l=s(e[o],e,a);if("throw"!==l.type){var u=l.arg,d=u.value;return d&&"object"==On(d)&&r.call(d,"__await")?t.resolve(d.__await).then((function(e){n("next",e,i,c)}),(function(e){n("throw",e,i,c)})):t.resolve(d).then((function(e){u.value=e,i(u)}),(function(e){return n("throw",e,i,c)}))}c(l.arg)}var o;this._invoke=function(e,r){function a(){return new t((function(t,o){n(e,r,t,o)}))}return o=o?o.then(a,a):a()}}function w(e,t){var r=e.iterator[t.method];if(void 0===r){if(t.delegate=null,"throw"===t.method){if(e.iterator.return&&(t.method="return",t.arg=void 0,w(e,t),"throw"===t.method))return u;t.method="throw",t.arg=new TypeError("The iterator does not provide a 'throw' method")}return u}var n=s(r,e.iterator,t.arg);if("throw"===n.type)return t.method="throw",t.arg=n.arg,t.delegate=null,u;var o=n.arg;return o?o.done?(t[e.resultName]=o.value,t.next=e.nextLoc,"return"!==t.method&&(t.method="next",t.arg=void 0),t.delegate=null,u):o:(t.method="throw",t.arg=new TypeError("iterator result is not an object"),t.delegate=null,u)}function E(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function S(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function x(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(E,this),this.reset(!0)}function _(e){if(e){var t=e[o];if(t)return t.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var n=-1,a=function t(){for(;++n<e.length;)if(r.call(e,n))return t.value=e[n],t.done=!1,t;return t.value=void 0,t.done=!0,t};return a.next=a}}return{next:k}}function k(){return{value:void 0,done:!0}}return f.prototype=p,c(v,"constructor",p),c(p,"constructor",f),f.displayName=c(p,i,"GeneratorFunction"),e.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===f||"GeneratorFunction"===(t.displayName||t.name))},e.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,p):(e.__proto__=p,c(e,i,"GeneratorFunction")),e.prototype=Object.create(v),e},e.awrap=function(e){return{__await:e}},y(b.prototype),c(b.prototype,a,(function(){return this})),e.AsyncIterator=b,e.async=function(t,r,n,o,a){void 0===a&&(a=Promise);var i=new b(l(t,r,n,o),a);return e.isGeneratorFunction(r)?i:i.next().then((function(e){return e.done?e.value:i.next()}))},y(v),c(v,i,"Generator"),c(v,o,(function(){return this})),c(v,"toString",(function(){return"[object Generator]"})),e.keys=function(e){var t=[];for(var r in e)t.push(r);return t.reverse(),function r(){for(;t.length;){var n=t.pop();if(n in e)return r.value=n,r.done=!1,r}return r.done=!0,r}},e.values=_,x.prototype={constructor:x,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEach(S),!e)for(var t in this)"t"===t.charAt(0)&&r.call(this,t)&&!isNaN(+t.slice(1))&&(this[t]=void 0)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var t=this;function n(r,n){return i.type="throw",i.arg=e,t.next=r,n&&(t.method="next",t.arg=void 0),!!n}for(var o=this.tryEntries.length-1;o>=0;--o){var a=this.tryEntries[o],i=a.completion;if("root"===a.tryLoc)return n("end");if(a.tryLoc<=this.prev){var c=r.call(a,"catchLoc"),l=r.call(a,"finallyLoc");if(c&&l){if(this.prev<a.catchLoc)return n(a.catchLoc,!0);if(this.prev<a.finallyLoc)return n(a.finallyLoc)}else if(c){if(this.prev<a.catchLoc)return n(a.catchLoc,!0)}else{if(!l)throw new Error("try statement without catch or finally");if(this.prev<a.finallyLoc)return n(a.finallyLoc)}}}},abrupt:function(e,t){for(var n=this.tryEntries.length-1;n>=0;--n){var o=this.tryEntries[n];if(o.tryLoc<=this.prev&&r.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var a=o;break}}a&&("break"===e||"continue"===e)&&a.tryLoc<=t&&t<=a.finallyLoc&&(a=null);var i=a?a.completion:{};return i.type=e,i.arg=t,a?(this.method="next",this.next=a.finallyLoc,u):this.complete(i)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),u},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.finallyLoc===e)return this.complete(r.completion,r.afterLoc),S(r),u}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.tryLoc===e){var n=r.completion;if("throw"===n.type){var o=n.arg;S(r)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(e,t,r){return this.delegate={iterator:_(e),resultName:t,nextLoc:r},"next"===this.method&&(this.arg=void 0),u}},e}function An(e,t,r,n,o,a,i){try{var c=e[a](i),l=c.value}catch(e){return void r(e)}c.done?t(l):Promise.resolve(l).then(n,o)}function Dn(e){return function(){var t=this,r=arguments;return new Promise((function(n,o){var a=e.apply(t,r);function i(e){An(a,n,o,i,c,"next",e)}function c(e){An(a,n,o,i,c,"throw",e)}i(void 0)}))}}function Nn(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function In(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?Nn(Object(r),!0).forEach((function(t){qn(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Nn(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function qn(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Cn(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,o,a=[],_n=!0,i=!1;try{for(r=r.call(e);!(_n=(n=r.next()).done)&&(a.push(n.value),!t||a.length!==t);_n=!0);}catch(e){i=!0,o=e}finally{try{_n||null==r.return||r.return()}finally{if(i)throw o}}return a}}(e,t)||Pn(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 Pn(e,t){if(e){if("string"==typeof e)return jn(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?jn(e,t):void 0}}function jn(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}var Un=lodash.get;const Bn=function(){var e=(0,o.useContext)(br),t=(0,o.useRef)(),r=(0,o.useRef)(),n=_r(c),i=n.setFolderPanelContext,l=(n.setFolderPanelMessage,n.setFolderPanelError),s=n.setIsFolderPanelBusy,u=n.setFolders,f=(0,a.useDispatch)(c),p=f.addNotification,h=f.fetchFolders,m=xr((function(e){var t=e(c),r=t.getFolders,n=t.getPostType,o=t.isFolderPanelBusy,a=t.getFolderPanelError,i=t.getUserId,l=t.getFolderBeingEdited;return{folders:r(),postType:n(),isBusy:o(),error:a(),userId:i(),folderBeingEdited:l()}})),g=m.folders,v=m.postType,y=m.error,b=m.folderBeingEdited,w=m.isBusy,E=Cn((0,o.useState)(b),2),S=E[0],x=E[1],_=Cn((0,o.useState)(!1),2),k=_[0],R=_[1],L=g?g.filter((function(e){return F(e)&&e.id!=S.id&&S.editable})):[];(0,o.useEffect)((function(){t.current.focus()}),[]),(0,o.useEffect)((function(){x(b)}),[b]),(0,o.useEffect)((function(){var e=jQuery,t=1,n="";return e(r.current).select2({width:"100%",ajax:{url:wickedFoldersSettings.restURL+"wp/v2/users",dataType:"json",cache:!0,data:function(e){return n!=e.term&&(n=e.term,t=1),{per_page:25,search:e.term,page:t,wf_include_users_without_posts:!0}},transport:function(r,n,o){var a=e.ajax(r);a.then((function(r,n,o){var a=!1;return(parseInt(o.getResponseHeader("X-WP-Total"))||0)>25*t&&(t++,a=!0),{results:e.map(r,(function(e){return{id:e.id,text:e.name}})),pagination:{more:a}}})).then(n),a.fail(o)}}}),e(r.current).on("select2:selecting",(function(e){var t=Un(e,"params.args.data.id",!1),r=Un(e,"params.args.data.text",!1);t&&x(In(In({},S),{},{ownerId:t,ownerName:r}))})),function(){e(r.current).off("select2:selecting"),e(r.current).select2("close"),e(r.current).select2("destroy")}}));var T=function(){var e=Dn(Fn().mark((function e(){var r,n;return Fn().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return s(!0),l(!1),e.prev=2,e.next=5,an()({path:"".concat(d,"folders/").concat(S.id),method:"PUT",data:S});case 5:r=e.sent,n=g.map((function(e){return e.id==S.id?r:e})),u(function(e){if(Array.isArray(e))return jn(e)}(o=n)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(o)||Pn(o)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()),s(!1),p({message:(0,Se.__)("Successfully saved folder.","wicked-folders")}),t.current.focus(),e.next=17;break;case 13:e.prev=13,e.t0=e.catch(2),l(e.t0.message),s(!1);case 17:case"end":return e.stop()}var o}),e,null,[[2,13]])})));return function(){return e.apply(this,arguments)}}(),O=function(){var t=Dn(Fn().mark((function t(){return Fn().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return s(!0),l(!1),t.prev=2,t.next=5,an()({path:"".concat(d,"folders/").concat(S.id,"?post_type=").concat(v,"&clone_children=").concat(k),method:"POST"});case 5:t.sent,h(e),s(!1),p({message:(0,Se.__)("Successfully cloned folder.","wicked-folders")}),t.next=15;break;case 11:t.prev=11,t.t0=t.catch(2),l(t.t0.message),s(!1);case 15:case"end":return t.stop()}}),t,null,[[2,11]])})));return function(){return t.apply(this,arguments)}}(),A=function(){i(!1)};return React.createElement(React.Fragment,null,React.createElement("div",{className:"wicked-header"},React.createElement("h2",null,(0,Se.__)("Edit Folder","wicked-folders")),React.createElement("button",{type:"button",className:"wicked-close",onClick:A},React.createElement("span",{className:"screen-reader-text"},(0,Se.__)("Close","wicked-folders")),React.createElement("span",{className:"dashicons dashicons-no"}))),React.createElement("div",null,y&&React.createElement("div",{className:"wicked-messages wicked-errors"},y),React.createElement("div",{className:"wicked-folder-name"},React.createElement("label",{htmlFor:"wicked-folder-name",className:"screen-reader-text"},(0,Se.__)("Folder name","wicked-folders"),":"),React.createElement("input",{ref:t,id:"wicked-folder-name",type:"text",name:"wicked_folder_name",placeholder:(0,Se.__)("Folder name","wicked-folders"),value:(0,ln.decode)(S.name),onChange:function(e){return x(In(In({},S),{},{name:e.target.value}))},onKeyUp:function(e){27==e.which&&A()},onKeyDown:function(e){13==e.which&&S.name.length>0&&T()}})),React.createElement("div",{className:"wicked-folder-parent"},React.createElement(wn,{folders:L,onChange:function(e){return x(In(In({},S),{},{parent:e}))},selected:S.parent})),React.createElement("fieldset",null,React.createElement("legend",null,(0,Se.__)("Clone Folder","wicked-folders"),":",React.createElement("span",{className:"dashicons dashicons-editor-help",title:(0,Se.__)("Creates a copy of the currently selected folder containing the same items.","wicked-folders")})),React.createElement("p",null,React.createElement("label",null,React.createElement("input",{type:"checkbox",name:"wicked_clone_children",checked:k,onChange:function(){return R(!k)}}),(0,Se.__)("Clone child folders also","wicked-folders")),React.createElement("span",{className:"dashicons dashicons-editor-help",title:(0,Se.__)("If checked, descendant folders of the currently selected folder will also be cloned. Otherwise, only the currently selected folder will be cloned.")})),React.createElement("p",null,React.createElement("button",{className:"button wicked-clone-folder",type:"button",onClick:O},(0,Se.__)("Clone Folder","wicked-folders")))),React.createElement("p",{className:"wicked-folder-owner"},React.createElement("label",{htmlFor:"wicked-folder-owner-id"},(0,Se.__)("Owner","wicked-folders"),":"),React.createElement("select",{id:"wicked-folder-owner-id",name:"wicked_folder_owner_id",ref:r},S&&S.ownerId&&React.createElement("option",{value:S.ownerId,selected:"selected"},S.ownerName)))),React.createElement("div",{className:"wicked-footer"},React.createElement("button",{className:"button wicked-cancel",onClick:A},(0,Se.__)("Cancel","wicked-folders")),React.createElement("button",{className:"button-primary wicked-save",type:"submit",onClick:T,disabled:S.name.length<1||w},(0,Se.__)("Save","wicked-folders"))))};function Mn(e){return Mn="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},Mn(e)}function Gn(){Gn=function(){return e};var e={},t=Object.prototype,r=t.hasOwnProperty,n="function"==typeof Symbol?Symbol:{},o=n.iterator||"@@iterator",a=n.asyncIterator||"@@asyncIterator",i=n.toStringTag||"@@toStringTag";function c(e,t,r){return Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{c({},"")}catch(e){c=function(e,t,r){return e[t]=r}}function l(e,t,r,n){var o=t&&t.prototype instanceof d?t:d,a=Object.create(o.prototype),i=new x(n||[]);return a._invoke=function(e,t,r){var n="suspendedStart";return function(o,a){if("executing"===n)throw new Error("Generator is already running");if("completed"===n){if("throw"===o)throw a;return{value:void 0,done:!0}}for(r.method=o,r.arg=a;;){var i=r.delegate;if(i){var c=w(i,r);if(c){if(c===u)continue;return c}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if("suspendedStart"===n)throw n="completed",r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);n="executing";var l=s(e,t,r);if("normal"===l.type){if(n=r.done?"completed":"suspendedYield",l.arg===u)continue;return{value:l.arg,done:r.done}}"throw"===l.type&&(n="completed",r.method="throw",r.arg=l.arg)}}}(e,r,i),a}function s(e,t,r){try{return{type:"normal",arg:e.call(t,r)}}catch(e){return{type:"throw",arg:e}}}e.wrap=l;var u={};function d(){}function f(){}function p(){}var h={};c(h,o,(function(){return this}));var m=Object.getPrototypeOf,g=m&&m(m(_([])));g&&g!==t&&r.call(g,o)&&(h=g);var v=p.prototype=d.prototype=Object.create(h);function y(e){["next","throw","return"].forEach((function(t){c(e,t,(function(e){return this._invoke(t,e)}))}))}function b(e,t){function n(o,a,i,c){var l=s(e[o],e,a);if("throw"!==l.type){var u=l.arg,d=u.value;return d&&"object"==Mn(d)&&r.call(d,"__await")?t.resolve(d.__await).then((function(e){n("next",e,i,c)}),(function(e){n("throw",e,i,c)})):t.resolve(d).then((function(e){u.value=e,i(u)}),(function(e){return n("throw",e,i,c)}))}c(l.arg)}var o;this._invoke=function(e,r){function a(){return new t((function(t,o){n(e,r,t,o)}))}return o=o?o.then(a,a):a()}}function w(e,t){var r=e.iterator[t.method];if(void 0===r){if(t.delegate=null,"throw"===t.method){if(e.iterator.return&&(t.method="return",t.arg=void 0,w(e,t),"throw"===t.method))return u;t.method="throw",t.arg=new TypeError("The iterator does not provide a 'throw' method")}return u}var n=s(r,e.iterator,t.arg);if("throw"===n.type)return t.method="throw",t.arg=n.arg,t.delegate=null,u;var o=n.arg;return o?o.done?(t[e.resultName]=o.value,t.next=e.nextLoc,"return"!==t.method&&(t.method="next",t.arg=void 0),t.delegate=null,u):o:(t.method="throw",t.arg=new TypeError("iterator result is not an object"),t.delegate=null,u)}function E(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function S(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function x(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(E,this),this.reset(!0)}function _(e){if(e){var t=e[o];if(t)return t.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var n=-1,a=function t(){for(;++n<e.length;)if(r.call(e,n))return t.value=e[n],t.done=!1,t;return t.value=void 0,t.done=!0,t};return a.next=a}}return{next:k}}function k(){return{value:void 0,done:!0}}return f.prototype=p,c(v,"constructor",p),c(p,"constructor",f),f.displayName=c(p,i,"GeneratorFunction"),e.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===f||"GeneratorFunction"===(t.displayName||t.name))},e.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,p):(e.__proto__=p,c(e,i,"GeneratorFunction")),e.prototype=Object.create(v),e},e.awrap=function(e){return{__await:e}},y(b.prototype),c(b.prototype,a,(function(){return this})),e.AsyncIterator=b,e.async=function(t,r,n,o,a){void 0===a&&(a=Promise);var i=new b(l(t,r,n,o),a);return e.isGeneratorFunction(r)?i:i.next().then((function(e){return e.done?e.value:i.next()}))},y(v),c(v,i,"Generator"),c(v,o,(function(){return this})),c(v,"toString",(function(){return"[object Generator]"})),e.keys=function(e){var t=[];for(var r in e)t.push(r);return t.reverse(),function r(){for(;t.length;){var n=t.pop();if(n in e)return r.value=n,r.done=!1,r}return r.done=!0,r}},e.values=_,x.prototype={constructor:x,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEach(S),!e)for(var t in this)"t"===t.charAt(0)&&r.call(this,t)&&!isNaN(+t.slice(1))&&(this[t]=void 0)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var t=this;function n(r,n){return i.type="throw",i.arg=e,t.next=r,n&&(t.method="next",t.arg=void 0),!!n}for(var o=this.tryEntries.length-1;o>=0;--o){var a=this.tryEntries[o],i=a.completion;if("root"===a.tryLoc)return n("end");if(a.tryLoc<=this.prev){var c=r.call(a,"catchLoc"),l=r.call(a,"finallyLoc");if(c&&l){if(this.prev<a.catchLoc)return n(a.catchLoc,!0);if(this.prev<a.finallyLoc)return n(a.finallyLoc)}else if(c){if(this.prev<a.catchLoc)return n(a.catchLoc,!0)}else{if(!l)throw new Error("try statement without catch or finally");if(this.prev<a.finallyLoc)return n(a.finallyLoc)}}}},abrupt:function(e,t){for(var n=this.tryEntries.length-1;n>=0;--n){var o=this.tryEntries[n];if(o.tryLoc<=this.prev&&r.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var a=o;break}}a&&("break"===e||"continue"===e)&&a.tryLoc<=t&&t<=a.finallyLoc&&(a=null);var i=a?a.completion:{};return i.type=e,i.arg=t,a?(this.method="next",this.next=a.finallyLoc,u):this.complete(i)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),u},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.finallyLoc===e)return this.complete(r.completion,r.afterLoc),S(r),u}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.tryLoc===e){var n=r.completion;if("throw"===n.type){var o=n.arg;S(r)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(e,t,r){return this.delegate={iterator:_(e),resultName:t,nextLoc:r},"next"===this.method&&(this.arg=void 0),u}},e}function Vn(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function zn(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function Hn(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?zn(Object(r),!0).forEach((function(t){Wn(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):zn(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function Wn(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Yn(e,t,r,n,o,a,i){try{var c=e[a](i),l=c.value}catch(e){return void r(e)}c.done?t(l):Promise.resolve(l).then(n,o)}const Zn=function(){var e=(0,a.useDispatch)(c).addNotification,t=_r(c),r=t.setFolderPanelContext,n=(t.setFolderPanelMessage,t.setFolderPanelError),o=t.setIsFolderPanelBusy,i=t.setFolders,l=t.setSelectedFolderId,s=t.setSelectedFolderIds,u=xr((function(e){var t=e(c),r=t.getFolders,n=t.getPostType,o=t.isFolderPanelBusy,a=t.getFolderPanelError,i=t.getSelectedFolderId,l=t.getSelectedFolder,s=t.getSelectedFolderIds;return{folders:r(),postType:n(),isBusy:o(),error:a(),folderId:i(),selectedFolder:l(),selectedFolerIds:s()}})),f=u.folders,p=u.postType,h=u.isBusy,m=u.error,g=u.folderId,v=u.selectedFolder,y=u.selectedFolerIds,b=function(){var t,r=(t=Gn().mark((function t(){var r,a;return Gn().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(o(!0),n(!1),t.prev=2,!(y.length>0)){t.next=15;break}return t.next=6,an()({path:"".concat(d,"folders"),method:"DELETE",data:{post_type:p,folder_ids:y}});case 6:r=t.sent,y.includes(g)&&l("0"),o(!1),s([]),i(r),w(),e({message:(0,Se.__)("Successfully deleted folders.","wicked-folders")}),t.next=23;break;case 15:return t.next=17,an()({path:"".concat(d,"folders/").concat(g),method:"DELETE",data:Hn({},v)});case 17:a=f.map((function(e){return e.parent==g&&(e.parent=v.parent),e})),l(v.parent),o(!1),i(function(e){if(Array.isArray(e))return Vn(e)}(c=a.filter((function(e){return e.id!=g})))||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(c)||function(e,t){if(e){if("string"==typeof e)return Vn(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?Vn(e,t):void 0}}(c)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()),w(),e({message:(0,Se.__)("Successfully deleted folder.","wicked-folders")});case 23:t.next=29;break;case 25:t.prev=25,t.t0=t.catch(2),n(t.t0.message),o(!1);case 29:case"end":return t.stop()}var c}),t,null,[[2,25]])})),function(){var e=this,r=arguments;return new Promise((function(n,o){var a=t.apply(e,r);function i(e){Yn(a,n,o,i,c,"next",e)}function c(e){Yn(a,n,o,i,c,"throw",e)}i(void 0)}))});return function(){return r.apply(this,arguments)}}(),w=function(){r(!1)};return React.createElement(React.Fragment,null,React.createElement("div",{className:"wicked-header"},React.createElement("h2",null,(0,Se.__)(y.length>0?"Delete Folders":"Delete Folder","wicked-folders")),React.createElement("button",{type:"button",className:"wicked-close",onClick:w},React.createElement("span",{className:"screen-reader-text"},(0,Se.__)("Close","wicked-folders")),React.createElement("span",{className:"dashicons dashicons-no"}))),React.createElement("div",null,m&&React.createElement("div",{className:"wicked-messages wicked-errors"},m),React.createElement("p",null,y.length>0?(0,Se.__)("Are you sure you want to delete the selected folders? Items in the folders will not be deleted.","wicked-folders"):(0,Se.__)("Are you sure you want to delete the selected folder? Sub folders will be assigned to the folder's parent. Items in the folder will not be deleted.","wicked-folders"))),React.createElement("div",{className:"wicked-footer"},React.createElement("button",{className:"button wicked-cancel",onClick:w,disabled:h},(0,Se.__)("Cancel","wicked-folders")),React.createElement("button",{className:"button-primary wicked-save",type:"submit",onClick:b},(0,Se.__)("Delete","wicked-folders"))))},Xn=function(){var e=(0,o.useContext)(br),t=(0,a.useDispatch)(c).fetchFolders,r=_r(c),n=r.setFolderPanelContext,i=r.setOrganizationMode,l=r.setSortMode,s=xr((function(e){var t=e(c),r=t.getOrganizationMode,n=t.getSortMode,o=t.isFolderPanelBusy;return{organizationMode:r(),sortMode:n(),isFolderPanelBusy:o()}})),u=s.organizationMode,d=s.sortMode,v=function(r){l(r),t(e)};return React.createElement(React.Fragment,null,React.createElement("div",{className:"wicked-header"},React.createElement("h2",null,(0,Se.__)("Settings","wicked-folders")),React.createElement("button",{type:"button",className:"wicked-close",onClick:function(){n(!1)}},React.createElement("span",{className:"screen-reader-text"},(0,Se.__)("Close","wicked-folders")),React.createElement("span",{className:"dashicons dashicons-no"}))),React.createElement("div",null,React.createElement("div",{className:"wicked-field"},React.createElement("div",{className:"wicked-field-label"},(0,Se.__)("Organization mode:","wicked-folders")," ",React.createElement("span",{className:"dashicons dashicons-editor-help",title:(0,Se.__)("Controls what happens when you drag and drop folders. Use 'Normal' to arrange your folder hierarchy by dragging and dropping folders into other folders. Use 'Sort' to change the order of the folders.","wicked-folders")})),React.createElement("div",{className:"wicked-field-options"},React.createElement("div",null,React.createElement("input",{type:"radio",id:"wicked-organization-mode-organize",name:"wicked_organization_mode",checked:f==u,onChange:function(){return i(f)}})," ",React.createElement("label",{htmlFor:"wicked-organization-mode-organize"},(0,Se.__)("Normal","wicked-folders"))),React.createElement("div",null,React.createElement("input",{type:"radio",id:"wicked-organization-mode-sort",name:"wicked_organization_mode",checked:p==u,onChange:function(){return i(p)}})," ",React.createElement("label",{htmlFor:"wicked-organization-mode-sort"},(0,Se.__)("Sort","wicked-folders"))),React.createElement("div",null,React.createElement("input",{type:"radio",id:"wicked-organization-mode-bulk-select",name:"wicked_organization_mode",checked:h==u,onChange:function(){i(h),n(!1)}})," ",React.createElement("label",{htmlFor:"wicked-organization-mode-bulk-select"},(0,Se.__)("Bulk select","wicked-folders"))))),React.createElement("div",{className:"wicked-field"},React.createElement("div",{className:"wicked-field-label"},(0,Se.__)("Folder sort order:","wicked-folders")," ",React.createElement("span",{className:"dashicons dashicons-editor-help",title:(0,Se.__)("Controls how your folders are sorted. Select 'Custom' to display the folders in the specific order you specify.","wicked-folders")})),React.createElement("div",{className:"wicked-field-options"},React.createElement("div",null,React.createElement("input",{type:"radio",id:"wicked-sort-mode-organize",name:"wicked_sort_mode",value:m,checked:m==d,onChange:function(){return v(m)}})," ",React.createElement("label",{htmlFor:"wicked-sort-mode-organize"},(0,Se.__)("Alphabetical","wicked-folders"))),React.createElement("div",null,React.createElement("input",{type:"radio",id:"wicked-sort-mode-sort",name:"wicked_sort_mode",value:g,checked:g==d,onChange:function(){return v(g)}})," ",React.createElement("label",{htmlFor:"wicked-sort-mode-sort"},(0,Se.__)("Custom","wicked-folders")))))))},Qn=function(){var e=Tn,t=xr((function(e){var t=e(c),r=t.getFolderPanelContext,n=t.isFolderPanelBusy;return{context:r(),isBusy:n()}})),r=t.context,n=t.isBusy,o=nn()("wicked-folder-pane-panel","wicked-folder-details",{"wicked-busy":n});return r?(l==r&&(e=Bn),s==r&&(e=Zn),u==r&&(e=Xn),React.createElement("div",{className:"wicked-folder-details-container"},React.createElement("div",{className:o},React.createElement(e,null)))):null},Jn=function(){var e=(0,o.useRef)(null),t=xr((function(e){return{navigationError:e(c).getNavigationError()}})).navigationError;return(0,o.useEffect)((function(){$=jQuery,t&&$("#wpbody").html("").html($(e.current).html())})),t?React.createElement("div",{className:"wicked-folder-navigation-error",ref:e},React.createElement("div",{id:"wicked-folder-navigation-error"},React.createElement("div",null,React.createElement("span",{className:"dashicons dashicons-warning"}),React.createElement("h1",null,(0,Se.__)("Something went wrong","wicked-folders")),React.createElement("p",null,(0,Se.__)("An error occurred while attempting to navigate to the folder. Please refresh the page.","wicked-folders")),React.createElement("p",null,(0,Se.__)("If you continue to have trouble, disable the 'Don't reload page when navigating folders' option on the Wicked Folders settings page.","wicked-folders")),React.createElement("p",{className:"code wicked-error-text"},t)))):null};var Kn=function(e){var t=e.id,r=e.title,n=e.message,o=e.dismissible,i=void 0!==o&&o,l=e.dismissed,s=void 0!==l&&l,u=(0,a.useDispatch)(c).dismissNotification,d=nn()("wicked-folders-notification",{dismissed:s});return React.createElement("div",{className:d},React.createElement("div",{className:"icon"},zr),React.createElement("div",{className:"wicked-notification-message"},React.createElement("div",{className:"wicked-notification-title"},r),n),i&&React.createElement("button",{className:"wicked-dismiss",type:"button",onClick:function(){return u(t)}},React.createElement("span",{className:"screen-reader-text"},(0,Se.__)("Dismiss","wicked-folders")),Vr))};const $n=function(){var e=(0,a.useSelect)((function(e){return{notifications:e(c).getNotifications()}})).notifications;return React.createElement("div",{className:"wicked-folders-notifications"},e.map((function(e,t){return React.createElement(Kn,{key:t,id:e.id,title:e.title,message:e.message,dismissible:e.dismissible,dismissed:e.dismissed})})))};function eo(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}var to=lodash.debounce;const ro=function(){var e,t,r=_r(c).setSearchTerms,n=xr((function(e){return{searchTerms:e(c).getSearchTerms(),isSearchEnabled:e(c).isSearchEnabled()}})),a=n.searchTerms,i=n.isSearchEnabled,l=(e=(0,o.useState)(a),t=2,function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,o,a=[],_n=!0,i=!1;try{for(r=r.call(e);!(_n=(n=r.next()).done)&&(a.push(n.value),!t||a.length!==t);_n=!0);}catch(e){i=!0,o=e}finally{try{_n||null==r.return||r.return()}finally{if(i)throw o}}return a}}(e,t)||function(e,t){if(e){if("string"==typeof e)return eo(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?eo(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.")}()),s=l[0],u=l[1],d=(0,o.useRef)(to(r,750));return i?React.createElement("div",{className:"wicked-folder-search-container"},React.createElement("div",{className:"wicked-folder-search"},React.createElement("label",{htmlFor:"wicked-folder-search-input",className:"screen-reader-text"},(0,Se.__)("Search folders","wicked-folders")),React.createElement("input",{id:"wicked-folder-search-input",name:"wicked_folder_search",type:"text",value:s,onChange:function(e){return t=e.target.value,u(t),void d.current(t);var t},placeholder:(0,Se.__)("Search folders...","wicked-folders")}))):null};var no=lodash.reverse,oo=function(e){var t=e.ancestors,r=e.folder,n=_r(c).setSelectedFolderId;return r?React.createElement("ul",{className:"wicked-folder-path"},t.map((function(e){return React.createElement("li",{key:e.id,"data-folder-id":e.id},React.createElement("button",{onClick:function(){return n(e.id)}},e.name))})),React.createElement("li",{"data-folder-id":r.id},(0,ln.decode)(r.name))):null};const ao=function(){var e=xr((function(e){return{folder:e(c).getSelectedFolder(),folders:e(c).getFolders(),isBreadcrumbsEnabled:e(c).isBreadcrumbsEnabled()}})),t=e.folder,r=e.folders;if(!e.isBreadcrumbsEnabled)return null;if(0==jQuery("#wicked-folders-breadcrumbs").length)return null;var n=no(_(r,t));return(0,o.createPortal)(React.createElement(oo,{ancestors:n,folder:t}),jQuery("#wicked-folders-breadcrumbs .wicked-folders-container").get(0))},io=function(e){var t=e.count,r=void 0===t?1:t,n=e.enableCopy,o=void 0===n||n;return React.createElement("div",{className:"wicked-drag-details"},React.createElement("div",{className:"items"},React.createElement("div",{className:"title"},(0,Se.__)("Move","wicked-folders")," ",r," ",1==r?(0,Se.__)("Item","wicked-folders"):(0,Se.__)("Items","wicked-folders")),o?(0,Se.__)("Hold SHIFT key to copy items to folder","wicked-folders"):""))},co=function(){var e=_r(c).setIsFolderPaneVisible,t=xr((function(e){return{width:e(c).getWidth(),isFolderPaneVisible:e(c).isFolderPaneVisible()}})),r=t.width,n=t.isFolderPaneVisible,a=nn()("wicked-folders-toggle",{expanded:n});return(0,o.useEffect)((function(){n?(document.documentElement.style.setProperty("--wicked-folders-tree-pane-width",r+"px"),document.documentElement.style.setProperty("--wicked-folders-modal-tree-pane-width",r+"px")):(document.documentElement.style.setProperty("--wicked-folders-tree-pane-width","0px"),document.documentElement.style.setProperty("--wicked-folders-modal-tree-pane-width","0px"))}),[n]),React.createElement("button",{className:a,title:"Toggle folders",onClick:function(){return e(!n)}},React.createElement("span",{className:"screen-reader-text"},(0,Se.__)("Toggle folders","wicked-folders")),React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",height:"16",width:"16",viewBox:"0 0 512 512"},React.createElement("path",{fill:"#8c8f94",d:"M64 480H448c35.3 0 64-28.7 64-64V160c0-35.3-28.7-64-64-64H288c-10.1 0-19.6-4.7-25.6-12.8L243.2 57.6C231.1 41.5 212.1 32 192 32H64C28.7 32 0 60.7 0 96V416c0 35.3 28.7 64 64 64z"})))};function lo(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}var so=lodash,uo=so.each,fo=so.debounce;so.forOwn;const po=function(){var e,t,r=(0,o.useContext)(br),n=(e=(0,o.useState)(!1),t=2,function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,o,a=[],_n=!0,i=!1;try{for(r=r.call(e);!(_n=(n=r.next()).done)&&(a.push(n.value),!t||a.length!==t);_n=!0);}catch(e){i=!0,o=e}finally{try{_n||null==r.return||r.return()}finally{if(i)throw o}}return a}}(e,t)||function(e,t){if(e){if("string"==typeof e)return lo(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?lo(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.")}()),i=n[0],l=n[1],s=xr((function(e){var t=e(c),r=t.getScreenState,n=t.getSelectedFolder,o=t.getSelectedFolderId,a=t.getNavigationError,i=t.getWidth,l=t.isAjaxNavEnabled,s=t.isBreadcrumbsEnabled,u=t.isDirty,d=t.isNavigating,f=t.isFolderPaneVisible,p=t.getPostIdsToMove;return{folder:n(),selectedFolderId:o(),isAjaxNavEnabled:l(),isBreadcrumbsEnabled:s(),isDirty:u(),isNavigating:d(),navigationError:a(),width:i(),isFolderPaneVisible:f(),postIdsToMove:p(),screenState:r()}})),u=s.folder,d=s.selectedFolderId,f=s.isAjaxNavEnabled,p=s.isNavigating,h=(s.navigationError,s.isDirty),m=(s.width,s.screenState,s.isBreadcrumbsEnabled),g=s.isFolderPaneVisible,v=s.postIdsToMove,y=(0,a.useDispatch)(c).saveScreenState,b=_r(c),w=b.setIsNavigating,E=b.setNavigationError,_=(b.setWidth,b.setPostIdsToMove),k=fo(y,500);(0,o.useEffect)((function(){jQuery(document).ajaxSuccess((function(e,t,r,n){r.hasOwnProperty("data")&&-1!=r.data.indexOf("action=inline-save")&&R()}))}),[]),(0,o.useEffect)((function(){h&&k(r)}),[h]),(0,o.useEffect)((function(){R()}),[v]),(0,o.useEffect)((function(){L()}),[m]),(0,o.useEffect)((function(){if(u)if(i){var e=jQuery,t="wicked_"+u.postType+"_folder_filter",r=document.location.href;-1!=r.indexOf("#")&&(r=r.substring(0,r.indexOf("#"))),r=S(r,t,u.id),r=S(r,"paged",1),r=S(r,"taxonomy",!1),r=S(r,"term",!1),r=S(r,"wf_"+u.postType+"_folders",!1),f?(w(!0),E(!1),e.ajax(r,{success:function(t){var r=wickedFoldersSettings.afterAjaxScripts.length,n=0;e("#wpbody-content").html(e(t).find("#wpbody-content").html()),R(),L(),window.inlineEditPost&&0==r&&window.inlineEditPost.init(),window.screenMeta&&window.screenMeta.init(),window.columns&&window.columns.init(),function(){var e=jQuery;e(".contextual-help-tabs").delegate("a","click",(function(t){var r,n=e(this);if(t.preventDefault(),n.is(".active a"))return!1;e(".contextual-help-tabs .active").removeClass("active"),n.parent("li").addClass("active"),r=e(n.attr("href")),e(".help-tab-content").not(r).removeClass("active").hide(),r.addClass("active").show()}))}(),function(){var e=jQuery,t=e(".wp-header-end");t.length||(t=e(".wrap h1, .wrap h2").first()),e("div.updated, div.error, div.notice").not(".inline, .below-h2").insertAfter(t)}(),window.gfPageLoaded=!0,jQuery(".gf_form_action_has_submenu").hover((function(){var e=jQuery(this).offset().left;jQuery(this).find(".gf_submenu").toggle().offset({left:e})}),(function(){jQuery(this).find(".gf_submenu").hide()})),uo(wickedFoldersSettings.afterAjaxScripts,(function(t){e.getScript(t,(function(){++n==r&&window.inlineEditPost&&window.inlineEditPost.init()}))})),e(window).scrollTop(0),w(!1),e("body").trigger("wickedfolders:ajaxNavigationDone")},error:function(t,r,n){e(window).scrollTop(0),E(n),window.console&&(console.warn((0,Se.__)("An error occurred while attempting to navigate to the folder. Please see following console messages for more details.","wicked-folders")),console.log(t),console.log(r),console.log(n)),w(!1),e("body").trigger("wickedfolders:ajaxNavigationDone")}})):document.location=r}else l(!0)}),[null==u?void 0:u.id]);var R=function(){var e=jQuery,t={revert:"invalid",containment:"#wpwrap",helper:function(t){var r,n,a=[],i=e(t.currentTarget).parents("tr"),c=i.find('.check-column [type="checkbox"]'),l=e('<div id="wicked-drag-helper"></div>'),s=e(i).find(".wicked-item").attr("data-object-id");return c.prop("checked")||"on"==c.val()?a=T():a.push(s),l.appendTo(e("body")),r=React.createElement(io,{count:a.length,enableCopy:"unassigned_dynamic_folder"!=d}),n=document.getElementById("wicked-drag-helper"),o.createRoot?(0,o.createRoot)(n).render(r):(0,o.render)(r,n),_(a),l},stop:function(e,t){_([])}};e("body.post-type-shop_order .wp-list-table .column-wicked_move").click((function(e){return!1})),e(".wp-list-table tbody .wicked-move-multiple").draggable(t),e(".wp-list-table thead .wicked-move-multiple").draggable(t),x()&&e(".wp-list-table .wicked-move-multiple").draggable("option",{cursorAt:{top:10,right:10}})},L=function(){m&&jQuery("#wpbody-content .wp-list-table").before('<div id="wicked-folders-breadcrumbs" class="wicked-folders-breadcrumbs"><span class="wicked-folders-label">'+(0,Se.__)("Folder","wicked-folders")+':</span> <span class="wicked-folders-container"></span></div>')},T=function(){var e=jQuery,t=[];return e('.wp-list-table tbody [type="checkbox"]').each((function(r,n){var o=(n=e(n)).parents("tr").find(".wicked-item").attr("data-object-id");n.prop("checked")&&t.push(o)})),t};return g?React.createElement(React.Fragment,null,React.createElement(Ur,null),React.createElement(Br,null,React.createElement(Mr,null),React.createElement(tn,null),React.createElement(Qn,null),React.createElement("div",{className:"wicked-folder-tree-container"},React.createElement(ro,null),React.createElement(yn,null)),p&&React.createElement("div",{className:"wicked-navigating-mask"}),React.createElement(Jn,null),React.createElement(ao,null)),React.createElement(co,null),React.createElement($n,null)):React.createElement(React.Fragment,null,React.createElement(ao,null),React.createElement(co,null))};void 0===window.isWickedFoldersStoreRegistered&&((0,a.register)((0,a.createReduxStore)(c,{selectors:e,actions:t,resolvers:n,reducer:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:gr,t=arguments.length>1?arguments[1]:void 0;switch(t.type){case Vt:return jt(jt({},e),{},{notifications:[].concat(It(e.notifications),[t.notification])});case zt:return jt(jt({},e),{},{notifications:It(e.notifications.filter((function(e){return e.id!=t.notificationId})))});case Ht:return jt(jt({},e),{},{notifications:It(e.notifications.map((function(e){return t.notificationId==e.id&&(e.dismissed=!0),e})))});case Yt:return Mt(e,["instances",t.instanceId])?e:jt(jt({},e),{},{instances:jt(jt({},e.instances),{},Ut({},t.instanceId,jt(jt({},vr),{},{postType:t.postType})))});case mr:for(var r=t.payload,n=r.action,o=r.instanceId,a={},i=0,c=Object.entries(e.instances);i<c.length;i++){var l=Nt(c[i],2),s=l[0],u=l[1];a[s]=o==s?yr(u,n):u}return jt(jt({},e),{},{instances:a});default:return e}},controls:i.controls})),window.isWickedFoldersStoreRegistered=!0),document.addEventListener("DOMContentLoaded",(function(e){!function(e){var t=document.getElementById("wicked-folder-pane"),r=function(){var t="folderPane";return(0,a.useDispatch)(c).initInstance(t,wickedFoldersSettings.instances.folderPane.postType),React.createElement(br.Provider,{value:t},React.createElement(e,null))};if(!t)return null;o.createRoot?(0,o.createRoot)(t).render(React.createElement(r,null)):(0,o.render)(React.createElement(r,null),t)}(po)}))})()})();1 (()=>{var e={703:(e,t)=>{var r;!function(){"use strict";var n={}.hasOwnProperty;function o(){for(var e=[],t=0;t<arguments.length;t++){var r=arguments[t];if(r){var a=typeof r;if("string"===a||"number"===a)e.push(r);else if(Array.isArray(r)){if(r.length){var i=o.apply(null,r);i&&e.push(i)}}else if("object"===a)if(r.toString===Object.prototype.toString)for(var c in r)n.call(r,c)&&r[c]&&e.push(c);else e.push(r.toString())}}return e.join(" ")}e.exports?(o.default=o,e.exports=o):void 0===(r=function(){return o}.apply(t,[]))||(e.exports=r)}()},705:e=>{"use strict";e.exports=function(e){var t=[];return t.toString=function(){return this.map((function(t){var r="",n=void 0!==t[5];return t[4]&&(r+="@supports (".concat(t[4],") {")),t[2]&&(r+="@media ".concat(t[2]," {")),n&&(r+="@layer".concat(t[5].length>0?" ".concat(t[5]):""," {")),r+=e(t),n&&(r+="}"),t[2]&&(r+="}"),t[4]&&(r+="}"),r})).join("")},t.i=function(e,r,n,o,a){"string"==typeof e&&(e=[[null,e,void 0]]);var i={};if(n)for(var c=0;c<this.length;c++){var l=this[c][0];null!=l&&(i[l]=!0)}for(var s=0;s<e.length;s++){var u=[].concat(e[s]);n&&i[u[0]]||(void 0!==a&&(void 0===u[5]||(u[1]="@layer".concat(u[5].length>0?" ".concat(u[5]):""," {").concat(u[1],"}")),u[5]=a),r&&(u[2]?(u[1]="@media ".concat(u[2]," {").concat(u[1],"}"),u[2]=r):u[2]=r),o&&(u[4]?(u[1]="@supports (".concat(u[4],") {").concat(u[1],"}"),u[4]=o):u[4]="".concat(o)),t.push(u))}},t}},738:e=>{"use strict";e.exports=function(e){return e[1]}},805:function(e,t,r){"use strict";var n=this&&this.__assign||function(){return n=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var o in t=arguments[r])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},n.apply(this,arguments)};Object.defineProperty(t,"__esModule",{value:!0});var o=r(547),a=r(125),i=r(663),c=n(n({},o.namedReferences),{all:o.namedReferences.html5});function l(e,t,r){t.lastIndex=0;var n,o=t.exec(e);if(o){n="";var a=0;do{a!==o.index&&(n+=e.substring(a,o.index));var i=o[0];n+=r(i),a=o.index+i.length}while(o=t.exec(e));a!==e.length&&(n+=e.substring(a))}else n=e;return n}var s={specialChars:/[<>'"&]/g,nonAscii:/[<>'"&\u0080-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/g,nonAsciiPrintable:/[<>'"&\x01-\x08\x11-\x15\x17-\x1F\x7f-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/g,nonAsciiPrintableOnly:/[\x01-\x08\x11-\x15\x17-\x1F\x7f-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/g,extensive:/[\x01-\x0c\x0e-\x1f\x21-\x2c\x2e-\x2f\x3a-\x40\x5b-\x60\x7b-\x7d\x7f-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/g},u={mode:"specialChars",level:"all",numeric:"decimal"};t.encode=function(e,t){var r=void 0===t?u:t,n=r.mode,o=void 0===n?"specialChars":n,a=r.numeric,d=void 0===a?"decimal":a,f=r.level;if(!e)return"";var p=s[o],h=c[void 0===f?"all":f].characters,m="hexadecimal"===d;return l(e,p,(function(e){var t=h[e];if(!t){var r=e.length>1?i.getCodePoint(e,0):e.charCodeAt(0);t=(m?"&#x"+r.toString(16):"&#"+r)+";"}return t}))};var d={scope:"body",level:"all"},f=/&(?:#\d+|#[xX][\da-fA-F]+|[0-9a-zA-Z]+);/g,p=/&(?:#\d+|#[xX][\da-fA-F]+|[0-9a-zA-Z]+)[;=]?/g,h={xml:{strict:f,attribute:p,body:o.bodyRegExps.xml},html4:{strict:f,attribute:p,body:o.bodyRegExps.html4},html5:{strict:f,attribute:p,body:o.bodyRegExps.html5}},m=n(n({},h),{all:h.html5}),g=String.fromCharCode,v=g(65533),y={level:"all"};function b(e,t,r,n){var o=e,c=e[e.length-1];if(r&&"="===c)o=e;else if(n&&";"!==c)o=e;else{var l=t[e];if(l)o=l;else if("&"===e[0]&&"#"===e[1]){var s=e[2],u="x"==s||"X"==s?parseInt(e.substr(3),16):parseInt(e.substr(2));o=u>=1114111?v:u>65535?i.fromCodePoint(u):g(a.numericUnicodeMap[u]||u)}}return o}t.decodeEntity=function(e,t){var r=(void 0===t?y:t).level;return e?b(e,c[void 0===r?"all":r].entities,!1,!1):""},t.decode=function(e,t){var r=void 0===t?d:t,n=r.level,o=void 0===n?"all":n,a=r.scope,i=void 0===a?"xml"===o?"strict":"body":a;if(!e)return"";var s=m[o][i],u=c[o].entities,f="attribute"===i,p="strict"===i;return l(e,s,(function(e){return b(e,u,f,p)}))}},547:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.bodyRegExps={xml:/&(?:#\d+|#[xX][\da-fA-F]+|[0-9a-zA-Z]+);?/g,html4:/∉|&(?:nbsp|iexcl|cent|pound|curren|yen|brvbar|sect|uml|copy|ordf|laquo|not|shy|reg|macr|deg|plusmn|sup2|sup3|acute|micro|para|middot|cedil|sup1|ordm|raquo|frac14|frac12|frac34|iquest|Agrave|Aacute|Acirc|Atilde|Auml|Aring|AElig|Ccedil|Egrave|Eacute|Ecirc|Euml|Igrave|Iacute|Icirc|Iuml|ETH|Ntilde|Ograve|Oacute|Ocirc|Otilde|Ouml|times|Oslash|Ugrave|Uacute|Ucirc|Uuml|Yacute|THORN|szlig|agrave|aacute|acirc|atilde|auml|aring|aelig|ccedil|egrave|eacute|ecirc|euml|igrave|iacute|icirc|iuml|eth|ntilde|ograve|oacute|ocirc|otilde|ouml|divide|oslash|ugrave|uacute|ucirc|uuml|yacute|thorn|yuml|quot|amp|lt|gt|#\d+|#[xX][\da-fA-F]+|[0-9a-zA-Z]+);?/g,html5:/·|℗|⋇|⪧|⩺|⋗|⦕|⩼|⪆|⥸|⋗|⋛|⪌|≷|≳|⪦|⩹|⋖|⋋|⋉|⥶|⩻|⦖|◃|⊴|◂|∉|⋹̸|⋵̸|∉|⋷|⋶|∌|∌|⋾|⋽|∥|⊠|⨱|⨰|&(?:AElig|AMP|Aacute|Acirc|Agrave|Aring|Atilde|Auml|COPY|Ccedil|ETH|Eacute|Ecirc|Egrave|Euml|GT|Iacute|Icirc|Igrave|Iuml|LT|Ntilde|Oacute|Ocirc|Ograve|Oslash|Otilde|Ouml|QUOT|REG|THORN|Uacute|Ucirc|Ugrave|Uuml|Yacute|aacute|acirc|acute|aelig|agrave|amp|aring|atilde|auml|brvbar|ccedil|cedil|cent|copy|curren|deg|divide|eacute|ecirc|egrave|eth|euml|frac12|frac14|frac34|gt|iacute|icirc|iexcl|igrave|iquest|iuml|laquo|lt|macr|micro|middot|nbsp|not|ntilde|oacute|ocirc|ograve|ordf|ordm|oslash|otilde|ouml|para|plusmn|pound|quot|raquo|reg|sect|shy|sup1|sup2|sup3|szlig|thorn|times|uacute|ucirc|ugrave|uml|uuml|yacute|yen|yuml|#\d+|#[xX][\da-fA-F]+|[0-9a-zA-Z]+);?/g},t.namedReferences={xml:{entities:{"<":"<",">":">",""":'"',"'":"'","&":"&"},characters:{"<":"<",">":">",'"':""","'":"'","&":"&"}},html4:{entities:{"'":"'"," ":" "," ":" ","¡":"¡","¡":"¡","¢":"¢","¢":"¢","£":"£","£":"£","¤":"¤","¤":"¤","¥":"¥","¥":"¥","¦":"¦","¦":"¦","§":"§","§":"§","¨":"¨","¨":"¨","©":"©","©":"©","ª":"ª","ª":"ª","«":"«","«":"«","¬":"¬","¬":"¬","­":"","­":"","®":"®","®":"®","¯":"¯","¯":"¯","°":"°","°":"°","±":"±","±":"±","²":"²","²":"²","³":"³","³":"³","´":"´","´":"´","µ":"µ","µ":"µ","¶":"¶","¶":"¶","·":"·","·":"·","¸":"¸","¸":"¸","¹":"¹","¹":"¹","º":"º","º":"º","»":"»","»":"»","¼":"¼","¼":"¼","½":"½","½":"½","¾":"¾","¾":"¾","¿":"¿","¿":"¿","À":"À","À":"À","Á":"Á","Á":"Á","Â":"Â","Â":"Â","Ã":"Ã","Ã":"Ã","Ä":"Ä","Ä":"Ä","Å":"Å","Å":"Å","Æ":"Æ","Æ":"Æ","Ç":"Ç","Ç":"Ç","È":"È","È":"È","É":"É","É":"É","Ê":"Ê","Ê":"Ê","Ë":"Ë","Ë":"Ë","Ì":"Ì","Ì":"Ì","Í":"Í","Í":"Í","Î":"Î","Î":"Î","Ï":"Ï","Ï":"Ï","Ð":"Ð","Ð":"Ð","Ñ":"Ñ","Ñ":"Ñ","Ò":"Ò","Ò":"Ò","Ó":"Ó","Ó":"Ó","Ô":"Ô","Ô":"Ô","Õ":"Õ","Õ":"Õ","Ö":"Ö","Ö":"Ö","×":"×","×":"×","Ø":"Ø","Ø":"Ø","Ù":"Ù","Ù":"Ù","Ú":"Ú","Ú":"Ú","Û":"Û","Û":"Û","Ü":"Ü","Ü":"Ü","Ý":"Ý","Ý":"Ý","Þ":"Þ","Þ":"Þ","ß":"ß","ß":"ß","à":"à","à":"à","á":"á","á":"á","â":"â","â":"â","ã":"ã","ã":"ã","ä":"ä","ä":"ä","å":"å","å":"å","æ":"æ","æ":"æ","ç":"ç","ç":"ç","è":"è","è":"è","é":"é","é":"é","ê":"ê","ê":"ê","ë":"ë","ë":"ë","ì":"ì","ì":"ì","í":"í","í":"í","î":"î","î":"î","ï":"ï","ï":"ï","ð":"ð","ð":"ð","ñ":"ñ","ñ":"ñ","ò":"ò","ò":"ò","ó":"ó","ó":"ó","ô":"ô","ô":"ô","õ":"õ","õ":"õ","ö":"ö","ö":"ö","÷":"÷","÷":"÷","ø":"ø","ø":"ø","ù":"ù","ù":"ù","ú":"ú","ú":"ú","û":"û","û":"û","ü":"ü","ü":"ü","ý":"ý","ý":"ý","þ":"þ","þ":"þ","ÿ":"ÿ","ÿ":"ÿ",""":'"',""":'"',"&":"&","&":"&","<":"<","<":"<",">":">",">":">","Œ":"Œ","œ":"œ","Š":"Š","š":"š","Ÿ":"Ÿ","ˆ":"ˆ","˜":"˜"," ":" "," ":" "," ":" ","‌":"","‍":"","‎":"","‏":"","–":"–","—":"—","‘":"‘","’":"’","‚":"‚","“":"“","”":"”","„":"„","†":"†","‡":"‡","‰":"‰","‹":"‹","›":"›","€":"€","ƒ":"ƒ","Α":"Α","Β":"Β","Γ":"Γ","Δ":"Δ","Ε":"Ε","Ζ":"Ζ","Η":"Η","Θ":"Θ","Ι":"Ι","Κ":"Κ","Λ":"Λ","Μ":"Μ","Ν":"Ν","Ξ":"Ξ","Ο":"Ο","Π":"Π","Ρ":"Ρ","Σ":"Σ","Τ":"Τ","Υ":"Υ","Φ":"Φ","Χ":"Χ","Ψ":"Ψ","Ω":"Ω","α":"α","β":"β","γ":"γ","δ":"δ","ε":"ε","ζ":"ζ","η":"η","θ":"θ","ι":"ι","κ":"κ","λ":"λ","μ":"μ","ν":"ν","ξ":"ξ","ο":"ο","π":"π","ρ":"ρ","ς":"ς","σ":"σ","τ":"τ","υ":"υ","φ":"φ","χ":"χ","ψ":"ψ","ω":"ω","ϑ":"ϑ","ϒ":"ϒ","ϖ":"ϖ","•":"•","…":"…","′":"′","″":"″","‾":"‾","⁄":"⁄","℘":"℘","ℑ":"ℑ","ℜ":"ℜ","™":"™","ℵ":"ℵ","←":"←","↑":"↑","→":"→","↓":"↓","↔":"↔","↵":"↵","⇐":"⇐","⇑":"⇑","⇒":"⇒","⇓":"⇓","⇔":"⇔","∀":"∀","∂":"∂","∃":"∃","∅":"∅","∇":"∇","∈":"∈","∉":"∉","∋":"∋","∏":"∏","∑":"∑","−":"−","∗":"∗","√":"√","∝":"∝","∞":"∞","∠":"∠","∧":"∧","∨":"∨","∩":"∩","∪":"∪","∫":"∫","∴":"∴","∼":"∼","≅":"≅","≈":"≈","≠":"≠","≡":"≡","≤":"≤","≥":"≥","⊂":"⊂","⊃":"⊃","⊄":"⊄","⊆":"⊆","⊇":"⊇","⊕":"⊕","⊗":"⊗","⊥":"⊥","⋅":"⋅","⌈":"⌈","⌉":"⌉","⌊":"⌊","⌋":"⌋","⟨":"〈","⟩":"〉","◊":"◊","♠":"♠","♣":"♣","♥":"♥","♦":"♦"},characters:{"'":"'"," ":" ","¡":"¡","¢":"¢","£":"£","¤":"¤","¥":"¥","¦":"¦","§":"§","¨":"¨","©":"©",ª:"ª","«":"«","¬":"¬","":"­","®":"®","¯":"¯","°":"°","±":"±","²":"²","³":"³","´":"´",µ:"µ","¶":"¶","·":"·","¸":"¸","¹":"¹",º:"º","»":"»","¼":"¼","½":"½","¾":"¾","¿":"¿",À:"À",Á:"Á",Â:"Â",Ã:"Ã",Ä:"Ä",Å:"Å",Æ:"Æ",Ç:"Ç",È:"È",É:"É",Ê:"Ê",Ë:"Ë",Ì:"Ì",Í:"Í",Î:"Î",Ï:"Ï",Ð:"Ð",Ñ:"Ñ",Ò:"Ò",Ó:"Ó",Ô:"Ô",Õ:"Õ",Ö:"Ö","×":"×",Ø:"Ø",Ù:"Ù",Ú:"Ú",Û:"Û",Ü:"Ü",Ý:"Ý",Þ:"Þ",ß:"ß",à:"à",á:"á",â:"â",ã:"ã",ä:"ä",å:"å",æ:"æ",ç:"ç",è:"è",é:"é",ê:"ê",ë:"ë",ì:"ì",í:"í",î:"î",ï:"ï",ð:"ð",ñ:"ñ",ò:"ò",ó:"ó",ô:"ô",õ:"õ",ö:"ö","÷":"÷",ø:"ø",ù:"ù",ú:"ú",û:"û",ü:"ü",ý:"ý",þ:"þ",ÿ:"ÿ",'"':""","&":"&","<":"<",">":">",Œ:"Œ",œ:"œ",Š:"Š",š:"š",Ÿ:"Ÿ",ˆ:"ˆ","˜":"˜"," ":" "," ":" "," ":" ","":"‌","":"‍","":"‎","":"‏","–":"–","—":"—","‘":"‘","’":"’","‚":"‚","“":"“","”":"”","„":"„","†":"†","‡":"‡","‰":"‰","‹":"‹","›":"›","€":"€",ƒ:"ƒ",Α:"Α",Β:"Β",Γ:"Γ",Δ:"Δ",Ε:"Ε",Ζ:"Ζ",Η:"Η",Θ:"Θ",Ι:"Ι",Κ:"Κ",Λ:"Λ",Μ:"Μ",Ν:"Ν",Ξ:"Ξ",Ο:"Ο",Π:"Π",Ρ:"Ρ",Σ:"Σ",Τ:"Τ",Υ:"Υ",Φ:"Φ",Χ:"Χ",Ψ:"Ψ",Ω:"Ω",α:"α",β:"β",γ:"γ",δ:"δ",ε:"ε",ζ:"ζ",η:"η",θ:"θ",ι:"ι",κ:"κ",λ:"λ",μ:"μ",ν:"ν",ξ:"ξ",ο:"ο",π:"π",ρ:"ρ",ς:"ς",σ:"σ",τ:"τ",υ:"υ",φ:"φ",χ:"χ",ψ:"ψ",ω:"ω",ϑ:"ϑ",ϒ:"ϒ",ϖ:"ϖ","•":"•","…":"…","′":"′","″":"″","‾":"‾","⁄":"⁄",℘:"℘",ℑ:"ℑ",ℜ:"ℜ","™":"™",ℵ:"ℵ","←":"←","↑":"↑","→":"→","↓":"↓","↔":"↔","↵":"↵","⇐":"⇐","⇑":"⇑","⇒":"⇒","⇓":"⇓","⇔":"⇔","∀":"∀","∂":"∂","∃":"∃","∅":"∅","∇":"∇","∈":"∈","∉":"∉","∋":"∋","∏":"∏","∑":"∑","−":"−","∗":"∗","√":"√","∝":"∝","∞":"∞","∠":"∠","∧":"∧","∨":"∨","∩":"∩","∪":"∪","∫":"∫","∴":"∴","∼":"∼","≅":"≅","≈":"≈","≠":"≠","≡":"≡","≤":"≤","≥":"≥","⊂":"⊂","⊃":"⊃","⊄":"⊄","⊆":"⊆","⊇":"⊇","⊕":"⊕","⊗":"⊗","⊥":"⊥","⋅":"⋅","⌈":"⌈","⌉":"⌉","⌊":"⌊","⌋":"⌋","〈":"⟨","〉":"⟩","◊":"◊","♠":"♠","♣":"♣","♥":"♥","♦":"♦"}},html5:{entities:{"Æ":"Æ","Æ":"Æ","&":"&","&":"&","Á":"Á","Á":"Á","Ă":"Ă","Â":"Â","Â":"Â","А":"А","𝔄":"𝔄","À":"À","À":"À","Α":"Α","Ā":"Ā","⩓":"⩓","Ą":"Ą","𝔸":"𝔸","⁡":"","Å":"Å","Å":"Å","𝒜":"𝒜","≔":"≔","Ã":"Ã","Ã":"Ã","Ä":"Ä","Ä":"Ä","∖":"∖","⫧":"⫧","⌆":"⌆","Б":"Б","∵":"∵","ℬ":"ℬ","Β":"Β","𝔅":"𝔅","𝔹":"𝔹","˘":"˘","ℬ":"ℬ","≎":"≎","Ч":"Ч","©":"©","©":"©","Ć":"Ć","⋒":"⋒","ⅅ":"ⅅ","ℭ":"ℭ","Č":"Č","Ç":"Ç","Ç":"Ç","Ĉ":"Ĉ","∰":"∰","Ċ":"Ċ","¸":"¸","·":"·","ℭ":"ℭ","Χ":"Χ","⊙":"⊙","⊖":"⊖","⊕":"⊕","⊗":"⊗","∲":"∲","”":"”","’":"’","∷":"∷","⩴":"⩴","≡":"≡","∯":"∯","∮":"∮","ℂ":"ℂ","∐":"∐","∳":"∳","⨯":"⨯","𝒞":"𝒞","⋓":"⋓","≍":"≍","ⅅ":"ⅅ","⤑":"⤑","Ђ":"Ђ","Ѕ":"Ѕ","Џ":"Џ","‡":"‡","↡":"↡","⫤":"⫤","Ď":"Ď","Д":"Д","∇":"∇","Δ":"Δ","𝔇":"𝔇","´":"´","˙":"˙","˝":"˝","`":"`","˜":"˜","⋄":"⋄","ⅆ":"ⅆ","𝔻":"𝔻","¨":"¨","⃜":"⃜","≐":"≐","∯":"∯","¨":"¨","⇓":"⇓","⇐":"⇐","⇔":"⇔","⫤":"⫤","⟸":"⟸","⟺":"⟺","⟹":"⟹","⇒":"⇒","⊨":"⊨","⇑":"⇑","⇕":"⇕","∥":"∥","↓":"↓","⤓":"⤓","⇵":"⇵","̑":"̑","⥐":"⥐","⥞":"⥞","↽":"↽","⥖":"⥖","⥟":"⥟","⇁":"⇁","⥗":"⥗","⊤":"⊤","↧":"↧","⇓":"⇓","𝒟":"𝒟","Đ":"Đ","Ŋ":"Ŋ","Ð":"Ð","Ð":"Ð","É":"É","É":"É","Ě":"Ě","Ê":"Ê","Ê":"Ê","Э":"Э","Ė":"Ė","𝔈":"𝔈","È":"È","È":"È","∈":"∈","Ē":"Ē","◻":"◻","▫":"▫","Ę":"Ę","𝔼":"𝔼","Ε":"Ε","⩵":"⩵","≂":"≂","⇌":"⇌","ℰ":"ℰ","⩳":"⩳","Η":"Η","Ë":"Ë","Ë":"Ë","∃":"∃","ⅇ":"ⅇ","Ф":"Ф","𝔉":"𝔉","◼":"◼","▪":"▪","𝔽":"𝔽","∀":"∀","ℱ":"ℱ","ℱ":"ℱ","Ѓ":"Ѓ",">":">",">":">","Γ":"Γ","Ϝ":"Ϝ","Ğ":"Ğ","Ģ":"Ģ","Ĝ":"Ĝ","Г":"Г","Ġ":"Ġ","𝔊":"𝔊","⋙":"⋙","𝔾":"𝔾","≥":"≥","⋛":"⋛","≧":"≧","⪢":"⪢","≷":"≷","⩾":"⩾","≳":"≳","𝒢":"𝒢","≫":"≫","Ъ":"Ъ","ˇ":"ˇ","^":"^","Ĥ":"Ĥ","ℌ":"ℌ","ℋ":"ℋ","ℍ":"ℍ","─":"─","ℋ":"ℋ","Ħ":"Ħ","≎":"≎","≏":"≏","Е":"Е","IJ":"IJ","Ё":"Ё","Í":"Í","Í":"Í","Î":"Î","Î":"Î","И":"И","İ":"İ","ℑ":"ℑ","Ì":"Ì","Ì":"Ì","ℑ":"ℑ","Ī":"Ī","ⅈ":"ⅈ","⇒":"⇒","∬":"∬","∫":"∫","⋂":"⋂","⁣":"","⁢":"","Į":"Į","𝕀":"𝕀","Ι":"Ι","ℐ":"ℐ","Ĩ":"Ĩ","І":"І","Ï":"Ï","Ï":"Ï","Ĵ":"Ĵ","Й":"Й","𝔍":"𝔍","𝕁":"𝕁","𝒥":"𝒥","Ј":"Ј","Є":"Є","Х":"Х","Ќ":"Ќ","Κ":"Κ","Ķ":"Ķ","К":"К","𝔎":"𝔎","𝕂":"𝕂","𝒦":"𝒦","Љ":"Љ","<":"<","<":"<","Ĺ":"Ĺ","Λ":"Λ","⟪":"⟪","ℒ":"ℒ","↞":"↞","Ľ":"Ľ","Ļ":"Ļ","Л":"Л","⟨":"⟨","←":"←","⇤":"⇤","⇆":"⇆","⌈":"⌈","⟦":"⟦","⥡":"⥡","⇃":"⇃","⥙":"⥙","⌊":"⌊","↔":"↔","⥎":"⥎","⊣":"⊣","↤":"↤","⥚":"⥚","⊲":"⊲","⧏":"⧏","⊴":"⊴","⥑":"⥑","⥠":"⥠","↿":"↿","⥘":"⥘","↼":"↼","⥒":"⥒","⇐":"⇐","⇔":"⇔","⋚":"⋚","≦":"≦","≶":"≶","⪡":"⪡","⩽":"⩽","≲":"≲","𝔏":"𝔏","⋘":"⋘","⇚":"⇚","Ŀ":"Ŀ","⟵":"⟵","⟷":"⟷","⟶":"⟶","⟸":"⟸","⟺":"⟺","⟹":"⟹","𝕃":"𝕃","↙":"↙","↘":"↘","ℒ":"ℒ","↰":"↰","Ł":"Ł","≪":"≪","⤅":"⤅","М":"М"," ":" ","ℳ":"ℳ","𝔐":"𝔐","∓":"∓","𝕄":"𝕄","ℳ":"ℳ","Μ":"Μ","Њ":"Њ","Ń":"Ń","Ň":"Ň","Ņ":"Ņ","Н":"Н","​":"","​":"","​":"","​":"","≫":"≫","≪":"≪","
":"\n","𝔑":"𝔑","⁠":""," ":" ","ℕ":"ℕ","⫬":"⫬","≢":"≢","≭":"≭","∦":"∦","∉":"∉","≠":"≠","≂̸":"≂̸","∄":"∄","≯":"≯","≱":"≱","≧̸":"≧̸","≫̸":"≫̸","≹":"≹","⩾̸":"⩾̸","≵":"≵","≎̸":"≎̸","≏̸":"≏̸","⋪":"⋪","⧏̸":"⧏̸","⋬":"⋬","≮":"≮","≰":"≰","≸":"≸","≪̸":"≪̸","⩽̸":"⩽̸","≴":"≴","⪢̸":"⪢̸","⪡̸":"⪡̸","⊀":"⊀","⪯̸":"⪯̸","⋠":"⋠","∌":"∌","⋫":"⋫","⧐̸":"⧐̸","⋭":"⋭","⊏̸":"⊏̸","⋢":"⋢","⊐̸":"⊐̸","⋣":"⋣","⊂⃒":"⊂⃒","⊈":"⊈","⊁":"⊁","⪰̸":"⪰̸","⋡":"⋡","≿̸":"≿̸","⊃⃒":"⊃⃒","⊉":"⊉","≁":"≁","≄":"≄","≇":"≇","≉":"≉","∤":"∤","𝒩":"𝒩","Ñ":"Ñ","Ñ":"Ñ","Ν":"Ν","Œ":"Œ","Ó":"Ó","Ó":"Ó","Ô":"Ô","Ô":"Ô","О":"О","Ő":"Ő","𝔒":"𝔒","Ò":"Ò","Ò":"Ò","Ō":"Ō","Ω":"Ω","Ο":"Ο","𝕆":"𝕆","“":"“","‘":"‘","⩔":"⩔","𝒪":"𝒪","Ø":"Ø","Ø":"Ø","Õ":"Õ","Õ":"Õ","⨷":"⨷","Ö":"Ö","Ö":"Ö","‾":"‾","⏞":"⏞","⎴":"⎴","⏜":"⏜","∂":"∂","П":"П","𝔓":"𝔓","Φ":"Φ","Π":"Π","±":"±","ℌ":"ℌ","ℙ":"ℙ","⪻":"⪻","≺":"≺","⪯":"⪯","≼":"≼","≾":"≾","″":"″","∏":"∏","∷":"∷","∝":"∝","𝒫":"𝒫","Ψ":"Ψ",""":'"',""":'"',"𝔔":"𝔔","ℚ":"ℚ","𝒬":"𝒬","⤐":"⤐","®":"®","®":"®","Ŕ":"Ŕ","⟫":"⟫","↠":"↠","⤖":"⤖","Ř":"Ř","Ŗ":"Ŗ","Р":"Р","ℜ":"ℜ","∋":"∋","⇋":"⇋","⥯":"⥯","ℜ":"ℜ","Ρ":"Ρ","⟩":"⟩","→":"→","⇥":"⇥","⇄":"⇄","⌉":"⌉","⟧":"⟧","⥝":"⥝","⇂":"⇂","⥕":"⥕","⌋":"⌋","⊢":"⊢","↦":"↦","⥛":"⥛","⊳":"⊳","⧐":"⧐","⊵":"⊵","⥏":"⥏","⥜":"⥜","↾":"↾","⥔":"⥔","⇀":"⇀","⥓":"⥓","⇒":"⇒","ℝ":"ℝ","⥰":"⥰","⇛":"⇛","ℛ":"ℛ","↱":"↱","⧴":"⧴","Щ":"Щ","Ш":"Ш","Ь":"Ь","Ś":"Ś","⪼":"⪼","Š":"Š","Ş":"Ş","Ŝ":"Ŝ","С":"С","𝔖":"𝔖","↓":"↓","←":"←","→":"→","↑":"↑","Σ":"Σ","∘":"∘","𝕊":"𝕊","√":"√","□":"□","⊓":"⊓","⊏":"⊏","⊑":"⊑","⊐":"⊐","⊒":"⊒","⊔":"⊔","𝒮":"𝒮","⋆":"⋆","⋐":"⋐","⋐":"⋐","⊆":"⊆","≻":"≻","⪰":"⪰","≽":"≽","≿":"≿","∋":"∋","∑":"∑","⋑":"⋑","⊃":"⊃","⊇":"⊇","⋑":"⋑","Þ":"Þ","Þ":"Þ","™":"™","Ћ":"Ћ","Ц":"Ц","	":"\t","Τ":"Τ","Ť":"Ť","Ţ":"Ţ","Т":"Т","𝔗":"𝔗","∴":"∴","Θ":"Θ","  ":" "," ":" ","∼":"∼","≃":"≃","≅":"≅","≈":"≈","𝕋":"𝕋","⃛":"⃛","𝒯":"𝒯","Ŧ":"Ŧ","Ú":"Ú","Ú":"Ú","↟":"↟","⥉":"⥉","Ў":"Ў","Ŭ":"Ŭ","Û":"Û","Û":"Û","У":"У","Ű":"Ű","𝔘":"𝔘","Ù":"Ù","Ù":"Ù","Ū":"Ū","_":"_","⏟":"⏟","⎵":"⎵","⏝":"⏝","⋃":"⋃","⊎":"⊎","Ų":"Ų","𝕌":"𝕌","↑":"↑","⤒":"⤒","⇅":"⇅","↕":"↕","⥮":"⥮","⊥":"⊥","↥":"↥","⇑":"⇑","⇕":"⇕","↖":"↖","↗":"↗","ϒ":"ϒ","Υ":"Υ","Ů":"Ů","𝒰":"𝒰","Ũ":"Ũ","Ü":"Ü","Ü":"Ü","⊫":"⊫","⫫":"⫫","В":"В","⊩":"⊩","⫦":"⫦","⋁":"⋁","‖":"‖","‖":"‖","∣":"∣","|":"|","❘":"❘","≀":"≀"," ":" ","𝔙":"𝔙","𝕍":"𝕍","𝒱":"𝒱","⊪":"⊪","Ŵ":"Ŵ","⋀":"⋀","𝔚":"𝔚","𝕎":"𝕎","𝒲":"𝒲","𝔛":"𝔛","Ξ":"Ξ","𝕏":"𝕏","𝒳":"𝒳","Я":"Я","Ї":"Ї","Ю":"Ю","Ý":"Ý","Ý":"Ý","Ŷ":"Ŷ","Ы":"Ы","𝔜":"𝔜","𝕐":"𝕐","𝒴":"𝒴","Ÿ":"Ÿ","Ж":"Ж","Ź":"Ź","Ž":"Ž","З":"З","Ż":"Ż","​":"","Ζ":"Ζ","ℨ":"ℨ","ℤ":"ℤ","𝒵":"𝒵","á":"á","á":"á","ă":"ă","∾":"∾","∾̳":"∾̳","∿":"∿","â":"â","â":"â","´":"´","´":"´","а":"а","æ":"æ","æ":"æ","⁡":"","𝔞":"𝔞","à":"à","à":"à","ℵ":"ℵ","ℵ":"ℵ","α":"α","ā":"ā","⨿":"⨿","&":"&","&":"&","∧":"∧","⩕":"⩕","⩜":"⩜","⩘":"⩘","⩚":"⩚","∠":"∠","⦤":"⦤","∠":"∠","∡":"∡","⦨":"⦨","⦩":"⦩","⦪":"⦪","⦫":"⦫","⦬":"⦬","⦭":"⦭","⦮":"⦮","⦯":"⦯","∟":"∟","⊾":"⊾","⦝":"⦝","∢":"∢","Å":"Å","⍼":"⍼","ą":"ą","𝕒":"𝕒","≈":"≈","⩰":"⩰","⩯":"⩯","≊":"≊","≋":"≋","'":"'","≈":"≈","≊":"≊","å":"å","å":"å","𝒶":"𝒶","*":"*","≈":"≈","≍":"≍","ã":"ã","ã":"ã","ä":"ä","ä":"ä","∳":"∳","⨑":"⨑","⫭":"⫭","≌":"≌","϶":"϶","‵":"‵","∽":"∽","⋍":"⋍","⊽":"⊽","⌅":"⌅","⌅":"⌅","⎵":"⎵","⎶":"⎶","≌":"≌","б":"б","„":"„","∵":"∵","∵":"∵","⦰":"⦰","϶":"϶","ℬ":"ℬ","β":"β","ℶ":"ℶ","≬":"≬","𝔟":"𝔟","⋂":"⋂","◯":"◯","⋃":"⋃","⨀":"⨀","⨁":"⨁","⨂":"⨂","⨆":"⨆","★":"★","▽":"▽","△":"△","⨄":"⨄","⋁":"⋁","⋀":"⋀","⤍":"⤍","⧫":"⧫","▪":"▪","▴":"▴","▾":"▾","◂":"◂","▸":"▸","␣":"␣","▒":"▒","░":"░","▓":"▓","█":"█","=⃥":"=⃥","≡⃥":"≡⃥","⌐":"⌐","𝕓":"𝕓","⊥":"⊥","⊥":"⊥","⋈":"⋈","╗":"╗","╔":"╔","╖":"╖","╓":"╓","═":"═","╦":"╦","╩":"╩","╤":"╤","╧":"╧","╝":"╝","╚":"╚","╜":"╜","╙":"╙","║":"║","╬":"╬","╣":"╣","╠":"╠","╫":"╫","╢":"╢","╟":"╟","⧉":"⧉","╕":"╕","╒":"╒","┐":"┐","┌":"┌","─":"─","╥":"╥","╨":"╨","┬":"┬","┴":"┴","⊟":"⊟","⊞":"⊞","⊠":"⊠","╛":"╛","╘":"╘","┘":"┘","└":"└","│":"│","╪":"╪","╡":"╡","╞":"╞","┼":"┼","┤":"┤","├":"├","‵":"‵","˘":"˘","¦":"¦","¦":"¦","𝒷":"𝒷","⁏":"⁏","∽":"∽","⋍":"⋍","\":"\\","⧅":"⧅","⟈":"⟈","•":"•","•":"•","≎":"≎","⪮":"⪮","≏":"≏","≏":"≏","ć":"ć","∩":"∩","⩄":"⩄","⩉":"⩉","⩋":"⩋","⩇":"⩇","⩀":"⩀","∩︀":"∩︀","⁁":"⁁","ˇ":"ˇ","⩍":"⩍","č":"č","ç":"ç","ç":"ç","ĉ":"ĉ","⩌":"⩌","⩐":"⩐","ċ":"ċ","¸":"¸","¸":"¸","⦲":"⦲","¢":"¢","¢":"¢","·":"·","𝔠":"𝔠","ч":"ч","✓":"✓","✓":"✓","χ":"χ","○":"○","⧃":"⧃","ˆ":"ˆ","≗":"≗","↺":"↺","↻":"↻","®":"®","Ⓢ":"Ⓢ","⊛":"⊛","⊚":"⊚","⊝":"⊝","≗":"≗","⨐":"⨐","⫯":"⫯","⧂":"⧂","♣":"♣","♣":"♣",":":":","≔":"≔","≔":"≔",",":",","@":"@","∁":"∁","∘":"∘","∁":"∁","ℂ":"ℂ","≅":"≅","⩭":"⩭","∮":"∮","𝕔":"𝕔","∐":"∐","©":"©","©":"©","℗":"℗","↵":"↵","✗":"✗","𝒸":"𝒸","⫏":"⫏","⫑":"⫑","⫐":"⫐","⫒":"⫒","⋯":"⋯","⤸":"⤸","⤵":"⤵","⋞":"⋞","⋟":"⋟","↶":"↶","⤽":"⤽","∪":"∪","⩈":"⩈","⩆":"⩆","⩊":"⩊","⊍":"⊍","⩅":"⩅","∪︀":"∪︀","↷":"↷","⤼":"⤼","⋞":"⋞","⋟":"⋟","⋎":"⋎","⋏":"⋏","¤":"¤","¤":"¤","↶":"↶","↷":"↷","⋎":"⋎","⋏":"⋏","∲":"∲","∱":"∱","⌭":"⌭","⇓":"⇓","⥥":"⥥","†":"†","ℸ":"ℸ","↓":"↓","‐":"‐","⊣":"⊣","⤏":"⤏","˝":"˝","ď":"ď","д":"д","ⅆ":"ⅆ","‡":"‡","⇊":"⇊","⩷":"⩷","°":"°","°":"°","δ":"δ","⦱":"⦱","⥿":"⥿","𝔡":"𝔡","⇃":"⇃","⇂":"⇂","⋄":"⋄","⋄":"⋄","♦":"♦","♦":"♦","¨":"¨","ϝ":"ϝ","⋲":"⋲","÷":"÷","÷":"÷","÷":"÷","⋇":"⋇","⋇":"⋇","ђ":"ђ","⌞":"⌞","⌍":"⌍","$":"$","𝕕":"𝕕","˙":"˙","≐":"≐","≑":"≑","∸":"∸","∔":"∔","⊡":"⊡","⌆":"⌆","↓":"↓","⇊":"⇊","⇃":"⇃","⇂":"⇂","⤐":"⤐","⌟":"⌟","⌌":"⌌","𝒹":"𝒹","ѕ":"ѕ","⧶":"⧶","đ":"đ","⋱":"⋱","▿":"▿","▾":"▾","⇵":"⇵","⥯":"⥯","⦦":"⦦","џ":"џ","⟿":"⟿","⩷":"⩷","≑":"≑","é":"é","é":"é","⩮":"⩮","ě":"ě","≖":"≖","ê":"ê","ê":"ê","≕":"≕","э":"э","ė":"ė","ⅇ":"ⅇ","≒":"≒","𝔢":"𝔢","⪚":"⪚","è":"è","è":"è","⪖":"⪖","⪘":"⪘","⪙":"⪙","⏧":"⏧","ℓ":"ℓ","⪕":"⪕","⪗":"⪗","ē":"ē","∅":"∅","∅":"∅","∅":"∅"," ":" "," ":" "," ":" ","ŋ":"ŋ"," ":" ","ę":"ę","𝕖":"𝕖","⋕":"⋕","⧣":"⧣","⩱":"⩱","ε":"ε","ε":"ε","ϵ":"ϵ","≖":"≖","≕":"≕","≂":"≂","⪖":"⪖","⪕":"⪕","=":"=","≟":"≟","≡":"≡","⩸":"⩸","⧥":"⧥","≓":"≓","⥱":"⥱","ℯ":"ℯ","≐":"≐","≂":"≂","η":"η","ð":"ð","ð":"ð","ë":"ë","ë":"ë","€":"€","!":"!","∃":"∃","ℰ":"ℰ","ⅇ":"ⅇ","≒":"≒","ф":"ф","♀":"♀","ffi":"ffi","ff":"ff","ffl":"ffl","𝔣":"𝔣","fi":"fi","fj":"fj","♭":"♭","fl":"fl","▱":"▱","ƒ":"ƒ","𝕗":"𝕗","∀":"∀","⋔":"⋔","⫙":"⫙","⨍":"⨍","½":"½","½":"½","⅓":"⅓","¼":"¼","¼":"¼","⅕":"⅕","⅙":"⅙","⅛":"⅛","⅔":"⅔","⅖":"⅖","¾":"¾","¾":"¾","⅗":"⅗","⅜":"⅜","⅘":"⅘","⅚":"⅚","⅝":"⅝","⅞":"⅞","⁄":"⁄","⌢":"⌢","𝒻":"𝒻","≧":"≧","⪌":"⪌","ǵ":"ǵ","γ":"γ","ϝ":"ϝ","⪆":"⪆","ğ":"ğ","ĝ":"ĝ","г":"г","ġ":"ġ","≥":"≥","⋛":"⋛","≥":"≥","≧":"≧","⩾":"⩾","⩾":"⩾","⪩":"⪩","⪀":"⪀","⪂":"⪂","⪄":"⪄","⋛︀":"⋛︀","⪔":"⪔","𝔤":"𝔤","≫":"≫","⋙":"⋙","ℷ":"ℷ","ѓ":"ѓ","≷":"≷","⪒":"⪒","⪥":"⪥","⪤":"⪤","≩":"≩","⪊":"⪊","⪊":"⪊","⪈":"⪈","⪈":"⪈","≩":"≩","⋧":"⋧","𝕘":"𝕘","`":"`","ℊ":"ℊ","≳":"≳","⪎":"⪎","⪐":"⪐",">":">",">":">","⪧":"⪧","⩺":"⩺","⋗":"⋗","⦕":"⦕","⩼":"⩼","⪆":"⪆","⥸":"⥸","⋗":"⋗","⋛":"⋛","⪌":"⪌","≷":"≷","≳":"≳","≩︀":"≩︀","≩︀":"≩︀","⇔":"⇔"," ":" ","½":"½","ℋ":"ℋ","ъ":"ъ","↔":"↔","⥈":"⥈","↭":"↭","ℏ":"ℏ","ĥ":"ĥ","♥":"♥","♥":"♥","…":"…","⊹":"⊹","𝔥":"𝔥","⤥":"⤥","⤦":"⤦","⇿":"⇿","∻":"∻","↩":"↩","↪":"↪","𝕙":"𝕙","―":"―","𝒽":"𝒽","ℏ":"ℏ","ħ":"ħ","⁃":"⁃","‐":"‐","í":"í","í":"í","⁣":"","î":"î","î":"î","и":"и","е":"е","¡":"¡","¡":"¡","⇔":"⇔","𝔦":"𝔦","ì":"ì","ì":"ì","ⅈ":"ⅈ","⨌":"⨌","∭":"∭","⧜":"⧜","℩":"℩","ij":"ij","ī":"ī","ℑ":"ℑ","ℐ":"ℐ","ℑ":"ℑ","ı":"ı","⊷":"⊷","Ƶ":"Ƶ","∈":"∈","℅":"℅","∞":"∞","⧝":"⧝","ı":"ı","∫":"∫","⊺":"⊺","ℤ":"ℤ","⊺":"⊺","⨗":"⨗","⨼":"⨼","ё":"ё","į":"į","𝕚":"𝕚","ι":"ι","⨼":"⨼","¿":"¿","¿":"¿","𝒾":"𝒾","∈":"∈","⋹":"⋹","⋵":"⋵","⋴":"⋴","⋳":"⋳","∈":"∈","⁢":"","ĩ":"ĩ","і":"і","ï":"ï","ï":"ï","ĵ":"ĵ","й":"й","𝔧":"𝔧","ȷ":"ȷ","𝕛":"𝕛","𝒿":"𝒿","ј":"ј","є":"є","κ":"κ","ϰ":"ϰ","ķ":"ķ","к":"к","𝔨":"𝔨","ĸ":"ĸ","х":"х","ќ":"ќ","𝕜":"𝕜","𝓀":"𝓀","⇚":"⇚","⇐":"⇐","⤛":"⤛","⤎":"⤎","≦":"≦","⪋":"⪋","⥢":"⥢","ĺ":"ĺ","⦴":"⦴","ℒ":"ℒ","λ":"λ","⟨":"⟨","⦑":"⦑","⟨":"⟨","⪅":"⪅","«":"«","«":"«","←":"←","⇤":"⇤","⤟":"⤟","⤝":"⤝","↩":"↩","↫":"↫","⤹":"⤹","⥳":"⥳","↢":"↢","⪫":"⪫","⤙":"⤙","⪭":"⪭","⪭︀":"⪭︀","⤌":"⤌","❲":"❲","{":"{","[":"[","⦋":"⦋","⦏":"⦏","⦍":"⦍","ľ":"ľ","ļ":"ļ","⌈":"⌈","{":"{","л":"л","⤶":"⤶","“":"“","„":"„","⥧":"⥧","⥋":"⥋","↲":"↲","≤":"≤","←":"←","↢":"↢","↽":"↽","↼":"↼","⇇":"⇇","↔":"↔","⇆":"⇆","⇋":"⇋","↭":"↭","⋋":"⋋","⋚":"⋚","≤":"≤","≦":"≦","⩽":"⩽","⩽":"⩽","⪨":"⪨","⩿":"⩿","⪁":"⪁","⪃":"⪃","⋚︀":"⋚︀","⪓":"⪓","⪅":"⪅","⋖":"⋖","⋚":"⋚","⪋":"⪋","≶":"≶","≲":"≲","⥼":"⥼","⌊":"⌊","𝔩":"𝔩","≶":"≶","⪑":"⪑","↽":"↽","↼":"↼","⥪":"⥪","▄":"▄","љ":"љ","≪":"≪","⇇":"⇇","⌞":"⌞","⥫":"⥫","◺":"◺","ŀ":"ŀ","⎰":"⎰","⎰":"⎰","≨":"≨","⪉":"⪉","⪉":"⪉","⪇":"⪇","⪇":"⪇","≨":"≨","⋦":"⋦","⟬":"⟬","⇽":"⇽","⟦":"⟦","⟵":"⟵","⟷":"⟷","⟼":"⟼","⟶":"⟶","↫":"↫","↬":"↬","⦅":"⦅","𝕝":"𝕝","⨭":"⨭","⨴":"⨴","∗":"∗","_":"_","◊":"◊","◊":"◊","⧫":"⧫","(":"(","⦓":"⦓","⇆":"⇆","⌟":"⌟","⇋":"⇋","⥭":"⥭","‎":"","⊿":"⊿","‹":"‹","𝓁":"𝓁","↰":"↰","≲":"≲","⪍":"⪍","⪏":"⪏","[":"[","‘":"‘","‚":"‚","ł":"ł","<":"<","<":"<","⪦":"⪦","⩹":"⩹","⋖":"⋖","⋋":"⋋","⋉":"⋉","⥶":"⥶","⩻":"⩻","⦖":"⦖","◃":"◃","⊴":"⊴","◂":"◂","⥊":"⥊","⥦":"⥦","≨︀":"≨︀","≨︀":"≨︀","∺":"∺","¯":"¯","¯":"¯","♂":"♂","✠":"✠","✠":"✠","↦":"↦","↦":"↦","↧":"↧","↤":"↤","↥":"↥","▮":"▮","⨩":"⨩","м":"м","—":"—","∡":"∡","𝔪":"𝔪","℧":"℧","µ":"µ","µ":"µ","∣":"∣","*":"*","⫰":"⫰","·":"·","·":"·","−":"−","⊟":"⊟","∸":"∸","⨪":"⨪","⫛":"⫛","…":"…","∓":"∓","⊧":"⊧","𝕞":"𝕞","∓":"∓","𝓂":"𝓂","∾":"∾","μ":"μ","⊸":"⊸","⊸":"⊸","⋙̸":"⋙̸","≫⃒":"≫⃒","≫̸":"≫̸","⇍":"⇍","⇎":"⇎","⋘̸":"⋘̸","≪⃒":"≪⃒","≪̸":"≪̸","⇏":"⇏","⊯":"⊯","⊮":"⊮","∇":"∇","ń":"ń","∠⃒":"∠⃒","≉":"≉","⩰̸":"⩰̸","≋̸":"≋̸","ʼn":"ʼn","≉":"≉","♮":"♮","♮":"♮","ℕ":"ℕ"," ":" "," ":" ","≎̸":"≎̸","≏̸":"≏̸","⩃":"⩃","ň":"ň","ņ":"ņ","≇":"≇","⩭̸":"⩭̸","⩂":"⩂","н":"н","–":"–","≠":"≠","⇗":"⇗","⤤":"⤤","↗":"↗","↗":"↗","≐̸":"≐̸","≢":"≢","⤨":"⤨","≂̸":"≂̸","∄":"∄","∄":"∄","𝔫":"𝔫","≧̸":"≧̸","≱":"≱","≱":"≱","≧̸":"≧̸","⩾̸":"⩾̸","⩾̸":"⩾̸","≵":"≵","≯":"≯","≯":"≯","⇎":"⇎","↮":"↮","⫲":"⫲","∋":"∋","⋼":"⋼","⋺":"⋺","∋":"∋","њ":"њ","⇍":"⇍","≦̸":"≦̸","↚":"↚","‥":"‥","≰":"≰","↚":"↚","↮":"↮","≰":"≰","≦̸":"≦̸","⩽̸":"⩽̸","⩽̸":"⩽̸","≮":"≮","≴":"≴","≮":"≮","⋪":"⋪","⋬":"⋬","∤":"∤","𝕟":"𝕟","¬":"¬","¬":"¬","∉":"∉","⋹̸":"⋹̸","⋵̸":"⋵̸","∉":"∉","⋷":"⋷","⋶":"⋶","∌":"∌","∌":"∌","⋾":"⋾","⋽":"⋽","∦":"∦","∦":"∦","⫽⃥":"⫽⃥","∂̸":"∂̸","⨔":"⨔","⊀":"⊀","⋠":"⋠","⪯̸":"⪯̸","⊀":"⊀","⪯̸":"⪯̸","⇏":"⇏","↛":"↛","⤳̸":"⤳̸","↝̸":"↝̸","↛":"↛","⋫":"⋫","⋭":"⋭","⊁":"⊁","⋡":"⋡","⪰̸":"⪰̸","𝓃":"𝓃","∤":"∤","∦":"∦","≁":"≁","≄":"≄","≄":"≄","∤":"∤","∦":"∦","⋢":"⋢","⋣":"⋣","⊄":"⊄","⫅̸":"⫅̸","⊈":"⊈","⊂⃒":"⊂⃒","⊈":"⊈","⫅̸":"⫅̸","⊁":"⊁","⪰̸":"⪰̸","⊅":"⊅","⫆̸":"⫆̸","⊉":"⊉","⊃⃒":"⊃⃒","⊉":"⊉","⫆̸":"⫆̸","≹":"≹","ñ":"ñ","ñ":"ñ","≸":"≸","⋪":"⋪","⋬":"⋬","⋫":"⋫","⋭":"⋭","ν":"ν","#":"#","№":"№"," ":" ","⊭":"⊭","⤄":"⤄","≍⃒":"≍⃒","⊬":"⊬","≥⃒":"≥⃒",">⃒":">⃒","⧞":"⧞","⤂":"⤂","≤⃒":"≤⃒","<⃒":"<⃒","⊴⃒":"⊴⃒","⤃":"⤃","⊵⃒":"⊵⃒","∼⃒":"∼⃒","⇖":"⇖","⤣":"⤣","↖":"↖","↖":"↖","⤧":"⤧","Ⓢ":"Ⓢ","ó":"ó","ó":"ó","⊛":"⊛","⊚":"⊚","ô":"ô","ô":"ô","о":"о","⊝":"⊝","ő":"ő","⨸":"⨸","⊙":"⊙","⦼":"⦼","œ":"œ","⦿":"⦿","𝔬":"𝔬","˛":"˛","ò":"ò","ò":"ò","⧁":"⧁","⦵":"⦵","Ω":"Ω","∮":"∮","↺":"↺","⦾":"⦾","⦻":"⦻","‾":"‾","⧀":"⧀","ō":"ō","ω":"ω","ο":"ο","⦶":"⦶","⊖":"⊖","𝕠":"𝕠","⦷":"⦷","⦹":"⦹","⊕":"⊕","∨":"∨","↻":"↻","⩝":"⩝","ℴ":"ℴ","ℴ":"ℴ","ª":"ª","ª":"ª","º":"º","º":"º","⊶":"⊶","⩖":"⩖","⩗":"⩗","⩛":"⩛","ℴ":"ℴ","ø":"ø","ø":"ø","⊘":"⊘","õ":"õ","õ":"õ","⊗":"⊗","⨶":"⨶","ö":"ö","ö":"ö","⌽":"⌽","∥":"∥","¶":"¶","¶":"¶","∥":"∥","⫳":"⫳","⫽":"⫽","∂":"∂","п":"п","%":"%",".":".","‰":"‰","⊥":"⊥","‱":"‱","𝔭":"𝔭","φ":"φ","ϕ":"ϕ","ℳ":"ℳ","☎":"☎","π":"π","⋔":"⋔","ϖ":"ϖ","ℏ":"ℏ","ℎ":"ℎ","ℏ":"ℏ","+":"+","⨣":"⨣","⊞":"⊞","⨢":"⨢","∔":"∔","⨥":"⨥","⩲":"⩲","±":"±","±":"±","⨦":"⨦","⨧":"⨧","±":"±","⨕":"⨕","𝕡":"𝕡","£":"£","£":"£","≺":"≺","⪳":"⪳","⪷":"⪷","≼":"≼","⪯":"⪯","≺":"≺","⪷":"⪷","≼":"≼","⪯":"⪯","⪹":"⪹","⪵":"⪵","⋨":"⋨","≾":"≾","′":"′","ℙ":"ℙ","⪵":"⪵","⪹":"⪹","⋨":"⋨","∏":"∏","⌮":"⌮","⌒":"⌒","⌓":"⌓","∝":"∝","∝":"∝","≾":"≾","⊰":"⊰","𝓅":"𝓅","ψ":"ψ"," ":" ","𝔮":"𝔮","⨌":"⨌","𝕢":"𝕢","⁗":"⁗","𝓆":"𝓆","ℍ":"ℍ","⨖":"⨖","?":"?","≟":"≟",""":'"',""":'"',"⇛":"⇛","⇒":"⇒","⤜":"⤜","⤏":"⤏","⥤":"⥤","∽̱":"∽̱","ŕ":"ŕ","√":"√","⦳":"⦳","⟩":"⟩","⦒":"⦒","⦥":"⦥","⟩":"⟩","»":"»","»":"»","→":"→","⥵":"⥵","⇥":"⇥","⤠":"⤠","⤳":"⤳","⤞":"⤞","↪":"↪","↬":"↬","⥅":"⥅","⥴":"⥴","↣":"↣","↝":"↝","⤚":"⤚","∶":"∶","ℚ":"ℚ","⤍":"⤍","❳":"❳","}":"}","]":"]","⦌":"⦌","⦎":"⦎","⦐":"⦐","ř":"ř","ŗ":"ŗ","⌉":"⌉","}":"}","р":"р","⤷":"⤷","⥩":"⥩","”":"”","”":"”","↳":"↳","ℜ":"ℜ","ℛ":"ℛ","ℜ":"ℜ","ℝ":"ℝ","▭":"▭","®":"®","®":"®","⥽":"⥽","⌋":"⌋","𝔯":"𝔯","⇁":"⇁","⇀":"⇀","⥬":"⥬","ρ":"ρ","ϱ":"ϱ","→":"→","↣":"↣","⇁":"⇁","⇀":"⇀","⇄":"⇄","⇌":"⇌","⇉":"⇉","↝":"↝","⋌":"⋌","˚":"˚","≓":"≓","⇄":"⇄","⇌":"⇌","‏":"","⎱":"⎱","⎱":"⎱","⫮":"⫮","⟭":"⟭","⇾":"⇾","⟧":"⟧","⦆":"⦆","𝕣":"𝕣","⨮":"⨮","⨵":"⨵",")":")","⦔":"⦔","⨒":"⨒","⇉":"⇉","›":"›","𝓇":"𝓇","↱":"↱","]":"]","’":"’","’":"’","⋌":"⋌","⋊":"⋊","▹":"▹","⊵":"⊵","▸":"▸","⧎":"⧎","⥨":"⥨","℞":"℞","ś":"ś","‚":"‚","≻":"≻","⪴":"⪴","⪸":"⪸","š":"š","≽":"≽","⪰":"⪰","ş":"ş","ŝ":"ŝ","⪶":"⪶","⪺":"⪺","⋩":"⋩","⨓":"⨓","≿":"≿","с":"с","⋅":"⋅","⊡":"⊡","⩦":"⩦","⇘":"⇘","⤥":"⤥","↘":"↘","↘":"↘","§":"§","§":"§",";":";","⤩":"⤩","∖":"∖","∖":"∖","✶":"✶","𝔰":"𝔰","⌢":"⌢","♯":"♯","щ":"щ","ш":"ш","∣":"∣","∥":"∥","­":"","­":"","σ":"σ","ς":"ς","ς":"ς","∼":"∼","⩪":"⩪","≃":"≃","≃":"≃","⪞":"⪞","⪠":"⪠","⪝":"⪝","⪟":"⪟","≆":"≆","⨤":"⨤","⥲":"⥲","←":"←","∖":"∖","⨳":"⨳","⧤":"⧤","∣":"∣","⌣":"⌣","⪪":"⪪","⪬":"⪬","⪬︀":"⪬︀","ь":"ь","/":"/","⧄":"⧄","⌿":"⌿","𝕤":"𝕤","♠":"♠","♠":"♠","∥":"∥","⊓":"⊓","⊓︀":"⊓︀","⊔":"⊔","⊔︀":"⊔︀","⊏":"⊏","⊑":"⊑","⊏":"⊏","⊑":"⊑","⊐":"⊐","⊒":"⊒","⊐":"⊐","⊒":"⊒","□":"□","□":"□","▪":"▪","▪":"▪","→":"→","𝓈":"𝓈","∖":"∖","⌣":"⌣","⋆":"⋆","☆":"☆","★":"★","ϵ":"ϵ","ϕ":"ϕ","¯":"¯","⊂":"⊂","⫅":"⫅","⪽":"⪽","⊆":"⊆","⫃":"⫃","⫁":"⫁","⫋":"⫋","⊊":"⊊","⪿":"⪿","⥹":"⥹","⊂":"⊂","⊆":"⊆","⫅":"⫅","⊊":"⊊","⫋":"⫋","⫇":"⫇","⫕":"⫕","⫓":"⫓","≻":"≻","⪸":"⪸","≽":"≽","⪰":"⪰","⪺":"⪺","⪶":"⪶","⋩":"⋩","≿":"≿","∑":"∑","♪":"♪","¹":"¹","¹":"¹","²":"²","²":"²","³":"³","³":"³","⊃":"⊃","⫆":"⫆","⪾":"⪾","⫘":"⫘","⊇":"⊇","⫄":"⫄","⟉":"⟉","⫗":"⫗","⥻":"⥻","⫂":"⫂","⫌":"⫌","⊋":"⊋","⫀":"⫀","⊃":"⊃","⊇":"⊇","⫆":"⫆","⊋":"⊋","⫌":"⫌","⫈":"⫈","⫔":"⫔","⫖":"⫖","⇙":"⇙","⤦":"⤦","↙":"↙","↙":"↙","⤪":"⤪","ß":"ß","ß":"ß","⌖":"⌖","τ":"τ","⎴":"⎴","ť":"ť","ţ":"ţ","т":"т","⃛":"⃛","⌕":"⌕","𝔱":"𝔱","∴":"∴","∴":"∴","θ":"θ","ϑ":"ϑ","ϑ":"ϑ","≈":"≈","∼":"∼"," ":" ","≈":"≈","∼":"∼","þ":"þ","þ":"þ","˜":"˜","×":"×","×":"×","⊠":"⊠","⨱":"⨱","⨰":"⨰","∭":"∭","⤨":"⤨","⊤":"⊤","⌶":"⌶","⫱":"⫱","𝕥":"𝕥","⫚":"⫚","⤩":"⤩","‴":"‴","™":"™","▵":"▵","▿":"▿","◃":"◃","⊴":"⊴","≜":"≜","▹":"▹","⊵":"⊵","◬":"◬","≜":"≜","⨺":"⨺","⨹":"⨹","⧍":"⧍","⨻":"⨻","⏢":"⏢","𝓉":"𝓉","ц":"ц","ћ":"ћ","ŧ":"ŧ","≬":"≬","↞":"↞","↠":"↠","⇑":"⇑","⥣":"⥣","ú":"ú","ú":"ú","↑":"↑","ў":"ў","ŭ":"ŭ","û":"û","û":"û","у":"у","⇅":"⇅","ű":"ű","⥮":"⥮","⥾":"⥾","𝔲":"𝔲","ù":"ù","ù":"ù","↿":"↿","↾":"↾","▀":"▀","⌜":"⌜","⌜":"⌜","⌏":"⌏","◸":"◸","ū":"ū","¨":"¨","¨":"¨","ų":"ų","𝕦":"𝕦","↑":"↑","↕":"↕","↿":"↿","↾":"↾","⊎":"⊎","υ":"υ","ϒ":"ϒ","υ":"υ","⇈":"⇈","⌝":"⌝","⌝":"⌝","⌎":"⌎","ů":"ů","◹":"◹","𝓊":"𝓊","⋰":"⋰","ũ":"ũ","▵":"▵","▴":"▴","⇈":"⇈","ü":"ü","ü":"ü","⦧":"⦧","⇕":"⇕","⫨":"⫨","⫩":"⫩","⊨":"⊨","⦜":"⦜","ϵ":"ϵ","ϰ":"ϰ","∅":"∅","ϕ":"ϕ","ϖ":"ϖ","∝":"∝","↕":"↕","ϱ":"ϱ","ς":"ς","⊊︀":"⊊︀","⫋︀":"⫋︀","⊋︀":"⊋︀","⫌︀":"⫌︀","ϑ":"ϑ","⊲":"⊲","⊳":"⊳","в":"в","⊢":"⊢","∨":"∨","⊻":"⊻","≚":"≚","⋮":"⋮","|":"|","|":"|","𝔳":"𝔳","⊲":"⊲","⊂⃒":"⊂⃒","⊃⃒":"⊃⃒","𝕧":"𝕧","∝":"∝","⊳":"⊳","𝓋":"𝓋","⫋︀":"⫋︀","⊊︀":"⊊︀","⫌︀":"⫌︀","⊋︀":"⊋︀","⦚":"⦚","ŵ":"ŵ","⩟":"⩟","∧":"∧","≙":"≙","℘":"℘","𝔴":"𝔴","𝕨":"𝕨","℘":"℘","≀":"≀","≀":"≀","𝓌":"𝓌","⋂":"⋂","◯":"◯","⋃":"⋃","▽":"▽","𝔵":"𝔵","⟺":"⟺","⟷":"⟷","ξ":"ξ","⟸":"⟸","⟵":"⟵","⟼":"⟼","⋻":"⋻","⨀":"⨀","𝕩":"𝕩","⨁":"⨁","⨂":"⨂","⟹":"⟹","⟶":"⟶","𝓍":"𝓍","⨆":"⨆","⨄":"⨄","△":"△","⋁":"⋁","⋀":"⋀","ý":"ý","ý":"ý","я":"я","ŷ":"ŷ","ы":"ы","¥":"¥","¥":"¥","𝔶":"𝔶","ї":"ї","𝕪":"𝕪","𝓎":"𝓎","ю":"ю","ÿ":"ÿ","ÿ":"ÿ","ź":"ź","ž":"ž","з":"з","ż":"ż","ℨ":"ℨ","ζ":"ζ","𝔷":"𝔷","ж":"ж","⇝":"⇝","𝕫":"𝕫","𝓏":"𝓏","‍":"","‌":""},characters:{Æ:"Æ","&":"&",Á:"Á",Ă:"Ă",Â:"Â",А:"А",𝔄:"𝔄",À:"À",Α:"Α",Ā:"Ā","⩓":"⩓",Ą:"Ą",𝔸:"𝔸","":"⁡",Å:"Å",𝒜:"𝒜","≔":"≔",Ã:"Ã",Ä:"Ä","∖":"∖","⫧":"⫧","⌆":"⌆",Б:"Б","∵":"∵",ℬ:"ℬ",Β:"Β",𝔅:"𝔅",𝔹:"𝔹","˘":"˘","≎":"≎",Ч:"Ч","©":"©",Ć:"Ć","⋒":"⋒",ⅅ:"ⅅ",ℭ:"ℭ",Č:"Č",Ç:"Ç",Ĉ:"Ĉ","∰":"∰",Ċ:"Ċ","¸":"¸","·":"·",Χ:"Χ","⊙":"⊙","⊖":"⊖","⊕":"⊕","⊗":"⊗","∲":"∲","”":"”","’":"’","∷":"∷","⩴":"⩴","≡":"≡","∯":"∯","∮":"∮",ℂ:"ℂ","∐":"∐","∳":"∳","⨯":"⨯",𝒞:"𝒞","⋓":"⋓","≍":"≍","⤑":"⤑",Ђ:"Ђ",Ѕ:"Ѕ",Џ:"Џ","‡":"‡","↡":"↡","⫤":"⫤",Ď:"Ď",Д:"Д","∇":"∇",Δ:"Δ",𝔇:"𝔇","´":"´","˙":"˙","˝":"˝","`":"`","˜":"˜","⋄":"⋄",ⅆ:"ⅆ",𝔻:"𝔻","¨":"¨","⃜":"⃜","≐":"≐","⇓":"⇓","⇐":"⇐","⇔":"⇔","⟸":"⟸","⟺":"⟺","⟹":"⟹","⇒":"⇒","⊨":"⊨","⇑":"⇑","⇕":"⇕","∥":"∥","↓":"↓","⤓":"⤓","⇵":"⇵","̑":"̑","⥐":"⥐","⥞":"⥞","↽":"↽","⥖":"⥖","⥟":"⥟","⇁":"⇁","⥗":"⥗","⊤":"⊤","↧":"↧",𝒟:"𝒟",Đ:"Đ",Ŋ:"Ŋ",Ð:"Ð",É:"É",Ě:"Ě",Ê:"Ê",Э:"Э",Ė:"Ė",𝔈:"𝔈",È:"È","∈":"∈",Ē:"Ē","◻":"◻","▫":"▫",Ę:"Ę",𝔼:"𝔼",Ε:"Ε","⩵":"⩵","≂":"≂","⇌":"⇌",ℰ:"ℰ","⩳":"⩳",Η:"Η",Ë:"Ë","∃":"∃",ⅇ:"ⅇ",Ф:"Ф",𝔉:"𝔉","◼":"◼","▪":"▪",𝔽:"𝔽","∀":"∀",ℱ:"ℱ",Ѓ:"Ѓ",">":">",Γ:"Γ",Ϝ:"Ϝ",Ğ:"Ğ",Ģ:"Ģ",Ĝ:"Ĝ",Г:"Г",Ġ:"Ġ",𝔊:"𝔊","⋙":"⋙",𝔾:"𝔾","≥":"≥","⋛":"⋛","≧":"≧","⪢":"⪢","≷":"≷","⩾":"⩾","≳":"≳",𝒢:"𝒢","≫":"≫",Ъ:"Ъ",ˇ:"ˇ","^":"^",Ĥ:"Ĥ",ℌ:"ℌ",ℋ:"ℋ",ℍ:"ℍ","─":"─",Ħ:"Ħ","≏":"≏",Е:"Е",IJ:"IJ",Ё:"Ё",Í:"Í",Î:"Î",И:"И",İ:"İ",ℑ:"ℑ",Ì:"Ì",Ī:"Ī",ⅈ:"ⅈ","∬":"∬","∫":"∫","⋂":"⋂","":"⁣","":"⁢",Į:"Į",𝕀:"𝕀",Ι:"Ι",ℐ:"ℐ",Ĩ:"Ĩ",І:"І",Ï:"Ï",Ĵ:"Ĵ",Й:"Й",𝔍:"𝔍",𝕁:"𝕁",𝒥:"𝒥",Ј:"Ј",Є:"Є",Х:"Х",Ќ:"Ќ",Κ:"Κ",Ķ:"Ķ",К:"К",𝔎:"𝔎",𝕂:"𝕂",𝒦:"𝒦",Љ:"Љ","<":"<",Ĺ:"Ĺ",Λ:"Λ","⟪":"⟪",ℒ:"ℒ","↞":"↞",Ľ:"Ľ",Ļ:"Ļ",Л:"Л","⟨":"⟨","←":"←","⇤":"⇤","⇆":"⇆","⌈":"⌈","⟦":"⟦","⥡":"⥡","⇃":"⇃","⥙":"⥙","⌊":"⌊","↔":"↔","⥎":"⥎","⊣":"⊣","↤":"↤","⥚":"⥚","⊲":"⊲","⧏":"⧏","⊴":"⊴","⥑":"⥑","⥠":"⥠","↿":"↿","⥘":"⥘","↼":"↼","⥒":"⥒","⋚":"⋚","≦":"≦","≶":"≶","⪡":"⪡","⩽":"⩽","≲":"≲",𝔏:"𝔏","⋘":"⋘","⇚":"⇚",Ŀ:"Ŀ","⟵":"⟵","⟷":"⟷","⟶":"⟶",𝕃:"𝕃","↙":"↙","↘":"↘","↰":"↰",Ł:"Ł","≪":"≪","⤅":"⤅",М:"М"," ":" ",ℳ:"ℳ",𝔐:"𝔐","∓":"∓",𝕄:"𝕄",Μ:"Μ",Њ:"Њ",Ń:"Ń",Ň:"Ň",Ņ:"Ņ",Н:"Н","":"​","\n":"
",𝔑:"𝔑","":"⁠"," ":" ",ℕ:"ℕ","⫬":"⫬","≢":"≢","≭":"≭","∦":"∦","∉":"∉","≠":"≠","≂̸":"≂̸","∄":"∄","≯":"≯","≱":"≱","≧̸":"≧̸","≫̸":"≫̸","≹":"≹","⩾̸":"⩾̸","≵":"≵","≎̸":"≎̸","≏̸":"≏̸","⋪":"⋪","⧏̸":"⧏̸","⋬":"⋬","≮":"≮","≰":"≰","≸":"≸","≪̸":"≪̸","⩽̸":"⩽̸","≴":"≴","⪢̸":"⪢̸","⪡̸":"⪡̸","⊀":"⊀","⪯̸":"⪯̸","⋠":"⋠","∌":"∌","⋫":"⋫","⧐̸":"⧐̸","⋭":"⋭","⊏̸":"⊏̸","⋢":"⋢","⊐̸":"⊐̸","⋣":"⋣","⊂⃒":"⊂⃒","⊈":"⊈","⊁":"⊁","⪰̸":"⪰̸","⋡":"⋡","≿̸":"≿̸","⊃⃒":"⊃⃒","⊉":"⊉","≁":"≁","≄":"≄","≇":"≇","≉":"≉","∤":"∤",𝒩:"𝒩",Ñ:"Ñ",Ν:"Ν",Œ:"Œ",Ó:"Ó",Ô:"Ô",О:"О",Ő:"Ő",𝔒:"𝔒",Ò:"Ò",Ō:"Ō",Ω:"Ω",Ο:"Ο",𝕆:"𝕆","“":"“","‘":"‘","⩔":"⩔",𝒪:"𝒪",Ø:"Ø",Õ:"Õ","⨷":"⨷",Ö:"Ö","‾":"‾","⏞":"⏞","⎴":"⎴","⏜":"⏜","∂":"∂",П:"П",𝔓:"𝔓",Φ:"Φ",Π:"Π","±":"±",ℙ:"ℙ","⪻":"⪻","≺":"≺","⪯":"⪯","≼":"≼","≾":"≾","″":"″","∏":"∏","∝":"∝",𝒫:"𝒫",Ψ:"Ψ",'"':""",𝔔:"𝔔",ℚ:"ℚ",𝒬:"𝒬","⤐":"⤐","®":"®",Ŕ:"Ŕ","⟫":"⟫","↠":"↠","⤖":"⤖",Ř:"Ř",Ŗ:"Ŗ",Р:"Р",ℜ:"ℜ","∋":"∋","⇋":"⇋","⥯":"⥯",Ρ:"Ρ","⟩":"⟩","→":"→","⇥":"⇥","⇄":"⇄","⌉":"⌉","⟧":"⟧","⥝":"⥝","⇂":"⇂","⥕":"⥕","⌋":"⌋","⊢":"⊢","↦":"↦","⥛":"⥛","⊳":"⊳","⧐":"⧐","⊵":"⊵","⥏":"⥏","⥜":"⥜","↾":"↾","⥔":"⥔","⇀":"⇀","⥓":"⥓",ℝ:"ℝ","⥰":"⥰","⇛":"⇛",ℛ:"ℛ","↱":"↱","⧴":"⧴",Щ:"Щ",Ш:"Ш",Ь:"Ь",Ś:"Ś","⪼":"⪼",Š:"Š",Ş:"Ş",Ŝ:"Ŝ",С:"С",𝔖:"𝔖","↑":"↑",Σ:"Σ","∘":"∘",𝕊:"𝕊","√":"√","□":"□","⊓":"⊓","⊏":"⊏","⊑":"⊑","⊐":"⊐","⊒":"⊒","⊔":"⊔",𝒮:"𝒮","⋆":"⋆","⋐":"⋐","⊆":"⊆","≻":"≻","⪰":"⪰","≽":"≽","≿":"≿","∑":"∑","⋑":"⋑","⊃":"⊃","⊇":"⊇",Þ:"Þ","™":"™",Ћ:"Ћ",Ц:"Ц","\t":"	",Τ:"Τ",Ť:"Ť",Ţ:"Ţ",Т:"Т",𝔗:"𝔗","∴":"∴",Θ:"Θ"," ":"  "," ":" ","∼":"∼","≃":"≃","≅":"≅","≈":"≈",𝕋:"𝕋","⃛":"⃛",𝒯:"𝒯",Ŧ:"Ŧ",Ú:"Ú","↟":"↟","⥉":"⥉",Ў:"Ў",Ŭ:"Ŭ",Û:"Û",У:"У",Ű:"Ű",𝔘:"𝔘",Ù:"Ù",Ū:"Ū",_:"_","⏟":"⏟","⎵":"⎵","⏝":"⏝","⋃":"⋃","⊎":"⊎",Ų:"Ų",𝕌:"𝕌","⤒":"⤒","⇅":"⇅","↕":"↕","⥮":"⥮","⊥":"⊥","↥":"↥","↖":"↖","↗":"↗",ϒ:"ϒ",Υ:"Υ",Ů:"Ů",𝒰:"𝒰",Ũ:"Ũ",Ü:"Ü","⊫":"⊫","⫫":"⫫",В:"В","⊩":"⊩","⫦":"⫦","⋁":"⋁","‖":"‖","∣":"∣","|":"|","❘":"❘","≀":"≀"," ":" ",𝔙:"𝔙",𝕍:"𝕍",𝒱:"𝒱","⊪":"⊪",Ŵ:"Ŵ","⋀":"⋀",𝔚:"𝔚",𝕎:"𝕎",𝒲:"𝒲",𝔛:"𝔛",Ξ:"Ξ",𝕏:"𝕏",𝒳:"𝒳",Я:"Я",Ї:"Ї",Ю:"Ю",Ý:"Ý",Ŷ:"Ŷ",Ы:"Ы",𝔜:"𝔜",𝕐:"𝕐",𝒴:"𝒴",Ÿ:"Ÿ",Ж:"Ж",Ź:"Ź",Ž:"Ž",З:"З",Ż:"Ż",Ζ:"Ζ",ℨ:"ℨ",ℤ:"ℤ",𝒵:"𝒵",á:"á",ă:"ă","∾":"∾","∾̳":"∾̳","∿":"∿",â:"â",а:"а",æ:"æ",𝔞:"𝔞",à:"à",ℵ:"ℵ",α:"α",ā:"ā","⨿":"⨿","∧":"∧","⩕":"⩕","⩜":"⩜","⩘":"⩘","⩚":"⩚","∠":"∠","⦤":"⦤","∡":"∡","⦨":"⦨","⦩":"⦩","⦪":"⦪","⦫":"⦫","⦬":"⦬","⦭":"⦭","⦮":"⦮","⦯":"⦯","∟":"∟","⊾":"⊾","⦝":"⦝","∢":"∢","⍼":"⍼",ą:"ą",𝕒:"𝕒","⩰":"⩰","⩯":"⩯","≊":"≊","≋":"≋","'":"'",å:"å",𝒶:"𝒶","*":"*",ã:"ã",ä:"ä","⨑":"⨑","⫭":"⫭","≌":"≌","϶":"϶","‵":"‵","∽":"∽","⋍":"⋍","⊽":"⊽","⌅":"⌅","⎶":"⎶",б:"б","„":"„","⦰":"⦰",β:"β",ℶ:"ℶ","≬":"≬",𝔟:"𝔟","◯":"◯","⨀":"⨀","⨁":"⨁","⨂":"⨂","⨆":"⨆","★":"★","▽":"▽","△":"△","⨄":"⨄","⤍":"⤍","⧫":"⧫","▴":"▴","▾":"▾","◂":"◂","▸":"▸","␣":"␣","▒":"▒","░":"░","▓":"▓","█":"█","=⃥":"=⃥","≡⃥":"≡⃥","⌐":"⌐",𝕓:"𝕓","⋈":"⋈","╗":"╗","╔":"╔","╖":"╖","╓":"╓","═":"═","╦":"╦","╩":"╩","╤":"╤","╧":"╧","╝":"╝","╚":"╚","╜":"╜","╙":"╙","║":"║","╬":"╬","╣":"╣","╠":"╠","╫":"╫","╢":"╢","╟":"╟","⧉":"⧉","╕":"╕","╒":"╒","┐":"┐","┌":"┌","╥":"╥","╨":"╨","┬":"┬","┴":"┴","⊟":"⊟","⊞":"⊞","⊠":"⊠","╛":"╛","╘":"╘","┘":"┘","└":"└","│":"│","╪":"╪","╡":"╡","╞":"╞","┼":"┼","┤":"┤","├":"├","¦":"¦",𝒷:"𝒷","⁏":"⁏","\\":"\","⧅":"⧅","⟈":"⟈","•":"•","⪮":"⪮",ć:"ć","∩":"∩","⩄":"⩄","⩉":"⩉","⩋":"⩋","⩇":"⩇","⩀":"⩀","∩︀":"∩︀","⁁":"⁁","⩍":"⩍",č:"č",ç:"ç",ĉ:"ĉ","⩌":"⩌","⩐":"⩐",ċ:"ċ","⦲":"⦲","¢":"¢",𝔠:"𝔠",ч:"ч","✓":"✓",χ:"χ","○":"○","⧃":"⧃",ˆ:"ˆ","≗":"≗","↺":"↺","↻":"↻","Ⓢ":"Ⓢ","⊛":"⊛","⊚":"⊚","⊝":"⊝","⨐":"⨐","⫯":"⫯","⧂":"⧂","♣":"♣",":":":",",":",","@":"@","∁":"∁","⩭":"⩭",𝕔:"𝕔","℗":"℗","↵":"↵","✗":"✗",𝒸:"𝒸","⫏":"⫏","⫑":"⫑","⫐":"⫐","⫒":"⫒","⋯":"⋯","⤸":"⤸","⤵":"⤵","⋞":"⋞","⋟":"⋟","↶":"↶","⤽":"⤽","∪":"∪","⩈":"⩈","⩆":"⩆","⩊":"⩊","⊍":"⊍","⩅":"⩅","∪︀":"∪︀","↷":"↷","⤼":"⤼","⋎":"⋎","⋏":"⋏","¤":"¤","∱":"∱","⌭":"⌭","⥥":"⥥","†":"†",ℸ:"ℸ","‐":"‐","⤏":"⤏",ď:"ď",д:"д","⇊":"⇊","⩷":"⩷","°":"°",δ:"δ","⦱":"⦱","⥿":"⥿",𝔡:"𝔡","♦":"♦",ϝ:"ϝ","⋲":"⋲","÷":"÷","⋇":"⋇",ђ:"ђ","⌞":"⌞","⌍":"⌍",$:"$",𝕕:"𝕕","≑":"≑","∸":"∸","∔":"∔","⊡":"⊡","⌟":"⌟","⌌":"⌌",𝒹:"𝒹",ѕ:"ѕ","⧶":"⧶",đ:"đ","⋱":"⋱","▿":"▿","⦦":"⦦",џ:"џ","⟿":"⟿",é:"é","⩮":"⩮",ě:"ě","≖":"≖",ê:"ê","≕":"≕",э:"э",ė:"ė","≒":"≒",𝔢:"𝔢","⪚":"⪚",è:"è","⪖":"⪖","⪘":"⪘","⪙":"⪙","⏧":"⏧",ℓ:"ℓ","⪕":"⪕","⪗":"⪗",ē:"ē","∅":"∅"," ":" "," ":" "," ":" ",ŋ:"ŋ"," ":" ",ę:"ę",𝕖:"𝕖","⋕":"⋕","⧣":"⧣","⩱":"⩱",ε:"ε",ϵ:"ϵ","=":"=","≟":"≟","⩸":"⩸","⧥":"⧥","≓":"≓","⥱":"⥱",ℯ:"ℯ",η:"η",ð:"ð",ë:"ë","€":"€","!":"!",ф:"ф","♀":"♀",ffi:"ffi",ff:"ff",ffl:"ffl",𝔣:"𝔣",fi:"fi",fj:"fj","♭":"♭",fl:"fl","▱":"▱",ƒ:"ƒ",𝕗:"𝕗","⋔":"⋔","⫙":"⫙","⨍":"⨍","½":"½","⅓":"⅓","¼":"¼","⅕":"⅕","⅙":"⅙","⅛":"⅛","⅔":"⅔","⅖":"⅖","¾":"¾","⅗":"⅗","⅜":"⅜","⅘":"⅘","⅚":"⅚","⅝":"⅝","⅞":"⅞","⁄":"⁄","⌢":"⌢",𝒻:"𝒻","⪌":"⪌",ǵ:"ǵ",γ:"γ","⪆":"⪆",ğ:"ğ",ĝ:"ĝ",г:"г",ġ:"ġ","⪩":"⪩","⪀":"⪀","⪂":"⪂","⪄":"⪄","⋛︀":"⋛︀","⪔":"⪔",𝔤:"𝔤",ℷ:"ℷ",ѓ:"ѓ","⪒":"⪒","⪥":"⪥","⪤":"⪤","≩":"≩","⪊":"⪊","⪈":"⪈","⋧":"⋧",𝕘:"𝕘",ℊ:"ℊ","⪎":"⪎","⪐":"⪐","⪧":"⪧","⩺":"⩺","⋗":"⋗","⦕":"⦕","⩼":"⩼","⥸":"⥸","≩︀":"≩︀",ъ:"ъ","⥈":"⥈","↭":"↭",ℏ:"ℏ",ĥ:"ĥ","♥":"♥","…":"…","⊹":"⊹",𝔥:"𝔥","⤥":"⤥","⤦":"⤦","⇿":"⇿","∻":"∻","↩":"↩","↪":"↪",𝕙:"𝕙","―":"―",𝒽:"𝒽",ħ:"ħ","⁃":"⁃",í:"í",î:"î",и:"и",е:"е","¡":"¡",𝔦:"𝔦",ì:"ì","⨌":"⨌","∭":"∭","⧜":"⧜","℩":"℩",ij:"ij",ī:"ī",ı:"ı","⊷":"⊷",Ƶ:"Ƶ","℅":"℅","∞":"∞","⧝":"⧝","⊺":"⊺","⨗":"⨗","⨼":"⨼",ё:"ё",į:"į",𝕚:"𝕚",ι:"ι","¿":"¿",𝒾:"𝒾","⋹":"⋹","⋵":"⋵","⋴":"⋴","⋳":"⋳",ĩ:"ĩ",і:"і",ï:"ï",ĵ:"ĵ",й:"й",𝔧:"𝔧",ȷ:"ȷ",𝕛:"𝕛",𝒿:"𝒿",ј:"ј",є:"є",κ:"κ",ϰ:"ϰ",ķ:"ķ",к:"к",𝔨:"𝔨",ĸ:"ĸ",х:"х",ќ:"ќ",𝕜:"𝕜",𝓀:"𝓀","⤛":"⤛","⤎":"⤎","⪋":"⪋","⥢":"⥢",ĺ:"ĺ","⦴":"⦴",λ:"λ","⦑":"⦑","⪅":"⪅","«":"«","⤟":"⤟","⤝":"⤝","↫":"↫","⤹":"⤹","⥳":"⥳","↢":"↢","⪫":"⪫","⤙":"⤙","⪭":"⪭","⪭︀":"⪭︀","⤌":"⤌","❲":"❲","{":"{","[":"[","⦋":"⦋","⦏":"⦏","⦍":"⦍",ľ:"ľ",ļ:"ļ",л:"л","⤶":"⤶","⥧":"⥧","⥋":"⥋","↲":"↲","≤":"≤","⇇":"⇇","⋋":"⋋","⪨":"⪨","⩿":"⩿","⪁":"⪁","⪃":"⪃","⋚︀":"⋚︀","⪓":"⪓","⋖":"⋖","⥼":"⥼",𝔩:"𝔩","⪑":"⪑","⥪":"⥪","▄":"▄",љ:"љ","⥫":"⥫","◺":"◺",ŀ:"ŀ","⎰":"⎰","≨":"≨","⪉":"⪉","⪇":"⪇","⋦":"⋦","⟬":"⟬","⇽":"⇽","⟼":"⟼","↬":"↬","⦅":"⦅",𝕝:"𝕝","⨭":"⨭","⨴":"⨴","∗":"∗","◊":"◊","(":"(","⦓":"⦓","⥭":"⥭","":"‎","⊿":"⊿","‹":"‹",𝓁:"𝓁","⪍":"⪍","⪏":"⪏","‚":"‚",ł:"ł","⪦":"⪦","⩹":"⩹","⋉":"⋉","⥶":"⥶","⩻":"⩻","⦖":"⦖","◃":"◃","⥊":"⥊","⥦":"⥦","≨︀":"≨︀","∺":"∺","¯":"¯","♂":"♂","✠":"✠","▮":"▮","⨩":"⨩",м:"м","—":"—",𝔪:"𝔪","℧":"℧",µ:"µ","⫰":"⫰","−":"−","⨪":"⨪","⫛":"⫛","⊧":"⊧",𝕞:"𝕞",𝓂:"𝓂",μ:"μ","⊸":"⊸","⋙̸":"⋙̸","≫⃒":"≫⃒","⇍":"⇍","⇎":"⇎","⋘̸":"⋘̸","≪⃒":"≪⃒","⇏":"⇏","⊯":"⊯","⊮":"⊮",ń:"ń","∠⃒":"∠⃒","⩰̸":"⩰̸","≋̸":"≋̸",ʼn:"ʼn","♮":"♮","⩃":"⩃",ň:"ň",ņ:"ņ","⩭̸":"⩭̸","⩂":"⩂",н:"н","–":"–","⇗":"⇗","⤤":"⤤","≐̸":"≐̸","⤨":"⤨",𝔫:"𝔫","↮":"↮","⫲":"⫲","⋼":"⋼","⋺":"⋺",њ:"њ","≦̸":"≦̸","↚":"↚","‥":"‥",𝕟:"𝕟","¬":"¬","⋹̸":"⋹̸","⋵̸":"⋵̸","⋷":"⋷","⋶":"⋶","⋾":"⋾","⋽":"⋽","⫽⃥":"⫽⃥","∂̸":"∂̸","⨔":"⨔","↛":"↛","⤳̸":"⤳̸","↝̸":"↝̸",𝓃:"𝓃","⊄":"⊄","⫅̸":"⫅̸","⊅":"⊅","⫆̸":"⫆̸",ñ:"ñ",ν:"ν","#":"#","№":"№"," ":" ","⊭":"⊭","⤄":"⤄","≍⃒":"≍⃒","⊬":"⊬","≥⃒":"≥⃒",">⃒":">⃒","⧞":"⧞","⤂":"⤂","≤⃒":"≤⃒","<⃒":"<⃒","⊴⃒":"⊴⃒","⤃":"⤃","⊵⃒":"⊵⃒","∼⃒":"∼⃒","⇖":"⇖","⤣":"⤣","⤧":"⤧",ó:"ó",ô:"ô",о:"о",ő:"ő","⨸":"⨸","⦼":"⦼",œ:"œ","⦿":"⦿",𝔬:"𝔬","˛":"˛",ò:"ò","⧁":"⧁","⦵":"⦵","⦾":"⦾","⦻":"⦻","⧀":"⧀",ō:"ō",ω:"ω",ο:"ο","⦶":"⦶",𝕠:"𝕠","⦷":"⦷","⦹":"⦹","∨":"∨","⩝":"⩝",ℴ:"ℴ",ª:"ª",º:"º","⊶":"⊶","⩖":"⩖","⩗":"⩗","⩛":"⩛",ø:"ø","⊘":"⊘",õ:"õ","⨶":"⨶",ö:"ö","⌽":"⌽","¶":"¶","⫳":"⫳","⫽":"⫽",п:"п","%":"%",".":".","‰":"‰","‱":"‱",𝔭:"𝔭",φ:"φ",ϕ:"ϕ","☎":"☎",π:"π",ϖ:"ϖ",ℎ:"ℎ","+":"+","⨣":"⨣","⨢":"⨢","⨥":"⨥","⩲":"⩲","⨦":"⨦","⨧":"⨧","⨕":"⨕",𝕡:"𝕡","£":"£","⪳":"⪳","⪷":"⪷","⪹":"⪹","⪵":"⪵","⋨":"⋨","′":"′","⌮":"⌮","⌒":"⌒","⌓":"⌓","⊰":"⊰",𝓅:"𝓅",ψ:"ψ"," ":" ",𝔮:"𝔮",𝕢:"𝕢","⁗":"⁗",𝓆:"𝓆","⨖":"⨖","?":"?","⤜":"⤜","⥤":"⥤","∽̱":"∽̱",ŕ:"ŕ","⦳":"⦳","⦒":"⦒","⦥":"⦥","»":"»","⥵":"⥵","⤠":"⤠","⤳":"⤳","⤞":"⤞","⥅":"⥅","⥴":"⥴","↣":"↣","↝":"↝","⤚":"⤚","∶":"∶","❳":"❳","}":"}","]":"]","⦌":"⦌","⦎":"⦎","⦐":"⦐",ř:"ř",ŗ:"ŗ",р:"р","⤷":"⤷","⥩":"⥩","↳":"↳","▭":"▭","⥽":"⥽",𝔯:"𝔯","⥬":"⥬",ρ:"ρ",ϱ:"ϱ","⇉":"⇉","⋌":"⋌","˚":"˚","":"‏","⎱":"⎱","⫮":"⫮","⟭":"⟭","⇾":"⇾","⦆":"⦆",𝕣:"𝕣","⨮":"⨮","⨵":"⨵",")":")","⦔":"⦔","⨒":"⨒","›":"›",𝓇:"𝓇","⋊":"⋊","▹":"▹","⧎":"⧎","⥨":"⥨","℞":"℞",ś:"ś","⪴":"⪴","⪸":"⪸",š:"š",ş:"ş",ŝ:"ŝ","⪶":"⪶","⪺":"⪺","⋩":"⋩","⨓":"⨓",с:"с","⋅":"⋅","⩦":"⩦","⇘":"⇘","§":"§",";":";","⤩":"⤩","✶":"✶",𝔰:"𝔰","♯":"♯",щ:"щ",ш:"ш","":"­",σ:"σ",ς:"ς","⩪":"⩪","⪞":"⪞","⪠":"⪠","⪝":"⪝","⪟":"⪟","≆":"≆","⨤":"⨤","⥲":"⥲","⨳":"⨳","⧤":"⧤","⌣":"⌣","⪪":"⪪","⪬":"⪬","⪬︀":"⪬︀",ь:"ь","/":"/","⧄":"⧄","⌿":"⌿",𝕤:"𝕤","♠":"♠","⊓︀":"⊓︀","⊔︀":"⊔︀",𝓈:"𝓈","☆":"☆","⊂":"⊂","⫅":"⫅","⪽":"⪽","⫃":"⫃","⫁":"⫁","⫋":"⫋","⊊":"⊊","⪿":"⪿","⥹":"⥹","⫇":"⫇","⫕":"⫕","⫓":"⫓","♪":"♪","¹":"¹","²":"²","³":"³","⫆":"⫆","⪾":"⪾","⫘":"⫘","⫄":"⫄","⟉":"⟉","⫗":"⫗","⥻":"⥻","⫂":"⫂","⫌":"⫌","⊋":"⊋","⫀":"⫀","⫈":"⫈","⫔":"⫔","⫖":"⫖","⇙":"⇙","⤪":"⤪",ß:"ß","⌖":"⌖",τ:"τ",ť:"ť",ţ:"ţ",т:"т","⌕":"⌕",𝔱:"𝔱",θ:"θ",ϑ:"ϑ",þ:"þ","×":"×","⨱":"⨱","⨰":"⨰","⌶":"⌶","⫱":"⫱",𝕥:"𝕥","⫚":"⫚","‴":"‴","▵":"▵","≜":"≜","◬":"◬","⨺":"⨺","⨹":"⨹","⧍":"⧍","⨻":"⨻","⏢":"⏢",𝓉:"𝓉",ц:"ц",ћ:"ћ",ŧ:"ŧ","⥣":"⥣",ú:"ú",ў:"ў",ŭ:"ŭ",û:"û",у:"у",ű:"ű","⥾":"⥾",𝔲:"𝔲",ù:"ù","▀":"▀","⌜":"⌜","⌏":"⌏","◸":"◸",ū:"ū",ų:"ų",𝕦:"𝕦",υ:"υ","⇈":"⇈","⌝":"⌝","⌎":"⌎",ů:"ů","◹":"◹",𝓊:"𝓊","⋰":"⋰",ũ:"ũ",ü:"ü","⦧":"⦧","⫨":"⫨","⫩":"⫩","⦜":"⦜","⊊︀":"⊊︀","⫋︀":"⫋︀","⊋︀":"⊋︀","⫌︀":"⫌︀",в:"в","⊻":"⊻","≚":"≚","⋮":"⋮",𝔳:"𝔳",𝕧:"𝕧",𝓋:"𝓋","⦚":"⦚",ŵ:"ŵ","⩟":"⩟","≙":"≙",℘:"℘",𝔴:"𝔴",𝕨:"𝕨",𝓌:"𝓌",𝔵:"𝔵",ξ:"ξ","⋻":"⋻",𝕩:"𝕩",𝓍:"𝓍",ý:"ý",я:"я",ŷ:"ŷ",ы:"ы","¥":"¥",𝔶:"𝔶",ї:"ї",𝕪:"𝕪",𝓎:"𝓎",ю:"ю",ÿ:"ÿ",ź:"ź",ž:"ž",з:"з",ż:"ż",ζ:"ζ",𝔷:"𝔷",ж:"ж","⇝":"⇝",𝕫:"𝕫",𝓏:"𝓏","":"‍","":"‌"}}}},125:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.numericUnicodeMap={0:65533,128:8364,130:8218,131:402,132:8222,133:8230,134:8224,135:8225,136:710,137:8240,138:352,139:8249,140:338,142:381,145:8216,146:8217,147:8220,148:8221,149:8226,150:8211,151:8212,152:732,153:8482,154:353,155:8250,156:339,158:382,159:376}},663:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.fromCodePoint=String.fromCodePoint||function(e){return String.fromCharCode(Math.floor((e-65536)/1024)+55296,(e-65536)%1024+56320)},t.getCodePoint=String.prototype.codePointAt?function(e,t){return e.codePointAt(t)}:function(e,t){return 1024*(e.charCodeAt(t)-55296)+e.charCodeAt(t+1)-56320+65536},t.highSurrogateFrom=55296,t.highSurrogateTo=56319},804:(e,t,r)=>{"use strict";r.d(t,{Z:()=>c});var n=r(738),o=r.n(n),a=r(705),i=r.n(a)()(o());i.push([e.id,"",""]);const c=i},379:e=>{"use strict";var t=[];function r(e){for(var r=-1,n=0;n<t.length;n++)if(t[n].identifier===e){r=n;break}return r}function n(e,n){for(var a={},i=[],c=0;c<e.length;c++){var l=e[c],s=n.base?l[0]+n.base:l[0],u=a[s]||0,d="".concat(s," ").concat(u);a[s]=u+1;var f=r(d),p={css:l[1],media:l[2],sourceMap:l[3],supports:l[4],layer:l[5]};if(-1!==f)t[f].references++,t[f].updater(p);else{var h=o(p,n);n.byIndex=c,t.splice(c,0,{identifier:d,updater:h,references:1})}i.push(d)}return i}function o(e,t){var r=t.domAPI(t);return r.update(e),function(t){if(t){if(t.css===e.css&&t.media===e.media&&t.sourceMap===e.sourceMap&&t.supports===e.supports&&t.layer===e.layer)return;r.update(e=t)}else r.remove()}}e.exports=function(e,o){var a=n(e=e||[],o=o||{});return function(e){e=e||[];for(var i=0;i<a.length;i++){var c=r(a[i]);t[c].references--}for(var l=n(e,o),s=0;s<a.length;s++){var u=r(a[s]);0===t[u].references&&(t[u].updater(),t.splice(u,1))}a=l}}},569:e=>{"use strict";var t={};e.exports=function(e,r){var n=function(e){if(void 0===t[e]){var r=document.querySelector(e);if(window.HTMLIFrameElement&&r instanceof window.HTMLIFrameElement)try{r=r.contentDocument.head}catch(e){r=null}t[e]=r}return t[e]}(e);if(!n)throw new Error("Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.");n.appendChild(r)}},216:e=>{"use strict";e.exports=function(e){var t=document.createElement("style");return e.setAttributes(t,e.attributes),e.insert(t,e.options),t}},565:(e,t,r)=>{"use strict";e.exports=function(e){var t=r.nc;t&&e.setAttribute("nonce",t)}},795:e=>{"use strict";e.exports=function(e){var t=e.insertStyleElement(e);return{update:function(r){!function(e,t,r){var n="";r.supports&&(n+="@supports (".concat(r.supports,") {")),r.media&&(n+="@media ".concat(r.media," {"));var o=void 0!==r.layer;o&&(n+="@layer".concat(r.layer.length>0?" ".concat(r.layer):""," {")),n+=r.css,o&&(n+="}"),r.media&&(n+="}"),r.supports&&(n+="}");var a=r.sourceMap;a&&"undefined"!=typeof btoa&&(n+="\n/*# sourceMappingURL=data:application/json;base64,".concat(btoa(unescape(encodeURIComponent(JSON.stringify(a))))," */")),t.styleTagTransform(n,e,t.options)}(t,e,r)},remove:function(){!function(e){if(null===e.parentNode)return!1;e.parentNode.removeChild(e)}(t)}}}},589:e=>{"use strict";e.exports=function(e,t){if(t.styleSheet)t.styleSheet.cssText=e;else{for(;t.firstChild;)t.removeChild(t.firstChild);t.appendChild(document.createTextNode(e))}}}},t={};function r(n){var o=t[n];if(void 0!==o)return o.exports;var a=t[n]={id:n,exports:{}};return e[n].call(a.exports,a,a.exports,r),a.exports}r.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return r.d(t,{a:t}),t},r.d=(e,t)=>{for(var n in t)r.o(t,n)&&!r.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},r.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),r.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},r.nc=void 0,(()=>{"use strict";var e={};r.r(e),r.d(e,{canAddFolders:()=>P,disableDragDropOnMobile:()=>j,folderHasChildren:()=>se,folderMatchesSearchTerms:()=>ue,getChildFolders:()=>U,getFolderBeingEdited:()=>z,getFolderPanelContext:()=>Z,getFolderPanelError:()=>X,getFolderUsingContextMenuId:()=>H,getFolders:()=>W,getFoldersFilteredBySearchTerms:()=>Y,getNavigationError:()=>Q,getNotifications:()=>J,getOrganizationMode:()=>K,getPostIdsToMove:()=>ee,getPostType:()=>te,getScreenState:()=>re,getSearchTerms:()=>ne,getSelectedFolder:()=>B,getSelectedFolderId:()=>M,getSelectedFolderIds:()=>G,getSortMode:()=>oe,getState:()=>V,getUserId:()=>ae,getWidth:()=>ie,includeChildren:()=>de,isAjaxNavEnabled:()=>be,isBreadcrumbsEnabled:()=>we,isDirty:()=>ce,isFolderDragging:()=>fe,isFolderExpanded:()=>le,isFolderPaneVisible:()=>me,isFolderPanelBusy:()=>pe,isFolderSelected:()=>he,isNavigating:()=>Ee,isSearch:()=>ge,isSearchEnabled:()=>ve,showItemCounts:()=>ye,syncUploadFolderDropdown:()=>Se});var t={};r.r(t),r.d(t,{TYPES:()=>Ue,addNotification:()=>Me,deleteNotification:()=>Be,dismissNotification:()=>Ge,expandFolder:()=>Ve,fetchFolders:()=>ze,initInstance:()=>He,instanceAction:()=>vt,moveFolder:()=>ht,movePostsToFolder:()=>mt,saveScreenState:()=>Xe,setExpandedFolders:()=>We,setFolderBeingEditedId:()=>Ye,setFolderPanelContext:()=>at,setFolderPanelError:()=>it,setFolderPanelMessage:()=>lt,setFolderUsingContextMenuId:()=>Ze,setFolders:()=>ot,setIsFolderDragging:()=>ct,setIsFolderPaneVisible:()=>st,setIsFolderPanelBusy:()=>ut,setIsNavigating:()=>dt,setNavigationError:()=>Je,setOrganizationMode:()=>Ke,setPostIdsToMove:()=>$e,setSearchTerms:()=>rt,setSelectedFolderId:()=>et,setSelectedFolderIds:()=>tt,setSortMode:()=>nt,setWidth:()=>Qe,toggleExpanded:()=>ft,unassignFolders:()=>gt,updateSavedScreenState:()=>pt});var n={};r.r(n),r.d(n,{getChildFolders:()=>Nt,getFolders:()=>Dt,getScreenState:()=>At});const o=window.wp.element,a=window.wp.data,i=window.wp.dataControls;var c="wicked-folders/state",l="edit",s="delete",u="settings",d="/wicked-folders/v1/",f="organize",p="sort",h="bulk",m="alpha",g="custom";function v(e){return function(e){if(Array.isArray(e))return y(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(e){if("string"==typeof e)return y(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?y(e,t):void 0}}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function y(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}var b=lodash,w=b.isUndefined,E=b.find,S=function(e,t,r){if(-1==e.indexOf(t+"="))e+=-1==e.indexOf("?")?"?":"&",e+=t+"="+r;else{var n=new RegExp(t+"=([^&]*)","gi");e=e.replace(n,t+"="+r)}return!1!==r&&""!=r||(n=new RegExp(t+"=([^&]*)","gi"),e=(e=e.replace(n,"")).replace(/[&]*$/,"")),e},x=function(){return w(window.isRtl)?jQuery("body").hasClass("rtl"):window.isRtl},_=function e(t,r){if(void 0===r)return[];if(r.parent){var n=E(t,{id:r.parent});if(n)return[n].concat(v(e(t,n)))}return[]},k=function e(t,r){if(void 0===r)return[];var n=[];return t.filter((function(e){return e.parent==r.id})).forEach((function(r){n=[].concat(v(n),[r],v(e(t,r)))})),n},R=lodash,L=(R.isNaN,R.isArray),T=R.each,O=(R.find,function(e){var t=jQuery,r=L(e)?e:[e];T(r,(function(e){t('.wp-list-table tr[id="post-'+e+'"]').fadeOut(500,(function(){t(this).remove()})),t('.wp-list-table tr[id="user-'+e+'"]').fadeOut(500,(function(){t(this).remove()}));var r=t('.wp-list-table.plugins .wicked-item[data-object-id="'+e+'"]').closest("tr").attr("data-slug");t('.wp-list-table.plugins tr[data-slug="'+r+'"]').fadeOut(500,(function(){t(this).remove()})),t('.wp-list-table.toplevel_page_gf_edit_forms .wicked-item[data-object-id="'+e+'"]').closest("tr").fadeOut(500,(function(){t(this).remove()})),t('.wp-list-table.gf_entries tr[data-id="'+e+'"]').fadeOut(500,(function(){t(this).remove()})),t('.wp-list-table.tablepress-all-tables tr[data-wf-post-id="'+e+'"]').fadeOut(500,(function(){t(this).remove()})),t('.wp-list-table.wc-orders-list-table-shop_order tr[id="order-'+e+'"]').fadeOut(500,(function(){t(this).remove()})),t('.wp-list-table .wicked-item[data-object-id="'+e+'"]').closest("tr").fadeOut(500,(function(){t(this).remove()}))}))}),F=function(e){return["Wicked_FoldersTerm_Folder","Wicked_Folders\\Term_Folder"].includes(e.type)},D=function(e){return["Wicked_FoldersTerm_Dynamic_Folder","Wicked_Folders\\Term_Dynamic_Folder"].includes(e.type)};function A(e){return function(e){if(Array.isArray(e))return N(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(e){if("string"==typeof e)return N(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?N(e,t):void 0}}(e)||function(){throw new TypeError("Invalid attempt to spread 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 r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}var I=lodash,q=I.find,C=I.uniqBy,P=function(e,t){return e.instances[t].screenState.canAddFolders},j=function(e,t){return e.instances[t].screenState.disableDragDropOnMobile},U=function(e,t){var r=B(e,t),n=W(e,t);return k(n,r)},M=function(e,t){return e.instances[t].screenState.folder},B=function(e,t){return e.instances[t].folders.find((function(r){return r.id==e.instances[t].screenState.folder}))},G=function(e,t){return e.instances[t].screenState.selectedFolders},V=function(e,t){return e.instances[t]},z=function(e,t){return e.instances[t].folders.find((function(r){return r.id==e.instances[t].folderBeingEditedId}))},H=function(e,t){return e.instances[t].folderUsingContextMenuId},W=function(e,t){return A(e.instances[t].folders)},Y=function(e,t){var r=W(e,t),n=ne(e,t),o=[];return n?(r.filter((function(e){return-1!=e.name.toUpperCase().indexOf(n.toUpperCase())})).forEach((function(e){o=[].concat(A(o),[e]),_(r,e).forEach((function(e){q(o,{id:e.id})||(o=[].concat(A(o),[e]))}))})),o=C(o,"id")):r},Z=function(e,t){return e.instances[t].folderPanelContext},X=function(e,t){return e.instances[t].screenState.folderPanelError},Q=function(e,t){return e.instances[t].screenState.navigationError},J=function(e,t){return e.notifications},K=function(e,t){return e.instances[t].organizationMode},ee=function(e,t){return e.instances[t].postIdsToMove},te=function(e,t){return e.instances[t].postType},re=function(e,t){return e.instances[t].screenState},ne=function(e,t){return e.instances[t].searchTerms},oe=function(e,t){return e.instances[t].screenState.sortMode},ae=function(e,t){return e.instances[t].screenState.userId},ie=function(e,t){return e.instances[t].screenState.treePaneWidth},ce=function(e,t){return e.instances[t].screenState.isDirty},le=function(e,t,r){return e.instances[t].screenState.expandedFolders.includes(r)},se=function(e,t,r){return e.instances[t].folders.filter((function(e){return e.parent==r})).length},ue=function(e,t,r){var n=W(e,t),o=q(n,{id:r}),a=ne(e,t);return-1!=o.name.toUpperCase().indexOf(a.toUpperCase())},de=function(e,t){return e.instances[t].screenState.includeChildren},fe=function(e,t){return e.instances[t].isFolderDragging},pe=function(e,t){return e.instances[t].screenState.isFolderPanelBusy},he=function(e,t,r){return e.instances[t].screenState.folder==r},me=function(e,t){return e.instances[t].screenState.isFolderPaneVisible},ge=function(e,t){return e.instances[t].searchTerms.trim().length>0},ve=function(e,t){return e.instances[t].screenState.enableSearch},ye=function(e,t){return e.instances[t].screenState.showItemCounts},be=function(e,t){return e.instances[t].screenState.enableAjaxNav},we=function(e,t){return e.instances[t].screenState.enableBreadcrumbs},Ee=function(e,t){return e.instances[t].screenState.isNavigating},Se=function(e,t){return e.instances[t].screenState.syncUploadFolderDropdown};const xe=window.wp.i18n;function _e(e){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},_e(e)}var ke;function Re(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function Le(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?Re(Object(r),!0).forEach((function(t){Ie(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Re(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function Te(){Te=function(){return e};var e={},t=Object.prototype,r=t.hasOwnProperty,n="function"==typeof Symbol?Symbol:{},o=n.iterator||"@@iterator",a=n.asyncIterator||"@@asyncIterator",i=n.toStringTag||"@@toStringTag";function c(e,t,r){return Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{c({},"")}catch(e){c=function(e,t,r){return e[t]=r}}function l(e,t,r,n){var o=t&&t.prototype instanceof d?t:d,a=Object.create(o.prototype),i=new x(n||[]);return a._invoke=function(e,t,r){var n="suspendedStart";return function(o,a){if("executing"===n)throw new Error("Generator is already running");if("completed"===n){if("throw"===o)throw a;return{value:void 0,done:!0}}for(r.method=o,r.arg=a;;){var i=r.delegate;if(i){var c=w(i,r);if(c){if(c===u)continue;return c}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if("suspendedStart"===n)throw n="completed",r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);n="executing";var l=s(e,t,r);if("normal"===l.type){if(n=r.done?"completed":"suspendedYield",l.arg===u)continue;return{value:l.arg,done:r.done}}"throw"===l.type&&(n="completed",r.method="throw",r.arg=l.arg)}}}(e,r,i),a}function s(e,t,r){try{return{type:"normal",arg:e.call(t,r)}}catch(e){return{type:"throw",arg:e}}}e.wrap=l;var u={};function d(){}function f(){}function p(){}var h={};c(h,o,(function(){return this}));var m=Object.getPrototypeOf,g=m&&m(m(_([])));g&&g!==t&&r.call(g,o)&&(h=g);var v=p.prototype=d.prototype=Object.create(h);function y(e){["next","throw","return"].forEach((function(t){c(e,t,(function(e){return this._invoke(t,e)}))}))}function b(e,t){function n(o,a,i,c){var l=s(e[o],e,a);if("throw"!==l.type){var u=l.arg,d=u.value;return d&&"object"==_e(d)&&r.call(d,"__await")?t.resolve(d.__await).then((function(e){n("next",e,i,c)}),(function(e){n("throw",e,i,c)})):t.resolve(d).then((function(e){u.value=e,i(u)}),(function(e){return n("throw",e,i,c)}))}c(l.arg)}var o;this._invoke=function(e,r){function a(){return new t((function(t,o){n(e,r,t,o)}))}return o=o?o.then(a,a):a()}}function w(e,t){var r=e.iterator[t.method];if(void 0===r){if(t.delegate=null,"throw"===t.method){if(e.iterator.return&&(t.method="return",t.arg=void 0,w(e,t),"throw"===t.method))return u;t.method="throw",t.arg=new TypeError("The iterator does not provide a 'throw' method")}return u}var n=s(r,e.iterator,t.arg);if("throw"===n.type)return t.method="throw",t.arg=n.arg,t.delegate=null,u;var o=n.arg;return o?o.done?(t[e.resultName]=o.value,t.next=e.nextLoc,"return"!==t.method&&(t.method="next",t.arg=void 0),t.delegate=null,u):o:(t.method="throw",t.arg=new TypeError("iterator result is not an object"),t.delegate=null,u)}function E(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function S(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function x(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(E,this),this.reset(!0)}function _(e){if(e){var t=e[o];if(t)return t.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var n=-1,a=function t(){for(;++n<e.length;)if(r.call(e,n))return t.value=e[n],t.done=!1,t;return t.value=void 0,t.done=!0,t};return a.next=a}}return{next:k}}function k(){return{value:void 0,done:!0}}return f.prototype=p,c(v,"constructor",p),c(p,"constructor",f),f.displayName=c(p,i,"GeneratorFunction"),e.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===f||"GeneratorFunction"===(t.displayName||t.name))},e.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,p):(e.__proto__=p,c(e,i,"GeneratorFunction")),e.prototype=Object.create(v),e},e.awrap=function(e){return{__await:e}},y(b.prototype),c(b.prototype,a,(function(){return this})),e.AsyncIterator=b,e.async=function(t,r,n,o,a){void 0===a&&(a=Promise);var i=new b(l(t,r,n,o),a);return e.isGeneratorFunction(r)?i:i.next().then((function(e){return e.done?e.value:i.next()}))},y(v),c(v,i,"Generator"),c(v,o,(function(){return this})),c(v,"toString",(function(){return"[object Generator]"})),e.keys=function(e){var t=[];for(var r in e)t.push(r);return t.reverse(),function r(){for(;t.length;){var n=t.pop();if(n in e)return r.value=n,r.done=!1,r}return r.done=!0,r}},e.values=_,x.prototype={constructor:x,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEach(S),!e)for(var t in this)"t"===t.charAt(0)&&r.call(this,t)&&!isNaN(+t.slice(1))&&(this[t]=void 0)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var t=this;function n(r,n){return i.type="throw",i.arg=e,t.next=r,n&&(t.method="next",t.arg=void 0),!!n}for(var o=this.tryEntries.length-1;o>=0;--o){var a=this.tryEntries[o],i=a.completion;if("root"===a.tryLoc)return n("end");if(a.tryLoc<=this.prev){var c=r.call(a,"catchLoc"),l=r.call(a,"finallyLoc");if(c&&l){if(this.prev<a.catchLoc)return n(a.catchLoc,!0);if(this.prev<a.finallyLoc)return n(a.finallyLoc)}else if(c){if(this.prev<a.catchLoc)return n(a.catchLoc,!0)}else{if(!l)throw new Error("try statement without catch or finally");if(this.prev<a.finallyLoc)return n(a.finallyLoc)}}}},abrupt:function(e,t){for(var n=this.tryEntries.length-1;n>=0;--n){var o=this.tryEntries[n];if(o.tryLoc<=this.prev&&r.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var a=o;break}}a&&("break"===e||"continue"===e)&&a.tryLoc<=t&&t<=a.finallyLoc&&(a=null);var i=a?a.completion:{};return i.type=e,i.arg=t,a?(this.method="next",this.next=a.finallyLoc,u):this.complete(i)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),u},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.finallyLoc===e)return this.complete(r.completion,r.afterLoc),S(r),u}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.tryLoc===e){var n=r.completion;if("throw"===n.type){var o=n.arg;S(r)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(e,t,r){return this.delegate={iterator:_(e),resultName:t,nextLoc:r},"next"===this.method&&(this.arg=void 0),u}},e}var Oe=Te().mark(ze),Fe=Te().mark(Xe),De=Te().mark(ht),Ae=Te().mark(mt),Ne=Te().mark(gt);function Ie(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var qe=lodash,Ce=qe.defaults,Pe=qe.find,je=qe.uniqueId,Ue=(Ie(ke={ADD_NOTIFICATION:"ADD_NOTIFICATION",DELETE_NOTIFICATION:"DELETE_NOTIFICATION",DISMISS_NOTIFICATION:"DISMISS_NOTIFICATION",EXPAND_FOLDER:"EXPAND_FOLDER"},"EXPAND_FOLDER","EXPAND_FOLDER"),Ie(ke,"INIT_INSTANCE","INIT_INSTANCE"),Ie(ke,"SET_EXPANDED_FOLDERS","SET_EXPANDED_FOLDERS"),Ie(ke,"SET_FOLDERS","SET_FOLDERS"),Ie(ke,"SET_FOLDER_BEING_EDITED_ID","SET_FOLDER_BEING_EDITED_ID"),Ie(ke,"SET_FOLDER_USING_CONTEXT_MENU_ID","SET_FOLDER_USING_CONTEXT_MENU_ID"),Ie(ke,"SET_FOLDER_PANEL_CONTEXT","SET_FOLDER_PANEL_CONTEXT"),Ie(ke,"SET_FOLDER_PANEL_MESSAGE","SET_FOLDER_PANEL_MESSAGE"),Ie(ke,"SET_FOLDER_PANEL_ERROR","SET_FOLDER_PANEL_ERROR"),Ie(ke,"SET_IS_FOLDER_DRAGGING","SET_IS_FOLDER_DRAGGING"),Ie(ke,"SET_IS_FOLDER_PANE_VISIBLE","SET_IS_FOLDER_PANE_VISIBLE"),Ie(ke,"SET_IS_FOLDER_PANEL_BUSY","SET_IS_FOLDER_PANEL_BUSY"),Ie(ke,"SET_IS_NAVIGATING","SET_IS_NAVIGATING"),Ie(ke,"SET_NAVIGATION_ERROR","SET_NAVIGATION_ERROR"),Ie(ke,"SET_ORGANIZATION_MODE","SET_ORGANIZATION_MODE"),Ie(ke,"SET_POST_IDS_TO_MOVE","SET_POST_IDS_TO_MOVE"),Ie(ke,"SET_SELECTED_FOLDER_ID","SET_SELECTED_FOLDER_ID"),Ie(ke,"SET_SELECTED_FOLDER_IDS","SET_SELECTED_FOLDER_IDS"),Ie(ke,"SET_SEARCH_TERMS","SET_SEARCH_TERMS"),Ie(ke,"SET_SORT_MODE","SET_SORT_MODE"),Ie(ke,"SET_WIDTH","SET_WIDTH"),Ie(ke,"TOGGLE_EXPANDED","TOGGLE_EXPANDED"),Ie(ke,"UPDATE_SAVED_SCREEN_STATE","UPDATE_SAVED_SCREEN_STATE"),Ie(ke,"WITH_INSTANCE","WITH_INSTANCE"),ke),Me=function(e){var t=Ce(e,{title:(0,xe.__)("Success","wicked-folders"),message:"",dismissible:!0,dismissed:!1,autoDismiss:!0,delay:3e3});return t.id=je(),t.autoDismiss&&setTimeout((function(){(0,a.dispatch)(c).dismissNotification(t.id)}),t.delay),{type:Ue.ADD_NOTIFICATION,notification:t}},Be=function(e){return{type:Ue.DELETE_NOTIFICATION,notificationId:e}},Ge=function(e){return setTimeout((function(){(0,a.dispatch)(c).deleteNotification(e)}),500),{type:Ue.DISMISS_NOTIFICATION,notificationId:e}},Ve=function(e){return{type:Ue.EXPAND_FOLDER,folderId:e}};function ze(e){var t,r,n;return Te().wrap((function(o){for(;;)switch(o.prev=o.next){case 0:return o.prev=0,(0,a.dispatch)(c).instanceAction(e,ut,!0),t=(0,a.select)(c).getPostType(e),r=(0,a.select)(c).getSortMode(e),o.next=6,(0,i.apiFetch)({path:"/wicked-folders/v1/folders?post_type=".concat(t,"&sort_mode=").concat(r)});case 6:return n=o.sent,(0,a.dispatch)(c).instanceAction(e,ut,!1),o.abrupt("return",{type:Ue.WITH_INSTANCE,payload:{action:{type:Ue.SET_FOLDERS,folders:n},instanceId:e}});case 11:o.prev=11,o.t0=o.catch(0),console.log("Error fetching folders: ".concat(o.t0.message));case 14:case"end":return o.stop()}}),Oe,null,[[0,11]])}var He=function(e,t){return{type:Ue.INIT_INSTANCE,instanceId:e,postType:t}},We=function(e){return{type:Ue.SET_EXPANDED_FOLDERS,folderIds:e}},Ye=function(e){return{type:Ue.SET_FOLDER_BEING_EDITED_ID,folderId:e}},Ze=function(e){return{type:Ue.SET_FOLDER_USING_CONTEXT_MENU_ID,folderId:e}};function Xe(e){var t;return Te().wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return t=(0,a.select)(c).getScreenState(e),r.prev=1,r.next=4,(0,i.apiFetch)({path:"/wicked-folders/v1/screen-state",method:"PUT",data:t});case 4:return t=(0,a.select)(c).getScreenState(e),r.abrupt("return",{type:Ue.WITH_INSTANCE,payload:{action:{type:Ue.UPDATE_SAVED_SCREEN_STATE,state:t},instanceId:e}});case 8:r.prev=8,r.t0=r.catch(1),console.log("Error while saving Wicked Folders state: ".concat(r.t0));case 11:return r.abrupt("return");case 12:case"end":return r.stop()}}),Fe,null,[[1,8]])}var Qe=function(e){return{type:Ue.SET_WIDTH,width:e}},Je=function(e){return{type:Ue.SET_NAVIGATION_ERROR,error:e}},Ke=function(e){return{type:Ue.SET_ORGANIZATION_MODE,mode:e}},$e=function(e){return{type:Ue.SET_POST_IDS_TO_MOVE,postIds:e}},et=function(e){return{type:Ue.SET_SELECTED_FOLDER_ID,folderId:e}},tt=function(e){return{type:Ue.SET_SELECTED_FOLDER_IDS,folderIds:e}},rt=function(e){return{type:Ue.SET_SEARCH_TERMS,s:e}},nt=function(e){return{type:Ue.SET_SORT_MODE,mode:e}},ot=function(e){return{type:Ue.SET_FOLDERS,folders:e}},at=function(e){return{type:Ue.SET_FOLDER_PANEL_CONTEXT,context:e}},it=function(e){return{type:Ue.SET_FOLDER_PANEL_ERROR,error:e}},ct=function(e){return{type:Ue.SET_IS_FOLDER_DRAGGING,isDragging:e}},lt=function(e){return{type:Ue.SET_FOLDER_PANEL_MESSAGE,message:e}},st=function(e){return{type:Ue.SET_IS_FOLDER_PANE_VISIBLE,isFolderPaneVisible:e}},ut=function(e){return{type:Ue.SET_IS_FOLDER_PANEL_BUSY,isBusy:e}},dt=function(e){return{type:Ue.SET_IS_NAVIGATING,isNavigating:e}},ft=function(e){return{type:Ue.TOGGLE_EXPANDED,folderId:e}},pt=function(e){return{type:Ue.UPDATE_SAVED_SCREEN_STATE,state:e}};function ht(e,t,r){var n,o,l,s;return Te().wrap((function(u){for(;;)switch(u.prev=u.next){case 0:return u.prev=0,n=(0,a.select)(c).getFolders(e),o=Pe(n,{id:t}),u.next=5,(0,i.apiFetch)({path:"".concat(d,"folders/").concat(t),method:"PUT",data:Le(Le({},o),{},{parent:r})});case 5:return l=u.sent,s=n.map((function(e){return e.id==o.id?l:e})),u.abrupt("return",{type:Ue.WITH_INSTANCE,payload:{action:{type:Ue.SET_FOLDERS,folders:s},instanceId:e}});case 10:u.prev=10,u.t0=u.catch(0),console.log(u.t0.message);case 13:case"end":return u.stop()}}),De,null,[[0,10]])}function mt(e,t,r,n,o){var l,s,u;return Te().wrap((function(f){for(;;)switch(f.prev=f.next){case 0:return f.prev=0,l=(0,a.select)(c).getPostType(e),s=(0,a.select)(c).getSortMode(e),f.next=5,(0,i.apiFetch)({path:"".concat(d,"folders/").concat(r,"/assign"),method:"PUT",data:{post_type:l,post_ids:t,sort_mode:s,from_folder_id:n,copy:o}});case 5:return u=f.sent,$e([]),f.abrupt("return",{type:Ue.WITH_INSTANCE,payload:{action:{type:Ue.SET_FOLDERS,folders:u},instanceId:e}});case 10:f.prev=10,f.t0=f.catch(0),console.log(f.t0.message);case 13:case"end":return f.stop()}}),Ae,null,[[0,10]])}function gt(e,t){var r,n;return Te().wrap((function(o){for(;;)switch(o.prev=o.next){case 0:return o.prev=0,r=(0,a.select)(c).getPostType(e),o.next=4,(0,i.apiFetch)({path:"".concat(d,"folders/unassign"),method:"PUT",data:{post_type:r,post_ids:t}});case 4:return n=o.sent,$e([]),o.abrupt("return",{type:Ue.WITH_INSTANCE,payload:{action:{type:Ue.SET_FOLDERS,folders:n},instanceId:e}});case 9:o.prev=9,o.t0=o.catch(0),console.log(o.t0.message);case 12:case"end":return o.stop()}}),Ne,null,[[0,9]])}var vt=function(e,t){for(var r=arguments.length,n=new Array(r>2?r-2:0),o=2;o<r;o++)n[o-2]=arguments[o];var a=t.apply(null,n);return{type:Ue.WITH_INSTANCE,payload:{action:a,instanceId:e}}};function yt(e){return yt="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},yt(e)}function bt(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function wt(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?bt(Object(r),!0).forEach((function(t){Et(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):bt(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function Et(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function St(){St=function(){return e};var e={},t=Object.prototype,r=t.hasOwnProperty,n="function"==typeof Symbol?Symbol:{},o=n.iterator||"@@iterator",a=n.asyncIterator||"@@asyncIterator",i=n.toStringTag||"@@toStringTag";function c(e,t,r){return Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{c({},"")}catch(e){c=function(e,t,r){return e[t]=r}}function l(e,t,r,n){var o=t&&t.prototype instanceof d?t:d,a=Object.create(o.prototype),i=new x(n||[]);return a._invoke=function(e,t,r){var n="suspendedStart";return function(o,a){if("executing"===n)throw new Error("Generator is already running");if("completed"===n){if("throw"===o)throw a;return{value:void 0,done:!0}}for(r.method=o,r.arg=a;;){var i=r.delegate;if(i){var c=w(i,r);if(c){if(c===u)continue;return c}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if("suspendedStart"===n)throw n="completed",r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);n="executing";var l=s(e,t,r);if("normal"===l.type){if(n=r.done?"completed":"suspendedYield",l.arg===u)continue;return{value:l.arg,done:r.done}}"throw"===l.type&&(n="completed",r.method="throw",r.arg=l.arg)}}}(e,r,i),a}function s(e,t,r){try{return{type:"normal",arg:e.call(t,r)}}catch(e){return{type:"throw",arg:e}}}e.wrap=l;var u={};function d(){}function f(){}function p(){}var h={};c(h,o,(function(){return this}));var m=Object.getPrototypeOf,g=m&&m(m(_([])));g&&g!==t&&r.call(g,o)&&(h=g);var v=p.prototype=d.prototype=Object.create(h);function y(e){["next","throw","return"].forEach((function(t){c(e,t,(function(e){return this._invoke(t,e)}))}))}function b(e,t){function n(o,a,i,c){var l=s(e[o],e,a);if("throw"!==l.type){var u=l.arg,d=u.value;return d&&"object"==yt(d)&&r.call(d,"__await")?t.resolve(d.__await).then((function(e){n("next",e,i,c)}),(function(e){n("throw",e,i,c)})):t.resolve(d).then((function(e){u.value=e,i(u)}),(function(e){return n("throw",e,i,c)}))}c(l.arg)}var o;this._invoke=function(e,r){function a(){return new t((function(t,o){n(e,r,t,o)}))}return o=o?o.then(a,a):a()}}function w(e,t){var r=e.iterator[t.method];if(void 0===r){if(t.delegate=null,"throw"===t.method){if(e.iterator.return&&(t.method="return",t.arg=void 0,w(e,t),"throw"===t.method))return u;t.method="throw",t.arg=new TypeError("The iterator does not provide a 'throw' method")}return u}var n=s(r,e.iterator,t.arg);if("throw"===n.type)return t.method="throw",t.arg=n.arg,t.delegate=null,u;var o=n.arg;return o?o.done?(t[e.resultName]=o.value,t.next=e.nextLoc,"return"!==t.method&&(t.method="next",t.arg=void 0),t.delegate=null,u):o:(t.method="throw",t.arg=new TypeError("iterator result is not an object"),t.delegate=null,u)}function E(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function S(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function x(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(E,this),this.reset(!0)}function _(e){if(e){var t=e[o];if(t)return t.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var n=-1,a=function t(){for(;++n<e.length;)if(r.call(e,n))return t.value=e[n],t.done=!1,t;return t.value=void 0,t.done=!0,t};return a.next=a}}return{next:k}}function k(){return{value:void 0,done:!0}}return f.prototype=p,c(v,"constructor",p),c(p,"constructor",f),f.displayName=c(p,i,"GeneratorFunction"),e.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===f||"GeneratorFunction"===(t.displayName||t.name))},e.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,p):(e.__proto__=p,c(e,i,"GeneratorFunction")),e.prototype=Object.create(v),e},e.awrap=function(e){return{__await:e}},y(b.prototype),c(b.prototype,a,(function(){return this})),e.AsyncIterator=b,e.async=function(t,r,n,o,a){void 0===a&&(a=Promise);var i=new b(l(t,r,n,o),a);return e.isGeneratorFunction(r)?i:i.next().then((function(e){return e.done?e.value:i.next()}))},y(v),c(v,i,"Generator"),c(v,o,(function(){return this})),c(v,"toString",(function(){return"[object Generator]"})),e.keys=function(e){var t=[];for(var r in e)t.push(r);return t.reverse(),function r(){for(;t.length;){var n=t.pop();if(n in e)return r.value=n,r.done=!1,r}return r.done=!0,r}},e.values=_,x.prototype={constructor:x,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEach(S),!e)for(var t in this)"t"===t.charAt(0)&&r.call(this,t)&&!isNaN(+t.slice(1))&&(this[t]=void 0)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var t=this;function n(r,n){return i.type="throw",i.arg=e,t.next=r,n&&(t.method="next",t.arg=void 0),!!n}for(var o=this.tryEntries.length-1;o>=0;--o){var a=this.tryEntries[o],i=a.completion;if("root"===a.tryLoc)return n("end");if(a.tryLoc<=this.prev){var c=r.call(a,"catchLoc"),l=r.call(a,"finallyLoc");if(c&&l){if(this.prev<a.catchLoc)return n(a.catchLoc,!0);if(this.prev<a.finallyLoc)return n(a.finallyLoc)}else if(c){if(this.prev<a.catchLoc)return n(a.catchLoc,!0)}else{if(!l)throw new Error("try statement without catch or finally");if(this.prev<a.finallyLoc)return n(a.finallyLoc)}}}},abrupt:function(e,t){for(var n=this.tryEntries.length-1;n>=0;--n){var o=this.tryEntries[n];if(o.tryLoc<=this.prev&&r.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var a=o;break}}a&&("break"===e||"continue"===e)&&a.tryLoc<=t&&t<=a.finallyLoc&&(a=null);var i=a?a.completion:{};return i.type=e,i.arg=t,a?(this.method="next",this.next=a.finallyLoc,u):this.complete(i)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),u},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.finallyLoc===e)return this.complete(r.completion,r.afterLoc),S(r),u}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.tryLoc===e){var n=r.completion;if("throw"===n.type){var o=n.arg;S(r)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(e,t,r){return this.delegate={iterator:_(e),resultName:t,nextLoc:r},"next"===this.method&&(this.arg=void 0),u}},e}var xt=St().mark(Dt),_t=St().mark(At),kt=St().mark(Nt);function Rt(e){return function(e){if(Array.isArray(e))return Lt(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(e){if("string"==typeof e)return Lt(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?Lt(e,t):void 0}}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Lt(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}var Tt=lodash,Ot=Tt.forOwn,Ft=Tt.uniqBy;function Dt(e){var t,r,n;return St().wrap((function(o){for(;;)switch(o.prev=o.next){case 0:if(t=[],r=[],n=(0,a.select)(c).getPostType(e),!1!==wickedFoldersSettings.instances[e].folders){o.next=9;break}return o.next=6,(0,i.apiFetch)({path:"/wicked-folders/v1/folders?post_type=".concat(n)});case 6:t=o.sent,o.next=11;break;case 9:t=Rt(wickedFoldersSettings.instances[e].folders),wickedFoldersSettings.instances[e].folders=!1;case 11:return Ot(t,(function(e){return r.push(e)})),o.abrupt("return",vt(e,ot,r));case 13:case"end":return o.stop()}}),xt)}function At(e){var t;return St().wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return t=null,r.prev=1,!1===wickedFoldersSettings.instances[e].state||(t=wt({},wickedFoldersSettings.instances[e].state)),r.abrupt("return",vt(e,pt,t));case 6:r.prev=6,r.t0=r.catch(1),(0,a.dispatch)(c).setError("Error while loading state: ".concat(r.t0.message));case 9:case"end":return r.stop()}}),_t,null,[[1,6]])}function Nt(e,t){var r,n,o;return St().wrap((function(l){for(;;)switch(l.prev=l.next){case 0:if(r=(0,a.select)(c).getFolders(e),n=(0,a.select)(c).getPostType(e),!r.find((function(e){return e.id==t})).lazy){l.next=9;break}return l.next=6,(0,i.apiFetch)({path:"/wicked-folders/v1/folders/".concat(t,"/children?post_type=").concat(n)});case 6:o=l.sent,r=[].concat(Rt(r),Rt(o)),r=Ft(r,"id");case 9:return l.abrupt("return",vt(e,ot,r));case 10:case"end":return l.stop()}}),kt)}function It(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,o,a=[],_n=!0,i=!1;try{for(r=r.call(e);!(_n=(n=r.next()).done)&&(a.push(n.value),!t||a.length!==t);_n=!0);}catch(e){i=!0,o=e}finally{try{_n||null==r.return||r.return()}finally{if(i)throw o}}return a}}(e,t)||Ct(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 qt(e){return function(e){if(Array.isArray(e))return Pt(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||Ct(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Ct(e,t){if(e){if("string"==typeof e)return Pt(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?Pt(e,t):void 0}}function Pt(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function jt(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function Ut(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?jt(Object(r),!0).forEach((function(t){Mt(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):jt(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function Mt(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var Bt=lodash,Gt=Bt.has,Vt=Bt.union,zt=Ue.ADD_NOTIFICATION,Ht=Ue.DELETE_NOTIFICATION,Wt=Ue.DISMISS_NOTIFICATION,Yt=Ue.EXPAND_FOLDER,Zt=Ue.INIT_INSTANCE,Xt=Ue.SET_FOLDERS,Qt=Ue.SET_FOLDER_BEING_EDITED_ID,Jt=Ue.SET_FOLDER_USING_CONTEXT_MENU_ID,Kt=Ue.SET_FOLDER_PANEL_CONTEXT,$t=Ue.SET_FOLDER_PANEL_ERROR,er=Ue.SET_FOLDER_PANEL_MESSAGE,tr=Ue.SET_EXPANDED_FOLDERS,rr=Ue.SET_IS_FOLDER_DRAGGING,nr=Ue.SET_IS_FOLDER_PANE_VISIBLE,or=Ue.SET_IS_FOLDER_PANEL_BUSY,ar=Ue.SET_IS_NAVIGATING,ir=Ue.SET_NAVIGATION_ERROR,cr=Ue.SET_ORGANIZATION_MODE,lr=Ue.SET_POST_IDS_TO_MOVE,sr=Ue.SET_SEARCH_TERMS,ur=Ue.SET_SELECTED_FOLDER_ID,dr=Ue.SET_SELECTED_FOLDER_IDS,fr=Ue.SET_SORT_MODE,pr=Ue.SET_WIDTH,hr=Ue.TOGGLE_EXPANDED,mr=Ue.UPDATE_SAVED_SCREEN_STATE,gr=Ue.WITH_INSTANCE,vr={instances:{},notifications:[]},yr={folders:[],folderPanelContext:!1,isFolderDragging:!1,postType:!1,postIdsToMove:[],organizationMode:f,searchTerms:"",folderBeingEditedId:!1,folderUsingContextMenuId:!1,screenState:{canAddFolders:!0,folder:!1,enableSearch:!1,enableBreadcrumbs:!1,expandedFolders:[],isFolderPaneVisible:!0,showItemCounts:!0,enableAjaxNav:!0,isDirty:!1,isFolderPanelBusy:!1,isNavigating:!1,navigationError:!1,folderPanelMessage:!1,folderPanelError:!1,screenId:!1,includeChildren:!1,treePaneWidth:292,userId:1,selectedFolders:[],sortMode:m,syncUploadFolderDropdown:!0,disableDragDropOnMobile:!0}},br=function(e,t){switch(t.type){case Yt:return Ut(Ut({},e),{},{screenState:Ut(Ut({},e.screenState),{},{expandedFolders:Vt(qt(e.screenState.expandedFolders),[t.folderId]),isDirty:!0})});case Qt:return Ut(Ut({},e),{},{folderBeingEditedId:t.folderId});case Jt:return Ut(Ut({},e),{},{folderUsingContextMenuId:t.folderId});case ir:return Ut(Ut({},e),{},{screenState:Ut(Ut({},e.screenState),{},{navigationError:t.error})});case cr:return Ut(Ut({},e),{},{organizationMode:t.mode});case lr:return Ut(Ut({},e),{},{postIdsToMove:t.postIds});case sr:return Ut(Ut({},e),{},{searchTerms:t.s});case ur:return Ut(Ut({},e),{},{screenState:Ut(Ut({},e.screenState),{},{folder:t.folderId,isDirty:!0})});case dr:return Ut(Ut({},e),{},{screenState:Ut(Ut({},e.screenState),{},{selectedFolders:t.folderIds})});case fr:return Ut(Ut({},e),{},{screenState:Ut(Ut({},e.screenState),{},{sortMode:t.mode,isDirty:!0})});case Xt:return Ut(Ut({},e),{},{folders:t.folders});case Kt:return Ut(Ut({},e),{},{folderPanelContext:t.context});case $t:return Ut(Ut({},e),{},{screenState:Ut(Ut({},e.screenState),{},{folderPanelError:t.error})});case er:return Ut(Ut({},e),{},{screenState:Ut(Ut({},e.screenState),{},{folderPanelMessage:t.message})});case tr:return Ut(Ut({},e),{},{screenState:Ut(Ut({},e.screenState),{},{expandedFolders:t.folderIds,isDirty:!0})});case rr:return Ut(Ut({},e),{},{isFolderDragging:t.isDragging});case nr:return Ut(Ut({},e),{},{screenState:Ut(Ut({},e.screenState),{},{isFolderPaneVisible:t.isFolderPaneVisible,isDirty:!0})});case or:return Ut(Ut({},e),{},{screenState:Ut(Ut({},e.screenState),{},{isFolderPanelBusy:t.isBusy})});case ar:return Ut(Ut({},e),{},{screenState:Ut(Ut({},e.screenState),{},{isNavigating:t.isNavigating})});case pr:return Ut(Ut({},e),{},{screenState:Ut(Ut({},e.screenState),{},{treePaneWidth:t.width,isDirty:!0})});case hr:return-1==e.screenState.expandedFolders.indexOf(t.folderId)?Ut(Ut({},e),{},{screenState:Ut(Ut({},e.screenState),{},{expandedFolders:[].concat(qt(e.screenState.expandedFolders),[t.folderId]),isDirty:!0})}):Ut(Ut({},e),{},{screenState:Ut(Ut({},e.screenState),{},{expandedFolders:qt(e.screenState.expandedFolders.filter((function(e){return e!=t.folderId}))),isDirty:!0})});case mr:return Ut(Ut({},e),{},{screenState:Ut(Ut({},t.state),{},{isDirty:!1})});default:return e}};var wr=(0,o.createContext)(),Er=lodash,Sr=Er.forOwn,xr=Er.isFunction,_r=function(e){var t=(0,o.useContext)(wr);return(0,a.useSelect)((function(r){return e.apply(null,[function(e){var n={},o=r(e);return Sr(o,(function(e,r){n[r]=function(){return e.apply(null,[t].concat(Array.prototype.slice.call(arguments)))}})),n}])}))},kr=function(e){var r=(0,o.useContext)(wr),n={},i=(0,a.useDispatch)(e);return Sr(t,(function(e,t){xr(e)&&(n[t]=function(){return i.instanceAction.apply(null,[r,e].concat(Array.prototype.slice.call(arguments)))})})),n},Rr=r(379),Lr=r.n(Rr),Tr=r(795),Or=r.n(Tr),Fr=r(569),Dr=r.n(Fr),Ar=r(565),Nr=r.n(Ar),Ir=r(216),qr=r.n(Ir),Cr=r(589),Pr=r.n(Cr),jr=r(804),Ur={};function Mr(){var e=(0,o.useRef)(),t=_r((function(e){return{width:(0,e(c).getWidth)()}})).width,r=kr(c).setWidth;return(0,o.useEffect)((function(){var t=jQuery,n=t(e.current);n.resizable({resizeHeight:!1,handles:"e",minWidth:150,containment:t("#wpcontent"),resize:function(e,t){r(t.size.width)},stop:function(e,t){r(t.size.width)}}),x()&&n.resizable("disable")})),(0,o.useEffect)((function(){document.documentElement.style.setProperty("--wicked-folders-tree-pane-width",t+"px"),document.documentElement.style.setProperty("--wicked-folders-modal-tree-pane-width",t+"px")}),[t]),React.createElement("div",{className:"wicked-resizer ui-resizable",ref:e})}function Br(e){var t=e.children;return React.createElement("div",{className:"wicked-content"},t)}function Gr(e){return e.hidden,React.createElement("h2",{className:"wicked-title"},(0,xe.__)("Folders","wicked-folders"))}Ur.styleTagTransform=Pr(),Ur.setAttributes=Nr(),Ur.insert=Dr().bind(null,"head"),Ur.domAPI=Or(),Ur.insertStyleElement=qr(),Lr()(jr.Z,Ur),jr.Z&&jr.Z.locals&&jr.Z.locals;const Vr=React.createElement("svg",{width:"7px",height:"13px",viewBox:"0 0 7 13",version:"1.1",xmlns:"http://www.w3.org/2000/svg"},React.createElement("g",{stroke:"none",strokeWidth:"1",fill:"none",fillRule:"evenodd"},React.createElement("g",{transform:"translate(0.312500, 0.691360)",fill:"#2271B1",fillRule:"nonzero"},React.createElement("path",{d:"M0,10.8345095 C0,11.5305375 0.84152021,11.8791237 1.33365313,11.3869145 L6.3595048,6.36106287 C6.66460356,6.05600226 6.66460356,5.5613135 6.3595048,5.25625288 L1.33365313,0.230401217 C0.84152021,-0.26176985 0,0.0867782077 0,0.782806211 L0,10.8345095 Z"})))),zr=React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 352 512"},React.createElement("path",{d:"M242.72 256l100.07-100.07c12.28-12.28 12.28-32.19 0-44.48l-22.24-22.24c-12.28-12.28-32.19-12.28-44.48 0L176 189.28 75.93 89.21c-12.28-12.28-32.19-12.28-44.48 0L9.21 111.45c-12.28 12.28-12.28 32.19 0 44.48L109.28 256 9.21 356.07c-12.28 12.28-12.28 32.19 0 44.48l22.24 22.24c12.28 12.28 32.2 12.28 44.48 0L176 322.72l100.07 100.07c12.28 12.28 32.2 12.28 44.48 0l22.24-22.24c12.28-12.28 12.28-32.19 0-44.48L242.72 256z"})),Hr=React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512"},React.createElement("path",{d:"M173.898 439.404l-166.4-166.4c-9.997-9.997-9.997-26.206 0-36.204l36.203-36.204c9.997-9.998 26.207-9.998 36.204 0L192 312.69 432.095 72.596c9.997-9.997 26.207-9.997 36.204 0l36.203 36.204c9.997 9.997 9.997 26.206 0 36.204l-294.4 294.401c-9.998 9.997-26.207 9.997-36.204-.001z"})),Wr=React.createElement("svg",{width:"28px",height:"30px",viewBox:"0 0 28 30",version:"1.1",xmlns:"http://www.w3.org/2000/svg"},React.createElement("g",{stroke:"none",strokeWidth:"1",fill:"none",fillRule:"evenodd"},React.createElement("g",{transform:"translate(0.092416, 0.224615)",fill:"#2271B1",fillRule:"nonzero"},React.createElement("path",{d:"M27.4661321,18.0234622 L24.9700099,16.582025 C25.221951,15.222699 25.221951,13.8281253 24.9700099,12.4687993 L27.4661321,11.0273622 C27.7532064,10.8633115 27.8821238,10.52348 27.7883969,10.2070517 C27.1379735,8.12114202 26.0305886,6.23441632 24.583315,4.66411901 C24.3606707,4.42385088 23.9973789,4.36525727 23.716141,4.52936515 L21.2200189,5.97074508 C20.1712276,5.06838059 18.9641649,4.37115096 17.6575388,3.91413224 L17.6575388,1.03715165 C17.6575388,0.709050316 17.4290008,0.421918738 17.106736,0.351594961 C14.9563963,-0.128826867 12.7532422,-0.105423755 10.7083595,0.351594961 C10.3860946,0.421918738 10.1575567,0.709050316 10.1575567,1.03715165 L10.1575567,3.91996872 C8.85676709,4.38288113 7.6497616,5.08011076 6.59507662,5.97658155 L4.10484818,4.53520162 C3.8177166,4.37115096 3.46031847,4.42385088 3.23767419,4.66995548 C1.79040057,6.23441632 0.68295845,8.12114202 0.0325922641,10.2129454 C-0.0670283175,10.5293165 0.0677255421,10.869148 0.354857121,11.0332559 L2.85092203,12.4746358 C2.59898095,13.834019 2.59898095,15.2285355 2.85092203,16.5879187 L0.354857121,18.0292986 C0.0677255421,18.1933493 -0.0611918446,18.533238 0.0325922641,18.8496092 C0.68295845,20.935576 1.79040057,22.8222445 3.23767419,24.392599 C3.46031847,24.63281 3.82361029,24.6914036 4.10484818,24.5273529 L6.60091309,23.0859158 C7.6497616,23.9882802 8.85676709,24.6855671 10.1633932,25.1425858 L10.1633932,28.0254029 C10.1633932,28.3535042 10.3919311,28.6406358 10.714196,28.7109023 C12.8645929,29.1913814 15.0676898,29.1679783 17.1126297,28.7109023 C17.4348945,28.6406358 17.6633753,28.3535042 17.6633753,28.0254029 L17.6633753,25.1425858 C18.9641649,24.6796734 20.1712276,23.9824438 21.2259126,23.0859158 L23.7219775,24.5273529 C24.009109,24.6914036 24.3665072,24.6386464 24.5891515,24.392599 C26.0364251,22.8281382 27.1438672,20.9414125 27.7942334,18.8496092 C27.8821238,18.5273443 27.7532064,18.1875128 27.4661321,18.0234622 Z M13.9075477,19.212901 C11.3235924,19.212901 9.22005892,17.1093675 9.22005892,14.5254122 C9.22005892,11.9414569 11.3235924,9.83792336 13.9075477,9.83792336 C16.4915031,9.83792336 18.5950366,11.9414569 18.5950366,14.5254122 C18.5950366,17.1093675 16.4915031,19.212901 13.9075477,19.212901 Z"})))),Yr=React.createElement("svg",{width:"27px",height:"27px",viewBox:"0 0 27 27",version:"1.1",xmlns:"http://www.w3.org/2000/svg"},React.createElement("g",{stroke:"none",strokeWidth:"1",fill:"none",fillRule:"evenodd"},React.createElement("g",{transform:"translate(0.000000, 0.625058)",fill:"#2271B1",fillRule:"nonzero"},React.createElement("path",{d:"M6.32810991,14.7655898 L19.9218275,14.7655898 C20.3085224,14.7655898 20.6249508,14.4491614 20.6249508,14.0624665 L20.6249508,12.1874709 C20.6249508,11.800776 20.3085224,11.4843476 19.9218275,11.4843476 L6.32810991,11.4843476 C5.94141497,11.4843476 5.62498659,11.800776 5.62498659,12.1874709 L5.62498659,14.0624665 C5.62498659,14.4491614 5.94141497,14.7655898 6.32810991,14.7655898 Z M26.2499374,2.81249329 C26.2499374,1.25976262 24.9901748,0 23.4374441,0 L2.81249329,0 C1.25976262,0 0,1.25976262 0,2.81249329 L0,23.4374441 C0,24.9901748 1.25976262,26.2499374 2.81249329,26.2499374 L23.4374441,26.2499374 C24.9901748,26.2499374 26.2499374,24.9901748 26.2499374,23.4374441 L26.2499374,2.81249329 Z M23.4374441,23.0858825 C23.4374441,23.2792299 23.2792299,23.4374441 23.0858825,23.4374441 L3.16405496,23.4374441 C2.97070749,23.4374441 2.81249329,23.2792299 2.81249329,23.0858825 L2.81249329,3.16405496 C2.81249329,2.97070749 2.97070749,2.81249329 3.16405496,2.81249329 L23.0858825,2.81249329 C23.2792299,2.81249329 23.4374441,2.97070749 23.4374441,3.16405496 L23.4374441,23.0858825 Z"})))),Zr=React.createElement("svg",{width:"30px",height:"31px",viewBox:"0 0 30 31",version:"1.1",xmlns:"http://www.w3.org/2000/svg"},React.createElement("g",{stroke:"none",strokeWidth:"1",fill:"none",fillRule:"evenodd"},React.createElement("g",{transform:"translate(0.001406, 0.754469)",fill:"#2271B1",fillRule:"nonzero"},React.createElement("path",{d:"M29.1723759,8.32172317 C30.2739244,7.22017474 30.2739244,5.43896332 29.1723759,4.34325136 L25.6508656,0.821741052 C24.5493172,-0.273913684 22.7680485,-0.273913684 21.6723938,0.821741052 L18.971194,3.52294082 C18.6957926,3.79834223 18.6957926,4.24363078 18.971194,4.51903219 L25.4750848,11.0229229 C25.7504862,11.2983244 26.1957747,11.2983244 26.4711762,11.0229229 L29.1723759,8.32172317 Z M16.65091,5.8432249 L1.26419356,21.2299413 L0.0220547985,28.3490649 C-0.14788956,29.3099658 0.689987624,30.1420065 1.65094572,29.9779559 L8.77006937,28.7299234 L24.1567285,13.343207 C24.43213,13.0678056 24.43213,12.6225171 24.1567285,12.3471156 L17.6528378,5.8432249 C17.3715999,5.56782349 16.9263114,5.56782349 16.65091,5.8432249 Z M5.15483217,24.8392848 L7.96732547,24.8392848 L7.96732547,26.9662214 L4.1880376,27.6283178 L2.36579921,25.8060794 L3.02789556,22.0267915 L5.15483217,22.0267915 L5.15483217,24.8392848 Z"})))),Xr=React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 448 512"},React.createElement("path",{d:"M352 240v32c0 6.6-5.4 12-12 12h-88v88c0 6.6-5.4 12-12 12h-32c-6.6 0-12-5.4-12-12v-88h-88c-6.6 0-12-5.4-12-12v-32c0-6.6 5.4-12 12-12h88v-88c0-6.6 5.4-12 12-12h32c6.6 0 12 5.4 12 12v88h88c6.6 0 12 5.4 12 12zm96-160v352c0 26.5-21.5 48-48 48H48c-26.5 0-48-21.5-48-48V80c0-26.5 21.5-48 48-48h352c26.5 0 48 21.5 48 48zm-48 346V86c0-3.3-2.7-6-6-6H54c-3.3 0-6 2.7-6 6v340c0 3.3 2.7 6 6 6h340c3.3 0 6-2.7 6-6z",fill:"#2271B1"})),Qr=React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512"},React.createElement("path",{d:"M464 128H272l-64-64H48C21.49 64 0 85.49 0 112v288c0 26.51 21.49 48 48 48h416c26.51 0 48-21.49 48-48V176c0-26.51-21.49-48-48-48z",fill:"#2271B1"})),Jr=React.createElement("svg",{width:"34px",height:"23px",viewBox:"0 0 34 23",version:"1.1",xmlns:"http://www.w3.org/2000/svg"},React.createElement("g",{stroke:"none",strokeWidth:"1",fill:"none",fillRule:"evenodd"},React.createElement("g",{transform:"translate(0.000000, 0.500054)",fill:"#2271B1",fillRule:"nonzero"},React.createElement("path",{d:"M33.5562287,13.3647791 C34.1031406,12.4272813 33.4269108,11.2499732 32.3415557,11.2499732 L8.90622877,11.2499732 C7.71724768,11.2499732 6.2661403,12.0834444 5.66704353,13.1104347 L1.42346996,20.3851405 C0.876615342,21.3226382 1.55284511,22.4999464 2.63820019,22.4999464 L26.0735272,22.4999464 L26.0735844,22.4999464 C27.2625082,22.4999464 28.7135584,21.6664751 29.312598,20.6394848 L33.5562287,13.3647791 Z M8.90622877,9.37497765 L28.1249329,9.37497765 L28.1249329,6.56248435 C28.1249329,5.00918148 26.8657425,3.74999106 25.3124397,3.74999106 L15.937462,3.74999106 L12.1874709,0 L2.81249329,0 C1.25919042,0 0,1.25919042 0,2.81249329 L0,19.1042063 L4.04747952,12.16567 C5.05158174,10.444311 6.91341659,9.37497765 8.90622877,9.37497765 Z"})))),Kr=React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 448 512"},React.createElement("path",{d:"M416 208H272V64c0-17.67-14.33-32-32-32h-32c-17.67 0-32 14.33-32 32v144H32c-17.67 0-32 14.33-32 32v32c0 17.67 14.33 32 32 32h144v144c0 17.67 14.33 32 32 32h32c17.67 0 32-14.33 32-32V304h144c17.67 0 32-14.33 32-32v-32c0-17.67-14.33-32-32-32z",fill:"#0073aa"})),$r=React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 448 512"},React.createElement("path",{fill:"#2271B1",d:"M32 464a48 48 0 0 0 48 48h288a48 48 0 0 0 48-48V128H32zm272-256a16 16 0 0 1 32 0v224a16 16 0 0 1-32 0zm-96 0a16 16 0 0 1 32 0v224a16 16 0 0 1-32 0zm-96 0a16 16 0 0 1 32 0v224a16 16 0 0 1-32 0zM432 32H312l-9.4-18.7A24 24 0 0 0 281.1 0H166.8a23.72 23.72 0 0 0-21.4 13.3L136 32H16A16 16 0 0 0 0 48v32a16 16 0 0 0 16 16h416a16 16 0 0 0 16-16V48a16 16 0 0 0-16-16z"})),en=React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512"},React.createElement("path",{fill:"#2271B1",d:"M224 96l16-32 32-16-32-16-16-32-16 32-32 16 32 16 16 32zM80 160l26.66-53.33L160 80l-53.34-26.67L80 0 53.34 53.33 0 80l53.34 26.67L80 160zm352 128l-26.66 53.33L352 368l53.34 26.67L432 448l26.66-53.33L512 368l-53.34-26.67L432 288zm70.62-193.77L417.77 9.38C411.53 3.12 403.34 0 395.15 0c-8.19 0-16.38 3.12-22.63 9.38L9.38 372.52c-12.5 12.5-12.5 32.76 0 45.25l84.85 84.85c6.25 6.25 14.44 9.37 22.62 9.37 8.19 0 16.38-3.12 22.63-9.37l363.14-363.15c12.5-12.48 12.5-32.75 0-45.24zM359.45 203.46l-50.91-50.91 86.6-86.6 50.91 50.91-86.6 86.6z"}));function tn(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}const rn=function(){var e,t,r=(e=(0,o.useState)(!1),t=2,function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,o,a=[],_n=!0,i=!1;try{for(r=r.call(e);!(_n=(n=r.next()).done)&&(a.push(n.value),!t||a.length!==t);_n=!0);}catch(e){i=!0,o=e}finally{try{_n||null==r.return||r.return()}finally{if(i)throw o}}return a}}(e,t)||function(e,t){if(e){if("string"==typeof e)return tn(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?tn(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.")}()),n=r[0],a=r[1],i=kr(c),d=i.setFolderPanelContext,p=i.setExpandedFolders,m=i.setFolderBeingEditedId,g=i.setOrganizationMode,v=i.setSelectedFolderIds,y=_r((function(e){var t=e(c),r=t.getSelectedFolder,n=t.canAddFolders,o=t.getFolders,a=t.getOrganizationMode,i=t.getSelectedFolderIds;return{folder:r(),folders:o(),canAddFolders:n(),organizationMode:a(),selectedFolderIds:i()}})),b=y.folder,w=y.folders,E=y.canAddFolders,S=y.organizationMode,x=y.selectedFolderIds;return React.createElement("div",{className:"wicked-toolbar-container"},React.createElement("div",{className:"wicked-folder-pane-toolbar"},h==S?React.createElement("div",{className:"wicked-folder-pane-toolbar-bulk-buttons"},React.createElement("button",{type:"button",className:"button action",disabled:!x.length,onClick:function(){return d(s)}},(0,xe.__)("Delete Selected","wicked-folders")),React.createElement("button",{type:"button",className:"button action",onClick:function(){g(f),v([])}},(0,xe.__)("Cancel","wicked-folders"))):React.createElement("div",{className:"wicked-folder-pane-toolbar-buttons"},React.createElement("div",null,React.createElement("button",{type:"button",title:(0,xe.__)("Add New Folder","wicked-folders"),disabled:!E,onClick:function(){return d("add")}},Kr,React.createElement("span",{className:"screen-reader-text"},(0,xe.__)("Add New Folder","wicked-folders")))),React.createElement("div",null,React.createElement("button",{type:"button",title:(0,xe.__)("Edit Folder","wicked-folders"),disabled:!b||!b.editable,onClick:function(){d(l),m(b.id)}},Zr,React.createElement("span",{className:"screen-reader-text"},(0,xe.__)("Edit Folder","wicked-folders")))),React.createElement("div",null,React.createElement("button",{type:"button",title:(0,xe.__)("Delete Folder","wicked-folders"),disabled:!b||!b.deletable,onClick:function(){return d(s)}},$r,React.createElement("span",{className:"screen-reader-text"},(0,xe.__)("Delete Folder","wicked-folders")))),React.createElement("div",null,React.createElement("button",{type:"button",title:(0,xe.__)(n?"Collapse All":"Expand All","wicked-folders"),onClick:function(){if(n)p(["0"]),a(!1);else{var e=w.map((function(e){return e.id}));p(e),a(!0)}}},n?Yr:Xr,React.createElement("span",{className:"screen-reader-text"},(0,xe.__)(n?"Collapse All":"Expand All","wicked-folders")))),React.createElement("div",null,React.createElement("button",{type:"button",title:(0,xe.__)("Settings","wicked-folders"),onClick:function(){return d(u)}},Wr,React.createElement("span",{className:"screen-reader-text"},(0,xe.__)("Settings","wicked-folders")))))))};var nn=r(703),on=r.n(nn);const an=window.wp.apiFetch;var cn=r.n(an);const ln=window.wp.hooks;window.wp.components;var sn=r(805);function un(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}var dn=lodash.find;const fn=function(e){var t=e.folder,r=Qr,n=(0,o.useContext)(wr),i=(0,o.useRef)(),l=(0,a.useDispatch)(c),s=l.addNotification,u=l.moveFolder,d=l.movePostsToFolder,m=l.unassignFolders,g=kr(c),v=g.toggleExpanded,y=g.setSelectedFolderId,b=g.setSelectedFolderIds,w=g.expandFolder,E=(g.setIsFolderDragging,g.setFolderUsingContextMenuId,_r((function(e){return{allFolders:e(c).getFolders(),organizationMode:e(c).getOrganizationMode(),selectedFolder:e(c).getSelectedFolder(),selectedFolderIds:e(c).getSelectedFolderIds(),postIdsToMove:e(c).getPostIdsToMove(),postType:e(c).getPostType(),isExpanded:e(c).isFolderExpanded(t.id),showItemCounts:e(c).showItemCounts(),folderUsingContextMenuId:e(c).getFolderUsingContextMenuId()}}))),S=E.allFolders,x=E.organizationMode,_=E.selectedFolder,k=E.selectedFolderIds,R=E.postIdsToMove,L=E.postType,T=E.isExpanded,A=E.showItemCounts,N=(E.folderUsingContextMenuId,t.id,function(){y(t.id),w(t.id)});return(0,o.useEffect)((function(){var e=jQuery,r=e(i.current);return p!=x&&h!=x||!r.data("ui-droppable")||r.droppable("destroy"),f==x&&r.droppable({hoverClass:"wicked-drop-hover",tolerance:"pointer",accept:function(t){var r=!1,n=e(this).parents("li").eq(0).attr("data-folder-id"),o=dn(S,{id:n}),a=t.attr("data-folder-id"),i=dn(S,{id:a}),c=_;return(i||R)&&(r=!0),t.hasClass("wicked-folder-leaf")?(n==i.parent&&(r=!1),"unassigned_dynamic_folder"==n&&(r=!1),f!=x&&(r=!1),0!=n&&(o.editable&&i.editable||(r=!1))):(n==c.id&&(r=!1),0==n&&(r=!1),o.assignable||(r=!1)),r},drop:function(r,o){var a=e(this).parents("li").eq(0).attr("data-folder-id"),i=dn(S,{id:a}),c=_.id,l=_.assignable,f=r.shiftKey||!l,p="wf_"+L+"_folders",h=(f?(0,xe.__)("Copied","wicked-folders"):(0,xe.__)("Moved","wicked-folders"))+" "+(1==R.length?"item":R.length+" items")+" "+(0,xe.__)("to folder.","wicked-folders");if(R.length>0)if(D(i)&&(a=i.termId),D(_.type)&&(t.termId,function(e){throw new TypeError('"fromFolderId" is read-only')}()),0==a||"unassigned_dynamic_folder"==a){if(!confirm((0,xe.__)("This will unassign the selected item(s) from all folders. Are you sure you want to continue?","wicked-folders")))return!1;F(_)||D(_)?O(R):R.forEach((function(t){e('.wp-list-table [id="post-'+t+'"] td.taxonomy-'+p).html('<span aria-hidden="true">—</span><span class="screen-reader-text">No categories</span>')})),s({message:(0,xe.sprintf)((0,xe._n)("Unassigned %d item","Unassigned %d items",R.length,"wicked-folders"),R.length)}),m(n,R),(0,ln.doAction)("wickedFolders.unassignFolders",R,c)}else"0"!=c||r.shiftKey?"unassigned_dynamic_folder"==c?O(R):f||O(R):O(R),d(n,R,a,c,f),s({message:h}),(0,ln.doAction)("wickedFolders.movePostsToFolder",R,a,c,f);else{var g=e(o.draggable).attr("data-folder-id");u(n,g,a)}}}),function(){r.data("ui-droppable")}}),[S,x]),T&&(r=Jr),"dynamic_root"==t.id&&(r=en),React.createElement("div",{className:"wicked-folder-wrapper"},React.createElement("button",{className:"wicked-toggle",type:"button",onClick:function(){return v(t.id)}},React.createElement("span",{className:"screen-reader-text"},T?(0,xe.__)("Collapse","wicked-folders"):(0,xe.__)("Expand","wicked-folders")),Vr),React.createElement("div",{className:"wicked-folder",onClick:N,ref:i},h==x?React.createElement("span",{className:"wicked-select"},React.createElement("input",{type:"checkbox","aria-label":(0,sn.decode)(t.name),disabled:!t.deletable,onClick:function(e){return e.stopPropagation()},onChange:function(e){return function(e,t){e.stopPropagation();var r,n=function(e){if(Array.isArray(e))return un(e)}(r=k)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(r)||function(e,t){if(e){if("string"==typeof e)return un(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?un(e,t):void 0}}(r)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}();e.target.checked?n.push(t):n.splice(n.indexOf(t),1),b(n)}(e,t.id)},checked:k.includes(t.id)})):React.createElement("span",{className:"wicked-icon"},r),React.createElement("button",{className:"wicked-folder-name",type:"button",onClick:N},(0,sn.decode)(t.name)),A&&t.showItemCount&&React.createElement("span",{className:"wicked-count"},t.itemCount)))},pn=function(e){var t=e.folder,r=window.innerWidth||document.documentElement.clientWidth||document.body.clientWidth,n=(0,o.useRef)(),a=kr(c).setIsFolderDragging,i=_r((function(e){var r=e(c),n=r.isFolderExpanded,o=r.folderHasChildren,a=r.isFolderSelected,i=r.isSearch,l=r.folderMatchesSearchTerms,s=r.getFolders,u=r.getOrganizationMode,d=r.disableDragDropOnMobile;return{isSearch:i(),isExpanded:n(t.id),isSelected:a(t.id),hasChildren:o(t.id),isMatch:l(t.id),allFolders:s(),organizationMode:u(),disableDragDropOnMobile:d()}})),l=i.allFolders,s=i.organizationMode,u=i.isExpanded,d=i.hasChildren,h=i.isSelected,m=i.isSearch,g=i.isMatch,v=i.disableDragDropOnMobile,y=r<651&&v,b=on()("wicked-tree-leaf","wicked-folder-leaf",{"wicked-expanded":u||m},{"has-children":d},{"wicked-selected":h},{"wicked-movable":t.movable&&!y},{editable:t.editable},{assignable:t.assignable},{"wicked-no-match":m&&!g});return(0,o.useEffect)((function(){var e=jQuery(n.current);return p==s&&e.data("ui-draggable")&&e.draggable("destroy"),t.movable&&f==s&&!y&&(e.draggable({revert:"invalid",helper:"clone",start:function(e,t){a(!0)},stop:function(e,t){a(!1)}}),x()&&e.draggable("option","cursorAt",{top:0,right:40})),function(){e.data("ui-draggable")}}),[l,s]),React.createElement("li",{className:b,"data-folder-id":t.id,ref:n},React.createElement(fn,{folder:t}),u&&React.createElement(yn,{parent:t.id}))};function hn(e){return hn="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},hn(e)}function mn(){mn=function(){return e};var e={},t=Object.prototype,r=t.hasOwnProperty,n="function"==typeof Symbol?Symbol:{},o=n.iterator||"@@iterator",a=n.asyncIterator||"@@asyncIterator",i=n.toStringTag||"@@toStringTag";function c(e,t,r){return Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{c({},"")}catch(e){c=function(e,t,r){return e[t]=r}}function l(e,t,r,n){var o=t&&t.prototype instanceof d?t:d,a=Object.create(o.prototype),i=new x(n||[]);return a._invoke=function(e,t,r){var n="suspendedStart";return function(o,a){if("executing"===n)throw new Error("Generator is already running");if("completed"===n){if("throw"===o)throw a;return{value:void 0,done:!0}}for(r.method=o,r.arg=a;;){var i=r.delegate;if(i){var c=w(i,r);if(c){if(c===u)continue;return c}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if("suspendedStart"===n)throw n="completed",r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);n="executing";var l=s(e,t,r);if("normal"===l.type){if(n=r.done?"completed":"suspendedYield",l.arg===u)continue;return{value:l.arg,done:r.done}}"throw"===l.type&&(n="completed",r.method="throw",r.arg=l.arg)}}}(e,r,i),a}function s(e,t,r){try{return{type:"normal",arg:e.call(t,r)}}catch(e){return{type:"throw",arg:e}}}e.wrap=l;var u={};function d(){}function f(){}function p(){}var h={};c(h,o,(function(){return this}));var m=Object.getPrototypeOf,g=m&&m(m(_([])));g&&g!==t&&r.call(g,o)&&(h=g);var v=p.prototype=d.prototype=Object.create(h);function y(e){["next","throw","return"].forEach((function(t){c(e,t,(function(e){return this._invoke(t,e)}))}))}function b(e,t){function n(o,a,i,c){var l=s(e[o],e,a);if("throw"!==l.type){var u=l.arg,d=u.value;return d&&"object"==hn(d)&&r.call(d,"__await")?t.resolve(d.__await).then((function(e){n("next",e,i,c)}),(function(e){n("throw",e,i,c)})):t.resolve(d).then((function(e){u.value=e,i(u)}),(function(e){return n("throw",e,i,c)}))}c(l.arg)}var o;this._invoke=function(e,r){function a(){return new t((function(t,o){n(e,r,t,o)}))}return o=o?o.then(a,a):a()}}function w(e,t){var r=e.iterator[t.method];if(void 0===r){if(t.delegate=null,"throw"===t.method){if(e.iterator.return&&(t.method="return",t.arg=void 0,w(e,t),"throw"===t.method))return u;t.method="throw",t.arg=new TypeError("The iterator does not provide a 'throw' method")}return u}var n=s(r,e.iterator,t.arg);if("throw"===n.type)return t.method="throw",t.arg=n.arg,t.delegate=null,u;var o=n.arg;return o?o.done?(t[e.resultName]=o.value,t.next=e.nextLoc,"return"!==t.method&&(t.method="next",t.arg=void 0),t.delegate=null,u):o:(t.method="throw",t.arg=new TypeError("iterator result is not an object"),t.delegate=null,u)}function E(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function S(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function x(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(E,this),this.reset(!0)}function _(e){if(e){var t=e[o];if(t)return t.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var n=-1,a=function t(){for(;++n<e.length;)if(r.call(e,n))return t.value=e[n],t.done=!1,t;return t.value=void 0,t.done=!0,t};return a.next=a}}return{next:k}}function k(){return{value:void 0,done:!0}}return f.prototype=p,c(v,"constructor",p),c(p,"constructor",f),f.displayName=c(p,i,"GeneratorFunction"),e.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===f||"GeneratorFunction"===(t.displayName||t.name))},e.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,p):(e.__proto__=p,c(e,i,"GeneratorFunction")),e.prototype=Object.create(v),e},e.awrap=function(e){return{__await:e}},y(b.prototype),c(b.prototype,a,(function(){return this})),e.AsyncIterator=b,e.async=function(t,r,n,o,a){void 0===a&&(a=Promise);var i=new b(l(t,r,n,o),a);return e.isGeneratorFunction(r)?i:i.next().then((function(e){return e.done?e.value:i.next()}))},y(v),c(v,i,"Generator"),c(v,o,(function(){return this})),c(v,"toString",(function(){return"[object Generator]"})),e.keys=function(e){var t=[];for(var r in e)t.push(r);return t.reverse(),function r(){for(;t.length;){var n=t.pop();if(n in e)return r.value=n,r.done=!1,r}return r.done=!0,r}},e.values=_,x.prototype={constructor:x,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEach(S),!e)for(var t in this)"t"===t.charAt(0)&&r.call(this,t)&&!isNaN(+t.slice(1))&&(this[t]=void 0)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var t=this;function n(r,n){return i.type="throw",i.arg=e,t.next=r,n&&(t.method="next",t.arg=void 0),!!n}for(var o=this.tryEntries.length-1;o>=0;--o){var a=this.tryEntries[o],i=a.completion;if("root"===a.tryLoc)return n("end");if(a.tryLoc<=this.prev){var c=r.call(a,"catchLoc"),l=r.call(a,"finallyLoc");if(c&&l){if(this.prev<a.catchLoc)return n(a.catchLoc,!0);if(this.prev<a.finallyLoc)return n(a.finallyLoc)}else if(c){if(this.prev<a.catchLoc)return n(a.catchLoc,!0)}else{if(!l)throw new Error("try statement without catch or finally");if(this.prev<a.finallyLoc)return n(a.finallyLoc)}}}},abrupt:function(e,t){for(var n=this.tryEntries.length-1;n>=0;--n){var o=this.tryEntries[n];if(o.tryLoc<=this.prev&&r.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var a=o;break}}a&&("break"===e||"continue"===e)&&a.tryLoc<=t&&t<=a.finallyLoc&&(a=null);var i=a?a.completion:{};return i.type=e,i.arg=t,a?(this.method="next",this.next=a.finallyLoc,u):this.complete(i)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),u},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.finallyLoc===e)return this.complete(r.completion,r.afterLoc),S(r),u}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.tryLoc===e){var n=r.completion;if("throw"===n.type){var o=n.arg;S(r)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(e,t,r){return this.delegate={iterator:_(e),resultName:t,nextLoc:r},"next"===this.method&&(this.arg=void 0),u}},e}function gn(e,t,r,n,o,a,i){try{var c=e[a](i),l=c.value}catch(e){return void r(e)}c.done?t(l):Promise.resolve(l).then(n,o)}var vn=lodash.debounce;const yn=function(e){var t=e.parent,r=void 0===t?"root":t,n=(0,o.useRef)(null),a=kr(c),i=a.setFolders,l=a.setSortMode,s=_r((function(e){var t=e(c).getSelectedFolderId();return{allFolders:e(c).getFolders(),organizationMode:e(c).getOrganizationMode(),selectedFolder:e(c).getSelectedFolder(),postIdsToMove:e(c).getPostIdsToMove(),postType:e(c).getPostType(),searchTerms:e(c).getSearchTerms(),isFolderDragging:e(c).isFolderDragging(),childFolders:e(c).getChildFolders(t)}})),u=(s.childFolders,s.allFolders),h=s.organizationMode,m=(s.selectedFolder,s.postIdsToMove),v=(s.postType,s.searchTerms,s.isFolderDragging);(0,o.useEffect)((function(){var e=jQuery,t=e(n.current);f==h&&t.data("ui-sortable")&&t.sortable("destroy"),"root"!=r&&p==h&&t.sortable({items:"> li",helper:"clone",stop:function(t,r){var n=r.item.parent().find("> li"),o=[],a=[];n.each((function(t,r){var n=e(r).attr("data-folder-id");o.push(n),a=u.map((function(e){return e.id==n&&(e.order=t),e}))})),e(r.sender).sortable("cancel"),y(o),l(g),i(a)}})}));var y=function(){var e,t=(e=mn().mark((function e(t){return mn().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,cn()({path:"".concat(d,"folders/sort"),method:"PUT",data:{folder_ids:t}});case 2:e.sent;case 3:case"end":return e.stop()}}),e)})),function(){var t=this,r=arguments;return new Promise((function(n,o){var a=e.apply(t,r);function i(e){gn(a,n,o,i,c,"next",e)}function c(e){gn(a,n,o,i,c,"throw",e)}i(void 0)}))});return function(_x){return t.apply(this,arguments)}}(),b=((0,o.useCallback)(vn((function(e){return y(e)}),500),[]),_r((function(e){return{folders:e(c).getFoldersFilteredBySearchTerms().filter((function(e){return e.parent==r}))}}))).folders,w=on()({"wicked-tree":"root"==r},{"highlight-editable":v},{"highlight-assignable":m.length>0});return React.createElement("ul",{className:w,ref:n},b.map((function(e){return React.createElement(pn,{folder:e,key:e.id})})))},bn=function(){return React.createElement("div",{className:"wicked-folder-tree"},React.createElement(yn,{parent:"root"}))};var wn=function e(t){var r=t.folders,n=t.depth,a=void 0===n?0:n,i=t.parent,c=void 0===i?0:i,l=r.filter((function(e){return e.parent==c}));return React.createElement(React.Fragment,null,l.map((function(t){return React.createElement(o.Fragment,{key:t.id},React.createElement("option",{value:t.id},function(e,t){var r=" ",n=0;if(t<1)return"";for(n=0;n<t-1;n++)r+=" ";return r}(0,a),(0,sn.decode)(t.name)),React.createElement(e,{folders:r,parent:t.id,depth:a+1}))})))};const En=function(e){var t=e.folders,r=e.parent,n=void 0===r?"0":r,o=e.selected,a=void 0!==o&&o,i=e.label,c=void 0!==i&&i,l=e.onChange,s=c||(0,xe.__)("Parent Folder","wicked-folders");return React.createElement(React.Fragment,null,React.createElement("label",{htmlFor:"wicked-folder-select",className:"screen-reader-text"},s,":"),React.createElement("select",{id:"wicked-folder-select",onChange:function(e){return l(e.target.value)},value:a},React.createElement("option",{value:"0"},s),React.createElement(wn,{folders:t,parent:n})))};function Sn(e){return Sn="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},Sn(e)}function xn(){xn=function(){return e};var e={},t=Object.prototype,r=t.hasOwnProperty,n="function"==typeof Symbol?Symbol:{},o=n.iterator||"@@iterator",a=n.asyncIterator||"@@asyncIterator",i=n.toStringTag||"@@toStringTag";function c(e,t,r){return Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{c({},"")}catch(e){c=function(e,t,r){return e[t]=r}}function l(e,t,r,n){var o=t&&t.prototype instanceof d?t:d,a=Object.create(o.prototype),i=new x(n||[]);return a._invoke=function(e,t,r){var n="suspendedStart";return function(o,a){if("executing"===n)throw new Error("Generator is already running");if("completed"===n){if("throw"===o)throw a;return{value:void 0,done:!0}}for(r.method=o,r.arg=a;;){var i=r.delegate;if(i){var c=w(i,r);if(c){if(c===u)continue;return c}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if("suspendedStart"===n)throw n="completed",r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);n="executing";var l=s(e,t,r);if("normal"===l.type){if(n=r.done?"completed":"suspendedYield",l.arg===u)continue;return{value:l.arg,done:r.done}}"throw"===l.type&&(n="completed",r.method="throw",r.arg=l.arg)}}}(e,r,i),a}function s(e,t,r){try{return{type:"normal",arg:e.call(t,r)}}catch(e){return{type:"throw",arg:e}}}e.wrap=l;var u={};function d(){}function f(){}function p(){}var h={};c(h,o,(function(){return this}));var m=Object.getPrototypeOf,g=m&&m(m(_([])));g&&g!==t&&r.call(g,o)&&(h=g);var v=p.prototype=d.prototype=Object.create(h);function y(e){["next","throw","return"].forEach((function(t){c(e,t,(function(e){return this._invoke(t,e)}))}))}function b(e,t){function n(o,a,i,c){var l=s(e[o],e,a);if("throw"!==l.type){var u=l.arg,d=u.value;return d&&"object"==Sn(d)&&r.call(d,"__await")?t.resolve(d.__await).then((function(e){n("next",e,i,c)}),(function(e){n("throw",e,i,c)})):t.resolve(d).then((function(e){u.value=e,i(u)}),(function(e){return n("throw",e,i,c)}))}c(l.arg)}var o;this._invoke=function(e,r){function a(){return new t((function(t,o){n(e,r,t,o)}))}return o=o?o.then(a,a):a()}}function w(e,t){var r=e.iterator[t.method];if(void 0===r){if(t.delegate=null,"throw"===t.method){if(e.iterator.return&&(t.method="return",t.arg=void 0,w(e,t),"throw"===t.method))return u;t.method="throw",t.arg=new TypeError("The iterator does not provide a 'throw' method")}return u}var n=s(r,e.iterator,t.arg);if("throw"===n.type)return t.method="throw",t.arg=n.arg,t.delegate=null,u;var o=n.arg;return o?o.done?(t[e.resultName]=o.value,t.next=e.nextLoc,"return"!==t.method&&(t.method="next",t.arg=void 0),t.delegate=null,u):o:(t.method="throw",t.arg=new TypeError("iterator result is not an object"),t.delegate=null,u)}function E(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function S(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function x(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(E,this),this.reset(!0)}function _(e){if(e){var t=e[o];if(t)return t.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var n=-1,a=function t(){for(;++n<e.length;)if(r.call(e,n))return t.value=e[n],t.done=!1,t;return t.value=void 0,t.done=!0,t};return a.next=a}}return{next:k}}function k(){return{value:void 0,done:!0}}return f.prototype=p,c(v,"constructor",p),c(p,"constructor",f),f.displayName=c(p,i,"GeneratorFunction"),e.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===f||"GeneratorFunction"===(t.displayName||t.name))},e.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,p):(e.__proto__=p,c(e,i,"GeneratorFunction")),e.prototype=Object.create(v),e},e.awrap=function(e){return{__await:e}},y(b.prototype),c(b.prototype,a,(function(){return this})),e.AsyncIterator=b,e.async=function(t,r,n,o,a){void 0===a&&(a=Promise);var i=new b(l(t,r,n,o),a);return e.isGeneratorFunction(r)?i:i.next().then((function(e){return e.done?e.value:i.next()}))},y(v),c(v,i,"Generator"),c(v,o,(function(){return this})),c(v,"toString",(function(){return"[object Generator]"})),e.keys=function(e){var t=[];for(var r in e)t.push(r);return t.reverse(),function r(){for(;t.length;){var n=t.pop();if(n in e)return r.value=n,r.done=!1,r}return r.done=!0,r}},e.values=_,x.prototype={constructor:x,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEach(S),!e)for(var t in this)"t"===t.charAt(0)&&r.call(this,t)&&!isNaN(+t.slice(1))&&(this[t]=void 0)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var t=this;function n(r,n){return i.type="throw",i.arg=e,t.next=r,n&&(t.method="next",t.arg=void 0),!!n}for(var o=this.tryEntries.length-1;o>=0;--o){var a=this.tryEntries[o],i=a.completion;if("root"===a.tryLoc)return n("end");if(a.tryLoc<=this.prev){var c=r.call(a,"catchLoc"),l=r.call(a,"finallyLoc");if(c&&l){if(this.prev<a.catchLoc)return n(a.catchLoc,!0);if(this.prev<a.finallyLoc)return n(a.finallyLoc)}else if(c){if(this.prev<a.catchLoc)return n(a.catchLoc,!0)}else{if(!l)throw new Error("try statement without catch or finally");if(this.prev<a.finallyLoc)return n(a.finallyLoc)}}}},abrupt:function(e,t){for(var n=this.tryEntries.length-1;n>=0;--n){var o=this.tryEntries[n];if(o.tryLoc<=this.prev&&r.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var a=o;break}}a&&("break"===e||"continue"===e)&&a.tryLoc<=t&&t<=a.finallyLoc&&(a=null);var i=a?a.completion:{};return i.type=e,i.arg=t,a?(this.method="next",this.next=a.finallyLoc,u):this.complete(i)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),u},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.finallyLoc===e)return this.complete(r.completion,r.afterLoc),S(r),u}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.tryLoc===e){var n=r.completion;if("throw"===n.type){var o=n.arg;S(r)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(e,t,r){return this.delegate={iterator:_(e),resultName:t,nextLoc:r},"next"===this.method&&(this.arg=void 0),u}},e}function kn(e,t,r,n,o,a,i){try{var c=e[a](i),l=c.value}catch(e){return void r(e)}c.done?t(l):Promise.resolve(l).then(n,o)}function Rn(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,o,a=[],_n=!0,i=!1;try{for(r=r.call(e);!(_n=(n=r.next()).done)&&(a.push(n.value),!t||a.length!==t);_n=!0);}catch(e){i=!0,o=e}finally{try{_n||null==r.return||r.return()}finally{if(i)throw o}}return a}}(e,t)||Ln(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 Ln(e,t){if(e){if("string"==typeof e)return Tn(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?Tn(e,t):void 0}}function Tn(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}const On=function(){var e=(0,o.useRef)(),t=Rn((0,o.useState)(""),2),r=t[0],n=t[1],i=(0,a.useDispatch)(c).addNotification,l=kr(c),s=l.setFolderPanelContext,u=(l.setFolderPanelMessage,l.setFolderPanelError),f=l.setIsFolderPanelBusy,p=l.setFolders,h=_r((function(e){var t=e(c),r=t.getFolders,n=t.getPostType,o=t.isFolderPanelBusy,a=t.getFolderPanelError,i=t.getUserId,l=t.getSelectedFolderId,s=t.getSelectedFolder;return{folders:r(),postType:n(),isBusy:o(),error:a(),userId:i(),folderId:l(),folder:s()}})),m=h.folders,g=h.postType,v=h.isBusy,y=h.error,b=h.userId,w=h.folderId,E=h.folder,S=Rn((0,o.useState)(F(E)&&E.editable?w:"0"),2),x=S[0],_=S[1],k=m?m.filter((function(e){return F(e)&&e.editable})):[];(0,o.useEffect)((function(){e.current.focus()}),[]);var R=function(){var t,o=(t=xn().mark((function t(){var o;return xn().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return f(!0),u(!1),t.prev=2,t.next=5,cn()({path:"".concat(d,"folders"),method:"POST",data:{name:r,parent:x,postType:g,ownerId:b}});case 5:o=t.sent,n(""),p([].concat(function(e){if(Array.isArray(e))return Tn(e)}(a=m)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(a)||Ln(a)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}(),[o])),f(!1),i({message:(0,xe.__)("Successfully added new folder.","wicked-folders")}),e.current.focus(),t.next=17;break;case 13:t.prev=13,t.t0=t.catch(2),u(t.t0.message),f(!1);case 17:case"end":return t.stop()}var a}),t,null,[[2,13]])})),function(){var e=this,r=arguments;return new Promise((function(n,o){var a=t.apply(e,r);function i(e){kn(a,n,o,i,c,"next",e)}function c(e){kn(a,n,o,i,c,"throw",e)}i(void 0)}))});return function(){return o.apply(this,arguments)}}(),L=function(){s(!1)};return React.createElement(React.Fragment,null,React.createElement("div",{className:"wicked-header"},React.createElement("h2",null,(0,xe.__)("Add New Folder","wicked-folders")),React.createElement("button",{type:"button",className:"wicked-close",onClick:L},React.createElement("span",{className:"screen-reader-text"},(0,xe.__)("Close","wicked-folders")),React.createElement("span",{className:"dashicons dashicons-no"}))),React.createElement("div",null,y&&React.createElement("div",{className:"wicked-messages wicked-errors"},y),React.createElement("div",{className:"wicked-folder-name"},React.createElement("label",{htmlFor:"wicked-folder-name",className:"screen-reader-text"},(0,xe.__)("Folder name","wicked-folders"),":"),React.createElement("input",{ref:e,id:"wicked-folder-name",type:"text",name:"wicked_folder_name",placeholder:(0,xe.__)("Folder name","wicked-folders"),value:r,onChange:function(e){return n(e.target.value)},onKeyUp:function(e){27==e.which&&L()},onKeyDown:function(e){13==e.which&&r.length>0&&R()}})),React.createElement("div",{className:"wicked-folder-parent"},React.createElement(En,{folders:k,onChange:function(e){return _(e)},selected:x}))),React.createElement("div",{className:"wicked-footer"},React.createElement("button",{className:"button wicked-cancel",onClick:L,disabled:v},(0,xe.__)("Cancel","wicked-folders")),React.createElement("button",{className:"button-primary wicked-save",type:"submit",disabled:r.length<1||v,onClick:R},(0,xe.__)("Save","wicked-folders"))))};function Fn(e){return Fn="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},Fn(e)}function Dn(){Dn=function(){return e};var e={},t=Object.prototype,r=t.hasOwnProperty,n="function"==typeof Symbol?Symbol:{},o=n.iterator||"@@iterator",a=n.asyncIterator||"@@asyncIterator",i=n.toStringTag||"@@toStringTag";function c(e,t,r){return Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{c({},"")}catch(e){c=function(e,t,r){return e[t]=r}}function l(e,t,r,n){var o=t&&t.prototype instanceof d?t:d,a=Object.create(o.prototype),i=new x(n||[]);return a._invoke=function(e,t,r){var n="suspendedStart";return function(o,a){if("executing"===n)throw new Error("Generator is already running");if("completed"===n){if("throw"===o)throw a;return{value:void 0,done:!0}}for(r.method=o,r.arg=a;;){var i=r.delegate;if(i){var c=w(i,r);if(c){if(c===u)continue;return c}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if("suspendedStart"===n)throw n="completed",r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);n="executing";var l=s(e,t,r);if("normal"===l.type){if(n=r.done?"completed":"suspendedYield",l.arg===u)continue;return{value:l.arg,done:r.done}}"throw"===l.type&&(n="completed",r.method="throw",r.arg=l.arg)}}}(e,r,i),a}function s(e,t,r){try{return{type:"normal",arg:e.call(t,r)}}catch(e){return{type:"throw",arg:e}}}e.wrap=l;var u={};function d(){}function f(){}function p(){}var h={};c(h,o,(function(){return this}));var m=Object.getPrototypeOf,g=m&&m(m(_([])));g&&g!==t&&r.call(g,o)&&(h=g);var v=p.prototype=d.prototype=Object.create(h);function y(e){["next","throw","return"].forEach((function(t){c(e,t,(function(e){return this._invoke(t,e)}))}))}function b(e,t){function n(o,a,i,c){var l=s(e[o],e,a);if("throw"!==l.type){var u=l.arg,d=u.value;return d&&"object"==Fn(d)&&r.call(d,"__await")?t.resolve(d.__await).then((function(e){n("next",e,i,c)}),(function(e){n("throw",e,i,c)})):t.resolve(d).then((function(e){u.value=e,i(u)}),(function(e){return n("throw",e,i,c)}))}c(l.arg)}var o;this._invoke=function(e,r){function a(){return new t((function(t,o){n(e,r,t,o)}))}return o=o?o.then(a,a):a()}}function w(e,t){var r=e.iterator[t.method];if(void 0===r){if(t.delegate=null,"throw"===t.method){if(e.iterator.return&&(t.method="return",t.arg=void 0,w(e,t),"throw"===t.method))return u;t.method="throw",t.arg=new TypeError("The iterator does not provide a 'throw' method")}return u}var n=s(r,e.iterator,t.arg);if("throw"===n.type)return t.method="throw",t.arg=n.arg,t.delegate=null,u;var o=n.arg;return o?o.done?(t[e.resultName]=o.value,t.next=e.nextLoc,"return"!==t.method&&(t.method="next",t.arg=void 0),t.delegate=null,u):o:(t.method="throw",t.arg=new TypeError("iterator result is not an object"),t.delegate=null,u)}function E(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function S(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function x(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(E,this),this.reset(!0)}function _(e){if(e){var t=e[o];if(t)return t.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var n=-1,a=function t(){for(;++n<e.length;)if(r.call(e,n))return t.value=e[n],t.done=!1,t;return t.value=void 0,t.done=!0,t};return a.next=a}}return{next:k}}function k(){return{value:void 0,done:!0}}return f.prototype=p,c(v,"constructor",p),c(p,"constructor",f),f.displayName=c(p,i,"GeneratorFunction"),e.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===f||"GeneratorFunction"===(t.displayName||t.name))},e.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,p):(e.__proto__=p,c(e,i,"GeneratorFunction")),e.prototype=Object.create(v),e},e.awrap=function(e){return{__await:e}},y(b.prototype),c(b.prototype,a,(function(){return this})),e.AsyncIterator=b,e.async=function(t,r,n,o,a){void 0===a&&(a=Promise);var i=new b(l(t,r,n,o),a);return e.isGeneratorFunction(r)?i:i.next().then((function(e){return e.done?e.value:i.next()}))},y(v),c(v,i,"Generator"),c(v,o,(function(){return this})),c(v,"toString",(function(){return"[object Generator]"})),e.keys=function(e){var t=[];for(var r in e)t.push(r);return t.reverse(),function r(){for(;t.length;){var n=t.pop();if(n in e)return r.value=n,r.done=!1,r}return r.done=!0,r}},e.values=_,x.prototype={constructor:x,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEach(S),!e)for(var t in this)"t"===t.charAt(0)&&r.call(this,t)&&!isNaN(+t.slice(1))&&(this[t]=void 0)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var t=this;function n(r,n){return i.type="throw",i.arg=e,t.next=r,n&&(t.method="next",t.arg=void 0),!!n}for(var o=this.tryEntries.length-1;o>=0;--o){var a=this.tryEntries[o],i=a.completion;if("root"===a.tryLoc)return n("end");if(a.tryLoc<=this.prev){var c=r.call(a,"catchLoc"),l=r.call(a,"finallyLoc");if(c&&l){if(this.prev<a.catchLoc)return n(a.catchLoc,!0);if(this.prev<a.finallyLoc)return n(a.finallyLoc)}else if(c){if(this.prev<a.catchLoc)return n(a.catchLoc,!0)}else{if(!l)throw new Error("try statement without catch or finally");if(this.prev<a.finallyLoc)return n(a.finallyLoc)}}}},abrupt:function(e,t){for(var n=this.tryEntries.length-1;n>=0;--n){var o=this.tryEntries[n];if(o.tryLoc<=this.prev&&r.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var a=o;break}}a&&("break"===e||"continue"===e)&&a.tryLoc<=t&&t<=a.finallyLoc&&(a=null);var i=a?a.completion:{};return i.type=e,i.arg=t,a?(this.method="next",this.next=a.finallyLoc,u):this.complete(i)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),u},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.finallyLoc===e)return this.complete(r.completion,r.afterLoc),S(r),u}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.tryLoc===e){var n=r.completion;if("throw"===n.type){var o=n.arg;S(r)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(e,t,r){return this.delegate={iterator:_(e),resultName:t,nextLoc:r},"next"===this.method&&(this.arg=void 0),u}},e}function An(e,t,r,n,o,a,i){try{var c=e[a](i),l=c.value}catch(e){return void r(e)}c.done?t(l):Promise.resolve(l).then(n,o)}function Nn(e){return function(){var t=this,r=arguments;return new Promise((function(n,o){var a=e.apply(t,r);function i(e){An(a,n,o,i,c,"next",e)}function c(e){An(a,n,o,i,c,"throw",e)}i(void 0)}))}}function In(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function qn(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?In(Object(r),!0).forEach((function(t){Cn(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):In(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function Cn(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Pn(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,o,a=[],_n=!0,i=!1;try{for(r=r.call(e);!(_n=(n=r.next()).done)&&(a.push(n.value),!t||a.length!==t);_n=!0);}catch(e){i=!0,o=e}finally{try{_n||null==r.return||r.return()}finally{if(i)throw o}}return a}}(e,t)||jn(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 jn(e,t){if(e){if("string"==typeof e)return Un(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?Un(e,t):void 0}}function Un(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}var Mn=lodash.get;const Bn=function(){var e=(0,o.useContext)(wr),t=(0,o.useRef)(),r=(0,o.useRef)(),n=kr(c),i=n.setFolderPanelContext,l=(n.setFolderPanelMessage,n.setFolderPanelError),s=n.setIsFolderPanelBusy,u=n.setFolders,f=(0,a.useDispatch)(c),p=f.addNotification,h=f.fetchFolders,m=_r((function(e){var t=e(c),r=t.getFolders,n=t.getPostType,o=t.isFolderPanelBusy,a=t.getFolderPanelError,i=t.getUserId,l=t.getFolderBeingEdited;return{folders:r(),postType:n(),isBusy:o(),error:a(),userId:i(),folderBeingEdited:l()}})),g=m.folders,v=m.postType,y=m.error,b=m.folderBeingEdited,w=m.isBusy,E=Pn((0,o.useState)(b),2),S=E[0],x=E[1],_=Pn((0,o.useState)(!1),2),k=_[0],R=_[1],L=g?g.filter((function(e){return F(e)&&e.id!=S.id&&S.editable})):[];(0,o.useEffect)((function(){t.current.focus()}),[]),(0,o.useEffect)((function(){x(b)}),[b]),(0,o.useEffect)((function(){var e=jQuery,t=1,n="";return e(r.current).select2({width:"100%",ajax:{url:wickedFoldersSettings.restURL+"wp/v2/users",dataType:"json",cache:!0,data:function(e){return n!=e.term&&(n=e.term,t=1),{per_page:25,search:e.term,page:t,wf_include_users_without_posts:!0}},transport:function(r,n,o){var a=e.ajax(r);a.then((function(r,n,o){var a=!1;return(parseInt(o.getResponseHeader("X-WP-Total"))||0)>25*t&&(t++,a=!0),{results:e.map(r,(function(e){return{id:e.id,text:e.name}})),pagination:{more:a}}})).then(n),a.fail(o)}}}),e(r.current).on("select2:selecting",(function(e){var t=Mn(e,"params.args.data.id",!1),r=Mn(e,"params.args.data.text",!1);t&&x(qn(qn({},S),{},{ownerId:t,ownerName:r}))})),function(){e(r.current).off("select2:selecting"),e(r.current).select2("close"),e(r.current).select2("destroy")}}));var T=function(){var e=Nn(Dn().mark((function e(){var r,n;return Dn().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return s(!0),l(!1),e.prev=2,e.next=5,cn()({path:"".concat(d,"folders/").concat(S.id),method:"PUT",data:S});case 5:r=e.sent,n=g.map((function(e){return e.id==S.id?r:e})),u(function(e){if(Array.isArray(e))return Un(e)}(o=n)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(o)||jn(o)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()),s(!1),p({message:(0,xe.__)("Successfully saved folder.","wicked-folders")}),t.current.focus(),e.next=17;break;case 13:e.prev=13,e.t0=e.catch(2),l(e.t0.message),s(!1);case 17:case"end":return e.stop()}var o}),e,null,[[2,13]])})));return function(){return e.apply(this,arguments)}}(),O=function(){var t=Nn(Dn().mark((function t(){return Dn().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return s(!0),l(!1),t.prev=2,t.next=5,cn()({path:"".concat(d,"folders/").concat(S.id,"?post_type=").concat(v,"&clone_children=").concat(k),method:"POST"});case 5:t.sent,h(e),s(!1),p({message:(0,xe.__)("Successfully cloned folder.","wicked-folders")}),t.next=15;break;case 11:t.prev=11,t.t0=t.catch(2),l(t.t0.message),s(!1);case 15:case"end":return t.stop()}}),t,null,[[2,11]])})));return function(){return t.apply(this,arguments)}}(),D=function(){i(!1)};return React.createElement(React.Fragment,null,React.createElement("div",{className:"wicked-header"},React.createElement("h2",null,(0,xe.__)("Edit Folder","wicked-folders")),React.createElement("button",{type:"button",className:"wicked-close",onClick:D},React.createElement("span",{className:"screen-reader-text"},(0,xe.__)("Close","wicked-folders")),React.createElement("span",{className:"dashicons dashicons-no"}))),React.createElement("div",null,y&&React.createElement("div",{className:"wicked-messages wicked-errors"},y),React.createElement("div",{className:"wicked-folder-name"},React.createElement("label",{htmlFor:"wicked-folder-name",className:"screen-reader-text"},(0,xe.__)("Folder name","wicked-folders"),":"),React.createElement("input",{ref:t,id:"wicked-folder-name",type:"text",name:"wicked_folder_name",placeholder:(0,xe.__)("Folder name","wicked-folders"),value:(0,sn.decode)(S.name),onChange:function(e){return x(qn(qn({},S),{},{name:e.target.value}))},onKeyUp:function(e){27==e.which&&D()},onKeyDown:function(e){13==e.which&&S.name.length>0&&T()}})),React.createElement("div",{className:"wicked-folder-parent"},React.createElement(En,{folders:L,onChange:function(e){return x(qn(qn({},S),{},{parent:e}))},selected:S.parent})),React.createElement("fieldset",null,React.createElement("legend",null,(0,xe.__)("Clone Folder","wicked-folders"),":",React.createElement("span",{className:"dashicons dashicons-editor-help",title:(0,xe.__)("Creates a copy of the currently selected folder containing the same items.","wicked-folders")})),React.createElement("p",null,React.createElement("label",null,React.createElement("input",{type:"checkbox",name:"wicked_clone_children",checked:k,onChange:function(){return R(!k)}}),(0,xe.__)("Clone child folders also","wicked-folders")),React.createElement("span",{className:"dashicons dashicons-editor-help",title:(0,xe.__)("If checked, descendant folders of the currently selected folder will also be cloned. Otherwise, only the currently selected folder will be cloned.")})),React.createElement("p",null,React.createElement("button",{className:"button wicked-clone-folder",type:"button",onClick:O},(0,xe.__)("Clone Folder","wicked-folders")))),React.createElement("p",{className:"wicked-folder-owner"},React.createElement("label",{htmlFor:"wicked-folder-owner-id"},(0,xe.__)("Owner","wicked-folders"),":"),React.createElement("select",{id:"wicked-folder-owner-id",name:"wicked_folder_owner_id",ref:r},S&&S.ownerId&&React.createElement("option",{value:S.ownerId,selected:"selected"},S.ownerName)))),React.createElement("div",{className:"wicked-footer"},React.createElement("button",{className:"button wicked-cancel",onClick:D},(0,xe.__)("Cancel","wicked-folders")),React.createElement("button",{className:"button-primary wicked-save",type:"submit",onClick:T,disabled:S.name.length<1||w},(0,xe.__)("Save","wicked-folders"))))};function Gn(e){return Gn="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},Gn(e)}function Vn(){Vn=function(){return e};var e={},t=Object.prototype,r=t.hasOwnProperty,n="function"==typeof Symbol?Symbol:{},o=n.iterator||"@@iterator",a=n.asyncIterator||"@@asyncIterator",i=n.toStringTag||"@@toStringTag";function c(e,t,r){return Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{c({},"")}catch(e){c=function(e,t,r){return e[t]=r}}function l(e,t,r,n){var o=t&&t.prototype instanceof d?t:d,a=Object.create(o.prototype),i=new x(n||[]);return a._invoke=function(e,t,r){var n="suspendedStart";return function(o,a){if("executing"===n)throw new Error("Generator is already running");if("completed"===n){if("throw"===o)throw a;return{value:void 0,done:!0}}for(r.method=o,r.arg=a;;){var i=r.delegate;if(i){var c=w(i,r);if(c){if(c===u)continue;return c}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if("suspendedStart"===n)throw n="completed",r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);n="executing";var l=s(e,t,r);if("normal"===l.type){if(n=r.done?"completed":"suspendedYield",l.arg===u)continue;return{value:l.arg,done:r.done}}"throw"===l.type&&(n="completed",r.method="throw",r.arg=l.arg)}}}(e,r,i),a}function s(e,t,r){try{return{type:"normal",arg:e.call(t,r)}}catch(e){return{type:"throw",arg:e}}}e.wrap=l;var u={};function d(){}function f(){}function p(){}var h={};c(h,o,(function(){return this}));var m=Object.getPrototypeOf,g=m&&m(m(_([])));g&&g!==t&&r.call(g,o)&&(h=g);var v=p.prototype=d.prototype=Object.create(h);function y(e){["next","throw","return"].forEach((function(t){c(e,t,(function(e){return this._invoke(t,e)}))}))}function b(e,t){function n(o,a,i,c){var l=s(e[o],e,a);if("throw"!==l.type){var u=l.arg,d=u.value;return d&&"object"==Gn(d)&&r.call(d,"__await")?t.resolve(d.__await).then((function(e){n("next",e,i,c)}),(function(e){n("throw",e,i,c)})):t.resolve(d).then((function(e){u.value=e,i(u)}),(function(e){return n("throw",e,i,c)}))}c(l.arg)}var o;this._invoke=function(e,r){function a(){return new t((function(t,o){n(e,r,t,o)}))}return o=o?o.then(a,a):a()}}function w(e,t){var r=e.iterator[t.method];if(void 0===r){if(t.delegate=null,"throw"===t.method){if(e.iterator.return&&(t.method="return",t.arg=void 0,w(e,t),"throw"===t.method))return u;t.method="throw",t.arg=new TypeError("The iterator does not provide a 'throw' method")}return u}var n=s(r,e.iterator,t.arg);if("throw"===n.type)return t.method="throw",t.arg=n.arg,t.delegate=null,u;var o=n.arg;return o?o.done?(t[e.resultName]=o.value,t.next=e.nextLoc,"return"!==t.method&&(t.method="next",t.arg=void 0),t.delegate=null,u):o:(t.method="throw",t.arg=new TypeError("iterator result is not an object"),t.delegate=null,u)}function E(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function S(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function x(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(E,this),this.reset(!0)}function _(e){if(e){var t=e[o];if(t)return t.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var n=-1,a=function t(){for(;++n<e.length;)if(r.call(e,n))return t.value=e[n],t.done=!1,t;return t.value=void 0,t.done=!0,t};return a.next=a}}return{next:k}}function k(){return{value:void 0,done:!0}}return f.prototype=p,c(v,"constructor",p),c(p,"constructor",f),f.displayName=c(p,i,"GeneratorFunction"),e.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===f||"GeneratorFunction"===(t.displayName||t.name))},e.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,p):(e.__proto__=p,c(e,i,"GeneratorFunction")),e.prototype=Object.create(v),e},e.awrap=function(e){return{__await:e}},y(b.prototype),c(b.prototype,a,(function(){return this})),e.AsyncIterator=b,e.async=function(t,r,n,o,a){void 0===a&&(a=Promise);var i=new b(l(t,r,n,o),a);return e.isGeneratorFunction(r)?i:i.next().then((function(e){return e.done?e.value:i.next()}))},y(v),c(v,i,"Generator"),c(v,o,(function(){return this})),c(v,"toString",(function(){return"[object Generator]"})),e.keys=function(e){var t=[];for(var r in e)t.push(r);return t.reverse(),function r(){for(;t.length;){var n=t.pop();if(n in e)return r.value=n,r.done=!1,r}return r.done=!0,r}},e.values=_,x.prototype={constructor:x,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEach(S),!e)for(var t in this)"t"===t.charAt(0)&&r.call(this,t)&&!isNaN(+t.slice(1))&&(this[t]=void 0)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var t=this;function n(r,n){return i.type="throw",i.arg=e,t.next=r,n&&(t.method="next",t.arg=void 0),!!n}for(var o=this.tryEntries.length-1;o>=0;--o){var a=this.tryEntries[o],i=a.completion;if("root"===a.tryLoc)return n("end");if(a.tryLoc<=this.prev){var c=r.call(a,"catchLoc"),l=r.call(a,"finallyLoc");if(c&&l){if(this.prev<a.catchLoc)return n(a.catchLoc,!0);if(this.prev<a.finallyLoc)return n(a.finallyLoc)}else if(c){if(this.prev<a.catchLoc)return n(a.catchLoc,!0)}else{if(!l)throw new Error("try statement without catch or finally");if(this.prev<a.finallyLoc)return n(a.finallyLoc)}}}},abrupt:function(e,t){for(var n=this.tryEntries.length-1;n>=0;--n){var o=this.tryEntries[n];if(o.tryLoc<=this.prev&&r.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var a=o;break}}a&&("break"===e||"continue"===e)&&a.tryLoc<=t&&t<=a.finallyLoc&&(a=null);var i=a?a.completion:{};return i.type=e,i.arg=t,a?(this.method="next",this.next=a.finallyLoc,u):this.complete(i)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),u},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.finallyLoc===e)return this.complete(r.completion,r.afterLoc),S(r),u}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.tryLoc===e){var n=r.completion;if("throw"===n.type){var o=n.arg;S(r)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(e,t,r){return this.delegate={iterator:_(e),resultName:t,nextLoc:r},"next"===this.method&&(this.arg=void 0),u}},e}function zn(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function Hn(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function Wn(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?Hn(Object(r),!0).forEach((function(t){Yn(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Hn(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function Yn(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Zn(e,t,r,n,o,a,i){try{var c=e[a](i),l=c.value}catch(e){return void r(e)}c.done?t(l):Promise.resolve(l).then(n,o)}const Xn=function(){var e=(0,a.useDispatch)(c).addNotification,t=kr(c),r=t.setFolderPanelContext,n=(t.setFolderPanelMessage,t.setFolderPanelError),o=t.setIsFolderPanelBusy,i=t.setFolders,l=t.setSelectedFolderId,s=t.setSelectedFolderIds,u=_r((function(e){var t=e(c),r=t.getFolders,n=t.getPostType,o=t.isFolderPanelBusy,a=t.getFolderPanelError,i=t.getSelectedFolderId,l=t.getSelectedFolder,s=t.getSelectedFolderIds;return{folders:r(),postType:n(),isBusy:o(),error:a(),folderId:i(),selectedFolder:l(),selectedFolerIds:s()}})),f=u.folders,p=u.postType,h=u.isBusy,m=u.error,g=u.folderId,v=u.selectedFolder,y=u.selectedFolerIds,b=function(){var t,r=(t=Vn().mark((function t(){var r,a;return Vn().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(o(!0),n(!1),t.prev=2,!(y.length>0)){t.next=15;break}return t.next=6,cn()({path:"".concat(d,"folders"),method:"DELETE",data:{post_type:p,folder_ids:y}});case 6:r=t.sent,y.includes(g)&&l("0"),o(!1),s([]),i(r),w(),e({message:(0,xe.__)("Successfully deleted folders.","wicked-folders")}),t.next=23;break;case 15:return t.next=17,cn()({path:"".concat(d,"folders/").concat(g),method:"DELETE",data:Wn({},v)});case 17:a=f.map((function(e){return e.parent==g&&(e.parent=v.parent),e})),l(v.parent),o(!1),i(function(e){if(Array.isArray(e))return zn(e)}(c=a.filter((function(e){return e.id!=g})))||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(c)||function(e,t){if(e){if("string"==typeof e)return zn(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?zn(e,t):void 0}}(c)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()),w(),e({message:(0,xe.__)("Successfully deleted folder.","wicked-folders")});case 23:t.next=29;break;case 25:t.prev=25,t.t0=t.catch(2),n(t.t0.message),o(!1);case 29:case"end":return t.stop()}var c}),t,null,[[2,25]])})),function(){var e=this,r=arguments;return new Promise((function(n,o){var a=t.apply(e,r);function i(e){Zn(a,n,o,i,c,"next",e)}function c(e){Zn(a,n,o,i,c,"throw",e)}i(void 0)}))});return function(){return r.apply(this,arguments)}}(),w=function(){r(!1)};return React.createElement(React.Fragment,null,React.createElement("div",{className:"wicked-header"},React.createElement("h2",null,(0,xe.__)(y.length>0?"Delete Folders":"Delete Folder","wicked-folders")),React.createElement("button",{type:"button",className:"wicked-close",onClick:w},React.createElement("span",{className:"screen-reader-text"},(0,xe.__)("Close","wicked-folders")),React.createElement("span",{className:"dashicons dashicons-no"}))),React.createElement("div",null,m&&React.createElement("div",{className:"wicked-messages wicked-errors"},m),React.createElement("p",null,y.length>0?(0,xe.__)("Are you sure you want to delete the selected folders? Items in the folders will not be deleted.","wicked-folders"):(0,xe.__)("Are you sure you want to delete the selected folder? Sub folders will be assigned to the folder's parent. Items in the folder will not be deleted.","wicked-folders"))),React.createElement("div",{className:"wicked-footer"},React.createElement("button",{className:"button wicked-cancel",onClick:w,disabled:h},(0,xe.__)("Cancel","wicked-folders")),React.createElement("button",{className:"button-primary wicked-save",type:"submit",onClick:b},(0,xe.__)("Delete","wicked-folders"))))},Qn=function(){var e=(0,o.useContext)(wr),t=(0,a.useDispatch)(c).fetchFolders,r=kr(c),n=r.setFolderPanelContext,i=r.setOrganizationMode,l=r.setSortMode,s=_r((function(e){var t=e(c),r=t.getOrganizationMode,n=t.getSortMode,o=t.isFolderPanelBusy;return{organizationMode:r(),sortMode:n(),isFolderPanelBusy:o()}})),u=s.organizationMode,d=s.sortMode,v=function(r){l(r),t(e)};return React.createElement(React.Fragment,null,React.createElement("div",{className:"wicked-header"},React.createElement("h2",null,(0,xe.__)("Settings","wicked-folders")),React.createElement("button",{type:"button",className:"wicked-close",onClick:function(){n(!1)}},React.createElement("span",{className:"screen-reader-text"},(0,xe.__)("Close","wicked-folders")),React.createElement("span",{className:"dashicons dashicons-no"}))),React.createElement("div",null,React.createElement("div",{className:"wicked-field"},React.createElement("div",{className:"wicked-field-label"},(0,xe.__)("Organization mode:","wicked-folders")," ",React.createElement("span",{className:"dashicons dashicons-editor-help",title:(0,xe.__)("Controls what happens when you drag and drop folders. Use 'Normal' to arrange your folder hierarchy by dragging and dropping folders into other folders. Use 'Sort' to change the order of the folders.","wicked-folders")})),React.createElement("div",{className:"wicked-field-options"},React.createElement("div",null,React.createElement("input",{type:"radio",id:"wicked-organization-mode-organize",name:"wicked_organization_mode",checked:f==u,onChange:function(){return i(f)}})," ",React.createElement("label",{htmlFor:"wicked-organization-mode-organize"},(0,xe.__)("Normal","wicked-folders"))),React.createElement("div",null,React.createElement("input",{type:"radio",id:"wicked-organization-mode-sort",name:"wicked_organization_mode",checked:p==u,onChange:function(){return i(p)}})," ",React.createElement("label",{htmlFor:"wicked-organization-mode-sort"},(0,xe.__)("Sort","wicked-folders"))),React.createElement("div",null,React.createElement("input",{type:"radio",id:"wicked-organization-mode-bulk-select",name:"wicked_organization_mode",checked:h==u,onChange:function(){i(h),n(!1)}})," ",React.createElement("label",{htmlFor:"wicked-organization-mode-bulk-select"},(0,xe.__)("Bulk select","wicked-folders"))))),React.createElement("div",{className:"wicked-field"},React.createElement("div",{className:"wicked-field-label"},(0,xe.__)("Folder sort order:","wicked-folders")," ",React.createElement("span",{className:"dashicons dashicons-editor-help",title:(0,xe.__)("Controls how your folders are sorted. Select 'Custom' to display the folders in the specific order you specify.","wicked-folders")})),React.createElement("div",{className:"wicked-field-options"},React.createElement("div",null,React.createElement("input",{type:"radio",id:"wicked-sort-mode-organize",name:"wicked_sort_mode",value:m,checked:m==d,onChange:function(){return v(m)}})," ",React.createElement("label",{htmlFor:"wicked-sort-mode-organize"},(0,xe.__)("Alphabetical","wicked-folders"))),React.createElement("div",null,React.createElement("input",{type:"radio",id:"wicked-sort-mode-sort",name:"wicked_sort_mode",value:g,checked:g==d,onChange:function(){return v(g)}})," ",React.createElement("label",{htmlFor:"wicked-sort-mode-sort"},(0,xe.__)("Custom","wicked-folders")))))))},Jn=function(){var e=On,t=_r((function(e){var t=e(c),r=t.getFolderPanelContext,n=t.isFolderPanelBusy;return{context:r(),isBusy:n()}})),r=t.context,n=t.isBusy,o=on()("wicked-folder-pane-panel","wicked-folder-details",{"wicked-busy":n});return r?(l==r&&(e=Bn),s==r&&(e=Xn),u==r&&(e=Qn),React.createElement("div",{className:"wicked-folder-details-container"},React.createElement("div",{className:o},React.createElement(e,null)))):null},Kn=function(){var e=(0,o.useRef)(null),t=_r((function(e){return{navigationError:e(c).getNavigationError()}})).navigationError;return(0,o.useEffect)((function(){$=jQuery,t&&$("#wpbody").html("").html($(e.current).html())})),t?React.createElement("div",{className:"wicked-folder-navigation-error",ref:e},React.createElement("div",{id:"wicked-folder-navigation-error"},React.createElement("div",null,React.createElement("span",{className:"dashicons dashicons-warning"}),React.createElement("h1",null,(0,xe.__)("Something went wrong","wicked-folders")),React.createElement("p",null,(0,xe.__)("An error occurred while attempting to navigate to the folder. Please refresh the page.","wicked-folders")),React.createElement("p",null,(0,xe.__)("If you continue to have trouble, disable the 'Don't reload page when navigating folders' option on the Wicked Folders settings page.","wicked-folders")),React.createElement("p",{className:"code wicked-error-text"},t)))):null};var $n=function(e){var t=e.id,r=e.title,n=e.message,o=e.dismissible,i=void 0!==o&&o,l=e.dismissed,s=void 0!==l&&l,u=(0,a.useDispatch)(c).dismissNotification,d=on()("wicked-folders-notification",{dismissed:s});return React.createElement("div",{className:d},React.createElement("div",{className:"icon"},Hr),React.createElement("div",{className:"wicked-notification-message"},React.createElement("div",{className:"wicked-notification-title"},r),n),i&&React.createElement("button",{className:"wicked-dismiss",type:"button",onClick:function(){return u(t)}},React.createElement("span",{className:"screen-reader-text"},(0,xe.__)("Dismiss","wicked-folders")),zr))};const eo=function(){var e=(0,a.useSelect)((function(e){return{notifications:e(c).getNotifications()}})).notifications;return React.createElement("div",{className:"wicked-folders-notifications"},e.map((function(e,t){return React.createElement($n,{key:t,id:e.id,title:e.title,message:e.message,dismissible:e.dismissible,dismissed:e.dismissed})})))};function to(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}var ro=lodash.debounce;const no=function(){var e,t,r=kr(c).setSearchTerms,n=_r((function(e){return{searchTerms:e(c).getSearchTerms(),isSearchEnabled:e(c).isSearchEnabled()}})),a=n.searchTerms,i=n.isSearchEnabled,l=(e=(0,o.useState)(a),t=2,function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,o,a=[],_n=!0,i=!1;try{for(r=r.call(e);!(_n=(n=r.next()).done)&&(a.push(n.value),!t||a.length!==t);_n=!0);}catch(e){i=!0,o=e}finally{try{_n||null==r.return||r.return()}finally{if(i)throw o}}return a}}(e,t)||function(e,t){if(e){if("string"==typeof e)return to(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?to(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.")}()),s=l[0],u=l[1],d=(0,o.useRef)(ro(r,750));return i?React.createElement("div",{className:"wicked-folder-search-container"},React.createElement("div",{className:"wicked-folder-search"},React.createElement("label",{htmlFor:"wicked-folder-search-input",className:"screen-reader-text"},(0,xe.__)("Search folders","wicked-folders")),React.createElement("input",{id:"wicked-folder-search-input",name:"wicked_folder_search",type:"text",value:s,onChange:function(e){return t=e.target.value,u(t),void d.current(t);var t},placeholder:(0,xe.__)("Search folders...","wicked-folders")}))):null};var oo=lodash.reverse,ao=function(e){var t=e.ancestors,r=e.folder,n=kr(c).setSelectedFolderId;return r?React.createElement("ul",{className:"wicked-folder-path"},t.map((function(e){return React.createElement("li",{key:e.id,"data-folder-id":e.id},React.createElement("button",{onClick:function(){return n(e.id)}},e.name))})),React.createElement("li",{"data-folder-id":r.id},(0,sn.decode)(r.name))):null};const io=function(){var e=_r((function(e){return{folder:e(c).getSelectedFolder(),folders:e(c).getFolders(),isBreadcrumbsEnabled:e(c).isBreadcrumbsEnabled()}})),t=e.folder,r=e.folders;if(!e.isBreadcrumbsEnabled)return null;if(0==jQuery("#wicked-folders-breadcrumbs").length)return null;var n=oo(_(r,t));return(0,o.createPortal)(React.createElement(ao,{ancestors:n,folder:t}),jQuery("#wicked-folders-breadcrumbs .wicked-folders-container").get(0))},co=function(e){var t=e.count,r=void 0===t?1:t,n=e.enableCopy,o=void 0===n||n;return React.createElement("div",{className:"wicked-drag-details"},React.createElement("div",{className:"items"},React.createElement("div",{className:"title"},(0,xe.__)("Move","wicked-folders")," ",r," ",1==r?(0,xe.__)("Item","wicked-folders"):(0,xe.__)("Items","wicked-folders")),o?(0,xe.__)("Hold SHIFT key to copy items to folder","wicked-folders"):""))},lo=function(){var e=kr(c).setIsFolderPaneVisible,t=_r((function(e){return{width:e(c).getWidth(),isFolderPaneVisible:e(c).isFolderPaneVisible()}})),r=t.width,n=t.isFolderPaneVisible,a=on()("wicked-folders-toggle",{expanded:n});return(0,o.useEffect)((function(){n?(document.documentElement.style.setProperty("--wicked-folders-tree-pane-width",r+"px"),document.documentElement.style.setProperty("--wicked-folders-modal-tree-pane-width",r+"px")):(document.documentElement.style.setProperty("--wicked-folders-tree-pane-width","0px"),document.documentElement.style.setProperty("--wicked-folders-modal-tree-pane-width","0px"))}),[n]),React.createElement("button",{className:a,title:"Toggle folders",onClick:function(){return e(!n)}},React.createElement("span",{className:"screen-reader-text"},(0,xe.__)("Toggle folders","wicked-folders")),React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",height:"16",width:"16",viewBox:"0 0 512 512"},React.createElement("path",{fill:"#8c8f94",d:"M64 480H448c35.3 0 64-28.7 64-64V160c0-35.3-28.7-64-64-64H288c-10.1 0-19.6-4.7-25.6-12.8L243.2 57.6C231.1 41.5 212.1 32 192 32H64C28.7 32 0 60.7 0 96V416c0 35.3 28.7 64 64 64z"})))};function so(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}var uo=lodash,fo=uo.each,po=uo.debounce;uo.forOwn;const ho=function(){var e,t,r=(0,o.useContext)(wr),n=(e=(0,o.useState)(!1),t=2,function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,o,a=[],_n=!0,i=!1;try{for(r=r.call(e);!(_n=(n=r.next()).done)&&(a.push(n.value),!t||a.length!==t);_n=!0);}catch(e){i=!0,o=e}finally{try{_n||null==r.return||r.return()}finally{if(i)throw o}}return a}}(e,t)||function(e,t){if(e){if("string"==typeof e)return so(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?so(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.")}()),i=n[0],l=n[1],s=_r((function(e){var t=e(c),r=t.getScreenState,n=t.getSelectedFolder,o=t.getSelectedFolderId,a=t.getNavigationError,i=t.getWidth,l=t.isAjaxNavEnabled,s=t.isBreadcrumbsEnabled,u=t.isDirty,d=t.isNavigating,f=t.isFolderPaneVisible,p=t.getPostIdsToMove;return{folder:n(),selectedFolderId:o(),isAjaxNavEnabled:l(),isBreadcrumbsEnabled:s(),isDirty:u(),isNavigating:d(),navigationError:a(),width:i(),isFolderPaneVisible:f(),postIdsToMove:p(),screenState:r()}})),u=s.folder,d=s.selectedFolderId,f=s.isAjaxNavEnabled,p=s.isNavigating,h=(s.navigationError,s.isDirty),m=(s.width,s.screenState,s.isBreadcrumbsEnabled),g=s.isFolderPaneVisible,v=s.postIdsToMove,y=(0,a.useDispatch)(c).saveScreenState,b=kr(c),w=b.setIsNavigating,E=b.setNavigationError,_=(b.setWidth,b.setPostIdsToMove),k=po(y,500);(0,o.useEffect)((function(){jQuery(document).ajaxSuccess((function(e,t,r,n){r.hasOwnProperty("data")&&-1!=r.data.indexOf("action=inline-save")&&R()}))}),[]),(0,o.useEffect)((function(){h&&k(r)}),[h]),(0,o.useEffect)((function(){R()}),[v]),(0,o.useEffect)((function(){L()}),[m]),(0,o.useEffect)((function(){T()}),[null==u?void 0:u.id]),(0,o.useEffect)((function(){if(u)if(i){var e=jQuery,t="wicked_"+u.postType+"_folder_filter",r=document.location.href;-1!=r.indexOf("#")&&(r=r.substring(0,r.indexOf("#"))),r=S(r,t,u.id),r=S(r,"paged",1),r=S(r,"taxonomy",!1),r=S(r,"term",!1),r=S(r,"wf_"+u.postType+"_folders",!1),f?(w(!0),E(!1),e.ajax(r,{success:function(t){var r=wickedFoldersSettings.afterAjaxScripts.length,n=0;e("#wpbody-content").html(e(t).find("#wpbody-content").html()),R(),L(),window.inlineEditPost&&0==r&&window.inlineEditPost.init(),window.screenMeta&&window.screenMeta.init(),window.columns&&window.columns.init(),function(){var e=jQuery;e(".contextual-help-tabs").delegate("a","click",(function(t){var r,n=e(this);if(t.preventDefault(),n.is(".active a"))return!1;e(".contextual-help-tabs .active").removeClass("active"),n.parent("li").addClass("active"),r=e(n.attr("href")),e(".help-tab-content").not(r).removeClass("active").hide(),r.addClass("active").show()}))}(),function(){var e=jQuery,t=e(".wp-header-end");t.length||(t=e(".wrap h1, .wrap h2").first()),e("div.updated, div.error, div.notice").not(".inline, .below-h2").insertAfter(t)}(),window.gfPageLoaded=!0,jQuery(".gf_form_action_has_submenu").hover((function(){var e=jQuery(this).offset().left;jQuery(this).find(".gf_submenu").toggle().offset({left:e})}),(function(){jQuery(this).find(".gf_submenu").hide()})),fo(wickedFoldersSettings.afterAjaxScripts,(function(t){e.getScript(t,(function(){++n==r&&window.inlineEditPost&&window.inlineEditPost.init()}))})),e(window).scrollTop(0),w(!1),e("body").trigger("wickedfolders:ajaxNavigationDone")},error:function(t,r,n){e(window).scrollTop(0),E(n),window.console&&(console.warn((0,xe.__)("An error occurred while attempting to navigate to the folder. Please see following console messages for more details.","wicked-folders")),console.log(t),console.log(r),console.log(n)),w(!1),e("body").trigger("wickedfolders:ajaxNavigationDone")}})):document.location=r}else l(!0)}),[null==u?void 0:u.id]);var R=function(){var e=jQuery,t={revert:"invalid",containment:"#wpwrap",helper:function(t){var r,n,a=[],i=e(t.currentTarget).parents("tr"),c=i.find('.check-column [type="checkbox"]'),l=e('<div id="wicked-drag-helper"></div>'),s=e(i).find(".wicked-item").attr("data-object-id");return c.prop("checked")||"on"==c.val()?a=O():a.push(s),l.appendTo(e("body")),r=React.createElement(co,{count:a.length,enableCopy:"unassigned_dynamic_folder"!=d}),n=document.getElementById("wicked-drag-helper"),o.createRoot?(0,o.createRoot)(n).render(r):(0,o.render)(r,n),_(a),l},stop:function(e,t){_([])}};e("body.post-type-shop_order .wp-list-table .column-wicked_move").click((function(e){return!1})),e(".wp-list-table tbody .wicked-move-multiple").draggable(t),e(".wp-list-table thead .wicked-move-multiple").draggable(t),x()&&e(".wp-list-table .wicked-move-multiple").draggable("option",{cursorAt:{top:10,right:10}})},L=function(){m&&jQuery("#wpbody-content .wp-list-table").before('<div id="wicked-folders-breadcrumbs" class="wicked-folders-breadcrumbs"><span class="wicked-folders-label">'+(0,xe.__)("Folder","wicked-folders")+':</span> <span class="wicked-folders-container"></span></div>')},T=function(){u&&jQuery('#posts-filter .actions select[name$="_folder_filter"]').val(u.id)},O=function(){var e=jQuery,t=[];return e('.wp-list-table tbody [type="checkbox"]').each((function(r,n){var o=(n=e(n)).parents("tr").find(".wicked-item").attr("data-object-id");n.prop("checked")&&t.push(o)})),t};return g?React.createElement(React.Fragment,null,React.createElement(Mr,null),React.createElement(Br,null,React.createElement(Gr,null),React.createElement(rn,null),React.createElement(Jn,null),React.createElement("div",{className:"wicked-folder-tree-container"},React.createElement(no,null),React.createElement(bn,null)),p&&React.createElement("div",{className:"wicked-navigating-mask"}),React.createElement(Kn,null),React.createElement(io,null)),React.createElement(lo,null),React.createElement(eo,null)):React.createElement(React.Fragment,null,React.createElement(io,null),React.createElement(lo,null))};void 0===window.isWickedFoldersStoreRegistered&&((0,a.register)((0,a.createReduxStore)(c,{selectors:e,actions:t,resolvers:n,reducer:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:vr,t=arguments.length>1?arguments[1]:void 0;switch(t.type){case zt:return Ut(Ut({},e),{},{notifications:[].concat(qt(e.notifications),[t.notification])});case Ht:return Ut(Ut({},e),{},{notifications:qt(e.notifications.filter((function(e){return e.id!=t.notificationId})))});case Wt:return Ut(Ut({},e),{},{notifications:qt(e.notifications.map((function(e){return t.notificationId==e.id&&(e.dismissed=!0),e})))});case Zt:return Gt(e,["instances",t.instanceId])?e:Ut(Ut({},e),{},{instances:Ut(Ut({},e.instances),{},Mt({},t.instanceId,Ut(Ut({},yr),{},{postType:t.postType})))});case gr:for(var r=t.payload,n=r.action,o=r.instanceId,a={},i=0,c=Object.entries(e.instances);i<c.length;i++){var l=It(c[i],2),s=l[0],u=l[1];a[s]=o==s?br(u,n):u}return Ut(Ut({},e),{},{instances:a});default:return e}},controls:i.controls})),window.isWickedFoldersStoreRegistered=!0),document.addEventListener("DOMContentLoaded",(function(e){!function(e){var t=document.getElementById("wicked-folder-pane"),r=function(){var t="folderPane";return(0,a.useDispatch)(c).initInstance(t,wickedFoldersSettings.instances.folderPane.postType),React.createElement(wr.Provider,{value:t},React.createElement(e,null))};if(!t)return null;o.createRoot?(0,o.createRoot)(t).render(React.createElement(r,null)):(0,o.render)(React.createElement(r,null),t)}(ho)}))})()})(); -
wicked-folders/tags/3.0.5/readme.txt
r3079001 r3121729 3 3 Tags: folders, administration, tree view, content management, page organization, custom post type organization, media library folders, media library categories, media library organization 4 4 Requires at least: 4.6 5 Tested up to: 6. 56 Stable tag: 3.0. 45 Tested up to: 6.6 6 Stable tag: 3.0.5 7 7 License: GPLv2 or later 8 8 License URI: https://www.gnu.org/licenses/gpl-2.0.html … … 144 144 == Changelog == 145 145 146 = 3.0.5 (July 18, 2024) = 147 * Fix: fatal error caused when a taxonomy query contains a relation key 148 * Tweak: disable folder dragging on mobile to prevent folders from inadvertently being reorganized while scrolling (this can be turned off by using the `wicked_folders_disable_drag_drop_on_mobile` filter and returning `false`) 149 146 150 = 3.0.4 (April 29, 2024) = 147 151 * Fix: folder pane not appearing in some instances due to JavaScript error caused by expanded folders data being encoded as an object instead of an array -
wicked-folders/tags/3.0.5/wicked-folders.php
r3079001 r3121729 5 5 Plugin URI: https://wickedplugins.com/wicked-folders/ 6 6 Description: Organize your pages into folders. 7 Version: 3.0. 47 Version: 3.0.5 8 8 Author: Wicked Plugins 9 9 Author URI: https://wickedplugins.com/ -
wicked-folders/trunk/admin-templates/settings-page-general.php
r3065665 r3121729 124 124 <input type="checkbox" name="include_children" value="1"<?php if ( $include_children ) echo ' checked="checked"'; ?>/> 125 125 <?php _e( 'Include items from child folders', 'wicked-folders' ); ?> 126 <span class="dashicons dashicons-editor-help" title="<?php _e( "When unchecked (default) and a folder is selected, only items assigned to that folder will be displayed. When checked, items in the selected folder *and* items in any of the folder's child folders will be displayed. Please note: this setting does not apply to media.", 'wicked-folders' ); ?>"></span>126 <span class="dashicons dashicons-editor-help" title="<?php _e( "When unchecked (default) and a folder is selected, only items assigned to that folder will be displayed. When checked, items in the selected folder *and* items in any of the folder's child folders will be displayed. See additional/separate setting below if you'd like to enable this option for media files.", 'wicked-folders' ); ?>"></span> 127 127 </label> 128 128 </td> -
wicked-folders/trunk/classes/class-admin.php
r3045356 r3121729 815 815 if ( isset( $query->tax_query->queries ) && is_array( $query->tax_query->queries ) ) { 816 816 foreach ( $query->tax_query->queries as $index => $tax_query ) { 817 if ( $tax_query['taxonomy'] == $taxonomy ) { 817 // $tax_query can sometimes be a relation string (e.g. 'AND' or 'OR') so 818 // make sure the taxonomy key is actually set before comparing it 819 if ( isset( $tax_query['taxonomy'] ) && $tax_query['taxonomy'] == $taxonomy ) { 818 820 $query->tax_query->queries[ $index ]['include_children'] = $include_children; 819 821 } -
wicked-folders/trunk/classes/class-screen-state.php
r3079001 r3121729 35 35 public $sync_upload_folder_dropdown = true; 36 36 public $is_folder_panel_busy = false; 37 public $disable_drag_drop_on_mobile = true; 37 38 public $selected_folders = array(); 38 39 public $schema = array( … … 56 57 'isFolderPanelBusy' => 'is_folder_panel_busy', 57 58 'selectedFolders' => 'selected_folders', 59 'disableDragDropOnMobile' => 'disable_drag_drop_on_mobile', 58 60 ); 59 61 … … 145 147 146 148 $this->sync_upload_folder_dropdown = ( bool ) get_option( 'wicked_folders_sync_upload_folder_dropdown', true ); 149 150 $this->disable_drag_drop_on_mobile = apply_filters( 'wicked_folders_disable_drag_drop_on_mobile', $this->disable_drag_drop_on_mobile ); 147 151 148 152 /** -
wicked-folders/trunk/dist/folders.asset.php
r3068593 r3121729 1 <?php return array('dependencies' => array('wp-api-fetch', 'wp-components', 'wp-data', 'wp-data-controls', 'wp-element', 'wp-hooks', 'wp-i18n'), 'version' => ' 51bd5c06d03c7636259a');1 <?php return array('dependencies' => array('wp-api-fetch', 'wp-components', 'wp-data', 'wp-data-controls', 'wp-element', 'wp-hooks', 'wp-i18n'), 'version' => '18865c4ee7681630ded2'); -
wicked-folders/trunk/dist/folders.js
r3068593 r3121729 1 (()=>{var e={703:(e,t)=>{var r;!function(){"use strict";var n={}.hasOwnProperty;function o(){for(var e=[],t=0;t<arguments.length;t++){var r=arguments[t];if(r){var a=typeof r;if("string"===a||"number"===a)e.push(r);else if(Array.isArray(r)){if(r.length){var i=o.apply(null,r);i&&e.push(i)}}else if("object"===a)if(r.toString===Object.prototype.toString)for(var c in r)n.call(r,c)&&r[c]&&e.push(c);else e.push(r.toString())}}return e.join(" ")}e.exports?(o.default=o,e.exports=o):void 0===(r=function(){return o}.apply(t,[]))||(e.exports=r)}()},705:e=>{"use strict";e.exports=function(e){var t=[];return t.toString=function(){return this.map((function(t){var r="",n=void 0!==t[5];return t[4]&&(r+="@supports (".concat(t[4],") {")),t[2]&&(r+="@media ".concat(t[2]," {")),n&&(r+="@layer".concat(t[5].length>0?" ".concat(t[5]):""," {")),r+=e(t),n&&(r+="}"),t[2]&&(r+="}"),t[4]&&(r+="}"),r})).join("")},t.i=function(e,r,n,o,a){"string"==typeof e&&(e=[[null,e,void 0]]);var i={};if(n)for(var c=0;c<this.length;c++){var l=this[c][0];null!=l&&(i[l]=!0)}for(var s=0;s<e.length;s++){var u=[].concat(e[s]);n&&i[u[0]]||(void 0!==a&&(void 0===u[5]||(u[1]="@layer".concat(u[5].length>0?" ".concat(u[5]):""," {").concat(u[1],"}")),u[5]=a),r&&(u[2]?(u[1]="@media ".concat(u[2]," {").concat(u[1],"}"),u[2]=r):u[2]=r),o&&(u[4]?(u[1]="@supports (".concat(u[4],") {").concat(u[1],"}"),u[4]=o):u[4]="".concat(o)),t.push(u))}},t}},738:e=>{"use strict";e.exports=function(e){return e[1]}},805:function(e,t,r){"use strict";var n=this&&this.__assign||function(){return n=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var o in t=arguments[r])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},n.apply(this,arguments)};Object.defineProperty(t,"__esModule",{value:!0});var o=r(547),a=r(125),i=r(663),c=n(n({},o.namedReferences),{all:o.namedReferences.html5});function l(e,t,r){t.lastIndex=0;var n,o=t.exec(e);if(o){n="";var a=0;do{a!==o.index&&(n+=e.substring(a,o.index));var i=o[0];n+=r(i),a=o.index+i.length}while(o=t.exec(e));a!==e.length&&(n+=e.substring(a))}else n=e;return n}var s={specialChars:/[<>'"&]/g,nonAscii:/[<>'"&\u0080-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/g,nonAsciiPrintable:/[<>'"&\x01-\x08\x11-\x15\x17-\x1F\x7f-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/g,nonAsciiPrintableOnly:/[\x01-\x08\x11-\x15\x17-\x1F\x7f-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/g,extensive:/[\x01-\x0c\x0e-\x1f\x21-\x2c\x2e-\x2f\x3a-\x40\x5b-\x60\x7b-\x7d\x7f-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/g},u={mode:"specialChars",level:"all",numeric:"decimal"};t.encode=function(e,t){var r=void 0===t?u:t,n=r.mode,o=void 0===n?"specialChars":n,a=r.numeric,d=void 0===a?"decimal":a,f=r.level;if(!e)return"";var p=s[o],h=c[void 0===f?"all":f].characters,m="hexadecimal"===d;return l(e,p,(function(e){var t=h[e];if(!t){var r=e.length>1?i.getCodePoint(e,0):e.charCodeAt(0);t=(m?"&#x"+r.toString(16):"&#"+r)+";"}return t}))};var d={scope:"body",level:"all"},f=/&(?:#\d+|#[xX][\da-fA-F]+|[0-9a-zA-Z]+);/g,p=/&(?:#\d+|#[xX][\da-fA-F]+|[0-9a-zA-Z]+)[;=]?/g,h={xml:{strict:f,attribute:p,body:o.bodyRegExps.xml},html4:{strict:f,attribute:p,body:o.bodyRegExps.html4},html5:{strict:f,attribute:p,body:o.bodyRegExps.html5}},m=n(n({},h),{all:h.html5}),g=String.fromCharCode,v=g(65533),y={level:"all"};function b(e,t,r,n){var o=e,c=e[e.length-1];if(r&&"="===c)o=e;else if(n&&";"!==c)o=e;else{var l=t[e];if(l)o=l;else if("&"===e[0]&&"#"===e[1]){var s=e[2],u="x"==s||"X"==s?parseInt(e.substr(3),16):parseInt(e.substr(2));o=u>=1114111?v:u>65535?i.fromCodePoint(u):g(a.numericUnicodeMap[u]||u)}}return o}t.decodeEntity=function(e,t){var r=(void 0===t?y:t).level;return e?b(e,c[void 0===r?"all":r].entities,!1,!1):""},t.decode=function(e,t){var r=void 0===t?d:t,n=r.level,o=void 0===n?"all":n,a=r.scope,i=void 0===a?"xml"===o?"strict":"body":a;if(!e)return"";var s=m[o][i],u=c[o].entities,f="attribute"===i,p="strict"===i;return l(e,s,(function(e){return b(e,u,f,p)}))}},547:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.bodyRegExps={xml:/&(?:#\d+|#[xX][\da-fA-F]+|[0-9a-zA-Z]+);?/g,html4:/∉|&(?:nbsp|iexcl|cent|pound|curren|yen|brvbar|sect|uml|copy|ordf|laquo|not|shy|reg|macr|deg|plusmn|sup2|sup3|acute|micro|para|middot|cedil|sup1|ordm|raquo|frac14|frac12|frac34|iquest|Agrave|Aacute|Acirc|Atilde|Auml|Aring|AElig|Ccedil|Egrave|Eacute|Ecirc|Euml|Igrave|Iacute|Icirc|Iuml|ETH|Ntilde|Ograve|Oacute|Ocirc|Otilde|Ouml|times|Oslash|Ugrave|Uacute|Ucirc|Uuml|Yacute|THORN|szlig|agrave|aacute|acirc|atilde|auml|aring|aelig|ccedil|egrave|eacute|ecirc|euml|igrave|iacute|icirc|iuml|eth|ntilde|ograve|oacute|ocirc|otilde|ouml|divide|oslash|ugrave|uacute|ucirc|uuml|yacute|thorn|yuml|quot|amp|lt|gt|#\d+|#[xX][\da-fA-F]+|[0-9a-zA-Z]+);?/g,html5:/·|℗|⋇|⪧|⩺|⋗|⦕|⩼|⪆|⥸|⋗|⋛|⪌|≷|≳|⪦|⩹|⋖|⋋|⋉|⥶|⩻|⦖|◃|⊴|◂|∉|⋹̸|⋵̸|∉|⋷|⋶|∌|∌|⋾|⋽|∥|⊠|⨱|⨰|&(?:AElig|AMP|Aacute|Acirc|Agrave|Aring|Atilde|Auml|COPY|Ccedil|ETH|Eacute|Ecirc|Egrave|Euml|GT|Iacute|Icirc|Igrave|Iuml|LT|Ntilde|Oacute|Ocirc|Ograve|Oslash|Otilde|Ouml|QUOT|REG|THORN|Uacute|Ucirc|Ugrave|Uuml|Yacute|aacute|acirc|acute|aelig|agrave|amp|aring|atilde|auml|brvbar|ccedil|cedil|cent|copy|curren|deg|divide|eacute|ecirc|egrave|eth|euml|frac12|frac14|frac34|gt|iacute|icirc|iexcl|igrave|iquest|iuml|laquo|lt|macr|micro|middot|nbsp|not|ntilde|oacute|ocirc|ograve|ordf|ordm|oslash|otilde|ouml|para|plusmn|pound|quot|raquo|reg|sect|shy|sup1|sup2|sup3|szlig|thorn|times|uacute|ucirc|ugrave|uml|uuml|yacute|yen|yuml|#\d+|#[xX][\da-fA-F]+|[0-9a-zA-Z]+);?/g},t.namedReferences={xml:{entities:{"<":"<",">":">",""":'"',"'":"'","&":"&"},characters:{"<":"<",">":">",'"':""","'":"'","&":"&"}},html4:{entities:{"'":"'"," ":" "," ":" ","¡":"¡","¡":"¡","¢":"¢","¢":"¢","£":"£","£":"£","¤":"¤","¤":"¤","¥":"¥","¥":"¥","¦":"¦","¦":"¦","§":"§","§":"§","¨":"¨","¨":"¨","©":"©","©":"©","ª":"ª","ª":"ª","«":"«","«":"«","¬":"¬","¬":"¬","­":"","­":"","®":"®","®":"®","¯":"¯","¯":"¯","°":"°","°":"°","±":"±","±":"±","²":"²","²":"²","³":"³","³":"³","´":"´","´":"´","µ":"µ","µ":"µ","¶":"¶","¶":"¶","·":"·","·":"·","¸":"¸","¸":"¸","¹":"¹","¹":"¹","º":"º","º":"º","»":"»","»":"»","¼":"¼","¼":"¼","½":"½","½":"½","¾":"¾","¾":"¾","¿":"¿","¿":"¿","À":"À","À":"À","Á":"Á","Á":"Á","Â":"Â","Â":"Â","Ã":"Ã","Ã":"Ã","Ä":"Ä","Ä":"Ä","Å":"Å","Å":"Å","Æ":"Æ","Æ":"Æ","Ç":"Ç","Ç":"Ç","È":"È","È":"È","É":"É","É":"É","Ê":"Ê","Ê":"Ê","Ë":"Ë","Ë":"Ë","Ì":"Ì","Ì":"Ì","Í":"Í","Í":"Í","Î":"Î","Î":"Î","Ï":"Ï","Ï":"Ï","Ð":"Ð","Ð":"Ð","Ñ":"Ñ","Ñ":"Ñ","Ò":"Ò","Ò":"Ò","Ó":"Ó","Ó":"Ó","Ô":"Ô","Ô":"Ô","Õ":"Õ","Õ":"Õ","Ö":"Ö","Ö":"Ö","×":"×","×":"×","Ø":"Ø","Ø":"Ø","Ù":"Ù","Ù":"Ù","Ú":"Ú","Ú":"Ú","Û":"Û","Û":"Û","Ü":"Ü","Ü":"Ü","Ý":"Ý","Ý":"Ý","Þ":"Þ","Þ":"Þ","ß":"ß","ß":"ß","à":"à","à":"à","á":"á","á":"á","â":"â","â":"â","ã":"ã","ã":"ã","ä":"ä","ä":"ä","å":"å","å":"å","æ":"æ","æ":"æ","ç":"ç","ç":"ç","è":"è","è":"è","é":"é","é":"é","ê":"ê","ê":"ê","ë":"ë","ë":"ë","ì":"ì","ì":"ì","í":"í","í":"í","î":"î","î":"î","ï":"ï","ï":"ï","ð":"ð","ð":"ð","ñ":"ñ","ñ":"ñ","ò":"ò","ò":"ò","ó":"ó","ó":"ó","ô":"ô","ô":"ô","õ":"õ","õ":"õ","ö":"ö","ö":"ö","÷":"÷","÷":"÷","ø":"ø","ø":"ø","ù":"ù","ù":"ù","ú":"ú","ú":"ú","û":"û","û":"û","ü":"ü","ü":"ü","ý":"ý","ý":"ý","þ":"þ","þ":"þ","ÿ":"ÿ","ÿ":"ÿ",""":'"',""":'"',"&":"&","&":"&","<":"<","<":"<",">":">",">":">","Œ":"Œ","œ":"œ","Š":"Š","š":"š","Ÿ":"Ÿ","ˆ":"ˆ","˜":"˜"," ":" "," ":" "," ":" ","‌":"","‍":"","‎":"","‏":"","–":"–","—":"—","‘":"‘","’":"’","‚":"‚","“":"“","”":"”","„":"„","†":"†","‡":"‡","‰":"‰","‹":"‹","›":"›","€":"€","ƒ":"ƒ","Α":"Α","Β":"Β","Γ":"Γ","Δ":"Δ","Ε":"Ε","Ζ":"Ζ","Η":"Η","Θ":"Θ","Ι":"Ι","Κ":"Κ","Λ":"Λ","Μ":"Μ","Ν":"Ν","Ξ":"Ξ","Ο":"Ο","Π":"Π","Ρ":"Ρ","Σ":"Σ","Τ":"Τ","Υ":"Υ","Φ":"Φ","Χ":"Χ","Ψ":"Ψ","Ω":"Ω","α":"α","β":"β","γ":"γ","δ":"δ","ε":"ε","ζ":"ζ","η":"η","θ":"θ","ι":"ι","κ":"κ","λ":"λ","μ":"μ","ν":"ν","ξ":"ξ","ο":"ο","π":"π","ρ":"ρ","ς":"ς","σ":"σ","τ":"τ","υ":"υ","φ":"φ","χ":"χ","ψ":"ψ","ω":"ω","ϑ":"ϑ","ϒ":"ϒ","ϖ":"ϖ","•":"•","…":"…","′":"′","″":"″","‾":"‾","⁄":"⁄","℘":"℘","ℑ":"ℑ","ℜ":"ℜ","™":"™","ℵ":"ℵ","←":"←","↑":"↑","→":"→","↓":"↓","↔":"↔","↵":"↵","⇐":"⇐","⇑":"⇑","⇒":"⇒","⇓":"⇓","⇔":"⇔","∀":"∀","∂":"∂","∃":"∃","∅":"∅","∇":"∇","∈":"∈","∉":"∉","∋":"∋","∏":"∏","∑":"∑","−":"−","∗":"∗","√":"√","∝":"∝","∞":"∞","∠":"∠","∧":"∧","∨":"∨","∩":"∩","∪":"∪","∫":"∫","∴":"∴","∼":"∼","≅":"≅","≈":"≈","≠":"≠","≡":"≡","≤":"≤","≥":"≥","⊂":"⊂","⊃":"⊃","⊄":"⊄","⊆":"⊆","⊇":"⊇","⊕":"⊕","⊗":"⊗","⊥":"⊥","⋅":"⋅","⌈":"⌈","⌉":"⌉","⌊":"⌊","⌋":"⌋","⟨":"〈","⟩":"〉","◊":"◊","♠":"♠","♣":"♣","♥":"♥","♦":"♦"},characters:{"'":"'"," ":" ","¡":"¡","¢":"¢","£":"£","¤":"¤","¥":"¥","¦":"¦","§":"§","¨":"¨","©":"©",ª:"ª","«":"«","¬":"¬","":"­","®":"®","¯":"¯","°":"°","±":"±","²":"²","³":"³","´":"´",µ:"µ","¶":"¶","·":"·","¸":"¸","¹":"¹",º:"º","»":"»","¼":"¼","½":"½","¾":"¾","¿":"¿",À:"À",Á:"Á",Â:"Â",Ã:"Ã",Ä:"Ä",Å:"Å",Æ:"Æ",Ç:"Ç",È:"È",É:"É",Ê:"Ê",Ë:"Ë",Ì:"Ì",Í:"Í",Î:"Î",Ï:"Ï",Ð:"Ð",Ñ:"Ñ",Ò:"Ò",Ó:"Ó",Ô:"Ô",Õ:"Õ",Ö:"Ö","×":"×",Ø:"Ø",Ù:"Ù",Ú:"Ú",Û:"Û",Ü:"Ü",Ý:"Ý",Þ:"Þ",ß:"ß",à:"à",á:"á",â:"â",ã:"ã",ä:"ä",å:"å",æ:"æ",ç:"ç",è:"è",é:"é",ê:"ê",ë:"ë",ì:"ì",í:"í",î:"î",ï:"ï",ð:"ð",ñ:"ñ",ò:"ò",ó:"ó",ô:"ô",õ:"õ",ö:"ö","÷":"÷",ø:"ø",ù:"ù",ú:"ú",û:"û",ü:"ü",ý:"ý",þ:"þ",ÿ:"ÿ",'"':""","&":"&","<":"<",">":">",Œ:"Œ",œ:"œ",Š:"Š",š:"š",Ÿ:"Ÿ",ˆ:"ˆ","˜":"˜"," ":" "," ":" "," ":" ","":"‌","":"‍","":"‎","":"‏","–":"–","—":"—","‘":"‘","’":"’","‚":"‚","“":"“","”":"”","„":"„","†":"†","‡":"‡","‰":"‰","‹":"‹","›":"›","€":"€",ƒ:"ƒ",Α:"Α",Β:"Β",Γ:"Γ",Δ:"Δ",Ε:"Ε",Ζ:"Ζ",Η:"Η",Θ:"Θ",Ι:"Ι",Κ:"Κ",Λ:"Λ",Μ:"Μ",Ν:"Ν",Ξ:"Ξ",Ο:"Ο",Π:"Π",Ρ:"Ρ",Σ:"Σ",Τ:"Τ",Υ:"Υ",Φ:"Φ",Χ:"Χ",Ψ:"Ψ",Ω:"Ω",α:"α",β:"β",γ:"γ",δ:"δ",ε:"ε",ζ:"ζ",η:"η",θ:"θ",ι:"ι",κ:"κ",λ:"λ",μ:"μ",ν:"ν",ξ:"ξ",ο:"ο",π:"π",ρ:"ρ",ς:"ς",σ:"σ",τ:"τ",υ:"υ",φ:"φ",χ:"χ",ψ:"ψ",ω:"ω",ϑ:"ϑ",ϒ:"ϒ",ϖ:"ϖ","•":"•","…":"…","′":"′","″":"″","‾":"‾","⁄":"⁄",℘:"℘",ℑ:"ℑ",ℜ:"ℜ","™":"™",ℵ:"ℵ","←":"←","↑":"↑","→":"→","↓":"↓","↔":"↔","↵":"↵","⇐":"⇐","⇑":"⇑","⇒":"⇒","⇓":"⇓","⇔":"⇔","∀":"∀","∂":"∂","∃":"∃","∅":"∅","∇":"∇","∈":"∈","∉":"∉","∋":"∋","∏":"∏","∑":"∑","−":"−","∗":"∗","√":"√","∝":"∝","∞":"∞","∠":"∠","∧":"∧","∨":"∨","∩":"∩","∪":"∪","∫":"∫","∴":"∴","∼":"∼","≅":"≅","≈":"≈","≠":"≠","≡":"≡","≤":"≤","≥":"≥","⊂":"⊂","⊃":"⊃","⊄":"⊄","⊆":"⊆","⊇":"⊇","⊕":"⊕","⊗":"⊗","⊥":"⊥","⋅":"⋅","⌈":"⌈","⌉":"⌉","⌊":"⌊","⌋":"⌋","〈":"⟨","〉":"⟩","◊":"◊","♠":"♠","♣":"♣","♥":"♥","♦":"♦"}},html5:{entities:{"Æ":"Æ","Æ":"Æ","&":"&","&":"&","Á":"Á","Á":"Á","Ă":"Ă","Â":"Â","Â":"Â","А":"А","𝔄":"𝔄","À":"À","À":"À","Α":"Α","Ā":"Ā","⩓":"⩓","Ą":"Ą","𝔸":"𝔸","⁡":"","Å":"Å","Å":"Å","𝒜":"𝒜","≔":"≔","Ã":"Ã","Ã":"Ã","Ä":"Ä","Ä":"Ä","∖":"∖","⫧":"⫧","⌆":"⌆","Б":"Б","∵":"∵","ℬ":"ℬ","Β":"Β","𝔅":"𝔅","𝔹":"𝔹","˘":"˘","ℬ":"ℬ","≎":"≎","Ч":"Ч","©":"©","©":"©","Ć":"Ć","⋒":"⋒","ⅅ":"ⅅ","ℭ":"ℭ","Č":"Č","Ç":"Ç","Ç":"Ç","Ĉ":"Ĉ","∰":"∰","Ċ":"Ċ","¸":"¸","·":"·","ℭ":"ℭ","Χ":"Χ","⊙":"⊙","⊖":"⊖","⊕":"⊕","⊗":"⊗","∲":"∲","”":"”","’":"’","∷":"∷","⩴":"⩴","≡":"≡","∯":"∯","∮":"∮","ℂ":"ℂ","∐":"∐","∳":"∳","⨯":"⨯","𝒞":"𝒞","⋓":"⋓","≍":"≍","ⅅ":"ⅅ","⤑":"⤑","Ђ":"Ђ","Ѕ":"Ѕ","Џ":"Џ","‡":"‡","↡":"↡","⫤":"⫤","Ď":"Ď","Д":"Д","∇":"∇","Δ":"Δ","𝔇":"𝔇","´":"´","˙":"˙","˝":"˝","`":"`","˜":"˜","⋄":"⋄","ⅆ":"ⅆ","𝔻":"𝔻","¨":"¨","⃜":"⃜","≐":"≐","∯":"∯","¨":"¨","⇓":"⇓","⇐":"⇐","⇔":"⇔","⫤":"⫤","⟸":"⟸","⟺":"⟺","⟹":"⟹","⇒":"⇒","⊨":"⊨","⇑":"⇑","⇕":"⇕","∥":"∥","↓":"↓","⤓":"⤓","⇵":"⇵","̑":"̑","⥐":"⥐","⥞":"⥞","↽":"↽","⥖":"⥖","⥟":"⥟","⇁":"⇁","⥗":"⥗","⊤":"⊤","↧":"↧","⇓":"⇓","𝒟":"𝒟","Đ":"Đ","Ŋ":"Ŋ","Ð":"Ð","Ð":"Ð","É":"É","É":"É","Ě":"Ě","Ê":"Ê","Ê":"Ê","Э":"Э","Ė":"Ė","𝔈":"𝔈","È":"È","È":"È","∈":"∈","Ē":"Ē","◻":"◻","▫":"▫","Ę":"Ę","𝔼":"𝔼","Ε":"Ε","⩵":"⩵","≂":"≂","⇌":"⇌","ℰ":"ℰ","⩳":"⩳","Η":"Η","Ë":"Ë","Ë":"Ë","∃":"∃","ⅇ":"ⅇ","Ф":"Ф","𝔉":"𝔉","◼":"◼","▪":"▪","𝔽":"𝔽","∀":"∀","ℱ":"ℱ","ℱ":"ℱ","Ѓ":"Ѓ",">":">",">":">","Γ":"Γ","Ϝ":"Ϝ","Ğ":"Ğ","Ģ":"Ģ","Ĝ":"Ĝ","Г":"Г","Ġ":"Ġ","𝔊":"𝔊","⋙":"⋙","𝔾":"𝔾","≥":"≥","⋛":"⋛","≧":"≧","⪢":"⪢","≷":"≷","⩾":"⩾","≳":"≳","𝒢":"𝒢","≫":"≫","Ъ":"Ъ","ˇ":"ˇ","^":"^","Ĥ":"Ĥ","ℌ":"ℌ","ℋ":"ℋ","ℍ":"ℍ","─":"─","ℋ":"ℋ","Ħ":"Ħ","≎":"≎","≏":"≏","Е":"Е","IJ":"IJ","Ё":"Ё","Í":"Í","Í":"Í","Î":"Î","Î":"Î","И":"И","İ":"İ","ℑ":"ℑ","Ì":"Ì","Ì":"Ì","ℑ":"ℑ","Ī":"Ī","ⅈ":"ⅈ","⇒":"⇒","∬":"∬","∫":"∫","⋂":"⋂","⁣":"","⁢":"","Į":"Į","𝕀":"𝕀","Ι":"Ι","ℐ":"ℐ","Ĩ":"Ĩ","І":"І","Ï":"Ï","Ï":"Ï","Ĵ":"Ĵ","Й":"Й","𝔍":"𝔍","𝕁":"𝕁","𝒥":"𝒥","Ј":"Ј","Є":"Є","Х":"Х","Ќ":"Ќ","Κ":"Κ","Ķ":"Ķ","К":"К","𝔎":"𝔎","𝕂":"𝕂","𝒦":"𝒦","Љ":"Љ","<":"<","<":"<","Ĺ":"Ĺ","Λ":"Λ","⟪":"⟪","ℒ":"ℒ","↞":"↞","Ľ":"Ľ","Ļ":"Ļ","Л":"Л","⟨":"⟨","←":"←","⇤":"⇤","⇆":"⇆","⌈":"⌈","⟦":"⟦","⥡":"⥡","⇃":"⇃","⥙":"⥙","⌊":"⌊","↔":"↔","⥎":"⥎","⊣":"⊣","↤":"↤","⥚":"⥚","⊲":"⊲","⧏":"⧏","⊴":"⊴","⥑":"⥑","⥠":"⥠","↿":"↿","⥘":"⥘","↼":"↼","⥒":"⥒","⇐":"⇐","⇔":"⇔","⋚":"⋚","≦":"≦","≶":"≶","⪡":"⪡","⩽":"⩽","≲":"≲","𝔏":"𝔏","⋘":"⋘","⇚":"⇚","Ŀ":"Ŀ","⟵":"⟵","⟷":"⟷","⟶":"⟶","⟸":"⟸","⟺":"⟺","⟹":"⟹","𝕃":"𝕃","↙":"↙","↘":"↘","ℒ":"ℒ","↰":"↰","Ł":"Ł","≪":"≪","⤅":"⤅","М":"М"," ":" ","ℳ":"ℳ","𝔐":"𝔐","∓":"∓","𝕄":"𝕄","ℳ":"ℳ","Μ":"Μ","Њ":"Њ","Ń":"Ń","Ň":"Ň","Ņ":"Ņ","Н":"Н","​":"","​":"","​":"","​":"","≫":"≫","≪":"≪","
":"\n","𝔑":"𝔑","⁠":""," ":" ","ℕ":"ℕ","⫬":"⫬","≢":"≢","≭":"≭","∦":"∦","∉":"∉","≠":"≠","≂̸":"≂̸","∄":"∄","≯":"≯","≱":"≱","≧̸":"≧̸","≫̸":"≫̸","≹":"≹","⩾̸":"⩾̸","≵":"≵","≎̸":"≎̸","≏̸":"≏̸","⋪":"⋪","⧏̸":"⧏̸","⋬":"⋬","≮":"≮","≰":"≰","≸":"≸","≪̸":"≪̸","⩽̸":"⩽̸","≴":"≴","⪢̸":"⪢̸","⪡̸":"⪡̸","⊀":"⊀","⪯̸":"⪯̸","⋠":"⋠","∌":"∌","⋫":"⋫","⧐̸":"⧐̸","⋭":"⋭","⊏̸":"⊏̸","⋢":"⋢","⊐̸":"⊐̸","⋣":"⋣","⊂⃒":"⊂⃒","⊈":"⊈","⊁":"⊁","⪰̸":"⪰̸","⋡":"⋡","≿̸":"≿̸","⊃⃒":"⊃⃒","⊉":"⊉","≁":"≁","≄":"≄","≇":"≇","≉":"≉","∤":"∤","𝒩":"𝒩","Ñ":"Ñ","Ñ":"Ñ","Ν":"Ν","Œ":"Œ","Ó":"Ó","Ó":"Ó","Ô":"Ô","Ô":"Ô","О":"О","Ő":"Ő","𝔒":"𝔒","Ò":"Ò","Ò":"Ò","Ō":"Ō","Ω":"Ω","Ο":"Ο","𝕆":"𝕆","“":"“","‘":"‘","⩔":"⩔","𝒪":"𝒪","Ø":"Ø","Ø":"Ø","Õ":"Õ","Õ":"Õ","⨷":"⨷","Ö":"Ö","Ö":"Ö","‾":"‾","⏞":"⏞","⎴":"⎴","⏜":"⏜","∂":"∂","П":"П","𝔓":"𝔓","Φ":"Φ","Π":"Π","±":"±","ℌ":"ℌ","ℙ":"ℙ","⪻":"⪻","≺":"≺","⪯":"⪯","≼":"≼","≾":"≾","″":"″","∏":"∏","∷":"∷","∝":"∝","𝒫":"𝒫","Ψ":"Ψ",""":'"',""":'"',"𝔔":"𝔔","ℚ":"ℚ","𝒬":"𝒬","⤐":"⤐","®":"®","®":"®","Ŕ":"Ŕ","⟫":"⟫","↠":"↠","⤖":"⤖","Ř":"Ř","Ŗ":"Ŗ","Р":"Р","ℜ":"ℜ","∋":"∋","⇋":"⇋","⥯":"⥯","ℜ":"ℜ","Ρ":"Ρ","⟩":"⟩","→":"→","⇥":"⇥","⇄":"⇄","⌉":"⌉","⟧":"⟧","⥝":"⥝","⇂":"⇂","⥕":"⥕","⌋":"⌋","⊢":"⊢","↦":"↦","⥛":"⥛","⊳":"⊳","⧐":"⧐","⊵":"⊵","⥏":"⥏","⥜":"⥜","↾":"↾","⥔":"⥔","⇀":"⇀","⥓":"⥓","⇒":"⇒","ℝ":"ℝ","⥰":"⥰","⇛":"⇛","ℛ":"ℛ","↱":"↱","⧴":"⧴","Щ":"Щ","Ш":"Ш","Ь":"Ь","Ś":"Ś","⪼":"⪼","Š":"Š","Ş":"Ş","Ŝ":"Ŝ","С":"С","𝔖":"𝔖","↓":"↓","←":"←","→":"→","↑":"↑","Σ":"Σ","∘":"∘","𝕊":"𝕊","√":"√","□":"□","⊓":"⊓","⊏":"⊏","⊑":"⊑","⊐":"⊐","⊒":"⊒","⊔":"⊔","𝒮":"𝒮","⋆":"⋆","⋐":"⋐","⋐":"⋐","⊆":"⊆","≻":"≻","⪰":"⪰","≽":"≽","≿":"≿","∋":"∋","∑":"∑","⋑":"⋑","⊃":"⊃","⊇":"⊇","⋑":"⋑","Þ":"Þ","Þ":"Þ","™":"™","Ћ":"Ћ","Ц":"Ц","	":"\t","Τ":"Τ","Ť":"Ť","Ţ":"Ţ","Т":"Т","𝔗":"𝔗","∴":"∴","Θ":"Θ","  ":" "," ":" ","∼":"∼","≃":"≃","≅":"≅","≈":"≈","𝕋":"𝕋","⃛":"⃛","𝒯":"𝒯","Ŧ":"Ŧ","Ú":"Ú","Ú":"Ú","↟":"↟","⥉":"⥉","Ў":"Ў","Ŭ":"Ŭ","Û":"Û","Û":"Û","У":"У","Ű":"Ű","𝔘":"𝔘","Ù":"Ù","Ù":"Ù","Ū":"Ū","_":"_","⏟":"⏟","⎵":"⎵","⏝":"⏝","⋃":"⋃","⊎":"⊎","Ų":"Ų","𝕌":"𝕌","↑":"↑","⤒":"⤒","⇅":"⇅","↕":"↕","⥮":"⥮","⊥":"⊥","↥":"↥","⇑":"⇑","⇕":"⇕","↖":"↖","↗":"↗","ϒ":"ϒ","Υ":"Υ","Ů":"Ů","𝒰":"𝒰","Ũ":"Ũ","Ü":"Ü","Ü":"Ü","⊫":"⊫","⫫":"⫫","В":"В","⊩":"⊩","⫦":"⫦","⋁":"⋁","‖":"‖","‖":"‖","∣":"∣","|":"|","❘":"❘","≀":"≀"," ":" ","𝔙":"𝔙","𝕍":"𝕍","𝒱":"𝒱","⊪":"⊪","Ŵ":"Ŵ","⋀":"⋀","𝔚":"𝔚","𝕎":"𝕎","𝒲":"𝒲","𝔛":"𝔛","Ξ":"Ξ","𝕏":"𝕏","𝒳":"𝒳","Я":"Я","Ї":"Ї","Ю":"Ю","Ý":"Ý","Ý":"Ý","Ŷ":"Ŷ","Ы":"Ы","𝔜":"𝔜","𝕐":"𝕐","𝒴":"𝒴","Ÿ":"Ÿ","Ж":"Ж","Ź":"Ź","Ž":"Ž","З":"З","Ż":"Ż","​":"","Ζ":"Ζ","ℨ":"ℨ","ℤ":"ℤ","𝒵":"𝒵","á":"á","á":"á","ă":"ă","∾":"∾","∾̳":"∾̳","∿":"∿","â":"â","â":"â","´":"´","´":"´","а":"а","æ":"æ","æ":"æ","⁡":"","𝔞":"𝔞","à":"à","à":"à","ℵ":"ℵ","ℵ":"ℵ","α":"α","ā":"ā","⨿":"⨿","&":"&","&":"&","∧":"∧","⩕":"⩕","⩜":"⩜","⩘":"⩘","⩚":"⩚","∠":"∠","⦤":"⦤","∠":"∠","∡":"∡","⦨":"⦨","⦩":"⦩","⦪":"⦪","⦫":"⦫","⦬":"⦬","⦭":"⦭","⦮":"⦮","⦯":"⦯","∟":"∟","⊾":"⊾","⦝":"⦝","∢":"∢","Å":"Å","⍼":"⍼","ą":"ą","𝕒":"𝕒","≈":"≈","⩰":"⩰","⩯":"⩯","≊":"≊","≋":"≋","'":"'","≈":"≈","≊":"≊","å":"å","å":"å","𝒶":"𝒶","*":"*","≈":"≈","≍":"≍","ã":"ã","ã":"ã","ä":"ä","ä":"ä","∳":"∳","⨑":"⨑","⫭":"⫭","≌":"≌","϶":"϶","‵":"‵","∽":"∽","⋍":"⋍","⊽":"⊽","⌅":"⌅","⌅":"⌅","⎵":"⎵","⎶":"⎶","≌":"≌","б":"б","„":"„","∵":"∵","∵":"∵","⦰":"⦰","϶":"϶","ℬ":"ℬ","β":"β","ℶ":"ℶ","≬":"≬","𝔟":"𝔟","⋂":"⋂","◯":"◯","⋃":"⋃","⨀":"⨀","⨁":"⨁","⨂":"⨂","⨆":"⨆","★":"★","▽":"▽","△":"△","⨄":"⨄","⋁":"⋁","⋀":"⋀","⤍":"⤍","⧫":"⧫","▪":"▪","▴":"▴","▾":"▾","◂":"◂","▸":"▸","␣":"␣","▒":"▒","░":"░","▓":"▓","█":"█","=⃥":"=⃥","≡⃥":"≡⃥","⌐":"⌐","𝕓":"𝕓","⊥":"⊥","⊥":"⊥","⋈":"⋈","╗":"╗","╔":"╔","╖":"╖","╓":"╓","═":"═","╦":"╦","╩":"╩","╤":"╤","╧":"╧","╝":"╝","╚":"╚","╜":"╜","╙":"╙","║":"║","╬":"╬","╣":"╣","╠":"╠","╫":"╫","╢":"╢","╟":"╟","⧉":"⧉","╕":"╕","╒":"╒","┐":"┐","┌":"┌","─":"─","╥":"╥","╨":"╨","┬":"┬","┴":"┴","⊟":"⊟","⊞":"⊞","⊠":"⊠","╛":"╛","╘":"╘","┘":"┘","└":"└","│":"│","╪":"╪","╡":"╡","╞":"╞","┼":"┼","┤":"┤","├":"├","‵":"‵","˘":"˘","¦":"¦","¦":"¦","𝒷":"𝒷","⁏":"⁏","∽":"∽","⋍":"⋍","\":"\\","⧅":"⧅","⟈":"⟈","•":"•","•":"•","≎":"≎","⪮":"⪮","≏":"≏","≏":"≏","ć":"ć","∩":"∩","⩄":"⩄","⩉":"⩉","⩋":"⩋","⩇":"⩇","⩀":"⩀","∩︀":"∩︀","⁁":"⁁","ˇ":"ˇ","⩍":"⩍","č":"č","ç":"ç","ç":"ç","ĉ":"ĉ","⩌":"⩌","⩐":"⩐","ċ":"ċ","¸":"¸","¸":"¸","⦲":"⦲","¢":"¢","¢":"¢","·":"·","𝔠":"𝔠","ч":"ч","✓":"✓","✓":"✓","χ":"χ","○":"○","⧃":"⧃","ˆ":"ˆ","≗":"≗","↺":"↺","↻":"↻","®":"®","Ⓢ":"Ⓢ","⊛":"⊛","⊚":"⊚","⊝":"⊝","≗":"≗","⨐":"⨐","⫯":"⫯","⧂":"⧂","♣":"♣","♣":"♣",":":":","≔":"≔","≔":"≔",",":",","@":"@","∁":"∁","∘":"∘","∁":"∁","ℂ":"ℂ","≅":"≅","⩭":"⩭","∮":"∮","𝕔":"𝕔","∐":"∐","©":"©","©":"©","℗":"℗","↵":"↵","✗":"✗","𝒸":"𝒸","⫏":"⫏","⫑":"⫑","⫐":"⫐","⫒":"⫒","⋯":"⋯","⤸":"⤸","⤵":"⤵","⋞":"⋞","⋟":"⋟","↶":"↶","⤽":"⤽","∪":"∪","⩈":"⩈","⩆":"⩆","⩊":"⩊","⊍":"⊍","⩅":"⩅","∪︀":"∪︀","↷":"↷","⤼":"⤼","⋞":"⋞","⋟":"⋟","⋎":"⋎","⋏":"⋏","¤":"¤","¤":"¤","↶":"↶","↷":"↷","⋎":"⋎","⋏":"⋏","∲":"∲","∱":"∱","⌭":"⌭","⇓":"⇓","⥥":"⥥","†":"†","ℸ":"ℸ","↓":"↓","‐":"‐","⊣":"⊣","⤏":"⤏","˝":"˝","ď":"ď","д":"д","ⅆ":"ⅆ","‡":"‡","⇊":"⇊","⩷":"⩷","°":"°","°":"°","δ":"δ","⦱":"⦱","⥿":"⥿","𝔡":"𝔡","⇃":"⇃","⇂":"⇂","⋄":"⋄","⋄":"⋄","♦":"♦","♦":"♦","¨":"¨","ϝ":"ϝ","⋲":"⋲","÷":"÷","÷":"÷","÷":"÷","⋇":"⋇","⋇":"⋇","ђ":"ђ","⌞":"⌞","⌍":"⌍","$":"$","𝕕":"𝕕","˙":"˙","≐":"≐","≑":"≑","∸":"∸","∔":"∔","⊡":"⊡","⌆":"⌆","↓":"↓","⇊":"⇊","⇃":"⇃","⇂":"⇂","⤐":"⤐","⌟":"⌟","⌌":"⌌","𝒹":"𝒹","ѕ":"ѕ","⧶":"⧶","đ":"đ","⋱":"⋱","▿":"▿","▾":"▾","⇵":"⇵","⥯":"⥯","⦦":"⦦","џ":"џ","⟿":"⟿","⩷":"⩷","≑":"≑","é":"é","é":"é","⩮":"⩮","ě":"ě","≖":"≖","ê":"ê","ê":"ê","≕":"≕","э":"э","ė":"ė","ⅇ":"ⅇ","≒":"≒","𝔢":"𝔢","⪚":"⪚","è":"è","è":"è","⪖":"⪖","⪘":"⪘","⪙":"⪙","⏧":"⏧","ℓ":"ℓ","⪕":"⪕","⪗":"⪗","ē":"ē","∅":"∅","∅":"∅","∅":"∅"," ":" "," ":" "," ":" ","ŋ":"ŋ"," ":" ","ę":"ę","𝕖":"𝕖","⋕":"⋕","⧣":"⧣","⩱":"⩱","ε":"ε","ε":"ε","ϵ":"ϵ","≖":"≖","≕":"≕","≂":"≂","⪖":"⪖","⪕":"⪕","=":"=","≟":"≟","≡":"≡","⩸":"⩸","⧥":"⧥","≓":"≓","⥱":"⥱","ℯ":"ℯ","≐":"≐","≂":"≂","η":"η","ð":"ð","ð":"ð","ë":"ë","ë":"ë","€":"€","!":"!","∃":"∃","ℰ":"ℰ","ⅇ":"ⅇ","≒":"≒","ф":"ф","♀":"♀","ffi":"ffi","ff":"ff","ffl":"ffl","𝔣":"𝔣","fi":"fi","fj":"fj","♭":"♭","fl":"fl","▱":"▱","ƒ":"ƒ","𝕗":"𝕗","∀":"∀","⋔":"⋔","⫙":"⫙","⨍":"⨍","½":"½","½":"½","⅓":"⅓","¼":"¼","¼":"¼","⅕":"⅕","⅙":"⅙","⅛":"⅛","⅔":"⅔","⅖":"⅖","¾":"¾","¾":"¾","⅗":"⅗","⅜":"⅜","⅘":"⅘","⅚":"⅚","⅝":"⅝","⅞":"⅞","⁄":"⁄","⌢":"⌢","𝒻":"𝒻","≧":"≧","⪌":"⪌","ǵ":"ǵ","γ":"γ","ϝ":"ϝ","⪆":"⪆","ğ":"ğ","ĝ":"ĝ","г":"г","ġ":"ġ","≥":"≥","⋛":"⋛","≥":"≥","≧":"≧","⩾":"⩾","⩾":"⩾","⪩":"⪩","⪀":"⪀","⪂":"⪂","⪄":"⪄","⋛︀":"⋛︀","⪔":"⪔","𝔤":"𝔤","≫":"≫","⋙":"⋙","ℷ":"ℷ","ѓ":"ѓ","≷":"≷","⪒":"⪒","⪥":"⪥","⪤":"⪤","≩":"≩","⪊":"⪊","⪊":"⪊","⪈":"⪈","⪈":"⪈","≩":"≩","⋧":"⋧","𝕘":"𝕘","`":"`","ℊ":"ℊ","≳":"≳","⪎":"⪎","⪐":"⪐",">":">",">":">","⪧":"⪧","⩺":"⩺","⋗":"⋗","⦕":"⦕","⩼":"⩼","⪆":"⪆","⥸":"⥸","⋗":"⋗","⋛":"⋛","⪌":"⪌","≷":"≷","≳":"≳","≩︀":"≩︀","≩︀":"≩︀","⇔":"⇔"," ":" ","½":"½","ℋ":"ℋ","ъ":"ъ","↔":"↔","⥈":"⥈","↭":"↭","ℏ":"ℏ","ĥ":"ĥ","♥":"♥","♥":"♥","…":"…","⊹":"⊹","𝔥":"𝔥","⤥":"⤥","⤦":"⤦","⇿":"⇿","∻":"∻","↩":"↩","↪":"↪","𝕙":"𝕙","―":"―","𝒽":"𝒽","ℏ":"ℏ","ħ":"ħ","⁃":"⁃","‐":"‐","í":"í","í":"í","⁣":"","î":"î","î":"î","и":"и","е":"е","¡":"¡","¡":"¡","⇔":"⇔","𝔦":"𝔦","ì":"ì","ì":"ì","ⅈ":"ⅈ","⨌":"⨌","∭":"∭","⧜":"⧜","℩":"℩","ij":"ij","ī":"ī","ℑ":"ℑ","ℐ":"ℐ","ℑ":"ℑ","ı":"ı","⊷":"⊷","Ƶ":"Ƶ","∈":"∈","℅":"℅","∞":"∞","⧝":"⧝","ı":"ı","∫":"∫","⊺":"⊺","ℤ":"ℤ","⊺":"⊺","⨗":"⨗","⨼":"⨼","ё":"ё","į":"į","𝕚":"𝕚","ι":"ι","⨼":"⨼","¿":"¿","¿":"¿","𝒾":"𝒾","∈":"∈","⋹":"⋹","⋵":"⋵","⋴":"⋴","⋳":"⋳","∈":"∈","⁢":"","ĩ":"ĩ","і":"і","ï":"ï","ï":"ï","ĵ":"ĵ","й":"й","𝔧":"𝔧","ȷ":"ȷ","𝕛":"𝕛","𝒿":"𝒿","ј":"ј","є":"є","κ":"κ","ϰ":"ϰ","ķ":"ķ","к":"к","𝔨":"𝔨","ĸ":"ĸ","х":"х","ќ":"ќ","𝕜":"𝕜","𝓀":"𝓀","⇚":"⇚","⇐":"⇐","⤛":"⤛","⤎":"⤎","≦":"≦","⪋":"⪋","⥢":"⥢","ĺ":"ĺ","⦴":"⦴","ℒ":"ℒ","λ":"λ","⟨":"⟨","⦑":"⦑","⟨":"⟨","⪅":"⪅","«":"«","«":"«","←":"←","⇤":"⇤","⤟":"⤟","⤝":"⤝","↩":"↩","↫":"↫","⤹":"⤹","⥳":"⥳","↢":"↢","⪫":"⪫","⤙":"⤙","⪭":"⪭","⪭︀":"⪭︀","⤌":"⤌","❲":"❲","{":"{","[":"[","⦋":"⦋","⦏":"⦏","⦍":"⦍","ľ":"ľ","ļ":"ļ","⌈":"⌈","{":"{","л":"л","⤶":"⤶","“":"“","„":"„","⥧":"⥧","⥋":"⥋","↲":"↲","≤":"≤","←":"←","↢":"↢","↽":"↽","↼":"↼","⇇":"⇇","↔":"↔","⇆":"⇆","⇋":"⇋","↭":"↭","⋋":"⋋","⋚":"⋚","≤":"≤","≦":"≦","⩽":"⩽","⩽":"⩽","⪨":"⪨","⩿":"⩿","⪁":"⪁","⪃":"⪃","⋚︀":"⋚︀","⪓":"⪓","⪅":"⪅","⋖":"⋖","⋚":"⋚","⪋":"⪋","≶":"≶","≲":"≲","⥼":"⥼","⌊":"⌊","𝔩":"𝔩","≶":"≶","⪑":"⪑","↽":"↽","↼":"↼","⥪":"⥪","▄":"▄","љ":"љ","≪":"≪","⇇":"⇇","⌞":"⌞","⥫":"⥫","◺":"◺","ŀ":"ŀ","⎰":"⎰","⎰":"⎰","≨":"≨","⪉":"⪉","⪉":"⪉","⪇":"⪇","⪇":"⪇","≨":"≨","⋦":"⋦","⟬":"⟬","⇽":"⇽","⟦":"⟦","⟵":"⟵","⟷":"⟷","⟼":"⟼","⟶":"⟶","↫":"↫","↬":"↬","⦅":"⦅","𝕝":"𝕝","⨭":"⨭","⨴":"⨴","∗":"∗","_":"_","◊":"◊","◊":"◊","⧫":"⧫","(":"(","⦓":"⦓","⇆":"⇆","⌟":"⌟","⇋":"⇋","⥭":"⥭","‎":"","⊿":"⊿","‹":"‹","𝓁":"𝓁","↰":"↰","≲":"≲","⪍":"⪍","⪏":"⪏","[":"[","‘":"‘","‚":"‚","ł":"ł","<":"<","<":"<","⪦":"⪦","⩹":"⩹","⋖":"⋖","⋋":"⋋","⋉":"⋉","⥶":"⥶","⩻":"⩻","⦖":"⦖","◃":"◃","⊴":"⊴","◂":"◂","⥊":"⥊","⥦":"⥦","≨︀":"≨︀","≨︀":"≨︀","∺":"∺","¯":"¯","¯":"¯","♂":"♂","✠":"✠","✠":"✠","↦":"↦","↦":"↦","↧":"↧","↤":"↤","↥":"↥","▮":"▮","⨩":"⨩","м":"м","—":"—","∡":"∡","𝔪":"𝔪","℧":"℧","µ":"µ","µ":"µ","∣":"∣","*":"*","⫰":"⫰","·":"·","·":"·","−":"−","⊟":"⊟","∸":"∸","⨪":"⨪","⫛":"⫛","…":"…","∓":"∓","⊧":"⊧","𝕞":"𝕞","∓":"∓","𝓂":"𝓂","∾":"∾","μ":"μ","⊸":"⊸","⊸":"⊸","⋙̸":"⋙̸","≫⃒":"≫⃒","≫̸":"≫̸","⇍":"⇍","⇎":"⇎","⋘̸":"⋘̸","≪⃒":"≪⃒","≪̸":"≪̸","⇏":"⇏","⊯":"⊯","⊮":"⊮","∇":"∇","ń":"ń","∠⃒":"∠⃒","≉":"≉","⩰̸":"⩰̸","≋̸":"≋̸","ʼn":"ʼn","≉":"≉","♮":"♮","♮":"♮","ℕ":"ℕ"," ":" "," ":" ","≎̸":"≎̸","≏̸":"≏̸","⩃":"⩃","ň":"ň","ņ":"ņ","≇":"≇","⩭̸":"⩭̸","⩂":"⩂","н":"н","–":"–","≠":"≠","⇗":"⇗","⤤":"⤤","↗":"↗","↗":"↗","≐̸":"≐̸","≢":"≢","⤨":"⤨","≂̸":"≂̸","∄":"∄","∄":"∄","𝔫":"𝔫","≧̸":"≧̸","≱":"≱","≱":"≱","≧̸":"≧̸","⩾̸":"⩾̸","⩾̸":"⩾̸","≵":"≵","≯":"≯","≯":"≯","⇎":"⇎","↮":"↮","⫲":"⫲","∋":"∋","⋼":"⋼","⋺":"⋺","∋":"∋","њ":"њ","⇍":"⇍","≦̸":"≦̸","↚":"↚","‥":"‥","≰":"≰","↚":"↚","↮":"↮","≰":"≰","≦̸":"≦̸","⩽̸":"⩽̸","⩽̸":"⩽̸","≮":"≮","≴":"≴","≮":"≮","⋪":"⋪","⋬":"⋬","∤":"∤","𝕟":"𝕟","¬":"¬","¬":"¬","∉":"∉","⋹̸":"⋹̸","⋵̸":"⋵̸","∉":"∉","⋷":"⋷","⋶":"⋶","∌":"∌","∌":"∌","⋾":"⋾","⋽":"⋽","∦":"∦","∦":"∦","⫽⃥":"⫽⃥","∂̸":"∂̸","⨔":"⨔","⊀":"⊀","⋠":"⋠","⪯̸":"⪯̸","⊀":"⊀","⪯̸":"⪯̸","⇏":"⇏","↛":"↛","⤳̸":"⤳̸","↝̸":"↝̸","↛":"↛","⋫":"⋫","⋭":"⋭","⊁":"⊁","⋡":"⋡","⪰̸":"⪰̸","𝓃":"𝓃","∤":"∤","∦":"∦","≁":"≁","≄":"≄","≄":"≄","∤":"∤","∦":"∦","⋢":"⋢","⋣":"⋣","⊄":"⊄","⫅̸":"⫅̸","⊈":"⊈","⊂⃒":"⊂⃒","⊈":"⊈","⫅̸":"⫅̸","⊁":"⊁","⪰̸":"⪰̸","⊅":"⊅","⫆̸":"⫆̸","⊉":"⊉","⊃⃒":"⊃⃒","⊉":"⊉","⫆̸":"⫆̸","≹":"≹","ñ":"ñ","ñ":"ñ","≸":"≸","⋪":"⋪","⋬":"⋬","⋫":"⋫","⋭":"⋭","ν":"ν","#":"#","№":"№"," ":" ","⊭":"⊭","⤄":"⤄","≍⃒":"≍⃒","⊬":"⊬","≥⃒":"≥⃒",">⃒":">⃒","⧞":"⧞","⤂":"⤂","≤⃒":"≤⃒","<⃒":"<⃒","⊴⃒":"⊴⃒","⤃":"⤃","⊵⃒":"⊵⃒","∼⃒":"∼⃒","⇖":"⇖","⤣":"⤣","↖":"↖","↖":"↖","⤧":"⤧","Ⓢ":"Ⓢ","ó":"ó","ó":"ó","⊛":"⊛","⊚":"⊚","ô":"ô","ô":"ô","о":"о","⊝":"⊝","ő":"ő","⨸":"⨸","⊙":"⊙","⦼":"⦼","œ":"œ","⦿":"⦿","𝔬":"𝔬","˛":"˛","ò":"ò","ò":"ò","⧁":"⧁","⦵":"⦵","Ω":"Ω","∮":"∮","↺":"↺","⦾":"⦾","⦻":"⦻","‾":"‾","⧀":"⧀","ō":"ō","ω":"ω","ο":"ο","⦶":"⦶","⊖":"⊖","𝕠":"𝕠","⦷":"⦷","⦹":"⦹","⊕":"⊕","∨":"∨","↻":"↻","⩝":"⩝","ℴ":"ℴ","ℴ":"ℴ","ª":"ª","ª":"ª","º":"º","º":"º","⊶":"⊶","⩖":"⩖","⩗":"⩗","⩛":"⩛","ℴ":"ℴ","ø":"ø","ø":"ø","⊘":"⊘","õ":"õ","õ":"õ","⊗":"⊗","⨶":"⨶","ö":"ö","ö":"ö","⌽":"⌽","∥":"∥","¶":"¶","¶":"¶","∥":"∥","⫳":"⫳","⫽":"⫽","∂":"∂","п":"п","%":"%",".":".","‰":"‰","⊥":"⊥","‱":"‱","𝔭":"𝔭","φ":"φ","ϕ":"ϕ","ℳ":"ℳ","☎":"☎","π":"π","⋔":"⋔","ϖ":"ϖ","ℏ":"ℏ","ℎ":"ℎ","ℏ":"ℏ","+":"+","⨣":"⨣","⊞":"⊞","⨢":"⨢","∔":"∔","⨥":"⨥","⩲":"⩲","±":"±","±":"±","⨦":"⨦","⨧":"⨧","±":"±","⨕":"⨕","𝕡":"𝕡","£":"£","£":"£","≺":"≺","⪳":"⪳","⪷":"⪷","≼":"≼","⪯":"⪯","≺":"≺","⪷":"⪷","≼":"≼","⪯":"⪯","⪹":"⪹","⪵":"⪵","⋨":"⋨","≾":"≾","′":"′","ℙ":"ℙ","⪵":"⪵","⪹":"⪹","⋨":"⋨","∏":"∏","⌮":"⌮","⌒":"⌒","⌓":"⌓","∝":"∝","∝":"∝","≾":"≾","⊰":"⊰","𝓅":"𝓅","ψ":"ψ"," ":" ","𝔮":"𝔮","⨌":"⨌","𝕢":"𝕢","⁗":"⁗","𝓆":"𝓆","ℍ":"ℍ","⨖":"⨖","?":"?","≟":"≟",""":'"',""":'"',"⇛":"⇛","⇒":"⇒","⤜":"⤜","⤏":"⤏","⥤":"⥤","∽̱":"∽̱","ŕ":"ŕ","√":"√","⦳":"⦳","⟩":"⟩","⦒":"⦒","⦥":"⦥","⟩":"⟩","»":"»","»":"»","→":"→","⥵":"⥵","⇥":"⇥","⤠":"⤠","⤳":"⤳","⤞":"⤞","↪":"↪","↬":"↬","⥅":"⥅","⥴":"⥴","↣":"↣","↝":"↝","⤚":"⤚","∶":"∶","ℚ":"ℚ","⤍":"⤍","❳":"❳","}":"}","]":"]","⦌":"⦌","⦎":"⦎","⦐":"⦐","ř":"ř","ŗ":"ŗ","⌉":"⌉","}":"}","р":"р","⤷":"⤷","⥩":"⥩","”":"”","”":"”","↳":"↳","ℜ":"ℜ","ℛ":"ℛ","ℜ":"ℜ","ℝ":"ℝ","▭":"▭","®":"®","®":"®","⥽":"⥽","⌋":"⌋","𝔯":"𝔯","⇁":"⇁","⇀":"⇀","⥬":"⥬","ρ":"ρ","ϱ":"ϱ","→":"→","↣":"↣","⇁":"⇁","⇀":"⇀","⇄":"⇄","⇌":"⇌","⇉":"⇉","↝":"↝","⋌":"⋌","˚":"˚","≓":"≓","⇄":"⇄","⇌":"⇌","‏":"","⎱":"⎱","⎱":"⎱","⫮":"⫮","⟭":"⟭","⇾":"⇾","⟧":"⟧","⦆":"⦆","𝕣":"𝕣","⨮":"⨮","⨵":"⨵",")":")","⦔":"⦔","⨒":"⨒","⇉":"⇉","›":"›","𝓇":"𝓇","↱":"↱","]":"]","’":"’","’":"’","⋌":"⋌","⋊":"⋊","▹":"▹","⊵":"⊵","▸":"▸","⧎":"⧎","⥨":"⥨","℞":"℞","ś":"ś","‚":"‚","≻":"≻","⪴":"⪴","⪸":"⪸","š":"š","≽":"≽","⪰":"⪰","ş":"ş","ŝ":"ŝ","⪶":"⪶","⪺":"⪺","⋩":"⋩","⨓":"⨓","≿":"≿","с":"с","⋅":"⋅","⊡":"⊡","⩦":"⩦","⇘":"⇘","⤥":"⤥","↘":"↘","↘":"↘","§":"§","§":"§",";":";","⤩":"⤩","∖":"∖","∖":"∖","✶":"✶","𝔰":"𝔰","⌢":"⌢","♯":"♯","щ":"щ","ш":"ш","∣":"∣","∥":"∥","­":"","­":"","σ":"σ","ς":"ς","ς":"ς","∼":"∼","⩪":"⩪","≃":"≃","≃":"≃","⪞":"⪞","⪠":"⪠","⪝":"⪝","⪟":"⪟","≆":"≆","⨤":"⨤","⥲":"⥲","←":"←","∖":"∖","⨳":"⨳","⧤":"⧤","∣":"∣","⌣":"⌣","⪪":"⪪","⪬":"⪬","⪬︀":"⪬︀","ь":"ь","/":"/","⧄":"⧄","⌿":"⌿","𝕤":"𝕤","♠":"♠","♠":"♠","∥":"∥","⊓":"⊓","⊓︀":"⊓︀","⊔":"⊔","⊔︀":"⊔︀","⊏":"⊏","⊑":"⊑","⊏":"⊏","⊑":"⊑","⊐":"⊐","⊒":"⊒","⊐":"⊐","⊒":"⊒","□":"□","□":"□","▪":"▪","▪":"▪","→":"→","𝓈":"𝓈","∖":"∖","⌣":"⌣","⋆":"⋆","☆":"☆","★":"★","ϵ":"ϵ","ϕ":"ϕ","¯":"¯","⊂":"⊂","⫅":"⫅","⪽":"⪽","⊆":"⊆","⫃":"⫃","⫁":"⫁","⫋":"⫋","⊊":"⊊","⪿":"⪿","⥹":"⥹","⊂":"⊂","⊆":"⊆","⫅":"⫅","⊊":"⊊","⫋":"⫋","⫇":"⫇","⫕":"⫕","⫓":"⫓","≻":"≻","⪸":"⪸","≽":"≽","⪰":"⪰","⪺":"⪺","⪶":"⪶","⋩":"⋩","≿":"≿","∑":"∑","♪":"♪","¹":"¹","¹":"¹","²":"²","²":"²","³":"³","³":"³","⊃":"⊃","⫆":"⫆","⪾":"⪾","⫘":"⫘","⊇":"⊇","⫄":"⫄","⟉":"⟉","⫗":"⫗","⥻":"⥻","⫂":"⫂","⫌":"⫌","⊋":"⊋","⫀":"⫀","⊃":"⊃","⊇":"⊇","⫆":"⫆","⊋":"⊋","⫌":"⫌","⫈":"⫈","⫔":"⫔","⫖":"⫖","⇙":"⇙","⤦":"⤦","↙":"↙","↙":"↙","⤪":"⤪","ß":"ß","ß":"ß","⌖":"⌖","τ":"τ","⎴":"⎴","ť":"ť","ţ":"ţ","т":"т","⃛":"⃛","⌕":"⌕","𝔱":"𝔱","∴":"∴","∴":"∴","θ":"θ","ϑ":"ϑ","ϑ":"ϑ","≈":"≈","∼":"∼"," ":" ","≈":"≈","∼":"∼","þ":"þ","þ":"þ","˜":"˜","×":"×","×":"×","⊠":"⊠","⨱":"⨱","⨰":"⨰","∭":"∭","⤨":"⤨","⊤":"⊤","⌶":"⌶","⫱":"⫱","𝕥":"𝕥","⫚":"⫚","⤩":"⤩","‴":"‴","™":"™","▵":"▵","▿":"▿","◃":"◃","⊴":"⊴","≜":"≜","▹":"▹","⊵":"⊵","◬":"◬","≜":"≜","⨺":"⨺","⨹":"⨹","⧍":"⧍","⨻":"⨻","⏢":"⏢","𝓉":"𝓉","ц":"ц","ћ":"ћ","ŧ":"ŧ","≬":"≬","↞":"↞","↠":"↠","⇑":"⇑","⥣":"⥣","ú":"ú","ú":"ú","↑":"↑","ў":"ў","ŭ":"ŭ","û":"û","û":"û","у":"у","⇅":"⇅","ű":"ű","⥮":"⥮","⥾":"⥾","𝔲":"𝔲","ù":"ù","ù":"ù","↿":"↿","↾":"↾","▀":"▀","⌜":"⌜","⌜":"⌜","⌏":"⌏","◸":"◸","ū":"ū","¨":"¨","¨":"¨","ų":"ų","𝕦":"𝕦","↑":"↑","↕":"↕","↿":"↿","↾":"↾","⊎":"⊎","υ":"υ","ϒ":"ϒ","υ":"υ","⇈":"⇈","⌝":"⌝","⌝":"⌝","⌎":"⌎","ů":"ů","◹":"◹","𝓊":"𝓊","⋰":"⋰","ũ":"ũ","▵":"▵","▴":"▴","⇈":"⇈","ü":"ü","ü":"ü","⦧":"⦧","⇕":"⇕","⫨":"⫨","⫩":"⫩","⊨":"⊨","⦜":"⦜","ϵ":"ϵ","ϰ":"ϰ","∅":"∅","ϕ":"ϕ","ϖ":"ϖ","∝":"∝","↕":"↕","ϱ":"ϱ","ς":"ς","⊊︀":"⊊︀","⫋︀":"⫋︀","⊋︀":"⊋︀","⫌︀":"⫌︀","ϑ":"ϑ","⊲":"⊲","⊳":"⊳","в":"в","⊢":"⊢","∨":"∨","⊻":"⊻","≚":"≚","⋮":"⋮","|":"|","|":"|","𝔳":"𝔳","⊲":"⊲","⊂⃒":"⊂⃒","⊃⃒":"⊃⃒","𝕧":"𝕧","∝":"∝","⊳":"⊳","𝓋":"𝓋","⫋︀":"⫋︀","⊊︀":"⊊︀","⫌︀":"⫌︀","⊋︀":"⊋︀","⦚":"⦚","ŵ":"ŵ","⩟":"⩟","∧":"∧","≙":"≙","℘":"℘","𝔴":"𝔴","𝕨":"𝕨","℘":"℘","≀":"≀","≀":"≀","𝓌":"𝓌","⋂":"⋂","◯":"◯","⋃":"⋃","▽":"▽","𝔵":"𝔵","⟺":"⟺","⟷":"⟷","ξ":"ξ","⟸":"⟸","⟵":"⟵","⟼":"⟼","⋻":"⋻","⨀":"⨀","𝕩":"𝕩","⨁":"⨁","⨂":"⨂","⟹":"⟹","⟶":"⟶","𝓍":"𝓍","⨆":"⨆","⨄":"⨄","△":"△","⋁":"⋁","⋀":"⋀","ý":"ý","ý":"ý","я":"я","ŷ":"ŷ","ы":"ы","¥":"¥","¥":"¥","𝔶":"𝔶","ї":"ї","𝕪":"𝕪","𝓎":"𝓎","ю":"ю","ÿ":"ÿ","ÿ":"ÿ","ź":"ź","ž":"ž","з":"з","ż":"ż","ℨ":"ℨ","ζ":"ζ","𝔷":"𝔷","ж":"ж","⇝":"⇝","𝕫":"𝕫","𝓏":"𝓏","‍":"","‌":""},characters:{Æ:"Æ","&":"&",Á:"Á",Ă:"Ă",Â:"Â",А:"А",𝔄:"𝔄",À:"À",Α:"Α",Ā:"Ā","⩓":"⩓",Ą:"Ą",𝔸:"𝔸","":"⁡",Å:"Å",𝒜:"𝒜","≔":"≔",Ã:"Ã",Ä:"Ä","∖":"∖","⫧":"⫧","⌆":"⌆",Б:"Б","∵":"∵",ℬ:"ℬ",Β:"Β",𝔅:"𝔅",𝔹:"𝔹","˘":"˘","≎":"≎",Ч:"Ч","©":"©",Ć:"Ć","⋒":"⋒",ⅅ:"ⅅ",ℭ:"ℭ",Č:"Č",Ç:"Ç",Ĉ:"Ĉ","∰":"∰",Ċ:"Ċ","¸":"¸","·":"·",Χ:"Χ","⊙":"⊙","⊖":"⊖","⊕":"⊕","⊗":"⊗","∲":"∲","”":"”","’":"’","∷":"∷","⩴":"⩴","≡":"≡","∯":"∯","∮":"∮",ℂ:"ℂ","∐":"∐","∳":"∳","⨯":"⨯",𝒞:"𝒞","⋓":"⋓","≍":"≍","⤑":"⤑",Ђ:"Ђ",Ѕ:"Ѕ",Џ:"Џ","‡":"‡","↡":"↡","⫤":"⫤",Ď:"Ď",Д:"Д","∇":"∇",Δ:"Δ",𝔇:"𝔇","´":"´","˙":"˙","˝":"˝","`":"`","˜":"˜","⋄":"⋄",ⅆ:"ⅆ",𝔻:"𝔻","¨":"¨","⃜":"⃜","≐":"≐","⇓":"⇓","⇐":"⇐","⇔":"⇔","⟸":"⟸","⟺":"⟺","⟹":"⟹","⇒":"⇒","⊨":"⊨","⇑":"⇑","⇕":"⇕","∥":"∥","↓":"↓","⤓":"⤓","⇵":"⇵","̑":"̑","⥐":"⥐","⥞":"⥞","↽":"↽","⥖":"⥖","⥟":"⥟","⇁":"⇁","⥗":"⥗","⊤":"⊤","↧":"↧",𝒟:"𝒟",Đ:"Đ",Ŋ:"Ŋ",Ð:"Ð",É:"É",Ě:"Ě",Ê:"Ê",Э:"Э",Ė:"Ė",𝔈:"𝔈",È:"È","∈":"∈",Ē:"Ē","◻":"◻","▫":"▫",Ę:"Ę",𝔼:"𝔼",Ε:"Ε","⩵":"⩵","≂":"≂","⇌":"⇌",ℰ:"ℰ","⩳":"⩳",Η:"Η",Ë:"Ë","∃":"∃",ⅇ:"ⅇ",Ф:"Ф",𝔉:"𝔉","◼":"◼","▪":"▪",𝔽:"𝔽","∀":"∀",ℱ:"ℱ",Ѓ:"Ѓ",">":">",Γ:"Γ",Ϝ:"Ϝ",Ğ:"Ğ",Ģ:"Ģ",Ĝ:"Ĝ",Г:"Г",Ġ:"Ġ",𝔊:"𝔊","⋙":"⋙",𝔾:"𝔾","≥":"≥","⋛":"⋛","≧":"≧","⪢":"⪢","≷":"≷","⩾":"⩾","≳":"≳",𝒢:"𝒢","≫":"≫",Ъ:"Ъ",ˇ:"ˇ","^":"^",Ĥ:"Ĥ",ℌ:"ℌ",ℋ:"ℋ",ℍ:"ℍ","─":"─",Ħ:"Ħ","≏":"≏",Е:"Е",IJ:"IJ",Ё:"Ё",Í:"Í",Î:"Î",И:"И",İ:"İ",ℑ:"ℑ",Ì:"Ì",Ī:"Ī",ⅈ:"ⅈ","∬":"∬","∫":"∫","⋂":"⋂","":"⁣","":"⁢",Į:"Į",𝕀:"𝕀",Ι:"Ι",ℐ:"ℐ",Ĩ:"Ĩ",І:"І",Ï:"Ï",Ĵ:"Ĵ",Й:"Й",𝔍:"𝔍",𝕁:"𝕁",𝒥:"𝒥",Ј:"Ј",Є:"Є",Х:"Х",Ќ:"Ќ",Κ:"Κ",Ķ:"Ķ",К:"К",𝔎:"𝔎",𝕂:"𝕂",𝒦:"𝒦",Љ:"Љ","<":"<",Ĺ:"Ĺ",Λ:"Λ","⟪":"⟪",ℒ:"ℒ","↞":"↞",Ľ:"Ľ",Ļ:"Ļ",Л:"Л","⟨":"⟨","←":"←","⇤":"⇤","⇆":"⇆","⌈":"⌈","⟦":"⟦","⥡":"⥡","⇃":"⇃","⥙":"⥙","⌊":"⌊","↔":"↔","⥎":"⥎","⊣":"⊣","↤":"↤","⥚":"⥚","⊲":"⊲","⧏":"⧏","⊴":"⊴","⥑":"⥑","⥠":"⥠","↿":"↿","⥘":"⥘","↼":"↼","⥒":"⥒","⋚":"⋚","≦":"≦","≶":"≶","⪡":"⪡","⩽":"⩽","≲":"≲",𝔏:"𝔏","⋘":"⋘","⇚":"⇚",Ŀ:"Ŀ","⟵":"⟵","⟷":"⟷","⟶":"⟶",𝕃:"𝕃","↙":"↙","↘":"↘","↰":"↰",Ł:"Ł","≪":"≪","⤅":"⤅",М:"М"," ":" ",ℳ:"ℳ",𝔐:"𝔐","∓":"∓",𝕄:"𝕄",Μ:"Μ",Њ:"Њ",Ń:"Ń",Ň:"Ň",Ņ:"Ņ",Н:"Н","":"​","\n":"
",𝔑:"𝔑","":"⁠"," ":" ",ℕ:"ℕ","⫬":"⫬","≢":"≢","≭":"≭","∦":"∦","∉":"∉","≠":"≠","≂̸":"≂̸","∄":"∄","≯":"≯","≱":"≱","≧̸":"≧̸","≫̸":"≫̸","≹":"≹","⩾̸":"⩾̸","≵":"≵","≎̸":"≎̸","≏̸":"≏̸","⋪":"⋪","⧏̸":"⧏̸","⋬":"⋬","≮":"≮","≰":"≰","≸":"≸","≪̸":"≪̸","⩽̸":"⩽̸","≴":"≴","⪢̸":"⪢̸","⪡̸":"⪡̸","⊀":"⊀","⪯̸":"⪯̸","⋠":"⋠","∌":"∌","⋫":"⋫","⧐̸":"⧐̸","⋭":"⋭","⊏̸":"⊏̸","⋢":"⋢","⊐̸":"⊐̸","⋣":"⋣","⊂⃒":"⊂⃒","⊈":"⊈","⊁":"⊁","⪰̸":"⪰̸","⋡":"⋡","≿̸":"≿̸","⊃⃒":"⊃⃒","⊉":"⊉","≁":"≁","≄":"≄","≇":"≇","≉":"≉","∤":"∤",𝒩:"𝒩",Ñ:"Ñ",Ν:"Ν",Œ:"Œ",Ó:"Ó",Ô:"Ô",О:"О",Ő:"Ő",𝔒:"𝔒",Ò:"Ò",Ō:"Ō",Ω:"Ω",Ο:"Ο",𝕆:"𝕆","“":"“","‘":"‘","⩔":"⩔",𝒪:"𝒪",Ø:"Ø",Õ:"Õ","⨷":"⨷",Ö:"Ö","‾":"‾","⏞":"⏞","⎴":"⎴","⏜":"⏜","∂":"∂",П:"П",𝔓:"𝔓",Φ:"Φ",Π:"Π","±":"±",ℙ:"ℙ","⪻":"⪻","≺":"≺","⪯":"⪯","≼":"≼","≾":"≾","″":"″","∏":"∏","∝":"∝",𝒫:"𝒫",Ψ:"Ψ",'"':""",𝔔:"𝔔",ℚ:"ℚ",𝒬:"𝒬","⤐":"⤐","®":"®",Ŕ:"Ŕ","⟫":"⟫","↠":"↠","⤖":"⤖",Ř:"Ř",Ŗ:"Ŗ",Р:"Р",ℜ:"ℜ","∋":"∋","⇋":"⇋","⥯":"⥯",Ρ:"Ρ","⟩":"⟩","→":"→","⇥":"⇥","⇄":"⇄","⌉":"⌉","⟧":"⟧","⥝":"⥝","⇂":"⇂","⥕":"⥕","⌋":"⌋","⊢":"⊢","↦":"↦","⥛":"⥛","⊳":"⊳","⧐":"⧐","⊵":"⊵","⥏":"⥏","⥜":"⥜","↾":"↾","⥔":"⥔","⇀":"⇀","⥓":"⥓",ℝ:"ℝ","⥰":"⥰","⇛":"⇛",ℛ:"ℛ","↱":"↱","⧴":"⧴",Щ:"Щ",Ш:"Ш",Ь:"Ь",Ś:"Ś","⪼":"⪼",Š:"Š",Ş:"Ş",Ŝ:"Ŝ",С:"С",𝔖:"𝔖","↑":"↑",Σ:"Σ","∘":"∘",𝕊:"𝕊","√":"√","□":"□","⊓":"⊓","⊏":"⊏","⊑":"⊑","⊐":"⊐","⊒":"⊒","⊔":"⊔",𝒮:"𝒮","⋆":"⋆","⋐":"⋐","⊆":"⊆","≻":"≻","⪰":"⪰","≽":"≽","≿":"≿","∑":"∑","⋑":"⋑","⊃":"⊃","⊇":"⊇",Þ:"Þ","™":"™",Ћ:"Ћ",Ц:"Ц","\t":"	",Τ:"Τ",Ť:"Ť",Ţ:"Ţ",Т:"Т",𝔗:"𝔗","∴":"∴",Θ:"Θ"," ":"  "," ":" ","∼":"∼","≃":"≃","≅":"≅","≈":"≈",𝕋:"𝕋","⃛":"⃛",𝒯:"𝒯",Ŧ:"Ŧ",Ú:"Ú","↟":"↟","⥉":"⥉",Ў:"Ў",Ŭ:"Ŭ",Û:"Û",У:"У",Ű:"Ű",𝔘:"𝔘",Ù:"Ù",Ū:"Ū",_:"_","⏟":"⏟","⎵":"⎵","⏝":"⏝","⋃":"⋃","⊎":"⊎",Ų:"Ų",𝕌:"𝕌","⤒":"⤒","⇅":"⇅","↕":"↕","⥮":"⥮","⊥":"⊥","↥":"↥","↖":"↖","↗":"↗",ϒ:"ϒ",Υ:"Υ",Ů:"Ů",𝒰:"𝒰",Ũ:"Ũ",Ü:"Ü","⊫":"⊫","⫫":"⫫",В:"В","⊩":"⊩","⫦":"⫦","⋁":"⋁","‖":"‖","∣":"∣","|":"|","❘":"❘","≀":"≀"," ":" ",𝔙:"𝔙",𝕍:"𝕍",𝒱:"𝒱","⊪":"⊪",Ŵ:"Ŵ","⋀":"⋀",𝔚:"𝔚",𝕎:"𝕎",𝒲:"𝒲",𝔛:"𝔛",Ξ:"Ξ",𝕏:"𝕏",𝒳:"𝒳",Я:"Я",Ї:"Ї",Ю:"Ю",Ý:"Ý",Ŷ:"Ŷ",Ы:"Ы",𝔜:"𝔜",𝕐:"𝕐",𝒴:"𝒴",Ÿ:"Ÿ",Ж:"Ж",Ź:"Ź",Ž:"Ž",З:"З",Ż:"Ż",Ζ:"Ζ",ℨ:"ℨ",ℤ:"ℤ",𝒵:"𝒵",á:"á",ă:"ă","∾":"∾","∾̳":"∾̳","∿":"∿",â:"â",а:"а",æ:"æ",𝔞:"𝔞",à:"à",ℵ:"ℵ",α:"α",ā:"ā","⨿":"⨿","∧":"∧","⩕":"⩕","⩜":"⩜","⩘":"⩘","⩚":"⩚","∠":"∠","⦤":"⦤","∡":"∡","⦨":"⦨","⦩":"⦩","⦪":"⦪","⦫":"⦫","⦬":"⦬","⦭":"⦭","⦮":"⦮","⦯":"⦯","∟":"∟","⊾":"⊾","⦝":"⦝","∢":"∢","⍼":"⍼",ą:"ą",𝕒:"𝕒","⩰":"⩰","⩯":"⩯","≊":"≊","≋":"≋","'":"'",å:"å",𝒶:"𝒶","*":"*",ã:"ã",ä:"ä","⨑":"⨑","⫭":"⫭","≌":"≌","϶":"϶","‵":"‵","∽":"∽","⋍":"⋍","⊽":"⊽","⌅":"⌅","⎶":"⎶",б:"б","„":"„","⦰":"⦰",β:"β",ℶ:"ℶ","≬":"≬",𝔟:"𝔟","◯":"◯","⨀":"⨀","⨁":"⨁","⨂":"⨂","⨆":"⨆","★":"★","▽":"▽","△":"△","⨄":"⨄","⤍":"⤍","⧫":"⧫","▴":"▴","▾":"▾","◂":"◂","▸":"▸","␣":"␣","▒":"▒","░":"░","▓":"▓","█":"█","=⃥":"=⃥","≡⃥":"≡⃥","⌐":"⌐",𝕓:"𝕓","⋈":"⋈","╗":"╗","╔":"╔","╖":"╖","╓":"╓","═":"═","╦":"╦","╩":"╩","╤":"╤","╧":"╧","╝":"╝","╚":"╚","╜":"╜","╙":"╙","║":"║","╬":"╬","╣":"╣","╠":"╠","╫":"╫","╢":"╢","╟":"╟","⧉":"⧉","╕":"╕","╒":"╒","┐":"┐","┌":"┌","╥":"╥","╨":"╨","┬":"┬","┴":"┴","⊟":"⊟","⊞":"⊞","⊠":"⊠","╛":"╛","╘":"╘","┘":"┘","└":"└","│":"│","╪":"╪","╡":"╡","╞":"╞","┼":"┼","┤":"┤","├":"├","¦":"¦",𝒷:"𝒷","⁏":"⁏","\\":"\","⧅":"⧅","⟈":"⟈","•":"•","⪮":"⪮",ć:"ć","∩":"∩","⩄":"⩄","⩉":"⩉","⩋":"⩋","⩇":"⩇","⩀":"⩀","∩︀":"∩︀","⁁":"⁁","⩍":"⩍",č:"č",ç:"ç",ĉ:"ĉ","⩌":"⩌","⩐":"⩐",ċ:"ċ","⦲":"⦲","¢":"¢",𝔠:"𝔠",ч:"ч","✓":"✓",χ:"χ","○":"○","⧃":"⧃",ˆ:"ˆ","≗":"≗","↺":"↺","↻":"↻","Ⓢ":"Ⓢ","⊛":"⊛","⊚":"⊚","⊝":"⊝","⨐":"⨐","⫯":"⫯","⧂":"⧂","♣":"♣",":":":",",":",","@":"@","∁":"∁","⩭":"⩭",𝕔:"𝕔","℗":"℗","↵":"↵","✗":"✗",𝒸:"𝒸","⫏":"⫏","⫑":"⫑","⫐":"⫐","⫒":"⫒","⋯":"⋯","⤸":"⤸","⤵":"⤵","⋞":"⋞","⋟":"⋟","↶":"↶","⤽":"⤽","∪":"∪","⩈":"⩈","⩆":"⩆","⩊":"⩊","⊍":"⊍","⩅":"⩅","∪︀":"∪︀","↷":"↷","⤼":"⤼","⋎":"⋎","⋏":"⋏","¤":"¤","∱":"∱","⌭":"⌭","⥥":"⥥","†":"†",ℸ:"ℸ","‐":"‐","⤏":"⤏",ď:"ď",д:"д","⇊":"⇊","⩷":"⩷","°":"°",δ:"δ","⦱":"⦱","⥿":"⥿",𝔡:"𝔡","♦":"♦",ϝ:"ϝ","⋲":"⋲","÷":"÷","⋇":"⋇",ђ:"ђ","⌞":"⌞","⌍":"⌍",$:"$",𝕕:"𝕕","≑":"≑","∸":"∸","∔":"∔","⊡":"⊡","⌟":"⌟","⌌":"⌌",𝒹:"𝒹",ѕ:"ѕ","⧶":"⧶",đ:"đ","⋱":"⋱","▿":"▿","⦦":"⦦",џ:"џ","⟿":"⟿",é:"é","⩮":"⩮",ě:"ě","≖":"≖",ê:"ê","≕":"≕",э:"э",ė:"ė","≒":"≒",𝔢:"𝔢","⪚":"⪚",è:"è","⪖":"⪖","⪘":"⪘","⪙":"⪙","⏧":"⏧",ℓ:"ℓ","⪕":"⪕","⪗":"⪗",ē:"ē","∅":"∅"," ":" "," ":" "," ":" ",ŋ:"ŋ"," ":" ",ę:"ę",𝕖:"𝕖","⋕":"⋕","⧣":"⧣","⩱":"⩱",ε:"ε",ϵ:"ϵ","=":"=","≟":"≟","⩸":"⩸","⧥":"⧥","≓":"≓","⥱":"⥱",ℯ:"ℯ",η:"η",ð:"ð",ë:"ë","€":"€","!":"!",ф:"ф","♀":"♀",ffi:"ffi",ff:"ff",ffl:"ffl",𝔣:"𝔣",fi:"fi",fj:"fj","♭":"♭",fl:"fl","▱":"▱",ƒ:"ƒ",𝕗:"𝕗","⋔":"⋔","⫙":"⫙","⨍":"⨍","½":"½","⅓":"⅓","¼":"¼","⅕":"⅕","⅙":"⅙","⅛":"⅛","⅔":"⅔","⅖":"⅖","¾":"¾","⅗":"⅗","⅜":"⅜","⅘":"⅘","⅚":"⅚","⅝":"⅝","⅞":"⅞","⁄":"⁄","⌢":"⌢",𝒻:"𝒻","⪌":"⪌",ǵ:"ǵ",γ:"γ","⪆":"⪆",ğ:"ğ",ĝ:"ĝ",г:"г",ġ:"ġ","⪩":"⪩","⪀":"⪀","⪂":"⪂","⪄":"⪄","⋛︀":"⋛︀","⪔":"⪔",𝔤:"𝔤",ℷ:"ℷ",ѓ:"ѓ","⪒":"⪒","⪥":"⪥","⪤":"⪤","≩":"≩","⪊":"⪊","⪈":"⪈","⋧":"⋧",𝕘:"𝕘",ℊ:"ℊ","⪎":"⪎","⪐":"⪐","⪧":"⪧","⩺":"⩺","⋗":"⋗","⦕":"⦕","⩼":"⩼","⥸":"⥸","≩︀":"≩︀",ъ:"ъ","⥈":"⥈","↭":"↭",ℏ:"ℏ",ĥ:"ĥ","♥":"♥","…":"…","⊹":"⊹",𝔥:"𝔥","⤥":"⤥","⤦":"⤦","⇿":"⇿","∻":"∻","↩":"↩","↪":"↪",𝕙:"𝕙","―":"―",𝒽:"𝒽",ħ:"ħ","⁃":"⁃",í:"í",î:"î",и:"и",е:"е","¡":"¡",𝔦:"𝔦",ì:"ì","⨌":"⨌","∭":"∭","⧜":"⧜","℩":"℩",ij:"ij",ī:"ī",ı:"ı","⊷":"⊷",Ƶ:"Ƶ","℅":"℅","∞":"∞","⧝":"⧝","⊺":"⊺","⨗":"⨗","⨼":"⨼",ё:"ё",į:"į",𝕚:"𝕚",ι:"ι","¿":"¿",𝒾:"𝒾","⋹":"⋹","⋵":"⋵","⋴":"⋴","⋳":"⋳",ĩ:"ĩ",і:"і",ï:"ï",ĵ:"ĵ",й:"й",𝔧:"𝔧",ȷ:"ȷ",𝕛:"𝕛",𝒿:"𝒿",ј:"ј",є:"є",κ:"κ",ϰ:"ϰ",ķ:"ķ",к:"к",𝔨:"𝔨",ĸ:"ĸ",х:"х",ќ:"ќ",𝕜:"𝕜",𝓀:"𝓀","⤛":"⤛","⤎":"⤎","⪋":"⪋","⥢":"⥢",ĺ:"ĺ","⦴":"⦴",λ:"λ","⦑":"⦑","⪅":"⪅","«":"«","⤟":"⤟","⤝":"⤝","↫":"↫","⤹":"⤹","⥳":"⥳","↢":"↢","⪫":"⪫","⤙":"⤙","⪭":"⪭","⪭︀":"⪭︀","⤌":"⤌","❲":"❲","{":"{","[":"[","⦋":"⦋","⦏":"⦏","⦍":"⦍",ľ:"ľ",ļ:"ļ",л:"л","⤶":"⤶","⥧":"⥧","⥋":"⥋","↲":"↲","≤":"≤","⇇":"⇇","⋋":"⋋","⪨":"⪨","⩿":"⩿","⪁":"⪁","⪃":"⪃","⋚︀":"⋚︀","⪓":"⪓","⋖":"⋖","⥼":"⥼",𝔩:"𝔩","⪑":"⪑","⥪":"⥪","▄":"▄",љ:"љ","⥫":"⥫","◺":"◺",ŀ:"ŀ","⎰":"⎰","≨":"≨","⪉":"⪉","⪇":"⪇","⋦":"⋦","⟬":"⟬","⇽":"⇽","⟼":"⟼","↬":"↬","⦅":"⦅",𝕝:"𝕝","⨭":"⨭","⨴":"⨴","∗":"∗","◊":"◊","(":"(","⦓":"⦓","⥭":"⥭","":"‎","⊿":"⊿","‹":"‹",𝓁:"𝓁","⪍":"⪍","⪏":"⪏","‚":"‚",ł:"ł","⪦":"⪦","⩹":"⩹","⋉":"⋉","⥶":"⥶","⩻":"⩻","⦖":"⦖","◃":"◃","⥊":"⥊","⥦":"⥦","≨︀":"≨︀","∺":"∺","¯":"¯","♂":"♂","✠":"✠","▮":"▮","⨩":"⨩",м:"м","—":"—",𝔪:"𝔪","℧":"℧",µ:"µ","⫰":"⫰","−":"−","⨪":"⨪","⫛":"⫛","⊧":"⊧",𝕞:"𝕞",𝓂:"𝓂",μ:"μ","⊸":"⊸","⋙̸":"⋙̸","≫⃒":"≫⃒","⇍":"⇍","⇎":"⇎","⋘̸":"⋘̸","≪⃒":"≪⃒","⇏":"⇏","⊯":"⊯","⊮":"⊮",ń:"ń","∠⃒":"∠⃒","⩰̸":"⩰̸","≋̸":"≋̸",ʼn:"ʼn","♮":"♮","⩃":"⩃",ň:"ň",ņ:"ņ","⩭̸":"⩭̸","⩂":"⩂",н:"н","–":"–","⇗":"⇗","⤤":"⤤","≐̸":"≐̸","⤨":"⤨",𝔫:"𝔫","↮":"↮","⫲":"⫲","⋼":"⋼","⋺":"⋺",њ:"њ","≦̸":"≦̸","↚":"↚","‥":"‥",𝕟:"𝕟","¬":"¬","⋹̸":"⋹̸","⋵̸":"⋵̸","⋷":"⋷","⋶":"⋶","⋾":"⋾","⋽":"⋽","⫽⃥":"⫽⃥","∂̸":"∂̸","⨔":"⨔","↛":"↛","⤳̸":"⤳̸","↝̸":"↝̸",𝓃:"𝓃","⊄":"⊄","⫅̸":"⫅̸","⊅":"⊅","⫆̸":"⫆̸",ñ:"ñ",ν:"ν","#":"#","№":"№"," ":" ","⊭":"⊭","⤄":"⤄","≍⃒":"≍⃒","⊬":"⊬","≥⃒":"≥⃒",">⃒":">⃒","⧞":"⧞","⤂":"⤂","≤⃒":"≤⃒","<⃒":"<⃒","⊴⃒":"⊴⃒","⤃":"⤃","⊵⃒":"⊵⃒","∼⃒":"∼⃒","⇖":"⇖","⤣":"⤣","⤧":"⤧",ó:"ó",ô:"ô",о:"о",ő:"ő","⨸":"⨸","⦼":"⦼",œ:"œ","⦿":"⦿",𝔬:"𝔬","˛":"˛",ò:"ò","⧁":"⧁","⦵":"⦵","⦾":"⦾","⦻":"⦻","⧀":"⧀",ō:"ō",ω:"ω",ο:"ο","⦶":"⦶",𝕠:"𝕠","⦷":"⦷","⦹":"⦹","∨":"∨","⩝":"⩝",ℴ:"ℴ",ª:"ª",º:"º","⊶":"⊶","⩖":"⩖","⩗":"⩗","⩛":"⩛",ø:"ø","⊘":"⊘",õ:"õ","⨶":"⨶",ö:"ö","⌽":"⌽","¶":"¶","⫳":"⫳","⫽":"⫽",п:"п","%":"%",".":".","‰":"‰","‱":"‱",𝔭:"𝔭",φ:"φ",ϕ:"ϕ","☎":"☎",π:"π",ϖ:"ϖ",ℎ:"ℎ","+":"+","⨣":"⨣","⨢":"⨢","⨥":"⨥","⩲":"⩲","⨦":"⨦","⨧":"⨧","⨕":"⨕",𝕡:"𝕡","£":"£","⪳":"⪳","⪷":"⪷","⪹":"⪹","⪵":"⪵","⋨":"⋨","′":"′","⌮":"⌮","⌒":"⌒","⌓":"⌓","⊰":"⊰",𝓅:"𝓅",ψ:"ψ"," ":" ",𝔮:"𝔮",𝕢:"𝕢","⁗":"⁗",𝓆:"𝓆","⨖":"⨖","?":"?","⤜":"⤜","⥤":"⥤","∽̱":"∽̱",ŕ:"ŕ","⦳":"⦳","⦒":"⦒","⦥":"⦥","»":"»","⥵":"⥵","⤠":"⤠","⤳":"⤳","⤞":"⤞","⥅":"⥅","⥴":"⥴","↣":"↣","↝":"↝","⤚":"⤚","∶":"∶","❳":"❳","}":"}","]":"]","⦌":"⦌","⦎":"⦎","⦐":"⦐",ř:"ř",ŗ:"ŗ",р:"р","⤷":"⤷","⥩":"⥩","↳":"↳","▭":"▭","⥽":"⥽",𝔯:"𝔯","⥬":"⥬",ρ:"ρ",ϱ:"ϱ","⇉":"⇉","⋌":"⋌","˚":"˚","":"‏","⎱":"⎱","⫮":"⫮","⟭":"⟭","⇾":"⇾","⦆":"⦆",𝕣:"𝕣","⨮":"⨮","⨵":"⨵",")":")","⦔":"⦔","⨒":"⨒","›":"›",𝓇:"𝓇","⋊":"⋊","▹":"▹","⧎":"⧎","⥨":"⥨","℞":"℞",ś:"ś","⪴":"⪴","⪸":"⪸",š:"š",ş:"ş",ŝ:"ŝ","⪶":"⪶","⪺":"⪺","⋩":"⋩","⨓":"⨓",с:"с","⋅":"⋅","⩦":"⩦","⇘":"⇘","§":"§",";":";","⤩":"⤩","✶":"✶",𝔰:"𝔰","♯":"♯",щ:"щ",ш:"ш","":"­",σ:"σ",ς:"ς","⩪":"⩪","⪞":"⪞","⪠":"⪠","⪝":"⪝","⪟":"⪟","≆":"≆","⨤":"⨤","⥲":"⥲","⨳":"⨳","⧤":"⧤","⌣":"⌣","⪪":"⪪","⪬":"⪬","⪬︀":"⪬︀",ь:"ь","/":"/","⧄":"⧄","⌿":"⌿",𝕤:"𝕤","♠":"♠","⊓︀":"⊓︀","⊔︀":"⊔︀",𝓈:"𝓈","☆":"☆","⊂":"⊂","⫅":"⫅","⪽":"⪽","⫃":"⫃","⫁":"⫁","⫋":"⫋","⊊":"⊊","⪿":"⪿","⥹":"⥹","⫇":"⫇","⫕":"⫕","⫓":"⫓","♪":"♪","¹":"¹","²":"²","³":"³","⫆":"⫆","⪾":"⪾","⫘":"⫘","⫄":"⫄","⟉":"⟉","⫗":"⫗","⥻":"⥻","⫂":"⫂","⫌":"⫌","⊋":"⊋","⫀":"⫀","⫈":"⫈","⫔":"⫔","⫖":"⫖","⇙":"⇙","⤪":"⤪",ß:"ß","⌖":"⌖",τ:"τ",ť:"ť",ţ:"ţ",т:"т","⌕":"⌕",𝔱:"𝔱",θ:"θ",ϑ:"ϑ",þ:"þ","×":"×","⨱":"⨱","⨰":"⨰","⌶":"⌶","⫱":"⫱",𝕥:"𝕥","⫚":"⫚","‴":"‴","▵":"▵","≜":"≜","◬":"◬","⨺":"⨺","⨹":"⨹","⧍":"⧍","⨻":"⨻","⏢":"⏢",𝓉:"𝓉",ц:"ц",ћ:"ћ",ŧ:"ŧ","⥣":"⥣",ú:"ú",ў:"ў",ŭ:"ŭ",û:"û",у:"у",ű:"ű","⥾":"⥾",𝔲:"𝔲",ù:"ù","▀":"▀","⌜":"⌜","⌏":"⌏","◸":"◸",ū:"ū",ų:"ų",𝕦:"𝕦",υ:"υ","⇈":"⇈","⌝":"⌝","⌎":"⌎",ů:"ů","◹":"◹",𝓊:"𝓊","⋰":"⋰",ũ:"ũ",ü:"ü","⦧":"⦧","⫨":"⫨","⫩":"⫩","⦜":"⦜","⊊︀":"⊊︀","⫋︀":"⫋︀","⊋︀":"⊋︀","⫌︀":"⫌︀",в:"в","⊻":"⊻","≚":"≚","⋮":"⋮",𝔳:"𝔳",𝕧:"𝕧",𝓋:"𝓋","⦚":"⦚",ŵ:"ŵ","⩟":"⩟","≙":"≙",℘:"℘",𝔴:"𝔴",𝕨:"𝕨",𝓌:"𝓌",𝔵:"𝔵",ξ:"ξ","⋻":"⋻",𝕩:"𝕩",𝓍:"𝓍",ý:"ý",я:"я",ŷ:"ŷ",ы:"ы","¥":"¥",𝔶:"𝔶",ї:"ї",𝕪:"𝕪",𝓎:"𝓎",ю:"ю",ÿ:"ÿ",ź:"ź",ž:"ž",з:"з",ż:"ż",ζ:"ζ",𝔷:"𝔷",ж:"ж","⇝":"⇝",𝕫:"𝕫",𝓏:"𝓏","":"‍","":"‌"}}}},125:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.numericUnicodeMap={0:65533,128:8364,130:8218,131:402,132:8222,133:8230,134:8224,135:8225,136:710,137:8240,138:352,139:8249,140:338,142:381,145:8216,146:8217,147:8220,148:8221,149:8226,150:8211,151:8212,152:732,153:8482,154:353,155:8250,156:339,158:382,159:376}},663:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.fromCodePoint=String.fromCodePoint||function(e){return String.fromCharCode(Math.floor((e-65536)/1024)+55296,(e-65536)%1024+56320)},t.getCodePoint=String.prototype.codePointAt?function(e,t){return e.codePointAt(t)}:function(e,t){return 1024*(e.charCodeAt(t)-55296)+e.charCodeAt(t+1)-56320+65536},t.highSurrogateFrom=55296,t.highSurrogateTo=56319},804:(e,t,r)=>{"use strict";r.d(t,{Z:()=>c});var n=r(738),o=r.n(n),a=r(705),i=r.n(a)()(o());i.push([e.id,"",""]);const c=i},379:e=>{"use strict";var t=[];function r(e){for(var r=-1,n=0;n<t.length;n++)if(t[n].identifier===e){r=n;break}return r}function n(e,n){for(var a={},i=[],c=0;c<e.length;c++){var l=e[c],s=n.base?l[0]+n.base:l[0],u=a[s]||0,d="".concat(s," ").concat(u);a[s]=u+1;var f=r(d),p={css:l[1],media:l[2],sourceMap:l[3],supports:l[4],layer:l[5]};if(-1!==f)t[f].references++,t[f].updater(p);else{var h=o(p,n);n.byIndex=c,t.splice(c,0,{identifier:d,updater:h,references:1})}i.push(d)}return i}function o(e,t){var r=t.domAPI(t);return r.update(e),function(t){if(t){if(t.css===e.css&&t.media===e.media&&t.sourceMap===e.sourceMap&&t.supports===e.supports&&t.layer===e.layer)return;r.update(e=t)}else r.remove()}}e.exports=function(e,o){var a=n(e=e||[],o=o||{});return function(e){e=e||[];for(var i=0;i<a.length;i++){var c=r(a[i]);t[c].references--}for(var l=n(e,o),s=0;s<a.length;s++){var u=r(a[s]);0===t[u].references&&(t[u].updater(),t.splice(u,1))}a=l}}},569:e=>{"use strict";var t={};e.exports=function(e,r){var n=function(e){if(void 0===t[e]){var r=document.querySelector(e);if(window.HTMLIFrameElement&&r instanceof window.HTMLIFrameElement)try{r=r.contentDocument.head}catch(e){r=null}t[e]=r}return t[e]}(e);if(!n)throw new Error("Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.");n.appendChild(r)}},216:e=>{"use strict";e.exports=function(e){var t=document.createElement("style");return e.setAttributes(t,e.attributes),e.insert(t,e.options),t}},565:(e,t,r)=>{"use strict";e.exports=function(e){var t=r.nc;t&&e.setAttribute("nonce",t)}},795:e=>{"use strict";e.exports=function(e){var t=e.insertStyleElement(e);return{update:function(r){!function(e,t,r){var n="";r.supports&&(n+="@supports (".concat(r.supports,") {")),r.media&&(n+="@media ".concat(r.media," {"));var o=void 0!==r.layer;o&&(n+="@layer".concat(r.layer.length>0?" ".concat(r.layer):""," {")),n+=r.css,o&&(n+="}"),r.media&&(n+="}"),r.supports&&(n+="}");var a=r.sourceMap;a&&"undefined"!=typeof btoa&&(n+="\n/*# sourceMappingURL=data:application/json;base64,".concat(btoa(unescape(encodeURIComponent(JSON.stringify(a))))," */")),t.styleTagTransform(n,e,t.options)}(t,e,r)},remove:function(){!function(e){if(null===e.parentNode)return!1;e.parentNode.removeChild(e)}(t)}}}},589:e=>{"use strict";e.exports=function(e,t){if(t.styleSheet)t.styleSheet.cssText=e;else{for(;t.firstChild;)t.removeChild(t.firstChild);t.appendChild(document.createTextNode(e))}}}},t={};function r(n){var o=t[n];if(void 0!==o)return o.exports;var a=t[n]={id:n,exports:{}};return e[n].call(a.exports,a,a.exports,r),a.exports}r.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return r.d(t,{a:t}),t},r.d=(e,t)=>{for(var n in t)r.o(t,n)&&!r.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},r.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),r.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},r.nc=void 0,(()=>{"use strict";var e={};r.r(e),r.d(e,{canAddFolders:()=>P, folderHasChildren:()=>le,folderMatchesSearchTerms:()=>se,getChildFolders:()=>j,getFolderBeingEdited:()=>V,getFolderPanelContext:()=>Y,getFolderPanelError:()=>Z,getFolderUsingContextMenuId:()=>z,getFolders:()=>H,getFoldersFilteredBySearchTerms:()=>W,getNavigationError:()=>X,getNotifications:()=>Q,getOrganizationMode:()=>J,getPostIdsToMove:()=>K,getPostType:()=>ee,getScreenState:()=>te,getSearchTerms:()=>re,getSelectedFolder:()=>B,getSelectedFolderId:()=>U,getSelectedFolderIds:()=>M,getSortMode:()=>ne,getState:()=>G,getUserId:()=>oe,getWidth:()=>ae,includeChildren:()=>ue,isAjaxNavEnabled:()=>ye,isBreadcrumbsEnabled:()=>be,isDirty:()=>ie,isFolderDragging:()=>de,isFolderExpanded:()=>ce,isFolderPaneVisible:()=>he,isFolderPanelBusy:()=>fe,isFolderSelected:()=>pe,isNavigating:()=>we,isSearch:()=>me,isSearchEnabled:()=>ge,showItemCounts:()=>ve,syncUploadFolderDropdown:()=>Ee});var t={};r.r(t),r.d(t,{TYPES:()=>je,addNotification:()=>Ue,deleteNotification:()=>Be,dismissNotification:()=>Me,expandFolder:()=>Ge,fetchFolders:()=>Ve,initInstance:()=>ze,instanceAction:()=>gt,moveFolder:()=>pt,movePostsToFolder:()=>ht,saveScreenState:()=>Ze,setExpandedFolders:()=>He,setFolderBeingEditedId:()=>We,setFolderPanelContext:()=>ot,setFolderPanelError:()=>at,setFolderPanelMessage:()=>ct,setFolderUsingContextMenuId:()=>Ye,setFolders:()=>nt,setIsFolderDragging:()=>it,setIsFolderPaneVisible:()=>lt,setIsFolderPanelBusy:()=>st,setIsNavigating:()=>ut,setNavigationError:()=>Qe,setOrganizationMode:()=>Je,setPostIdsToMove:()=>Ke,setSearchTerms:()=>tt,setSelectedFolderId:()=>$e,setSelectedFolderIds:()=>et,setSortMode:()=>rt,setWidth:()=>Xe,toggleExpanded:()=>dt,unassignFolders:()=>mt,updateSavedScreenState:()=>ft});var n={};r.r(n),r.d(n,{getChildFolders:()=>Dt,getFolders:()=>Ft,getScreenState:()=>At});const o=window.wp.element,a=window.wp.data,i=window.wp.dataControls;var c="wicked-folders/state",l="edit",s="delete",u="settings",d="/wicked-folders/v1/",f="organize",p="sort",h="bulk",m="alpha",g="custom";function v(e){return function(e){if(Array.isArray(e))return y(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(e){if("string"==typeof e)return y(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?y(e,t):void 0}}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function y(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}var b=lodash,w=b.isUndefined,E=b.find,S=function(e,t,r){if(-1==e.indexOf(t+"="))e+=-1==e.indexOf("?")?"?":"&",e+=t+"="+r;else{var n=new RegExp(t+"=([^&]*)","gi");e=e.replace(n,t+"="+r)}return!1!==r&&""!=r||(n=new RegExp(t+"=([^&]*)","gi"),e=(e=e.replace(n,"")).replace(/[&]*$/,"")),e},x=function(){return w(window.isRtl)?jQuery("body").hasClass("rtl"):window.isRtl},_=function e(t,r){if(void 0===r)return[];if(r.parent){var n=E(t,{id:r.parent});if(n)return[n].concat(v(e(t,n)))}return[]},k=function e(t,r){if(void 0===r)return[];var n=[];return t.filter((function(e){return e.parent==r.id})).forEach((function(r){n=[].concat(v(n),[r],v(e(t,r)))})),n},R=lodash,L=(R.isNaN,R.isArray),T=R.each,O=(R.find,function(e){var t=jQuery,r=L(e)?e:[e];T(r,(function(e){t('.wp-list-table tr[id="post-'+e+'"]').fadeOut(500,(function(){t(this).remove()})),t('.wp-list-table tr[id="user-'+e+'"]').fadeOut(500,(function(){t(this).remove()}));var r=t('.wp-list-table.plugins .wicked-item[data-object-id="'+e+'"]').closest("tr").attr("data-slug");t('.wp-list-table.plugins tr[data-slug="'+r+'"]').fadeOut(500,(function(){t(this).remove()})),t('.wp-list-table.toplevel_page_gf_edit_forms .wicked-item[data-object-id="'+e+'"]').closest("tr").fadeOut(500,(function(){t(this).remove()})),t('.wp-list-table.gf_entries tr[data-id="'+e+'"]').fadeOut(500,(function(){t(this).remove()})),t('.wp-list-table.tablepress-all-tables tr[data-wf-post-id="'+e+'"]').fadeOut(500,(function(){t(this).remove()})),t('.wp-list-table.wc-orders-list-table-shop_order tr[id="order-'+e+'"]').fadeOut(500,(function(){t(this).remove()})),t('.wp-list-table .wicked-item[data-object-id="'+e+'"]').closest("tr").fadeOut(500,(function(){t(this).remove()}))}))}),F=function(e){return["Wicked_FoldersTerm_Folder","Wicked_Folders\\Term_Folder"].includes(e.type)},A=function(e){return["Wicked_FoldersTerm_Dynamic_Folder","Wicked_Folders\\Term_Dynamic_Folder"].includes(e.type)};function D(e){return function(e){if(Array.isArray(e))return N(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(e){if("string"==typeof e)return N(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?N(e,t):void 0}}(e)||function(){throw new TypeError("Invalid attempt to spread 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 r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}var I=lodash,q=I.find,C=I.uniqBy,P=function(e,t){return e.instances[t].screenState.canAddFolders},j=function(e,t){var r=B(e,t),n=H(e,t);return k(n,r)},U=function(e,t){return e.instances[t].screenState.folder},B=function(e,t){return e.instances[t].folders.find((function(r){return r.id==e.instances[t].screenState.folder}))},M=function(e,t){return e.instances[t].screenState.selectedFolders},G=function(e,t){return e.instances[t]},V=function(e,t){return e.instances[t].folders.find((function(r){return r.id==e.instances[t].folderBeingEditedId}))},z=function(e,t){return e.instances[t].folderUsingContextMenuId},H=function(e,t){return D(e.instances[t].folders)},W=function(e,t){var r=H(e,t),n=re(e,t),o=[];return n?(r.filter((function(e){return-1!=e.name.toUpperCase().indexOf(n.toUpperCase())})).forEach((function(e){o=[].concat(D(o),[e]),_(r,e).forEach((function(e){q(o,{id:e.id})||(o=[].concat(D(o),[e]))}))})),o=C(o,"id")):r},Y=function(e,t){return e.instances[t].folderPanelContext},Z=function(e,t){return e.instances[t].screenState.folderPanelError},X=function(e,t){return e.instances[t].screenState.navigationError},Q=function(e,t){return e.notifications},J=function(e,t){return e.instances[t].organizationMode},K=function(e,t){return e.instances[t].postIdsToMove},ee=function(e,t){return e.instances[t].postType},te=function(e,t){return e.instances[t].screenState},re=function(e,t){return e.instances[t].searchTerms},ne=function(e,t){return e.instances[t].screenState.sortMode},oe=function(e,t){return e.instances[t].screenState.userId},ae=function(e,t){return e.instances[t].screenState.treePaneWidth},ie=function(e,t){return e.instances[t].screenState.isDirty},ce=function(e,t,r){return e.instances[t].screenState.expandedFolders.includes(r)},le=function(e,t,r){return e.instances[t].folders.filter((function(e){return e.parent==r})).length},se=function(e,t,r){var n=H(e,t),o=q(n,{id:r}),a=re(e,t);return-1!=o.name.toUpperCase().indexOf(a.toUpperCase())},ue=function(e,t){return e.instances[t].screenState.includeChildren},de=function(e,t){return e.instances[t].isFolderDragging},fe=function(e,t){return e.instances[t].screenState.isFolderPanelBusy},pe=function(e,t,r){return e.instances[t].screenState.folder==r},he=function(e,t){return e.instances[t].screenState.isFolderPaneVisible},me=function(e,t){return e.instances[t].searchTerms.trim().length>0},ge=function(e,t){return e.instances[t].screenState.enableSearch},ve=function(e,t){return e.instances[t].screenState.showItemCounts},ye=function(e,t){return e.instances[t].screenState.enableAjaxNav},be=function(e,t){return e.instances[t].screenState.enableBreadcrumbs},we=function(e,t){return e.instances[t].screenState.isNavigating},Ee=function(e,t){return e.instances[t].screenState.syncUploadFolderDropdown};const Se=window.wp.i18n;function xe(e){return xe="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},xe(e)}var _e;function ke(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function Re(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?ke(Object(r),!0).forEach((function(t){Ne(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):ke(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function Le(){Le=function(){return e};var e={},t=Object.prototype,r=t.hasOwnProperty,n="function"==typeof Symbol?Symbol:{},o=n.iterator||"@@iterator",a=n.asyncIterator||"@@asyncIterator",i=n.toStringTag||"@@toStringTag";function c(e,t,r){return Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{c({},"")}catch(e){c=function(e,t,r){return e[t]=r}}function l(e,t,r,n){var o=t&&t.prototype instanceof d?t:d,a=Object.create(o.prototype),i=new x(n||[]);return a._invoke=function(e,t,r){var n="suspendedStart";return function(o,a){if("executing"===n)throw new Error("Generator is already running");if("completed"===n){if("throw"===o)throw a;return{value:void 0,done:!0}}for(r.method=o,r.arg=a;;){var i=r.delegate;if(i){var c=w(i,r);if(c){if(c===u)continue;return c}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if("suspendedStart"===n)throw n="completed",r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);n="executing";var l=s(e,t,r);if("normal"===l.type){if(n=r.done?"completed":"suspendedYield",l.arg===u)continue;return{value:l.arg,done:r.done}}"throw"===l.type&&(n="completed",r.method="throw",r.arg=l.arg)}}}(e,r,i),a}function s(e,t,r){try{return{type:"normal",arg:e.call(t,r)}}catch(e){return{type:"throw",arg:e}}}e.wrap=l;var u={};function d(){}function f(){}function p(){}var h={};c(h,o,(function(){return this}));var m=Object.getPrototypeOf,g=m&&m(m(_([])));g&&g!==t&&r.call(g,o)&&(h=g);var v=p.prototype=d.prototype=Object.create(h);function y(e){["next","throw","return"].forEach((function(t){c(e,t,(function(e){return this._invoke(t,e)}))}))}function b(e,t){function n(o,a,i,c){var l=s(e[o],e,a);if("throw"!==l.type){var u=l.arg,d=u.value;return d&&"object"==xe(d)&&r.call(d,"__await")?t.resolve(d.__await).then((function(e){n("next",e,i,c)}),(function(e){n("throw",e,i,c)})):t.resolve(d).then((function(e){u.value=e,i(u)}),(function(e){return n("throw",e,i,c)}))}c(l.arg)}var o;this._invoke=function(e,r){function a(){return new t((function(t,o){n(e,r,t,o)}))}return o=o?o.then(a,a):a()}}function w(e,t){var r=e.iterator[t.method];if(void 0===r){if(t.delegate=null,"throw"===t.method){if(e.iterator.return&&(t.method="return",t.arg=void 0,w(e,t),"throw"===t.method))return u;t.method="throw",t.arg=new TypeError("The iterator does not provide a 'throw' method")}return u}var n=s(r,e.iterator,t.arg);if("throw"===n.type)return t.method="throw",t.arg=n.arg,t.delegate=null,u;var o=n.arg;return o?o.done?(t[e.resultName]=o.value,t.next=e.nextLoc,"return"!==t.method&&(t.method="next",t.arg=void 0),t.delegate=null,u):o:(t.method="throw",t.arg=new TypeError("iterator result is not an object"),t.delegate=null,u)}function E(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function S(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function x(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(E,this),this.reset(!0)}function _(e){if(e){var t=e[o];if(t)return t.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var n=-1,a=function t(){for(;++n<e.length;)if(r.call(e,n))return t.value=e[n],t.done=!1,t;return t.value=void 0,t.done=!0,t};return a.next=a}}return{next:k}}function k(){return{value:void 0,done:!0}}return f.prototype=p,c(v,"constructor",p),c(p,"constructor",f),f.displayName=c(p,i,"GeneratorFunction"),e.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===f||"GeneratorFunction"===(t.displayName||t.name))},e.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,p):(e.__proto__=p,c(e,i,"GeneratorFunction")),e.prototype=Object.create(v),e},e.awrap=function(e){return{__await:e}},y(b.prototype),c(b.prototype,a,(function(){return this})),e.AsyncIterator=b,e.async=function(t,r,n,o,a){void 0===a&&(a=Promise);var i=new b(l(t,r,n,o),a);return e.isGeneratorFunction(r)?i:i.next().then((function(e){return e.done?e.value:i.next()}))},y(v),c(v,i,"Generator"),c(v,o,(function(){return this})),c(v,"toString",(function(){return"[object Generator]"})),e.keys=function(e){var t=[];for(var r in e)t.push(r);return t.reverse(),function r(){for(;t.length;){var n=t.pop();if(n in e)return r.value=n,r.done=!1,r}return r.done=!0,r}},e.values=_,x.prototype={constructor:x,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEach(S),!e)for(var t in this)"t"===t.charAt(0)&&r.call(this,t)&&!isNaN(+t.slice(1))&&(this[t]=void 0)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var t=this;function n(r,n){return i.type="throw",i.arg=e,t.next=r,n&&(t.method="next",t.arg=void 0),!!n}for(var o=this.tryEntries.length-1;o>=0;--o){var a=this.tryEntries[o],i=a.completion;if("root"===a.tryLoc)return n("end");if(a.tryLoc<=this.prev){var c=r.call(a,"catchLoc"),l=r.call(a,"finallyLoc");if(c&&l){if(this.prev<a.catchLoc)return n(a.catchLoc,!0);if(this.prev<a.finallyLoc)return n(a.finallyLoc)}else if(c){if(this.prev<a.catchLoc)return n(a.catchLoc,!0)}else{if(!l)throw new Error("try statement without catch or finally");if(this.prev<a.finallyLoc)return n(a.finallyLoc)}}}},abrupt:function(e,t){for(var n=this.tryEntries.length-1;n>=0;--n){var o=this.tryEntries[n];if(o.tryLoc<=this.prev&&r.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var a=o;break}}a&&("break"===e||"continue"===e)&&a.tryLoc<=t&&t<=a.finallyLoc&&(a=null);var i=a?a.completion:{};return i.type=e,i.arg=t,a?(this.method="next",this.next=a.finallyLoc,u):this.complete(i)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),u},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.finallyLoc===e)return this.complete(r.completion,r.afterLoc),S(r),u}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.tryLoc===e){var n=r.completion;if("throw"===n.type){var o=n.arg;S(r)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(e,t,r){return this.delegate={iterator:_(e),resultName:t,nextLoc:r},"next"===this.method&&(this.arg=void 0),u}},e}var Te=Le().mark(Ve),Oe=Le().mark(Ze),Fe=Le().mark(pt),Ae=Le().mark(ht),De=Le().mark(mt);function Ne(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var Ie=lodash,qe=Ie.defaults,Ce=Ie.find,Pe=Ie.uniqueId,je=(Ne(_e={ADD_NOTIFICATION:"ADD_NOTIFICATION",DELETE_NOTIFICATION:"DELETE_NOTIFICATION",DISMISS_NOTIFICATION:"DISMISS_NOTIFICATION",EXPAND_FOLDER:"EXPAND_FOLDER"},"EXPAND_FOLDER","EXPAND_FOLDER"),Ne(_e,"INIT_INSTANCE","INIT_INSTANCE"),Ne(_e,"SET_EXPANDED_FOLDERS","SET_EXPANDED_FOLDERS"),Ne(_e,"SET_FOLDERS","SET_FOLDERS"),Ne(_e,"SET_FOLDER_BEING_EDITED_ID","SET_FOLDER_BEING_EDITED_ID"),Ne(_e,"SET_FOLDER_USING_CONTEXT_MENU_ID","SET_FOLDER_USING_CONTEXT_MENU_ID"),Ne(_e,"SET_FOLDER_PANEL_CONTEXT","SET_FOLDER_PANEL_CONTEXT"),Ne(_e,"SET_FOLDER_PANEL_MESSAGE","SET_FOLDER_PANEL_MESSAGE"),Ne(_e,"SET_FOLDER_PANEL_ERROR","SET_FOLDER_PANEL_ERROR"),Ne(_e,"SET_IS_FOLDER_DRAGGING","SET_IS_FOLDER_DRAGGING"),Ne(_e,"SET_IS_FOLDER_PANE_VISIBLE","SET_IS_FOLDER_PANE_VISIBLE"),Ne(_e,"SET_IS_FOLDER_PANEL_BUSY","SET_IS_FOLDER_PANEL_BUSY"),Ne(_e,"SET_IS_NAVIGATING","SET_IS_NAVIGATING"),Ne(_e,"SET_NAVIGATION_ERROR","SET_NAVIGATION_ERROR"),Ne(_e,"SET_ORGANIZATION_MODE","SET_ORGANIZATION_MODE"),Ne(_e,"SET_POST_IDS_TO_MOVE","SET_POST_IDS_TO_MOVE"),Ne(_e,"SET_SELECTED_FOLDER_ID","SET_SELECTED_FOLDER_ID"),Ne(_e,"SET_SELECTED_FOLDER_IDS","SET_SELECTED_FOLDER_IDS"),Ne(_e,"SET_SEARCH_TERMS","SET_SEARCH_TERMS"),Ne(_e,"SET_SORT_MODE","SET_SORT_MODE"),Ne(_e,"SET_WIDTH","SET_WIDTH"),Ne(_e,"TOGGLE_EXPANDED","TOGGLE_EXPANDED"),Ne(_e,"UPDATE_SAVED_SCREEN_STATE","UPDATE_SAVED_SCREEN_STATE"),Ne(_e,"WITH_INSTANCE","WITH_INSTANCE"),_e),Ue=function(e){var t=qe(e,{title:(0,Se.__)("Success","wicked-folders"),message:"",dismissible:!0,dismissed:!1,autoDismiss:!0,delay:3e3});return t.id=Pe(),t.autoDismiss&&setTimeout((function(){(0,a.dispatch)(c).dismissNotification(t.id)}),t.delay),{type:je.ADD_NOTIFICATION,notification:t}},Be=function(e){return{type:je.DELETE_NOTIFICATION,notificationId:e}},Me=function(e){return setTimeout((function(){(0,a.dispatch)(c).deleteNotification(e)}),500),{type:je.DISMISS_NOTIFICATION,notificationId:e}},Ge=function(e){return{type:je.EXPAND_FOLDER,folderId:e}};function Ve(e){var t,r,n;return Le().wrap((function(o){for(;;)switch(o.prev=o.next){case 0:return o.prev=0,(0,a.dispatch)(c).instanceAction(e,st,!0),t=(0,a.select)(c).getPostType(e),r=(0,a.select)(c).getSortMode(e),o.next=6,(0,i.apiFetch)({path:"/wicked-folders/v1/folders?post_type=".concat(t,"&sort_mode=").concat(r)});case 6:return n=o.sent,(0,a.dispatch)(c).instanceAction(e,st,!1),o.abrupt("return",{type:je.WITH_INSTANCE,payload:{action:{type:je.SET_FOLDERS,folders:n},instanceId:e}});case 11:o.prev=11,o.t0=o.catch(0),console.log("Error fetching folders: ".concat(o.t0.message));case 14:case"end":return o.stop()}}),Te,null,[[0,11]])}var ze=function(e,t){return{type:je.INIT_INSTANCE,instanceId:e,postType:t}},He=function(e){return{type:je.SET_EXPANDED_FOLDERS,folderIds:e}},We=function(e){return{type:je.SET_FOLDER_BEING_EDITED_ID,folderId:e}},Ye=function(e){return{type:je.SET_FOLDER_USING_CONTEXT_MENU_ID,folderId:e}};function Ze(e){var t;return Le().wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return t=(0,a.select)(c).getScreenState(e),r.prev=1,r.next=4,(0,i.apiFetch)({path:"/wicked-folders/v1/screen-state",method:"PUT",data:t});case 4:return t=(0,a.select)(c).getScreenState(e),r.abrupt("return",{type:je.WITH_INSTANCE,payload:{action:{type:je.UPDATE_SAVED_SCREEN_STATE,state:t},instanceId:e}});case 8:r.prev=8,r.t0=r.catch(1),console.log("Error while saving Wicked Folders state: ".concat(r.t0));case 11:return r.abrupt("return");case 12:case"end":return r.stop()}}),Oe,null,[[1,8]])}var Xe=function(e){return{type:je.SET_WIDTH,width:e}},Qe=function(e){return{type:je.SET_NAVIGATION_ERROR,error:e}},Je=function(e){return{type:je.SET_ORGANIZATION_MODE,mode:e}},Ke=function(e){return{type:je.SET_POST_IDS_TO_MOVE,postIds:e}},$e=function(e){return{type:je.SET_SELECTED_FOLDER_ID,folderId:e}},et=function(e){return{type:je.SET_SELECTED_FOLDER_IDS,folderIds:e}},tt=function(e){return{type:je.SET_SEARCH_TERMS,s:e}},rt=function(e){return{type:je.SET_SORT_MODE,mode:e}},nt=function(e){return{type:je.SET_FOLDERS,folders:e}},ot=function(e){return{type:je.SET_FOLDER_PANEL_CONTEXT,context:e}},at=function(e){return{type:je.SET_FOLDER_PANEL_ERROR,error:e}},it=function(e){return{type:je.SET_IS_FOLDER_DRAGGING,isDragging:e}},ct=function(e){return{type:je.SET_FOLDER_PANEL_MESSAGE,message:e}},lt=function(e){return{type:je.SET_IS_FOLDER_PANE_VISIBLE,isFolderPaneVisible:e}},st=function(e){return{type:je.SET_IS_FOLDER_PANEL_BUSY,isBusy:e}},ut=function(e){return{type:je.SET_IS_NAVIGATING,isNavigating:e}},dt=function(e){return{type:je.TOGGLE_EXPANDED,folderId:e}},ft=function(e){return{type:je.UPDATE_SAVED_SCREEN_STATE,state:e}};function pt(e,t,r){var n,o,l,s;return Le().wrap((function(u){for(;;)switch(u.prev=u.next){case 0:return u.prev=0,n=(0,a.select)(c).getFolders(e),o=Ce(n,{id:t}),u.next=5,(0,i.apiFetch)({path:"".concat(d,"folders/").concat(t),method:"PUT",data:Re(Re({},o),{},{parent:r})});case 5:return l=u.sent,s=n.map((function(e){return e.id==o.id?l:e})),u.abrupt("return",{type:je.WITH_INSTANCE,payload:{action:{type:je.SET_FOLDERS,folders:s},instanceId:e}});case 10:u.prev=10,u.t0=u.catch(0),console.log(u.t0.message);case 13:case"end":return u.stop()}}),Fe,null,[[0,10]])}function ht(e,t,r,n,o){var l,s,u;return Le().wrap((function(f){for(;;)switch(f.prev=f.next){case 0:return f.prev=0,l=(0,a.select)(c).getPostType(e),s=(0,a.select)(c).getSortMode(e),f.next=5,(0,i.apiFetch)({path:"".concat(d,"folders/").concat(r,"/assign"),method:"PUT",data:{post_type:l,post_ids:t,sort_mode:s,from_folder_id:n,copy:o}});case 5:return u=f.sent,Ke([]),f.abrupt("return",{type:je.WITH_INSTANCE,payload:{action:{type:je.SET_FOLDERS,folders:u},instanceId:e}});case 10:f.prev=10,f.t0=f.catch(0),console.log(f.t0.message);case 13:case"end":return f.stop()}}),Ae,null,[[0,10]])}function mt(e,t){var r,n;return Le().wrap((function(o){for(;;)switch(o.prev=o.next){case 0:return o.prev=0,r=(0,a.select)(c).getPostType(e),o.next=4,(0,i.apiFetch)({path:"".concat(d,"folders/unassign"),method:"PUT",data:{post_type:r,post_ids:t}});case 4:return n=o.sent,Ke([]),o.abrupt("return",{type:je.WITH_INSTANCE,payload:{action:{type:je.SET_FOLDERS,folders:n},instanceId:e}});case 9:o.prev=9,o.t0=o.catch(0),console.log(o.t0.message);case 12:case"end":return o.stop()}}),De,null,[[0,9]])}var gt=function(e,t){for(var r=arguments.length,n=new Array(r>2?r-2:0),o=2;o<r;o++)n[o-2]=arguments[o];var a=t.apply(null,n);return{type:je.WITH_INSTANCE,payload:{action:a,instanceId:e}}};function vt(e){return vt="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},vt(e)}function yt(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function bt(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?yt(Object(r),!0).forEach((function(t){wt(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):yt(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function wt(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Et(){Et=function(){return e};var e={},t=Object.prototype,r=t.hasOwnProperty,n="function"==typeof Symbol?Symbol:{},o=n.iterator||"@@iterator",a=n.asyncIterator||"@@asyncIterator",i=n.toStringTag||"@@toStringTag";function c(e,t,r){return Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{c({},"")}catch(e){c=function(e,t,r){return e[t]=r}}function l(e,t,r,n){var o=t&&t.prototype instanceof d?t:d,a=Object.create(o.prototype),i=new x(n||[]);return a._invoke=function(e,t,r){var n="suspendedStart";return function(o,a){if("executing"===n)throw new Error("Generator is already running");if("completed"===n){if("throw"===o)throw a;return{value:void 0,done:!0}}for(r.method=o,r.arg=a;;){var i=r.delegate;if(i){var c=w(i,r);if(c){if(c===u)continue;return c}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if("suspendedStart"===n)throw n="completed",r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);n="executing";var l=s(e,t,r);if("normal"===l.type){if(n=r.done?"completed":"suspendedYield",l.arg===u)continue;return{value:l.arg,done:r.done}}"throw"===l.type&&(n="completed",r.method="throw",r.arg=l.arg)}}}(e,r,i),a}function s(e,t,r){try{return{type:"normal",arg:e.call(t,r)}}catch(e){return{type:"throw",arg:e}}}e.wrap=l;var u={};function d(){}function f(){}function p(){}var h={};c(h,o,(function(){return this}));var m=Object.getPrototypeOf,g=m&&m(m(_([])));g&&g!==t&&r.call(g,o)&&(h=g);var v=p.prototype=d.prototype=Object.create(h);function y(e){["next","throw","return"].forEach((function(t){c(e,t,(function(e){return this._invoke(t,e)}))}))}function b(e,t){function n(o,a,i,c){var l=s(e[o],e,a);if("throw"!==l.type){var u=l.arg,d=u.value;return d&&"object"==vt(d)&&r.call(d,"__await")?t.resolve(d.__await).then((function(e){n("next",e,i,c)}),(function(e){n("throw",e,i,c)})):t.resolve(d).then((function(e){u.value=e,i(u)}),(function(e){return n("throw",e,i,c)}))}c(l.arg)}var o;this._invoke=function(e,r){function a(){return new t((function(t,o){n(e,r,t,o)}))}return o=o?o.then(a,a):a()}}function w(e,t){var r=e.iterator[t.method];if(void 0===r){if(t.delegate=null,"throw"===t.method){if(e.iterator.return&&(t.method="return",t.arg=void 0,w(e,t),"throw"===t.method))return u;t.method="throw",t.arg=new TypeError("The iterator does not provide a 'throw' method")}return u}var n=s(r,e.iterator,t.arg);if("throw"===n.type)return t.method="throw",t.arg=n.arg,t.delegate=null,u;var o=n.arg;return o?o.done?(t[e.resultName]=o.value,t.next=e.nextLoc,"return"!==t.method&&(t.method="next",t.arg=void 0),t.delegate=null,u):o:(t.method="throw",t.arg=new TypeError("iterator result is not an object"),t.delegate=null,u)}function E(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function S(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function x(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(E,this),this.reset(!0)}function _(e){if(e){var t=e[o];if(t)return t.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var n=-1,a=function t(){for(;++n<e.length;)if(r.call(e,n))return t.value=e[n],t.done=!1,t;return t.value=void 0,t.done=!0,t};return a.next=a}}return{next:k}}function k(){return{value:void 0,done:!0}}return f.prototype=p,c(v,"constructor",p),c(p,"constructor",f),f.displayName=c(p,i,"GeneratorFunction"),e.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===f||"GeneratorFunction"===(t.displayName||t.name))},e.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,p):(e.__proto__=p,c(e,i,"GeneratorFunction")),e.prototype=Object.create(v),e},e.awrap=function(e){return{__await:e}},y(b.prototype),c(b.prototype,a,(function(){return this})),e.AsyncIterator=b,e.async=function(t,r,n,o,a){void 0===a&&(a=Promise);var i=new b(l(t,r,n,o),a);return e.isGeneratorFunction(r)?i:i.next().then((function(e){return e.done?e.value:i.next()}))},y(v),c(v,i,"Generator"),c(v,o,(function(){return this})),c(v,"toString",(function(){return"[object Generator]"})),e.keys=function(e){var t=[];for(var r in e)t.push(r);return t.reverse(),function r(){for(;t.length;){var n=t.pop();if(n in e)return r.value=n,r.done=!1,r}return r.done=!0,r}},e.values=_,x.prototype={constructor:x,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEach(S),!e)for(var t in this)"t"===t.charAt(0)&&r.call(this,t)&&!isNaN(+t.slice(1))&&(this[t]=void 0)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var t=this;function n(r,n){return i.type="throw",i.arg=e,t.next=r,n&&(t.method="next",t.arg=void 0),!!n}for(var o=this.tryEntries.length-1;o>=0;--o){var a=this.tryEntries[o],i=a.completion;if("root"===a.tryLoc)return n("end");if(a.tryLoc<=this.prev){var c=r.call(a,"catchLoc"),l=r.call(a,"finallyLoc");if(c&&l){if(this.prev<a.catchLoc)return n(a.catchLoc,!0);if(this.prev<a.finallyLoc)return n(a.finallyLoc)}else if(c){if(this.prev<a.catchLoc)return n(a.catchLoc,!0)}else{if(!l)throw new Error("try statement without catch or finally");if(this.prev<a.finallyLoc)return n(a.finallyLoc)}}}},abrupt:function(e,t){for(var n=this.tryEntries.length-1;n>=0;--n){var o=this.tryEntries[n];if(o.tryLoc<=this.prev&&r.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var a=o;break}}a&&("break"===e||"continue"===e)&&a.tryLoc<=t&&t<=a.finallyLoc&&(a=null);var i=a?a.completion:{};return i.type=e,i.arg=t,a?(this.method="next",this.next=a.finallyLoc,u):this.complete(i)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),u},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.finallyLoc===e)return this.complete(r.completion,r.afterLoc),S(r),u}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.tryLoc===e){var n=r.completion;if("throw"===n.type){var o=n.arg;S(r)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(e,t,r){return this.delegate={iterator:_(e),resultName:t,nextLoc:r},"next"===this.method&&(this.arg=void 0),u}},e}var St=Et().mark(Ft),xt=Et().mark(At),_t=Et().mark(Dt);function kt(e){return function(e){if(Array.isArray(e))return Rt(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(e){if("string"==typeof e)return Rt(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?Rt(e,t):void 0}}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Rt(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}var Lt=lodash,Tt=Lt.forOwn,Ot=Lt.uniqBy;function Ft(e){var t,r,n;return Et().wrap((function(o){for(;;)switch(o.prev=o.next){case 0:if(t=[],r=[],n=(0,a.select)(c).getPostType(e),!1!==wickedFoldersSettings.instances[e].folders){o.next=9;break}return o.next=6,(0,i.apiFetch)({path:"/wicked-folders/v1/folders?post_type=".concat(n)});case 6:t=o.sent,o.next=11;break;case 9:t=kt(wickedFoldersSettings.instances[e].folders),wickedFoldersSettings.instances[e].folders=!1;case 11:return Tt(t,(function(e){return r.push(e)})),o.abrupt("return",gt(e,nt,r));case 13:case"end":return o.stop()}}),St)}function At(e){var t;return Et().wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return t=null,r.prev=1,!1===wickedFoldersSettings.instances[e].state||(t=bt({},wickedFoldersSettings.instances[e].state)),r.abrupt("return",gt(e,ft,t));case 6:r.prev=6,r.t0=r.catch(1),(0,a.dispatch)(c).setError("Error while loading state: ".concat(r.t0.message));case 9:case"end":return r.stop()}}),xt,null,[[1,6]])}function Dt(e,t){var r,n,o;return Et().wrap((function(l){for(;;)switch(l.prev=l.next){case 0:if(r=(0,a.select)(c).getFolders(e),n=(0,a.select)(c).getPostType(e),!r.find((function(e){return e.id==t})).lazy){l.next=9;break}return l.next=6,(0,i.apiFetch)({path:"/wicked-folders/v1/folders/".concat(t,"/children?post_type=").concat(n)});case 6:o=l.sent,r=[].concat(kt(r),kt(o)),r=Ot(r,"id");case 9:return l.abrupt("return",gt(e,nt,r));case 10:case"end":return l.stop()}}),_t)}function Nt(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,o,a=[],_n=!0,i=!1;try{for(r=r.call(e);!(_n=(n=r.next()).done)&&(a.push(n.value),!t||a.length!==t);_n=!0);}catch(e){i=!0,o=e}finally{try{_n||null==r.return||r.return()}finally{if(i)throw o}}return a}}(e,t)||qt(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 It(e){return function(e){if(Array.isArray(e))return Ct(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||qt(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function qt(e,t){if(e){if("string"==typeof e)return Ct(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?Ct(e,t):void 0}}function Ct(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function Pt(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function jt(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?Pt(Object(r),!0).forEach((function(t){Ut(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Pt(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function Ut(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var Bt=lodash,Mt=Bt.has,Gt=Bt.union,Vt=je.ADD_NOTIFICATION,zt=je.DELETE_NOTIFICATION,Ht=je.DISMISS_NOTIFICATION,Wt=je.EXPAND_FOLDER,Yt=je.INIT_INSTANCE,Zt=je.SET_FOLDERS,Xt=je.SET_FOLDER_BEING_EDITED_ID,Qt=je.SET_FOLDER_USING_CONTEXT_MENU_ID,Jt=je.SET_FOLDER_PANEL_CONTEXT,Kt=je.SET_FOLDER_PANEL_ERROR,$t=je.SET_FOLDER_PANEL_MESSAGE,er=je.SET_EXPANDED_FOLDERS,tr=je.SET_IS_FOLDER_DRAGGING,rr=je.SET_IS_FOLDER_PANE_VISIBLE,nr=je.SET_IS_FOLDER_PANEL_BUSY,or=je.SET_IS_NAVIGATING,ar=je.SET_NAVIGATION_ERROR,ir=je.SET_ORGANIZATION_MODE,cr=je.SET_POST_IDS_TO_MOVE,lr=je.SET_SEARCH_TERMS,sr=je.SET_SELECTED_FOLDER_ID,ur=je.SET_SELECTED_FOLDER_IDS,dr=je.SET_SORT_MODE,fr=je.SET_WIDTH,pr=je.TOGGLE_EXPANDED,hr=je.UPDATE_SAVED_SCREEN_STATE,mr=je.WITH_INSTANCE,gr={instances:{},notifications:[]},vr={folders:[],folderPanelContext:!1,isFolderDragging:!1,postType:!1,postIdsToMove:[],organizationMode:f,searchTerms:"",folderBeingEditedId:!1,folderUsingContextMenuId:!1,screenState:{canAddFolders:!0,folder:!1,enableSearch:!1,enableBreadcrumbs:!1,expandedFolders:[],isFolderPaneVisible:!0,showItemCounts:!0,enableAjaxNav:!0,isDirty:!1,isFolderPanelBusy:!1,isNavigating:!1,navigationError:!1,folderPanelMessage:!1,folderPanelError:!1,screenId:!1,includeChildren:!1,treePaneWidth:292,userId:1,selectedFolders:[],sortMode:m,syncUploadFolderDropdown:!0}},yr=function(e,t){switch(t.type){case Wt:return jt(jt({},e),{},{screenState:jt(jt({},e.screenState),{},{expandedFolders:Gt(It(e.screenState.expandedFolders),[t.folderId]),isDirty:!0})});case Xt:return jt(jt({},e),{},{folderBeingEditedId:t.folderId});case Qt:return jt(jt({},e),{},{folderUsingContextMenuId:t.folderId});case ar:return jt(jt({},e),{},{screenState:jt(jt({},e.screenState),{},{navigationError:t.error})});case ir:return jt(jt({},e),{},{organizationMode:t.mode});case cr:return jt(jt({},e),{},{postIdsToMove:t.postIds});case lr:return jt(jt({},e),{},{searchTerms:t.s});case sr:return jt(jt({},e),{},{screenState:jt(jt({},e.screenState),{},{folder:t.folderId,isDirty:!0})});case ur:return jt(jt({},e),{},{screenState:jt(jt({},e.screenState),{},{selectedFolders:t.folderIds})});case dr:return jt(jt({},e),{},{screenState:jt(jt({},e.screenState),{},{sortMode:t.mode,isDirty:!0})});case Zt:return jt(jt({},e),{},{folders:t.folders});case Jt:return jt(jt({},e),{},{folderPanelContext:t.context});case Kt:return jt(jt({},e),{},{screenState:jt(jt({},e.screenState),{},{folderPanelError:t.error})});case $t:return jt(jt({},e),{},{screenState:jt(jt({},e.screenState),{},{folderPanelMessage:t.message})});case er:return jt(jt({},e),{},{screenState:jt(jt({},e.screenState),{},{expandedFolders:t.folderIds,isDirty:!0})});case tr:return jt(jt({},e),{},{isFolderDragging:t.isDragging});case rr:return jt(jt({},e),{},{screenState:jt(jt({},e.screenState),{},{isFolderPaneVisible:t.isFolderPaneVisible,isDirty:!0})});case nr:return jt(jt({},e),{},{screenState:jt(jt({},e.screenState),{},{isFolderPanelBusy:t.isBusy})});case or:return jt(jt({},e),{},{screenState:jt(jt({},e.screenState),{},{isNavigating:t.isNavigating})});case fr:return jt(jt({},e),{},{screenState:jt(jt({},e.screenState),{},{treePaneWidth:t.width,isDirty:!0})});case pr:return-1==e.screenState.expandedFolders.indexOf(t.folderId)?jt(jt({},e),{},{screenState:jt(jt({},e.screenState),{},{expandedFolders:[].concat(It(e.screenState.expandedFolders),[t.folderId]),isDirty:!0})}):jt(jt({},e),{},{screenState:jt(jt({},e.screenState),{},{expandedFolders:It(e.screenState.expandedFolders.filter((function(e){return e!=t.folderId}))),isDirty:!0})});case hr:return jt(jt({},e),{},{screenState:jt(jt({},t.state),{},{isDirty:!1})});default:return e}};var br=(0,o.createContext)(),wr=lodash,Er=wr.forOwn,Sr=wr.isFunction,xr=function(e){var t=(0,o.useContext)(br);return(0,a.useSelect)((function(r){return e.apply(null,[function(e){var n={},o=r(e);return Er(o,(function(e,r){n[r]=function(){return e.apply(null,[t].concat(Array.prototype.slice.call(arguments)))}})),n}])}))},_r=function(e){var r=(0,o.useContext)(br),n={},i=(0,a.useDispatch)(e);return Er(t,(function(e,t){Sr(e)&&(n[t]=function(){return i.instanceAction.apply(null,[r,e].concat(Array.prototype.slice.call(arguments)))})})),n},kr=r(379),Rr=r.n(kr),Lr=r(795),Tr=r.n(Lr),Or=r(569),Fr=r.n(Or),Ar=r(565),Dr=r.n(Ar),Nr=r(216),Ir=r.n(Nr),qr=r(589),Cr=r.n(qr),Pr=r(804),jr={};function Ur(){var e=(0,o.useRef)(),t=xr((function(e){return{width:(0,e(c).getWidth)()}})).width,r=_r(c).setWidth;return(0,o.useEffect)((function(){var t=jQuery,n=t(e.current);n.resizable({resizeHeight:!1,handles:"e",minWidth:150,containment:t("#wpcontent"),resize:function(e,t){r(t.size.width)},stop:function(e,t){r(t.size.width)}}),x()&&n.resizable("disable")})),(0,o.useEffect)((function(){document.documentElement.style.setProperty("--wicked-folders-tree-pane-width",t+"px"),document.documentElement.style.setProperty("--wicked-folders-modal-tree-pane-width",t+"px")}),[t]),React.createElement("div",{className:"wicked-resizer ui-resizable",ref:e})}function Br(e){var t=e.children;return React.createElement("div",{className:"wicked-content"},t)}function Mr(e){return e.hidden,React.createElement("h2",{className:"wicked-title"},(0,Se.__)("Folders","wicked-folders"))}jr.styleTagTransform=Cr(),jr.setAttributes=Dr(),jr.insert=Fr().bind(null,"head"),jr.domAPI=Tr(),jr.insertStyleElement=Ir(),Rr()(Pr.Z,jr),Pr.Z&&Pr.Z.locals&&Pr.Z.locals;const Gr=React.createElement("svg",{width:"7px",height:"13px",viewBox:"0 0 7 13",version:"1.1",xmlns:"http://www.w3.org/2000/svg"},React.createElement("g",{stroke:"none",strokeWidth:"1",fill:"none",fillRule:"evenodd"},React.createElement("g",{transform:"translate(0.312500, 0.691360)",fill:"#2271B1",fillRule:"nonzero"},React.createElement("path",{d:"M0,10.8345095 C0,11.5305375 0.84152021,11.8791237 1.33365313,11.3869145 L6.3595048,6.36106287 C6.66460356,6.05600226 6.66460356,5.5613135 6.3595048,5.25625288 L1.33365313,0.230401217 C0.84152021,-0.26176985 0,0.0867782077 0,0.782806211 L0,10.8345095 Z"})))),Vr=React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 352 512"},React.createElement("path",{d:"M242.72 256l100.07-100.07c12.28-12.28 12.28-32.19 0-44.48l-22.24-22.24c-12.28-12.28-32.19-12.28-44.48 0L176 189.28 75.93 89.21c-12.28-12.28-32.19-12.28-44.48 0L9.21 111.45c-12.28 12.28-12.28 32.19 0 44.48L109.28 256 9.21 356.07c-12.28 12.28-12.28 32.19 0 44.48l22.24 22.24c12.28 12.28 32.2 12.28 44.48 0L176 322.72l100.07 100.07c12.28 12.28 32.2 12.28 44.48 0l22.24-22.24c12.28-12.28 12.28-32.19 0-44.48L242.72 256z"})),zr=React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512"},React.createElement("path",{d:"M173.898 439.404l-166.4-166.4c-9.997-9.997-9.997-26.206 0-36.204l36.203-36.204c9.997-9.998 26.207-9.998 36.204 0L192 312.69 432.095 72.596c9.997-9.997 26.207-9.997 36.204 0l36.203 36.204c9.997 9.997 9.997 26.206 0 36.204l-294.4 294.401c-9.998 9.997-26.207 9.997-36.204-.001z"})),Hr=React.createElement("svg",{width:"28px",height:"30px",viewBox:"0 0 28 30",version:"1.1",xmlns:"http://www.w3.org/2000/svg"},React.createElement("g",{stroke:"none",strokeWidth:"1",fill:"none",fillRule:"evenodd"},React.createElement("g",{transform:"translate(0.092416, 0.224615)",fill:"#2271B1",fillRule:"nonzero"},React.createElement("path",{d:"M27.4661321,18.0234622 L24.9700099,16.582025 C25.221951,15.222699 25.221951,13.8281253 24.9700099,12.4687993 L27.4661321,11.0273622 C27.7532064,10.8633115 27.8821238,10.52348 27.7883969,10.2070517 C27.1379735,8.12114202 26.0305886,6.23441632 24.583315,4.66411901 C24.3606707,4.42385088 23.9973789,4.36525727 23.716141,4.52936515 L21.2200189,5.97074508 C20.1712276,5.06838059 18.9641649,4.37115096 17.6575388,3.91413224 L17.6575388,1.03715165 C17.6575388,0.709050316 17.4290008,0.421918738 17.106736,0.351594961 C14.9563963,-0.128826867 12.7532422,-0.105423755 10.7083595,0.351594961 C10.3860946,0.421918738 10.1575567,0.709050316 10.1575567,1.03715165 L10.1575567,3.91996872 C8.85676709,4.38288113 7.6497616,5.08011076 6.59507662,5.97658155 L4.10484818,4.53520162 C3.8177166,4.37115096 3.46031847,4.42385088 3.23767419,4.66995548 C1.79040057,6.23441632 0.68295845,8.12114202 0.0325922641,10.2129454 C-0.0670283175,10.5293165 0.0677255421,10.869148 0.354857121,11.0332559 L2.85092203,12.4746358 C2.59898095,13.834019 2.59898095,15.2285355 2.85092203,16.5879187 L0.354857121,18.0292986 C0.0677255421,18.1933493 -0.0611918446,18.533238 0.0325922641,18.8496092 C0.68295845,20.935576 1.79040057,22.8222445 3.23767419,24.392599 C3.46031847,24.63281 3.82361029,24.6914036 4.10484818,24.5273529 L6.60091309,23.0859158 C7.6497616,23.9882802 8.85676709,24.6855671 10.1633932,25.1425858 L10.1633932,28.0254029 C10.1633932,28.3535042 10.3919311,28.6406358 10.714196,28.7109023 C12.8645929,29.1913814 15.0676898,29.1679783 17.1126297,28.7109023 C17.4348945,28.6406358 17.6633753,28.3535042 17.6633753,28.0254029 L17.6633753,25.1425858 C18.9641649,24.6796734 20.1712276,23.9824438 21.2259126,23.0859158 L23.7219775,24.5273529 C24.009109,24.6914036 24.3665072,24.6386464 24.5891515,24.392599 C26.0364251,22.8281382 27.1438672,20.9414125 27.7942334,18.8496092 C27.8821238,18.5273443 27.7532064,18.1875128 27.4661321,18.0234622 Z M13.9075477,19.212901 C11.3235924,19.212901 9.22005892,17.1093675 9.22005892,14.5254122 C9.22005892,11.9414569 11.3235924,9.83792336 13.9075477,9.83792336 C16.4915031,9.83792336 18.5950366,11.9414569 18.5950366,14.5254122 C18.5950366,17.1093675 16.4915031,19.212901 13.9075477,19.212901 Z"})))),Wr=React.createElement("svg",{width:"27px",height:"27px",viewBox:"0 0 27 27",version:"1.1",xmlns:"http://www.w3.org/2000/svg"},React.createElement("g",{stroke:"none",strokeWidth:"1",fill:"none",fillRule:"evenodd"},React.createElement("g",{transform:"translate(0.000000, 0.625058)",fill:"#2271B1",fillRule:"nonzero"},React.createElement("path",{d:"M6.32810991,14.7655898 L19.9218275,14.7655898 C20.3085224,14.7655898 20.6249508,14.4491614 20.6249508,14.0624665 L20.6249508,12.1874709 C20.6249508,11.800776 20.3085224,11.4843476 19.9218275,11.4843476 L6.32810991,11.4843476 C5.94141497,11.4843476 5.62498659,11.800776 5.62498659,12.1874709 L5.62498659,14.0624665 C5.62498659,14.4491614 5.94141497,14.7655898 6.32810991,14.7655898 Z M26.2499374,2.81249329 C26.2499374,1.25976262 24.9901748,0 23.4374441,0 L2.81249329,0 C1.25976262,0 0,1.25976262 0,2.81249329 L0,23.4374441 C0,24.9901748 1.25976262,26.2499374 2.81249329,26.2499374 L23.4374441,26.2499374 C24.9901748,26.2499374 26.2499374,24.9901748 26.2499374,23.4374441 L26.2499374,2.81249329 Z M23.4374441,23.0858825 C23.4374441,23.2792299 23.2792299,23.4374441 23.0858825,23.4374441 L3.16405496,23.4374441 C2.97070749,23.4374441 2.81249329,23.2792299 2.81249329,23.0858825 L2.81249329,3.16405496 C2.81249329,2.97070749 2.97070749,2.81249329 3.16405496,2.81249329 L23.0858825,2.81249329 C23.2792299,2.81249329 23.4374441,2.97070749 23.4374441,3.16405496 L23.4374441,23.0858825 Z"})))),Yr=React.createElement("svg",{width:"30px",height:"31px",viewBox:"0 0 30 31",version:"1.1",xmlns:"http://www.w3.org/2000/svg"},React.createElement("g",{stroke:"none",strokeWidth:"1",fill:"none",fillRule:"evenodd"},React.createElement("g",{transform:"translate(0.001406, 0.754469)",fill:"#2271B1",fillRule:"nonzero"},React.createElement("path",{d:"M29.1723759,8.32172317 C30.2739244,7.22017474 30.2739244,5.43896332 29.1723759,4.34325136 L25.6508656,0.821741052 C24.5493172,-0.273913684 22.7680485,-0.273913684 21.6723938,0.821741052 L18.971194,3.52294082 C18.6957926,3.79834223 18.6957926,4.24363078 18.971194,4.51903219 L25.4750848,11.0229229 C25.7504862,11.2983244 26.1957747,11.2983244 26.4711762,11.0229229 L29.1723759,8.32172317 Z M16.65091,5.8432249 L1.26419356,21.2299413 L0.0220547985,28.3490649 C-0.14788956,29.3099658 0.689987624,30.1420065 1.65094572,29.9779559 L8.77006937,28.7299234 L24.1567285,13.343207 C24.43213,13.0678056 24.43213,12.6225171 24.1567285,12.3471156 L17.6528378,5.8432249 C17.3715999,5.56782349 16.9263114,5.56782349 16.65091,5.8432249 Z M5.15483217,24.8392848 L7.96732547,24.8392848 L7.96732547,26.9662214 L4.1880376,27.6283178 L2.36579921,25.8060794 L3.02789556,22.0267915 L5.15483217,22.0267915 L5.15483217,24.8392848 Z"})))),Zr=React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 448 512"},React.createElement("path",{d:"M352 240v32c0 6.6-5.4 12-12 12h-88v88c0 6.6-5.4 12-12 12h-32c-6.6 0-12-5.4-12-12v-88h-88c-6.6 0-12-5.4-12-12v-32c0-6.6 5.4-12 12-12h88v-88c0-6.6 5.4-12 12-12h32c6.6 0 12 5.4 12 12v88h88c6.6 0 12 5.4 12 12zm96-160v352c0 26.5-21.5 48-48 48H48c-26.5 0-48-21.5-48-48V80c0-26.5 21.5-48 48-48h352c26.5 0 48 21.5 48 48zm-48 346V86c0-3.3-2.7-6-6-6H54c-3.3 0-6 2.7-6 6v340c0 3.3 2.7 6 6 6h340c3.3 0 6-2.7 6-6z",fill:"#2271B1"})),Xr=React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512"},React.createElement("path",{d:"M464 128H272l-64-64H48C21.49 64 0 85.49 0 112v288c0 26.51 21.49 48 48 48h416c26.51 0 48-21.49 48-48V176c0-26.51-21.49-48-48-48z",fill:"#2271B1"})),Qr=React.createElement("svg",{width:"34px",height:"23px",viewBox:"0 0 34 23",version:"1.1",xmlns:"http://www.w3.org/2000/svg"},React.createElement("g",{stroke:"none",strokeWidth:"1",fill:"none",fillRule:"evenodd"},React.createElement("g",{transform:"translate(0.000000, 0.500054)",fill:"#2271B1",fillRule:"nonzero"},React.createElement("path",{d:"M33.5562287,13.3647791 C34.1031406,12.4272813 33.4269108,11.2499732 32.3415557,11.2499732 L8.90622877,11.2499732 C7.71724768,11.2499732 6.2661403,12.0834444 5.66704353,13.1104347 L1.42346996,20.3851405 C0.876615342,21.3226382 1.55284511,22.4999464 2.63820019,22.4999464 L26.0735272,22.4999464 L26.0735844,22.4999464 C27.2625082,22.4999464 28.7135584,21.6664751 29.312598,20.6394848 L33.5562287,13.3647791 Z M8.90622877,9.37497765 L28.1249329,9.37497765 L28.1249329,6.56248435 C28.1249329,5.00918148 26.8657425,3.74999106 25.3124397,3.74999106 L15.937462,3.74999106 L12.1874709,0 L2.81249329,0 C1.25919042,0 0,1.25919042 0,2.81249329 L0,19.1042063 L4.04747952,12.16567 C5.05158174,10.444311 6.91341659,9.37497765 8.90622877,9.37497765 Z"})))),Jr=React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 448 512"},React.createElement("path",{d:"M416 208H272V64c0-17.67-14.33-32-32-32h-32c-17.67 0-32 14.33-32 32v144H32c-17.67 0-32 14.33-32 32v32c0 17.67 14.33 32 32 32h144v144c0 17.67 14.33 32 32 32h32c17.67 0 32-14.33 32-32V304h144c17.67 0 32-14.33 32-32v-32c0-17.67-14.33-32-32-32z",fill:"#0073aa"})),Kr=React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 448 512"},React.createElement("path",{fill:"#2271B1",d:"M32 464a48 48 0 0 0 48 48h288a48 48 0 0 0 48-48V128H32zm272-256a16 16 0 0 1 32 0v224a16 16 0 0 1-32 0zm-96 0a16 16 0 0 1 32 0v224a16 16 0 0 1-32 0zm-96 0a16 16 0 0 1 32 0v224a16 16 0 0 1-32 0zM432 32H312l-9.4-18.7A24 24 0 0 0 281.1 0H166.8a23.72 23.72 0 0 0-21.4 13.3L136 32H16A16 16 0 0 0 0 48v32a16 16 0 0 0 16 16h416a16 16 0 0 0 16-16V48a16 16 0 0 0-16-16z"})),$r=React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512"},React.createElement("path",{fill:"#2271B1",d:"M224 96l16-32 32-16-32-16-16-32-16 32-32 16 32 16 16 32zM80 160l26.66-53.33L160 80l-53.34-26.67L80 0 53.34 53.33 0 80l53.34 26.67L80 160zm352 128l-26.66 53.33L352 368l53.34 26.67L432 448l26.66-53.33L512 368l-53.34-26.67L432 288zm70.62-193.77L417.77 9.38C411.53 3.12 403.34 0 395.15 0c-8.19 0-16.38 3.12-22.63 9.38L9.38 372.52c-12.5 12.5-12.5 32.76 0 45.25l84.85 84.85c6.25 6.25 14.44 9.37 22.62 9.37 8.19 0 16.38-3.12 22.63-9.37l363.14-363.15c12.5-12.48 12.5-32.75 0-45.24zM359.45 203.46l-50.91-50.91 86.6-86.6 50.91 50.91-86.6 86.6z"}));function en(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}const tn=function(){var e,t,r=(e=(0,o.useState)(!1),t=2,function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,o,a=[],_n=!0,i=!1;try{for(r=r.call(e);!(_n=(n=r.next()).done)&&(a.push(n.value),!t||a.length!==t);_n=!0);}catch(e){i=!0,o=e}finally{try{_n||null==r.return||r.return()}finally{if(i)throw o}}return a}}(e,t)||function(e,t){if(e){if("string"==typeof e)return en(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?en(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.")}()),n=r[0],a=r[1],i=_r(c),d=i.setFolderPanelContext,p=i.setExpandedFolders,m=i.setFolderBeingEditedId,g=i.setOrganizationMode,v=i.setSelectedFolderIds,y=xr((function(e){var t=e(c),r=t.getSelectedFolder,n=t.canAddFolders,o=t.getFolders,a=t.getOrganizationMode,i=t.getSelectedFolderIds;return{folder:r(),folders:o(),canAddFolders:n(),organizationMode:a(),selectedFolderIds:i()}})),b=y.folder,w=y.folders,E=y.canAddFolders,S=y.organizationMode,x=y.selectedFolderIds;return React.createElement("div",{className:"wicked-toolbar-container"},React.createElement("div",{className:"wicked-folder-pane-toolbar"},h==S?React.createElement("div",{className:"wicked-folder-pane-toolbar-bulk-buttons"},React.createElement("button",{type:"button",className:"button action",disabled:!x.length,onClick:function(){return d(s)}},(0,Se.__)("Delete Selected","wicked-folders")),React.createElement("button",{type:"button",className:"button action",onClick:function(){g(f),v([])}},(0,Se.__)("Cancel","wicked-folders"))):React.createElement("div",{className:"wicked-folder-pane-toolbar-buttons"},React.createElement("div",null,React.createElement("button",{type:"button",title:(0,Se.__)("Add New Folder","wicked-folders"),disabled:!E,onClick:function(){return d("add")}},Jr,React.createElement("span",{className:"screen-reader-text"},(0,Se.__)("Add New Folder","wicked-folders")))),React.createElement("div",null,React.createElement("button",{type:"button",title:(0,Se.__)("Edit Folder","wicked-folders"),disabled:!b||!b.editable,onClick:function(){d(l),m(b.id)}},Yr,React.createElement("span",{className:"screen-reader-text"},(0,Se.__)("Edit Folder","wicked-folders")))),React.createElement("div",null,React.createElement("button",{type:"button",title:(0,Se.__)("Delete Folder","wicked-folders"),disabled:!b||!b.deletable,onClick:function(){return d(s)}},Kr,React.createElement("span",{className:"screen-reader-text"},(0,Se.__)("Delete Folder","wicked-folders")))),React.createElement("div",null,React.createElement("button",{type:"button",title:(0,Se.__)(n?"Collapse All":"Expand All","wicked-folders"),onClick:function(){if(n)p(["0"]),a(!1);else{var e=w.map((function(e){return e.id}));p(e),a(!0)}}},n?Wr:Zr,React.createElement("span",{className:"screen-reader-text"},(0,Se.__)(n?"Collapse All":"Expand All","wicked-folders")))),React.createElement("div",null,React.createElement("button",{type:"button",title:(0,Se.__)("Settings","wicked-folders"),onClick:function(){return d(u)}},Hr,React.createElement("span",{className:"screen-reader-text"},(0,Se.__)("Settings","wicked-folders")))))))};var rn=r(703),nn=r.n(rn);const on=window.wp.apiFetch;var an=r.n(on);const cn=window.wp.hooks;window.wp.components;var ln=r(805);function sn(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}var un=lodash.find;const dn=function(e){var t=e.folder,r=Xr,n=(0,o.useContext)(br),i=(0,o.useRef)(),l=(0,a.useDispatch)(c),s=l.addNotification,u=l.moveFolder,d=l.movePostsToFolder,m=l.unassignFolders,g=_r(c),v=g.toggleExpanded,y=g.setSelectedFolderId,b=g.setSelectedFolderIds,w=g.expandFolder,E=(g.setIsFolderDragging,g.setFolderUsingContextMenuId,xr((function(e){return{allFolders:e(c).getFolders(),organizationMode:e(c).getOrganizationMode(),selectedFolder:e(c).getSelectedFolder(),selectedFolderIds:e(c).getSelectedFolderIds(),postIdsToMove:e(c).getPostIdsToMove(),postType:e(c).getPostType(),isExpanded:e(c).isFolderExpanded(t.id),showItemCounts:e(c).showItemCounts(),folderUsingContextMenuId:e(c).getFolderUsingContextMenuId()}}))),S=E.allFolders,x=E.organizationMode,_=E.selectedFolder,k=E.selectedFolderIds,R=E.postIdsToMove,L=E.postType,T=E.isExpanded,D=E.showItemCounts,N=(E.folderUsingContextMenuId,t.id,function(){y(t.id),w(t.id)});return(0,o.useEffect)((function(){var e=jQuery,r=e(i.current);return p!=x&&h!=x||!r.data("ui-droppable")||r.droppable("destroy"),f==x&&r.droppable({hoverClass:"wicked-drop-hover",tolerance:"pointer",accept:function(t){var r=!1,n=e(this).parents("li").eq(0).attr("data-folder-id"),o=un(S,{id:n}),a=t.attr("data-folder-id"),i=un(S,{id:a}),c=_;return(i||R)&&(r=!0),t.hasClass("wicked-folder-leaf")?(n==i.parent&&(r=!1),"unassigned_dynamic_folder"==n&&(r=!1),f!=x&&(r=!1),0!=n&&(o.editable&&i.editable||(r=!1))):(n==c.id&&(r=!1),0==n&&(r=!1),o.assignable||(r=!1)),r},drop:function(r,o){var a=e(this).parents("li").eq(0).attr("data-folder-id"),i=un(S,{id:a}),c=_.id,l=_.assignable,f=r.shiftKey||!l,p="wf_"+L+"_folders",h=(f?(0,Se.__)("Copied","wicked-folders"):(0,Se.__)("Moved","wicked-folders"))+" "+(1==R.length?"item":R.length+" items")+" "+(0,Se.__)("to folder.","wicked-folders");if(R.length>0)if(A(i)&&(a=i.termId),A(_.type)&&(t.termId,function(e){throw new TypeError('"fromFolderId" is read-only')}()),0==a||"unassigned_dynamic_folder"==a){if(!confirm((0,Se.__)("This will unassign the selected item(s) from all folders. Are you sure you want to continue?","wicked-folders")))return!1;F(_)||A(_)?O(R):R.forEach((function(t){e('.wp-list-table [id="post-'+t+'"] td.taxonomy-'+p).html('<span aria-hidden="true">—</span><span class="screen-reader-text">No categories</span>')})),s({message:(0,Se.sprintf)((0,Se._n)("Unassigned %d item","Unassigned %d items",R.length,"wicked-folders"),R.length)}),m(n,R),(0,cn.doAction)("wickedFolders.unassignFolders",R,c)}else"0"!=c||r.shiftKey?"unassigned_dynamic_folder"==c?O(R):f||O(R):O(R),d(n,R,a,c,f),s({message:h}),(0,cn.doAction)("wickedFolders.movePostsToFolder",R,a,c,f);else{var g=e(o.draggable).attr("data-folder-id");u(n,g,a)}}}),function(){r.data("ui-droppable")}}),[S,x]),T&&(r=Qr),"dynamic_root"==t.id&&(r=$r),React.createElement("div",{className:"wicked-folder-wrapper"},React.createElement("button",{className:"wicked-toggle",type:"button",onClick:function(){return v(t.id)}},React.createElement("span",{className:"screen-reader-text"},T?(0,Se.__)("Collapse","wicked-folders"):(0,Se.__)("Expand","wicked-folders")),Gr),React.createElement("div",{className:"wicked-folder",onClick:N,ref:i},h==x?React.createElement("span",{className:"wicked-select"},React.createElement("input",{type:"checkbox","aria-label":(0,ln.decode)(t.name),disabled:!t.deletable,onClick:function(e){return e.stopPropagation()},onChange:function(e){return function(e,t){e.stopPropagation();var r,n=function(e){if(Array.isArray(e))return sn(e)}(r=k)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(r)||function(e,t){if(e){if("string"==typeof e)return sn(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?sn(e,t):void 0}}(r)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}();e.target.checked?n.push(t):n.splice(n.indexOf(t),1),b(n)}(e,t.id)},checked:k.includes(t.id)})):React.createElement("span",{className:"wicked-icon"},r),React.createElement("button",{className:"wicked-folder-name",type:"button",onClick:N},(0,ln.decode)(t.name)),D&&t.showItemCount&&React.createElement("span",{className:"wicked-count"},t.itemCount)))},fn=function(e){var t=e.folder,r=(0,o.useRef)(),n=_r(c).setIsFolderDragging,a=xr((function(e){var r=e(c),n=r.isFolderExpanded,o=r.folderHasChildren,a=r.isFolderSelected,i=r.isSearch,l=r.folderMatchesSearchTerms,s=r.getFolders,u=r.getOrganizationMode;return{isSearch:i(),isExpanded:n(t.id),isSelected:a(t.id),hasChildren:o(t.id),isMatch:l(t.id),allFolders:s(),organizationMode:u()}})),i=a.allFolders,l=a.organizationMode,s=a.isExpanded,u=a.hasChildren,d=a.isSelected,h=a.isSearch,m=a.isMatch,g=nn()("wicked-tree-leaf","wicked-folder-leaf",{"wicked-expanded":s||h},{"has-children":u},{"wicked-selected":d},{"wicked-movable":t.movable},{editable:t.editable},{assignable:t.assignable},{"wicked-no-match":h&&!m});return(0,o.useEffect)((function(){var e=jQuery(r.current);return p==l&&e.data("ui-draggable")&&e.draggable("destroy"),t.movable&&f==l&&(e.draggable({revert:"invalid",helper:"clone",start:function(e,t){n(!0)},stop:function(e,t){n(!1)}}),x()&&e.draggable("option","cursorAt",{top:0,right:40})),function(){e.data("ui-draggable")}}),[i,l]),React.createElement("li",{className:g,"data-folder-id":t.id,ref:r},React.createElement(dn,{folder:t}),s&&React.createElement(vn,{parent:t.id}))};function pn(e){return pn="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},pn(e)}function hn(){hn=function(){return e};var e={},t=Object.prototype,r=t.hasOwnProperty,n="function"==typeof Symbol?Symbol:{},o=n.iterator||"@@iterator",a=n.asyncIterator||"@@asyncIterator",i=n.toStringTag||"@@toStringTag";function c(e,t,r){return Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{c({},"")}catch(e){c=function(e,t,r){return e[t]=r}}function l(e,t,r,n){var o=t&&t.prototype instanceof d?t:d,a=Object.create(o.prototype),i=new x(n||[]);return a._invoke=function(e,t,r){var n="suspendedStart";return function(o,a){if("executing"===n)throw new Error("Generator is already running");if("completed"===n){if("throw"===o)throw a;return{value:void 0,done:!0}}for(r.method=o,r.arg=a;;){var i=r.delegate;if(i){var c=w(i,r);if(c){if(c===u)continue;return c}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if("suspendedStart"===n)throw n="completed",r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);n="executing";var l=s(e,t,r);if("normal"===l.type){if(n=r.done?"completed":"suspendedYield",l.arg===u)continue;return{value:l.arg,done:r.done}}"throw"===l.type&&(n="completed",r.method="throw",r.arg=l.arg)}}}(e,r,i),a}function s(e,t,r){try{return{type:"normal",arg:e.call(t,r)}}catch(e){return{type:"throw",arg:e}}}e.wrap=l;var u={};function d(){}function f(){}function p(){}var h={};c(h,o,(function(){return this}));var m=Object.getPrototypeOf,g=m&&m(m(_([])));g&&g!==t&&r.call(g,o)&&(h=g);var v=p.prototype=d.prototype=Object.create(h);function y(e){["next","throw","return"].forEach((function(t){c(e,t,(function(e){return this._invoke(t,e)}))}))}function b(e,t){function n(o,a,i,c){var l=s(e[o],e,a);if("throw"!==l.type){var u=l.arg,d=u.value;return d&&"object"==pn(d)&&r.call(d,"__await")?t.resolve(d.__await).then((function(e){n("next",e,i,c)}),(function(e){n("throw",e,i,c)})):t.resolve(d).then((function(e){u.value=e,i(u)}),(function(e){return n("throw",e,i,c)}))}c(l.arg)}var o;this._invoke=function(e,r){function a(){return new t((function(t,o){n(e,r,t,o)}))}return o=o?o.then(a,a):a()}}function w(e,t){var r=e.iterator[t.method];if(void 0===r){if(t.delegate=null,"throw"===t.method){if(e.iterator.return&&(t.method="return",t.arg=void 0,w(e,t),"throw"===t.method))return u;t.method="throw",t.arg=new TypeError("The iterator does not provide a 'throw' method")}return u}var n=s(r,e.iterator,t.arg);if("throw"===n.type)return t.method="throw",t.arg=n.arg,t.delegate=null,u;var o=n.arg;return o?o.done?(t[e.resultName]=o.value,t.next=e.nextLoc,"return"!==t.method&&(t.method="next",t.arg=void 0),t.delegate=null,u):o:(t.method="throw",t.arg=new TypeError("iterator result is not an object"),t.delegate=null,u)}function E(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function S(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function x(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(E,this),this.reset(!0)}function _(e){if(e){var t=e[o];if(t)return t.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var n=-1,a=function t(){for(;++n<e.length;)if(r.call(e,n))return t.value=e[n],t.done=!1,t;return t.value=void 0,t.done=!0,t};return a.next=a}}return{next:k}}function k(){return{value:void 0,done:!0}}return f.prototype=p,c(v,"constructor",p),c(p,"constructor",f),f.displayName=c(p,i,"GeneratorFunction"),e.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===f||"GeneratorFunction"===(t.displayName||t.name))},e.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,p):(e.__proto__=p,c(e,i,"GeneratorFunction")),e.prototype=Object.create(v),e},e.awrap=function(e){return{__await:e}},y(b.prototype),c(b.prototype,a,(function(){return this})),e.AsyncIterator=b,e.async=function(t,r,n,o,a){void 0===a&&(a=Promise);var i=new b(l(t,r,n,o),a);return e.isGeneratorFunction(r)?i:i.next().then((function(e){return e.done?e.value:i.next()}))},y(v),c(v,i,"Generator"),c(v,o,(function(){return this})),c(v,"toString",(function(){return"[object Generator]"})),e.keys=function(e){var t=[];for(var r in e)t.push(r);return t.reverse(),function r(){for(;t.length;){var n=t.pop();if(n in e)return r.value=n,r.done=!1,r}return r.done=!0,r}},e.values=_,x.prototype={constructor:x,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEach(S),!e)for(var t in this)"t"===t.charAt(0)&&r.call(this,t)&&!isNaN(+t.slice(1))&&(this[t]=void 0)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var t=this;function n(r,n){return i.type="throw",i.arg=e,t.next=r,n&&(t.method="next",t.arg=void 0),!!n}for(var o=this.tryEntries.length-1;o>=0;--o){var a=this.tryEntries[o],i=a.completion;if("root"===a.tryLoc)return n("end");if(a.tryLoc<=this.prev){var c=r.call(a,"catchLoc"),l=r.call(a,"finallyLoc");if(c&&l){if(this.prev<a.catchLoc)return n(a.catchLoc,!0);if(this.prev<a.finallyLoc)return n(a.finallyLoc)}else if(c){if(this.prev<a.catchLoc)return n(a.catchLoc,!0)}else{if(!l)throw new Error("try statement without catch or finally");if(this.prev<a.finallyLoc)return n(a.finallyLoc)}}}},abrupt:function(e,t){for(var n=this.tryEntries.length-1;n>=0;--n){var o=this.tryEntries[n];if(o.tryLoc<=this.prev&&r.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var a=o;break}}a&&("break"===e||"continue"===e)&&a.tryLoc<=t&&t<=a.finallyLoc&&(a=null);var i=a?a.completion:{};return i.type=e,i.arg=t,a?(this.method="next",this.next=a.finallyLoc,u):this.complete(i)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),u},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.finallyLoc===e)return this.complete(r.completion,r.afterLoc),S(r),u}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.tryLoc===e){var n=r.completion;if("throw"===n.type){var o=n.arg;S(r)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(e,t,r){return this.delegate={iterator:_(e),resultName:t,nextLoc:r},"next"===this.method&&(this.arg=void 0),u}},e}function mn(e,t,r,n,o,a,i){try{var c=e[a](i),l=c.value}catch(e){return void r(e)}c.done?t(l):Promise.resolve(l).then(n,o)}var gn=lodash.debounce;const vn=function(e){var t=e.parent,r=void 0===t?"root":t,n=(0,o.useRef)(null),a=_r(c),i=a.setFolders,l=a.setSortMode,s=xr((function(e){var t=e(c).getSelectedFolderId();return{allFolders:e(c).getFolders(),organizationMode:e(c).getOrganizationMode(),selectedFolder:e(c).getSelectedFolder(),postIdsToMove:e(c).getPostIdsToMove(),postType:e(c).getPostType(),searchTerms:e(c).getSearchTerms(),isFolderDragging:e(c).isFolderDragging(),childFolders:e(c).getChildFolders(t)}})),u=(s.childFolders,s.allFolders),h=s.organizationMode,m=(s.selectedFolder,s.postIdsToMove),v=(s.postType,s.searchTerms,s.isFolderDragging);(0,o.useEffect)((function(){var e=jQuery,t=e(n.current);f==h&&t.data("ui-sortable")&&t.sortable("destroy"),"root"!=r&&p==h&&t.sortable({items:"> li",helper:"clone",stop:function(t,r){var n=r.item.parent().find("> li"),o=[],a=[];n.each((function(t,r){var n=e(r).attr("data-folder-id");o.push(n),a=u.map((function(e){return e.id==n&&(e.order=t),e}))})),e(r.sender).sortable("cancel"),y(o),l(g),i(a)}})}));var y=function(){var e,t=(e=hn().mark((function e(t){return hn().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,an()({path:"".concat(d,"folders/sort"),method:"PUT",data:{folder_ids:t}});case 2:e.sent;case 3:case"end":return e.stop()}}),e)})),function(){var t=this,r=arguments;return new Promise((function(n,o){var a=e.apply(t,r);function i(e){mn(a,n,o,i,c,"next",e)}function c(e){mn(a,n,o,i,c,"throw",e)}i(void 0)}))});return function(_x){return t.apply(this,arguments)}}(),b=((0,o.useCallback)(gn((function(e){return y(e)}),500),[]),xr((function(e){return{folders:e(c).getFoldersFilteredBySearchTerms().filter((function(e){return e.parent==r}))}}))).folders,w=nn()({"wicked-tree":"root"==r},{"highlight-editable":v},{"highlight-assignable":m.length>0});return React.createElement("ul",{className:w,ref:n},b.map((function(e){return React.createElement(fn,{folder:e,key:e.id})})))},yn=function(){return React.createElement("div",{className:"wicked-folder-tree"},React.createElement(vn,{parent:"root"}))};var bn=function e(t){var r=t.folders,n=t.depth,a=void 0===n?0:n,i=t.parent,c=void 0===i?0:i,l=r.filter((function(e){return e.parent==c}));return React.createElement(React.Fragment,null,l.map((function(t){return React.createElement(o.Fragment,{key:t.id},React.createElement("option",{value:t.id},function(e,t){var r=" ",n=0;if(t<1)return"";for(n=0;n<t-1;n++)r+=" ";return r}(0,a),(0,ln.decode)(t.name)),React.createElement(e,{folders:r,parent:t.id,depth:a+1}))})))};const wn=function(e){var t=e.folders,r=e.parent,n=void 0===r?"0":r,o=e.selected,a=void 0!==o&&o,i=e.label,c=void 0!==i&&i,l=e.onChange,s=c||(0,Se.__)("Parent Folder","wicked-folders");return React.createElement(React.Fragment,null,React.createElement("label",{htmlFor:"wicked-folder-select",className:"screen-reader-text"},s,":"),React.createElement("select",{id:"wicked-folder-select",onChange:function(e){return l(e.target.value)},value:a},React.createElement("option",{value:"0"},s),React.createElement(bn,{folders:t,parent:n})))};function En(e){return En="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},En(e)}function Sn(){Sn=function(){return e};var e={},t=Object.prototype,r=t.hasOwnProperty,n="function"==typeof Symbol?Symbol:{},o=n.iterator||"@@iterator",a=n.asyncIterator||"@@asyncIterator",i=n.toStringTag||"@@toStringTag";function c(e,t,r){return Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{c({},"")}catch(e){c=function(e,t,r){return e[t]=r}}function l(e,t,r,n){var o=t&&t.prototype instanceof d?t:d,a=Object.create(o.prototype),i=new x(n||[]);return a._invoke=function(e,t,r){var n="suspendedStart";return function(o,a){if("executing"===n)throw new Error("Generator is already running");if("completed"===n){if("throw"===o)throw a;return{value:void 0,done:!0}}for(r.method=o,r.arg=a;;){var i=r.delegate;if(i){var c=w(i,r);if(c){if(c===u)continue;return c}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if("suspendedStart"===n)throw n="completed",r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);n="executing";var l=s(e,t,r);if("normal"===l.type){if(n=r.done?"completed":"suspendedYield",l.arg===u)continue;return{value:l.arg,done:r.done}}"throw"===l.type&&(n="completed",r.method="throw",r.arg=l.arg)}}}(e,r,i),a}function s(e,t,r){try{return{type:"normal",arg:e.call(t,r)}}catch(e){return{type:"throw",arg:e}}}e.wrap=l;var u={};function d(){}function f(){}function p(){}var h={};c(h,o,(function(){return this}));var m=Object.getPrototypeOf,g=m&&m(m(_([])));g&&g!==t&&r.call(g,o)&&(h=g);var v=p.prototype=d.prototype=Object.create(h);function y(e){["next","throw","return"].forEach((function(t){c(e,t,(function(e){return this._invoke(t,e)}))}))}function b(e,t){function n(o,a,i,c){var l=s(e[o],e,a);if("throw"!==l.type){var u=l.arg,d=u.value;return d&&"object"==En(d)&&r.call(d,"__await")?t.resolve(d.__await).then((function(e){n("next",e,i,c)}),(function(e){n("throw",e,i,c)})):t.resolve(d).then((function(e){u.value=e,i(u)}),(function(e){return n("throw",e,i,c)}))}c(l.arg)}var o;this._invoke=function(e,r){function a(){return new t((function(t,o){n(e,r,t,o)}))}return o=o?o.then(a,a):a()}}function w(e,t){var r=e.iterator[t.method];if(void 0===r){if(t.delegate=null,"throw"===t.method){if(e.iterator.return&&(t.method="return",t.arg=void 0,w(e,t),"throw"===t.method))return u;t.method="throw",t.arg=new TypeError("The iterator does not provide a 'throw' method")}return u}var n=s(r,e.iterator,t.arg);if("throw"===n.type)return t.method="throw",t.arg=n.arg,t.delegate=null,u;var o=n.arg;return o?o.done?(t[e.resultName]=o.value,t.next=e.nextLoc,"return"!==t.method&&(t.method="next",t.arg=void 0),t.delegate=null,u):o:(t.method="throw",t.arg=new TypeError("iterator result is not an object"),t.delegate=null,u)}function E(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function S(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function x(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(E,this),this.reset(!0)}function _(e){if(e){var t=e[o];if(t)return t.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var n=-1,a=function t(){for(;++n<e.length;)if(r.call(e,n))return t.value=e[n],t.done=!1,t;return t.value=void 0,t.done=!0,t};return a.next=a}}return{next:k}}function k(){return{value:void 0,done:!0}}return f.prototype=p,c(v,"constructor",p),c(p,"constructor",f),f.displayName=c(p,i,"GeneratorFunction"),e.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===f||"GeneratorFunction"===(t.displayName||t.name))},e.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,p):(e.__proto__=p,c(e,i,"GeneratorFunction")),e.prototype=Object.create(v),e},e.awrap=function(e){return{__await:e}},y(b.prototype),c(b.prototype,a,(function(){return this})),e.AsyncIterator=b,e.async=function(t,r,n,o,a){void 0===a&&(a=Promise);var i=new b(l(t,r,n,o),a);return e.isGeneratorFunction(r)?i:i.next().then((function(e){return e.done?e.value:i.next()}))},y(v),c(v,i,"Generator"),c(v,o,(function(){return this})),c(v,"toString",(function(){return"[object Generator]"})),e.keys=function(e){var t=[];for(var r in e)t.push(r);return t.reverse(),function r(){for(;t.length;){var n=t.pop();if(n in e)return r.value=n,r.done=!1,r}return r.done=!0,r}},e.values=_,x.prototype={constructor:x,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEach(S),!e)for(var t in this)"t"===t.charAt(0)&&r.call(this,t)&&!isNaN(+t.slice(1))&&(this[t]=void 0)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var t=this;function n(r,n){return i.type="throw",i.arg=e,t.next=r,n&&(t.method="next",t.arg=void 0),!!n}for(var o=this.tryEntries.length-1;o>=0;--o){var a=this.tryEntries[o],i=a.completion;if("root"===a.tryLoc)return n("end");if(a.tryLoc<=this.prev){var c=r.call(a,"catchLoc"),l=r.call(a,"finallyLoc");if(c&&l){if(this.prev<a.catchLoc)return n(a.catchLoc,!0);if(this.prev<a.finallyLoc)return n(a.finallyLoc)}else if(c){if(this.prev<a.catchLoc)return n(a.catchLoc,!0)}else{if(!l)throw new Error("try statement without catch or finally");if(this.prev<a.finallyLoc)return n(a.finallyLoc)}}}},abrupt:function(e,t){for(var n=this.tryEntries.length-1;n>=0;--n){var o=this.tryEntries[n];if(o.tryLoc<=this.prev&&r.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var a=o;break}}a&&("break"===e||"continue"===e)&&a.tryLoc<=t&&t<=a.finallyLoc&&(a=null);var i=a?a.completion:{};return i.type=e,i.arg=t,a?(this.method="next",this.next=a.finallyLoc,u):this.complete(i)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),u},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.finallyLoc===e)return this.complete(r.completion,r.afterLoc),S(r),u}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.tryLoc===e){var n=r.completion;if("throw"===n.type){var o=n.arg;S(r)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(e,t,r){return this.delegate={iterator:_(e),resultName:t,nextLoc:r},"next"===this.method&&(this.arg=void 0),u}},e}function xn(e,t,r,n,o,a,i){try{var c=e[a](i),l=c.value}catch(e){return void r(e)}c.done?t(l):Promise.resolve(l).then(n,o)}function kn(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,o,a=[],_n=!0,i=!1;try{for(r=r.call(e);!(_n=(n=r.next()).done)&&(a.push(n.value),!t||a.length!==t);_n=!0);}catch(e){i=!0,o=e}finally{try{_n||null==r.return||r.return()}finally{if(i)throw o}}return a}}(e,t)||Rn(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 Rn(e,t){if(e){if("string"==typeof e)return Ln(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?Ln(e,t):void 0}}function Ln(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}const Tn=function(){var e=(0,o.useRef)(),t=kn((0,o.useState)(""),2),r=t[0],n=t[1],i=(0,a.useDispatch)(c).addNotification,l=_r(c),s=l.setFolderPanelContext,u=(l.setFolderPanelMessage,l.setFolderPanelError),f=l.setIsFolderPanelBusy,p=l.setFolders,h=xr((function(e){var t=e(c),r=t.getFolders,n=t.getPostType,o=t.isFolderPanelBusy,a=t.getFolderPanelError,i=t.getUserId,l=t.getSelectedFolderId,s=t.getSelectedFolder;return{folders:r(),postType:n(),isBusy:o(),error:a(),userId:i(),folderId:l(),folder:s()}})),m=h.folders,g=h.postType,v=h.isBusy,y=h.error,b=h.userId,w=h.folderId,E=h.folder,S=kn((0,o.useState)(F(E)&&E.editable?w:"0"),2),x=S[0],_=S[1],k=m?m.filter((function(e){return F(e)&&e.editable})):[];(0,o.useEffect)((function(){e.current.focus()}),[]);var R=function(){var t,o=(t=Sn().mark((function t(){var o;return Sn().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return f(!0),u(!1),t.prev=2,t.next=5,an()({path:"".concat(d,"folders"),method:"POST",data:{name:r,parent:x,postType:g,ownerId:b}});case 5:o=t.sent,n(""),p([].concat(function(e){if(Array.isArray(e))return Ln(e)}(a=m)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(a)||Rn(a)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}(),[o])),f(!1),i({message:(0,Se.__)("Successfully added new folder.","wicked-folders")}),e.current.focus(),t.next=17;break;case 13:t.prev=13,t.t0=t.catch(2),u(t.t0.message),f(!1);case 17:case"end":return t.stop()}var a}),t,null,[[2,13]])})),function(){var e=this,r=arguments;return new Promise((function(n,o){var a=t.apply(e,r);function i(e){xn(a,n,o,i,c,"next",e)}function c(e){xn(a,n,o,i,c,"throw",e)}i(void 0)}))});return function(){return o.apply(this,arguments)}}(),L=function(){s(!1)};return React.createElement(React.Fragment,null,React.createElement("div",{className:"wicked-header"},React.createElement("h2",null,(0,Se.__)("Add New Folder","wicked-folders")),React.createElement("button",{type:"button",className:"wicked-close",onClick:L},React.createElement("span",{className:"screen-reader-text"},(0,Se.__)("Close","wicked-folders")),React.createElement("span",{className:"dashicons dashicons-no"}))),React.createElement("div",null,y&&React.createElement("div",{className:"wicked-messages wicked-errors"},y),React.createElement("div",{className:"wicked-folder-name"},React.createElement("label",{htmlFor:"wicked-folder-name",className:"screen-reader-text"},(0,Se.__)("Folder name","wicked-folders"),":"),React.createElement("input",{ref:e,id:"wicked-folder-name",type:"text",name:"wicked_folder_name",placeholder:(0,Se.__)("Folder name","wicked-folders"),value:r,onChange:function(e){return n(e.target.value)},onKeyUp:function(e){27==e.which&&L()},onKeyDown:function(e){13==e.which&&r.length>0&&R()}})),React.createElement("div",{className:"wicked-folder-parent"},React.createElement(wn,{folders:k,onChange:function(e){return _(e)},selected:x}))),React.createElement("div",{className:"wicked-footer"},React.createElement("button",{className:"button wicked-cancel",onClick:L,disabled:v},(0,Se.__)("Cancel","wicked-folders")),React.createElement("button",{className:"button-primary wicked-save",type:"submit",disabled:r.length<1||v,onClick:R},(0,Se.__)("Save","wicked-folders"))))};function On(e){return On="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},On(e)}function Fn(){Fn=function(){return e};var e={},t=Object.prototype,r=t.hasOwnProperty,n="function"==typeof Symbol?Symbol:{},o=n.iterator||"@@iterator",a=n.asyncIterator||"@@asyncIterator",i=n.toStringTag||"@@toStringTag";function c(e,t,r){return Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{c({},"")}catch(e){c=function(e,t,r){return e[t]=r}}function l(e,t,r,n){var o=t&&t.prototype instanceof d?t:d,a=Object.create(o.prototype),i=new x(n||[]);return a._invoke=function(e,t,r){var n="suspendedStart";return function(o,a){if("executing"===n)throw new Error("Generator is already running");if("completed"===n){if("throw"===o)throw a;return{value:void 0,done:!0}}for(r.method=o,r.arg=a;;){var i=r.delegate;if(i){var c=w(i,r);if(c){if(c===u)continue;return c}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if("suspendedStart"===n)throw n="completed",r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);n="executing";var l=s(e,t,r);if("normal"===l.type){if(n=r.done?"completed":"suspendedYield",l.arg===u)continue;return{value:l.arg,done:r.done}}"throw"===l.type&&(n="completed",r.method="throw",r.arg=l.arg)}}}(e,r,i),a}function s(e,t,r){try{return{type:"normal",arg:e.call(t,r)}}catch(e){return{type:"throw",arg:e}}}e.wrap=l;var u={};function d(){}function f(){}function p(){}var h={};c(h,o,(function(){return this}));var m=Object.getPrototypeOf,g=m&&m(m(_([])));g&&g!==t&&r.call(g,o)&&(h=g);var v=p.prototype=d.prototype=Object.create(h);function y(e){["next","throw","return"].forEach((function(t){c(e,t,(function(e){return this._invoke(t,e)}))}))}function b(e,t){function n(o,a,i,c){var l=s(e[o],e,a);if("throw"!==l.type){var u=l.arg,d=u.value;return d&&"object"==On(d)&&r.call(d,"__await")?t.resolve(d.__await).then((function(e){n("next",e,i,c)}),(function(e){n("throw",e,i,c)})):t.resolve(d).then((function(e){u.value=e,i(u)}),(function(e){return n("throw",e,i,c)}))}c(l.arg)}var o;this._invoke=function(e,r){function a(){return new t((function(t,o){n(e,r,t,o)}))}return o=o?o.then(a,a):a()}}function w(e,t){var r=e.iterator[t.method];if(void 0===r){if(t.delegate=null,"throw"===t.method){if(e.iterator.return&&(t.method="return",t.arg=void 0,w(e,t),"throw"===t.method))return u;t.method="throw",t.arg=new TypeError("The iterator does not provide a 'throw' method")}return u}var n=s(r,e.iterator,t.arg);if("throw"===n.type)return t.method="throw",t.arg=n.arg,t.delegate=null,u;var o=n.arg;return o?o.done?(t[e.resultName]=o.value,t.next=e.nextLoc,"return"!==t.method&&(t.method="next",t.arg=void 0),t.delegate=null,u):o:(t.method="throw",t.arg=new TypeError("iterator result is not an object"),t.delegate=null,u)}function E(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function S(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function x(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(E,this),this.reset(!0)}function _(e){if(e){var t=e[o];if(t)return t.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var n=-1,a=function t(){for(;++n<e.length;)if(r.call(e,n))return t.value=e[n],t.done=!1,t;return t.value=void 0,t.done=!0,t};return a.next=a}}return{next:k}}function k(){return{value:void 0,done:!0}}return f.prototype=p,c(v,"constructor",p),c(p,"constructor",f),f.displayName=c(p,i,"GeneratorFunction"),e.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===f||"GeneratorFunction"===(t.displayName||t.name))},e.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,p):(e.__proto__=p,c(e,i,"GeneratorFunction")),e.prototype=Object.create(v),e},e.awrap=function(e){return{__await:e}},y(b.prototype),c(b.prototype,a,(function(){return this})),e.AsyncIterator=b,e.async=function(t,r,n,o,a){void 0===a&&(a=Promise);var i=new b(l(t,r,n,o),a);return e.isGeneratorFunction(r)?i:i.next().then((function(e){return e.done?e.value:i.next()}))},y(v),c(v,i,"Generator"),c(v,o,(function(){return this})),c(v,"toString",(function(){return"[object Generator]"})),e.keys=function(e){var t=[];for(var r in e)t.push(r);return t.reverse(),function r(){for(;t.length;){var n=t.pop();if(n in e)return r.value=n,r.done=!1,r}return r.done=!0,r}},e.values=_,x.prototype={constructor:x,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEach(S),!e)for(var t in this)"t"===t.charAt(0)&&r.call(this,t)&&!isNaN(+t.slice(1))&&(this[t]=void 0)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var t=this;function n(r,n){return i.type="throw",i.arg=e,t.next=r,n&&(t.method="next",t.arg=void 0),!!n}for(var o=this.tryEntries.length-1;o>=0;--o){var a=this.tryEntries[o],i=a.completion;if("root"===a.tryLoc)return n("end");if(a.tryLoc<=this.prev){var c=r.call(a,"catchLoc"),l=r.call(a,"finallyLoc");if(c&&l){if(this.prev<a.catchLoc)return n(a.catchLoc,!0);if(this.prev<a.finallyLoc)return n(a.finallyLoc)}else if(c){if(this.prev<a.catchLoc)return n(a.catchLoc,!0)}else{if(!l)throw new Error("try statement without catch or finally");if(this.prev<a.finallyLoc)return n(a.finallyLoc)}}}},abrupt:function(e,t){for(var n=this.tryEntries.length-1;n>=0;--n){var o=this.tryEntries[n];if(o.tryLoc<=this.prev&&r.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var a=o;break}}a&&("break"===e||"continue"===e)&&a.tryLoc<=t&&t<=a.finallyLoc&&(a=null);var i=a?a.completion:{};return i.type=e,i.arg=t,a?(this.method="next",this.next=a.finallyLoc,u):this.complete(i)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),u},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.finallyLoc===e)return this.complete(r.completion,r.afterLoc),S(r),u}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.tryLoc===e){var n=r.completion;if("throw"===n.type){var o=n.arg;S(r)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(e,t,r){return this.delegate={iterator:_(e),resultName:t,nextLoc:r},"next"===this.method&&(this.arg=void 0),u}},e}function An(e,t,r,n,o,a,i){try{var c=e[a](i),l=c.value}catch(e){return void r(e)}c.done?t(l):Promise.resolve(l).then(n,o)}function Dn(e){return function(){var t=this,r=arguments;return new Promise((function(n,o){var a=e.apply(t,r);function i(e){An(a,n,o,i,c,"next",e)}function c(e){An(a,n,o,i,c,"throw",e)}i(void 0)}))}}function Nn(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function In(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?Nn(Object(r),!0).forEach((function(t){qn(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Nn(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function qn(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Cn(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,o,a=[],_n=!0,i=!1;try{for(r=r.call(e);!(_n=(n=r.next()).done)&&(a.push(n.value),!t||a.length!==t);_n=!0);}catch(e){i=!0,o=e}finally{try{_n||null==r.return||r.return()}finally{if(i)throw o}}return a}}(e,t)||Pn(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 Pn(e,t){if(e){if("string"==typeof e)return jn(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?jn(e,t):void 0}}function jn(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}var Un=lodash.get;const Bn=function(){var e=(0,o.useContext)(br),t=(0,o.useRef)(),r=(0,o.useRef)(),n=_r(c),i=n.setFolderPanelContext,l=(n.setFolderPanelMessage,n.setFolderPanelError),s=n.setIsFolderPanelBusy,u=n.setFolders,f=(0,a.useDispatch)(c),p=f.addNotification,h=f.fetchFolders,m=xr((function(e){var t=e(c),r=t.getFolders,n=t.getPostType,o=t.isFolderPanelBusy,a=t.getFolderPanelError,i=t.getUserId,l=t.getFolderBeingEdited;return{folders:r(),postType:n(),isBusy:o(),error:a(),userId:i(),folderBeingEdited:l()}})),g=m.folders,v=m.postType,y=m.error,b=m.folderBeingEdited,w=m.isBusy,E=Cn((0,o.useState)(b),2),S=E[0],x=E[1],_=Cn((0,o.useState)(!1),2),k=_[0],R=_[1],L=g?g.filter((function(e){return F(e)&&e.id!=S.id&&S.editable})):[];(0,o.useEffect)((function(){t.current.focus()}),[]),(0,o.useEffect)((function(){x(b)}),[b]),(0,o.useEffect)((function(){var e=jQuery,t=1,n="";return e(r.current).select2({width:"100%",ajax:{url:wickedFoldersSettings.restURL+"wp/v2/users",dataType:"json",cache:!0,data:function(e){return n!=e.term&&(n=e.term,t=1),{per_page:25,search:e.term,page:t,wf_include_users_without_posts:!0}},transport:function(r,n,o){var a=e.ajax(r);a.then((function(r,n,o){var a=!1;return(parseInt(o.getResponseHeader("X-WP-Total"))||0)>25*t&&(t++,a=!0),{results:e.map(r,(function(e){return{id:e.id,text:e.name}})),pagination:{more:a}}})).then(n),a.fail(o)}}}),e(r.current).on("select2:selecting",(function(e){var t=Un(e,"params.args.data.id",!1),r=Un(e,"params.args.data.text",!1);t&&x(In(In({},S),{},{ownerId:t,ownerName:r}))})),function(){e(r.current).off("select2:selecting"),e(r.current).select2("close"),e(r.current).select2("destroy")}}));var T=function(){var e=Dn(Fn().mark((function e(){var r,n;return Fn().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return s(!0),l(!1),e.prev=2,e.next=5,an()({path:"".concat(d,"folders/").concat(S.id),method:"PUT",data:S});case 5:r=e.sent,n=g.map((function(e){return e.id==S.id?r:e})),u(function(e){if(Array.isArray(e))return jn(e)}(o=n)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(o)||Pn(o)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()),s(!1),p({message:(0,Se.__)("Successfully saved folder.","wicked-folders")}),t.current.focus(),e.next=17;break;case 13:e.prev=13,e.t0=e.catch(2),l(e.t0.message),s(!1);case 17:case"end":return e.stop()}var o}),e,null,[[2,13]])})));return function(){return e.apply(this,arguments)}}(),O=function(){var t=Dn(Fn().mark((function t(){return Fn().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return s(!0),l(!1),t.prev=2,t.next=5,an()({path:"".concat(d,"folders/").concat(S.id,"?post_type=").concat(v,"&clone_children=").concat(k),method:"POST"});case 5:t.sent,h(e),s(!1),p({message:(0,Se.__)("Successfully cloned folder.","wicked-folders")}),t.next=15;break;case 11:t.prev=11,t.t0=t.catch(2),l(t.t0.message),s(!1);case 15:case"end":return t.stop()}}),t,null,[[2,11]])})));return function(){return t.apply(this,arguments)}}(),A=function(){i(!1)};return React.createElement(React.Fragment,null,React.createElement("div",{className:"wicked-header"},React.createElement("h2",null,(0,Se.__)("Edit Folder","wicked-folders")),React.createElement("button",{type:"button",className:"wicked-close",onClick:A},React.createElement("span",{className:"screen-reader-text"},(0,Se.__)("Close","wicked-folders")),React.createElement("span",{className:"dashicons dashicons-no"}))),React.createElement("div",null,y&&React.createElement("div",{className:"wicked-messages wicked-errors"},y),React.createElement("div",{className:"wicked-folder-name"},React.createElement("label",{htmlFor:"wicked-folder-name",className:"screen-reader-text"},(0,Se.__)("Folder name","wicked-folders"),":"),React.createElement("input",{ref:t,id:"wicked-folder-name",type:"text",name:"wicked_folder_name",placeholder:(0,Se.__)("Folder name","wicked-folders"),value:(0,ln.decode)(S.name),onChange:function(e){return x(In(In({},S),{},{name:e.target.value}))},onKeyUp:function(e){27==e.which&&A()},onKeyDown:function(e){13==e.which&&S.name.length>0&&T()}})),React.createElement("div",{className:"wicked-folder-parent"},React.createElement(wn,{folders:L,onChange:function(e){return x(In(In({},S),{},{parent:e}))},selected:S.parent})),React.createElement("fieldset",null,React.createElement("legend",null,(0,Se.__)("Clone Folder","wicked-folders"),":",React.createElement("span",{className:"dashicons dashicons-editor-help",title:(0,Se.__)("Creates a copy of the currently selected folder containing the same items.","wicked-folders")})),React.createElement("p",null,React.createElement("label",null,React.createElement("input",{type:"checkbox",name:"wicked_clone_children",checked:k,onChange:function(){return R(!k)}}),(0,Se.__)("Clone child folders also","wicked-folders")),React.createElement("span",{className:"dashicons dashicons-editor-help",title:(0,Se.__)("If checked, descendant folders of the currently selected folder will also be cloned. Otherwise, only the currently selected folder will be cloned.")})),React.createElement("p",null,React.createElement("button",{className:"button wicked-clone-folder",type:"button",onClick:O},(0,Se.__)("Clone Folder","wicked-folders")))),React.createElement("p",{className:"wicked-folder-owner"},React.createElement("label",{htmlFor:"wicked-folder-owner-id"},(0,Se.__)("Owner","wicked-folders"),":"),React.createElement("select",{id:"wicked-folder-owner-id",name:"wicked_folder_owner_id",ref:r},S&&S.ownerId&&React.createElement("option",{value:S.ownerId,selected:"selected"},S.ownerName)))),React.createElement("div",{className:"wicked-footer"},React.createElement("button",{className:"button wicked-cancel",onClick:A},(0,Se.__)("Cancel","wicked-folders")),React.createElement("button",{className:"button-primary wicked-save",type:"submit",onClick:T,disabled:S.name.length<1||w},(0,Se.__)("Save","wicked-folders"))))};function Mn(e){return Mn="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},Mn(e)}function Gn(){Gn=function(){return e};var e={},t=Object.prototype,r=t.hasOwnProperty,n="function"==typeof Symbol?Symbol:{},o=n.iterator||"@@iterator",a=n.asyncIterator||"@@asyncIterator",i=n.toStringTag||"@@toStringTag";function c(e,t,r){return Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{c({},"")}catch(e){c=function(e,t,r){return e[t]=r}}function l(e,t,r,n){var o=t&&t.prototype instanceof d?t:d,a=Object.create(o.prototype),i=new x(n||[]);return a._invoke=function(e,t,r){var n="suspendedStart";return function(o,a){if("executing"===n)throw new Error("Generator is already running");if("completed"===n){if("throw"===o)throw a;return{value:void 0,done:!0}}for(r.method=o,r.arg=a;;){var i=r.delegate;if(i){var c=w(i,r);if(c){if(c===u)continue;return c}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if("suspendedStart"===n)throw n="completed",r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);n="executing";var l=s(e,t,r);if("normal"===l.type){if(n=r.done?"completed":"suspendedYield",l.arg===u)continue;return{value:l.arg,done:r.done}}"throw"===l.type&&(n="completed",r.method="throw",r.arg=l.arg)}}}(e,r,i),a}function s(e,t,r){try{return{type:"normal",arg:e.call(t,r)}}catch(e){return{type:"throw",arg:e}}}e.wrap=l;var u={};function d(){}function f(){}function p(){}var h={};c(h,o,(function(){return this}));var m=Object.getPrototypeOf,g=m&&m(m(_([])));g&&g!==t&&r.call(g,o)&&(h=g);var v=p.prototype=d.prototype=Object.create(h);function y(e){["next","throw","return"].forEach((function(t){c(e,t,(function(e){return this._invoke(t,e)}))}))}function b(e,t){function n(o,a,i,c){var l=s(e[o],e,a);if("throw"!==l.type){var u=l.arg,d=u.value;return d&&"object"==Mn(d)&&r.call(d,"__await")?t.resolve(d.__await).then((function(e){n("next",e,i,c)}),(function(e){n("throw",e,i,c)})):t.resolve(d).then((function(e){u.value=e,i(u)}),(function(e){return n("throw",e,i,c)}))}c(l.arg)}var o;this._invoke=function(e,r){function a(){return new t((function(t,o){n(e,r,t,o)}))}return o=o?o.then(a,a):a()}}function w(e,t){var r=e.iterator[t.method];if(void 0===r){if(t.delegate=null,"throw"===t.method){if(e.iterator.return&&(t.method="return",t.arg=void 0,w(e,t),"throw"===t.method))return u;t.method="throw",t.arg=new TypeError("The iterator does not provide a 'throw' method")}return u}var n=s(r,e.iterator,t.arg);if("throw"===n.type)return t.method="throw",t.arg=n.arg,t.delegate=null,u;var o=n.arg;return o?o.done?(t[e.resultName]=o.value,t.next=e.nextLoc,"return"!==t.method&&(t.method="next",t.arg=void 0),t.delegate=null,u):o:(t.method="throw",t.arg=new TypeError("iterator result is not an object"),t.delegate=null,u)}function E(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function S(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function x(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(E,this),this.reset(!0)}function _(e){if(e){var t=e[o];if(t)return t.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var n=-1,a=function t(){for(;++n<e.length;)if(r.call(e,n))return t.value=e[n],t.done=!1,t;return t.value=void 0,t.done=!0,t};return a.next=a}}return{next:k}}function k(){return{value:void 0,done:!0}}return f.prototype=p,c(v,"constructor",p),c(p,"constructor",f),f.displayName=c(p,i,"GeneratorFunction"),e.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===f||"GeneratorFunction"===(t.displayName||t.name))},e.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,p):(e.__proto__=p,c(e,i,"GeneratorFunction")),e.prototype=Object.create(v),e},e.awrap=function(e){return{__await:e}},y(b.prototype),c(b.prototype,a,(function(){return this})),e.AsyncIterator=b,e.async=function(t,r,n,o,a){void 0===a&&(a=Promise);var i=new b(l(t,r,n,o),a);return e.isGeneratorFunction(r)?i:i.next().then((function(e){return e.done?e.value:i.next()}))},y(v),c(v,i,"Generator"),c(v,o,(function(){return this})),c(v,"toString",(function(){return"[object Generator]"})),e.keys=function(e){var t=[];for(var r in e)t.push(r);return t.reverse(),function r(){for(;t.length;){var n=t.pop();if(n in e)return r.value=n,r.done=!1,r}return r.done=!0,r}},e.values=_,x.prototype={constructor:x,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEach(S),!e)for(var t in this)"t"===t.charAt(0)&&r.call(this,t)&&!isNaN(+t.slice(1))&&(this[t]=void 0)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var t=this;function n(r,n){return i.type="throw",i.arg=e,t.next=r,n&&(t.method="next",t.arg=void 0),!!n}for(var o=this.tryEntries.length-1;o>=0;--o){var a=this.tryEntries[o],i=a.completion;if("root"===a.tryLoc)return n("end");if(a.tryLoc<=this.prev){var c=r.call(a,"catchLoc"),l=r.call(a,"finallyLoc");if(c&&l){if(this.prev<a.catchLoc)return n(a.catchLoc,!0);if(this.prev<a.finallyLoc)return n(a.finallyLoc)}else if(c){if(this.prev<a.catchLoc)return n(a.catchLoc,!0)}else{if(!l)throw new Error("try statement without catch or finally");if(this.prev<a.finallyLoc)return n(a.finallyLoc)}}}},abrupt:function(e,t){for(var n=this.tryEntries.length-1;n>=0;--n){var o=this.tryEntries[n];if(o.tryLoc<=this.prev&&r.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var a=o;break}}a&&("break"===e||"continue"===e)&&a.tryLoc<=t&&t<=a.finallyLoc&&(a=null);var i=a?a.completion:{};return i.type=e,i.arg=t,a?(this.method="next",this.next=a.finallyLoc,u):this.complete(i)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),u},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.finallyLoc===e)return this.complete(r.completion,r.afterLoc),S(r),u}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.tryLoc===e){var n=r.completion;if("throw"===n.type){var o=n.arg;S(r)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(e,t,r){return this.delegate={iterator:_(e),resultName:t,nextLoc:r},"next"===this.method&&(this.arg=void 0),u}},e}function Vn(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function zn(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function Hn(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?zn(Object(r),!0).forEach((function(t){Wn(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):zn(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function Wn(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Yn(e,t,r,n,o,a,i){try{var c=e[a](i),l=c.value}catch(e){return void r(e)}c.done?t(l):Promise.resolve(l).then(n,o)}const Zn=function(){var e=(0,a.useDispatch)(c).addNotification,t=_r(c),r=t.setFolderPanelContext,n=(t.setFolderPanelMessage,t.setFolderPanelError),o=t.setIsFolderPanelBusy,i=t.setFolders,l=t.setSelectedFolderId,s=t.setSelectedFolderIds,u=xr((function(e){var t=e(c),r=t.getFolders,n=t.getPostType,o=t.isFolderPanelBusy,a=t.getFolderPanelError,i=t.getSelectedFolderId,l=t.getSelectedFolder,s=t.getSelectedFolderIds;return{folders:r(),postType:n(),isBusy:o(),error:a(),folderId:i(),selectedFolder:l(),selectedFolerIds:s()}})),f=u.folders,p=u.postType,h=u.isBusy,m=u.error,g=u.folderId,v=u.selectedFolder,y=u.selectedFolerIds,b=function(){var t,r=(t=Gn().mark((function t(){var r,a;return Gn().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(o(!0),n(!1),t.prev=2,!(y.length>0)){t.next=15;break}return t.next=6,an()({path:"".concat(d,"folders"),method:"DELETE",data:{post_type:p,folder_ids:y}});case 6:r=t.sent,y.includes(g)&&l("0"),o(!1),s([]),i(r),w(),e({message:(0,Se.__)("Successfully deleted folders.","wicked-folders")}),t.next=23;break;case 15:return t.next=17,an()({path:"".concat(d,"folders/").concat(g),method:"DELETE",data:Hn({},v)});case 17:a=f.map((function(e){return e.parent==g&&(e.parent=v.parent),e})),l(v.parent),o(!1),i(function(e){if(Array.isArray(e))return Vn(e)}(c=a.filter((function(e){return e.id!=g})))||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(c)||function(e,t){if(e){if("string"==typeof e)return Vn(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?Vn(e,t):void 0}}(c)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()),w(),e({message:(0,Se.__)("Successfully deleted folder.","wicked-folders")});case 23:t.next=29;break;case 25:t.prev=25,t.t0=t.catch(2),n(t.t0.message),o(!1);case 29:case"end":return t.stop()}var c}),t,null,[[2,25]])})),function(){var e=this,r=arguments;return new Promise((function(n,o){var a=t.apply(e,r);function i(e){Yn(a,n,o,i,c,"next",e)}function c(e){Yn(a,n,o,i,c,"throw",e)}i(void 0)}))});return function(){return r.apply(this,arguments)}}(),w=function(){r(!1)};return React.createElement(React.Fragment,null,React.createElement("div",{className:"wicked-header"},React.createElement("h2",null,(0,Se.__)(y.length>0?"Delete Folders":"Delete Folder","wicked-folders")),React.createElement("button",{type:"button",className:"wicked-close",onClick:w},React.createElement("span",{className:"screen-reader-text"},(0,Se.__)("Close","wicked-folders")),React.createElement("span",{className:"dashicons dashicons-no"}))),React.createElement("div",null,m&&React.createElement("div",{className:"wicked-messages wicked-errors"},m),React.createElement("p",null,y.length>0?(0,Se.__)("Are you sure you want to delete the selected folders? Items in the folders will not be deleted.","wicked-folders"):(0,Se.__)("Are you sure you want to delete the selected folder? Sub folders will be assigned to the folder's parent. Items in the folder will not be deleted.","wicked-folders"))),React.createElement("div",{className:"wicked-footer"},React.createElement("button",{className:"button wicked-cancel",onClick:w,disabled:h},(0,Se.__)("Cancel","wicked-folders")),React.createElement("button",{className:"button-primary wicked-save",type:"submit",onClick:b},(0,Se.__)("Delete","wicked-folders"))))},Xn=function(){var e=(0,o.useContext)(br),t=(0,a.useDispatch)(c).fetchFolders,r=_r(c),n=r.setFolderPanelContext,i=r.setOrganizationMode,l=r.setSortMode,s=xr((function(e){var t=e(c),r=t.getOrganizationMode,n=t.getSortMode,o=t.isFolderPanelBusy;return{organizationMode:r(),sortMode:n(),isFolderPanelBusy:o()}})),u=s.organizationMode,d=s.sortMode,v=function(r){l(r),t(e)};return React.createElement(React.Fragment,null,React.createElement("div",{className:"wicked-header"},React.createElement("h2",null,(0,Se.__)("Settings","wicked-folders")),React.createElement("button",{type:"button",className:"wicked-close",onClick:function(){n(!1)}},React.createElement("span",{className:"screen-reader-text"},(0,Se.__)("Close","wicked-folders")),React.createElement("span",{className:"dashicons dashicons-no"}))),React.createElement("div",null,React.createElement("div",{className:"wicked-field"},React.createElement("div",{className:"wicked-field-label"},(0,Se.__)("Organization mode:","wicked-folders")," ",React.createElement("span",{className:"dashicons dashicons-editor-help",title:(0,Se.__)("Controls what happens when you drag and drop folders. Use 'Normal' to arrange your folder hierarchy by dragging and dropping folders into other folders. Use 'Sort' to change the order of the folders.","wicked-folders")})),React.createElement("div",{className:"wicked-field-options"},React.createElement("div",null,React.createElement("input",{type:"radio",id:"wicked-organization-mode-organize",name:"wicked_organization_mode",checked:f==u,onChange:function(){return i(f)}})," ",React.createElement("label",{htmlFor:"wicked-organization-mode-organize"},(0,Se.__)("Normal","wicked-folders"))),React.createElement("div",null,React.createElement("input",{type:"radio",id:"wicked-organization-mode-sort",name:"wicked_organization_mode",checked:p==u,onChange:function(){return i(p)}})," ",React.createElement("label",{htmlFor:"wicked-organization-mode-sort"},(0,Se.__)("Sort","wicked-folders"))),React.createElement("div",null,React.createElement("input",{type:"radio",id:"wicked-organization-mode-bulk-select",name:"wicked_organization_mode",checked:h==u,onChange:function(){i(h),n(!1)}})," ",React.createElement("label",{htmlFor:"wicked-organization-mode-bulk-select"},(0,Se.__)("Bulk select","wicked-folders"))))),React.createElement("div",{className:"wicked-field"},React.createElement("div",{className:"wicked-field-label"},(0,Se.__)("Folder sort order:","wicked-folders")," ",React.createElement("span",{className:"dashicons dashicons-editor-help",title:(0,Se.__)("Controls how your folders are sorted. Select 'Custom' to display the folders in the specific order you specify.","wicked-folders")})),React.createElement("div",{className:"wicked-field-options"},React.createElement("div",null,React.createElement("input",{type:"radio",id:"wicked-sort-mode-organize",name:"wicked_sort_mode",value:m,checked:m==d,onChange:function(){return v(m)}})," ",React.createElement("label",{htmlFor:"wicked-sort-mode-organize"},(0,Se.__)("Alphabetical","wicked-folders"))),React.createElement("div",null,React.createElement("input",{type:"radio",id:"wicked-sort-mode-sort",name:"wicked_sort_mode",value:g,checked:g==d,onChange:function(){return v(g)}})," ",React.createElement("label",{htmlFor:"wicked-sort-mode-sort"},(0,Se.__)("Custom","wicked-folders")))))))},Qn=function(){var e=Tn,t=xr((function(e){var t=e(c),r=t.getFolderPanelContext,n=t.isFolderPanelBusy;return{context:r(),isBusy:n()}})),r=t.context,n=t.isBusy,o=nn()("wicked-folder-pane-panel","wicked-folder-details",{"wicked-busy":n});return r?(l==r&&(e=Bn),s==r&&(e=Zn),u==r&&(e=Xn),React.createElement("div",{className:"wicked-folder-details-container"},React.createElement("div",{className:o},React.createElement(e,null)))):null},Jn=function(){var e=(0,o.useRef)(null),t=xr((function(e){return{navigationError:e(c).getNavigationError()}})).navigationError;return(0,o.useEffect)((function(){$=jQuery,t&&$("#wpbody").html("").html($(e.current).html())})),t?React.createElement("div",{className:"wicked-folder-navigation-error",ref:e},React.createElement("div",{id:"wicked-folder-navigation-error"},React.createElement("div",null,React.createElement("span",{className:"dashicons dashicons-warning"}),React.createElement("h1",null,(0,Se.__)("Something went wrong","wicked-folders")),React.createElement("p",null,(0,Se.__)("An error occurred while attempting to navigate to the folder. Please refresh the page.","wicked-folders")),React.createElement("p",null,(0,Se.__)("If you continue to have trouble, disable the 'Don't reload page when navigating folders' option on the Wicked Folders settings page.","wicked-folders")),React.createElement("p",{className:"code wicked-error-text"},t)))):null};var Kn=function(e){var t=e.id,r=e.title,n=e.message,o=e.dismissible,i=void 0!==o&&o,l=e.dismissed,s=void 0!==l&&l,u=(0,a.useDispatch)(c).dismissNotification,d=nn()("wicked-folders-notification",{dismissed:s});return React.createElement("div",{className:d},React.createElement("div",{className:"icon"},zr),React.createElement("div",{className:"wicked-notification-message"},React.createElement("div",{className:"wicked-notification-title"},r),n),i&&React.createElement("button",{className:"wicked-dismiss",type:"button",onClick:function(){return u(t)}},React.createElement("span",{className:"screen-reader-text"},(0,Se.__)("Dismiss","wicked-folders")),Vr))};const $n=function(){var e=(0,a.useSelect)((function(e){return{notifications:e(c).getNotifications()}})).notifications;return React.createElement("div",{className:"wicked-folders-notifications"},e.map((function(e,t){return React.createElement(Kn,{key:t,id:e.id,title:e.title,message:e.message,dismissible:e.dismissible,dismissed:e.dismissed})})))};function eo(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}var to=lodash.debounce;const ro=function(){var e,t,r=_r(c).setSearchTerms,n=xr((function(e){return{searchTerms:e(c).getSearchTerms(),isSearchEnabled:e(c).isSearchEnabled()}})),a=n.searchTerms,i=n.isSearchEnabled,l=(e=(0,o.useState)(a),t=2,function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,o,a=[],_n=!0,i=!1;try{for(r=r.call(e);!(_n=(n=r.next()).done)&&(a.push(n.value),!t||a.length!==t);_n=!0);}catch(e){i=!0,o=e}finally{try{_n||null==r.return||r.return()}finally{if(i)throw o}}return a}}(e,t)||function(e,t){if(e){if("string"==typeof e)return eo(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?eo(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.")}()),s=l[0],u=l[1],d=(0,o.useRef)(to(r,750));return i?React.createElement("div",{className:"wicked-folder-search-container"},React.createElement("div",{className:"wicked-folder-search"},React.createElement("label",{htmlFor:"wicked-folder-search-input",className:"screen-reader-text"},(0,Se.__)("Search folders","wicked-folders")),React.createElement("input",{id:"wicked-folder-search-input",name:"wicked_folder_search",type:"text",value:s,onChange:function(e){return t=e.target.value,u(t),void d.current(t);var t},placeholder:(0,Se.__)("Search folders...","wicked-folders")}))):null};var no=lodash.reverse,oo=function(e){var t=e.ancestors,r=e.folder,n=_r(c).setSelectedFolderId;return r?React.createElement("ul",{className:"wicked-folder-path"},t.map((function(e){return React.createElement("li",{key:e.id,"data-folder-id":e.id},React.createElement("button",{onClick:function(){return n(e.id)}},e.name))})),React.createElement("li",{"data-folder-id":r.id},(0,ln.decode)(r.name))):null};const ao=function(){var e=xr((function(e){return{folder:e(c).getSelectedFolder(),folders:e(c).getFolders(),isBreadcrumbsEnabled:e(c).isBreadcrumbsEnabled()}})),t=e.folder,r=e.folders;if(!e.isBreadcrumbsEnabled)return null;if(0==jQuery("#wicked-folders-breadcrumbs").length)return null;var n=no(_(r,t));return(0,o.createPortal)(React.createElement(oo,{ancestors:n,folder:t}),jQuery("#wicked-folders-breadcrumbs .wicked-folders-container").get(0))},io=function(e){var t=e.count,r=void 0===t?1:t,n=e.enableCopy,o=void 0===n||n;return React.createElement("div",{className:"wicked-drag-details"},React.createElement("div",{className:"items"},React.createElement("div",{className:"title"},(0,Se.__)("Move","wicked-folders")," ",r," ",1==r?(0,Se.__)("Item","wicked-folders"):(0,Se.__)("Items","wicked-folders")),o?(0,Se.__)("Hold SHIFT key to copy items to folder","wicked-folders"):""))},co=function(){var e=_r(c).setIsFolderPaneVisible,t=xr((function(e){return{width:e(c).getWidth(),isFolderPaneVisible:e(c).isFolderPaneVisible()}})),r=t.width,n=t.isFolderPaneVisible,a=nn()("wicked-folders-toggle",{expanded:n});return(0,o.useEffect)((function(){n?(document.documentElement.style.setProperty("--wicked-folders-tree-pane-width",r+"px"),document.documentElement.style.setProperty("--wicked-folders-modal-tree-pane-width",r+"px")):(document.documentElement.style.setProperty("--wicked-folders-tree-pane-width","0px"),document.documentElement.style.setProperty("--wicked-folders-modal-tree-pane-width","0px"))}),[n]),React.createElement("button",{className:a,title:"Toggle folders",onClick:function(){return e(!n)}},React.createElement("span",{className:"screen-reader-text"},(0,Se.__)("Toggle folders","wicked-folders")),React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",height:"16",width:"16",viewBox:"0 0 512 512"},React.createElement("path",{fill:"#8c8f94",d:"M64 480H448c35.3 0 64-28.7 64-64V160c0-35.3-28.7-64-64-64H288c-10.1 0-19.6-4.7-25.6-12.8L243.2 57.6C231.1 41.5 212.1 32 192 32H64C28.7 32 0 60.7 0 96V416c0 35.3 28.7 64 64 64z"})))};function lo(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}var so=lodash,uo=so.each,fo=so.debounce;so.forOwn;const po=function(){var e,t,r=(0,o.useContext)(br),n=(e=(0,o.useState)(!1),t=2,function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,o,a=[],_n=!0,i=!1;try{for(r=r.call(e);!(_n=(n=r.next()).done)&&(a.push(n.value),!t||a.length!==t);_n=!0);}catch(e){i=!0,o=e}finally{try{_n||null==r.return||r.return()}finally{if(i)throw o}}return a}}(e,t)||function(e,t){if(e){if("string"==typeof e)return lo(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?lo(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.")}()),i=n[0],l=n[1],s=xr((function(e){var t=e(c),r=t.getScreenState,n=t.getSelectedFolder,o=t.getSelectedFolderId,a=t.getNavigationError,i=t.getWidth,l=t.isAjaxNavEnabled,s=t.isBreadcrumbsEnabled,u=t.isDirty,d=t.isNavigating,f=t.isFolderPaneVisible,p=t.getPostIdsToMove;return{folder:n(),selectedFolderId:o(),isAjaxNavEnabled:l(),isBreadcrumbsEnabled:s(),isDirty:u(),isNavigating:d(),navigationError:a(),width:i(),isFolderPaneVisible:f(),postIdsToMove:p(),screenState:r()}})),u=s.folder,d=s.selectedFolderId,f=s.isAjaxNavEnabled,p=s.isNavigating,h=(s.navigationError,s.isDirty),m=(s.width,s.screenState,s.isBreadcrumbsEnabled),g=s.isFolderPaneVisible,v=s.postIdsToMove,y=(0,a.useDispatch)(c).saveScreenState,b=_r(c),w=b.setIsNavigating,E=b.setNavigationError,_=(b.setWidth,b.setPostIdsToMove),k=fo(y,500);(0,o.useEffect)((function(){jQuery(document).ajaxSuccess((function(e,t,r,n){r.hasOwnProperty("data")&&-1!=r.data.indexOf("action=inline-save")&&R()}))}),[]),(0,o.useEffect)((function(){h&&k(r)}),[h]),(0,o.useEffect)((function(){R()}),[v]),(0,o.useEffect)((function(){L()}),[m]),(0,o.useEffect)((function(){if(u)if(i){var e=jQuery,t="wicked_"+u.postType+"_folder_filter",r=document.location.href;-1!=r.indexOf("#")&&(r=r.substring(0,r.indexOf("#"))),r=S(r,t,u.id),r=S(r,"paged",1),r=S(r,"taxonomy",!1),r=S(r,"term",!1),r=S(r,"wf_"+u.postType+"_folders",!1),f?(w(!0),E(!1),e.ajax(r,{success:function(t){var r=wickedFoldersSettings.afterAjaxScripts.length,n=0;e("#wpbody-content").html(e(t).find("#wpbody-content").html()),R(),L(),window.inlineEditPost&&0==r&&window.inlineEditPost.init(),window.screenMeta&&window.screenMeta.init(),window.columns&&window.columns.init(),function(){var e=jQuery;e(".contextual-help-tabs").delegate("a","click",(function(t){var r,n=e(this);if(t.preventDefault(),n.is(".active a"))return!1;e(".contextual-help-tabs .active").removeClass("active"),n.parent("li").addClass("active"),r=e(n.attr("href")),e(".help-tab-content").not(r).removeClass("active").hide(),r.addClass("active").show()}))}(),function(){var e=jQuery,t=e(".wp-header-end");t.length||(t=e(".wrap h1, .wrap h2").first()),e("div.updated, div.error, div.notice").not(".inline, .below-h2").insertAfter(t)}(),window.gfPageLoaded=!0,jQuery(".gf_form_action_has_submenu").hover((function(){var e=jQuery(this).offset().left;jQuery(this).find(".gf_submenu").toggle().offset({left:e})}),(function(){jQuery(this).find(".gf_submenu").hide()})),uo(wickedFoldersSettings.afterAjaxScripts,(function(t){e.getScript(t,(function(){++n==r&&window.inlineEditPost&&window.inlineEditPost.init()}))})),e(window).scrollTop(0),w(!1),e("body").trigger("wickedfolders:ajaxNavigationDone")},error:function(t,r,n){e(window).scrollTop(0),E(n),window.console&&(console.warn((0,Se.__)("An error occurred while attempting to navigate to the folder. Please see following console messages for more details.","wicked-folders")),console.log(t),console.log(r),console.log(n)),w(!1),e("body").trigger("wickedfolders:ajaxNavigationDone")}})):document.location=r}else l(!0)}),[null==u?void 0:u.id]);var R=function(){var e=jQuery,t={revert:"invalid",containment:"#wpwrap",helper:function(t){var r,n,a=[],i=e(t.currentTarget).parents("tr"),c=i.find('.check-column [type="checkbox"]'),l=e('<div id="wicked-drag-helper"></div>'),s=e(i).find(".wicked-item").attr("data-object-id");return c.prop("checked")||"on"==c.val()?a=T():a.push(s),l.appendTo(e("body")),r=React.createElement(io,{count:a.length,enableCopy:"unassigned_dynamic_folder"!=d}),n=document.getElementById("wicked-drag-helper"),o.createRoot?(0,o.createRoot)(n).render(r):(0,o.render)(r,n),_(a),l},stop:function(e,t){_([])}};e("body.post-type-shop_order .wp-list-table .column-wicked_move").click((function(e){return!1})),e(".wp-list-table tbody .wicked-move-multiple").draggable(t),e(".wp-list-table thead .wicked-move-multiple").draggable(t),x()&&e(".wp-list-table .wicked-move-multiple").draggable("option",{cursorAt:{top:10,right:10}})},L=function(){m&&jQuery("#wpbody-content .wp-list-table").before('<div id="wicked-folders-breadcrumbs" class="wicked-folders-breadcrumbs"><span class="wicked-folders-label">'+(0,Se.__)("Folder","wicked-folders")+':</span> <span class="wicked-folders-container"></span></div>')},T=function(){var e=jQuery,t=[];return e('.wp-list-table tbody [type="checkbox"]').each((function(r,n){var o=(n=e(n)).parents("tr").find(".wicked-item").attr("data-object-id");n.prop("checked")&&t.push(o)})),t};return g?React.createElement(React.Fragment,null,React.createElement(Ur,null),React.createElement(Br,null,React.createElement(Mr,null),React.createElement(tn,null),React.createElement(Qn,null),React.createElement("div",{className:"wicked-folder-tree-container"},React.createElement(ro,null),React.createElement(yn,null)),p&&React.createElement("div",{className:"wicked-navigating-mask"}),React.createElement(Jn,null),React.createElement(ao,null)),React.createElement(co,null),React.createElement($n,null)):React.createElement(React.Fragment,null,React.createElement(ao,null),React.createElement(co,null))};void 0===window.isWickedFoldersStoreRegistered&&((0,a.register)((0,a.createReduxStore)(c,{selectors:e,actions:t,resolvers:n,reducer:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:gr,t=arguments.length>1?arguments[1]:void 0;switch(t.type){case Vt:return jt(jt({},e),{},{notifications:[].concat(It(e.notifications),[t.notification])});case zt:return jt(jt({},e),{},{notifications:It(e.notifications.filter((function(e){return e.id!=t.notificationId})))});case Ht:return jt(jt({},e),{},{notifications:It(e.notifications.map((function(e){return t.notificationId==e.id&&(e.dismissed=!0),e})))});case Yt:return Mt(e,["instances",t.instanceId])?e:jt(jt({},e),{},{instances:jt(jt({},e.instances),{},Ut({},t.instanceId,jt(jt({},vr),{},{postType:t.postType})))});case mr:for(var r=t.payload,n=r.action,o=r.instanceId,a={},i=0,c=Object.entries(e.instances);i<c.length;i++){var l=Nt(c[i],2),s=l[0],u=l[1];a[s]=o==s?yr(u,n):u}return jt(jt({},e),{},{instances:a});default:return e}},controls:i.controls})),window.isWickedFoldersStoreRegistered=!0),document.addEventListener("DOMContentLoaded",(function(e){!function(e){var t=document.getElementById("wicked-folder-pane"),r=function(){var t="folderPane";return(0,a.useDispatch)(c).initInstance(t,wickedFoldersSettings.instances.folderPane.postType),React.createElement(br.Provider,{value:t},React.createElement(e,null))};if(!t)return null;o.createRoot?(0,o.createRoot)(t).render(React.createElement(r,null)):(0,o.render)(React.createElement(r,null),t)}(po)}))})()})();1 (()=>{var e={703:(e,t)=>{var r;!function(){"use strict";var n={}.hasOwnProperty;function o(){for(var e=[],t=0;t<arguments.length;t++){var r=arguments[t];if(r){var a=typeof r;if("string"===a||"number"===a)e.push(r);else if(Array.isArray(r)){if(r.length){var i=o.apply(null,r);i&&e.push(i)}}else if("object"===a)if(r.toString===Object.prototype.toString)for(var c in r)n.call(r,c)&&r[c]&&e.push(c);else e.push(r.toString())}}return e.join(" ")}e.exports?(o.default=o,e.exports=o):void 0===(r=function(){return o}.apply(t,[]))||(e.exports=r)}()},705:e=>{"use strict";e.exports=function(e){var t=[];return t.toString=function(){return this.map((function(t){var r="",n=void 0!==t[5];return t[4]&&(r+="@supports (".concat(t[4],") {")),t[2]&&(r+="@media ".concat(t[2]," {")),n&&(r+="@layer".concat(t[5].length>0?" ".concat(t[5]):""," {")),r+=e(t),n&&(r+="}"),t[2]&&(r+="}"),t[4]&&(r+="}"),r})).join("")},t.i=function(e,r,n,o,a){"string"==typeof e&&(e=[[null,e,void 0]]);var i={};if(n)for(var c=0;c<this.length;c++){var l=this[c][0];null!=l&&(i[l]=!0)}for(var s=0;s<e.length;s++){var u=[].concat(e[s]);n&&i[u[0]]||(void 0!==a&&(void 0===u[5]||(u[1]="@layer".concat(u[5].length>0?" ".concat(u[5]):""," {").concat(u[1],"}")),u[5]=a),r&&(u[2]?(u[1]="@media ".concat(u[2]," {").concat(u[1],"}"),u[2]=r):u[2]=r),o&&(u[4]?(u[1]="@supports (".concat(u[4],") {").concat(u[1],"}"),u[4]=o):u[4]="".concat(o)),t.push(u))}},t}},738:e=>{"use strict";e.exports=function(e){return e[1]}},805:function(e,t,r){"use strict";var n=this&&this.__assign||function(){return n=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var o in t=arguments[r])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},n.apply(this,arguments)};Object.defineProperty(t,"__esModule",{value:!0});var o=r(547),a=r(125),i=r(663),c=n(n({},o.namedReferences),{all:o.namedReferences.html5});function l(e,t,r){t.lastIndex=0;var n,o=t.exec(e);if(o){n="";var a=0;do{a!==o.index&&(n+=e.substring(a,o.index));var i=o[0];n+=r(i),a=o.index+i.length}while(o=t.exec(e));a!==e.length&&(n+=e.substring(a))}else n=e;return n}var s={specialChars:/[<>'"&]/g,nonAscii:/[<>'"&\u0080-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/g,nonAsciiPrintable:/[<>'"&\x01-\x08\x11-\x15\x17-\x1F\x7f-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/g,nonAsciiPrintableOnly:/[\x01-\x08\x11-\x15\x17-\x1F\x7f-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/g,extensive:/[\x01-\x0c\x0e-\x1f\x21-\x2c\x2e-\x2f\x3a-\x40\x5b-\x60\x7b-\x7d\x7f-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/g},u={mode:"specialChars",level:"all",numeric:"decimal"};t.encode=function(e,t){var r=void 0===t?u:t,n=r.mode,o=void 0===n?"specialChars":n,a=r.numeric,d=void 0===a?"decimal":a,f=r.level;if(!e)return"";var p=s[o],h=c[void 0===f?"all":f].characters,m="hexadecimal"===d;return l(e,p,(function(e){var t=h[e];if(!t){var r=e.length>1?i.getCodePoint(e,0):e.charCodeAt(0);t=(m?"&#x"+r.toString(16):"&#"+r)+";"}return t}))};var d={scope:"body",level:"all"},f=/&(?:#\d+|#[xX][\da-fA-F]+|[0-9a-zA-Z]+);/g,p=/&(?:#\d+|#[xX][\da-fA-F]+|[0-9a-zA-Z]+)[;=]?/g,h={xml:{strict:f,attribute:p,body:o.bodyRegExps.xml},html4:{strict:f,attribute:p,body:o.bodyRegExps.html4},html5:{strict:f,attribute:p,body:o.bodyRegExps.html5}},m=n(n({},h),{all:h.html5}),g=String.fromCharCode,v=g(65533),y={level:"all"};function b(e,t,r,n){var o=e,c=e[e.length-1];if(r&&"="===c)o=e;else if(n&&";"!==c)o=e;else{var l=t[e];if(l)o=l;else if("&"===e[0]&&"#"===e[1]){var s=e[2],u="x"==s||"X"==s?parseInt(e.substr(3),16):parseInt(e.substr(2));o=u>=1114111?v:u>65535?i.fromCodePoint(u):g(a.numericUnicodeMap[u]||u)}}return o}t.decodeEntity=function(e,t){var r=(void 0===t?y:t).level;return e?b(e,c[void 0===r?"all":r].entities,!1,!1):""},t.decode=function(e,t){var r=void 0===t?d:t,n=r.level,o=void 0===n?"all":n,a=r.scope,i=void 0===a?"xml"===o?"strict":"body":a;if(!e)return"";var s=m[o][i],u=c[o].entities,f="attribute"===i,p="strict"===i;return l(e,s,(function(e){return b(e,u,f,p)}))}},547:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.bodyRegExps={xml:/&(?:#\d+|#[xX][\da-fA-F]+|[0-9a-zA-Z]+);?/g,html4:/∉|&(?:nbsp|iexcl|cent|pound|curren|yen|brvbar|sect|uml|copy|ordf|laquo|not|shy|reg|macr|deg|plusmn|sup2|sup3|acute|micro|para|middot|cedil|sup1|ordm|raquo|frac14|frac12|frac34|iquest|Agrave|Aacute|Acirc|Atilde|Auml|Aring|AElig|Ccedil|Egrave|Eacute|Ecirc|Euml|Igrave|Iacute|Icirc|Iuml|ETH|Ntilde|Ograve|Oacute|Ocirc|Otilde|Ouml|times|Oslash|Ugrave|Uacute|Ucirc|Uuml|Yacute|THORN|szlig|agrave|aacute|acirc|atilde|auml|aring|aelig|ccedil|egrave|eacute|ecirc|euml|igrave|iacute|icirc|iuml|eth|ntilde|ograve|oacute|ocirc|otilde|ouml|divide|oslash|ugrave|uacute|ucirc|uuml|yacute|thorn|yuml|quot|amp|lt|gt|#\d+|#[xX][\da-fA-F]+|[0-9a-zA-Z]+);?/g,html5:/·|℗|⋇|⪧|⩺|⋗|⦕|⩼|⪆|⥸|⋗|⋛|⪌|≷|≳|⪦|⩹|⋖|⋋|⋉|⥶|⩻|⦖|◃|⊴|◂|∉|⋹̸|⋵̸|∉|⋷|⋶|∌|∌|⋾|⋽|∥|⊠|⨱|⨰|&(?:AElig|AMP|Aacute|Acirc|Agrave|Aring|Atilde|Auml|COPY|Ccedil|ETH|Eacute|Ecirc|Egrave|Euml|GT|Iacute|Icirc|Igrave|Iuml|LT|Ntilde|Oacute|Ocirc|Ograve|Oslash|Otilde|Ouml|QUOT|REG|THORN|Uacute|Ucirc|Ugrave|Uuml|Yacute|aacute|acirc|acute|aelig|agrave|amp|aring|atilde|auml|brvbar|ccedil|cedil|cent|copy|curren|deg|divide|eacute|ecirc|egrave|eth|euml|frac12|frac14|frac34|gt|iacute|icirc|iexcl|igrave|iquest|iuml|laquo|lt|macr|micro|middot|nbsp|not|ntilde|oacute|ocirc|ograve|ordf|ordm|oslash|otilde|ouml|para|plusmn|pound|quot|raquo|reg|sect|shy|sup1|sup2|sup3|szlig|thorn|times|uacute|ucirc|ugrave|uml|uuml|yacute|yen|yuml|#\d+|#[xX][\da-fA-F]+|[0-9a-zA-Z]+);?/g},t.namedReferences={xml:{entities:{"<":"<",">":">",""":'"',"'":"'","&":"&"},characters:{"<":"<",">":">",'"':""","'":"'","&":"&"}},html4:{entities:{"'":"'"," ":" "," ":" ","¡":"¡","¡":"¡","¢":"¢","¢":"¢","£":"£","£":"£","¤":"¤","¤":"¤","¥":"¥","¥":"¥","¦":"¦","¦":"¦","§":"§","§":"§","¨":"¨","¨":"¨","©":"©","©":"©","ª":"ª","ª":"ª","«":"«","«":"«","¬":"¬","¬":"¬","­":"","­":"","®":"®","®":"®","¯":"¯","¯":"¯","°":"°","°":"°","±":"±","±":"±","²":"²","²":"²","³":"³","³":"³","´":"´","´":"´","µ":"µ","µ":"µ","¶":"¶","¶":"¶","·":"·","·":"·","¸":"¸","¸":"¸","¹":"¹","¹":"¹","º":"º","º":"º","»":"»","»":"»","¼":"¼","¼":"¼","½":"½","½":"½","¾":"¾","¾":"¾","¿":"¿","¿":"¿","À":"À","À":"À","Á":"Á","Á":"Á","Â":"Â","Â":"Â","Ã":"Ã","Ã":"Ã","Ä":"Ä","Ä":"Ä","Å":"Å","Å":"Å","Æ":"Æ","Æ":"Æ","Ç":"Ç","Ç":"Ç","È":"È","È":"È","É":"É","É":"É","Ê":"Ê","Ê":"Ê","Ë":"Ë","Ë":"Ë","Ì":"Ì","Ì":"Ì","Í":"Í","Í":"Í","Î":"Î","Î":"Î","Ï":"Ï","Ï":"Ï","Ð":"Ð","Ð":"Ð","Ñ":"Ñ","Ñ":"Ñ","Ò":"Ò","Ò":"Ò","Ó":"Ó","Ó":"Ó","Ô":"Ô","Ô":"Ô","Õ":"Õ","Õ":"Õ","Ö":"Ö","Ö":"Ö","×":"×","×":"×","Ø":"Ø","Ø":"Ø","Ù":"Ù","Ù":"Ù","Ú":"Ú","Ú":"Ú","Û":"Û","Û":"Û","Ü":"Ü","Ü":"Ü","Ý":"Ý","Ý":"Ý","Þ":"Þ","Þ":"Þ","ß":"ß","ß":"ß","à":"à","à":"à","á":"á","á":"á","â":"â","â":"â","ã":"ã","ã":"ã","ä":"ä","ä":"ä","å":"å","å":"å","æ":"æ","æ":"æ","ç":"ç","ç":"ç","è":"è","è":"è","é":"é","é":"é","ê":"ê","ê":"ê","ë":"ë","ë":"ë","ì":"ì","ì":"ì","í":"í","í":"í","î":"î","î":"î","ï":"ï","ï":"ï","ð":"ð","ð":"ð","ñ":"ñ","ñ":"ñ","ò":"ò","ò":"ò","ó":"ó","ó":"ó","ô":"ô","ô":"ô","õ":"õ","õ":"õ","ö":"ö","ö":"ö","÷":"÷","÷":"÷","ø":"ø","ø":"ø","ù":"ù","ù":"ù","ú":"ú","ú":"ú","û":"û","û":"û","ü":"ü","ü":"ü","ý":"ý","ý":"ý","þ":"þ","þ":"þ","ÿ":"ÿ","ÿ":"ÿ",""":'"',""":'"',"&":"&","&":"&","<":"<","<":"<",">":">",">":">","Œ":"Œ","œ":"œ","Š":"Š","š":"š","Ÿ":"Ÿ","ˆ":"ˆ","˜":"˜"," ":" "," ":" "," ":" ","‌":"","‍":"","‎":"","‏":"","–":"–","—":"—","‘":"‘","’":"’","‚":"‚","“":"“","”":"”","„":"„","†":"†","‡":"‡","‰":"‰","‹":"‹","›":"›","€":"€","ƒ":"ƒ","Α":"Α","Β":"Β","Γ":"Γ","Δ":"Δ","Ε":"Ε","Ζ":"Ζ","Η":"Η","Θ":"Θ","Ι":"Ι","Κ":"Κ","Λ":"Λ","Μ":"Μ","Ν":"Ν","Ξ":"Ξ","Ο":"Ο","Π":"Π","Ρ":"Ρ","Σ":"Σ","Τ":"Τ","Υ":"Υ","Φ":"Φ","Χ":"Χ","Ψ":"Ψ","Ω":"Ω","α":"α","β":"β","γ":"γ","δ":"δ","ε":"ε","ζ":"ζ","η":"η","θ":"θ","ι":"ι","κ":"κ","λ":"λ","μ":"μ","ν":"ν","ξ":"ξ","ο":"ο","π":"π","ρ":"ρ","ς":"ς","σ":"σ","τ":"τ","υ":"υ","φ":"φ","χ":"χ","ψ":"ψ","ω":"ω","ϑ":"ϑ","ϒ":"ϒ","ϖ":"ϖ","•":"•","…":"…","′":"′","″":"″","‾":"‾","⁄":"⁄","℘":"℘","ℑ":"ℑ","ℜ":"ℜ","™":"™","ℵ":"ℵ","←":"←","↑":"↑","→":"→","↓":"↓","↔":"↔","↵":"↵","⇐":"⇐","⇑":"⇑","⇒":"⇒","⇓":"⇓","⇔":"⇔","∀":"∀","∂":"∂","∃":"∃","∅":"∅","∇":"∇","∈":"∈","∉":"∉","∋":"∋","∏":"∏","∑":"∑","−":"−","∗":"∗","√":"√","∝":"∝","∞":"∞","∠":"∠","∧":"∧","∨":"∨","∩":"∩","∪":"∪","∫":"∫","∴":"∴","∼":"∼","≅":"≅","≈":"≈","≠":"≠","≡":"≡","≤":"≤","≥":"≥","⊂":"⊂","⊃":"⊃","⊄":"⊄","⊆":"⊆","⊇":"⊇","⊕":"⊕","⊗":"⊗","⊥":"⊥","⋅":"⋅","⌈":"⌈","⌉":"⌉","⌊":"⌊","⌋":"⌋","⟨":"〈","⟩":"〉","◊":"◊","♠":"♠","♣":"♣","♥":"♥","♦":"♦"},characters:{"'":"'"," ":" ","¡":"¡","¢":"¢","£":"£","¤":"¤","¥":"¥","¦":"¦","§":"§","¨":"¨","©":"©",ª:"ª","«":"«","¬":"¬","":"­","®":"®","¯":"¯","°":"°","±":"±","²":"²","³":"³","´":"´",µ:"µ","¶":"¶","·":"·","¸":"¸","¹":"¹",º:"º","»":"»","¼":"¼","½":"½","¾":"¾","¿":"¿",À:"À",Á:"Á",Â:"Â",Ã:"Ã",Ä:"Ä",Å:"Å",Æ:"Æ",Ç:"Ç",È:"È",É:"É",Ê:"Ê",Ë:"Ë",Ì:"Ì",Í:"Í",Î:"Î",Ï:"Ï",Ð:"Ð",Ñ:"Ñ",Ò:"Ò",Ó:"Ó",Ô:"Ô",Õ:"Õ",Ö:"Ö","×":"×",Ø:"Ø",Ù:"Ù",Ú:"Ú",Û:"Û",Ü:"Ü",Ý:"Ý",Þ:"Þ",ß:"ß",à:"à",á:"á",â:"â",ã:"ã",ä:"ä",å:"å",æ:"æ",ç:"ç",è:"è",é:"é",ê:"ê",ë:"ë",ì:"ì",í:"í",î:"î",ï:"ï",ð:"ð",ñ:"ñ",ò:"ò",ó:"ó",ô:"ô",õ:"õ",ö:"ö","÷":"÷",ø:"ø",ù:"ù",ú:"ú",û:"û",ü:"ü",ý:"ý",þ:"þ",ÿ:"ÿ",'"':""","&":"&","<":"<",">":">",Œ:"Œ",œ:"œ",Š:"Š",š:"š",Ÿ:"Ÿ",ˆ:"ˆ","˜":"˜"," ":" "," ":" "," ":" ","":"‌","":"‍","":"‎","":"‏","–":"–","—":"—","‘":"‘","’":"’","‚":"‚","“":"“","”":"”","„":"„","†":"†","‡":"‡","‰":"‰","‹":"‹","›":"›","€":"€",ƒ:"ƒ",Α:"Α",Β:"Β",Γ:"Γ",Δ:"Δ",Ε:"Ε",Ζ:"Ζ",Η:"Η",Θ:"Θ",Ι:"Ι",Κ:"Κ",Λ:"Λ",Μ:"Μ",Ν:"Ν",Ξ:"Ξ",Ο:"Ο",Π:"Π",Ρ:"Ρ",Σ:"Σ",Τ:"Τ",Υ:"Υ",Φ:"Φ",Χ:"Χ",Ψ:"Ψ",Ω:"Ω",α:"α",β:"β",γ:"γ",δ:"δ",ε:"ε",ζ:"ζ",η:"η",θ:"θ",ι:"ι",κ:"κ",λ:"λ",μ:"μ",ν:"ν",ξ:"ξ",ο:"ο",π:"π",ρ:"ρ",ς:"ς",σ:"σ",τ:"τ",υ:"υ",φ:"φ",χ:"χ",ψ:"ψ",ω:"ω",ϑ:"ϑ",ϒ:"ϒ",ϖ:"ϖ","•":"•","…":"…","′":"′","″":"″","‾":"‾","⁄":"⁄",℘:"℘",ℑ:"ℑ",ℜ:"ℜ","™":"™",ℵ:"ℵ","←":"←","↑":"↑","→":"→","↓":"↓","↔":"↔","↵":"↵","⇐":"⇐","⇑":"⇑","⇒":"⇒","⇓":"⇓","⇔":"⇔","∀":"∀","∂":"∂","∃":"∃","∅":"∅","∇":"∇","∈":"∈","∉":"∉","∋":"∋","∏":"∏","∑":"∑","−":"−","∗":"∗","√":"√","∝":"∝","∞":"∞","∠":"∠","∧":"∧","∨":"∨","∩":"∩","∪":"∪","∫":"∫","∴":"∴","∼":"∼","≅":"≅","≈":"≈","≠":"≠","≡":"≡","≤":"≤","≥":"≥","⊂":"⊂","⊃":"⊃","⊄":"⊄","⊆":"⊆","⊇":"⊇","⊕":"⊕","⊗":"⊗","⊥":"⊥","⋅":"⋅","⌈":"⌈","⌉":"⌉","⌊":"⌊","⌋":"⌋","〈":"⟨","〉":"⟩","◊":"◊","♠":"♠","♣":"♣","♥":"♥","♦":"♦"}},html5:{entities:{"Æ":"Æ","Æ":"Æ","&":"&","&":"&","Á":"Á","Á":"Á","Ă":"Ă","Â":"Â","Â":"Â","А":"А","𝔄":"𝔄","À":"À","À":"À","Α":"Α","Ā":"Ā","⩓":"⩓","Ą":"Ą","𝔸":"𝔸","⁡":"","Å":"Å","Å":"Å","𝒜":"𝒜","≔":"≔","Ã":"Ã","Ã":"Ã","Ä":"Ä","Ä":"Ä","∖":"∖","⫧":"⫧","⌆":"⌆","Б":"Б","∵":"∵","ℬ":"ℬ","Β":"Β","𝔅":"𝔅","𝔹":"𝔹","˘":"˘","ℬ":"ℬ","≎":"≎","Ч":"Ч","©":"©","©":"©","Ć":"Ć","⋒":"⋒","ⅅ":"ⅅ","ℭ":"ℭ","Č":"Č","Ç":"Ç","Ç":"Ç","Ĉ":"Ĉ","∰":"∰","Ċ":"Ċ","¸":"¸","·":"·","ℭ":"ℭ","Χ":"Χ","⊙":"⊙","⊖":"⊖","⊕":"⊕","⊗":"⊗","∲":"∲","”":"”","’":"’","∷":"∷","⩴":"⩴","≡":"≡","∯":"∯","∮":"∮","ℂ":"ℂ","∐":"∐","∳":"∳","⨯":"⨯","𝒞":"𝒞","⋓":"⋓","≍":"≍","ⅅ":"ⅅ","⤑":"⤑","Ђ":"Ђ","Ѕ":"Ѕ","Џ":"Џ","‡":"‡","↡":"↡","⫤":"⫤","Ď":"Ď","Д":"Д","∇":"∇","Δ":"Δ","𝔇":"𝔇","´":"´","˙":"˙","˝":"˝","`":"`","˜":"˜","⋄":"⋄","ⅆ":"ⅆ","𝔻":"𝔻","¨":"¨","⃜":"⃜","≐":"≐","∯":"∯","¨":"¨","⇓":"⇓","⇐":"⇐","⇔":"⇔","⫤":"⫤","⟸":"⟸","⟺":"⟺","⟹":"⟹","⇒":"⇒","⊨":"⊨","⇑":"⇑","⇕":"⇕","∥":"∥","↓":"↓","⤓":"⤓","⇵":"⇵","̑":"̑","⥐":"⥐","⥞":"⥞","↽":"↽","⥖":"⥖","⥟":"⥟","⇁":"⇁","⥗":"⥗","⊤":"⊤","↧":"↧","⇓":"⇓","𝒟":"𝒟","Đ":"Đ","Ŋ":"Ŋ","Ð":"Ð","Ð":"Ð","É":"É","É":"É","Ě":"Ě","Ê":"Ê","Ê":"Ê","Э":"Э","Ė":"Ė","𝔈":"𝔈","È":"È","È":"È","∈":"∈","Ē":"Ē","◻":"◻","▫":"▫","Ę":"Ę","𝔼":"𝔼","Ε":"Ε","⩵":"⩵","≂":"≂","⇌":"⇌","ℰ":"ℰ","⩳":"⩳","Η":"Η","Ë":"Ë","Ë":"Ë","∃":"∃","ⅇ":"ⅇ","Ф":"Ф","𝔉":"𝔉","◼":"◼","▪":"▪","𝔽":"𝔽","∀":"∀","ℱ":"ℱ","ℱ":"ℱ","Ѓ":"Ѓ",">":">",">":">","Γ":"Γ","Ϝ":"Ϝ","Ğ":"Ğ","Ģ":"Ģ","Ĝ":"Ĝ","Г":"Г","Ġ":"Ġ","𝔊":"𝔊","⋙":"⋙","𝔾":"𝔾","≥":"≥","⋛":"⋛","≧":"≧","⪢":"⪢","≷":"≷","⩾":"⩾","≳":"≳","𝒢":"𝒢","≫":"≫","Ъ":"Ъ","ˇ":"ˇ","^":"^","Ĥ":"Ĥ","ℌ":"ℌ","ℋ":"ℋ","ℍ":"ℍ","─":"─","ℋ":"ℋ","Ħ":"Ħ","≎":"≎","≏":"≏","Е":"Е","IJ":"IJ","Ё":"Ё","Í":"Í","Í":"Í","Î":"Î","Î":"Î","И":"И","İ":"İ","ℑ":"ℑ","Ì":"Ì","Ì":"Ì","ℑ":"ℑ","Ī":"Ī","ⅈ":"ⅈ","⇒":"⇒","∬":"∬","∫":"∫","⋂":"⋂","⁣":"","⁢":"","Į":"Į","𝕀":"𝕀","Ι":"Ι","ℐ":"ℐ","Ĩ":"Ĩ","І":"І","Ï":"Ï","Ï":"Ï","Ĵ":"Ĵ","Й":"Й","𝔍":"𝔍","𝕁":"𝕁","𝒥":"𝒥","Ј":"Ј","Є":"Є","Х":"Х","Ќ":"Ќ","Κ":"Κ","Ķ":"Ķ","К":"К","𝔎":"𝔎","𝕂":"𝕂","𝒦":"𝒦","Љ":"Љ","<":"<","<":"<","Ĺ":"Ĺ","Λ":"Λ","⟪":"⟪","ℒ":"ℒ","↞":"↞","Ľ":"Ľ","Ļ":"Ļ","Л":"Л","⟨":"⟨","←":"←","⇤":"⇤","⇆":"⇆","⌈":"⌈","⟦":"⟦","⥡":"⥡","⇃":"⇃","⥙":"⥙","⌊":"⌊","↔":"↔","⥎":"⥎","⊣":"⊣","↤":"↤","⥚":"⥚","⊲":"⊲","⧏":"⧏","⊴":"⊴","⥑":"⥑","⥠":"⥠","↿":"↿","⥘":"⥘","↼":"↼","⥒":"⥒","⇐":"⇐","⇔":"⇔","⋚":"⋚","≦":"≦","≶":"≶","⪡":"⪡","⩽":"⩽","≲":"≲","𝔏":"𝔏","⋘":"⋘","⇚":"⇚","Ŀ":"Ŀ","⟵":"⟵","⟷":"⟷","⟶":"⟶","⟸":"⟸","⟺":"⟺","⟹":"⟹","𝕃":"𝕃","↙":"↙","↘":"↘","ℒ":"ℒ","↰":"↰","Ł":"Ł","≪":"≪","⤅":"⤅","М":"М"," ":" ","ℳ":"ℳ","𝔐":"𝔐","∓":"∓","𝕄":"𝕄","ℳ":"ℳ","Μ":"Μ","Њ":"Њ","Ń":"Ń","Ň":"Ň","Ņ":"Ņ","Н":"Н","​":"","​":"","​":"","​":"","≫":"≫","≪":"≪","
":"\n","𝔑":"𝔑","⁠":""," ":" ","ℕ":"ℕ","⫬":"⫬","≢":"≢","≭":"≭","∦":"∦","∉":"∉","≠":"≠","≂̸":"≂̸","∄":"∄","≯":"≯","≱":"≱","≧̸":"≧̸","≫̸":"≫̸","≹":"≹","⩾̸":"⩾̸","≵":"≵","≎̸":"≎̸","≏̸":"≏̸","⋪":"⋪","⧏̸":"⧏̸","⋬":"⋬","≮":"≮","≰":"≰","≸":"≸","≪̸":"≪̸","⩽̸":"⩽̸","≴":"≴","⪢̸":"⪢̸","⪡̸":"⪡̸","⊀":"⊀","⪯̸":"⪯̸","⋠":"⋠","∌":"∌","⋫":"⋫","⧐̸":"⧐̸","⋭":"⋭","⊏̸":"⊏̸","⋢":"⋢","⊐̸":"⊐̸","⋣":"⋣","⊂⃒":"⊂⃒","⊈":"⊈","⊁":"⊁","⪰̸":"⪰̸","⋡":"⋡","≿̸":"≿̸","⊃⃒":"⊃⃒","⊉":"⊉","≁":"≁","≄":"≄","≇":"≇","≉":"≉","∤":"∤","𝒩":"𝒩","Ñ":"Ñ","Ñ":"Ñ","Ν":"Ν","Œ":"Œ","Ó":"Ó","Ó":"Ó","Ô":"Ô","Ô":"Ô","О":"О","Ő":"Ő","𝔒":"𝔒","Ò":"Ò","Ò":"Ò","Ō":"Ō","Ω":"Ω","Ο":"Ο","𝕆":"𝕆","“":"“","‘":"‘","⩔":"⩔","𝒪":"𝒪","Ø":"Ø","Ø":"Ø","Õ":"Õ","Õ":"Õ","⨷":"⨷","Ö":"Ö","Ö":"Ö","‾":"‾","⏞":"⏞","⎴":"⎴","⏜":"⏜","∂":"∂","П":"П","𝔓":"𝔓","Φ":"Φ","Π":"Π","±":"±","ℌ":"ℌ","ℙ":"ℙ","⪻":"⪻","≺":"≺","⪯":"⪯","≼":"≼","≾":"≾","″":"″","∏":"∏","∷":"∷","∝":"∝","𝒫":"𝒫","Ψ":"Ψ",""":'"',""":'"',"𝔔":"𝔔","ℚ":"ℚ","𝒬":"𝒬","⤐":"⤐","®":"®","®":"®","Ŕ":"Ŕ","⟫":"⟫","↠":"↠","⤖":"⤖","Ř":"Ř","Ŗ":"Ŗ","Р":"Р","ℜ":"ℜ","∋":"∋","⇋":"⇋","⥯":"⥯","ℜ":"ℜ","Ρ":"Ρ","⟩":"⟩","→":"→","⇥":"⇥","⇄":"⇄","⌉":"⌉","⟧":"⟧","⥝":"⥝","⇂":"⇂","⥕":"⥕","⌋":"⌋","⊢":"⊢","↦":"↦","⥛":"⥛","⊳":"⊳","⧐":"⧐","⊵":"⊵","⥏":"⥏","⥜":"⥜","↾":"↾","⥔":"⥔","⇀":"⇀","⥓":"⥓","⇒":"⇒","ℝ":"ℝ","⥰":"⥰","⇛":"⇛","ℛ":"ℛ","↱":"↱","⧴":"⧴","Щ":"Щ","Ш":"Ш","Ь":"Ь","Ś":"Ś","⪼":"⪼","Š":"Š","Ş":"Ş","Ŝ":"Ŝ","С":"С","𝔖":"𝔖","↓":"↓","←":"←","→":"→","↑":"↑","Σ":"Σ","∘":"∘","𝕊":"𝕊","√":"√","□":"□","⊓":"⊓","⊏":"⊏","⊑":"⊑","⊐":"⊐","⊒":"⊒","⊔":"⊔","𝒮":"𝒮","⋆":"⋆","⋐":"⋐","⋐":"⋐","⊆":"⊆","≻":"≻","⪰":"⪰","≽":"≽","≿":"≿","∋":"∋","∑":"∑","⋑":"⋑","⊃":"⊃","⊇":"⊇","⋑":"⋑","Þ":"Þ","Þ":"Þ","™":"™","Ћ":"Ћ","Ц":"Ц","	":"\t","Τ":"Τ","Ť":"Ť","Ţ":"Ţ","Т":"Т","𝔗":"𝔗","∴":"∴","Θ":"Θ","  ":" "," ":" ","∼":"∼","≃":"≃","≅":"≅","≈":"≈","𝕋":"𝕋","⃛":"⃛","𝒯":"𝒯","Ŧ":"Ŧ","Ú":"Ú","Ú":"Ú","↟":"↟","⥉":"⥉","Ў":"Ў","Ŭ":"Ŭ","Û":"Û","Û":"Û","У":"У","Ű":"Ű","𝔘":"𝔘","Ù":"Ù","Ù":"Ù","Ū":"Ū","_":"_","⏟":"⏟","⎵":"⎵","⏝":"⏝","⋃":"⋃","⊎":"⊎","Ų":"Ų","𝕌":"𝕌","↑":"↑","⤒":"⤒","⇅":"⇅","↕":"↕","⥮":"⥮","⊥":"⊥","↥":"↥","⇑":"⇑","⇕":"⇕","↖":"↖","↗":"↗","ϒ":"ϒ","Υ":"Υ","Ů":"Ů","𝒰":"𝒰","Ũ":"Ũ","Ü":"Ü","Ü":"Ü","⊫":"⊫","⫫":"⫫","В":"В","⊩":"⊩","⫦":"⫦","⋁":"⋁","‖":"‖","‖":"‖","∣":"∣","|":"|","❘":"❘","≀":"≀"," ":" ","𝔙":"𝔙","𝕍":"𝕍","𝒱":"𝒱","⊪":"⊪","Ŵ":"Ŵ","⋀":"⋀","𝔚":"𝔚","𝕎":"𝕎","𝒲":"𝒲","𝔛":"𝔛","Ξ":"Ξ","𝕏":"𝕏","𝒳":"𝒳","Я":"Я","Ї":"Ї","Ю":"Ю","Ý":"Ý","Ý":"Ý","Ŷ":"Ŷ","Ы":"Ы","𝔜":"𝔜","𝕐":"𝕐","𝒴":"𝒴","Ÿ":"Ÿ","Ж":"Ж","Ź":"Ź","Ž":"Ž","З":"З","Ż":"Ż","​":"","Ζ":"Ζ","ℨ":"ℨ","ℤ":"ℤ","𝒵":"𝒵","á":"á","á":"á","ă":"ă","∾":"∾","∾̳":"∾̳","∿":"∿","â":"â","â":"â","´":"´","´":"´","а":"а","æ":"æ","æ":"æ","⁡":"","𝔞":"𝔞","à":"à","à":"à","ℵ":"ℵ","ℵ":"ℵ","α":"α","ā":"ā","⨿":"⨿","&":"&","&":"&","∧":"∧","⩕":"⩕","⩜":"⩜","⩘":"⩘","⩚":"⩚","∠":"∠","⦤":"⦤","∠":"∠","∡":"∡","⦨":"⦨","⦩":"⦩","⦪":"⦪","⦫":"⦫","⦬":"⦬","⦭":"⦭","⦮":"⦮","⦯":"⦯","∟":"∟","⊾":"⊾","⦝":"⦝","∢":"∢","Å":"Å","⍼":"⍼","ą":"ą","𝕒":"𝕒","≈":"≈","⩰":"⩰","⩯":"⩯","≊":"≊","≋":"≋","'":"'","≈":"≈","≊":"≊","å":"å","å":"å","𝒶":"𝒶","*":"*","≈":"≈","≍":"≍","ã":"ã","ã":"ã","ä":"ä","ä":"ä","∳":"∳","⨑":"⨑","⫭":"⫭","≌":"≌","϶":"϶","‵":"‵","∽":"∽","⋍":"⋍","⊽":"⊽","⌅":"⌅","⌅":"⌅","⎵":"⎵","⎶":"⎶","≌":"≌","б":"б","„":"„","∵":"∵","∵":"∵","⦰":"⦰","϶":"϶","ℬ":"ℬ","β":"β","ℶ":"ℶ","≬":"≬","𝔟":"𝔟","⋂":"⋂","◯":"◯","⋃":"⋃","⨀":"⨀","⨁":"⨁","⨂":"⨂","⨆":"⨆","★":"★","▽":"▽","△":"△","⨄":"⨄","⋁":"⋁","⋀":"⋀","⤍":"⤍","⧫":"⧫","▪":"▪","▴":"▴","▾":"▾","◂":"◂","▸":"▸","␣":"␣","▒":"▒","░":"░","▓":"▓","█":"█","=⃥":"=⃥","≡⃥":"≡⃥","⌐":"⌐","𝕓":"𝕓","⊥":"⊥","⊥":"⊥","⋈":"⋈","╗":"╗","╔":"╔","╖":"╖","╓":"╓","═":"═","╦":"╦","╩":"╩","╤":"╤","╧":"╧","╝":"╝","╚":"╚","╜":"╜","╙":"╙","║":"║","╬":"╬","╣":"╣","╠":"╠","╫":"╫","╢":"╢","╟":"╟","⧉":"⧉","╕":"╕","╒":"╒","┐":"┐","┌":"┌","─":"─","╥":"╥","╨":"╨","┬":"┬","┴":"┴","⊟":"⊟","⊞":"⊞","⊠":"⊠","╛":"╛","╘":"╘","┘":"┘","└":"└","│":"│","╪":"╪","╡":"╡","╞":"╞","┼":"┼","┤":"┤","├":"├","‵":"‵","˘":"˘","¦":"¦","¦":"¦","𝒷":"𝒷","⁏":"⁏","∽":"∽","⋍":"⋍","\":"\\","⧅":"⧅","⟈":"⟈","•":"•","•":"•","≎":"≎","⪮":"⪮","≏":"≏","≏":"≏","ć":"ć","∩":"∩","⩄":"⩄","⩉":"⩉","⩋":"⩋","⩇":"⩇","⩀":"⩀","∩︀":"∩︀","⁁":"⁁","ˇ":"ˇ","⩍":"⩍","č":"č","ç":"ç","ç":"ç","ĉ":"ĉ","⩌":"⩌","⩐":"⩐","ċ":"ċ","¸":"¸","¸":"¸","⦲":"⦲","¢":"¢","¢":"¢","·":"·","𝔠":"𝔠","ч":"ч","✓":"✓","✓":"✓","χ":"χ","○":"○","⧃":"⧃","ˆ":"ˆ","≗":"≗","↺":"↺","↻":"↻","®":"®","Ⓢ":"Ⓢ","⊛":"⊛","⊚":"⊚","⊝":"⊝","≗":"≗","⨐":"⨐","⫯":"⫯","⧂":"⧂","♣":"♣","♣":"♣",":":":","≔":"≔","≔":"≔",",":",","@":"@","∁":"∁","∘":"∘","∁":"∁","ℂ":"ℂ","≅":"≅","⩭":"⩭","∮":"∮","𝕔":"𝕔","∐":"∐","©":"©","©":"©","℗":"℗","↵":"↵","✗":"✗","𝒸":"𝒸","⫏":"⫏","⫑":"⫑","⫐":"⫐","⫒":"⫒","⋯":"⋯","⤸":"⤸","⤵":"⤵","⋞":"⋞","⋟":"⋟","↶":"↶","⤽":"⤽","∪":"∪","⩈":"⩈","⩆":"⩆","⩊":"⩊","⊍":"⊍","⩅":"⩅","∪︀":"∪︀","↷":"↷","⤼":"⤼","⋞":"⋞","⋟":"⋟","⋎":"⋎","⋏":"⋏","¤":"¤","¤":"¤","↶":"↶","↷":"↷","⋎":"⋎","⋏":"⋏","∲":"∲","∱":"∱","⌭":"⌭","⇓":"⇓","⥥":"⥥","†":"†","ℸ":"ℸ","↓":"↓","‐":"‐","⊣":"⊣","⤏":"⤏","˝":"˝","ď":"ď","д":"д","ⅆ":"ⅆ","‡":"‡","⇊":"⇊","⩷":"⩷","°":"°","°":"°","δ":"δ","⦱":"⦱","⥿":"⥿","𝔡":"𝔡","⇃":"⇃","⇂":"⇂","⋄":"⋄","⋄":"⋄","♦":"♦","♦":"♦","¨":"¨","ϝ":"ϝ","⋲":"⋲","÷":"÷","÷":"÷","÷":"÷","⋇":"⋇","⋇":"⋇","ђ":"ђ","⌞":"⌞","⌍":"⌍","$":"$","𝕕":"𝕕","˙":"˙","≐":"≐","≑":"≑","∸":"∸","∔":"∔","⊡":"⊡","⌆":"⌆","↓":"↓","⇊":"⇊","⇃":"⇃","⇂":"⇂","⤐":"⤐","⌟":"⌟","⌌":"⌌","𝒹":"𝒹","ѕ":"ѕ","⧶":"⧶","đ":"đ","⋱":"⋱","▿":"▿","▾":"▾","⇵":"⇵","⥯":"⥯","⦦":"⦦","џ":"џ","⟿":"⟿","⩷":"⩷","≑":"≑","é":"é","é":"é","⩮":"⩮","ě":"ě","≖":"≖","ê":"ê","ê":"ê","≕":"≕","э":"э","ė":"ė","ⅇ":"ⅇ","≒":"≒","𝔢":"𝔢","⪚":"⪚","è":"è","è":"è","⪖":"⪖","⪘":"⪘","⪙":"⪙","⏧":"⏧","ℓ":"ℓ","⪕":"⪕","⪗":"⪗","ē":"ē","∅":"∅","∅":"∅","∅":"∅"," ":" "," ":" "," ":" ","ŋ":"ŋ"," ":" ","ę":"ę","𝕖":"𝕖","⋕":"⋕","⧣":"⧣","⩱":"⩱","ε":"ε","ε":"ε","ϵ":"ϵ","≖":"≖","≕":"≕","≂":"≂","⪖":"⪖","⪕":"⪕","=":"=","≟":"≟","≡":"≡","⩸":"⩸","⧥":"⧥","≓":"≓","⥱":"⥱","ℯ":"ℯ","≐":"≐","≂":"≂","η":"η","ð":"ð","ð":"ð","ë":"ë","ë":"ë","€":"€","!":"!","∃":"∃","ℰ":"ℰ","ⅇ":"ⅇ","≒":"≒","ф":"ф","♀":"♀","ffi":"ffi","ff":"ff","ffl":"ffl","𝔣":"𝔣","fi":"fi","fj":"fj","♭":"♭","fl":"fl","▱":"▱","ƒ":"ƒ","𝕗":"𝕗","∀":"∀","⋔":"⋔","⫙":"⫙","⨍":"⨍","½":"½","½":"½","⅓":"⅓","¼":"¼","¼":"¼","⅕":"⅕","⅙":"⅙","⅛":"⅛","⅔":"⅔","⅖":"⅖","¾":"¾","¾":"¾","⅗":"⅗","⅜":"⅜","⅘":"⅘","⅚":"⅚","⅝":"⅝","⅞":"⅞","⁄":"⁄","⌢":"⌢","𝒻":"𝒻","≧":"≧","⪌":"⪌","ǵ":"ǵ","γ":"γ","ϝ":"ϝ","⪆":"⪆","ğ":"ğ","ĝ":"ĝ","г":"г","ġ":"ġ","≥":"≥","⋛":"⋛","≥":"≥","≧":"≧","⩾":"⩾","⩾":"⩾","⪩":"⪩","⪀":"⪀","⪂":"⪂","⪄":"⪄","⋛︀":"⋛︀","⪔":"⪔","𝔤":"𝔤","≫":"≫","⋙":"⋙","ℷ":"ℷ","ѓ":"ѓ","≷":"≷","⪒":"⪒","⪥":"⪥","⪤":"⪤","≩":"≩","⪊":"⪊","⪊":"⪊","⪈":"⪈","⪈":"⪈","≩":"≩","⋧":"⋧","𝕘":"𝕘","`":"`","ℊ":"ℊ","≳":"≳","⪎":"⪎","⪐":"⪐",">":">",">":">","⪧":"⪧","⩺":"⩺","⋗":"⋗","⦕":"⦕","⩼":"⩼","⪆":"⪆","⥸":"⥸","⋗":"⋗","⋛":"⋛","⪌":"⪌","≷":"≷","≳":"≳","≩︀":"≩︀","≩︀":"≩︀","⇔":"⇔"," ":" ","½":"½","ℋ":"ℋ","ъ":"ъ","↔":"↔","⥈":"⥈","↭":"↭","ℏ":"ℏ","ĥ":"ĥ","♥":"♥","♥":"♥","…":"…","⊹":"⊹","𝔥":"𝔥","⤥":"⤥","⤦":"⤦","⇿":"⇿","∻":"∻","↩":"↩","↪":"↪","𝕙":"𝕙","―":"―","𝒽":"𝒽","ℏ":"ℏ","ħ":"ħ","⁃":"⁃","‐":"‐","í":"í","í":"í","⁣":"","î":"î","î":"î","и":"и","е":"е","¡":"¡","¡":"¡","⇔":"⇔","𝔦":"𝔦","ì":"ì","ì":"ì","ⅈ":"ⅈ","⨌":"⨌","∭":"∭","⧜":"⧜","℩":"℩","ij":"ij","ī":"ī","ℑ":"ℑ","ℐ":"ℐ","ℑ":"ℑ","ı":"ı","⊷":"⊷","Ƶ":"Ƶ","∈":"∈","℅":"℅","∞":"∞","⧝":"⧝","ı":"ı","∫":"∫","⊺":"⊺","ℤ":"ℤ","⊺":"⊺","⨗":"⨗","⨼":"⨼","ё":"ё","į":"į","𝕚":"𝕚","ι":"ι","⨼":"⨼","¿":"¿","¿":"¿","𝒾":"𝒾","∈":"∈","⋹":"⋹","⋵":"⋵","⋴":"⋴","⋳":"⋳","∈":"∈","⁢":"","ĩ":"ĩ","і":"і","ï":"ï","ï":"ï","ĵ":"ĵ","й":"й","𝔧":"𝔧","ȷ":"ȷ","𝕛":"𝕛","𝒿":"𝒿","ј":"ј","є":"є","κ":"κ","ϰ":"ϰ","ķ":"ķ","к":"к","𝔨":"𝔨","ĸ":"ĸ","х":"х","ќ":"ќ","𝕜":"𝕜","𝓀":"𝓀","⇚":"⇚","⇐":"⇐","⤛":"⤛","⤎":"⤎","≦":"≦","⪋":"⪋","⥢":"⥢","ĺ":"ĺ","⦴":"⦴","ℒ":"ℒ","λ":"λ","⟨":"⟨","⦑":"⦑","⟨":"⟨","⪅":"⪅","«":"«","«":"«","←":"←","⇤":"⇤","⤟":"⤟","⤝":"⤝","↩":"↩","↫":"↫","⤹":"⤹","⥳":"⥳","↢":"↢","⪫":"⪫","⤙":"⤙","⪭":"⪭","⪭︀":"⪭︀","⤌":"⤌","❲":"❲","{":"{","[":"[","⦋":"⦋","⦏":"⦏","⦍":"⦍","ľ":"ľ","ļ":"ļ","⌈":"⌈","{":"{","л":"л","⤶":"⤶","“":"“","„":"„","⥧":"⥧","⥋":"⥋","↲":"↲","≤":"≤","←":"←","↢":"↢","↽":"↽","↼":"↼","⇇":"⇇","↔":"↔","⇆":"⇆","⇋":"⇋","↭":"↭","⋋":"⋋","⋚":"⋚","≤":"≤","≦":"≦","⩽":"⩽","⩽":"⩽","⪨":"⪨","⩿":"⩿","⪁":"⪁","⪃":"⪃","⋚︀":"⋚︀","⪓":"⪓","⪅":"⪅","⋖":"⋖","⋚":"⋚","⪋":"⪋","≶":"≶","≲":"≲","⥼":"⥼","⌊":"⌊","𝔩":"𝔩","≶":"≶","⪑":"⪑","↽":"↽","↼":"↼","⥪":"⥪","▄":"▄","љ":"љ","≪":"≪","⇇":"⇇","⌞":"⌞","⥫":"⥫","◺":"◺","ŀ":"ŀ","⎰":"⎰","⎰":"⎰","≨":"≨","⪉":"⪉","⪉":"⪉","⪇":"⪇","⪇":"⪇","≨":"≨","⋦":"⋦","⟬":"⟬","⇽":"⇽","⟦":"⟦","⟵":"⟵","⟷":"⟷","⟼":"⟼","⟶":"⟶","↫":"↫","↬":"↬","⦅":"⦅","𝕝":"𝕝","⨭":"⨭","⨴":"⨴","∗":"∗","_":"_","◊":"◊","◊":"◊","⧫":"⧫","(":"(","⦓":"⦓","⇆":"⇆","⌟":"⌟","⇋":"⇋","⥭":"⥭","‎":"","⊿":"⊿","‹":"‹","𝓁":"𝓁","↰":"↰","≲":"≲","⪍":"⪍","⪏":"⪏","[":"[","‘":"‘","‚":"‚","ł":"ł","<":"<","<":"<","⪦":"⪦","⩹":"⩹","⋖":"⋖","⋋":"⋋","⋉":"⋉","⥶":"⥶","⩻":"⩻","⦖":"⦖","◃":"◃","⊴":"⊴","◂":"◂","⥊":"⥊","⥦":"⥦","≨︀":"≨︀","≨︀":"≨︀","∺":"∺","¯":"¯","¯":"¯","♂":"♂","✠":"✠","✠":"✠","↦":"↦","↦":"↦","↧":"↧","↤":"↤","↥":"↥","▮":"▮","⨩":"⨩","м":"м","—":"—","∡":"∡","𝔪":"𝔪","℧":"℧","µ":"µ","µ":"µ","∣":"∣","*":"*","⫰":"⫰","·":"·","·":"·","−":"−","⊟":"⊟","∸":"∸","⨪":"⨪","⫛":"⫛","…":"…","∓":"∓","⊧":"⊧","𝕞":"𝕞","∓":"∓","𝓂":"𝓂","∾":"∾","μ":"μ","⊸":"⊸","⊸":"⊸","⋙̸":"⋙̸","≫⃒":"≫⃒","≫̸":"≫̸","⇍":"⇍","⇎":"⇎","⋘̸":"⋘̸","≪⃒":"≪⃒","≪̸":"≪̸","⇏":"⇏","⊯":"⊯","⊮":"⊮","∇":"∇","ń":"ń","∠⃒":"∠⃒","≉":"≉","⩰̸":"⩰̸","≋̸":"≋̸","ʼn":"ʼn","≉":"≉","♮":"♮","♮":"♮","ℕ":"ℕ"," ":" "," ":" ","≎̸":"≎̸","≏̸":"≏̸","⩃":"⩃","ň":"ň","ņ":"ņ","≇":"≇","⩭̸":"⩭̸","⩂":"⩂","н":"н","–":"–","≠":"≠","⇗":"⇗","⤤":"⤤","↗":"↗","↗":"↗","≐̸":"≐̸","≢":"≢","⤨":"⤨","≂̸":"≂̸","∄":"∄","∄":"∄","𝔫":"𝔫","≧̸":"≧̸","≱":"≱","≱":"≱","≧̸":"≧̸","⩾̸":"⩾̸","⩾̸":"⩾̸","≵":"≵","≯":"≯","≯":"≯","⇎":"⇎","↮":"↮","⫲":"⫲","∋":"∋","⋼":"⋼","⋺":"⋺","∋":"∋","њ":"њ","⇍":"⇍","≦̸":"≦̸","↚":"↚","‥":"‥","≰":"≰","↚":"↚","↮":"↮","≰":"≰","≦̸":"≦̸","⩽̸":"⩽̸","⩽̸":"⩽̸","≮":"≮","≴":"≴","≮":"≮","⋪":"⋪","⋬":"⋬","∤":"∤","𝕟":"𝕟","¬":"¬","¬":"¬","∉":"∉","⋹̸":"⋹̸","⋵̸":"⋵̸","∉":"∉","⋷":"⋷","⋶":"⋶","∌":"∌","∌":"∌","⋾":"⋾","⋽":"⋽","∦":"∦","∦":"∦","⫽⃥":"⫽⃥","∂̸":"∂̸","⨔":"⨔","⊀":"⊀","⋠":"⋠","⪯̸":"⪯̸","⊀":"⊀","⪯̸":"⪯̸","⇏":"⇏","↛":"↛","⤳̸":"⤳̸","↝̸":"↝̸","↛":"↛","⋫":"⋫","⋭":"⋭","⊁":"⊁","⋡":"⋡","⪰̸":"⪰̸","𝓃":"𝓃","∤":"∤","∦":"∦","≁":"≁","≄":"≄","≄":"≄","∤":"∤","∦":"∦","⋢":"⋢","⋣":"⋣","⊄":"⊄","⫅̸":"⫅̸","⊈":"⊈","⊂⃒":"⊂⃒","⊈":"⊈","⫅̸":"⫅̸","⊁":"⊁","⪰̸":"⪰̸","⊅":"⊅","⫆̸":"⫆̸","⊉":"⊉","⊃⃒":"⊃⃒","⊉":"⊉","⫆̸":"⫆̸","≹":"≹","ñ":"ñ","ñ":"ñ","≸":"≸","⋪":"⋪","⋬":"⋬","⋫":"⋫","⋭":"⋭","ν":"ν","#":"#","№":"№"," ":" ","⊭":"⊭","⤄":"⤄","≍⃒":"≍⃒","⊬":"⊬","≥⃒":"≥⃒",">⃒":">⃒","⧞":"⧞","⤂":"⤂","≤⃒":"≤⃒","<⃒":"<⃒","⊴⃒":"⊴⃒","⤃":"⤃","⊵⃒":"⊵⃒","∼⃒":"∼⃒","⇖":"⇖","⤣":"⤣","↖":"↖","↖":"↖","⤧":"⤧","Ⓢ":"Ⓢ","ó":"ó","ó":"ó","⊛":"⊛","⊚":"⊚","ô":"ô","ô":"ô","о":"о","⊝":"⊝","ő":"ő","⨸":"⨸","⊙":"⊙","⦼":"⦼","œ":"œ","⦿":"⦿","𝔬":"𝔬","˛":"˛","ò":"ò","ò":"ò","⧁":"⧁","⦵":"⦵","Ω":"Ω","∮":"∮","↺":"↺","⦾":"⦾","⦻":"⦻","‾":"‾","⧀":"⧀","ō":"ō","ω":"ω","ο":"ο","⦶":"⦶","⊖":"⊖","𝕠":"𝕠","⦷":"⦷","⦹":"⦹","⊕":"⊕","∨":"∨","↻":"↻","⩝":"⩝","ℴ":"ℴ","ℴ":"ℴ","ª":"ª","ª":"ª","º":"º","º":"º","⊶":"⊶","⩖":"⩖","⩗":"⩗","⩛":"⩛","ℴ":"ℴ","ø":"ø","ø":"ø","⊘":"⊘","õ":"õ","õ":"õ","⊗":"⊗","⨶":"⨶","ö":"ö","ö":"ö","⌽":"⌽","∥":"∥","¶":"¶","¶":"¶","∥":"∥","⫳":"⫳","⫽":"⫽","∂":"∂","п":"п","%":"%",".":".","‰":"‰","⊥":"⊥","‱":"‱","𝔭":"𝔭","φ":"φ","ϕ":"ϕ","ℳ":"ℳ","☎":"☎","π":"π","⋔":"⋔","ϖ":"ϖ","ℏ":"ℏ","ℎ":"ℎ","ℏ":"ℏ","+":"+","⨣":"⨣","⊞":"⊞","⨢":"⨢","∔":"∔","⨥":"⨥","⩲":"⩲","±":"±","±":"±","⨦":"⨦","⨧":"⨧","±":"±","⨕":"⨕","𝕡":"𝕡","£":"£","£":"£","≺":"≺","⪳":"⪳","⪷":"⪷","≼":"≼","⪯":"⪯","≺":"≺","⪷":"⪷","≼":"≼","⪯":"⪯","⪹":"⪹","⪵":"⪵","⋨":"⋨","≾":"≾","′":"′","ℙ":"ℙ","⪵":"⪵","⪹":"⪹","⋨":"⋨","∏":"∏","⌮":"⌮","⌒":"⌒","⌓":"⌓","∝":"∝","∝":"∝","≾":"≾","⊰":"⊰","𝓅":"𝓅","ψ":"ψ"," ":" ","𝔮":"𝔮","⨌":"⨌","𝕢":"𝕢","⁗":"⁗","𝓆":"𝓆","ℍ":"ℍ","⨖":"⨖","?":"?","≟":"≟",""":'"',""":'"',"⇛":"⇛","⇒":"⇒","⤜":"⤜","⤏":"⤏","⥤":"⥤","∽̱":"∽̱","ŕ":"ŕ","√":"√","⦳":"⦳","⟩":"⟩","⦒":"⦒","⦥":"⦥","⟩":"⟩","»":"»","»":"»","→":"→","⥵":"⥵","⇥":"⇥","⤠":"⤠","⤳":"⤳","⤞":"⤞","↪":"↪","↬":"↬","⥅":"⥅","⥴":"⥴","↣":"↣","↝":"↝","⤚":"⤚","∶":"∶","ℚ":"ℚ","⤍":"⤍","❳":"❳","}":"}","]":"]","⦌":"⦌","⦎":"⦎","⦐":"⦐","ř":"ř","ŗ":"ŗ","⌉":"⌉","}":"}","р":"р","⤷":"⤷","⥩":"⥩","”":"”","”":"”","↳":"↳","ℜ":"ℜ","ℛ":"ℛ","ℜ":"ℜ","ℝ":"ℝ","▭":"▭","®":"®","®":"®","⥽":"⥽","⌋":"⌋","𝔯":"𝔯","⇁":"⇁","⇀":"⇀","⥬":"⥬","ρ":"ρ","ϱ":"ϱ","→":"→","↣":"↣","⇁":"⇁","⇀":"⇀","⇄":"⇄","⇌":"⇌","⇉":"⇉","↝":"↝","⋌":"⋌","˚":"˚","≓":"≓","⇄":"⇄","⇌":"⇌","‏":"","⎱":"⎱","⎱":"⎱","⫮":"⫮","⟭":"⟭","⇾":"⇾","⟧":"⟧","⦆":"⦆","𝕣":"𝕣","⨮":"⨮","⨵":"⨵",")":")","⦔":"⦔","⨒":"⨒","⇉":"⇉","›":"›","𝓇":"𝓇","↱":"↱","]":"]","’":"’","’":"’","⋌":"⋌","⋊":"⋊","▹":"▹","⊵":"⊵","▸":"▸","⧎":"⧎","⥨":"⥨","℞":"℞","ś":"ś","‚":"‚","≻":"≻","⪴":"⪴","⪸":"⪸","š":"š","≽":"≽","⪰":"⪰","ş":"ş","ŝ":"ŝ","⪶":"⪶","⪺":"⪺","⋩":"⋩","⨓":"⨓","≿":"≿","с":"с","⋅":"⋅","⊡":"⊡","⩦":"⩦","⇘":"⇘","⤥":"⤥","↘":"↘","↘":"↘","§":"§","§":"§",";":";","⤩":"⤩","∖":"∖","∖":"∖","✶":"✶","𝔰":"𝔰","⌢":"⌢","♯":"♯","щ":"щ","ш":"ш","∣":"∣","∥":"∥","­":"","­":"","σ":"σ","ς":"ς","ς":"ς","∼":"∼","⩪":"⩪","≃":"≃","≃":"≃","⪞":"⪞","⪠":"⪠","⪝":"⪝","⪟":"⪟","≆":"≆","⨤":"⨤","⥲":"⥲","←":"←","∖":"∖","⨳":"⨳","⧤":"⧤","∣":"∣","⌣":"⌣","⪪":"⪪","⪬":"⪬","⪬︀":"⪬︀","ь":"ь","/":"/","⧄":"⧄","⌿":"⌿","𝕤":"𝕤","♠":"♠","♠":"♠","∥":"∥","⊓":"⊓","⊓︀":"⊓︀","⊔":"⊔","⊔︀":"⊔︀","⊏":"⊏","⊑":"⊑","⊏":"⊏","⊑":"⊑","⊐":"⊐","⊒":"⊒","⊐":"⊐","⊒":"⊒","□":"□","□":"□","▪":"▪","▪":"▪","→":"→","𝓈":"𝓈","∖":"∖","⌣":"⌣","⋆":"⋆","☆":"☆","★":"★","ϵ":"ϵ","ϕ":"ϕ","¯":"¯","⊂":"⊂","⫅":"⫅","⪽":"⪽","⊆":"⊆","⫃":"⫃","⫁":"⫁","⫋":"⫋","⊊":"⊊","⪿":"⪿","⥹":"⥹","⊂":"⊂","⊆":"⊆","⫅":"⫅","⊊":"⊊","⫋":"⫋","⫇":"⫇","⫕":"⫕","⫓":"⫓","≻":"≻","⪸":"⪸","≽":"≽","⪰":"⪰","⪺":"⪺","⪶":"⪶","⋩":"⋩","≿":"≿","∑":"∑","♪":"♪","¹":"¹","¹":"¹","²":"²","²":"²","³":"³","³":"³","⊃":"⊃","⫆":"⫆","⪾":"⪾","⫘":"⫘","⊇":"⊇","⫄":"⫄","⟉":"⟉","⫗":"⫗","⥻":"⥻","⫂":"⫂","⫌":"⫌","⊋":"⊋","⫀":"⫀","⊃":"⊃","⊇":"⊇","⫆":"⫆","⊋":"⊋","⫌":"⫌","⫈":"⫈","⫔":"⫔","⫖":"⫖","⇙":"⇙","⤦":"⤦","↙":"↙","↙":"↙","⤪":"⤪","ß":"ß","ß":"ß","⌖":"⌖","τ":"τ","⎴":"⎴","ť":"ť","ţ":"ţ","т":"т","⃛":"⃛","⌕":"⌕","𝔱":"𝔱","∴":"∴","∴":"∴","θ":"θ","ϑ":"ϑ","ϑ":"ϑ","≈":"≈","∼":"∼"," ":" ","≈":"≈","∼":"∼","þ":"þ","þ":"þ","˜":"˜","×":"×","×":"×","⊠":"⊠","⨱":"⨱","⨰":"⨰","∭":"∭","⤨":"⤨","⊤":"⊤","⌶":"⌶","⫱":"⫱","𝕥":"𝕥","⫚":"⫚","⤩":"⤩","‴":"‴","™":"™","▵":"▵","▿":"▿","◃":"◃","⊴":"⊴","≜":"≜","▹":"▹","⊵":"⊵","◬":"◬","≜":"≜","⨺":"⨺","⨹":"⨹","⧍":"⧍","⨻":"⨻","⏢":"⏢","𝓉":"𝓉","ц":"ц","ћ":"ћ","ŧ":"ŧ","≬":"≬","↞":"↞","↠":"↠","⇑":"⇑","⥣":"⥣","ú":"ú","ú":"ú","↑":"↑","ў":"ў","ŭ":"ŭ","û":"û","û":"û","у":"у","⇅":"⇅","ű":"ű","⥮":"⥮","⥾":"⥾","𝔲":"𝔲","ù":"ù","ù":"ù","↿":"↿","↾":"↾","▀":"▀","⌜":"⌜","⌜":"⌜","⌏":"⌏","◸":"◸","ū":"ū","¨":"¨","¨":"¨","ų":"ų","𝕦":"𝕦","↑":"↑","↕":"↕","↿":"↿","↾":"↾","⊎":"⊎","υ":"υ","ϒ":"ϒ","υ":"υ","⇈":"⇈","⌝":"⌝","⌝":"⌝","⌎":"⌎","ů":"ů","◹":"◹","𝓊":"𝓊","⋰":"⋰","ũ":"ũ","▵":"▵","▴":"▴","⇈":"⇈","ü":"ü","ü":"ü","⦧":"⦧","⇕":"⇕","⫨":"⫨","⫩":"⫩","⊨":"⊨","⦜":"⦜","ϵ":"ϵ","ϰ":"ϰ","∅":"∅","ϕ":"ϕ","ϖ":"ϖ","∝":"∝","↕":"↕","ϱ":"ϱ","ς":"ς","⊊︀":"⊊︀","⫋︀":"⫋︀","⊋︀":"⊋︀","⫌︀":"⫌︀","ϑ":"ϑ","⊲":"⊲","⊳":"⊳","в":"в","⊢":"⊢","∨":"∨","⊻":"⊻","≚":"≚","⋮":"⋮","|":"|","|":"|","𝔳":"𝔳","⊲":"⊲","⊂⃒":"⊂⃒","⊃⃒":"⊃⃒","𝕧":"𝕧","∝":"∝","⊳":"⊳","𝓋":"𝓋","⫋︀":"⫋︀","⊊︀":"⊊︀","⫌︀":"⫌︀","⊋︀":"⊋︀","⦚":"⦚","ŵ":"ŵ","⩟":"⩟","∧":"∧","≙":"≙","℘":"℘","𝔴":"𝔴","𝕨":"𝕨","℘":"℘","≀":"≀","≀":"≀","𝓌":"𝓌","⋂":"⋂","◯":"◯","⋃":"⋃","▽":"▽","𝔵":"𝔵","⟺":"⟺","⟷":"⟷","ξ":"ξ","⟸":"⟸","⟵":"⟵","⟼":"⟼","⋻":"⋻","⨀":"⨀","𝕩":"𝕩","⨁":"⨁","⨂":"⨂","⟹":"⟹","⟶":"⟶","𝓍":"𝓍","⨆":"⨆","⨄":"⨄","△":"△","⋁":"⋁","⋀":"⋀","ý":"ý","ý":"ý","я":"я","ŷ":"ŷ","ы":"ы","¥":"¥","¥":"¥","𝔶":"𝔶","ї":"ї","𝕪":"𝕪","𝓎":"𝓎","ю":"ю","ÿ":"ÿ","ÿ":"ÿ","ź":"ź","ž":"ž","з":"з","ż":"ż","ℨ":"ℨ","ζ":"ζ","𝔷":"𝔷","ж":"ж","⇝":"⇝","𝕫":"𝕫","𝓏":"𝓏","‍":"","‌":""},characters:{Æ:"Æ","&":"&",Á:"Á",Ă:"Ă",Â:"Â",А:"А",𝔄:"𝔄",À:"À",Α:"Α",Ā:"Ā","⩓":"⩓",Ą:"Ą",𝔸:"𝔸","":"⁡",Å:"Å",𝒜:"𝒜","≔":"≔",Ã:"Ã",Ä:"Ä","∖":"∖","⫧":"⫧","⌆":"⌆",Б:"Б","∵":"∵",ℬ:"ℬ",Β:"Β",𝔅:"𝔅",𝔹:"𝔹","˘":"˘","≎":"≎",Ч:"Ч","©":"©",Ć:"Ć","⋒":"⋒",ⅅ:"ⅅ",ℭ:"ℭ",Č:"Č",Ç:"Ç",Ĉ:"Ĉ","∰":"∰",Ċ:"Ċ","¸":"¸","·":"·",Χ:"Χ","⊙":"⊙","⊖":"⊖","⊕":"⊕","⊗":"⊗","∲":"∲","”":"”","’":"’","∷":"∷","⩴":"⩴","≡":"≡","∯":"∯","∮":"∮",ℂ:"ℂ","∐":"∐","∳":"∳","⨯":"⨯",𝒞:"𝒞","⋓":"⋓","≍":"≍","⤑":"⤑",Ђ:"Ђ",Ѕ:"Ѕ",Џ:"Џ","‡":"‡","↡":"↡","⫤":"⫤",Ď:"Ď",Д:"Д","∇":"∇",Δ:"Δ",𝔇:"𝔇","´":"´","˙":"˙","˝":"˝","`":"`","˜":"˜","⋄":"⋄",ⅆ:"ⅆ",𝔻:"𝔻","¨":"¨","⃜":"⃜","≐":"≐","⇓":"⇓","⇐":"⇐","⇔":"⇔","⟸":"⟸","⟺":"⟺","⟹":"⟹","⇒":"⇒","⊨":"⊨","⇑":"⇑","⇕":"⇕","∥":"∥","↓":"↓","⤓":"⤓","⇵":"⇵","̑":"̑","⥐":"⥐","⥞":"⥞","↽":"↽","⥖":"⥖","⥟":"⥟","⇁":"⇁","⥗":"⥗","⊤":"⊤","↧":"↧",𝒟:"𝒟",Đ:"Đ",Ŋ:"Ŋ",Ð:"Ð",É:"É",Ě:"Ě",Ê:"Ê",Э:"Э",Ė:"Ė",𝔈:"𝔈",È:"È","∈":"∈",Ē:"Ē","◻":"◻","▫":"▫",Ę:"Ę",𝔼:"𝔼",Ε:"Ε","⩵":"⩵","≂":"≂","⇌":"⇌",ℰ:"ℰ","⩳":"⩳",Η:"Η",Ë:"Ë","∃":"∃",ⅇ:"ⅇ",Ф:"Ф",𝔉:"𝔉","◼":"◼","▪":"▪",𝔽:"𝔽","∀":"∀",ℱ:"ℱ",Ѓ:"Ѓ",">":">",Γ:"Γ",Ϝ:"Ϝ",Ğ:"Ğ",Ģ:"Ģ",Ĝ:"Ĝ",Г:"Г",Ġ:"Ġ",𝔊:"𝔊","⋙":"⋙",𝔾:"𝔾","≥":"≥","⋛":"⋛","≧":"≧","⪢":"⪢","≷":"≷","⩾":"⩾","≳":"≳",𝒢:"𝒢","≫":"≫",Ъ:"Ъ",ˇ:"ˇ","^":"^",Ĥ:"Ĥ",ℌ:"ℌ",ℋ:"ℋ",ℍ:"ℍ","─":"─",Ħ:"Ħ","≏":"≏",Е:"Е",IJ:"IJ",Ё:"Ё",Í:"Í",Î:"Î",И:"И",İ:"İ",ℑ:"ℑ",Ì:"Ì",Ī:"Ī",ⅈ:"ⅈ","∬":"∬","∫":"∫","⋂":"⋂","":"⁣","":"⁢",Į:"Į",𝕀:"𝕀",Ι:"Ι",ℐ:"ℐ",Ĩ:"Ĩ",І:"І",Ï:"Ï",Ĵ:"Ĵ",Й:"Й",𝔍:"𝔍",𝕁:"𝕁",𝒥:"𝒥",Ј:"Ј",Є:"Є",Х:"Х",Ќ:"Ќ",Κ:"Κ",Ķ:"Ķ",К:"К",𝔎:"𝔎",𝕂:"𝕂",𝒦:"𝒦",Љ:"Љ","<":"<",Ĺ:"Ĺ",Λ:"Λ","⟪":"⟪",ℒ:"ℒ","↞":"↞",Ľ:"Ľ",Ļ:"Ļ",Л:"Л","⟨":"⟨","←":"←","⇤":"⇤","⇆":"⇆","⌈":"⌈","⟦":"⟦","⥡":"⥡","⇃":"⇃","⥙":"⥙","⌊":"⌊","↔":"↔","⥎":"⥎","⊣":"⊣","↤":"↤","⥚":"⥚","⊲":"⊲","⧏":"⧏","⊴":"⊴","⥑":"⥑","⥠":"⥠","↿":"↿","⥘":"⥘","↼":"↼","⥒":"⥒","⋚":"⋚","≦":"≦","≶":"≶","⪡":"⪡","⩽":"⩽","≲":"≲",𝔏:"𝔏","⋘":"⋘","⇚":"⇚",Ŀ:"Ŀ","⟵":"⟵","⟷":"⟷","⟶":"⟶",𝕃:"𝕃","↙":"↙","↘":"↘","↰":"↰",Ł:"Ł","≪":"≪","⤅":"⤅",М:"М"," ":" ",ℳ:"ℳ",𝔐:"𝔐","∓":"∓",𝕄:"𝕄",Μ:"Μ",Њ:"Њ",Ń:"Ń",Ň:"Ň",Ņ:"Ņ",Н:"Н","":"​","\n":"
",𝔑:"𝔑","":"⁠"," ":" ",ℕ:"ℕ","⫬":"⫬","≢":"≢","≭":"≭","∦":"∦","∉":"∉","≠":"≠","≂̸":"≂̸","∄":"∄","≯":"≯","≱":"≱","≧̸":"≧̸","≫̸":"≫̸","≹":"≹","⩾̸":"⩾̸","≵":"≵","≎̸":"≎̸","≏̸":"≏̸","⋪":"⋪","⧏̸":"⧏̸","⋬":"⋬","≮":"≮","≰":"≰","≸":"≸","≪̸":"≪̸","⩽̸":"⩽̸","≴":"≴","⪢̸":"⪢̸","⪡̸":"⪡̸","⊀":"⊀","⪯̸":"⪯̸","⋠":"⋠","∌":"∌","⋫":"⋫","⧐̸":"⧐̸","⋭":"⋭","⊏̸":"⊏̸","⋢":"⋢","⊐̸":"⊐̸","⋣":"⋣","⊂⃒":"⊂⃒","⊈":"⊈","⊁":"⊁","⪰̸":"⪰̸","⋡":"⋡","≿̸":"≿̸","⊃⃒":"⊃⃒","⊉":"⊉","≁":"≁","≄":"≄","≇":"≇","≉":"≉","∤":"∤",𝒩:"𝒩",Ñ:"Ñ",Ν:"Ν",Œ:"Œ",Ó:"Ó",Ô:"Ô",О:"О",Ő:"Ő",𝔒:"𝔒",Ò:"Ò",Ō:"Ō",Ω:"Ω",Ο:"Ο",𝕆:"𝕆","“":"“","‘":"‘","⩔":"⩔",𝒪:"𝒪",Ø:"Ø",Õ:"Õ","⨷":"⨷",Ö:"Ö","‾":"‾","⏞":"⏞","⎴":"⎴","⏜":"⏜","∂":"∂",П:"П",𝔓:"𝔓",Φ:"Φ",Π:"Π","±":"±",ℙ:"ℙ","⪻":"⪻","≺":"≺","⪯":"⪯","≼":"≼","≾":"≾","″":"″","∏":"∏","∝":"∝",𝒫:"𝒫",Ψ:"Ψ",'"':""",𝔔:"𝔔",ℚ:"ℚ",𝒬:"𝒬","⤐":"⤐","®":"®",Ŕ:"Ŕ","⟫":"⟫","↠":"↠","⤖":"⤖",Ř:"Ř",Ŗ:"Ŗ",Р:"Р",ℜ:"ℜ","∋":"∋","⇋":"⇋","⥯":"⥯",Ρ:"Ρ","⟩":"⟩","→":"→","⇥":"⇥","⇄":"⇄","⌉":"⌉","⟧":"⟧","⥝":"⥝","⇂":"⇂","⥕":"⥕","⌋":"⌋","⊢":"⊢","↦":"↦","⥛":"⥛","⊳":"⊳","⧐":"⧐","⊵":"⊵","⥏":"⥏","⥜":"⥜","↾":"↾","⥔":"⥔","⇀":"⇀","⥓":"⥓",ℝ:"ℝ","⥰":"⥰","⇛":"⇛",ℛ:"ℛ","↱":"↱","⧴":"⧴",Щ:"Щ",Ш:"Ш",Ь:"Ь",Ś:"Ś","⪼":"⪼",Š:"Š",Ş:"Ş",Ŝ:"Ŝ",С:"С",𝔖:"𝔖","↑":"↑",Σ:"Σ","∘":"∘",𝕊:"𝕊","√":"√","□":"□","⊓":"⊓","⊏":"⊏","⊑":"⊑","⊐":"⊐","⊒":"⊒","⊔":"⊔",𝒮:"𝒮","⋆":"⋆","⋐":"⋐","⊆":"⊆","≻":"≻","⪰":"⪰","≽":"≽","≿":"≿","∑":"∑","⋑":"⋑","⊃":"⊃","⊇":"⊇",Þ:"Þ","™":"™",Ћ:"Ћ",Ц:"Ц","\t":"	",Τ:"Τ",Ť:"Ť",Ţ:"Ţ",Т:"Т",𝔗:"𝔗","∴":"∴",Θ:"Θ"," ":"  "," ":" ","∼":"∼","≃":"≃","≅":"≅","≈":"≈",𝕋:"𝕋","⃛":"⃛",𝒯:"𝒯",Ŧ:"Ŧ",Ú:"Ú","↟":"↟","⥉":"⥉",Ў:"Ў",Ŭ:"Ŭ",Û:"Û",У:"У",Ű:"Ű",𝔘:"𝔘",Ù:"Ù",Ū:"Ū",_:"_","⏟":"⏟","⎵":"⎵","⏝":"⏝","⋃":"⋃","⊎":"⊎",Ų:"Ų",𝕌:"𝕌","⤒":"⤒","⇅":"⇅","↕":"↕","⥮":"⥮","⊥":"⊥","↥":"↥","↖":"↖","↗":"↗",ϒ:"ϒ",Υ:"Υ",Ů:"Ů",𝒰:"𝒰",Ũ:"Ũ",Ü:"Ü","⊫":"⊫","⫫":"⫫",В:"В","⊩":"⊩","⫦":"⫦","⋁":"⋁","‖":"‖","∣":"∣","|":"|","❘":"❘","≀":"≀"," ":" ",𝔙:"𝔙",𝕍:"𝕍",𝒱:"𝒱","⊪":"⊪",Ŵ:"Ŵ","⋀":"⋀",𝔚:"𝔚",𝕎:"𝕎",𝒲:"𝒲",𝔛:"𝔛",Ξ:"Ξ",𝕏:"𝕏",𝒳:"𝒳",Я:"Я",Ї:"Ї",Ю:"Ю",Ý:"Ý",Ŷ:"Ŷ",Ы:"Ы",𝔜:"𝔜",𝕐:"𝕐",𝒴:"𝒴",Ÿ:"Ÿ",Ж:"Ж",Ź:"Ź",Ž:"Ž",З:"З",Ż:"Ż",Ζ:"Ζ",ℨ:"ℨ",ℤ:"ℤ",𝒵:"𝒵",á:"á",ă:"ă","∾":"∾","∾̳":"∾̳","∿":"∿",â:"â",а:"а",æ:"æ",𝔞:"𝔞",à:"à",ℵ:"ℵ",α:"α",ā:"ā","⨿":"⨿","∧":"∧","⩕":"⩕","⩜":"⩜","⩘":"⩘","⩚":"⩚","∠":"∠","⦤":"⦤","∡":"∡","⦨":"⦨","⦩":"⦩","⦪":"⦪","⦫":"⦫","⦬":"⦬","⦭":"⦭","⦮":"⦮","⦯":"⦯","∟":"∟","⊾":"⊾","⦝":"⦝","∢":"∢","⍼":"⍼",ą:"ą",𝕒:"𝕒","⩰":"⩰","⩯":"⩯","≊":"≊","≋":"≋","'":"'",å:"å",𝒶:"𝒶","*":"*",ã:"ã",ä:"ä","⨑":"⨑","⫭":"⫭","≌":"≌","϶":"϶","‵":"‵","∽":"∽","⋍":"⋍","⊽":"⊽","⌅":"⌅","⎶":"⎶",б:"б","„":"„","⦰":"⦰",β:"β",ℶ:"ℶ","≬":"≬",𝔟:"𝔟","◯":"◯","⨀":"⨀","⨁":"⨁","⨂":"⨂","⨆":"⨆","★":"★","▽":"▽","△":"△","⨄":"⨄","⤍":"⤍","⧫":"⧫","▴":"▴","▾":"▾","◂":"◂","▸":"▸","␣":"␣","▒":"▒","░":"░","▓":"▓","█":"█","=⃥":"=⃥","≡⃥":"≡⃥","⌐":"⌐",𝕓:"𝕓","⋈":"⋈","╗":"╗","╔":"╔","╖":"╖","╓":"╓","═":"═","╦":"╦","╩":"╩","╤":"╤","╧":"╧","╝":"╝","╚":"╚","╜":"╜","╙":"╙","║":"║","╬":"╬","╣":"╣","╠":"╠","╫":"╫","╢":"╢","╟":"╟","⧉":"⧉","╕":"╕","╒":"╒","┐":"┐","┌":"┌","╥":"╥","╨":"╨","┬":"┬","┴":"┴","⊟":"⊟","⊞":"⊞","⊠":"⊠","╛":"╛","╘":"╘","┘":"┘","└":"└","│":"│","╪":"╪","╡":"╡","╞":"╞","┼":"┼","┤":"┤","├":"├","¦":"¦",𝒷:"𝒷","⁏":"⁏","\\":"\","⧅":"⧅","⟈":"⟈","•":"•","⪮":"⪮",ć:"ć","∩":"∩","⩄":"⩄","⩉":"⩉","⩋":"⩋","⩇":"⩇","⩀":"⩀","∩︀":"∩︀","⁁":"⁁","⩍":"⩍",č:"č",ç:"ç",ĉ:"ĉ","⩌":"⩌","⩐":"⩐",ċ:"ċ","⦲":"⦲","¢":"¢",𝔠:"𝔠",ч:"ч","✓":"✓",χ:"χ","○":"○","⧃":"⧃",ˆ:"ˆ","≗":"≗","↺":"↺","↻":"↻","Ⓢ":"Ⓢ","⊛":"⊛","⊚":"⊚","⊝":"⊝","⨐":"⨐","⫯":"⫯","⧂":"⧂","♣":"♣",":":":",",":",","@":"@","∁":"∁","⩭":"⩭",𝕔:"𝕔","℗":"℗","↵":"↵","✗":"✗",𝒸:"𝒸","⫏":"⫏","⫑":"⫑","⫐":"⫐","⫒":"⫒","⋯":"⋯","⤸":"⤸","⤵":"⤵","⋞":"⋞","⋟":"⋟","↶":"↶","⤽":"⤽","∪":"∪","⩈":"⩈","⩆":"⩆","⩊":"⩊","⊍":"⊍","⩅":"⩅","∪︀":"∪︀","↷":"↷","⤼":"⤼","⋎":"⋎","⋏":"⋏","¤":"¤","∱":"∱","⌭":"⌭","⥥":"⥥","†":"†",ℸ:"ℸ","‐":"‐","⤏":"⤏",ď:"ď",д:"д","⇊":"⇊","⩷":"⩷","°":"°",δ:"δ","⦱":"⦱","⥿":"⥿",𝔡:"𝔡","♦":"♦",ϝ:"ϝ","⋲":"⋲","÷":"÷","⋇":"⋇",ђ:"ђ","⌞":"⌞","⌍":"⌍",$:"$",𝕕:"𝕕","≑":"≑","∸":"∸","∔":"∔","⊡":"⊡","⌟":"⌟","⌌":"⌌",𝒹:"𝒹",ѕ:"ѕ","⧶":"⧶",đ:"đ","⋱":"⋱","▿":"▿","⦦":"⦦",џ:"џ","⟿":"⟿",é:"é","⩮":"⩮",ě:"ě","≖":"≖",ê:"ê","≕":"≕",э:"э",ė:"ė","≒":"≒",𝔢:"𝔢","⪚":"⪚",è:"è","⪖":"⪖","⪘":"⪘","⪙":"⪙","⏧":"⏧",ℓ:"ℓ","⪕":"⪕","⪗":"⪗",ē:"ē","∅":"∅"," ":" "," ":" "," ":" ",ŋ:"ŋ"," ":" ",ę:"ę",𝕖:"𝕖","⋕":"⋕","⧣":"⧣","⩱":"⩱",ε:"ε",ϵ:"ϵ","=":"=","≟":"≟","⩸":"⩸","⧥":"⧥","≓":"≓","⥱":"⥱",ℯ:"ℯ",η:"η",ð:"ð",ë:"ë","€":"€","!":"!",ф:"ф","♀":"♀",ffi:"ffi",ff:"ff",ffl:"ffl",𝔣:"𝔣",fi:"fi",fj:"fj","♭":"♭",fl:"fl","▱":"▱",ƒ:"ƒ",𝕗:"𝕗","⋔":"⋔","⫙":"⫙","⨍":"⨍","½":"½","⅓":"⅓","¼":"¼","⅕":"⅕","⅙":"⅙","⅛":"⅛","⅔":"⅔","⅖":"⅖","¾":"¾","⅗":"⅗","⅜":"⅜","⅘":"⅘","⅚":"⅚","⅝":"⅝","⅞":"⅞","⁄":"⁄","⌢":"⌢",𝒻:"𝒻","⪌":"⪌",ǵ:"ǵ",γ:"γ","⪆":"⪆",ğ:"ğ",ĝ:"ĝ",г:"г",ġ:"ġ","⪩":"⪩","⪀":"⪀","⪂":"⪂","⪄":"⪄","⋛︀":"⋛︀","⪔":"⪔",𝔤:"𝔤",ℷ:"ℷ",ѓ:"ѓ","⪒":"⪒","⪥":"⪥","⪤":"⪤","≩":"≩","⪊":"⪊","⪈":"⪈","⋧":"⋧",𝕘:"𝕘",ℊ:"ℊ","⪎":"⪎","⪐":"⪐","⪧":"⪧","⩺":"⩺","⋗":"⋗","⦕":"⦕","⩼":"⩼","⥸":"⥸","≩︀":"≩︀",ъ:"ъ","⥈":"⥈","↭":"↭",ℏ:"ℏ",ĥ:"ĥ","♥":"♥","…":"…","⊹":"⊹",𝔥:"𝔥","⤥":"⤥","⤦":"⤦","⇿":"⇿","∻":"∻","↩":"↩","↪":"↪",𝕙:"𝕙","―":"―",𝒽:"𝒽",ħ:"ħ","⁃":"⁃",í:"í",î:"î",и:"и",е:"е","¡":"¡",𝔦:"𝔦",ì:"ì","⨌":"⨌","∭":"∭","⧜":"⧜","℩":"℩",ij:"ij",ī:"ī",ı:"ı","⊷":"⊷",Ƶ:"Ƶ","℅":"℅","∞":"∞","⧝":"⧝","⊺":"⊺","⨗":"⨗","⨼":"⨼",ё:"ё",į:"į",𝕚:"𝕚",ι:"ι","¿":"¿",𝒾:"𝒾","⋹":"⋹","⋵":"⋵","⋴":"⋴","⋳":"⋳",ĩ:"ĩ",і:"і",ï:"ï",ĵ:"ĵ",й:"й",𝔧:"𝔧",ȷ:"ȷ",𝕛:"𝕛",𝒿:"𝒿",ј:"ј",є:"є",κ:"κ",ϰ:"ϰ",ķ:"ķ",к:"к",𝔨:"𝔨",ĸ:"ĸ",х:"х",ќ:"ќ",𝕜:"𝕜",𝓀:"𝓀","⤛":"⤛","⤎":"⤎","⪋":"⪋","⥢":"⥢",ĺ:"ĺ","⦴":"⦴",λ:"λ","⦑":"⦑","⪅":"⪅","«":"«","⤟":"⤟","⤝":"⤝","↫":"↫","⤹":"⤹","⥳":"⥳","↢":"↢","⪫":"⪫","⤙":"⤙","⪭":"⪭","⪭︀":"⪭︀","⤌":"⤌","❲":"❲","{":"{","[":"[","⦋":"⦋","⦏":"⦏","⦍":"⦍",ľ:"ľ",ļ:"ļ",л:"л","⤶":"⤶","⥧":"⥧","⥋":"⥋","↲":"↲","≤":"≤","⇇":"⇇","⋋":"⋋","⪨":"⪨","⩿":"⩿","⪁":"⪁","⪃":"⪃","⋚︀":"⋚︀","⪓":"⪓","⋖":"⋖","⥼":"⥼",𝔩:"𝔩","⪑":"⪑","⥪":"⥪","▄":"▄",љ:"љ","⥫":"⥫","◺":"◺",ŀ:"ŀ","⎰":"⎰","≨":"≨","⪉":"⪉","⪇":"⪇","⋦":"⋦","⟬":"⟬","⇽":"⇽","⟼":"⟼","↬":"↬","⦅":"⦅",𝕝:"𝕝","⨭":"⨭","⨴":"⨴","∗":"∗","◊":"◊","(":"(","⦓":"⦓","⥭":"⥭","":"‎","⊿":"⊿","‹":"‹",𝓁:"𝓁","⪍":"⪍","⪏":"⪏","‚":"‚",ł:"ł","⪦":"⪦","⩹":"⩹","⋉":"⋉","⥶":"⥶","⩻":"⩻","⦖":"⦖","◃":"◃","⥊":"⥊","⥦":"⥦","≨︀":"≨︀","∺":"∺","¯":"¯","♂":"♂","✠":"✠","▮":"▮","⨩":"⨩",м:"м","—":"—",𝔪:"𝔪","℧":"℧",µ:"µ","⫰":"⫰","−":"−","⨪":"⨪","⫛":"⫛","⊧":"⊧",𝕞:"𝕞",𝓂:"𝓂",μ:"μ","⊸":"⊸","⋙̸":"⋙̸","≫⃒":"≫⃒","⇍":"⇍","⇎":"⇎","⋘̸":"⋘̸","≪⃒":"≪⃒","⇏":"⇏","⊯":"⊯","⊮":"⊮",ń:"ń","∠⃒":"∠⃒","⩰̸":"⩰̸","≋̸":"≋̸",ʼn:"ʼn","♮":"♮","⩃":"⩃",ň:"ň",ņ:"ņ","⩭̸":"⩭̸","⩂":"⩂",н:"н","–":"–","⇗":"⇗","⤤":"⤤","≐̸":"≐̸","⤨":"⤨",𝔫:"𝔫","↮":"↮","⫲":"⫲","⋼":"⋼","⋺":"⋺",њ:"њ","≦̸":"≦̸","↚":"↚","‥":"‥",𝕟:"𝕟","¬":"¬","⋹̸":"⋹̸","⋵̸":"⋵̸","⋷":"⋷","⋶":"⋶","⋾":"⋾","⋽":"⋽","⫽⃥":"⫽⃥","∂̸":"∂̸","⨔":"⨔","↛":"↛","⤳̸":"⤳̸","↝̸":"↝̸",𝓃:"𝓃","⊄":"⊄","⫅̸":"⫅̸","⊅":"⊅","⫆̸":"⫆̸",ñ:"ñ",ν:"ν","#":"#","№":"№"," ":" ","⊭":"⊭","⤄":"⤄","≍⃒":"≍⃒","⊬":"⊬","≥⃒":"≥⃒",">⃒":">⃒","⧞":"⧞","⤂":"⤂","≤⃒":"≤⃒","<⃒":"<⃒","⊴⃒":"⊴⃒","⤃":"⤃","⊵⃒":"⊵⃒","∼⃒":"∼⃒","⇖":"⇖","⤣":"⤣","⤧":"⤧",ó:"ó",ô:"ô",о:"о",ő:"ő","⨸":"⨸","⦼":"⦼",œ:"œ","⦿":"⦿",𝔬:"𝔬","˛":"˛",ò:"ò","⧁":"⧁","⦵":"⦵","⦾":"⦾","⦻":"⦻","⧀":"⧀",ō:"ō",ω:"ω",ο:"ο","⦶":"⦶",𝕠:"𝕠","⦷":"⦷","⦹":"⦹","∨":"∨","⩝":"⩝",ℴ:"ℴ",ª:"ª",º:"º","⊶":"⊶","⩖":"⩖","⩗":"⩗","⩛":"⩛",ø:"ø","⊘":"⊘",õ:"õ","⨶":"⨶",ö:"ö","⌽":"⌽","¶":"¶","⫳":"⫳","⫽":"⫽",п:"п","%":"%",".":".","‰":"‰","‱":"‱",𝔭:"𝔭",φ:"φ",ϕ:"ϕ","☎":"☎",π:"π",ϖ:"ϖ",ℎ:"ℎ","+":"+","⨣":"⨣","⨢":"⨢","⨥":"⨥","⩲":"⩲","⨦":"⨦","⨧":"⨧","⨕":"⨕",𝕡:"𝕡","£":"£","⪳":"⪳","⪷":"⪷","⪹":"⪹","⪵":"⪵","⋨":"⋨","′":"′","⌮":"⌮","⌒":"⌒","⌓":"⌓","⊰":"⊰",𝓅:"𝓅",ψ:"ψ"," ":" ",𝔮:"𝔮",𝕢:"𝕢","⁗":"⁗",𝓆:"𝓆","⨖":"⨖","?":"?","⤜":"⤜","⥤":"⥤","∽̱":"∽̱",ŕ:"ŕ","⦳":"⦳","⦒":"⦒","⦥":"⦥","»":"»","⥵":"⥵","⤠":"⤠","⤳":"⤳","⤞":"⤞","⥅":"⥅","⥴":"⥴","↣":"↣","↝":"↝","⤚":"⤚","∶":"∶","❳":"❳","}":"}","]":"]","⦌":"⦌","⦎":"⦎","⦐":"⦐",ř:"ř",ŗ:"ŗ",р:"р","⤷":"⤷","⥩":"⥩","↳":"↳","▭":"▭","⥽":"⥽",𝔯:"𝔯","⥬":"⥬",ρ:"ρ",ϱ:"ϱ","⇉":"⇉","⋌":"⋌","˚":"˚","":"‏","⎱":"⎱","⫮":"⫮","⟭":"⟭","⇾":"⇾","⦆":"⦆",𝕣:"𝕣","⨮":"⨮","⨵":"⨵",")":")","⦔":"⦔","⨒":"⨒","›":"›",𝓇:"𝓇","⋊":"⋊","▹":"▹","⧎":"⧎","⥨":"⥨","℞":"℞",ś:"ś","⪴":"⪴","⪸":"⪸",š:"š",ş:"ş",ŝ:"ŝ","⪶":"⪶","⪺":"⪺","⋩":"⋩","⨓":"⨓",с:"с","⋅":"⋅","⩦":"⩦","⇘":"⇘","§":"§",";":";","⤩":"⤩","✶":"✶",𝔰:"𝔰","♯":"♯",щ:"щ",ш:"ш","":"­",σ:"σ",ς:"ς","⩪":"⩪","⪞":"⪞","⪠":"⪠","⪝":"⪝","⪟":"⪟","≆":"≆","⨤":"⨤","⥲":"⥲","⨳":"⨳","⧤":"⧤","⌣":"⌣","⪪":"⪪","⪬":"⪬","⪬︀":"⪬︀",ь:"ь","/":"/","⧄":"⧄","⌿":"⌿",𝕤:"𝕤","♠":"♠","⊓︀":"⊓︀","⊔︀":"⊔︀",𝓈:"𝓈","☆":"☆","⊂":"⊂","⫅":"⫅","⪽":"⪽","⫃":"⫃","⫁":"⫁","⫋":"⫋","⊊":"⊊","⪿":"⪿","⥹":"⥹","⫇":"⫇","⫕":"⫕","⫓":"⫓","♪":"♪","¹":"¹","²":"²","³":"³","⫆":"⫆","⪾":"⪾","⫘":"⫘","⫄":"⫄","⟉":"⟉","⫗":"⫗","⥻":"⥻","⫂":"⫂","⫌":"⫌","⊋":"⊋","⫀":"⫀","⫈":"⫈","⫔":"⫔","⫖":"⫖","⇙":"⇙","⤪":"⤪",ß:"ß","⌖":"⌖",τ:"τ",ť:"ť",ţ:"ţ",т:"т","⌕":"⌕",𝔱:"𝔱",θ:"θ",ϑ:"ϑ",þ:"þ","×":"×","⨱":"⨱","⨰":"⨰","⌶":"⌶","⫱":"⫱",𝕥:"𝕥","⫚":"⫚","‴":"‴","▵":"▵","≜":"≜","◬":"◬","⨺":"⨺","⨹":"⨹","⧍":"⧍","⨻":"⨻","⏢":"⏢",𝓉:"𝓉",ц:"ц",ћ:"ћ",ŧ:"ŧ","⥣":"⥣",ú:"ú",ў:"ў",ŭ:"ŭ",û:"û",у:"у",ű:"ű","⥾":"⥾",𝔲:"𝔲",ù:"ù","▀":"▀","⌜":"⌜","⌏":"⌏","◸":"◸",ū:"ū",ų:"ų",𝕦:"𝕦",υ:"υ","⇈":"⇈","⌝":"⌝","⌎":"⌎",ů:"ů","◹":"◹",𝓊:"𝓊","⋰":"⋰",ũ:"ũ",ü:"ü","⦧":"⦧","⫨":"⫨","⫩":"⫩","⦜":"⦜","⊊︀":"⊊︀","⫋︀":"⫋︀","⊋︀":"⊋︀","⫌︀":"⫌︀",в:"в","⊻":"⊻","≚":"≚","⋮":"⋮",𝔳:"𝔳",𝕧:"𝕧",𝓋:"𝓋","⦚":"⦚",ŵ:"ŵ","⩟":"⩟","≙":"≙",℘:"℘",𝔴:"𝔴",𝕨:"𝕨",𝓌:"𝓌",𝔵:"𝔵",ξ:"ξ","⋻":"⋻",𝕩:"𝕩",𝓍:"𝓍",ý:"ý",я:"я",ŷ:"ŷ",ы:"ы","¥":"¥",𝔶:"𝔶",ї:"ї",𝕪:"𝕪",𝓎:"𝓎",ю:"ю",ÿ:"ÿ",ź:"ź",ž:"ž",з:"з",ż:"ż",ζ:"ζ",𝔷:"𝔷",ж:"ж","⇝":"⇝",𝕫:"𝕫",𝓏:"𝓏","":"‍","":"‌"}}}},125:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.numericUnicodeMap={0:65533,128:8364,130:8218,131:402,132:8222,133:8230,134:8224,135:8225,136:710,137:8240,138:352,139:8249,140:338,142:381,145:8216,146:8217,147:8220,148:8221,149:8226,150:8211,151:8212,152:732,153:8482,154:353,155:8250,156:339,158:382,159:376}},663:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.fromCodePoint=String.fromCodePoint||function(e){return String.fromCharCode(Math.floor((e-65536)/1024)+55296,(e-65536)%1024+56320)},t.getCodePoint=String.prototype.codePointAt?function(e,t){return e.codePointAt(t)}:function(e,t){return 1024*(e.charCodeAt(t)-55296)+e.charCodeAt(t+1)-56320+65536},t.highSurrogateFrom=55296,t.highSurrogateTo=56319},804:(e,t,r)=>{"use strict";r.d(t,{Z:()=>c});var n=r(738),o=r.n(n),a=r(705),i=r.n(a)()(o());i.push([e.id,"",""]);const c=i},379:e=>{"use strict";var t=[];function r(e){for(var r=-1,n=0;n<t.length;n++)if(t[n].identifier===e){r=n;break}return r}function n(e,n){for(var a={},i=[],c=0;c<e.length;c++){var l=e[c],s=n.base?l[0]+n.base:l[0],u=a[s]||0,d="".concat(s," ").concat(u);a[s]=u+1;var f=r(d),p={css:l[1],media:l[2],sourceMap:l[3],supports:l[4],layer:l[5]};if(-1!==f)t[f].references++,t[f].updater(p);else{var h=o(p,n);n.byIndex=c,t.splice(c,0,{identifier:d,updater:h,references:1})}i.push(d)}return i}function o(e,t){var r=t.domAPI(t);return r.update(e),function(t){if(t){if(t.css===e.css&&t.media===e.media&&t.sourceMap===e.sourceMap&&t.supports===e.supports&&t.layer===e.layer)return;r.update(e=t)}else r.remove()}}e.exports=function(e,o){var a=n(e=e||[],o=o||{});return function(e){e=e||[];for(var i=0;i<a.length;i++){var c=r(a[i]);t[c].references--}for(var l=n(e,o),s=0;s<a.length;s++){var u=r(a[s]);0===t[u].references&&(t[u].updater(),t.splice(u,1))}a=l}}},569:e=>{"use strict";var t={};e.exports=function(e,r){var n=function(e){if(void 0===t[e]){var r=document.querySelector(e);if(window.HTMLIFrameElement&&r instanceof window.HTMLIFrameElement)try{r=r.contentDocument.head}catch(e){r=null}t[e]=r}return t[e]}(e);if(!n)throw new Error("Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.");n.appendChild(r)}},216:e=>{"use strict";e.exports=function(e){var t=document.createElement("style");return e.setAttributes(t,e.attributes),e.insert(t,e.options),t}},565:(e,t,r)=>{"use strict";e.exports=function(e){var t=r.nc;t&&e.setAttribute("nonce",t)}},795:e=>{"use strict";e.exports=function(e){var t=e.insertStyleElement(e);return{update:function(r){!function(e,t,r){var n="";r.supports&&(n+="@supports (".concat(r.supports,") {")),r.media&&(n+="@media ".concat(r.media," {"));var o=void 0!==r.layer;o&&(n+="@layer".concat(r.layer.length>0?" ".concat(r.layer):""," {")),n+=r.css,o&&(n+="}"),r.media&&(n+="}"),r.supports&&(n+="}");var a=r.sourceMap;a&&"undefined"!=typeof btoa&&(n+="\n/*# sourceMappingURL=data:application/json;base64,".concat(btoa(unescape(encodeURIComponent(JSON.stringify(a))))," */")),t.styleTagTransform(n,e,t.options)}(t,e,r)},remove:function(){!function(e){if(null===e.parentNode)return!1;e.parentNode.removeChild(e)}(t)}}}},589:e=>{"use strict";e.exports=function(e,t){if(t.styleSheet)t.styleSheet.cssText=e;else{for(;t.firstChild;)t.removeChild(t.firstChild);t.appendChild(document.createTextNode(e))}}}},t={};function r(n){var o=t[n];if(void 0!==o)return o.exports;var a=t[n]={id:n,exports:{}};return e[n].call(a.exports,a,a.exports,r),a.exports}r.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return r.d(t,{a:t}),t},r.d=(e,t)=>{for(var n in t)r.o(t,n)&&!r.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},r.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),r.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},r.nc=void 0,(()=>{"use strict";var e={};r.r(e),r.d(e,{canAddFolders:()=>P,disableDragDropOnMobile:()=>j,folderHasChildren:()=>se,folderMatchesSearchTerms:()=>ue,getChildFolders:()=>U,getFolderBeingEdited:()=>z,getFolderPanelContext:()=>Z,getFolderPanelError:()=>X,getFolderUsingContextMenuId:()=>H,getFolders:()=>W,getFoldersFilteredBySearchTerms:()=>Y,getNavigationError:()=>Q,getNotifications:()=>J,getOrganizationMode:()=>K,getPostIdsToMove:()=>ee,getPostType:()=>te,getScreenState:()=>re,getSearchTerms:()=>ne,getSelectedFolder:()=>B,getSelectedFolderId:()=>M,getSelectedFolderIds:()=>G,getSortMode:()=>oe,getState:()=>V,getUserId:()=>ae,getWidth:()=>ie,includeChildren:()=>de,isAjaxNavEnabled:()=>be,isBreadcrumbsEnabled:()=>we,isDirty:()=>ce,isFolderDragging:()=>fe,isFolderExpanded:()=>le,isFolderPaneVisible:()=>me,isFolderPanelBusy:()=>pe,isFolderSelected:()=>he,isNavigating:()=>Ee,isSearch:()=>ge,isSearchEnabled:()=>ve,showItemCounts:()=>ye,syncUploadFolderDropdown:()=>Se});var t={};r.r(t),r.d(t,{TYPES:()=>Ue,addNotification:()=>Me,deleteNotification:()=>Be,dismissNotification:()=>Ge,expandFolder:()=>Ve,fetchFolders:()=>ze,initInstance:()=>He,instanceAction:()=>vt,moveFolder:()=>ht,movePostsToFolder:()=>mt,saveScreenState:()=>Xe,setExpandedFolders:()=>We,setFolderBeingEditedId:()=>Ye,setFolderPanelContext:()=>at,setFolderPanelError:()=>it,setFolderPanelMessage:()=>lt,setFolderUsingContextMenuId:()=>Ze,setFolders:()=>ot,setIsFolderDragging:()=>ct,setIsFolderPaneVisible:()=>st,setIsFolderPanelBusy:()=>ut,setIsNavigating:()=>dt,setNavigationError:()=>Je,setOrganizationMode:()=>Ke,setPostIdsToMove:()=>$e,setSearchTerms:()=>rt,setSelectedFolderId:()=>et,setSelectedFolderIds:()=>tt,setSortMode:()=>nt,setWidth:()=>Qe,toggleExpanded:()=>ft,unassignFolders:()=>gt,updateSavedScreenState:()=>pt});var n={};r.r(n),r.d(n,{getChildFolders:()=>Nt,getFolders:()=>Dt,getScreenState:()=>At});const o=window.wp.element,a=window.wp.data,i=window.wp.dataControls;var c="wicked-folders/state",l="edit",s="delete",u="settings",d="/wicked-folders/v1/",f="organize",p="sort",h="bulk",m="alpha",g="custom";function v(e){return function(e){if(Array.isArray(e))return y(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(e){if("string"==typeof e)return y(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?y(e,t):void 0}}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function y(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}var b=lodash,w=b.isUndefined,E=b.find,S=function(e,t,r){if(-1==e.indexOf(t+"="))e+=-1==e.indexOf("?")?"?":"&",e+=t+"="+r;else{var n=new RegExp(t+"=([^&]*)","gi");e=e.replace(n,t+"="+r)}return!1!==r&&""!=r||(n=new RegExp(t+"=([^&]*)","gi"),e=(e=e.replace(n,"")).replace(/[&]*$/,"")),e},x=function(){return w(window.isRtl)?jQuery("body").hasClass("rtl"):window.isRtl},_=function e(t,r){if(void 0===r)return[];if(r.parent){var n=E(t,{id:r.parent});if(n)return[n].concat(v(e(t,n)))}return[]},k=function e(t,r){if(void 0===r)return[];var n=[];return t.filter((function(e){return e.parent==r.id})).forEach((function(r){n=[].concat(v(n),[r],v(e(t,r)))})),n},R=lodash,L=(R.isNaN,R.isArray),T=R.each,O=(R.find,function(e){var t=jQuery,r=L(e)?e:[e];T(r,(function(e){t('.wp-list-table tr[id="post-'+e+'"]').fadeOut(500,(function(){t(this).remove()})),t('.wp-list-table tr[id="user-'+e+'"]').fadeOut(500,(function(){t(this).remove()}));var r=t('.wp-list-table.plugins .wicked-item[data-object-id="'+e+'"]').closest("tr").attr("data-slug");t('.wp-list-table.plugins tr[data-slug="'+r+'"]').fadeOut(500,(function(){t(this).remove()})),t('.wp-list-table.toplevel_page_gf_edit_forms .wicked-item[data-object-id="'+e+'"]').closest("tr").fadeOut(500,(function(){t(this).remove()})),t('.wp-list-table.gf_entries tr[data-id="'+e+'"]').fadeOut(500,(function(){t(this).remove()})),t('.wp-list-table.tablepress-all-tables tr[data-wf-post-id="'+e+'"]').fadeOut(500,(function(){t(this).remove()})),t('.wp-list-table.wc-orders-list-table-shop_order tr[id="order-'+e+'"]').fadeOut(500,(function(){t(this).remove()})),t('.wp-list-table .wicked-item[data-object-id="'+e+'"]').closest("tr").fadeOut(500,(function(){t(this).remove()}))}))}),F=function(e){return["Wicked_FoldersTerm_Folder","Wicked_Folders\\Term_Folder"].includes(e.type)},D=function(e){return["Wicked_FoldersTerm_Dynamic_Folder","Wicked_Folders\\Term_Dynamic_Folder"].includes(e.type)};function A(e){return function(e){if(Array.isArray(e))return N(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(e){if("string"==typeof e)return N(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?N(e,t):void 0}}(e)||function(){throw new TypeError("Invalid attempt to spread 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 r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}var I=lodash,q=I.find,C=I.uniqBy,P=function(e,t){return e.instances[t].screenState.canAddFolders},j=function(e,t){return e.instances[t].screenState.disableDragDropOnMobile},U=function(e,t){var r=B(e,t),n=W(e,t);return k(n,r)},M=function(e,t){return e.instances[t].screenState.folder},B=function(e,t){return e.instances[t].folders.find((function(r){return r.id==e.instances[t].screenState.folder}))},G=function(e,t){return e.instances[t].screenState.selectedFolders},V=function(e,t){return e.instances[t]},z=function(e,t){return e.instances[t].folders.find((function(r){return r.id==e.instances[t].folderBeingEditedId}))},H=function(e,t){return e.instances[t].folderUsingContextMenuId},W=function(e,t){return A(e.instances[t].folders)},Y=function(e,t){var r=W(e,t),n=ne(e,t),o=[];return n?(r.filter((function(e){return-1!=e.name.toUpperCase().indexOf(n.toUpperCase())})).forEach((function(e){o=[].concat(A(o),[e]),_(r,e).forEach((function(e){q(o,{id:e.id})||(o=[].concat(A(o),[e]))}))})),o=C(o,"id")):r},Z=function(e,t){return e.instances[t].folderPanelContext},X=function(e,t){return e.instances[t].screenState.folderPanelError},Q=function(e,t){return e.instances[t].screenState.navigationError},J=function(e,t){return e.notifications},K=function(e,t){return e.instances[t].organizationMode},ee=function(e,t){return e.instances[t].postIdsToMove},te=function(e,t){return e.instances[t].postType},re=function(e,t){return e.instances[t].screenState},ne=function(e,t){return e.instances[t].searchTerms},oe=function(e,t){return e.instances[t].screenState.sortMode},ae=function(e,t){return e.instances[t].screenState.userId},ie=function(e,t){return e.instances[t].screenState.treePaneWidth},ce=function(e,t){return e.instances[t].screenState.isDirty},le=function(e,t,r){return e.instances[t].screenState.expandedFolders.includes(r)},se=function(e,t,r){return e.instances[t].folders.filter((function(e){return e.parent==r})).length},ue=function(e,t,r){var n=W(e,t),o=q(n,{id:r}),a=ne(e,t);return-1!=o.name.toUpperCase().indexOf(a.toUpperCase())},de=function(e,t){return e.instances[t].screenState.includeChildren},fe=function(e,t){return e.instances[t].isFolderDragging},pe=function(e,t){return e.instances[t].screenState.isFolderPanelBusy},he=function(e,t,r){return e.instances[t].screenState.folder==r},me=function(e,t){return e.instances[t].screenState.isFolderPaneVisible},ge=function(e,t){return e.instances[t].searchTerms.trim().length>0},ve=function(e,t){return e.instances[t].screenState.enableSearch},ye=function(e,t){return e.instances[t].screenState.showItemCounts},be=function(e,t){return e.instances[t].screenState.enableAjaxNav},we=function(e,t){return e.instances[t].screenState.enableBreadcrumbs},Ee=function(e,t){return e.instances[t].screenState.isNavigating},Se=function(e,t){return e.instances[t].screenState.syncUploadFolderDropdown};const xe=window.wp.i18n;function _e(e){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},_e(e)}var ke;function Re(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function Le(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?Re(Object(r),!0).forEach((function(t){Ie(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Re(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function Te(){Te=function(){return e};var e={},t=Object.prototype,r=t.hasOwnProperty,n="function"==typeof Symbol?Symbol:{},o=n.iterator||"@@iterator",a=n.asyncIterator||"@@asyncIterator",i=n.toStringTag||"@@toStringTag";function c(e,t,r){return Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{c({},"")}catch(e){c=function(e,t,r){return e[t]=r}}function l(e,t,r,n){var o=t&&t.prototype instanceof d?t:d,a=Object.create(o.prototype),i=new x(n||[]);return a._invoke=function(e,t,r){var n="suspendedStart";return function(o,a){if("executing"===n)throw new Error("Generator is already running");if("completed"===n){if("throw"===o)throw a;return{value:void 0,done:!0}}for(r.method=o,r.arg=a;;){var i=r.delegate;if(i){var c=w(i,r);if(c){if(c===u)continue;return c}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if("suspendedStart"===n)throw n="completed",r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);n="executing";var l=s(e,t,r);if("normal"===l.type){if(n=r.done?"completed":"suspendedYield",l.arg===u)continue;return{value:l.arg,done:r.done}}"throw"===l.type&&(n="completed",r.method="throw",r.arg=l.arg)}}}(e,r,i),a}function s(e,t,r){try{return{type:"normal",arg:e.call(t,r)}}catch(e){return{type:"throw",arg:e}}}e.wrap=l;var u={};function d(){}function f(){}function p(){}var h={};c(h,o,(function(){return this}));var m=Object.getPrototypeOf,g=m&&m(m(_([])));g&&g!==t&&r.call(g,o)&&(h=g);var v=p.prototype=d.prototype=Object.create(h);function y(e){["next","throw","return"].forEach((function(t){c(e,t,(function(e){return this._invoke(t,e)}))}))}function b(e,t){function n(o,a,i,c){var l=s(e[o],e,a);if("throw"!==l.type){var u=l.arg,d=u.value;return d&&"object"==_e(d)&&r.call(d,"__await")?t.resolve(d.__await).then((function(e){n("next",e,i,c)}),(function(e){n("throw",e,i,c)})):t.resolve(d).then((function(e){u.value=e,i(u)}),(function(e){return n("throw",e,i,c)}))}c(l.arg)}var o;this._invoke=function(e,r){function a(){return new t((function(t,o){n(e,r,t,o)}))}return o=o?o.then(a,a):a()}}function w(e,t){var r=e.iterator[t.method];if(void 0===r){if(t.delegate=null,"throw"===t.method){if(e.iterator.return&&(t.method="return",t.arg=void 0,w(e,t),"throw"===t.method))return u;t.method="throw",t.arg=new TypeError("The iterator does not provide a 'throw' method")}return u}var n=s(r,e.iterator,t.arg);if("throw"===n.type)return t.method="throw",t.arg=n.arg,t.delegate=null,u;var o=n.arg;return o?o.done?(t[e.resultName]=o.value,t.next=e.nextLoc,"return"!==t.method&&(t.method="next",t.arg=void 0),t.delegate=null,u):o:(t.method="throw",t.arg=new TypeError("iterator result is not an object"),t.delegate=null,u)}function E(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function S(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function x(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(E,this),this.reset(!0)}function _(e){if(e){var t=e[o];if(t)return t.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var n=-1,a=function t(){for(;++n<e.length;)if(r.call(e,n))return t.value=e[n],t.done=!1,t;return t.value=void 0,t.done=!0,t};return a.next=a}}return{next:k}}function k(){return{value:void 0,done:!0}}return f.prototype=p,c(v,"constructor",p),c(p,"constructor",f),f.displayName=c(p,i,"GeneratorFunction"),e.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===f||"GeneratorFunction"===(t.displayName||t.name))},e.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,p):(e.__proto__=p,c(e,i,"GeneratorFunction")),e.prototype=Object.create(v),e},e.awrap=function(e){return{__await:e}},y(b.prototype),c(b.prototype,a,(function(){return this})),e.AsyncIterator=b,e.async=function(t,r,n,o,a){void 0===a&&(a=Promise);var i=new b(l(t,r,n,o),a);return e.isGeneratorFunction(r)?i:i.next().then((function(e){return e.done?e.value:i.next()}))},y(v),c(v,i,"Generator"),c(v,o,(function(){return this})),c(v,"toString",(function(){return"[object Generator]"})),e.keys=function(e){var t=[];for(var r in e)t.push(r);return t.reverse(),function r(){for(;t.length;){var n=t.pop();if(n in e)return r.value=n,r.done=!1,r}return r.done=!0,r}},e.values=_,x.prototype={constructor:x,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEach(S),!e)for(var t in this)"t"===t.charAt(0)&&r.call(this,t)&&!isNaN(+t.slice(1))&&(this[t]=void 0)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var t=this;function n(r,n){return i.type="throw",i.arg=e,t.next=r,n&&(t.method="next",t.arg=void 0),!!n}for(var o=this.tryEntries.length-1;o>=0;--o){var a=this.tryEntries[o],i=a.completion;if("root"===a.tryLoc)return n("end");if(a.tryLoc<=this.prev){var c=r.call(a,"catchLoc"),l=r.call(a,"finallyLoc");if(c&&l){if(this.prev<a.catchLoc)return n(a.catchLoc,!0);if(this.prev<a.finallyLoc)return n(a.finallyLoc)}else if(c){if(this.prev<a.catchLoc)return n(a.catchLoc,!0)}else{if(!l)throw new Error("try statement without catch or finally");if(this.prev<a.finallyLoc)return n(a.finallyLoc)}}}},abrupt:function(e,t){for(var n=this.tryEntries.length-1;n>=0;--n){var o=this.tryEntries[n];if(o.tryLoc<=this.prev&&r.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var a=o;break}}a&&("break"===e||"continue"===e)&&a.tryLoc<=t&&t<=a.finallyLoc&&(a=null);var i=a?a.completion:{};return i.type=e,i.arg=t,a?(this.method="next",this.next=a.finallyLoc,u):this.complete(i)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),u},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.finallyLoc===e)return this.complete(r.completion,r.afterLoc),S(r),u}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.tryLoc===e){var n=r.completion;if("throw"===n.type){var o=n.arg;S(r)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(e,t,r){return this.delegate={iterator:_(e),resultName:t,nextLoc:r},"next"===this.method&&(this.arg=void 0),u}},e}var Oe=Te().mark(ze),Fe=Te().mark(Xe),De=Te().mark(ht),Ae=Te().mark(mt),Ne=Te().mark(gt);function Ie(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var qe=lodash,Ce=qe.defaults,Pe=qe.find,je=qe.uniqueId,Ue=(Ie(ke={ADD_NOTIFICATION:"ADD_NOTIFICATION",DELETE_NOTIFICATION:"DELETE_NOTIFICATION",DISMISS_NOTIFICATION:"DISMISS_NOTIFICATION",EXPAND_FOLDER:"EXPAND_FOLDER"},"EXPAND_FOLDER","EXPAND_FOLDER"),Ie(ke,"INIT_INSTANCE","INIT_INSTANCE"),Ie(ke,"SET_EXPANDED_FOLDERS","SET_EXPANDED_FOLDERS"),Ie(ke,"SET_FOLDERS","SET_FOLDERS"),Ie(ke,"SET_FOLDER_BEING_EDITED_ID","SET_FOLDER_BEING_EDITED_ID"),Ie(ke,"SET_FOLDER_USING_CONTEXT_MENU_ID","SET_FOLDER_USING_CONTEXT_MENU_ID"),Ie(ke,"SET_FOLDER_PANEL_CONTEXT","SET_FOLDER_PANEL_CONTEXT"),Ie(ke,"SET_FOLDER_PANEL_MESSAGE","SET_FOLDER_PANEL_MESSAGE"),Ie(ke,"SET_FOLDER_PANEL_ERROR","SET_FOLDER_PANEL_ERROR"),Ie(ke,"SET_IS_FOLDER_DRAGGING","SET_IS_FOLDER_DRAGGING"),Ie(ke,"SET_IS_FOLDER_PANE_VISIBLE","SET_IS_FOLDER_PANE_VISIBLE"),Ie(ke,"SET_IS_FOLDER_PANEL_BUSY","SET_IS_FOLDER_PANEL_BUSY"),Ie(ke,"SET_IS_NAVIGATING","SET_IS_NAVIGATING"),Ie(ke,"SET_NAVIGATION_ERROR","SET_NAVIGATION_ERROR"),Ie(ke,"SET_ORGANIZATION_MODE","SET_ORGANIZATION_MODE"),Ie(ke,"SET_POST_IDS_TO_MOVE","SET_POST_IDS_TO_MOVE"),Ie(ke,"SET_SELECTED_FOLDER_ID","SET_SELECTED_FOLDER_ID"),Ie(ke,"SET_SELECTED_FOLDER_IDS","SET_SELECTED_FOLDER_IDS"),Ie(ke,"SET_SEARCH_TERMS","SET_SEARCH_TERMS"),Ie(ke,"SET_SORT_MODE","SET_SORT_MODE"),Ie(ke,"SET_WIDTH","SET_WIDTH"),Ie(ke,"TOGGLE_EXPANDED","TOGGLE_EXPANDED"),Ie(ke,"UPDATE_SAVED_SCREEN_STATE","UPDATE_SAVED_SCREEN_STATE"),Ie(ke,"WITH_INSTANCE","WITH_INSTANCE"),ke),Me=function(e){var t=Ce(e,{title:(0,xe.__)("Success","wicked-folders"),message:"",dismissible:!0,dismissed:!1,autoDismiss:!0,delay:3e3});return t.id=je(),t.autoDismiss&&setTimeout((function(){(0,a.dispatch)(c).dismissNotification(t.id)}),t.delay),{type:Ue.ADD_NOTIFICATION,notification:t}},Be=function(e){return{type:Ue.DELETE_NOTIFICATION,notificationId:e}},Ge=function(e){return setTimeout((function(){(0,a.dispatch)(c).deleteNotification(e)}),500),{type:Ue.DISMISS_NOTIFICATION,notificationId:e}},Ve=function(e){return{type:Ue.EXPAND_FOLDER,folderId:e}};function ze(e){var t,r,n;return Te().wrap((function(o){for(;;)switch(o.prev=o.next){case 0:return o.prev=0,(0,a.dispatch)(c).instanceAction(e,ut,!0),t=(0,a.select)(c).getPostType(e),r=(0,a.select)(c).getSortMode(e),o.next=6,(0,i.apiFetch)({path:"/wicked-folders/v1/folders?post_type=".concat(t,"&sort_mode=").concat(r)});case 6:return n=o.sent,(0,a.dispatch)(c).instanceAction(e,ut,!1),o.abrupt("return",{type:Ue.WITH_INSTANCE,payload:{action:{type:Ue.SET_FOLDERS,folders:n},instanceId:e}});case 11:o.prev=11,o.t0=o.catch(0),console.log("Error fetching folders: ".concat(o.t0.message));case 14:case"end":return o.stop()}}),Oe,null,[[0,11]])}var He=function(e,t){return{type:Ue.INIT_INSTANCE,instanceId:e,postType:t}},We=function(e){return{type:Ue.SET_EXPANDED_FOLDERS,folderIds:e}},Ye=function(e){return{type:Ue.SET_FOLDER_BEING_EDITED_ID,folderId:e}},Ze=function(e){return{type:Ue.SET_FOLDER_USING_CONTEXT_MENU_ID,folderId:e}};function Xe(e){var t;return Te().wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return t=(0,a.select)(c).getScreenState(e),r.prev=1,r.next=4,(0,i.apiFetch)({path:"/wicked-folders/v1/screen-state",method:"PUT",data:t});case 4:return t=(0,a.select)(c).getScreenState(e),r.abrupt("return",{type:Ue.WITH_INSTANCE,payload:{action:{type:Ue.UPDATE_SAVED_SCREEN_STATE,state:t},instanceId:e}});case 8:r.prev=8,r.t0=r.catch(1),console.log("Error while saving Wicked Folders state: ".concat(r.t0));case 11:return r.abrupt("return");case 12:case"end":return r.stop()}}),Fe,null,[[1,8]])}var Qe=function(e){return{type:Ue.SET_WIDTH,width:e}},Je=function(e){return{type:Ue.SET_NAVIGATION_ERROR,error:e}},Ke=function(e){return{type:Ue.SET_ORGANIZATION_MODE,mode:e}},$e=function(e){return{type:Ue.SET_POST_IDS_TO_MOVE,postIds:e}},et=function(e){return{type:Ue.SET_SELECTED_FOLDER_ID,folderId:e}},tt=function(e){return{type:Ue.SET_SELECTED_FOLDER_IDS,folderIds:e}},rt=function(e){return{type:Ue.SET_SEARCH_TERMS,s:e}},nt=function(e){return{type:Ue.SET_SORT_MODE,mode:e}},ot=function(e){return{type:Ue.SET_FOLDERS,folders:e}},at=function(e){return{type:Ue.SET_FOLDER_PANEL_CONTEXT,context:e}},it=function(e){return{type:Ue.SET_FOLDER_PANEL_ERROR,error:e}},ct=function(e){return{type:Ue.SET_IS_FOLDER_DRAGGING,isDragging:e}},lt=function(e){return{type:Ue.SET_FOLDER_PANEL_MESSAGE,message:e}},st=function(e){return{type:Ue.SET_IS_FOLDER_PANE_VISIBLE,isFolderPaneVisible:e}},ut=function(e){return{type:Ue.SET_IS_FOLDER_PANEL_BUSY,isBusy:e}},dt=function(e){return{type:Ue.SET_IS_NAVIGATING,isNavigating:e}},ft=function(e){return{type:Ue.TOGGLE_EXPANDED,folderId:e}},pt=function(e){return{type:Ue.UPDATE_SAVED_SCREEN_STATE,state:e}};function ht(e,t,r){var n,o,l,s;return Te().wrap((function(u){for(;;)switch(u.prev=u.next){case 0:return u.prev=0,n=(0,a.select)(c).getFolders(e),o=Pe(n,{id:t}),u.next=5,(0,i.apiFetch)({path:"".concat(d,"folders/").concat(t),method:"PUT",data:Le(Le({},o),{},{parent:r})});case 5:return l=u.sent,s=n.map((function(e){return e.id==o.id?l:e})),u.abrupt("return",{type:Ue.WITH_INSTANCE,payload:{action:{type:Ue.SET_FOLDERS,folders:s},instanceId:e}});case 10:u.prev=10,u.t0=u.catch(0),console.log(u.t0.message);case 13:case"end":return u.stop()}}),De,null,[[0,10]])}function mt(e,t,r,n,o){var l,s,u;return Te().wrap((function(f){for(;;)switch(f.prev=f.next){case 0:return f.prev=0,l=(0,a.select)(c).getPostType(e),s=(0,a.select)(c).getSortMode(e),f.next=5,(0,i.apiFetch)({path:"".concat(d,"folders/").concat(r,"/assign"),method:"PUT",data:{post_type:l,post_ids:t,sort_mode:s,from_folder_id:n,copy:o}});case 5:return u=f.sent,$e([]),f.abrupt("return",{type:Ue.WITH_INSTANCE,payload:{action:{type:Ue.SET_FOLDERS,folders:u},instanceId:e}});case 10:f.prev=10,f.t0=f.catch(0),console.log(f.t0.message);case 13:case"end":return f.stop()}}),Ae,null,[[0,10]])}function gt(e,t){var r,n;return Te().wrap((function(o){for(;;)switch(o.prev=o.next){case 0:return o.prev=0,r=(0,a.select)(c).getPostType(e),o.next=4,(0,i.apiFetch)({path:"".concat(d,"folders/unassign"),method:"PUT",data:{post_type:r,post_ids:t}});case 4:return n=o.sent,$e([]),o.abrupt("return",{type:Ue.WITH_INSTANCE,payload:{action:{type:Ue.SET_FOLDERS,folders:n},instanceId:e}});case 9:o.prev=9,o.t0=o.catch(0),console.log(o.t0.message);case 12:case"end":return o.stop()}}),Ne,null,[[0,9]])}var vt=function(e,t){for(var r=arguments.length,n=new Array(r>2?r-2:0),o=2;o<r;o++)n[o-2]=arguments[o];var a=t.apply(null,n);return{type:Ue.WITH_INSTANCE,payload:{action:a,instanceId:e}}};function yt(e){return yt="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},yt(e)}function bt(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function wt(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?bt(Object(r),!0).forEach((function(t){Et(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):bt(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function Et(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function St(){St=function(){return e};var e={},t=Object.prototype,r=t.hasOwnProperty,n="function"==typeof Symbol?Symbol:{},o=n.iterator||"@@iterator",a=n.asyncIterator||"@@asyncIterator",i=n.toStringTag||"@@toStringTag";function c(e,t,r){return Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{c({},"")}catch(e){c=function(e,t,r){return e[t]=r}}function l(e,t,r,n){var o=t&&t.prototype instanceof d?t:d,a=Object.create(o.prototype),i=new x(n||[]);return a._invoke=function(e,t,r){var n="suspendedStart";return function(o,a){if("executing"===n)throw new Error("Generator is already running");if("completed"===n){if("throw"===o)throw a;return{value:void 0,done:!0}}for(r.method=o,r.arg=a;;){var i=r.delegate;if(i){var c=w(i,r);if(c){if(c===u)continue;return c}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if("suspendedStart"===n)throw n="completed",r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);n="executing";var l=s(e,t,r);if("normal"===l.type){if(n=r.done?"completed":"suspendedYield",l.arg===u)continue;return{value:l.arg,done:r.done}}"throw"===l.type&&(n="completed",r.method="throw",r.arg=l.arg)}}}(e,r,i),a}function s(e,t,r){try{return{type:"normal",arg:e.call(t,r)}}catch(e){return{type:"throw",arg:e}}}e.wrap=l;var u={};function d(){}function f(){}function p(){}var h={};c(h,o,(function(){return this}));var m=Object.getPrototypeOf,g=m&&m(m(_([])));g&&g!==t&&r.call(g,o)&&(h=g);var v=p.prototype=d.prototype=Object.create(h);function y(e){["next","throw","return"].forEach((function(t){c(e,t,(function(e){return this._invoke(t,e)}))}))}function b(e,t){function n(o,a,i,c){var l=s(e[o],e,a);if("throw"!==l.type){var u=l.arg,d=u.value;return d&&"object"==yt(d)&&r.call(d,"__await")?t.resolve(d.__await).then((function(e){n("next",e,i,c)}),(function(e){n("throw",e,i,c)})):t.resolve(d).then((function(e){u.value=e,i(u)}),(function(e){return n("throw",e,i,c)}))}c(l.arg)}var o;this._invoke=function(e,r){function a(){return new t((function(t,o){n(e,r,t,o)}))}return o=o?o.then(a,a):a()}}function w(e,t){var r=e.iterator[t.method];if(void 0===r){if(t.delegate=null,"throw"===t.method){if(e.iterator.return&&(t.method="return",t.arg=void 0,w(e,t),"throw"===t.method))return u;t.method="throw",t.arg=new TypeError("The iterator does not provide a 'throw' method")}return u}var n=s(r,e.iterator,t.arg);if("throw"===n.type)return t.method="throw",t.arg=n.arg,t.delegate=null,u;var o=n.arg;return o?o.done?(t[e.resultName]=o.value,t.next=e.nextLoc,"return"!==t.method&&(t.method="next",t.arg=void 0),t.delegate=null,u):o:(t.method="throw",t.arg=new TypeError("iterator result is not an object"),t.delegate=null,u)}function E(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function S(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function x(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(E,this),this.reset(!0)}function _(e){if(e){var t=e[o];if(t)return t.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var n=-1,a=function t(){for(;++n<e.length;)if(r.call(e,n))return t.value=e[n],t.done=!1,t;return t.value=void 0,t.done=!0,t};return a.next=a}}return{next:k}}function k(){return{value:void 0,done:!0}}return f.prototype=p,c(v,"constructor",p),c(p,"constructor",f),f.displayName=c(p,i,"GeneratorFunction"),e.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===f||"GeneratorFunction"===(t.displayName||t.name))},e.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,p):(e.__proto__=p,c(e,i,"GeneratorFunction")),e.prototype=Object.create(v),e},e.awrap=function(e){return{__await:e}},y(b.prototype),c(b.prototype,a,(function(){return this})),e.AsyncIterator=b,e.async=function(t,r,n,o,a){void 0===a&&(a=Promise);var i=new b(l(t,r,n,o),a);return e.isGeneratorFunction(r)?i:i.next().then((function(e){return e.done?e.value:i.next()}))},y(v),c(v,i,"Generator"),c(v,o,(function(){return this})),c(v,"toString",(function(){return"[object Generator]"})),e.keys=function(e){var t=[];for(var r in e)t.push(r);return t.reverse(),function r(){for(;t.length;){var n=t.pop();if(n in e)return r.value=n,r.done=!1,r}return r.done=!0,r}},e.values=_,x.prototype={constructor:x,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEach(S),!e)for(var t in this)"t"===t.charAt(0)&&r.call(this,t)&&!isNaN(+t.slice(1))&&(this[t]=void 0)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var t=this;function n(r,n){return i.type="throw",i.arg=e,t.next=r,n&&(t.method="next",t.arg=void 0),!!n}for(var o=this.tryEntries.length-1;o>=0;--o){var a=this.tryEntries[o],i=a.completion;if("root"===a.tryLoc)return n("end");if(a.tryLoc<=this.prev){var c=r.call(a,"catchLoc"),l=r.call(a,"finallyLoc");if(c&&l){if(this.prev<a.catchLoc)return n(a.catchLoc,!0);if(this.prev<a.finallyLoc)return n(a.finallyLoc)}else if(c){if(this.prev<a.catchLoc)return n(a.catchLoc,!0)}else{if(!l)throw new Error("try statement without catch or finally");if(this.prev<a.finallyLoc)return n(a.finallyLoc)}}}},abrupt:function(e,t){for(var n=this.tryEntries.length-1;n>=0;--n){var o=this.tryEntries[n];if(o.tryLoc<=this.prev&&r.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var a=o;break}}a&&("break"===e||"continue"===e)&&a.tryLoc<=t&&t<=a.finallyLoc&&(a=null);var i=a?a.completion:{};return i.type=e,i.arg=t,a?(this.method="next",this.next=a.finallyLoc,u):this.complete(i)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),u},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.finallyLoc===e)return this.complete(r.completion,r.afterLoc),S(r),u}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.tryLoc===e){var n=r.completion;if("throw"===n.type){var o=n.arg;S(r)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(e,t,r){return this.delegate={iterator:_(e),resultName:t,nextLoc:r},"next"===this.method&&(this.arg=void 0),u}},e}var xt=St().mark(Dt),_t=St().mark(At),kt=St().mark(Nt);function Rt(e){return function(e){if(Array.isArray(e))return Lt(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(e){if("string"==typeof e)return Lt(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?Lt(e,t):void 0}}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Lt(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}var Tt=lodash,Ot=Tt.forOwn,Ft=Tt.uniqBy;function Dt(e){var t,r,n;return St().wrap((function(o){for(;;)switch(o.prev=o.next){case 0:if(t=[],r=[],n=(0,a.select)(c).getPostType(e),!1!==wickedFoldersSettings.instances[e].folders){o.next=9;break}return o.next=6,(0,i.apiFetch)({path:"/wicked-folders/v1/folders?post_type=".concat(n)});case 6:t=o.sent,o.next=11;break;case 9:t=Rt(wickedFoldersSettings.instances[e].folders),wickedFoldersSettings.instances[e].folders=!1;case 11:return Ot(t,(function(e){return r.push(e)})),o.abrupt("return",vt(e,ot,r));case 13:case"end":return o.stop()}}),xt)}function At(e){var t;return St().wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return t=null,r.prev=1,!1===wickedFoldersSettings.instances[e].state||(t=wt({},wickedFoldersSettings.instances[e].state)),r.abrupt("return",vt(e,pt,t));case 6:r.prev=6,r.t0=r.catch(1),(0,a.dispatch)(c).setError("Error while loading state: ".concat(r.t0.message));case 9:case"end":return r.stop()}}),_t,null,[[1,6]])}function Nt(e,t){var r,n,o;return St().wrap((function(l){for(;;)switch(l.prev=l.next){case 0:if(r=(0,a.select)(c).getFolders(e),n=(0,a.select)(c).getPostType(e),!r.find((function(e){return e.id==t})).lazy){l.next=9;break}return l.next=6,(0,i.apiFetch)({path:"/wicked-folders/v1/folders/".concat(t,"/children?post_type=").concat(n)});case 6:o=l.sent,r=[].concat(Rt(r),Rt(o)),r=Ft(r,"id");case 9:return l.abrupt("return",vt(e,ot,r));case 10:case"end":return l.stop()}}),kt)}function It(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,o,a=[],_n=!0,i=!1;try{for(r=r.call(e);!(_n=(n=r.next()).done)&&(a.push(n.value),!t||a.length!==t);_n=!0);}catch(e){i=!0,o=e}finally{try{_n||null==r.return||r.return()}finally{if(i)throw o}}return a}}(e,t)||Ct(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 qt(e){return function(e){if(Array.isArray(e))return Pt(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||Ct(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Ct(e,t){if(e){if("string"==typeof e)return Pt(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?Pt(e,t):void 0}}function Pt(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function jt(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function Ut(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?jt(Object(r),!0).forEach((function(t){Mt(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):jt(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function Mt(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var Bt=lodash,Gt=Bt.has,Vt=Bt.union,zt=Ue.ADD_NOTIFICATION,Ht=Ue.DELETE_NOTIFICATION,Wt=Ue.DISMISS_NOTIFICATION,Yt=Ue.EXPAND_FOLDER,Zt=Ue.INIT_INSTANCE,Xt=Ue.SET_FOLDERS,Qt=Ue.SET_FOLDER_BEING_EDITED_ID,Jt=Ue.SET_FOLDER_USING_CONTEXT_MENU_ID,Kt=Ue.SET_FOLDER_PANEL_CONTEXT,$t=Ue.SET_FOLDER_PANEL_ERROR,er=Ue.SET_FOLDER_PANEL_MESSAGE,tr=Ue.SET_EXPANDED_FOLDERS,rr=Ue.SET_IS_FOLDER_DRAGGING,nr=Ue.SET_IS_FOLDER_PANE_VISIBLE,or=Ue.SET_IS_FOLDER_PANEL_BUSY,ar=Ue.SET_IS_NAVIGATING,ir=Ue.SET_NAVIGATION_ERROR,cr=Ue.SET_ORGANIZATION_MODE,lr=Ue.SET_POST_IDS_TO_MOVE,sr=Ue.SET_SEARCH_TERMS,ur=Ue.SET_SELECTED_FOLDER_ID,dr=Ue.SET_SELECTED_FOLDER_IDS,fr=Ue.SET_SORT_MODE,pr=Ue.SET_WIDTH,hr=Ue.TOGGLE_EXPANDED,mr=Ue.UPDATE_SAVED_SCREEN_STATE,gr=Ue.WITH_INSTANCE,vr={instances:{},notifications:[]},yr={folders:[],folderPanelContext:!1,isFolderDragging:!1,postType:!1,postIdsToMove:[],organizationMode:f,searchTerms:"",folderBeingEditedId:!1,folderUsingContextMenuId:!1,screenState:{canAddFolders:!0,folder:!1,enableSearch:!1,enableBreadcrumbs:!1,expandedFolders:[],isFolderPaneVisible:!0,showItemCounts:!0,enableAjaxNav:!0,isDirty:!1,isFolderPanelBusy:!1,isNavigating:!1,navigationError:!1,folderPanelMessage:!1,folderPanelError:!1,screenId:!1,includeChildren:!1,treePaneWidth:292,userId:1,selectedFolders:[],sortMode:m,syncUploadFolderDropdown:!0,disableDragDropOnMobile:!0}},br=function(e,t){switch(t.type){case Yt:return Ut(Ut({},e),{},{screenState:Ut(Ut({},e.screenState),{},{expandedFolders:Vt(qt(e.screenState.expandedFolders),[t.folderId]),isDirty:!0})});case Qt:return Ut(Ut({},e),{},{folderBeingEditedId:t.folderId});case Jt:return Ut(Ut({},e),{},{folderUsingContextMenuId:t.folderId});case ir:return Ut(Ut({},e),{},{screenState:Ut(Ut({},e.screenState),{},{navigationError:t.error})});case cr:return Ut(Ut({},e),{},{organizationMode:t.mode});case lr:return Ut(Ut({},e),{},{postIdsToMove:t.postIds});case sr:return Ut(Ut({},e),{},{searchTerms:t.s});case ur:return Ut(Ut({},e),{},{screenState:Ut(Ut({},e.screenState),{},{folder:t.folderId,isDirty:!0})});case dr:return Ut(Ut({},e),{},{screenState:Ut(Ut({},e.screenState),{},{selectedFolders:t.folderIds})});case fr:return Ut(Ut({},e),{},{screenState:Ut(Ut({},e.screenState),{},{sortMode:t.mode,isDirty:!0})});case Xt:return Ut(Ut({},e),{},{folders:t.folders});case Kt:return Ut(Ut({},e),{},{folderPanelContext:t.context});case $t:return Ut(Ut({},e),{},{screenState:Ut(Ut({},e.screenState),{},{folderPanelError:t.error})});case er:return Ut(Ut({},e),{},{screenState:Ut(Ut({},e.screenState),{},{folderPanelMessage:t.message})});case tr:return Ut(Ut({},e),{},{screenState:Ut(Ut({},e.screenState),{},{expandedFolders:t.folderIds,isDirty:!0})});case rr:return Ut(Ut({},e),{},{isFolderDragging:t.isDragging});case nr:return Ut(Ut({},e),{},{screenState:Ut(Ut({},e.screenState),{},{isFolderPaneVisible:t.isFolderPaneVisible,isDirty:!0})});case or:return Ut(Ut({},e),{},{screenState:Ut(Ut({},e.screenState),{},{isFolderPanelBusy:t.isBusy})});case ar:return Ut(Ut({},e),{},{screenState:Ut(Ut({},e.screenState),{},{isNavigating:t.isNavigating})});case pr:return Ut(Ut({},e),{},{screenState:Ut(Ut({},e.screenState),{},{treePaneWidth:t.width,isDirty:!0})});case hr:return-1==e.screenState.expandedFolders.indexOf(t.folderId)?Ut(Ut({},e),{},{screenState:Ut(Ut({},e.screenState),{},{expandedFolders:[].concat(qt(e.screenState.expandedFolders),[t.folderId]),isDirty:!0})}):Ut(Ut({},e),{},{screenState:Ut(Ut({},e.screenState),{},{expandedFolders:qt(e.screenState.expandedFolders.filter((function(e){return e!=t.folderId}))),isDirty:!0})});case mr:return Ut(Ut({},e),{},{screenState:Ut(Ut({},t.state),{},{isDirty:!1})});default:return e}};var wr=(0,o.createContext)(),Er=lodash,Sr=Er.forOwn,xr=Er.isFunction,_r=function(e){var t=(0,o.useContext)(wr);return(0,a.useSelect)((function(r){return e.apply(null,[function(e){var n={},o=r(e);return Sr(o,(function(e,r){n[r]=function(){return e.apply(null,[t].concat(Array.prototype.slice.call(arguments)))}})),n}])}))},kr=function(e){var r=(0,o.useContext)(wr),n={},i=(0,a.useDispatch)(e);return Sr(t,(function(e,t){xr(e)&&(n[t]=function(){return i.instanceAction.apply(null,[r,e].concat(Array.prototype.slice.call(arguments)))})})),n},Rr=r(379),Lr=r.n(Rr),Tr=r(795),Or=r.n(Tr),Fr=r(569),Dr=r.n(Fr),Ar=r(565),Nr=r.n(Ar),Ir=r(216),qr=r.n(Ir),Cr=r(589),Pr=r.n(Cr),jr=r(804),Ur={};function Mr(){var e=(0,o.useRef)(),t=_r((function(e){return{width:(0,e(c).getWidth)()}})).width,r=kr(c).setWidth;return(0,o.useEffect)((function(){var t=jQuery,n=t(e.current);n.resizable({resizeHeight:!1,handles:"e",minWidth:150,containment:t("#wpcontent"),resize:function(e,t){r(t.size.width)},stop:function(e,t){r(t.size.width)}}),x()&&n.resizable("disable")})),(0,o.useEffect)((function(){document.documentElement.style.setProperty("--wicked-folders-tree-pane-width",t+"px"),document.documentElement.style.setProperty("--wicked-folders-modal-tree-pane-width",t+"px")}),[t]),React.createElement("div",{className:"wicked-resizer ui-resizable",ref:e})}function Br(e){var t=e.children;return React.createElement("div",{className:"wicked-content"},t)}function Gr(e){return e.hidden,React.createElement("h2",{className:"wicked-title"},(0,xe.__)("Folders","wicked-folders"))}Ur.styleTagTransform=Pr(),Ur.setAttributes=Nr(),Ur.insert=Dr().bind(null,"head"),Ur.domAPI=Or(),Ur.insertStyleElement=qr(),Lr()(jr.Z,Ur),jr.Z&&jr.Z.locals&&jr.Z.locals;const Vr=React.createElement("svg",{width:"7px",height:"13px",viewBox:"0 0 7 13",version:"1.1",xmlns:"http://www.w3.org/2000/svg"},React.createElement("g",{stroke:"none",strokeWidth:"1",fill:"none",fillRule:"evenodd"},React.createElement("g",{transform:"translate(0.312500, 0.691360)",fill:"#2271B1",fillRule:"nonzero"},React.createElement("path",{d:"M0,10.8345095 C0,11.5305375 0.84152021,11.8791237 1.33365313,11.3869145 L6.3595048,6.36106287 C6.66460356,6.05600226 6.66460356,5.5613135 6.3595048,5.25625288 L1.33365313,0.230401217 C0.84152021,-0.26176985 0,0.0867782077 0,0.782806211 L0,10.8345095 Z"})))),zr=React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 352 512"},React.createElement("path",{d:"M242.72 256l100.07-100.07c12.28-12.28 12.28-32.19 0-44.48l-22.24-22.24c-12.28-12.28-32.19-12.28-44.48 0L176 189.28 75.93 89.21c-12.28-12.28-32.19-12.28-44.48 0L9.21 111.45c-12.28 12.28-12.28 32.19 0 44.48L109.28 256 9.21 356.07c-12.28 12.28-12.28 32.19 0 44.48l22.24 22.24c12.28 12.28 32.2 12.28 44.48 0L176 322.72l100.07 100.07c12.28 12.28 32.2 12.28 44.48 0l22.24-22.24c12.28-12.28 12.28-32.19 0-44.48L242.72 256z"})),Hr=React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512"},React.createElement("path",{d:"M173.898 439.404l-166.4-166.4c-9.997-9.997-9.997-26.206 0-36.204l36.203-36.204c9.997-9.998 26.207-9.998 36.204 0L192 312.69 432.095 72.596c9.997-9.997 26.207-9.997 36.204 0l36.203 36.204c9.997 9.997 9.997 26.206 0 36.204l-294.4 294.401c-9.998 9.997-26.207 9.997-36.204-.001z"})),Wr=React.createElement("svg",{width:"28px",height:"30px",viewBox:"0 0 28 30",version:"1.1",xmlns:"http://www.w3.org/2000/svg"},React.createElement("g",{stroke:"none",strokeWidth:"1",fill:"none",fillRule:"evenodd"},React.createElement("g",{transform:"translate(0.092416, 0.224615)",fill:"#2271B1",fillRule:"nonzero"},React.createElement("path",{d:"M27.4661321,18.0234622 L24.9700099,16.582025 C25.221951,15.222699 25.221951,13.8281253 24.9700099,12.4687993 L27.4661321,11.0273622 C27.7532064,10.8633115 27.8821238,10.52348 27.7883969,10.2070517 C27.1379735,8.12114202 26.0305886,6.23441632 24.583315,4.66411901 C24.3606707,4.42385088 23.9973789,4.36525727 23.716141,4.52936515 L21.2200189,5.97074508 C20.1712276,5.06838059 18.9641649,4.37115096 17.6575388,3.91413224 L17.6575388,1.03715165 C17.6575388,0.709050316 17.4290008,0.421918738 17.106736,0.351594961 C14.9563963,-0.128826867 12.7532422,-0.105423755 10.7083595,0.351594961 C10.3860946,0.421918738 10.1575567,0.709050316 10.1575567,1.03715165 L10.1575567,3.91996872 C8.85676709,4.38288113 7.6497616,5.08011076 6.59507662,5.97658155 L4.10484818,4.53520162 C3.8177166,4.37115096 3.46031847,4.42385088 3.23767419,4.66995548 C1.79040057,6.23441632 0.68295845,8.12114202 0.0325922641,10.2129454 C-0.0670283175,10.5293165 0.0677255421,10.869148 0.354857121,11.0332559 L2.85092203,12.4746358 C2.59898095,13.834019 2.59898095,15.2285355 2.85092203,16.5879187 L0.354857121,18.0292986 C0.0677255421,18.1933493 -0.0611918446,18.533238 0.0325922641,18.8496092 C0.68295845,20.935576 1.79040057,22.8222445 3.23767419,24.392599 C3.46031847,24.63281 3.82361029,24.6914036 4.10484818,24.5273529 L6.60091309,23.0859158 C7.6497616,23.9882802 8.85676709,24.6855671 10.1633932,25.1425858 L10.1633932,28.0254029 C10.1633932,28.3535042 10.3919311,28.6406358 10.714196,28.7109023 C12.8645929,29.1913814 15.0676898,29.1679783 17.1126297,28.7109023 C17.4348945,28.6406358 17.6633753,28.3535042 17.6633753,28.0254029 L17.6633753,25.1425858 C18.9641649,24.6796734 20.1712276,23.9824438 21.2259126,23.0859158 L23.7219775,24.5273529 C24.009109,24.6914036 24.3665072,24.6386464 24.5891515,24.392599 C26.0364251,22.8281382 27.1438672,20.9414125 27.7942334,18.8496092 C27.8821238,18.5273443 27.7532064,18.1875128 27.4661321,18.0234622 Z M13.9075477,19.212901 C11.3235924,19.212901 9.22005892,17.1093675 9.22005892,14.5254122 C9.22005892,11.9414569 11.3235924,9.83792336 13.9075477,9.83792336 C16.4915031,9.83792336 18.5950366,11.9414569 18.5950366,14.5254122 C18.5950366,17.1093675 16.4915031,19.212901 13.9075477,19.212901 Z"})))),Yr=React.createElement("svg",{width:"27px",height:"27px",viewBox:"0 0 27 27",version:"1.1",xmlns:"http://www.w3.org/2000/svg"},React.createElement("g",{stroke:"none",strokeWidth:"1",fill:"none",fillRule:"evenodd"},React.createElement("g",{transform:"translate(0.000000, 0.625058)",fill:"#2271B1",fillRule:"nonzero"},React.createElement("path",{d:"M6.32810991,14.7655898 L19.9218275,14.7655898 C20.3085224,14.7655898 20.6249508,14.4491614 20.6249508,14.0624665 L20.6249508,12.1874709 C20.6249508,11.800776 20.3085224,11.4843476 19.9218275,11.4843476 L6.32810991,11.4843476 C5.94141497,11.4843476 5.62498659,11.800776 5.62498659,12.1874709 L5.62498659,14.0624665 C5.62498659,14.4491614 5.94141497,14.7655898 6.32810991,14.7655898 Z M26.2499374,2.81249329 C26.2499374,1.25976262 24.9901748,0 23.4374441,0 L2.81249329,0 C1.25976262,0 0,1.25976262 0,2.81249329 L0,23.4374441 C0,24.9901748 1.25976262,26.2499374 2.81249329,26.2499374 L23.4374441,26.2499374 C24.9901748,26.2499374 26.2499374,24.9901748 26.2499374,23.4374441 L26.2499374,2.81249329 Z M23.4374441,23.0858825 C23.4374441,23.2792299 23.2792299,23.4374441 23.0858825,23.4374441 L3.16405496,23.4374441 C2.97070749,23.4374441 2.81249329,23.2792299 2.81249329,23.0858825 L2.81249329,3.16405496 C2.81249329,2.97070749 2.97070749,2.81249329 3.16405496,2.81249329 L23.0858825,2.81249329 C23.2792299,2.81249329 23.4374441,2.97070749 23.4374441,3.16405496 L23.4374441,23.0858825 Z"})))),Zr=React.createElement("svg",{width:"30px",height:"31px",viewBox:"0 0 30 31",version:"1.1",xmlns:"http://www.w3.org/2000/svg"},React.createElement("g",{stroke:"none",strokeWidth:"1",fill:"none",fillRule:"evenodd"},React.createElement("g",{transform:"translate(0.001406, 0.754469)",fill:"#2271B1",fillRule:"nonzero"},React.createElement("path",{d:"M29.1723759,8.32172317 C30.2739244,7.22017474 30.2739244,5.43896332 29.1723759,4.34325136 L25.6508656,0.821741052 C24.5493172,-0.273913684 22.7680485,-0.273913684 21.6723938,0.821741052 L18.971194,3.52294082 C18.6957926,3.79834223 18.6957926,4.24363078 18.971194,4.51903219 L25.4750848,11.0229229 C25.7504862,11.2983244 26.1957747,11.2983244 26.4711762,11.0229229 L29.1723759,8.32172317 Z M16.65091,5.8432249 L1.26419356,21.2299413 L0.0220547985,28.3490649 C-0.14788956,29.3099658 0.689987624,30.1420065 1.65094572,29.9779559 L8.77006937,28.7299234 L24.1567285,13.343207 C24.43213,13.0678056 24.43213,12.6225171 24.1567285,12.3471156 L17.6528378,5.8432249 C17.3715999,5.56782349 16.9263114,5.56782349 16.65091,5.8432249 Z M5.15483217,24.8392848 L7.96732547,24.8392848 L7.96732547,26.9662214 L4.1880376,27.6283178 L2.36579921,25.8060794 L3.02789556,22.0267915 L5.15483217,22.0267915 L5.15483217,24.8392848 Z"})))),Xr=React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 448 512"},React.createElement("path",{d:"M352 240v32c0 6.6-5.4 12-12 12h-88v88c0 6.6-5.4 12-12 12h-32c-6.6 0-12-5.4-12-12v-88h-88c-6.6 0-12-5.4-12-12v-32c0-6.6 5.4-12 12-12h88v-88c0-6.6 5.4-12 12-12h32c6.6 0 12 5.4 12 12v88h88c6.6 0 12 5.4 12 12zm96-160v352c0 26.5-21.5 48-48 48H48c-26.5 0-48-21.5-48-48V80c0-26.5 21.5-48 48-48h352c26.5 0 48 21.5 48 48zm-48 346V86c0-3.3-2.7-6-6-6H54c-3.3 0-6 2.7-6 6v340c0 3.3 2.7 6 6 6h340c3.3 0 6-2.7 6-6z",fill:"#2271B1"})),Qr=React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512"},React.createElement("path",{d:"M464 128H272l-64-64H48C21.49 64 0 85.49 0 112v288c0 26.51 21.49 48 48 48h416c26.51 0 48-21.49 48-48V176c0-26.51-21.49-48-48-48z",fill:"#2271B1"})),Jr=React.createElement("svg",{width:"34px",height:"23px",viewBox:"0 0 34 23",version:"1.1",xmlns:"http://www.w3.org/2000/svg"},React.createElement("g",{stroke:"none",strokeWidth:"1",fill:"none",fillRule:"evenodd"},React.createElement("g",{transform:"translate(0.000000, 0.500054)",fill:"#2271B1",fillRule:"nonzero"},React.createElement("path",{d:"M33.5562287,13.3647791 C34.1031406,12.4272813 33.4269108,11.2499732 32.3415557,11.2499732 L8.90622877,11.2499732 C7.71724768,11.2499732 6.2661403,12.0834444 5.66704353,13.1104347 L1.42346996,20.3851405 C0.876615342,21.3226382 1.55284511,22.4999464 2.63820019,22.4999464 L26.0735272,22.4999464 L26.0735844,22.4999464 C27.2625082,22.4999464 28.7135584,21.6664751 29.312598,20.6394848 L33.5562287,13.3647791 Z M8.90622877,9.37497765 L28.1249329,9.37497765 L28.1249329,6.56248435 C28.1249329,5.00918148 26.8657425,3.74999106 25.3124397,3.74999106 L15.937462,3.74999106 L12.1874709,0 L2.81249329,0 C1.25919042,0 0,1.25919042 0,2.81249329 L0,19.1042063 L4.04747952,12.16567 C5.05158174,10.444311 6.91341659,9.37497765 8.90622877,9.37497765 Z"})))),Kr=React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 448 512"},React.createElement("path",{d:"M416 208H272V64c0-17.67-14.33-32-32-32h-32c-17.67 0-32 14.33-32 32v144H32c-17.67 0-32 14.33-32 32v32c0 17.67 14.33 32 32 32h144v144c0 17.67 14.33 32 32 32h32c17.67 0 32-14.33 32-32V304h144c17.67 0 32-14.33 32-32v-32c0-17.67-14.33-32-32-32z",fill:"#0073aa"})),$r=React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 448 512"},React.createElement("path",{fill:"#2271B1",d:"M32 464a48 48 0 0 0 48 48h288a48 48 0 0 0 48-48V128H32zm272-256a16 16 0 0 1 32 0v224a16 16 0 0 1-32 0zm-96 0a16 16 0 0 1 32 0v224a16 16 0 0 1-32 0zm-96 0a16 16 0 0 1 32 0v224a16 16 0 0 1-32 0zM432 32H312l-9.4-18.7A24 24 0 0 0 281.1 0H166.8a23.72 23.72 0 0 0-21.4 13.3L136 32H16A16 16 0 0 0 0 48v32a16 16 0 0 0 16 16h416a16 16 0 0 0 16-16V48a16 16 0 0 0-16-16z"})),en=React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512"},React.createElement("path",{fill:"#2271B1",d:"M224 96l16-32 32-16-32-16-16-32-16 32-32 16 32 16 16 32zM80 160l26.66-53.33L160 80l-53.34-26.67L80 0 53.34 53.33 0 80l53.34 26.67L80 160zm352 128l-26.66 53.33L352 368l53.34 26.67L432 448l26.66-53.33L512 368l-53.34-26.67L432 288zm70.62-193.77L417.77 9.38C411.53 3.12 403.34 0 395.15 0c-8.19 0-16.38 3.12-22.63 9.38L9.38 372.52c-12.5 12.5-12.5 32.76 0 45.25l84.85 84.85c6.25 6.25 14.44 9.37 22.62 9.37 8.19 0 16.38-3.12 22.63-9.37l363.14-363.15c12.5-12.48 12.5-32.75 0-45.24zM359.45 203.46l-50.91-50.91 86.6-86.6 50.91 50.91-86.6 86.6z"}));function tn(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}const rn=function(){var e,t,r=(e=(0,o.useState)(!1),t=2,function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,o,a=[],_n=!0,i=!1;try{for(r=r.call(e);!(_n=(n=r.next()).done)&&(a.push(n.value),!t||a.length!==t);_n=!0);}catch(e){i=!0,o=e}finally{try{_n||null==r.return||r.return()}finally{if(i)throw o}}return a}}(e,t)||function(e,t){if(e){if("string"==typeof e)return tn(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?tn(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.")}()),n=r[0],a=r[1],i=kr(c),d=i.setFolderPanelContext,p=i.setExpandedFolders,m=i.setFolderBeingEditedId,g=i.setOrganizationMode,v=i.setSelectedFolderIds,y=_r((function(e){var t=e(c),r=t.getSelectedFolder,n=t.canAddFolders,o=t.getFolders,a=t.getOrganizationMode,i=t.getSelectedFolderIds;return{folder:r(),folders:o(),canAddFolders:n(),organizationMode:a(),selectedFolderIds:i()}})),b=y.folder,w=y.folders,E=y.canAddFolders,S=y.organizationMode,x=y.selectedFolderIds;return React.createElement("div",{className:"wicked-toolbar-container"},React.createElement("div",{className:"wicked-folder-pane-toolbar"},h==S?React.createElement("div",{className:"wicked-folder-pane-toolbar-bulk-buttons"},React.createElement("button",{type:"button",className:"button action",disabled:!x.length,onClick:function(){return d(s)}},(0,xe.__)("Delete Selected","wicked-folders")),React.createElement("button",{type:"button",className:"button action",onClick:function(){g(f),v([])}},(0,xe.__)("Cancel","wicked-folders"))):React.createElement("div",{className:"wicked-folder-pane-toolbar-buttons"},React.createElement("div",null,React.createElement("button",{type:"button",title:(0,xe.__)("Add New Folder","wicked-folders"),disabled:!E,onClick:function(){return d("add")}},Kr,React.createElement("span",{className:"screen-reader-text"},(0,xe.__)("Add New Folder","wicked-folders")))),React.createElement("div",null,React.createElement("button",{type:"button",title:(0,xe.__)("Edit Folder","wicked-folders"),disabled:!b||!b.editable,onClick:function(){d(l),m(b.id)}},Zr,React.createElement("span",{className:"screen-reader-text"},(0,xe.__)("Edit Folder","wicked-folders")))),React.createElement("div",null,React.createElement("button",{type:"button",title:(0,xe.__)("Delete Folder","wicked-folders"),disabled:!b||!b.deletable,onClick:function(){return d(s)}},$r,React.createElement("span",{className:"screen-reader-text"},(0,xe.__)("Delete Folder","wicked-folders")))),React.createElement("div",null,React.createElement("button",{type:"button",title:(0,xe.__)(n?"Collapse All":"Expand All","wicked-folders"),onClick:function(){if(n)p(["0"]),a(!1);else{var e=w.map((function(e){return e.id}));p(e),a(!0)}}},n?Yr:Xr,React.createElement("span",{className:"screen-reader-text"},(0,xe.__)(n?"Collapse All":"Expand All","wicked-folders")))),React.createElement("div",null,React.createElement("button",{type:"button",title:(0,xe.__)("Settings","wicked-folders"),onClick:function(){return d(u)}},Wr,React.createElement("span",{className:"screen-reader-text"},(0,xe.__)("Settings","wicked-folders")))))))};var nn=r(703),on=r.n(nn);const an=window.wp.apiFetch;var cn=r.n(an);const ln=window.wp.hooks;window.wp.components;var sn=r(805);function un(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}var dn=lodash.find;const fn=function(e){var t=e.folder,r=Qr,n=(0,o.useContext)(wr),i=(0,o.useRef)(),l=(0,a.useDispatch)(c),s=l.addNotification,u=l.moveFolder,d=l.movePostsToFolder,m=l.unassignFolders,g=kr(c),v=g.toggleExpanded,y=g.setSelectedFolderId,b=g.setSelectedFolderIds,w=g.expandFolder,E=(g.setIsFolderDragging,g.setFolderUsingContextMenuId,_r((function(e){return{allFolders:e(c).getFolders(),organizationMode:e(c).getOrganizationMode(),selectedFolder:e(c).getSelectedFolder(),selectedFolderIds:e(c).getSelectedFolderIds(),postIdsToMove:e(c).getPostIdsToMove(),postType:e(c).getPostType(),isExpanded:e(c).isFolderExpanded(t.id),showItemCounts:e(c).showItemCounts(),folderUsingContextMenuId:e(c).getFolderUsingContextMenuId()}}))),S=E.allFolders,x=E.organizationMode,_=E.selectedFolder,k=E.selectedFolderIds,R=E.postIdsToMove,L=E.postType,T=E.isExpanded,A=E.showItemCounts,N=(E.folderUsingContextMenuId,t.id,function(){y(t.id),w(t.id)});return(0,o.useEffect)((function(){var e=jQuery,r=e(i.current);return p!=x&&h!=x||!r.data("ui-droppable")||r.droppable("destroy"),f==x&&r.droppable({hoverClass:"wicked-drop-hover",tolerance:"pointer",accept:function(t){var r=!1,n=e(this).parents("li").eq(0).attr("data-folder-id"),o=dn(S,{id:n}),a=t.attr("data-folder-id"),i=dn(S,{id:a}),c=_;return(i||R)&&(r=!0),t.hasClass("wicked-folder-leaf")?(n==i.parent&&(r=!1),"unassigned_dynamic_folder"==n&&(r=!1),f!=x&&(r=!1),0!=n&&(o.editable&&i.editable||(r=!1))):(n==c.id&&(r=!1),0==n&&(r=!1),o.assignable||(r=!1)),r},drop:function(r,o){var a=e(this).parents("li").eq(0).attr("data-folder-id"),i=dn(S,{id:a}),c=_.id,l=_.assignable,f=r.shiftKey||!l,p="wf_"+L+"_folders",h=(f?(0,xe.__)("Copied","wicked-folders"):(0,xe.__)("Moved","wicked-folders"))+" "+(1==R.length?"item":R.length+" items")+" "+(0,xe.__)("to folder.","wicked-folders");if(R.length>0)if(D(i)&&(a=i.termId),D(_.type)&&(t.termId,function(e){throw new TypeError('"fromFolderId" is read-only')}()),0==a||"unassigned_dynamic_folder"==a){if(!confirm((0,xe.__)("This will unassign the selected item(s) from all folders. Are you sure you want to continue?","wicked-folders")))return!1;F(_)||D(_)?O(R):R.forEach((function(t){e('.wp-list-table [id="post-'+t+'"] td.taxonomy-'+p).html('<span aria-hidden="true">—</span><span class="screen-reader-text">No categories</span>')})),s({message:(0,xe.sprintf)((0,xe._n)("Unassigned %d item","Unassigned %d items",R.length,"wicked-folders"),R.length)}),m(n,R),(0,ln.doAction)("wickedFolders.unassignFolders",R,c)}else"0"!=c||r.shiftKey?"unassigned_dynamic_folder"==c?O(R):f||O(R):O(R),d(n,R,a,c,f),s({message:h}),(0,ln.doAction)("wickedFolders.movePostsToFolder",R,a,c,f);else{var g=e(o.draggable).attr("data-folder-id");u(n,g,a)}}}),function(){r.data("ui-droppable")}}),[S,x]),T&&(r=Jr),"dynamic_root"==t.id&&(r=en),React.createElement("div",{className:"wicked-folder-wrapper"},React.createElement("button",{className:"wicked-toggle",type:"button",onClick:function(){return v(t.id)}},React.createElement("span",{className:"screen-reader-text"},T?(0,xe.__)("Collapse","wicked-folders"):(0,xe.__)("Expand","wicked-folders")),Vr),React.createElement("div",{className:"wicked-folder",onClick:N,ref:i},h==x?React.createElement("span",{className:"wicked-select"},React.createElement("input",{type:"checkbox","aria-label":(0,sn.decode)(t.name),disabled:!t.deletable,onClick:function(e){return e.stopPropagation()},onChange:function(e){return function(e,t){e.stopPropagation();var r,n=function(e){if(Array.isArray(e))return un(e)}(r=k)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(r)||function(e,t){if(e){if("string"==typeof e)return un(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?un(e,t):void 0}}(r)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}();e.target.checked?n.push(t):n.splice(n.indexOf(t),1),b(n)}(e,t.id)},checked:k.includes(t.id)})):React.createElement("span",{className:"wicked-icon"},r),React.createElement("button",{className:"wicked-folder-name",type:"button",onClick:N},(0,sn.decode)(t.name)),A&&t.showItemCount&&React.createElement("span",{className:"wicked-count"},t.itemCount)))},pn=function(e){var t=e.folder,r=window.innerWidth||document.documentElement.clientWidth||document.body.clientWidth,n=(0,o.useRef)(),a=kr(c).setIsFolderDragging,i=_r((function(e){var r=e(c),n=r.isFolderExpanded,o=r.folderHasChildren,a=r.isFolderSelected,i=r.isSearch,l=r.folderMatchesSearchTerms,s=r.getFolders,u=r.getOrganizationMode,d=r.disableDragDropOnMobile;return{isSearch:i(),isExpanded:n(t.id),isSelected:a(t.id),hasChildren:o(t.id),isMatch:l(t.id),allFolders:s(),organizationMode:u(),disableDragDropOnMobile:d()}})),l=i.allFolders,s=i.organizationMode,u=i.isExpanded,d=i.hasChildren,h=i.isSelected,m=i.isSearch,g=i.isMatch,v=i.disableDragDropOnMobile,y=r<651&&v,b=on()("wicked-tree-leaf","wicked-folder-leaf",{"wicked-expanded":u||m},{"has-children":d},{"wicked-selected":h},{"wicked-movable":t.movable&&!y},{editable:t.editable},{assignable:t.assignable},{"wicked-no-match":m&&!g});return(0,o.useEffect)((function(){var e=jQuery(n.current);return p==s&&e.data("ui-draggable")&&e.draggable("destroy"),t.movable&&f==s&&!y&&(e.draggable({revert:"invalid",helper:"clone",start:function(e,t){a(!0)},stop:function(e,t){a(!1)}}),x()&&e.draggable("option","cursorAt",{top:0,right:40})),function(){e.data("ui-draggable")}}),[l,s]),React.createElement("li",{className:b,"data-folder-id":t.id,ref:n},React.createElement(fn,{folder:t}),u&&React.createElement(yn,{parent:t.id}))};function hn(e){return hn="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},hn(e)}function mn(){mn=function(){return e};var e={},t=Object.prototype,r=t.hasOwnProperty,n="function"==typeof Symbol?Symbol:{},o=n.iterator||"@@iterator",a=n.asyncIterator||"@@asyncIterator",i=n.toStringTag||"@@toStringTag";function c(e,t,r){return Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{c({},"")}catch(e){c=function(e,t,r){return e[t]=r}}function l(e,t,r,n){var o=t&&t.prototype instanceof d?t:d,a=Object.create(o.prototype),i=new x(n||[]);return a._invoke=function(e,t,r){var n="suspendedStart";return function(o,a){if("executing"===n)throw new Error("Generator is already running");if("completed"===n){if("throw"===o)throw a;return{value:void 0,done:!0}}for(r.method=o,r.arg=a;;){var i=r.delegate;if(i){var c=w(i,r);if(c){if(c===u)continue;return c}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if("suspendedStart"===n)throw n="completed",r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);n="executing";var l=s(e,t,r);if("normal"===l.type){if(n=r.done?"completed":"suspendedYield",l.arg===u)continue;return{value:l.arg,done:r.done}}"throw"===l.type&&(n="completed",r.method="throw",r.arg=l.arg)}}}(e,r,i),a}function s(e,t,r){try{return{type:"normal",arg:e.call(t,r)}}catch(e){return{type:"throw",arg:e}}}e.wrap=l;var u={};function d(){}function f(){}function p(){}var h={};c(h,o,(function(){return this}));var m=Object.getPrototypeOf,g=m&&m(m(_([])));g&&g!==t&&r.call(g,o)&&(h=g);var v=p.prototype=d.prototype=Object.create(h);function y(e){["next","throw","return"].forEach((function(t){c(e,t,(function(e){return this._invoke(t,e)}))}))}function b(e,t){function n(o,a,i,c){var l=s(e[o],e,a);if("throw"!==l.type){var u=l.arg,d=u.value;return d&&"object"==hn(d)&&r.call(d,"__await")?t.resolve(d.__await).then((function(e){n("next",e,i,c)}),(function(e){n("throw",e,i,c)})):t.resolve(d).then((function(e){u.value=e,i(u)}),(function(e){return n("throw",e,i,c)}))}c(l.arg)}var o;this._invoke=function(e,r){function a(){return new t((function(t,o){n(e,r,t,o)}))}return o=o?o.then(a,a):a()}}function w(e,t){var r=e.iterator[t.method];if(void 0===r){if(t.delegate=null,"throw"===t.method){if(e.iterator.return&&(t.method="return",t.arg=void 0,w(e,t),"throw"===t.method))return u;t.method="throw",t.arg=new TypeError("The iterator does not provide a 'throw' method")}return u}var n=s(r,e.iterator,t.arg);if("throw"===n.type)return t.method="throw",t.arg=n.arg,t.delegate=null,u;var o=n.arg;return o?o.done?(t[e.resultName]=o.value,t.next=e.nextLoc,"return"!==t.method&&(t.method="next",t.arg=void 0),t.delegate=null,u):o:(t.method="throw",t.arg=new TypeError("iterator result is not an object"),t.delegate=null,u)}function E(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function S(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function x(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(E,this),this.reset(!0)}function _(e){if(e){var t=e[o];if(t)return t.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var n=-1,a=function t(){for(;++n<e.length;)if(r.call(e,n))return t.value=e[n],t.done=!1,t;return t.value=void 0,t.done=!0,t};return a.next=a}}return{next:k}}function k(){return{value:void 0,done:!0}}return f.prototype=p,c(v,"constructor",p),c(p,"constructor",f),f.displayName=c(p,i,"GeneratorFunction"),e.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===f||"GeneratorFunction"===(t.displayName||t.name))},e.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,p):(e.__proto__=p,c(e,i,"GeneratorFunction")),e.prototype=Object.create(v),e},e.awrap=function(e){return{__await:e}},y(b.prototype),c(b.prototype,a,(function(){return this})),e.AsyncIterator=b,e.async=function(t,r,n,o,a){void 0===a&&(a=Promise);var i=new b(l(t,r,n,o),a);return e.isGeneratorFunction(r)?i:i.next().then((function(e){return e.done?e.value:i.next()}))},y(v),c(v,i,"Generator"),c(v,o,(function(){return this})),c(v,"toString",(function(){return"[object Generator]"})),e.keys=function(e){var t=[];for(var r in e)t.push(r);return t.reverse(),function r(){for(;t.length;){var n=t.pop();if(n in e)return r.value=n,r.done=!1,r}return r.done=!0,r}},e.values=_,x.prototype={constructor:x,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEach(S),!e)for(var t in this)"t"===t.charAt(0)&&r.call(this,t)&&!isNaN(+t.slice(1))&&(this[t]=void 0)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var t=this;function n(r,n){return i.type="throw",i.arg=e,t.next=r,n&&(t.method="next",t.arg=void 0),!!n}for(var o=this.tryEntries.length-1;o>=0;--o){var a=this.tryEntries[o],i=a.completion;if("root"===a.tryLoc)return n("end");if(a.tryLoc<=this.prev){var c=r.call(a,"catchLoc"),l=r.call(a,"finallyLoc");if(c&&l){if(this.prev<a.catchLoc)return n(a.catchLoc,!0);if(this.prev<a.finallyLoc)return n(a.finallyLoc)}else if(c){if(this.prev<a.catchLoc)return n(a.catchLoc,!0)}else{if(!l)throw new Error("try statement without catch or finally");if(this.prev<a.finallyLoc)return n(a.finallyLoc)}}}},abrupt:function(e,t){for(var n=this.tryEntries.length-1;n>=0;--n){var o=this.tryEntries[n];if(o.tryLoc<=this.prev&&r.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var a=o;break}}a&&("break"===e||"continue"===e)&&a.tryLoc<=t&&t<=a.finallyLoc&&(a=null);var i=a?a.completion:{};return i.type=e,i.arg=t,a?(this.method="next",this.next=a.finallyLoc,u):this.complete(i)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),u},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.finallyLoc===e)return this.complete(r.completion,r.afterLoc),S(r),u}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.tryLoc===e){var n=r.completion;if("throw"===n.type){var o=n.arg;S(r)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(e,t,r){return this.delegate={iterator:_(e),resultName:t,nextLoc:r},"next"===this.method&&(this.arg=void 0),u}},e}function gn(e,t,r,n,o,a,i){try{var c=e[a](i),l=c.value}catch(e){return void r(e)}c.done?t(l):Promise.resolve(l).then(n,o)}var vn=lodash.debounce;const yn=function(e){var t=e.parent,r=void 0===t?"root":t,n=(0,o.useRef)(null),a=kr(c),i=a.setFolders,l=a.setSortMode,s=_r((function(e){var t=e(c).getSelectedFolderId();return{allFolders:e(c).getFolders(),organizationMode:e(c).getOrganizationMode(),selectedFolder:e(c).getSelectedFolder(),postIdsToMove:e(c).getPostIdsToMove(),postType:e(c).getPostType(),searchTerms:e(c).getSearchTerms(),isFolderDragging:e(c).isFolderDragging(),childFolders:e(c).getChildFolders(t)}})),u=(s.childFolders,s.allFolders),h=s.organizationMode,m=(s.selectedFolder,s.postIdsToMove),v=(s.postType,s.searchTerms,s.isFolderDragging);(0,o.useEffect)((function(){var e=jQuery,t=e(n.current);f==h&&t.data("ui-sortable")&&t.sortable("destroy"),"root"!=r&&p==h&&t.sortable({items:"> li",helper:"clone",stop:function(t,r){var n=r.item.parent().find("> li"),o=[],a=[];n.each((function(t,r){var n=e(r).attr("data-folder-id");o.push(n),a=u.map((function(e){return e.id==n&&(e.order=t),e}))})),e(r.sender).sortable("cancel"),y(o),l(g),i(a)}})}));var y=function(){var e,t=(e=mn().mark((function e(t){return mn().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,cn()({path:"".concat(d,"folders/sort"),method:"PUT",data:{folder_ids:t}});case 2:e.sent;case 3:case"end":return e.stop()}}),e)})),function(){var t=this,r=arguments;return new Promise((function(n,o){var a=e.apply(t,r);function i(e){gn(a,n,o,i,c,"next",e)}function c(e){gn(a,n,o,i,c,"throw",e)}i(void 0)}))});return function(_x){return t.apply(this,arguments)}}(),b=((0,o.useCallback)(vn((function(e){return y(e)}),500),[]),_r((function(e){return{folders:e(c).getFoldersFilteredBySearchTerms().filter((function(e){return e.parent==r}))}}))).folders,w=on()({"wicked-tree":"root"==r},{"highlight-editable":v},{"highlight-assignable":m.length>0});return React.createElement("ul",{className:w,ref:n},b.map((function(e){return React.createElement(pn,{folder:e,key:e.id})})))},bn=function(){return React.createElement("div",{className:"wicked-folder-tree"},React.createElement(yn,{parent:"root"}))};var wn=function e(t){var r=t.folders,n=t.depth,a=void 0===n?0:n,i=t.parent,c=void 0===i?0:i,l=r.filter((function(e){return e.parent==c}));return React.createElement(React.Fragment,null,l.map((function(t){return React.createElement(o.Fragment,{key:t.id},React.createElement("option",{value:t.id},function(e,t){var r=" ",n=0;if(t<1)return"";for(n=0;n<t-1;n++)r+=" ";return r}(0,a),(0,sn.decode)(t.name)),React.createElement(e,{folders:r,parent:t.id,depth:a+1}))})))};const En=function(e){var t=e.folders,r=e.parent,n=void 0===r?"0":r,o=e.selected,a=void 0!==o&&o,i=e.label,c=void 0!==i&&i,l=e.onChange,s=c||(0,xe.__)("Parent Folder","wicked-folders");return React.createElement(React.Fragment,null,React.createElement("label",{htmlFor:"wicked-folder-select",className:"screen-reader-text"},s,":"),React.createElement("select",{id:"wicked-folder-select",onChange:function(e){return l(e.target.value)},value:a},React.createElement("option",{value:"0"},s),React.createElement(wn,{folders:t,parent:n})))};function Sn(e){return Sn="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},Sn(e)}function xn(){xn=function(){return e};var e={},t=Object.prototype,r=t.hasOwnProperty,n="function"==typeof Symbol?Symbol:{},o=n.iterator||"@@iterator",a=n.asyncIterator||"@@asyncIterator",i=n.toStringTag||"@@toStringTag";function c(e,t,r){return Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{c({},"")}catch(e){c=function(e,t,r){return e[t]=r}}function l(e,t,r,n){var o=t&&t.prototype instanceof d?t:d,a=Object.create(o.prototype),i=new x(n||[]);return a._invoke=function(e,t,r){var n="suspendedStart";return function(o,a){if("executing"===n)throw new Error("Generator is already running");if("completed"===n){if("throw"===o)throw a;return{value:void 0,done:!0}}for(r.method=o,r.arg=a;;){var i=r.delegate;if(i){var c=w(i,r);if(c){if(c===u)continue;return c}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if("suspendedStart"===n)throw n="completed",r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);n="executing";var l=s(e,t,r);if("normal"===l.type){if(n=r.done?"completed":"suspendedYield",l.arg===u)continue;return{value:l.arg,done:r.done}}"throw"===l.type&&(n="completed",r.method="throw",r.arg=l.arg)}}}(e,r,i),a}function s(e,t,r){try{return{type:"normal",arg:e.call(t,r)}}catch(e){return{type:"throw",arg:e}}}e.wrap=l;var u={};function d(){}function f(){}function p(){}var h={};c(h,o,(function(){return this}));var m=Object.getPrototypeOf,g=m&&m(m(_([])));g&&g!==t&&r.call(g,o)&&(h=g);var v=p.prototype=d.prototype=Object.create(h);function y(e){["next","throw","return"].forEach((function(t){c(e,t,(function(e){return this._invoke(t,e)}))}))}function b(e,t){function n(o,a,i,c){var l=s(e[o],e,a);if("throw"!==l.type){var u=l.arg,d=u.value;return d&&"object"==Sn(d)&&r.call(d,"__await")?t.resolve(d.__await).then((function(e){n("next",e,i,c)}),(function(e){n("throw",e,i,c)})):t.resolve(d).then((function(e){u.value=e,i(u)}),(function(e){return n("throw",e,i,c)}))}c(l.arg)}var o;this._invoke=function(e,r){function a(){return new t((function(t,o){n(e,r,t,o)}))}return o=o?o.then(a,a):a()}}function w(e,t){var r=e.iterator[t.method];if(void 0===r){if(t.delegate=null,"throw"===t.method){if(e.iterator.return&&(t.method="return",t.arg=void 0,w(e,t),"throw"===t.method))return u;t.method="throw",t.arg=new TypeError("The iterator does not provide a 'throw' method")}return u}var n=s(r,e.iterator,t.arg);if("throw"===n.type)return t.method="throw",t.arg=n.arg,t.delegate=null,u;var o=n.arg;return o?o.done?(t[e.resultName]=o.value,t.next=e.nextLoc,"return"!==t.method&&(t.method="next",t.arg=void 0),t.delegate=null,u):o:(t.method="throw",t.arg=new TypeError("iterator result is not an object"),t.delegate=null,u)}function E(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function S(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function x(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(E,this),this.reset(!0)}function _(e){if(e){var t=e[o];if(t)return t.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var n=-1,a=function t(){for(;++n<e.length;)if(r.call(e,n))return t.value=e[n],t.done=!1,t;return t.value=void 0,t.done=!0,t};return a.next=a}}return{next:k}}function k(){return{value:void 0,done:!0}}return f.prototype=p,c(v,"constructor",p),c(p,"constructor",f),f.displayName=c(p,i,"GeneratorFunction"),e.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===f||"GeneratorFunction"===(t.displayName||t.name))},e.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,p):(e.__proto__=p,c(e,i,"GeneratorFunction")),e.prototype=Object.create(v),e},e.awrap=function(e){return{__await:e}},y(b.prototype),c(b.prototype,a,(function(){return this})),e.AsyncIterator=b,e.async=function(t,r,n,o,a){void 0===a&&(a=Promise);var i=new b(l(t,r,n,o),a);return e.isGeneratorFunction(r)?i:i.next().then((function(e){return e.done?e.value:i.next()}))},y(v),c(v,i,"Generator"),c(v,o,(function(){return this})),c(v,"toString",(function(){return"[object Generator]"})),e.keys=function(e){var t=[];for(var r in e)t.push(r);return t.reverse(),function r(){for(;t.length;){var n=t.pop();if(n in e)return r.value=n,r.done=!1,r}return r.done=!0,r}},e.values=_,x.prototype={constructor:x,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEach(S),!e)for(var t in this)"t"===t.charAt(0)&&r.call(this,t)&&!isNaN(+t.slice(1))&&(this[t]=void 0)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var t=this;function n(r,n){return i.type="throw",i.arg=e,t.next=r,n&&(t.method="next",t.arg=void 0),!!n}for(var o=this.tryEntries.length-1;o>=0;--o){var a=this.tryEntries[o],i=a.completion;if("root"===a.tryLoc)return n("end");if(a.tryLoc<=this.prev){var c=r.call(a,"catchLoc"),l=r.call(a,"finallyLoc");if(c&&l){if(this.prev<a.catchLoc)return n(a.catchLoc,!0);if(this.prev<a.finallyLoc)return n(a.finallyLoc)}else if(c){if(this.prev<a.catchLoc)return n(a.catchLoc,!0)}else{if(!l)throw new Error("try statement without catch or finally");if(this.prev<a.finallyLoc)return n(a.finallyLoc)}}}},abrupt:function(e,t){for(var n=this.tryEntries.length-1;n>=0;--n){var o=this.tryEntries[n];if(o.tryLoc<=this.prev&&r.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var a=o;break}}a&&("break"===e||"continue"===e)&&a.tryLoc<=t&&t<=a.finallyLoc&&(a=null);var i=a?a.completion:{};return i.type=e,i.arg=t,a?(this.method="next",this.next=a.finallyLoc,u):this.complete(i)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),u},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.finallyLoc===e)return this.complete(r.completion,r.afterLoc),S(r),u}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.tryLoc===e){var n=r.completion;if("throw"===n.type){var o=n.arg;S(r)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(e,t,r){return this.delegate={iterator:_(e),resultName:t,nextLoc:r},"next"===this.method&&(this.arg=void 0),u}},e}function kn(e,t,r,n,o,a,i){try{var c=e[a](i),l=c.value}catch(e){return void r(e)}c.done?t(l):Promise.resolve(l).then(n,o)}function Rn(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,o,a=[],_n=!0,i=!1;try{for(r=r.call(e);!(_n=(n=r.next()).done)&&(a.push(n.value),!t||a.length!==t);_n=!0);}catch(e){i=!0,o=e}finally{try{_n||null==r.return||r.return()}finally{if(i)throw o}}return a}}(e,t)||Ln(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 Ln(e,t){if(e){if("string"==typeof e)return Tn(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?Tn(e,t):void 0}}function Tn(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}const On=function(){var e=(0,o.useRef)(),t=Rn((0,o.useState)(""),2),r=t[0],n=t[1],i=(0,a.useDispatch)(c).addNotification,l=kr(c),s=l.setFolderPanelContext,u=(l.setFolderPanelMessage,l.setFolderPanelError),f=l.setIsFolderPanelBusy,p=l.setFolders,h=_r((function(e){var t=e(c),r=t.getFolders,n=t.getPostType,o=t.isFolderPanelBusy,a=t.getFolderPanelError,i=t.getUserId,l=t.getSelectedFolderId,s=t.getSelectedFolder;return{folders:r(),postType:n(),isBusy:o(),error:a(),userId:i(),folderId:l(),folder:s()}})),m=h.folders,g=h.postType,v=h.isBusy,y=h.error,b=h.userId,w=h.folderId,E=h.folder,S=Rn((0,o.useState)(F(E)&&E.editable?w:"0"),2),x=S[0],_=S[1],k=m?m.filter((function(e){return F(e)&&e.editable})):[];(0,o.useEffect)((function(){e.current.focus()}),[]);var R=function(){var t,o=(t=xn().mark((function t(){var o;return xn().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return f(!0),u(!1),t.prev=2,t.next=5,cn()({path:"".concat(d,"folders"),method:"POST",data:{name:r,parent:x,postType:g,ownerId:b}});case 5:o=t.sent,n(""),p([].concat(function(e){if(Array.isArray(e))return Tn(e)}(a=m)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(a)||Ln(a)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}(),[o])),f(!1),i({message:(0,xe.__)("Successfully added new folder.","wicked-folders")}),e.current.focus(),t.next=17;break;case 13:t.prev=13,t.t0=t.catch(2),u(t.t0.message),f(!1);case 17:case"end":return t.stop()}var a}),t,null,[[2,13]])})),function(){var e=this,r=arguments;return new Promise((function(n,o){var a=t.apply(e,r);function i(e){kn(a,n,o,i,c,"next",e)}function c(e){kn(a,n,o,i,c,"throw",e)}i(void 0)}))});return function(){return o.apply(this,arguments)}}(),L=function(){s(!1)};return React.createElement(React.Fragment,null,React.createElement("div",{className:"wicked-header"},React.createElement("h2",null,(0,xe.__)("Add New Folder","wicked-folders")),React.createElement("button",{type:"button",className:"wicked-close",onClick:L},React.createElement("span",{className:"screen-reader-text"},(0,xe.__)("Close","wicked-folders")),React.createElement("span",{className:"dashicons dashicons-no"}))),React.createElement("div",null,y&&React.createElement("div",{className:"wicked-messages wicked-errors"},y),React.createElement("div",{className:"wicked-folder-name"},React.createElement("label",{htmlFor:"wicked-folder-name",className:"screen-reader-text"},(0,xe.__)("Folder name","wicked-folders"),":"),React.createElement("input",{ref:e,id:"wicked-folder-name",type:"text",name:"wicked_folder_name",placeholder:(0,xe.__)("Folder name","wicked-folders"),value:r,onChange:function(e){return n(e.target.value)},onKeyUp:function(e){27==e.which&&L()},onKeyDown:function(e){13==e.which&&r.length>0&&R()}})),React.createElement("div",{className:"wicked-folder-parent"},React.createElement(En,{folders:k,onChange:function(e){return _(e)},selected:x}))),React.createElement("div",{className:"wicked-footer"},React.createElement("button",{className:"button wicked-cancel",onClick:L,disabled:v},(0,xe.__)("Cancel","wicked-folders")),React.createElement("button",{className:"button-primary wicked-save",type:"submit",disabled:r.length<1||v,onClick:R},(0,xe.__)("Save","wicked-folders"))))};function Fn(e){return Fn="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},Fn(e)}function Dn(){Dn=function(){return e};var e={},t=Object.prototype,r=t.hasOwnProperty,n="function"==typeof Symbol?Symbol:{},o=n.iterator||"@@iterator",a=n.asyncIterator||"@@asyncIterator",i=n.toStringTag||"@@toStringTag";function c(e,t,r){return Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{c({},"")}catch(e){c=function(e,t,r){return e[t]=r}}function l(e,t,r,n){var o=t&&t.prototype instanceof d?t:d,a=Object.create(o.prototype),i=new x(n||[]);return a._invoke=function(e,t,r){var n="suspendedStart";return function(o,a){if("executing"===n)throw new Error("Generator is already running");if("completed"===n){if("throw"===o)throw a;return{value:void 0,done:!0}}for(r.method=o,r.arg=a;;){var i=r.delegate;if(i){var c=w(i,r);if(c){if(c===u)continue;return c}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if("suspendedStart"===n)throw n="completed",r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);n="executing";var l=s(e,t,r);if("normal"===l.type){if(n=r.done?"completed":"suspendedYield",l.arg===u)continue;return{value:l.arg,done:r.done}}"throw"===l.type&&(n="completed",r.method="throw",r.arg=l.arg)}}}(e,r,i),a}function s(e,t,r){try{return{type:"normal",arg:e.call(t,r)}}catch(e){return{type:"throw",arg:e}}}e.wrap=l;var u={};function d(){}function f(){}function p(){}var h={};c(h,o,(function(){return this}));var m=Object.getPrototypeOf,g=m&&m(m(_([])));g&&g!==t&&r.call(g,o)&&(h=g);var v=p.prototype=d.prototype=Object.create(h);function y(e){["next","throw","return"].forEach((function(t){c(e,t,(function(e){return this._invoke(t,e)}))}))}function b(e,t){function n(o,a,i,c){var l=s(e[o],e,a);if("throw"!==l.type){var u=l.arg,d=u.value;return d&&"object"==Fn(d)&&r.call(d,"__await")?t.resolve(d.__await).then((function(e){n("next",e,i,c)}),(function(e){n("throw",e,i,c)})):t.resolve(d).then((function(e){u.value=e,i(u)}),(function(e){return n("throw",e,i,c)}))}c(l.arg)}var o;this._invoke=function(e,r){function a(){return new t((function(t,o){n(e,r,t,o)}))}return o=o?o.then(a,a):a()}}function w(e,t){var r=e.iterator[t.method];if(void 0===r){if(t.delegate=null,"throw"===t.method){if(e.iterator.return&&(t.method="return",t.arg=void 0,w(e,t),"throw"===t.method))return u;t.method="throw",t.arg=new TypeError("The iterator does not provide a 'throw' method")}return u}var n=s(r,e.iterator,t.arg);if("throw"===n.type)return t.method="throw",t.arg=n.arg,t.delegate=null,u;var o=n.arg;return o?o.done?(t[e.resultName]=o.value,t.next=e.nextLoc,"return"!==t.method&&(t.method="next",t.arg=void 0),t.delegate=null,u):o:(t.method="throw",t.arg=new TypeError("iterator result is not an object"),t.delegate=null,u)}function E(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function S(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function x(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(E,this),this.reset(!0)}function _(e){if(e){var t=e[o];if(t)return t.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var n=-1,a=function t(){for(;++n<e.length;)if(r.call(e,n))return t.value=e[n],t.done=!1,t;return t.value=void 0,t.done=!0,t};return a.next=a}}return{next:k}}function k(){return{value:void 0,done:!0}}return f.prototype=p,c(v,"constructor",p),c(p,"constructor",f),f.displayName=c(p,i,"GeneratorFunction"),e.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===f||"GeneratorFunction"===(t.displayName||t.name))},e.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,p):(e.__proto__=p,c(e,i,"GeneratorFunction")),e.prototype=Object.create(v),e},e.awrap=function(e){return{__await:e}},y(b.prototype),c(b.prototype,a,(function(){return this})),e.AsyncIterator=b,e.async=function(t,r,n,o,a){void 0===a&&(a=Promise);var i=new b(l(t,r,n,o),a);return e.isGeneratorFunction(r)?i:i.next().then((function(e){return e.done?e.value:i.next()}))},y(v),c(v,i,"Generator"),c(v,o,(function(){return this})),c(v,"toString",(function(){return"[object Generator]"})),e.keys=function(e){var t=[];for(var r in e)t.push(r);return t.reverse(),function r(){for(;t.length;){var n=t.pop();if(n in e)return r.value=n,r.done=!1,r}return r.done=!0,r}},e.values=_,x.prototype={constructor:x,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEach(S),!e)for(var t in this)"t"===t.charAt(0)&&r.call(this,t)&&!isNaN(+t.slice(1))&&(this[t]=void 0)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var t=this;function n(r,n){return i.type="throw",i.arg=e,t.next=r,n&&(t.method="next",t.arg=void 0),!!n}for(var o=this.tryEntries.length-1;o>=0;--o){var a=this.tryEntries[o],i=a.completion;if("root"===a.tryLoc)return n("end");if(a.tryLoc<=this.prev){var c=r.call(a,"catchLoc"),l=r.call(a,"finallyLoc");if(c&&l){if(this.prev<a.catchLoc)return n(a.catchLoc,!0);if(this.prev<a.finallyLoc)return n(a.finallyLoc)}else if(c){if(this.prev<a.catchLoc)return n(a.catchLoc,!0)}else{if(!l)throw new Error("try statement without catch or finally");if(this.prev<a.finallyLoc)return n(a.finallyLoc)}}}},abrupt:function(e,t){for(var n=this.tryEntries.length-1;n>=0;--n){var o=this.tryEntries[n];if(o.tryLoc<=this.prev&&r.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var a=o;break}}a&&("break"===e||"continue"===e)&&a.tryLoc<=t&&t<=a.finallyLoc&&(a=null);var i=a?a.completion:{};return i.type=e,i.arg=t,a?(this.method="next",this.next=a.finallyLoc,u):this.complete(i)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),u},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.finallyLoc===e)return this.complete(r.completion,r.afterLoc),S(r),u}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.tryLoc===e){var n=r.completion;if("throw"===n.type){var o=n.arg;S(r)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(e,t,r){return this.delegate={iterator:_(e),resultName:t,nextLoc:r},"next"===this.method&&(this.arg=void 0),u}},e}function An(e,t,r,n,o,a,i){try{var c=e[a](i),l=c.value}catch(e){return void r(e)}c.done?t(l):Promise.resolve(l).then(n,o)}function Nn(e){return function(){var t=this,r=arguments;return new Promise((function(n,o){var a=e.apply(t,r);function i(e){An(a,n,o,i,c,"next",e)}function c(e){An(a,n,o,i,c,"throw",e)}i(void 0)}))}}function In(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function qn(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?In(Object(r),!0).forEach((function(t){Cn(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):In(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function Cn(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Pn(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,o,a=[],_n=!0,i=!1;try{for(r=r.call(e);!(_n=(n=r.next()).done)&&(a.push(n.value),!t||a.length!==t);_n=!0);}catch(e){i=!0,o=e}finally{try{_n||null==r.return||r.return()}finally{if(i)throw o}}return a}}(e,t)||jn(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 jn(e,t){if(e){if("string"==typeof e)return Un(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?Un(e,t):void 0}}function Un(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}var Mn=lodash.get;const Bn=function(){var e=(0,o.useContext)(wr),t=(0,o.useRef)(),r=(0,o.useRef)(),n=kr(c),i=n.setFolderPanelContext,l=(n.setFolderPanelMessage,n.setFolderPanelError),s=n.setIsFolderPanelBusy,u=n.setFolders,f=(0,a.useDispatch)(c),p=f.addNotification,h=f.fetchFolders,m=_r((function(e){var t=e(c),r=t.getFolders,n=t.getPostType,o=t.isFolderPanelBusy,a=t.getFolderPanelError,i=t.getUserId,l=t.getFolderBeingEdited;return{folders:r(),postType:n(),isBusy:o(),error:a(),userId:i(),folderBeingEdited:l()}})),g=m.folders,v=m.postType,y=m.error,b=m.folderBeingEdited,w=m.isBusy,E=Pn((0,o.useState)(b),2),S=E[0],x=E[1],_=Pn((0,o.useState)(!1),2),k=_[0],R=_[1],L=g?g.filter((function(e){return F(e)&&e.id!=S.id&&S.editable})):[];(0,o.useEffect)((function(){t.current.focus()}),[]),(0,o.useEffect)((function(){x(b)}),[b]),(0,o.useEffect)((function(){var e=jQuery,t=1,n="";return e(r.current).select2({width:"100%",ajax:{url:wickedFoldersSettings.restURL+"wp/v2/users",dataType:"json",cache:!0,data:function(e){return n!=e.term&&(n=e.term,t=1),{per_page:25,search:e.term,page:t,wf_include_users_without_posts:!0}},transport:function(r,n,o){var a=e.ajax(r);a.then((function(r,n,o){var a=!1;return(parseInt(o.getResponseHeader("X-WP-Total"))||0)>25*t&&(t++,a=!0),{results:e.map(r,(function(e){return{id:e.id,text:e.name}})),pagination:{more:a}}})).then(n),a.fail(o)}}}),e(r.current).on("select2:selecting",(function(e){var t=Mn(e,"params.args.data.id",!1),r=Mn(e,"params.args.data.text",!1);t&&x(qn(qn({},S),{},{ownerId:t,ownerName:r}))})),function(){e(r.current).off("select2:selecting"),e(r.current).select2("close"),e(r.current).select2("destroy")}}));var T=function(){var e=Nn(Dn().mark((function e(){var r,n;return Dn().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return s(!0),l(!1),e.prev=2,e.next=5,cn()({path:"".concat(d,"folders/").concat(S.id),method:"PUT",data:S});case 5:r=e.sent,n=g.map((function(e){return e.id==S.id?r:e})),u(function(e){if(Array.isArray(e))return Un(e)}(o=n)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(o)||jn(o)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()),s(!1),p({message:(0,xe.__)("Successfully saved folder.","wicked-folders")}),t.current.focus(),e.next=17;break;case 13:e.prev=13,e.t0=e.catch(2),l(e.t0.message),s(!1);case 17:case"end":return e.stop()}var o}),e,null,[[2,13]])})));return function(){return e.apply(this,arguments)}}(),O=function(){var t=Nn(Dn().mark((function t(){return Dn().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return s(!0),l(!1),t.prev=2,t.next=5,cn()({path:"".concat(d,"folders/").concat(S.id,"?post_type=").concat(v,"&clone_children=").concat(k),method:"POST"});case 5:t.sent,h(e),s(!1),p({message:(0,xe.__)("Successfully cloned folder.","wicked-folders")}),t.next=15;break;case 11:t.prev=11,t.t0=t.catch(2),l(t.t0.message),s(!1);case 15:case"end":return t.stop()}}),t,null,[[2,11]])})));return function(){return t.apply(this,arguments)}}(),D=function(){i(!1)};return React.createElement(React.Fragment,null,React.createElement("div",{className:"wicked-header"},React.createElement("h2",null,(0,xe.__)("Edit Folder","wicked-folders")),React.createElement("button",{type:"button",className:"wicked-close",onClick:D},React.createElement("span",{className:"screen-reader-text"},(0,xe.__)("Close","wicked-folders")),React.createElement("span",{className:"dashicons dashicons-no"}))),React.createElement("div",null,y&&React.createElement("div",{className:"wicked-messages wicked-errors"},y),React.createElement("div",{className:"wicked-folder-name"},React.createElement("label",{htmlFor:"wicked-folder-name",className:"screen-reader-text"},(0,xe.__)("Folder name","wicked-folders"),":"),React.createElement("input",{ref:t,id:"wicked-folder-name",type:"text",name:"wicked_folder_name",placeholder:(0,xe.__)("Folder name","wicked-folders"),value:(0,sn.decode)(S.name),onChange:function(e){return x(qn(qn({},S),{},{name:e.target.value}))},onKeyUp:function(e){27==e.which&&D()},onKeyDown:function(e){13==e.which&&S.name.length>0&&T()}})),React.createElement("div",{className:"wicked-folder-parent"},React.createElement(En,{folders:L,onChange:function(e){return x(qn(qn({},S),{},{parent:e}))},selected:S.parent})),React.createElement("fieldset",null,React.createElement("legend",null,(0,xe.__)("Clone Folder","wicked-folders"),":",React.createElement("span",{className:"dashicons dashicons-editor-help",title:(0,xe.__)("Creates a copy of the currently selected folder containing the same items.","wicked-folders")})),React.createElement("p",null,React.createElement("label",null,React.createElement("input",{type:"checkbox",name:"wicked_clone_children",checked:k,onChange:function(){return R(!k)}}),(0,xe.__)("Clone child folders also","wicked-folders")),React.createElement("span",{className:"dashicons dashicons-editor-help",title:(0,xe.__)("If checked, descendant folders of the currently selected folder will also be cloned. Otherwise, only the currently selected folder will be cloned.")})),React.createElement("p",null,React.createElement("button",{className:"button wicked-clone-folder",type:"button",onClick:O},(0,xe.__)("Clone Folder","wicked-folders")))),React.createElement("p",{className:"wicked-folder-owner"},React.createElement("label",{htmlFor:"wicked-folder-owner-id"},(0,xe.__)("Owner","wicked-folders"),":"),React.createElement("select",{id:"wicked-folder-owner-id",name:"wicked_folder_owner_id",ref:r},S&&S.ownerId&&React.createElement("option",{value:S.ownerId,selected:"selected"},S.ownerName)))),React.createElement("div",{className:"wicked-footer"},React.createElement("button",{className:"button wicked-cancel",onClick:D},(0,xe.__)("Cancel","wicked-folders")),React.createElement("button",{className:"button-primary wicked-save",type:"submit",onClick:T,disabled:S.name.length<1||w},(0,xe.__)("Save","wicked-folders"))))};function Gn(e){return Gn="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},Gn(e)}function Vn(){Vn=function(){return e};var e={},t=Object.prototype,r=t.hasOwnProperty,n="function"==typeof Symbol?Symbol:{},o=n.iterator||"@@iterator",a=n.asyncIterator||"@@asyncIterator",i=n.toStringTag||"@@toStringTag";function c(e,t,r){return Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{c({},"")}catch(e){c=function(e,t,r){return e[t]=r}}function l(e,t,r,n){var o=t&&t.prototype instanceof d?t:d,a=Object.create(o.prototype),i=new x(n||[]);return a._invoke=function(e,t,r){var n="suspendedStart";return function(o,a){if("executing"===n)throw new Error("Generator is already running");if("completed"===n){if("throw"===o)throw a;return{value:void 0,done:!0}}for(r.method=o,r.arg=a;;){var i=r.delegate;if(i){var c=w(i,r);if(c){if(c===u)continue;return c}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if("suspendedStart"===n)throw n="completed",r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);n="executing";var l=s(e,t,r);if("normal"===l.type){if(n=r.done?"completed":"suspendedYield",l.arg===u)continue;return{value:l.arg,done:r.done}}"throw"===l.type&&(n="completed",r.method="throw",r.arg=l.arg)}}}(e,r,i),a}function s(e,t,r){try{return{type:"normal",arg:e.call(t,r)}}catch(e){return{type:"throw",arg:e}}}e.wrap=l;var u={};function d(){}function f(){}function p(){}var h={};c(h,o,(function(){return this}));var m=Object.getPrototypeOf,g=m&&m(m(_([])));g&&g!==t&&r.call(g,o)&&(h=g);var v=p.prototype=d.prototype=Object.create(h);function y(e){["next","throw","return"].forEach((function(t){c(e,t,(function(e){return this._invoke(t,e)}))}))}function b(e,t){function n(o,a,i,c){var l=s(e[o],e,a);if("throw"!==l.type){var u=l.arg,d=u.value;return d&&"object"==Gn(d)&&r.call(d,"__await")?t.resolve(d.__await).then((function(e){n("next",e,i,c)}),(function(e){n("throw",e,i,c)})):t.resolve(d).then((function(e){u.value=e,i(u)}),(function(e){return n("throw",e,i,c)}))}c(l.arg)}var o;this._invoke=function(e,r){function a(){return new t((function(t,o){n(e,r,t,o)}))}return o=o?o.then(a,a):a()}}function w(e,t){var r=e.iterator[t.method];if(void 0===r){if(t.delegate=null,"throw"===t.method){if(e.iterator.return&&(t.method="return",t.arg=void 0,w(e,t),"throw"===t.method))return u;t.method="throw",t.arg=new TypeError("The iterator does not provide a 'throw' method")}return u}var n=s(r,e.iterator,t.arg);if("throw"===n.type)return t.method="throw",t.arg=n.arg,t.delegate=null,u;var o=n.arg;return o?o.done?(t[e.resultName]=o.value,t.next=e.nextLoc,"return"!==t.method&&(t.method="next",t.arg=void 0),t.delegate=null,u):o:(t.method="throw",t.arg=new TypeError("iterator result is not an object"),t.delegate=null,u)}function E(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function S(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function x(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(E,this),this.reset(!0)}function _(e){if(e){var t=e[o];if(t)return t.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var n=-1,a=function t(){for(;++n<e.length;)if(r.call(e,n))return t.value=e[n],t.done=!1,t;return t.value=void 0,t.done=!0,t};return a.next=a}}return{next:k}}function k(){return{value:void 0,done:!0}}return f.prototype=p,c(v,"constructor",p),c(p,"constructor",f),f.displayName=c(p,i,"GeneratorFunction"),e.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===f||"GeneratorFunction"===(t.displayName||t.name))},e.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,p):(e.__proto__=p,c(e,i,"GeneratorFunction")),e.prototype=Object.create(v),e},e.awrap=function(e){return{__await:e}},y(b.prototype),c(b.prototype,a,(function(){return this})),e.AsyncIterator=b,e.async=function(t,r,n,o,a){void 0===a&&(a=Promise);var i=new b(l(t,r,n,o),a);return e.isGeneratorFunction(r)?i:i.next().then((function(e){return e.done?e.value:i.next()}))},y(v),c(v,i,"Generator"),c(v,o,(function(){return this})),c(v,"toString",(function(){return"[object Generator]"})),e.keys=function(e){var t=[];for(var r in e)t.push(r);return t.reverse(),function r(){for(;t.length;){var n=t.pop();if(n in e)return r.value=n,r.done=!1,r}return r.done=!0,r}},e.values=_,x.prototype={constructor:x,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEach(S),!e)for(var t in this)"t"===t.charAt(0)&&r.call(this,t)&&!isNaN(+t.slice(1))&&(this[t]=void 0)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var t=this;function n(r,n){return i.type="throw",i.arg=e,t.next=r,n&&(t.method="next",t.arg=void 0),!!n}for(var o=this.tryEntries.length-1;o>=0;--o){var a=this.tryEntries[o],i=a.completion;if("root"===a.tryLoc)return n("end");if(a.tryLoc<=this.prev){var c=r.call(a,"catchLoc"),l=r.call(a,"finallyLoc");if(c&&l){if(this.prev<a.catchLoc)return n(a.catchLoc,!0);if(this.prev<a.finallyLoc)return n(a.finallyLoc)}else if(c){if(this.prev<a.catchLoc)return n(a.catchLoc,!0)}else{if(!l)throw new Error("try statement without catch or finally");if(this.prev<a.finallyLoc)return n(a.finallyLoc)}}}},abrupt:function(e,t){for(var n=this.tryEntries.length-1;n>=0;--n){var o=this.tryEntries[n];if(o.tryLoc<=this.prev&&r.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var a=o;break}}a&&("break"===e||"continue"===e)&&a.tryLoc<=t&&t<=a.finallyLoc&&(a=null);var i=a?a.completion:{};return i.type=e,i.arg=t,a?(this.method="next",this.next=a.finallyLoc,u):this.complete(i)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),u},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.finallyLoc===e)return this.complete(r.completion,r.afterLoc),S(r),u}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.tryLoc===e){var n=r.completion;if("throw"===n.type){var o=n.arg;S(r)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(e,t,r){return this.delegate={iterator:_(e),resultName:t,nextLoc:r},"next"===this.method&&(this.arg=void 0),u}},e}function zn(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function Hn(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function Wn(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?Hn(Object(r),!0).forEach((function(t){Yn(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Hn(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function Yn(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Zn(e,t,r,n,o,a,i){try{var c=e[a](i),l=c.value}catch(e){return void r(e)}c.done?t(l):Promise.resolve(l).then(n,o)}const Xn=function(){var e=(0,a.useDispatch)(c).addNotification,t=kr(c),r=t.setFolderPanelContext,n=(t.setFolderPanelMessage,t.setFolderPanelError),o=t.setIsFolderPanelBusy,i=t.setFolders,l=t.setSelectedFolderId,s=t.setSelectedFolderIds,u=_r((function(e){var t=e(c),r=t.getFolders,n=t.getPostType,o=t.isFolderPanelBusy,a=t.getFolderPanelError,i=t.getSelectedFolderId,l=t.getSelectedFolder,s=t.getSelectedFolderIds;return{folders:r(),postType:n(),isBusy:o(),error:a(),folderId:i(),selectedFolder:l(),selectedFolerIds:s()}})),f=u.folders,p=u.postType,h=u.isBusy,m=u.error,g=u.folderId,v=u.selectedFolder,y=u.selectedFolerIds,b=function(){var t,r=(t=Vn().mark((function t(){var r,a;return Vn().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(o(!0),n(!1),t.prev=2,!(y.length>0)){t.next=15;break}return t.next=6,cn()({path:"".concat(d,"folders"),method:"DELETE",data:{post_type:p,folder_ids:y}});case 6:r=t.sent,y.includes(g)&&l("0"),o(!1),s([]),i(r),w(),e({message:(0,xe.__)("Successfully deleted folders.","wicked-folders")}),t.next=23;break;case 15:return t.next=17,cn()({path:"".concat(d,"folders/").concat(g),method:"DELETE",data:Wn({},v)});case 17:a=f.map((function(e){return e.parent==g&&(e.parent=v.parent),e})),l(v.parent),o(!1),i(function(e){if(Array.isArray(e))return zn(e)}(c=a.filter((function(e){return e.id!=g})))||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(c)||function(e,t){if(e){if("string"==typeof e)return zn(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?zn(e,t):void 0}}(c)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()),w(),e({message:(0,xe.__)("Successfully deleted folder.","wicked-folders")});case 23:t.next=29;break;case 25:t.prev=25,t.t0=t.catch(2),n(t.t0.message),o(!1);case 29:case"end":return t.stop()}var c}),t,null,[[2,25]])})),function(){var e=this,r=arguments;return new Promise((function(n,o){var a=t.apply(e,r);function i(e){Zn(a,n,o,i,c,"next",e)}function c(e){Zn(a,n,o,i,c,"throw",e)}i(void 0)}))});return function(){return r.apply(this,arguments)}}(),w=function(){r(!1)};return React.createElement(React.Fragment,null,React.createElement("div",{className:"wicked-header"},React.createElement("h2",null,(0,xe.__)(y.length>0?"Delete Folders":"Delete Folder","wicked-folders")),React.createElement("button",{type:"button",className:"wicked-close",onClick:w},React.createElement("span",{className:"screen-reader-text"},(0,xe.__)("Close","wicked-folders")),React.createElement("span",{className:"dashicons dashicons-no"}))),React.createElement("div",null,m&&React.createElement("div",{className:"wicked-messages wicked-errors"},m),React.createElement("p",null,y.length>0?(0,xe.__)("Are you sure you want to delete the selected folders? Items in the folders will not be deleted.","wicked-folders"):(0,xe.__)("Are you sure you want to delete the selected folder? Sub folders will be assigned to the folder's parent. Items in the folder will not be deleted.","wicked-folders"))),React.createElement("div",{className:"wicked-footer"},React.createElement("button",{className:"button wicked-cancel",onClick:w,disabled:h},(0,xe.__)("Cancel","wicked-folders")),React.createElement("button",{className:"button-primary wicked-save",type:"submit",onClick:b},(0,xe.__)("Delete","wicked-folders"))))},Qn=function(){var e=(0,o.useContext)(wr),t=(0,a.useDispatch)(c).fetchFolders,r=kr(c),n=r.setFolderPanelContext,i=r.setOrganizationMode,l=r.setSortMode,s=_r((function(e){var t=e(c),r=t.getOrganizationMode,n=t.getSortMode,o=t.isFolderPanelBusy;return{organizationMode:r(),sortMode:n(),isFolderPanelBusy:o()}})),u=s.organizationMode,d=s.sortMode,v=function(r){l(r),t(e)};return React.createElement(React.Fragment,null,React.createElement("div",{className:"wicked-header"},React.createElement("h2",null,(0,xe.__)("Settings","wicked-folders")),React.createElement("button",{type:"button",className:"wicked-close",onClick:function(){n(!1)}},React.createElement("span",{className:"screen-reader-text"},(0,xe.__)("Close","wicked-folders")),React.createElement("span",{className:"dashicons dashicons-no"}))),React.createElement("div",null,React.createElement("div",{className:"wicked-field"},React.createElement("div",{className:"wicked-field-label"},(0,xe.__)("Organization mode:","wicked-folders")," ",React.createElement("span",{className:"dashicons dashicons-editor-help",title:(0,xe.__)("Controls what happens when you drag and drop folders. Use 'Normal' to arrange your folder hierarchy by dragging and dropping folders into other folders. Use 'Sort' to change the order of the folders.","wicked-folders")})),React.createElement("div",{className:"wicked-field-options"},React.createElement("div",null,React.createElement("input",{type:"radio",id:"wicked-organization-mode-organize",name:"wicked_organization_mode",checked:f==u,onChange:function(){return i(f)}})," ",React.createElement("label",{htmlFor:"wicked-organization-mode-organize"},(0,xe.__)("Normal","wicked-folders"))),React.createElement("div",null,React.createElement("input",{type:"radio",id:"wicked-organization-mode-sort",name:"wicked_organization_mode",checked:p==u,onChange:function(){return i(p)}})," ",React.createElement("label",{htmlFor:"wicked-organization-mode-sort"},(0,xe.__)("Sort","wicked-folders"))),React.createElement("div",null,React.createElement("input",{type:"radio",id:"wicked-organization-mode-bulk-select",name:"wicked_organization_mode",checked:h==u,onChange:function(){i(h),n(!1)}})," ",React.createElement("label",{htmlFor:"wicked-organization-mode-bulk-select"},(0,xe.__)("Bulk select","wicked-folders"))))),React.createElement("div",{className:"wicked-field"},React.createElement("div",{className:"wicked-field-label"},(0,xe.__)("Folder sort order:","wicked-folders")," ",React.createElement("span",{className:"dashicons dashicons-editor-help",title:(0,xe.__)("Controls how your folders are sorted. Select 'Custom' to display the folders in the specific order you specify.","wicked-folders")})),React.createElement("div",{className:"wicked-field-options"},React.createElement("div",null,React.createElement("input",{type:"radio",id:"wicked-sort-mode-organize",name:"wicked_sort_mode",value:m,checked:m==d,onChange:function(){return v(m)}})," ",React.createElement("label",{htmlFor:"wicked-sort-mode-organize"},(0,xe.__)("Alphabetical","wicked-folders"))),React.createElement("div",null,React.createElement("input",{type:"radio",id:"wicked-sort-mode-sort",name:"wicked_sort_mode",value:g,checked:g==d,onChange:function(){return v(g)}})," ",React.createElement("label",{htmlFor:"wicked-sort-mode-sort"},(0,xe.__)("Custom","wicked-folders")))))))},Jn=function(){var e=On,t=_r((function(e){var t=e(c),r=t.getFolderPanelContext,n=t.isFolderPanelBusy;return{context:r(),isBusy:n()}})),r=t.context,n=t.isBusy,o=on()("wicked-folder-pane-panel","wicked-folder-details",{"wicked-busy":n});return r?(l==r&&(e=Bn),s==r&&(e=Xn),u==r&&(e=Qn),React.createElement("div",{className:"wicked-folder-details-container"},React.createElement("div",{className:o},React.createElement(e,null)))):null},Kn=function(){var e=(0,o.useRef)(null),t=_r((function(e){return{navigationError:e(c).getNavigationError()}})).navigationError;return(0,o.useEffect)((function(){$=jQuery,t&&$("#wpbody").html("").html($(e.current).html())})),t?React.createElement("div",{className:"wicked-folder-navigation-error",ref:e},React.createElement("div",{id:"wicked-folder-navigation-error"},React.createElement("div",null,React.createElement("span",{className:"dashicons dashicons-warning"}),React.createElement("h1",null,(0,xe.__)("Something went wrong","wicked-folders")),React.createElement("p",null,(0,xe.__)("An error occurred while attempting to navigate to the folder. Please refresh the page.","wicked-folders")),React.createElement("p",null,(0,xe.__)("If you continue to have trouble, disable the 'Don't reload page when navigating folders' option on the Wicked Folders settings page.","wicked-folders")),React.createElement("p",{className:"code wicked-error-text"},t)))):null};var $n=function(e){var t=e.id,r=e.title,n=e.message,o=e.dismissible,i=void 0!==o&&o,l=e.dismissed,s=void 0!==l&&l,u=(0,a.useDispatch)(c).dismissNotification,d=on()("wicked-folders-notification",{dismissed:s});return React.createElement("div",{className:d},React.createElement("div",{className:"icon"},Hr),React.createElement("div",{className:"wicked-notification-message"},React.createElement("div",{className:"wicked-notification-title"},r),n),i&&React.createElement("button",{className:"wicked-dismiss",type:"button",onClick:function(){return u(t)}},React.createElement("span",{className:"screen-reader-text"},(0,xe.__)("Dismiss","wicked-folders")),zr))};const eo=function(){var e=(0,a.useSelect)((function(e){return{notifications:e(c).getNotifications()}})).notifications;return React.createElement("div",{className:"wicked-folders-notifications"},e.map((function(e,t){return React.createElement($n,{key:t,id:e.id,title:e.title,message:e.message,dismissible:e.dismissible,dismissed:e.dismissed})})))};function to(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}var ro=lodash.debounce;const no=function(){var e,t,r=kr(c).setSearchTerms,n=_r((function(e){return{searchTerms:e(c).getSearchTerms(),isSearchEnabled:e(c).isSearchEnabled()}})),a=n.searchTerms,i=n.isSearchEnabled,l=(e=(0,o.useState)(a),t=2,function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,o,a=[],_n=!0,i=!1;try{for(r=r.call(e);!(_n=(n=r.next()).done)&&(a.push(n.value),!t||a.length!==t);_n=!0);}catch(e){i=!0,o=e}finally{try{_n||null==r.return||r.return()}finally{if(i)throw o}}return a}}(e,t)||function(e,t){if(e){if("string"==typeof e)return to(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?to(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.")}()),s=l[0],u=l[1],d=(0,o.useRef)(ro(r,750));return i?React.createElement("div",{className:"wicked-folder-search-container"},React.createElement("div",{className:"wicked-folder-search"},React.createElement("label",{htmlFor:"wicked-folder-search-input",className:"screen-reader-text"},(0,xe.__)("Search folders","wicked-folders")),React.createElement("input",{id:"wicked-folder-search-input",name:"wicked_folder_search",type:"text",value:s,onChange:function(e){return t=e.target.value,u(t),void d.current(t);var t},placeholder:(0,xe.__)("Search folders...","wicked-folders")}))):null};var oo=lodash.reverse,ao=function(e){var t=e.ancestors,r=e.folder,n=kr(c).setSelectedFolderId;return r?React.createElement("ul",{className:"wicked-folder-path"},t.map((function(e){return React.createElement("li",{key:e.id,"data-folder-id":e.id},React.createElement("button",{onClick:function(){return n(e.id)}},e.name))})),React.createElement("li",{"data-folder-id":r.id},(0,sn.decode)(r.name))):null};const io=function(){var e=_r((function(e){return{folder:e(c).getSelectedFolder(),folders:e(c).getFolders(),isBreadcrumbsEnabled:e(c).isBreadcrumbsEnabled()}})),t=e.folder,r=e.folders;if(!e.isBreadcrumbsEnabled)return null;if(0==jQuery("#wicked-folders-breadcrumbs").length)return null;var n=oo(_(r,t));return(0,o.createPortal)(React.createElement(ao,{ancestors:n,folder:t}),jQuery("#wicked-folders-breadcrumbs .wicked-folders-container").get(0))},co=function(e){var t=e.count,r=void 0===t?1:t,n=e.enableCopy,o=void 0===n||n;return React.createElement("div",{className:"wicked-drag-details"},React.createElement("div",{className:"items"},React.createElement("div",{className:"title"},(0,xe.__)("Move","wicked-folders")," ",r," ",1==r?(0,xe.__)("Item","wicked-folders"):(0,xe.__)("Items","wicked-folders")),o?(0,xe.__)("Hold SHIFT key to copy items to folder","wicked-folders"):""))},lo=function(){var e=kr(c).setIsFolderPaneVisible,t=_r((function(e){return{width:e(c).getWidth(),isFolderPaneVisible:e(c).isFolderPaneVisible()}})),r=t.width,n=t.isFolderPaneVisible,a=on()("wicked-folders-toggle",{expanded:n});return(0,o.useEffect)((function(){n?(document.documentElement.style.setProperty("--wicked-folders-tree-pane-width",r+"px"),document.documentElement.style.setProperty("--wicked-folders-modal-tree-pane-width",r+"px")):(document.documentElement.style.setProperty("--wicked-folders-tree-pane-width","0px"),document.documentElement.style.setProperty("--wicked-folders-modal-tree-pane-width","0px"))}),[n]),React.createElement("button",{className:a,title:"Toggle folders",onClick:function(){return e(!n)}},React.createElement("span",{className:"screen-reader-text"},(0,xe.__)("Toggle folders","wicked-folders")),React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",height:"16",width:"16",viewBox:"0 0 512 512"},React.createElement("path",{fill:"#8c8f94",d:"M64 480H448c35.3 0 64-28.7 64-64V160c0-35.3-28.7-64-64-64H288c-10.1 0-19.6-4.7-25.6-12.8L243.2 57.6C231.1 41.5 212.1 32 192 32H64C28.7 32 0 60.7 0 96V416c0 35.3 28.7 64 64 64z"})))};function so(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}var uo=lodash,fo=uo.each,po=uo.debounce;uo.forOwn;const ho=function(){var e,t,r=(0,o.useContext)(wr),n=(e=(0,o.useState)(!1),t=2,function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,o,a=[],_n=!0,i=!1;try{for(r=r.call(e);!(_n=(n=r.next()).done)&&(a.push(n.value),!t||a.length!==t);_n=!0);}catch(e){i=!0,o=e}finally{try{_n||null==r.return||r.return()}finally{if(i)throw o}}return a}}(e,t)||function(e,t){if(e){if("string"==typeof e)return so(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?so(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.")}()),i=n[0],l=n[1],s=_r((function(e){var t=e(c),r=t.getScreenState,n=t.getSelectedFolder,o=t.getSelectedFolderId,a=t.getNavigationError,i=t.getWidth,l=t.isAjaxNavEnabled,s=t.isBreadcrumbsEnabled,u=t.isDirty,d=t.isNavigating,f=t.isFolderPaneVisible,p=t.getPostIdsToMove;return{folder:n(),selectedFolderId:o(),isAjaxNavEnabled:l(),isBreadcrumbsEnabled:s(),isDirty:u(),isNavigating:d(),navigationError:a(),width:i(),isFolderPaneVisible:f(),postIdsToMove:p(),screenState:r()}})),u=s.folder,d=s.selectedFolderId,f=s.isAjaxNavEnabled,p=s.isNavigating,h=(s.navigationError,s.isDirty),m=(s.width,s.screenState,s.isBreadcrumbsEnabled),g=s.isFolderPaneVisible,v=s.postIdsToMove,y=(0,a.useDispatch)(c).saveScreenState,b=kr(c),w=b.setIsNavigating,E=b.setNavigationError,_=(b.setWidth,b.setPostIdsToMove),k=po(y,500);(0,o.useEffect)((function(){jQuery(document).ajaxSuccess((function(e,t,r,n){r.hasOwnProperty("data")&&-1!=r.data.indexOf("action=inline-save")&&R()}))}),[]),(0,o.useEffect)((function(){h&&k(r)}),[h]),(0,o.useEffect)((function(){R()}),[v]),(0,o.useEffect)((function(){L()}),[m]),(0,o.useEffect)((function(){T()}),[null==u?void 0:u.id]),(0,o.useEffect)((function(){if(u)if(i){var e=jQuery,t="wicked_"+u.postType+"_folder_filter",r=document.location.href;-1!=r.indexOf("#")&&(r=r.substring(0,r.indexOf("#"))),r=S(r,t,u.id),r=S(r,"paged",1),r=S(r,"taxonomy",!1),r=S(r,"term",!1),r=S(r,"wf_"+u.postType+"_folders",!1),f?(w(!0),E(!1),e.ajax(r,{success:function(t){var r=wickedFoldersSettings.afterAjaxScripts.length,n=0;e("#wpbody-content").html(e(t).find("#wpbody-content").html()),R(),L(),window.inlineEditPost&&0==r&&window.inlineEditPost.init(),window.screenMeta&&window.screenMeta.init(),window.columns&&window.columns.init(),function(){var e=jQuery;e(".contextual-help-tabs").delegate("a","click",(function(t){var r,n=e(this);if(t.preventDefault(),n.is(".active a"))return!1;e(".contextual-help-tabs .active").removeClass("active"),n.parent("li").addClass("active"),r=e(n.attr("href")),e(".help-tab-content").not(r).removeClass("active").hide(),r.addClass("active").show()}))}(),function(){var e=jQuery,t=e(".wp-header-end");t.length||(t=e(".wrap h1, .wrap h2").first()),e("div.updated, div.error, div.notice").not(".inline, .below-h2").insertAfter(t)}(),window.gfPageLoaded=!0,jQuery(".gf_form_action_has_submenu").hover((function(){var e=jQuery(this).offset().left;jQuery(this).find(".gf_submenu").toggle().offset({left:e})}),(function(){jQuery(this).find(".gf_submenu").hide()})),fo(wickedFoldersSettings.afterAjaxScripts,(function(t){e.getScript(t,(function(){++n==r&&window.inlineEditPost&&window.inlineEditPost.init()}))})),e(window).scrollTop(0),w(!1),e("body").trigger("wickedfolders:ajaxNavigationDone")},error:function(t,r,n){e(window).scrollTop(0),E(n),window.console&&(console.warn((0,xe.__)("An error occurred while attempting to navigate to the folder. Please see following console messages for more details.","wicked-folders")),console.log(t),console.log(r),console.log(n)),w(!1),e("body").trigger("wickedfolders:ajaxNavigationDone")}})):document.location=r}else l(!0)}),[null==u?void 0:u.id]);var R=function(){var e=jQuery,t={revert:"invalid",containment:"#wpwrap",helper:function(t){var r,n,a=[],i=e(t.currentTarget).parents("tr"),c=i.find('.check-column [type="checkbox"]'),l=e('<div id="wicked-drag-helper"></div>'),s=e(i).find(".wicked-item").attr("data-object-id");return c.prop("checked")||"on"==c.val()?a=O():a.push(s),l.appendTo(e("body")),r=React.createElement(co,{count:a.length,enableCopy:"unassigned_dynamic_folder"!=d}),n=document.getElementById("wicked-drag-helper"),o.createRoot?(0,o.createRoot)(n).render(r):(0,o.render)(r,n),_(a),l},stop:function(e,t){_([])}};e("body.post-type-shop_order .wp-list-table .column-wicked_move").click((function(e){return!1})),e(".wp-list-table tbody .wicked-move-multiple").draggable(t),e(".wp-list-table thead .wicked-move-multiple").draggable(t),x()&&e(".wp-list-table .wicked-move-multiple").draggable("option",{cursorAt:{top:10,right:10}})},L=function(){m&&jQuery("#wpbody-content .wp-list-table").before('<div id="wicked-folders-breadcrumbs" class="wicked-folders-breadcrumbs"><span class="wicked-folders-label">'+(0,xe.__)("Folder","wicked-folders")+':</span> <span class="wicked-folders-container"></span></div>')},T=function(){u&&jQuery('#posts-filter .actions select[name$="_folder_filter"]').val(u.id)},O=function(){var e=jQuery,t=[];return e('.wp-list-table tbody [type="checkbox"]').each((function(r,n){var o=(n=e(n)).parents("tr").find(".wicked-item").attr("data-object-id");n.prop("checked")&&t.push(o)})),t};return g?React.createElement(React.Fragment,null,React.createElement(Mr,null),React.createElement(Br,null,React.createElement(Gr,null),React.createElement(rn,null),React.createElement(Jn,null),React.createElement("div",{className:"wicked-folder-tree-container"},React.createElement(no,null),React.createElement(bn,null)),p&&React.createElement("div",{className:"wicked-navigating-mask"}),React.createElement(Kn,null),React.createElement(io,null)),React.createElement(lo,null),React.createElement(eo,null)):React.createElement(React.Fragment,null,React.createElement(io,null),React.createElement(lo,null))};void 0===window.isWickedFoldersStoreRegistered&&((0,a.register)((0,a.createReduxStore)(c,{selectors:e,actions:t,resolvers:n,reducer:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:vr,t=arguments.length>1?arguments[1]:void 0;switch(t.type){case zt:return Ut(Ut({},e),{},{notifications:[].concat(qt(e.notifications),[t.notification])});case Ht:return Ut(Ut({},e),{},{notifications:qt(e.notifications.filter((function(e){return e.id!=t.notificationId})))});case Wt:return Ut(Ut({},e),{},{notifications:qt(e.notifications.map((function(e){return t.notificationId==e.id&&(e.dismissed=!0),e})))});case Zt:return Gt(e,["instances",t.instanceId])?e:Ut(Ut({},e),{},{instances:Ut(Ut({},e.instances),{},Mt({},t.instanceId,Ut(Ut({},yr),{},{postType:t.postType})))});case gr:for(var r=t.payload,n=r.action,o=r.instanceId,a={},i=0,c=Object.entries(e.instances);i<c.length;i++){var l=It(c[i],2),s=l[0],u=l[1];a[s]=o==s?br(u,n):u}return Ut(Ut({},e),{},{instances:a});default:return e}},controls:i.controls})),window.isWickedFoldersStoreRegistered=!0),document.addEventListener("DOMContentLoaded",(function(e){!function(e){var t=document.getElementById("wicked-folder-pane"),r=function(){var t="folderPane";return(0,a.useDispatch)(c).initInstance(t,wickedFoldersSettings.instances.folderPane.postType),React.createElement(wr.Provider,{value:t},React.createElement(e,null))};if(!t)return null;o.createRoot?(0,o.createRoot)(t).render(React.createElement(r,null)):(0,o.render)(React.createElement(r,null),t)}(ho)}))})()})(); -
wicked-folders/trunk/readme.txt
r3079001 r3121729 3 3 Tags: folders, administration, tree view, content management, page organization, custom post type organization, media library folders, media library categories, media library organization 4 4 Requires at least: 4.6 5 Tested up to: 6. 56 Stable tag: 3.0. 45 Tested up to: 6.6 6 Stable tag: 3.0.5 7 7 License: GPLv2 or later 8 8 License URI: https://www.gnu.org/licenses/gpl-2.0.html … … 144 144 == Changelog == 145 145 146 = 3.0.5 (July 18, 2024) = 147 * Fix: fatal error caused when a taxonomy query contains a relation key 148 * Tweak: disable folder dragging on mobile to prevent folders from inadvertently being reorganized while scrolling (this can be turned off by using the `wicked_folders_disable_drag_drop_on_mobile` filter and returning `false`) 149 146 150 = 3.0.4 (April 29, 2024) = 147 151 * Fix: folder pane not appearing in some instances due to JavaScript error caused by expanded folders data being encoded as an object instead of an array -
wicked-folders/trunk/wicked-folders.php
r3079001 r3121729 5 5 Plugin URI: https://wickedplugins.com/wicked-folders/ 6 6 Description: Organize your pages into folders. 7 Version: 3.0. 47 Version: 3.0.5 8 8 Author: Wicked Plugins 9 9 Author URI: https://wickedplugins.com/
Note: See TracChangeset
for help on using the changeset viewer.