UNPKG

chromatic

Version:

Automate visual testing across browsers. Gather UI feedback. Versioned documentation.

226 lines 757 kB
!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},n=(new e.Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="beedd97a-5c2e-554a-9210-1c8ec98a0b10")}catch(e){}}();
const e=require(`./chunk-gGpyby2o.cjs`),t=require(`./src-BwxDKFhA.cjs`),n=require(`./meow-CbdXCBsh.cjs`),r=require(`./execa-hX7byVra.cjs`);let a=require(`fs`),o=require(`path`);o=e.a(o);let s=require(`os`);s=e.a(s);var c=e.t(((e,t)=>{t.exports.Space_Separator=/[\u1680\u2000-\u200A\u202F\u205F\u3000]/,t.exports.ID_Start=/[\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u052F\u0531-\u0556\u0559\u0561-\u0587\u05D0-\u05EA\u05F0-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u0860-\u086A\u08A0-\u08B4\u08B6-\u08BD\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0980\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09F0\u09F1\u09FC\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0AF9\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D\u0C58-\u0C5A\u0C60\u0C61\u0C80\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D54-\u0D56\u0D5F-\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E81\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081\u108E\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u170C\u170E-\u1711\u1720-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u1820-\u1877\u1880-\u1884\u1887-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191E\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u1A00-\u1A16\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4B\u1B83-\u1BA0\u1BAE\u1BAF\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1C80-\u1C88\u1CE9-\u1CEC\u1CEE-\u1CF1\u1CF5\u1CF6\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2071\u207F\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2160-\u2188\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2E2F\u3005-\u3007\u3021-\u3029\u3031-\u3035\u3038-\u303C\u3041-\u3096\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312E\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FEA\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B\uA640-\uA66E\uA67F-\uA69D\uA6A0-\uA6EF\uA717-\uA71F\uA722-\uA788\uA78B-\uA7AE\uA7B0-\uA7B7\uA7F7-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB\uA8FD\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uA9E0-\uA9E4\uA9E6-\uA9EF\uA9FA-\uA9FE\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA7E-\uAAAF\uAAB1\uAAB5\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB65\uAB70-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]|\uD800[\uDC00-\uDC0B\uDC0D-\uDC26\uDC28-\uDC3A\uDC3C\uDC3D\uDC3F-\uDC4D\uDC50-\uDC5D\uDC80-\uDCFA\uDD40-\uDD74\uDE80-\uDE9C\uDEA0-\uDED0\uDF00-\uDF1F\uDF2D-\uDF4A\uDF50-\uDF75\uDF80-\uDF9D\uDFA0-\uDFC3\uDFC8-\uDFCF\uDFD1-\uDFD5]|\uD801[\uDC00-\uDC9D\uDCB0-\uDCD3\uDCD8-\uDCFB\uDD00-\uDD27\uDD30-\uDD63\uDE00-\uDF36\uDF40-\uDF55\uDF60-\uDF67]|\uD802[\uDC00-\uDC05\uDC08\uDC0A-\uDC35\uDC37\uDC38\uDC3C\uDC3F-\uDC55\uDC60-\uDC76\uDC80-\uDC9E\uDCE0-\uDCF2\uDCF4\uDCF5\uDD00-\uDD15\uDD20-\uDD39\uDD80-\uDDB7\uDDBE\uDDBF\uDE00\uDE10-\uDE13\uDE15-\uDE17\uDE19-\uDE33\uDE60-\uDE7C\uDE80-\uDE9C\uDEC0-\uDEC7\uDEC9-\uDEE4\uDF00-\uDF35\uDF40-\uDF55\uDF60-\uDF72\uDF80-\uDF91]|\uD803[\uDC00-\uDC48\uDC80-\uDCB2\uDCC0-\uDCF2]|\uD804[\uDC03-\uDC37\uDC83-\uDCAF\uDCD0-\uDCE8\uDD03-\uDD26\uDD50-\uDD72\uDD76\uDD83-\uDDB2\uDDC1-\uDDC4\uDDDA\uDDDC\uDE00-\uDE11\uDE13-\uDE2B\uDE80-\uDE86\uDE88\uDE8A-\uDE8D\uDE8F-\uDE9D\uDE9F-\uDEA8\uDEB0-\uDEDE\uDF05-\uDF0C\uDF0F\uDF10\uDF13-\uDF28\uDF2A-\uDF30\uDF32\uDF33\uDF35-\uDF39\uDF3D\uDF50\uDF5D-\uDF61]|\uD805[\uDC00-\uDC34\uDC47-\uDC4A\uDC80-\uDCAF\uDCC4\uDCC5\uDCC7\uDD80-\uDDAE\uDDD8-\uDDDB\uDE00-\uDE2F\uDE44\uDE80-\uDEAA\uDF00-\uDF19]|\uD806[\uDCA0-\uDCDF\uDCFF\uDE00\uDE0B-\uDE32\uDE3A\uDE50\uDE5C-\uDE83\uDE86-\uDE89\uDEC0-\uDEF8]|\uD807[\uDC00-\uDC08\uDC0A-\uDC2E\uDC40\uDC72-\uDC8F\uDD00-\uDD06\uDD08\uDD09\uDD0B-\uDD30\uDD46]|\uD808[\uDC00-\uDF99]|\uD809[\uDC00-\uDC6E\uDC80-\uDD43]|[\uD80C\uD81C-\uD820\uD840-\uD868\uD86A-\uD86C\uD86F-\uD872\uD874-\uD879][\uDC00-\uDFFF]|\uD80D[\uDC00-\uDC2E]|\uD811[\uDC00-\uDE46]|\uD81A[\uDC00-\uDE38\uDE40-\uDE5E\uDED0-\uDEED\uDF00-\uDF2F\uDF40-\uDF43\uDF63-\uDF77\uDF7D-\uDF8F]|\uD81B[\uDF00-\uDF44\uDF50\uDF93-\uDF9F\uDFE0\uDFE1]|\uD821[\uDC00-\uDFEC]|\uD822[\uDC00-\uDEF2]|\uD82C[\uDC00-\uDD1E\uDD70-\uDEFB]|\uD82F[\uDC00-\uDC6A\uDC70-\uDC7C\uDC80-\uDC88\uDC90-\uDC99]|\uD835[\uDC00-\uDC54\uDC56-\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD1E-\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD52-\uDEA5\uDEA8-\uDEC0\uDEC2-\uDEDA\uDEDC-\uDEFA\uDEFC-\uDF14\uDF16-\uDF34\uDF36-\uDF4E\uDF50-\uDF6E\uDF70-\uDF88\uDF8A-\uDFA8\uDFAA-\uDFC2\uDFC4-\uDFCB]|\uD83A[\uDC00-\uDCC4\uDD00-\uDD43]|\uD83B[\uDE00-\uDE03\uDE05-\uDE1F\uDE21\uDE22\uDE24\uDE27\uDE29-\uDE32\uDE34-\uDE37\uDE39\uDE3B\uDE42\uDE47\uDE49\uDE4B\uDE4D-\uDE4F\uDE51\uDE52\uDE54\uDE57\uDE59\uDE5B\uDE5D\uDE5F\uDE61\uDE62\uDE64\uDE67-\uDE6A\uDE6C-\uDE72\uDE74-\uDE77\uDE79-\uDE7C\uDE7E\uDE80-\uDE89\uDE8B-\uDE9B\uDEA1-\uDEA3\uDEA5-\uDEA9\uDEAB-\uDEBB]|\uD869[\uDC00-\uDED6\uDF00-\uDFFF]|\uD86D[\uDC00-\uDF34\uDF40-\uDFFF]|\uD86E[\uDC00-\uDC1D\uDC20-\uDFFF]|\uD873[\uDC00-\uDEA1\uDEB0-\uDFFF]|\uD87A[\uDC00-\uDFE0]|\uD87E[\uDC00-\uDE1D]/,t.exports.ID_Continue=/[\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0300-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u0483-\u0487\u048A-\u052F\u0531-\u0556\u0559\u0561-\u0587\u0591-\u05BD\u05BF\u05C1\u05C2\u05C4\u05C5\u05C7\u05D0-\u05EA\u05F0-\u05F2\u0610-\u061A\u0620-\u0669\u066E-\u06D3\u06D5-\u06DC\u06DF-\u06E8\u06EA-\u06FC\u06FF\u0710-\u074A\u074D-\u07B1\u07C0-\u07F5\u07FA\u0800-\u082D\u0840-\u085B\u0860-\u086A\u08A0-\u08B4\u08B6-\u08BD\u08D4-\u08E1\u08E3-\u0963\u0966-\u096F\u0971-\u0983\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BC-\u09C4\u09C7\u09C8\u09CB-\u09CE\u09D7\u09DC\u09DD\u09DF-\u09E3\u09E6-\u09F1\u09FC\u0A01-\u0A03\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A3C\u0A3E-\u0A42\u0A47\u0A48\u0A4B-\u0A4D\u0A51\u0A59-\u0A5C\u0A5E\u0A66-\u0A75\u0A81-\u0A83\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABC-\u0AC5\u0AC7-\u0AC9\u0ACB-\u0ACD\u0AD0\u0AE0-\u0AE3\u0AE6-\u0AEF\u0AF9-\u0AFF\u0B01-\u0B03\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3C-\u0B44\u0B47\u0B48\u0B4B-\u0B4D\u0B56\u0B57\u0B5C\u0B5D\u0B5F-\u0B63\u0B66-\u0B6F\u0B71\u0B82\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BBE-\u0BC2\u0BC6-\u0BC8\u0BCA-\u0BCD\u0BD0\u0BD7\u0BE6-\u0BEF\u0C00-\u0C03\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D-\u0C44\u0C46-\u0C48\u0C4A-\u0C4D\u0C55\u0C56\u0C58-\u0C5A\u0C60-\u0C63\u0C66-\u0C6F\u0C80-\u0C83\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBC-\u0CC4\u0CC6-\u0CC8\u0CCA-\u0CCD\u0CD5\u0CD6\u0CDE\u0CE0-\u0CE3\u0CE6-\u0CEF\u0CF1\u0CF2\u0D00-\u0D03\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D44\u0D46-\u0D48\u0D4A-\u0D4E\u0D54-\u0D57\u0D5F-\u0D63\u0D66-\u0D6F\u0D7A-\u0D7F\u0D82\u0D83\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0DCA\u0DCF-\u0DD4\u0DD6\u0DD8-\u0DDF\u0DE6-\u0DEF\u0DF2\u0DF3\u0E01-\u0E3A\u0E40-\u0E4E\u0E50-\u0E59\u0E81\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB9\u0EBB-\u0EBD\u0EC0-\u0EC4\u0EC6\u0EC8-\u0ECD\u0ED0-\u0ED9\u0EDC-\u0EDF\u0F00\u0F18\u0F19\u0F20-\u0F29\u0F35\u0F37\u0F39\u0F3E-\u0F47\u0F49-\u0F6C\u0F71-\u0F84\u0F86-\u0F97\u0F99-\u0FBC\u0FC6\u1000-\u1049\u1050-\u109D\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u135D-\u135F\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u170C\u170E-\u1714\u1720-\u1734\u1740-\u1753\u1760-\u176C\u176E-\u1770\u1772\u1773\u1780-\u17D3\u17D7\u17DC\u17DD\u17E0-\u17E9\u180B-\u180D\u1810-\u1819\u1820-\u1877\u1880-\u18AA\u18B0-\u18F5\u1900-\u191E\u1920-\u192B\u1930-\u193B\u1946-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u19D0-\u19D9\u1A00-\u1A1B\u1A20-\u1A5E\u1A60-\u1A7C\u1A7F-\u1A89\u1A90-\u1A99\u1AA7\u1AB0-\u1ABD\u1B00-\u1B4B\u1B50-\u1B59\u1B6B-\u1B73\u1B80-\u1BF3\u1C00-\u1C37\u1C40-\u1C49\u1C4D-\u1C7D\u1C80-\u1C88\u1CD0-\u1CD2\u1CD4-\u1CF9\u1D00-\u1DF9\u1DFB-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u203F\u2040\u2054\u2071\u207F\u2090-\u209C\u20D0-\u20DC\u20E1\u20E5-\u20F0\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2160-\u2188\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D7F-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2DE0-\u2DFF\u2E2F\u3005-\u3007\u3021-\u302F\u3031-\u3035\u3038-\u303C\u3041-\u3096\u3099\u309A\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312E\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FEA\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA62B\uA640-\uA66F\uA674-\uA67D\uA67F-\uA6F1\uA717-\uA71F\uA722-\uA788\uA78B-\uA7AE\uA7B0-\uA7B7\uA7F7-\uA827\uA840-\uA873\uA880-\uA8C5\uA8D0-\uA8D9\uA8E0-\uA8F7\uA8FB\uA8FD\uA900-\uA92D\uA930-\uA953\uA960-\uA97C\uA980-\uA9C0\uA9CF-\uA9D9\uA9E0-\uA9FE\uAA00-\uAA36\uAA40-\uAA4D\uAA50-\uAA59\uAA60-\uAA76\uAA7A-\uAAC2\uAADB-\uAADD\uAAE0-\uAAEF\uAAF2-\uAAF6\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB65\uAB70-\uABEA\uABEC\uABED\uABF0-\uABF9\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE00-\uFE0F\uFE20-\uFE2F\uFE33\uFE34\uFE4D-\uFE4F\uFE70-\uFE74\uFE76-\uFEFC\uFF10-\uFF19\uFF21-\uFF3A\uFF3F\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]|\uD800[\uDC00-\uDC0B\uDC0D-\uDC26\uDC28-\uDC3A\uDC3C\uDC3D\uDC3F-\uDC4D\uDC50-\uDC5D\uDC80-\uDCFA\uDD40-\uDD74\uDDFD\uDE80-\uDE9C\uDEA0-\uDED0\uDEE0\uDF00-\uDF1F\uDF2D-\uDF4A\uDF50-\uDF7A\uDF80-\uDF9D\uDFA0-\uDFC3\uDFC8-\uDFCF\uDFD1-\uDFD5]|\uD801[\uDC00-\uDC9D\uDCA0-\uDCA9\uDCB0-\uDCD3\uDCD8-\uDCFB\uDD00-\uDD27\uDD30-\uDD63\uDE00-\uDF36\uDF40-\uDF55\uDF60-\uDF67]|\uD802[\uDC00-\uDC05\uDC08\uDC0A-\uDC35\uDC37\uDC38\uDC3C\uDC3F-\uDC55\uDC60-\uDC76\uDC80-\uDC9E\uDCE0-\uDCF2\uDCF4\uDCF5\uDD00-\uDD15\uDD20-\uDD39\uDD80-\uDDB7\uDDBE\uDDBF\uDE00-\uDE03\uDE05\uDE06\uDE0C-\uDE13\uDE15-\uDE17\uDE19-\uDE33\uDE38-\uDE3A\uDE3F\uDE60-\uDE7C\uDE80-\uDE9C\uDEC0-\uDEC7\uDEC9-\uDEE6\uDF00-\uDF35\uDF40-\uDF55\uDF60-\uDF72\uDF80-\uDF91]|\uD803[\uDC00-\uDC48\uDC80-\uDCB2\uDCC0-\uDCF2]|\uD804[\uDC00-\uDC46\uDC66-\uDC6F\uDC7F-\uDCBA\uDCD0-\uDCE8\uDCF0-\uDCF9\uDD00-\uDD34\uDD36-\uDD3F\uDD50-\uDD73\uDD76\uDD80-\uDDC4\uDDCA-\uDDCC\uDDD0-\uDDDA\uDDDC\uDE00-\uDE11\uDE13-\uDE37\uDE3E\uDE80-\uDE86\uDE88\uDE8A-\uDE8D\uDE8F-\uDE9D\uDE9F-\uDEA8\uDEB0-\uDEEA\uDEF0-\uDEF9\uDF00-\uDF03\uDF05-\uDF0C\uDF0F\uDF10\uDF13-\uDF28\uDF2A-\uDF30\uDF32\uDF33\uDF35-\uDF39\uDF3C-\uDF44\uDF47\uDF48\uDF4B-\uDF4D\uDF50\uDF57\uDF5D-\uDF63\uDF66-\uDF6C\uDF70-\uDF74]|\uD805[\uDC00-\uDC4A\uDC50-\uDC59\uDC80-\uDCC5\uDCC7\uDCD0-\uDCD9\uDD80-\uDDB5\uDDB8-\uDDC0\uDDD8-\uDDDD\uDE00-\uDE40\uDE44\uDE50-\uDE59\uDE80-\uDEB7\uDEC0-\uDEC9\uDF00-\uDF19\uDF1D-\uDF2B\uDF30-\uDF39]|\uD806[\uDCA0-\uDCE9\uDCFF\uDE00-\uDE3E\uDE47\uDE50-\uDE83\uDE86-\uDE99\uDEC0-\uDEF8]|\uD807[\uDC00-\uDC08\uDC0A-\uDC36\uDC38-\uDC40\uDC50-\uDC59\uDC72-\uDC8F\uDC92-\uDCA7\uDCA9-\uDCB6\uDD00-\uDD06\uDD08\uDD09\uDD0B-\uDD36\uDD3A\uDD3C\uDD3D\uDD3F-\uDD47\uDD50-\uDD59]|\uD808[\uDC00-\uDF99]|\uD809[\uDC00-\uDC6E\uDC80-\uDD43]|[\uD80C\uD81C-\uD820\uD840-\uD868\uD86A-\uD86C\uD86F-\uD872\uD874-\uD879][\uDC00-\uDFFF]|\uD80D[\uDC00-\uDC2E]|\uD811[\uDC00-\uDE46]|\uD81A[\uDC00-\uDE38\uDE40-\uDE5E\uDE60-\uDE69\uDED0-\uDEED\uDEF0-\uDEF4\uDF00-\uDF36\uDF40-\uDF43\uDF50-\uDF59\uDF63-\uDF77\uDF7D-\uDF8F]|\uD81B[\uDF00-\uDF44\uDF50-\uDF7E\uDF8F-\uDF9F\uDFE0\uDFE1]|\uD821[\uDC00-\uDFEC]|\uD822[\uDC00-\uDEF2]|\uD82C[\uDC00-\uDD1E\uDD70-\uDEFB]|\uD82F[\uDC00-\uDC6A\uDC70-\uDC7C\uDC80-\uDC88\uDC90-\uDC99\uDC9D\uDC9E]|\uD834[\uDD65-\uDD69\uDD6D-\uDD72\uDD7B-\uDD82\uDD85-\uDD8B\uDDAA-\uDDAD\uDE42-\uDE44]|\uD835[\uDC00-\uDC54\uDC56-\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD1E-\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD52-\uDEA5\uDEA8-\uDEC0\uDEC2-\uDEDA\uDEDC-\uDEFA\uDEFC-\uDF14\uDF16-\uDF34\uDF36-\uDF4E\uDF50-\uDF6E\uDF70-\uDF88\uDF8A-\uDFA8\uDFAA-\uDFC2\uDFC4-\uDFCB\uDFCE-\uDFFF]|\uD836[\uDE00-\uDE36\uDE3B-\uDE6C\uDE75\uDE84\uDE9B-\uDE9F\uDEA1-\uDEAF]|\uD838[\uDC00-\uDC06\uDC08-\uDC18\uDC1B-\uDC21\uDC23\uDC24\uDC26-\uDC2A]|\uD83A[\uDC00-\uDCC4\uDCD0-\uDCD6\uDD00-\uDD4A\uDD50-\uDD59]|\uD83B[\uDE00-\uDE03\uDE05-\uDE1F\uDE21\uDE22\uDE24\uDE27\uDE29-\uDE32\uDE34-\uDE37\uDE39\uDE3B\uDE42\uDE47\uDE49\uDE4B\uDE4D-\uDE4F\uDE51\uDE52\uDE54\uDE57\uDE59\uDE5B\uDE5D\uDE5F\uDE61\uDE62\uDE64\uDE67-\uDE6A\uDE6C-\uDE72\uDE74-\uDE77\uDE79-\uDE7C\uDE7E\uDE80-\uDE89\uDE8B-\uDE9B\uDEA1-\uDEA3\uDEA5-\uDEA9\uDEAB-\uDEBB]|\uD869[\uDC00-\uDED6\uDF00-\uDFFF]|\uD86D[\uDC00-\uDF34\uDF40-\uDFFF]|\uD86E[\uDC00-\uDC1D\uDC20-\uDFFF]|\uD873[\uDC00-\uDEA1\uDEB0-\uDFFF]|\uD87A[\uDC00-\uDFE0]|\uD87E[\uDC00-\uDE1D]|\uDB40[\uDD00-\uDDEF]/})),l=e.t(((e,t)=>{let n=c();t.exports={isSpaceSeparator(e){return typeof e==`string`&&n.Space_Separator.test(e)},isIdStartChar(e){return typeof e==`string`&&(e>=`a`&&e<=`z`||e>=`A`&&e<=`Z`||e===`$`||e===`_`||n.ID_Start.test(e))},isIdContinueChar(e){return typeof e==`string`&&(e>=`a`&&e<=`z`||e>=`A`&&e<=`Z`||e>=`0`&&e<=`9`||e===`$`||e===`_`||e===`‌`||e===`‍`||n.ID_Continue.test(e))},isDigit(e){return typeof e==`string`&&/[0-9]/.test(e)},isHexDigit(e){return typeof e==`string`&&/[0-9A-Fa-f]/.test(e)}}})),u=e.t(((e,t)=>{let n=l(),r,a,o,s,c,u,d,f,p;t.exports=function(e,t){r=String(e),a=`start`,o=[],s=0,c=1,u=0,d=void 0,f=void 0,p=void 0;do d=b(),k[a]();while(d.type!==`eof`);return typeof t==`function`?m({"":p},``,t):p};function m(e,t,n){let r=e[t];if(typeof r==`object`&&r)if(Array.isArray(r))for(let e=0;e<r.length;e++){let t=String(e),a=m(r,t,n);a===void 0?delete r[t]:Object.defineProperty(r,t,{value:a,writable:!0,enumerable:!0,configurable:!0})}else for(let e in r){let t=m(r,e,n);t===void 0?delete r[e]:Object.defineProperty(r,e,{value:t,writable:!0,enumerable:!0,configurable:!0})}return n.call(e,t,r)}let h,g,_,v,y;function b(){for(h=`default`,g=``,_=!1,v=1;;){y=x();let e=C[h]();if(e)return e}}function x(){if(r[s])return String.fromCodePoint(r.codePointAt(s))}function S(){let e=x();return e===`
`?(c++,u=0):e?u+=e.length:u++,e&&(s+=e.length),e}let C={default(){switch(y){case`	`:case`\v`:case`\f`:case` `:case`\xA0`:case``:case`
`:case`\r`:case`\u2028`:case`\u2029`:S();return;case`/`:S(),h=`comment`;return;case void 0:return S(),w(`eof`)}if(n.isSpaceSeparator(y)){S();return}return C[a]()},comment(){switch(y){case`*`:S(),h=`multiLineComment`;return;case`/`:S(),h=`singleLineComment`;return}throw M(S())},multiLineComment(){switch(y){case`*`:S(),h=`multiLineCommentAsterisk`;return;case void 0:throw M(S())}S()},multiLineCommentAsterisk(){switch(y){case`*`:S();return;case`/`:S(),h=`default`;return;case void 0:throw M(S())}S(),h=`multiLineComment`},singleLineComment(){switch(y){case`
`:case`\r`:case`\u2028`:case`\u2029`:S(),h=`default`;return;case void 0:return S(),w(`eof`)}S()},value(){switch(y){case`{`:case`[`:return w(`punctuator`,S());case`n`:return S(),T(`ull`),w(`null`,null);case`t`:return S(),T(`rue`),w(`boolean`,!0);case`f`:return S(),T(`alse`),w(`boolean`,!1);case`-`:case`+`:S()===`-`&&(v=-1),h=`sign`;return;case`.`:g=S(),h=`decimalPointLeading`;return;case`0`:g=S(),h=`zero`;return;case`1`:case`2`:case`3`:case`4`:case`5`:case`6`:case`7`:case`8`:case`9`:g=S(),h=`decimalInteger`;return;case`I`:return S(),T(`nfinity`),w(`numeric`,1/0);case`N`:return S(),T(`aN`),w(`numeric`,NaN);case`"`:case`'`:_=S()===`"`,g=``,h=`string`;return}throw M(S())},identifierNameStartEscape(){if(y!==`u`)throw M(S());S();let e=O();switch(e){case`$`:case`_`:break;default:if(!n.isIdStartChar(e))throw P();break}g+=e,h=`identifierName`},identifierName(){switch(y){case`$`:case`_`:case`‌`:case`‍`:g+=S();return;case`\\`:S(),h=`identifierNameEscape`;return}if(n.isIdContinueChar(y)){g+=S();return}return w(`identifier`,g)},identifierNameEscape(){if(y!==`u`)throw M(S());S();let e=O();switch(e){case`$`:case`_`:case`‌`:case`‍`:break;default:if(!n.isIdContinueChar(e))throw P();break}g+=e,h=`identifierName`},sign(){switch(y){case`.`:g=S(),h=`decimalPointLeading`;return;case`0`:g=S(),h=`zero`;return;case`1`:case`2`:case`3`:case`4`:case`5`:case`6`:case`7`:case`8`:case`9`:g=S(),h=`decimalInteger`;return;case`I`:return S(),T(`nfinity`),w(`numeric`,v*(1/0));case`N`:return S(),T(`aN`),w(`numeric`,NaN)}throw M(S())},zero(){switch(y){case`.`:g+=S(),h=`decimalPoint`;return;case`e`:case`E`:g+=S(),h=`decimalExponent`;return;case`x`:case`X`:g+=S(),h=`hexadecimal`;return}return w(`numeric`,v*0)},decimalInteger(){switch(y){case`.`:g+=S(),h=`decimalPoint`;return;case`e`:case`E`:g+=S(),h=`decimalExponent`;return}if(n.isDigit(y)){g+=S();return}return w(`numeric`,v*Number(g))},decimalPointLeading(){if(n.isDigit(y)){g+=S(),h=`decimalFraction`;return}throw M(S())},decimalPoint(){switch(y){case`e`:case`E`:g+=S(),h=`decimalExponent`;return}if(n.isDigit(y)){g+=S(),h=`decimalFraction`;return}return w(`numeric`,v*Number(g))},decimalFraction(){switch(y){case`e`:case`E`:g+=S(),h=`decimalExponent`;return}if(n.isDigit(y)){g+=S();return}return w(`numeric`,v*Number(g))},decimalExponent(){switch(y){case`+`:case`-`:g+=S(),h=`decimalExponentSign`;return}if(n.isDigit(y)){g+=S(),h=`decimalExponentInteger`;return}throw M(S())},decimalExponentSign(){if(n.isDigit(y)){g+=S(),h=`decimalExponentInteger`;return}throw M(S())},decimalExponentInteger(){if(n.isDigit(y)){g+=S();return}return w(`numeric`,v*Number(g))},hexadecimal(){if(n.isHexDigit(y)){g+=S(),h=`hexadecimalInteger`;return}throw M(S())},hexadecimalInteger(){if(n.isHexDigit(y)){g+=S();return}return w(`numeric`,v*Number(g))},string(){switch(y){case`\\`:S(),g+=E();return;case`"`:if(_)return S(),w(`string`,g);g+=S();return;case`'`:if(!_)return S(),w(`string`,g);g+=S();return;case`
`:case`\r`:throw M(S());case`\u2028`:case`\u2029`:F(y);break;case void 0:throw M(S())}g+=S()},start(){switch(y){case`{`:case`[`:return w(`punctuator`,S())}h=`value`},beforePropertyName(){switch(y){case`$`:case`_`:g=S(),h=`identifierName`;return;case`\\`:S(),h=`identifierNameStartEscape`;return;case`}`:return w(`punctuator`,S());case`"`:case`'`:_=S()===`"`,h=`string`;return}if(n.isIdStartChar(y)){g+=S(),h=`identifierName`;return}throw M(S())},afterPropertyName(){if(y===`:`)return w(`punctuator`,S());throw M(S())},beforePropertyValue(){h=`value`},afterPropertyValue(){switch(y){case`,`:case`}`:return w(`punctuator`,S())}throw M(S())},beforeArrayValue(){if(y===`]`)return w(`punctuator`,S());h=`value`},afterArrayValue(){switch(y){case`,`:case`]`:return w(`punctuator`,S())}throw M(S())},end(){throw M(S())}};function w(e,t){return{type:e,value:t,line:c,column:u}}function T(e){for(let t of e){if(x()!==t)throw M(S());S()}}function E(){switch(x()){case`b`:return S(),`\b`;case`f`:return S(),`\f`;case`n`:return S(),`
`;case`r`:return S(),`\r`;case`t`:return S(),`	`;case`v`:return S(),`\v`;case`0`:if(S(),n.isDigit(x()))throw M(S());return`\0`;case`x`:return S(),D();case`u`:return S(),O();case`
`:case`\u2028`:case`\u2029`:return S(),``;case`\r`:return S(),x()===`
`&&S(),``;case`1`:case`2`:case`3`:case`4`:case`5`:case`6`:case`7`:case`8`:case`9`:throw M(S());case void 0:throw M(S())}return S()}function D(){let e=``,t=x();if(!n.isHexDigit(t)||(e+=S(),t=x(),!n.isHexDigit(t)))throw M(S());return e+=S(),String.fromCodePoint(parseInt(e,16))}function O(){let e=``,t=4;for(;t-- >0;){let t=x();if(!n.isHexDigit(t))throw M(S());e+=S()}return String.fromCodePoint(parseInt(e,16))}let k={start(){if(d.type===`eof`)throw N();A()},beforePropertyName(){switch(d.type){case`identifier`:case`string`:f=d.value,a=`afterPropertyName`;return;case`punctuator`:j();return;case`eof`:throw N()}},afterPropertyName(){if(d.type===`eof`)throw N();a=`beforePropertyValue`},beforePropertyValue(){if(d.type===`eof`)throw N();A()},beforeArrayValue(){if(d.type===`eof`)throw N();if(d.type===`punctuator`&&d.value===`]`){j();return}A()},afterPropertyValue(){if(d.type===`eof`)throw N();switch(d.value){case`,`:a=`beforePropertyName`;return;case`}`:j()}},afterArrayValue(){if(d.type===`eof`)throw N();switch(d.value){case`,`:a=`beforeArrayValue`;return;case`]`:j()}},end(){}};function A(){let e;switch(d.type){case`punctuator`:switch(d.value){case`{`:e={};break;case`[`:e=[];break}break;case`null`:case`boolean`:case`numeric`:case`string`:e=d.value;break}if(p===void 0)p=e;else{let t=o[o.length-1];Array.isArray(t)?t.push(e):Object.defineProperty(t,f,{value:e,writable:!0,enumerable:!0,configurable:!0})}if(typeof e==`object`&&e)o.push(e),a=Array.isArray(e)?`beforeArrayValue`:`beforePropertyName`;else{let e=o[o.length-1];a=e==null?`end`:Array.isArray(e)?`afterArrayValue`:`afterPropertyValue`}}function j(){o.pop();let e=o[o.length-1];a=e==null?`end`:Array.isArray(e)?`afterArrayValue`:`afterPropertyValue`}function M(e){return L(e===void 0?`JSON5: invalid end of input at ${c}:${u}`:`JSON5: invalid character '${I(e)}' at ${c}:${u}`)}function N(){return L(`JSON5: invalid end of input at ${c}:${u}`)}function P(){return u-=5,L(`JSON5: invalid identifier character at ${c}:${u}`)}function F(e){console.warn(`JSON5: '${I(e)}' in strings is not valid ECMAScript; consider escaping`)}function I(e){let t={"'":`\\'`,'"':`\\"`,"\\":`\\\\`,"\b":`\\b`,"\f":`\\f`,"\n":`\\n`,"\r":`\\r`,"	":`\\t`,"\v":`\\v`,"\0":`\\0`,"\u2028":`\\u2028`,"\u2029":`\\u2029`};if(t[e])return t[e];if(e<` `){let t=e.charCodeAt(0).toString(16);return`\\x`+(`00`+t).substring(t.length)}return e}function L(e){let t=SyntaxError(e);return t.lineNumber=c,t.columnNumber=u,t}})),d=e.t(((e,t)=>{let n=l();t.exports=function(e,t,r){let a=[],o=``,s,c,l=``,u;if(typeof t==`object`&&t&&!Array.isArray(t)&&(r=t.space,u=t.quote,t=t.replacer),typeof t==`function`)c=t;else if(Array.isArray(t)){s=[];for(let e of t){let t;typeof e==`string`?t=e:(typeof e==`number`||e instanceof String||e instanceof Number)&&(t=String(e)),t!==void 0&&s.indexOf(t)<0&&s.push(t)}}return r instanceof Number?r=Number(r):r instanceof String&&(r=String(r)),typeof r==`number`?r>0&&(r=Math.min(10,Math.floor(r)),l=`          `.substr(0,r)):typeof r==`string`&&(l=r.substr(0,10)),d(``,{"":e});function d(e,t){let n=t[e];switch(n!=null&&(typeof n.toJSON5==`function`?n=n.toJSON5(e):typeof n.toJSON==`function`&&(n=n.toJSON(e))),c&&(n=c.call(t,e,n)),n instanceof Number?n=Number(n):n instanceof String?n=String(n):n instanceof Boolean&&(n=n.valueOf()),n){case null:return`null`;case!0:return`true`;case!1:return`false`}if(typeof n==`string`)return f(n,!1);if(typeof n==`number`)return String(n);if(typeof n==`object`)return Array.isArray(n)?h(n):p(n)}function f(e){let t={"'":.1,'"':.2},r={"'":`\\'`,'"':`\\"`,"\\":`\\\\`,"\b":`\\b`,"\f":`\\f`,"\n":`\\n`,"\r":`\\r`,"	":`\\t`,"\v":`\\v`,"\0":`\\0`,"\u2028":`\\u2028`,"\u2029":`\\u2029`},a=``;for(let o=0;o<e.length;o++){let s=e[o];switch(s){case`'`:case`"`:t[s]++,a+=s;continue;case`\0`:if(n.isDigit(e[o+1])){a+=`\\x00`;continue}}if(r[s]){a+=r[s];continue}if(s<` `){let e=s.charCodeAt(0).toString(16);a+=`\\x`+(`00`+e).substring(e.length);continue}a+=s}let o=u||Object.keys(t).reduce((e,n)=>t[e]<t[n]?e:n);return a=a.replace(new RegExp(o,`g`),r[o]),o+a+o}function p(e){if(a.indexOf(e)>=0)throw TypeError(`Converting circular structure to JSON5`);a.push(e);let t=o;o+=l;let n=s||Object.keys(e),r=[];for(let t of n){let n=d(t,e);if(n!==void 0){let e=m(t)+`:`;l!==``&&(e+=` `),e+=n,r.push(e)}}let c;if(r.length===0)c=`{}`;else{let e;if(l===``)e=r.join(`,`),c=`{`+e+`}`;else{let n=`,
`+o;e=r.join(n),c=`{
`+o+e+`,
`+t+`}`}}return a.pop(),o=t,c}function m(e){if(e.length===0)return f(e,!0);let t=String.fromCodePoint(e.codePointAt(0));if(!n.isIdStartChar(t))return f(e,!0);for(let r=t.length;r<e.length;r++)if(!n.isIdContinueChar(String.fromCodePoint(e.codePointAt(r))))return f(e,!0);return e}function h(e){if(a.indexOf(e)>=0)throw TypeError(`Converting circular structure to JSON5`);a.push(e);let t=o;o+=l;let n=[];for(let t=0;t<e.length;t++){let r=d(String(t),e);n.push(r===void 0?`null`:r)}let r;if(n.length===0)r=`[]`;else if(l===``)r=`[`+n.join(`,`)+`]`;else{let e=`,
`+o,a=n.join(e);r=`[
`+o+a+`,
`+t+`]`}return a.pop(),o=t,r}}})),f=e.t(((e,t)=>{t.exports={parse:u(),stringify:d()}})),p;(function(e){e.assertEqual=e=>{};function t(e){}e.assertIs=t;function n(e){throw Error()}e.assertNever=n,e.arrayToEnum=e=>{let t={};for(let n of e)t[n]=n;return t},e.getValidEnumValues=t=>{let n=e.objectKeys(t).filter(e=>typeof t[t[e]]!=`number`),r={};for(let e of n)r[e]=t[e];return e.objectValues(r)},e.objectValues=t=>e.objectKeys(t).map(function(e){return t[e]}),e.objectKeys=typeof Object.keys==`function`?e=>Object.keys(e):e=>{let t=[];for(let n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.push(n);return t},e.find=(e,t)=>{for(let n of e)if(t(n))return n},e.isInteger=typeof Number.isInteger==`function`?e=>Number.isInteger(e):e=>typeof e==`number`&&Number.isFinite(e)&&Math.floor(e)===e;function r(e,t=` | `){return e.map(e=>typeof e==`string`?`'${e}'`:e).join(t)}e.joinValues=r,e.jsonStringifyReplacer=(e,t)=>typeof t==`bigint`?t.toString():t})(p||={});var m;(function(e){e.mergeShapes=(e,t)=>({...e,...t})})(m||={});const h=p.arrayToEnum([`string`,`nan`,`number`,`integer`,`float`,`boolean`,`date`,`bigint`,`symbol`,`function`,`undefined`,`null`,`array`,`object`,`unknown`,`promise`,`void`,`never`,`map`,`set`]),g=e=>{switch(typeof e){case`undefined`:return h.undefined;case`string`:return h.string;case`number`:return Number.isNaN(e)?h.nan:h.number;case`boolean`:return h.boolean;case`function`:return h.function;case`bigint`:return h.bigint;case`symbol`:return h.symbol;case`object`:return Array.isArray(e)?h.array:e===null?h.null:e.then&&typeof e.then==`function`&&e.catch&&typeof e.catch==`function`?h.promise:typeof Map<`u`&&e instanceof Map?h.map:typeof Set<`u`&&e instanceof Set?h.set:typeof Date<`u`&&e instanceof Date?h.date:h.object;default:return h.unknown}},_=p.arrayToEnum([`invalid_type`,`invalid_literal`,`custom`,`invalid_union`,`invalid_union_discriminator`,`invalid_enum_value`,`unrecognized_keys`,`invalid_arguments`,`invalid_return_type`,`invalid_date`,`invalid_string`,`too_small`,`too_big`,`invalid_intersection_types`,`not_multiple_of`,`not_finite`]);var v=class e extends Error{get errors(){return this.issues}constructor(e){super(),this.issues=[],this.addIssue=e=>{this.issues=[...this.issues,e]},this.addIssues=(e=[])=>{this.issues=[...this.issues,...e]};let t=new.target.prototype;Object.setPrototypeOf?Object.setPrototypeOf(this,t):this.__proto__=t,this.name=`ZodError`,this.issues=e}format(e){let t=e||function(e){return e.message},n={_errors:[]},r=e=>{for(let a of e.issues)if(a.code===`invalid_union`)a.unionErrors.map(r);else if(a.code===`invalid_return_type`)r(a.returnTypeError);else if(a.code===`invalid_arguments`)r(a.argumentsError);else if(a.path.length===0)n._errors.push(t(a));else{let e=n,r=0;for(;r<a.path.length;){let n=a.path[r];r===a.path.length-1?(e[n]=e[n]||{_errors:[]},e[n]._errors.push(t(a))):e[n]=e[n]||{_errors:[]},e=e[n],r++}}};return r(this),n}static assert(t){if(!(t instanceof e))throw Error(`Not a ZodError: ${t}`)}toString(){return this.message}get message(){return JSON.stringify(this.issues,p.jsonStringifyReplacer,2)}get isEmpty(){return this.issues.length===0}flatten(e=e=>e.message){let t={},n=[];for(let r of this.issues)if(r.path.length>0){let n=r.path[0];t[n]=t[n]||[],t[n].push(e(r))}else n.push(e(r));return{formErrors:n,fieldErrors:t}}get formErrors(){return this.flatten()}};v.create=e=>new v(e);const y=(e,t)=>{let n;switch(e.code){case _.invalid_type:n=e.received===h.undefined?`Required`:`Expected ${e.expected}, received ${e.received}`;break;case _.invalid_literal:n=`Invalid literal value, expected ${JSON.stringify(e.expected,p.jsonStringifyReplacer)}`;break;case _.unrecognized_keys:n=`Unrecognized key(s) in object: ${p.joinValues(e.keys,`, `)}`;break;case _.invalid_union:n=`Invalid input`;break;case _.invalid_union_discriminator:n=`Invalid discriminator value. Expected ${p.joinValues(e.options)}`;break;case _.invalid_enum_value:n=`Invalid enum value. Expected ${p.joinValues(e.options)}, received '${e.received}'`;break;case _.invalid_arguments:n=`Invalid function arguments`;break;case _.invalid_return_type:n=`Invalid function return type`;break;case _.invalid_date:n=`Invalid date`;break;case _.invalid_string:typeof e.validation==`object`?`includes`in e.validation?(n=`Invalid input: must include "${e.validation.includes}"`,typeof e.validation.position==`number`&&(n=`${n} at one or more positions greater than or equal to ${e.validation.position}`)):`startsWith`in e.validation?n=`Invalid input: must start with "${e.validation.startsWith}"`:`endsWith`in e.validation?n=`Invalid input: must end with "${e.validation.endsWith}"`:p.assertNever(e.validation):n=e.validation===`regex`?`Invalid`:`Invalid ${e.validation}`;break;case _.too_small:n=e.type===`array`?`Array must contain ${e.exact?`exactly`:e.inclusive?`at least`:`more than`} ${e.minimum} element(s)`:e.type===`string`?`String must contain ${e.exact?`exactly`:e.inclusive?`at least`:`over`} ${e.minimum} character(s)`:e.type===`number`||e.type===`bigint`?`Number must be ${e.exact?`exactly equal to `:e.inclusive?`greater than or equal to `:`greater than `}${e.minimum}`:e.type===`date`?`Date must be ${e.exact?`exactly equal to `:e.inclusive?`greater than or equal to `:`greater than `}${new Date(Number(e.minimum))}`:`Invalid input`;break;case _.too_big:n=e.type===`array`?`Array must contain ${e.exact?`exactly`:e.inclusive?`at most`:`less than`} ${e.maximum} element(s)`:e.type===`string`?`String must contain ${e.exact?`exactly`:e.inclusive?`at most`:`under`} ${e.maximum} character(s)`:e.type===`number`?`Number must be ${e.exact?`exactly`:e.inclusive?`less than or equal to`:`less than`} ${e.maximum}`:e.type===`bigint`?`BigInt must be ${e.exact?`exactly`:e.inclusive?`less than or equal to`:`less than`} ${e.maximum}`:e.type===`date`?`Date must be ${e.exact?`exactly`:e.inclusive?`smaller than or equal to`:`smaller than`} ${new Date(Number(e.maximum))}`:`Invalid input`;break;case _.custom:n=`Invalid input`;break;case _.invalid_intersection_types:n=`Intersection results could not be merged`;break;case _.not_multiple_of:n=`Number must be a multiple of ${e.multipleOf}`;break;case _.not_finite:n=`Number must be finite`;break;default:n=t.defaultError,p.assertNever(e)}return{message:n}};let b=y;function x(){return b}const S=e=>{let{data:t,path:n,errorMaps:r,issueData:a}=e,o=[...n,...a.path||[]],s={...a,path:o};if(a.message!==void 0)return{...a,path:o,message:a.message};let c=``,l=r.filter(e=>!!e).slice().reverse();for(let e of l)c=e(s,{data:t,defaultError:c}).message;return{...a,path:o,message:c}};function C(e,t){let n=x(),r=S({issueData:t,data:e.data,path:e.path,errorMaps:[e.common.contextualErrorMap,e.schemaErrorMap,n,n===y?void 0:y].filter(e=>!!e)});e.common.issues.push(r)}var w=class e{constructor(){this.value=`valid`}dirty(){this.value===`valid`&&(this.value=`dirty`)}abort(){this.value!==`aborted`&&(this.value=`aborted`)}static mergeArray(e,t){let n=[];for(let r of t){if(r.status===`aborted`)return T;r.status===`dirty`&&e.dirty(),n.push(r.value)}return{status:e.value,value:n}}static async mergeObjectAsync(t,n){let r=[];for(let e of n){let t=await e.key,n=await e.value;r.push({key:t,value:n})}return e.mergeObjectSync(t,r)}static mergeObjectSync(e,t){let n={};for(let r of t){let{key:t,value:a}=r;if(t.status===`aborted`||a.status===`aborted`)return T;t.status===`dirty`&&e.dirty(),a.status===`dirty`&&e.dirty(),t.value!==`__proto__`&&(a.value!==void 0||r.alwaysSet)&&(n[t.value]=a.value)}return{status:e.value,value:n}}};const T=Object.freeze({status:`aborted`}),E=e=>({status:`dirty`,value:e}),D=e=>({status:`valid`,value:e}),O=e=>e.status===`aborted`,k=e=>e.status===`dirty`,A=e=>e.status===`valid`,j=e=>typeof Promise<`u`&&e instanceof Promise;var M;(function(e){e.errToObj=e=>typeof e==`string`?{message:e}:e||{},e.toString=e=>typeof e==`string`?e:e?.message})(M||={});var N=class{constructor(e,t,n,r){this._cachedPath=[],this.parent=e,this.data=t,this._path=n,this._key=r}get path(){return this._cachedPath.length||(Array.isArray(this._key)?this._cachedPath.push(...this._path,...this._key):this._cachedPath.push(...this._path,this._key)),this._cachedPath}};const P=(e,t)=>{if(A(t))return{success:!0,data:t.value};if(!e.common.issues.length)throw Error(`Validation failed but no issues detected.`);return{success:!1,get error(){if(this._error)return this._error;let t=new v(e.common.issues);return this._error=t,this._error}}};function F(e){if(!e)return{};let{errorMap:t,invalid_type_error:n,required_error:r,description:a}=e;if(t&&(n||r))throw Error(`Can't use "invalid_type_error" or "required_error" in conjunction with custom error map.`);return t?{errorMap:t,description:a}:{errorMap:(t,a)=>{let{message:o}=e;return t.code===`invalid_enum_value`?{message:o??a.defaultError}:a.data===void 0?{message:o??r??a.defaultError}:t.code===`invalid_type`?{message:o??n??a.defaultError}:{message:a.defaultError}},description:a}}var I=class{get description(){return this._def.description}_getType(e){return g(e.data)}_getOrReturnCtx(e,t){return t||{common:e.parent.common,data:e.data,parsedType:g(e.data),schemaErrorMap:this._def.errorMap,path:e.path,parent:e.parent}}_processInputParams(e){return{status:new w,ctx:{common:e.parent.common,data:e.data,parsedType:g(e.data),schemaErrorMap:this._def.errorMap,path:e.path,parent:e.parent}}}_parseSync(e){let t=this._parse(e);if(j(t))throw Error(`Synchronous parse encountered promise.`);return t}_parseAsync(e){let t=this._parse(e);return Promise.resolve(t)}parse(e,t){let n=this.safeParse(e,t);if(n.success)return n.data;throw n.error}safeParse(e,t){let n={common:{issues:[],async:t?.async??!1,contextualErrorMap:t?.errorMap},path:t?.path||[],schemaErrorMap:this._def.errorMap,parent:null,data:e,parsedType:g(e)};return P(n,this._parseSync({data:e,path:n.path,parent:n}))}"~validate"(e){let t={common:{issues:[],async:!!this[`~standard`].async},path:[],schemaErrorMap:this._def.errorMap,parent:null,data:e,parsedType:g(e)};if(!this[`~standard`].async)try{let n=this._parseSync({data:e,path:[],parent:t});return A(n)?{value:n.value}:{issues:t.common.issues}}catch(e){e?.message?.toLowerCase()?.includes(`encountered`)&&(this[`~standard`].async=!0),t.common={issues:[],async:!0}}return this._parseAsync({data:e,path:[],parent:t}).then(e=>A(e)?{value:e.value}:{issues:t.common.issues})}async parseAsync(e,t){let n=await this.safeParseAsync(e,t);if(n.success)return n.data;throw n.error}async safeParseAsync(e,t){let n={common:{issues:[],contextualErrorMap:t?.errorMap,async:!0},path:t?.path||[],schemaErrorMap:this._def.errorMap,parent:null,data:e,parsedType:g(e)},r=this._parse({data:e,path:n.path,parent:n});return P(n,await(j(r)?r:Promise.resolve(r)))}refine(e,t){let n=e=>typeof t==`string`||t===void 0?{message:t}:typeof t==`function`?t(e):t;return this._refinement((t,r)=>{let a=e(t),o=()=>r.addIssue({code:_.custom,...n(t)});return typeof Promise<`u`&&a instanceof Promise?a.then(e=>e?!0:(o(),!1)):a?!0:(o(),!1)})}refinement(e,t){return this._refinement((n,r)=>e(n)?!0:(r.addIssue(typeof t==`function`?t(n,r):t),!1))}_refinement(e){return new Ve({schema:this,typeName:Q.ZodEffects,effect:{type:`refinement`,refinement:e}})}superRefine(e){return this._refinement(e)}constructor(e){this.spa=this.safeParseAsync,this._def=e,this.parse=this.parse.bind(this),this.safeParse=this.safeParse.bind(this),this.parseAsync=this.parseAsync.bind(this),this.safeParseAsync=this.safeParseAsync.bind(this),this.spa=this.spa.bind(this),this.refine=this.refine.bind(this),this.refinement=this.refinement.bind(this),this.superRefine=this.superRefine.bind(this),this.optional=this.optional.bind(this),this.nullable=this.nullable.bind(this),this.nullish=this.nullish.bind(this),this.array=this.array.bind(this),this.promise=this.promise.bind(this),this.or=this.or.bind(this),this.and=this.and.bind(this),this.transform=this.transform.bind(this),this.brand=this.brand.bind(this),this.default=this.default.bind(this),this.catch=this.catch.bind(this),this.describe=this.describe.bind(this),this.pipe=this.pipe.bind(this),this.readonly=this.readonly.bind(this),this.isNullable=this.isNullable.bind(this),this.isOptional=this.isOptional.bind(this),this[`~standard`]={version:1,vendor:`zod`,validate:e=>this[`~validate`](e)}}optional(){return He.create(this,this._def)}nullable(){return Ue.create(this,this._def)}nullish(){return this.nullable().optional()}array(){return we.create(this)}promise(){return Be.create(this,this._def)}or(e){return De.create([this,e],this._def)}and(e){return je.create(this,e,this._def)}transform(e){return new Ve({...F(this._def),schema:this,typeName:Q.ZodEffects,effect:{type:`transform`,transform:e}})}default(e){let t=typeof e==`function`?e:()=>e;return new Z({...F(this._def),innerType:this,defaultValue:t,typeName:Q.ZodDefault})}brand(){return new Ke({typeName:Q.ZodBranded,type:this,...F(this._def)})}catch(e){let t=typeof e==`function`?e:()=>e;return new We({...F(this._def),innerType:this,catchValue:t,typeName:Q.ZodCatch})}describe(e){let t=this.constructor;return new t({...this._def,description:e})}pipe(e){return qe.create(this,e)}readonly(){return Je.create(this)}isOptional(){return this.safeParse(void 0).success}isNullable(){return this.safeParse(null).success}};const L=/^c[^\s-]{8,}$/i,R=/^[0-9a-z]+$/,z=/^[0-9A-HJKMNP-TV-Z]{26}$/i,B=/^[0-9a-fA-F]{8}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{12}$/i,V=/^[a-z0-9_-]{21}$/i,H=/^[A-Za-z0-9-_]+\.[A-Za-z0-9-_]+\.[A-Za-z0-9-_]*$/,U=/^[-+]?P(?!$)(?:(?:[-+]?\d+Y)|(?:[-+]?\d+[.,]\d+Y$))?(?:(?:[-+]?\d+M)|(?:[-+]?\d+[.,]\d+M$))?(?:(?:[-+]?\d+W)|(?:[-+]?\d+[.,]\d+W$))?(?:(?:[-+]?\d+D)|(?:[-+]?\d+[.,]\d+D$))?(?:T(?=[\d+-])(?:(?:[-+]?\d+H)|(?:[-+]?\d+[.,]\d+H$))?(?:(?:[-+]?\d+M)|(?:[-+]?\d+[.,]\d+M$))?(?:[-+]?\d+(?:[.,]\d+)?S)?)??$/,W=/^(?!\.)(?!.*\.\.)([A-Z0-9_'+\-\.]*)[A-Z0-9_+-]@([A-Z0-9][A-Z0-9\-]*\.)+[A-Z]{2,}$/i;let ee;const G=/^(?:(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\.){3}(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])$/,te=/^(?:(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\.){3}(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\/(3[0-2]|[12]?[0-9])$/,ne=/^(([0-9a-fA-F]{1,4}:){7,7}[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,7}:|([0-9a-fA-F]{1,4}:){1,6}:[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,5}(:[0-9a-fA-F]{1,4}){1,2}|([0-9a-fA-F]{1,4}:){1,4}(:[0-9a-fA-F]{1,4}){1,3}|([0-9a-fA-F]{1,4}:){1,3}(:[0-9a-fA-F]{1,4}){1,4}|([0-9a-fA-F]{1,4}:){1,2}(:[0-9a-fA-F]{1,4}){1,5}|[0-9a-fA-F]{1,4}:((:[0-9a-fA-F]{1,4}){1,6})|:((:[0-9a-fA-F]{1,4}){1,7}|:)|fe80:(:[0-9a-fA-F]{0,4}){0,4}%[0-9a-zA-Z]{1,}|::(ffff(:0{1,4}){0,1}:){0,1}((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\.){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])|([0-9a-fA-F]{1,4}:){1,4}:((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\.){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9]))$/,re=/^(([0-9a-fA-F]{1,4}:){7,7}[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,7}:|([0-9a-fA-F]{1,4}:){1,6}:[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,5}(:[0-9a-fA-F]{1,4}){1,2}|([0-9a-fA-F]{1,4}:){1,4}(:[0-9a-fA-F]{1,4}){1,3}|([0-9a-fA-F]{1,4}:){1,3}(:[0-9a-fA-F]{1,4}){1,4}|([0-9a-fA-F]{1,4}:){1,2}(:[0-9a-fA-F]{1,4}){1,5}|[0-9a-fA-F]{1,4}:((:[0-9a-fA-F]{1,4}){1,6})|:((:[0-9a-fA-F]{1,4}){1,7}|:)|fe80:(:[0-9a-fA-F]{0,4}){0,4}%[0-9a-zA-Z]{1,}|::(ffff(:0{1,4}){0,1}:){0,1}((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\.){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])|([0-9a-fA-F]{1,4}:){1,4}:((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\.){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9]))\/(12[0-8]|1[01][0-9]|[1-9]?[0-9])$/,K=/^([0-9a-zA-Z+/]{4})*(([0-9a-zA-Z+/]{2}==)|([0-9a-zA-Z+/]{3}=))?$/,ie=/^([0-9a-zA-Z-_]{4})*(([0-9a-zA-Z-_]{2}(==)?)|([0-9a-zA-Z-_]{3}(=)?))?$/,ae=`((\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-((0[13578]|1[02])-(0[1-9]|[12]\\d|3[01])|(0[469]|11)-(0[1-9]|[12]\\d|30)|(02)-(0[1-9]|1\\d|2[0-8])))`,q=RegExp(`^${ae}$`);function oe(e){let t=`[0-5]\\d`;e.precision?t=`${t}\\.\\d{${e.precision}}`:e.precision??(t=`${t}(\\.\\d+)?`);let n=e.precision?`+`:`?`;return`([01]\\d|2[0-3]):[0-5]\\d(:${t})${n}`}function se(e){return RegExp(`^${oe(e)}$`)}function ce(e){let t=`${ae}T${oe(e)}`,n=[];return n.push(e.local?`Z?`:`Z`),e.offset&&n.push(`([+-]\\d{2}:?\\d{2})`),t=`${t}(${n.join(`|`)})`,RegExp(`^${t}$`)}function le(e,t){return!!((t===`v4`||!t)&&G.test(e)||(t===`v6`||!t)&&ne.test(e))}function ue(e,t){if(!H.test(e))return!1;try{let[n]=e.split(`.`);if(!n)return!1;let r=n.replace(/-/g,`+`).replace(/_/g,`/`).padEnd(n.length+(4-n.length%4)%4,`=`),a=JSON.parse(atob(r));return!(typeof a!=`object`||!a||`typ`in a&&a?.typ!==`JWT`||!a.alg||t&&a.alg!==t)}catch{return!1}}function de(e,t){return!!((t===`v4`||!t)&&te.test(e)||(t===`v6`||!t)&&re.test(e))}var J=class e extends I{_parse(e){if(this._def.coerce&&(e.data=String(e.data)),this._getType(e)!==h.string){let t=this._getOrReturnCtx(e);return C(t,{code:_.invalid_type,expected:h.string,received:t.parsedType}),T}let t=new w,n;for(let r of this._def.checks)if(r.kind===`min`)e.data.length<r.value&&(n=this._getOrReturnCtx(e,n),C(n,{code:_.too_small,minimum:r.value,type:`string`,inclusive:!0,exact:!1,message:r.message}),t.dirty());else if(r.kind===`max`)e.data.length>r.value&&(n=this._getOrReturnCtx(e,n),C(n,{code:_.too_big,maximum:r.value,type:`string`,inclusive:!0,exact:!1,message:r.message}),t.dirty());else if(r.kind===`length`){let a=e.data.length>r.value,o=e.data.length<r.value;(a||o)&&(n=this._getOrReturnCtx(e,n),a?C(n,{code:_.too_big,maximum:r.value,type:`string`,inclusive:!0,exact:!0,message:r.message}):o&&C(n,{code:_.too_small,minimum:r.value,type:`string`,inclusive:!0,exact:!0,message:r.message}),t.dirty())}else if(r.kind===`email`)W.test(e.data)||(n=this._getOrReturnCtx(e,n),C(n,{validation:`email`,code:_.invalid_string,message:r.message}),t.dirty());else if(r.kind===`emoji`)ee||=RegExp(`^(\\p{Extended_Pictographic}|\\p{Emoji_Component})+$`,`u`),ee.test(e.data)||(n=this._getOrReturnCtx(e,n),C(n,{validation:`emoji`,code:_.invalid_string,message:r.message}),t.dirty());else if(r.kind===`uuid`)B.test(e.data)||(n=this._getOrReturnCtx(e,n),C(n,{validation:`uuid`,code:_.invalid_string,message:r.message}),t.dirty());else if(r.kind===`nanoid`)V.test(e.data)||(n=this._getOrReturnCtx(e,n),C(n,{validation:`nanoid`,code:_.invalid_string,message:r.message}),t.dirty());else if(r.kind===`cuid`)L.test(e.data)||(n=this._getOrReturnCtx(e,n),C(n,{validation:`cuid`,code:_.invalid_string,message:r.message}),t.dirty());else if(r.kind===`cuid2`)R.test(e.data)||(n=this._getOrReturnCtx(e,n),C(n,{validation:`cuid2`,code:_.invalid_string,message:r.message}),t.dirty());else if(r.kind===`ulid`)z.test(e.data)||(n=this._getOrReturnCtx(e,n),C(n,{validation:`ulid`,code:_.invalid_string,message:r.message}),t.dirty());else if(r.kind===`url`)try{new URL(e.data)}catch{n=this._getOrReturnCtx(e,n),C(n,{validation:`url`,code:_.invalid_string,message:r.message}),t.dirty()}else r.kind===`regex`?(r.regex.lastIndex=0,r.regex.test(e.data)||(n=this._getOrReturnCtx(e,n),C(n,{validation:`regex`,code:_.invalid_string,message:r.message}),t.dirty())):r.kind===`trim`?e.data=e.data.trim():r.kind===`includes`?e.data.includes(r.value,r.position)||(n=this._getOrReturnCtx(e,n),C(n,{code:_.invalid_string,validation:{includes:r.value,position:r.position},message:r.message}),t.dirty()):r.kind===`toLowerCase`?e.data=e.data.toLowerCase():r.kind===`toUpperCase`?e.data=e.data.toUpperCase():r.kind===`startsWith`?e.data.startsWith(r.value)||(n=this._getOrReturnCtx(e,n),C(n,{code:_.invalid_string,validation:{startsWith:r.value},message:r.message}),t.dirty()):r.kind===`endsWith`?e.data.endsWith(r.value)||(n=this._getOrReturnCtx(e,n),C(n,{code:_.invalid_string,validation:{endsWith:r.value},message:r.message}),t.dirty()):r.kind===`datetime`?ce(r).test(e.data)||(n=this._getOrReturnCtx(e,n),C(n,{code:_.invalid_string,validation:`datetime`,message:r.message}),t.dirty()):r.kind===`date`?q.test(e.data)||(n=this._getOrReturnCtx(e,n),C(n,{code:_.invalid_string,validation:`date`,message:r.message}),t.dirty()):r.kind===`time`?se(r).test(e.data)||(n=this._getOrReturnCtx(e,n),C(n,{code:_.invalid_string,validation:`time`,message:r.message}),t.dirty()):r.kind===`duration`?U.test(e.data)||(n=this._getOrReturnCtx(e,n),C(n,{validation:`duration`,code:_.invalid_string,message:r.message}),t.dirty()):r.kind===`ip`?le(e.data,r.version)||(n=this._getOrReturnCtx(e,n),C(n,{validation:`ip`,code:_.invalid_string,message:r.message}),t.dirty()):r.kind===`jwt`?ue(e.data,r.alg)||(n=this._getOrReturnCtx(e,n),C(n,{validation:`jwt`,code:_.invalid_string,message:r.message}),t.dirty()):r.kind===`cidr`?de(e.data,r.version)||(n=this._getOrReturnCtx(e,n),C(n,{validation:`cidr`,code:_.invalid_string,message:r.message}),t.dirty()):r.kind===`base64`?K.test(e.data)||(n=this._getOrReturnCtx(e,n),C(n,{validation:`base64`,code:_.invalid_string,message:r.message}),t.dirty()):r.kind===`base64url`?ie.test(e.data)||(n=this._getOrReturnCtx(e,n),C(n,{validation:`base64url`,code:_.invalid_string,message:r.message}),t.dirty()):p.assertNever(r);return{status:t.value,value:e.data}}_regex(e,t,n){return this.refinement(t=>e.test(t),{validation:t,code:_.invalid_string,...M.errToObj(n)})}_addCheck(t){return new e({...this._def,checks:[...this._def.checks,t]})}email(e){return this._addCheck({kind:`email`,...M.errToObj(e)})}url(e){return this._addCheck({kind:`url`,...M.errToObj(e)})}emoji(e){return this._addCheck({kind:`emoji`,...M.errToObj(e)})}uuid(e){return this._addCheck({kind:`uuid`,...M.errToObj(e)})}nanoid(e){return this._addCheck({kind:`nanoid`,...M.errToObj(e)})}cuid(e){return this._addCheck({kind:`cuid`,...M.errToObj(e)})}cuid2(e){return this._addCheck({kind:`cuid2`,...M.errToObj(e)})}ulid(e){return this._addCheck({kind:`ulid`,...M.errToObj(e)})}base64(e){return this._addCheck({kind:`base64`,...M.errToObj(e)})}base64url(e){return this._addCheck({kind:`base64url`,...M.errToObj(e)})}jwt(e){return this._addCheck({kind:`jwt`,...M.errToObj(e)})}ip(e){return this._addCheck({kind:`ip`,...M.errToObj(e)})}cidr(e){return this._addCheck({kind:`cidr`,...M.errToObj(e)})}datetime(e){return typeof e==`string`?this._addCheck({kind:`datetime`,precision:null,offset:!1,local:!1,message:e}):this._addCheck({kind:`datetime`,precision:e?.precision===void 0?null:e?.precision,offset:e?.offset??!1,local:e?.local??!1,...M.errToObj(e?.message)})}date(e){return this._addCheck({kind:`date`,message:e})}time(e){return typeof e==`string`?this._addCheck({kind:`time`,precision:null,message:e}):this._addCheck({kind:`time`,precision:e?.precision===void 0?null:e?.precision,...M.errToObj(e?.message)})}duration(e){return this._addCheck({kind:`duration`,...M.errToObj(e)})}regex(e,t){return this._addCheck({kind:`regex`,regex:e,...M.errToObj(t)})}includes(e,t){return this._addCheck({kind:`includes`,value:e,position:t?.position,...M.errToObj(t?.message)})}startsWith(e,t){return this._addCheck({kind:`startsWith`,value:e,...M.errToObj(t)})}endsWith(e,t){return this._addCheck({kind:`endsWith`,value:e,...M.errToObj(t)})}min(e,t){return this._addCheck({kind:`min`,value:e,...M.errToObj(t)})}max(e,t){return this._addCheck({kind:`max`,value:e,...M.errToObj(t)})}length(e,t){return this._addCheck({kind:`length`,value:e,...M.errToObj(t)})}nonempty(e){return this.min(1,M.errToObj(e))}trim(){return new e({...this._def,checks:[...this._def.checks,{kind:`trim`}]})}toLowerCase(){return new e({...this._def,checks:[...this._def.checks,{kind:`toLowerCase`}]})}toUpperCase(){return new e({...this._def,checks:[...this._def.checks,{kind:`toUpperCase`}]})}get isDatetime(){return!!this._def.checks.find(e=>e.kind===`datetime`)}get isDate(){return!!this._def.checks.find(e=>e.kind===`date`)}get isTime(){return!!this._def.checks.find(e=>e.kind===`time`)}get isDuration(){return!!this._def.checks.find(e=>e.kind===`duration`)}get isEmail(){return!!this._def.checks.find(e=>e.kind===`email`)}get isURL(){return!!this._def.checks.find(e=>e.kind===`url`)}get isEmoji(){return!!this._def.checks.find(e=>e.kind===`emoji`)}get isUUID(){return!!this._def.checks.find(e=>e.kind===`uuid`)}get isNANOID(){return!!this._def.checks.find(e=>e.kind===`nanoid`)}get isCUID(){return!!this._def.checks.find(e=>e.kind===`cuid`)}get isCUID2(){return!!this._def.checks.find(e=>e.kind===`cuid2`)}get isULID(){return!!this._def.checks.find(e=>e.kind===`ulid`)}get isIP(){return!!this._def.checks.find(e=>e.kind===`ip`)}get isCIDR(){return!!this._def.checks.find(e=>e.kind===`cidr`)}get isBase64(){return!!this._def.checks.find(e=>e.kind===`base64`)}get isBase64url(){return!!this._def.checks.find(e=>e.kind===`base64url`)}get minLength(){let e=null;for(let t of this._def.checks)t.kind===`min`&&(e===null||t.value>e)&&(e=t.value);return e}get maxLength(){let e=null;for(let t of this._def.checks)t.kind===`max`&&(e===null||t.value<e)&&(e=t.value);return e}};J.create=e=>new J({checks:[],typeName:Q.ZodString,coerce:e?.coerce??!1,...F(e)});function fe(e,t){let n=(e.toString().split(`.`)[1]||``).length,r=(t.toString().split(`.`)[1]||``).length,a=n>r?n:r;return Number.parseInt(e.toFixed(a).replace(`.`,``))%Number.parseInt(t.toFixed(a).replace(`.`,``))/10**a}var pe=class e extends I{constructor(){super(...arguments),this.min=this.gte,this.max=this.lte,this.step=this.multipleOf}_parse(e){if(this._def.coerce&&(e.data=Number(e.data)),this._getType(e)!==h.number){let t=this._getOrReturnCtx(e);return C(t,{code:_.invalid_type,expected:h.number,received:t.parsedType}),T}let t,n=new w;for(let r of this._def.checks)r.kind===`int`?p.isInteger(e.data)||(t=this._getOrReturnCtx(e,t),C(t,{code:_.invalid_type,expected:`integer`,received:`float`,message:r.message}),n.dirty()):r.kind===`min`?(r.inclusive?e.data<r.value:e.data<=r.value)&&(t=this._getOrReturnCtx(e,t),C(t,{code:_.too_small,minimum:r.value,type:`number`,inclusive:r.inclusive,exact:!1,message:r.message}),n.dirty()):r.kind===`max`?(r.inclusive?e.data>r.value:e.data>=r.value)&&(t=this._getOrReturnCtx(e,t),C(t,{code:_.too_big,maximum:r.value,type:`number`,inclusive:r.inclusive,exact:!1,message:r.message}),n.dirty()):r.kind===`multipleOf`?fe(e.data,r.value)!==0&&(t=this._getOrReturnCtx(e,t),C(t,{code:_.not_multiple_of,multipleOf:r.value,message:r.message}),n.dirty()):r.kind===`finite`?Number.isFinite(e.data)||(t=this._getOrReturnCtx(e,t),C(t,{code:_.not_finite,message:r.message}),n.dirty()):p.assertNever(r);return{status:n.value,value:e.data}}gte(e,t){return this.setLimit(`min`,e,!0,M.toString(t))}gt(e,t){return this.setLimit(`min`,e,!1,M.toString(t))}lte(e,t){return this.setLimit(`max`,e,!0,M.toString(t))}lt(e,t){return this.setLimit(`max`,e,!1,M.toString(t))}setLimit(t,n,r,a){return new e({...this._def,checks:[...this._def.checks,{kind:t,value:n,inclusive:r,message:M.toString(a)}]})}_addCheck(t){return new e({...this._def,checks:[...this._def.checks,t]})}int(e){return this._addCheck({kind:`int`,message:M.toString(e)})}positive(e){return this._addCheck({kind:`min`,value:0,inclusive:!1,message:M.toString(e)})}negative(e){return this._addCheck({kind:`max`,value:0,inclusive:!1,message:M.toString(e)})}nonpositive(e){return this._addCheck({kind:`max`,value:0,inclusive:!0,message:M.toString(e)})}nonnegative(e){return this._addCheck({kind:`min`,value:0,inclusive:!0,message:M.toString(e)})}multipleOf(e,t){return this._addCheck({kind:`multipleOf`,value:e,message:M.toString(t)})}finite(e){return this._addCheck({kind:`finite`,message:M.toString(e)})}safe(e){return this._addCheck({kind:`min`,inclusive:!0,value:-(2**53-1),message:M.toString(e)})._addCheck({kind:`max`,inclusive:!0,value:2**53-1,message:M.toString(e)})}get minValue(){let e=null;for(let t of this._def.checks)t.kind===`min`&&(e===null||t.value>e)&&(e=t.value);return e}get maxValue(){let e=null;for(let t of this._def.checks)t.kind===`max`&&(e===null||t.value<e)&&(e=t.value);return e}get isInt(){return!!this._def.checks.find(e=>e.kind===`int`||e.kind===`multipleOf`&&p.isInteger(e.value))}get isFinite(){let e=null,t=null;for(let n of this._def.checks)if(n.kind===`finite`||n.kind===`int`||n.kind===`multipleOf`)return!0;else n.kind===`min`?(t===null||n.value>t)&&(t=n.value):n.kind===`max`&&(e===null||n.value<e)&&(e=n.value);return Number.isFinite(t)&&Number.isFinite(e)}};pe.create=e=>new pe({checks:[],typeName:Q.ZodNumber,coerce:e?.coerce||!1,...F(e)});var me=class e extends I{constructor(){super(...arguments),this.min=this.gte,this.max=this.lte}_parse(e){if(this._def.coerce)try{e.data=BigInt(e.data)}catch{return this._getInvalidInput(e)}if(this._getType(e)!==h.bigint)return this._getInvalidInput(e);let t,n=new w;for(let r of this._def.checks)r.kind===`min`?(r.inclusive?e.data<r.value:e.data<=r.value)&&(t=this._getOrReturnCtx(e,t),C(t,{code:_.too_small,type:`bigint`,minimum:r.value,inclusive:r.inclusive,message:r.message}),n.dirty()):r.kind===`max`?(r.inclusive?e.data>r.value:e.data>=r.value)&&(t=this._getOrReturnCtx(e,t),C(t,{code:_.too_big,type:`bigint`,maximum:r.value,inclusive:r.inclusive,message:r.message}),n.dirty()):r.kind===`multipleOf`?e.data%r.value!==BigInt(0)&&(t=this._getOrReturnCtx(e,t),C(t,{code:_.not_multiple_of,multipleOf:r.value,message:r.message}),n.dirty()):p.assertNever(r);return{status:n.value,value:e.data}}_getInvalidInput(e){let t=this._getOrReturnCtx(e);return C(t,{code:_.invalid_type,expected:h.bigint,received:t.parsedType}),T}gte(e,t){return this.setLimit(`min`,e,!0,M.toString(t))}gt(e,t){return this.setLimit(`min`,e,!1,M.toString(t))}lte(e,t){return this.setLimit(`max`,e,!0,M.toString(t))}lt(e,t){return this.setLimit(`max`,e,!1,M.toString(t))}setLimit(t,n,r,a){return new e({...this._def,checks:[...this._def.checks,{kind:t,value:n,inclusive:r,message:M.toString(a)}]})}_addCheck(t){return new e({...this._def,checks:[...this._def.checks,t]})}positive(e){return this._addCheck({kind:`min`,value:BigInt(0),inclusive:!1,message:M.toString(e)})}negative(e){return this._addCheck({kind:`max`,value:BigInt(0),inclusive:!1,message:M.toString(e)})}nonpositive(e){return this._addCheck({kind:`max`,value:BigInt(0),inclusive:!0,message:M.toString(e)})}nonnegative(e){return this._addCheck({kind:`min`,value:BigInt(0),inclusive:!0,message:M.toString(e)})}multipleOf(e,t){return this._addCheck({kind:`multipleOf`,value:e,message:M.toString(t)})}get minValue(){let e=null;for(let t of this._def.checks)t.kind===`min`&&(e===null||t.value>e)&&(e=t.value);return e}get maxValue(){let e=null;for(let t of this._def.checks)t.kind===`max`&&(e===null||t.value<e)&&(e=t.value);return e}};me.create=e=>new me({checks:[],typeName:Q.ZodBigInt,coerce:e?.coerce??!1,...F(e)});var he=class extends I{_parse(e){if(this._def.coerce&&(e.data=!!e.data),this._getType(e)!==h.boolean){let t=this._getOrReturnCtx(e);return C(t,{code:_.invalid_type,expected:h.boolean,received:t.parsedType}),T}return D(e.data)}};he.create=e=>new he({typeName:Q.ZodBoolean,coerce:e?.coerce||!1,...F(e)});var ge=class e extends I{_parse(e){if(this._def.coerce&&(e.data=new Date(e.data)),this._getType(e)!==h.date){let t=this._getOrReturnCtx(e);return C(t,{code:_.invalid_type,expected:h.date,received:t.parsedType}),T}if(Number.isNaN(e.data.getTime()))return C(this._getOrReturnCtx(e),{code:_.invalid_date}),T;let t=new w,n;for(let r of this._def.checks)r.kind===`min`?e.data.getTime()<r.value&&(n=this._getOrReturnCtx(e,n),C(n,{code:_.too_small,message:r.message,inclusive:!0,exact:!1,minimum:r.value,type:`date`}),t.dirty()):r.kind===`max`?e.data.getTime()>r.value&&(n=this._getOrReturnCtx(e,n),C(n,{code:_.too_big,message:r.message,inclusive:!0,exact:!1,maximum:r.value,type:`date`}),t.dirty()):p.assertNever(r);return{status:t.value,value:new Date(e.data.getTime())}}_addCheck(t){return new e({...this._def,checks:[...this._def.checks,t]})}min(e,t){return this._addCheck({kind:`min`,value:e.getTime(),message:M.toString(t)})}max(e,t){return this._addCheck({kind:`max`,value:e.getTime(),message:M.toString(t)})}get minDate(){let e=null;for(let t of this._def.checks)t.kind===`min`&&(e===null||t.value>e)&&(e=t.value);return e==null?null:new Date(e)}get maxDate(){let e=null;for(let t of this._def.checks)t.kind===`max`&&(e===null||t.value<e)&&(e=t.value);return e==null?null:new Date(e)}};ge.create=e=>new ge({checks:[],coerce:e?.coerce||!1,typeName:Q.ZodDate,...F(e)});var _e=class extends I{_parse(e){if(this._getType(e)!==h.symbol){let t=this._getOrReturnCtx(e);return C(t,{code:_.invalid_type,expected:h.symbol,received:t.parsedType}),T}return D(e.data)}};_e.create=e=>new _e({typeName:Q.ZodSymbol,...F(e)});var ve=class extends I{_parse(e){if(this._getType(e)!==h.undefined){let t=this._getOrReturnCtx(e);return C(t,{code:_.invalid_type,expected:h.undefined,received:t.parsedType}),T}return D(e.data)}};ve.create=e=>new ve({typeName:Q.ZodUndefined,...F(e)});var ye=class extends I{_parse(e){if(this._getType(e)!==h.null){let t=this._getOrReturnCtx(e);return C(t,{code:_.invalid_type,expected:h.null,received:t.parsedType}),T}return D(e.data)}};ye.create=e=>new ye({typeName:Q.ZodNull,...F(e)});var be=class extends I{constructor(){super(...arguments),this._any=!0}_parse(e){return D(e.data)}};be.create=e=>new be({typeName:Q.ZodAny,...F(e)});var xe=class extends I{constructor(){super(...arguments),this._unknown=!0}_parse(e){return D(e.data)}};xe.create=e=>new xe({typeName:Q.ZodUnknown,...F(e)});var Se=class extends I{_parse(e){let t=this._getOrReturnCtx(e);return C(t,{code:_.invalid_type,expected:h.never,received:t.parsedType}),T}};Se.create=e=>new Se({typeName:Q.ZodNever,...F(e)});var Ce=class extends I{_parse(e){if(this._getType(e)!==h.undefined){let t=this._getOrReturnCtx(e);return C(t,{code:_.invalid_type,expected:h.void,received:t.parsedType}),T}return D(e.data)}};Ce.create=e=>new Ce({typeName:Q.ZodVoid,...F(e)});var we=class e extends I{_parse(e){let{ctx:t,status:n}=this._processInputParams(e),r=this._def;if(t.parsedType!==h.array)return C(t,{code:_.invalid_type,expected:h.array,received:t.parsedType}),T;if(r.exactLength!==null){let e=t.data.length>r.exactLength.value,a=t.data.length<r.exactLength.value;(e||a)&&(C(t,{code:e?_.too_big:_.too_small,minimum:a?r.exactLength.value:void 0,maximum:e?r.exactLength.value:void 0,type:`array`,inclusive:!0,exact:!0,message:r.exactLength.message}),n.dirty())}if(r.minLength!==null&&t.data.length<r.minLength.value&&(C(t,{code:_.too_small,minimum:r.minLength.value,type:`array`,inclusive:!0,exact:!1,message:r.minLength.message}),n.dirty()),r.maxLength!==null&&t.data.length>r.maxLength.value&&(C(t,{code:_.too_big,maximum:r.maxLength.value,type:`array`,inclusive:!0,exact:!1,message:r.maxLength.message}),n.dirty()),t.common.async)return Promise.all([...t.data].map((e,n)=>r.type._parseAsync(new N(t,e,t.path,n)))).then(e=>w.mergeArray(n,e));let a=[...t.data].map((e,n)=>r.type._parseSync(new N(t,e,t.path,n)));return w.mergeArray(n,a)}get element(){return this._def.type}min(t,n){return new e({...this._def,minLength:{value:t,message:M.toString(n)}})}max(t,n){return new e({...this._def,maxLength:{value:t,message:M.toString(n)}})}length(t,n){return new e({...this._def,exactLength:{value:t,message:M.toString(n)}})}nonempty(e){return this.min(1,e)}};we.create=(e,t)=>new we({type:e,minLength:null,maxLength:null,exactLength:null,typeName:Q.ZodArray,...F(t)});function Te(e){if(e instanceof Ee){let t={};for(let n in e.shape){let r=e.shape[n];t[n]=He.create(Te(r))}return new Ee({...e._def,shape:()=>t})}else if(e instanceof we)return new we({...e._def,type:Te(e.element)});else if(e instanceof He)return He.create(Te(e.unwrap()));else if(e instanceof Ue)return Ue.create(Te(e.unwrap()));else if(e instanceof Me)return Me.create(e.items.map(e=>Te(e)));else return e}var Ee=class e extends I{constructor(){super(...arguments),this._cached=null,this.nonstrict=this.passthrough,this.augment=this.extend}_getCached(){if(this._cached!==null)return this._cached;let e=this._def.shape(),t=p.objectKeys(e);return this._cached={shape:e,keys:t},this._cached}_parse(e){if(this._getType(e)!==h.object){let t=this._getOrReturnCtx(e);return C(t,{code:_.invalid_type,expected:h.object,received:t.parsedType}),T}let{status:t,ctx:n}=this._processInputParams(e),{shape:r,keys:a}=this._getCached(),o=[];if(!(this._def.catchall instanceof Se&&this._def.unknownKeys===`strip`))for(let e in n.data)a.includes(e)||o.push(e);let s=[];for(let e of a){let t=r[e],a=n.data[e];s.push({key:{status:`valid`,value:e},value:t._parse(new N(n,a,n.path,e)),alwaysSet:e in n.data})}if(this._def.catchall instanceof Se){let e=this._def.unknownKeys;if(e===`passthrough`)for(let e of o)s.push({key:{status:`valid`,value:e},value:{status:`valid`,value:n.data[e]}});else if(e===`strict`)o.length>0&&(C(n,{code:_.unrecognized_keys,keys:o}),t.dirty());else if(e!==`strip`)throw Error(`Internal ZodObject error: invalid unknownKeys value.`)}else{let e=this._def.catchall;for(let t of o){let r=n.data[t];s.push({key:{status:`valid`,value:t},value:e._parse(new N(n,r,n.path,t)),alwaysSet:t in n.data})}}return n.common.async?Promise.resolve().then(async()=>{let e=[];for(let t of s){let n=await t.key,r=await t.value;e.push({key:n,value:r,alwaysSet:t.alwaysSet})}return e}).then(e=>w.mergeObjectSync(t,e)):w.mergeObjectSync(t,s)}get shape(){return this._def.shape()}strict(t){return M.errToObj,new e({...this._def,unknownKeys:`strict`,...t===void 0?{}:{errorMap:(e,n)=>{let r=this._def.errorMap?.(e,n).message??n.defaultError;return e.code===`unrecognized_keys`?{message:M.errToObj(t).message??r}:{message:r}}}})}strip(){return new e({...this._def,unknownKeys:`strip`})}passthrough(){return new e({...this._def,unknownKeys:`passthrough`})}extend(t){return new e({...this._def,shape:()=>({...this._def.shape(),...t})})}merge(t){return new e({unknownKeys:t._def.unknownKeys,catchall:t._def.catchall,shape:()=>({...this._def.shape(),...t._def.shape()}),typeName:Q.ZodObject})}setKey(e,t){return this.augment({[e]:t})}catchall(t){return new e({...this._def,catchall:t})}pick(t){let n={};for(let e of p.objectKeys(t))t[e]&&this.shape[e]&&(n[e]=this.shape[e]);return new e({...this._def,shape:()=>n})}omit(t){let n={};for(let e of p.objectKeys(this.shape))t[e]||(n[e]=this.shape[e]);return new e({...this._def,shape:()=>n})}deepPartial(){return Te(this)}partial(t){let n={};for(let e of p.objectKeys(this.shape)){let r=this.shape[e];t&&!t[e]?n[e]=r:n[e]=r.optional()}return new e({...this._def,shape:()=>n})}required(t){let n={};for(let e of p.objectKeys(this.shape))if(t&&!t[e])n[e]=this.shape[e];else{let t=this.shape[e];for(;t instanceof He;)t=t._def.innerType;n[e]=t}return new e({...this._def,shape:()=>n})}keyof(){return Le(p.objectKeys(this.shape))}};Ee.create=(e,t)=>new Ee({shape:()=>e,unknownKeys:`strip`,catchall:Se.create(),typeName:Q.ZodObject,...F(t)}),Ee.strictCreate=(e,t)=>new Ee({shape:()=>e,unknownKeys:`strict`,catchall:Se.create(),typeName:Q.ZodObject,...F(t)}),Ee.lazycreate=(e,t)=>new Ee({shape:e,unknownKeys:`strip`,catchall:Se.create(),typeName:Q.ZodObject,...F(t)});var De=class extends I{_parse(e){let{ctx:t}=this._processInputParams(e),n=this._def.options;function r(e){for(let t of e)if(t.result.status===`valid`)return t.result;for(let n of e)if(n.result.status===`dirty`)return t.common.issues.push(...n.ctx.common.issues),n.result;let n=e.map(e=>new v(e.ctx.common.issues));return C(t,{code:_.invalid_union,unionErrors:n}),T}if(t.common.async)return Promise.all(n.map(async e=>{let n={...t,common:{...t.common,issues:[]},parent:null};return{result:await e._parseAsync({data:t.data,path:t.path,parent:n}),ctx:n}})).then(r);{let e,r=[];for(let a of n){let n={...t,common:{...t.common,issues:[]},parent:null},o=a._parseSync({data:t.data,path:t.path,parent:n});if(o.status===`valid`)return o;o.status===`dirty`&&!e&&(e={result:o,ctx:n}),n.common.issues.length&&r.push(n.common.issues)}if(e)return t.common.issues.push(...e.ctx.common.issues),e.result;let a=r.map(e=>new v(e));return C(t,{code:_.invalid_union,unionErrors:a}),T}}get options(){return this._def.options}};De.create=(e,t)=>new De({options:e,typeName:Q.ZodUnion,...F(t)});const Oe=e=>e instanceof X?Oe(e.schema):e instanceof Ve?Oe(e.innerType()):e instanceof Ie?[e.value]:e instanceof Re?e.options:e instanceof ze?p.objectValues(e.enum):e instanceof Z?Oe(e._def.innerType):e instanceof ve?[void 0]:e instanceof ye?[null]:e instanceof He?[void 0,...Oe(e.unwrap())]:e instanceof Ue?[null,...Oe(e.unwrap())]:e instanceof Ke||e instanceof Je?Oe(e.unwrap()):e instanceof We?Oe(e._def.innerType):[];var ke=class e extends I{_parse(e){let{ctx:t}=this._processInputParams(e);if(t.parsedType!==h.object)return C(t,{code:_.invalid_type,expected:h.object,received:t.parsedType}),T;let n=this.discriminator,r=t.data[n],a=this.optionsMap.get(r);return a?t.common.async?a._parseAsync({data:t.data,path:t.path,parent:t}):a._parseSync({data:t.data,path:t.path,parent:t}):(C(t,{code:_.invalid_union_discriminator,options:Array.from(this.optionsMap.keys()),path:[n]}),T)}get discriminator(){return this._def.discriminator}get options(){return this._def.options}get optionsMap(){return this._def.optionsMap}static create(t,n,r){let a=new Map;for(let e of n){let n=Oe(e.shape[t]);if(!n.length)throw Error(`A discriminator value for key \`${t}\` could not be extracted from all schema options`);for(let r of n){if(a.has(r))throw Error(`Discriminator property ${String(t)} has duplicate value ${String(r)}`);a.set(r,e)}}return new e({typeName:Q.ZodDiscriminatedUnion,discriminator:t,options:n,optionsMap:a,...F(r)})}};function Ae(e,t){let n=g(e),r=g(t);if(e===t)return{valid:!0,data:e};if(n===h.object&&r===h.object){let n=p.objectKeys(t),r=p.objectKeys(e).filter(e=>n.indexOf(e)!==-1),a={...e,...t};for(let n of r){let r=Ae(e[n],t[n]);if(!r.valid)return{valid:!1};a[n]=r.data}return{valid:!0,data:a}}else if(n===h.array&&r===h.array){if(e.length!==t.length)return{valid:!1};let n=[];for(let r=0;r<e.length;r++){let a=e[r],o=t[r],s=Ae(a,o);if(!s.valid)return{valid:!1};n.push(s.data)}return{valid:!0,data:n}}else if(n===h.date&&r===h.date&&+e==+t)return{valid:!0,data:e};else return{valid:!1}}var je=class extends I{_parse(e){let{status:t,ctx:n}=this._processInputParams(e),r=(e,r)=>{if(O(e)||O(r))return T;let a=Ae(e.value,r.value);return a.valid?((k(e)||k(r))&&t.dirty(),{status:t.value,value:a.data}):(C(n,{code:_.invalid_intersection_types}),T)};return n.common.async?Promise.all([this._def.left._parseAsync({data:n.data,path:n.path,parent:n}),this._def.right._parseAsync({data:n.data,path:n.path,parent:n})]).then(([e,t])=>r(e,t)):r(this._def.left._parseSync({data:n.data,path:n.path,parent:n}),this._def.right._parseSync({data:n.data,path:n.path,parent:n}))}};je.create=(e,t,n)=>new je({left:e,right:t,typeName:Q.ZodIntersection,...F(n)});var Me=class e extends I{_parse(e){let{status:t,ctx:n}=this._processInputParams(e);if(n.parsedType!==h.array)return C(n,{code:_.invalid_type,expected:h.array,received:n.parsedType}),T;if(n.data.length<this._def.items.length)return C(n,{code:_.too_small,minimum:this._def.items.length,inclusive:!0,exact:!1,type:`array`}),T;!this._def.rest&&n.data.length>this._def.items.length&&(C(n,{code:_.too_big,maximum:this._def.items.length,inclusive:!0,exact:!1,type:`array`}),t.dirty());let r=[...n.data].map((e,t)=>{let r=this._def.items[t]||this._def.rest;return r?r._parse(new N(n,e,n.path,t)):null}).filter(e=>!!e);return n.common.async?Promise.all(r).then(e=>w.mergeArray(t,e)):w.mergeArray(t,r)}get items(){return this._def.items}rest(t){return new e({...this._def,rest:t})}};Me.create=(e,t)=>{if(!Array.isArray(e))throw Error(`You must pass an array of schemas to z.tuple([ ... ])`);return new Me({items:e,typeName:Q.ZodTuple,rest:null,...F(t)})};var Y=class e extends I{get keySchema(){return this._def.keyType}get valueSchema(){return this._def.valueType}_parse(e){let{status:t,ctx:n}=this._processInputParams(e);if(n.parsedType!==h.object)return C(n,{code:_.invalid_type,expected:h.object,received:n.parsedType}),T;let r=[],a=this._def.keyType,o=this._def.valueType;for(let e in n.data)r.push({key:a._parse(new N(n,e,n.path,e)),value:o._parse(new N(n,n.data[e],n.path,e)),alwaysSet:e in n.data});return n.common.async?w.mergeObjectAsync(t,r):w.mergeObjectSync(t,r)}get element(){return this._def.valueType}static create(t,n,r){return n instanceof I?new e({keyType:t,valueType:n,typeName:Q.ZodRecord,...F(r)}):new e({keyType:J.create(),valueType:t,typeName:Q.ZodRecord,...F(n)})}},Ne=class extends I{get keySchema(){return this._def.keyType}get valueSchema(){return this._def.valueType}_parse(e){let{status:t,ctx:n}=this._processInputParams(e);if(n.parsedType!==h.map)return C(n,{code:_.invalid_type,expected:h.map,received:n.parsedType}),T;let r=this._def.keyType,a=this._def.valueType,o=[...n.data.entries()].map(([e,t],o)=>({key:r._parse(new N(n,e,n.path,[o,`key`])),value:a._parse(new N(n,t,n.path,[o,`value`]))}));if(n.common.async){let e=new Map;return Promise.resolve().then(async()=>{for(let n of o){let r=await n.key,a=await n.value;if(r.status===`aborted`||a.status===`aborted`)return T;(r.status===`dirty`||a.status===`dirty`)&&t.dirty(),e.set(r.value,a.value)}return{status:t.value,value:e}})}else{let e=new Map;for(let n of o){let r=n.key,a=n.value;if(r.status===`aborted`||a.status===`aborted`)return T;(r.status===`dirty`||a.status===`dirty`)&&t.dirty(),e.set(r.value,a.value)}return{status:t.value,value:e}}}};Ne.create=(e,t,n)=>new Ne({valueType:t,keyType:e,typeName:Q.ZodMap,...F(n)});var Pe=class e extends I{_parse(e){let{status:t,ctx:n}=this._processInputParams(e);if(n.parsedType!==h.set)return C(n,{code:_.invalid_type,expected:h.set,received:n.parsedType}),T;let r=this._def;r.minSize!==null&&n.data.size<r.minSize.value&&(C(n,{code:_.too_small,minimum:r.minSize.value,type:`set`,inclusive:!0,exact:!1,message:r.minSize.message}),t.dirty()),r.maxSize!==null&&n.data.size>r.maxSize.value&&(C(n,{code:_.too_big,maximum:r.maxSize.value,type:`set`,inclusive:!0,exact:!1,message:r.maxSize.message}),t.dirty());let a=this._def.valueType;function o(e){let n=new Set;for(let r of e){if(r.status===`aborted`)return T;r.status===`dirty`&&t.dirty(),n.add(r.value)}return{status:t.value,value:n}}let s=[...n.data.values()].map((e,t)=>a._parse(new N(n,e,n.path,t)));return n.common.async?Promise.all(s).then(e=>o(e)):o(s)}min(t,n){return new e({...this._def,minSize:{value:t,message:M.toString(n)}})}max(t,n){return new e({...this._def,maxSize:{value:t,message:M.toString(n)}})}size(e,t){return this.min(e,t).max(e,t)}nonempty(e){return this.min(1,e)}};Pe.create=(e,t)=>new Pe({valueType:e,minSize:null,maxSize:null,typeName:Q.ZodSet,...F(t)});var Fe=class e extends I{constructor(){super(...arguments),this.validate=this.implement}_parse(e){let{ctx:t}=this._processInputParams(e);if(t.parsedType!==h.function)return C(t,{code:_.invalid_type,expected:h.function,received:t.parsedType}),T;function n(e,n){return S({data:e,path:t.path,errorMaps:[t.common.contextualErrorMap,t.schemaErrorMap,x(),y].filter(e=>!!e),issueData:{code:_.invalid_arguments,argumentsError:n}})}function r(e,n){return S({data:e,path:t.path,errorMaps:[t.common.contextualErrorMap,t.schemaErrorMap,x(),y].filter(e=>!!e),issueData:{code:_.invalid_return_type,returnTypeError:n}})}let a={errorMap:t.common.contextualErrorMap},o=t.data;if(this._def.returns instanceof Be){let e=this;return D(async function(...t){let s=new v([]),c=await e._def.args.parseAsync(t,a).catch(e=>{throw s.addIssue(n(t,e)),s}),l=await Reflect.apply(o,this,c);return await e._def.returns._def.type.parseAsync(l,a).catch(e=>{throw s.addIssue(r(l,e)),s})})}else{let e=this;return D(function(...t){let s=e._def.args.safeParse(t,a);if(!s.success)throw new v([n(t,s.error)]);let c=Reflect.apply(o,this,s.data),l=e._def.returns.safeParse(c,a);if(!l.success)throw new v([r(c,l.error)]);return l.data})}}parameters(){return this._def.args}returnType(){return this._def.returns}args(...t){return new e({...this._def,args:Me.create(t).rest(xe.create())})}returns(t){return new e({...this._def,returns:t})}implement(e){return this.parse(e)}strictImplement(e){return this.parse(e)}static create(t,n,r){return new e({args:t||Me.create([]).rest(xe.create()),returns:n||xe.create(),typeName:Q.ZodFunction,...F(r)})}},X=class extends I{get schema(){return this._def.getter()}_parse(e){let{ctx:t}=this._processInputParams(e);return this._def.getter()._parse({data:t.data,path:t.path,parent:t})}};X.create=(e,t)=>new X({getter:e,typeName:Q.ZodLazy,...F(t)});var Ie=class extends I{_parse(e){if(e.data!==this._def.value){let t=this._getOrReturnCtx(e);return C(t,{received:t.data,code:_.invalid_literal,expected:this._def.value}),T}return{status:`valid`,value:e.data}}get value(){return this._def.value}};Ie.create=(e,t)=>new Ie({value:e,typeName:Q.ZodLiteral,...F(t)});function Le(e,t){return new Re({values:e,typeName:Q.ZodEnum,...F(t)})}var Re=class e extends I{_parse(e){if(typeof e.data!=`string`){let t=this._getOrReturnCtx(e),n=this._def.values;return C(t,{expected:p.joinValues(n),received:t.parsedType,code:_.invalid_type}),T}if(this._cache||=new Set(this._def.values),!this._cache.has(e.data)){let t=this._getOrReturnCtx(e),n=this._def.values;return C(t,{received:t.data,code:_.invalid_enum_value,options:n}),T}return D(e.data)}get options(){return this._def.values}get enum(){let e={};for(let t of this._def.values)e[t]=t;return e}get Values(){let e={};for(let t of this._def.values)e[t]=t;return e}get Enum(){let e={};for(let t of this._def.values)e[t]=t;return e}extract(t,n=this._def){return e.create(t,{...this._def,...n})}exclude(t,n=this._def){return e.create(this.options.filter(e=>!t.includes(e)),{...this._def,...n})}};Re.create=Le;var ze=class extends I{_parse(e){let t=p.getValidEnumValues(this._def.values),n=this._getOrReturnCtx(e);if(n.parsedType!==h.string&&n.parsedType!==h.number){let e=p.objectValues(t);return C(n,{expected:p.joinValues(e),received:n.parsedType,code:_.invalid_type}),T}if(this._cache||=new Set(p.getValidEnumValues(this._def.values)),!this._cache.has(e.data)){let e=p.objectValues(t);return C(n,{received:n.data,code:_.invalid_enum_value,options:e}),T}return D(e.data)}get enum(){return this._def.values}};ze.create=(e,t)=>new ze({values:e,typeName:Q.ZodNativeEnum,...F(t)});var Be=class extends I{unwrap(){return this._def.type}_parse(e){let{ctx:t}=this._processInputParams(e);return t.parsedType!==h.promise&&t.common.async===!1?(C(t,{code:_.invalid_type,expected:h.promise,received:t.parsedType}),T):D((t.parsedType===h.promise?t.data:Promise.resolve(t.data)).then(e=>this._def.type.parseAsync(e,{path:t.path,errorMap:t.common.contextualErrorMap})))}};Be.create=(e,t)=>new Be({type:e,typeName:Q.ZodPromise,...F(t)});var Ve=class extends I{innerType(){return this._def.schema}sourceType(){return this._def.schema._def.typeName===Q.ZodEffects?this._def.schema.sourceType():this._def.schema}_parse(e){let{status:t,ctx:n}=this._processInputParams(e),r=this._def.effect||null,a={addIssue:e=>{C(n,e),e.fatal?t.abort():t.dirty()},get path(){return n.path}};if(a.addIssue=a.addIssue.bind(a),r.type===`preprocess`){let e=r.transform(n.data,a);if(n.common.async)return Promise.resolve(e).then(async e=>{if(t.value===`aborted`)return T;let r=await this._def.schema._parseAsync({data:e,path:n.path,parent:n});return r.status===`aborted`?T:r.status===`dirty`||t.value===`dirty`?E(r.value):r});{if(t.value===`aborted`)return T;let r=this._def.schema._parseSync({data:e,path:n.path,parent:n});return r.status===`aborted`?T:r.status===`dirty`||t.value===`dirty`?E(r.value):r}}if(r.type===`refinement`){let e=e=>{let t=r.refinement(e,a);if(n.common.async)return Promise.resolve(t);if(t instanceof Promise)throw Error(`Async refinement encountered during synchronous parse operation. Use .parseAsync instead.`);return e};if(n.common.async===!1){let r=this._def.schema._parseSync({data:n.data,path:n.path,parent:n});return r.status===`aborted`?T:(r.status===`dirty`&&t.dirty(),e(r.value),{status:t.value,value:r.value})}else return this._def.schema._parseAsync({data:n.data,path:n.path,parent:n}).then(n=>n.status===`aborted`?T:(n.status===`dirty`&&t.dirty(),e(n.value).then(()=>({status:t.value,value:n.value}))))}if(r.type===`transform`)if(n.common.async===!1){let e=this._def.schema._parseSync({data:n.data,path:n.path,parent:n});if(!A(e))return T;let o=r.transform(e.value,a);if(o instanceof Promise)throw Error(`Asynchronous transform encountered during synchronous parse operation. Use .parseAsync instead.`);return{status:t.value,value:o}}else return this._def.schema._parseAsync({data:n.data,path:n.path,parent:n}).then(e=>A(e)?Promise.resolve(r.transform(e.value,a)).then(e=>({status:t.value,value:e})):T);p.assertNever(r)}};Ve.create=(e,t,n)=>new Ve({schema:e,typeName:Q.ZodEffects,effect:t,...F(n)}),Ve.createWithPreprocess=(e,t,n)=>new Ve({schema:t,effect:{type:`preprocess`,transform:e},typeName:Q.ZodEffects,...F(n)});var He=class extends I{_parse(e){return this._getType(e)===h.undefined?D(void 0):this._def.innerType._parse(e)}unwrap(){return this._def.innerType}};He.create=(e,t)=>new He({innerType:e,typeName:Q.ZodOptional,...F(t)});var Ue=class extends I{_parse(e){return this._getType(e)===h.null?D(null):this._def.innerType._parse(e)}unwrap(){return this._def.innerType}};Ue.create=(e,t)=>new Ue({innerType:e,typeName:Q.ZodNullable,...F(t)});var Z=class extends I{_parse(e){let{ctx:t}=this._processInputParams(e),n=t.data;return t.parsedType===h.undefined&&(n=this._def.defaultValue()),this._def.innerType._parse({data:n,path:t.path,parent:t})}removeDefault(){return this._def.innerType}};Z.create=(e,t)=>new Z({innerType:e,typeName:Q.ZodDefault,defaultValue:typeof t.default==`function`?t.default:()=>t.default,...F(t)});var We=class extends I{_parse(e){let{ctx:t}=this._processInputParams(e),n={...t,common:{...t.common,issues:[]}},r=this._def.innerType._parse({data:n.data,path:n.path,parent:{...n}});return j(r)?r.then(e=>({status:`valid`,value:e.status===`valid`?e.value:this._def.catchValue({get error(){return new v(n.common.issues)},input:n.data})})):{status:`valid`,value:r.status===`valid`?r.value:this._def.catchValue({get error(){return new v(n.common.issues)},input:n.data})}}removeCatch(){return this._def.innerType}};We.create=(e,t)=>new We({innerType:e,typeName:Q.ZodCatch,catchValue:typeof t.catch==`function`?t.catch:()=>t.catch,...F(t)});var Ge=class extends I{_parse(e){if(this._getType(e)!==h.nan){let t=this._getOrReturnCtx(e);return C(t,{code:_.invalid_type,expected:h.nan,received:t.parsedType}),T}return{status:`valid`,value:e.data}}};Ge.create=e=>new Ge({typeName:Q.ZodNaN,...F(e)});var Ke=class extends I{_parse(e){let{ctx:t}=this._processInputParams(e),n=t.data;return this._def.type._parse({data:n,path:t.path,parent:t})}unwrap(){return this._def.type}},qe=class e extends I{_parse(e){let{status:t,ctx:n}=this._processInputParams(e);if(n.common.async)return(async()=>{let e=await this._def.in._parseAsync({data:n.data,path:n.path,parent:n});return e.status===`aborted`?T:e.status===`dirty`?(t.dirty(),E(e.value)):this._def.out._parseAsync({data:e.value,path:n.path,parent:n})})();{let e=this._def.in._parseSync({data:n.data,path:n.path,parent:n});return e.status===`aborted`?T:e.status===`dirty`?(t.dirty(),{status:`dirty`,value:e.value}):this._def.out._parseSync({data:e.value,path:n.path,parent:n})}}static create(t,n){return new e({in:t,out:n,typeName:Q.ZodPipeline})}},Je=class extends I{_parse(e){let t=this._def.innerType._parse(e),n=e=>(A(e)&&(e.value=Object.freeze(e.value)),e);return j(t)?t.then(e=>n(e)):n(t)}unwrap(){return this._def.innerType}};Je.create=(e,t)=>new Je({innerType:e,typeName:Q.ZodReadonly,...F(t)}),Ee.lazycreate;var Q;(function(e){e.ZodString=`ZodString`,e.ZodNumber=`ZodNumber`,e.ZodNaN=`ZodNaN`,e.ZodBigInt=`ZodBigInt`,e.ZodBoolean=`ZodBoolean`,e.ZodDate=`ZodDate`,e.ZodSymbol=`ZodSymbol`,e.ZodUndefined=`ZodUndefined`,e.ZodNull=`ZodNull`,e.ZodAny=`ZodAny`,e.ZodUnknown=`ZodUnknown`,e.ZodNever=`ZodNever`,e.ZodVoid=`ZodVoid`,e.ZodArray=`ZodArray`,e.ZodObject=`ZodObject`,e.ZodUnion=`ZodUnion`,e.ZodDiscriminatedUnion=`ZodDiscriminatedUnion`,e.ZodIntersection=`ZodIntersection`,e.ZodTuple=`ZodTuple`,e.ZodRecord=`ZodRecord`,e.ZodMap=`ZodMap`,e.ZodSet=`ZodSet`,e.ZodFunction=`ZodFunction`,e.ZodLazy=`ZodLazy`,e.ZodLiteral=`ZodLiteral`,e.ZodEnum=`ZodEnum`,e.ZodEffects=`ZodEffects`,e.ZodNativeEnum=`ZodNativeEnum`,e.ZodOptional=`ZodOptional`,e.ZodNullable=`ZodNullable`,e.ZodDefault=`ZodDefault`,e.ZodCatch=`ZodCatch`,e.ZodPromise=`ZodPromise`,e.ZodBranded=`ZodBranded`,e.ZodPipeline=`ZodPipeline`,e.ZodReadonly=`ZodReadonly`})(Q||={});const $=J.create,Ye=pe.create;Ge.create,me.create;const Xe=he.create;ge.create,_e.create,ve.create,ye.create,be.create,xe.create,Se.create,Ce.create;const Ze=we.create,Qe=Ee.create;Ee.strictCreate;const $e=De.create;ke.create,je.create,Me.create,Y.create,Ne.create,Pe.create,Fe.create,X.create,Ie.create,Re.create,ze.create,Be.create,Ve.create,He.create,Ue.create,Ve.createWithPreprocess,qe.create;var et=e.a(f()),tt=e.a(n.l()),nt=n.c();const rt=(e,t)=>{let{formErrors:r,fieldErrors:a}=t.flatten();return(0,nt.dedent)(tt.default`
    ${n.i} Configuration file {bold ${e}} was invalid, please check the allowed keys.
    ${r.length>0?`\n${r.map(e=>tt.default`- {bold ${e}}`).join(`
    `)}\n\n`:``}
    ${Object.entries(a).map(([e,t])=>tt.default`- {bold ${e}}: ${t}`).join(`
    `)}
  `)},it=e=>(0,nt.dedent)(tt.default`
    ${n.i} Configuration file {bold ${e}} could not be found.

    Check the {bold --config-file} flag of the CLI.
  `),at=(e,t)=>(0,nt.dedent)(tt.default`
    ${n.i} Configuration file {bold ${e}} could not be parsed, is it valid ${e.endsWith(`.jsonc`)||e.endsWith(`.json5`)?`JSON5`:`JSON`}?

    The error was: {bold ${t.message}}
    `),ot=Qe({$schema:$(),projectId:$(),projectToken:$(),onlyChanged:$e([$(),Xe()]),onlyStoryFiles:Ze($()),onlyStoryNames:Ze($()),traceChanged:$e([$(),Xe()]),untraced:Ze($()),externals:Ze($()),debug:Xe(),diagnosticsFile:$e([$(),Xe()]),fileHashing:Xe().default(!0),junitReport:$e([$(),Xe()]),zip:Xe(),autoAcceptChanges:$e([$(),Xe()]),exitZeroOnChanges:$e([$(),Xe()]),exitOnceUploaded:$e([$(),Xe()]),ignoreLastBuildOnBranch:$(),gitTimeout:Ye().min(1).optional(),buildScriptName:$(),buildCommand:$(),playwright:Xe(),cypress:Xe(),vitest:Xe(),outputDir:$(),skip:$e([$(),Xe()]),skipUpdateCheck:Xe(),storybookBuildDir:$(),storybookBaseDir:$(),storybookConfigDir:$(),storybookLogFile:$e([$(),Xe()]),logFile:$e([$(),Xe()]),uploadMetadata:Xe(),reactNative:Qe({iosBuildCommand:$(),androidBuildCommand:$(),androidBuildArchitectures:Ze($())}).partial()}).partial().strict();function st(e){return[e,`chromatic.config.json`,`chromatic.config.jsonc`,`chromatic.config.json5`].find(e=>e&&(0,a.existsSync)(e))||`chromatic.config.json`}async function ct(e){let t=st(e);try{let e=(0,a.readFileSync)(t,`utf8`);return{configFile:t,...ot.parse(et.default.parse(e))}}catch(n){if(lt(n)){if(!e)return{};if(e)throw Error(it(e))}throw n instanceof SyntaxError?TypeError(at(t,n)):n instanceof v?TypeError(rt(t,n)):n}}function lt(e){return e.toString().includes(`ENOENT`)}async function ut(e){let t=(0,a.createWriteStream)(e);return new Promise((e,n)=>{t.on(`open`,()=>e(t)),t.on(`error`,n)})}var dt=e.t((e=>{(function(){e.defaults={"0.1":{explicitCharkey:!1,trim:!0,normalize:!0,normalizeTags:!1,attrkey:`@`,charkey:`#`,explicitArray:!1,ignoreAttrs:!1,mergeAttrs:!1,explicitRoot:!1,validator:null,xmlns:!1,explicitChildren:!1,childkey:`@@`,charsAsChildren:!1,includeWhiteChars:!1,async:!1,strict:!0,attrNameProcessors:null,attrValueProcessors:null,tagNameProcessors:null,valueProcessors:null,emptyTag:``},"0.2":{explicitCharkey:!1,trim:!1,normalize:!1,normalizeTags:!1,attrkey:`$`,charkey:`_`,explicitArray:!0,ignoreAttrs:!1,mergeAttrs:!1,explicitRoot:!0,validator:null,xmlns:!1,explicitChildren:!1,preserveChildrenOrder:!1,childkey:`$$`,charsAsChildren:!1,includeWhiteChars:!1,async:!1,strict:!0,attrNameProcessors:null,attrValueProcessors:null,tagNameProcessors:null,valueProcessors:null,rootName:`root`,xmldec:{version:`1.0`,encoding:`UTF-8`,standalone:!0},doctype:null,renderOpts:{pretty:!0,indent:`  `,newline:`
`},headless:!1,chunkSize:1e4,emptyTag:``,cdata:!1}}}).call(e)})),ft=e.t(((e,t)=>{(function(){var e,n,r,a,o,s,c,l=[].slice,u={}.hasOwnProperty;e=function(){var e,t,n,r,a,s=arguments[0];if(a=2<=arguments.length?l.call(arguments,1):[],o(Object.assign))Object.assign.apply(null,arguments);else for(e=0,n=a.length;e<n;e++)if(r=a[e],r!=null)for(t in r)u.call(r,t)&&(s[t]=r[t]);return s},o=function(e){return!!e&&Object.prototype.toString.call(e)===`[object Function]`},s=function(e){var t;return!!e&&((t=typeof e)==`function`||t===`object`)},r=function(e){return o(Array.isArray)?Array.isArray(e):Object.prototype.toString.call(e)===`[object Array]`},a=function(e){var t;if(r(e))return!e.length;for(t in e)if(u.call(e,t))return!1;return!0},c=function(e){var t,n;return s(e)&&(n=Object.getPrototypeOf(e))&&(t=n.constructor)&&typeof t==`function`&&t instanceof t&&Function.prototype.toString.call(t)===Function.prototype.toString.call(Object)},n=function(e){return o(e.valueOf)?e.valueOf():e},t.exports.assign=e,t.exports.isFunction=o,t.exports.isObject=s,t.exports.isArray=r,t.exports.isEmpty=a,t.exports.isPlainObject=c,t.exports.getValue=n}).call(e)})),pt=e.t(((e,t)=>{(function(){t.exports=(function(){function e(){}return e.prototype.hasFeature=function(e,t){return!0},e.prototype.createDocumentType=function(e,t,n){throw Error(`This DOM method is not implemented.`)},e.prototype.createDocument=function(e,t,n){throw Error(`This DOM method is not implemented.`)},e.prototype.createHTMLDocument=function(e){throw Error(`This DOM method is not implemented.`)},e.prototype.getFeature=function(e,t){throw Error(`This DOM method is not implemented.`)},e})()}).call(e)})),mt=e.t(((e,t)=>{(function(){t.exports=(function(){function e(){}return e.prototype.handleError=function(e){throw Error(e)},e})()}).call(e)})),ht=e.t(((e,t)=>{(function(){t.exports=(function(){function e(e){this.arr=e||[]}return Object.defineProperty(e.prototype,`length`,{get:function(){return this.arr.length}}),e.prototype.item=function(e){return this.arr[e]||null},e.prototype.contains=function(e){return this.arr.indexOf(e)!==-1},e})()}).call(e)})),gt=e.t(((e,t)=>{(function(){var e=mt(),n=ht();t.exports=(function(){function t(){this.defaultParams={"canonical-form":!1,"cdata-sections":!1,comments:!1,"datatype-normalization":!1,"element-content-whitespace":!0,entities:!0,"error-handler":new e,infoset:!0,"validate-if-schema":!1,namespaces:!0,"namespace-declarations":!0,"normalize-characters":!1,"schema-location":``,"schema-type":``,"split-cdata-sections":!0,validate:!1,"well-formed":!0},this.params=Object.create(this.defaultParams)}return Object.defineProperty(t.prototype,`parameterNames`,{get:function(){return new n(Object.keys(this.defaultParams))}}),t.prototype.getParameter=function(e){return this.params.hasOwnProperty(e)?this.params[e]:null},t.prototype.canSetParameter=function(e,t){return!0},t.prototype.setParameter=function(e,t){return t==null?delete this.params[e]:this.params[e]=t},t})()}).call(e)})),_t=e.t(((e,t)=>{(function(){t.exports={Element:1,Attribute:2,Text:3,CData:4,EntityReference:5,EntityDeclaration:6,ProcessingInstruction:7,Comment:8,Document:9,DocType:10,DocumentFragment:11,NotationDeclaration:12,Declaration:201,Raw:202,AttributeDeclaration:203,ElementDeclaration:204,Dummy:205}}).call(e)})),vt=e.t(((e,t)=>{(function(){var e=_t();It(),t.exports=(function(){function t(t,n,r){if(this.parent=t,this.parent&&(this.options=this.parent.options,this.stringify=this.parent.stringify),n==null)throw Error(`Missing attribute name. `+this.debugInfo(n));this.name=this.stringify.name(n),this.value=this.stringify.attValue(r),this.type=e.Attribute,this.isId=!1,this.schemaTypeInfo=null}return Object.defineProperty(t.prototype,`nodeType`,{get:function(){return this.type}}),Object.defineProperty(t.prototype,`ownerElement`,{get:function(){return this.parent}}),Object.defineProperty(t.prototype,`textContent`,{get:function(){return this.value},set:function(e){return this.value=e||``}}),Object.defineProperty(t.prototype,`namespaceURI`,{get:function(){return``}}),Object.defineProperty(t.prototype,`prefix`,{get:function(){return``}}),Object.defineProperty(t.prototype,`localName`,{get:function(){return this.name}}),Object.defineProperty(t.prototype,`specified`,{get:function(){return!0}}),t.prototype.clone=function(){return Object.create(this)},t.prototype.toString=function(e){return this.options.writer.attribute(this,this.options.writer.filterOptions(e))},t.prototype.debugInfo=function(e){return e||=this.name,e==null?`parent: <`+this.parent.name+`>`:`attribute: {`+e+`}, parent: <`+this.parent.name+`>`},t.prototype.isEqualNode=function(e){return!(e.namespaceURI!==this.namespaceURI||e.prefix!==this.prefix||e.localName!==this.localName||e.value!==this.value)},t})()}).call(e)})),yt=e.t(((e,t)=>{(function(){t.exports=(function(){function e(e){this.nodes=e}return Object.defineProperty(e.prototype,`length`,{get:function(){return Object.keys(this.nodes).length||0}}),e.prototype.clone=function(){return this.nodes=null},e.prototype.getNamedItem=function(e){return this.nodes[e]},e.prototype.setNamedItem=function(e){var t=this.nodes[e.nodeName];return this.nodes[e.nodeName]=e,t||null},e.prototype.removeNamedItem=function(e){var t=this.nodes[e];return delete this.nodes[e],t||null},e.prototype.item=function(e){return this.nodes[Object.keys(this.nodes)[e]]||null},e.prototype.getNamedItemNS=function(e,t){throw Error(`This DOM method is not implemented.`)},e.prototype.setNamedItemNS=function(e){throw Error(`This DOM method is not implemented.`)},e.prototype.removeNamedItemNS=function(e,t){throw Error(`This DOM method is not implemented.`)},e})()}).call(e)})),bt=e.t(((e,t)=>{(function(){var e,n,r,a,o,s,c,l,u=function(e,t){for(var n in t)d.call(t,n)&&(e[n]=t[n]);function r(){this.constructor=e}return r.prototype=t.prototype,e.prototype=new r,e.__super__=t.prototype,e},d={}.hasOwnProperty;l=ft(),c=l.isObject,s=l.isFunction,o=l.getValue,a=It(),e=_t(),n=vt(),r=yt(),t.exports=(function(t){u(a,t);function a(t,n,r){var o,s,c,l;if(a.__super__.constructor.call(this,t),n==null)throw Error(`Missing element name. `+this.debugInfo());if(this.name=this.stringify.name(n),this.type=e.Element,this.attribs={},this.schemaTypeInfo=null,r!=null&&this.attribute(r),t.type===e.Document&&(this.isRoot=!0,this.documentObject=t,t.rootObject=this,t.children)){for(l=t.children,s=0,c=l.length;s<c;s++)if(o=l[s],o.type===e.DocType){o.name=this.name;break}}}return Object.defineProperty(a.prototype,`tagName`,{get:function(){return this.name}}),Object.defineProperty(a.prototype,`namespaceURI`,{get:function(){return``}}),Object.defineProperty(a.prototype,`prefix`,{get:function(){return``}}),Object.defineProperty(a.prototype,`localName`,{get:function(){return this.name}}),Object.defineProperty(a.prototype,`id`,{get:function(){throw Error(`This DOM method is not implemented.`+this.debugInfo())}}),Object.defineProperty(a.prototype,`className`,{get:function(){throw Error(`This DOM method is not implemented.`+this.debugInfo())}}),Object.defineProperty(a.prototype,`classList`,{get:function(){throw Error(`This DOM method is not implemented.`+this.debugInfo())}}),Object.defineProperty(a.prototype,`attributes`,{get:function(){return(!this.attributeMap||!this.attributeMap.nodes)&&(this.attributeMap=new r(this.attribs)),this.attributeMap}}),a.prototype.clone=function(){var e,t,n=Object.create(this),r;for(t in n.isRoot&&(n.documentObject=null),n.attribs={},r=this.attribs,r)d.call(r,t)&&(e=r[t],n.attribs[t]=e.clone());return n.children=[],this.children.forEach(function(e){var t=e.clone();return t.parent=n,n.children.push(t)}),n},a.prototype.attribute=function(e,t){var r,a;if(e!=null&&(e=o(e)),c(e))for(r in e)d.call(e,r)&&(a=e[r],this.attribute(r,a));else s(t)&&(t=t.apply()),this.options.keepNullAttributes&&t==null?this.attribs[e]=new n(this,e,``):t!=null&&(this.attribs[e]=new n(this,e,t));return this},a.prototype.removeAttribute=function(e){var t,n,r;if(e==null)throw Error(`Missing attribute name. `+this.debugInfo());if(e=o(e),Array.isArray(e))for(n=0,r=e.length;n<r;n++)t=e[n],delete this.attribs[t];else delete this.attribs[e];return this},a.prototype.toString=function(e){return this.options.writer.element(this,this.options.writer.filterOptions(e))},a.prototype.att=function(e,t){return this.attribute(e,t)},a.prototype.a=function(e,t){return this.attribute(e,t)},a.prototype.getAttribute=function(e){return this.attribs.hasOwnProperty(e)?this.attribs[e].value:null},a.prototype.setAttribute=function(e,t){throw Error(`This DOM method is not implemented.`+this.debugInfo())},a.prototype.getAttributeNode=function(e){return this.attribs.hasOwnProperty(e)?this.attribs[e]:null},a.prototype.setAttributeNode=function(e){throw Error(`This DOM method is not implemented.`+this.debugInfo())},a.prototype.removeAttributeNode=function(e){throw Error(`This DOM method is not implemented.`+this.debugInfo())},a.prototype.getElementsByTagName=function(e){throw Error(`This DOM method is not implemented.`+this.debugInfo())},a.prototype.getAttributeNS=function(e,t){throw Error(`This DOM method is not implemented.`+this.debugInfo())},a.prototype.setAttributeNS=function(e,t,n){throw Error(`This DOM method is not implemented.`+this.debugInfo())},a.prototype.removeAttributeNS=function(e,t){throw Error(`This DOM method is not implemented.`+this.debugInfo())},a.prototype.getAttributeNodeNS=function(e,t){throw Error(`This DOM method is not implemented.`+this.debugInfo())},a.prototype.setAttributeNodeNS=function(e){throw Error(`This DOM method is not implemented.`+this.debugInfo())},a.prototype.getElementsByTagNameNS=function(e,t){throw Error(`This DOM method is not implemented.`+this.debugInfo())},a.prototype.hasAttribute=function(e){return this.attribs.hasOwnProperty(e)},a.prototype.hasAttributeNS=function(e,t){throw Error(`This DOM method is not implemented.`+this.debugInfo())},a.prototype.setIdAttribute=function(e,t){return this.attribs.hasOwnProperty(e)?this.attribs[e].isId:t},a.prototype.setIdAttributeNS=function(e,t,n){throw Error(`This DOM method is not implemented.`+this.debugInfo())},a.prototype.setIdAttributeNode=function(e,t){throw Error(`This DOM method is not implemented.`+this.debugInfo())},a.prototype.getElementsByTagName=function(e){throw Error(`This DOM method is not implemented.`+this.debugInfo())},a.prototype.getElementsByTagNameNS=function(e,t){throw Error(`This DOM method is not implemented.`+this.debugInfo())},a.prototype.getElementsByClassName=function(e){throw Error(`This DOM method is not implemented.`+this.debugInfo())},a.prototype.isEqualNode=function(e){var t,n,r;if(!a.__super__.isEqualNode.apply(this,arguments).isEqualNode(e)||e.namespaceURI!==this.namespaceURI||e.prefix!==this.prefix||e.localName!==this.localName||e.attribs.length!==this.attribs.length)return!1;for(t=n=0,r=this.attribs.length-1;0<=r?n<=r:n>=r;t=0<=r?++n:--n)if(!this.attribs[t].isEqualNode(e.attribs[t]))return!1;return!0},a})(a)}).call(e)})),xt=e.t(((e,t)=>{(function(){var e,n=function(e,t){for(var n in t)r.call(t,n)&&(e[n]=t[n]);function a(){this.constructor=e}return a.prototype=t.prototype,e.prototype=new a,e.__super__=t.prototype,e},r={}.hasOwnProperty;e=It(),t.exports=(function(e){n(t,e);function t(e){t.__super__.constructor.call(this,e),this.value=``}return Object.defineProperty(t.prototype,`data`,{get:function(){return this.value},set:function(e){return this.value=e||``}}),Object.defineProperty(t.prototype,`length`,{get:function(){return this.value.length}}),Object.defineProperty(t.prototype,`textContent`,{get:function(){return this.value},set:function(e){return this.value=e||``}}),t.prototype.clone=function(){return Object.create(this)},t.prototype.substringData=function(e,t){throw Error(`This DOM method is not implemented.`+this.debugInfo())},t.prototype.appendData=function(e){throw Error(`This DOM method is not implemented.`+this.debugInfo())},t.prototype.insertData=function(e,t){throw Error(`This DOM method is not implemented.`+this.debugInfo())},t.prototype.deleteData=function(e,t){throw Error(`This DOM method is not implemented.`+this.debugInfo())},t.prototype.replaceData=function(e,t,n){throw Error(`This DOM method is not implemented.`+this.debugInfo())},t.prototype.isEqualNode=function(e){return!(!t.__super__.isEqualNode.apply(this,arguments).isEqualNode(e)||e.data!==this.data)},t})(e)}).call(e)})),St=e.t(((e,t)=>{(function(){var e,n,r=function(e,t){for(var n in t)a.call(t,n)&&(e[n]=t[n]);function r(){this.constructor=e}return r.prototype=t.prototype,e.prototype=new r,e.__super__=t.prototype,e},a={}.hasOwnProperty;e=_t(),n=xt(),t.exports=(function(t){r(n,t);function n(t,r){if(n.__super__.constructor.call(this,t),r==null)throw Error(`Missing CDATA text. `+this.debugInfo());this.name=`#cdata-section`,this.type=e.CData,this.value=this.stringify.cdata(r)}return n.prototype.clone=function(){return Object.create(this)},n.prototype.toString=function(e){return this.options.writer.cdata(this,this.options.writer.filterOptions(e))},n})(n)}).call(e)})),Ct=e.t(((e,t)=>{(function(){var e,n,r=function(e,t){for(var n in t)a.call(t,n)&&(e[n]=t[n]);function r(){this.constructor=e}return r.prototype=t.prototype,e.prototype=new r,e.__super__=t.prototype,e},a={}.hasOwnProperty;e=_t(),n=xt(),t.exports=(function(t){r(n,t);function n(t,r){if(n.__super__.constructor.call(this,t),r==null)throw Error(`Missing comment text. `+this.debugInfo());this.name=`#comment`,this.type=e.Comment,this.value=this.stringify.comment(r)}return n.prototype.clone=function(){return Object.create(this)},n.prototype.toString=function(e){return this.options.writer.comment(this,this.options.writer.filterOptions(e))},n})(n)}).call(e)})),wt=e.t(((e,t)=>{(function(){var e,n,r,a=function(e,t){for(var n in t)o.call(t,n)&&(e[n]=t[n]);function r(){this.constructor=e}return r.prototype=t.prototype,e.prototype=new r,e.__super__=t.prototype,e},o={}.hasOwnProperty;r=ft().isObject,n=It(),e=_t(),t.exports=(function(t){a(n,t);function n(t,a,o,s){var c;n.__super__.constructor.call(this,t),r(a)&&(c=a,a=c.version,o=c.encoding,s=c.standalone),a||=`1.0`,this.type=e.Declaration,this.version=this.stringify.xmlVersion(a),o!=null&&(this.encoding=this.stringify.xmlEncoding(o)),s!=null&&(this.standalone=this.stringify.xmlStandalone(s))}return n.prototype.toString=function(e){return this.options.writer.declaration(this,this.options.writer.filterOptions(e))},n})(n)}).call(e)})),Tt=e.t(((e,t)=>{(function(){var e,n,r=function(e,t){for(var n in t)a.call(t,n)&&(e[n]=t[n]);function r(){this.constructor=e}return r.prototype=t.prototype,e.prototype=new r,e.__super__=t.prototype,e},a={}.hasOwnProperty;n=It(),e=_t(),t.exports=(function(t){r(n,t);function n(t,r,a,o,s,c){if(n.__super__.constructor.call(this,t),r==null)throw Error(`Missing DTD element name. `+this.debugInfo());if(a==null)throw Error(`Missing DTD attribute name. `+this.debugInfo(r));if(!o)throw Error(`Missing DTD attribute type. `+this.debugInfo(r));if(!s)throw Error(`Missing DTD attribute default. `+this.debugInfo(r));if(s.indexOf(`#`)!==0&&(s=`#`+s),!s.match(/^(#REQUIRED|#IMPLIED|#FIXED|#DEFAULT)$/))throw Error(`Invalid default value type; expected: #REQUIRED, #IMPLIED, #FIXED or #DEFAULT. `+this.debugInfo(r));if(c&&!s.match(/^(#FIXED|#DEFAULT)$/))throw Error(`Default value only applies to #FIXED or #DEFAULT. `+this.debugInfo(r));this.elementName=this.stringify.name(r),this.type=e.AttributeDeclaration,this.attributeName=this.stringify.name(a),this.attributeType=this.stringify.dtdAttType(o),c&&(this.defaultValue=this.stringify.dtdAttDefault(c)),this.defaultValueType=s}return n.prototype.toString=function(e){return this.options.writer.dtdAttList(this,this.options.writer.filterOptions(e))},n})(n)}).call(e)})),Et=e.t(((e,t)=>{(function(){var e,n,r,a=function(e,t){for(var n in t)o.call(t,n)&&(e[n]=t[n]);function r(){this.constructor=e}return r.prototype=t.prototype,e.prototype=new r,e.__super__=t.prototype,e},o={}.hasOwnProperty;r=ft().isObject,n=It(),e=_t(),t.exports=(function(t){a(n,t);function n(t,a,o,s){if(n.__super__.constructor.call(this,t),o==null)throw Error(`Missing DTD entity name. `+this.debugInfo(o));if(s==null)throw Error(`Missing DTD entity value. `+this.debugInfo(o));if(this.pe=!!a,this.name=this.stringify.name(o),this.type=e.EntityDeclaration,!r(s))this.value=this.stringify.dtdEntityValue(s),this.internal=!0;else{if(!s.pubID&&!s.sysID)throw Error(`Public and/or system identifiers are required for an external entity. `+this.debugInfo(o));if(s.pubID&&!s.sysID)throw Error(`System identifier is required for a public external entity. `+this.debugInfo(o));if(this.internal=!1,s.pubID!=null&&(this.pubID=this.stringify.dtdPubID(s.pubID)),s.sysID!=null&&(this.sysID=this.stringify.dtdSysID(s.sysID)),s.nData!=null&&(this.nData=this.stringify.dtdNData(s.nData)),this.pe&&this.nData)throw Error(`Notation declaration is not allowed in a parameter entity. `+this.debugInfo(o))}}return Object.defineProperty(n.prototype,`publicId`,{get:function(){return this.pubID}}),Object.defineProperty(n.prototype,`systemId`,{get:function(){return this.sysID}}),Object.defineProperty(n.prototype,`notationName`,{get:function(){return this.nData||null}}),Object.defineProperty(n.prototype,`inputEncoding`,{get:function(){return null}}),Object.defineProperty(n.prototype,`xmlEncoding`,{get:function(){return null}}),Object.defineProperty(n.prototype,`xmlVersion`,{get:function(){return null}}),n.prototype.toString=function(e){return this.options.writer.dtdEntity(this,this.options.writer.filterOptions(e))},n})(n)}).call(e)})),Dt=e.t(((e,t)=>{(function(){var e,n,r=function(e,t){for(var n in t)a.call(t,n)&&(e[n]=t[n]);function r(){this.constructor=e}return r.prototype=t.prototype,e.prototype=new r,e.__super__=t.prototype,e},a={}.hasOwnProperty;n=It(),e=_t(),t.exports=(function(t){r(n,t);function n(t,r,a){if(n.__super__.constructor.call(this,t),r==null)throw Error(`Missing DTD element name. `+this.debugInfo());a||=`(#PCDATA)`,Array.isArray(a)&&(a=`(`+a.join(`,`)+`)`),this.name=this.stringify.name(r),this.type=e.ElementDeclaration,this.value=this.stringify.dtdElementValue(a)}return n.prototype.toString=function(e){return this.options.writer.dtdElement(this,this.options.writer.filterOptions(e))},n})(n)}).call(e)})),Ot=e.t(((e,t)=>{(function(){var e,n,r=function(e,t){for(var n in t)a.call(t,n)&&(e[n]=t[n]);function r(){this.constructor=e}return r.prototype=t.prototype,e.prototype=new r,e.__super__=t.prototype,e},a={}.hasOwnProperty;n=It(),e=_t(),t.exports=(function(t){r(n,t);function n(t,r,a){if(n.__super__.constructor.call(this,t),r==null)throw Error(`Missing DTD notation name. `+this.debugInfo(r));if(!a.pubID&&!a.sysID)throw Error(`Public or system identifiers are required for an external entity. `+this.debugInfo(r));this.name=this.stringify.name(r),this.type=e.NotationDeclaration,a.pubID!=null&&(this.pubID=this.stringify.dtdPubID(a.pubID)),a.sysID!=null&&(this.sysID=this.stringify.dtdSysID(a.sysID))}return Object.defineProperty(n.prototype,`publicId`,{get:function(){return this.pubID}}),Object.defineProperty(n.prototype,`systemId`,{get:function(){return this.sysID}}),n.prototype.toString=function(e){return this.options.writer.dtdNotation(this,this.options.writer.filterOptions(e))},n})(n)}).call(e)})),kt=e.t(((e,t)=>{(function(){var e,n,r,a,o,s,c,l,u=function(e,t){for(var n in t)d.call(t,n)&&(e[n]=t[n]);function r(){this.constructor=e}return r.prototype=t.prototype,e.prototype=new r,e.__super__=t.prototype,e},d={}.hasOwnProperty;l=ft().isObject,c=It(),e=_t(),n=Tt(),a=Et(),r=Dt(),o=Ot(),s=yt(),t.exports=(function(t){u(c,t);function c(t,n,r){var a,o,s,u,d,f;if(c.__super__.constructor.call(this,t),this.type=e.DocType,t.children){for(u=t.children,o=0,s=u.length;o<s;o++)if(a=u[o],a.type===e.Element){this.name=a.name;break}}this.documentObject=t,l(n)&&(d=n,n=d.pubID,r=d.sysID),r??(f=[n,r],r=f[0],n=f[1]),n!=null&&(this.pubID=this.stringify.dtdPubID(n)),r!=null&&(this.sysID=this.stringify.dtdSysID(r))}return Object.defineProperty(c.prototype,`entities`,{get:function(){var t,n,r,a={},o=this.children;for(n=0,r=o.length;n<r;n++)t=o[n],t.type===e.EntityDeclaration&&!t.pe&&(a[t.name]=t);return new s(a)}}),Object.defineProperty(c.prototype,`notations`,{get:function(){var t,n,r,a={},o=this.children;for(n=0,r=o.length;n<r;n++)t=o[n],t.type===e.NotationDeclaration&&(a[t.name]=t);return new s(a)}}),Object.defineProperty(c.prototype,`publicId`,{get:function(){return this.pubID}}),Object.defineProperty(c.prototype,`systemId`,{get:function(){return this.sysID}}),Object.defineProperty(c.prototype,`internalSubset`,{get:function(){throw Error(`This DOM method is not implemented.`+this.debugInfo())}}),c.prototype.element=function(e,t){var n=new r(this,e,t);return this.children.push(n),this},c.prototype.attList=function(e,t,r,a,o){var s=new n(this,e,t,r,a,o);return this.children.push(s),this},c.prototype.entity=function(e,t){var n=new a(this,!1,e,t);return this.children.push(n),this},c.prototype.pEntity=function(e,t){var n=new a(this,!0,e,t);return this.children.push(n),this},c.prototype.notation=function(e,t){var n=new o(this,e,t);return this.children.push(n),this},c.prototype.toString=function(e){return this.options.writer.docType(this,this.options.writer.filterOptions(e))},c.prototype.ele=function(e,t){return this.element(e,t)},c.prototype.att=function(e,t,n,r,a){return this.attList(e,t,n,r,a)},c.prototype.ent=function(e,t){return this.entity(e,t)},c.prototype.pent=function(e,t){return this.pEntity(e,t)},c.prototype.not=function(e,t){return this.notation(e,t)},c.prototype.up=function(){return this.root()||this.documentObject},c.prototype.isEqualNode=function(e){return!(!c.__super__.isEqualNode.apply(this,arguments).isEqualNode(e)||e.name!==this.name||e.publicId!==this.publicId||e.systemId!==this.systemId)},c})(c)}).call(e)})),At=e.t(((e,t)=>{(function(){var e,n,r=function(e,t){for(var n in t)a.call(t,n)&&(e[n]=t[n]);function r(){this.constructor=e}return r.prototype=t.prototype,e.prototype=new r,e.__super__=t.prototype,e},a={}.hasOwnProperty;e=_t(),n=It(),t.exports=(function(t){r(n,t);function n(t,r){if(n.__super__.constructor.call(this,t),r==null)throw Error(`Missing raw text. `+this.debugInfo());this.type=e.Raw,this.value=this.stringify.raw(r)}return n.prototype.clone=function(){return Object.create(this)},n.prototype.toString=function(e){return this.options.writer.raw(this,this.options.writer.filterOptions(e))},n})(n)}).call(e)})),jt=e.t(((e,t)=>{(function(){var e,n,r=function(e,t){for(var n in t)a.call(t,n)&&(e[n]=t[n]);function r(){this.constructor=e}return r.prototype=t.prototype,e.prototype=new r,e.__super__=t.prototype,e},a={}.hasOwnProperty;e=_t(),n=xt(),t.exports=(function(t){r(n,t);function n(t,r){if(n.__super__.constructor.call(this,t),r==null)throw Error(`Missing element text. `+this.debugInfo());this.name=`#text`,this.type=e.Text,this.value=this.stringify.text(r)}return Object.defineProperty(n.prototype,`isElementContentWhitespace`,{get:function(){throw Error(`This DOM method is not implemented.`+this.debugInfo())}}),Object.defineProperty(n.prototype,`wholeText`,{get:function(){var e,t,n=``;for(t=this.previousSibling;t;)n=t.data+n,t=t.previousSibling;for(n+=this.data,e=this.nextSibling;e;)n+=e.data,e=e.nextSibling;return n}}),n.prototype.clone=function(){return Object.create(this)},n.prototype.toString=function(e){return this.options.writer.text(this,this.options.writer.filterOptions(e))},n.prototype.splitText=function(e){throw Error(`This DOM method is not implemented.`+this.debugInfo())},n.prototype.replaceWholeText=function(e){throw Error(`This DOM method is not implemented.`+this.debugInfo())},n})(n)}).call(e)})),Mt=e.t(((e,t)=>{(function(){var e,n,r=function(e,t){for(var n in t)a.call(t,n)&&(e[n]=t[n]);function r(){this.constructor=e}return r.prototype=t.prototype,e.prototype=new r,e.__super__=t.prototype,e},a={}.hasOwnProperty;e=_t(),n=xt(),t.exports=(function(t){r(n,t);function n(t,r,a){if(n.__super__.constructor.call(this,t),r==null)throw Error(`Missing instruction target. `+this.debugInfo());this.type=e.ProcessingInstruction,this.target=this.stringify.insTarget(r),this.name=this.target,a&&(this.value=this.stringify.insValue(a))}return n.prototype.clone=function(){return Object.create(this)},n.prototype.toString=function(e){return this.options.writer.processingInstruction(this,this.options.writer.filterOptions(e))},n.prototype.isEqualNode=function(e){return!(!n.__super__.isEqualNode.apply(this,arguments).isEqualNode(e)||e.target!==this.target)},n})(n)}).call(e)})),Nt=e.t(((e,t)=>{(function(){var e,n,r=function(e,t){for(var n in t)a.call(t,n)&&(e[n]=t[n]);function r(){this.constructor=e}return r.prototype=t.prototype,e.prototype=new r,e.__super__=t.prototype,e},a={}.hasOwnProperty;n=It(),e=_t(),t.exports=(function(t){r(n,t);function n(t){n.__super__.constructor.call(this,t),this.type=e.Dummy}return n.prototype.clone=function(){return Object.create(this)},n.prototype.toString=function(e){return``},n})(n)}).call(e)})),Pt=e.t(((e,t)=>{(function(){t.exports=(function(){function e(e){this.nodes=e}return Object.defineProperty(e.prototype,`length`,{get:function(){return this.nodes.length||0}}),e.prototype.clone=function(){return this.nodes=null},e.prototype.item=function(e){return this.nodes[e]||null},e})()}).call(e)})),Ft=e.t(((e,t)=>{(function(){t.exports={Disconnected:1,Preceding:2,Following:4,Contains:8,ContainedBy:16,ImplementationSpecific:32}}).call(e)})),It=e.t(((e,t)=>{(function(){var e,n,r,a,o,s,c,l,u,d,f,p,m,h,g,_,v,y={}.hasOwnProperty;v=ft(),_=v.isObject,g=v.isFunction,h=v.isEmpty,m=v.getValue,l=null,r=null,a=null,o=null,s=null,f=null,p=null,d=null,c=null,n=null,u=null,e=null,t.exports=(function(){function t(t){this.parent=t,this.parent&&(this.options=this.parent.options,this.stringify=this.parent.stringify),this.value=null,this.children=[],this.baseURI=null,l||(l=bt(),r=St(),a=Ct(),o=wt(),s=kt(),f=At(),p=jt(),d=Mt(),c=Nt(),n=_t(),u=Pt(),yt(),e=Ft())}return Object.defineProperty(t.prototype,`nodeName`,{get:function(){return this.name}}),Object.defineProperty(t.prototype,`nodeType`,{get:function(){return this.type}}),Object.defineProperty(t.prototype,`nodeValue`,{get:function(){return this.value}}),Object.defineProperty(t.prototype,`parentNode`,{get:function(){return this.parent}}),Object.defineProperty(t.prototype,`childNodes`,{get:function(){return(!this.childNodeList||!this.childNodeList.nodes)&&(this.childNodeList=new u(this.children)),this.childNodeList}}),Object.defineProperty(t.prototype,`firstChild`,{get:function(){return this.children[0]||null}}),Object.defineProperty(t.prototype,`lastChild`,{get:function(){return this.children[this.children.length-1]||null}}),Object.defineProperty(t.prototype,`previousSibling`,{get:function(){var e=this.parent.children.indexOf(this);return this.parent.children[e-1]||null}}),Object.defineProperty(t.prototype,`nextSibling`,{get:function(){var e=this.parent.children.indexOf(this);return this.parent.children[e+1]||null}}),Object.defineProperty(t.prototype,`ownerDocument`,{get:function(){return this.document()||null}}),Object.defineProperty(t.prototype,`textContent`,{get:function(){var e,t,r,a,o;if(this.nodeType===n.Element||this.nodeType===n.DocumentFragment){for(o=``,a=this.children,t=0,r=a.length;t<r;t++)e=a[t],e.textContent&&(o+=e.textContent);return o}else return null},set:function(e){throw Error(`This DOM method is not implemented.`+this.debugInfo())}}),t.prototype.setParent=function(e){var t,n,r,a,o;for(this.parent=e,e&&(this.options=e.options,this.stringify=e.stringify),a=this.children,o=[],n=0,r=a.length;n<r;n++)t=a[n],o.push(t.setParent(this));return o},t.prototype.element=function(e,t,n){var r,a,o,s,c,l=null,u,d,f,p,v;if(t===null&&n==null&&(f=[{},null],t=f[0],n=f[1]),t??={},t=m(t),_(t)||(p=[t,n],n=p[0],t=p[1]),e!=null&&(e=m(e)),Array.isArray(e))for(o=0,u=e.length;o<u;o++)a=e[o],l=this.element(a);else if(g(e))l=this.element(e.apply());else if(_(e)){for(c in e)if(y.call(e,c))if(v=e[c],g(v)&&(v=v.apply()),!this.options.ignoreDecorators&&this.stringify.convertAttKey&&c.indexOf(this.stringify.convertAttKey)===0)l=this.attribute(c.substr(this.stringify.convertAttKey.length),v);else if(!this.options.separateArrayItems&&Array.isArray(v)&&h(v))l=this.dummy();else if(_(v)&&h(v))l=this.element(c);else if(!this.options.keepNullNodes&&v==null)l=this.dummy();else if(!this.options.separateArrayItems&&Array.isArray(v))for(s=0,d=v.length;s<d;s++)a=v[s],r={},r[c]=a,l=this.element(r);else _(v)?!this.options.ignoreDecorators&&this.stringify.convertTextKey&&c.indexOf(this.stringify.convertTextKey)===0?l=this.element(v):(l=this.element(c),l.element(v)):l=this.element(c,v)}else l=!this.options.keepNullNodes&&n===null?this.dummy():!this.options.ignoreDecorators&&this.stringify.convertTextKey&&e.indexOf(this.stringify.convertTextKey)===0?this.text(n):!this.options.ignoreDecorators&&this.stringify.convertCDataKey&&e.indexOf(this.stringify.convertCDataKey)===0?this.cdata(n):!this.options.ignoreDecorators&&this.stringify.convertCommentKey&&e.indexOf(this.stringify.convertCommentKey)===0?this.comment(n):!this.options.ignoreDecorators&&this.stringify.convertRawKey&&e.indexOf(this.stringify.convertRawKey)===0?this.raw(n):!this.options.ignoreDecorators&&this.stringify.convertPIKey&&e.indexOf(this.stringify.convertPIKey)===0?this.instruction(e.substr(this.stringify.convertPIKey.length),n):this.node(e,t,n);if(l==null)throw Error(`Could not create any elements with: `+e+`. `+this.debugInfo());return l},t.prototype.insertBefore=function(e,t,n){var r,a,o,s,c;if(e?.type)return o=e,s=t,o.setParent(this),s?(a=children.indexOf(s),c=children.splice(a),children.push(o),Array.prototype.push.apply(children,c)):children.push(o),o;if(this.isRoot)throw Error(`Cannot insert elements at root level. `+this.debugInfo(e));return a=this.parent.children.indexOf(this),c=this.parent.children.splice(a),r=this.parent.element(e,t,n),Array.prototype.push.apply(this.parent.children,c),r},t.prototype.insertAfter=function(e,t,n){var r,a,o;if(this.isRoot)throw Error(`Cannot insert elements at root level. `+this.debugInfo(e));return a=this.parent.children.indexOf(this),o=this.parent.children.splice(a+1),r=this.parent.element(e,t,n),Array.prototype.push.apply(this.parent.children,o),r},t.prototype.remove=function(){var e;if(this.isRoot)throw Error(`Cannot remove the root element. `+this.debugInfo());return e=this.parent.children.indexOf(this),[].splice.apply(this.parent.children,[e,e-e+1]),this.parent},t.prototype.node=function(e,t,n){var r,a;return e!=null&&(e=m(e)),t||={},t=m(t),_(t)||(a=[t,n],n=a[0],t=a[1]),r=new l(this,e,t),n!=null&&r.text(n),this.children.push(r),r},t.prototype.text=function(e){var t;return _(e)&&this.element(e),t=new p(this,e),this.children.push(t),this},t.prototype.cdata=function(e){var t=new r(this,e);return this.children.push(t),this},t.prototype.comment=function(e){var t=new a(this,e);return this.children.push(t),this},t.prototype.commentBefore=function(e){var t=this.parent.children.indexOf(this),n=this.parent.children.splice(t);return this.parent.comment(e),Array.prototype.push.apply(this.parent.children,n),this},t.prototype.commentAfter=function(e){var t=this.parent.children.indexOf(this),n=this.parent.children.splice(t+1);return this.parent.comment(e),Array.prototype.push.apply(this.parent.children,n),this},t.prototype.raw=function(e){var t=new f(this,e);return this.children.push(t),this},t.prototype.dummy=function(){return new c(this)},t.prototype.instruction=function(e,t){var n,r,a,o,s;if(e!=null&&(e=m(e)),t!=null&&(t=m(t)),Array.isArray(e))for(o=0,s=e.length;o<s;o++)n=e[o],this.instruction(n);else if(_(e))for(n in e)y.call(e,n)&&(r=e[n],this.instruction(n,r));else g(t)&&(t=t.apply()),a=new d(this,e,t),this.children.push(a);return this},t.prototype.instructionBefore=function(e,t){var n=this.parent.children.indexOf(this),r=this.parent.children.splice(n);return this.parent.instruction(e,t),Array.prototype.push.apply(this.parent.children,r),this},t.prototype.instructionAfter=function(e,t){var n=this.parent.children.indexOf(this),r=this.parent.children.splice(n+1);return this.parent.instruction(e,t),Array.prototype.push.apply(this.parent.children,r),this},t.prototype.declaration=function(e,t,r){var a=this.document(),s=new o(a,e,t,r);return a.children.length===0?a.children.unshift(s):a.children[0].type===n.Declaration?a.children[0]=s:a.children.unshift(s),a.root()||a},t.prototype.dtd=function(e,t){var r,a=this.document(),o=new s(a,e,t),c,l,u,d,f,p=a.children,m;for(c=l=0,d=p.length;l<d;c=++l)if(r=p[c],r.type===n.DocType)return a.children[c]=o,o;for(m=a.children,c=u=0,f=m.length;u<f;c=++u)if(r=m[c],r.isRoot)return a.children.splice(c,0,o),o;return a.children.push(o),o},t.prototype.up=function(){if(this.isRoot)throw Error(`The root node has no parent. Use doc() if you need to get the document object.`);return this.parent},t.prototype.root=function(){for(var e=this;e;)if(e.type===n.Document)return e.rootObject;else if(e.isRoot)return e;else e=e.parent},t.prototype.document=function(){for(var e=this;e;)if(e.type===n.Document)return e;else e=e.parent},t.prototype.end=function(e){return this.document().end(e)},t.prototype.prev=function(){var e=this.parent.children.indexOf(this);if(e<1)throw Error(`Already at the first node. `+this.debugInfo());return this.parent.children[e-1]},t.prototype.next=function(){var e=this.parent.children.indexOf(this);if(e===-1||e===this.parent.children.length-1)throw Error(`Already at the last node. `+this.debugInfo());return this.parent.children[e+1]},t.prototype.importDocument=function(e){var t=e.root().clone();return t.parent=this,t.isRoot=!1,this.children.push(t),this},t.prototype.debugInfo=function(e){return e||=this.name,e==null&&!this.parent?.name?``:e==null?`parent: <`+this.parent.name+`>`:this.parent?.name?`node: <`+e+`>, parent: <`+this.parent.name+`>`:`node: <`+e+`>`},t.prototype.ele=function(e,t,n){return this.element(e,t,n)},t.prototype.nod=function(e,t,n){return this.node(e,t,n)},t.prototype.txt=function(e){return this.text(e)},t.prototype.dat=function(e){return this.cdata(e)},t.prototype.com=function(e){return this.comment(e)},t.prototype.ins=function(e,t){return this.instruction(e,t)},t.prototype.doc=function(){return this.document()},t.prototype.dec=function(e,t,n){return this.declaration(e,t,n)},t.prototype.e=function(e,t,n){return this.element(e,t,n)},t.prototype.n=function(e,t,n){return this.node(e,t,n)},t.prototype.t=function(e){return this.text(e)},t.prototype.d=function(e){return this.cdata(e)},t.prototype.c=function(e){return this.comment(e)},t.prototype.r=function(e){return this.raw(e)},t.prototype.i=function(e,t){return this.instruction(e,t)},t.prototype.u=function(){return this.up()},t.prototype.importXMLBuilder=function(e){return this.importDocument(e)},t.prototype.replaceChild=function(e,t){throw Error(`This DOM method is not implemented.`+this.debugInfo())},t.prototype.removeChild=function(e){throw Error(`This DOM method is not implemented.`+this.debugInfo())},t.prototype.appendChild=function(e){throw Error(`This DOM method is not implemented.`+this.debugInfo())},t.prototype.hasChildNodes=function(){return this.children.length!==0},t.prototype.cloneNode=function(e){throw Error(`This DOM method is not implemented.`+this.debugInfo())},t.prototype.normalize=function(){throw Error(`This DOM method is not implemented.`+this.debugInfo())},t.prototype.isSupported=function(e,t){return!0},t.prototype.hasAttributes=function(){return this.attribs.length!==0},t.prototype.compareDocumentPosition=function(t){var n=this,r;return n===t?0:this.document()===t.document()?n.isAncestor(t)?e.Contains|e.Preceding:n.isDescendant(t)?e.Contains|e.Following:n.isPreceding(t)?e.Preceding:e.Following:(r=e.Disconnected|e.ImplementationSpecific,Math.random()<.5?r|=e.Preceding:r|=e.Following,r)},t.prototype.isSameNode=function(e){throw Error(`This DOM method is not implemented.`+this.debugInfo())},t.prototype.lookupPrefix=function(e){throw Error(`This DOM method is not implemented.`+this.debugInfo())},t.prototype.isDefaultNamespace=function(e){throw Error(`This DOM method is not implemented.`+this.debugInfo())},t.prototype.lookupNamespaceURI=function(e){throw Error(`This DOM method is not implemented.`+this.debugInfo())},t.prototype.isEqualNode=function(e){var t,n,r;if(e.nodeType!==this.nodeType||e.children.length!==this.children.length)return!1;for(t=n=0,r=this.children.length-1;0<=r?n<=r:n>=r;t=0<=r?++n:--n)if(!this.children[t].isEqualNode(e.children[t]))return!1;return!0},t.prototype.getFeature=function(e,t){throw Error(`This DOM method is not implemented.`+this.debugInfo())},t.prototype.setUserData=function(e,t,n){throw Error(`This DOM method is not implemented.`+this.debugInfo())},t.prototype.getUserData=function(e){throw Error(`This DOM method is not implemented.`+this.debugInfo())},t.prototype.contains=function(e){return e?e===this||this.isDescendant(e):!1},t.prototype.isDescendant=function(e){var t,n,r,a,o=this.children;for(r=0,a=o.length;r<a;r++)if(t=o[r],e===t||(n=t.isDescendant(e),n))return!0;return!1},t.prototype.isAncestor=function(e){return e.isDescendant(this)},t.prototype.isPreceding=function(e){var t=this.treePosition(e),n=this.treePosition(this);return t===-1||n===-1?!1:t<n},t.prototype.isFollowing=function(e){var t=this.treePosition(e),n=this.treePosition(this);return t===-1||n===-1?!1:t>n},t.prototype.treePosition=function(e){var t,n=0;return t=!1,this.foreachTreeNode(this.document(),function(r){if(n++,!t&&r===e)return t=!0}),t?n:-1},t.prototype.foreachTreeNode=function(e,t){var n,r,a,o,s;for(e||=this.document(),o=e.children,r=0,a=o.length;r<a;r++)if(n=o[r],(s=t(n))||(s=this.foreachTreeNode(n,t),s))return s},t})()}).call(e)})),Lt=e.t(((e,t)=>{(function(){var e=function(e,t){return function(){return e.apply(t,arguments)}},n={}.hasOwnProperty;t.exports=(function(){function t(t){this.assertLegalName=e(this.assertLegalName,this),this.assertLegalChar=e(this.assertLegalChar,this);var r,a,o;for(r in t||={},this.options=t,this.options.version||(this.options.version=`1.0`),a=t.stringify||{},a)n.call(a,r)&&(o=a[r],this[r]=o)}return t.prototype.name=function(e){return this.options.noValidation?e:this.assertLegalName(``+e||``)},t.prototype.text=function(e){return this.options.noValidation?e:this.assertLegalChar(this.textEscape(``+e||``))},t.prototype.cdata=function(e){return this.options.noValidation?e:(e=``+e||``,e=e.replace(`]]>`,`]]]]><![CDATA[>`),this.assertLegalChar(e))},t.prototype.comment=function(e){if(this.options.noValidation)return e;if(e=``+e||``,e.match(/--/))throw Error(`Comment text cannot contain double-hypen: `+e);return this.assertLegalChar(e)},t.prototype.raw=function(e){return this.options.noValidation?e:``+e||``},t.prototype.attValue=function(e){return this.options.noValidation?e:this.assertLegalChar(this.attEscape(e=``+e||``))},t.prototype.insTarget=function(e){return this.options.noValidation?e:this.assertLegalChar(``+e||``)},t.prototype.insValue=function(e){if(this.options.noValidation)return e;if(e=``+e||``,e.match(/\?>/))throw Error(`Invalid processing instruction value: `+e);return this.assertLegalChar(e)},t.prototype.xmlVersion=function(e){if(this.options.noValidation)return e;if(e=``+e||``,!e.match(/1\.[0-9]+/))throw Error(`Invalid version number: `+e);return e},t.prototype.xmlEncoding=function(e){if(this.options.noValidation)return e;if(e=``+e||``,!e.match(/^[A-Za-z](?:[A-Za-z0-9._-])*$/))throw Error(`Invalid encoding: `+e);return this.assertLegalChar(e)},t.prototype.xmlStandalone=function(e){return this.options.noValidation?e:e?`yes`:`no`},t.prototype.dtdPubID=function(e){return this.options.noValidation?e:this.assertLegalChar(``+e||``)},t.prototype.dtdSysID=function(e){return this.options.noValidation?e:this.assertLegalChar(``+e||``)},t.prototype.dtdElementValue=function(e){return this.options.noValidation?e:this.assertLegalChar(``+e||``)},t.prototype.dtdAttType=function(e){return this.options.noValidation?e:this.assertLegalChar(``+e||``)},t.prototype.dtdAttDefault=function(e){return this.options.noValidation?e:this.assertLegalChar(``+e||``)},t.prototype.dtdEntityValue=function(e){return this.options.noValidation?e:this.assertLegalChar(``+e||``)},t.prototype.dtdNData=function(e){return this.options.noValidation?e:this.assertLegalChar(``+e||``)},t.prototype.convertAttKey=`@`,t.prototype.convertPIKey=`?`,t.prototype.convertTextKey=`#text`,t.prototype.convertCDataKey=`#cdata`,t.prototype.convertCommentKey=`#comment`,t.prototype.convertRawKey=`#raw`,t.prototype.assertLegalChar=function(e){var t,n;if(this.options.noValidation)return e;if(t=``,this.options.version===`1.0`){if(t=/[\0-\x08\x0B\f\x0E-\x1F\uFFFE\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/,n=e.match(t))throw Error(`Invalid character in string: `+e+` at index `+n.index)}else if(this.options.version===`1.1`&&(t=/[\0\uFFFE\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/,n=e.match(t)))throw Error(`Invalid character in string: `+e+` at index `+n.index);return e},t.prototype.assertLegalName=function(e){var t;if(this.options.noValidation)return e;if(this.assertLegalChar(e),t=/^([:A-Z_a-z\xC0-\xD6\xD8-\xF6\xF8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD]|[\uD800-\uDB7F][\uDC00-\uDFFF])([\x2D\.0-:A-Z_a-z\xB7\xC0-\xD6\xD8-\xF6\xF8-\u037D\u037F-\u1FFF\u200C\u200D\u203F\u2040\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD]|[\uD800-\uDB7F][\uDC00-\uDFFF])*$/,!e.match(t))throw Error(`Invalid character in name`);return e},t.prototype.textEscape=function(e){var t;return this.options.noValidation?e:(t=this.options.noDoubleEncoding?/(?!&\S+;)&/g:/&/g,e.replace(t,`&amp;`).replace(/</g,`&lt;`).replace(/>/g,`&gt;`).replace(/\r/g,`&#xD;`))},t.prototype.attEscape=function(e){var t;return this.options.noValidation?e:(t=this.options.noDoubleEncoding?/(?!&\S+;)&/g:/&/g,e.replace(t,`&amp;`).replace(/</g,`&lt;`).replace(/"/g,`&quot;`).replace(/\t/g,`&#x9;`).replace(/\n/g,`&#xA;`).replace(/\r/g,`&#xD;`))},t})()}).call(e)})),Rt=e.t(((e,t)=>{(function(){t.exports={None:0,OpenTag:1,InsideTag:2,CloseTag:3}}).call(e)})),zt=e.t(((e,t)=>{(function(){var e,n,r,a={}.hasOwnProperty;r=ft().assign,e=_t(),wt(),kt(),St(),Ct(),bt(),At(),jt(),Mt(),Nt(),Tt(),Dt(),Et(),Ot(),n=Rt(),t.exports=(function(){function t(e){var t,n,r;for(t in e||={},this.options=e,n=e.writer||{},n)a.call(n,t)&&(r=n[t],this[`_`+t]=this[t],this[t]=r)}return t.prototype.filterOptions=function(e){var t;return e||={},e=r({},this.options,e),t={writer:this},t.pretty=e.pretty||!1,t.allowEmpty=e.allowEmpty||!1,t.indent=e.indent??`  `,t.newline=e.newline??`
`,t.offset=e.offset??0,t.dontPrettyTextNodes=e.dontPrettyTextNodes??e.dontprettytextnodes??0,t.spaceBeforeSlash=e.spaceBeforeSlash??e.spacebeforeslash??``,t.spaceBeforeSlash===!0&&(t.spaceBeforeSlash=` `),t.suppressPrettyCount=0,t.user={},t.state=n.None,t},t.prototype.indent=function(e,t,n){var r;return!t.pretty||t.suppressPrettyCount?``:t.pretty&&(r=(n||0)+t.offset+1,r>0)?Array(r).join(t.indent):``},t.prototype.endline=function(e,t,n){return!t.pretty||t.suppressPrettyCount?``:t.newline},t.prototype.attribute=function(e,t,n){var r;return this.openAttribute(e,t,n),r=` `+e.name+`="`+e.value+`"`,this.closeAttribute(e,t,n),r},t.prototype.cdata=function(e,t,r){var a;return this.openNode(e,t,r),t.state=n.OpenTag,a=this.indent(e,t,r)+`<![CDATA[`,t.state=n.InsideTag,a+=e.value,t.state=n.CloseTag,a+=`]]>`+this.endline(e,t,r),t.state=n.None,this.closeNode(e,t,r),a},t.prototype.comment=function(e,t,r){var a;return this.openNode(e,t,r),t.state=n.OpenTag,a=this.indent(e,t,r)+`<!-- `,t.state=n.InsideTag,a+=e.value,t.state=n.CloseTag,a+=` -->`+this.endline(e,t,r),t.state=n.None,this.closeNode(e,t,r),a},t.prototype.declaration=function(e,t,r){var a;return this.openNode(e,t,r),t.state=n.OpenTag,a=this.indent(e,t,r)+`<?xml`,t.state=n.InsideTag,a+=` version="`+e.version+`"`,e.encoding!=null&&(a+=` encoding="`+e.encoding+`"`),e.standalone!=null&&(a+=` standalone="`+e.standalone+`"`),t.state=n.CloseTag,a+=t.spaceBeforeSlash+`?>`,a+=this.endline(e,t,r),t.state=n.None,this.closeNode(e,t,r),a},t.prototype.docType=function(e,t,r){var a,o,s,c,l;if(r||=0,this.openNode(e,t,r),t.state=n.OpenTag,c=this.indent(e,t,r),c+=`<!DOCTYPE `+e.root().name,e.pubID&&e.sysID?c+=` PUBLIC "`+e.pubID+`" "`+e.sysID+`"`:e.sysID&&(c+=` SYSTEM "`+e.sysID+`"`),e.children.length>0){for(c+=` [`,c+=this.endline(e,t,r),t.state=n.InsideTag,l=e.children,o=0,s=l.length;o<s;o++)a=l[o],c+=this.writeChildNode(a,t,r+1);t.state=n.CloseTag,c+=`]`}return t.state=n.CloseTag,c+=t.spaceBeforeSlash+`>`,c+=this.endline(e,t,r),t.state=n.None,this.closeNode(e,t,r),c},t.prototype.element=function(t,r,o){var s,c,l,u,d,f,p,m,h,g,_,v,y,b;for(h in o||=0,g=!1,_=``,this.openNode(t,r,o),r.state=n.OpenTag,_+=this.indent(t,r,o)+`<`+t.name,v=t.attribs,v)a.call(v,h)&&(s=v[h],_+=this.attribute(s,r,o));if(l=t.children.length,u=l===0?null:t.children[0],l===0||t.children.every(function(t){return(t.type===e.Text||t.type===e.Raw)&&t.value===``}))r.allowEmpty?(_+=`>`,r.state=n.CloseTag,_+=`</`+t.name+`>`+this.endline(t,r,o)):(r.state=n.CloseTag,_+=r.spaceBeforeSlash+`/>`+this.endline(t,r,o));else if(r.pretty&&l===1&&(u.type===e.Text||u.type===e.Raw)&&u.value!=null)_+=`>`,r.state=n.InsideTag,r.suppressPrettyCount++,g=!0,_+=this.writeChildNode(u,r,o+1),r.suppressPrettyCount--,g=!1,r.state=n.CloseTag,_+=`</`+t.name+`>`+this.endline(t,r,o);else{if(r.dontPrettyTextNodes){for(y=t.children,d=0,p=y.length;d<p;d++)if(c=y[d],(c.type===e.Text||c.type===e.Raw)&&c.value!=null){r.suppressPrettyCount++,g=!0;break}}for(_+=`>`+this.endline(t,r,o),r.state=n.InsideTag,b=t.children,f=0,m=b.length;f<m;f++)c=b[f],_+=this.writeChildNode(c,r,o+1);r.state=n.CloseTag,_+=this.indent(t,r,o)+`</`+t.name+`>`,g&&r.suppressPrettyCount--,_+=this.endline(t,r,o),r.state=n.None}return this.closeNode(t,r,o),_},t.prototype.writeChildNode=function(t,n,r){switch(t.type){case e.CData:return this.cdata(t,n,r);case e.Comment:return this.comment(t,n,r);case e.Element:return this.element(t,n,r);case e.Raw:return this.raw(t,n,r);case e.Text:return this.text(t,n,r);case e.ProcessingInstruction:return this.processingInstruction(t,n,r);case e.Dummy:return``;case e.Declaration:return this.declaration(t,n,r);case e.DocType:return this.docType(t,n,r);case e.AttributeDeclaration:return this.dtdAttList(t,n,r);case e.ElementDeclaration:return this.dtdElement(t,n,r);case e.EntityDeclaration:return this.dtdEntity(t,n,r);case e.NotationDeclaration:return this.dtdNotation(t,n,r);default:throw Error(`Unknown XML node type: `+t.constructor.name)}},t.prototype.processingInstruction=function(e,t,r){var a;return this.openNode(e,t,r),t.state=n.OpenTag,a=this.indent(e,t,r)+`<?`,t.state=n.InsideTag,a+=e.target,e.value&&(a+=` `+e.value),t.state=n.CloseTag,a+=t.spaceBeforeSlash+`?>`,a+=this.endline(e,t,r),t.state=n.None,this.closeNode(e,t,r),a},t.prototype.raw=function(e,t,r){var a;return this.openNode(e,t,r),t.state=n.OpenTag,a=this.indent(e,t,r),t.state=n.InsideTag,a+=e.value,t.state=n.CloseTag,a+=this.endline(e,t,r),t.state=n.None,this.closeNode(e,t,r),a},t.prototype.text=function(e,t,r){var a;return this.openNode(e,t,r),t.state=n.OpenTag,a=this.indent(e,t,r),t.state=n.InsideTag,a+=e.value,t.state=n.CloseTag,a+=this.endline(e,t,r),t.state=n.None,this.closeNode(e,t,r),a},t.prototype.dtdAttList=function(e,t,r){var a;return this.openNode(e,t,r),t.state=n.OpenTag,a=this.indent(e,t,r)+`<!ATTLIST`,t.state=n.InsideTag,a+=` `+e.elementName+` `+e.attributeName+` `+e.attributeType,e.defaultValueType!==`#DEFAULT`&&(a+=` `+e.defaultValueType),e.defaultValue&&(a+=` "`+e.defaultValue+`"`),t.state=n.CloseTag,a+=t.spaceBeforeSlash+`>`+this.endline(e,t,r),t.state=n.None,this.closeNode(e,t,r),a},t.prototype.dtdElement=function(e,t,r){var a;return this.openNode(e,t,r),t.state=n.OpenTag,a=this.indent(e,t,r)+`<!ELEMENT`,t.state=n.InsideTag,a+=` `+e.name+` `+e.value,t.state=n.CloseTag,a+=t.spaceBeforeSlash+`>`+this.endline(e,t,r),t.state=n.None,this.closeNode(e,t,r),a},t.prototype.dtdEntity=function(e,t,r){var a;return this.openNode(e,t,r),t.state=n.OpenTag,a=this.indent(e,t,r)+`<!ENTITY`,t.state=n.InsideTag,e.pe&&(a+=` %`),a+=` `+e.name,e.value?a+=` "`+e.value+`"`:(e.pubID&&e.sysID?a+=` PUBLIC "`+e.pubID+`" "`+e.sysID+`"`:e.sysID&&(a+=` SYSTEM "`+e.sysID+`"`),e.nData&&(a+=` NDATA `+e.nData)),t.state=n.CloseTag,a+=t.spaceBeforeSlash+`>`+this.endline(e,t,r),t.state=n.None,this.closeNode(e,t,r),a},t.prototype.dtdNotation=function(e,t,r){var a;return this.openNode(e,t,r),t.state=n.OpenTag,a=this.indent(e,t,r)+`<!NOTATION`,t.state=n.InsideTag,a+=` `+e.name,e.pubID&&e.sysID?a+=` PUBLIC "`+e.pubID+`" "`+e.sysID+`"`:e.pubID?a+=` PUBLIC "`+e.pubID+`"`:e.sysID&&(a+=` SYSTEM "`+e.sysID+`"`),t.state=n.CloseTag,a+=t.spaceBeforeSlash+`>`+this.endline(e,t,r),t.state=n.None,this.closeNode(e,t,r),a},t.prototype.openNode=function(e,t,n){},t.prototype.closeNode=function(e,t,n){},t.prototype.openAttribute=function(e,t,n){},t.prototype.closeAttribute=function(e,t,n){},t})()}).call(e)})),Bt=e.t(((e,t)=>{(function(){var e,n=function(e,t){for(var n in t)r.call(t,n)&&(e[n]=t[n]);function a(){this.constructor=e}return a.prototype=t.prototype,e.prototype=new a,e.__super__=t.prototype,e},r={}.hasOwnProperty;e=zt(),t.exports=(function(e){n(t,e);function t(e){t.__super__.constructor.call(this,e)}return t.prototype.document=function(e,t){var n,r,a,o,s;for(t=this.filterOptions(t),o=``,s=e.children,r=0,a=s.length;r<a;r++)n=s[r],o+=this.writeChildNode(n,t,0);return t.pretty&&o.slice(-t.newline.length)===t.newline&&(o=o.slice(0,-t.newline.length)),o},t})(e)}).call(e)})),Vt=e.t(((e,t)=>{(function(){var e,n,r,a,o,s,c,l=function(e,t){for(var n in t)u.call(t,n)&&(e[n]=t[n]);function r(){this.constructor=e}return r.prototype=t.prototype,e.prototype=new r,e.__super__=t.prototype,e},u={}.hasOwnProperty;c=ft().isPlainObject,r=pt(),n=gt(),a=It(),e=_t(),s=Lt(),o=Bt(),t.exports=(function(t){l(a,t);function a(t){a.__super__.constructor.call(this,null),this.name=`#document`,this.type=e.Document,this.documentURI=null,this.domConfig=new n,t||={},t.writer||=new o,this.options=t,this.stringify=new s(t)}return Object.defineProperty(a.prototype,`implementation`,{value:new r}),Object.defineProperty(a.prototype,`doctype`,{get:function(){var t,n,r,a=this.children;for(n=0,r=a.length;n<r;n++)if(t=a[n],t.type===e.DocType)return t;return null}}),Object.defineProperty(a.prototype,`documentElement`,{get:function(){return this.rootObject||null}}),Object.defineProperty(a.prototype,`inputEncoding`,{get:function(){return null}}),Object.defineProperty(a.prototype,`strictErrorChecking`,{get:function(){return!1}}),Object.defineProperty(a.prototype,`xmlEncoding`,{get:function(){return this.children.length!==0&&this.children[0].type===e.Declaration?this.children[0].encoding:null}}),Object.defineProperty(a.prototype,`xmlStandalone`,{get:function(){return this.children.length!==0&&this.children[0].type===e.Declaration?this.children[0].standalone===`yes`:!1}}),Object.defineProperty(a.prototype,`xmlVersion`,{get:function(){return this.children.length!==0&&this.children[0].type===e.Declaration?this.children[0].version:`1.0`}}),Object.defineProperty(a.prototype,`URL`,{get:function(){return this.documentURI}}),Object.defineProperty(a.prototype,`origin`,{get:function(){return null}}),Object.defineProperty(a.prototype,`compatMode`,{get:function(){return null}}),Object.defineProperty(a.prototype,`characterSet`,{get:function(){return null}}),Object.defineProperty(a.prototype,`contentType`,{get:function(){return null}}),a.prototype.end=function(e){var t={};return e?c(e)&&(t=e,e=this.options.writer):e=this.options.writer,e.document(this,e.filterOptions(t))},a.prototype.toString=function(e){return this.options.writer.document(this,this.options.writer.filterOptions(e))},a.prototype.createElement=function(e){throw Error(`This DOM method is not implemented.`+this.debugInfo())},a.prototype.createDocumentFragment=function(){throw Error(`This DOM method is not implemented.`+this.debugInfo())},a.prototype.createTextNode=function(e){throw Error(`This DOM method is not implemented.`+this.debugInfo())},a.prototype.createComment=function(e){throw Error(`This DOM method is not implemented.`+this.debugInfo())},a.prototype.createCDATASection=function(e){throw Error(`This DOM method is not implemented.`+this.debugInfo())},a.prototype.createProcessingInstruction=function(e,t){throw Error(`This DOM method is not implemented.`+this.debugInfo())},a.prototype.createAttribute=function(e){throw Error(`This DOM method is not implemented.`+this.debugInfo())},a.prototype.createEntityReference=function(e){throw Error(`This DOM method is not implemented.`+this.debugInfo())},a.prototype.getElementsByTagName=function(e){throw Error(`This DOM method is not implemented.`+this.debugInfo())},a.prototype.importNode=function(e,t){throw Error(`This DOM method is not implemented.`+this.debugInfo())},a.prototype.createElementNS=function(e,t){throw Error(`This DOM method is not implemented.`+this.debugInfo())},a.prototype.createAttributeNS=function(e,t){throw Error(`This DOM method is not implemented.`+this.debugInfo())},a.prototype.getElementsByTagNameNS=function(e,t){throw Error(`This DOM method is not implemented.`+this.debugInfo())},a.prototype.getElementById=function(e){throw Error(`This DOM method is not implemented.`+this.debugInfo())},a.prototype.adoptNode=function(e){throw Error(`This DOM method is not implemented.`+this.debugInfo())},a.prototype.normalizeDocument=function(){throw Error(`This DOM method is not implemented.`+this.debugInfo())},a.prototype.renameNode=function(e,t,n){throw Error(`This DOM method is not implemented.`+this.debugInfo())},a.prototype.getElementsByClassName=function(e){throw Error(`This DOM method is not implemented.`+this.debugInfo())},a.prototype.createEvent=function(e){throw Error(`This DOM method is not implemented.`+this.debugInfo())},a.prototype.createRange=function(){throw Error(`This DOM method is not implemented.`+this.debugInfo())},a.prototype.createNodeIterator=function(e,t,n){throw Error(`This DOM method is not implemented.`+this.debugInfo())},a.prototype.createTreeWalker=function(e,t,n){throw Error(`This DOM method is not implemented.`+this.debugInfo())},a})(a)}).call(e)})),Ht=e.t(((e,t)=>{(function(){var e,n,r,a,o,s,c,l,u,d,f,p,m,h,g,_,v,y,b,x,S,C,w,T={}.hasOwnProperty;w=ft(),S=w.isObject,x=w.isFunction,C=w.isPlainObject,b=w.getValue,e=_t(),p=Vt(),m=bt(),a=St(),o=Ct(),g=At(),y=jt(),h=Mt(),d=wt(),f=kt(),s=Tt(),l=Et(),c=Dt(),u=Ot(),r=vt(),v=Lt(),_=Bt(),n=Rt(),t.exports=(function(){function t(t,n,r){var a;this.name=`?xml`,this.type=e.Document,t||={},a={},t.writer?C(t.writer)&&(a=t.writer,t.writer=new _):t.writer=new _,this.options=t,this.writer=t.writer,this.writerOptions=this.writer.filterOptions(a),this.stringify=new v(t),this.onDataCallback=n||function(){},this.onEndCallback=r||function(){},this.currentNode=null,this.currentLevel=-1,this.openTags={},this.documentStarted=!1,this.documentCompleted=!1,this.root=null}return t.prototype.createChildNode=function(t){var n,r,a,o,s,c,l,u;switch(t.type){case e.CData:this.cdata(t.value);break;case e.Comment:this.comment(t.value);break;case e.Element:for(r in a={},l=t.attribs,l)T.call(l,r)&&(n=l[r],a[r]=n.value);this.node(t.name,a);break;case e.Dummy:this.dummy();break;case e.Raw:this.raw(t.value);break;case e.Text:this.text(t.value);break;case e.ProcessingInstruction:this.instruction(t.target,t.value);break;default:throw Error(`This XML node type is not supported in a JS object: `+t.constructor.name)}for(u=t.children,s=0,c=u.length;s<c;s++)o=u[s],this.createChildNode(o),o.type===e.Element&&this.up();return this},t.prototype.dummy=function(){return this},t.prototype.node=function(e,t,n){var r;if(e==null)throw Error(`Missing node name.`);if(this.root&&this.currentLevel===-1)throw Error(`Document can only have one root node. `+this.debugInfo(e));return this.openCurrent(),e=b(e),t??={},t=b(t),S(t)||(r=[t,n],n=r[0],t=r[1]),this.currentNode=new m(this,e,t),this.currentNode.children=!1,this.currentLevel++,this.openTags[this.currentLevel]=this.currentNode,n!=null&&this.text(n),this},t.prototype.element=function(t,n,r){var a,o,s,c,l,u;if(this.currentNode&&this.currentNode.type===e.DocType)this.dtdElement.apply(this,arguments);else if(Array.isArray(t)||S(t)||x(t))for(c=this.options.noValidation,this.options.noValidation=!0,u=new p(this.options).element(`TEMP_ROOT`),u.element(t),this.options.noValidation=c,l=u.children,o=0,s=l.length;o<s;o++)a=l[o],this.createChildNode(a),a.type===e.Element&&this.up();else this.node(t,n,r);return this},t.prototype.attribute=function(e,t){var n,a;if(!this.currentNode||this.currentNode.children)throw Error(`att() can only be used immediately after an ele() call in callback mode. `+this.debugInfo(e));if(e!=null&&(e=b(e)),S(e))for(n in e)T.call(e,n)&&(a=e[n],this.attribute(n,a));else x(t)&&(t=t.apply()),this.options.keepNullAttributes&&t==null?this.currentNode.attribs[e]=new r(this,e,``):t!=null&&(this.currentNode.attribs[e]=new r(this,e,t));return this},t.prototype.text=function(e){var t;return this.openCurrent(),t=new y(this,e),this.onData(this.writer.text(t,this.writerOptions,this.currentLevel+1),this.currentLevel+1),this},t.prototype.cdata=function(e){var t;return this.openCurrent(),t=new a(this,e),this.onData(this.writer.cdata(t,this.writerOptions,this.currentLevel+1),this.currentLevel+1),this},t.prototype.comment=function(e){var t;return this.openCurrent(),t=new o(this,e),this.onData(this.writer.comment(t,this.writerOptions,this.currentLevel+1),this.currentLevel+1),this},t.prototype.raw=function(e){var t;return this.openCurrent(),t=new g(this,e),this.onData(this.writer.raw(t,this.writerOptions,this.currentLevel+1),this.currentLevel+1),this},t.prototype.instruction=function(e,t){var n,r,a,o,s;if(this.openCurrent(),e!=null&&(e=b(e)),t!=null&&(t=b(t)),Array.isArray(e))for(n=0,o=e.length;n<o;n++)r=e[n],this.instruction(r);else if(S(e))for(r in e)T.call(e,r)&&(a=e[r],this.instruction(r,a));else x(t)&&(t=t.apply()),s=new h(this,e,t),this.onData(this.writer.processingInstruction(s,this.writerOptions,this.currentLevel+1),this.currentLevel+1);return this},t.prototype.declaration=function(e,t,n){var r;if(this.openCurrent(),this.documentStarted)throw Error(`declaration() must be the first node.`);return r=new d(this,e,t,n),this.onData(this.writer.declaration(r,this.writerOptions,this.currentLevel+1),this.currentLevel+1),this},t.prototype.doctype=function(e,t,n){if(this.openCurrent(),e==null)throw Error(`Missing root node name.`);if(this.root)throw Error(`dtd() must come before the root node.`);return this.currentNode=new f(this,t,n),this.currentNode.rootNodeName=e,this.currentNode.children=!1,this.currentLevel++,this.openTags[this.currentLevel]=this.currentNode,this},t.prototype.dtdElement=function(e,t){var n;return this.openCurrent(),n=new c(this,e,t),this.onData(this.writer.dtdElement(n,this.writerOptions,this.currentLevel+1),this.currentLevel+1),this},t.prototype.attList=function(e,t,n,r,a){var o;return this.openCurrent(),o=new s(this,e,t,n,r,a),this.onData(this.writer.dtdAttList(o,this.writerOptions,this.currentLevel+1),this.currentLevel+1),this},t.prototype.entity=function(e,t){var n;return this.openCurrent(),n=new l(this,!1,e,t),this.onData(this.writer.dtdEntity(n,this.writerOptions,this.currentLevel+1),this.currentLevel+1),this},t.prototype.pEntity=function(e,t){var n;return this.openCurrent(),n=new l(this,!0,e,t),this.onData(this.writer.dtdEntity(n,this.writerOptions,this.currentLevel+1),this.currentLevel+1),this},t.prototype.notation=function(e,t){var n;return this.openCurrent(),n=new u(this,e,t),this.onData(this.writer.dtdNotation(n,this.writerOptions,this.currentLevel+1),this.currentLevel+1),this},t.prototype.up=function(){if(this.currentLevel<0)throw Error(`The document node has no parent.`);return this.currentNode?(this.currentNode.children?this.closeNode(this.currentNode):this.openNode(this.currentNode),this.currentNode=null):this.closeNode(this.openTags[this.currentLevel]),delete this.openTags[this.currentLevel],this.currentLevel--,this},t.prototype.end=function(){for(;this.currentLevel>=0;)this.up();return this.onEnd()},t.prototype.openCurrent=function(){if(this.currentNode)return this.currentNode.children=!0,this.openNode(this.currentNode)},t.prototype.openNode=function(t){var r,a,o,s;if(!t.isOpen){if(!this.root&&this.currentLevel===0&&t.type===e.Element&&(this.root=t),a=``,t.type===e.Element){for(o in this.writerOptions.state=n.OpenTag,a=this.writer.indent(t,this.writerOptions,this.currentLevel)+`<`+t.name,s=t.attribs,s)T.call(s,o)&&(r=s[o],a+=this.writer.attribute(r,this.writerOptions,this.currentLevel));a+=(t.children?`>`:`/>`)+this.writer.endline(t,this.writerOptions,this.currentLevel),this.writerOptions.state=n.InsideTag}else this.writerOptions.state=n.OpenTag,a=this.writer.indent(t,this.writerOptions,this.currentLevel)+`<!DOCTYPE `+t.rootNodeName,t.pubID&&t.sysID?a+=` PUBLIC "`+t.pubID+`" "`+t.sysID+`"`:t.sysID&&(a+=` SYSTEM "`+t.sysID+`"`),t.children?(a+=` [`,this.writerOptions.state=n.InsideTag):(this.writerOptions.state=n.CloseTag,a+=`>`),a+=this.writer.endline(t,this.writerOptions,this.currentLevel);return this.onData(a,this.currentLevel),t.isOpen=!0}},t.prototype.closeNode=function(t){var r;if(!t.isClosed)return r=``,this.writerOptions.state=n.CloseTag,r=t.type===e.Element?this.writer.indent(t,this.writerOptions,this.currentLevel)+`</`+t.name+`>`+this.writer.endline(t,this.writerOptions,this.currentLevel):this.writer.indent(t,this.writerOptions,this.currentLevel)+`]>`+this.writer.endline(t,this.writerOptions,this.currentLevel),this.writerOptions.state=n.None,this.onData(r,this.currentLevel),t.isClosed=!0},t.prototype.onData=function(e,t){return this.documentStarted=!0,this.onDataCallback(e,t+1)},t.prototype.onEnd=function(){return this.documentCompleted=!0,this.onEndCallback()},t.prototype.debugInfo=function(e){return e==null?``:`node: <`+e+`>`},t.prototype.ele=function(){return this.element.apply(this,arguments)},t.prototype.nod=function(e,t,n){return this.node(e,t,n)},t.prototype.txt=function(e){return this.text(e)},t.prototype.dat=function(e){return this.cdata(e)},t.prototype.com=function(e){return this.comment(e)},t.prototype.ins=function(e,t){return this.instruction(e,t)},t.prototype.dec=function(e,t,n){return this.declaration(e,t,n)},t.prototype.dtd=function(e,t,n){return this.doctype(e,t,n)},t.prototype.e=function(e,t,n){return this.element(e,t,n)},t.prototype.n=function(e,t,n){return this.node(e,t,n)},t.prototype.t=function(e){return this.text(e)},t.prototype.d=function(e){return this.cdata(e)},t.prototype.c=function(e){return this.comment(e)},t.prototype.r=function(e){return this.raw(e)},t.prototype.i=function(e,t){return this.instruction(e,t)},t.prototype.att=function(){return this.currentNode&&this.currentNode.type===e.DocType?this.attList.apply(this,arguments):this.attribute.apply(this,arguments)},t.prototype.a=function(){return this.currentNode&&this.currentNode.type===e.DocType?this.attList.apply(this,arguments):this.attribute.apply(this,arguments)},t.prototype.ent=function(e,t){return this.entity(e,t)},t.prototype.pent=function(e,t){return this.pEntity(e,t)},t.prototype.not=function(e,t){return this.notation(e,t)},t})()}).call(e)})),Ut=e.t(((e,t)=>{(function(){var e,n,r,a=function(e,t){for(var n in t)o.call(t,n)&&(e[n]=t[n]);function r(){this.constructor=e}return r.prototype=t.prototype,e.prototype=new r,e.__super__=t.prototype,e},o={}.hasOwnProperty;e=_t(),r=zt(),n=Rt(),t.exports=(function(t){a(r,t);function r(e,t){this.stream=e,r.__super__.constructor.call(this,t)}return r.prototype.endline=function(e,t,a){return e.isLastRootNode&&t.state===n.CloseTag?``:r.__super__.endline.call(this,e,t,a)},r.prototype.document=function(e,t){var n,r,a,o,s,c,l=e.children,u,d;for(r=a=0,s=l.length;a<s;r=++a)n=l[r],n.isLastRootNode=r===e.children.length-1;for(t=this.filterOptions(t),u=e.children,d=[],o=0,c=u.length;o<c;o++)n=u[o],d.push(this.writeChildNode(n,t,0));return d},r.prototype.attribute=function(e,t,n){return this.stream.write(r.__super__.attribute.call(this,e,t,n))},r.prototype.cdata=function(e,t,n){return this.stream.write(r.__super__.cdata.call(this,e,t,n))},r.prototype.comment=function(e,t,n){return this.stream.write(r.__super__.comment.call(this,e,t,n))},r.prototype.declaration=function(e,t,n){return this.stream.write(r.__super__.declaration.call(this,e,t,n))},r.prototype.docType=function(e,t,r){var a,o,s,c;if(r||=0,this.openNode(e,t,r),t.state=n.OpenTag,this.stream.write(this.indent(e,t,r)),this.stream.write(`<!DOCTYPE `+e.root().name),e.pubID&&e.sysID?this.stream.write(` PUBLIC "`+e.pubID+`" "`+e.sysID+`"`):e.sysID&&this.stream.write(` SYSTEM "`+e.sysID+`"`),e.children.length>0){for(this.stream.write(` [`),this.stream.write(this.endline(e,t,r)),t.state=n.InsideTag,c=e.children,o=0,s=c.length;o<s;o++)a=c[o],this.writeChildNode(a,t,r+1);t.state=n.CloseTag,this.stream.write(`]`)}return t.state=n.CloseTag,this.stream.write(t.spaceBeforeSlash+`>`),this.stream.write(this.endline(e,t,r)),t.state=n.None,this.closeNode(e,t,r)},r.prototype.element=function(t,r,a){var s,c,l,u,d,f,p,m,h;for(p in a||=0,this.openNode(t,r,a),r.state=n.OpenTag,this.stream.write(this.indent(t,r,a)+`<`+t.name),m=t.attribs,m)o.call(m,p)&&(s=m[p],this.attribute(s,r,a));if(l=t.children.length,u=l===0?null:t.children[0],l===0||t.children.every(function(t){return(t.type===e.Text||t.type===e.Raw)&&t.value===``}))r.allowEmpty?(this.stream.write(`>`),r.state=n.CloseTag,this.stream.write(`</`+t.name+`>`)):(r.state=n.CloseTag,this.stream.write(r.spaceBeforeSlash+`/>`));else if(r.pretty&&l===1&&(u.type===e.Text||u.type===e.Raw)&&u.value!=null)this.stream.write(`>`),r.state=n.InsideTag,r.suppressPrettyCount++,this.writeChildNode(u,r,a+1),r.suppressPrettyCount--,r.state=n.CloseTag,this.stream.write(`</`+t.name+`>`);else{for(this.stream.write(`>`+this.endline(t,r,a)),r.state=n.InsideTag,h=t.children,d=0,f=h.length;d<f;d++)c=h[d],this.writeChildNode(c,r,a+1);r.state=n.CloseTag,this.stream.write(this.indent(t,r,a)+`</`+t.name+`>`)}return this.stream.write(this.endline(t,r,a)),r.state=n.None,this.closeNode(t,r,a)},r.prototype.processingInstruction=function(e,t,n){return this.stream.write(r.__super__.processingInstruction.call(this,e,t,n))},r.prototype.raw=function(e,t,n){return this.stream.write(r.__super__.raw.call(this,e,t,n))},r.prototype.text=function(e,t,n){return this.stream.write(r.__super__.text.call(this,e,t,n))},r.prototype.dtdAttList=function(e,t,n){return this.stream.write(r.__super__.dtdAttList.call(this,e,t,n))},r.prototype.dtdElement=function(e,t,n){return this.stream.write(r.__super__.dtdElement.call(this,e,t,n))},r.prototype.dtdEntity=function(e,t,n){return this.stream.write(r.__super__.dtdEntity.call(this,e,t,n))},r.prototype.dtdNotation=function(e,t,n){return this.stream.write(r.__super__.dtdNotation.call(this,e,t,n))},r})(r)}).call(e)})),Wt=e.t(((e,t)=>{(function(){var e,n,r,a,o,s,c,l,u,d=ft();l=d.assign,u=d.isFunction,r=pt(),a=Vt(),o=Ht(),c=Bt(),s=Ut(),e=_t(),n=Rt(),t.exports.create=function(e,t,n,r){var o,s;if(e==null)throw Error(`Root element needs a name.`);return r=l({},t,n,r),o=new a(r),s=o.element(e),r.headless||(o.declaration(r),(r.pubID!=null||r.sysID!=null)&&o.dtd(r)),s},t.exports.begin=function(e,t,n){var r;return u(e)&&(r=[e,t],t=r[0],n=r[1],e={}),t?new o(e,t,n):new a(e)},t.exports.stringWriter=function(e){return new c(e)},t.exports.streamWriter=function(e,t){return new s(e,t)},t.exports.implementation=new r,t.exports.nodeType=e,t.exports.writerState=n}).call(e)})),Gt=e.t((e=>{(function(){"use strict";var t,n,r,a,o,s={}.hasOwnProperty;t=Wt(),n=dt().defaults,a=function(e){return typeof e==`string`&&(e.indexOf(`&`)>=0||e.indexOf(`>`)>=0||e.indexOf(`<`)>=0)},o=function(e){return`<![CDATA[`+r(e)+`]]>`},r=function(e){return e.replace(`]]>`,`]]]]><![CDATA[>`)},e.Builder=(function(){function e(e){var t,r,a;for(t in this.options={},r=n[`0.2`],r)s.call(r,t)&&(a=r[t],this.options[t]=a);for(t in e)s.call(e,t)&&(a=e[t],this.options[t]=a)}return e.prototype.buildObject=function(e){var r=this.options.attrkey,c=this.options.charkey,l,u,d;return Object.keys(e).length===1&&this.options.rootName===n[`0.2`].rootName?(d=Object.keys(e)[0],e=e[d]):d=this.options.rootName,l=(function(e){return function(t,n){var u,d,f,p,m,h;if(typeof n!=`object`)e.options.cdata&&a(n)?t.raw(o(n)):t.txt(n);else if(Array.isArray(n)){for(p in n)if(s.call(n,p))for(m in d=n[p],d)f=d[m],t=l(t.ele(m),f).up()}else for(m in n)if(s.call(n,m))if(d=n[m],m===r){if(typeof d==`object`)for(u in d)h=d[u],t=t.att(u,h)}else if(m===c)t=e.options.cdata&&a(d)?t.raw(o(d)):t.txt(d);else if(Array.isArray(d))for(p in d)s.call(d,p)&&(f=d[p],t=typeof f==`string`?e.options.cdata&&a(f)?t.ele(m).raw(o(f)).up():t.ele(m,f).up():l(t.ele(m),f).up());else typeof d==`object`?t=l(t.ele(m),d).up():typeof d==`string`&&e.options.cdata&&a(d)?t=t.ele(m).raw(o(d)).up():(d??=``,t=t.ele(m,d.toString()).up());return t}})(this),u=t.create(d,this.options.xmldec,this.options.doctype,{headless:this.options.headless,allowSurrogateChars:this.options.allowSurrogateChars}),l(u,e).end(this.options.renderOpts)},e})()}).call(e)})),Kt=e.t((e=>{(function(e){e.parser=function(e,t){return new n(e,t)},e.SAXParser=n,e.SAXStream=d,e.createStream=l,e.MAX_BUFFER_LENGTH=64*1024;var t=[`comment`,`sgmlDecl`,`textNode`,`tagName`,`doctype`,`procInstName`,`procInstBody`,`entity`,`attribName`,`attribValue`,`cdata`,`script`];e.EVENTS=[`text`,`processinginstruction`,`sgmldeclaration`,`doctype`,`comment`,`opentagstart`,`attribute`,`opentag`,`closetag`,`opencdata`,`cdata`,`closecdata`,`error`,`end`,`ready`,`script`,`opennamespace`,`closenamespace`];function n(t,r){if(!(this instanceof n))return new n(t,r);var o=this;a(o),o.q=o.c=``,o.bufferCheckPosition=e.MAX_BUFFER_LENGTH,o.encoding=null,o.opt=r||{},o.opt.lowercase=o.opt.lowercase||o.opt.lowercasetags,o.looseCase=o.opt.lowercase?`toLowerCase`:`toUpperCase`,o.opt.maxEntityCount=o.opt.maxEntityCount||512,o.opt.maxEntityDepth=o.opt.maxEntityDepth||4,o.entityCount=o.entityDepth=0,o.tags=[],o.closed=o.closedRoot=o.sawRoot=!1,o.tag=o.error=null,o.strict=!!t,o.noscript=!!(t||o.opt.noscript),o.state=E.BEGIN,o.strictEntities=o.opt.strictEntities,o.ENTITIES=o.strictEntities?Object.create(e.XML_ENTITIES):Object.create(e.ENTITIES),o.attribList=[],o.opt.xmlns&&(o.ns=Object.create(g)),o.opt.unquotedAttributeValues===void 0&&(o.opt.unquotedAttributeValues=!t),o.trackPosition=o.opt.position!==!1,o.trackPosition&&(o.position=o.line=o.column=0),O(o,`onready`)}Object.create||(Object.create=function(e){function t(){}return t.prototype=e,new t}),Object.keys||(Object.keys=function(e){var t=[];for(var n in e)e.hasOwnProperty(n)&&t.push(n);return t});function r(n){for(var r=Math.max(e.MAX_BUFFER_LENGTH,10),a=0,o=0,s=t.length;o<s;o++){var c=n[t[o]].length;if(c>r)switch(t[o]){case`textNode`:P(n);break;case`cdata`:N(n,`oncdata`,n.cdata),n.cdata=``;break;case`script`:N(n,`onscript`,n.script),n.script=``;break;default:I(n,`Max buffer length exceeded: `+t[o])}a=Math.max(a,c)}n.bufferCheckPosition=e.MAX_BUFFER_LENGTH-a+n.position}function a(e){for(var n=0,r=t.length;n<r;n++)e[t[n]]=``}function o(e){P(e),e.cdata!==``&&(N(e,`oncdata`,e.cdata),e.cdata=``),e.script!==``&&(N(e,`onscript`,e.script),e.script=``)}n.prototype={end:function(){L(this)},write:te,resume:function(){return this.error=null,this},close:function(){return this.write(null)},flush:function(){o(this)}};var s;try{s=require(`stream`).Stream}catch{s=function(){}}s||=function(){};var c=e.EVENTS.filter(function(e){return e!==`error`&&e!==`end`});function l(e,t){return new d(e,t)}function u(e,t){if(e.length>=2){if(e[0]===255&&e[1]===254)return`utf-16le`;if(e[0]===254&&e[1]===255)return`utf-16be`}return e.length>=3&&e[0]===239&&e[1]===187&&e[2]===191?`utf8`:e.length>=4?e[0]===60&&e[1]===0&&e[2]===63&&e[3]===0?`utf-16le`:e[0]===0&&e[1]===60&&e[2]===0&&e[3]===63?`utf-16be`:`utf8`:t?`utf8`:null}function d(e,t){if(!(this instanceof d))return new d(e,t);s.apply(this),this._parser=new n(e,t),this.writable=!0,this.readable=!0;var r=this;this._parser.onend=function(){r.emit(`end`)},this._parser.onerror=function(e){r.emit(`error`,e),r._parser.error=null},this._decoder=null,this._decoderBuffer=null,c.forEach(function(e){Object.defineProperty(r,`on`+e,{get:function(){return r._parser[`on`+e]},set:function(t){if(!t)return r.removeAllListeners(e),r._parser[`on`+e]=t,t;r.on(e,t)},enumerable:!0,configurable:!1})})}d.prototype=Object.create(s.prototype,{constructor:{value:d}}),d.prototype._decodeBuffer=function(e,t){if(this._decoderBuffer&&=(e=Buffer.concat([this._decoderBuffer,e]),null),!this._decoder){var n=u(e,t);if(!n)return this._decoderBuffer=e,``;this._parser.encoding=n,this._decoder=new TextDecoder(n)}return this._decoder.decode(e,{stream:!t})},d.prototype.write=function(e){if(typeof Buffer==`function`&&typeof Buffer.isBuffer==`function`&&Buffer.isBuffer(e))e=this._decodeBuffer(e,!1);else if(this._decoderBuffer){var t=this._decodeBuffer(Buffer.alloc(0),!0);t&&(this._parser.write(t),this.emit(`data`,t))}return this._parser.write(e.toString()),this.emit(`data`,e),!0},d.prototype.end=function(e){if(e&&e.length&&this.write(e),this._decoderBuffer){var t=this._decodeBuffer(Buffer.alloc(0),!0);t&&(this._parser.write(t),this.emit(`data`,t))}else if(this._decoder){var n=this._decoder.decode();n&&(this._parser.write(n),this.emit(`data`,n))}return this._parser.end(),!0},d.prototype.on=function(e,t){var n=this;return!n._parser[`on`+e]&&c.indexOf(e)!==-1&&(n._parser[`on`+e]=function(){var t=arguments.length===1?[arguments[0]]:Array.apply(null,arguments);t.splice(0,0,e),n.emit.apply(n,t)}),s.prototype.on.call(n,e,t)};var f=`[CDATA[`,p=`DOCTYPE`,m=`http://www.w3.org/XML/1998/namespace`,h=`http://www.w3.org/2000/xmlns/`,g={xml:m,xmlns:h},_=/[:_A-Za-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD]/,v=/[:_A-Za-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\u00B7\u0300-\u036F\u203F-\u2040.\d-]/,y=/[#:_A-Za-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD]/,b=/[#:_A-Za-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\u00B7\u0300-\u036F\u203F-\u2040.\d-]/;function x(e){return e===` `||e===`
`||e===`\r`||e===`	`}function S(e){return e===`"`||e===`'`}function C(e){return e===`>`||x(e)}function w(e,t){return e.test(t)}function T(e,t){return!w(e,t)}var E=0;for(var D in e.STATE={BEGIN:E++,BEGIN_WHITESPACE:E++,TEXT:E++,TEXT_ENTITY:E++,OPEN_WAKA:E++,SGML_DECL:E++,SGML_DECL_QUOTED:E++,DOCTYPE:E++,DOCTYPE_QUOTED:E++,DOCTYPE_DTD:E++,DOCTYPE_DTD_QUOTED:E++,COMMENT_STARTING:E++,COMMENT:E++,COMMENT_ENDING:E++,COMMENT_ENDED:E++,CDATA:E++,CDATA_ENDING:E++,CDATA_ENDING_2:E++,PROC_INST:E++,PROC_INST_BODY:E++,PROC_INST_ENDING:E++,OPEN_TAG:E++,OPEN_TAG_SLASH:E++,ATTRIB:E++,ATTRIB_NAME:E++,ATTRIB_NAME_SAW_WHITE:E++,ATTRIB_VALUE:E++,ATTRIB_VALUE_QUOTED:E++,ATTRIB_VALUE_CLOSED:E++,ATTRIB_VALUE_UNQUOTED:E++,ATTRIB_VALUE_ENTITY_Q:E++,ATTRIB_VALUE_ENTITY_U:E++,CLOSE_TAG:E++,CLOSE_TAG_SAW_WHITE:E++,SCRIPT:E++,SCRIPT_ENDING:E++},e.XML_ENTITIES={amp:`&`,gt:`>`,lt:`<`,quot:`"`,apos:`'`},e.ENTITIES={amp:`&`,gt:`>`,lt:`<`,quot:`"`,apos:`'`,AElig:198,Aacute:193,Acirc:194,Agrave:192,Aring:197,Atilde:195,Auml:196,Ccedil:199,ETH:208,Eacute:201,Ecirc:202,Egrave:200,Euml:203,Iacute:205,Icirc:206,Igrave:204,Iuml:207,Ntilde:209,Oacute:211,Ocirc:212,Ograve:210,Oslash:216,Otilde:213,Ouml:214,THORN:222,Uacute:218,Ucirc:219,Ugrave:217,Uuml:220,Yacute:221,aacute:225,acirc:226,aelig:230,agrave:224,aring:229,atilde:227,auml:228,ccedil:231,eacute:233,ecirc:234,egrave:232,eth:240,euml:235,iacute:237,icirc:238,igrave:236,iuml:239,ntilde:241,oacute:243,ocirc:244,ograve:242,oslash:248,otilde:245,ouml:246,szlig:223,thorn:254,uacute:250,ucirc:251,ugrave:249,uuml:252,yacute:253,yuml:255,copy:169,reg:174,nbsp:160,iexcl:161,cent:162,pound:163,curren:164,yen:165,brvbar:166,sect:167,uml:168,ordf:170,laquo:171,not:172,shy:173,macr:175,deg:176,plusmn:177,sup1:185,sup2:178,sup3:179,acute:180,micro:181,para:182,middot:183,cedil:184,ordm:186,raquo:187,frac14:188,frac12:189,frac34:190,iquest:191,times:215,divide:247,OElig:338,oelig:339,Scaron:352,scaron:353,Yuml:376,fnof:402,circ:710,tilde:732,Alpha:913,Beta:914,Gamma:915,Delta:916,Epsilon:917,Zeta:918,Eta:919,Theta:920,Iota:921,Kappa:922,Lambda:923,Mu:924,Nu:925,Xi:926,Omicron:927,Pi:928,Rho:929,Sigma:931,Tau:932,Upsilon:933,Phi:934,Chi:935,Psi:936,Omega:937,alpha:945,beta:946,gamma:947,delta:948,epsilon:949,zeta:950,eta:951,theta:952,iota:953,kappa:954,lambda:955,mu:956,nu:957,xi:958,omicron:959,pi:960,rho:961,sigmaf:962,sigma:963,tau:964,upsilon:965,phi:966,chi:967,psi:968,omega:969,thetasym:977,upsih:978,piv:982,ensp:8194,emsp:8195,thinsp:8201,zwnj:8204,zwj:8205,lrm:8206,rlm:8207,ndash:8211,mdash:8212,lsquo:8216,rsquo:8217,sbquo:8218,ldquo:8220,rdquo:8221,bdquo:8222,dagger:8224,Dagger:8225,bull:8226,hellip:8230,permil:8240,prime:8242,Prime:8243,lsaquo:8249,rsaquo:8250,oline:8254,frasl:8260,euro:8364,image:8465,weierp:8472,real:8476,trade:8482,alefsym:8501,larr:8592,uarr:8593,rarr:8594,darr:8595,harr:8596,crarr:8629,lArr:8656,uArr:8657,rArr:8658,dArr:8659,hArr:8660,forall:8704,part:8706,exist:8707,empty:8709,nabla:8711,isin:8712,notin:8713,ni:8715,prod:8719,sum:8721,minus:8722,lowast:8727,radic:8730,prop:8733,infin:8734,ang:8736,and:8743,or:8744,cap:8745,cup:8746,int:8747,there4:8756,sim:8764,cong:8773,asymp:8776,ne:8800,equiv:8801,le:8804,ge:8805,sub:8834,sup:8835,nsub:8836,sube:8838,supe:8839,oplus:8853,otimes:8855,perp:8869,sdot:8901,lceil:8968,rceil:8969,lfloor:8970,rfloor:8971,lang:9001,rang:9002,loz:9674,spades:9824,clubs:9827,hearts:9829,diams:9830},Object.keys(e.ENTITIES).forEach(function(t){var n=e.ENTITIES[t],r=typeof n==`number`?String.fromCharCode(n):n;e.ENTITIES[t]=r}),e.STATE)e.STATE[e.STATE[D]]=D;E=e.STATE;function O(e,t,n){e[t]&&e[t](n)}function k(e){var t=e&&e.match(/(?:^|\s)encoding\s*=\s*(['"])([^'"]+)\1/i);return t?t[2]:null}function A(e){return e?e.toLowerCase().replace(/[^a-z0-9]/g,``):null}function j(e,t){let n=A(e),r=A(t);return!n||!r?!0:r===`utf16`?n===`utf16le`||n===`utf16be`:n===r}function M(e,t){if(!(!e.strict||!e.encoding||!t||t.name!==`xml`)){var n=k(t.body);n&&!j(e.encoding,n)&&R(e,`XML declaration encoding `+n+` does not match detected stream encoding `+e.encoding.toUpperCase())}}function N(e,t,n){e.textNode&&P(e),O(e,t,n)}function P(e){e.textNode=F(e.opt,e.textNode),e.textNode&&O(e,`ontext`,e.textNode),e.textNode=``}function F(e,t){return e.trim&&(t=t.trim()),e.normalize&&(t=t.replace(/\s+/g,` `)),t}function I(e,t){return P(e),e.trackPosition&&(t+=`
Line: `+e.line+`
Column: `+e.column+`
Char: `+e.c),t=Error(t),e.error=t,O(e,`onerror`,t),e}function L(e){return e.sawRoot&&!e.closedRoot&&R(e,`Unclosed root tag`),e.state!==E.BEGIN&&e.state!==E.BEGIN_WHITESPACE&&e.state!==E.TEXT&&I(e,`Unexpected end`),P(e),e.c=``,e.closed=!0,O(e,`onend`),n.call(e,e.strict,e.opt),e}function R(e,t){if(typeof e!=`object`||!(e instanceof n))throw Error(`bad call to strictFail`);e.strict&&I(e,t)}function z(e){e.strict||(e.tagName=e.tagName[e.looseCase]());var t=e.tags[e.tags.length-1]||e,n=e.tag={name:e.tagName,attributes:{}};e.opt.xmlns&&(n.ns=t.ns),e.attribList.length=0,N(e,`onopentagstart`,n)}function B(e,t){var n=e.indexOf(`:`)<0?[``,e]:e.split(`:`),r=n[0],a=n[1];return t&&e===`xmlns`&&(r=`xmlns`,a=``),{prefix:r,local:a}}function V(e){if(e.strict||(e.attribName=e.attribName[e.looseCase]()),e.attribList.indexOf(e.attribName)!==-1||e.tag.attributes.hasOwnProperty(e.attribName)){e.attribName=e.attribValue=``;return}if(e.opt.xmlns){var t=B(e.attribName,!0),n=t.prefix,r=t.local;if(n===`xmlns`)if(r===`xml`&&e.attribValue!==m)R(e,`xml: prefix must be bound to `+m+`
Actual: `+e.attribValue);else if(r===`xmlns`&&e.attribValue!==h)R(e,`xmlns: prefix must be bound to `+h+`
Actual: `+e.attribValue);else{var a=e.tag,o=e.tags[e.tags.length-1]||e;a.ns===o.ns&&(a.ns=Object.create(o.ns)),a.ns[r]=e.attribValue}e.attribList.push([e.attribName,e.attribValue])}else e.tag.attributes[e.attribName]=e.attribValue,N(e,`onattribute`,{name:e.attribName,value:e.attribValue});e.attribName=e.attribValue=``}function H(e,t){if(e.opt.xmlns){var n=e.tag,r=B(e.tagName);n.prefix=r.prefix,n.local=r.local,n.uri=n.ns[r.prefix]||``,n.prefix&&!n.uri&&(R(e,`Unbound namespace prefix: `+JSON.stringify(e.tagName)),n.uri=r.prefix);var a=e.tags[e.tags.length-1]||e;n.ns&&a.ns!==n.ns&&Object.keys(n.ns).forEach(function(t){N(e,`onopennamespace`,{prefix:t,uri:n.ns[t]})});for(var o=0,s=e.attribList.length;o<s;o++){var c=e.attribList[o],l=c[0],u=c[1],d=B(l,!0),f=d.prefix,p=d.local,m=f===``?``:n.ns[f]||``,h={name:l,value:u,prefix:f,local:p,uri:m};f&&f!==`xmlns`&&!m&&(R(e,`Unbound namespace prefix: `+JSON.stringify(f)),h.uri=f),e.tag.attributes[l]=h,N(e,`onattribute`,h)}e.attribList.length=0}e.tag.isSelfClosing=!!t,e.sawRoot=!0,e.tags.push(e.tag),N(e,`onopentag`,e.tag),t||(!e.noscript&&e.tagName.toLowerCase()===`script`?e.state=E.SCRIPT:e.state=E.TEXT,e.tag=null,e.tagName=``),e.attribName=e.attribValue=``,e.attribList.length=0}function U(e){if(!e.tagName){R(e,`Weird empty close tag.`),e.textNode+=`</>`,e.state=E.TEXT;return}if(e.script){if(e.tagName!==`script`){e.script+=`</`+e.tagName+`>`,e.tagName=``,e.state=E.SCRIPT;return}N(e,`onscript`,e.script),e.script=``}var t=e.tags.length,n=e.tagName;e.strict||(n=n[e.looseCase]());for(var r=n;t--&&e.tags[t].name!==r;)R(e,`Unexpected close tag`);if(t<0){R(e,`Unmatched closing tag: `+e.tagName),e.textNode+=`</`+e.tagName+`>`,e.state=E.TEXT;return}e.tagName=n;for(var a=e.tags.length;a-- >t;){var o=e.tag=e.tags.pop();e.tagName=e.tag.name,N(e,`onclosetag`,e.tagName);var s={};for(var c in o.ns)s[c]=o.ns[c];var l=e.tags[e.tags.length-1]||e;e.opt.xmlns&&o.ns!==l.ns&&Object.keys(o.ns).forEach(function(t){var n=o.ns[t];N(e,`onclosenamespace`,{prefix:t,uri:n})})}t===0&&(e.closedRoot=!0),e.tagName=e.attribValue=e.attribName=``,e.attribList.length=0,e.state=E.TEXT}function W(e){var t=e.entity,n=t.toLowerCase(),r,a=``;return e.ENTITIES[t]?e.ENTITIES[t]:e.ENTITIES[n]?e.ENTITIES[n]:(t=n,t.charAt(0)===`#`&&(t.charAt(1)===`x`?(t=t.slice(2),r=parseInt(t,16),a=r.toString(16)):(t=t.slice(1),r=parseInt(t,10),a=r.toString(10))),t=t.replace(/^0+/,``),isNaN(r)||a.toLowerCase()!==t||r<0||r>1114111?(R(e,`Invalid character entity`),`&`+e.entity+`;`):String.fromCodePoint(r))}function ee(e,t){t===`<`?(e.state=E.OPEN_WAKA,e.startTagPosition=e.position):x(t)||(R(e,`Non-whitespace before first tag.`),e.textNode=t,e.state=E.TEXT)}function G(e,t){var n=``;return t<e.length&&(n=e.charAt(t)),n}function te(t){var n=this;if(this.error)throw this.error;if(n.closed)return I(n,`Cannot write after close. Assign an onready handler.`);if(t===null)return L(n);typeof t==`object`&&(t=t.toString());for(var a=0,o=``;o=G(t,a++),n.c=o,o;)switch(n.trackPosition&&(n.position++,o===`
`?(n.line++,n.column=0):n.column++),n.state){case E.BEGIN:if(n.state=E.BEGIN_WHITESPACE,o===``)continue;ee(n,o);continue;case E.BEGIN_WHITESPACE:ee(n,o);continue;case E.TEXT:if(n.sawRoot&&!n.closedRoot){for(var s=a-1;o&&o!==`<`&&o!==`&`;)o=G(t,a++),o&&n.trackPosition&&(n.position++,o===`
`?(n.line++,n.column=0):n.column++);n.textNode+=t.substring(s,a-1)}o===`<`&&!(n.sawRoot&&n.closedRoot&&!n.strict)?(n.state=E.OPEN_WAKA,n.startTagPosition=n.position):(!x(o)&&(!n.sawRoot||n.closedRoot)&&R(n,`Text data outside of root node.`),o===`&`?n.state=E.TEXT_ENTITY:n.textNode+=o);continue;case E.SCRIPT:o===`<`?n.state=E.SCRIPT_ENDING:n.script+=o;continue;case E.SCRIPT_ENDING:o===`/`?n.state=E.CLOSE_TAG:(n.script+=`<`+o,n.state=E.SCRIPT);continue;case E.OPEN_WAKA:if(o===`!`)n.state=E.SGML_DECL,n.sgmlDecl=``;else if(!x(o))if(w(_,o))n.state=E.OPEN_TAG,n.tagName=o;else if(o===`/`)n.state=E.CLOSE_TAG,n.tagName=``;else if(o===`?`)n.state=E.PROC_INST,n.procInstName=n.procInstBody=``;else{if(R(n,`Unencoded <`),n.startTagPosition+1<n.position){var c=n.position-n.startTagPosition;o=Array(c).join(` `)+o}n.textNode+=`<`+o,n.state=E.TEXT}continue;case E.SGML_DECL:if(n.sgmlDecl+o===`--`){n.state=E.COMMENT,n.comment=``,n.sgmlDecl=``;continue}n.doctype&&n.doctype!==!0&&n.sgmlDecl?(n.state=E.DOCTYPE_DTD,n.doctype+=`<!`+n.sgmlDecl+o,n.sgmlDecl=``):(n.sgmlDecl+o).toUpperCase()===f?(N(n,`onopencdata`),n.state=E.CDATA,n.sgmlDecl=``,n.cdata=``):(n.sgmlDecl+o).toUpperCase()===p?(n.state=E.DOCTYPE,(n.doctype||n.sawRoot)&&R(n,`Inappropriately located doctype declaration`),n.doctype=``,n.sgmlDecl=``):o===`>`?(N(n,`onsgmldeclaration`,n.sgmlDecl),n.sgmlDecl=``,n.state=E.TEXT):(S(o)&&(n.state=E.SGML_DECL_QUOTED),n.sgmlDecl+=o);continue;case E.SGML_DECL_QUOTED:o===n.q&&(n.state=E.SGML_DECL,n.q=``),n.sgmlDecl+=o;continue;case E.DOCTYPE:o===`>`?(n.state=E.TEXT,N(n,`ondoctype`,n.doctype),n.doctype=!0):(n.doctype+=o,o===`[`?n.state=E.DOCTYPE_DTD:S(o)&&(n.state=E.DOCTYPE_QUOTED,n.q=o));continue;case E.DOCTYPE_QUOTED:n.doctype+=o,o===n.q&&(n.q=``,n.state=E.DOCTYPE);continue;case E.DOCTYPE_DTD:o===`]`?(n.doctype+=o,n.state=E.DOCTYPE):o===`<`?(n.state=E.OPEN_WAKA,n.startTagPosition=n.position):S(o)?(n.doctype+=o,n.state=E.DOCTYPE_DTD_QUOTED,n.q=o):n.doctype+=o;continue;case E.DOCTYPE_DTD_QUOTED:n.doctype+=o,o===n.q&&(n.state=E.DOCTYPE_DTD,n.q=``);continue;case E.COMMENT:o===`-`?n.state=E.COMMENT_ENDING:n.comment+=o;continue;case E.COMMENT_ENDING:o===`-`?(n.state=E.COMMENT_ENDED,n.comment=F(n.opt,n.comment),n.comment&&N(n,`oncomment`,n.comment),n.comment=``):(n.comment+=`-`+o,n.state=E.COMMENT);continue;case E.COMMENT_ENDED:o===`>`?n.doctype&&n.doctype!==!0?n.state=E.DOCTYPE_DTD:n.state=E.TEXT:(R(n,`Malformed comment`),n.comment+=`--`+o,n.state=E.COMMENT);continue;case E.CDATA:for(var s=a-1;o&&o!==`]`;)o=G(t,a++),o&&n.trackPosition&&(n.position++,o===`
`?(n.line++,n.column=0):n.column++);n.cdata+=t.substring(s,a-1),o===`]`&&(n.state=E.CDATA_ENDING);continue;case E.CDATA_ENDING:o===`]`?n.state=E.CDATA_ENDING_2:(n.cdata+=`]`+o,n.state=E.CDATA);continue;case E.CDATA_ENDING_2:o===`>`?(n.cdata&&N(n,`oncdata`,n.cdata),N(n,`onclosecdata`),n.cdata=``,n.state=E.TEXT):o===`]`?n.cdata+=`]`:(n.cdata+=`]]`+o,n.state=E.CDATA);continue;case E.PROC_INST:o===`?`?n.state=E.PROC_INST_ENDING:x(o)?n.state=E.PROC_INST_BODY:n.procInstName+=o;continue;case E.PROC_INST_BODY:if(!n.procInstBody&&x(o))continue;o===`?`?n.state=E.PROC_INST_ENDING:n.procInstBody+=o;continue;case E.PROC_INST_ENDING:if(o===`>`){let e={name:n.procInstName,body:n.procInstBody};M(n,e),N(n,`onprocessinginstruction`,e),n.procInstName=n.procInstBody=``,n.state=E.TEXT}else n.procInstBody+=`?`+o,n.state=E.PROC_INST_BODY;continue;case E.OPEN_TAG:w(v,o)?n.tagName+=o:(z(n),o===`>`?H(n):o===`/`?n.state=E.OPEN_TAG_SLASH:(x(o)||R(n,`Invalid character in tag name`),n.state=E.ATTRIB));continue;case E.OPEN_TAG_SLASH:o===`>`?(H(n,!0),U(n)):(R(n,`Forward-slash in opening tag not followed by >`),n.state=E.ATTRIB);continue;case E.ATTRIB:if(x(o))continue;o===`>`?H(n):o===`/`?n.state=E.OPEN_TAG_SLASH:w(_,o)?(n.attribName=o,n.attribValue=``,n.state=E.ATTRIB_NAME):R(n,`Invalid attribute name`);continue;case E.ATTRIB_NAME:o===`=`?n.state=E.ATTRIB_VALUE:o===`>`?(R(n,`Attribute without value`),n.attribValue=n.attribName,V(n),H(n)):x(o)?n.state=E.ATTRIB_NAME_SAW_WHITE:w(v,o)?n.attribName+=o:R(n,`Invalid attribute name`);continue;case E.ATTRIB_NAME_SAW_WHITE:if(o===`=`)n.state=E.ATTRIB_VALUE;else if(x(o))continue;else R(n,`Attribute without value`),n.tag.attributes[n.attribName]=``,n.attribValue=``,N(n,`onattribute`,{name:n.attribName,value:``}),n.attribName=``,o===`>`?H(n):w(_,o)?(n.attribName=o,n.state=E.ATTRIB_NAME):(R(n,`Invalid attribute name`),n.state=E.ATTRIB);continue;case E.ATTRIB_VALUE:if(x(o))continue;S(o)?(n.q=o,n.state=E.ATTRIB_VALUE_QUOTED):(n.opt.unquotedAttributeValues||I(n,`Unquoted attribute value`),n.state=E.ATTRIB_VALUE_UNQUOTED,n.attribValue=o);continue;case E.ATTRIB_VALUE_QUOTED:if(o!==n.q){o===`&`?n.state=E.ATTRIB_VALUE_ENTITY_Q:n.attribValue+=o;continue}V(n),n.q=``,n.state=E.ATTRIB_VALUE_CLOSED;continue;case E.ATTRIB_VALUE_CLOSED:x(o)?n.state=E.ATTRIB:o===`>`?H(n):o===`/`?n.state=E.OPEN_TAG_SLASH:w(_,o)?(R(n,`No whitespace between attributes`),n.attribName=o,n.attribValue=``,n.state=E.ATTRIB_NAME):R(n,`Invalid attribute name`);continue;case E.ATTRIB_VALUE_UNQUOTED:if(!C(o)){o===`&`?n.state=E.ATTRIB_VALUE_ENTITY_U:n.attribValue+=o;continue}V(n),o===`>`?H(n):n.state=E.ATTRIB;continue;case E.CLOSE_TAG:if(n.tagName)o===`>`?U(n):w(v,o)?n.tagName+=o:n.script?(n.script+=`</`+n.tagName+o,n.tagName=``,n.state=E.SCRIPT):(x(o)||R(n,`Invalid tagname in closing tag`),n.state=E.CLOSE_TAG_SAW_WHITE);else{if(x(o))continue;T(_,o)?n.script?(n.script+=`</`+o,n.state=E.SCRIPT):R(n,`Invalid tagname in closing tag.`):n.tagName=o}continue;case E.CLOSE_TAG_SAW_WHITE:if(x(o))continue;o===`>`?U(n):R(n,`Invalid characters in closing tag`);continue;case E.TEXT_ENTITY:case E.ATTRIB_VALUE_ENTITY_Q:case E.ATTRIB_VALUE_ENTITY_U:var l,u;switch(n.state){case E.TEXT_ENTITY:l=E.TEXT,u=`textNode`;break;case E.ATTRIB_VALUE_ENTITY_Q:l=E.ATTRIB_VALUE_QUOTED,u=`attribValue`;break;case E.ATTRIB_VALUE_ENTITY_U:l=E.ATTRIB_VALUE_UNQUOTED,u=`attribValue`;break}if(o===`;`){var d=W(n);n.opt.unparsedEntities&&!Object.values(e.XML_ENTITIES).includes(d)?((n.entityCount+=1)>n.opt.maxEntityCount&&I(n,`Parsed entity count exceeds max entity count`),(n.entityDepth+=1)>n.opt.maxEntityDepth&&I(n,`Parsed entity depth exceeds max entity depth`),n.entity=``,n.state=l,n.write(d),--n.entityDepth):(n[u]+=d,n.entity=``,n.state=l)}else w(n.entity.length?b:y,o)?n.entity+=o:(R(n,`Invalid character in entity name`),n[u]+=`&`+n.entity+o,n.entity=``,n.state=l);continue;default:throw Error(n,`Unknown state: `+n.state)}return n.position>=n.bufferCheckPosition&&r(n),n}
/*! http://mths.be/fromcodepoint v0.1.0 by @mathias */
String.fromCodePoint||(function(){var e=String.fromCharCode,t=Math.floor,n=function(){var n=16384,r=[],a,o,s=-1,c=arguments.length;if(!c)return``;for(var l=``;++s<c;){var u=Number(arguments[s]);if(!isFinite(u)||u<0||u>1114111||t(u)!==u)throw RangeError(`Invalid code point: `+u);u<=65535?r.push(u):(u-=65536,a=(u>>10)+55296,o=u%1024+56320,r.push(a,o)),(s+1===c||r.length>n)&&(l+=e.apply(null,r),r.length=0)}return l};Object.defineProperty?Object.defineProperty(String,`fromCodePoint`,{value:n,configurable:!0,writable:!0}):String.fromCodePoint=n})()})(e===void 0?e.sax={}:e)})),qt=e.t((e=>{(function(){"use strict";e.stripBOM=function(e){return e[0]===``?e.substring(1):e}}).call(e)})),Jt=e.t((e=>{(function(){"use strict";var t=new RegExp(/(?!xmlns)^.*:/);e.normalize=function(e){return e.toLowerCase()},e.firstCharLowerCase=function(e){return e.charAt(0).toLowerCase()+e.slice(1)},e.stripPrefix=function(e){return e.replace(t,``)},e.parseNumbers=function(e){return isNaN(e)||(e=e%1==0?parseInt(e,10):parseFloat(e)),e},e.parseBooleans=function(e){return/^(?:true|false)$/i.test(e)&&(e=e.toLowerCase()===`true`),e}}).call(e)})),Yt=e.t((e=>{(function(){"use strict";var t,n,r,a,o,s,c,l,u,d=function(e,t){return function(){return e.apply(t,arguments)}},f=function(e,t){for(var n in t)p.call(t,n)&&(e[n]=t[n]);function r(){this.constructor=e}return r.prototype=t.prototype,e.prototype=new r,e.__super__=t.prototype,e},p={}.hasOwnProperty;l=Kt(),r=require(`events`),t=qt(),c=Jt(),u=require(`timers`).setImmediate,n=dt().defaults,a=function(e){return typeof e==`object`&&!!e&&Object.keys(e).length===0},o=function(e){return e!==`__proto__`&&e!==`constructor`&&e!==`prototype`},s=function(e,t,n){var r,a,o;for(r=0,a=e.length;r<a;r++)o=e[r],t=o(t,n);return t},e.Parser=(function(r){f(m,r);function m(t){this.parseStringPromise=d(this.parseStringPromise,this),this.parseString=d(this.parseString,this),this.reset=d(this.reset,this),this.assignOrPush=d(this.assignOrPush,this),this.processAsync=d(this.processAsync,this);var r,a,o;if(!(this instanceof e.Parser))return new e.Parser(t);for(r in this.options={},a=n[`0.2`],a)p.call(a,r)&&(o=a[r],this.options[r]=o);for(r in t)p.call(t,r)&&(o=t[r],this.options[r]=o);this.options.xmlns&&(this.options.xmlnskey=this.options.attrkey+`ns`),this.options.normalizeTags&&(this.options.tagNameProcessors||(this.options.tagNameProcessors=[]),this.options.tagNameProcessors.unshift(c.normalize)),this.reset()}return m.prototype.processAsync=function(){var e,t;try{return this.remaining.length<=this.options.chunkSize?(e=this.remaining,this.remaining=``,this.saxParser=this.saxParser.write(e),this.saxParser.close()):(e=this.remaining.substr(0,this.options.chunkSize),this.remaining=this.remaining.substr(this.options.chunkSize,this.remaining.length),this.saxParser=this.saxParser.write(e),u(this.processAsync))}catch(e){if(t=e,!this.saxParser.errThrown)return this.saxParser.errThrown=!0,this.emit(t)}},m.prototype.assignOrPush=function(e,t,n){if(o(t))return t in e?(e[t]instanceof Array||(e[t]=[e[t]]),e[t].push(n)):this.options.explicitArray?e[t]=[n]:e[t]=n},m.prototype.reset=function(){var e,t,n,r;return this.removeAllListeners(),this.saxParser=l.parser(this.options.strict,{trim:!1,normalize:!1,xmlns:this.options.xmlns}),this.saxParser.errThrown=!1,this.saxParser.onerror=(function(e){return function(t){if(e.saxParser.resume(),!e.saxParser.errThrown)return e.saxParser.errThrown=!0,e.emit(`error`,t)}})(this),this.saxParser.onend=(function(e){return function(){if(!e.saxParser.ended)return e.saxParser.ended=!0,e.emit(`end`,e.resultObject)}})(this),this.saxParser.ended=!1,this.EXPLICIT_CHARKEY=this.options.explicitCharkey,this.resultObject=null,r=[],e=this.options.attrkey,t=this.options.charkey,this.saxParser.onopentag=(function(n){return function(a){var c,l,u={},d,f;if(u[t]=``,!n.options.ignoreAttrs)for(c in f=a.attributes,f)p.call(f,c)&&(!(e in u)&&!n.options.mergeAttrs&&(u[e]={}),l=n.options.attrValueProcessors?s(n.options.attrValueProcessors,a.attributes[c],c):a.attributes[c],d=n.options.attrNameProcessors?s(n.options.attrNameProcessors,c):c,o(d)&&(n.options.mergeAttrs?n.assignOrPush(u,d,l):u[e][d]=l));return u[`#name`]=n.options.tagNameProcessors?s(n.options.tagNameProcessors,a.name):a.name,n.options.xmlns&&(u[n.options.xmlnskey]={uri:a.uri,local:a.local}),r.push(u)}})(this),this.saxParser.onclosetag=(function(e){return function(){var n,c,l,u,d,f=r.pop(),m,h,g,_;if(d=f[`#name`],(!e.options.explicitChildren||!e.options.preserveChildrenOrder)&&delete f[`#name`],f.cdata===!0&&(n=f.cdata,delete f.cdata),g=r[r.length-1],f[t].match(/^\s*$/)&&!n?(c=f[t],delete f[t]):(e.options.trim&&(f[t]=f[t].trim()),e.options.normalize&&(f[t]=f[t].replace(/\s{2,}/g,` `).trim()),f[t]=e.options.valueProcessors?s(e.options.valueProcessors,f[t],d):f[t],Object.keys(f).length===1&&t in f&&!e.EXPLICIT_CHARKEY&&(f=f[t])),a(f)&&(f=typeof e.options.emptyTag==`function`?e.options.emptyTag():e.options.emptyTag===``?c:e.options.emptyTag),e.options.validator!=null&&(_=`/`+(function(){var e,t,n=[];for(e=0,t=r.length;e<t;e++)u=r[e],n.push(u[`#name`]);return n})().concat(d).join(`/`),(function(){var t;try{return f=e.options.validator(_,g&&g[d],f)}catch(n){return t=n,e.emit(`error`,t)}})()),e.options.explicitChildren&&!e.options.mergeAttrs&&typeof f==`object`){if(!e.options.preserveChildrenOrder)u={},e.options.attrkey in f&&(u[e.options.attrkey]=f[e.options.attrkey],delete f[e.options.attrkey]),!e.options.charsAsChildren&&e.options.charkey in f&&(u[e.options.charkey]=f[e.options.charkey],delete f[e.options.charkey]),Object.getOwnPropertyNames(f).length>0&&(u[e.options.childkey]=f),f=u;else if(g){for(l in g[e.options.childkey]=g[e.options.childkey]||[],m={},f)p.call(f,l)&&o(l)&&(m[l]=f[l]);g[e.options.childkey].push(m),delete f[`#name`],Object.keys(f).length===1&&t in f&&!e.EXPLICIT_CHARKEY&&(f=f[t])}}return r.length>0?e.assignOrPush(g,d,f):(e.options.explicitRoot&&(h=f,f={},f[d]=h),e.resultObject=f,e.saxParser.ended=!0,e.emit(`end`,e.resultObject))}})(this),n=(function(e){return function(n){var a,o=r[r.length-1];if(o)return o[t]+=n,e.options.explicitChildren&&e.options.preserveChildrenOrder&&e.options.charsAsChildren&&(e.options.includeWhiteChars||n.replace(/\\n/g,``).trim()!==``)&&(o[e.options.childkey]=o[e.options.childkey]||[],a={"#name":`__text__`},a[t]=n,e.options.normalize&&(a[t]=a[t].replace(/\s{2,}/g,` `).trim()),o[e.options.childkey].push(a)),o}})(this),this.saxParser.ontext=n,this.saxParser.oncdata=(function(e){return function(e){var t=n(e);if(t)return t.cdata=!0}})(this)},m.prototype.parseString=function(e,n){var r;n!=null&&typeof n==`function`&&(this.on(`end`,function(e){return this.reset(),n(null,e)}),this.on(`error`,function(e){return this.reset(),n(e)}));try{return e=e.toString(),e.trim()===``?(this.emit(`end`,null),!0):(e=t.stripBOM(e),this.options.async?(this.remaining=e,u(this.processAsync),this.saxParser):this.saxParser.write(e).close())}catch(e){if(r=e,!(this.saxParser.errThrown||this.saxParser.ended))return this.emit(`error`,r),this.saxParser.errThrown=!0;if(this.saxParser.ended)throw r}},m.prototype.parseStringPromise=function(e){return new Promise((function(t){return function(n,r){return t.parseString(e,function(e,t){return e?r(e):n(t)})}})(this))},m})(r),e.parseString=function(t,n,r){var a,o,s;return r==null?(typeof n==`function`&&(a=n),o={}):(typeof r==`function`&&(a=r),typeof n==`object`&&(o=n)),s=new e.Parser(o),s.parseString(t,a)},e.parseStringPromise=function(t,n){var r,a;return typeof n==`object`&&(r=n),a=new e.Parser(r),a.parseStringPromise(t)}}).call(e)})),Xt=e.t((e=>{(function(){"use strict";var t,n,r,a,o=function(e,t){for(var n in t)s.call(t,n)&&(e[n]=t[n]);function r(){this.constructor=e}return r.prototype=t.prototype,e.prototype=new r,e.__super__=t.prototype,e},s={}.hasOwnProperty;n=dt(),t=Gt(),r=Yt(),a=Jt(),e.defaults=n.defaults,e.processors=a,e.ValidationError=(function(e){o(t,e);function t(e){this.message=e}return t})(Error),e.Builder=t.Builder,e.Parser=r.Parser,e.parseString=r.parseString,e.parseStringPromise=r.parseStringPromise}).call(e)})),Zt=e.t((e=>{Object.defineProperty(e,`__esModule`,{value:!0}),e._processAndroidXML=l,e.escapeAndroidString=p,e.format=f,e.parseXMLAsync=u,e.readXMLAsync=c,e.unescapeAndroidString=m,e.writeXMLAsync=s;function t(){let e=o(require(`fs`));return t=function(){return e},e}function n(){let e=require(`os`);return n=function(){return e},e}function r(){let e=o(require(`path`));return r=function(){return e},e}function a(){let e=Xt();return a=function(){return e},e}function o(e){return e&&e.__esModule?e:{default:e}}async function s(e){let n=f(e.xml);await t().default.promises.mkdir(r().default.dirname(e.path),{recursive:!0}),await t().default.promises.writeFile(e.path,n)}async function c(e){let n=``;try{n=await t().default.promises.readFile(e.path,{encoding:`utf8`,flag:`r`})}catch{}return l(await new(a()).Parser().parseStringPromise(n||e.fallback||``))}function l(e){if(Array.isArray(e?.resources?.string)){for(let t of e?.resources?.string)if(!(t.$.translatable===`false`||t.$.translatable===!1)){if(!(`_`in t))throw Error(`Empty string resource not supported: ${JSON.stringify(t)}`);t._=m(t._)}}return e}async function u(e){return await new(a()).Parser().parseStringPromise(e)}let d=(e,t)=>Array(e+1).join(t);function f(e,{indentLevel:t=2,newline:r=n().EOL}={}){let o;if(typeof e==`string`)o=e;else if(e.toString){let t=new(a()).Builder({headless:!0});if(Array.isArray(e?.resources?.string))for(let t of e?.resources?.string)t.$.translatable===`false`||t.$.translatable===!1||(t._=p(t._));return o=t.buildObject(e),o}else throw Error(`Invalid XML value passed in: ${e}`);let s=d(t,` `),c=``,l=o.replace(/(>)(<)(\/*)/g,`$1${r}$2$3`),u=0;return l.split(/\r?\n/).map(e=>e.trim()).forEach(e=>{let t=0;e.match(/.+<\/\w[^>]*>$/)?t=0:e.match(/^<\/\w/)?u!==0&&--u:t=+!!e.match(/^<\w([^>]*[^/])?>.*$/);let n=d(u,s);c+=n+e+r,u+=t}),c.trim()}function p(e){return e=e.replace(/[\n\r\t'"@]/g,e=>{switch(e){case`"`:case`'`:case`@`:return`\\`+e;case`
`:return`\\n`;case`\r`:return`\\r`;case`	`:return`\\t`;default:throw Error(`Cannot escape unhandled XML character: ${e}`)}}),e.match(/(^\s|\s$)/)&&(e=`"`+e+`"`),e}function m(e){return e.replace(/\\(.)/g,`$1`)}})),Qt=e.t((e=>{Object.defineProperty(e,`__esModule`,{value:!0}),e.addMetaDataItemToMainApplication=_,e.addUsesLibraryItemToMainApplication=C,e.ensureToolsAvailable=E,e.findMetaDataItem=b,e.findUsesLibraryItem=x,e.getMainActivity=g,e.getMainActivityOrThrow=m,e.getMainApplication=f,e.getMainApplicationMetaDataValue=S,e.getMainApplicationOrThrow=p,e.getRunnableActivity=h,e.prefixAndroidKeys=T,e.readAndroidManifestAsync=u,e.removeMetaDataItemFromMainApplication=v,e.removeUsesLibraryItemFromMainApplication=w,e.writeAndroidManifestAsync=l;function t(){let e=c(require(`assert`));return t=function(){return e},e}function n(){let e=c(require(`fs`));return n=function(){return e},e}function r(){let e=c(require(`path`));return r=function(){return e},e}function a(){let e=s(Zt());return a=function(){return e},e}function o(e){if(typeof WeakMap!=`function`)return null;var t=new WeakMap,n=new WeakMap;return(o=function(e){return e?n:t})(e)}function s(e,t){if(!t&&e&&e.__esModule)return e;if(e===null||typeof e!=`object`&&typeof e!=`function`)return{default:e};var n=o(t);if(n&&n.has(e))return n.get(e);var r={__proto__:null},a=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var s in e)if(s!==`default`&&{}.hasOwnProperty.call(e,s)){var c=a?Object.getOwnPropertyDescriptor(e,s):null;c&&(c.get||c.set)?Object.defineProperty(r,s,c):r[s]=e[s]}return r.default=e,n&&n.set(e,r),r}function c(e){return e&&e.__esModule?e:{default:e}}async function l(e,t){let o=a().format(t);await n().default.promises.mkdir(r().default.dirname(e),{recursive:!0}),await n().default.promises.writeFile(e,o)}async function u(e){let t=await a().readXMLAsync({path:e});if(!d(t))throw Error(`Invalid manifest found at: `+e);return t}function d(e){return!!e.manifest}function f(e){return e?.manifest?.application?.filter(e=>e?.$?.[`android:name`].endsWith(`.MainApplication`))[0]??null}function p(e){let n=f(e);return(0,t().default)(n,`AndroidManifest.xml is missing the required MainApplication element`),n}function m(e){let n=g(e);return(0,t().default)(n,`AndroidManifest.xml is missing the required MainActivity element`),n}function h(e){let t=e?.manifest?.application?.[0]??f(e);if(!t)return null;let n=t.activity?.filter?.(e=>e.$[`android:enabled`]!==`false`&&e.$[`android:enabled`]!==!1);if(!n)return null;let r=e=>!!e.action?.some(e=>e.$[`android:name`]===`android.intent.action.MAIN`)&&!!e.category?.some(e=>e.$[`android:name`]===`android.intent.category.LAUNCHER`);for(let e of n)if(Array.isArray(e[`intent-filter`])){for(let t of e[`intent-filter`])if(r(t))return e}let a=n.map(e=>e.$[`android:name`]),o=(t[`activity-alias`]??[]).filter(e=>e.$[`android:enabled`]!==`false`&&a.includes(e.$[`android:targetActivity`]));if(o.length){for(let e of o)if(Array.isArray(e[`intent-filter`])){for(let t of e[`intent-filter`])if(r(t)){let t=n.find(t=>t.$[`android:name`]===e.$[`android:targetActivity`]);if(t)return t}}}return null}function g(e){return e?.manifest?.application?.[0]?.activity?.filter?.(e=>e.$[`android:name`]===`.MainActivity`)?.[0]??null}function _(e,t,n,r=`value`){let a,o={$:T({name:t,[r]:n})};return e[`meta-data`]?(a=e[`meta-data`].filter(e=>e.$[`android:name`]===t),a.length?a[0].$[`android:${r}`]=n:e[`meta-data`].push(o)):e[`meta-data`]=[o],e}function v(e,t){let n=b(e,t);return e?.[`meta-data`]&&n>-1&&e[`meta-data`].splice(n,1),e}function y(e,t,n){let r=e[t];return Array.isArray(r)?r.findIndex(e=>e.$[`android:name`]===n):-1}function b(e,t){return y(e,`meta-data`,t)}function x(e,t){return y(e,`uses-library`,t)}function S(e,t){let n=f(e);return n?.hasOwnProperty(`meta-data`)?(n?.[`meta-data`]?.find(e=>e.$[`android:name`]===t))?.$[`android:value`]??null:null}function C(e,t){let n,r={$:T(t)};return e[`uses-library`]?(n=e[`uses-library`].filter(e=>e.$[`android:name`]===t.name),n.length?n[0].$=r.$:e[`uses-library`].push(r)):e[`uses-library`]=[r],e}function w(e,t){let n=x(e,t);return e?.[`uses-library`]&&n>-1&&e[`uses-library`].splice(n,1),e}function T(e){return Object.entries(e).reduce((e,[t,n])=>({...e,[`android:${t}`]:n}),{})}function E(e){return D(e,{namespace:`xmlns:tools`,url:`http://schemas.android.com/tools`})}function D(e,{namespace:t,url:n}){return e?.manifest?.$?.[t]||(e.manifest.$[t]=n),e}})),$t=e.t(((e,t)=>{let n=require(`url`),r=!1,a=!0;function o(e,t){let n=process.env[e];if(n===void 0){if(t===void 0&&!a)return n;if(t===void 0)throw Error(`GetEnv.Nonexistent: `+e+` does not exist and no fallback value provided.`);if(r)throw Error(`GetEnv.DisabledFallbacks: `+e+` relying on fallback when fallbacks have been disabled`);return``+t}return n}let s={string:function(e){return``+e},int:function(e){if(!e.match(/^-?\d+$/))throw Error(`GetEnv.NoInteger: `+e+` is not an integer.`);return+e},float:function(e){if(+e==1/0||+e==-1/0)throw Error(`GetEnv.Infinity: `+e+` is set to +/-Infinity.`);if(isNaN(e)||e===``)throw Error(`GetEnv.NoFloat: `+e+` is not a number.`);return+e},bool:function(e){if(!((e||``).toLowerCase()===`true`||(e||``).toLowerCase()===`false`))throw Error(`GetEnv.NoBoolean: `+e+` is not a boolean.`);return(e||``).toLowerCase()===`true`},boolish:function(e){try{return s.bool(e)}catch{if(!(e===`1`||e===`0`))throw Error(`GetEnv.NoBoolean: `+e+` is not a boolean.`);return e===`1`}},url:n.parse};function c(e){return function(t,n){if(typeof t==`string`){let r=o(t,n);return s[e](r)}else return l.multi(t)}}let l=c(`string`);Object.keys(s).forEach(function(e){l[e]=c(e)}),l.array=function(e,t,n,r){if(t||=`string`,r||=/\s*,\s*/,Object.keys(s).indexOf(t)===-1)throw Error(`GetEnv.ArrayUndefinedType: Unknown array type `+t);return o(e,n).split(r).map(s[t])},l.multi=function(e){let t={};for(let n in e){let r=e[n];if(Array.isArray(r))switch(r.length){case 1:case 2:t[n]=l(r[0],r[1]);break;case 3:t[n]=l[r[2]](r[0],r[1]);break;default:throw`getenv.multi(): invalid spec`}else t[n]=l(r)}return t},l.disableFallbacks=function(){r=!0},l.enableFallbacks=function(){r=!1},l.disableErrors=function(){a=!1},l.enableErrors=function(){a=!0},t.exports=l})),en=e.t((e=>{Object.defineProperty(e,`__esModule`,{value:!0}),e.UnexpectedError=e.PluginError=void 0,e.UnexpectedError=class extends Error{name=`UnexpectedError`;constructor(e){super(`${e}\nReport this issue: https://github.com/expo/expo/issues`)}},e.PluginError=class extends Error{name=`PluginError`;isPluginError=!0;constructor(e,t,n){super(n?`${e}\n└─ Cause: ${n.name}: ${n.message}`:e),this.code=t,this.cause=n}}})),tn=e.t((e=>{Object.defineProperty(e,`__esModule`,{value:!0}),e.withBaseMod=c,e.withMod=d;function t(){let e=o(n.l());return t=function(){return e},e}function r(){let e=$t();return r=function(){return e},e}function a(){let e=en();return a=function(){return e},e}function o(e){return e&&e.__esModule?e:{default:e}}let s=(0,r().boolish)(`EXPO_DEBUG`,!1);function c(e,{platform:n,mod:r,action:o,skipEmptyMod:c,isProvider:d,isIntrospective:f,saveToInternal:p}){e.mods||={},e.mods[n]||(e.mods[n]={});let m=e.mods[n][r];if(!m){if(c)return e;m=e=>e}let h=``,g=e._internal?.isDebug??s;if(g){let e=Error().stack;h=u(e),h=`${t().default.bold(`${n}.${r}`)}: ${h}`}if(m.isProvider)throw d?new(a()).PluginError(`Cannot set provider mod for "${n}.${r}" because another is already being used.`,`CONFLICTING_PROVIDER`):new(a()).PluginError(`Cannot add mod to "${n}.${r}" because the provider has already been added. Provider must be the last mod added.`,`INVALID_MOD_ORDER`);async function _({modRequest:e,...t}){g&&console.log(h);let a=await o({...t,modRequest:{...e,nextMod:m}});return p&&l(a,n,r,a.modResults),a}return _.isProvider=d,f&&(_.isIntrospective=f),e.mods[n][r]=_,e}function l(e,t,n,r){e._internal||={},e._internal.modResults||(e._internal.modResults={}),e._internal.modResults[t]||(e._internal.modResults[t]={}),e._internal.modResults[t][n]=r}function u(e){if(!e)return``;let n=[];for(let t of e.split(`
`)){let[e,r]=t.trim().split(` `);e===`at`&&n.push(r)}let r=n.map(e=>e?.match(/^(\bwith[A-Z].*?\b)/)?.[1]?.trim()??e?.match(/\.(\bwith[A-Z].*?\b)/)?.[1]?.trim()??null).filter(Boolean).filter(e=>![`withMod`,`withBaseMod`,`withExtendedMod`].includes(e)),a=[`withPlugins`,`withRunOnce`,`withStaticPlugin`];return r.reverse().map((e,n)=>(e.includes(`BaseMod`)&&(e=t().default.bold(e)),e.toLowerCase().includes(`dangerous`)&&(e=t().default.red(e)),n===0?t().default.blue(e):a.includes(e)?t().default.dim(e):e)).join(` ➜ `)}function d(e,{platform:t,mod:n,action:r}){return c(e,{platform:t,mod:n,isProvider:!1,async action({modRequest:{nextMod:e,...t},modResults:n,...a}){return e(await r({modRequest:t,modResults:n,...a}))}})}})),nn=e.t((e=>{Object.defineProperty(e,`__esModule`,{value:!0}),e.createAndroidManifestPlugin=n,e.createStringsXmlPlugin=r,e.withStringsXml=e.withSettingsGradle=e.withProjectBuildGradle=e.withMainApplication=e.withMainActivity=e.withGradleProperties=e.withAppBuildGradle=e.withAndroidStyles=e.withAndroidManifest=e.withAndroidColorsNight=e.withAndroidColors=void 0;function t(){let e=tn();return t=function(){return e},e}function n(e,t){let n=t=>a(t,async t=>(t.modResults=await e(t,t.modResults),t));return t&&Object.defineProperty(n,`name`,{value:t}),n}function r(e,t){let n=t=>o(t,async t=>(t.modResults=await e(t,t.modResults),t));return t&&Object.defineProperty(n,`name`,{value:t}),n}let a=(e,n)=>(0,t().withMod)(e,{platform:`android`,mod:`manifest`,action:n});e.withAndroidManifest=a;let o=(e,n)=>(0,t().withMod)(e,{platform:`android`,mod:`strings`,action:n});e.withStringsXml=o,e.withAndroidColors=(e,n)=>(0,t().withMod)(e,{platform:`android`,mod:`colors`,action:n}),e.withAndroidColorsNight=(e,n)=>(0,t().withMod)(e,{platform:`android`,mod:`colorsNight`,action:n}),e.withAndroidStyles=(e,n)=>(0,t().withMod)(e,{platform:`android`,mod:`styles`,action:n}),e.withMainActivity=(e,n)=>(0,t().withMod)(e,{platform:`android`,mod:`mainActivity`,action:n}),e.withMainApplication=(e,n)=>(0,t().withMod)(e,{platform:`android`,mod:`mainApplication`,action:n}),e.withProjectBuildGradle=(e,n)=>(0,t().withMod)(e,{platform:`android`,mod:`projectBuildGradle`,action:n}),e.withAppBuildGradle=(e,n)=>(0,t().withMod)(e,{platform:`android`,mod:`appBuildGradle`,action:n}),e.withSettingsGradle=(e,n)=>(0,t().withMod)(e,{platform:`android`,mod:`settingsGradle`,action:n}),e.withGradleProperties=(e,n)=>(0,t().withMod)(e,{platform:`android`,mod:`gradleProperties`,action:n})})),rn=e.t((e=>{Object.defineProperty(e,`__esModule`,{value:!0}),e.getAllowBackup=r,e.getAllowBackupFromManifest=o,e.setAllowBackup=a,e.withAllowBackup=void 0;function t(){let e=Qt();return t=function(){return e},e}function n(){let e=nn();return n=function(){return e},e}e.withAllowBackup=(0,n().createAndroidManifestPlugin)(a,`withAllowBackup`);function r(e){return e.android?.allowBackup??!0}function a(e,n){let a=r(e),o=(0,t().getMainApplication)(n);return o?.$&&(o.$[`android:allowBackup`]=String(a)),n}function o(e){let n=(0,t().getMainApplication)(e);return n?.$?String(n.$[`android:allowBackup`])===`true`:null}})),an=e.t((e=>{Object.defineProperty(e,`__esModule`,{value:!0}),e.createBuildGradlePropsConfigPlugin=n,e.updateAndroidBuildPropertiesFromConfig=r,e.updateAndroidBuildProperty=a,e.withJsEngineGradleProps=void 0;function t(){let e=nn();return t=function(){return e},e}function n(e,n){let a=(n,a)=>(0,t().withGradleProperties)(n,t=>(t.modResults=r(a??t,t.modResults,e),t));return n&&Object.defineProperty(a,`name`,{value:n}),a}e.withJsEngineGradleProps=n([{propName:`hermesEnabled`,propValueGetter:e=>((e.android?.jsEngine??e.jsEngine??`hermes`)===`hermes`).toString()}],`withJsEngineGradleProps`);function r(e,t,n){for(let r of n){let n=r.propValueGetter(e);a(t,r.propName,n)}return t}function a(e,t,n,r){let a=e.findIndex(e=>e.type===`property`&&e.key===t),o=a>=0?e[a]:null;if(n){let r={type:`property`,key:t,value:n};if(o&&o.type===`property`){try{let t=JSON.parse(o.value),r=JSON.parse(n);if(Array.isArray(t)&&Array.isArray(r)){let n=t.map(e=>JSON.stringify(e)),a=r.map(e=>JSON.stringify(e)),s=[...new Set([...n,...a])].map(e=>JSON.parse(e));return o.value=JSON.stringify(s),e}}catch{}return o.value=n,e}return e.push(r),e}return r?.removePropWhenValueIsNull&&a>=0&&e.splice(a,1),e}})),on=e.t((e=>{var t=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports),n=t(e=>{"use strict";Object.defineProperty(e,`__esModule`,{value:!0}),e.range=e.balanced=void 0,e.balanced=(n,r,a)=>{let o=n instanceof RegExp?t(n,a):n,s=r instanceof RegExp?t(r,a):r,c=o!==null&&s!=null&&(0,e.range)(o,s,a);return c&&{start:c[0],end:c[1],pre:a.slice(0,c[0]),body:a.slice(c[0]+o.length,c[1]),post:a.slice(c[1]+s.length)}};var t=(e,t)=>{let n=t.match(e);return n?n[0]:null};e.range=(e,t,n)=>{let r,a,o,s,c,l=n.indexOf(e),u=n.indexOf(t,l+1),d=l;if(l>=0&&u>0){if(e===t)return[l,u];for(r=[],o=n.length;d>=0&&!c;){if(d===l)r.push(d),l=n.indexOf(e,d+1);else if(r.length===1){let e=r.pop();e!==void 0&&(c=[e,u])}else a=r.pop(),a!==void 0&&a<o&&(o=a,s=u),u=n.indexOf(t,d+1);d=l<u&&l>=0?l:u}r.length&&s!==void 0&&(c=[o,s])}return c}}),r=t(e=>{"use strict";Object.defineProperty(e,`__esModule`,{value:!0}),e.EXPANSION_MAX=void 0,e.expand=C;var t=n(),r=`\0SLASH`+Math.random()+`\0`,a=`\0OPEN`+Math.random()+`\0`,o=`\0CLOSE`+Math.random()+`\0`,s=`\0COMMA`+Math.random()+`\0`,c=`\0PERIOD`+Math.random()+`\0`,l=new RegExp(r,`g`),u=new RegExp(a,`g`),d=new RegExp(o,`g`),f=new RegExp(s,`g`),p=new RegExp(c,`g`),m=/\\\\/g,h=/\\{/g,g=/\\}/g,_=/\\,/g,v=/\\./g;e.EXPANSION_MAX=1e5;function y(e){return isNaN(e)?e.charCodeAt(0):parseInt(e,10)}function b(e){return e.replace(m,r).replace(h,a).replace(g,o).replace(_,s).replace(v,c)}function x(e){return e.replace(l,`\\`).replace(u,`{`).replace(d,`}`).replace(f,`,`).replace(p,`.`)}function S(e){if(!e)return[``];let n=[],r=(0,t.balanced)(`{`,`}`,e);if(!r)return e.split(`,`);let{pre:a,body:o,post:s}=r,c=a.split(`,`);c[c.length-1]+=`{`+o+`}`;let l=S(s);return s.length&&(c[c.length-1]+=l.shift(),c.push.apply(c,l)),n.push.apply(n,c),n}function C(t,n={}){if(!t)return[];let{max:r=e.EXPANSION_MAX}=n;return t.slice(0,2)===`{}`&&(t=`\\{\\}`+t.slice(2)),O(b(t),r,!0).map(x)}function w(e){return`{`+e+`}`}function T(e){return/^-?0\d/.test(e)}function E(e,t){return e<=t}function D(e,t){return e>=t}function O(e,n,r){let a=[],s=(0,t.balanced)(`{`,`}`,e);if(!s)return[e];let c=s.pre,l=s.post.length?O(s.post,n,!1):[``];if(/\$$/.test(s.pre))for(let e=0;e<l.length&&e<n;e++){let t=c+`{`+s.body+`}`+l[e];a.push(t)}else{let t=/^-?\d+\.\.-?\d+(?:\.\.-?\d+)?$/.test(s.body),u=/^[a-zA-Z]\.\.[a-zA-Z](?:\.\.-?\d+)?$/.test(s.body),d=t||u,f=s.body.indexOf(`,`)>=0;if(!d&&!f)return s.post.match(/,(?!,).*\}/)?(e=s.pre+`{`+s.body+o+s.post,O(e,n,!0)):[e];let p;if(d)p=s.body.split(/\.\./);else if(p=S(s.body),p.length===1&&p[0]!==void 0&&(p=O(p[0],n,!1).map(w),p.length===1))return l.map(e=>s.pre+p[0]+e);let m;if(d&&p[0]!==void 0&&p[1]!==void 0){let e=y(p[0]),t=y(p[1]),n=Math.max(p[0].length,p[1].length),r=p.length===3&&p[2]!==void 0?Math.abs(y(p[2])):1,a=E;t<e&&(r*=-1,a=D);let o=p.some(T);m=[];for(let s=e;a(s,t);s+=r){let e;if(u)e=String.fromCharCode(s),e===`\\`&&(e=``);else if(e=String(s),o){let t=n-e.length;if(t>0){let n=Array(t+1).join(`0`);e=s<0?`-`+n+e.slice(1):n+e}}m.push(e)}}else{m=[];for(let e=0;e<p.length;e++)m.push.apply(m,O(p[e],n,!1))}for(let e=0;e<m.length;e++)for(let t=0;t<l.length&&a.length<n;t++){let n=c+m[e]+l[t];(!r||d||n)&&a.push(n)}}return a}}),a=t(e=>{"use strict";Object.defineProperty(e,`__esModule`,{value:!0}),e.assertValidPattern=void 0;var t=1024*64;e.assertValidPattern=e=>{if(typeof e!=`string`)throw TypeError(`invalid pattern`);if(e.length>t)throw TypeError(`pattern is too long`)}}),o=t(e=>{"use strict";Object.defineProperty(e,`__esModule`,{value:!0}),e.parseClass=void 0;var t={"[:alnum:]":[`\\p{L}\\p{Nl}\\p{Nd}`,!0],"[:alpha:]":[`\\p{L}\\p{Nl}`,!0],"[:ascii:]":[`\\x00-\\x7f`,!1],"[:blank:]":[`\\p{Zs}\\t`,!0],"[:cntrl:]":[`\\p{Cc}`,!0],"[:digit:]":[`\\p{Nd}`,!0],"[:graph:]":[`\\p{Z}\\p{C}`,!0,!0],"[:lower:]":[`\\p{Ll}`,!0],"[:print:]":[`\\p{C}`,!0],"[:punct:]":[`\\p{P}`,!0],"[:space:]":[`\\p{Z}\\t\\r\\n\\v\\f`,!0],"[:upper:]":[`\\p{Lu}`,!0],"[:word:]":[`\\p{L}\\p{Nl}\\p{Nd}\\p{Pc}`,!0],"[:xdigit:]":[`A-Fa-f0-9`,!1]},n=e=>e.replace(/[[\]\\-]/g,`\\$&`),r=e=>e.replace(/[-[\]{}()*+?.,\\^$|#\s]/g,`\\$&`),a=e=>e.join(``);e.parseClass=(e,o)=>{let s=o;if(e.charAt(s)!==`[`)throw Error(`not in a brace expression`);let c=[],l=[],u=s+1,d=!1,f=!1,p=!1,m=!1,h=s,g=``;t:for(;u<e.length;){let r=e.charAt(u);if((r===`!`||r===`^`)&&u===s+1){m=!0,u++;continue}if(r===`]`&&d&&!p){h=u+1;break}if(d=!0,r===`\\`&&!p){p=!0,u++;continue}if(r===`[`&&!p){for(let[n,[r,a,o]]of Object.entries(t))if(e.startsWith(n,u)){if(g)return[`$.`,!1,e.length-s,!0];u+=n.length,o?l.push(r):c.push(r),f||=a;continue t}}if(p=!1,g){r>g?c.push(n(g)+`-`+n(r)):r===g&&c.push(n(r)),g=``,u++;continue}if(e.startsWith(`-]`,u+1)){c.push(n(r+`-`)),u+=2;continue}if(e.startsWith(`-`,u+1)){g=r,u+=2;continue}c.push(n(r)),u++}if(h<u)return[``,!1,0,!1];if(!c.length&&!l.length)return[`$.`,!1,e.length-s,!0];if(l.length===0&&c.length===1&&/^\\?.$/.test(c[0])&&!m)return[r(c[0].length===2?c[0].slice(-1):c[0]),!1,h-s,!1];let _=`[`+(m?`^`:``)+a(c)+`]`,v=`[`+(m?``:`^`)+a(l)+`]`;return[c.length&&l.length?`(`+_+`|`+v+`)`:c.length?_:v,f,h-s,!0]}}),s=t(e=>{"use strict";Object.defineProperty(e,`__esModule`,{value:!0}),e.unescape=void 0,e.unescape=(e,{windowsPathsNoEscape:t=!1,magicalBraces:n=!0}={})=>n?t?e.replace(/\[([^\/\\])\]/g,`$1`):e.replace(/((?!\\).|^)\[([^\/\\])\]/g,`$1$2`).replace(/\\([^\/])/g,`$1`):t?e.replace(/\[([^\/\\{}])\]/g,`$1`):e.replace(/((?!\\).|^)\[([^\/\\{}])\]/g,`$1$2`).replace(/\\([^\/{}])/g,`$1`)}),c=t(e=>{"use strict";Object.defineProperty(e,`__esModule`,{value:!0}),e.AST=void 0;var t=o(),n=s(),r=new Set([`!`,`?`,`+`,`*`,`@`]),a=e=>r.has(e),c=`(?!(?:^|/)\\.\\.?(?:$|/))`,l=`(?!\\.)`,u=new Set([`[`,`.`]),d=new Set([`..`,`.`]),f=new Set(`().*{}+?[]^$\\!`),p=e=>e.replace(/[-[\]{}()*+?.,\\^$|#\s]/g,`\\$&`),m=`[^/]`,h=m+`*?`,g=m+`+?`;e.AST=class e{type;#e;#t;#n=!1;#r=[];#i;#a;#o;#s=!1;#c;#l;#u=!1;constructor(e,t,n={}){this.type=e,e&&(this.#t=!0),this.#i=t,this.#e=this.#i?this.#i.#e:this,this.#c=this.#e===this?n:this.#e.#c,this.#o=this.#e===this?[]:this.#e.#o,e===`!`&&!this.#e.#s&&this.#o.push(this),this.#a=this.#i?this.#i.#r.length:0}get hasMagic(){if(this.#t!==void 0)return this.#t;for(let e of this.#r)if(typeof e!=`string`&&(e.type||e.hasMagic))return this.#t=!0;return this.#t}toString(){return this.#l===void 0?this.type?this.#l=this.type+`(`+this.#r.map(e=>String(e)).join(`|`)+`)`:this.#l=this.#r.map(e=>String(e)).join(``):this.#l}#d(){if(this!==this.#e)throw Error(`should only call on root`);if(this.#s)return this;this.toString(),this.#s=!0;let e;for(;e=this.#o.pop();){if(e.type!==`!`)continue;let t=e,n=t.#i;for(;n;){for(let r=t.#a+1;!n.type&&r<n.#r.length;r++)for(let t of e.#r){if(typeof t==`string`)throw Error(`string part in extglob AST??`);t.copyIn(n.#r[r])}t=n,n=t.#i}}return this}push(...t){for(let n of t)if(n!==``){if(typeof n!=`string`&&!(n instanceof e&&n.#i===this))throw Error(`invalid part: `+n);this.#r.push(n)}}toJSON(){let e=this.type===null?this.#r.slice().map(e=>typeof e==`string`?e:e.toJSON()):[this.type,...this.#r.map(e=>e.toJSON())];return this.isStart()&&!this.type&&e.unshift([]),this.isEnd()&&(this===this.#e||this.#e.#s&&this.#i?.type===`!`)&&e.push({}),e}isStart(){if(this.#e===this)return!0;if(!this.#i?.isStart())return!1;if(this.#a===0)return!0;let t=this.#i;for(let n=0;n<this.#a;n++){let r=t.#r[n];if(!(r instanceof e&&r.type===`!`))return!1}return!0}isEnd(){if(this.#e===this||this.#i?.type===`!`)return!0;if(!this.#i?.isEnd())return!1;if(!this.type)return this.#i?.isEnd();let e=this.#i?this.#i.#r.length:0;return this.#a===e-1}copyIn(e){typeof e==`string`?this.push(e):this.push(e.clone(this))}clone(t){let n=new e(this.type,t);for(let e of this.#r)n.copyIn(e);return n}static#f(t,n,r,o){let s=!1,c=!1,l=-1,u=!1;if(n.type===null){let d=r,f=``;for(;d<t.length;){let r=t.charAt(d++);if(s||r===`\\`){s=!s,f+=r;continue}if(c){d===l+1?(r===`^`||r===`!`)&&(u=!0):r===`]`&&!(d===l+2&&u)&&(c=!1),f+=r;continue}else if(r===`[`){c=!0,l=d,u=!1,f+=r;continue}if(!o.noext&&a(r)&&t.charAt(d)===`(`){n.push(f),f=``;let a=new e(r,n);d=e.#f(t,a,d,o),n.push(a);continue}f+=r}return n.push(f),d}let d=r+1,f=new e(null,n),p=[],m=``;for(;d<t.length;){let r=t.charAt(d++);if(s||r===`\\`){s=!s,m+=r;continue}if(c){d===l+1?(r===`^`||r===`!`)&&(u=!0):r===`]`&&!(d===l+2&&u)&&(c=!1),m+=r;continue}else if(r===`[`){c=!0,l=d,u=!1,m+=r;continue}if(a(r)&&t.charAt(d)===`(`){f.push(m),m=``;let n=new e(r,f);f.push(n),d=e.#f(t,n,d,o);continue}if(r===`|`){f.push(m),m=``,p.push(f),f=new e(null,n);continue}if(r===`)`)return m===``&&n.#r.length===0&&(n.#u=!0),f.push(m),m=``,n.push(...p,f),d;m+=r}return n.type=null,n.#t=void 0,n.#r=[t.substring(r-1)],d}static fromGlob(t,n={}){let r=new e(null,void 0,n);return e.#f(t,r,0,n),r}toMMPattern(){if(this!==this.#e)return this.#e.toMMPattern();let e=this.toString(),[t,n,r,a]=this.toRegExpSource();if(!(r||this.#t||this.#c.nocase&&!this.#c.nocaseMagicOnly&&e.toUpperCase()!==e.toLowerCase()))return n;let o=(this.#c.nocase?`i`:``)+(a?`u`:``);return Object.assign(RegExp(`^${t}$`,o),{_src:t,_glob:e})}get options(){return this.#c}toRegExpSource(t){let r=t??!!this.#c.dot;if(this.#e===this&&this.#d(),!this.type){let a=this.isStart()&&this.isEnd()&&!this.#r.some(e=>typeof e!=`string`),o=this.#r.map(n=>{let[r,o,s,c]=typeof n==`string`?e.#m(n,this.#t,a):n.toRegExpSource(t);return this.#t=this.#t||s,this.#n=this.#n||c,r}).join(``),s=``;if(this.isStart()&&typeof this.#r[0]==`string`&&!(this.#r.length===1&&d.has(this.#r[0]))){let e=u,n=r&&e.has(o.charAt(0))||o.startsWith(`\\.`)&&e.has(o.charAt(2))||o.startsWith(`\\.\\.`)&&e.has(o.charAt(4)),a=!r&&!t&&e.has(o.charAt(0));s=n?c:a?l:``}let f=``;return this.isEnd()&&this.#e.#s&&this.#i?.type===`!`&&(f=`(?:$|\\/)`),[s+o+f,(0,n.unescape)(o),this.#t=!!this.#t,this.#n]}let a=this.type===`*`||this.type===`+`,o=this.type===`!`?`(?:(?!(?:`:`(?:`,s=this.#p(r);if(this.isStart()&&this.isEnd()&&!s&&this.type!==`!`){let e=this.toString();return this.#r=[e],this.type=null,this.#t=void 0,[e,(0,n.unescape)(this.toString()),!1,!1]}let f=!a||t||r||!l?``:this.#p(!0);f===s&&(f=``),f&&(s=`(?:${s})(?:${f})*?`);let p=``;if(this.type===`!`&&this.#u)p=(this.isStart()&&!r?l:``)+g;else{let e=this.type===`!`?`))`+(this.isStart()&&!r&&!t?l:``)+h+`)`:this.type===`@`?`)`:this.type===`?`?`)?`:this.type===`+`&&f?`)`:this.type===`*`&&f?`)?`:`)${this.type}`;p=o+s+e}return[p,(0,n.unescape)(s),this.#t=!!this.#t,this.#n]}#p(e){return this.#r.map(t=>{if(typeof t==`string`)throw Error(`string type in extglob ast??`);let[n,r,a,o]=t.toRegExpSource(e);return this.#n=this.#n||o,n}).filter(e=>!(this.isStart()&&this.isEnd())||!!e).join(`|`)}static#m(e,r,a=!1){let o=!1,s=``,c=!1,l=!1;for(let n=0;n<e.length;n++){let u=e.charAt(n);if(o){o=!1,s+=(f.has(u)?`\\`:``)+u;continue}if(u===`*`){if(l)continue;l=!0,s+=a&&/^[*]+$/.test(e)?g:h,r=!0;continue}else l=!1;if(u===`\\`){n===e.length-1?s+=`\\\\`:o=!0;continue}if(u===`[`){let[a,o,l,u]=(0,t.parseClass)(e,n);if(l){s+=a,c||=o,n+=l-1,r||=u;continue}}if(u===`?`){s+=m,r=!0;continue}s+=p(u)}return[s,(0,n.unescape)(e),!!r,c]}}}),l=t(e=>{"use strict";Object.defineProperty(e,`__esModule`,{value:!0}),e.escape=void 0,e.escape=(e,{windowsPathsNoEscape:t=!1,magicalBraces:n=!1}={})=>n?t?e.replace(/[?*()[\]{}]/g,`[$&]`):e.replace(/[?*()[\]\\{}]/g,`\\$&`):t?e.replace(/[?*()[\]]/g,`[$&]`):e.replace(/[?*()[\]\\]/g,`\\$&`)}),u=t(e=>{"use strict";Object.defineProperty(e,`__esModule`,{value:!0}),e.unescape=e.escape=e.AST=e.Minimatch=e.match=e.makeRe=e.braceExpand=e.defaults=e.filter=e.GLOBSTAR=e.sep=e.minimatch=void 0;var t=r(),n=a(),o=c(),u=l(),d=s();e.minimatch=(e,t,r={})=>((0,n.assertValidPattern)(t),!r.nocomment&&t.charAt(0)===`#`?!1:new B(t,r).match(e));var f=/^\*+([^+@!?\*\[\(]*)$/,p=e=>t=>!t.startsWith(`.`)&&t.endsWith(e),m=e=>t=>t.endsWith(e),h=e=>(e=e.toLowerCase(),t=>!t.startsWith(`.`)&&t.toLowerCase().endsWith(e)),g=e=>(e=e.toLowerCase(),t=>t.toLowerCase().endsWith(e)),_=/^\*+\.\*+$/,v=e=>!e.startsWith(`.`)&&e.includes(`.`),y=e=>e!==`.`&&e!==`..`&&e.includes(`.`),b=/^\.\*+$/,x=e=>e!==`.`&&e!==`..`&&e.startsWith(`.`),S=/^\*+$/,C=e=>e.length!==0&&!e.startsWith(`.`),w=e=>e.length!==0&&e!==`.`&&e!==`..`,T=/^\?+([^+@!?\*\[\(]*)?$/,E=([e,t=``])=>{let n=A([e]);return t?(t=t.toLowerCase(),e=>n(e)&&e.toLowerCase().endsWith(t)):n},D=([e,t=``])=>{let n=j([e]);return t?(t=t.toLowerCase(),e=>n(e)&&e.toLowerCase().endsWith(t)):n},O=([e,t=``])=>{let n=j([e]);return t?e=>n(e)&&e.endsWith(t):n},k=([e,t=``])=>{let n=A([e]);return t?e=>n(e)&&e.endsWith(t):n},A=([e])=>{let t=e.length;return e=>e.length===t&&!e.startsWith(`.`)},j=([e])=>{let t=e.length;return e=>e.length===t&&e!==`.`&&e!==`..`},M=typeof process==`object`&&process?typeof process.env==`object`&&process.env&&process.env.__MINIMATCH_TESTING_PLATFORM__||process.platform:`posix`,N={win32:{sep:`\\`},posix:{sep:`/`}};e.sep=M===`win32`?N.win32.sep:N.posix.sep,e.minimatch.sep=e.sep,e.GLOBSTAR=Symbol(`globstar **`),e.minimatch.GLOBSTAR=e.GLOBSTAR;var P=`[^/]*?`,F=`(?:(?!(?:\\/|^)(?:\\.{1,2})($|\\/)).)*?`,I=`(?:(?!(?:\\/|^)\\.).)*?`;e.filter=(t,n={})=>r=>(0,e.minimatch)(r,t,n),e.minimatch.filter=e.filter;var L=(e,t={})=>Object.assign({},e,t);e.defaults=t=>{if(!t||typeof t!=`object`||!Object.keys(t).length)return e.minimatch;let n=e.minimatch;return Object.assign((e,r,a={})=>n(e,r,L(t,a)),{Minimatch:class extends n.Minimatch{constructor(e,n={}){super(e,L(t,n))}static defaults(e){return n.defaults(L(t,e)).Minimatch}},AST:class extends n.AST{constructor(e,n,r={}){super(e,n,L(t,r))}static fromGlob(e,r={}){return n.AST.fromGlob(e,L(t,r))}},unescape:(e,r={})=>n.unescape(e,L(t,r)),escape:(e,r={})=>n.escape(e,L(t,r)),filter:(e,r={})=>n.filter(e,L(t,r)),defaults:e=>n.defaults(L(t,e)),makeRe:(e,r={})=>n.makeRe(e,L(t,r)),braceExpand:(e,r={})=>n.braceExpand(e,L(t,r)),match:(e,r,a={})=>n.match(e,r,L(t,a)),sep:n.sep,GLOBSTAR:e.GLOBSTAR})},e.minimatch.defaults=e.defaults,e.braceExpand=(e,r={})=>((0,n.assertValidPattern)(e),r.nobrace||!/\{(?:(?!\{).)*\}/.test(e)?[e]:(0,t.expand)(e,{max:r.braceExpandMax})),e.minimatch.braceExpand=e.braceExpand,e.makeRe=(e,t={})=>new B(e,t).makeRe(),e.minimatch.makeRe=e.makeRe,e.match=(e,t,n={})=>{let r=new B(t,n);return e=e.filter(e=>r.match(e)),r.options.nonull&&!e.length&&e.push(t),e},e.minimatch.match=e.match;var R=/[?*]|[+@!]\(.*?\)|\[|\]/,z=e=>e.replace(/[-[\]{}()*+?.,\\^$|#\s]/g,`\\$&`),B=class{options;set;pattern;windowsPathsNoEscape;nonegate;negate;comment;empty;preserveMultipleSlashes;partial;globSet;globParts;nocase;isWindows;platform;windowsNoMagicRoot;regexp;constructor(e,t={}){(0,n.assertValidPattern)(e),t||={},this.options=t,this.pattern=e,this.platform=t.platform||M,this.isWindows=this.platform===`win32`,this.windowsPathsNoEscape=!!t.windowsPathsNoEscape||t.allowWindowsEscape===!1,this.windowsPathsNoEscape&&(this.pattern=this.pattern.replace(/\\/g,`/`)),this.preserveMultipleSlashes=!!t.preserveMultipleSlashes,this.regexp=null,this.negate=!1,this.nonegate=!!t.nonegate,this.comment=!1,this.empty=!1,this.partial=!!t.partial,this.nocase=!!this.options.nocase,this.windowsNoMagicRoot=t.windowsNoMagicRoot===void 0?!!(this.isWindows&&this.nocase):t.windowsNoMagicRoot,this.globSet=[],this.globParts=[],this.set=[],this.make()}hasMagic(){if(this.options.magicalBraces&&this.set.length>1)return!0;for(let e of this.set)for(let t of e)if(typeof t!=`string`)return!0;return!1}debug(...e){}make(){let e=this.pattern,t=this.options;if(!t.nocomment&&e.charAt(0)===`#`){this.comment=!0;return}if(!e){this.empty=!0;return}this.parseNegate(),this.globSet=[...new Set(this.braceExpand())],t.debug&&(this.debug=(...e)=>console.error(...e)),this.debug(this.pattern,this.globSet);let n=this.globSet.map(e=>this.slashSplit(e));this.globParts=this.preprocess(n),this.debug(this.pattern,this.globParts);let r=this.globParts.map((e,t,n)=>{if(this.isWindows&&this.windowsNoMagicRoot){let t=e[0]===``&&e[1]===``&&(e[2]===`?`||!R.test(e[2]))&&!R.test(e[3]),n=/^[a-z]:/i.test(e[0]);if(t)return[...e.slice(0,4),...e.slice(4).map(e=>this.parse(e))];if(n)return[e[0],...e.slice(1).map(e=>this.parse(e))]}return e.map(e=>this.parse(e))});if(this.debug(this.pattern,r),this.set=r.filter(e=>e.indexOf(!1)===-1),this.isWindows)for(let e=0;e<this.set.length;e++){let t=this.set[e];t[0]===``&&t[1]===``&&this.globParts[e][2]===`?`&&typeof t[3]==`string`&&/^[a-z]:$/i.test(t[3])&&(t[2]=`?`)}this.debug(this.pattern,this.set)}preprocess(e){if(this.options.noglobstar)for(let t=0;t<e.length;t++)for(let n=0;n<e[t].length;n++)e[t][n]===`**`&&(e[t][n]=`*`);let{optimizationLevel:t=1}=this.options;return t>=2?(e=this.firstPhasePreProcess(e),e=this.secondPhasePreProcess(e)):e=t>=1?this.levelOneOptimize(e):this.adjascentGlobstarOptimize(e),e}adjascentGlobstarOptimize(e){return e.map(e=>{let t=-1;for(;(t=e.indexOf(`**`,t+1))!==-1;){let n=t;for(;e[n+1]===`**`;)n++;n!==t&&e.splice(t,n-t)}return e})}levelOneOptimize(e){return e.map(e=>(e=e.reduce((e,t)=>{let n=e[e.length-1];return t===`**`&&n===`**`?e:t===`..`&&n&&n!==`..`&&n!==`.`&&n!==`**`?(e.pop(),e):(e.push(t),e)},[]),e.length===0?[``]:e))}levelTwoFileOptimize(e){Array.isArray(e)||(e=this.slashSplit(e));let t=!1;do{if(t=!1,!this.preserveMultipleSlashes){for(let n=1;n<e.length-1;n++){let r=e[n];n===1&&r===``&&e[0]===``||(r===`.`||r===``)&&(t=!0,e.splice(n,1),n--)}e[0]===`.`&&e.length===2&&(e[1]===`.`||e[1]===``)&&(t=!0,e.pop())}let n=0;for(;(n=e.indexOf(`..`,n+1))!==-1;){let r=e[n-1];r&&r!==`.`&&r!==`..`&&r!==`**`&&(t=!0,e.splice(n-1,2),n-=2)}}while(t);return e.length===0?[``]:e}firstPhasePreProcess(e){let t=!1;do{t=!1;for(let n of e){let r=-1;for(;(r=n.indexOf(`**`,r+1))!==-1;){let a=r;for(;n[a+1]===`**`;)a++;a>r&&n.splice(r+1,a-r);let o=n[r+1],s=n[r+2],c=n[r+3];if(o!==`..`||!s||s===`.`||s===`..`||!c||c===`.`||c===`..`)continue;t=!0,n.splice(r,1);let l=n.slice(0);l[r]=`**`,e.push(l),r--}if(!this.preserveMultipleSlashes){for(let e=1;e<n.length-1;e++){let r=n[e];e===1&&r===``&&n[0]===``||(r===`.`||r===``)&&(t=!0,n.splice(e,1),e--)}n[0]===`.`&&n.length===2&&(n[1]===`.`||n[1]===``)&&(t=!0,n.pop())}let a=0;for(;(a=n.indexOf(`..`,a+1))!==-1;){let e=n[a-1];if(e&&e!==`.`&&e!==`..`&&e!==`**`){t=!0;let e=a===1&&n[a+1]===`**`?[`.`]:[];n.splice(a-1,2,...e),n.length===0&&n.push(``),a-=2}}}}while(t);return e}secondPhasePreProcess(e){for(let t=0;t<e.length-1;t++)for(let n=t+1;n<e.length;n++){let r=this.partsMatch(e[t],e[n],!this.preserveMultipleSlashes);if(r){e[t]=[],e[n]=r;break}}return e.filter(e=>e.length)}partsMatch(e,t,n=!1){let r=0,a=0,o=[],s=``;for(;r<e.length&&a<t.length;)if(e[r]===t[a])o.push(s===`b`?t[a]:e[r]),r++,a++;else if(n&&e[r]===`**`&&t[a]===e[r+1])o.push(e[r]),r++;else if(n&&t[a]===`**`&&e[r]===t[a+1])o.push(t[a]),a++;else if(e[r]===`*`&&t[a]&&(this.options.dot||!t[a].startsWith(`.`))&&t[a]!==`**`){if(s===`b`)return!1;s=`a`,o.push(e[r]),r++,a++}else if(t[a]===`*`&&e[r]&&(this.options.dot||!e[r].startsWith(`.`))&&e[r]!==`**`){if(s===`a`)return!1;s=`b`,o.push(t[a]),r++,a++}else return!1;return e.length===t.length&&o}parseNegate(){if(this.nonegate)return;let e=this.pattern,t=!1,n=0;for(let r=0;r<e.length&&e.charAt(r)===`!`;r++)t=!t,n++;n&&(this.pattern=e.slice(n)),this.negate=t}matchOne(t,n,r=!1){let a=this.options;if(this.isWindows){let e=typeof t[0]==`string`&&/^[a-z]:$/i.test(t[0]),r=!e&&t[0]===``&&t[1]===``&&t[2]===`?`&&/^[a-z]:$/i.test(t[3]),a=typeof n[0]==`string`&&/^[a-z]:$/i.test(n[0]),o=!a&&n[0]===``&&n[1]===``&&n[2]===`?`&&typeof n[3]==`string`&&/^[a-z]:$/i.test(n[3]),s=r?3:e?0:void 0,c=o?3:a?0:void 0;if(typeof s==`number`&&typeof c==`number`){let[e,r]=[t[s],n[c]];e.toLowerCase()===r.toLowerCase()&&(n[c]=e,c>s?n=n.slice(c):s>c&&(t=t.slice(s)))}}let{optimizationLevel:o=1}=this.options;o>=2&&(t=this.levelTwoFileOptimize(t)),this.debug(`matchOne`,this,{file:t,pattern:n}),this.debug(`matchOne`,t.length,n.length);for(var s=0,c=0,l=t.length,u=n.length;s<l&&c<u;s++,c++){this.debug(`matchOne loop`);var d=n[c],f=t[s];if(this.debug(n,d,f),d===!1)return!1;if(d===e.GLOBSTAR){this.debug(`GLOBSTAR`,[n,d,f]);var p=s,m=c+1;if(m===u){for(this.debug(`** at the end`);s<l;s++)if(t[s]===`.`||t[s]===`..`||!a.dot&&t[s].charAt(0)===`.`)return!1;return!0}for(;p<l;){var h=t[p];if(this.debug(`
globstar while`,t,p,n,m,h),this.matchOne(t.slice(p),n.slice(m),r))return this.debug(`globstar found match!`,p,l,h),!0;if(h===`.`||h===`..`||!a.dot&&h.charAt(0)===`.`){this.debug(`dot detected!`,t,p,n,m);break}this.debug(`globstar swallow a segment, and continue`),p++}return!!(r&&(this.debug(`
>>> no match, partial?`,t,p,n,m),p===l))}let o;if(typeof d==`string`?(o=f===d,this.debug(`string match`,d,f,o)):(o=d.test(f),this.debug(`pattern match`,d,f,o)),!o)return!1}if(s===l&&c===u)return!0;if(s===l)return r;if(c===u)return s===l-1&&t[s]===``;throw Error(`wtf?`)}braceExpand(){return(0,e.braceExpand)(this.pattern,this.options)}parse(t){(0,n.assertValidPattern)(t);let r=this.options;if(t===`**`)return e.GLOBSTAR;if(t===``)return``;let a,s=null;(a=t.match(S))?s=r.dot?w:C:(a=t.match(f))?s=(r.nocase?r.dot?g:h:r.dot?m:p)(a[1]):(a=t.match(T))?s=(r.nocase?r.dot?D:E:r.dot?O:k)(a):(a=t.match(_))?s=r.dot?y:v:(a=t.match(b))&&(s=x);let c=o.AST.fromGlob(t,this.options).toMMPattern();return s&&typeof c==`object`&&Reflect.defineProperty(c,`test`,{value:s}),c}makeRe(){if(this.regexp||this.regexp===!1)return this.regexp;let t=this.set;if(!t.length)return this.regexp=!1,this.regexp;let n=this.options,r=n.noglobstar?P:n.dot?F:I,a=new Set(n.nocase?[`i`]:[]),o=t.map(t=>{let n=t.map(t=>{if(t instanceof RegExp)for(let e of t.flags.split(``))a.add(e);return typeof t==`string`?z(t):t===e.GLOBSTAR?e.GLOBSTAR:t._src});n.forEach((t,a)=>{let o=n[a+1],s=n[a-1];t!==e.GLOBSTAR||s===e.GLOBSTAR||(s===void 0?o!==void 0&&o!==e.GLOBSTAR?n[a+1]=`(?:\\/|`+r+`\\/)?`+o:n[a]=r:o===void 0?n[a-1]=s+`(?:\\/|\\/`+r+`)?`:o!==e.GLOBSTAR&&(n[a-1]=s+`(?:\\/|\\/`+r+`\\/)`+o,n[a+1]=e.GLOBSTAR))});let o=n.filter(t=>t!==e.GLOBSTAR);if(this.partial&&o.length>=1){let e=[];for(let t=1;t<=o.length;t++)e.push(o.slice(0,t).join(`/`));return`(?:`+e.join(`|`)+`)`}return o.join(`/`)}).join(`|`),[s,c]=t.length>1?[`(?:`,`)`]:[``,``];o=`^`+s+o+c+`$`,this.partial&&(o=`^(?:\\/|`+s+o.slice(1,-1)+c+`)$`),this.negate&&(o=`^(?!`+o+`).+$`);try{this.regexp=new RegExp(o,[...a].join(``))}catch{this.regexp=!1}return this.regexp}slashSplit(e){return this.preserveMultipleSlashes?e.split(`/`):this.isWindows&&/^\/\/[^\/]+/.test(e)?[``,...e.split(/\/+/)]:e.split(/\/+/)}match(e,t=this.partial){if(this.debug(`match`,e,this.pattern),this.comment)return!1;if(this.empty)return e===``;if(e===`/`&&t)return!0;let n=this.options;this.isWindows&&(e=e.split(`\\`).join(`/`));let r=this.slashSplit(e);this.debug(this.pattern,`split`,r);let a=this.set;this.debug(this.pattern,`set`,a);let o=r[r.length-1];if(!o)for(let e=r.length-2;!o&&e>=0;e--)o=r[e];for(let e=0;e<a.length;e++){let s=a[e],c=r;if(n.matchBase&&s.length===1&&(c=[o]),this.matchOne(c,s,t))return n.flipNegate?!0:!this.negate}return n.flipNegate?!1:this.negate}static defaults(t){return e.minimatch.defaults(t).Minimatch}};e.Minimatch=B;var V=c();Object.defineProperty(e,`AST`,{enumerable:!0,get:function(){return V.AST}});var H=l();Object.defineProperty(e,`escape`,{enumerable:!0,get:function(){return H.escape}});var U=s();Object.defineProperty(e,`unescape`,{enumerable:!0,get:function(){return U.unescape}}),e.minimatch.AST=o.AST,e.minimatch.Minimatch=B,e.minimatch.escape=u.escape,e.minimatch.unescape=d.unescape}),d=t(e=>{"use strict";Object.defineProperty(e,`__esModule`,{value:!0}),e.LRUCache=void 0;var t=typeof performance==`object`&&performance&&typeof performance.now==`function`?performance:Date,n=new Set,r=typeof process==`object`&&process?process:{},a=(e,t,n,a)=>{typeof r.emitWarning==`function`?r.emitWarning(e,t,n,a):console.error(`[${n}] ${t}: ${e}`)},o=globalThis.AbortController,s=globalThis.AbortSignal;if(typeof o>`u`){s=class{onabort;_onabort=[];reason;aborted=!1;addEventListener(e,t){this._onabort.push(t)}},o=class{constructor(){t()}signal=new s;abort(e){if(!this.signal.aborted){this.signal.reason=e,this.signal.aborted=!0;for(let t of this.signal._onabort)t(e);this.signal.onabort?.(e)}}};let e=r.env?.LRU_CACHE_IGNORE_AC_WARNING!==`1`,t=()=>{e&&(e=!1,a("AbortController is not defined. If using lru-cache in node 14, load an AbortController polyfill from the `node-abort-controller` package. A minimal polyfill is provided for use by LRUCache.fetch(), but it should not be relied upon in other contexts (eg, passing it to other APIs that use AbortController/AbortSignal might have undesirable effects). You may disable this with LRU_CACHE_IGNORE_AC_WARNING=1 in the env.",`NO_ABORT_CONTROLLER`,`ENOTSUP`,t))}}var c=e=>!n.has(e),l=e=>e&&e===Math.floor(e)&&e>0&&isFinite(e),u=e=>l(e)?e<=2**8?Uint8Array:e<=2**16?Uint16Array:e<=2**32?Uint32Array:e<=2**53-1?d:null:null,d=class extends Array{constructor(e){super(e),this.fill(0)}},f=class e{heap;length;static#e=!1;static create(t){let n=u(t);if(!n)return[];e.#e=!0;let r=new e(t,n);return e.#e=!1,r}constructor(t,n){if(!e.#e)throw TypeError(`instantiate Stack using Stack.create(n)`);this.heap=new n(t),this.length=0}push(e){this.heap[this.length++]=e}pop(){return this.heap[--this.length]}};e.LRUCache=class e{#e;#t;#n;#r;#i;#a;#o;#s;get perf(){return this.#s}ttl;ttlResolution;ttlAutopurge;updateAgeOnGet;updateAgeOnHas;allowStale;noDisposeOnSet;noUpdateTTL;maxEntrySize;sizeCalculation;noDeleteOnFetchRejection;noDeleteOnStaleGet;allowStaleOnFetchAbort;allowStaleOnFetchRejection;ignoreFetchAbort;#c;#l;#u;#d;#f;#p;#m;#h;#g;#_;#v;#y;#b;#x;#S;#C;#w;#T;#E;static unsafeExposeInternals(e){return{starts:e.#b,ttls:e.#x,autopurgeTimers:e.#S,sizes:e.#y,keyMap:e.#u,keyList:e.#d,valList:e.#f,next:e.#p,prev:e.#m,get head(){return e.#h},get tail(){return e.#g},free:e.#_,isBackgroundFetch:t=>e.#V(t),backgroundFetch:(t,n,r,a)=>e.#B(t,n,r,a),moveToTail:t=>e.#U(t),indexes:t=>e.#I(t),rindexes:t=>e.#L(t),isStale:t=>e.#j(t)}}get max(){return this.#e}get maxSize(){return this.#t}get calculatedSize(){return this.#l}get size(){return this.#c}get fetchMethod(){return this.#a}get memoMethod(){return this.#o}get dispose(){return this.#n}get onInsert(){return this.#r}get disposeAfter(){return this.#i}constructor(r){let{max:o=0,ttl:s,ttlResolution:d=1,ttlAutopurge:p,updateAgeOnGet:m,updateAgeOnHas:h,allowStale:g,dispose:_,onInsert:v,disposeAfter:y,noDisposeOnSet:b,noUpdateTTL:x,maxSize:S=0,maxEntrySize:C=0,sizeCalculation:w,fetchMethod:T,memoMethod:E,noDeleteOnFetchRejection:D,noDeleteOnStaleGet:O,allowStaleOnFetchRejection:k,allowStaleOnFetchAbort:A,ignoreFetchAbort:j,perf:M}=r;if(M!==void 0&&typeof M?.now!=`function`)throw TypeError(`perf option must have a now() method if specified`);if(this.#s=M??t,o!==0&&!l(o))throw TypeError(`max option must be a nonnegative integer`);let N=o?u(o):Array;if(!N)throw Error(`invalid max value: `+o);if(this.#e=o,this.#t=S,this.maxEntrySize=C||this.#t,this.sizeCalculation=w,this.sizeCalculation){if(!this.#t&&!this.maxEntrySize)throw TypeError(`cannot set sizeCalculation without setting maxSize or maxEntrySize`);if(typeof this.sizeCalculation!=`function`)throw TypeError(`sizeCalculation set to non-function`)}if(E!==void 0&&typeof E!=`function`)throw TypeError(`memoMethod must be a function if defined`);if(this.#o=E,T!==void 0&&typeof T!=`function`)throw TypeError(`fetchMethod must be a function if specified`);if(this.#a=T,this.#w=!!T,this.#u=new Map,this.#d=Array(o).fill(void 0),this.#f=Array(o).fill(void 0),this.#p=new N(o),this.#m=new N(o),this.#h=0,this.#g=0,this.#_=f.create(o),this.#c=0,this.#l=0,typeof _==`function`&&(this.#n=_),typeof v==`function`&&(this.#r=v),typeof y==`function`?(this.#i=y,this.#v=[]):(this.#i=void 0,this.#v=void 0),this.#C=!!this.#n,this.#E=!!this.#r,this.#T=!!this.#i,this.noDisposeOnSet=!!b,this.noUpdateTTL=!!x,this.noDeleteOnFetchRejection=!!D,this.allowStaleOnFetchRejection=!!k,this.allowStaleOnFetchAbort=!!A,this.ignoreFetchAbort=!!j,this.maxEntrySize!==0){if(this.#t!==0&&!l(this.#t))throw TypeError(`maxSize must be a positive integer if specified`);if(!l(this.maxEntrySize))throw TypeError(`maxEntrySize must be a positive integer if specified`);this.#M()}if(this.allowStale=!!g,this.noDeleteOnStaleGet=!!O,this.updateAgeOnGet=!!m,this.updateAgeOnHas=!!h,this.ttlResolution=l(d)||d===0?d:1,this.ttlAutopurge=!!p,this.ttl=s||0,this.ttl){if(!l(this.ttl))throw TypeError(`ttl must be a positive integer if specified`);this.#D()}if(this.#e===0&&this.ttl===0&&this.#t===0)throw TypeError(`At least one of max, maxSize, or ttl is required`);if(!this.ttlAutopurge&&!this.#e&&!this.#t){let t=`LRU_CACHE_UNBOUNDED`;c(t)&&(n.add(t),a(`TTL caching without ttlAutopurge, max, or maxSize can result in unbounded memory consumption.`,`UnboundedCacheWarning`,t,e))}}getRemainingTTL(e){return this.#u.has(e)?1/0:0}#D(){let e=new d(this.#e),t=new d(this.#e);this.#x=e,this.#b=t;let n=this.ttlAutopurge?Array(this.#e):void 0;this.#S=n,this.#A=(r,a,o=this.#s.now())=>{if(t[r]=a===0?0:o,e[r]=a,n?.[r]&&(clearTimeout(n[r]),n[r]=void 0),a!==0&&n){let e=setTimeout(()=>{this.#j(r)&&this.#W(this.#d[r],`expire`)},a+1);e.unref&&e.unref(),n[r]=e}},this.#O=n=>{t[n]=e[n]===0?0:this.#s.now()},this.#k=(n,o)=>{if(e[o]){let s=e[o],c=t[o];if(!s||!c)return;n.ttl=s,n.start=c,n.now=r||a(),n.remainingTTL=s-(n.now-c)}};let r=0,a=()=>{let e=this.#s.now();if(this.ttlResolution>0){r=e;let t=setTimeout(()=>r=0,this.ttlResolution);t.unref&&t.unref()}return e};this.getRemainingTTL=n=>{let o=this.#u.get(n);if(o===void 0)return 0;let s=e[o],c=t[o];return!s||!c?1/0:s-((r||a())-c)},this.#j=n=>{let o=t[n],s=e[n];return!!s&&!!o&&(r||a())-o>s}}#O=()=>{};#k=()=>{};#A=()=>{};#j=()=>!1;#M(){let e=new d(this.#e);this.#l=0,this.#y=e,this.#N=t=>{this.#l-=e[t],e[t]=0},this.#F=(e,t,n,r)=>{if(this.#V(t))return 0;if(!l(n))if(r){if(typeof r!=`function`)throw TypeError(`sizeCalculation must be a function`);if(n=r(t,e),!l(n))throw TypeError(`sizeCalculation return invalid (expect positive integer)`)}else throw TypeError(`invalid size value (must be positive integer). When maxSize or maxEntrySize is used, sizeCalculation or size must be set.`);return n},this.#P=(t,n,r)=>{if(e[t]=n,this.#t){let n=this.#t-e[t];for(;this.#l>n;)this.#z(!0)}this.#l+=e[t],r&&(r.entrySize=n,r.totalCalculatedSize=this.#l)}}#N=e=>{};#P=(e,t,n)=>{};#F=(e,t,n,r)=>{if(n||r)throw TypeError(`cannot set size without setting maxSize or maxEntrySize on cache`);return 0};*#I({allowStale:e=this.allowStale}={}){if(this.#c)for(let t=this.#g;!(!this.#R(t)||((e||!this.#j(t))&&(yield t),t===this.#h));)t=this.#m[t]}*#L({allowStale:e=this.allowStale}={}){if(this.#c)for(let t=this.#h;!(!this.#R(t)||((e||!this.#j(t))&&(yield t),t===this.#g));)t=this.#p[t]}#R(e){return e!==void 0&&this.#u.get(this.#d[e])===e}*entries(){for(let e of this.#I())this.#f[e]!==void 0&&this.#d[e]!==void 0&&!this.#V(this.#f[e])&&(yield[this.#d[e],this.#f[e]])}*rentries(){for(let e of this.#L())this.#f[e]!==void 0&&this.#d[e]!==void 0&&!this.#V(this.#f[e])&&(yield[this.#d[e],this.#f[e]])}*keys(){for(let e of this.#I()){let t=this.#d[e];t!==void 0&&!this.#V(this.#f[e])&&(yield t)}}*rkeys(){for(let e of this.#L()){let t=this.#d[e];t!==void 0&&!this.#V(this.#f[e])&&(yield t)}}*values(){for(let e of this.#I())this.#f[e]!==void 0&&!this.#V(this.#f[e])&&(yield this.#f[e])}*rvalues(){for(let e of this.#L())this.#f[e]!==void 0&&!this.#V(this.#f[e])&&(yield this.#f[e])}[Symbol.iterator](){return this.entries()}[Symbol.toStringTag]=`LRUCache`;find(e,t={}){for(let n of this.#I()){let r=this.#f[n],a=this.#V(r)?r.__staleWhileFetching:r;if(a!==void 0&&e(a,this.#d[n],this))return this.get(this.#d[n],t)}}forEach(e,t=this){for(let n of this.#I()){let r=this.#f[n],a=this.#V(r)?r.__staleWhileFetching:r;a!==void 0&&e.call(t,a,this.#d[n],this)}}rforEach(e,t=this){for(let n of this.#L()){let r=this.#f[n],a=this.#V(r)?r.__staleWhileFetching:r;a!==void 0&&e.call(t,a,this.#d[n],this)}}purgeStale(){let e=!1;for(let t of this.#L({allowStale:!0}))this.#j(t)&&(this.#W(this.#d[t],`expire`),e=!0);return e}info(e){let t=this.#u.get(e);if(t===void 0)return;let n=this.#f[t],r=this.#V(n)?n.__staleWhileFetching:n;if(r===void 0)return;let a={value:r};if(this.#x&&this.#b){let e=this.#x[t],n=this.#b[t];e&&n&&(a.ttl=e-(this.#s.now()-n),a.start=Date.now())}return this.#y&&(a.size=this.#y[t]),a}dump(){let e=[];for(let t of this.#I({allowStale:!0})){let n=this.#d[t],r=this.#f[t],a=this.#V(r)?r.__staleWhileFetching:r;if(a===void 0||n===void 0)continue;let o={value:a};if(this.#x&&this.#b){o.ttl=this.#x[t];let e=this.#s.now()-this.#b[t];o.start=Math.floor(Date.now()-e)}this.#y&&(o.size=this.#y[t]),e.unshift([n,o])}return e}load(e){this.clear();for(let[t,n]of e){if(n.start){let e=Date.now()-n.start;n.start=this.#s.now()-e}this.set(t,n.value,n)}}set(e,t,n={}){if(t===void 0)return this.delete(e),this;let{ttl:r=this.ttl,start:a,noDisposeOnSet:o=this.noDisposeOnSet,sizeCalculation:s=this.sizeCalculation,status:c}=n,{noUpdateTTL:l=this.noUpdateTTL}=n,u=this.#F(e,t,n.size||0,s);if(this.maxEntrySize&&u>this.maxEntrySize)return c&&(c.set=`miss`,c.maxEntrySizeExceeded=!0),this.#W(e,`set`),this;let d=this.#c===0?void 0:this.#u.get(e);if(d===void 0)d=this.#c===0?this.#g:this.#_.length===0?this.#c===this.#e?this.#z(!1):this.#c:this.#_.pop(),this.#d[d]=e,this.#f[d]=t,this.#u.set(e,d),this.#p[this.#g]=d,this.#m[d]=this.#g,this.#g=d,this.#c++,this.#P(d,u,c),c&&(c.set=`add`),l=!1,this.#E&&this.#r?.(t,e,`add`);else{this.#U(d);let n=this.#f[d];if(t!==n){if(this.#w&&this.#V(n)){n.__abortController.abort(Error(`replaced`));let{__staleWhileFetching:t}=n;t!==void 0&&!o&&(this.#C&&this.#n?.(t,e,`set`),this.#T&&this.#v?.push([t,e,`set`]))}else o||(this.#C&&this.#n?.(n,e,`set`),this.#T&&this.#v?.push([n,e,`set`]));if(this.#N(d),this.#P(d,u,c),this.#f[d]=t,c){c.set=`replace`;let e=n&&this.#V(n)?n.__staleWhileFetching:n;e!==void 0&&(c.oldValue=e)}}else c&&(c.set=`update`);this.#E&&this.onInsert?.(t,e,t===n?`update`:`replace`)}if(r!==0&&!this.#x&&this.#D(),this.#x&&(l||this.#A(d,r,a),c&&this.#k(c,d)),!o&&this.#T&&this.#v){let e=this.#v,t;for(;t=e?.shift();)this.#i?.(...t)}return this}pop(){try{for(;this.#c;){let e=this.#f[this.#h];if(this.#z(!0),this.#V(e)){if(e.__staleWhileFetching)return e.__staleWhileFetching}else if(e!==void 0)return e}}finally{if(this.#T&&this.#v){let e=this.#v,t;for(;t=e?.shift();)this.#i?.(...t)}}}#z(e){let t=this.#h,n=this.#d[t],r=this.#f[t];return this.#w&&this.#V(r)?r.__abortController.abort(Error(`evicted`)):(this.#C||this.#T)&&(this.#C&&this.#n?.(r,n,`evict`),this.#T&&this.#v?.push([r,n,`evict`])),this.#N(t),this.#S?.[t]&&(clearTimeout(this.#S[t]),this.#S[t]=void 0),e&&(this.#d[t]=void 0,this.#f[t]=void 0,this.#_.push(t)),this.#c===1?(this.#h=this.#g=0,this.#_.length=0):this.#h=this.#p[t],this.#u.delete(n),this.#c--,t}has(e,t={}){let{updateAgeOnHas:n=this.updateAgeOnHas,status:r}=t,a=this.#u.get(e);if(a!==void 0){let e=this.#f[a];if(this.#V(e)&&e.__staleWhileFetching===void 0)return!1;if(this.#j(a))r&&(r.has=`stale`,this.#k(r,a));else return n&&this.#O(a),r&&(r.has=`hit`,this.#k(r,a)),!0}else r&&(r.has=`miss`);return!1}peek(e,t={}){let{allowStale:n=this.allowStale}=t,r=this.#u.get(e);if(r===void 0||!n&&this.#j(r))return;let a=this.#f[r];return this.#V(a)?a.__staleWhileFetching:a}#B(e,t,n,r){let a=t===void 0?void 0:this.#f[t];if(this.#V(a))return a;let s=new o,{signal:c}=n;c?.addEventListener(`abort`,()=>s.abort(c.reason),{signal:s.signal});let l={signal:s.signal,options:n,context:r},u=(r,a=!1)=>{let{aborted:o}=s.signal,c=n.ignoreFetchAbort&&r!==void 0,u=n.ignoreFetchAbort||!!(n.allowStaleOnFetchAbort&&r!==void 0);if(n.status&&(o&&!a?(n.status.fetchAborted=!0,n.status.fetchError=s.signal.reason,c&&(n.status.fetchAbortIgnored=!0)):n.status.fetchResolved=!0),o&&!c&&!a)return f(s.signal.reason,u);let d=m,p=this.#f[t];return(p===m||c&&a&&p===void 0)&&(r===void 0?d.__staleWhileFetching===void 0?this.#W(e,`fetch`):this.#f[t]=d.__staleWhileFetching:(n.status&&(n.status.fetchUpdated=!0),this.set(e,r,l.options))),r},d=e=>(n.status&&(n.status.fetchRejected=!0,n.status.fetchError=e),f(e,!1)),f=(r,a)=>{let{aborted:o}=s.signal,c=o&&n.allowStaleOnFetchAbort,l=c||n.allowStaleOnFetchRejection,u=l||n.noDeleteOnFetchRejection,d=m;if(this.#f[t]===m&&(!u||!a&&d.__staleWhileFetching===void 0?this.#W(e,`fetch`):c||(this.#f[t]=d.__staleWhileFetching)),l)return n.status&&d.__staleWhileFetching!==void 0&&(n.status.returnedStale=!0),d.__staleWhileFetching;if(d.__returned===d)throw r},p=(t,r)=>{let o=this.#a?.(e,a,l);o&&o instanceof Promise&&o.then(e=>t(e===void 0?void 0:e),r),s.signal.addEventListener(`abort`,()=>{(!n.ignoreFetchAbort||n.allowStaleOnFetchAbort)&&(t(void 0),n.allowStaleOnFetchAbort&&(t=e=>u(e,!0)))})};n.status&&(n.status.fetchDispatched=!0);let m=new Promise(p).then(u,d),h=Object.assign(m,{__abortController:s,__staleWhileFetching:a,__returned:void 0});return t===void 0?(this.set(e,h,{...l.options,status:void 0}),t=this.#u.get(e)):this.#f[t]=h,h}#V(e){if(!this.#w)return!1;let t=e;return!!t&&t instanceof Promise&&t.hasOwnProperty(`__staleWhileFetching`)&&t.__abortController instanceof o}async fetch(e,t={}){let{allowStale:n=this.allowStale,updateAgeOnGet:r=this.updateAgeOnGet,noDeleteOnStaleGet:a=this.noDeleteOnStaleGet,ttl:o=this.ttl,noDisposeOnSet:s=this.noDisposeOnSet,size:c=0,sizeCalculation:l=this.sizeCalculation,noUpdateTTL:u=this.noUpdateTTL,noDeleteOnFetchRejection:d=this.noDeleteOnFetchRejection,allowStaleOnFetchRejection:f=this.allowStaleOnFetchRejection,ignoreFetchAbort:p=this.ignoreFetchAbort,allowStaleOnFetchAbort:m=this.allowStaleOnFetchAbort,context:h,forceRefresh:g=!1,status:_,signal:v}=t;if(!this.#w)return _&&(_.fetch=`get`),this.get(e,{allowStale:n,updateAgeOnGet:r,noDeleteOnStaleGet:a,status:_});let y={allowStale:n,updateAgeOnGet:r,noDeleteOnStaleGet:a,ttl:o,noDisposeOnSet:s,size:c,sizeCalculation:l,noUpdateTTL:u,noDeleteOnFetchRejection:d,allowStaleOnFetchRejection:f,allowStaleOnFetchAbort:m,ignoreFetchAbort:p,status:_,signal:v},b=this.#u.get(e);if(b===void 0){_&&(_.fetch=`miss`);let t=this.#B(e,b,y,h);return t.__returned=t}else{let t=this.#f[b];if(this.#V(t)){let e=n&&t.__staleWhileFetching!==void 0;return _&&(_.fetch=`inflight`,e&&(_.returnedStale=!0)),e?t.__staleWhileFetching:t.__returned=t}let a=this.#j(b);if(!g&&!a)return _&&(_.fetch=`hit`),this.#U(b),r&&this.#O(b),_&&this.#k(_,b),t;let o=this.#B(e,b,y,h),s=o.__staleWhileFetching!==void 0&&n;return _&&(_.fetch=a?`stale`:`refresh`,s&&a&&(_.returnedStale=!0)),s?o.__staleWhileFetching:o.__returned=o}}async forceFetch(e,t={}){let n=await this.fetch(e,t);if(n===void 0)throw Error(`fetch() returned undefined`);return n}memo(e,t={}){let n=this.#o;if(!n)throw Error(`no memoMethod provided to constructor`);let{context:r,forceRefresh:a,...o}=t,s=this.get(e,o);if(!a&&s!==void 0)return s;let c=n(e,s,{options:o,context:r});return this.set(e,c,o),c}get(e,t={}){let{allowStale:n=this.allowStale,updateAgeOnGet:r=this.updateAgeOnGet,noDeleteOnStaleGet:a=this.noDeleteOnStaleGet,status:o}=t,s=this.#u.get(e);if(s!==void 0){let t=this.#f[s],c=this.#V(t);return o&&this.#k(o,s),this.#j(s)?(o&&(o.get=`stale`),c?(o&&n&&t.__staleWhileFetching!==void 0&&(o.returnedStale=!0),n?t.__staleWhileFetching:void 0):(a||this.#W(e,`expire`),o&&n&&(o.returnedStale=!0),n?t:void 0)):(o&&(o.get=`hit`),c?t.__staleWhileFetching:(this.#U(s),r&&this.#O(s),t))}else o&&(o.get=`miss`)}#H(e,t){this.#m[t]=e,this.#p[e]=t}#U(e){e!==this.#g&&(e===this.#h?this.#h=this.#p[e]:this.#H(this.#m[e],this.#p[e]),this.#H(this.#g,e),this.#g=e)}delete(e){return this.#W(e,`delete`)}#W(e,t){let n=!1;if(this.#c!==0){let r=this.#u.get(e);if(r!==void 0)if(this.#S?.[r]&&(clearTimeout(this.#S?.[r]),this.#S[r]=void 0),n=!0,this.#c===1)this.#G(t);else{this.#N(r);let n=this.#f[r];if(this.#V(n)?n.__abortController.abort(Error(`deleted`)):(this.#C||this.#T)&&(this.#C&&this.#n?.(n,e,t),this.#T&&this.#v?.push([n,e,t])),this.#u.delete(e),this.#d[r]=void 0,this.#f[r]=void 0,r===this.#g)this.#g=this.#m[r];else if(r===this.#h)this.#h=this.#p[r];else{let e=this.#m[r];this.#p[e]=this.#p[r];let t=this.#p[r];this.#m[t]=this.#m[r]}this.#c--,this.#_.push(r)}}if(this.#T&&this.#v?.length){let e=this.#v,t;for(;t=e?.shift();)this.#i?.(...t)}return n}clear(){return this.#G(`delete`)}#G(e){for(let t of this.#L({allowStale:!0})){let n=this.#f[t];if(this.#V(n))n.__abortController.abort(Error(`deleted`));else{let r=this.#d[t];this.#C&&this.#n?.(n,r,e),this.#T&&this.#v?.push([n,r,e])}}if(this.#u.clear(),this.#f.fill(void 0),this.#d.fill(void 0),this.#x&&this.#b){this.#x.fill(0),this.#b.fill(0);for(let e of this.#S??[])e!==void 0&&clearTimeout(e);this.#S?.fill(void 0)}if(this.#y&&this.#y.fill(0),this.#h=0,this.#g=0,this.#_.length=0,this.#l=0,this.#c=0,this.#T&&this.#v){let e=this.#v,t;for(;t=e?.shift();)this.#i?.(...t)}}}}),f=t(e=>{"use strict";var t=e&&e.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(e,`__esModule`,{value:!0}),e.Minipass=e.isWritable=e.isReadable=e.isStream=void 0;var n=typeof process==`object`&&process?process:{stdout:null,stderr:null},r=require(`node:events`),a=t(require(`node:stream`)),o=require(`node:string_decoder`);e.isStream=t=>!!t&&typeof t==`object`&&(t instanceof te||t instanceof a.default||(0,e.isReadable)(t)||(0,e.isWritable)(t)),e.isReadable=e=>!!e&&typeof e==`object`&&e instanceof r.EventEmitter&&typeof e.pipe==`function`&&e.pipe!==a.default.Writable.prototype.pipe,e.isWritable=e=>!!e&&typeof e==`object`&&e instanceof r.EventEmitter&&typeof e.write==`function`&&typeof e.end==`function`;var s=Symbol(`EOF`),c=Symbol(`maybeEmitEnd`),l=Symbol(`emittedEnd`),u=Symbol(`emittingEnd`),d=Symbol(`emittedError`),f=Symbol(`closed`),p=Symbol(`read`),m=Symbol(`flush`),h=Symbol(`flushChunk`),g=Symbol(`encoding`),_=Symbol(`decoder`),v=Symbol(`flowing`),y=Symbol(`paused`),b=Symbol(`resume`),x=Symbol(`buffer`),S=Symbol(`pipes`),C=Symbol(`bufferLength`),w=Symbol(`bufferPush`),T=Symbol(`bufferShift`),E=Symbol(`objectMode`),D=Symbol(`destroyed`),O=Symbol(`error`),k=Symbol(`emitData`),A=Symbol(`emitEnd`),j=Symbol(`emitEnd2`),M=Symbol(`async`),N=Symbol(`abort`),P=Symbol(`aborted`),F=Symbol(`signal`),I=Symbol(`dataListeners`),L=Symbol(`discarded`),R=e=>Promise.resolve().then(e),z=e=>e(),B=e=>e===`end`||e===`finish`||e===`prefinish`,V=e=>e instanceof ArrayBuffer||!!e&&typeof e==`object`&&e.constructor&&e.constructor.name===`ArrayBuffer`&&e.byteLength>=0,H=e=>!Buffer.isBuffer(e)&&ArrayBuffer.isView(e),U=class{src;dest;opts;ondrain;constructor(e,t,n){this.src=e,this.dest=t,this.opts=n,this.ondrain=()=>e[b](),this.dest.on(`drain`,this.ondrain)}unpipe(){this.dest.removeListener(`drain`,this.ondrain)}proxyErrors(e){}end(){this.unpipe(),this.opts.end&&this.dest.end()}},W=class extends U{unpipe(){this.src.removeListener(`error`,this.proxyErrors),super.unpipe()}constructor(e,t,n){super(e,t,n),this.proxyErrors=e=>this.dest.emit(`error`,e),e.on(`error`,this.proxyErrors)}},ee=e=>!!e.objectMode,G=e=>!e.objectMode&&!!e.encoding&&e.encoding!==`buffer`,te=class extends r.EventEmitter{[v]=!1;[y]=!1;[S]=[];[x]=[];[E];[g];[M];[_];[s]=!1;[l]=!1;[u]=!1;[f]=!1;[d]=null;[C]=0;[D]=!1;[F];[P]=!1;[I]=0;[L]=!1;writable=!0;readable=!0;constructor(...e){let t=e[0]||{};if(super(),t.objectMode&&typeof t.encoding==`string`)throw TypeError(`Encoding and objectMode may not be used together`);ee(t)?(this[E]=!0,this[g]=null):G(t)?(this[g]=t.encoding,this[E]=!1):(this[E]=!1,this[g]=null),this[M]=!!t.async,this[_]=this[g]?new o.StringDecoder(this[g]):null,t&&t.debugExposeBuffer===!0&&Object.defineProperty(this,`buffer`,{get:()=>this[x]}),t&&t.debugExposePipes===!0&&Object.defineProperty(this,`pipes`,{get:()=>this[S]});let{signal:n}=t;n&&(this[F]=n,n.aborted?this[N]():n.addEventListener(`abort`,()=>this[N]()))}get bufferLength(){return this[C]}get encoding(){return this[g]}set encoding(e){throw Error(`Encoding must be set at instantiation time`)}setEncoding(e){throw Error(`Encoding must be set at instantiation time`)}get objectMode(){return this[E]}set objectMode(e){throw Error(`objectMode must be set at instantiation time`)}get async(){return this[M]}set async(e){this[M]=this[M]||!!e}[N](){this[P]=!0,this.emit(`abort`,this[F]?.reason),this.destroy(this[F]?.reason)}get aborted(){return this[P]}set aborted(e){}write(e,t,n){if(this[P])return!1;if(this[s])throw Error(`write after end`);if(this[D])return this.emit(`error`,Object.assign(Error(`Cannot call write after a stream was destroyed`),{code:`ERR_STREAM_DESTROYED`})),!0;typeof t==`function`&&(n=t,t=`utf8`),t||=`utf8`;let r=this[M]?R:z;if(!this[E]&&!Buffer.isBuffer(e)){if(H(e))e=Buffer.from(e.buffer,e.byteOffset,e.byteLength);else if(V(e))e=Buffer.from(e);else if(typeof e!=`string`)throw Error(`Non-contiguous data written to non-objectMode stream`)}return this[E]?(this[v]&&this[C]!==0&&this[m](!0),this[v]?this.emit(`data`,e):this[w](e),this[C]!==0&&this.emit(`readable`),n&&r(n),this[v]):e.length?(typeof e==`string`&&!(t===this[g]&&!this[_]?.lastNeed)&&(e=Buffer.from(e,t)),Buffer.isBuffer(e)&&this[g]&&(e=this[_].write(e)),this[v]&&this[C]!==0&&this[m](!0),this[v]?this.emit(`data`,e):this[w](e),this[C]!==0&&this.emit(`readable`),n&&r(n),this[v]):(this[C]!==0&&this.emit(`readable`),n&&r(n),this[v])}read(e){if(this[D])return null;if(this[L]=!1,this[C]===0||e===0||e&&e>this[C])return this[c](),null;this[E]&&(e=null),this[x].length>1&&!this[E]&&(this[x]=[this[g]?this[x].join(``):Buffer.concat(this[x],this[C])]);let t=this[p](e||null,this[x][0]);return this[c](),t}[p](e,t){if(this[E])this[T]();else{let n=t;e===n.length||e===null?this[T]():typeof n==`string`?(this[x][0]=n.slice(e),t=n.slice(0,e),this[C]-=e):(this[x][0]=n.subarray(e),t=n.subarray(0,e),this[C]-=e)}return this.emit(`data`,t),!this[x].length&&!this[s]&&this.emit(`drain`),t}end(e,t,n){return typeof e==`function`&&(n=e,e=void 0),typeof t==`function`&&(n=t,t=`utf8`),e!==void 0&&this.write(e,t),n&&this.once(`end`,n),this[s]=!0,this.writable=!1,(this[v]||!this[y])&&this[c](),this}[b](){this[D]||(!this[I]&&!this[S].length&&(this[L]=!0),this[y]=!1,this[v]=!0,this.emit(`resume`),this[x].length?this[m]():this[s]?this[c]():this.emit(`drain`))}resume(){return this[b]()}pause(){this[v]=!1,this[y]=!0,this[L]=!1}get destroyed(){return this[D]}get flowing(){return this[v]}get paused(){return this[y]}[w](e){this[E]?this[C]+=1:this[C]+=e.length,this[x].push(e)}[T](){return this[E]?--this[C]:this[C]-=this[x][0].length,this[x].shift()}[m](e=!1){do;while(this[h](this[T]())&&this[x].length);!e&&!this[x].length&&!this[s]&&this.emit(`drain`)}[h](e){return this.emit(`data`,e),this[v]}pipe(e,t){if(this[D])return e;this[L]=!1;let r=this[l];return t||={},e===n.stdout||e===n.stderr?t.end=!1:t.end=t.end!==!1,t.proxyErrors=!!t.proxyErrors,r?t.end&&e.end():(this[S].push(t.proxyErrors?new W(this,e,t):new U(this,e,t)),this[M]?R(()=>this[b]()):this[b]()),e}unpipe(e){let t=this[S].find(t=>t.dest===e);t&&(this[S].length===1?(this[v]&&this[I]===0&&(this[v]=!1),this[S]=[]):this[S].splice(this[S].indexOf(t),1),t.unpipe())}addListener(e,t){return this.on(e,t)}on(e,t){let n=super.on(e,t);if(e===`data`)this[L]=!1,this[I]++,!this[S].length&&!this[v]&&this[b]();else if(e===`readable`&&this[C]!==0)super.emit(`readable`);else if(B(e)&&this[l])super.emit(e),this.removeAllListeners(e);else if(e===`error`&&this[d]){let e=t;this[M]?R(()=>e.call(this,this[d])):e.call(this,this[d])}return n}removeListener(e,t){return this.off(e,t)}off(e,t){let n=super.off(e,t);return e===`data`&&(this[I]=this.listeners(`data`).length,this[I]===0&&!this[L]&&!this[S].length&&(this[v]=!1)),n}removeAllListeners(e){let t=super.removeAllListeners(e);return(e===`data`||e===void 0)&&(this[I]=0,!this[L]&&!this[S].length&&(this[v]=!1)),t}get emittedEnd(){return this[l]}[c](){!this[u]&&!this[l]&&!this[D]&&this[x].length===0&&this[s]&&(this[u]=!0,this.emit(`end`),this.emit(`prefinish`),this.emit(`finish`),this[f]&&this.emit(`close`),this[u]=!1)}emit(e,...t){let n=t[0];if(e!==`error`&&e!==`close`&&e!==D&&this[D])return!1;if(e===`data`)return!this[E]&&!n?!1:this[M]?(R(()=>this[k](n)),!0):this[k](n);if(e===`end`)return this[A]();if(e===`close`){if(this[f]=!0,!this[l]&&!this[D])return!1;let e=super.emit(`close`);return this.removeAllListeners(`close`),e}else if(e===`error`){this[d]=n,super.emit(O,n);let e=!this[F]||this.listeners(`error`).length?super.emit(`error`,n):!1;return this[c](),e}else if(e===`resume`){let e=super.emit(`resume`);return this[c](),e}else if(e===`finish`||e===`prefinish`){let t=super.emit(e);return this.removeAllListeners(e),t}let r=super.emit(e,...t);return this[c](),r}[k](e){for(let t of this[S])t.dest.write(e)===!1&&this.pause();let t=this[L]?!1:super.emit(`data`,e);return this[c](),t}[A](){return this[l]?!1:(this[l]=!0,this.readable=!1,this[M]?(R(()=>this[j]()),!0):this[j]())}[j](){if(this[_]){let e=this[_].end();if(e){for(let t of this[S])t.dest.write(e);this[L]||super.emit(`data`,e)}}for(let e of this[S])e.end();let e=super.emit(`end`);return this.removeAllListeners(`end`),e}async collect(){let e=Object.assign([],{dataLength:0});this[E]||(e.dataLength=0);let t=this.promise();return this.on(`data`,t=>{e.push(t),this[E]||(e.dataLength+=t.length)}),await t,e}async concat(){if(this[E])throw Error(`cannot concat in objectMode`);let e=await this.collect();return this[g]?e.join(``):Buffer.concat(e,e.dataLength)}async promise(){return new Promise((e,t)=>{this.on(D,()=>t(Error(`stream destroyed`))),this.on(`error`,e=>t(e)),this.on(`end`,()=>e())})}[Symbol.asyncIterator](){this[L]=!1;let e=!1,t=async()=>(this.pause(),e=!0,{value:void 0,done:!0});return{next:()=>{if(e)return t();let n=this.read();if(n!==null)return Promise.resolve({done:!1,value:n});if(this[s])return t();let r,a,o=e=>{this.off(`data`,c),this.off(`end`,l),this.off(D,u),t(),a(e)},c=e=>{this.off(`error`,o),this.off(`end`,l),this.off(D,u),this.pause(),r({value:e,done:!!this[s]})},l=()=>{this.off(`error`,o),this.off(`data`,c),this.off(D,u),t(),r({done:!0,value:void 0})},u=()=>o(Error(`stream destroyed`));return new Promise((e,t)=>{a=t,r=e,this.once(D,u),this.once(`error`,o),this.once(`end`,l),this.once(`data`,c)})},throw:t,return:t,[Symbol.asyncIterator](){return this},[Symbol.asyncDispose]:async()=>{}}}[Symbol.iterator](){this[L]=!1;let e=!1,t=()=>(this.pause(),this.off(O,t),this.off(D,t),this.off(`end`,t),e=!0,{done:!0,value:void 0});return this.once(`end`,t),this.once(O,t),this.once(D,t),{next:()=>{if(e)return t();let n=this.read();return n===null?t():{done:!1,value:n}},throw:t,return:t,[Symbol.iterator](){return this},[Symbol.dispose]:()=>{}}}destroy(e){if(this[D])return e?this.emit(`error`,e):this.emit(D),this;this[D]=!0,this[L]=!0,this[x].length=0,this[C]=0;let t=this;return typeof t.close==`function`&&!this[f]&&t.close(),e?this.emit(`error`,e):this.emit(D),this}static get isStream(){return e.isStream}};e.Minipass=te}),p=t(e=>{"use strict";var t=e&&e.__createBinding||(Object.create?(function(e,t,n,r){r===void 0&&(r=n);var a=Object.getOwnPropertyDescriptor(t,n);(!a||(`get`in a?!t.__esModule:a.writable||a.configurable))&&(a={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,a)}):(function(e,t,n,r){r===void 0&&(r=n),e[r]=t[n]})),n=e&&e.__setModuleDefault||(Object.create?(function(e,t){Object.defineProperty(e,`default`,{enumerable:!0,value:t})}):function(e,t){e.default=t}),r=e&&e.__importStar||function(e){if(e&&e.__esModule)return e;var r={};if(e!=null)for(var a in e)a!==`default`&&Object.prototype.hasOwnProperty.call(e,a)&&t(r,e,a);return n(r,e),r};Object.defineProperty(e,`__esModule`,{value:!0}),e.PathScurry=e.Path=e.PathScurryDarwin=e.PathScurryPosix=e.PathScurryWin32=e.PathScurryBase=e.PathPosix=e.PathWin32=e.PathBase=e.ChildrenCache=e.ResolveCache=void 0;var a=d(),o=require(`node:path`),s=require(`node:url`),c=require(`fs`),l=r(require(`node:fs`)),u=c.realpathSync.native,p=require(`node:fs/promises`),m=f(),h={lstatSync:c.lstatSync,readdir:c.readdir,readdirSync:c.readdirSync,readlinkSync:c.readlinkSync,realpathSync:u,promises:{lstat:p.lstat,readdir:p.readdir,readlink:p.readlink,realpath:p.realpath}},g=e=>!e||e===h||e===l?h:{...h,...e,promises:{...h.promises,...e.promises||{}}},_=/^\\\\\?\\([a-z]:)\\?$/i,v=e=>e.replace(/\//g,`\\`).replace(_,`$1\\`),y=/[\\\/]/,b=0,x=1,S=2,C=4,w=6,T=8,E=10,D=12,O=15,k=~O,A=16,j=32,M=64,N=128,P=256,F=512,I=M|N|F,L=1023,R=e=>e.isFile()?T:e.isDirectory()?C:e.isSymbolicLink()?E:e.isCharacterDevice()?S:e.isBlockDevice()?w:e.isSocket()?D:e.isFIFO()?x:b,z=new a.LRUCache({max:2**12}),B=e=>{let t=z.get(e);if(t)return t;let n=e.normalize(`NFKD`);return z.set(e,n),n},V=new a.LRUCache({max:2**12}),H=e=>{let t=V.get(e);if(t)return t;let n=B(e.toLowerCase());return V.set(e,n),n},U=class extends a.LRUCache{constructor(){super({max:256})}};e.ResolveCache=U;var W=class extends a.LRUCache{constructor(e=16*1024){super({maxSize:e,sizeCalculation:e=>e.length+1})}};e.ChildrenCache=W;var ee=Symbol(`PathScurry setAsCwd`),G=class{name;root;roots;parent;nocase;isCWD=!1;#e;#t;get dev(){return this.#t}#n;get mode(){return this.#n}#r;get nlink(){return this.#r}#i;get uid(){return this.#i}#a;get gid(){return this.#a}#o;get rdev(){return this.#o}#s;get blksize(){return this.#s}#c;get ino(){return this.#c}#l;get size(){return this.#l}#u;get blocks(){return this.#u}#d;get atimeMs(){return this.#d}#f;get mtimeMs(){return this.#f}#p;get ctimeMs(){return this.#p}#m;get birthtimeMs(){return this.#m}#h;get atime(){return this.#h}#g;get mtime(){return this.#g}#_;get ctime(){return this.#_}#v;get birthtime(){return this.#v}#y;#b;#x;#S;#C;#w;#T;#E;#D;#O;get parentPath(){return(this.parent||this).fullpath()}get path(){return this.parentPath}constructor(e,t=b,n,r,a,o,s){this.name=e,this.#y=a?H(e):B(e),this.#T=t&L,this.nocase=a,this.roots=r,this.root=n||this,this.#E=o,this.#x=s.fullpath,this.#C=s.relative,this.#w=s.relativePosix,this.parent=s.parent,this.parent?this.#e=this.parent.#e:this.#e=g(s.fs)}depth(){return this.#b===void 0?this.parent?this.#b=this.parent.depth()+1:this.#b=0:this.#b}childrenCache(){return this.#E}resolve(e){if(!e)return this;let t=this.getRootString(e),n=e.substring(t.length).split(this.splitSep);return t?this.getRoot(t).#k(n):this.#k(n)}#k(e){let t=this;for(let n of e)t=t.child(n);return t}children(){let e=this.#E.get(this);if(e)return e;let t=Object.assign([],{provisional:0});return this.#E.set(this,t),this.#T&=~A,t}child(e,t){if(e===``||e===`.`)return this;if(e===`..`)return this.parent||this;let n=this.children(),r=this.nocase?H(e):B(e);for(let e of n)if(e.#y===r)return e;let a=this.parent?this.sep:``,o=this.#x?this.#x+a+e:void 0,s=this.newChild(e,b,{...t,parent:this,fullpath:o});return this.canReaddir()||(s.#T|=N),n.push(s),s}relative(){if(this.isCWD)return``;if(this.#C!==void 0)return this.#C;let e=this.name,t=this.parent;if(!t)return this.#C=this.name;let n=t.relative();return n+(!n||!t.parent?``:this.sep)+e}relativePosix(){if(this.sep===`/`)return this.relative();if(this.isCWD)return``;if(this.#w!==void 0)return this.#w;let e=this.name,t=this.parent;if(!t)return this.#w=this.fullpathPosix();let n=t.relativePosix();return n+(!n||!t.parent?``:`/`)+e}fullpath(){if(this.#x!==void 0)return this.#x;let e=this.name,t=this.parent;if(!t)return this.#x=this.name;let n=t.fullpath()+(t.parent?this.sep:``)+e;return this.#x=n}fullpathPosix(){if(this.#S!==void 0)return this.#S;if(this.sep===`/`)return this.#S=this.fullpath();if(!this.parent){let e=this.fullpath().replace(/\\/g,`/`);return/^[a-z]:\//i.test(e)?this.#S=`//?/${e}`:this.#S=e}let e=this.parent,t=e.fullpathPosix(),n=t+(!t||!e.parent?``:`/`)+this.name;return this.#S=n}isUnknown(){return(this.#T&O)===b}isType(e){return this[`is${e}`]()}getType(){return this.isUnknown()?`Unknown`:this.isDirectory()?`Directory`:this.isFile()?`File`:this.isSymbolicLink()?`SymbolicLink`:this.isFIFO()?`FIFO`:this.isCharacterDevice()?`CharacterDevice`:this.isBlockDevice()?`BlockDevice`:this.isSocket()?`Socket`:`Unknown`}isFile(){return(this.#T&O)===T}isDirectory(){return(this.#T&O)===C}isCharacterDevice(){return(this.#T&O)===S}isBlockDevice(){return(this.#T&O)===w}isFIFO(){return(this.#T&O)===x}isSocket(){return(this.#T&O)===D}isSymbolicLink(){return(this.#T&E)===E}lstatCached(){return this.#T&j?this:void 0}readlinkCached(){return this.#D}realpathCached(){return this.#O}readdirCached(){let e=this.children();return e.slice(0,e.provisional)}canReadlink(){if(this.#D)return!0;if(!this.parent)return!1;let e=this.#T&O;return!(e!==b&&e!==E||this.#T&P||this.#T&N)}calledReaddir(){return!!(this.#T&A)}isENOENT(){return!!(this.#T&N)}isNamed(e){return this.nocase?this.#y===H(e):this.#y===B(e)}async readlink(){let e=this.#D;if(e)return e;if(this.canReadlink()&&this.parent)try{let e=await this.#e.promises.readlink(this.fullpath()),t=(await this.parent.realpath())?.resolve(e);if(t)return this.#D=t}catch(e){this.#L(e.code);return}}readlinkSync(){let e=this.#D;if(e)return e;if(this.canReadlink()&&this.parent)try{let e=this.#e.readlinkSync(this.fullpath()),t=this.parent.realpathSync()?.resolve(e);if(t)return this.#D=t}catch(e){this.#L(e.code);return}}#A(e){this.#T|=A;for(let t=e.provisional;t<e.length;t++){let n=e[t];n&&n.#j()}}#j(){this.#T&N||(this.#T=(this.#T|N)&k,this.#M())}#M(){let e=this.children();e.provisional=0;for(let t of e)t.#j()}#N(){this.#T|=F,this.#P()}#P(){if(this.#T&M)return;let e=this.#T;(e&O)===C&&(e&=k),this.#T=e|M,this.#M()}#F(e=``){e===`ENOTDIR`||e===`EPERM`?this.#P():e===`ENOENT`?this.#j():this.children().provisional=0}#I(e=``){e===`ENOTDIR`?this.parent.#P():e===`ENOENT`&&this.#j()}#L(e=``){let t=this.#T;t|=P,e===`ENOENT`&&(t|=N),(e===`EINVAL`||e===`UNKNOWN`)&&(t&=k),this.#T=t,e===`ENOTDIR`&&this.parent&&this.parent.#P()}#R(e,t){return this.#B(e,t)||this.#z(e,t)}#z(e,t){let n=R(e),r=this.newChild(e.name,n,{parent:this}),a=r.#T&O;return a!==C&&a!==E&&a!==b&&(r.#T|=M),t.unshift(r),t.provisional++,r}#B(e,t){for(let n=t.provisional;n<t.length;n++){let r=t[n];if((this.nocase?H(e.name):B(e.name))===r.#y)return this.#V(e,r,n,t)}}#V(e,t,n,r){let a=t.name;return t.#T=t.#T&k|R(e),a!==e.name&&(t.name=e.name),n!==r.provisional&&(n===r.length-1?r.pop():r.splice(n,1),r.unshift(t)),r.provisional++,t}async lstat(){if((this.#T&N)===0)try{return this.#H(await this.#e.promises.lstat(this.fullpath())),this}catch(e){this.#I(e.code)}}lstatSync(){if((this.#T&N)===0)try{return this.#H(this.#e.lstatSync(this.fullpath())),this}catch(e){this.#I(e.code)}}#H(e){let{atime:t,atimeMs:n,birthtime:r,birthtimeMs:a,blksize:o,blocks:s,ctime:c,ctimeMs:l,dev:u,gid:d,ino:f,mode:p,mtime:m,mtimeMs:h,nlink:g,rdev:_,size:v,uid:y}=e;this.#h=t,this.#d=n,this.#v=r,this.#m=a,this.#s=o,this.#u=s,this.#_=c,this.#p=l,this.#t=u,this.#a=d,this.#c=f,this.#n=p,this.#g=m,this.#f=h,this.#r=g,this.#o=_,this.#l=v,this.#i=y;let x=R(e);this.#T=this.#T&k|x|j,x!==b&&x!==C&&x!==E&&(this.#T|=M)}#U=[];#W=!1;#G(e){this.#W=!1;let t=this.#U.slice();this.#U.length=0,t.forEach(t=>t(null,e))}readdirCB(e,t=!1){if(!this.canReaddir()){t?e(null,[]):queueMicrotask(()=>e(null,[]));return}let n=this.children();if(this.calledReaddir()){let r=n.slice(0,n.provisional);t?e(null,r):queueMicrotask(()=>e(null,r));return}if(this.#U.push(e),this.#W)return;this.#W=!0;let r=this.fullpath();this.#e.readdir(r,{withFileTypes:!0},(e,t)=>{if(e)this.#F(e.code),n.provisional=0;else{for(let e of t)this.#R(e,n);this.#A(n)}this.#G(n.slice(0,n.provisional))})}#K;async readdir(){if(!this.canReaddir())return[];let e=this.children();if(this.calledReaddir())return e.slice(0,e.provisional);let t=this.fullpath();if(this.#K)await this.#K;else{let n=()=>{};this.#K=new Promise(e=>n=e);try{for(let n of await this.#e.promises.readdir(t,{withFileTypes:!0}))this.#R(n,e);this.#A(e)}catch(t){this.#F(t.code),e.provisional=0}this.#K=void 0,n()}return e.slice(0,e.provisional)}readdirSync(){if(!this.canReaddir())return[];let e=this.children();if(this.calledReaddir())return e.slice(0,e.provisional);let t=this.fullpath();try{for(let n of this.#e.readdirSync(t,{withFileTypes:!0}))this.#R(n,e);this.#A(e)}catch(t){this.#F(t.code),e.provisional=0}return e.slice(0,e.provisional)}canReaddir(){if(this.#T&I)return!1;let e=O&this.#T;return e===b||e===C||e===E}shouldWalk(e,t){return(this.#T&C)===C&&!(this.#T&I)&&!e.has(this)&&(!t||t(this))}async realpath(){if(this.#O)return this.#O;if(!((F|P|N)&this.#T))try{let e=await this.#e.promises.realpath(this.fullpath());return this.#O=this.resolve(e)}catch{this.#N()}}realpathSync(){if(this.#O)return this.#O;if(!((F|P|N)&this.#T))try{let e=this.#e.realpathSync(this.fullpath());return this.#O=this.resolve(e)}catch{this.#N()}}[ee](e){if(e===this)return;e.isCWD=!1,this.isCWD=!0;let t=new Set([]),n=[],r=this;for(;r&&r.parent;)t.add(r),r.#C=n.join(this.sep),r.#w=n.join(`/`),r=r.parent,n.push(`..`);for(r=e;r&&r.parent&&!t.has(r);)r.#C=void 0,r.#w=void 0,r=r.parent}};e.PathBase=G;var te=class e extends G{sep=`\\`;splitSep=y;constructor(e,t=b,n,r,a,o,s){super(e,t,n,r,a,o,s)}newChild(t,n=b,r={}){return new e(t,n,this.root,this.roots,this.nocase,this.childrenCache(),r)}getRootString(e){return o.win32.parse(e).root}getRoot(e){if(e=v(e.toUpperCase()),e===this.root.name)return this.root;for(let[t,n]of Object.entries(this.roots))if(this.sameRoot(e,t))return this.roots[e]=n;return this.roots[e]=new K(e,this).root}sameRoot(e,t=this.root.name){return e=e.toUpperCase().replace(/\//g,`\\`).replace(_,`$1\\`),e===t}};e.PathWin32=te;var ne=class e extends G{splitSep=`/`;sep=`/`;constructor(e,t=b,n,r,a,o,s){super(e,t,n,r,a,o,s)}getRootString(e){return e.startsWith(`/`)?`/`:``}getRoot(e){return this.root}newChild(t,n=b,r={}){return new e(t,n,this.root,this.roots,this.nocase,this.childrenCache(),r)}};e.PathPosix=ne;var re=class{root;rootPath;roots;cwd;#e;#t;#n;nocase;#r;constructor(e=process.cwd(),t,n,{nocase:r,childrenCacheSize:a=16*1024,fs:o=h}={}){this.#r=g(o),(e instanceof URL||e.startsWith(`file://`))&&(e=(0,s.fileURLToPath)(e));let c=t.resolve(e);this.roots=Object.create(null),this.rootPath=this.parseRootPath(c),this.#e=new U,this.#t=new U,this.#n=new W(a);let l=c.substring(this.rootPath.length).split(n);if(l.length===1&&!l[0]&&l.pop(),r===void 0)throw TypeError(`must provide nocase setting to PathScurryBase ctor`);this.nocase=r,this.root=this.newRoot(this.#r),this.roots[this.rootPath]=this.root;let u=this.root,d=l.length-1,f=t.sep,p=this.rootPath,m=!1;for(let e of l){let t=d--;u=u.child(e,{relative:Array(t).fill(`..`).join(f),relativePosix:Array(t).fill(`..`).join(`/`),fullpath:p+=(m?``:f)+e}),m=!0}this.cwd=u}depth(e=this.cwd){return typeof e==`string`&&(e=this.cwd.resolve(e)),e.depth()}childrenCache(){return this.#n}resolve(...e){let t=``;for(let n=e.length-1;n>=0;n--){let r=e[n];if(!(!r||r===`.`)&&(t=t?`${r}/${t}`:r,this.isAbsolute(r)))break}let n=this.#e.get(t);if(n!==void 0)return n;let r=this.cwd.resolve(t).fullpath();return this.#e.set(t,r),r}resolvePosix(...e){let t=``;for(let n=e.length-1;n>=0;n--){let r=e[n];if(!(!r||r===`.`)&&(t=t?`${r}/${t}`:r,this.isAbsolute(r)))break}let n=this.#t.get(t);if(n!==void 0)return n;let r=this.cwd.resolve(t).fullpathPosix();return this.#t.set(t,r),r}relative(e=this.cwd){return typeof e==`string`&&(e=this.cwd.resolve(e)),e.relative()}relativePosix(e=this.cwd){return typeof e==`string`&&(e=this.cwd.resolve(e)),e.relativePosix()}basename(e=this.cwd){return typeof e==`string`&&(e=this.cwd.resolve(e)),e.name}dirname(e=this.cwd){return typeof e==`string`&&(e=this.cwd.resolve(e)),(e.parent||e).fullpath()}async readdir(e=this.cwd,t={withFileTypes:!0}){typeof e==`string`?e=this.cwd.resolve(e):e instanceof G||(t=e,e=this.cwd);let{withFileTypes:n}=t;if(e.canReaddir()){let t=await e.readdir();return n?t:t.map(e=>e.name)}else return[]}readdirSync(e=this.cwd,t={withFileTypes:!0}){typeof e==`string`?e=this.cwd.resolve(e):e instanceof G||(t=e,e=this.cwd);let{withFileTypes:n=!0}=t;return e.canReaddir()?n?e.readdirSync():e.readdirSync().map(e=>e.name):[]}async lstat(e=this.cwd){return typeof e==`string`&&(e=this.cwd.resolve(e)),e.lstat()}lstatSync(e=this.cwd){return typeof e==`string`&&(e=this.cwd.resolve(e)),e.lstatSync()}async readlink(e=this.cwd,{withFileTypes:t}={withFileTypes:!1}){typeof e==`string`?e=this.cwd.resolve(e):e instanceof G||(t=e.withFileTypes,e=this.cwd);let n=await e.readlink();return t?n:n?.fullpath()}readlinkSync(e=this.cwd,{withFileTypes:t}={withFileTypes:!1}){typeof e==`string`?e=this.cwd.resolve(e):e instanceof G||(t=e.withFileTypes,e=this.cwd);let n=e.readlinkSync();return t?n:n?.fullpath()}async realpath(e=this.cwd,{withFileTypes:t}={withFileTypes:!1}){typeof e==`string`?e=this.cwd.resolve(e):e instanceof G||(t=e.withFileTypes,e=this.cwd);let n=await e.realpath();return t?n:n?.fullpath()}realpathSync(e=this.cwd,{withFileTypes:t}={withFileTypes:!1}){typeof e==`string`?e=this.cwd.resolve(e):e instanceof G||(t=e.withFileTypes,e=this.cwd);let n=e.realpathSync();return t?n:n?.fullpath()}async walk(e=this.cwd,t={}){typeof e==`string`?e=this.cwd.resolve(e):e instanceof G||(t=e,e=this.cwd);let{withFileTypes:n=!0,follow:r=!1,filter:a,walkFilter:o}=t,s=[];(!a||a(e))&&s.push(n?e:e.fullpath());let c=new Set,l=(e,t)=>{c.add(e),e.readdirCB((e,u)=>{if(e)return t(e);let d=u.length;if(!d)return t();let f=()=>{--d===0&&t()};for(let e of u)(!a||a(e))&&s.push(n?e:e.fullpath()),r&&e.isSymbolicLink()?e.realpath().then(e=>e?.isUnknown()?e.lstat():e).then(e=>e?.shouldWalk(c,o)?l(e,f):f()):e.shouldWalk(c,o)?l(e,f):f()},!0)},u=e;return new Promise((e,t)=>{l(u,n=>{if(n)return t(n);e(s)})})}walkSync(e=this.cwd,t={}){typeof e==`string`?e=this.cwd.resolve(e):e instanceof G||(t=e,e=this.cwd);let{withFileTypes:n=!0,follow:r=!1,filter:a,walkFilter:o}=t,s=[];(!a||a(e))&&s.push(n?e:e.fullpath());let c=new Set([e]);for(let e of c){let t=e.readdirSync();for(let e of t){(!a||a(e))&&s.push(n?e:e.fullpath());let t=e;if(e.isSymbolicLink()){if(!(r&&(t=e.realpathSync())))continue;t.isUnknown()&&t.lstatSync()}t.shouldWalk(c,o)&&c.add(t)}}return s}[Symbol.asyncIterator](){return this.iterate()}iterate(e=this.cwd,t={}){return typeof e==`string`?e=this.cwd.resolve(e):e instanceof G||(t=e,e=this.cwd),this.stream(e,t)[Symbol.asyncIterator]()}[Symbol.iterator](){return this.iterateSync()}*iterateSync(e=this.cwd,t={}){typeof e==`string`?e=this.cwd.resolve(e):e instanceof G||(t=e,e=this.cwd);let{withFileTypes:n=!0,follow:r=!1,filter:a,walkFilter:o}=t;(!a||a(e))&&(yield n?e:e.fullpath());let s=new Set([e]);for(let e of s){let t=e.readdirSync();for(let e of t){(!a||a(e))&&(yield n?e:e.fullpath());let t=e;if(e.isSymbolicLink()){if(!(r&&(t=e.realpathSync())))continue;t.isUnknown()&&t.lstatSync()}t.shouldWalk(s,o)&&s.add(t)}}}stream(e=this.cwd,t={}){typeof e==`string`?e=this.cwd.resolve(e):e instanceof G||(t=e,e=this.cwd);let{withFileTypes:n=!0,follow:r=!1,filter:a,walkFilter:o}=t,s=new m.Minipass({objectMode:!0});(!a||a(e))&&s.write(n?e:e.fullpath());let c=new Set,l=[e],u=0,d=()=>{let e=!1;for(;!e;){let t=l.shift();if(!t){u===0&&s.end();return}u++,c.add(t);let f=(t,m,h=!1)=>{if(t)return s.emit(`error`,t);if(r&&!h){let e=[];for(let t of m)t.isSymbolicLink()&&e.push(t.realpath().then(e=>e?.isUnknown()?e.lstat():e));if(e.length){Promise.all(e).then(()=>f(null,m,!0));return}}for(let t of m)t&&(!a||a(t))&&(s.write(n?t:t.fullpath())||(e=!0));u--;for(let e of m){let t=e.realpathCached()||e;t.shouldWalk(c,o)&&l.push(t)}e&&!s.flowing?s.once(`drain`,d):p||d()},p=!0;t.readdirCB(f,!0),p=!1}};return d(),s}streamSync(e=this.cwd,t={}){typeof e==`string`?e=this.cwd.resolve(e):e instanceof G||(t=e,e=this.cwd);let{withFileTypes:n=!0,follow:r=!1,filter:a,walkFilter:o}=t,s=new m.Minipass({objectMode:!0}),c=new Set;(!a||a(e))&&s.write(n?e:e.fullpath());let l=[e],u=0,d=()=>{let e=!1;for(;!e;){let t=l.shift();if(!t){u===0&&s.end();return}u++,c.add(t);let d=t.readdirSync();for(let t of d)(!a||a(t))&&(s.write(n?t:t.fullpath())||(e=!0));u--;for(let e of d){let t=e;if(e.isSymbolicLink()){if(!(r&&(t=e.realpathSync())))continue;t.isUnknown()&&t.lstatSync()}t.shouldWalk(c,o)&&l.push(t)}}e&&!s.flowing&&s.once(`drain`,d)};return d(),s}chdir(e=this.cwd){let t=this.cwd;this.cwd=typeof e==`string`?this.cwd.resolve(e):e,this.cwd[ee](t)}};e.PathScurryBase=re;var K=class extends re{sep=`\\`;constructor(e=process.cwd(),t={}){let{nocase:n=!0}=t;super(e,o.win32,`\\`,{...t,nocase:n}),this.nocase=n;for(let e=this.cwd;e;e=e.parent)e.nocase=this.nocase}parseRootPath(e){return o.win32.parse(e).root.toUpperCase()}newRoot(e){return new te(this.rootPath,C,void 0,this.roots,this.nocase,this.childrenCache(),{fs:e})}isAbsolute(e){return e.startsWith(`/`)||e.startsWith(`\\`)||/^[a-z]:(\/|\\)/i.test(e)}};e.PathScurryWin32=K;var ie=class extends re{sep=`/`;constructor(e=process.cwd(),t={}){let{nocase:n=!1}=t;super(e,o.posix,`/`,{...t,nocase:n}),this.nocase=n}parseRootPath(e){return`/`}newRoot(e){return new ne(this.rootPath,C,void 0,this.roots,this.nocase,this.childrenCache(),{fs:e})}isAbsolute(e){return e.startsWith(`/`)}};e.PathScurryPosix=ie;var ae=class extends ie{constructor(e=process.cwd(),t={}){let{nocase:n=!0}=t;super(e,{...t,nocase:n})}};e.PathScurryDarwin=ae,e.Path=process.platform===`win32`?te:ne,e.PathScurry=process.platform===`win32`?K:process.platform===`darwin`?ae:ie}),m=t(e=>{"use strict";Object.defineProperty(e,`__esModule`,{value:!0}),e.Pattern=void 0;var t=u(),n=e=>e.length>=1,r=e=>e.length>=1,a=Symbol.for(`nodejs.util.inspect.custom`);e.Pattern=class e{#e;#t;#n;length;#r;#i;#a;#o;#s;#c;#l=!0;constructor(e,t,a,o){if(!n(e))throw TypeError(`empty pattern list`);if(!r(t))throw TypeError(`empty glob list`);if(t.length!==e.length)throw TypeError(`mismatched pattern list and glob list lengths`);if(this.length=e.length,a<0||a>=this.length)throw TypeError(`index out of range`);if(this.#e=e,this.#t=t,this.#n=a,this.#r=o,this.#n===0){if(this.isUNC()){let[e,t,n,r,...a]=this.#e,[o,s,c,l,...u]=this.#t;a[0]===``&&(a.shift(),u.shift());let d=[e,t,n,r,``].join(`/`),f=[o,s,c,l,``].join(`/`);this.#e=[d,...a],this.#t=[f,...u],this.length=this.#e.length}else if(this.isDrive()||this.isAbsolute()){let[e,...t]=this.#e,[n,...r]=this.#t;t[0]===``&&(t.shift(),r.shift());let a=e+`/`,o=n+`/`;this.#e=[a,...t],this.#t=[o,...r],this.length=this.#e.length}}}[a](){return`Pattern <`+this.#t.slice(this.#n).join(`/`)+`>`}pattern(){return this.#e[this.#n]}isString(){return typeof this.#e[this.#n]==`string`}isGlobstar(){return this.#e[this.#n]===t.GLOBSTAR}isRegExp(){return this.#e[this.#n]instanceof RegExp}globString(){return this.#a=this.#a||(this.#n===0?this.isAbsolute()?this.#t[0]+this.#t.slice(1).join(`/`):this.#t.join(`/`):this.#t.slice(this.#n).join(`/`))}hasMore(){return this.length>this.#n+1}rest(){return this.#i===void 0?this.hasMore()?(this.#i=new e(this.#e,this.#t,this.#n+1,this.#r),this.#i.#c=this.#c,this.#i.#s=this.#s,this.#i.#o=this.#o,this.#i):this.#i=null:this.#i}isUNC(){let e=this.#e;return this.#s===void 0?this.#s=this.#r===`win32`&&this.#n===0&&e[0]===``&&e[1]===``&&typeof e[2]==`string`&&!!e[2]&&typeof e[3]==`string`&&!!e[3]:this.#s}isDrive(){let e=this.#e;return this.#o===void 0?this.#o=this.#r===`win32`&&this.#n===0&&this.length>1&&typeof e[0]==`string`&&/^[a-z]:$/i.test(e[0]):this.#o}isAbsolute(){let e=this.#e;return this.#c===void 0?this.#c=e[0]===``&&e.length>1||this.isDrive()||this.isUNC():this.#c}root(){let e=this.#e[0];return typeof e==`string`&&this.isAbsolute()&&this.#n===0?e:``}checkFollowGlobstar(){return!(this.#n===0||!this.isGlobstar()||!this.#l)}markFollowGlobstar(){return this.#n===0||!this.isGlobstar()||!this.#l?!1:(this.#l=!1,!0)}}}),h=t(e=>{"use strict";Object.defineProperty(e,`__esModule`,{value:!0}),e.Ignore=void 0;var t=u(),n=m(),r=typeof process==`object`&&process&&typeof process.platform==`string`?process.platform:`linux`;e.Ignore=class{relative;relativeChildren;absolute;absoluteChildren;platform;mmopts;constructor(e,{nobrace:t,nocase:n,noext:a,noglobstar:o,platform:s=r}){this.relative=[],this.absolute=[],this.relativeChildren=[],this.absoluteChildren=[],this.platform=s,this.mmopts={dot:!0,nobrace:t,nocase:n,noext:a,noglobstar:o,optimizationLevel:2,platform:s,nocomment:!0,nonegate:!0};for(let t of e)this.add(t)}add(e){let r=new t.Minimatch(e,this.mmopts);for(let e=0;e<r.set.length;e++){let a=r.set[e],o=r.globParts[e];if(!a||!o)throw Error(`invalid pattern object`);for(;a[0]===`.`&&o[0]===`.`;)a.shift(),o.shift();let s=new n.Pattern(a,o,0,this.platform),c=new t.Minimatch(s.globString(),this.mmopts),l=o[o.length-1]===`**`,u=s.isAbsolute();u?this.absolute.push(c):this.relative.push(c),l&&(u?this.absoluteChildren.push(c):this.relativeChildren.push(c))}}ignored(e){let t=e.fullpath(),n=`${t}/`,r=e.relative()||`.`,a=`${r}/`;for(let e of this.relative)if(e.match(r)||e.match(a))return!0;for(let e of this.absolute)if(e.match(t)||e.match(n))return!0;return!1}childrenIgnored(e){let t=e.fullpath()+`/`,n=(e.relative()||`.`)+`/`;for(let e of this.relativeChildren)if(e.match(n))return!0;for(let e of this.absoluteChildren)if(e.match(t))return!0;return!1}}}),g=t(e=>{"use strict";Object.defineProperty(e,`__esModule`,{value:!0}),e.Processor=e.SubWalks=e.MatchRecord=e.HasWalkedCache=void 0;var t=u(),n=class e{store;constructor(e=new Map){this.store=e}copy(){return new e(new Map(this.store))}hasWalked(e,t){return this.store.get(e.fullpath())?.has(t.globString())}storeWalked(e,t){let n=e.fullpath(),r=this.store.get(n);r?r.add(t.globString()):this.store.set(n,new Set([t.globString()]))}};e.HasWalkedCache=n;var r=class{store=new Map;add(e,t,n){let r=(t?2:0)|!!n,a=this.store.get(e);this.store.set(e,a===void 0?r:r&a)}entries(){return[...this.store.entries()].map(([e,t])=>[e,!!(t&2),!!(t&1)])}};e.MatchRecord=r;var a=class{store=new Map;add(e,t){if(!e.canReaddir())return;let n=this.store.get(e);n?n.find(e=>e.globString()===t.globString())||n.push(t):this.store.set(e,[t])}get(e){let t=this.store.get(e);if(!t)throw Error(`attempting to walk unknown path`);return t}entries(){return this.keys().map(e=>[e,this.store.get(e)])}keys(){return[...this.store.keys()].filter(e=>e.canReaddir())}};e.SubWalks=a,e.Processor=class e{hasWalkedCache;matches=new r;subwalks=new a;patterns;follow;dot;opts;constructor(e,t){this.opts=e,this.follow=!!e.follow,this.dot=!!e.dot,this.hasWalkedCache=t?t.copy():new n}processPatterns(e,n){this.patterns=n;let r=n.map(t=>[e,t]);for(let[e,n]of r){this.hasWalkedCache.storeWalked(e,n);let r=n.root(),a=n.isAbsolute()&&this.opts.absolute!==!1;if(r){e=e.resolve(r===`/`&&this.opts.root!==void 0?this.opts.root:r);let t=n.rest();if(t)n=t;else{this.matches.add(e,!0,!1);continue}}if(e.isENOENT())continue;let o,s,c=!1;for(;typeof(o=n.pattern())==`string`&&(s=n.rest());)e=e.resolve(o),n=s,c=!0;if(o=n.pattern(),s=n.rest(),c){if(this.hasWalkedCache.hasWalked(e,n))continue;this.hasWalkedCache.storeWalked(e,n)}if(typeof o==`string`){let t=o===`..`||o===``||o===`.`;this.matches.add(e.resolve(o),a,t);continue}else if(o===t.GLOBSTAR){(!e.isSymbolicLink()||this.follow||n.checkFollowGlobstar())&&this.subwalks.add(e,n);let t=s?.pattern(),r=s?.rest();if(!s||(t===``||t===`.`)&&!r)this.matches.add(e,a,t===``||t===`.`);else if(t===`..`){let t=e.parent||e;r?this.hasWalkedCache.hasWalked(t,r)||this.subwalks.add(t,r):this.matches.add(t,a,!0)}}else o instanceof RegExp&&this.subwalks.add(e,n)}return this}subwalkTargets(){return this.subwalks.keys()}child(){return new e(this.opts,this.hasWalkedCache)}filterEntries(e,n){let r=this.subwalks.get(e),a=this.child();for(let e of n)for(let n of r){let r=n.isAbsolute(),o=n.pattern(),s=n.rest();o===t.GLOBSTAR?a.testGlobstar(e,n,s,r):o instanceof RegExp?a.testRegExp(e,o,s,r):a.testString(e,o,s,r)}return a}testGlobstar(e,t,n,r){if((this.dot||!e.name.startsWith(`.`))&&(t.hasMore()||this.matches.add(e,r,!1),e.canReaddir()&&(this.follow||!e.isSymbolicLink()?this.subwalks.add(e,t):e.isSymbolicLink()&&(n&&t.checkFollowGlobstar()?this.subwalks.add(e,n):t.markFollowGlobstar()&&this.subwalks.add(e,t)))),n){let t=n.pattern();if(typeof t==`string`&&t!==`..`&&t!==``&&t!==`.`)this.testString(e,t,n.rest(),r);else if(t===`..`){let t=e.parent||e;this.subwalks.add(t,n)}else t instanceof RegExp&&this.testRegExp(e,t,n.rest(),r)}}testRegExp(e,t,n,r){t.test(e.name)&&(n?this.subwalks.add(e,n):this.matches.add(e,r,!1))}testString(e,t,n,r){e.isNamed(t)&&(n?this.subwalks.add(e,n):this.matches.add(e,r,!1))}}}),_=t(e=>{"use strict";Object.defineProperty(e,`__esModule`,{value:!0}),e.GlobStream=e.GlobWalker=e.GlobUtil=void 0;var t=f(),n=h(),r=g(),a=(e,t)=>typeof e==`string`?new n.Ignore([e],t):Array.isArray(e)?new n.Ignore(e,t):e,o=class{path;patterns;opts;seen=new Set;paused=!1;aborted=!1;#e=[];#t;#n;signal;maxDepth;includeChildMatches;constructor(e,t,n){if(this.patterns=e,this.path=t,this.opts=n,this.#n=!n.posix&&n.platform===`win32`?`\\`:`/`,this.includeChildMatches=n.includeChildMatches!==!1,(n.ignore||!this.includeChildMatches)&&(this.#t=a(n.ignore??[],n),!this.includeChildMatches&&typeof this.#t.add!=`function`))throw Error(`cannot ignore child matches, ignore lacks add() method.`);this.maxDepth=n.maxDepth||1/0,n.signal&&(this.signal=n.signal,this.signal.addEventListener(`abort`,()=>{this.#e.length=0}))}#r(e){return this.seen.has(e)||!!this.#t?.ignored?.(e)}#i(e){return!!this.#t?.childrenIgnored?.(e)}pause(){this.paused=!0}resume(){if(this.signal?.aborted)return;this.paused=!1;let e;for(;!this.paused&&(e=this.#e.shift());)e()}onResume(e){this.signal?.aborted||(this.paused?this.#e.push(e):e())}async matchCheck(e,t){if(t&&this.opts.nodir)return;let n;if(this.opts.realpath){if(n=e.realpathCached()||await e.realpath(),!n)return;e=n}let r=e.isUnknown()||this.opts.stat?await e.lstat():e;if(this.opts.follow&&this.opts.nodir&&r?.isSymbolicLink()){let e=await r.realpath();e&&(e.isUnknown()||this.opts.stat)&&await e.lstat()}return this.matchCheckTest(r,t)}matchCheckTest(e,t){return e&&(this.maxDepth===1/0||e.depth()<=this.maxDepth)&&(!t||e.canReaddir())&&(!this.opts.nodir||!e.isDirectory())&&(!this.opts.nodir||!this.opts.follow||!e.isSymbolicLink()||!e.realpathCached()?.isDirectory())&&!this.#r(e)?e:void 0}matchCheckSync(e,t){if(t&&this.opts.nodir)return;let n;if(this.opts.realpath){if(n=e.realpathCached()||e.realpathSync(),!n)return;e=n}let r=e.isUnknown()||this.opts.stat?e.lstatSync():e;if(this.opts.follow&&this.opts.nodir&&r?.isSymbolicLink()){let e=r.realpathSync();e&&(e?.isUnknown()||this.opts.stat)&&e.lstatSync()}return this.matchCheckTest(r,t)}matchFinish(e,t){if(this.#r(e))return;if(!this.includeChildMatches&&this.#t?.add){let t=`${e.relativePosix()}/**`;this.#t.add(t)}let n=this.opts.absolute===void 0?t:this.opts.absolute;this.seen.add(e);let r=this.opts.mark&&e.isDirectory()?this.#n:``;if(this.opts.withFileTypes)this.matchEmit(e);else if(n){let t=this.opts.posix?e.fullpathPosix():e.fullpath();this.matchEmit(t+r)}else{let t=this.opts.posix?e.relativePosix():e.relative(),n=this.opts.dotRelative&&!t.startsWith(`..`+this.#n)?`.`+this.#n:``;this.matchEmit(t?n+t+r:`.`+r)}}async match(e,t,n){let r=await this.matchCheck(e,n);r&&this.matchFinish(r,t)}matchSync(e,t,n){let r=this.matchCheckSync(e,n);r&&this.matchFinish(r,t)}walkCB(e,t,n){this.signal?.aborted&&n(),this.walkCB2(e,t,new r.Processor(this.opts),n)}walkCB2(e,t,n,r){if(this.#i(e))return r();if(this.signal?.aborted&&r(),this.paused){this.onResume(()=>this.walkCB2(e,t,n,r));return}n.processPatterns(e,t);let a=1,o=()=>{--a===0&&r()};for(let[e,t,r]of n.matches.entries())this.#r(e)||(a++,this.match(e,t,r).then(()=>o()));for(let e of n.subwalkTargets()){if(this.maxDepth!==1/0&&e.depth()>=this.maxDepth)continue;a++;let t=e.readdirCached();e.calledReaddir()?this.walkCB3(e,t,n,o):e.readdirCB((t,r)=>this.walkCB3(e,r,n,o),!0)}o()}walkCB3(e,t,n,r){n=n.filterEntries(e,t);let a=1,o=()=>{--a===0&&r()};for(let[e,t,r]of n.matches.entries())this.#r(e)||(a++,this.match(e,t,r).then(()=>o()));for(let[e,t]of n.subwalks.entries())a++,this.walkCB2(e,t,n.child(),o);o()}walkCBSync(e,t,n){this.signal?.aborted&&n(),this.walkCB2Sync(e,t,new r.Processor(this.opts),n)}walkCB2Sync(e,t,n,r){if(this.#i(e))return r();if(this.signal?.aborted&&r(),this.paused){this.onResume(()=>this.walkCB2Sync(e,t,n,r));return}n.processPatterns(e,t);let a=1,o=()=>{--a===0&&r()};for(let[e,t,r]of n.matches.entries())this.#r(e)||this.matchSync(e,t,r);for(let e of n.subwalkTargets()){if(this.maxDepth!==1/0&&e.depth()>=this.maxDepth)continue;a++;let t=e.readdirSync();this.walkCB3Sync(e,t,n,o)}o()}walkCB3Sync(e,t,n,r){n=n.filterEntries(e,t);let a=1,o=()=>{--a===0&&r()};for(let[e,t,r]of n.matches.entries())this.#r(e)||this.matchSync(e,t,r);for(let[e,t]of n.subwalks.entries())a++,this.walkCB2Sync(e,t,n.child(),o);o()}};e.GlobUtil=o,e.GlobWalker=class extends o{matches=new Set;constructor(e,t,n){super(e,t,n)}matchEmit(e){this.matches.add(e)}async walk(){if(this.signal?.aborted)throw this.signal.reason;return this.path.isUnknown()&&await this.path.lstat(),await new Promise((e,t)=>{this.walkCB(this.path,this.patterns,()=>{this.signal?.aborted?t(this.signal.reason):e(this.matches)})}),this.matches}walkSync(){if(this.signal?.aborted)throw this.signal.reason;return this.path.isUnknown()&&this.path.lstatSync(),this.walkCBSync(this.path,this.patterns,()=>{if(this.signal?.aborted)throw this.signal.reason}),this.matches}},e.GlobStream=class extends o{results;constructor(e,n,r){super(e,n,r),this.results=new t.Minipass({signal:this.signal,objectMode:!0}),this.results.on(`drain`,()=>this.resume()),this.results.on(`resume`,()=>this.resume())}matchEmit(e){this.results.write(e),this.results.flowing||this.pause()}stream(){let e=this.path;return e.isUnknown()?e.lstat().then(()=>{this.walkCB(e,this.patterns,()=>this.results.end())}):this.walkCB(e,this.patterns,()=>this.results.end()),this.results}streamSync(){return this.path.isUnknown()&&this.path.lstatSync(),this.walkCBSync(this.path,this.patterns,()=>this.results.end()),this.results}}}),v=t(e=>{"use strict";Object.defineProperty(e,`__esModule`,{value:!0}),e.Glob=void 0;var t=u(),n=require(`node:url`),r=p(),a=m(),o=_(),s=typeof process==`object`&&process&&typeof process.platform==`string`?process.platform:`linux`;e.Glob=class{absolute;cwd;root;dot;dotRelative;follow;ignore;magicalBraces;mark;matchBase;maxDepth;nobrace;nocase;nodir;noext;noglobstar;pattern;platform;realpath;scurry;stat;signal;windowsPathsNoEscape;withFileTypes;includeChildMatches;opts;patterns;constructor(e,o){if(!o)throw TypeError(`glob options required`);if(this.withFileTypes=!!o.withFileTypes,this.signal=o.signal,this.follow=!!o.follow,this.dot=!!o.dot,this.dotRelative=!!o.dotRelative,this.nodir=!!o.nodir,this.mark=!!o.mark,o.cwd?(o.cwd instanceof URL||o.cwd.startsWith(`file://`))&&(o.cwd=(0,n.fileURLToPath)(o.cwd)):this.cwd=``,this.cwd=o.cwd||``,this.root=o.root,this.magicalBraces=!!o.magicalBraces,this.nobrace=!!o.nobrace,this.noext=!!o.noext,this.realpath=!!o.realpath,this.absolute=o.absolute,this.includeChildMatches=o.includeChildMatches!==!1,this.noglobstar=!!o.noglobstar,this.matchBase=!!o.matchBase,this.maxDepth=typeof o.maxDepth==`number`?o.maxDepth:1/0,this.stat=!!o.stat,this.ignore=o.ignore,this.withFileTypes&&this.absolute!==void 0)throw Error(`cannot set absolute and withFileTypes:true`);if(typeof e==`string`&&(e=[e]),this.windowsPathsNoEscape=!!o.windowsPathsNoEscape||o.allowWindowsEscape===!1,this.windowsPathsNoEscape&&(e=e.map(e=>e.replace(/\\/g,`/`))),this.matchBase){if(o.noglobstar)throw TypeError(`base matching requires globstar`);e=e.map(e=>e.includes(`/`)?e:`./**/${e}`)}if(this.pattern=e,this.platform=o.platform||s,this.opts={...o,platform:this.platform},o.scurry){if(this.scurry=o.scurry,o.nocase!==void 0&&o.nocase!==o.scurry.nocase)throw Error(`nocase option contradicts provided scurry option`)}else{let e=o.platform===`win32`?r.PathScurryWin32:o.platform===`darwin`?r.PathScurryDarwin:o.platform?r.PathScurryPosix:r.PathScurry;this.scurry=new e(this.cwd,{nocase:o.nocase,fs:o.fs})}this.nocase=this.scurry.nocase;let c=this.platform===`darwin`||this.platform===`win32`,l={braceExpandMax:1e4,...o,dot:this.dot,matchBase:this.matchBase,nobrace:this.nobrace,nocase:this.nocase,nocaseMagicOnly:c,nocomment:!0,noext:this.noext,nonegate:!0,optimizationLevel:2,platform:this.platform,windowsPathsNoEscape:this.windowsPathsNoEscape,debug:!!this.opts.debug},[u,d]=this.pattern.map(e=>new t.Minimatch(e,l)).reduce((e,t)=>(e[0].push(...t.set),e[1].push(...t.globParts),e),[[],[]]);this.patterns=u.map((e,t)=>{let n=d[t];if(!n)throw Error(`invalid pattern object`);return new a.Pattern(e,n,0,this.platform)})}async walk(){return[...await new o.GlobWalker(this.patterns,this.scurry.cwd,{...this.opts,maxDepth:this.maxDepth===1/0?1/0:this.maxDepth+this.scurry.cwd.depth(),platform:this.platform,nocase:this.nocase,includeChildMatches:this.includeChildMatches}).walk()]}walkSync(){return[...new o.GlobWalker(this.patterns,this.scurry.cwd,{...this.opts,maxDepth:this.maxDepth===1/0?1/0:this.maxDepth+this.scurry.cwd.depth(),platform:this.platform,nocase:this.nocase,includeChildMatches:this.includeChildMatches}).walkSync()]}stream(){return new o.GlobStream(this.patterns,this.scurry.cwd,{...this.opts,maxDepth:this.maxDepth===1/0?1/0:this.maxDepth+this.scurry.cwd.depth(),platform:this.platform,nocase:this.nocase,includeChildMatches:this.includeChildMatches}).stream()}streamSync(){return new o.GlobStream(this.patterns,this.scurry.cwd,{...this.opts,maxDepth:this.maxDepth===1/0?1/0:this.maxDepth+this.scurry.cwd.depth(),platform:this.platform,nocase:this.nocase,includeChildMatches:this.includeChildMatches}).streamSync()}iterateSync(){return this.streamSync()[Symbol.iterator]()}[Symbol.iterator](){return this.iterateSync()}iterate(){return this.stream()[Symbol.asyncIterator]()}[Symbol.asyncIterator](){return this.iterate()}}}),y=t(e=>{"use strict";Object.defineProperty(e,`__esModule`,{value:!0}),e.hasMagic=void 0;var t=u();e.hasMagic=(e,n={})=>{Array.isArray(e)||(e=[e]);for(let r of e)if(new t.Minimatch(r,n).hasMagic())return!0;return!1}});Object.defineProperty(e,`__esModule`,{value:!0}),e.glob=e.sync=e.iterate=e.iterateSync=e.stream=e.streamSync=e.Ignore=e.hasMagic=e.Glob=e.unescape=e.escape=void 0,e.globStreamSync=D,e.globStream=O,e.globSync=k,e.globIterateSync=j,e.globIterate=M;var b=u(),x=v(),S=y(),C=u();Object.defineProperty(e,`escape`,{enumerable:!0,get:function(){return C.escape}}),Object.defineProperty(e,`unescape`,{enumerable:!0,get:function(){return C.unescape}});var w=v();Object.defineProperty(e,`Glob`,{enumerable:!0,get:function(){return w.Glob}});var T=y();Object.defineProperty(e,`hasMagic`,{enumerable:!0,get:function(){return T.hasMagic}});var E=h();Object.defineProperty(e,`Ignore`,{enumerable:!0,get:function(){return E.Ignore}});function D(e,t={}){return new x.Glob(e,t).streamSync()}function O(e,t={}){return new x.Glob(e,t).stream()}function k(e,t={}){return new x.Glob(e,t).walkSync()}async function A(e,t={}){return new x.Glob(e,t).walk()}function j(e,t={}){return new x.Glob(e,t).iterateSync()}function M(e,t={}){return new x.Glob(e,t).iterate()}e.streamSync=D,e.stream=Object.assign(O,{sync:D}),e.iterateSync=j,e.iterate=Object.assign(M,{sync:j}),e.sync=Object.assign(k,{stream:D,iterate:j}),e.glob=Object.assign(A,{glob:A,globSync:k,sync:e.sync,globStream:O,stream:e.stream,globStreamSync:D,streamSync:e.streamSync,globIterate:M,iterate:e.iterate,globIterateSync:j,iterateSync:e.iterateSync,Glob:x.Glob,hasMagic:S.hasMagic,escape:b.escape,unescape:b.unescape}),e.glob.glob=e.glob})),sn=e.t((e=>{Object.defineProperty(e,`__esModule`,{value:!0}),e.directoryExistsAsync=o,e.fileExists=s,e.fileExistsAsync=a;function t(){let e=n(require(`fs`));return t=function(){return e},e}function n(e){return e&&e.__esModule?e:{default:e}}async function r(e){try{return await t().default.promises.stat(e)}catch{return null}}async function a(e){return(await r(e))?.isFile()??!1}async function o(e){return(await r(e))?.isDirectory()??!1}function s(e){try{return t().default.statSync(e).isFile()}catch{return!1}}})),cn=e.t((e=>{Object.defineProperty(e,`__esModule`,{value:!0}),e.getAndroidManifestAsync=w,e.getAppBuildGradleAsync=S,e.getAppBuildGradleFilePath=x,e.getFileInfo=p,e.getGradleFilePath=g,e.getMainActivityAsync=h,e.getMainApplicationAsync=m,e.getProjectBuildGradleAsync=v,e.getProjectBuildGradleFilePath=_,e.getProjectFilePath=d,e.getProjectPathOrThrowAsync=C,e.getResourceFolderAsync=T,e.getResourceXMLPathAsync=E,e.getSettingsGradleAsync=b,e.getSettingsGradleFilePath=y;function t(){let e=u(require(`assert`));return t=function(){return e},e}function n(){let e=u(require(`fs`));return n=function(){return e},e}function r(){let e=on();return r=function(){return e},e}function a(){let e=l(require(`path`));return a=function(){return e},e}function o(){let e=en();return o=function(){return e},e}function s(){let e=sn();return s=function(){return e},e}function c(e){if(typeof WeakMap!=`function`)return null;var t=new WeakMap,n=new WeakMap;return(c=function(e){return e?n:t})(e)}function l(e,t){if(!t&&e&&e.__esModule)return e;if(e===null||typeof e!=`object`&&typeof e!=`function`)return{default:e};var n=c(t);if(n&&n.has(e))return n.get(e);var r={__proto__:null},a=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if(o!==`default`&&{}.hasOwnProperty.call(e,o)){var s=a?Object.getOwnPropertyDescriptor(e,o):null;s&&(s.get||s.set)?Object.defineProperty(r,o,s):r[o]=e[o]}return r.default=e,n&&n.set(e,r),r}function u(e){return e&&e.__esModule?e:{default:e}}function d(e,n){let a=(0,r().globSync)(`android/app/src/main/java/**/${n}.@(java|kt)`,{cwd:e,absolute:!0})[0];return(0,t().default)(a,`Project file "${n}" does not exist in android project for root "${e}"`),a}function f(e){let t=a().extname(e);switch(t){case`.java`:return`java`;case`.kts`:case`.kt`:return`kt`;case`.groovy`:case`.gradle`:return`groovy`;default:throw new(o()).UnexpectedError(`Unexpected Android file extension: ${t}`)}}function p(e){return{path:a().normalize(e),contents:n().default.readFileSync(e,`utf8`),language:f(e)}}async function m(e){return p(d(e,`MainApplication`))}async function h(e){return p(d(e,`MainActivity`))}function g(e,t){let r=a().resolve(e,`${t}.gradle`),o=a().resolve(e,`${t}.gradle.kts`),s=n().default.existsSync(r),c=!s&&n().default.existsSync(o);if(!s&&!c)throw Error(`Failed to find '${t}.gradle' file for project: ${e}.`);return s?r:o}function _(e){return g(a().join(e,`android`),`build`)}async function v(e){return p(_(e))}function y(e){return g(a().join(e,`android`),`settings`)}async function b(e){return p(y(e))}function x(e){return g(a().join(e,`android`,`app`),`build`)}async function S(e){return p(x(e))}async function C(e){let t=a().join(e,`android`);if(await(0,s().directoryExistsAsync)(t))return t;throw Error(`Android project folder is missing in project: ${e}`)}async function w(e){let t=await C(e);return a().join(t,`app/src/main/AndroidManifest.xml`)}async function T(e){let t=await C(e);return a().join(t,`app/src/main/res`)}async function E(e,{kind:t=`values`,name:n}){let r=await T(e);return a().join(r,`${t}/${n}.xml`)}})),ln=e.t((e=>{Object.defineProperty(e,`__esModule`,{value:!0}),e.buildResourceGroup=o,e.buildResourceItem=a,e.ensureDefaultResourceXML=r,e.findResourceGroup=s,e.getObjectAsResourceGroup=u,e.getObjectAsResourceItems=l,e.getResourceItemsAsObject=c,e.readResourcesXMLAsync=n;function t(){let e=Zt();return t=function(){return e},e}async function n({path:e,fallback:n=`<?xml version="1.0" encoding="utf-8"?><resources></resources>`}){let r=await(0,t().readXMLAsync)({path:e,fallback:n});return r.resources||={},r}function r(e){return e||={resources:{}},e.resources||={},e}function a({name:e,value:t,targetApi:n,translatable:r}){let a={$:{name:e},_:t};return n&&(a.$[`tools:targetApi`]=n),r!==void 0&&(a.$.translatable=String(r)),a}function o(e){return{$:{name:e.name,parent:e.parent},item:e.items??[]}}function s(e,t){return e?.filter?.(({$:e})=>{let n=e.name===t.name;return t.parent!=null&&n&&(n=e.parent===t.parent),n})?.[0]??null}function c(e){return e.reduce((e,t)=>({...e,[t.$.name]:t._}),{})}function l(e){return Object.entries(e).map(([e,t])=>({$:{name:e},_:t}))}function u(e){return{$:{name:e.name,parent:e.parent},item:l(e.item)}}})),un=e.t((e=>{Object.defineProperty(e,`__esModule`,{value:!0}),e.assignColorValue=s,e.getColorsAsObject=c,e.getObjectAsColorsXml=l,e.getProjectColorsXMLPathAsync=r,e.removeColorItem=o,e.setColorItem=a;function t(){let e=cn();return t=function(){return e},e}function n(){let e=ln();return n=function(){return e},e}function r(e,{kind:n}={}){return(0,t().getResourceXMLPathAsync)(e,{kind:n,name:`colors`})}function a(e,t){if(t.resources?.color){let n=t.resources.color.filter(t=>t.$.name===e.$.name)[0];n?n._=e._:t.resources.color.push(e)}else (!t.resources||typeof t.resources==`string`)&&(t.resources={}),t.resources.color=[e];return t}function o(e,t){if(t.resources?.color){let n=t.resources.color.findIndex(t=>t.$.name===e);n>-1&&t.resources.color.splice(n,1)}return t}function s(e,{value:t,name:r}){return t?a((0,n().buildResourceItem)({name:r,value:t}),e):o(r,e)}function c(e){return e?.resources?.color?(0,n().getResourceItemsAsObject)(e.resources.color):null}function l(e){return{resources:{color:(0,n().getObjectAsResourceItems)(e)}}}})),dn=e.t((e=>{Object.defineProperty(e,`__esModule`,{value:!0}),e.default=void 0,e.default=`// Build integration with EAS

import java.nio.file.Paths

android {
  signingConfigs {
    release {
      // This is necessary to avoid needing the user to define a release signing config manually
      // If no release config is defined, and this is not present, build for assembleRelease will crash
    }
  }

  buildTypes {
    release {
      // This is necessary to avoid needing the user to define a release build type manually
    }
  }
}

def isEasBuildConfigured = false

tasks.whenTaskAdded {
  def debug = gradle.startParameter.taskNames.any { it.toLowerCase().contains('debug') }

  if (debug) {
    return
  }

  // We only need to configure EAS build once
  if (isEasBuildConfigured) {
    return
  }

  isEasBuildConfigured = true;

  android.signingConfigs.release {
    def credentialsJson = rootProject.file("../credentials.json");

    if (credentialsJson.exists()) {
      if (storeFile && !System.getenv("EAS_BUILD")) {
        println("Path to release keystore file is already set, ignoring 'credentials.json'")
      } else {
        try {
          def credentials = new groovy.json.JsonSlurper().parse(credentialsJson)
          def keystorePath = Paths.get(credentials.android.keystore.keystorePath);
          def storeFilePath = keystorePath.isAbsolute()
            ? keystorePath
            : rootProject.file("..").toPath().resolve(keystorePath);

          storeFile storeFilePath.toFile()
          storePassword credentials.android.keystore.keystorePassword
          keyAlias credentials.android.keystore.keyAlias
          if (credentials.android.keystore.containsKey("keyPassword")) {
            keyPassword credentials.android.keystore.keyPassword
          } else {
            // key password is required by Gradle, but PKCS keystores don't have one
            // using the keystore password seems to satisfy the requirement
            keyPassword credentials.android.keystore.keystorePassword
          }
        } catch (Exception e) {
          println("An error occurred while parsing 'credentials.json': " + e.message)
        }
      }
    } else {
      if (storeFile == null) {
        println("Couldn't find a 'credentials.json' file, skipping release keystore configuration")
      }
    }
  }

  android.buildTypes.release {
    signingConfig android.signingConfigs.release
  }
}
`})),fn=e.t((e=>{Object.defineProperty(e,`__esModule`,{value:!0}),e.configureEasBuildAsync=f,e.getEasBuildGradlePath=d,e.isEasBuildGradleConfiguredAsync=p;function t(){let e=c(require(`fs`));return t=function(){return e},e}function n(){let e=c(require(`path`));return n=function(){return e},e}function r(){let e=c(dn());return r=function(){return e},e}function a(){let e=s(cn());return a=function(){return e},e}function o(e){if(typeof WeakMap!=`function`)return null;var t=new WeakMap,n=new WeakMap;return(o=function(e){return e?n:t})(e)}function s(e,t){if(!t&&e&&e.__esModule)return e;if(e===null||typeof e!=`object`&&typeof e!=`function`)return{default:e};var n=o(t);if(n&&n.has(e))return n.get(e);var r={__proto__:null},a=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var s in e)if(s!==`default`&&{}.hasOwnProperty.call(e,s)){var c=a?Object.getOwnPropertyDescriptor(e,s):null;c&&(c.get||c.set)?Object.defineProperty(r,s,c):r[s]=e[s]}return r.default=e,n&&n.set(e,r),r}function c(e){return e&&e.__esModule?e:{default:e}}let l=`apply from: "./eas-build.gradle"`;function u(e,t){return e.replace(/\r\n/g,`
`).split(`
`).some(e=>e===t||e===t.replace(/"/g,`'`))}function d(e){return n().default.join(e,`android`,`app`,`eas-build.gradle`)}async function f(e){let o=a().getAppBuildGradleFilePath(e),s=d(e);await t().default.promises.writeFile(s,r().default);let c=await t().default.promises.readFile(n().default.join(o),`utf8`);u(c,l)||await t().default.promises.writeFile(o,`${c.trim()}\n${l}\n`)}async function p(e){let r=a().getAppBuildGradleFilePath(e),o=d(e),s=await t().default.existsSync(o);return u(await t().default.promises.readFile(n().default.join(r),`utf8`),l)&&s}})),pn=e.t((e=>{Object.defineProperty(e,`__esModule`,{value:!0}),e.getGoogleMapsApiKey=o,e.setGoogleMapsApiKey=s,e.withGoogleMapsApiKey=void 0;function t(){let e=Qt();return t=function(){return e},e}function n(){let e=nn();return n=function(){return e},e}let r=`com.google.android.geo.API_KEY`,a=`org.apache.http.legacy`;e.withGoogleMapsApiKey=(0,n().createAndroidManifestPlugin)(s,`withGoogleMapsApiKey`);function o(e){return e.android?.config?.googleMaps?.apiKey??null}function s(e,n){let s=o(e),c=(0,t().getMainApplicationOrThrow)(n);return s?((0,t().addMetaDataItemToMainApplication)(c,r,s),(0,t().addUsesLibraryItemToMainApplication)(c,{name:a,required:!1})):((0,t().removeMetaDataItemFromMainApplication)(c,r),(0,t().removeUsesLibraryItemFromMainApplication)(c,a)),n}})),mn=e.t((e=>{Object.defineProperty(e,`__esModule`,{value:!0}),e.withDangerousMod=void 0;function t(){let e=tn();return t=function(){return e},e}e.withDangerousMod=(e,[n,r])=>(0,t().withMod)(e,{platform:n,mod:`dangerous`,action:r})})),hn=e.t((e=>{Object.defineProperty(e,`__esModule`,{value:!0}),e.copyFilePathToPathAsync=a,e.removeFile=o;function t(){let e=r(require(`fs`));return t=function(){return e},e}function n(){let e=r(require(`path`));return n=function(){return e},e}function r(e){return e&&e.__esModule?e:{default:e}}async function a(e,r){let a=await t().default.promises.readFile(e);await t().default.promises.mkdir(n().default.dirname(r),{recursive:!0}),await t().default.promises.writeFile(r,a)}function o(e){try{return t().default.unlinkSync(e),!0}catch(e){if(e.code===`ENOENT`)return!1;throw e}}})),gn=e.t((e=>{Object.defineProperty(e,`__esModule`,{value:!0}),e.addWarningAndroid=a,e.addWarningForPlatform=s,e.addWarningIOS=o;function t(){let e=r(n.l());return t=function(){return e},e}function r(e){return e&&e.__esModule?e:{default:e}}function a(e,t,n){console.warn(c(`android`,e,t,n))}function o(e,t,n){console.warn(c(`ios`,e,t,n))}function s(e,t,n,r){console.warn(c(e,t,n,r))}function c(e,n,r,a){return t().default.yellow`${`» `+t().default.bold(e)}: ${n}: ${r}${a?t().default.gray(` `+a):``}`}})),_n=e.t((e=>{Object.defineProperty(e,`__esModule`,{value:!0}),e.applyPlugin=p,e.getGoogleServicesFilePath=u,e.setClassPath=f,e.setGoogleServicesFile=d,e.withGoogleServicesFile=e.withClassPath=e.withApplyPlugin=void 0;function t(){let e=s(require(`path`));return t=function(){return e},e}function n(){let e=nn();return n=function(){return e},e}function r(){let e=mn();return r=function(){return e},e}function a(){let e=hn();return a=function(){return e},e}function o(){let e=gn();return o=function(){return e},e}function s(e){return e&&e.__esModule?e:{default:e}}let c=`com.google.gms:google-services`,l=`com.google.gms.google-services`;e.withClassPath=e=>(0,n().withProjectBuildGradle)(e,e=>(e.modResults.language===`groovy`?e.modResults.contents=f(e,e.modResults.contents):(0,o().addWarningAndroid)(`android.googleServicesFile`,`Cannot automatically configure project build.gradle if it's not groovy`),e)),e.withApplyPlugin=e=>(0,n().withAppBuildGradle)(e,e=>(e.modResults.language===`groovy`?e.modResults.contents=p(e,e.modResults.contents):(0,o().addWarningAndroid)(`android.googleServicesFile`,`Cannot automatically configure app build.gradle if it's not groovy`),e)),e.withGoogleServicesFile=e=>(0,r().withDangerousMod)(e,[`android`,async e=>(await d(e,e.modRequest.projectRoot),e)]);function u(e){return e.android?.googleServicesFile??null}async function d(e,n,r=`./android/app/google-services.json`){let o=u(e);if(!o)return!1;let s=t().default.resolve(n,o),c=t().default.resolve(n,r);try{await(0,a().copyFilePathToPathAsync)(s,c)}catch(e){throw console.log(e),Error(`Cannot copy google-services.json from ${s} to ${c}. Ensure the source and destination paths exist.`)}return!0}function f(e,t){return!u(e)||t.includes(c)?t:t.replace(/dependencies\s?{/,`dependencies {
        classpath '${c}:4.4.1'`)}function p(e,t){if(!u(e))return t;let n=RegExp(`apply\\s+plugin:\\s+['"]${l}['"]`);return t.match(n)?t:t+`\napply plugin: '${l}'`}})),vn=e.t((e=>{Object.defineProperty(e,`__esModule`,{value:!0}),e.default=s,e.getIntentFilters=a,e.setAndroidIntentFilters=o,e.withAndroidIntentFilters=void 0;function t(){let e=Qt();return t=function(){return e},e}function n(){let e=nn();return n=function(){return e},e}let r=`data-generated`;e.withAndroidIntentFilters=(0,n().createAndroidManifestPlugin)(o,`withAndroidIntentFilters`);function a(e){return e.android?.intentFilters??[]}function o(e,n){let o=(0,t().getMainActivityOrThrow)(n);o[`intent-filter`]?.length&&(o[`intent-filter`]=o[`intent-filter`].filter(e=>e.$?.[r]!==`true`));let c=a(e);return c.length&&(o[`intent-filter`]=o[`intent-filter`]?.concat(s(c))),n}function s(e){return e.map(e=>({$:{"android:autoVerify":e.autoVerify?`true`:void 0,[r]:`true`},action:[{$:{"android:name":`android.intent.action.${e.action}`}}],data:c(e.data),category:l(e.category)}))}function c(e){return(Array.isArray(e)?e:[e]).filter(Boolean).map(e=>({$:Object.entries(e??{}).reduce((e,[t,n])=>({...e,[`android:${t}`]:n}),{})}))}function l(e){return(Array.isArray(e)?e:[e]).filter(Boolean).map(e=>({$:{"android:name":`android.intent.category.${e}`}}))}})),yn=e.t((e=>{Object.defineProperty(e,`__esModule`,{value:!0}),e.EmptyJsonFileError=void 0;var t=class extends Error{cause;code;fileName;isJsonFileError;constructor(e,t,n,r){let a=e;r&&(a+=`\n${t?`├`:`└`}─ File: ${r}`),t&&(a+=`\n└─ Cause: ${t.name}: ${t.message}`),super(a),this.name=this.constructor.name,this.cause=t,this.code=n,this.fileName=r,this.isJsonFileError=!0}};e.default=t,e.EmptyJsonFileError=class extends t{constructor(e){super(`Cannot parse an empty JSON string`,void 0,`EJSONEMPTY`,e)}}})),bn=e.t((e=>{var t=e&&e.__createBinding||(Object.create?(function(e,t,n,r){r===void 0&&(r=n);var a=Object.getOwnPropertyDescriptor(t,n);(!a||(`get`in a?!t.__esModule:a.writable||a.configurable))&&(a={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,a)}):(function(e,t,n,r){r===void 0&&(r=n),e[r]=t[n]})),n=e&&e.__setModuleDefault||(Object.create?(function(e,t){Object.defineProperty(e,`default`,{enumerable:!0,value:t})}):function(e,t){e.default=t}),r=e&&e.__importStar||(function(){var e=function(t){return e=Object.getOwnPropertyNames||function(e){var t=[];for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[t.length]=n);return t},e(t)};return function(r){if(r&&r.__esModule)return r;var a={};if(r!=null)for(var o=e(r),s=0;s<o.length;s++)o[s]!==`default`&&t(a,r,o[s]);return n(a,r),a}})();Object.defineProperty(e,`__esModule`,{value:!0}),e.writeFileAtomicSync=c,e.writeFileAtomic=l;let a=require(`node:crypto`),o=r(require(`node:fs`));function s(e,t){return`${e}.${(0,a.createHash)(`sha256`).update(t).digest(`base64url`)}`}function c(e,t){let n=s(e,t);o.writeFileSync(n,t),o.renameSync(n,e)}async function l(e,t){let n=s(e,t);await o.promises.writeFile(n,t),await o.promises.rename(n,e)}})),xn=e.t((e=>{var t=e&&e.__createBinding||(Object.create?(function(e,t,n,r){r===void 0&&(r=n);var a=Object.getOwnPropertyDescriptor(t,n);(!a||(`get`in a?!t.__esModule:a.writable||a.configurable))&&(a={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,a)}):(function(e,t,n,r){r===void 0&&(r=n),e[r]=t[n]})),r=e&&e.__setModuleDefault||(Object.create?(function(e,t){Object.defineProperty(e,`default`,{enumerable:!0,value:t})}):function(e,t){e.default=t}),a=e&&e.__importStar||(function(){var e=function(t){return e=Object.getOwnPropertyNames||function(e){var t=[];for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[t.length]=n);return t},e(t)};return function(n){if(n&&n.__esModule)return n;var a={};if(n!=null)for(var o=e(n),s=0;s<o.length;s++)o[s]!==`default`&&t(a,n,o[s]);return r(a,n),a}})(),o=e&&e.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(e,`__esModule`,{value:!0});let s=o(f()),c=o(require(`node:fs`)),l=o(require(`node:path`)),u=a(yn()),d=bn(),p={badJsonDefault:void 0,jsonParseErrorDefault:void 0,cantReadFileDefault:void 0,ensureDir:!1,default:void 0,json5:!1,space:2,addNewLineAtEOF:!0};e.default=class{file;options;static read=m;static readAsync=h;static parseJsonString=g;static write=y;static writeAsync=b;static get=_;static getAsync=v;static set=x;static setAsync=S;static merge=w;static mergeAsync=C;static deleteKey=E;static deleteKeyAsync=T;static deleteKeys=O;static deleteKeysAsync=D;static rewrite=A;static rewriteAsync=k;constructor(e,t={}){this.file=e,this.options=t}read(e){return m(this.file,this._getOptions(e))}async readAsync(e){return h(this.file,this._getOptions(e))}write(e,t){return y(this.file,e,this._getOptions(t))}async writeAsync(e,t){return b(this.file,e,this._getOptions(t))}parseJsonString(e,t){return g(e,t)}get(e,t,n){return _(this.file,e,t,this._getOptions(n))}async getAsync(e,t,n){return v(this.file,e,t,this._getOptions(n))}set(e,t,n){return x(this.file,e,t,this._getOptions(n))}async setAsync(e,t,n){return S(this.file,e,t,this._getOptions(n))}async merge(e,t){return w(this.file,e,this._getOptions(t))}async mergeAsync(e,t){return C(this.file,e,this._getOptions(t))}deleteKey(e,t){return E(this.file,e,this._getOptions(t))}async deleteKeyAsync(e,t){return T(this.file,e,this._getOptions(t))}deleteKeys(e,t){return O(this.file,e,this._getOptions(t))}async deleteKeysAsync(e,t){return D(this.file,e,this._getOptions(t))}rewrite(e){return A(this.file,this._getOptions(e))}async rewriteAsync(e){return k(this.file,this._getOptions(e))}_getOptions(e){return{...this.options,...e}}};function m(e,t){let n;try{n=c.default.readFileSync(e,`utf8`)}catch(r){F(n,e);let a=M(t);if(a===void 0)throw new u.default(`Can't read JSON file: ${e}`,r,r.code,e);return a}return g(n,t,e)}async function h(e,t){let n;try{n=await c.default.promises.readFile(e,`utf8`)}catch(r){F(n,e);let a=M(t);if(a===void 0)throw new u.default(`Can't read JSON file: ${e}`,r,r.code);return a}return g(n,t)}function g(e,t,r){F(e,r);try{return N(t,`json5`)?s.default.parse(e):JSON.parse(e)}catch(a){let o=j(t);if(o===void 0){let t=P(a,e);if(t){let{codeFrameColumns:r}=n.d(),o=r(e,{start:t});a.codeFrame=o,a.message+=`\n${o}`}throw new u.default(`Error parsing JSON: ${e}`,a,`EJSONPARSE`,r)}else return o}}function _(e,t,n,r){let a=m(e,r);if(t in a)return a[t];if(n===void 0)throw new u.default(`No value at key path "${String(t)}" in JSON object from: ${e}`);return n}async function v(e,t,n,r){let a=await h(e,r);if(t in a)return a[t];if(n===void 0)throw new u.default(`No value at key path "${String(t)}" in JSON object from: ${e}`);return n}function y(e,t,n){n?.ensureDir&&c.default.mkdirSync(l.default.dirname(e),{recursive:!0});let r=N(n,`space`),a=N(n,`json5`),o=N(n,`addNewLineAtEOF`),f;try{f=a?s.default.stringify(t,null,r):JSON.stringify(t,null,r)}catch(t){throw new u.default(`Couldn't JSON.stringify object for file: ${e}`,t)}let p=o?`${f}\n`:f;return(0,d.writeFileAtomicSync)(e,p),t}async function b(e,t,n){n?.ensureDir&&await c.default.promises.mkdir(l.default.dirname(e),{recursive:!0});let r=N(n,`space`),a=N(n,`json5`),o=N(n,`addNewLineAtEOF`),f;try{f=a?s.default.stringify(t,null,r):JSON.stringify(t,null,r)}catch(t){throw new u.default(`Couldn't JSON.stringify object for file: ${e}`,t)}let p=o?`${f}\n`:f;return await(0,d.writeFileAtomic)(e,p),t}function x(e,t,n,r){return y(e,{...m(e,r),[t]:n},r)}async function S(e,t,n,r){return b(e,{...await h(e,r),[t]:n},r)}async function C(e,t,n){let r=await h(e,n);return Array.isArray(t)?Object.assign(r,...t):Object.assign(r,t),b(e,r,n)}function w(e,t,n){let r=m(e,n);return Array.isArray(t)?Object.assign(r,...t):Object.assign(r,t),y(e,r,n)}async function T(e,t,n){return D(e,[t],n)}function E(e,t,n){return O(e,[t],n)}async function D(e,t,n){let r=await h(e,n),a=!1;for(let e=0;e<t.length;e++){let n=t[e];r.hasOwnProperty(n)&&(delete r[n],a=!0)}return a?b(e,r,n):r}function O(e,t,n){let r=m(e,n),a=!1;for(let e=0;e<t.length;e++){let n=t[e];r.hasOwnProperty(n)&&(delete r[n],a=!0)}return a?y(e,r,n):r}async function k(e,t){return b(e,await h(e,t),t)}function A(e,t){return y(e,m(e,t),t)}function j(e={}){return e.jsonParseErrorDefault===void 0?e.default:e.jsonParseErrorDefault}function M(e={}){return e.cantReadFileDefault===void 0?e.default:e.cantReadFileDefault}function N(e,t){return e&&e[t]!==void 0?e[t]:p[t]}function P(e,t){if(`lineNumber`in e&&`columnNumber`in e)return{line:e.lineNumber,column:e.columnNumber};let n=/at position (\d+)/.exec(e.message);if(n){let e=parseInt(n[1],10),r=t.slice(0,e+1).split(`
`);return{line:r.length,column:r[r.length-1].length}}return null}function F(e,t){if(e?.trim()===``)throw new u.EmptyJsonFileError(t)}})),Sn=e.t((e=>{Object.defineProperty(e,`__esModule`,{value:!0}),e.getResolvedLocalesAsync=o;function t(){let e=a(xn());return t=function(){return e},e}function n(){let e=a(require(`path`));return n=function(){return e},e}function r(){let e=gn();return r=function(){return e},e}function a(e){return e&&e.__esModule?e:{default:e}}async function o(e,t,n){let r={},a={};for(let[o,l]of Object.entries(t)){let t=await s(e,l,n,o);if(t){let{android:e,ios:s,...l}={android:{},ios:{},...t};if(n===`ios`){let{localizableStringsEntry:e,otherEntries:t}=c({ios:s,lang:o});e&&(a[o]=e),r[o]={...l,...t}}else r[o]={...l,...e}}}return{localesMap:r,localizableStringsIOS:a}}async function s(e,a,o,s){if(typeof a==`string`)try{return await t().default.readAsync(n().default.join(e,a))}catch{return(0,r().addWarningForPlatform)(o,`locales.${s}`,`Failed to parse JSON of locale file for language: ${s}`,`https://docs.expo.dev/guides/localization/#translating-app-metadata`),null}return a}function c({ios:e,lang:t}){let n=`Localizable.strings`;if(!(n in e))return{localizableStringsEntry:void 0,otherEntries:e};let{[n]:a,...o}=e;return a?l(a)?{localizableStringsEntry:a,otherEntries:o}:((0,r().addWarningForPlatform)(`ios`,`locales.${t}.ios['${n}']`,`Expected a JSON object mapping string keys to string values`,`https://docs.expo.dev/guides/localization/#translating-app-metadata`),{localizableStringsEntry:void 0,otherEntries:o}):{localizableStringsEntry:void 0,otherEntries:o}}function l(e){return!e||typeof e!=`object`||Array.isArray(e)?!1:Object.values(e).every(e=>typeof e==`string`)}})),Cn=e.t((e=>{Object.defineProperty(e,`__esModule`,{value:!0}),e.getLocales=s,e.setLocalesAsync=c,e.withLocales=void 0;function t(){let e=o(require(`path`));return t=function(){return e},e}function n(){let e=ma();return n=function(){return e},e}function r(){let e=Zt();return r=function(){return e},e}function a(){let e=Sn();return a=function(){return e},e}function o(e){return e&&e.__esModule?e:{default:e}}e.withLocales=e=>(0,n().withDangerousMod)(e,[`android`,async e=>(e.modResults=await c(e,{projectRoot:e.modRequest.projectRoot}),e)]);function s(e){return e.locales??null}async function c(e,{projectRoot:o}){let c=s(e);if(!c)return e;let{localesMap:l}=await(0,a().getResolvedLocalesAsync)(o,c,`android`);for(let[e,a]of Object.entries(l)){let s=t().default.join(await n().AndroidConfig.Paths.getResourceFolderAsync(o),`values-b+${e.replaceAll(`-`,`+`)}`,`strings.xml`);(0,r().writeXMLAsync)({path:s,xml:{resources:Object.entries(a).map(([e,t])=>({string:{$:{name:e},_:`"${t}"`}}))}})}return e}})),wn=e.t((e=>{Object.defineProperty(e,`__esModule`,{value:!0}),e.getProjectStringsXMLPathAsync=n,e.removeStringItem=a,e.setStringItem=r;function t(){let e=cn();return t=function(){return e},e}async function n(e,{kind:n}={}){return(0,t().getResourceXMLPathAsync)(e,{kind:n,name:`strings`})}function r(e,t){if(!t?.resources?.string)return(!t.resources||typeof t.resources==`string`)&&(t.resources={}),t.resources.string=e,t;for(let n of e){let e=t.resources.string.findIndex(e=>e.$.name===n.$.name);e>-1?t.resources.string[e]=n:t.resources.string=t.resources.string.concat(n)}return t}function a(e,t){if(t?.resources?.string){let n=t.resources.string.findIndex(t=>t.$.name===e);n>-1&&t.resources.string.splice(n,1)}return t}})),Tn=e.t((e=>{Object.defineProperty(e,`__esModule`,{value:!0}),e.applyNameSettingsGradle=l,e.getName=s,e.sanitizeNameForGradle=o,e.withNameSettingsGradle=e.withName=void 0;function t(){let e=ln();return t=function(){return e},e}function n(){let e=wn();return n=function(){return e},e}function r(){let e=nn();return r=function(){return e},e}function a(){let e=gn();return a=function(){return e},e}function o(e){return e=e.replace(/[\n\r\t]/g,``),e.replace(/(\/|\\|:|<|>|"|\?|\*|\|)/g,``)}e.withName=(0,r().createStringsXmlPlugin)(c,`withName`),e.withNameSettingsGradle=e=>(0,r().withSettingsGradle)(e,e=>(e.modResults.language===`groovy`?e.modResults.contents=l(e,e.modResults.contents):(0,a().addWarningAndroid)(`name`,`Cannot automatically configure settings.gradle if it's not groovy`),e));function s(e){return typeof e.name==`string`?e.name:null}function c(e,r){let a=s(e);return a?(0,n().setStringItem)([(0,t().buildResourceItem)({name:`app_name`,value:a})],r):(0,n().removeStringItem)(`app_name`,r)}function l(e,t){let n=o(s(e)??``);return t.replace(/rootProject.name\s?=\s?(["'])(?:(?=(\\?))\2.)*?\1/g,`rootProject.name = '${n.replace(/'/g,`\\'`)}'`)}})),En=e.t((e=>{Object.defineProperty(e,`__esModule`,{value:!0}),e.SCREEN_ORIENTATION_ATTRIBUTE=void 0,e.getOrientation=a,e.setAndroidOrientation=o,e.withOrientation=void 0;function t(){let e=Qt();return t=function(){return e},e}function n(){let e=nn();return n=function(){return e},e}let r=e.SCREEN_ORIENTATION_ATTRIBUTE=`android:screenOrientation`;e.withOrientation=(0,n().createAndroidManifestPlugin)(o,`withOrientation`);function a(e){return typeof e.orientation==`string`?e.orientation:null}function o(e,n){let o=a(e);if(!o)return n;let s=(0,t().getMainActivityOrThrow)(n);return s.$[r]=o===`default`?`unspecified`:o,n}})),Dn=e.t((e=>{Object.defineProperty(e,`__esModule`,{value:!0}),e.getApplicationIdAsync=w,e.getPackage=m,e.kotlinSanitized=D,e.renameJniOnDiskForType=b,e.renamePackageOnDisk=y,e.renamePackageOnDiskForType=x,e.setPackageInBuildGradle=C,e.withPackageRefactor=e.withPackageGradle=void 0;function n(){let e=f(t.t());return n=function(){return e},e}function r(){let e=f(require(`fs`));return r=function(){return e},e}function a(){let e=on();return a=function(){return e},e}function o(){let e=f(require(`path`));return o=function(){return e},e}function s(){let e=cn();return s=function(){return e},e}function c(){let e=nn();return c=function(){return e},e}function l(){let e=mn();return l=function(){return e},e}function u(){let e=sn();return u=function(){return e},e}function d(){let e=gn();return d=function(){return e},e}function f(e){return e&&e.__esModule?e:{default:e}}let p=(0,n().default)(`expo:config-plugins:android:package`);e.withPackageGradle=e=>(0,c().withAppBuildGradle)(e,e=>(e.modResults.language===`groovy`?e.modResults.contents=C(e,e.modResults.contents):(0,d().addWarningAndroid)(`android.package`,`Cannot automatically configure app build.gradle if it's not groovy`),e)),e.withPackageRefactor=e=>(0,l().withDangerousMod)(e,[`android`,async e=>(await y(e,e.modRequest.projectRoot),e)]);function m(e){return e.android?.package??null}function h(e,t){return o().default.join(e,`android`,`app`,`src`,t,`java`)}function g(e,t){let n=(0,s().getProjectFilePath)(e,`MainApplication`),r=o().default.dirname(n);return o().default.relative(t,r).split(o().default.sep).filter(Boolean).join(`.`)}function _(e,t,n,r){let s=(0,a().globSync)(o().default.join(e,`android/app/src/${r}/java/**/${n}.@(java|kt)`))[0];if(!s)return null;let c=o().default.dirname(s);return o().default.relative(t,c).split(o().default.sep).filter(Boolean).join(`.`)}function v(e,t){let n=h(e,t);return t===`main`?g(e,n):_(e,n,`*`,t)}async function y(e,t){let n=m(e);if(n!==null)for(let e of[`debug`,`main`,`release`])await b({projectRoot:t,type:e,packageName:n}),await x({projectRoot:t,type:e,packageName:n})}async function b({projectRoot:e,type:t,packageName:n}){if(!n)return;let s=v(e,t);if(!s||!n||s===n)return;let c=o().default.join(e,`android`,`app`,`src`,t,`jni`);[...(0,a().globSync)(`**/*`,{cwd:c,absolute:!0})].forEach(e=>{try{if(r().default.lstatSync(e).isFile()&&[`.h`,`.cpp`].includes(o().default.extname(e))){let t=r().default.readFileSync(e).toString();t=t.replace(new RegExp(E(s).replace(/\//g,`\\/`),`g`),E(n)),r().default.writeFileSync(e,t)}}catch{p(`Error updating "${e}" for type "${t}"`)}})}async function x({projectRoot:e,type:t,packageName:n}){if(!n)return;let s=v(e,t);if(p(`Found package "${s}" for type "${t}"`),!s||s===n)return;p(`Refactor "${s}" to "${n}" for type "${t}"`);let c=h(e,t);if(!await(0,u().directoryExistsAsync)(c)){p(`- skipping refactor of missing directory: ${c}`);return}let l=o().default.join(c,...s.split(`.`)),d=o().default.join(c,...n.split(`.`));r().default.mkdirSync(d,{recursive:!0}),(0,a().globSync)(`**/*`,{cwd:l}).forEach(e=>{let t=o().default.join(l,e);r().default.lstatSync(t).isFile()?S(t,o().default.join(d,e)):r().default.mkdirSync(t,{recursive:!0})});let f=s.split(`.`);for(;f.length;){let e=o().default.join(c,...f);try{r().default.readdirSync(e).length===0&&r().default.rmdirSync(e)}finally{f.pop()}}let m=[...(0,a().globSync)(`**/*`,{cwd:d,absolute:!0})];t===`main`&&m.push(o().default.join(e,`android`,`app`,`BUCK`));let g=D(n);m.forEach(e=>{try{if(r().default.lstatSync(e).isFile()){let t=r().default.readFileSync(e).toString();t=o().default.extname(e)===`.kt`?T(t,s,g):T(t,s,n),[`.h`,`.cpp`].includes(o().default.extname(e))&&(t=t.replace(new RegExp(E(s).replace(/\//g,`\\`),`g`),E(n))),r().default.writeFileSync(e,t)}}catch{p(`Error updating "${e}" for type "${t}"`)}})}function S(e,t){r().default.mkdirSync(o().default.dirname(t),{recursive:!0}),r().default.renameSync(e,t)}function C(e,t){let n=m(e);if(n===null)return t;let r=RegExp(`(applicationId|namespace) ['"].*['"]`,`g`);return t.replace(r,`$1 '${n}'`)}async function w(e){let t=(0,s().getAppBuildGradleFilePath)(e);return r().default.existsSync(t)?(await r().default.promises.readFile(t,`utf8`)).match(/applicationId ['"](.*)['"]/)?.[1]??null:null}function T(e,t,n){let r=t.replace(/\./g,`\\.`);return e.replace(RegExp(`"${r}"`,`g`),`"${n}"`).replace(RegExp(`(package|namespace)(\\s+)${r}`,`g`),`$1$2${n}`).replace(RegExp(`(import\\s+)${r}\\.`,`g`),`$1${n}.`)}function E(e){return`L${e.replace(/\./g,`/`)}`}function D(e){let t=[`is`,`in`,`as`,`fun`];return e.split(`.`).map(e=>t.includes(e)?"`"+e+"`":e).join(`.`)}})),On=e.t((e=>{Object.defineProperty(e,`__esModule`,{value:!0}),e.addBlockedPermissions=o,e.addPermission=m,e.addPermissionToManifest=f,e.ensurePermission=g,e.ensurePermissionNameFormat=_,e.ensurePermissions=h,e.getAndroidPermissions=l,e.getPermissions=v,e.isPermissionAlreadyRequested=d,e.removePermissions=p,e.setAndroidPermissions=u,e.withPermissions=e.withInternalBlockedPermissions=e.withBlockedPermissions=void 0;function t(){let e=Qt();return t=function(){return e},e}function n(){let e=nn();return n=function(){return e},e}let r=`uses-permission`;e.withPermissions=(e,t)=>(Array.isArray(t)&&(t=t.filter(Boolean),e.android||={},e.android.permissions||(e.android.permissions=[]),e.android.permissions=[...new Set(e.android.permissions.concat(t))]),(0,n().withAndroidManifest)(e,async e=>(e.modResults=await u(e,e.modResults),e)));let a=(e,r)=>{let a=c((Array.isArray(r)?r:[r]).filter(Boolean));return e?.android?.permissions&&Array.isArray(e.android.permissions)&&(e.android.permissions=c(e.android.permissions).filter(e=>!a.includes(e))),(0,n().withAndroidManifest)(e,async e=>(e.modResults=(0,t().ensureToolsAvailable)(e.modResults),e.modResults=o(e.modResults,a),e))};e.withBlockedPermissions=a,e.withInternalBlockedPermissions=e=>e.android?.blockedPermissions?.length?a(e,e.android.blockedPermissions):e;function o(e,t){Array.isArray(e.manifest[`uses-permission`])||(e.manifest[`uses-permission`]=[]);for(let n of c(t))e.manifest[`uses-permission`]=s(e.manifest[`uses-permission`],n);return e}function s(e,t){return e=e.filter(e=>e.$[`android:name`]!==t),e.push({$:{"android:name":t,"tools:node":`remove`}}),e}function c(e){return e.map(e=>e.includes(`.`)?e:`android.permission.${e}`)}function l(e){return e.android?.permissions??[]}function u(e,t){let n=[...c(l(e))];t.manifest.hasOwnProperty(`uses-permission`)||(t.manifest[`uses-permission`]=[]);let r=t.manifest[`uses-permission`]??[];return n.forEach(e=>{d(e,r)||f(e,r)}),t}function d(e,t){return t.some(t=>t.$[`android:name`]===e)}function f(e,t){return t.push({$:{"android:name":e}}),t}function p(e,t){let n=t?t.map(_):null,a=e.manifest[r]||[],o=[];for(let e of a)if(n){let t=e.$[`android:name`]||e.$.name;n.includes(t)||o.push(e)}e.manifest[r]=o}function m(e,t){let n=e.manifest[r]||[];n.push({$:{"android:name":t}}),e.manifest[r]=n}function h(e,t){let n=v(e),r={};for(let a of t){let t=_(a);n.includes(t)?r[a]=!1:(m(e,t),r[a]=!0)}return r}function g(e,t){let n=v(e),r=_(t);return n.includes(r)?!1:(m(e,r),!0)}function _(e){if(e.includes(`.`)){let t=e.split(`.`),n=t.pop();return[...t,n.toUpperCase()].join(`.`)}else return _(`android.permission.${e}`)}function v(e){return(e.manifest[r]||[]).map(e=>e.$[`android:name`]||e.$.name)}})),kn=e.t((e=>{Object.defineProperty(e,`__esModule`,{value:!0}),e.getPredictiveBackGestureValue=a,e.setPredictiveBackGesture=r,e.withPredictiveBackGesture=void 0;function t(){let e=Qt();return t=function(){return e},e}function n(){let e=nn();return n=function(){return e},e}e.withPredictiveBackGesture=e=>(0,n().withAndroidManifest)(e,async e=>(e.modResults=r(e,e.modResults),e));function r(e,n){let r=(0,t().getMainApplicationOrThrow)(n);return r.$[`android:enableOnBackInvokedCallback`]=a(e),n}function a(e){return e.android?.predictiveBackGestureEnabled===!0?`true`:`false`}})),An=e.t((e=>{Object.defineProperty(e,`__esModule`,{value:!0}),e.assignStylesValue=p,e.getAppThemeGroup=f,e.getAppThemeLightNoActionBarGroup=d,e.getProjectStylesXMLPathAsync=a,e.getStyleParent=s,e.getStylesGroupAsObject=m,e.getStylesItem=c,e.readStylesXMLAsync=r,e.removeStylesItem=u,e.setStylesItem=l;function t(){let e=cn();return t=function(){return e},e}function n(){let e=ln();return n=function(){return e},e}async function r({path:e,fallback:t=`<?xml version="1.0" encoding="utf-8"?><resources xmlns:tools="http://schemas.android.com/tools"></resources>`}){return(0,n().readResourcesXMLAsync)({path:e,fallback:t})}async function a(e,{kind:n}={}){return(0,t().getResourceXMLPathAsync)(e,{kind:n,name:`styles`})}function o(e){return e=(0,n().ensureDefaultResourceXML)(e),Array.isArray(e?.resources?.style)||(e.resources.style=[]),e}function s(e,t){return(0,n().findResourceGroup)(e.resources.style,t)}function c({name:e,xml:t,parent:n}){t=o(t);let r=s(t,n);if(!r)return null;if(r.item){let t=r.item.filter(({$:t})=>t.name===e)[0];if(t)return t}return null}function l({item:e,xml:t,parent:r}){t=o(t);let a=s(t,r);if(a||(a=(0,n().buildResourceGroup)({parent:`Theme.AppCompat.Light.NoActionBar`,...r}),t.resources.style.push(a)),a.item){let t=a.item.filter(({$:t})=>t.name===e.$.name)[0];t?(t._=e._,t.$=e.$):a.item.push(e)}else a.item=[e];return t}function u({name:e,xml:t,parent:n}){t=o(t);let r=s(t,n);if(r?.item){let t=r.item.findIndex(({$:t})=>t.name===e);t>-1&&r.item.splice(t,1)}return t}function d(){return{name:`AppTheme`,parent:`Theme.AppCompat.Light.NoActionBar`}}function f(){return{name:`AppTheme`}}function p(e,{add:t,value:r,targetApi:a,name:o,parent:s}){return t?l({xml:e,parent:s,item:(0,n().buildResourceItem)({name:o,targetApi:a,value:r})}):u({xml:e,parent:s,name:o})}function m(e,t){let r=s(e,t);return r?.item?(0,n().getResourceItemsAsObject)(r.item):null}})),jn=e.t((e=>{Object.defineProperty(e,`__esModule`,{value:!0}),e.getPrimaryColor=c,e.withPrimaryColorStyles=e.withPrimaryColorColors=e.withPrimaryColor=void 0;function t(){let e=un();return t=function(){return e},e}function n(){let e=An();return n=function(){return e},e}function r(){let e=nn();return r=function(){return e},e}let a=`colorPrimary`;e.withPrimaryColor=e=>(e=o(e),e=s(e),e);let o=e=>(0,r().withAndroidColors)(e,e=>(e.modResults=(0,t().assignColorValue)(e.modResults,{name:a,value:c(e)}),e));e.withPrimaryColorColors=o;let s=e=>(0,r().withAndroidStyles)(e,e=>(e.modResults=(0,n().assignStylesValue)(e.modResults,{add:!!c(e),parent:(0,n().getAppThemeGroup)(),name:a,value:`@color/${a}`}),e));e.withPrimaryColorStyles=s;function c(e){return e.primaryColor??`#023c69`}})),Mn=e.t((e=>{Object.defineProperty(e,`__esModule`,{value:!0}),e.parsePropertiesFile=t,e.propertiesListToString=n;function t(e){let t=[],n=e.split(`
`);for(let e=0;e<n.length;e++){let r=n[e].trim();if(!r)t.push({type:`empty`});else if(r.startsWith(`#`))t.push({type:`comment`,value:r.substring(1).trimStart()});else{let e=r.indexOf(`=`),n=r.slice(0,e),a=r.slice(e+1,r.length);t.push({type:`property`,key:n,value:a})}}return t}function n(e){let t=``;for(let n=0;n<e.length;n++){let r=e[n];if(r.type===`empty`)t+=``;else if(r.type===`comment`)t+=`# `+r.value;else if(r.type===`property`)t+=`${r.key}=${r.value}`;else throw Error(`Invalid properties type "${r.type}"`);n<e.length-1&&(t+=`
`)}return t}})),Nn=e.t((e=>{Object.defineProperty(e,`__esModule`,{value:!0}),e.appendScheme=f,e.ensureManifestHasValidIntentFilter=u,e.getScheme=r,e.getSchemesFromManifest=l,e.hasScheme=d,e.removeScheme=p,e.setScheme=a,e.withScheme=void 0;function t(){let e=nn();return t=function(){return e},e}function n(){let e=gn();return n=function(){return e},e}e.withScheme=(0,t().createAndroidManifestPlugin)(a,`withScheme`);function r(e){return Array.isArray(e.scheme)?e.scheme.filter(e=>typeof e==`string`):typeof e.scheme==`string`?[e.scheme]:[]}function a(e,t){let a=[...r(e),...r(e.android??{})];if(a.length===0)return t;if(!u(t))return(0,n().addWarningAndroid)(`scheme`,'Cannot add schemes because the provided manifest does not have a valid Activity with `android:launchMode="singleTask"`',`https://expo.fyi/setup-android-uri-scheme`),t;let o=l(t);for(let e of o){let t=a.indexOf(e);t>-1&&a.splice(t,1)}for(let e of a)t=f(e,t);return t}function o({actions:e,categories:t}){return e.includes(`android.intent.action.VIEW`)&&!t.includes(`android.intent.category.LAUNCHER`)}function s(e){return{actions:e?.action?.map(e=>e?.$?.[`android:name`])??[],categories:e?.category?.map(e=>e?.$?.[`android:name`])??[],data:e?.data?.filter(e=>e?.$?.[`android:scheme`])?.map(e=>({scheme:e?.$?.[`android:scheme`],host:e?.$?.[`android:host`]}))??[]}}function c(e){if(!Array.isArray(e.manifest.application))return[];let t=[];for(let n of e.manifest.application){let{activity:e}=n,r=(Array.isArray(e)?e:[e]).filter(e=>e?.$?.[`android:launchMode`]===`singleTask`);for(let e of r){let n=e[`intent-filter`];t=t.concat(n)}}return t}function l(e,t=null){let n=[],r=c(e);for(let e of r){let r=s(e);if(o(r)&&r.data)for(let{scheme:e,host:a}of r.data)(t===null||!a||a===t)&&n.push(e)}return n}function u(e){if(!Array.isArray(e.manifest.application))return!1;for(let t of e.manifest.application)for(let e of t.activity||[])if(e?.$?.[`android:launchMode`]===`singleTask`){for(let t of e[`intent-filter`]||[])if(o(s(t)))return!0;return e[`intent-filter`]||=[],e[`intent-filter`].push({action:[{$:{"android:name":`android.intent.action.VIEW`}}],category:[{$:{"android:name":`android.intent.category.DEFAULT`}},{$:{"android:name":`android.intent.category.BROWSABLE`}}]}),!0}return!1}function d(e,t){return l(t).includes(e)}function f(e,t){if(!Array.isArray(t.manifest.application))return t;if(!u(t))return(0,n().addWarningAndroid)(`scheme`,'Cannot add schemes because the provided manifest does not have a valid Activity with `android:launchMode="singleTask"`',`https://expo.fyi/setup-android-uri-scheme`),t;for(let n of t.manifest.application)for(let t of n.activity||[])if(t?.$?.[`android:launchMode`]===`singleTask`){for(let n of t[`intent-filter`]||[])o(s(n))&&(n.data||=[],n.data.push({$:{"android:scheme":e}}));break}return t}function p(e,t){if(!Array.isArray(t.manifest.application))return t;for(let n of t.manifest.application)for(let t of n.activity||[])if(t?.$?.[`android:launchMode`]===`singleTask`){for(let n of t[`intent-filter`]||[])if(o(s(n)))for(let t in n?.data||[])(n.data?.[t])?.$?.[`android:scheme`]===e&&delete n.data?.[t];break}return t}})),Pn=e.t((e=>{Object.defineProperty(e,`__esModule`,{value:!0}),e.getStatusBarStyle=u,e.setStatusBarStyles=l,e.withStatusBar=void 0;function t(){let e=An();return t=function(){return e},e}function n(){let e=nn();return n=function(){return e},e}function r(){let e=o(gn());return r=function(){return e},e}function a(e){if(typeof WeakMap!=`function`)return null;var t=new WeakMap,n=new WeakMap;return(a=function(e){return e?n:t})(e)}function o(e,t){if(!t&&e&&e.__esModule)return e;if(e===null||typeof e!=`object`&&typeof e!=`function`)return{default:e};var n=a(t);if(n&&n.has(e))return n.get(e);var r={__proto__:null},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var s in e)if(s!==`default`&&{}.hasOwnProperty.call(e,s)){var c=o?Object.getOwnPropertyDescriptor(e,s):null;c&&(c.get||c.set)?Object.defineProperty(r,s,c):r[s]=e[s]}return r.default=e,n&&n.set(e,r),r}let s=`STATUS_BAR_PLUGIN`;e.withStatusBar=e=>{let{androidStatusBar:t={}}=e;return`backgroundColor`in t&&r().addWarningAndroid(s,"Due to Android edge-to-edge enforcement, `androidStatusBar.backgroundColor` is deprecated and has no effect. This will be removed in a future release."),`translucent`in t&&r().addWarningAndroid(s,"Due to Android edge-to-edge enforcement, `androidStatusBar.translucent` is deprecated and has no effect. This will be removed in a future release."),e=c(e),e};let c=e=>(0,n().withAndroidStyles)(e,e=>(e.modResults=l(e,e.modResults),e));function l(e,n){return n=(0,t().assignStylesValue)(n,{parent:(0,t().getAppThemeGroup)(),name:`android:windowLightStatusBar`,value:`true`,add:u(e)===`dark-content`}),n=(0,t().assignStylesValue)(n,{parent:(0,t().getAppThemeGroup)(),name:`android:statusBarColor`,value:`@android:color/transparent`,add:!0}),n}function u(e){return e.androidStatusBar?.barStyle||`light-content`}})),Fn=e.t(((e,t)=>{let n=require(`path`),r=require(`module`),a=require(`fs`),o=(e,t,o)=>{if(typeof e!=`string`)throw TypeError(`Expected \`fromDir\` to be of type \`string\`, got \`${typeof e}\``);if(typeof t!=`string`)throw TypeError(`Expected \`moduleId\` to be of type \`string\`, got \`${typeof t}\``);try{e=a.realpathSync(e)}catch(t){if(t.code===`ENOENT`)e=n.resolve(e);else if(o)return;else throw t}let s=n.join(e,`noop.js`),c=()=>r._resolveFilename(t,{id:s,filename:s,paths:r._nodeModulePaths(e)});if(o)try{return c()}catch{return}return c()};t.exports=(e,t)=>o(e,t),t.exports.silent=(e,t)=>o(e,t,!0)})),In=e.t((e=>{Object.defineProperty(e,`__esModule`,{value:!0}),e.assertInternalProjectRoot=g,e.moduleNameIsDirectFileReference=p,e.moduleNameIsPackageReference=m,e.normalizeStaticPlugin=h,e.pluginFileName=void 0,e.resolveConfigPluginExport=y,e.resolveConfigPluginFunction=_,e.resolveConfigPluginFunctionWithInfo=v,e.resolvePluginForModule=d;function t(){let e=l(require(`assert`));return t=function(){return e},e}function n(){let e=c(require(`path`));return n=function(){return e},e}function r(){let e=l(Fn());return r=function(){return e},e}function a(){let e=en();return a=function(){return e},e}function o(){let e=sn();return o=function(){return e},e}function s(e){if(typeof WeakMap!=`function`)return null;var t=new WeakMap,n=new WeakMap;return(s=function(e){return e?n:t})(e)}function c(e,t){if(!t&&e&&e.__esModule)return e;if(e===null||typeof e!=`object`&&typeof e!=`function`)return{default:e};var n=s(t);if(n&&n.has(e))return n.get(e);var r={__proto__:null},a=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if(o!==`default`&&{}.hasOwnProperty.call(e,o)){var c=a?Object.getOwnPropertyDescriptor(e,o):null;c&&(c.get||c.set)?Object.defineProperty(r,o,c):r[o]=e[o]}return r.default=e,n&&n.set(e,r),r}function l(e){return e&&e.__esModule?e:{default:e}}let u=e.pluginFileName=`app.plugin.js`;function d(e,t){if(p(t)){let a=r().default.silent(e,t);if(a)return{isPluginFile:a.endsWith(n().sep+u),filePath:a}}else if(m(t)){let n=r().default.silent(e,`${t}/${u}`);if(n&&(0,o().fileExists)(n))return{isPluginFile:!0,filePath:n};let a=r().default.silent(e,t);if(a)return{isPluginFile:!1,filePath:a}}throw new(a()).PluginError(`Failed to resolve plugin for module "${t}" relative to "${e}". Do you have node modules installed?`,`PLUGIN_NOT_FOUND`)}function f(e){return!!e.match(/^(\.|~\/|\/)/g)}function p(e){if(f(e))return!0;let t=e.split(`/`)?.length;return e.startsWith(`@`)?t>2:t>1}function m(e){let t=e.split(`/`)?.length;return e.startsWith(`@`)?t===2:t===1}function h(e){return Array.isArray(e)?((0,t().default)(e.length>0&&e.length<3,`Wrong number of arguments provided for static config plugin, expected either 1 or 2, got ${e.length}`),e):[e,void 0]}function g(e){(0,t().default)(e,"Unexpected: Config `_internal.projectRoot` isn't defined by expo-cli, this is a bug.")}function _(e,t){let{plugin:n}=v(e,t);return n}function v(e,t){let{filePath:n,isPluginFile:r}=d(e,t),o;try{o=b(n)}catch(e){let o,s;if(e instanceof Error){let t=e;o=`${t.message} ${t.code??``}`,s=t.stack}else o=String(e);let c=`Unable to resolve a valid config plugin for ${t}.\n`;r||(c+=`• No "${u}" file found in ${t}: config plugins are typically exported from an "${u}" file in the package root.\n`),c+=`• main export of ${t} does not appear to be a config plugin: the following error was thrown when importing ${n}: ${o}\n`,c+=`Verify that ${t} includes a config plugin. If it does not, then remove the entry from plugins in your app config file. Learn more: https://docs.expo.dev/guides/config-plugins/`;let l=new(a()).PluginError(c,`INVALID_PLUGIN_IMPORT`);throw s&&(l.stack=s),l}return{plugin:y({plugin:o,pluginFile:n,pluginReference:t,isPluginFile:r}),pluginFile:n,pluginReference:t,isPluginFile:r}}function y({plugin:e,pluginFile:t,pluginReference:n,isPluginFile:r}){if(e.default!=null&&(e=e.default),typeof e!=`function`){let e=`Learn more: https://docs.expo.dev/guides/config-plugins/`;throw!r&&!p(n)?new(a()).PluginError(`Package "${n}" does not contain a valid config plugin. Module must export a function from file: ${t}\n${e}`,`INVALID_PLUGIN_TYPE`):new(a()).PluginError(`Plugin "${n}" must export a function from file: ${t}. ${e}`,`INVALID_PLUGIN_TYPE`)}return e}function b(e){try{return require(e)}catch(e){throw e}}})),Ln=e.t((e=>{Object.defineProperty(e,`__esModule`,{value:!0}),e.withStaticPlugin=void 0;function t(){let e=o(require(`assert`));return t=function(){return e},e}function n(){let e=$t();return n=function(){return e},e}function r(){let e=en();return r=function(){return e},e}function a(){let e=In();return a=function(){return e},e}function o(e){return e&&e.__esModule?e:{default:e}}let s=(0,n().boolish)(`EXPO_DEBUG`,!1),c=(0,n().boolish)(`EXPO_CONFIG_PLUGIN_VERBOSE_ERRORS`,!1),l=(0,n().boolish)(`EXPO_USE_UNVERSIONED_PLUGINS`,!1);function u(e,t){return[`MODULE_NOT_FOUND`,`PLUGIN_NOT_FOUND`].includes(t.code)?!0:t.message.includes(`Cannot find module '${e}'`)}function d(e){return e instanceof SyntaxError||e instanceof r().PluginError&&e.code===`INVALID_PLUGIN_IMPORT`?!!e.message.match(/Unexpected token/)||!!e.message.match(/Cannot use import statement/):!1}e.withStaticPlugin=(e,n)=>{let o=n.projectRoot;o||(o=e._internal?.projectRoot,(0,a().assertInternalProjectRoot)(o));let[f,p]=(0,a().normalizeStaticPlugin)(n.plugin);(0,t().default)(!p?._resolverError,"Plugin property '_resolverError' is a reserved property of `withStaticPlugin`");let m;if(typeof f==`function`)m=f;else if(typeof f==`string`)try{m=(0,a().resolveConfigPluginFunction)(o,f),l&&m&&n._isLegacyPlugin&&n.fallback&&(console.log(`Force "${f}" to unversioned plugin`),m=n.fallback)}catch(e){if(s&&(c?(console.log(`Error resolving plugin "${f}"`),console.log(e),console.log()):n._isLegacyPlugin&&(u(f,e)||d(e))||(u(f,e)?console.log(`Could not find plugin "${f}"`):(console.log(`Error resolving plugin "${f}"`),console.log(e),console.log()))),n.fallback)p||={},p._resolverError=e,m=n.fallback;else throw e}else throw typeof f==`object`?new(r()).PluginError(`Plugin is an unexpected object, with keys: "${Object.keys(f).join(`, `)}".\n
If you tried to provide parameters to a config plugin, make sure the plugin configuration is wrapped by square brackets. Ex:\n
[
  "some-config-plugin",
  {
    "someParam": "someValue"
  }
]
\n
See the package documentation on how to correctly configure the plugin.`,`INVALID_PLUGIN_TYPE`):new(r()).PluginError(`Plugin is an unexpected type: ${typeof f}. See the package documentation on how to correctly configure the plugin.`,`INVALID_PLUGIN_TYPE`);return e=m(e,p),e}})),Rn=e.t((e=>{Object.defineProperty(e,`__esModule`,{value:!0}),e.withPlugins=void 0;function t(){let e=r(require(`assert`));return t=function(){return e},e}function n(){let e=Ln();return n=function(){return e},e}function r(e){return e&&e.__esModule?e:{default:e}}e.withPlugins=(e,r)=>((0,t().default)(Array.isArray(r),`withPlugins expected a valid array of plugins or plugin module paths`),r.reduce((e,t)=>(0,n().withStaticPlugin)(e,{plugin:t}),e))})),zn=e.t((e=>{Object.defineProperty(e,`__esModule`,{value:!0}),e.isSDKVersionRuntimeVersion=e.getSDKVersionFromRuntimeVersion=e.getRuntimeVersionForSDKVersion=e.RUNTIME_VERSION_PREFIX=void 0,e.RUNTIME_VERSION_PREFIX=`exposdk:`;function t(t){return``+e.RUNTIME_VERSION_PREFIX+t}e.getRuntimeVersionForSDKVersion=t;function n(e){var t=/^exposdk:(\d+\.\d+\.\d+)$/.exec(e);if(!(!t||t.length<2))return t[1]}e.getSDKVersionFromRuntimeVersion=n;function r(e){return n(e)!==void 0}e.isSDKVersionRuntimeVersion=r})),Bn=e.t((e=>{Object.defineProperty(e,`__esModule`,{value:!0}),e.getVersionCode=s,e.getVersionName=a,e.setMinBuildScriptExtVersion=r,e.setVersionCode=c,e.setVersionName=o,e.withVersion=e.withBuildScriptExtMinimumVersion=void 0;function t(){let e=nn();return t=function(){return e},e}function n(){let e=gn();return n=function(){return e},e}e.withVersion=e=>(0,t().withAppBuildGradle)(e,e=>(e.modResults.language===`groovy`?(e.modResults.contents=c(e,e.modResults.contents),e.modResults.contents=o(e,e.modResults.contents)):(0,n().addWarningAndroid)(`android.versionCode`,`Cannot automatically configure app build.gradle if it's not groovy`),e)),e.withBuildScriptExtMinimumVersion=(e,a)=>(0,t().withProjectBuildGradle)(e,e=>(e.modResults.language===`groovy`?e.modResults.contents=r(e.modResults.contents,a):(0,n().addWarningAndroid)(`withBuildScriptExtVersion`,`Cannot automatically configure project build.gradle if it's not groovy`),e));function r(e,{name:t,minVersion:r}){let a=RegExp(`(${t}\\s?=\\s?)(\\d+(?:\\.\\d+)?)`),o=e.match(a)?.[2];if(!o)return(0,n().addWarningAndroid)(`withBuildScriptExtVersion`,`Cannot set minimum buildscript.ext.${t} version because the property "${t}" cannot be found or does not have a numeric value.`),e;let s=Number(o);return e.replace(a,`$1${Math.max(r,s)}`)}function a(e){return e.android?.version??e.version??null}function o(e,t){let n=a(e);if(n===null)return t;let r=RegExp(`versionName ".*"`);return t.replace(r,`versionName "${n}"`)}function s(e){return e.android?.versionCode??1}function c(e,t){let n=s(e);if(n===null)return t;let r=RegExp(`versionCode.*`);return t.replace(r,`versionCode ${n}`)}})),Vn=e.t((e=>{Object.defineProperty(e,`__esModule`,{value:!0}),e.get=t;function t(e,t){let n=t.split(`.`),r=e,a;for(;a=n.shift();){if(!(a in r))return;r=r[a]}return r}})),Hn=e.t((e=>{Object.defineProperty(e,`__esModule`,{value:!0}),e.createEntitlementsPlugin=s,e.createInfoPlistPlugin=a,e.createInfoPlistPluginWithPropertyGuard=o,e.withXcodeProject=e.withPodfileProperties=e.withPodfile=e.withInfoPlist=e.withExpoPlist=e.withEntitlementsPlist=e.withAppDelegate=void 0;function t(){let e=tn();return t=function(){return e},e}function n(){let e=Vn();return n=function(){return e},e}function r(){let e=gn();return r=function(){return e},e}function a(e,t){let n=t=>c(t,async t=>(t.modResults=await e(t,t.modResults),t));return t&&Object.defineProperty(n,`name`,{value:t}),n}function o(e,t,a){let o=a=>c(a,async a=>{let o=t.expoPropertyGetter?t.expoPropertyGetter(a):(0,n().get)(a,t.expoConfigProperty);return a.modRawConfig.ios?.infoPlist?.[t.infoPlistProperty]===void 0?a.modResults=await e(a,a.modResults):o!==void 0&&(0,r().addWarningIOS)(t.expoConfigProperty,`"ios.infoPlist.${t.infoPlistProperty}" is set in the config. Ignoring abstract property "${t.expoConfigProperty}": ${o}`),a});return a&&Object.defineProperty(o,`name`,{value:a}),o}function s(e,t){let n=t=>l(t,async t=>(t.modResults=await e(t,t.modResults),t));return t&&Object.defineProperty(n,`name`,{value:t}),n}e.withAppDelegate=(e,n)=>(0,t().withMod)(e,{platform:`ios`,mod:`appDelegate`,action:n});let c=(e,n)=>(0,t().withMod)(e,{platform:`ios`,mod:`infoPlist`,async action(e){return e=await n(e),e.ios||={},e.ios.infoPlist=e.modResults,e}});e.withInfoPlist=c;let l=(e,n)=>(0,t().withMod)(e,{platform:`ios`,mod:`entitlements`,async action(e){return e=await n(e),e.ios||={},e.ios.entitlements=e.modResults,e}});e.withEntitlementsPlist=l,e.withExpoPlist=(e,n)=>(0,t().withMod)(e,{platform:`ios`,mod:`expoPlist`,action:n}),e.withXcodeProject=(e,n)=>(0,t().withMod)(e,{platform:`ios`,mod:`xcodeproj`,action:n}),e.withPodfile=(e,n)=>(0,t().withMod)(e,{platform:`ios`,mod:`podfile`,action:n}),e.withPodfileProperties=(e,n)=>(0,t().withMod)(e,{platform:`ios`,mod:`podfileProperties`,action:n})})),Un=e.t((e=>{Object.defineProperty(e,`__esModule`,{value:!0}),e.getBuildNumber=a,e.getVersion=n,e.setBuildNumber=o,e.setVersion=r,e.withVersion=e.withBuildNumber=void 0;function t(){let e=Hn();return t=function(){return e},e}e.withVersion=(0,t().createInfoPlistPluginWithPropertyGuard)(r,{infoPlistProperty:`CFBundleShortVersionString`,expoConfigProperty:`version | ios.version`,expoPropertyGetter:n},`withVersion`),e.withBuildNumber=(0,t().createInfoPlistPluginWithPropertyGuard)(o,{infoPlistProperty:`CFBundleVersion`,expoConfigProperty:`ios.buildNumber`},`withBuildNumber`);function n(e){return e.ios?.version||e.version||`1.0.0`}function r(e,t){return{...t,CFBundleShortVersionString:n(e)}}function a(e){return e.ios?.buildNumber?e.ios.buildNumber:`1`}function o(e,t){return{...t,CFBundleVersion:a(e)}}})),Wn=e.t((e=>{Object.defineProperty(e,`__esModule`,{value:!0}),e.FINGERPRINT_RUNTIME_VERSION_SENTINEL=void 0,e.getAppVersion=g,e.getDisableAntiBrickingMeasures=M,e.getExpoUpdatesPackageVersion=m,e.getNativeVersion=_,e.getRuntimeVersionAsync=y,e.getRuntimeVersionNullableAsync=v,e.getSDKVersion=x,e.getUpdateUrl=h,e.getUpdatesBsdiffPatchSupportEnabled=w,e.getUpdatesCheckOnLaunch=E,e.getUpdatesCodeSigningCertificate=D,e.getUpdatesCodeSigningMetadata=O,e.getUpdatesCodeSigningMetadataStringified=k,e.getUpdatesEnabled=S,e.getUpdatesRequestHeaders=A,e.getUpdatesRequestHeadersStringified=j,e.getUpdatesTimeout=T,e.getUpdatesUseEmbeddedUpdate=C,e.resolveRuntimeVersionPolicyAsync=b;function t(){let e=zn();return t=function(){return e},e}function n(){let e=f(require(`fs`));return n=function(){return e},e}function r(){let e=$t();return r=function(){return e},e}function a(){let e=f(require(`path`));return a=function(){return e},e}function o(){let e=f(Fn());return o=function(){return e},e}function s(){let e=f(require(`semver`));return s=function(){return e},e}function c(){let e=d(Bn());return c=function(){return e},e}function l(){let e=d(Un());return l=function(){return e},e}function u(e){if(typeof WeakMap!=`function`)return null;var t=new WeakMap,n=new WeakMap;return(u=function(e){return e?n:t})(e)}function d(e,t){if(!t&&e&&e.__esModule)return e;if(e===null||typeof e!=`object`&&typeof e!=`function`)return{default:e};var n=u(t);if(n&&n.has(e))return n.get(e);var r={__proto__:null},a=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if(o!==`default`&&{}.hasOwnProperty.call(e,o)){var s=a?Object.getOwnPropertyDescriptor(e,o):null;s&&(s.get||s.set)?Object.defineProperty(r,o,s):r[o]=e[o]}return r.default=e,n&&n.set(e,r),r}function f(e){return e&&e.__esModule?e:{default:e}}let p=e.FINGERPRINT_RUNTIME_VERSION_SENTINEL=`file:fingerprint`;function m(e){let t=o().default.silent(e,`expo-updates/package.json`);return!t||!n().default.existsSync(t)?null:JSON.parse(n().default.readFileSync(t,`utf8`)).version}function h(e){return e.updates?.url??null}function g(e){return e.version??`1.0.0`}function _(e,t){let n=l().getVersion(e);switch(t){case`ios`:return`${n}(${l().getBuildNumber(e)})`;case`android`:return`${n}(${c().getVersionCode(e)})`;default:throw Error(`"${t}" is not a supported platform. Choose either "ios" or "android".`)}}async function v(...[e,t,n]){try{return await y(e,t,n)}catch(e){return(0,r().boolish)(`EXPO_DEBUG`,!1)&&console.log(e),null}}async function y(e,t,n){let r=t[n]?.runtimeVersion??t.runtimeVersion;if(!r)return null;if(typeof r==`string`){if(r===p)throw Error(`${p} is a reserved value for runtime version. To use a fingerprint runtime version, use the "fingerprint" runtime version policy.`);return r}else if(!r.policy)throw Error(`"${r}" is not a valid runtime version. Only a string or a runtime version policy is supported.`);else if(r.policy===`fingerprint`)return p;else return await b(r.policy,t,n)}async function b(e,n,r){if(e===`appVersion`)return g(n);if(e===`nativeVersion`)return _(n,r);if(e===`sdkVersion`){if(!n.sdkVersion)throw Error(`An SDK version must be defined when using the 'sdkVersion' runtime policy.`);return(0,t().getRuntimeVersionForSDKVersion)(n.sdkVersion)}else throw Error(`"${e}" is not a valid runtime version policy type.`)}function x(e){return typeof e.sdkVersion==`string`?e.sdkVersion:null}function S(e){return e.updates?.enabled===void 0?h(e)!==null:e.updates.enabled}function C(e){return e.updates?.useEmbeddedUpdate===void 0?!0:e.updates.useEmbeddedUpdate}function w(e){return e.updates?.enableBsdiffPatchSupport===void 0?!1:e.updates.enableBsdiffPatchSupport}function T(e){return e.updates?.fallbackToCacheTimeout??0}function E(e,t){return e.updates?.checkAutomatically===`ON_ERROR_RECOVERY`?t&&s().default.gte(t,`0.11.0`)?`ERROR_RECOVERY_ONLY`:`NEVER`:e.updates?.checkAutomatically===`ON_LOAD`?`ALWAYS`:e.updates?.checkAutomatically===`WIFI_ONLY`?`WIFI_ONLY`:e.updates?.checkAutomatically===`NEVER`?`NEVER`:`ALWAYS`}function D(e,t){let r=t.updates?.codeSigningCertificate;if(!r)return;let o=a().default.join(e,r);if(!n().default.existsSync(o))throw Error(`File not found at \`updates.codeSigningCertificate\` path: ${o}`);return n().default.readFileSync(o,`utf8`)}function O(e){return e.updates?.codeSigningMetadata}function k(e){let t=O(e);if(t)return JSON.stringify(t)}function A(e){return e.updates?.requestHeaders}function j(e){let t=A(e);if(t)return JSON.stringify(t)}function M(e){return e.updates?.disableAntiBrickingMeasures}})),Gn=e.t((e=>{Object.defineProperty(e,`__esModule`,{value:!0}),e.Config=void 0,e.applyRuntimeVersionFromConfigAsync=m,e.applyRuntimeVersionFromConfigForProjectRootAsync=h,e.setUpdatesConfigAsync=g,e.setVersionsConfigAsync=_,e.withUpdates=void 0;function t(){let e=an();return t=function(){return e},e}function n(){let e=Qt();return n=function(){return e},e}function r(){let e=ln();return r=function(){return e},e}function a(){let e=wn();return a=function(){return e},e}function o(){let e=nn();return o=function(){return e},e}function s(){let e=Rn();return s=function(){return e},e}function c(){let e=Wn();return c=function(){return e},e}function l(){let e=gn();return l=function(){return e},e}let u=e.Config=function(e){return e.ENABLED=`expo.modules.updates.ENABLED`,e.CHECK_ON_LAUNCH=`expo.modules.updates.EXPO_UPDATES_CHECK_ON_LAUNCH`,e.LAUNCH_WAIT_MS=`expo.modules.updates.EXPO_UPDATES_LAUNCH_WAIT_MS`,e.RUNTIME_VERSION=`expo.modules.updates.EXPO_RUNTIME_VERSION`,e.UPDATE_URL=`expo.modules.updates.EXPO_UPDATE_URL`,e.UPDATES_CONFIGURATION_REQUEST_HEADERS_KEY=`expo.modules.updates.UPDATES_CONFIGURATION_REQUEST_HEADERS_KEY`,e.UPDATES_HAS_EMBEDDED_UPDATE=`expo.modules.updates.HAS_EMBEDDED_UPDATE`,e.CODE_SIGNING_CERTIFICATE=`expo.modules.updates.CODE_SIGNING_CERTIFICATE`,e.CODE_SIGNING_METADATA=`expo.modules.updates.CODE_SIGNING_METADATA`,e.DISABLE_ANTI_BRICKING_MEASURES=`expo.modules.updates.DISABLE_ANTI_BRICKING_MEASURES`,e.BSDIFF_PATCH_SUPPORT=`expo.modules.updates.ENABLE_BSDIFF_PATCH_SUPPORT`,e}({});e.withUpdates=e=>(0,s().withPlugins)(e,[f,p,d]);let d=(0,t().createBuildGradlePropsConfigPlugin)([{propName:`EX_UPDATES_NATIVE_DEBUG`,propValueGetter:e=>e?.updates?.useNativeDebug===!0?`true`:void 0}],`withUpdatesNativeDebugGradleProps`),f=e=>(0,o().withAndroidManifest)(e,async e=>{let t=e.modRequest.projectRoot,n=(0,c().getExpoUpdatesPackageVersion)(t);return e.modResults=await g(t,e,e.modResults,n),e}),p=(0,o().createStringsXmlPlugin)(m,`withRuntimeVersionResource`);async function m(e,t){let n=e.modRequest.projectRoot;return await h(n,e,t)}async function h(e,t,n){let o=await(0,c().getRuntimeVersionNullableAsync)(e,t,`android`);return o?(0,a().setStringItem)([(0,r().buildResourceItem)({name:`expo_runtime_version`,value:o})],n):(0,a().removeStringItem)(`expo_runtime_version`,n)}async function g(e,t,r,a){let o=(0,n().getMainApplicationOrThrow)(r);(0,n().addMetaDataItemToMainApplication)(o,u.ENABLED,String((0,c().getUpdatesEnabled)(t)));let s=(0,c().getUpdatesCheckOnLaunch)(t,a);(0,n().addMetaDataItemToMainApplication)(o,u.CHECK_ON_LAUNCH,s);let d=(0,c().getUpdatesTimeout)(t);(0,n().addMetaDataItemToMainApplication)(o,u.LAUNCH_WAIT_MS,String(d)),(0,c().getUpdatesUseEmbeddedUpdate)(t)?(0,n().removeMetaDataItemFromMainApplication)(o,u.UPDATES_HAS_EMBEDDED_UPDATE):(d===0&&s!==`ALWAYS`&&(0,l().addWarningAndroid)(`updates.useEmbeddedUpdate`,`updates.checkOnLaunch should be set to "ON_LOAD" and updates.fallbackToCacheTimeout should be set to a non-zero value when updates.useEmbeddedUpdate is set to false. This is because an update must be fetched on the initial launch, when no embedded update is available.`),(0,n().addMetaDataItemToMainApplication)(o,u.UPDATES_HAS_EMBEDDED_UPDATE,`false`));let f=(0,c().getUpdateUrl)(t);f?(0,n().addMetaDataItemToMainApplication)(o,u.UPDATE_URL,f):(0,n().removeMetaDataItemFromMainApplication)(o,u.UPDATE_URL);let p=(0,c().getUpdatesCodeSigningCertificate)(e,t);p?(0,n().addMetaDataItemToMainApplication)(o,u.CODE_SIGNING_CERTIFICATE,p):(0,n().removeMetaDataItemFromMainApplication)(o,u.CODE_SIGNING_CERTIFICATE);let m=(0,c().getUpdatesCodeSigningMetadataStringified)(t);m?(0,n().addMetaDataItemToMainApplication)(o,u.CODE_SIGNING_METADATA,m):(0,n().removeMetaDataItemFromMainApplication)(o,u.CODE_SIGNING_METADATA);let h=(0,c().getUpdatesRequestHeadersStringified)(t);return h?(0,n().addMetaDataItemToMainApplication)(o,u.UPDATES_CONFIGURATION_REQUEST_HEADERS_KEY,h):(0,n().removeMetaDataItemFromMainApplication)(o,u.UPDATES_CONFIGURATION_REQUEST_HEADERS_KEY),(0,c().getDisableAntiBrickingMeasures)(t)?(0,n().addMetaDataItemToMainApplication)(o,u.DISABLE_ANTI_BRICKING_MEASURES,`true`):(0,n().removeMetaDataItemFromMainApplication)(o,u.DISABLE_ANTI_BRICKING_MEASURES),(0,c().getUpdatesBsdiffPatchSupportEnabled)(t)?(0,n().addMetaDataItemToMainApplication)(o,u.BSDIFF_PATCH_SUPPORT,`true`):(0,n().removeMetaDataItemFromMainApplication)(o,u.BSDIFF_PATCH_SUPPORT),await _(e,t,r)}async function _(e,t,r){let a=(0,n().getMainApplicationOrThrow)(r),o=await(0,c().getRuntimeVersionNullableAsync)(e,t,`android`);if(!o&&(0,n().findMetaDataItem)(a,u.RUNTIME_VERSION)>-1)throw Error(`A runtime version is set in your AndroidManifest.xml, but is missing from your Expo app config (app.json/app.config.js). Either set runtimeVersion in your Expo app config or remove expo.modules.updates.EXPO_RUNTIME_VERSION from your AndroidManifest.xml.`);return o?((0,n().removeMetaDataItemFromMainApplication)(a,`expo.modules.updates.EXPO_SDK_VERSION`),(0,n().addMetaDataItemToMainApplication)(a,u.RUNTIME_VERSION,`@string/expo_runtime_version`)):((0,n().removeMetaDataItemFromMainApplication)(a,u.RUNTIME_VERSION),(0,n().removeMetaDataItemFromMainApplication)(a,`expo.modules.updates.EXPO_SDK_VERSION`)),r}})),Kn=e.t((e=>{Object.defineProperty(e,`__esModule`,{value:!0}),e.getWindowSoftInputModeMode=o,e.setWindowSoftInputModeMode=a,e.withWindowSoftInputMode=void 0;function t(){let e=Qt();return t=function(){return e},e}function n(){let e=nn();return n=function(){return e},e}let r={pan:`adjustPan`,resize:`adjustResize`};e.withWindowSoftInputMode=e=>(0,n().withAndroidManifest)(e,async e=>(e.modResults=a(e,e.modResults),e));function a(e,n){let r=(0,t().getMainActivityOrThrow)(n);return r.$[`android:windowSoftInputMode`]=o(e),n}function o(e){let t=e.android?.softwareKeyboardLayoutMode;return t?r[t]??t:`adjustResize`}})),qn=e.t((e=>{Object.defineProperty(e,`__esModule`,{value:!0}),e.insertContentsAtOffset=t,e.replaceContentsWithOffset=n,e.searchFromOffset=r;function t(e,t,n){let r=e.length;if(n<0||n>r)throw Error(`Invalid parameters.`);return n===0?`${t}${e}`:n===r?`${e}${t}`:`${e.substring(0,n)}${t}${e.substring(n)}`}function n(e,t,n,r){let a=e.length;if(n<0||r<0||n>=a||r>=a||n>r)throw Error(`Invalid parameters.`);return`${e.substring(0,n)}${t}${e.substring(r+1)}`}function r(e,t,n){let r=e.substring(n).search(t);return r<0?r:r+n}})),Jn=e.t((e=>{Object.defineProperty(e,`__esModule`,{value:!0}),e.findMatchingBracketPosition=t;function t(e,t,a=0){let o=e.indexOf(t,a);if(o<0)return-1;let s=0,c=r(t);if(n(t)){let n=e.length;for(let r=o+1;r<n;++r){let n=e[r];if(n===t)s+=1;else if(n===c){if(s===0)return r;--s}}}else for(let n=o-1;n>=0;--n){let r=e[n];if(r===t)s+=1;else if(r===c){if(s===0)return n;--s}}return-1}function n(e){return[`(`,`{`].includes(e)}function r(e){switch(e){case`(`:return`)`;case`)`:return`(`;case`{`:return`}`;case`}`:return`{`;default:throw Error(`Unsupported bracket - ${e}`)}}})),Yn=e.t((e=>{Object.defineProperty(e,`__esModule`,{value:!0}),e.addImports=o,e.appendContentsInsideDeclarationBlock=a,e.appendContentsInsideGradlePluginBlock=c,e.findGradlePluginCodeBlock=s,e.findNewInstanceCodeBlock=r;function t(){let e=qn();return t=function(){return e},e}function n(){let e=Jn();return n=function(){return e},e}function r(e,t,r){let a=r===`java`?e.indexOf(` new ${t}(`):e.search(RegExp(` (object\\s*:\\s*)?${t}\\(`));if(a<0)return null;a+=1;let o=(0,n().findMatchingBracketPosition)(e,`(`,a),s=e.indexOf(`{`,o+1);return s>=o&&e.substring(o+1,s).match(/^\s*$/)&&(o=(0,n().findMatchingBracketPosition)(e,`{`,o)),{start:a,end:o,code:e.substring(a,o+1)}}function a(e,r,a){let o=e.search(RegExp(`\\s*${r}.*?[\\(\\{]`));if(o<0)throw Error(`Unable to find code block - declaration[${r}]`);let s=(0,n().findMatchingBracketPosition)(e,`{`,o);return(0,t().insertContentsAtOffset)(e,a,s)}function o(e,t,n){let r=e.split(`
`),a=r.findIndex(e=>e.match(/^package .*;?$/));for(let o of t)if(!e.includes(o)){let e=`import ${o}${n?`;`:``}`;r.splice(a+1,0,e)}return r.join(`
`)}function s(e,t){let r=e.search(RegExp(`${t}\\s*\\{`,`m`));if(r<0)return null;let a=e.indexOf(`{`,r),o=(0,n().findMatchingBracketPosition)(e,`{`,a);return{start:a,end:o,code:e.substring(a,o+1)}}function c(e,n,r){let a=s(e,n);if(!a)throw Error(`Unable to find Gradle plugin block - plugin[${n}]`);return(0,t().insertContentsAtOffset)(e,r,a.end)}})),Xn=e.t((e=>{Object.defineProperty(e,`__esModule`,{value:!0}),e.WindowSoftInputMode=e.Version=e.Updates=e.Styles=e.Strings=e.StatusBar=e.Scheme=e.Resources=e.Properties=e.PrimaryColor=e.PredictiveBackGesture=e.Permissions=e.Paths=e.Package=e.Orientation=e.Name=e.Manifest=e.Locales=e.IntentFilters=e.GoogleServices=e.GoogleMapsApiKey=e.EasBuild=e.Colors=e.CodeMod=e.BuildProperties=e.AllowBackup=void 0;function t(){let e=k(rn());return t=function(){return e},e}Object.defineProperty(e,`AllowBackup`,{enumerable:!0,get:function(){return t()}});function n(){let e=k(an());return n=function(){return e},e}Object.defineProperty(e,`BuildProperties`,{enumerable:!0,get:function(){return n()}});function r(){let e=k(un());return r=function(){return e},e}Object.defineProperty(e,`Colors`,{enumerable:!0,get:function(){return r()}});function a(){let e=k(fn());return a=function(){return e},e}Object.defineProperty(e,`EasBuild`,{enumerable:!0,get:function(){return a()}});function o(){let e=k(pn());return o=function(){return e},e}Object.defineProperty(e,`GoogleMapsApiKey`,{enumerable:!0,get:function(){return o()}});function s(){let e=k(_n());return s=function(){return e},e}Object.defineProperty(e,`GoogleServices`,{enumerable:!0,get:function(){return s()}});function c(){let e=k(vn());return c=function(){return e},e}Object.defineProperty(e,`IntentFilters`,{enumerable:!0,get:function(){return c()}});function l(){let e=k(Cn());return l=function(){return e},e}Object.defineProperty(e,`Locales`,{enumerable:!0,get:function(){return l()}});function u(){let e=k(Qt());return u=function(){return e},e}Object.defineProperty(e,`Manifest`,{enumerable:!0,get:function(){return u()}});function d(){let e=k(Tn());return d=function(){return e},e}Object.defineProperty(e,`Name`,{enumerable:!0,get:function(){return d()}});function f(){let e=k(En());return f=function(){return e},e}Object.defineProperty(e,`Orientation`,{enumerable:!0,get:function(){return f()}});function p(){let e=k(Dn());return p=function(){return e},e}Object.defineProperty(e,`Package`,{enumerable:!0,get:function(){return p()}});function m(){let e=k(cn());return m=function(){return e},e}Object.defineProperty(e,`Paths`,{enumerable:!0,get:function(){return m()}});function h(){let e=k(On());return h=function(){return e},e}Object.defineProperty(e,`Permissions`,{enumerable:!0,get:function(){return h()}});function g(){let e=k(kn());return g=function(){return e},e}Object.defineProperty(e,`PredictiveBackGesture`,{enumerable:!0,get:function(){return g()}});function _(){let e=k(jn());return _=function(){return e},e}Object.defineProperty(e,`PrimaryColor`,{enumerable:!0,get:function(){return _()}});function v(){let e=k(Mn());return v=function(){return e},e}Object.defineProperty(e,`Properties`,{enumerable:!0,get:function(){return v()}});function y(){let e=k(ln());return y=function(){return e},e}Object.defineProperty(e,`Resources`,{enumerable:!0,get:function(){return y()}});function b(){let e=k(Nn());return b=function(){return e},e}Object.defineProperty(e,`Scheme`,{enumerable:!0,get:function(){return b()}});function x(){let e=k(Pn());return x=function(){return e},e}Object.defineProperty(e,`StatusBar`,{enumerable:!0,get:function(){return x()}});function S(){let e=k(wn());return S=function(){return e},e}Object.defineProperty(e,`Strings`,{enumerable:!0,get:function(){return S()}});function C(){let e=k(An());return C=function(){return e},e}Object.defineProperty(e,`Styles`,{enumerable:!0,get:function(){return C()}});function w(){let e=k(Gn());return w=function(){return e},e}Object.defineProperty(e,`Updates`,{enumerable:!0,get:function(){return w()}});function T(){let e=k(Bn());return T=function(){return e},e}Object.defineProperty(e,`Version`,{enumerable:!0,get:function(){return T()}});function E(){let e=k(Kn());return E=function(){return e},e}Object.defineProperty(e,`WindowSoftInputMode`,{enumerable:!0,get:function(){return E()}});function D(){let e=k(Yn());return D=function(){return e},e}Object.defineProperty(e,`CodeMod`,{enumerable:!0,get:function(){return D()}});function O(e){if(typeof WeakMap!=`function`)return null;var t=new WeakMap,n=new WeakMap;return(O=function(e){return e?n:t})(e)}function k(e,t){if(!t&&e&&e.__esModule)return e;if(e===null||typeof e!=`object`&&typeof e!=`function`)return{default:e};var n=O(t);if(n&&n.has(e))return n.get(e);var r={__proto__:null},a=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if(o!==`default`&&{}.hasOwnProperty.call(e,o)){var s=a?Object.getOwnPropertyDescriptor(e,o):null;s&&(s.get||s.set)?Object.defineProperty(r,o,s):r[o]=e[o]}return r.default=e,n&&n.set(e,r),r}})),Zn=e.t(((e,t)=>{(function(n,r,a){typeof e==`object`?(t.exports=a(),t.exports.default=a()):typeof define==`function`&&define.amd?define(a):r[n]=a()})(`slugify`,e,function(){var e=JSON.parse(`{"$":"dollar","%":"percent","&":"and","<":"less",">":"greater","|":"or","¢":"cent","£":"pound","¤":"currency","¥":"yen","©":"(c)","ª":"a","®":"(r)","º":"o","À":"A","Á":"A","Â":"A","Ã":"A","Ä":"A","Å":"A","Æ":"AE","Ç":"C","È":"E","É":"E","Ê":"E","Ë":"E","Ì":"I","Í":"I","Î":"I","Ï":"I","Ð":"D","Ñ":"N","Ò":"O","Ó":"O","Ô":"O","Õ":"O","Ö":"O","Ø":"O","Ù":"U","Ú":"U","Û":"U","Ü":"U","Ý":"Y","Þ":"TH","ß":"ss","à":"a","á":"a","â":"a","ã":"a","ä":"a","å":"a","æ":"ae","ç":"c","è":"e","é":"e","ê":"e","ë":"e","ì":"i","í":"i","î":"i","ï":"i","ð":"d","ñ":"n","ò":"o","ó":"o","ô":"o","õ":"o","ö":"o","ø":"o","ù":"u","ú":"u","û":"u","ü":"u","ý":"y","þ":"th","ÿ":"y","Ā":"A","ā":"a","Ă":"A","ă":"a","Ą":"A","ą":"a","Ć":"C","ć":"c","Č":"C","č":"c","Ď":"D","ď":"d","Đ":"DJ","đ":"dj","Ē":"E","ē":"e","Ė":"E","ė":"e","Ę":"e","ę":"e","Ě":"E","ě":"e","Ğ":"G","ğ":"g","Ģ":"G","ģ":"g","Ĩ":"I","ĩ":"i","Ī":"i","ī":"i","Į":"I","į":"i","İ":"I","ı":"i","Ķ":"k","ķ":"k","Ļ":"L","ļ":"l","Ľ":"L","ľ":"l","Ł":"L","ł":"l","Ń":"N","ń":"n","Ņ":"N","ņ":"n","Ň":"N","ň":"n","Ō":"O","ō":"o","Ő":"O","ő":"o","Œ":"OE","œ":"oe","Ŕ":"R","ŕ":"r","Ř":"R","ř":"r","Ś":"S","ś":"s","Ş":"S","ş":"s","Š":"S","š":"s","Ţ":"T","ţ":"t","Ť":"T","ť":"t","Ũ":"U","ũ":"u","Ū":"u","ū":"u","Ů":"U","ů":"u","Ű":"U","ű":"u","Ų":"U","ų":"u","Ŵ":"W","ŵ":"w","Ŷ":"Y","ŷ":"y","Ÿ":"Y","Ź":"Z","ź":"z","Ż":"Z","ż":"z","Ž":"Z","ž":"z","Ə":"E","ƒ":"f","Ơ":"O","ơ":"o","Ư":"U","ư":"u","Lj":"LJ","lj":"lj","Nj":"NJ","nj":"nj","Ș":"S","ș":"s","Ț":"T","ț":"t","ə":"e","˚":"o","Ά":"A","Έ":"E","Ή":"H","Ί":"I","Ό":"O","Ύ":"Y","Ώ":"W","ΐ":"i","Α":"A","Β":"B","Γ":"G","Δ":"D","Ε":"E","Ζ":"Z","Η":"H","Θ":"8","Ι":"I","Κ":"K","Λ":"L","Μ":"M","Ν":"N","Ξ":"3","Ο":"O","Π":"P","Ρ":"R","Σ":"S","Τ":"T","Υ":"Y","Φ":"F","Χ":"X","Ψ":"PS","Ω":"W","Ϊ":"I","Ϋ":"Y","ά":"a","έ":"e","ή":"h","ί":"i","ΰ":"y","α":"a","β":"b","γ":"g","δ":"d","ε":"e","ζ":"z","η":"h","θ":"8","ι":"i","κ":"k","λ":"l","μ":"m","ν":"n","ξ":"3","ο":"o","π":"p","ρ":"r","ς":"s","σ":"s","τ":"t","υ":"y","φ":"f","χ":"x","ψ":"ps","ω":"w","ϊ":"i","ϋ":"y","ό":"o","ύ":"y","ώ":"w","Ё":"Yo","Ђ":"DJ","Є":"Ye","І":"I","Ї":"Yi","Ј":"J","Љ":"LJ","Њ":"NJ","Ћ":"C","Џ":"DZ","А":"A","Б":"B","В":"V","Г":"G","Д":"D","Е":"E","Ж":"Zh","З":"Z","И":"I","Й":"J","К":"K","Л":"L","М":"M","Н":"N","О":"O","П":"P","Р":"R","С":"S","Т":"T","У":"U","Ф":"F","Х":"H","Ц":"C","Ч":"Ch","Ш":"Sh","Щ":"Sh","Ъ":"U","Ы":"Y","Ь":"","Э":"E","Ю":"Yu","Я":"Ya","а":"a","б":"b","в":"v","г":"g","д":"d","е":"e","ж":"zh","з":"z","и":"i","й":"j","к":"k","л":"l","м":"m","н":"n","о":"o","п":"p","р":"r","с":"s","т":"t","у":"u","ф":"f","х":"h","ц":"c","ч":"ch","ш":"sh","щ":"sh","ъ":"u","ы":"y","ь":"","э":"e","ю":"yu","я":"ya","ё":"yo","ђ":"dj","є":"ye","і":"i","ї":"yi","ј":"j","љ":"lj","њ":"nj","ћ":"c","ѝ":"u","џ":"dz","Ґ":"G","ґ":"g","Ғ":"GH","ғ":"gh","Қ":"KH","қ":"kh","Ң":"NG","ң":"ng","Ү":"UE","ү":"ue","Ұ":"U","ұ":"u","Һ":"H","һ":"h","Ә":"AE","ә":"ae","Ө":"OE","ө":"oe","Ա":"A","Բ":"B","Գ":"G","Դ":"D","Ե":"E","Զ":"Z","Է":"E'","Ը":"Y'","Թ":"T'","Ժ":"JH","Ի":"I","Լ":"L","Խ":"X","Ծ":"C'","Կ":"K","Հ":"H","Ձ":"D'","Ղ":"GH","Ճ":"TW","Մ":"M","Յ":"Y","Ն":"N","Շ":"SH","Չ":"CH","Պ":"P","Ջ":"J","Ռ":"R'","Ս":"S","Վ":"V","Տ":"T","Ր":"R","Ց":"C","Փ":"P'","Ք":"Q'","Օ":"O''","Ֆ":"F","և":"EV","ء":"a","آ":"aa","أ":"a","ؤ":"u","إ":"i","ئ":"e","ا":"a","ب":"b","ة":"h","ت":"t","ث":"th","ج":"j","ح":"h","خ":"kh","د":"d","ذ":"th","ر":"r","ز":"z","س":"s","ش":"sh","ص":"s","ض":"dh","ط":"t","ظ":"z","ع":"a","غ":"gh","ف":"f","ق":"q","ك":"k","ل":"l","م":"m","ن":"n","ه":"h","و":"w","ى":"a","ي":"y","ً":"an","ٌ":"on","ٍ":"en","َ":"a","ُ":"u","ِ":"e","ْ":"","٠":"0","١":"1","٢":"2","٣":"3","٤":"4","٥":"5","٦":"6","٧":"7","٨":"8","٩":"9","پ":"p","چ":"ch","ژ":"zh","ک":"k","گ":"g","ی":"y","۰":"0","۱":"1","۲":"2","۳":"3","۴":"4","۵":"5","۶":"6","۷":"7","۸":"8","۹":"9","฿":"baht","ა":"a","ბ":"b","გ":"g","დ":"d","ე":"e","ვ":"v","ზ":"z","თ":"t","ი":"i","კ":"k","ლ":"l","მ":"m","ნ":"n","ო":"o","პ":"p","ჟ":"zh","რ":"r","ს":"s","ტ":"t","უ":"u","ფ":"f","ქ":"k","ღ":"gh","ყ":"q","შ":"sh","ჩ":"ch","ც":"ts","ძ":"dz","წ":"ts","ჭ":"ch","ხ":"kh","ჯ":"j","ჰ":"h","Ṣ":"S","ṣ":"s","Ẁ":"W","ẁ":"w","Ẃ":"W","ẃ":"w","Ẅ":"W","ẅ":"w","ẞ":"SS","Ạ":"A","ạ":"a","Ả":"A","ả":"a","Ấ":"A","ấ":"a","Ầ":"A","ầ":"a","Ẩ":"A","ẩ":"a","Ẫ":"A","ẫ":"a","Ậ":"A","ậ":"a","Ắ":"A","ắ":"a","Ằ":"A","ằ":"a","Ẳ":"A","ẳ":"a","Ẵ":"A","ẵ":"a","Ặ":"A","ặ":"a","Ẹ":"E","ẹ":"e","Ẻ":"E","ẻ":"e","Ẽ":"E","ẽ":"e","Ế":"E","ế":"e","Ề":"E","ề":"e","Ể":"E","ể":"e","Ễ":"E","ễ":"e","Ệ":"E","ệ":"e","Ỉ":"I","ỉ":"i","Ị":"I","ị":"i","Ọ":"O","ọ":"o","Ỏ":"O","ỏ":"o","Ố":"O","ố":"o","Ồ":"O","ồ":"o","Ổ":"O","ổ":"o","Ỗ":"O","ỗ":"o","Ộ":"O","ộ":"o","Ớ":"O","ớ":"o","Ờ":"O","ờ":"o","Ở":"O","ở":"o","Ỡ":"O","ỡ":"o","Ợ":"O","ợ":"o","Ụ":"U","ụ":"u","Ủ":"U","ủ":"u","Ứ":"U","ứ":"u","Ừ":"U","ừ":"u","Ử":"U","ử":"u","Ữ":"U","ữ":"u","Ự":"U","ự":"u","Ỳ":"Y","ỳ":"y","Ỵ":"Y","ỵ":"y","Ỷ":"Y","ỷ":"y","Ỹ":"Y","ỹ":"y","–":"-","‘":"'","’":"'","“":"\\"","”":"\\"","„":"\\"","†":"+","•":"*","…":"...","₠":"ecu","₢":"cruzeiro","₣":"french franc","₤":"lira","₥":"mill","₦":"naira","₧":"peseta","₨":"rupee","₩":"won","₪":"new shequel","₫":"dong","€":"euro","₭":"kip","₮":"tugrik","₯":"drachma","₰":"penny","₱":"peso","₲":"guarani","₳":"austral","₴":"hryvnia","₵":"cedi","₸":"kazakhstani tenge","₹":"indian rupee","₺":"turkish lira","₽":"russian ruble","₿":"bitcoin","℠":"sm","™":"tm","∂":"d","∆":"delta","∑":"sum","∞":"infinity","♥":"love","元":"yuan","円":"yen","﷼":"rial","ﻵ":"laa","ﻷ":"laa","ﻹ":"lai","ﻻ":"la"}`),t=JSON.parse(`{"bg":{"Й":"Y","Ц":"Ts","Щ":"Sht","Ъ":"A","Ь":"Y","й":"y","ц":"ts","щ":"sht","ъ":"a","ь":"y"},"de":{"Ä":"AE","ä":"ae","Ö":"OE","ö":"oe","Ü":"UE","ü":"ue","ß":"ss","%":"prozent","&":"und","|":"oder","∑":"summe","∞":"unendlich","♥":"liebe"},"es":{"%":"por ciento","&":"y","<":"menor que",">":"mayor que","|":"o","¢":"centavos","£":"libras","¤":"moneda","₣":"francos","∑":"suma","∞":"infinito","♥":"amor"},"fr":{"%":"pourcent","&":"et","<":"plus petit",">":"plus grand","|":"ou","¢":"centime","£":"livre","¤":"devise","₣":"franc","∑":"somme","∞":"infini","♥":"amour"},"pt":{"%":"porcento","&":"e","<":"menor",">":"maior","|":"ou","¢":"centavo","∑":"soma","£":"libra","∞":"infinito","♥":"amor"},"uk":{"И":"Y","и":"y","Й":"Y","й":"y","Ц":"Ts","ц":"ts","Х":"Kh","х":"kh","Щ":"Shch","щ":"shch","Г":"H","г":"h"},"vi":{"Đ":"D","đ":"d"},"da":{"Ø":"OE","ø":"oe","Å":"AA","å":"aa","%":"procent","&":"og","|":"eller","$":"dollar","<":"mindre end",">":"større end"},"nb":{"&":"og","Å":"AA","Æ":"AE","Ø":"OE","å":"aa","æ":"ae","ø":"oe"},"it":{"&":"e"},"nl":{"&":"en"},"sv":{"&":"och","Å":"AA","Ä":"AE","Ö":"OE","å":"aa","ä":"ae","ö":"oe"}}`);function n(n,r){if(typeof n!=`string`)throw Error(`slugify: string argument expected`);r=typeof r==`string`?{replacement:r}:r||{};var a=t[r.locale]||{},o=r.replacement===void 0?`-`:r.replacement,s=r.trim===void 0?!0:r.trim,c=n.normalize().split(``).reduce(function(t,n){var s=a[n];return s===void 0&&(s=e[n]),s===void 0&&(s=n),s===o&&(s=` `),t+s.replace(r.remove||/[^\w\s$*_+~.()'"!\-:@]+/g,``)},``);return r.strict&&(c=c.replace(/[^A-Za-z0-9\s]/g,``)),s&&(c=c.trim()),c=c.replace(/\s+/g,o),r.lower&&(c=c.toLowerCase()),c}return n.extend=function(t){Object.assign(e,t)},n})})),Qn=e.t(((e,t)=>{Object.defineProperty(e,`__esModule`,{value:!0}),e.default=a;var n=r(require(`crypto`));function r(e){return e&&e.__esModule?e:{default:e}}function a(){return n.default.randomBytes(16)}t.exports=e.default})),$n=e.t(((e,t)=>{Object.defineProperty(e,`__esModule`,{value:!0}),e.default=void 0;for(var n=[],r=0;r<256;++r)n[r]=(r+256).toString(16).substr(1);function a(e,t){var r=t||0,a=n;return[a[e[r++]],a[e[r++]],a[e[r++]],a[e[r++]],`-`,a[e[r++]],a[e[r++]],`-`,a[e[r++]],a[e[r++]],`-`,a[e[r++]],a[e[r++]],`-`,a[e[r++]],a[e[r++]],a[e[r++]],a[e[r++]],a[e[r++]],a[e[r++]]].join(``)}e.default=a,t.exports=e.default})),er=e.t(((e,t)=>{Object.defineProperty(e,`__esModule`,{value:!0}),e.default=void 0;var n=a(Qn()),r=a($n());function a(e){return e&&e.__esModule?e:{default:e}}var o,s,c=0,l=0;function u(e,t,a){var u=t&&a||0,d=t||[];e||={};var f=e.node||o,p=e.clockseq===void 0?s:e.clockseq;if(f==null||p==null){var m=e.random||(e.rng||n.default)();f??=o=[m[0]|1,m[1],m[2],m[3],m[4],m[5]],p??=s=(m[6]<<8|m[7])&16383}var h=e.msecs===void 0?new Date().getTime():e.msecs,g=e.nsecs===void 0?l+1:e.nsecs,_=h-c+(g-l)/1e4;if(_<0&&e.clockseq===void 0&&(p=p+1&16383),(_<0||h>c)&&e.nsecs===void 0&&(g=0),g>=1e4)throw Error(`uuid.v1(): Can't create more than 10M uuids/sec`);c=h,l=g,s=p,h+=0xb1d069b5400;var v=((h&268435455)*1e4+g)%4294967296;d[u++]=v>>>24&255,d[u++]=v>>>16&255,d[u++]=v>>>8&255,d[u++]=v&255;var y=h/4294967296*1e4&268435455;d[u++]=y>>>8&255,d[u++]=y&255,d[u++]=y>>>24&15|16,d[u++]=y>>>16&255,d[u++]=p>>>8|128,d[u++]=p&255;for(var b=0;b<6;++b)d[u+b]=f[b];return t||(0,r.default)(d)}e.default=u,t.exports=e.default})),tr=e.t((e=>{Object.defineProperty(e,`__esModule`,{value:!0}),e.default=c,e.URL=e.DNS=void 0;var t=n($n());function n(e){return e&&e.__esModule?e:{default:e}}function r(e){var t=[];return e.replace(/[a-fA-F0-9]{2}/g,function(e){t.push(parseInt(e,16))}),t}function a(e){e=unescape(encodeURIComponent(e));for(var t=Array(e.length),n=0;n<e.length;n++)t[n]=e.charCodeAt(n);return t}let o=`6ba7b810-9dad-11d1-80b4-00c04fd430c8`;e.DNS=o;let s=`6ba7b811-9dad-11d1-80b4-00c04fd430c8`;e.URL=s;function c(e,n,c){var l=function(e,o,s,l){var u=s&&l||0;if(typeof e==`string`&&(e=a(e)),typeof o==`string`&&(o=r(o)),!Array.isArray(e))throw TypeError(`value must be an array of bytes`);if(!Array.isArray(o)||o.length!==16)throw TypeError(`namespace must be uuid string or an Array of 16 byte values`);var d=c(o.concat(e));if(d[6]=d[6]&15|n,d[8]=d[8]&63|128,s)for(var f=0;f<16;++f)s[u+f]=d[f];return s||(0,t.default)(d)};try{l.name=e}catch{}return l.DNS=o,l.URL=s,l}})),nr=e.t(((e,t)=>{Object.defineProperty(e,`__esModule`,{value:!0}),e.default=void 0;var n=r(require(`crypto`));function r(e){return e&&e.__esModule?e:{default:e}}function a(e){return Array.isArray(e)?e=Buffer.from(e):typeof e==`string`&&(e=Buffer.from(e,`utf8`)),n.default.createHash(`md5`).update(e).digest()}e.default=a,t.exports=e.default})),rr=e.t(((e,t)=>{Object.defineProperty(e,`__esModule`,{value:!0}),e.default=void 0;var n=a(tr()),r=a(nr());function a(e){return e&&e.__esModule?e:{default:e}}e.default=(0,n.default)(`v3`,48,r.default),t.exports=e.default})),ir=e.t(((e,t)=>{Object.defineProperty(e,`__esModule`,{value:!0}),e.default=void 0;var n=a(Qn()),r=a($n());function a(e){return e&&e.__esModule?e:{default:e}}function o(e,t,a){var o=t&&a||0;typeof e==`string`&&(t=e===`binary`?Array(16):null,e=null),e||={};var s=e.random||(e.rng||n.default)();if(s[6]=s[6]&15|64,s[8]=s[8]&63|128,t)for(var c=0;c<16;++c)t[o+c]=s[c];return t||(0,r.default)(s)}e.default=o,t.exports=e.default})),ar=e.t(((e,t)=>{Object.defineProperty(e,`__esModule`,{value:!0}),e.default=void 0;var n=r(require(`crypto`));function r(e){return e&&e.__esModule?e:{default:e}}function a(e){return Array.isArray(e)?e=Buffer.from(e):typeof e==`string`&&(e=Buffer.from(e,`utf8`)),n.default.createHash(`sha1`).update(e).digest()}e.default=a,t.exports=e.default})),or=e.t(((e,t)=>{Object.defineProperty(e,`__esModule`,{value:!0}),e.default=void 0;var n=a(tr()),r=a(ar());function a(e){return e&&e.__esModule?e:{default:e}}e.default=(0,n.default)(`v5`,80,r.default),t.exports=e.default})),sr=e.t((e=>{Object.defineProperty(e,`__esModule`,{value:!0}),Object.defineProperty(e,`v1`,{enumerable:!0,get:function(){return t.default}}),Object.defineProperty(e,`v3`,{enumerable:!0,get:function(){return n.default}}),Object.defineProperty(e,`v4`,{enumerable:!0,get:function(){return r.default}}),Object.defineProperty(e,`v5`,{enumerable:!0,get:function(){return a.default}});var t=o(er()),n=o(rr()),r=o(ir()),a=o(or());function o(e){return e&&e.__esModule?e:{default:e}}})),cr=e.t(((e,t)=>{vi();var n=require(`util`),r=n.format,a=`	`,o=/_comment$/,s=require(`events`).EventEmitter;function c(e){return e<=0?``:a+c(e-1)}function l(e,t){return t[e+`_comment`]||null}function u(e){return e===Object(e)}function d(e){return Array.isArray(e)}function f(e,t){t||={},t.omitEmptyValues===void 0&&(t.omitEmptyValues=!1),this.contents=e,this.sync=!1,this.indentLevel=0,this.omitEmptyValues=t.omitEmptyValues}n.inherits(f,s),f.prototype.write=function(e){var t=r.apply(null,arguments);this.sync&&(this.buffer+=r(`%s%s`,c(this.indentLevel),t))},f.prototype.writeFlush=function(e){var t=this.indentLevel;this.indentLevel=0,this.write.apply(this,arguments),this.indentLevel=t},f.prototype.writeSync=function(){return this.sync=!0,this.buffer=``,this.writeHeadComment(),this.writeProject(),this.buffer},f.prototype.writeHeadComment=function(){this.contents.headComment&&this.write(`// %s
`,this.contents.headComment)},f.prototype.writeProject=function(){var e=this.contents.project,t,n,r;if(this.write(`{
`),e){for(t in this.indentLevel++,e)if(!o.test(t))if(n=l(t,e),r=e[t],d(r))this.writeArray(r,t);else if(u(r))this.write(`%s = {
`,t),this.indentLevel++,t===`objects`?this.writeObjectsSections(r):this.writeObject(r),this.indentLevel--,this.write(`};
`);else if(this.omitEmptyValues&&r==null)continue;else n?this.write(`%s = %s /* %s */;
`,t,r,n):this.write(`%s = %s;
`,t,r);this.indentLevel--}this.write(`}
`)},f.prototype.writeObject=function(e){var t,n,r;for(t in e)if(!o.test(t))if(r=l(t,e),n=e[t],d(n))this.writeArray(n,t);else if(u(n))this.write(`%s = {
`,t),this.indentLevel++,this.writeObject(n),this.indentLevel--,this.write(`};
`);else if(this.omitEmptyValues&&n==null)continue;else r?this.write(`%s = %s /* %s */;
`,t,n,r):this.write(`%s = %s;
`,t,n)},f.prototype.writeObjectsSections=function(e){var t,n;for(t in e)this.writeFlush(`
`),n=e[t],u(n)&&(this.writeSectionComment(t,!0),this.writeSection(n),this.writeSectionComment(t,!1))},f.prototype.writeArray=function(e,t){var n,r;for(this.write(`%s = (
`,t),this.indentLevel++,n=0;n<e.length;n++)r=e[n],r.value&&r.comment?this.write(`%s /* %s */,
`,r.value,r.comment):u(r)?(this.write(`{
`),this.indentLevel++,this.writeObject(r),this.indentLevel--,this.write(`},
`)):this.write(`%s,
`,r);this.indentLevel--,this.write(`);
`)},f.prototype.writeSectionComment=function(e,t){t?this.writeFlush(`/* Begin %s section */
`,e):this.writeFlush(`/* End %s section */
`,e)},f.prototype.writeSection=function(e){var t,n,r;for(t in e)o.test(t)||(r=l(t,e),n=e[t],n.isa==`PBXBuildFile`||n.isa==`PBXFileReference`?this.writeInlineObject(t,r,n):(r?this.write(`%s /* %s */ = {
`,t,r):this.write(`%s = {
`,t),this.indentLevel++,this.writeObject(n),this.indentLevel--,this.write(`};
`)))},f.prototype.writeInlineObject=function(e,t,n){var a=[],s=this,c=function(e,t,n){var f,p,m;for(f in t?a.push(r(`%s /* %s */ = {`,e,t)):a.push(r(`%s = {`,e)),n)if(!o.test(f))if(p=l(f,n),m=n[f],d(m)){a.push(r(`%s = (`,f));for(var h=0;h<m.length;h++)a.push(r(`%s, `,m[h]));a.push(`); `)}else if(u(m))c(f,p,m);else if(s.omitEmptyValues&&m==null)continue;else p?a.push(r(`%s = %s /* %s */; `,f,m,p)):a.push(r(`%s = %s; `,f,m));a.push(`}; `)};c(e,t,n),this.write(`%s
`,a.join(``).trim())},t.exports=f})),lr=e.t(((e,t)=>{var n=require(`path`),r=require(`util`),a=`"<group>"`,o=`BUILT_PRODUCTS_DIR`,s=`Resources`,c=`unknown`,l={a:`archive.ar`,app:`wrapper.application`,appex:`wrapper.app-extension`,bundle:`wrapper.plug-in`,dylib:`compiled.mach-o.dylib`,framework:`wrapper.framework`,h:`sourcecode.c.h`,m:`sourcecode.c.objc`,markdown:`text`,mdimporter:`wrapper.cfbundle`,octest:`wrapper.cfbundle`,pch:`sourcecode.c.h`,plist:`text.plist.xml`,sh:`text.script.sh`,swift:`sourcecode.swift`,tbd:`sourcecode.text-based-dylib-definition`,xcassets:`folder.assetcatalog`,xcconfig:`text.xcconfig`,xcdatamodel:`wrapper.xcdatamodel`,xcodeproj:`wrapper.pb-project`,xctest:`wrapper.cfbundle`,xib:`file.xib`,strings:`text.plist.strings`},u={"archive.ar":`Frameworks`,"compiled.mach-o.dylib":`Frameworks`,"sourcecode.text-based-dylib-definition":`Frameworks`,"wrapper.framework":`Frameworks`,"embedded.framework":`Embed Frameworks`,"sourcecode.c.h":`Resources`,"sourcecode.c.objc":`Sources`,"sourcecode.swift":`Sources`},d={"compiled.mach-o.dylib":`usr/lib/`,"sourcecode.text-based-dylib-definition":`usr/lib/`,"wrapper.framework":`System/Library/Frameworks/`},f={"compiled.mach-o.dylib":`SDKROOT`,"sourcecode.text-based-dylib-definition":`SDKROOT`,"wrapper.framework":`SDKROOT`},p={"sourcecode.c.h":4,"sourcecode.c.h":4,"sourcecode.c.objc":4,"sourcecode.swift":4,text:4,"text.plist.xml":4,"text.script.sh":4,"text.xcconfig":4,"text.plist.strings":4};function m(e){return e==null?``:e.replace(/(^")|("$)/g,``)}function h(e){return l[m(n.extname(e).substring(1))]||c}function g(e){var t=e.lastKnownFileType&&e.lastKnownFileType!=c?e.lastKnownFileType:e.explicitFileType;for(var n in l)if(l.hasOwnProperty(m(n))&&l[m(n)]===m(t))return n}function _(e){var t=p[m(e.lastKnownFileType||e.explicitFileType)];if(t)return t}function v(e,t){var r=n.extname(e.basename).substring(1),a=u[m(e.lastKnownFileType||e.explicitFileType)];return r===`xcdatamodeld`?`Sources`:t.customFramework&&t.embed?u[`embedded.framework`]:a||s}function y(e){var t=f[m(e.lastKnownFileType||e.explicitFileType)];return e.explicitFileType?o:e.customFramework||!t?a:t}function b(e,t){var r=d[m(e.lastKnownFileType||e.explicitFileType)];return e.customFramework?t:r?n.join(r,n.basename(t)):t}function x(e,t){var t=t||{};this.basename=n.basename(e),this.lastKnownFileType=t.lastKnownFileType||h(e),this.group=v(this,t),t.customFramework==1&&(this.customFramework=!0,this.dirname=n.dirname(e).replace(/\\/g,`/`)),this.path=b(this,e).replace(/\\/g,`/`),this.fileEncoding=this.defaultEncoding=t.defaultEncoding||_(this),t.explicitFileType&&(this.explicitFileType=t.explicitFileType,this.basename=this.basename+`.`+g(this),delete this.path,delete this.lastKnownFileType,delete this.group,delete this.defaultEncoding),this.sourceTree=t.sourceTree||y(this),this.includeInIndex=0,t.weak&&t.weak===!0&&(this.settings={ATTRIBUTES:[`Weak`]}),t.compilerFlags&&(this.settings||={},this.settings.COMPILER_FLAGS=r.format(`"%s"`,t.compilerFlags)),t.embed&&t.sign&&(this.settings||={},this.settings.ATTRIBUTES||(this.settings.ATTRIBUTES=[]),this.settings.ATTRIBUTES.push(`CodeSignOnCopy`))}t.exports=x})),ur=e.t(((e,t)=>{function n(e,t){function n(){this.constructor=e}n.prototype=t.prototype,e.prototype=new n}function r(e,t,n,a){this.message=e,this.expected=t,this.found=n,this.location=a,this.name=`SyntaxError`,typeof Error.captureStackTrace==`function`&&Error.captureStackTrace(this,r)}n(r,Error),r.buildMessage=function(e,t){var n={literal:function(e){return`"`+a(e.text)+`"`},class:function(e){var t=``,n;for(n=0;n<e.parts.length;n++)t+=e.parts[n]instanceof Array?o(e.parts[n][0])+`-`+o(e.parts[n][1]):o(e.parts[n]);return`[`+(e.inverted?`^`:``)+t+`]`},any:function(e){return`any character`},end:function(e){return`end of input`},other:function(e){return e.description}};function r(e){return e.charCodeAt(0).toString(16).toUpperCase()}function a(e){return e.replace(/\\/g,`\\\\`).replace(/"/g,`\\"`).replace(/\0/g,`\\0`).replace(/\t/g,`\\t`).replace(/\n/g,`\\n`).replace(/\r/g,`\\r`).replace(/[\x00-\x0F]/g,function(e){return`\\x0`+r(e)}).replace(/[\x10-\x1F\x7F-\x9F]/g,function(e){return`\\x`+r(e)})}function o(e){return e.replace(/\\/g,`\\\\`).replace(/\]/g,`\\]`).replace(/\^/g,`\\^`).replace(/-/g,`\\-`).replace(/\0/g,`\\0`).replace(/\t/g,`\\t`).replace(/\n/g,`\\n`).replace(/\r/g,`\\r`).replace(/[\x00-\x0F]/g,function(e){return`\\x0`+r(e)}).replace(/[\x10-\x1F\x7F-\x9F]/g,function(e){return`\\x`+r(e)})}function s(e){return n[e.type](e)}function c(e){var t=Array(e.length),n,r;for(n=0;n<e.length;n++)t[n]=s(e[n]);if(t.sort(),t.length>0){for(n=1,r=1;n<t.length;n++)t[n-1]!==t[n]&&(t[r]=t[n],r++);t.length=r}switch(t.length){case 1:return t[0];case 2:return t[0]+` or `+t[1];default:return t.slice(0,-1).join(`, `)+`, or `+t[t.length-1]}}function l(e){return e?`"`+a(e)+`"`:`end of input`}return`Expected `+c(e)+` but `+l(t)+` found.`};function a(e,t){t=t===void 0?{}:t;var n={},a={Project:Ge},o=Ge,s=function(e,t){var n=Object.create(null);return n.project=t,e&&(n.headComment=e),n},c=`{`,l=Le(`{`,!1),u=`}`,d=Le(`}`,!1),f=function(e){return e},p=function(){return Object.create(null)},m=function(e){for(var t=e[0][0],n=1;n<e.length;n++){var r=e[n][0];t=Object.assign(t,r)}return t},h=`=`,g=Le(`=`,!1),_=`;`,v=Le(`;`,!1),y=function(e,t){var n=Object.create(null);return n[e]=t,n},b=function(e,t){var n=Object.create(null),r=e.id+`_comment`;return n[e.id]=t,n[r]=e[r],n},x=function(e,t){var n=Object.create(null);return n[e]=t.value,n[e+`_comment`]=t.comment,n},S=function(e,t){var n=Object.create(null);return n.id=e,n[e+`_comment`]=t.trim(),n},C=function(e,t){var n=Object.create(null);return n.comment=t.trim(),n.value=e.trim(),n},w=/^[^*]/,T=Re([`*`],!0,!1),E=function(e){return e.join(``)},D=`/*`,O=Le(`/*`,!1),k=`*/`,A=Le(`*/`,!1),j=function(e,t){var n=Object.create(null);return n[e.name]=t,n},M=`/* Begin `,N=Le(`/* Begin `,!1),P=` section */`,F=Le(` section */`,!1),I=function(e){return{name:e}},L=`/* End `,R=Le(`/* End `,!1),z=`(`,B=Le(`(`,!1),V=`)`,H=Le(`)`,!1),U=function(e){return e},W=function(){return[]},ee=function(e,t){return t?(t.unshift(e),t):[e]},G=function(e){return e},te=function(e,t){var n=Object.create(null);return n.value=e.trim(),n.comment=t.trim(),n},ne=`,`,re=Le(`,`,!1),K=/^[A-Za-z0-9_.]/,ie=Re([[`A`,`Z`],[`a`,`z`],[`0`,`9`],`_`,`.`],!1,!1),ae=function(e){return e.join(``)},q=`.`,oe=Le(`.`,!1),se=function(e){return e.join(``)},ce=function(e){return parseInt(e.join(``),10)},le=function(e){return`"`+e+`"`},ue=function(e){return e.join(``)},de=ze(),J=function(e){return e},fe=`\\`,pe=Le(`\\`,!1),me=function(){return`\\"`},he=function(e){return e.join(``)},ge=/^[^;,\n]/,_e=Re([`;`,`,`,`
`],!0,!1),ve=`//`,ye=Le(`//`,!1),be=function(e){return e},xe=function(e){return e.join(``)},Se=/^[0-9]/,Ce=Re([[`0`,`9`]],!1,!1),we=/^[A-Za-z]/,Te=Re([[`A`,`Z`],[`a`,`z`]],!1,!1),Ee=`"`,De=Le(`"`,!1),Oe=Ve(`whitespace`),ke=/^[\t ]/,Ae=Re([`	`,` `],!1,!1),je=/^[\n\r]/,Me=Re([`
`,`\r`],!1,!1),Y=0,Ne=[{line:1,column:1}],Pe=0,Fe=[],X=0,Ie;if(`startRule`in t){if(!(t.startRule in a))throw Error(`Can't start parsing from rule "`+t.startRule+`".`);o=a[t.startRule]}function Le(e,t){return{type:`literal`,text:e,ignoreCase:t}}function Re(e,t,n){return{type:`class`,parts:e,inverted:t,ignoreCase:n}}function ze(){return{type:`any`}}function Be(){return{type:`end`}}function Ve(e){return{type:`other`,description:e}}function He(t){var n=Ne[t],r;if(n)return n;for(r=t-1;!Ne[r];)r--;for(n=Ne[r],n={line:n.line,column:n.column};r<t;)e.charCodeAt(r)===10?(n.line++,n.column=1):n.column++,r++;return Ne[t]=n,n}function Ue(e,t){var n=He(e),r=He(t);return{start:{offset:e,line:n.line,column:n.column},end:{offset:t,line:r.line,column:r.column}}}function Z(e){Y<Pe||(Y>Pe&&(Pe=Y,Fe=[]),Fe.push(e))}function We(e,t,n){return new r(r.buildMessage(e,t),e,t,n)}function Ge(){var e=Y,t=wt(),r,a,o,c,l;return t===n&&(t=null),t===n?(Y=e,e=n):(r=Qe(),r===n&&(r=null),r===n?(Y=e,e=n):(a=kt(),a===n?(Y=e,e=n):(o=Ke(),o===n?(Y=e,e=n):(c=Nt(),c===n?(Y=e,e=n):(l=kt(),l===n?(Y=e,e=n):(t=s(t,o),e=t)))))),e}function Ke(){var t=Y,r,a,o;return e.charCodeAt(Y)===123?(r=c,Y++):(r=n,X===0&&Z(l)),r===n?(Y=t,t=n):(a=Je(),a===n&&(a=qe()),a===n?(Y=t,t=n):(e.charCodeAt(Y)===125?(o=u,Y++):(o=n,X===0&&Z(d)),o===n?(Y=t,t=n):(r=f(a),t=r))),t}function qe(){var e=Y,t=kt();return t!==n&&(t=p()),e=t,e}function Je(){var e=Y,t=kt(),r,a,o,s;if(t!==n){if(r=[],a=Y,o=Q(),o===n&&(o=tt()),o===n?(Y=a,a=n):(s=kt(),s===n?(Y=a,a=n):(o=[o,s],a=o)),a!==n)for(;a!==n;)r.push(a),a=Y,o=Q(),o===n&&(o=tt()),o===n?(Y=a,a=n):(s=kt(),s===n?(Y=a,a=n):(o=[o,s],a=o));else r=n;r===n?(Y=e,e=n):(t=m(r),e=t)}else Y=e,e=n;return e}function Q(){var e=$();return e===n&&(e=Ye()),e}function $(){var t=Y,r=dt(),a,o,s,c,l;return r===n?(Y=t,t=n):(a=kt(),a===n?(Y=t,t=n):(e.charCodeAt(Y)===61?(o=h,Y++):(o=n,X===0&&Z(g)),o===n?(Y=t,t=n):(s=kt(),s===n?(Y=t,t=n):(c=ft(),c===n?(Y=t,t=n):(e.charCodeAt(Y)===59?(l=_,Y++):(l=n,X===0&&Z(v)),l===n?(Y=t,t=n):(r=y(r,c),t=r)))))),t}function Ye(){var t=Y,r=Xe(),a,o,s,c,l;return r===n?(Y=t,t=n):(a=kt(),a===n?(Y=t,t=n):(e.charCodeAt(Y)===61?(o=h,Y++):(o=n,X===0&&Z(g)),o===n?(Y=t,t=n):(s=kt(),s===n?(Y=t,t=n):(c=ft(),c===n?(Y=t,t=n):(e.charCodeAt(Y)===59?(l=_,Y++):(l=n,X===0&&Z(v)),l===n?(Y=t,t=n):(r=b(r,c),t=r)))))),t===n&&(t=Y,r=dt(),r===n?(Y=t,t=n):(a=kt(),a===n?(Y=t,t=n):(e.charCodeAt(Y)===61?(o=h,Y++):(o=n,X===0&&Z(g)),o===n?(Y=t,t=n):(s=kt(),s===n?(Y=t,t=n):(c=Ze(),c===n?(Y=t,t=n):(e.charCodeAt(Y)===59?(l=_,Y++):(l=n,X===0&&Z(v)),l===n?(Y=t,t=n):(r=x(r,c),t=r))))))),t}function Xe(){var e=Y,t=dt(),r,a;return t===n?(Y=e,e=n):(r=kt(),r===n?(Y=e,e=n):(a=Qe(),a===n?(Y=e,e=n):(t=S(t,a),e=t))),e}function Ze(){var e=Y,t=ft(),r,a;return t===n?(Y=e,e=n):(r=kt(),r===n?(Y=e,e=n):(a=Qe(),a===n?(Y=e,e=n):(t=C(t,a),e=t))),e}function Qe(){var t=Y,r=$e(),a,o;if(r!==n){if(a=[],w.test(e.charAt(Y))?(o=e.charAt(Y),Y++):(o=n,X===0&&Z(T)),o!==n)for(;o!==n;)a.push(o),w.test(e.charAt(Y))?(o=e.charAt(Y),Y++):(o=n,X===0&&Z(T));else a=n;a===n?(Y=t,t=n):(o=et(),o===n?(Y=t,t=n):(r=E(a),t=r))}else Y=t,t=n;return t}function $e(){var t;return e.substr(Y,2)===D?(t=D,Y+=2):(t=n,X===0&&Z(O)),t}function et(){var t;return e.substr(Y,2)===k?(t=k,Y+=2):(t=n,X===0&&Z(A)),t}function tt(){var e=Y,t=nt(),r,a,o,s;return t===n?(Y=e,e=n):(r=kt(),r===n?(Y=e,e=n):(a=Je(),a===n&&(a=qe()),a===n?(Y=e,e=n):(o=kt(),o===n?(Y=e,e=n):(s=rt(),s===n?(Y=e,e=n):(t=j(t,a),e=t))))),e}function nt(){var t=Y,r,a,o,s;return e.substr(Y,9)===M?(r=M,Y+=9):(r=n,X===0&&Z(N)),r===n?(Y=t,t=n):(a=dt(),a===n?(Y=t,t=n):(e.substr(Y,11)===P?(o=P,Y+=11):(o=n,X===0&&Z(F)),o===n?(Y=t,t=n):(s=Nt(),s===n?(Y=t,t=n):(r=I(a),t=r)))),t}function rt(){var t=Y,r,a,o,s;return e.substr(Y,7)===L?(r=L,Y+=7):(r=n,X===0&&Z(R)),r===n?(Y=t,t=n):(a=dt(),a===n?(Y=t,t=n):(e.substr(Y,11)===P?(o=P,Y+=11):(o=n,X===0&&Z(F)),o===n?(Y=t,t=n):(s=Nt(),s===n?(Y=t,t=n):(r=I(a),t=r)))),t}function it(){var t=Y,r,a,o;return e.charCodeAt(Y)===40?(r=z,Y++):(r=n,X===0&&Z(B)),r===n?(Y=t,t=n):(a=ot(),a===n&&(a=at()),a===n?(Y=t,t=n):(e.charCodeAt(Y)===41?(o=V,Y++):(o=n,X===0&&Z(H)),o===n?(Y=t,t=n):(r=U(a),t=r))),t}function at(){var e=Y,t=kt();return t!==n&&(t=W()),e=t,e}function ot(){var e=Y,t=kt(),r,a,o,s;return t===n?(Y=e,e=n):(r=st(),r===n?(Y=e,e=n):(a=kt(),a===n?(Y=e,e=n):(o=ot(),o===n&&(o=null),o===n?(Y=e,e=n):(s=kt(),s===n?(Y=e,e=n):(t=ee(r,o),e=t))))),e}function st(){var e=ct();return e===n&&(e=lt()),e}function ct(){var e=Y,t=ft(),r;return t===n?(Y=e,e=n):(r=ut(),r===n?(Y=e,e=n):(t=G(t),e=t)),e}function lt(){var e=Y,t=ft(),r,a,o;return t===n?(Y=e,e=n):(r=kt(),r===n?(Y=e,e=n):(a=Qe(),a===n?(Y=e,e=n):(o=ut(),o===n?(Y=e,e=n):(t=te(t,a),e=t)))),e}function ut(){var t,r,a,o;return e.charCodeAt(Y)===44?(t=ne,Y++):(t=n,X===0&&Z(re)),t===n&&(t=Y,r=kt(),r===n?(Y=t,t=n):(a=Y,X++,e.charCodeAt(Y)===41?(o=V,Y++):(o=n,X===0&&Z(H)),X--,o===n?a=n:(Y=a,a=void 0),a===n?(Y=t,t=n):(r=[r,a],t=r))),t}function dt(){var t=Y,r=[],a;if(K.test(e.charAt(Y))?(a=e.charAt(Y),Y++):(a=n,X===0&&Z(ie)),a!==n)for(;a!==n;)r.push(a),K.test(e.charAt(Y))?(a=e.charAt(Y),Y++):(a=n,X===0&&Z(ie));else r=n;return r!==n&&(r=ae(r)),t=r,t===n&&(t=_t()),t}function ft(){var e=Ke();return e===n&&(e=it(),e===n&&(e=pt(),e===n&&(e=gt()))),e}function pt(){var e=mt();return e===n&&(e=ht()),e}function mt(){var t=Y,r=Y,a=ht(),o,s;return a===n?(Y=r,r=n):(e.charCodeAt(Y)===46?(o=q,Y++):(o=n,X===0&&Z(oe)),o===n?(Y=r,r=n):(s=ht(),s===n?(Y=r,r=n):(a=[a,o,s],r=a))),r!==n&&(r=se(r)),t=r,t}function ht(){var e=Y,t=Y,r,a,o;if(X++,r=Dt(),X--,r===n?t=void 0:(Y=t,t=n),t!==n){if(r=[],a=Et(),a!==n)for(;a!==n;)r.push(a),a=Et();else r=n;r===n?(Y=e,e=n):(a=Y,X++,o=Ct(),X--,o===n?a=void 0:(Y=a,a=n),a===n?(Y=e,e=n):(t=ce(r),e=t))}else Y=e,e=n;return e}function gt(){var e=_t();return e===n&&(e=xt()),e}function _t(){var e=Y,t=Ot(),r,a;return t===n?(Y=e,e=n):(r=vt(),r===n?(Y=e,e=n):(a=Ot(),a===n?(Y=e,e=n):(t=le(r),e=t))),e}function vt(){var e=Y,t=[],r=yt();if(r!==n)for(;r!==n;)t.push(r),r=yt();else t=n;return t!==n&&(t=ue(t)),e=t,e}function yt(){var t=bt(),r,a;return t===n&&(t=Y,r=Y,X++,a=Ot(),X--,a===n?r=void 0:(Y=r,r=n),r===n?(Y=t,t=n):(e.length>Y?(a=e.charAt(Y),Y++):(a=n,X===0&&Z(de)),a===n?(Y=t,t=n):(r=J(a),t=r))),t}function bt(){var t=Y,r,a;return e.charCodeAt(Y)===92?(r=fe,Y++):(r=n,X===0&&Z(pe)),r===n?(Y=t,t=n):(a=Ot(),a===n?(Y=t,t=n):(r=me(),t=r)),t}function xt(){var e=Y,t=[],r=St();if(r!==n)for(;r!==n;)t.push(r),r=St();else t=n;return t!==n&&(t=he(t)),e=t,e}function St(){var e=Y,t=Y,r,a;return X++,r=$e(),X--,r===n?t=void 0:(Y=t,t=n),t===n?(Y=e,e=n):(r=Y,X++,a=Mt(),X--,a===n?r=void 0:(Y=r,r=n),r===n?(Y=e,e=n):(a=Ct(),a===n?(Y=e,e=n):(t=J(a),e=t))),e}function Ct(){var t;return ge.test(e.charAt(Y))?(t=e.charAt(Y),Y++):(t=n,X===0&&Z(_e)),t}function wt(){var t=Y,r,a,o,s;return e.substr(Y,2)===ve?(r=ve,Y+=2):(r=n,X===0&&Z(ye)),r===n?(Y=t,t=n):(a=kt(),a===n?(Y=t,t=n):(o=Tt(),o===n?(Y=t,t=n):(s=Nt(),s===n?(Y=t,t=n):(r=be(o),t=r)))),t}function Tt(){for(var e=Y,t=[],r=jt();r!==n;)t.push(r),r=jt();return t!==n&&(t=xe(t)),e=t,e}function Et(){var t;return Se.test(e.charAt(Y))?(t=e.charAt(Y),Y++):(t=n,X===0&&Z(Ce)),t}function Dt(){var t;return we.test(e.charAt(Y))?(t=e.charAt(Y),Y++):(t=n,X===0&&Z(Te)),t}function Ot(){var t;return e.charCodeAt(Y)===34?(t=Ee,Y++):(t=n,X===0&&Z(De)),t}function kt(){var e,t;for(X++,e=[],t=At();t!==n;)e.push(t),t=At();return X--,e===n&&(t=n,X===0&&Z(Oe)),e}function At(){var t=Nt();return t===n&&(ke.test(e.charAt(Y))?(t=e.charAt(Y),Y++):(t=n,X===0&&Z(Ae))),t}function jt(){var e=Y,t=Y,r;return X++,r=Nt(),X--,r===n?t=void 0:(Y=t,t=n),t===n?(Y=e,e=n):(r=Pt(),r===n?(Y=e,e=n):(t=J(r),e=t)),e}function Mt(){var t=Nt();return t===n&&(e.charCodeAt(Y)===59?(t=_,Y++):(t=n,X===0&&Z(v))),t}function Nt(){var t;return je.test(e.charAt(Y))?(t=e.charAt(Y),Y++):(t=n,X===0&&Z(Me)),t}function Pt(){var t;return e.length>Y?(t=e.charAt(Y),Y++):(t=n,X===0&&Z(de)),t}if(Ie=o(),Ie!==n&&Y===e.length)return Ie;throw Ie!==n&&Y<e.length&&Z(Be()),We(Fe,Pe<e.length?e.charAt(Pe):null,Pe<e.length?Ue(Pe,Pe+1):Ue(Pe,Pe))}t.exports={SyntaxError:r,parse:a}})),dr=e.t(((e,t)=>{t.exports={DEFAULT_INITIAL_SIZE:8*1024,DEFAULT_INCREMENT_AMOUNT:8*1024,DEFAULT_FREQUENCY:1,DEFAULT_CHUNK_SIZE:1024}})),fr=e.t(((e,t)=>{var n=require(`stream`),r=dr(),a=require(`util`),o=t.exports=function(e){var t=this;n.Stream.call(this),e||={};var a=e.hasOwnProperty(`frequency`)?e.frequency:r.DEFAULT_FREQUENCY,o=e.chunkSize||r.DEFAULT_CHUNK_SIZE,s=e.initialSize||r.DEFAULT_INITIAL_SIZE,c=e.incrementAmount||r.DEFAULT_INCREMENT_AMOUNT,l=0,u=new Buffer(s),d=null;this.readable=!0,this.writable=!1;var f=function(){var e=Math.min(o,l);if(e>0){var n=null;d?n=u.toString(d,0,e):(n=new Buffer(e),u.copy(n,0,0,e)),t.emit(`data`,n),e<u.length&&u.copy(u,0,e,l),l-=e}l===0&&!t.readable&&(t.emit(`end`),t.emit(`close`),f&&f.interval&&(clearInterval(f.interval),f.interval=null))};this.size=function(){return l},this.maxSize=function(){return u.length};var p=function(e){if(u.length-l<e){var t=Math.ceil((e-(u.length-l))/c),n=new Buffer(u.length+c*t);u.copy(n,0,0,l),u=n}};this.put=function(e,n){if(t.readable){var r=l===0;if(Buffer.isBuffer(e))p(e.length),e.copy(u,l,0),l+=e.length;else{e+=``;var o=Buffer.byteLength(e);p(o),u.write(e,l,n||`utf8`),l+=o}if(r&&l>0&&this.emit(`readable`),!this.isPaused&&!a)for(;l>0;)f()}},this.pause=function(){this.isPaused=!0,f&&f.interval&&(clearInterval(f.interval),delete f.interval)},this.resume=function(){this.isPaused=!1,f&&!f.interval&&a>0&&(f.interval=setInterval(f,a))},this.destroy=function(){t.emit(`end`),f.interval&&clearInterval(f.interval),f=null,t.readable=!1,t.emit(`close`)},this.destroySoon=function(){t.readable=!1,f.interval||(t.emit(`end`),t.emit(`close`))},this.setEncoding=function(e){d=e},this.resume()};a.inherits(o,n.Stream)})),pr=e.t(((e,t)=>{var n=require(`util`),r=require(`stream`),a=dr(),o=t.exports=function(e){var t=this;r.Stream.call(this),e||={};var n=e.initialSize||a.DEFAULT_INITIAL_SIZE,o=e.incrementAmount||a.DEFAULT_INCREMENT_AMOUNT,s=new Buffer(n),c=0;this.writable=!0,this.readable=!1,this.size=function(){return c},this.maxSize=function(){return s.length},this.getContents=function(e){if(!c)return!1;var t=new Buffer(Math.min(e||c,c));return s.copy(t,0,0,t.length),t.length<c&&s.copy(s,0,t.length),c-=t.length,t},this.getContentsAsString=function(e,t){if(!c)return!1;var n=s.toString(e||`utf8`,0,Math.min(t||c,c)),r=Buffer.byteLength(n);return r<c&&s.copy(s,0,r),c-=r,n};var l=function(e){if(s.length-c<e){var t=Math.ceil((e-(s.length-c))/o),n=new Buffer(s.length+o*t);s.copy(n,0,0,c),s=n}};this.write=function(e,n,r){t.writable&&(Buffer.isBuffer(e)?(l(e.length),e.copy(s,c,0),c+=e.length):(e+=``,l(Buffer.byteLength(e)),s.write(e,c,n||`utf8`),c+=Buffer.byteLength(e)),typeof r==`function`&&r())},this.end=function(){var e=Array.prototype.slice.apply(arguments);e.length&&t.write.apply(t,e),t.emit(`finish`),t.destroy()},this.destroySoon=this.destroy=function(){t.writable=!1,t.emit(`close`)}};n.inherits(o,r.Stream)})),mr=e.t(((e,t)=>{t.exports=dr(),t.exports.ReadableStreamBuffer=fr(),t.exports.WritableStreamBuffer=pr()})),hr=e.t(((e,t)=>{var n=mr(),r=!1;function a(e){this.value=e}t.exports=function(e){var t=new n.WritableStreamBuffer;t.write(Buffer.from(`bplist00`)),r&&console.log(`create`,require(`util`).inspect(e,!1,10)),e instanceof Array&&e.length===1&&(e=e[0]);var a=o(e);r&&console.log(`entries`,a);var s=u(a.length),c=[],d,f;return p(),a.forEach(function(e,n){c[n]=t.size(),e?g(e):t.write(0)}),h(),m(),t.getContents();function p(){var e={},t=0;a.forEach(function(n){n.id||(n.type===`string`?!n.bplistOverride&&e.hasOwnProperty(n.value)?(n.type=`stringref`,n.id=e[n.value]):e[n.value]=n.id=t++:n.id=t++)}),a=a.filter(function(e){return e.type!==`stringref`})}function m(){r&&console.log(`0x`+t.size().toString(16),`writeTrailer`),t.write(Buffer.from([0,0,0,0,0,0])),r&&console.log(`0x`+t.size().toString(16),`writeTrailer(offsetSizeInBytes):`,d),E(d),r&&console.log(`0x`+t.size().toString(16),`writeTrailer(offsetSizeInBytes):`,s),E(s),r&&console.log(`0x`+t.size().toString(16),`writeTrailer(number of objects):`,a.length),T(a.length),r&&console.log(`0x`+t.size().toString(16),`writeTrailer(top object)`),T(0),r&&console.log(`0x`+t.size().toString(16),`writeTrailer(offset table offset):`,f),T(f)}function h(){r&&console.log(`0x`+t.size().toString(16),`writeOffsetTable`),f=t.size(),d=l(f),c.forEach(function(e){A(e,d)})}function g(e){switch(e.type){case`dict`:v(e);break;case`number`:case`double`:y(e);break;case`UID`:b(e);break;case`array`:x(e);break;case`boolean`:S(e);break;case`string`:case`string-utf16`:C(e);break;case`date`:_(e);break;case`data`:w(e);break;default:throw Error(`unhandled entry type: `+e.type)}}function _(e){E(51),D(Date.parse(e.value)/1e3-978307200)}function v(e){if(r){var n=e.entryKeys.map(function(e){return e.id}),a=e.entryValues.map(function(e){return e.id});console.log(`0x`+t.size().toString(16),`writeDict`,`(id: `+e.id+`)`,`(keys: `+n+`)`,`(values: `+a+`)`)}O(13,e.entryKeys.length),e.entryKeys.forEach(function(e){k(e.id)}),e.entryValues.forEach(function(e){k(e.id)})}function y(e){if(r&&console.log(`0x`+t.size().toString(16),`writeNumber`,e.value,` (type: `+e.type+`)`,`(id: `+e.id+`)`),typeof e.value==`bigint`){var n=16,a=e.value.toString(n),o=Buffer.from(a.padStart(n*2,`0`).slice(0,n*2),`hex`);E(20),t.write(o)}else e.type!==`double`&&parseFloat(e.value).toFixed()==e.value?e.value<0?(E(19),A(e.value,8,!0)):e.value<=255?(E(16),A(e.value,1)):e.value<=65535?(E(17),A(e.value,2)):e.value<=4294967295?(E(18),A(e.value,4)):(E(19),A(e.value,8)):(E(35),D(e.value))}function b(e){r&&console.log(`0x`+t.size().toString(16),`writeUID`,e.value,` (type: `+e.type+`)`,`(id: `+e.id+`)`),O(8,0),k(e.value)}function x(e){r&&console.log(`0x`+t.size().toString(16),`writeArray (length: `+e.entries.length+`)`,`(id: `+e.id+`)`),O(10,e.entries.length),e.entries.forEach(function(e){k(e.id)})}function S(e){r&&console.log(`0x`+t.size().toString(16),`writeBoolean`,e.value,`(id: `+e.id+`)`),E(e.value?9:8)}function C(e){if(r&&console.log(`0x`+t.size().toString(16),`writeString`,e.value,`(id: `+e.id+`)`),e.type===`string-utf16`||j(e.value)){var n=Buffer.from(e.value,`ucs2`);O(6,n.length/2);for(var a=0;a<n.length;a+=2){var o=n[a+0];n[a+0]=n[a+1],n[a+1]=o}t.write(n)}else{var s=Buffer.from(e.value,`ascii`);O(5,s.length),t.write(s)}}function w(e){r&&console.log(`0x`+t.size().toString(16),`writeData`,e.value,`(id: `+e.id+`)`),O(4,e.value.length),t.write(e.value)}function T(e){A(e,8)}function E(e){t.write(Buffer.from([e]))}function D(e){var n=Buffer.alloc(8);n.writeDoubleBE(e,0),t.write(n)}function O(e,t){t<15?E((e<<4)+t):t<256?(E((e<<4)+15),E(16),A(t,1)):t<65536?(E((e<<4)+15),E(17),A(t,2)):(E((e<<4)+15),E(18),A(t,4))}function k(e){A(e,s)}function A(e,n,r){for(var a=Buffer.alloc(n),o=0;n>4;)a[o++]=r?255:0,n--;for(var s=n-1;s>=0;s--)a[o++]=e>>8*s;t.write(a)}function j(e){return Buffer.byteLength(e,`utf8`)!=e.length}};function o(e){if(e.bplistOverride)return[e];if(e instanceof Array)return s(e);if(e instanceof Buffer)return[{type:`data`,value:e}];if(e instanceof a)return[{type:`double`,value:e.value}];if(typeof e==`object`)return e instanceof Date?[{type:`date`,value:e}]:Object.keys(e).length==1&&typeof e.UID==`number`?[{type:`UID`,value:e.UID}]:c(e);if(typeof e==`string`)return[{type:`string`,value:e}];if(typeof e==`number`)return[{type:`number`,value:e}];if(typeof e==`boolean`)return[{type:`boolean`,value:e}];if(typeof e==`bigint`)return[{type:`number`,value:e}];throw Error(`unhandled entry: `+e)}function s(e){r&&console.log(`toEntriesArray`);var t=[{type:`array`,entries:[]}];return e.forEach(function(e){var n=o(e);t[0].entries.push(n[0]),t=t.concat(n)}),t}function c(e){r&&console.log(`toEntriesObject`);var t=[{type:`dict`,entryKeys:[],entryValues:[]}];return Object.keys(e).forEach(function(e){var n=o(e);t[0].entryKeys.push(n[0]),t=t.concat(n[0])}),Object.keys(e).forEach(function(n){var r=o(e[n]);t[0].entryValues.push(r[0]),t=t.concat(r)}),t}function l(e){return e<256?1:e<65536?2:e<4294967296?4:8}function u(e){return e<256?1:e<65536?2:4}t.exports.Real=a})),gr=e.t(((e,t)=>{var n=(function(e){"use strict";var t=1e7,r=7,a=9007199254740992,o=m(a),s=`0123456789abcdefghijklmnopqrstuvwxyz`,c=typeof BigInt==`function`;function l(e,t,n,r){return e===void 0?l[0]:t===void 0||+t==10&&!n?J(e):q(e,t,n,r)}function u(e,t){this.value=e,this.sign=t,this.isSmall=!1}u.prototype=Object.create(l.prototype);function d(e){this.value=e,this.sign=e<0,this.isSmall=!0}d.prototype=Object.create(l.prototype);function f(e){this.value=e}f.prototype=Object.create(l.prototype);function p(e){return-a<e&&e<a}function m(e){return e<1e7?[e]:e<0x5af3107a4000?[e%1e7,Math.floor(e/1e7)]:[e%1e7,Math.floor(e/1e7)%1e7,Math.floor(e/0x5af3107a4000)]}function h(e){g(e);var n=e.length;if(n<4&&I(e,o)<0)switch(n){case 0:return 0;case 1:return e[0];case 2:return e[0]+e[1]*t;default:return e[0]+(e[1]+e[2]*t)*t}return e}function g(e){for(var t=e.length;e[--t]===0;);e.length=t+1}function _(e){for(var t=Array(e),n=-1;++n<e;)t[n]=0;return t}function v(e){return e>0?Math.floor(e):Math.ceil(e)}function y(e,n){var r=e.length,a=n.length,o=Array(r),s=0,c=t,l,u;for(u=0;u<a;u++)l=e[u]+n[u]+s,s=+(l>=c),o[u]=l-s*c;for(;u<r;)l=e[u]+s,s=+(l===c),o[u++]=l-s*c;return s>0&&o.push(s),o}function b(e,t){return e.length>=t.length?y(e,t):y(t,e)}function x(e,n){var r=e.length,a=Array(r),o=t,s,c;for(c=0;c<r;c++)s=e[c]-o+n,n=Math.floor(s/o),a[c]=s-n*o,n+=1;for(;n>0;)a[c++]=n%o,n=Math.floor(n/o);return a}u.prototype.add=function(e){var t=J(e);if(this.sign!==t.sign)return this.subtract(t.negate());var n=this.value,r=t.value;return t.isSmall?new u(x(n,Math.abs(r)),this.sign):new u(b(n,r),this.sign)},u.prototype.plus=u.prototype.add,d.prototype.add=function(e){var t=J(e),n=this.value;if(n<0!==t.sign)return this.subtract(t.negate());var r=t.value;if(t.isSmall){if(p(n+r))return new d(n+r);r=m(Math.abs(r))}return new u(x(r,Math.abs(n)),n<0)},d.prototype.plus=d.prototype.add,f.prototype.add=function(e){return new f(this.value+J(e).value)},f.prototype.plus=f.prototype.add;function S(e,n){var r=e.length,a=n.length,o=Array(r),s=0,c=t,l,u;for(l=0;l<a;l++)u=e[l]-s-n[l],u<0?(u+=c,s=1):s=0,o[l]=u;for(l=a;l<r;l++){if(u=e[l]-s,u<0)u+=c;else{o[l++]=u;break}o[l]=u}for(;l<r;l++)o[l]=e[l];return g(o),o}function C(e,t,n){var r;return I(e,t)>=0?r=S(e,t):(r=S(t,e),n=!n),r=h(r),typeof r==`number`?(n&&(r=-r),new d(r)):new u(r,n)}function w(e,n,r){var a=e.length,o=Array(a),s=-n,c=t,l,f;for(l=0;l<a;l++)f=e[l]+s,s=Math.floor(f/c),f%=c,o[l]=f<0?f+c:f;return o=h(o),typeof o==`number`?(r&&(o=-o),new d(o)):new u(o,r)}u.prototype.subtract=function(e){var t=J(e);if(this.sign!==t.sign)return this.add(t.negate());var n=this.value,r=t.value;return t.isSmall?w(n,Math.abs(r),this.sign):C(n,r,this.sign)},u.prototype.minus=u.prototype.subtract,d.prototype.subtract=function(e){var t=J(e),n=this.value;if(n<0!==t.sign)return this.add(t.negate());var r=t.value;return t.isSmall?new d(n-r):w(r,Math.abs(n),n>=0)},d.prototype.minus=d.prototype.subtract,f.prototype.subtract=function(e){return new f(this.value-J(e).value)},f.prototype.minus=f.prototype.subtract,u.prototype.negate=function(){return new u(this.value,!this.sign)},d.prototype.negate=function(){var e=this.sign,t=new d(-this.value);return t.sign=!e,t},f.prototype.negate=function(){return new f(-this.value)},u.prototype.abs=function(){return new u(this.value,!1)},d.prototype.abs=function(){return new d(Math.abs(this.value))},f.prototype.abs=function(){return new f(this.value>=0?this.value:-this.value)};function T(e,n){var r=e.length,a=n.length,o=_(r+a),s=t,c,l,u,d,f;for(u=0;u<r;++u){d=e[u];for(var p=0;p<a;++p)f=n[p],c=d*f+o[u+p],l=Math.floor(c/s),o[u+p]=c-l*s,o[u+p+1]+=l}return g(o),o}function E(e,n){var r=e.length,a=Array(r),o=t,s=0,c,l;for(l=0;l<r;l++)c=e[l]*n+s,s=Math.floor(c/o),a[l]=c-s*o;for(;s>0;)a[l++]=s%o,s=Math.floor(s/o);return a}function D(e,t){for(var n=[];t-- >0;)n.push(0);return n.concat(e)}function O(e,t){var n=Math.max(e.length,t.length);if(n<=30)return T(e,t);n=Math.ceil(n/2);var r=e.slice(n),a=e.slice(0,n),o=t.slice(n),s=t.slice(0,n),c=O(a,s),l=O(r,o),u=b(b(c,D(S(S(O(b(a,r),b(s,o)),c),l),n)),D(l,2*n));return g(u),u}function k(e,t){return-.012*e-.012*t+15e-6*e*t>0}u.prototype.multiply=function(e){var n=J(e),r=this.value,a=n.value,o=this.sign!==n.sign,s;if(n.isSmall){if(a===0)return l[0];if(a===1)return this;if(a===-1)return this.negate();if(s=Math.abs(a),s<t)return new u(E(r,s),o);a=m(s)}return k(r.length,a.length)?new u(O(r,a),o):new u(T(r,a),o)},u.prototype.times=u.prototype.multiply;function A(e,n,r){return e<t?new u(E(n,e),r):new u(T(n,m(e)),r)}d.prototype._multiplyBySmall=function(e){return p(e.value*this.value)?new d(e.value*this.value):A(Math.abs(e.value),m(Math.abs(this.value)),this.sign!==e.sign)},u.prototype._multiplyBySmall=function(e){return e.value===0?l[0]:e.value===1?this:e.value===-1?this.negate():A(Math.abs(e.value),this.value,this.sign!==e.sign)},d.prototype.multiply=function(e){return J(e)._multiplyBySmall(this)},d.prototype.times=d.prototype.multiply,f.prototype.multiply=function(e){return new f(this.value*J(e).value)},f.prototype.times=f.prototype.multiply;function j(e){var n=e.length,r=_(n+n),a=t,o,s,c,l,u;for(c=0;c<n;c++){l=e[c],s=0-l*l;for(var d=c;d<n;d++)u=e[d],o=l*u*2+r[c+d]+s,s=Math.floor(o/a),r[c+d]=o-s*a;r[c+n]=s}return g(r),r}u.prototype.square=function(){return new u(j(this.value),!1)},d.prototype.square=function(){var e=this.value*this.value;return p(e)?new d(e):new u(j(m(Math.abs(this.value))),!1)},f.prototype.square=function(e){return new f(this.value*this.value)};function M(e,n){var r=e.length,a=n.length,o=t,s=_(n.length),c=n[a-1],l=Math.ceil(o/(2*c)),u=E(e,l),d=E(n,l),f,p,m,g,v,y,b;for(u.length<=r&&u.push(0),d.push(0),c=d[a-1],p=r-a;p>=0;p--){for(f=o-1,u[p+a]!==c&&(f=Math.floor((u[p+a]*o+u[p+a-1])/c)),m=0,g=0,y=d.length,v=0;v<y;v++)m+=f*d[v],b=Math.floor(m/o),g+=u[p+v]-(m-b*o),m=b,g<0?(u[p+v]=g+o,g=-1):(u[p+v]=g,g=0);for(;g!==0;){for(--f,m=0,v=0;v<y;v++)m+=u[p+v]-o+d[v],m<0?(u[p+v]=m+o,m=0):(u[p+v]=m,m=1);g+=m}s[p]=f}return u=P(u,l)[0],[h(s),h(u)]}function N(e,n){for(var r=e.length,a=n.length,o=[],s=[],c=t,l,u,d,f,p;r;){if(s.unshift(e[--r]),g(s),I(s,n)<0){o.push(0);continue}u=s.length,d=s[u-1]*c+s[u-2],f=n[a-1]*c+n[a-2],u>a&&(d=(d+1)*c),l=Math.ceil(d/f);do{if(p=E(n,l),I(p,s)<=0)break;l--}while(l);o.push(l),s=S(s,p)}return o.reverse(),[h(o),h(s)]}function P(e,n){var r=e.length,a=_(r),o=t,s,c,l=0,u;for(s=r-1;s>=0;--s)u=l*o+e[s],c=v(u/n),l=u-c*n,a[s]=c|0;return[a,l|0]}function F(e,n){var r,a=J(n);if(c)return[new f(e.value/a.value),new f(e.value%a.value)];var o=e.value,s=a.value,p;if(s===0)throw Error(`Cannot divide by zero`);if(e.isSmall)return a.isSmall?[new d(v(o/s)),new d(o%s)]:[l[0],e];if(a.isSmall){if(s===1)return[e,l[0]];if(s==-1)return[e.negate(),l[0]];var g=Math.abs(s);if(g<t){r=P(o,g),p=h(r[0]);var _=r[1];return e.sign&&(_=-_),typeof p==`number`?(e.sign!==a.sign&&(p=-p),[new d(p),new d(_)]):[new u(p,e.sign!==a.sign),new d(_)]}s=m(g)}var y=I(o,s);if(y===-1)return[l[0],e];if(y===0)return[l[e.sign===a.sign?1:-1],l[0]];r=o.length+s.length<=200?M(o,s):N(o,s),p=r[0];var b=e.sign!==a.sign,x=r[1],S=e.sign;return typeof p==`number`?(b&&(p=-p),p=new d(p)):p=new u(p,b),typeof x==`number`?(S&&(x=-x),x=new d(x)):x=new u(x,S),[p,x]}u.prototype.divmod=function(e){var t=F(this,e);return{quotient:t[0],remainder:t[1]}},f.prototype.divmod=d.prototype.divmod=u.prototype.divmod,u.prototype.divide=function(e){return F(this,e)[0]},f.prototype.over=f.prototype.divide=function(e){return new f(this.value/J(e).value)},d.prototype.over=d.prototype.divide=u.prototype.over=u.prototype.divide,u.prototype.mod=function(e){return F(this,e)[1]},f.prototype.mod=f.prototype.remainder=function(e){return new f(this.value%J(e).value)},d.prototype.remainder=d.prototype.mod=u.prototype.remainder=u.prototype.mod,u.prototype.pow=function(e){var t=J(e),n=this.value,r=t.value,a,o,s;if(r===0)return l[1];if(n===0)return l[0];if(n===1)return l[1];if(n===-1)return t.isEven()?l[1]:l[-1];if(t.sign)return l[0];if(!t.isSmall)throw Error(`The exponent `+t.toString()+` is too large.`);if(this.isSmall&&p(a=n**+r))return new d(v(a));for(o=this,s=l[1];r&!0&&(s=s.times(o),--r),r!==0;)r/=2,o=o.square();return s},d.prototype.pow=u.prototype.pow,f.prototype.pow=function(e){var t=J(e),n=this.value,r=t.value,a=BigInt(0),o=BigInt(1),s=BigInt(2);if(r===a)return l[1];if(n===a)return l[0];if(n===o)return l[1];if(n===BigInt(-1))return t.isEven()?l[1]:l[-1];if(t.isNegative())return new f(a);for(var c=this,u=l[1];(r&o)===o&&(u=u.times(c),--r),r!==a;)r/=s,c=c.square();return u},u.prototype.modPow=function(e,t){if(e=J(e),t=J(t),t.isZero())throw Error(`Cannot take modPow with modulus 0`);var n=l[1],r=this.mod(t);for(e.isNegative()&&(e=e.multiply(l[-1]),r=r.modInv(t));e.isPositive();){if(r.isZero())return l[0];e.isOdd()&&(n=n.multiply(r).mod(t)),e=e.divide(2),r=r.square().mod(t)}return n},f.prototype.modPow=d.prototype.modPow=u.prototype.modPow;function I(e,t){if(e.length!==t.length)return e.length>t.length?1:-1;for(var n=e.length-1;n>=0;n--)if(e[n]!==t[n])return e[n]>t[n]?1:-1;return 0}u.prototype.compareAbs=function(e){var t=J(e),n=this.value,r=t.value;return t.isSmall?1:I(n,r)},d.prototype.compareAbs=function(e){var t=J(e),n=Math.abs(this.value),r=t.value;return t.isSmall?(r=Math.abs(r),n===r?0:n>r?1:-1):-1},f.prototype.compareAbs=function(e){var t=this.value,n=J(e).value;return t=t>=0?t:-t,n=n>=0?n:-n,t===n?0:t>n?1:-1},u.prototype.compare=function(e){if(e===1/0)return-1;if(e===-1/0)return 1;var t=J(e),n=this.value,r=t.value;return this.sign===t.sign?t.isSmall?this.sign?-1:1:I(n,r)*(this.sign?-1:1):t.sign?1:-1},u.prototype.compareTo=u.prototype.compare,d.prototype.compare=function(e){if(e===1/0)return-1;if(e===-1/0)return 1;var t=J(e),n=this.value,r=t.value;return t.isSmall?n==r?0:n>r?1:-1:n<0===t.sign?n<0?1:-1:n<0?-1:1},d.prototype.compareTo=d.prototype.compare,f.prototype.compare=function(e){if(e===1/0)return-1;if(e===-1/0)return 1;var t=this.value,n=J(e).value;return t===n?0:t>n?1:-1},f.prototype.compareTo=f.prototype.compare,u.prototype.equals=function(e){return this.compare(e)===0},f.prototype.eq=f.prototype.equals=d.prototype.eq=d.prototype.equals=u.prototype.eq=u.prototype.equals,u.prototype.notEquals=function(e){return this.compare(e)!==0},f.prototype.neq=f.prototype.notEquals=d.prototype.neq=d.prototype.notEquals=u.prototype.neq=u.prototype.notEquals,u.prototype.greater=function(e){return this.compare(e)>0},f.prototype.gt=f.prototype.greater=d.prototype.gt=d.prototype.greater=u.prototype.gt=u.prototype.greater,u.prototype.lesser=function(e){return this.compare(e)<0},f.prototype.lt=f.prototype.lesser=d.prototype.lt=d.prototype.lesser=u.prototype.lt=u.prototype.lesser,u.prototype.greaterOrEquals=function(e){return this.compare(e)>=0},f.prototype.geq=f.prototype.greaterOrEquals=d.prototype.geq=d.prototype.greaterOrEquals=u.prototype.geq=u.prototype.greaterOrEquals,u.prototype.lesserOrEquals=function(e){return this.compare(e)<=0},f.prototype.leq=f.prototype.lesserOrEquals=d.prototype.leq=d.prototype.lesserOrEquals=u.prototype.leq=u.prototype.lesserOrEquals,u.prototype.isEven=function(){return(this.value[0]&1)==0},d.prototype.isEven=function(){return(this.value&1)==0},f.prototype.isEven=function(){return(this.value&BigInt(1))===BigInt(0)},u.prototype.isOdd=function(){return(this.value[0]&1)==1},d.prototype.isOdd=function(){return(this.value&1)==1},f.prototype.isOdd=function(){return(this.value&BigInt(1))===BigInt(1)},u.prototype.isPositive=function(){return!this.sign},d.prototype.isPositive=function(){return this.value>0},f.prototype.isPositive=d.prototype.isPositive,u.prototype.isNegative=function(){return this.sign},d.prototype.isNegative=function(){return this.value<0},f.prototype.isNegative=d.prototype.isNegative,u.prototype.isUnit=function(){return!1},d.prototype.isUnit=function(){return Math.abs(this.value)===1},f.prototype.isUnit=function(){return this.abs().value===BigInt(1)},u.prototype.isZero=function(){return!1},d.prototype.isZero=function(){return this.value===0},f.prototype.isZero=function(){return this.value===BigInt(0)},u.prototype.isDivisibleBy=function(e){var t=J(e);return t.isZero()?!1:t.isUnit()?!0:t.compareAbs(2)===0?this.isEven():this.mod(t).isZero()},f.prototype.isDivisibleBy=d.prototype.isDivisibleBy=u.prototype.isDivisibleBy;function L(e){var t=e.abs();if(t.isUnit())return!1;if(t.equals(2)||t.equals(3)||t.equals(5))return!0;if(t.isEven()||t.isDivisibleBy(3)||t.isDivisibleBy(5))return!1;if(t.lesser(49))return!0}function R(e,t){for(var r=e.prev(),a=r,o=0,s,c,l;a.isEven();)a=a.divide(2),o++;next:for(c=0;c<t.length;c++)if(!e.lesser(t[c])&&(l=n(t[c]).modPow(a,e),!(l.isUnit()||l.equals(r)))){for(s=o-1;s!=0;s--){if(l=l.square().mod(e),l.isUnit())return!1;if(l.equals(r))continue next}return!1}return!0}u.prototype.isPrime=function(t){var r=L(this);if(r!==e)return r;var a=this.abs(),o=a.bitLength();if(o<=64)return R(a,[2,3,5,7,11,13,17,19,23,29,31,37]);for(var s=Math.log(2)*o.toJSNumber(),c=Math.ceil(t===!0?2*s**2:s),l=[],u=0;u<c;u++)l.push(n(u+2));return R(a,l)},f.prototype.isPrime=d.prototype.isPrime=u.prototype.isPrime,u.prototype.isProbablePrime=function(t,r){var a=L(this);if(a!==e)return a;for(var o=this.abs(),s=t===e?5:t,c=[],l=0;l<s;l++)c.push(n.randBetween(2,o.minus(2),r));return R(o,c)},f.prototype.isProbablePrime=d.prototype.isProbablePrime=u.prototype.isProbablePrime,u.prototype.modInv=function(e){for(var t=n.zero,r=n.one,a=J(e),o=this.abs(),s,c,l;!o.isZero();)s=a.divide(o),c=t,l=a,t=r,a=o,r=c.subtract(s.multiply(r)),o=l.subtract(s.multiply(o));if(!a.isUnit())throw Error(this.toString()+` and `+e.toString()+` are not co-prime`);return t.compare(0)===-1&&(t=t.add(e)),this.isNegative()?t.negate():t},f.prototype.modInv=d.prototype.modInv=u.prototype.modInv,u.prototype.next=function(){var e=this.value;return this.sign?w(e,1,this.sign):new u(x(e,1),this.sign)},d.prototype.next=function(){var e=this.value;return e+1<a?new d(e+1):new u(o,!1)},f.prototype.next=function(){return new f(this.value+BigInt(1))},u.prototype.prev=function(){var e=this.value;return this.sign?new u(x(e,1),!0):w(e,1,this.sign)},d.prototype.prev=function(){var e=this.value;return e-1>-a?new d(e-1):new u(o,!0)},f.prototype.prev=function(){return new f(this.value-BigInt(1))};for(var z=[1];2*z[z.length-1]<=t;)z.push(2*z[z.length-1]);var B=z.length,V=z[B-1];function H(e){return Math.abs(e)<=t}u.prototype.shiftLeft=function(e){var t=J(e).toJSNumber();if(!H(t))throw Error(String(t)+` is too large for shifting.`);if(t<0)return this.shiftRight(-t);var n=this;if(n.isZero())return n;for(;t>=B;)n=n.multiply(V),t-=B-1;return n.multiply(z[t])},f.prototype.shiftLeft=d.prototype.shiftLeft=u.prototype.shiftLeft,u.prototype.shiftRight=function(e){var t,n=J(e).toJSNumber();if(!H(n))throw Error(String(n)+` is too large for shifting.`);if(n<0)return this.shiftLeft(-n);for(var r=this;n>=B;){if(r.isZero()||r.isNegative()&&r.isUnit())return r;t=F(r,V),r=t[1].isNegative()?t[0].prev():t[0],n-=B-1}return t=F(r,z[n]),t[1].isNegative()?t[0].prev():t[0]},f.prototype.shiftRight=d.prototype.shiftRight=u.prototype.shiftRight;function U(e,t,r){t=J(t);for(var a=e.isNegative(),o=t.isNegative(),s=a?e.not():e,c=o?t.not():t,l=0,u=0,d=null,f=null,p=[];!s.isZero()||!c.isZero();)d=F(s,V),l=d[1].toJSNumber(),a&&(l=V-1-l),f=F(c,V),u=f[1].toJSNumber(),o&&(u=V-1-u),s=d[0],c=f[0],p.push(r(l,u));for(var m=r(+!!a,+!!o)===0?n(0):n(-1),h=p.length-1;h>=0;--h)m=m.multiply(V).add(n(p[h]));return m}u.prototype.not=function(){return this.negate().prev()},f.prototype.not=d.prototype.not=u.prototype.not,u.prototype.and=function(e){return U(this,e,function(e,t){return e&t})},f.prototype.and=d.prototype.and=u.prototype.and,u.prototype.or=function(e){return U(this,e,function(e,t){return e|t})},f.prototype.or=d.prototype.or=u.prototype.or,u.prototype.xor=function(e){return U(this,e,function(e,t){return e^t})},f.prototype.xor=d.prototype.xor=u.prototype.xor;var W=1<<30,ee=(t&-t)*(t&-t)|W;function G(e){var n=e.value,r=typeof n==`number`?n|W:typeof n==`bigint`?n|BigInt(W):n[0]+n[1]*t|ee;return r&-r}function te(e,t){if(t.compareTo(e)<=0){var r=te(e,t.square(t)),a=r.p,o=r.e,s=a.multiply(t);return s.compareTo(e)<=0?{p:s,e:o*2+1}:{p:a,e:o*2}}return{p:n(1),e:0}}u.prototype.bitLength=function(){var e=this;return e.compareTo(n(0))<0&&(e=e.negate().subtract(n(1))),e.compareTo(n(0))===0?n(0):n(te(e,n(2)).e).add(n(1))},f.prototype.bitLength=d.prototype.bitLength=u.prototype.bitLength;function ne(e,t){return e=J(e),t=J(t),e.greater(t)?e:t}function re(e,t){return e=J(e),t=J(t),e.lesser(t)?e:t}function K(e,t){if(e=J(e).abs(),t=J(t).abs(),e.equals(t))return e;if(e.isZero())return t;if(t.isZero())return e;for(var n=l[1],r,a;e.isEven()&&t.isEven();)r=re(G(e),G(t)),e=e.divide(r),t=t.divide(r),n=n.multiply(r);for(;e.isEven();)e=e.divide(G(e));do{for(;t.isEven();)t=t.divide(G(t));e.greater(t)&&(a=t,t=e,e=a),t=t.subtract(e)}while(!t.isZero());return n.isUnit()?e:e.multiply(n)}function ie(e,t){return e=J(e).abs(),t=J(t).abs(),e.divide(K(e,t)).multiply(t)}function ae(e,n,r){e=J(e),n=J(n);var a=r||Math.random,o=re(e,n),s=ne(e,n).subtract(o).add(1);if(s.isSmall)return o.add(Math.floor(a()*s));for(var c=ce(s,t).value,u=[],d=!0,f=0;f<c.length;f++){var p=d?c[f]+(f+1<c.length?c[f+1]/t:0):t,m=v(a()*p);u.push(m),m<c[f]&&(d=!1)}return o.add(l.fromArray(u,t,!1))}var q=function(e,t,n,r){n||=s,e=String(e),r||(e=e.toLowerCase(),n=n.toLowerCase());var a=e.length,o,c=Math.abs(t),l={};for(o=0;o<n.length;o++)l[n[o]]=o;for(o=0;o<a;o++){var u=e[o];if(u!==`-`&&u in l&&l[u]>=c){if(u===`1`&&c===1)continue;throw Error(u+` is not a valid digit in base `+t+`.`)}}t=J(t);var d=[],f=e[0]===`-`;for(o=+!!f;o<e.length;o++){var u=e[o];if(u in l)d.push(J(l[u]));else if(u===`<`){var p=o;do o++;while(e[o]!==`>`&&o<e.length);d.push(J(e.slice(p+1,o)))}else throw Error(u+` is not a valid character`)}return oe(d,t,f)};function oe(e,t,n){var r=l[0],a=l[1],o;for(o=e.length-1;o>=0;o--)r=r.add(e[o].times(a)),a=a.times(t);return n?r.negate():r}function se(e,t){return t||=s,e<t.length?t[e]:`<`+e+`>`}function ce(e,t){if(t=n(t),t.isZero()){if(e.isZero())return{value:[0],isNegative:!1};throw Error(`Cannot convert nonzero numbers to base 0.`)}if(t.equals(-1)){if(e.isZero())return{value:[0],isNegative:!1};if(e.isNegative())return{value:[].concat.apply([],Array.apply(null,Array(-e.toJSNumber())).map(Array.prototype.valueOf,[1,0])),isNegative:!1};var r=Array.apply(null,Array(e.toJSNumber()-1)).map(Array.prototype.valueOf,[0,1]);return r.unshift([1]),{value:[].concat.apply([],r),isNegative:!1}}var a=!1;if(e.isNegative()&&t.isPositive()&&(a=!0,e=e.abs()),t.isUnit())return e.isZero()?{value:[0],isNegative:!1}:{value:Array.apply(null,Array(e.toJSNumber())).map(Number.prototype.valueOf,1),isNegative:a};for(var o=[],s=e,c;s.isNegative()||s.compareAbs(t)>=0;){c=s.divmod(t),s=c.quotient;var l=c.remainder;l.isNegative()&&(l=t.minus(l).abs(),s=s.next()),o.push(l.toJSNumber())}return o.push(s.toJSNumber()),{value:o.reverse(),isNegative:a}}function le(e,t,n){var r=ce(e,t);return(r.isNegative?`-`:``)+r.value.map(function(e){return se(e,n)}).join(``)}u.prototype.toArray=function(e){return ce(this,e)},d.prototype.toArray=function(e){return ce(this,e)},f.prototype.toArray=function(e){return ce(this,e)},u.prototype.toString=function(t,n){if(t===e&&(t=10),t!==10||n)return le(this,t,n);for(var r=this.value,a=r.length,o=String(r[--a]),s=`0000000`,c;--a>=0;)c=String(r[a]),o+=s.slice(c.length)+c;return(this.sign?`-`:``)+o},d.prototype.toString=function(t,n){return t===e&&(t=10),t!=10||n?le(this,t,n):String(this.value)},f.prototype.toString=d.prototype.toString,f.prototype.toJSON=u.prototype.toJSON=d.prototype.toJSON=function(){return this.toString()},u.prototype.valueOf=function(){return parseInt(this.toString(),10)},u.prototype.toJSNumber=u.prototype.valueOf,d.prototype.valueOf=function(){return this.value},d.prototype.toJSNumber=d.prototype.valueOf,f.prototype.valueOf=f.prototype.toJSNumber=function(){return parseInt(this.toString(),10)};function ue(e){if(p(+e)){var t=+e;if(t===v(t))return c?new f(BigInt(t)):new d(t);throw Error(`Invalid integer: `+e)}var n=e[0]===`-`;n&&(e=e.slice(1));var a=e.split(/e/i);if(a.length>2)throw Error(`Invalid integer: `+a.join(`e`));if(a.length===2){var o=a[1];if(o[0]===`+`&&(o=o.slice(1)),o=+o,o!==v(o)||!p(o))throw Error(`Invalid integer: `+o+` is not a valid exponent.`);var s=a[0],l=s.indexOf(`.`);if(l>=0&&(o-=s.length-l-1,s=s.slice(0,l)+s.slice(l+1)),o<0)throw Error(`Cannot include negative exponent part for integers`);s+=Array(o+1).join(`0`),e=s}if(!/^([0-9][0-9]*)$/.test(e))throw Error(`Invalid integer: `+e);if(c)return new f(BigInt(n?`-`+e:e));for(var m=[],h=e.length,_=r,y=h-_;h>0;)m.push(+e.slice(y,h)),y-=_,y<0&&(y=0),h-=_;return g(m),new u(m,n)}function de(e){if(c)return new f(BigInt(e));if(p(e)){if(e!==v(e))throw Error(e+` is not an integer.`);return new d(e)}return ue(e.toString())}function J(e){return typeof e==`number`?de(e):typeof e==`string`?ue(e):typeof e==`bigint`?new f(e):e}for(var fe=0;fe<1e3;fe++)l[fe]=J(fe),fe>0&&(l[-fe]=J(-fe));return l.one=l[1],l.zero=l[0],l.minusOne=l[-1],l.max=ne,l.min=re,l.gcd=K,l.lcm=ie,l.isInstance=function(e){return e instanceof u||e instanceof d||e instanceof f},l.randBetween=ae,l.fromArray=function(e,t,n){return oe(e.map(J),J(t||10),n)},l})();t!==void 0&&t.hasOwnProperty(`exports`)&&(t.exports=n),typeof define==`function`&&define.amd&&define(function(){return n})})),_r=e.t((e=>{let t=require(`fs`),n=gr();e.maxObjectSize=100*1e3*1e3,e.maxObjectCount=32768;let r=e.UID=function(e){this.UID=e};e.parseFile=function(e,n){return new Promise(function(r,o){function s(e){let t=null,s;try{s=a(e),r(s)}catch(e){t=e,o(t)}finally{n&&n(t,s)}}if(Buffer.isBuffer(e))return s(e);t.readFile(e,function(e,t){if(e)return o(e),n(e);s(t)})})},e.parseFileSync=function(e){return Buffer.isBuffer(e)||(e=t.readFileSync(e)),a(e)};let a=e.parseBuffer=function(t){if(t.slice(0,6).toString(`utf8`)!==`bplist`)throw Error(`Invalid binary plist. Expected 'bplist' at offset 0.`);let a=t.slice(t.length-32,t.length),l=a.readUInt8(6),u=a.readUInt8(7),d=s(a,8),f=s(a,16),p=s(a,24);if(d>e.maxObjectCount)throw Error(`maxObjectCount exceeded`);let m=[];for(let e=0;e<d;e++)m[e]=o(t.slice(p+e*l,p+(e+1)*l),0);function h(a){let s=m[a],l=t[s],d=(l&240)>>4,f=l&15;switch(d){case 0:return p();case 1:return _();case 8:return v();case 2:return y();case 3:return b();case 4:return x();case 5:return S();case 6:return S(!0);case 10:return C();case 13:return w();default:throw Error(`Unhandled type 0x`+d.toString(16))}function p(){switch(f){case 0:return null;case 8:return!1;case 9:return!0;case 15:return null;default:throw Error(`Unhandled simple type 0x`+d.toString(16))}}function g(e){let t=``,n;for(n=0;n<e.length&&e[n]==0;n++);for(;n<e.length;n++){let r=`00`+e[n].toString(16);t+=r.substr(r.length-2)}return t}function _(){let r=2**f;if(r<e.maxObjectSize){let e=t.slice(s+1,s+1+r);return r===16?n(g(e),16):e.reduce((e,t)=>(e<<=8,e|=t&255,e))}throw Error(`Too little heap space available! Wanted to read `+r+` bytes, but only `+e.maxObjectSize+` are available.`)}function v(){let n=f+1;if(n<e.maxObjectSize)return new r(o(t.slice(s+1,s+1+n)));throw Error(`Too little heap space available! Wanted to read `+n+` bytes, but only `+e.maxObjectSize+` are available.`)}function y(){let n=2**f;if(n<e.maxObjectSize){let e=t.slice(s+1,s+1+n);if(n===4)return e.readFloatBE(0);if(n===8)return e.readDoubleBE(0)}else throw Error(`Too little heap space available! Wanted to read `+n+` bytes, but only `+e.maxObjectSize+` are available.`)}function b(){f!=3&&console.error(`Unknown date type :`+f+`. Parsing anyway...`);let e=t.slice(s+1,s+9);return new Date(9783072e5+1e3*e.readDoubleBE(0))}function x(){let n=1,r=f;if(f==15){let e=t[s+1],a=(e&240)/16;a!=1&&console.error(`0x4: UNEXPECTED LENGTH-INT TYPE! `+a);let c=2**(e&15);n=2+c,r=o(t.slice(s+2,s+2+c))}if(r<e.maxObjectSize)return t.slice(s+n,s+n+r);throw Error(`Too little heap space available! Wanted to read `+r+` bytes, but only `+e.maxObjectSize+` are available.`)}function S(n){n||=0;let r=`utf8`,a=f,l=1;if(f==15){let e=t[s+1],n=(e&240)/16;n!=1&&console.error(`UNEXPECTED LENGTH-INT TYPE! `+n);let r=2**(e&15);l=2+r,a=o(t.slice(s+2,s+2+r))}if(a*=n+1,a<e.maxObjectSize){let e=Buffer.from(t.slice(s+l,s+l+a));return n&&(e=c(e),r=`ucs2`),e.toString(r)}throw Error(`Too little heap space available! Wanted to read `+a+` bytes, but only `+e.maxObjectSize+` are available.`)}function C(){let n=f,r=1;if(f==15){let e=t[s+1],a=(e&240)/16;a!=1&&console.error(`0xa: UNEXPECTED LENGTH-INT TYPE! `+a);let c=2**(e&15);r=2+c,n=o(t.slice(s+2,s+2+c))}if(n*u>e.maxObjectSize)throw Error(`Too little heap space available!`);let a=[];for(let e=0;e<n;e++)a[e]=h(o(t.slice(s+r+e*u,s+r+(e+1)*u)));return a}function w(){let n=f,r=1;if(f==15){let e=t[s+1],a=(e&240)/16;a!=1&&console.error(`0xD: UNEXPECTED LENGTH-INT TYPE! `+a);let c=2**(e&15);r=2+c,n=o(t.slice(s+2,s+2+c))}if(n*2*u>e.maxObjectSize)throw Error(`Too little heap space available!`);let a={};for(let e=0;e<n;e++){let c=o(t.slice(s+r+e*u,s+r+(e+1)*u)),l=o(t.slice(s+r+n*u+e*u,s+r+n*u+(e+1)*u)),d=h(c);a[d]=h(l)}return a}}return[h(f)]};function o(e,t){t||=0;let n=0;for(let r=t;r<e.length;r++)n<<=8,n|=e[r]&255;return n}function s(e,t){return e.slice(t,t+8).readUInt32BE(4,8)}function c(e){let t=e.length;for(let n=0;n<t;n+=2){let t=e[n];e[n]=e[n+1],e[n+1]=t}return e}})),vr=e.t((e=>{function t(e,t,n){if(n===void 0&&(n=Array.prototype),e&&typeof n.find==`function`)return n.find.call(e,t);for(var a=0;a<e.length;a++)if(r(e,a)){var o=e[a];if(t.call(void 0,o,a,e))return o}}function n(e,t){return t===void 0&&(t=Object),t&&typeof t.getOwnPropertyDescriptors==`function`&&(e=t.create(null,t.getOwnPropertyDescriptors(e))),t&&typeof t.freeze==`function`?t.freeze(e):e}function r(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function a(e,t){if(typeof e!=`object`||!e)throw TypeError(`target is not an object`);for(var n in t)r(t,n)&&(e[n]=t[n]);return e}var o=n({allowfullscreen:!0,async:!0,autofocus:!0,autoplay:!0,checked:!0,controls:!0,default:!0,defer:!0,disabled:!0,formnovalidate:!0,hidden:!0,ismap:!0,itemscope:!0,loop:!0,multiple:!0,muted:!0,nomodule:!0,novalidate:!0,open:!0,playsinline:!0,readonly:!0,required:!0,reversed:!0,selected:!0});function s(e){return r(o,e.toLowerCase())}var c=n({area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0});function l(e){return r(c,e.toLowerCase())}var u=n({script:!1,style:!1,textarea:!0,title:!0});function d(e){var t=e.toLowerCase();return r(u,t)&&!u[t]}function f(e){var t=e.toLowerCase();return r(u,t)&&u[t]}function p(e){return e===h.HTML}function m(e){return p(e)||e===h.XML_XHTML_APPLICATION}var h=n({HTML:`text/html`,XML_APPLICATION:`application/xml`,XML_TEXT:`text/xml`,XML_XHTML_APPLICATION:`application/xhtml+xml`,XML_SVG_IMAGE:`image/svg+xml`}),g=Object.keys(h).map(function(e){return h[e]});function _(e){return g.indexOf(e)>-1}var v=n({HTML:`http://www.w3.org/1999/xhtml`,SVG:`http://www.w3.org/2000/svg`,XML:`http://www.w3.org/XML/1998/namespace`,XMLNS:`http://www.w3.org/2000/xmlns/`});e.assign=a,e.find=t,e.freeze=n,e.HTML_BOOLEAN_ATTRIBUTES=o,e.HTML_RAW_TEXT_ELEMENTS=u,e.HTML_VOID_ELEMENTS=c,e.hasDefaultHTMLNamespace=m,e.hasOwn=r,e.isHTMLBooleanAttribute=s,e.isHTMLRawTextElement=d,e.isHTMLEscapableRawTextElement=f,e.isHTMLMimeType=p,e.isHTMLVoidElement=l,e.isValidMimeType=_,e.MIME_TYPE=h,e.NAMESPACE=v})),yr=e.t((e=>{var t=vr();function n(e,t){e.prototype=Object.create(Error.prototype,{constructor:{value:e},name:{value:e.name,enumerable:!0,writable:t}})}var r=t.freeze({Error:`Error`,IndexSizeError:`IndexSizeError`,DomstringSizeError:`DomstringSizeError`,HierarchyRequestError:`HierarchyRequestError`,WrongDocumentError:`WrongDocumentError`,InvalidCharacterError:`InvalidCharacterError`,NoDataAllowedError:`NoDataAllowedError`,NoModificationAllowedError:`NoModificationAllowedError`,NotFoundError:`NotFoundError`,NotSupportedError:`NotSupportedError`,InUseAttributeError:`InUseAttributeError`,InvalidStateError:`InvalidStateError`,SyntaxError:`SyntaxError`,InvalidModificationError:`InvalidModificationError`,NamespaceError:`NamespaceError`,InvalidAccessError:`InvalidAccessError`,ValidationError:`ValidationError`,TypeMismatchError:`TypeMismatchError`,SecurityError:`SecurityError`,NetworkError:`NetworkError`,AbortError:`AbortError`,URLMismatchError:`URLMismatchError`,QuotaExceededError:`QuotaExceededError`,TimeoutError:`TimeoutError`,InvalidNodeTypeError:`InvalidNodeTypeError`,DataCloneError:`DataCloneError`,EncodingError:`EncodingError`,NotReadableError:`NotReadableError`,UnknownError:`UnknownError`,ConstraintError:`ConstraintError`,DataError:`DataError`,TransactionInactiveError:`TransactionInactiveError`,ReadOnlyError:`ReadOnlyError`,VersionError:`VersionError`,OperationError:`OperationError`,NotAllowedError:`NotAllowedError`,OptOutError:`OptOutError`}),a=Object.keys(r);function o(e){return typeof e==`number`&&e>=1&&e<=25}function s(e){return typeof e==`string`&&e.substring(e.length-r.Error.length)===r.Error}function c(e,t){o(e)?(this.name=a[e],this.message=t||``):(this.message=e,this.name=s(t)?t:r.Error),Error.captureStackTrace&&Error.captureStackTrace(this,c)}n(c,!0),Object.defineProperties(c.prototype,{code:{enumerable:!0,get:function(){var e=a.indexOf(this.name);return o(e)?e:0}}});for(var l={INDEX_SIZE_ERR:1,DOMSTRING_SIZE_ERR:2,HIERARCHY_REQUEST_ERR:3,WRONG_DOCUMENT_ERR:4,INVALID_CHARACTER_ERR:5,NO_DATA_ALLOWED_ERR:6,NO_MODIFICATION_ALLOWED_ERR:7,NOT_FOUND_ERR:8,NOT_SUPPORTED_ERR:9,INUSE_ATTRIBUTE_ERR:10,INVALID_STATE_ERR:11,SYNTAX_ERR:12,INVALID_MODIFICATION_ERR:13,NAMESPACE_ERR:14,INVALID_ACCESS_ERR:15,VALIDATION_ERR:16,TYPE_MISMATCH_ERR:17,SECURITY_ERR:18,NETWORK_ERR:19,ABORT_ERR:20,URL_MISMATCH_ERR:21,QUOTA_EXCEEDED_ERR:22,TIMEOUT_ERR:23,INVALID_NODE_TYPE_ERR:24,DATA_CLONE_ERR:25},u=Object.entries(l),d=0;d<u.length;d++){var f=u[d][0];c[f]=u[d][1]}function p(e,t){this.message=e,this.locator=t,Error.captureStackTrace&&Error.captureStackTrace(this,p)}n(p),e.DOMException=c,e.DOMExceptionName=r,e.ExceptionCode=l,e.ParseError=p})),br=e.t((e=>{function t(e){try{typeof e!=`function`&&(e=RegExp);var t=new e(`𝌆`,`u`).exec(`𝌆`);return!!t&&t[0].length===2}catch{}return!1}var n=t();function r(e){if(e.source[0]!==`[`)throw Error(e+` can not be used with chars`);return e.source.slice(1,e.source.lastIndexOf(`]`))}function a(e,t){if(e.source[0]!==`[`)throw Error(`/`+e.source+`/ can not be used with chars_without`);if(!t||typeof t!=`string`)throw Error(JSON.stringify(t)+` is not a valid search`);if(e.source.indexOf(t)===-1)throw Error(`"`+t+`" is not is /`+e.source+`/`);if(t===`-`&&e.source.indexOf(t)!==1)throw Error(`"`+t+`" is not at the first postion of /`+e.source+`/`);return new RegExp(e.source.replace(t,``),n?`u`:``)}function o(e){var t=this;return new RegExp(Array.prototype.slice.call(arguments).map(function(e){var n=typeof e==`string`;if(n&&t===void 0&&e===`|`)throw Error("use regg instead of reg to wrap expressions with `|`!");return n?e:e.source}).join(``),n?`mu`:`m`)}function s(e){if(arguments.length===0)throw Error(`no parameters provided`);return o.apply(s,[`(?:`].concat(Array.prototype.slice.call(arguments),[`)`]))}var c=`�`,l=/[-\x09\x0A\x0D\x20-\x2C\x2E-\uD7FF\uE000-\uFFFD]/;n&&(l=o(`[`,r(l),`\\u{10000}-\\u{10FFFF}`,`]`));var u=RegExp(`[^`+r(l)+`]`,n?`u`:``),d=/[\x20\x09\x0D\x0A]/,f=r(d),p=o(d,`+`),m=o(d,`*`),h=/[:_a-zA-Z\xC0-\xD6\xD8-\xF6\xF8-\u02FF\u0370-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD]/;n&&(h=o(`[`,r(h),`\\u{10000}-\\u{10FFFF}`,`]`));var g=o(`[`,r(h),r(/[-.0-9\xB7]/),r(/[\u0300-\u036F\u203F-\u2040]/),`]`),_=o(h,g,`*`),v=o(g,`+`),y=s(o(`&`,_,`;`),`|`,s(/&#[0-9]+;|&#x[0-9a-fA-F]+;/)),b=o(`%`,_,`;`),x=s(o(`"`,s(/[^%&"]/,`|`,b,`|`,y),`*`,`"`),`|`,o(`'`,s(/[^%&']/,`|`,b,`|`,y),`*`,`'`)),S=s(`"`,s(/[^<&"]/,`|`,y),`*`,`"`,`|`,`'`,s(/[^<&']/,`|`,y),`*`,`'`),C=o(a(h,`:`),a(g,`:`),`*`),w=o(C,s(`:`,C),`?`),T=o(`^`,w,`$`),E=o(`(`,w,`)`),D=s(/"[^"]*"|'[^']*'/),O=o(/^<\?/,`(`,_,`)`,s(p,`(`,l,`*?)`),`?`,/\?>/),k=/[\x20\x0D\x0Aa-zA-Z0-9-'()+,./:=?;!*#@$_%]/,A=s(`"`,k,`*"`,`|`,`'`,a(k,`'`),`*'`),j=`<!--`,M=`-->`,N=o(j,s(a(l,`-`),`|`,o(`-`,a(l,`-`))),`*`,M),P=`#PCDATA`,F=s(`EMPTY`,`|`,`ANY`,`|`,s(o(/\(/,m,P,s(m,/\|/,m,w),`*`,m,/\)\*/),`|`,o(/\(/,m,P,m,/\)/)),`|`,o(/\([^>]+\)/,/[?*+]?/)),I=o(`<!ELEMENT`,p,s(w,`|`,b),p,s(F,`|`,b),m,`>`),L=o(`<!ATTLIST`,p,_,s(p,_,p,s(/CDATA|ID|IDREF|IDREFS|ENTITY|ENTITIES|NMTOKEN|NMTOKENS/,`|`,s(o(`NOTATION`,p,/\(/,m,_,s(m,/\|/,m,_),`*`,m,/\)/),`|`,o(/\(/,m,v,s(m,/\|/,m,v),`*`,m,/\)/))),p,s(/#REQUIRED|#IMPLIED/,`|`,s(s(`#FIXED`,p),`?`,S))),`*`,m,`>`),R=`about:legacy-compat`,z=s(`"`+R+`"`,`|`,`'`+R+`'`),B=`SYSTEM`,V=`PUBLIC`,H=s(s(B,p,D),`|`,s(V,p,A,p,D)),U=o(`^`,s(s(B,p,`(?<SystemLiteralOnly>`,D,`)`),`|`,s(V,p,`(?<PubidLiteral>`,A,`)`,p,`(?<SystemLiteral>`,D,`)`))),W=o(`^`,A,`$`),ee=o(`^`,D,`$`),G=s(x,`|`,s(H,s(p,`NDATA`,p,_),`?`)),te=`<!ENTITY`,ne=s(o(te,p,_,p,G,m,`>`),`|`,o(te,p,`%`,p,_,p,s(x,`|`,H),m,`>`)),re=o(`<!NOTATION`,p,_,p,s(H,`|`,o(V,p,A)),m,`>`),K=o(m,`=`,m),ie=/1[.]\d+/,ae=o(p,`version`,K,s(`'`,ie,`'`,`|`,`"`,ie,`"`)),q=/[A-Za-z][-A-Za-z0-9._]*/,oe=o(/^<\?xml/,ae,s(p,`encoding`,K,s(`"`,q,`"`,`|`,`'`,q,`'`)),`?`,s(p,`standalone`,K,s(`'`,s(`yes`,`|`,`no`),`'`,`|`,`"`,s(`yes`,`|`,`no`),`"`)),`?`,m,/\?>/),se=`<!DOCTYPE`,ce=`<![CDATA[`,le=`]]>`,ue=o(/<!\[CDATA\[/,o(l,`*?`,/\]\]>/));e.chars=r,e.chars_without=a,e.detectUnicodeSupport=t,e.reg=o,e.regg=s,e.ABOUT_LEGACY_COMPAT=R,e.ABOUT_LEGACY_COMPAT_SystemLiteral=z,e.AttlistDecl=L,e.CDATA_START=ce,e.CDATA_END=le,e.CDSect=ue,e.Char=l,e.Comment=N,e.COMMENT_START=j,e.COMMENT_END=M,e.DOCTYPE_DECL_START=se,e.elementdecl=I,e.EntityDecl=ne,e.EntityValue=x,e.ExternalID=H,e.ExternalID_match=U,e.Name=_,e.NotationDecl=re,e.Reference=y,e.PEReference=b,e.PI=O,e.PUBLIC=V,e.PubidLiteral=A,e.PubidLiteral_match=W,e.QName=w,e.QName_exact=T,e.QName_group=E,e.S=p,e.SChar_s=f,e.S_OPT=m,e.SYSTEM=B,e.SystemLiteral=D,e.SystemLiteral_match=ee,e.InvalidChar=u,e.UNICODE_REPLACEMENT_CHARACTER=c,e.UNICODE_SUPPORT=n,e.XMLDecl=oe})),xr=e.t((e=>{var t=vr(),n=t.find,r=t.hasDefaultHTMLNamespace,a=t.hasOwn,o=t.isHTMLMimeType,s=t.isHTMLRawTextElement,c=t.isHTMLVoidElement,l=t.MIME_TYPE,u=t.NAMESPACE,d=Symbol(),f=yr(),p=f.DOMException,m=f.DOMExceptionName,h=br();function g(e){if(e!==d)throw TypeError(`Illegal constructor`)}function _(e){return e!==``}function v(e){return e?e.split(/[\t\n\f\r ]+/).filter(_):[]}function y(e,t){return a(e,t)||(e[t]=!0),e}function b(e){if(!e)return[];var t=v(e);return Object.keys(t.reduce(y,{}))}function x(e){return function(t){return e&&e.indexOf(t)!==-1}}function S(e){if(!h.QName_exact.test(e))throw new p(p.INVALID_CHARACTER_ERR,`invalid character in qualified name "`+e+`"`)}function C(e,n){S(n),e||=null;var r=null,a=n;if(n.indexOf(`:`)>=0){var o=n.split(`:`);r=o[0],a=o[1]}if(r!==null&&e===null)throw new p(p.NAMESPACE_ERR,`prefix is non-null and namespace is null`);if(r===`xml`&&e!==t.NAMESPACE.XML)throw new p(p.NAMESPACE_ERR,`prefix is "xml" and namespace is not the XML namespace`);if((r===`xmlns`||n===`xmlns`)&&e!==t.NAMESPACE.XMLNS)throw new p(p.NAMESPACE_ERR,`either qualifiedName or prefix is "xmlns" and namespace is not the XMLNS namespace`);if(e===t.NAMESPACE.XMLNS&&r!==`xmlns`&&n!==`xmlns`)throw new p(p.NAMESPACE_ERR,`namespace is the XMLNS namespace and neither qualifiedName nor prefix is "xmlns"`);return[e,r,a]}function w(e,t){for(var n in e)a(e,n)&&(t[n]=e[n])}function T(e,t){var n=e.prototype;if(!(n instanceof t)){function r(){}r.prototype=t.prototype,r=new r,w(n,r),e.prototype=n=r}n.constructor!=e&&(typeof e!=`function`&&console.error(`unknown Class:`+e),n.constructor=e)}var E={},D=E.ELEMENT_NODE=1,O=E.ATTRIBUTE_NODE=2,k=E.TEXT_NODE=3,A=E.CDATA_SECTION_NODE=4,j=E.ENTITY_REFERENCE_NODE=5,M=E.ENTITY_NODE=6,N=E.PROCESSING_INSTRUCTION_NODE=7,P=E.COMMENT_NODE=8,F=E.DOCUMENT_NODE=9,I=E.DOCUMENT_TYPE_NODE=10,L=E.DOCUMENT_FRAGMENT_NODE=11,R=E.NOTATION_NODE=12,z=t.freeze({DOCUMENT_POSITION_DISCONNECTED:1,DOCUMENT_POSITION_PRECEDING:2,DOCUMENT_POSITION_FOLLOWING:4,DOCUMENT_POSITION_CONTAINS:8,DOCUMENT_POSITION_CONTAINED_BY:16,DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC:32});function B(e,t){if(t.length<e.length)return B(t,e);var n=null;for(var r in e){if(e[r]!==t[r])return n;n=e[r]}return n}function V(e){return e.guid||=Math.random(),e.guid}function H(){}H.prototype={length:0,item:function(e){return e>=0&&e<this.length?this[e]:null},toString:function(e){for(var t=typeof e==`function`?{requireWellFormed:!1,splitCDATASections:!0,nodeFilter:e}:e?{requireWellFormed:!!e.requireWellFormed,splitCDATASections:e.splitCDATASections!==!1,nodeFilter:e.nodeFilter||null}:{requireWellFormed:!1,splitCDATASections:!0,nodeFilter:null},n=[],r=0;r<this.length;r++)X(this[r],n,null,t);return n.join(``)},filter:function(e){return Array.prototype.filter.call(this,e)},indexOf:function(e){return Array.prototype.indexOf.call(this,e)}},H.prototype[Symbol.iterator]=function(){var e=this,t=0;return{next:function(){return t<e.length?{value:e[t++],done:!1}:{done:!0}},return:function(){return{done:!0}}}};function U(e,t){this._node=e,this._refresh=t,W(this)}function W(e){var t=e._node._inc||e._node.ownerDocument._inc;if(e._inc!==t){var n=e._refresh(e._node);if(Re(e,`length`,n.length),!e.$$length||n.length<e.$$length)for(var r=n.length;r in e;r++)a(e,r)&&delete e[r];w(n,e),e._inc=t}}U.prototype.item=function(e){return W(this),this[e]||null},T(U,H);function ee(){}function G(e,t){for(var n=0;n<e.length;){if(e[n]===t)return n;n++}}function te(e,t,n,r){if(r?t[G(t,r)]=n:(t[t.length]=n,t.length++),e){n.ownerElement=e;var a=e.ownerDocument;a&&(r&&ce(a,e,r),se(a,e,n))}}function ne(e,t,n){var r=G(t,n);if(r>=0){for(var a=t.length-1;r<=a;)t[r]=t[++r];if(t.length=a,e){var o=e.ownerDocument;o&&ce(o,e,n),n.ownerElement=null}}}ee.prototype={length:0,item:H.prototype.item,getNamedItem:function(e){this._ownerElement&&this._ownerElement._isInHTMLDocumentAndNamespace()&&(e=e.toLowerCase());for(var t=0;t<this.length;){var n=this[t];if(n.nodeName===e)return n;t++}return null},setNamedItem:function(e){var t=e.ownerElement;if(t&&t!==this._ownerElement)throw new p(p.INUSE_ATTRIBUTE_ERR);var n=this.getNamedItemNS(e.namespaceURI,e.localName);return n===e?e:(te(this._ownerElement,this,e,n),n)},setNamedItemNS:function(e){return this.setNamedItem(e)},removeNamedItem:function(e){var t=this.getNamedItem(e);if(!t)throw new p(p.NOT_FOUND_ERR,e);return ne(this._ownerElement,this,t),t},removeNamedItemNS:function(e,t){var n=this.getNamedItemNS(e,t);if(!n)throw new p(p.NOT_FOUND_ERR,e?e+` : `+t:t);return ne(this._ownerElement,this,n),n},getNamedItemNS:function(e,t){e||=null;for(var n=0;n<this.length;){var r=this[n];if(r.localName===t&&r.namespaceURI===e)return r;n++}return null}},ee.prototype[Symbol.iterator]=function(){var e=this,t=0;return{next:function(){return t<e.length?{value:e[t++],done:!1}:{done:!0}},return:function(){return{done:!0}}}};function re(){}re.prototype={hasFeature:function(e,t){return!0},createDocument:function(e,t,n){var r=l.XML_APPLICATION;e===u.HTML?r=l.XML_XHTML_APPLICATION:e===u.SVG&&(r=l.XML_SVG_IMAGE);var a=new oe(d,{contentType:r});if(a.implementation=this,a.childNodes=new H,a.doctype=n||null,n&&a.appendChild(n),t){var o=a.createElementNS(e,t);a.appendChild(o)}return a},createDocumentType:function(e,t,n,r){S(e);var a=new De(d);return a.name=e,a.nodeName=e,a.publicId=t||``,a.systemId=n||``,a.internalSubset=r||``,a.childNodes=new H,a},createHTMLDocument:function(e){var t=new oe(d,{contentType:l.HTML});if(t.implementation=this,t.childNodes=new H,e!==!1){t.doctype=this.createDocumentType(`html`),t.doctype.ownerDocument=t,t.appendChild(t.doctype);var n=t.createElement(`html`);t.appendChild(n);var r=t.createElement(`head`);if(n.appendChild(r),typeof e==`string`){var a=t.createElement(`title`);a.appendChild(t.createTextNode(e)),r.appendChild(a)}n.appendChild(t.createElement(`body`))}return t}};function K(e){g(e)}K.prototype={firstChild:null,lastChild:null,previousSibling:null,nextSibling:null,parentNode:null,get parentElement(){return this.parentNode&&this.parentNode.nodeType===this.ELEMENT_NODE?this.parentNode:null},childNodes:null,ownerDocument:null,nodeValue:null,namespaceURI:null,prefix:null,localName:null,baseURI:`about:blank`,get isConnected(){var e=this.getRootNode();return e&&e.nodeType===e.DOCUMENT_NODE},contains:function(e){if(!e)return!1;var t=e;do{if(this===t)return!0;t=t.parentNode}while(t);return!1},getRootNode:function(e){var t=this;do{if(!t.parentNode)return t;t=t.parentNode}while(t)},isEqualNode:function(e){if(!e)return!1;for(var t=[{node:this,other:e}];t.length>0;){var n=t.pop(),r=n.node,a=n.other;if(r.nodeType!==a.nodeType)return!1;switch(r.nodeType){case r.DOCUMENT_TYPE_NODE:if(r.name!==a.name||r.publicId!==a.publicId||r.systemId!==a.systemId)return!1;break;case r.ELEMENT_NODE:if(r.namespaceURI!==a.namespaceURI||r.prefix!==a.prefix||r.localName!==a.localName||r.attributes.length!==a.attributes.length)return!1;for(var o=0;o<r.attributes.length;o++){var s=r.attributes.item(o),c=a.getAttributeNodeNS(s.namespaceURI,s.localName);if(!c)return!1;t.push({node:s,other:c})}break;case r.ATTRIBUTE_NODE:if(r.namespaceURI!==a.namespaceURI||r.localName!==a.localName||r.value!==a.value)return!1;break;case r.PROCESSING_INSTRUCTION_NODE:if(r.target!==a.target||r.data!==a.data)return!1;break;case r.TEXT_NODE:case r.CDATA_SECTION_NODE:case r.COMMENT_NODE:if(r.data!==a.data)return!1;break}if(r.childNodes.length!==a.childNodes.length)return!1;for(var o=r.childNodes.length-1;o>=0;o--)t.push({node:r.childNodes[o],other:a.childNodes[o]})}return!0},isSameNode:function(e){return this===e},insertBefore:function(e,t){return be(this,e,t)},replaceChild:function(e,t){be(this,e,t,ye),t&&this.removeChild(t)},removeChild:function(e){return ue(this,e)},appendChild:function(e){return this.insertBefore(e,null)},hasChildNodes:function(){return this.firstChild!=null},cloneNode:function(e){return Le(this.ownerDocument||this,this,e)},normalize:function(){q(this,null,{enter:function(e){for(var t=e.firstChild;t;){var n=t.nextSibling;n!==null&&n.nodeType===k&&t.nodeType===k?(e.removeChild(n),t.appendData(n.data)):t=n}return!0}})},isSupported:function(e,t){return this.ownerDocument.implementation.hasFeature(e,t)},lookupPrefix:function(e){for(var t=this;t;){var n=t._nsMap;if(n){for(var r in n)if(a(n,r)&&n[r]===e)return r}t=t.nodeType==O?t.ownerDocument:t.parentNode}return null},lookupNamespaceURI:function(e){for(var t=this;t;){var n=t._nsMap;if(n&&a(n,e))return n[e];t=t.nodeType==O?t.ownerDocument:t.parentNode}return null},isDefaultNamespace:function(e){return this.lookupPrefix(e)==null},compareDocumentPosition:function(e){if(this===e)return 0;var t=e,n=this,r=null,a=null;if(t instanceof Se&&(r=t,t=r.ownerElement),n instanceof Se&&(a=n,n=a.ownerElement,r&&t&&n===t))for(var o=0,s;s=n.attributes[o];o++){if(s===r)return z.DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC+z.DOCUMENT_POSITION_PRECEDING;if(s===a)return z.DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC+z.DOCUMENT_POSITION_FOLLOWING}if(!t||!n||n.ownerDocument!==t.ownerDocument)return z.DOCUMENT_POSITION_DISCONNECTED+z.DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC+(V(n.ownerDocument)>V(t.ownerDocument)?z.DOCUMENT_POSITION_FOLLOWING:z.DOCUMENT_POSITION_PRECEDING);if(a&&t===n)return z.DOCUMENT_POSITION_CONTAINS+z.DOCUMENT_POSITION_PRECEDING;if(r&&t===n)return z.DOCUMENT_POSITION_CONTAINED_BY+z.DOCUMENT_POSITION_FOLLOWING;for(var c=[],l=t.parentNode;l;){if(!a&&l===n)return z.DOCUMENT_POSITION_CONTAINED_BY+z.DOCUMENT_POSITION_FOLLOWING;c.push(l),l=l.parentNode}c.reverse();for(var u=[],d=n.parentNode;d;){if(!r&&d===t)return z.DOCUMENT_POSITION_CONTAINS+z.DOCUMENT_POSITION_PRECEDING;u.push(d),d=d.parentNode}u.reverse();var f=B(c,u);for(var p in f.childNodes){var m=f.childNodes[p];if(m===n)return z.DOCUMENT_POSITION_FOLLOWING;if(m===t)return z.DOCUMENT_POSITION_PRECEDING;if(u.indexOf(m)>=0)return z.DOCUMENT_POSITION_FOLLOWING;if(c.indexOf(m)>=0)return z.DOCUMENT_POSITION_PRECEDING}return 0}};function ie(e){return e==`<`&&`&lt;`||e==`>`&&`&gt;`||e==`&`&&`&amp;`||e==`"`&&`&quot;`||`&#`+e.charCodeAt()+`;`}w(E,K),w(E,K.prototype),w(z,K),w(z,K.prototype);function ae(e,t){q(e,null,{enter:function(e){return t(e)?q.STOP:!0}})}function q(e,t,n){for(var r=[{node:e,context:t,phase:q.ENTER}];r.length>0;){var a=r.pop();if(a.phase===q.ENTER){var o=n.enter(a.node,a.context);if(o===q.STOP)return q.STOP;if(r.push({node:a.node,context:o,phase:q.EXIT}),o==null)continue;for(var s=a.node.lastChild;s;)r.push({node:s,context:o,phase:q.ENTER}),s=s.previousSibling}else n.exit&&n.exit(a.node,a.context)}}q.STOP=Symbol(`walkDOM.STOP`),q.ENTER=0,q.EXIT=1;function oe(e,t){g(e);var n=t||{};this.ownerDocument=this,this.contentType=n.contentType||l.XML_APPLICATION,this.type=o(this.contentType)?`html`:`xml`}function se(e,t,n){e&&e._inc++,n.namespaceURI===u.XMLNS&&(t._nsMap[n.prefix?n.localName:``]=n.value)}function ce(e,t,n,r){e&&e._inc++,n.namespaceURI===u.XMLNS&&delete t._nsMap[n.prefix?n.localName:``]}function le(e,t,n){if(e&&e._inc){e._inc++;var r=t.childNodes;if(n&&!n.nextSibling)r[r.length++]=n;else{for(var a=t.firstChild,o=0;a;)r[o++]=a,a=a.nextSibling;r.length=o,delete r[r.length]}}}function ue(e,t){if(e!==t.parentNode)throw new p(p.NOT_FOUND_ERR,`child's parent is not parent`);var n=t.previousSibling,r=t.nextSibling;return n?n.nextSibling=r:e.firstChild=r,r?r.previousSibling=n:e.lastChild=n,le(e.ownerDocument,e),t.parentNode=null,t.previousSibling=null,t.nextSibling=null,t}function de(e){return e&&(e.nodeType===K.DOCUMENT_NODE||e.nodeType===K.DOCUMENT_FRAGMENT_NODE||e.nodeType===K.ELEMENT_NODE)}function J(e){return e&&(e.nodeType===K.CDATA_SECTION_NODE||e.nodeType===K.COMMENT_NODE||e.nodeType===K.DOCUMENT_FRAGMENT_NODE||e.nodeType===K.DOCUMENT_TYPE_NODE||e.nodeType===K.ELEMENT_NODE||e.nodeType===K.PROCESSING_INSTRUCTION_NODE||e.nodeType===K.TEXT_NODE)}function fe(e){return e&&e.nodeType===K.DOCUMENT_TYPE_NODE}function pe(e){return e&&e.nodeType===K.ELEMENT_NODE}function me(e){return e&&e.nodeType===K.TEXT_NODE}function he(e,t){var r=e.childNodes||[];if(n(r,pe)||fe(t))return!1;var a=n(r,fe);return!(t&&a&&r.indexOf(a)>r.indexOf(t))}function ge(e,t){var r=e.childNodes||[];function a(e){return pe(e)&&e!==t}if(n(r,a))return!1;var o=n(r,fe);return!(t&&o&&r.indexOf(o)>r.indexOf(t))}function _e(e,t,n){if(!de(e))throw new p(p.HIERARCHY_REQUEST_ERR,`Unexpected parent node type `+e.nodeType);if(n&&n.parentNode!==e)throw new p(p.NOT_FOUND_ERR,`child not in parent`);if(!J(t)||fe(t)&&e.nodeType!==K.DOCUMENT_NODE)throw new p(p.HIERARCHY_REQUEST_ERR,`Unexpected node type `+t.nodeType+` for parent node type `+e.nodeType)}function ve(e,t,r){var a=e.childNodes||[],o=t.childNodes||[];if(t.nodeType===K.DOCUMENT_FRAGMENT_NODE){var s=o.filter(pe);if(s.length>1||n(o,me))throw new p(p.HIERARCHY_REQUEST_ERR,`More than one element or text in fragment`);if(s.length===1&&!he(e,r))throw new p(p.HIERARCHY_REQUEST_ERR,`Element in fragment can not be inserted before doctype`)}if(pe(t)&&!he(e,r))throw new p(p.HIERARCHY_REQUEST_ERR,`Only one element can be added and only after doctype`);if(fe(t)){if(n(a,fe))throw new p(p.HIERARCHY_REQUEST_ERR,`Only one doctype is allowed`);var c=n(a,pe);if(r&&a.indexOf(c)<a.indexOf(r))throw new p(p.HIERARCHY_REQUEST_ERR,`Doctype can only be inserted before an element`);if(!r&&c)throw new p(p.HIERARCHY_REQUEST_ERR,`Doctype can not be appended since element is present`)}}function ye(e,t,r){var a=e.childNodes||[],o=t.childNodes||[];if(t.nodeType===K.DOCUMENT_FRAGMENT_NODE){var s=o.filter(pe);if(s.length>1||n(o,me))throw new p(p.HIERARCHY_REQUEST_ERR,`More than one element or text in fragment`);if(s.length===1&&!ge(e,r))throw new p(p.HIERARCHY_REQUEST_ERR,`Element in fragment can not be inserted before doctype`)}if(pe(t)&&!ge(e,r))throw new p(p.HIERARCHY_REQUEST_ERR,`Only one element can be added and only after doctype`);if(fe(t)){function c(e){return fe(e)&&e!==r}if(n(a,c))throw new p(p.HIERARCHY_REQUEST_ERR,`Only one doctype is allowed`);var l=n(a,pe);if(r&&a.indexOf(l)<a.indexOf(r))throw new p(p.HIERARCHY_REQUEST_ERR,`Doctype can only be inserted before an element`)}}function be(e,t,n,r){_e(e,t,n),e.nodeType===K.DOCUMENT_NODE&&(r||ve)(e,t,n);var a=t.parentNode;if(a&&a.removeChild(t),t.nodeType===L){var o=t.firstChild;if(o==null)return t;var s=t.lastChild}else o=s=t;var c=n?n.previousSibling:e.lastChild;o.previousSibling=c,s.nextSibling=n,c?c.nextSibling=o:e.firstChild=o,n==null?e.lastChild=s:n.previousSibling=s;do o.parentNode=e;while(o!==s&&(o=o.nextSibling));return le(e.ownerDocument||e,e,t),t.nodeType==L&&(t.firstChild=t.lastChild=null),t}oe.prototype={implementation:null,nodeName:`#document`,nodeType:F,doctype:null,documentElement:null,_inc:1,insertBefore:function(e,t){if(e.nodeType===L){for(var n=e.firstChild;n;){var r=n.nextSibling;this.insertBefore(n,t),n=r}return e}return be(this,e,t),e.ownerDocument=this,this.documentElement===null&&e.nodeType===D&&(this.documentElement=e),e},removeChild:function(e){var t=ue(this,e);return t===this.documentElement&&(this.documentElement=null),t},replaceChild:function(e,t){be(this,e,t,ye),e.ownerDocument=this,t&&this.removeChild(t),pe(e)&&(this.documentElement=e)},importNode:function(e,t){return Ie(this,e,t)},getElementById:function(e){var t=null;return ae(this.documentElement,function(n){if(n.nodeType==D&&n.getAttribute(`id`)==e)return t=n,!0}),t},createElement:function(e){var t=new xe(d);t.ownerDocument=this,this.type===`html`&&(e=e.toLowerCase()),r(this.contentType)&&(t.namespaceURI=u.HTML),t.nodeName=e,t.tagName=e,t.localName=e,t.childNodes=new H;var n=t.attributes=new ee;return n._ownerElement=t,t},createDocumentFragment:function(){var e=new je(d);return e.ownerDocument=this,e.childNodes=new H,e},createTextNode:function(e){var t=new we(d);return t.ownerDocument=this,t.childNodes=new H,t.appendData(e),t},createComment:function(e){var t=new Te(d);return t.ownerDocument=this,t.childNodes=new H,t.appendData(e),t},createCDATASection:function(e){if(e.indexOf(`]]>`)!==-1)throw new p(p.INVALID_CHARACTER_ERR,`data contains "]]>"`);var t=new Ee(d);return t.ownerDocument=this,t.childNodes=new H,t.appendData(e),t},createProcessingInstruction:function(e,t){var n=new Me(d);return n.ownerDocument=this,n.childNodes=new H,n.nodeName=n.target=e,n.nodeValue=n.data=t,n},createAttribute:function(e){if(!h.QName_exact.test(e))throw new p(p.INVALID_CHARACTER_ERR,`invalid character in name "`+e+`"`);return this.type===`html`&&(e=e.toLowerCase()),this._createAttribute(e)},_createAttribute:function(e){var t=new Se(d);return t.ownerDocument=this,t.childNodes=new H,t.name=e,t.nodeName=e,t.localName=e,t.specified=!0,t},createEntityReference:function(e){if(!h.Name.test(e))throw new p(p.INVALID_CHARACTER_ERR,`not a valid xml name "`+e+`"`);if(this.type===`html`)throw new p(`document is an html document`,m.NotSupportedError);var t=new Ae(d);return t.ownerDocument=this,t.childNodes=new H,t.nodeName=e,t},createElementNS:function(e,t){var n=C(e,t),r=new xe(d),a=r.attributes=new ee;return r.childNodes=new H,r.ownerDocument=this,r.nodeName=t,r.tagName=t,r.namespaceURI=n[0],r.prefix=n[1],r.localName=n[2],a._ownerElement=r,r},createAttributeNS:function(e,t){var n=C(e,t),r=new Se(d);return r.ownerDocument=this,r.childNodes=new H,r.nodeName=t,r.name=t,r.specified=!0,r.namespaceURI=n[0],r.prefix=n[1],r.localName=n[2],r}},T(oe,K);function xe(e){g(e),this._nsMap=Object.create(null)}xe.prototype={nodeType:D,attributes:null,getQualifiedName:function(){return this.prefix?this.prefix+`:`+this.localName:this.localName},_isInHTMLDocumentAndNamespace:function(){return this.ownerDocument.type===`html`&&this.namespaceURI===u.HTML},hasAttributes:function(){return!!(this.attributes&&this.attributes.length)},hasAttribute:function(e){return!!this.getAttributeNode(e)},getAttribute:function(e){var t=this.getAttributeNode(e);return t?t.value:null},getAttributeNode:function(e){return this._isInHTMLDocumentAndNamespace()&&(e=e.toLowerCase()),this.attributes.getNamedItem(e)},setAttribute:function(e,t){this._isInHTMLDocumentAndNamespace()&&(e=e.toLowerCase());var n=this.getAttributeNode(e);n?n.value=n.nodeValue=``+t:(n=this.ownerDocument._createAttribute(e),n.value=n.nodeValue=``+t,this.setAttributeNode(n))},removeAttribute:function(e){var t=this.getAttributeNode(e);t&&this.removeAttributeNode(t)},setAttributeNode:function(e){return this.attributes.setNamedItem(e)},setAttributeNodeNS:function(e){return this.attributes.setNamedItemNS(e)},removeAttributeNode:function(e){return this.attributes.removeNamedItem(e.nodeName)},removeAttributeNS:function(e,t){var n=this.getAttributeNodeNS(e,t);n&&this.removeAttributeNode(n)},hasAttributeNS:function(e,t){return this.getAttributeNodeNS(e,t)!=null},getAttributeNS:function(e,t){var n=this.getAttributeNodeNS(e,t);return n?n.value:null},setAttributeNS:function(e,t,n){var r=C(e,t)[2],a=this.getAttributeNodeNS(e,r);a?a.value=a.nodeValue=``+n:(a=this.ownerDocument.createAttributeNS(e,t),a.value=a.nodeValue=``+n,this.setAttributeNode(a))},getAttributeNodeNS:function(e,t){return this.attributes.getNamedItemNS(e,t)},getElementsByClassName:function(e){var t=b(e);return new U(this,function(n){var r=[];return t.length>0&&ae(n,function(a){if(a!==n&&a.nodeType===D){var o=a.getAttribute(`class`);if(o){var s=e===o;if(!s){var c=b(o);s=t.every(x(c))}s&&r.push(a)}}}),r})},getElementsByTagName:function(e){var t=(this.nodeType===F?this:this.ownerDocument).type===`html`,n=e.toLowerCase();return new U(this,function(r){var a=[];return ae(r,function(o){o===r||o.nodeType!==D||(e===`*`||o.getQualifiedName()===(t&&o.namespaceURI===u.HTML?n:e))&&a.push(o)}),a})},getElementsByTagNameNS:function(e,t){return new U(this,function(n){var r=[];return ae(n,function(a){a!==n&&a.nodeType===D&&(e===`*`||a.namespaceURI===e)&&(t===`*`||a.localName==t)&&r.push(a)}),r})}},oe.prototype.getElementsByClassName=xe.prototype.getElementsByClassName,oe.prototype.getElementsByTagName=xe.prototype.getElementsByTagName,oe.prototype.getElementsByTagNameNS=xe.prototype.getElementsByTagNameNS,T(xe,K);function Se(e){g(e),this.namespaceURI=null,this.prefix=null,this.ownerElement=null}Se.prototype.nodeType=O,T(Se,K);function Ce(e){g(e)}Ce.prototype={data:``,substringData:function(e,t){return this.data.substring(e,e+t)},appendData:function(e){e=this.data+e,this.nodeValue=this.data=e,this.length=e.length},insertData:function(e,t){this.replaceData(e,0,t)},deleteData:function(e,t){this.replaceData(e,t,``)},replaceData:function(e,t,n){var r=this.data.substring(0,e),a=this.data.substring(e+t);n=r+n+a,this.nodeValue=this.data=n,this.length=n.length}},T(Ce,K);function we(e){g(e)}we.prototype={nodeName:`#text`,nodeType:k,splitText:function(e){var t=this.data,n=t.substring(e);t=t.substring(0,e),this.data=this.nodeValue=t,this.length=t.length;var r=this.ownerDocument.createTextNode(n);return this.parentNode&&this.parentNode.insertBefore(r,this.nextSibling),r}},T(we,Ce);function Te(e){g(e)}Te.prototype={nodeName:`#comment`,nodeType:P},T(Te,Ce);function Ee(e){g(e)}Ee.prototype={nodeName:`#cdata-section`,nodeType:A},T(Ee,we);function De(e){g(e)}De.prototype.nodeType=I,T(De,K);function Oe(e){g(e)}Oe.prototype.nodeType=R,T(Oe,K);function ke(e){g(e)}ke.prototype.nodeType=M,T(ke,K);function Ae(e){g(e)}Ae.prototype.nodeType=j,T(Ae,K);function je(e){g(e)}je.prototype.nodeName=`#document-fragment`,je.prototype.nodeType=L,T(je,K);function Me(e){g(e)}Me.prototype.nodeType=N,T(Me,Ce);function Y(){}Y.prototype.serializeToString=function(e,t){return Ne.call(e,t)},K.prototype.toString=Ne;function Ne(e){var t=typeof e==`function`?{requireWellFormed:!1,splitCDATASections:!0,nodeFilter:e}:e==null?{requireWellFormed:!1,splitCDATASections:!0,nodeFilter:null}:{requireWellFormed:!!e.requireWellFormed,splitCDATASections:e.splitCDATASections!==!1,nodeFilter:e.nodeFilter||null},n=[],r=this.nodeType===F&&this.documentElement||this,a=r.prefix,o=r.namespaceURI;if(o&&a==null){var a=r.lookupPrefix(o);if(a==null)var s=[{namespace:o,prefix:null}]}return X(this,n,s,t),n.join(``)}function Pe(e,t,n){var r=e.prefix||``,a=e.namespaceURI;if(!a||r===`xml`&&a===u.XML||a===u.XMLNS)return!1;for(var o=n.length;o--;){var s=n[o];if(s.prefix===r)return s.namespace!==a}return!0}function Fe(e,t,n){e.push(` `,t,`="`,n.replace(/[<>&"\t\n\r]/g,ie),`"`)}function X(e,t,n,r){n||=[];var a=r.nodeFilter,o=r.requireWellFormed,l=r.splitCDATASections,d=(e.nodeType===F?e:e.ownerDocument).type===`html`;q(e,{ns:n},{enter:function(e,n){var f=n.ns;if(a)if(e=a(e),e){if(typeof e==`string`)return t.push(e),null}else return null;switch(e.nodeType){case D:var g=e.attributes,_=g.length,v=e.tagName,y=v;if(!d&&!e.prefix&&e.namespaceURI){for(var b,x=0;x<g.length;x++)if(g.item(x).name===`xmlns`){b=g.item(x).value;break}if(!b)for(var S=f.length-1;S>=0;S--){var C=f[S];if(C.prefix===``&&C.namespace===e.namespaceURI){b=C.namespace;break}}if(b!==e.namespaceURI)for(var S=f.length-1;S>=0;S--){var C=f[S];if(C.namespace===e.namespaceURI){C.prefix&&(y=C.prefix+`:`+v);break}}}t.push(`<`,y);for(var w=f.slice(),T=0;T<_;T++){var E=g.item(T);E.prefix==`xmlns`?w.push({prefix:E.localName,namespace:E.value}):E.nodeName==`xmlns`&&w.push({prefix:``,namespace:E.value})}for(var T=0;T<_;T++){var E=g.item(T);if(Pe(E,d,w)){var M=E.prefix||``,R=E.namespaceURI;Fe(t,M?`xmlns:`+M:`xmlns`,R),w.push({prefix:M,namespace:R})}var z=a?a(E):E;z&&(typeof z==`string`?t.push(z):Fe(t,z.name,z.value))}if(v===y&&Pe(e,d,w)){var B=e.prefix||``,R=e.namespaceURI;Fe(t,B?`xmlns:`+B:`xmlns`,R),w.push({prefix:B,namespace:R})}var V=!e.firstChild;if(V&&(d||e.namespaceURI===u.HTML)&&(V=c(v)),V)return t.push(`/>`),null;if(t.push(`>`),d&&s(v)){for(var H=e.firstChild;H;)H.data?t.push(H.data):X(H,t,w.slice(),r),H=H.nextSibling;return t.push(`</`,y,`>`),null}return{ns:w,tag:y};case F:case L:if(o&&e.nodeType===F&&e.documentElement==null)throw new p(`The Document has no documentElement`,m.InvalidStateError);return{ns:f};case O:return Fe(t,e.name,e.value),null;case k:if(o&&h.InvalidChar.test(e.data))throw new p(`The Text node data contains characters outside the XML Char production`,m.InvalidStateError);return t.push(e.data.replace(/[<&>]/g,ie)),null;case A:if(o&&e.data.indexOf(`]]>`)!==-1)throw new p(`The CDATASection data contains "]]>"`,m.InvalidStateError);return l?t.push(h.CDATA_START,e.data.replace(/]]>/g,`]]]]><![CDATA[>`),h.CDATA_END):t.push(h.CDATA_START,e.data,h.CDATA_END),null;case P:if(o){if(h.InvalidChar.test(e.data))throw new p(`The comment node data contains characters outside the XML Char production`,m.InvalidStateError);if(e.data.indexOf(`--`)!==-1||e.data[e.data.length-1]===`-`)throw new p(`The comment node data contains "--" or ends with "-"`,m.InvalidStateError)}return t.push(h.COMMENT_START,e.data,h.COMMENT_END),null;case I:var U=e.publicId,W=e.systemId;if(o){if(U&&!h.PubidLiteral_match.test(U))throw new p(`DocumentType publicId is not a valid PubidLiteral`,m.InvalidStateError);if(W&&W!==`.`&&!h.SystemLiteral_match.test(W))throw new p(`DocumentType systemId is not a valid SystemLiteral`,m.InvalidStateError);if(e.internalSubset&&e.internalSubset.indexOf(`]>`)!==-1)throw new p(`DocumentType internalSubset contains "]>"`,m.InvalidStateError)}return t.push(h.DOCTYPE_DECL_START,` `,e.name),U?(t.push(` `,h.PUBLIC,` `,U),W&&W!==`.`&&t.push(` `,W)):W&&W!==`.`&&t.push(` `,h.SYSTEM,` `,W),e.internalSubset&&t.push(` [`,e.internalSubset,`]`),t.push(`>`),null;case N:if(o){if(e.target.indexOf(`:`)!==-1||e.target.toLowerCase()===`xml`)throw new p(`The ProcessingInstruction target is not well-formed`,m.InvalidStateError);if(h.InvalidChar.test(e.data))throw new p(`The ProcessingInstruction data contains characters outside the XML Char production`,m.InvalidStateError);if(e.data.indexOf(`?>`)!==-1)throw new p(`The ProcessingInstruction data contains "?>"`,m.InvalidStateError)}return t.push(`<?`,e.target,` `,e.data,`?>`),null;case j:return t.push(`&`,e.nodeName,`;`),null;default:return t.push(`??`,e.nodeName),null}},exit:function(e,n){n&&n.tag&&t.push(`</`,n.tag,`>`)}})}function Ie(e,t,n){var r;return q(t,null,{enter:function(t,a){var o=t.cloneNode(!1);return o.ownerDocument=e,o.parentNode=null,a===null?r=o:a.appendChild(o),t.nodeType===O||n?o:null}}),r}function Le(e,t,n){var r;return q(t,null,{enter:function(t,o){var s=new t.constructor(d);for(var c in t)if(a(t,c)){var l=t[c];typeof l!=`object`&&l!=s[c]&&(s[c]=l)}t.childNodes&&(s.childNodes=new H),s.ownerDocument=e;var u=n;switch(s.nodeType){case D:var f=t.attributes,p=s.attributes=new ee,m=f.length;p._ownerElement=s;for(var h=0;h<m;h++)s.setAttributeNode(Le(e,f.item(h),!0));break;case O:u=!0}return o===null?r=s:o.appendChild(s),u?s:null}}),r}function Re(e,t,n){e[t]=n}function ze(e){for(var t=[],n=e.firstChild;n;)n.nodeType===D&&t.push(n),n=n.nextSibling;return t}try{Object.defineProperty&&(Object.defineProperty(U.prototype,`length`,{get:function(){return W(this),this.$$length}}),Object.defineProperty(K.prototype,`textContent`,{get:function(){if(this.nodeType===D||this.nodeType===L){var e=[];return q(this,null,{enter:function(t){if(t.nodeType===D||t.nodeType===L)return!0;if(t.nodeType===N||t.nodeType===P)return null;e.push(t.nodeValue)}}),e.join(``)}return this.nodeValue},set:function(e){switch(this.nodeType){case D:case L:for(;this.firstChild;)this.removeChild(this.firstChild);(e||String(e))&&this.appendChild(this.ownerDocument.createTextNode(e));break;default:this.data=e,this.value=e,this.nodeValue=e}}}),Object.defineProperty(xe.prototype,`children`,{get:function(){return new U(this,ze)}}),Object.defineProperty(oe.prototype,`children`,{get:function(){return new U(this,ze)}}),Object.defineProperty(je.prototype,`children`,{get:function(){return new U(this,ze)}}),Re=function(e,t,n){e[`$$`+t]=n})}catch{}e._updateLiveList=W,e.Attr=Se,e.CDATASection=Ee,e.CharacterData=Ce,e.Comment=Te,e.Document=oe,e.DocumentFragment=je,e.DocumentType=De,e.DOMImplementation=re,e.Element=xe,e.Entity=ke,e.EntityReference=Ae,e.LiveNodeList=U,e.NamedNodeMap=ee,e.Node=K,e.NodeList=H,e.Notation=Oe,e.Text=we,e.ProcessingInstruction=Me,e.walkDOM=q,e.XMLSerializer=Y})),Sr=e.t((e=>{var t=vr().freeze;e.XML_ENTITIES=t({amp:`&`,apos:`'`,gt:`>`,lt:`<`,quot:`"`}),e.HTML_ENTITIES=t({Aacute:`Á`,aacute:`á`,Abreve:`Ă`,abreve:`ă`,ac:`∾`,acd:`∿`,acE:`∾̳`,Acirc:`Â`,acirc:`â`,acute:`´`,Acy:`А`,acy:`а`,AElig:`Æ`,aelig:`æ`,af:`⁡`,Afr:`𝔄`,afr:`𝔞`,Agrave:`À`,agrave:`à`,alefsym:`ℵ`,aleph:`ℵ`,Alpha:`Α`,alpha:`α`,Amacr:`Ā`,amacr:`ā`,amalg:`⨿`,AMP:`&`,amp:`&`,And:`⩓`,and:`∧`,andand:`⩕`,andd:`⩜`,andslope:`⩘`,andv:`⩚`,ang:`∠`,ange:`⦤`,angle:`∠`,angmsd:`∡`,angmsdaa:`⦨`,angmsdab:`⦩`,angmsdac:`⦪`,angmsdad:`⦫`,angmsdae:`⦬`,angmsdaf:`⦭`,angmsdag:`⦮`,angmsdah:`⦯`,angrt:`∟`,angrtvb:`⊾`,angrtvbd:`⦝`,angsph:`∢`,angst:`Å`,angzarr:`⍼`,Aogon:`Ą`,aogon:`ą`,Aopf:`𝔸`,aopf:`𝕒`,ap:`≈`,apacir:`⩯`,apE:`⩰`,ape:`≊`,apid:`≋`,apos:`'`,ApplyFunction:`⁡`,approx:`≈`,approxeq:`≊`,Aring:`Å`,aring:`å`,Ascr:`𝒜`,ascr:`𝒶`,Assign:`≔`,ast:`*`,asymp:`≈`,asympeq:`≍`,Atilde:`Ã`,atilde:`ã`,Auml:`Ä`,auml:`ä`,awconint:`∳`,awint:`⨑`,backcong:`≌`,backepsilon:`϶`,backprime:`‵`,backsim:`∽`,backsimeq:`⋍`,Backslash:`∖`,Barv:`⫧`,barvee:`⊽`,Barwed:`⌆`,barwed:`⌅`,barwedge:`⌅`,bbrk:`⎵`,bbrktbrk:`⎶`,bcong:`≌`,Bcy:`Б`,bcy:`б`,bdquo:`„`,becaus:`∵`,Because:`∵`,because:`∵`,bemptyv:`⦰`,bepsi:`϶`,bernou:`ℬ`,Bernoullis:`ℬ`,Beta:`Β`,beta:`β`,beth:`ℶ`,between:`≬`,Bfr:`𝔅`,bfr:`𝔟`,bigcap:`⋂`,bigcirc:`◯`,bigcup:`⋃`,bigodot:`⨀`,bigoplus:`⨁`,bigotimes:`⨂`,bigsqcup:`⨆`,bigstar:`★`,bigtriangledown:`▽`,bigtriangleup:`△`,biguplus:`⨄`,bigvee:`⋁`,bigwedge:`⋀`,bkarow:`⤍`,blacklozenge:`⧫`,blacksquare:`▪`,blacktriangle:`▴`,blacktriangledown:`▾`,blacktriangleleft:`◂`,blacktriangleright:`▸`,blank:`␣`,blk12:`▒`,blk14:`░`,blk34:`▓`,block:`█`,bne:`=⃥`,bnequiv:`≡⃥`,bNot:`⫭`,bnot:`⌐`,Bopf:`𝔹`,bopf:`𝕓`,bot:`⊥`,bottom:`⊥`,bowtie:`⋈`,boxbox:`⧉`,boxDL:`╗`,boxDl:`╖`,boxdL:`╕`,boxdl:`┐`,boxDR:`╔`,boxDr:`╓`,boxdR:`╒`,boxdr:`┌`,boxH:`═`,boxh:`─`,boxHD:`╦`,boxHd:`╤`,boxhD:`╥`,boxhd:`┬`,boxHU:`╩`,boxHu:`╧`,boxhU:`╨`,boxhu:`┴`,boxminus:`⊟`,boxplus:`⊞`,boxtimes:`⊠`,boxUL:`╝`,boxUl:`╜`,boxuL:`╛`,boxul:`┘`,boxUR:`╚`,boxUr:`╙`,boxuR:`╘`,boxur:`└`,boxV:`║`,boxv:`│`,boxVH:`╬`,boxVh:`╫`,boxvH:`╪`,boxvh:`┼`,boxVL:`╣`,boxVl:`╢`,boxvL:`╡`,boxvl:`┤`,boxVR:`╠`,boxVr:`╟`,boxvR:`╞`,boxvr:`├`,bprime:`‵`,Breve:`˘`,breve:`˘`,brvbar:`¦`,Bscr:`ℬ`,bscr:`𝒷`,bsemi:`⁏`,bsim:`∽`,bsime:`⋍`,bsol:`\\`,bsolb:`⧅`,bsolhsub:`⟈`,bull:`•`,bullet:`•`,bump:`≎`,bumpE:`⪮`,bumpe:`≏`,Bumpeq:`≎`,bumpeq:`≏`,Cacute:`Ć`,cacute:`ć`,Cap:`⋒`,cap:`∩`,capand:`⩄`,capbrcup:`⩉`,capcap:`⩋`,capcup:`⩇`,capdot:`⩀`,CapitalDifferentialD:`ⅅ`,caps:`∩︀`,caret:`⁁`,caron:`ˇ`,Cayleys:`ℭ`,ccaps:`⩍`,Ccaron:`Č`,ccaron:`č`,Ccedil:`Ç`,ccedil:`ç`,Ccirc:`Ĉ`,ccirc:`ĉ`,Cconint:`∰`,ccups:`⩌`,ccupssm:`⩐`,Cdot:`Ċ`,cdot:`ċ`,cedil:`¸`,Cedilla:`¸`,cemptyv:`⦲`,cent:`¢`,CenterDot:`·`,centerdot:`·`,Cfr:`ℭ`,cfr:`𝔠`,CHcy:`Ч`,chcy:`ч`,check:`✓`,checkmark:`✓`,Chi:`Χ`,chi:`χ`,cir:`○`,circ:`ˆ`,circeq:`≗`,circlearrowleft:`↺`,circlearrowright:`↻`,circledast:`⊛`,circledcirc:`⊚`,circleddash:`⊝`,CircleDot:`⊙`,circledR:`®`,circledS:`Ⓢ`,CircleMinus:`⊖`,CirclePlus:`⊕`,CircleTimes:`⊗`,cirE:`⧃`,cire:`≗`,cirfnint:`⨐`,cirmid:`⫯`,cirscir:`⧂`,ClockwiseContourIntegral:`∲`,CloseCurlyDoubleQuote:`”`,CloseCurlyQuote:`’`,clubs:`♣`,clubsuit:`♣`,Colon:`∷`,colon:`:`,Colone:`⩴`,colone:`≔`,coloneq:`≔`,comma:`,`,commat:`@`,comp:`∁`,compfn:`∘`,complement:`∁`,complexes:`ℂ`,cong:`≅`,congdot:`⩭`,Congruent:`≡`,Conint:`∯`,conint:`∮`,ContourIntegral:`∮`,Copf:`ℂ`,copf:`𝕔`,coprod:`∐`,Coproduct:`∐`,COPY:`©`,copy:`©`,copysr:`℗`,CounterClockwiseContourIntegral:`∳`,crarr:`↵`,Cross:`⨯`,cross:`✗`,Cscr:`𝒞`,cscr:`𝒸`,csub:`⫏`,csube:`⫑`,csup:`⫐`,csupe:`⫒`,ctdot:`⋯`,cudarrl:`⤸`,cudarrr:`⤵`,cuepr:`⋞`,cuesc:`⋟`,cularr:`↶`,cularrp:`⤽`,Cup:`⋓`,cup:`∪`,cupbrcap:`⩈`,CupCap:`≍`,cupcap:`⩆`,cupcup:`⩊`,cupdot:`⊍`,cupor:`⩅`,cups:`∪︀`,curarr:`↷`,curarrm:`⤼`,curlyeqprec:`⋞`,curlyeqsucc:`⋟`,curlyvee:`⋎`,curlywedge:`⋏`,curren:`¤`,curvearrowleft:`↶`,curvearrowright:`↷`,cuvee:`⋎`,cuwed:`⋏`,cwconint:`∲`,cwint:`∱`,cylcty:`⌭`,Dagger:`‡`,dagger:`†`,daleth:`ℸ`,Darr:`↡`,dArr:`⇓`,darr:`↓`,dash:`‐`,Dashv:`⫤`,dashv:`⊣`,dbkarow:`⤏`,dblac:`˝`,Dcaron:`Ď`,dcaron:`ď`,Dcy:`Д`,dcy:`д`,DD:`ⅅ`,dd:`ⅆ`,ddagger:`‡`,ddarr:`⇊`,DDotrahd:`⤑`,ddotseq:`⩷`,deg:`°`,Del:`∇`,Delta:`Δ`,delta:`δ`,demptyv:`⦱`,dfisht:`⥿`,Dfr:`𝔇`,dfr:`𝔡`,dHar:`⥥`,dharl:`⇃`,dharr:`⇂`,DiacriticalAcute:`´`,DiacriticalDot:`˙`,DiacriticalDoubleAcute:`˝`,DiacriticalGrave:"`",DiacriticalTilde:`˜`,diam:`⋄`,Diamond:`⋄`,diamond:`⋄`,diamondsuit:`♦`,diams:`♦`,die:`¨`,DifferentialD:`ⅆ`,digamma:`ϝ`,disin:`⋲`,div:`÷`,divide:`÷`,divideontimes:`⋇`,divonx:`⋇`,DJcy:`Ђ`,djcy:`ђ`,dlcorn:`⌞`,dlcrop:`⌍`,dollar:`$`,Dopf:`𝔻`,dopf:`𝕕`,Dot:`¨`,dot:`˙`,DotDot:`⃜`,doteq:`≐`,doteqdot:`≑`,DotEqual:`≐`,dotminus:`∸`,dotplus:`∔`,dotsquare:`⊡`,doublebarwedge:`⌆`,DoubleContourIntegral:`∯`,DoubleDot:`¨`,DoubleDownArrow:`⇓`,DoubleLeftArrow:`⇐`,DoubleLeftRightArrow:`⇔`,DoubleLeftTee:`⫤`,DoubleLongLeftArrow:`⟸`,DoubleLongLeftRightArrow:`⟺`,DoubleLongRightArrow:`⟹`,DoubleRightArrow:`⇒`,DoubleRightTee:`⊨`,DoubleUpArrow:`⇑`,DoubleUpDownArrow:`⇕`,DoubleVerticalBar:`∥`,DownArrow:`↓`,Downarrow:`⇓`,downarrow:`↓`,DownArrowBar:`⤓`,DownArrowUpArrow:`⇵`,DownBreve:`̑`,downdownarrows:`⇊`,downharpoonleft:`⇃`,downharpoonright:`⇂`,DownLeftRightVector:`⥐`,DownLeftTeeVector:`⥞`,DownLeftVector:`↽`,DownLeftVectorBar:`⥖`,DownRightTeeVector:`⥟`,DownRightVector:`⇁`,DownRightVectorBar:`⥗`,DownTee:`⊤`,DownTeeArrow:`↧`,drbkarow:`⤐`,drcorn:`⌟`,drcrop:`⌌`,Dscr:`𝒟`,dscr:`𝒹`,DScy:`Ѕ`,dscy:`ѕ`,dsol:`⧶`,Dstrok:`Đ`,dstrok:`đ`,dtdot:`⋱`,dtri:`▿`,dtrif:`▾`,duarr:`⇵`,duhar:`⥯`,dwangle:`⦦`,DZcy:`Џ`,dzcy:`џ`,dzigrarr:`⟿`,Eacute:`É`,eacute:`é`,easter:`⩮`,Ecaron:`Ě`,ecaron:`ě`,ecir:`≖`,Ecirc:`Ê`,ecirc:`ê`,ecolon:`≕`,Ecy:`Э`,ecy:`э`,eDDot:`⩷`,Edot:`Ė`,eDot:`≑`,edot:`ė`,ee:`ⅇ`,efDot:`≒`,Efr:`𝔈`,efr:`𝔢`,eg:`⪚`,Egrave:`È`,egrave:`è`,egs:`⪖`,egsdot:`⪘`,el:`⪙`,Element:`∈`,elinters:`⏧`,ell:`ℓ`,els:`⪕`,elsdot:`⪗`,Emacr:`Ē`,emacr:`ē`,empty:`∅`,emptyset:`∅`,EmptySmallSquare:`◻`,emptyv:`∅`,EmptyVerySmallSquare:`▫`,emsp:` `,emsp13:` `,emsp14:` `,ENG:`Ŋ`,eng:`ŋ`,ensp:` `,Eogon:`Ę`,eogon:`ę`,Eopf:`𝔼`,eopf:`𝕖`,epar:`⋕`,eparsl:`⧣`,eplus:`⩱`,epsi:`ε`,Epsilon:`Ε`,epsilon:`ε`,epsiv:`ϵ`,eqcirc:`≖`,eqcolon:`≕`,eqsim:`≂`,eqslantgtr:`⪖`,eqslantless:`⪕`,Equal:`⩵`,equals:`=`,EqualTilde:`≂`,equest:`≟`,Equilibrium:`⇌`,equiv:`≡`,equivDD:`⩸`,eqvparsl:`⧥`,erarr:`⥱`,erDot:`≓`,Escr:`ℰ`,escr:`ℯ`,esdot:`≐`,Esim:`⩳`,esim:`≂`,Eta:`Η`,eta:`η`,ETH:`Ð`,eth:`ð`,Euml:`Ë`,euml:`ë`,euro:`€`,excl:`!`,exist:`∃`,Exists:`∃`,expectation:`ℰ`,ExponentialE:`ⅇ`,exponentiale:`ⅇ`,fallingdotseq:`≒`,Fcy:`Ф`,fcy:`ф`,female:`♀`,ffilig:`ffi`,fflig:`ff`,ffllig:`ffl`,Ffr:`𝔉`,ffr:`𝔣`,filig:`fi`,FilledSmallSquare:`◼`,FilledVerySmallSquare:`▪`,fjlig:`fj`,flat:`♭`,fllig:`fl`,fltns:`▱`,fnof:`ƒ`,Fopf:`𝔽`,fopf:`𝕗`,ForAll:`∀`,forall:`∀`,fork:`⋔`,forkv:`⫙`,Fouriertrf:`ℱ`,fpartint:`⨍`,frac12:`½`,frac13:`⅓`,frac14:`¼`,frac15:`⅕`,frac16:`⅙`,frac18:`⅛`,frac23:`⅔`,frac25:`⅖`,frac34:`¾`,frac35:`⅗`,frac38:`⅜`,frac45:`⅘`,frac56:`⅚`,frac58:`⅝`,frac78:`⅞`,frasl:`⁄`,frown:`⌢`,Fscr:`ℱ`,fscr:`𝒻`,gacute:`ǵ`,Gamma:`Γ`,gamma:`γ`,Gammad:`Ϝ`,gammad:`ϝ`,gap:`⪆`,Gbreve:`Ğ`,gbreve:`ğ`,Gcedil:`Ģ`,Gcirc:`Ĝ`,gcirc:`ĝ`,Gcy:`Г`,gcy:`г`,Gdot:`Ġ`,gdot:`ġ`,gE:`≧`,ge:`≥`,gEl:`⪌`,gel:`⋛`,geq:`≥`,geqq:`≧`,geqslant:`⩾`,ges:`⩾`,gescc:`⪩`,gesdot:`⪀`,gesdoto:`⪂`,gesdotol:`⪄`,gesl:`⋛︀`,gesles:`⪔`,Gfr:`𝔊`,gfr:`𝔤`,Gg:`⋙`,gg:`≫`,ggg:`⋙`,gimel:`ℷ`,GJcy:`Ѓ`,gjcy:`ѓ`,gl:`≷`,gla:`⪥`,glE:`⪒`,glj:`⪤`,gnap:`⪊`,gnapprox:`⪊`,gnE:`≩`,gne:`⪈`,gneq:`⪈`,gneqq:`≩`,gnsim:`⋧`,Gopf:`𝔾`,gopf:`𝕘`,grave:"`",GreaterEqual:`≥`,GreaterEqualLess:`⋛`,GreaterFullEqual:`≧`,GreaterGreater:`⪢`,GreaterLess:`≷`,GreaterSlantEqual:`⩾`,GreaterTilde:`≳`,Gscr:`𝒢`,gscr:`ℊ`,gsim:`≳`,gsime:`⪎`,gsiml:`⪐`,Gt:`≫`,GT:`>`,gt:`>`,gtcc:`⪧`,gtcir:`⩺`,gtdot:`⋗`,gtlPar:`⦕`,gtquest:`⩼`,gtrapprox:`⪆`,gtrarr:`⥸`,gtrdot:`⋗`,gtreqless:`⋛`,gtreqqless:`⪌`,gtrless:`≷`,gtrsim:`≳`,gvertneqq:`≩︀`,gvnE:`≩︀`,Hacek:`ˇ`,hairsp:` `,half:`½`,hamilt:`ℋ`,HARDcy:`Ъ`,hardcy:`ъ`,hArr:`⇔`,harr:`↔`,harrcir:`⥈`,harrw:`↭`,Hat:`^`,hbar:`ℏ`,Hcirc:`Ĥ`,hcirc:`ĥ`,hearts:`♥`,heartsuit:`♥`,hellip:`…`,hercon:`⊹`,Hfr:`ℌ`,hfr:`𝔥`,HilbertSpace:`ℋ`,hksearow:`⤥`,hkswarow:`⤦`,hoarr:`⇿`,homtht:`∻`,hookleftarrow:`↩`,hookrightarrow:`↪`,Hopf:`ℍ`,hopf:`𝕙`,horbar:`―`,HorizontalLine:`─`,Hscr:`ℋ`,hscr:`𝒽`,hslash:`ℏ`,Hstrok:`Ħ`,hstrok:`ħ`,HumpDownHump:`≎`,HumpEqual:`≏`,hybull:`⁃`,hyphen:`‐`,Iacute:`Í`,iacute:`í`,ic:`⁣`,Icirc:`Î`,icirc:`î`,Icy:`И`,icy:`и`,Idot:`İ`,IEcy:`Е`,iecy:`е`,iexcl:`¡`,iff:`⇔`,Ifr:`ℑ`,ifr:`𝔦`,Igrave:`Ì`,igrave:`ì`,ii:`ⅈ`,iiiint:`⨌`,iiint:`∭`,iinfin:`⧜`,iiota:`℩`,IJlig:`IJ`,ijlig:`ij`,Im:`ℑ`,Imacr:`Ī`,imacr:`ī`,image:`ℑ`,ImaginaryI:`ⅈ`,imagline:`ℐ`,imagpart:`ℑ`,imath:`ı`,imof:`⊷`,imped:`Ƶ`,Implies:`⇒`,in:`∈`,incare:`℅`,infin:`∞`,infintie:`⧝`,inodot:`ı`,Int:`∬`,int:`∫`,intcal:`⊺`,integers:`ℤ`,Integral:`∫`,intercal:`⊺`,Intersection:`⋂`,intlarhk:`⨗`,intprod:`⨼`,InvisibleComma:`⁣`,InvisibleTimes:`⁢`,IOcy:`Ё`,iocy:`ё`,Iogon:`Į`,iogon:`į`,Iopf:`𝕀`,iopf:`𝕚`,Iota:`Ι`,iota:`ι`,iprod:`⨼`,iquest:`¿`,Iscr:`ℐ`,iscr:`𝒾`,isin:`∈`,isindot:`⋵`,isinE:`⋹`,isins:`⋴`,isinsv:`⋳`,isinv:`∈`,it:`⁢`,Itilde:`Ĩ`,itilde:`ĩ`,Iukcy:`І`,iukcy:`і`,Iuml:`Ï`,iuml:`ï`,Jcirc:`Ĵ`,jcirc:`ĵ`,Jcy:`Й`,jcy:`й`,Jfr:`𝔍`,jfr:`𝔧`,jmath:`ȷ`,Jopf:`𝕁`,jopf:`𝕛`,Jscr:`𝒥`,jscr:`𝒿`,Jsercy:`Ј`,jsercy:`ј`,Jukcy:`Є`,jukcy:`є`,Kappa:`Κ`,kappa:`κ`,kappav:`ϰ`,Kcedil:`Ķ`,kcedil:`ķ`,Kcy:`К`,kcy:`к`,Kfr:`𝔎`,kfr:`𝔨`,kgreen:`ĸ`,KHcy:`Х`,khcy:`х`,KJcy:`Ќ`,kjcy:`ќ`,Kopf:`𝕂`,kopf:`𝕜`,Kscr:`𝒦`,kscr:`𝓀`,lAarr:`⇚`,Lacute:`Ĺ`,lacute:`ĺ`,laemptyv:`⦴`,lagran:`ℒ`,Lambda:`Λ`,lambda:`λ`,Lang:`⟪`,lang:`⟨`,langd:`⦑`,langle:`⟨`,lap:`⪅`,Laplacetrf:`ℒ`,laquo:`«`,Larr:`↞`,lArr:`⇐`,larr:`←`,larrb:`⇤`,larrbfs:`⤟`,larrfs:`⤝`,larrhk:`↩`,larrlp:`↫`,larrpl:`⤹`,larrsim:`⥳`,larrtl:`↢`,lat:`⪫`,lAtail:`⤛`,latail:`⤙`,late:`⪭`,lates:`⪭︀`,lBarr:`⤎`,lbarr:`⤌`,lbbrk:`❲`,lbrace:`{`,lbrack:`[`,lbrke:`⦋`,lbrksld:`⦏`,lbrkslu:`⦍`,Lcaron:`Ľ`,lcaron:`ľ`,Lcedil:`Ļ`,lcedil:`ļ`,lceil:`⌈`,lcub:`{`,Lcy:`Л`,lcy:`л`,ldca:`⤶`,ldquo:`“`,ldquor:`„`,ldrdhar:`⥧`,ldrushar:`⥋`,ldsh:`↲`,lE:`≦`,le:`≤`,LeftAngleBracket:`⟨`,LeftArrow:`←`,Leftarrow:`⇐`,leftarrow:`←`,LeftArrowBar:`⇤`,LeftArrowRightArrow:`⇆`,leftarrowtail:`↢`,LeftCeiling:`⌈`,LeftDoubleBracket:`⟦`,LeftDownTeeVector:`⥡`,LeftDownVector:`⇃`,LeftDownVectorBar:`⥙`,LeftFloor:`⌊`,leftharpoondown:`↽`,leftharpoonup:`↼`,leftleftarrows:`⇇`,LeftRightArrow:`↔`,Leftrightarrow:`⇔`,leftrightarrow:`↔`,leftrightarrows:`⇆`,leftrightharpoons:`⇋`,leftrightsquigarrow:`↭`,LeftRightVector:`⥎`,LeftTee:`⊣`,LeftTeeArrow:`↤`,LeftTeeVector:`⥚`,leftthreetimes:`⋋`,LeftTriangle:`⊲`,LeftTriangleBar:`⧏`,LeftTriangleEqual:`⊴`,LeftUpDownVector:`⥑`,LeftUpTeeVector:`⥠`,LeftUpVector:`↿`,LeftUpVectorBar:`⥘`,LeftVector:`↼`,LeftVectorBar:`⥒`,lEg:`⪋`,leg:`⋚`,leq:`≤`,leqq:`≦`,leqslant:`⩽`,les:`⩽`,lescc:`⪨`,lesdot:`⩿`,lesdoto:`⪁`,lesdotor:`⪃`,lesg:`⋚︀`,lesges:`⪓`,lessapprox:`⪅`,lessdot:`⋖`,lesseqgtr:`⋚`,lesseqqgtr:`⪋`,LessEqualGreater:`⋚`,LessFullEqual:`≦`,LessGreater:`≶`,lessgtr:`≶`,LessLess:`⪡`,lesssim:`≲`,LessSlantEqual:`⩽`,LessTilde:`≲`,lfisht:`⥼`,lfloor:`⌊`,Lfr:`𝔏`,lfr:`𝔩`,lg:`≶`,lgE:`⪑`,lHar:`⥢`,lhard:`↽`,lharu:`↼`,lharul:`⥪`,lhblk:`▄`,LJcy:`Љ`,ljcy:`љ`,Ll:`⋘`,ll:`≪`,llarr:`⇇`,llcorner:`⌞`,Lleftarrow:`⇚`,llhard:`⥫`,lltri:`◺`,Lmidot:`Ŀ`,lmidot:`ŀ`,lmoust:`⎰`,lmoustache:`⎰`,lnap:`⪉`,lnapprox:`⪉`,lnE:`≨`,lne:`⪇`,lneq:`⪇`,lneqq:`≨`,lnsim:`⋦`,loang:`⟬`,loarr:`⇽`,lobrk:`⟦`,LongLeftArrow:`⟵`,Longleftarrow:`⟸`,longleftarrow:`⟵`,LongLeftRightArrow:`⟷`,Longleftrightarrow:`⟺`,longleftrightarrow:`⟷`,longmapsto:`⟼`,LongRightArrow:`⟶`,Longrightarrow:`⟹`,longrightarrow:`⟶`,looparrowleft:`↫`,looparrowright:`↬`,lopar:`⦅`,Lopf:`𝕃`,lopf:`𝕝`,loplus:`⨭`,lotimes:`⨴`,lowast:`∗`,lowbar:`_`,LowerLeftArrow:`↙`,LowerRightArrow:`↘`,loz:`◊`,lozenge:`◊`,lozf:`⧫`,lpar:`(`,lparlt:`⦓`,lrarr:`⇆`,lrcorner:`⌟`,lrhar:`⇋`,lrhard:`⥭`,lrm:`‎`,lrtri:`⊿`,lsaquo:`‹`,Lscr:`ℒ`,lscr:`𝓁`,Lsh:`↰`,lsh:`↰`,lsim:`≲`,lsime:`⪍`,lsimg:`⪏`,lsqb:`[`,lsquo:`‘`,lsquor:`‚`,Lstrok:`Ł`,lstrok:`ł`,Lt:`≪`,LT:`<`,lt:`<`,ltcc:`⪦`,ltcir:`⩹`,ltdot:`⋖`,lthree:`⋋`,ltimes:`⋉`,ltlarr:`⥶`,ltquest:`⩻`,ltri:`◃`,ltrie:`⊴`,ltrif:`◂`,ltrPar:`⦖`,lurdshar:`⥊`,luruhar:`⥦`,lvertneqq:`≨︀`,lvnE:`≨︀`,macr:`¯`,male:`♂`,malt:`✠`,maltese:`✠`,Map:`⤅`,map:`↦`,mapsto:`↦`,mapstodown:`↧`,mapstoleft:`↤`,mapstoup:`↥`,marker:`▮`,mcomma:`⨩`,Mcy:`М`,mcy:`м`,mdash:`—`,mDDot:`∺`,measuredangle:`∡`,MediumSpace:` `,Mellintrf:`ℳ`,Mfr:`𝔐`,mfr:`𝔪`,mho:`℧`,micro:`µ`,mid:`∣`,midast:`*`,midcir:`⫰`,middot:`·`,minus:`−`,minusb:`⊟`,minusd:`∸`,minusdu:`⨪`,MinusPlus:`∓`,mlcp:`⫛`,mldr:`…`,mnplus:`∓`,models:`⊧`,Mopf:`𝕄`,mopf:`𝕞`,mp:`∓`,Mscr:`ℳ`,mscr:`𝓂`,mstpos:`∾`,Mu:`Μ`,mu:`μ`,multimap:`⊸`,mumap:`⊸`,nabla:`∇`,Nacute:`Ń`,nacute:`ń`,nang:`∠⃒`,nap:`≉`,napE:`⩰̸`,napid:`≋̸`,napos:`ʼn`,napprox:`≉`,natur:`♮`,natural:`♮`,naturals:`ℕ`,nbsp:`\xA0`,nbump:`≎̸`,nbumpe:`≏̸`,ncap:`⩃`,Ncaron:`Ň`,ncaron:`ň`,Ncedil:`Ņ`,ncedil:`ņ`,ncong:`≇`,ncongdot:`⩭̸`,ncup:`⩂`,Ncy:`Н`,ncy:`н`,ndash:`–`,ne:`≠`,nearhk:`⤤`,neArr:`⇗`,nearr:`↗`,nearrow:`↗`,nedot:`≐̸`,NegativeMediumSpace:`​`,NegativeThickSpace:`​`,NegativeThinSpace:`​`,NegativeVeryThinSpace:`​`,nequiv:`≢`,nesear:`⤨`,nesim:`≂̸`,NestedGreaterGreater:`≫`,NestedLessLess:`≪`,NewLine:`
`,nexist:`∄`,nexists:`∄`,Nfr:`𝔑`,nfr:`𝔫`,ngE:`≧̸`,nge:`≱`,ngeq:`≱`,ngeqq:`≧̸`,ngeqslant:`⩾̸`,nges:`⩾̸`,nGg:`⋙̸`,ngsim:`≵`,nGt:`≫⃒`,ngt:`≯`,ngtr:`≯`,nGtv:`≫̸`,nhArr:`⇎`,nharr:`↮`,nhpar:`⫲`,ni:`∋`,nis:`⋼`,nisd:`⋺`,niv:`∋`,NJcy:`Њ`,njcy:`њ`,nlArr:`⇍`,nlarr:`↚`,nldr:`‥`,nlE:`≦̸`,nle:`≰`,nLeftarrow:`⇍`,nleftarrow:`↚`,nLeftrightarrow:`⇎`,nleftrightarrow:`↮`,nleq:`≰`,nleqq:`≦̸`,nleqslant:`⩽̸`,nles:`⩽̸`,nless:`≮`,nLl:`⋘̸`,nlsim:`≴`,nLt:`≪⃒`,nlt:`≮`,nltri:`⋪`,nltrie:`⋬`,nLtv:`≪̸`,nmid:`∤`,NoBreak:`⁠`,NonBreakingSpace:`\xA0`,Nopf:`ℕ`,nopf:`𝕟`,Not:`⫬`,not:`¬`,NotCongruent:`≢`,NotCupCap:`≭`,NotDoubleVerticalBar:`∦`,NotElement:`∉`,NotEqual:`≠`,NotEqualTilde:`≂̸`,NotExists:`∄`,NotGreater:`≯`,NotGreaterEqual:`≱`,NotGreaterFullEqual:`≧̸`,NotGreaterGreater:`≫̸`,NotGreaterLess:`≹`,NotGreaterSlantEqual:`⩾̸`,NotGreaterTilde:`≵`,NotHumpDownHump:`≎̸`,NotHumpEqual:`≏̸`,notin:`∉`,notindot:`⋵̸`,notinE:`⋹̸`,notinva:`∉`,notinvb:`⋷`,notinvc:`⋶`,NotLeftTriangle:`⋪`,NotLeftTriangleBar:`⧏̸`,NotLeftTriangleEqual:`⋬`,NotLess:`≮`,NotLessEqual:`≰`,NotLessGreater:`≸`,NotLessLess:`≪̸`,NotLessSlantEqual:`⩽̸`,NotLessTilde:`≴`,NotNestedGreaterGreater:`⪢̸`,NotNestedLessLess:`⪡̸`,notni:`∌`,notniva:`∌`,notnivb:`⋾`,notnivc:`⋽`,NotPrecedes:`⊀`,NotPrecedesEqual:`⪯̸`,NotPrecedesSlantEqual:`⋠`,NotReverseElement:`∌`,NotRightTriangle:`⋫`,NotRightTriangleBar:`⧐̸`,NotRightTriangleEqual:`⋭`,NotSquareSubset:`⊏̸`,NotSquareSubsetEqual:`⋢`,NotSquareSuperset:`⊐̸`,NotSquareSupersetEqual:`⋣`,NotSubset:`⊂⃒`,NotSubsetEqual:`⊈`,NotSucceeds:`⊁`,NotSucceedsEqual:`⪰̸`,NotSucceedsSlantEqual:`⋡`,NotSucceedsTilde:`≿̸`,NotSuperset:`⊃⃒`,NotSupersetEqual:`⊉`,NotTilde:`≁`,NotTildeEqual:`≄`,NotTildeFullEqual:`≇`,NotTildeTilde:`≉`,NotVerticalBar:`∤`,npar:`∦`,nparallel:`∦`,nparsl:`⫽⃥`,npart:`∂̸`,npolint:`⨔`,npr:`⊀`,nprcue:`⋠`,npre:`⪯̸`,nprec:`⊀`,npreceq:`⪯̸`,nrArr:`⇏`,nrarr:`↛`,nrarrc:`⤳̸`,nrarrw:`↝̸`,nRightarrow:`⇏`,nrightarrow:`↛`,nrtri:`⋫`,nrtrie:`⋭`,nsc:`⊁`,nsccue:`⋡`,nsce:`⪰̸`,Nscr:`𝒩`,nscr:`𝓃`,nshortmid:`∤`,nshortparallel:`∦`,nsim:`≁`,nsime:`≄`,nsimeq:`≄`,nsmid:`∤`,nspar:`∦`,nsqsube:`⋢`,nsqsupe:`⋣`,nsub:`⊄`,nsubE:`⫅̸`,nsube:`⊈`,nsubset:`⊂⃒`,nsubseteq:`⊈`,nsubseteqq:`⫅̸`,nsucc:`⊁`,nsucceq:`⪰̸`,nsup:`⊅`,nsupE:`⫆̸`,nsupe:`⊉`,nsupset:`⊃⃒`,nsupseteq:`⊉`,nsupseteqq:`⫆̸`,ntgl:`≹`,Ntilde:`Ñ`,ntilde:`ñ`,ntlg:`≸`,ntriangleleft:`⋪`,ntrianglelefteq:`⋬`,ntriangleright:`⋫`,ntrianglerighteq:`⋭`,Nu:`Ν`,nu:`ν`,num:`#`,numero:`№`,numsp:` `,nvap:`≍⃒`,nVDash:`⊯`,nVdash:`⊮`,nvDash:`⊭`,nvdash:`⊬`,nvge:`≥⃒`,nvgt:`>⃒`,nvHarr:`⤄`,nvinfin:`⧞`,nvlArr:`⤂`,nvle:`≤⃒`,nvlt:`<⃒`,nvltrie:`⊴⃒`,nvrArr:`⤃`,nvrtrie:`⊵⃒`,nvsim:`∼⃒`,nwarhk:`⤣`,nwArr:`⇖`,nwarr:`↖`,nwarrow:`↖`,nwnear:`⤧`,Oacute:`Ó`,oacute:`ó`,oast:`⊛`,ocir:`⊚`,Ocirc:`Ô`,ocirc:`ô`,Ocy:`О`,ocy:`о`,odash:`⊝`,Odblac:`Ő`,odblac:`ő`,odiv:`⨸`,odot:`⊙`,odsold:`⦼`,OElig:`Œ`,oelig:`œ`,ofcir:`⦿`,Ofr:`𝔒`,ofr:`𝔬`,ogon:`˛`,Ograve:`Ò`,ograve:`ò`,ogt:`⧁`,ohbar:`⦵`,ohm:`Ω`,oint:`∮`,olarr:`↺`,olcir:`⦾`,olcross:`⦻`,oline:`‾`,olt:`⧀`,Omacr:`Ō`,omacr:`ō`,Omega:`Ω`,omega:`ω`,Omicron:`Ο`,omicron:`ο`,omid:`⦶`,ominus:`⊖`,Oopf:`𝕆`,oopf:`𝕠`,opar:`⦷`,OpenCurlyDoubleQuote:`“`,OpenCurlyQuote:`‘`,operp:`⦹`,oplus:`⊕`,Or:`⩔`,or:`∨`,orarr:`↻`,ord:`⩝`,order:`ℴ`,orderof:`ℴ`,ordf:`ª`,ordm:`º`,origof:`⊶`,oror:`⩖`,orslope:`⩗`,orv:`⩛`,oS:`Ⓢ`,Oscr:`𝒪`,oscr:`ℴ`,Oslash:`Ø`,oslash:`ø`,osol:`⊘`,Otilde:`Õ`,otilde:`õ`,Otimes:`⨷`,otimes:`⊗`,otimesas:`⨶`,Ouml:`Ö`,ouml:`ö`,ovbar:`⌽`,OverBar:`‾`,OverBrace:`⏞`,OverBracket:`⎴`,OverParenthesis:`⏜`,par:`∥`,para:`¶`,parallel:`∥`,parsim:`⫳`,parsl:`⫽`,part:`∂`,PartialD:`∂`,Pcy:`П`,pcy:`п`,percnt:`%`,period:`.`,permil:`‰`,perp:`⊥`,pertenk:`‱`,Pfr:`𝔓`,pfr:`𝔭`,Phi:`Φ`,phi:`φ`,phiv:`ϕ`,phmmat:`ℳ`,phone:`☎`,Pi:`Π`,pi:`π`,pitchfork:`⋔`,piv:`ϖ`,planck:`ℏ`,planckh:`ℎ`,plankv:`ℏ`,plus:`+`,plusacir:`⨣`,plusb:`⊞`,pluscir:`⨢`,plusdo:`∔`,plusdu:`⨥`,pluse:`⩲`,PlusMinus:`±`,plusmn:`±`,plussim:`⨦`,plustwo:`⨧`,pm:`±`,Poincareplane:`ℌ`,pointint:`⨕`,Popf:`ℙ`,popf:`𝕡`,pound:`£`,Pr:`⪻`,pr:`≺`,prap:`⪷`,prcue:`≼`,prE:`⪳`,pre:`⪯`,prec:`≺`,precapprox:`⪷`,preccurlyeq:`≼`,Precedes:`≺`,PrecedesEqual:`⪯`,PrecedesSlantEqual:`≼`,PrecedesTilde:`≾`,preceq:`⪯`,precnapprox:`⪹`,precneqq:`⪵`,precnsim:`⋨`,precsim:`≾`,Prime:`″`,prime:`′`,primes:`ℙ`,prnap:`⪹`,prnE:`⪵`,prnsim:`⋨`,prod:`∏`,Product:`∏`,profalar:`⌮`,profline:`⌒`,profsurf:`⌓`,prop:`∝`,Proportion:`∷`,Proportional:`∝`,propto:`∝`,prsim:`≾`,prurel:`⊰`,Pscr:`𝒫`,pscr:`𝓅`,Psi:`Ψ`,psi:`ψ`,puncsp:` `,Qfr:`𝔔`,qfr:`𝔮`,qint:`⨌`,Qopf:`ℚ`,qopf:`𝕢`,qprime:`⁗`,Qscr:`𝒬`,qscr:`𝓆`,quaternions:`ℍ`,quatint:`⨖`,quest:`?`,questeq:`≟`,QUOT:`"`,quot:`"`,rAarr:`⇛`,race:`∽̱`,Racute:`Ŕ`,racute:`ŕ`,radic:`√`,raemptyv:`⦳`,Rang:`⟫`,rang:`⟩`,rangd:`⦒`,range:`⦥`,rangle:`⟩`,raquo:`»`,Rarr:`↠`,rArr:`⇒`,rarr:`→`,rarrap:`⥵`,rarrb:`⇥`,rarrbfs:`⤠`,rarrc:`⤳`,rarrfs:`⤞`,rarrhk:`↪`,rarrlp:`↬`,rarrpl:`⥅`,rarrsim:`⥴`,Rarrtl:`⤖`,rarrtl:`↣`,rarrw:`↝`,rAtail:`⤜`,ratail:`⤚`,ratio:`∶`,rationals:`ℚ`,RBarr:`⤐`,rBarr:`⤏`,rbarr:`⤍`,rbbrk:`❳`,rbrace:`}`,rbrack:`]`,rbrke:`⦌`,rbrksld:`⦎`,rbrkslu:`⦐`,Rcaron:`Ř`,rcaron:`ř`,Rcedil:`Ŗ`,rcedil:`ŗ`,rceil:`⌉`,rcub:`}`,Rcy:`Р`,rcy:`р`,rdca:`⤷`,rdldhar:`⥩`,rdquo:`”`,rdquor:`”`,rdsh:`↳`,Re:`ℜ`,real:`ℜ`,realine:`ℛ`,realpart:`ℜ`,reals:`ℝ`,rect:`▭`,REG:`®`,reg:`®`,ReverseElement:`∋`,ReverseEquilibrium:`⇋`,ReverseUpEquilibrium:`⥯`,rfisht:`⥽`,rfloor:`⌋`,Rfr:`ℜ`,rfr:`𝔯`,rHar:`⥤`,rhard:`⇁`,rharu:`⇀`,rharul:`⥬`,Rho:`Ρ`,rho:`ρ`,rhov:`ϱ`,RightAngleBracket:`⟩`,RightArrow:`→`,Rightarrow:`⇒`,rightarrow:`→`,RightArrowBar:`⇥`,RightArrowLeftArrow:`⇄`,rightarrowtail:`↣`,RightCeiling:`⌉`,RightDoubleBracket:`⟧`,RightDownTeeVector:`⥝`,RightDownVector:`⇂`,RightDownVectorBar:`⥕`,RightFloor:`⌋`,rightharpoondown:`⇁`,rightharpoonup:`⇀`,rightleftarrows:`⇄`,rightleftharpoons:`⇌`,rightrightarrows:`⇉`,rightsquigarrow:`↝`,RightTee:`⊢`,RightTeeArrow:`↦`,RightTeeVector:`⥛`,rightthreetimes:`⋌`,RightTriangle:`⊳`,RightTriangleBar:`⧐`,RightTriangleEqual:`⊵`,RightUpDownVector:`⥏`,RightUpTeeVector:`⥜`,RightUpVector:`↾`,RightUpVectorBar:`⥔`,RightVector:`⇀`,RightVectorBar:`⥓`,ring:`˚`,risingdotseq:`≓`,rlarr:`⇄`,rlhar:`⇌`,rlm:`‏`,rmoust:`⎱`,rmoustache:`⎱`,rnmid:`⫮`,roang:`⟭`,roarr:`⇾`,robrk:`⟧`,ropar:`⦆`,Ropf:`ℝ`,ropf:`𝕣`,roplus:`⨮`,rotimes:`⨵`,RoundImplies:`⥰`,rpar:`)`,rpargt:`⦔`,rppolint:`⨒`,rrarr:`⇉`,Rrightarrow:`⇛`,rsaquo:`›`,Rscr:`ℛ`,rscr:`𝓇`,Rsh:`↱`,rsh:`↱`,rsqb:`]`,rsquo:`’`,rsquor:`’`,rthree:`⋌`,rtimes:`⋊`,rtri:`▹`,rtrie:`⊵`,rtrif:`▸`,rtriltri:`⧎`,RuleDelayed:`⧴`,ruluhar:`⥨`,rx:`℞`,Sacute:`Ś`,sacute:`ś`,sbquo:`‚`,Sc:`⪼`,sc:`≻`,scap:`⪸`,Scaron:`Š`,scaron:`š`,sccue:`≽`,scE:`⪴`,sce:`⪰`,Scedil:`Ş`,scedil:`ş`,Scirc:`Ŝ`,scirc:`ŝ`,scnap:`⪺`,scnE:`⪶`,scnsim:`⋩`,scpolint:`⨓`,scsim:`≿`,Scy:`С`,scy:`с`,sdot:`⋅`,sdotb:`⊡`,sdote:`⩦`,searhk:`⤥`,seArr:`⇘`,searr:`↘`,searrow:`↘`,sect:`§`,semi:`;`,seswar:`⤩`,setminus:`∖`,setmn:`∖`,sext:`✶`,Sfr:`𝔖`,sfr:`𝔰`,sfrown:`⌢`,sharp:`♯`,SHCHcy:`Щ`,shchcy:`щ`,SHcy:`Ш`,shcy:`ш`,ShortDownArrow:`↓`,ShortLeftArrow:`←`,shortmid:`∣`,shortparallel:`∥`,ShortRightArrow:`→`,ShortUpArrow:`↑`,shy:`­`,Sigma:`Σ`,sigma:`σ`,sigmaf:`ς`,sigmav:`ς`,sim:`∼`,simdot:`⩪`,sime:`≃`,simeq:`≃`,simg:`⪞`,simgE:`⪠`,siml:`⪝`,simlE:`⪟`,simne:`≆`,simplus:`⨤`,simrarr:`⥲`,slarr:`←`,SmallCircle:`∘`,smallsetminus:`∖`,smashp:`⨳`,smeparsl:`⧤`,smid:`∣`,smile:`⌣`,smt:`⪪`,smte:`⪬`,smtes:`⪬︀`,SOFTcy:`Ь`,softcy:`ь`,sol:`/`,solb:`⧄`,solbar:`⌿`,Sopf:`𝕊`,sopf:`𝕤`,spades:`♠`,spadesuit:`♠`,spar:`∥`,sqcap:`⊓`,sqcaps:`⊓︀`,sqcup:`⊔`,sqcups:`⊔︀`,Sqrt:`√`,sqsub:`⊏`,sqsube:`⊑`,sqsubset:`⊏`,sqsubseteq:`⊑`,sqsup:`⊐`,sqsupe:`⊒`,sqsupset:`⊐`,sqsupseteq:`⊒`,squ:`□`,Square:`□`,square:`□`,SquareIntersection:`⊓`,SquareSubset:`⊏`,SquareSubsetEqual:`⊑`,SquareSuperset:`⊐`,SquareSupersetEqual:`⊒`,SquareUnion:`⊔`,squarf:`▪`,squf:`▪`,srarr:`→`,Sscr:`𝒮`,sscr:`𝓈`,ssetmn:`∖`,ssmile:`⌣`,sstarf:`⋆`,Star:`⋆`,star:`☆`,starf:`★`,straightepsilon:`ϵ`,straightphi:`ϕ`,strns:`¯`,Sub:`⋐`,sub:`⊂`,subdot:`⪽`,subE:`⫅`,sube:`⊆`,subedot:`⫃`,submult:`⫁`,subnE:`⫋`,subne:`⊊`,subplus:`⪿`,subrarr:`⥹`,Subset:`⋐`,subset:`⊂`,subseteq:`⊆`,subseteqq:`⫅`,SubsetEqual:`⊆`,subsetneq:`⊊`,subsetneqq:`⫋`,subsim:`⫇`,subsub:`⫕`,subsup:`⫓`,succ:`≻`,succapprox:`⪸`,succcurlyeq:`≽`,Succeeds:`≻`,SucceedsEqual:`⪰`,SucceedsSlantEqual:`≽`,SucceedsTilde:`≿`,succeq:`⪰`,succnapprox:`⪺`,succneqq:`⪶`,succnsim:`⋩`,succsim:`≿`,SuchThat:`∋`,Sum:`∑`,sum:`∑`,sung:`♪`,Sup:`⋑`,sup:`⊃`,sup1:`¹`,sup2:`²`,sup3:`³`,supdot:`⪾`,supdsub:`⫘`,supE:`⫆`,supe:`⊇`,supedot:`⫄`,Superset:`⊃`,SupersetEqual:`⊇`,suphsol:`⟉`,suphsub:`⫗`,suplarr:`⥻`,supmult:`⫂`,supnE:`⫌`,supne:`⊋`,supplus:`⫀`,Supset:`⋑`,supset:`⊃`,supseteq:`⊇`,supseteqq:`⫆`,supsetneq:`⊋`,supsetneqq:`⫌`,supsim:`⫈`,supsub:`⫔`,supsup:`⫖`,swarhk:`⤦`,swArr:`⇙`,swarr:`↙`,swarrow:`↙`,swnwar:`⤪`,szlig:`ß`,Tab:`	`,target:`⌖`,Tau:`Τ`,tau:`τ`,tbrk:`⎴`,Tcaron:`Ť`,tcaron:`ť`,Tcedil:`Ţ`,tcedil:`ţ`,Tcy:`Т`,tcy:`т`,tdot:`⃛`,telrec:`⌕`,Tfr:`𝔗`,tfr:`𝔱`,there4:`∴`,Therefore:`∴`,therefore:`∴`,Theta:`Θ`,theta:`θ`,thetasym:`ϑ`,thetav:`ϑ`,thickapprox:`≈`,thicksim:`∼`,ThickSpace:`  `,thinsp:` `,ThinSpace:` `,thkap:`≈`,thksim:`∼`,THORN:`Þ`,thorn:`þ`,Tilde:`∼`,tilde:`˜`,TildeEqual:`≃`,TildeFullEqual:`≅`,TildeTilde:`≈`,times:`×`,timesb:`⊠`,timesbar:`⨱`,timesd:`⨰`,tint:`∭`,toea:`⤨`,top:`⊤`,topbot:`⌶`,topcir:`⫱`,Topf:`𝕋`,topf:`𝕥`,topfork:`⫚`,tosa:`⤩`,tprime:`‴`,TRADE:`™`,trade:`™`,triangle:`▵`,triangledown:`▿`,triangleleft:`◃`,trianglelefteq:`⊴`,triangleq:`≜`,triangleright:`▹`,trianglerighteq:`⊵`,tridot:`◬`,trie:`≜`,triminus:`⨺`,TripleDot:`⃛`,triplus:`⨹`,trisb:`⧍`,tritime:`⨻`,trpezium:`⏢`,Tscr:`𝒯`,tscr:`𝓉`,TScy:`Ц`,tscy:`ц`,TSHcy:`Ћ`,tshcy:`ћ`,Tstrok:`Ŧ`,tstrok:`ŧ`,twixt:`≬`,twoheadleftarrow:`↞`,twoheadrightarrow:`↠`,Uacute:`Ú`,uacute:`ú`,Uarr:`↟`,uArr:`⇑`,uarr:`↑`,Uarrocir:`⥉`,Ubrcy:`Ў`,ubrcy:`ў`,Ubreve:`Ŭ`,ubreve:`ŭ`,Ucirc:`Û`,ucirc:`û`,Ucy:`У`,ucy:`у`,udarr:`⇅`,Udblac:`Ű`,udblac:`ű`,udhar:`⥮`,ufisht:`⥾`,Ufr:`𝔘`,ufr:`𝔲`,Ugrave:`Ù`,ugrave:`ù`,uHar:`⥣`,uharl:`↿`,uharr:`↾`,uhblk:`▀`,ulcorn:`⌜`,ulcorner:`⌜`,ulcrop:`⌏`,ultri:`◸`,Umacr:`Ū`,umacr:`ū`,uml:`¨`,UnderBar:`_`,UnderBrace:`⏟`,UnderBracket:`⎵`,UnderParenthesis:`⏝`,Union:`⋃`,UnionPlus:`⊎`,Uogon:`Ų`,uogon:`ų`,Uopf:`𝕌`,uopf:`𝕦`,UpArrow:`↑`,Uparrow:`⇑`,uparrow:`↑`,UpArrowBar:`⤒`,UpArrowDownArrow:`⇅`,UpDownArrow:`↕`,Updownarrow:`⇕`,updownarrow:`↕`,UpEquilibrium:`⥮`,upharpoonleft:`↿`,upharpoonright:`↾`,uplus:`⊎`,UpperLeftArrow:`↖`,UpperRightArrow:`↗`,Upsi:`ϒ`,upsi:`υ`,upsih:`ϒ`,Upsilon:`Υ`,upsilon:`υ`,UpTee:`⊥`,UpTeeArrow:`↥`,upuparrows:`⇈`,urcorn:`⌝`,urcorner:`⌝`,urcrop:`⌎`,Uring:`Ů`,uring:`ů`,urtri:`◹`,Uscr:`𝒰`,uscr:`𝓊`,utdot:`⋰`,Utilde:`Ũ`,utilde:`ũ`,utri:`▵`,utrif:`▴`,uuarr:`⇈`,Uuml:`Ü`,uuml:`ü`,uwangle:`⦧`,vangrt:`⦜`,varepsilon:`ϵ`,varkappa:`ϰ`,varnothing:`∅`,varphi:`ϕ`,varpi:`ϖ`,varpropto:`∝`,vArr:`⇕`,varr:`↕`,varrho:`ϱ`,varsigma:`ς`,varsubsetneq:`⊊︀`,varsubsetneqq:`⫋︀`,varsupsetneq:`⊋︀`,varsupsetneqq:`⫌︀`,vartheta:`ϑ`,vartriangleleft:`⊲`,vartriangleright:`⊳`,Vbar:`⫫`,vBar:`⫨`,vBarv:`⫩`,Vcy:`В`,vcy:`в`,VDash:`⊫`,Vdash:`⊩`,vDash:`⊨`,vdash:`⊢`,Vdashl:`⫦`,Vee:`⋁`,vee:`∨`,veebar:`⊻`,veeeq:`≚`,vellip:`⋮`,Verbar:`‖`,verbar:`|`,Vert:`‖`,vert:`|`,VerticalBar:`∣`,VerticalLine:`|`,VerticalSeparator:`❘`,VerticalTilde:`≀`,VeryThinSpace:` `,Vfr:`𝔙`,vfr:`𝔳`,vltri:`⊲`,vnsub:`⊂⃒`,vnsup:`⊃⃒`,Vopf:`𝕍`,vopf:`𝕧`,vprop:`∝`,vrtri:`⊳`,Vscr:`𝒱`,vscr:`𝓋`,vsubnE:`⫋︀`,vsubne:`⊊︀`,vsupnE:`⫌︀`,vsupne:`⊋︀`,Vvdash:`⊪`,vzigzag:`⦚`,Wcirc:`Ŵ`,wcirc:`ŵ`,wedbar:`⩟`,Wedge:`⋀`,wedge:`∧`,wedgeq:`≙`,weierp:`℘`,Wfr:`𝔚`,wfr:`𝔴`,Wopf:`𝕎`,wopf:`𝕨`,wp:`℘`,wr:`≀`,wreath:`≀`,Wscr:`𝒲`,wscr:`𝓌`,xcap:`⋂`,xcirc:`◯`,xcup:`⋃`,xdtri:`▽`,Xfr:`𝔛`,xfr:`𝔵`,xhArr:`⟺`,xharr:`⟷`,Xi:`Ξ`,xi:`ξ`,xlArr:`⟸`,xlarr:`⟵`,xmap:`⟼`,xnis:`⋻`,xodot:`⨀`,Xopf:`𝕏`,xopf:`𝕩`,xoplus:`⨁`,xotime:`⨂`,xrArr:`⟹`,xrarr:`⟶`,Xscr:`𝒳`,xscr:`𝓍`,xsqcup:`⨆`,xuplus:`⨄`,xutri:`△`,xvee:`⋁`,xwedge:`⋀`,Yacute:`Ý`,yacute:`ý`,YAcy:`Я`,yacy:`я`,Ycirc:`Ŷ`,ycirc:`ŷ`,Ycy:`Ы`,ycy:`ы`,yen:`¥`,Yfr:`𝔜`,yfr:`𝔶`,YIcy:`Ї`,yicy:`ї`,Yopf:`𝕐`,yopf:`𝕪`,Yscr:`𝒴`,yscr:`𝓎`,YUcy:`Ю`,yucy:`ю`,Yuml:`Ÿ`,yuml:`ÿ`,Zacute:`Ź`,zacute:`ź`,Zcaron:`Ž`,zcaron:`ž`,Zcy:`З`,zcy:`з`,Zdot:`Ż`,zdot:`ż`,zeetrf:`ℨ`,ZeroWidthSpace:`​`,Zeta:`Ζ`,zeta:`ζ`,Zfr:`ℨ`,zfr:`𝔷`,ZHcy:`Ж`,zhcy:`ж`,zigrarr:`⇝`,Zopf:`ℤ`,zopf:`𝕫`,Zscr:`𝒵`,zscr:`𝓏`,zwj:`‍`,zwnj:`‌`}),e.entityMap=e.HTML_ENTITIES})),Cr=e.t((e=>{var t=vr(),n=br(),r=yr(),a=t.isHTMLEscapableRawTextElement,o=t.isHTMLMimeType,s=t.isHTMLRawTextElement,c=t.hasOwn,l=t.NAMESPACE,u=r.ParseError,d=r.DOMException,f=0,p=1,m=2,h=3,g=4,_=5,v=6,y=7;function b(){}b.prototype={parse:function(e,t,n){var r=this.domBuilder;r.startDocument(),D(t,t=Object.create(null)),S(e,t,n,r,this.errorHandler),r.endDocument()}};var x=/&#?\w+;?/g;function S(e,r,a,s,l){var f=o(s.mimeType);e.indexOf(n.UNICODE_REPLACEMENT_CHARACTER)>=0&&l.warning(`Unicode replacement character detected, source encoding issues?`);function p(e){if(e>65535){e-=65536;var t=55296+(e>>10),n=56320+(e&1023);return String.fromCharCode(t,n)}else return String.fromCharCode(e)}function m(e){var t=e[e.length-1]===`;`?e:e+`;`;if(!f&&t!==e)return l.error(`EntityRef: expecting ;`),e;var r=n.Reference.exec(t);if(!r||r[0].length!==t.length)return l.error(`entity not matching Reference production: `+e),e;var o=t.slice(1,-1);return c(a,o)?a[o]:o.charAt(0)===`#`?p(parseInt(o.substring(1).replace(`x`,`0x`))):(l.error(`entity not found:`+e),e)}function h(t){if(t>O){var n=e.substring(O,t).replace(x,m);y&&b(O),s.characters(n,0,t-O),O=t}}var g=0,_=0,v=/\r\n?|\n|$/g,y=s.locator;function b(t,n){for(;t>=_&&(n=v.exec(e));)g=_,_=n.index+n[0].length,y.lineNumber++;y.columnNumber=t-g+1}for(var S=[{currentNSMap:r}],D=[],O=0;;){try{var k=e.indexOf(`<`,O);if(k<0){if(!f&&D.length>0)return l.fatalError(`unclosed xml tag(s): `+D.join(`, `));if(!e.substring(O).match(/^\s*$/)){var N=s.doc,P=N.createTextNode(e.substring(O));if(N.documentElement)return l.error(`Extra content at the end of the document`);N.appendChild(P),s.currentElement=P}return}if(k>O){var F=e.substring(O,k);!f&&D.length===0&&(F=F.replace(new RegExp(n.S_OPT.source,`g`),``),F&&l.error(`Unexpected content outside root element: '`+F+`'`)),h(k)}switch(e.charAt(k+1)){case`/`:var I=e.indexOf(`>`,k+2),L=e.substring(k+2,I>0?I:void 0);if(!L)return l.fatalError(`end tag name missing`);var R=I>0&&n.reg(`^`,n.QName_group,n.S_OPT,`$`).exec(L);if(!R)return l.fatalError(`end tag name contains invalid characters: "`+L+`"`);if(!s.currentElement&&!s.doc.documentElement)return;var z=D[D.length-1]||s.currentElement.tagName||s.doc.documentElement.tagName||``;if(z!==R[1]){var B=R[1].toLowerCase();if(!f||z.toLowerCase()!==B)return l.fatalError(`Opening and ending tag mismatch: "`+z+`" != "`+L+`"`)}var V=S.pop();D.pop();var H=V.localNSMap;if(s.endElement(V.uri,V.localName,z),H)for(var U in H)c(H,U)&&s.endPrefixMapping(U);I++;break;case`?`:y&&b(k),I=j(e,k,s,l);break;case`!`:y&&b(k),I=A(e,k,s,l,f);break;default:y&&b(k);var W=new M,ee=S[S.length-1].currentNSMap,I=w(e,k,W,ee,m,l,f),G=W.length;if(W.closed||(f&&t.isHTMLVoidElement(W.tagName)?W.closed=!0:D.push(W.tagName)),y&&G){for(var te=C(y,{}),ne=0;ne<G;ne++){var re=W[ne];b(re.offset),re.locator=C(y,{})}s.locator=te,T(W,s,ee)&&S.push(W),s.locator=y}else T(W,s,ee)&&S.push(W);f&&!W.closed?I=E(e,I,W.tagName,m,s):I++}}catch(e){if(e instanceof u)throw e;if(e instanceof d)throw new u(e.name+`: `+e.message,s.locator,e);l.error(`element parse error: `+e),I=-1}I>O?O=I:h(Math.max(k,O)+1)}}function C(e,t){return t.lineNumber=e.lineNumber,t.columnNumber=e.columnNumber,t}function w(e,t,n,r,a,o,s){function l(e,t,r){if(c(n.attributeNames,e))return o.fatalError(`Attribute `+e+` redefined`);if(!s&&t.indexOf(`<`)>=0)return o.fatalError(`Unescaped '<' not allowed in attributes values`);n.addValue(e,t.replace(/[\t\n\r]/g,` `).replace(x,a),r)}for(var u,d,b=++t,S=f;;){var C=e.charAt(b);switch(C){case`=`:if(S===p)u=e.slice(t,b),S=h;else if(S===m)S=h;else throw Error(`attribute equal must after attrName`);break;case`'`:case`"`:if(S===h||S===p)if(S===p&&(o.warning(`attribute value must after "="`),u=e.slice(t,b)),t=b+1,b=e.indexOf(C,t),b>0)d=e.slice(t,b),l(u,d,t-1),S=_;else throw Error(`attribute value no end '`+C+`' match`);else if(S==g)d=e.slice(t,b),l(u,d,t),o.warning(`attribute "`+u+`" missed start quot(`+C+`)!!`),t=b+1,S=_;else throw Error(`attribute value must after "="`);break;case`/`:switch(S){case f:n.setTagName(e.slice(t,b));case _:case v:case y:S=y,n.closed=!0;case g:case p:break;case m:n.closed=!0;break;default:throw Error(`attribute invalid close char('/')`)}break;case``:return o.error(`unexpected end of input`),S==f&&n.setTagName(e.slice(t,b)),b;case`>`:switch(S){case f:n.setTagName(e.slice(t,b));case _:case v:case y:break;case g:case p:d=e.slice(t,b),d.slice(-1)===`/`&&(n.closed=!0,d=d.slice(0,-1));case m:S===m&&(d=u),S==g?(o.warning(`attribute "`+d+`" missed quot(")!`),l(u,d,t)):(s||o.warning(`attribute "`+d+`" missed value!! "`+d+`" instead!!`),l(d,d,t));break;case h:if(!s)return o.fatalError(`AttValue: ' or " expected`)}return b;case`€`:C=` `;default:if(C<=` `)switch(S){case f:n.setTagName(e.slice(t,b)),S=v;break;case p:u=e.slice(t,b),S=m;break;case g:var d=e.slice(t,b);o.warning(`attribute "`+d+`" missed quot(")!!`),l(u,d,t);case _:S=v;break}else switch(S){case m:s||o.warning(`attribute "`+u+`" missed value!! "`+u+`" instead2!!`),l(u,u,t),t=b,S=p;break;case _:o.warning(`attribute space is required"`+u+`"!!`);case v:S=p,t=b;break;case h:S=g,t=b;break;case y:throw Error(`elements closed character '/' and '>' must be connected to`)}}b++}}function T(e,t,n){for(var r=e.tagName,a=null,o=e.length;o--;){var s=e[o],u=s.qName,d=s.value,f=u.indexOf(`:`);if(f>0)var p=s.prefix=u.slice(0,f),m=u.slice(f+1),h=p===`xmlns`&&m;else m=u,p=null,h=u===`xmlns`&&``;s.localName=m,h!==!1&&(a??(a=Object.create(null),D(n,n=Object.create(null))),n[h]=a[h]=d,s.uri=l.XMLNS,t.startPrefixMapping(h,d))}for(var o=e.length;o--;)s=e[o],s.prefix&&(s.prefix===`xml`&&(s.uri=l.XML),s.prefix!==`xmlns`&&(s.uri=n[s.prefix]));var f=r.indexOf(`:`);f>0?(p=e.prefix=r.slice(0,f),m=e.localName=r.slice(f+1)):(p=null,m=e.localName=r);var g=e.uri=n[p||``];if(t.startElement(g,m,r,e),e.closed){if(t.endElement(g,m,r),a)for(p in a)c(a,p)&&t.endPrefixMapping(p)}else return e.currentNSMap=n,e.localNSMap=a,!0}function E(e,t,n,r,o){var c=a(n);if(c||s(n)){var l=e.indexOf(`</`+n+`>`,t),u=e.substring(t+1,l);return c&&(u=u.replace(x,r)),o.characters(u,0,u.length),l}return t+1}function D(e,t){for(var n in e)c(e,n)&&(t[n]=e[n])}function O(e,t){var r=t;function a(t){return t||=0,e.charAt(r+t)}function o(e){e||=1,r+=e}function s(){for(var t=0;r<e.length;){var n=a();if(n!==` `&&n!==`
`&&n!==`	`&&n!==`\r`)return t;t++,o()}return-1}function c(){return e.substring(r)}function l(t){return e.substring(r,r+t.length)===t}function u(t){return e.substring(r,r+t.length).toUpperCase()===t.toUpperCase()}function d(e){var t=n.reg(`^`,e).exec(c());return t?(o(t[0].length),t[0]):null}return{char:a,getIndex:function(){return r},getMatch:d,getSource:function(){return e},skip:o,skipBlanks:s,substringFromIndex:c,substringStartsWith:l,substringStartsWithCaseInsensitive:u}}function k(e,t){function r(e,t){var r=n.PI.exec(e.substringFromIndex());return r?r[1].toLowerCase()===`xml`?t.fatalError(`xml declaration is only allowed at the start of the document, but found at position `+e.getIndex()):(e.skip(r[0].length),r[0]):t.fatalError(`processing instruction is not well-formed at position `+e.getIndex())}var a=e.getSource();if(e.char()===`[`){e.skip(1);for(var o=e.getIndex();e.getIndex()<a.length;){if(e.skipBlanks(),e.char()===`]`){var s=a.substring(o,e.getIndex());return e.skip(1),s}var c=null;if(e.char()===`<`&&e.char(1)===`!`)switch(e.char(2)){case`E`:e.char(3)===`L`?c=e.getMatch(n.elementdecl):e.char(3)===`N`&&(c=e.getMatch(n.EntityDecl));break;case`A`:c=e.getMatch(n.AttlistDecl);break;case`N`:c=e.getMatch(n.NotationDecl);break;case`-`:c=e.getMatch(n.Comment);break}else if(e.char()===`<`&&e.char(1)===`?`)c=r(e,t);else if(e.char()===`%`)c=e.getMatch(n.PEReference);else return t.fatalError(`Error detected in Markup declaration`);if(!c)return t.fatalError(`Error in internal subset at position `+e.getIndex())}return t.fatalError(`doctype internal subset is not well-formed, missing ]`)}}function A(e,t,r,a,o){var s=O(e,t);switch(o?s.char(2).toUpperCase():s.char(2)){case`-`:var c=s.getMatch(n.Comment);return c?(r.comment(c,n.COMMENT_START.length,c.length-n.COMMENT_START.length-n.COMMENT_END.length),s.getIndex()):a.fatalError(`comment is not well-formed at position `+s.getIndex());case`[`:var l=s.getMatch(n.CDSect);return l?!o&&!r.currentElement?a.fatalError(`CDATA outside of element`):(r.startCDATA(),r.characters(l,n.CDATA_START.length,l.length-n.CDATA_START.length-n.CDATA_END.length),r.endCDATA(),s.getIndex()):a.fatalError(`Invalid CDATA starting at position `+t);case`D`:if(r.doc&&r.doc.documentElement)return a.fatalError(`Doctype not allowed inside or after documentElement at position `+s.getIndex());if(o?!s.substringStartsWithCaseInsensitive(n.DOCTYPE_DECL_START):!s.substringStartsWith(n.DOCTYPE_DECL_START))return a.fatalError(`Expected `+n.DOCTYPE_DECL_START+` at position `+s.getIndex());if(s.skip(n.DOCTYPE_DECL_START.length),s.skipBlanks()<1)return a.fatalError(`Expected whitespace after `+n.DOCTYPE_DECL_START+` at position `+s.getIndex());var u={name:void 0,publicId:void 0,systemId:void 0,internalSubset:void 0};if(u.name=s.getMatch(n.Name),!u.name)return a.fatalError(`doctype name missing or contains unexpected characters at position `+s.getIndex());if(o&&u.name.toLowerCase()!==`html`&&a.warning(`Unexpected DOCTYPE in HTML document at position `+s.getIndex()),s.skipBlanks(),s.substringStartsWith(n.PUBLIC)||s.substringStartsWith(n.SYSTEM)){var d=n.ExternalID_match.exec(s.substringFromIndex());if(!d)return a.fatalError(`doctype external id is not well-formed at position `+s.getIndex());d.groups.SystemLiteralOnly===void 0?(u.systemId=d.groups.SystemLiteral,u.publicId=d.groups.PubidLiteral):u.systemId=d.groups.SystemLiteralOnly,s.skip(d[0].length)}else if(o&&s.substringStartsWithCaseInsensitive(n.SYSTEM)){if(s.skip(n.SYSTEM.length),s.skipBlanks()<1)return a.fatalError(`Expected whitespace after `+n.SYSTEM+` at position `+s.getIndex());if(u.systemId=s.getMatch(n.ABOUT_LEGACY_COMPAT_SystemLiteral),!u.systemId)return a.fatalError(`Expected `+n.ABOUT_LEGACY_COMPAT+` in single or double quotes after `+n.SYSTEM+` at position `+s.getIndex())}return o&&u.systemId&&!n.ABOUT_LEGACY_COMPAT_SystemLiteral.test(u.systemId)&&a.warning(`Unexpected doctype.systemId in HTML document at position `+s.getIndex()),o||(s.skipBlanks(),u.internalSubset=k(s,a)),s.skipBlanks(),s.char()===`>`?(s.skip(1),r.startDTD(u.name,u.publicId,u.systemId,u.internalSubset),r.endDTD(),s.getIndex()):a.fatalError(`doctype not terminated with > at position `+s.getIndex());default:return a.fatalError(`Not well-formed XML starting with "<!" at position `+t)}}function j(e,t,r,a){var o=e.substring(t).match(n.PI);if(!o)return a.fatalError(`Invalid processing instruction starting at position `+t);if(o[1].toLowerCase()===`xml`){if(t>0)return a.fatalError(`processing instruction at position `+t+` is an xml declaration which is only at the start of the document`);if(!n.XMLDecl.test(e.substring(t)))return a.fatalError(`xml declaration is not well-formed`)}return r.processingInstruction(o[1],o[2]),t+o[0].length}function M(){this.attributeNames=Object.create(null)}M.prototype={setTagName:function(e){if(!n.QName_exact.test(e))throw Error(`invalid tagName:`+e);this.tagName=e},addValue:function(e,t,r){if(!n.QName_exact.test(e))throw Error(`invalid attribute:`+e);this.attributeNames[e]=this.length,this[this.length++]={qName:e,value:t,offset:r}},length:0,getLocalName:function(e){return this[e].localName},getLocator:function(e){return this[e].locator},getQName:function(e){return this[e].qName},getURI:function(e){return this[e].uri},getValue:function(e){return this[e].value}},e.XMLReader=b,e.parseUtils=O,e.parseDoctypeCommentOrCData=A})),wr=e.t((e=>{var t=vr(),n=xr(),r=yr(),a=Sr(),o=Cr(),s=n.DOMImplementation,c=t.hasDefaultHTMLNamespace,l=t.isHTMLMimeType,u=t.isValidMimeType,d=t.MIME_TYPE,f=t.NAMESPACE,p=r.ParseError,m=o.XMLReader;function h(e){return e.replace(/\r[\n\u0085]/g,`
`).replace(/[\r\u0085\u2028\u2029]/g,`
`)}function g(e){if(e||={},e.locator===void 0&&(e.locator=!0),this.assign=e.assign||t.assign,this.domHandler=e.domHandler||_,this.onError=e.onError||e.errorHandler,e.errorHandler&&typeof e.errorHandler!=`function`)throw TypeError(`errorHandler object is no longer supported, switch to onError!`);e.errorHandler&&e.errorHandler(`warning`,"The `errorHandler` option has been deprecated, use `onError` instead!",this),this.normalizeLineEndings=e.normalizeLineEndings||h,this.locator=!!e.locator,this.xmlns=this.assign(Object.create(null),e.xmlns)}g.prototype.parseFromString=function(e,n){if(!u(n))throw TypeError(`DOMParser.parseFromString: the provided mimeType "`+n+`" is not valid.`);var r=this.assign(Object.create(null),this.xmlns),o=a.XML_ENTITIES,s=r[``]||null;c(n)?(o=a.HTML_ENTITIES,s=f.HTML):n===d.XML_SVG_IMAGE&&(s=f.SVG),r[``]=s,r.xml=r.xml||f.XML;var l=new this.domHandler({mimeType:n,defaultNamespace:s,onError:this.onError}),p=this.locator?{}:void 0;this.locator&&l.setDocumentLocator(p);var h=new m;return h.errorHandler=l,h.domBuilder=l,!t.isHTMLMimeType(n)&&typeof e!=`string`&&h.errorHandler.fatalError(`source is not a string`),h.parse(this.normalizeLineEndings(String(e)),r,o),l.doc.documentElement||h.errorHandler.fatalError(`missing root element`),l.doc};function _(e){var t=e||{};this.mimeType=t.mimeType||d.XML_APPLICATION,this.defaultNamespace=t.defaultNamespace||null,this.cdata=!1,this.currentElement=void 0,this.doc=void 0,this.locator=void 0,this.onError=t.onError}function v(e,t){t.lineNumber=e.lineNumber,t.columnNumber=e.columnNumber}_.prototype={startDocument:function(){var e=new s;this.doc=l(this.mimeType)?e.createHTMLDocument(!1):e.createDocument(this.defaultNamespace,``)},startElement:function(e,t,n,r){var a=this.doc,o=a.createElementNS(e,n||t),s=r.length;x(this,o),this.currentElement=o,this.locator&&v(this.locator,o);for(var c=0;c<s;c++){var e=r.getURI(c),l=r.getValue(c),n=r.getQName(c),u=a.createAttributeNS(e,n);this.locator&&v(r.getLocator(c),u),u.value=u.nodeValue=l,o.setAttributeNode(u)}},endElement:function(e,t,n){this.currentElement=this.currentElement.parentNode},startPrefixMapping:function(e,t){},endPrefixMapping:function(e){},processingInstruction:function(e,t){var n=this.doc.createProcessingInstruction(e,t);this.locator&&v(this.locator,n),x(this,n)},ignorableWhitespace:function(e,t,n){},characters:function(e,t,n){if(e=b.apply(this,arguments),e){if(this.cdata)var r=this.doc.createCDATASection(e);else var r=this.doc.createTextNode(e);this.currentElement?this.currentElement.appendChild(r):/^\s*$/.test(e)&&this.doc.appendChild(r),this.locator&&v(this.locator,r)}},skippedEntity:function(e){},endDocument:function(){this.doc.normalize()},setDocumentLocator:function(e){e&&(e.lineNumber=0),this.locator=e},comment:function(e,t,n){e=b.apply(this,arguments);var r=this.doc.createComment(e);this.locator&&v(this.locator,r),x(this,r)},startCDATA:function(){this.cdata=!0},endCDATA:function(){this.cdata=!1},startDTD:function(e,t,n,r){var a=this.doc.implementation;if(a&&a.createDocumentType){var o=a.createDocumentType(e,t,n,r);this.locator&&v(this.locator,o),x(this,o),this.doc.doctype=o}},reportError:function(e,t){if(typeof this.onError==`function`)try{this.onError(e,t,this)}catch(n){throw new p(`Reporting `+e+` "`+t+`" caused `+n,this.locator)}else console.error(`[xmldom `+e+`]	`+t,y(this.locator))},warning:function(e){this.reportError(`warning`,e)},error:function(e){this.reportError(`error`,e)},fatalError:function(e){throw this.reportError(`fatalError`,e),new p(e,this.locator)}};function y(e){if(e)return`
@#[line:`+e.lineNumber+`,col:`+e.columnNumber+`]`}function b(e,t,n){return typeof e==`string`?e.substr(t,n):e.length>=t+n||t?new java.lang.String(e,t,n)+``:e}`endDTD,startEntity,endEntity,attributeDecl,elementDecl,externalEntityDecl,internalEntityDecl,resolveEntity,getExternalSubset,notationDecl,unparsedEntityDecl`.replace(/\w+/g,function(e){_.prototype[e]=function(){return null}});function x(e,t){e.currentElement?e.currentElement.appendChild(t):e.doc.appendChild(t)}function S(e){if(e===`error`)throw`onErrorStopParsing`}function C(){throw`onWarningStopParsing`}e.__DOMHandler=_,e.DOMParser=g,e.normalizeLineEndings=h,e.onErrorStopParsing=S,e.onWarningStopParsing=C})),Tr=e.t((e=>{var t=vr();e.assign=t.assign,e.hasDefaultHTMLNamespace=t.hasDefaultHTMLNamespace,e.isHTMLMimeType=t.isHTMLMimeType,e.isValidMimeType=t.isValidMimeType,e.MIME_TYPE=t.MIME_TYPE,e.NAMESPACE=t.NAMESPACE;var n=yr();e.DOMException=n.DOMException,e.DOMExceptionName=n.DOMExceptionName,e.ExceptionCode=n.ExceptionCode,e.ParseError=n.ParseError;var r=xr();e.Attr=r.Attr,e.CDATASection=r.CDATASection,e.CharacterData=r.CharacterData,e.Comment=r.Comment,e.Document=r.Document,e.DocumentFragment=r.DocumentFragment,e.DocumentType=r.DocumentType,e.DOMImplementation=r.DOMImplementation,e.Element=r.Element,e.Entity=r.Entity,e.EntityReference=r.EntityReference,e.LiveNodeList=r.LiveNodeList,e.NamedNodeMap=r.NamedNodeMap,e.Node=r.Node,e.NodeList=r.NodeList,e.Notation=r.Notation,e.ProcessingInstruction=r.ProcessingInstruction,e.Text=r.Text,e.XMLSerializer=r.XMLSerializer;var a=wr();e.DOMParser=a.DOMParser,e.normalizeLineEndings=a.normalizeLineEndings,e.onErrorStopParsing=a.onErrorStopParsing,e.onWarningStopParsing=a.onWarningStopParsing})),Er=e.t((e=>{let{DOMParser:t}=Tr();e.parse=l;var n=3,r=4,a=8;function o(e){return e.nodeType===n||e.nodeType===a||e.nodeType===r}function s(e){return!e.childNodes||e.childNodes.length===0}function c(e,t){if(!e)throw Error(t)}function l(e){var n=new t().parseFromString(e,`text/xml`);c(n.documentElement.nodeName===`plist`,`malformed document. First element should be <plist>`);var r=u(n.documentElement);return r.length==1&&(r=r[0]),r}function u(e){var t,a,l,d,f,p,m;if(!e)return null;if(e.nodeName===`plist`){if(d=[],s(e))return d;for(t=0;t<e.childNodes.length;t++)o(e.childNodes[t])||d.push(u(e.childNodes[t]));return d}else if(e.nodeName===`dict`){if(a={},l=null,p=0,s(e))return a;for(t=0;t<e.childNodes.length;t++)o(e.childNodes[t])||(p%2==0?(c(e.childNodes[t].nodeName===`key`,`Missing key while parsing <dict/>.`),l=u(e.childNodes[t])):(c(e.childNodes[t].nodeName!==`key`,`Unexpected key "`+u(e.childNodes[t])+`" while parsing <dict/>.`),a[l]=u(e.childNodes[t])),p+=1);return p%2==1&&(a[l]=``),a}else if(e.nodeName===`array`){if(d=[],s(e))return d;for(t=0;t<e.childNodes.length;t++)o(e.childNodes[t])||(f=u(e.childNodes[t]),f!=null&&d.push(f));return d}else if(e.nodeName!==`#text`){if(e.nodeName===`key`)return s(e)?``:(c(e.childNodes[0].nodeValue!==`__proto__`,`__proto__ keys can lead to prototype pollution. More details on CVE-2022-22912`),e.childNodes[0].nodeValue);if(e.nodeName===`string`){if(f=``,s(e))return f;for(t=0;t<e.childNodes.length;t++){var m=e.childNodes[t].nodeType;(m===n||m===r)&&(f+=e.childNodes[t].nodeValue)}return f}else if(e.nodeName===`integer`)return c(!s(e),`Cannot parse "" as integer.`),parseInt(e.childNodes[0].nodeValue,10);else if(e.nodeName===`real`){for(c(!s(e),`Cannot parse "" as real.`),f=``,t=0;t<e.childNodes.length;t++)e.childNodes[t].nodeType===n&&(f+=e.childNodes[t].nodeValue);return parseFloat(f)}else if(e.nodeName===`data`){if(f=``,s(e))return Buffer.from(f,`base64`);for(t=0;t<e.childNodes.length;t++)e.childNodes[t].nodeType===n&&(f+=e.childNodes[t].nodeValue.replace(/\s+/g,``));return Buffer.from(f,`base64`)}else if(e.nodeName===`date`)return c(!s(e),`Cannot parse "" as Date.`),new Date(e.childNodes[0].nodeValue);else if(e.nodeName===`null`)return null;else if(e.nodeName===`true`)return!0;else if(e.nodeName===`false`)return!1;else throw Error(`Invalid PLIST tag `+e.nodeName)}}})),Dr=e.t((e=>{e.byteLength=l,e.toByteArray=d,e.fromByteArray=m;for(var t=[],n=[],r=typeof Uint8Array<`u`?Uint8Array:Array,a=`ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/`,o=0,s=a.length;o<s;++o)t[o]=a[o],n[a.charCodeAt(o)]=o;n[45]=62,n[95]=63;function c(e){var t=e.length;if(t%4>0)throw Error(`Invalid string. Length must be a multiple of 4`);var n=e.indexOf(`=`);n===-1&&(n=t);var r=n===t?0:4-n%4;return[n,r]}function l(e){var t=c(e),n=t[0],r=t[1];return(n+r)*3/4-r}function u(e,t,n){return(t+n)*3/4-n}function d(e){var t,a=c(e),o=a[0],s=a[1],l=new r(u(e,o,s)),d=0,f=s>0?o-4:o,p;for(p=0;p<f;p+=4)t=n[e.charCodeAt(p)]<<18|n[e.charCodeAt(p+1)]<<12|n[e.charCodeAt(p+2)]<<6|n[e.charCodeAt(p+3)],l[d++]=t>>16&255,l[d++]=t>>8&255,l[d++]=t&255;return s===2&&(t=n[e.charCodeAt(p)]<<2|n[e.charCodeAt(p+1)]>>4,l[d++]=t&255),s===1&&(t=n[e.charCodeAt(p)]<<10|n[e.charCodeAt(p+1)]<<4|n[e.charCodeAt(p+2)]>>2,l[d++]=t>>8&255,l[d++]=t&255),l}function f(e){return t[e>>18&63]+t[e>>12&63]+t[e>>6&63]+t[e&63]}function p(e,t,n){for(var r,a=[],o=t;o<n;o+=3)r=(e[o]<<16&16711680)+(e[o+1]<<8&65280)+(e[o+2]&255),a.push(f(r));return a.join(``)}function m(e){for(var n,r=e.length,a=r%3,o=[],s=16383,c=0,l=r-a;c<l;c+=s)o.push(p(e,c,c+s>l?l:c+s));return a===1?(n=e[r-1],o.push(t[n>>2]+t[n<<4&63]+`==`)):a===2&&(n=(e[r-2]<<8)+e[r-1],o.push(t[n>>10]+t[n>>4&63]+t[n<<2&63]+`=`)),o.join(``)}})),Or=e.t(((e,t)=>{(function(){var e,n,r,a,o,s,c,l={}.hasOwnProperty;e=function(e,...t){var n,r,a,s;if(o(Object.assign))Object.assign.apply(null,arguments);else for(n=0,a=t.length;n<a;n++)if(s=t[n],s!=null)for(r in s)l.call(s,r)&&(e[r]=s[r]);return e},o=function(e){return!!e&&Object.prototype.toString.call(e)===`[object Function]`},s=function(e){var t;return!!e&&((t=typeof e)==`function`||t===`object`)},r=function(e){return o(Array.isArray)?Array.isArray(e):Object.prototype.toString.call(e)===`[object Array]`},a=function(e){var t;if(r(e))return!e.length;for(t in e)if(l.call(e,t))return!1;return!0},c=function(e){var t,n;return s(e)&&(n=Object.getPrototypeOf(e))&&(t=n.constructor)&&typeof t==`function`&&t instanceof t&&Function.prototype.toString.call(t)===Function.prototype.toString.call(Object)},n=function(e){return o(e.valueOf)?e.valueOf():e},t.exports.assign=e,t.exports.isFunction=o,t.exports.isObject=s,t.exports.isArray=r,t.exports.isEmpty=a,t.exports.isPlainObject=c,t.exports.getValue=n}).call(e)})),kr=e.t(((e,t)=>{(function(){t.exports=class{hasFeature(e,t){return!0}createDocumentType(e,t,n){throw Error(`This DOM method is not implemented.`)}createDocument(e,t,n){throw Error(`This DOM method is not implemented.`)}createHTMLDocument(e){throw Error(`This DOM method is not implemented.`)}getFeature(e,t){throw Error(`This DOM method is not implemented.`)}}}).call(e)})),Ar=e.t(((e,t)=>{(function(){t.exports=class{constructor(){}handleError(e){throw Error(e)}}}).call(e)})),jr=e.t(((e,t)=>{(function(){t.exports=(function(){class e{constructor(e){this.arr=e||[]}item(e){return this.arr[e]||null}contains(e){return this.arr.indexOf(e)!==-1}}return Object.defineProperty(e.prototype,`length`,{get:function(){return this.arr.length}}),e}).call(this)}).call(e)})),Mr=e.t(((e,t)=>{(function(){var e=Ar(),n=jr();t.exports=(function(){class t{constructor(){this.defaultParams={"canonical-form":!1,"cdata-sections":!1,comments:!1,"datatype-normalization":!1,"element-content-whitespace":!0,entities:!0,"error-handler":new e,infoset:!0,"validate-if-schema":!1,namespaces:!0,"namespace-declarations":!0,"normalize-characters":!1,"schema-location":``,"schema-type":``,"split-cdata-sections":!0,validate:!1,"well-formed":!0},this.params=Object.create(this.defaultParams)}getParameter(e){return this.params.hasOwnProperty(e)?this.params[e]:null}canSetParameter(e,t){return!0}setParameter(e,t){return t==null?delete this.params[e]:this.params[e]=t}}return Object.defineProperty(t.prototype,`parameterNames`,{get:function(){return new n(Object.keys(this.defaultParams))}}),t}).call(this)}).call(e)})),Nr=e.t(((e,t)=>{(function(){t.exports={Element:1,Attribute:2,Text:3,CData:4,EntityReference:5,EntityDeclaration:6,ProcessingInstruction:7,Comment:8,Document:9,DocType:10,DocumentFragment:11,NotationDeclaration:12,Declaration:201,Raw:202,AttributeDeclaration:203,ElementDeclaration:204,Dummy:205}}).call(e)})),Pr=e.t(((e,t)=>{(function(){var e=Nr();Qr(),t.exports=(function(){class t{constructor(t,n,r){if(this.parent=t,this.parent&&(this.options=this.parent.options,this.stringify=this.parent.stringify),n==null)throw Error(`Missing attribute name. `+this.debugInfo(n));this.name=this.stringify.name(n),this.value=this.stringify.attValue(r),this.type=e.Attribute,this.isId=!1,this.schemaTypeInfo=null}clone(){return Object.create(this)}toString(e){return this.options.writer.attribute(this,this.options.writer.filterOptions(e))}debugInfo(e){return e||=this.name,e==null?`parent: <`+this.parent.name+`>`:`attribute: {`+e+`}, parent: <`+this.parent.name+`>`}isEqualNode(e){return!(e.namespaceURI!==this.namespaceURI||e.prefix!==this.prefix||e.localName!==this.localName||e.value!==this.value)}}return Object.defineProperty(t.prototype,`nodeType`,{get:function(){return this.type}}),Object.defineProperty(t.prototype,`ownerElement`,{get:function(){return this.parent}}),Object.defineProperty(t.prototype,`textContent`,{get:function(){return this.value},set:function(e){return this.value=e||``}}),Object.defineProperty(t.prototype,`namespaceURI`,{get:function(){return``}}),Object.defineProperty(t.prototype,`prefix`,{get:function(){return``}}),Object.defineProperty(t.prototype,`localName`,{get:function(){return this.name}}),Object.defineProperty(t.prototype,`specified`,{get:function(){return!0}}),t}).call(this)}).call(e)})),Fr=e.t(((e,t)=>{(function(){t.exports=(function(){class e{constructor(e){this.nodes=e}clone(){return this.nodes=null}getNamedItem(e){return this.nodes[e]}setNamedItem(e){var t=this.nodes[e.nodeName];return this.nodes[e.nodeName]=e,t||null}removeNamedItem(e){var t=this.nodes[e];return delete this.nodes[e],t||null}item(e){return this.nodes[Object.keys(this.nodes)[e]]||null}getNamedItemNS(e,t){throw Error(`This DOM method is not implemented.`)}setNamedItemNS(e){throw Error(`This DOM method is not implemented.`)}removeNamedItemNS(e,t){throw Error(`This DOM method is not implemented.`)}}return Object.defineProperty(e.prototype,`length`,{get:function(){return Object.keys(this.nodes).length||0}}),e}).call(this)}).call(e)})),Ir=e.t(((e,t)=>{(function(){var e,n,r,a,o,s,c,l={}.hasOwnProperty;({isObject:c,isFunction:s,getValue:o}=Or()),a=Qr(),e=Nr(),n=Pr(),r=Fr(),t.exports=(function(){class t extends a{constructor(t,n,r){var a,o,s,c;if(super(t),n==null)throw Error(`Missing element name. `+this.debugInfo());if(this.name=this.stringify.name(n),this.type=e.Element,this.attribs={},this.schemaTypeInfo=null,r!=null&&this.attribute(r),t.type===e.Document&&(this.isRoot=!0,this.documentObject=t,t.rootObject=this,t.children)){for(c=t.children,o=0,s=c.length;o<s;o++)if(a=c[o],a.type===e.DocType){a.name=this.name;break}}}clone(){var e,t,n=Object.create(this),r;for(t in n.isRoot&&(n.documentObject=null),n.attribs={},r=this.attribs,r)l.call(r,t)&&(e=r[t],n.attribs[t]=e.clone());return n.children=[],this.children.forEach(function(e){var t=e.clone();return t.parent=n,n.children.push(t)}),n}attribute(e,t){var r,a;if(e!=null&&(e=o(e)),c(e))for(r in e)l.call(e,r)&&(a=e[r],this.attribute(r,a));else s(t)&&(t=t.apply()),this.options.keepNullAttributes&&t==null?this.attribs[e]=new n(this,e,``):t!=null&&(this.attribs[e]=new n(this,e,t));return this}removeAttribute(e){var t,n,r;if(e==null)throw Error(`Missing attribute name. `+this.debugInfo());if(e=o(e),Array.isArray(e))for(n=0,r=e.length;n<r;n++)t=e[n],delete this.attribs[t];else delete this.attribs[e];return this}toString(e){return this.options.writer.element(this,this.options.writer.filterOptions(e))}att(e,t){return this.attribute(e,t)}a(e,t){return this.attribute(e,t)}getAttribute(e){return this.attribs.hasOwnProperty(e)?this.attribs[e].value:null}setAttribute(e,t){throw Error(`This DOM method is not implemented.`+this.debugInfo())}getAttributeNode(e){return this.attribs.hasOwnProperty(e)?this.attribs[e]:null}setAttributeNode(e){throw Error(`This DOM method is not implemented.`+this.debugInfo())}removeAttributeNode(e){throw Error(`This DOM method is not implemented.`+this.debugInfo())}getElementsByTagName(e){throw Error(`This DOM method is not implemented.`+this.debugInfo())}getAttributeNS(e,t){throw Error(`This DOM method is not implemented.`+this.debugInfo())}setAttributeNS(e,t,n){throw Error(`This DOM method is not implemented.`+this.debugInfo())}removeAttributeNS(e,t){throw Error(`This DOM method is not implemented.`+this.debugInfo())}getAttributeNodeNS(e,t){throw Error(`This DOM method is not implemented.`+this.debugInfo())}setAttributeNodeNS(e){throw Error(`This DOM method is not implemented.`+this.debugInfo())}getElementsByTagNameNS(e,t){throw Error(`This DOM method is not implemented.`+this.debugInfo())}hasAttribute(e){return this.attribs.hasOwnProperty(e)}hasAttributeNS(e,t){throw Error(`This DOM method is not implemented.`+this.debugInfo())}setIdAttribute(e,t){return this.attribs.hasOwnProperty(e)?this.attribs[e].isId:t}setIdAttributeNS(e,t,n){throw Error(`This DOM method is not implemented.`+this.debugInfo())}setIdAttributeNode(e,t){throw Error(`This DOM method is not implemented.`+this.debugInfo())}getElementsByTagName(e){throw Error(`This DOM method is not implemented.`+this.debugInfo())}getElementsByTagNameNS(e,t){throw Error(`This DOM method is not implemented.`+this.debugInfo())}getElementsByClassName(e){throw Error(`This DOM method is not implemented.`+this.debugInfo())}isEqualNode(e){var t,n,r;if(!super.isEqualNode(e)||e.namespaceURI!==this.namespaceURI||e.prefix!==this.prefix||e.localName!==this.localName||e.attribs.length!==this.attribs.length)return!1;for(t=n=0,r=this.attribs.length-1;0<=r?n<=r:n>=r;t=0<=r?++n:--n)if(!this.attribs[t].isEqualNode(e.attribs[t]))return!1;return!0}}return Object.defineProperty(t.prototype,`tagName`,{get:function(){return this.name}}),Object.defineProperty(t.prototype,`namespaceURI`,{get:function(){return``}}),Object.defineProperty(t.prototype,`prefix`,{get:function(){return``}}),Object.defineProperty(t.prototype,`localName`,{get:function(){return this.name}}),Object.defineProperty(t.prototype,`id`,{get:function(){throw Error(`This DOM method is not implemented.`+this.debugInfo())}}),Object.defineProperty(t.prototype,`className`,{get:function(){throw Error(`This DOM method is not implemented.`+this.debugInfo())}}),Object.defineProperty(t.prototype,`classList`,{get:function(){throw Error(`This DOM method is not implemented.`+this.debugInfo())}}),Object.defineProperty(t.prototype,`attributes`,{get:function(){return(!this.attributeMap||!this.attributeMap.nodes)&&(this.attributeMap=new r(this.attribs)),this.attributeMap}}),t}).call(this)}).call(e)})),Lr=e.t(((e,t)=>{(function(){var e=Qr();t.exports=(function(){class t extends e{constructor(e){super(e),this.value=``}clone(){return Object.create(this)}substringData(e,t){throw Error(`This DOM method is not implemented.`+this.debugInfo())}appendData(e){throw Error(`This DOM method is not implemented.`+this.debugInfo())}insertData(e,t){throw Error(`This DOM method is not implemented.`+this.debugInfo())}deleteData(e,t){throw Error(`This DOM method is not implemented.`+this.debugInfo())}replaceData(e,t,n){throw Error(`This DOM method is not implemented.`+this.debugInfo())}isEqualNode(e){return!(!super.isEqualNode(e)||e.data!==this.data)}}return Object.defineProperty(t.prototype,`data`,{get:function(){return this.value},set:function(e){return this.value=e||``}}),Object.defineProperty(t.prototype,`length`,{get:function(){return this.value.length}}),Object.defineProperty(t.prototype,`textContent`,{get:function(){return this.value},set:function(e){return this.value=e||``}}),t}).call(this)}).call(e)})),Rr=e.t(((e,t)=>{(function(){var e=Nr(),n=Lr();t.exports=class extends n{constructor(t,n){if(super(t),n==null)throw Error(`Missing CDATA text. `+this.debugInfo());this.name=`#cdata-section`,this.type=e.CData,this.value=this.stringify.cdata(n)}clone(){return Object.create(this)}toString(e){return this.options.writer.cdata(this,this.options.writer.filterOptions(e))}}}).call(e)})),zr=e.t(((e,t)=>{(function(){var e=Nr(),n=Lr();t.exports=class extends n{constructor(t,n){if(super(t),n==null)throw Error(`Missing comment text. `+this.debugInfo());this.name=`#comment`,this.type=e.Comment,this.value=this.stringify.comment(n)}clone(){return Object.create(this)}toString(e){return this.options.writer.comment(this,this.options.writer.filterOptions(e))}}}).call(e)})),Br=e.t(((e,t)=>{(function(){var e,n,r;({isObject:r}=Or()),n=Qr(),e=Nr(),t.exports=class extends n{constructor(t,n,a,o){super(t),r(n)&&({version:n,encoding:a,standalone:o}=n),n||=`1.0`,this.type=e.Declaration,this.version=this.stringify.xmlVersion(n),a!=null&&(this.encoding=this.stringify.xmlEncoding(a)),o!=null&&(this.standalone=this.stringify.xmlStandalone(o))}toString(e){return this.options.writer.declaration(this,this.options.writer.filterOptions(e))}}}).call(e)})),Vr=e.t(((e,t)=>{(function(){var e,n=Qr();e=Nr(),t.exports=class extends n{constructor(t,n,r,a,o,s){if(super(t),n==null)throw Error(`Missing DTD element name. `+this.debugInfo());if(r==null)throw Error(`Missing DTD attribute name. `+this.debugInfo(n));if(!a)throw Error(`Missing DTD attribute type. `+this.debugInfo(n));if(!o)throw Error(`Missing DTD attribute default. `+this.debugInfo(n));if(o.indexOf(`#`)!==0&&(o=`#`+o),!o.match(/^(#REQUIRED|#IMPLIED|#FIXED|#DEFAULT)$/))throw Error(`Invalid default value type; expected: #REQUIRED, #IMPLIED, #FIXED or #DEFAULT. `+this.debugInfo(n));if(s&&!o.match(/^(#FIXED|#DEFAULT)$/))throw Error(`Default value only applies to #FIXED or #DEFAULT. `+this.debugInfo(n));this.elementName=this.stringify.name(n),this.type=e.AttributeDeclaration,this.attributeName=this.stringify.name(r),this.attributeType=this.stringify.dtdAttType(a),s&&(this.defaultValue=this.stringify.dtdAttDefault(s)),this.defaultValueType=o}toString(e){return this.options.writer.dtdAttList(this,this.options.writer.filterOptions(e))}}}).call(e)})),Hr=e.t(((e,t)=>{(function(){var e,n,r;({isObject:r}=Or()),n=Qr(),e=Nr(),t.exports=(function(){class t extends n{constructor(t,n,a,o){if(super(t),a==null)throw Error(`Missing DTD entity name. `+this.debugInfo(a));if(o==null)throw Error(`Missing DTD entity value. `+this.debugInfo(a));if(this.pe=!!n,this.name=this.stringify.name(a),this.type=e.EntityDeclaration,!r(o))this.value=this.stringify.dtdEntityValue(o),this.internal=!0;else{if(!o.pubID&&!o.sysID)throw Error(`Public and/or system identifiers are required for an external entity. `+this.debugInfo(a));if(o.pubID&&!o.sysID)throw Error(`System identifier is required for a public external entity. `+this.debugInfo(a));if(this.internal=!1,o.pubID!=null&&(this.pubID=this.stringify.dtdPubID(o.pubID)),o.sysID!=null&&(this.sysID=this.stringify.dtdSysID(o.sysID)),o.nData!=null&&(this.nData=this.stringify.dtdNData(o.nData)),this.pe&&this.nData)throw Error(`Notation declaration is not allowed in a parameter entity. `+this.debugInfo(a))}}toString(e){return this.options.writer.dtdEntity(this,this.options.writer.filterOptions(e))}}return Object.defineProperty(t.prototype,`publicId`,{get:function(){return this.pubID}}),Object.defineProperty(t.prototype,`systemId`,{get:function(){return this.sysID}}),Object.defineProperty(t.prototype,`notationName`,{get:function(){return this.nData||null}}),Object.defineProperty(t.prototype,`inputEncoding`,{get:function(){return null}}),Object.defineProperty(t.prototype,`xmlEncoding`,{get:function(){return null}}),Object.defineProperty(t.prototype,`xmlVersion`,{get:function(){return null}}),t}).call(this)}).call(e)})),Ur=e.t(((e,t)=>{(function(){var e,n=Qr();e=Nr(),t.exports=class extends n{constructor(t,n,r){if(super(t),n==null)throw Error(`Missing DTD element name. `+this.debugInfo());r||=`(#PCDATA)`,Array.isArray(r)&&(r=`(`+r.join(`,`)+`)`),this.name=this.stringify.name(n),this.type=e.ElementDeclaration,this.value=this.stringify.dtdElementValue(r)}toString(e){return this.options.writer.dtdElement(this,this.options.writer.filterOptions(e))}}}).call(e)})),Wr=e.t(((e,t)=>{(function(){var e,n=Qr();e=Nr(),t.exports=(function(){class t extends n{constructor(t,n,r){if(super(t),n==null)throw Error(`Missing DTD notation name. `+this.debugInfo(n));if(!r.pubID&&!r.sysID)throw Error(`Public or system identifiers are required for an external entity. `+this.debugInfo(n));this.name=this.stringify.name(n),this.type=e.NotationDeclaration,r.pubID!=null&&(this.pubID=this.stringify.dtdPubID(r.pubID)),r.sysID!=null&&(this.sysID=this.stringify.dtdSysID(r.sysID))}toString(e){return this.options.writer.dtdNotation(this,this.options.writer.filterOptions(e))}}return Object.defineProperty(t.prototype,`publicId`,{get:function(){return this.pubID}}),Object.defineProperty(t.prototype,`systemId`,{get:function(){return this.sysID}}),t}).call(this)}).call(e)})),Gr=e.t(((e,t)=>{(function(){var e,n,r,a,o,s,c,l;({isObject:l}=Or()),c=Qr(),e=Nr(),n=Vr(),a=Hr(),r=Ur(),o=Wr(),s=Fr(),t.exports=(function(){class t extends c{constructor(t,n,r){var a,o,s,c;if(super(t),this.type=e.DocType,t.children){for(c=t.children,o=0,s=c.length;o<s;o++)if(a=c[o],a.type===e.Element){this.name=a.name;break}}this.documentObject=t,l(n)&&({pubID:n,sysID:r}=n),r??([r,n]=[n,r]),n!=null&&(this.pubID=this.stringify.dtdPubID(n)),r!=null&&(this.sysID=this.stringify.dtdSysID(r))}element(e,t){var n=new r(this,e,t);return this.children.push(n),this}attList(e,t,r,a,o){var s=new n(this,e,t,r,a,o);return this.children.push(s),this}entity(e,t){var n=new a(this,!1,e,t);return this.children.push(n),this}pEntity(e,t){var n=new a(this,!0,e,t);return this.children.push(n),this}notation(e,t){var n=new o(this,e,t);return this.children.push(n),this}toString(e){return this.options.writer.docType(this,this.options.writer.filterOptions(e))}ele(e,t){return this.element(e,t)}att(e,t,n,r,a){return this.attList(e,t,n,r,a)}ent(e,t){return this.entity(e,t)}pent(e,t){return this.pEntity(e,t)}not(e,t){return this.notation(e,t)}up(){return this.root()||this.documentObject}isEqualNode(e){return!(!super.isEqualNode(e)||e.name!==this.name||e.publicId!==this.publicId||e.systemId!==this.systemId)}}return Object.defineProperty(t.prototype,`entities`,{get:function(){var t,n,r,a={},o=this.children;for(n=0,r=o.length;n<r;n++)t=o[n],t.type===e.EntityDeclaration&&!t.pe&&(a[t.name]=t);return new s(a)}}),Object.defineProperty(t.prototype,`notations`,{get:function(){var t,n,r,a={},o=this.children;for(n=0,r=o.length;n<r;n++)t=o[n],t.type===e.NotationDeclaration&&(a[t.name]=t);return new s(a)}}),Object.defineProperty(t.prototype,`publicId`,{get:function(){return this.pubID}}),Object.defineProperty(t.prototype,`systemId`,{get:function(){return this.sysID}}),Object.defineProperty(t.prototype,`internalSubset`,{get:function(){throw Error(`This DOM method is not implemented.`+this.debugInfo())}}),t}).call(this)}).call(e)})),Kr=e.t(((e,t)=>{(function(){var e=Nr(),n=Qr();t.exports=class extends n{constructor(t,n){if(super(t),n==null)throw Error(`Missing raw text. `+this.debugInfo());this.type=e.Raw,this.value=this.stringify.raw(n)}clone(){return Object.create(this)}toString(e){return this.options.writer.raw(this,this.options.writer.filterOptions(e))}}}).call(e)})),qr=e.t(((e,t)=>{(function(){var e=Nr(),n=Lr();t.exports=(function(){class t extends n{constructor(t,n){if(super(t),n==null)throw Error(`Missing element text. `+this.debugInfo());this.name=`#text`,this.type=e.Text,this.value=this.stringify.text(n)}clone(){return Object.create(this)}toString(e){return this.options.writer.text(this,this.options.writer.filterOptions(e))}splitText(e){throw Error(`This DOM method is not implemented.`+this.debugInfo())}replaceWholeText(e){throw Error(`This DOM method is not implemented.`+this.debugInfo())}}return Object.defineProperty(t.prototype,`isElementContentWhitespace`,{get:function(){throw Error(`This DOM method is not implemented.`+this.debugInfo())}}),Object.defineProperty(t.prototype,`wholeText`,{get:function(){var e,t,n=``;for(t=this.previousSibling;t;)n=t.data+n,t=t.previousSibling;for(n+=this.data,e=this.nextSibling;e;)n+=e.data,e=e.nextSibling;return n}}),t}).call(this)}).call(e)})),Jr=e.t(((e,t)=>{(function(){var e=Nr(),n=Lr();t.exports=class extends n{constructor(t,n,r){if(super(t),n==null)throw Error(`Missing instruction target. `+this.debugInfo());this.type=e.ProcessingInstruction,this.target=this.stringify.insTarget(n),this.name=this.target,r&&(this.value=this.stringify.insValue(r))}clone(){return Object.create(this)}toString(e){return this.options.writer.processingInstruction(this,this.options.writer.filterOptions(e))}isEqualNode(e){return!(!super.isEqualNode(e)||e.target!==this.target)}}}).call(e)})),Yr=e.t(((e,t)=>{(function(){var e,n=Qr();e=Nr(),t.exports=class extends n{constructor(t){super(t),this.type=e.Dummy}clone(){return Object.create(this)}toString(e){return``}}}).call(e)})),Xr=e.t(((e,t)=>{(function(){t.exports=(function(){class e{constructor(e){this.nodes=e}clone(){return this.nodes=null}item(e){return this.nodes[e]||null}}return Object.defineProperty(e.prototype,`length`,{get:function(){return this.nodes.length||0}}),e}).call(this)}).call(e)})),Zr=e.t(((e,t)=>{(function(){t.exports={Disconnected:1,Preceding:2,Following:4,Contains:8,ContainedBy:16,ImplementationSpecific:32}}).call(e)})),Qr=e.t(((e,t)=>{(function(){var e,n,r,a,o,s,c,l,u,d,f,p,m,h,g,_,v={}.hasOwnProperty,y=[].splice;({isObject:_,isFunction:g,isEmpty:h,getValue:m}=Or()),l=null,r=null,a=null,o=null,s=null,f=null,p=null,d=null,c=null,n=null,u=null,e=null,t.exports=(function(){class t{constructor(t){this.parent=t,this.parent&&(this.options=this.parent.options,this.stringify=this.parent.stringify),this.value=null,this.children=[],this.baseURI=null,l||(l=Ir(),r=Rr(),a=zr(),o=Br(),s=Gr(),f=Kr(),p=qr(),d=Jr(),c=Yr(),n=Nr(),u=Xr(),Fr(),e=Zr())}setParent(e){var t,n,r,a,o;for(this.parent=e,e&&(this.options=e.options,this.stringify=e.stringify),a=this.children,o=[],n=0,r=a.length;n<r;n++)t=a[n],o.push(t.setParent(this));return o}element(e,t,n){var r,a,o,s,c,l=null,u,d,f;if(t===null&&n==null&&([t,n]=[{},null]),t??={},t=m(t),_(t)||([n,t]=[t,n]),e!=null&&(e=m(e)),Array.isArray(e))for(o=0,u=e.length;o<u;o++)a=e[o],l=this.element(a);else if(g(e))l=this.element(e.apply());else if(_(e)){for(c in e)if(v.call(e,c))if(f=e[c],g(f)&&(f=f.apply()),!this.options.ignoreDecorators&&this.stringify.convertAttKey&&c.indexOf(this.stringify.convertAttKey)===0)l=this.attribute(c.substr(this.stringify.convertAttKey.length),f);else if(!this.options.separateArrayItems&&Array.isArray(f)&&h(f))l=this.dummy();else if(_(f)&&h(f))l=this.element(c);else if(!this.options.keepNullNodes&&f==null)l=this.dummy();else if(!this.options.separateArrayItems&&Array.isArray(f))for(s=0,d=f.length;s<d;s++)a=f[s],r={},r[c]=a,l=this.element(r);else _(f)?!this.options.ignoreDecorators&&this.stringify.convertTextKey&&c.indexOf(this.stringify.convertTextKey)===0?l=this.element(f):(l=this.element(c),l.element(f)):l=this.element(c,f)}else l=!this.options.keepNullNodes&&n===null?this.dummy():!this.options.ignoreDecorators&&this.stringify.convertTextKey&&e.indexOf(this.stringify.convertTextKey)===0?this.text(n):!this.options.ignoreDecorators&&this.stringify.convertCDataKey&&e.indexOf(this.stringify.convertCDataKey)===0?this.cdata(n):!this.options.ignoreDecorators&&this.stringify.convertCommentKey&&e.indexOf(this.stringify.convertCommentKey)===0?this.comment(n):!this.options.ignoreDecorators&&this.stringify.convertRawKey&&e.indexOf(this.stringify.convertRawKey)===0?this.raw(n):!this.options.ignoreDecorators&&this.stringify.convertPIKey&&e.indexOf(this.stringify.convertPIKey)===0?this.instruction(e.substr(this.stringify.convertPIKey.length),n):this.node(e,t,n);if(l==null)throw Error(`Could not create any elements with: `+e+`. `+this.debugInfo());return l}insertBefore(e,t,n){var r,a,o,s,c;if(e?.type)return o=e,s=t,o.setParent(this),s?(a=children.indexOf(s),c=children.splice(a),children.push(o),Array.prototype.push.apply(children,c)):children.push(o),o;if(this.isRoot)throw Error(`Cannot insert elements at root level. `+this.debugInfo(e));return a=this.parent.children.indexOf(this),c=this.parent.children.splice(a),r=this.parent.element(e,t,n),Array.prototype.push.apply(this.parent.children,c),r}insertAfter(e,t,n){var r,a,o;if(this.isRoot)throw Error(`Cannot insert elements at root level. `+this.debugInfo(e));return a=this.parent.children.indexOf(this),o=this.parent.children.splice(a+1),r=this.parent.element(e,t,n),Array.prototype.push.apply(this.parent.children,o),r}remove(){var e;if(this.isRoot)throw Error(`Cannot remove the root element. `+this.debugInfo());return e=this.parent.children.indexOf(this),y.apply(this.parent.children,[e,e-e+1]),this.parent}node(e,t,n){var r;return e!=null&&(e=m(e)),t||={},t=m(t),_(t)||([n,t]=[t,n]),r=new l(this,e,t),n!=null&&r.text(n),this.children.push(r),r}text(e){var t;return _(e)&&this.element(e),t=new p(this,e),this.children.push(t),this}cdata(e){var t=new r(this,e);return this.children.push(t),this}comment(e){var t=new a(this,e);return this.children.push(t),this}commentBefore(e){var t=this.parent.children.indexOf(this),n=this.parent.children.splice(t);return this.parent.comment(e),Array.prototype.push.apply(this.parent.children,n),this}commentAfter(e){var t=this.parent.children.indexOf(this),n=this.parent.children.splice(t+1);return this.parent.comment(e),Array.prototype.push.apply(this.parent.children,n),this}raw(e){var t=new f(this,e);return this.children.push(t),this}dummy(){return new c(this)}instruction(e,t){var n,r,a,o,s;if(e!=null&&(e=m(e)),t!=null&&(t=m(t)),Array.isArray(e))for(o=0,s=e.length;o<s;o++)n=e[o],this.instruction(n);else if(_(e))for(n in e)v.call(e,n)&&(r=e[n],this.instruction(n,r));else g(t)&&(t=t.apply()),a=new d(this,e,t),this.children.push(a);return this}instructionBefore(e,t){var n=this.parent.children.indexOf(this),r=this.parent.children.splice(n);return this.parent.instruction(e,t),Array.prototype.push.apply(this.parent.children,r),this}instructionAfter(e,t){var n=this.parent.children.indexOf(this),r=this.parent.children.splice(n+1);return this.parent.instruction(e,t),Array.prototype.push.apply(this.parent.children,r),this}declaration(e,t,r){var a=this.document(),s=new o(a,e,t,r);return a.children.length===0?a.children.unshift(s):a.children[0].type===n.Declaration?a.children[0]=s:a.children.unshift(s),a.root()||a}dtd(e,t){var r,a=this.document(),o=new s(a,e,t),c,l,u,d,f,p=a.children,m;for(c=l=0,d=p.length;l<d;c=++l)if(r=p[c],r.type===n.DocType)return a.children[c]=o,o;for(m=a.children,c=u=0,f=m.length;u<f;c=++u)if(r=m[c],r.isRoot)return a.children.splice(c,0,o),o;return a.children.push(o),o}up(){if(this.isRoot)throw Error(`The root node has no parent. Use doc() if you need to get the document object.`);return this.parent}root(){for(var e=this;e;)if(e.type===n.Document)return e.rootObject;else if(e.isRoot)return e;else e=e.parent}document(){for(var e=this;e;)if(e.type===n.Document)return e;else e=e.parent}end(e){return this.document().end(e)}prev(){var e=this.parent.children.indexOf(this);if(e<1)throw Error(`Already at the first node. `+this.debugInfo());return this.parent.children[e-1]}next(){var e=this.parent.children.indexOf(this);if(e===-1||e===this.parent.children.length-1)throw Error(`Already at the last node. `+this.debugInfo());return this.parent.children[e+1]}importDocument(e){var t,r=e.root().clone(),a,o,s;if(r.parent=this,r.isRoot=!1,this.children.push(r),this.type===n.Document&&(r.isRoot=!0,r.documentObject=this,this.rootObject=r,this.children)){for(s=this.children,a=0,o=s.length;a<o;a++)if(t=s[a],t.type===n.DocType){t.name=r.name;break}}return this}debugInfo(e){return e||=this.name,e==null&&!this.parent?.name?``:e==null?`parent: <`+this.parent.name+`>`:this.parent?.name?`node: <`+e+`>, parent: <`+this.parent.name+`>`:`node: <`+e+`>`}ele(e,t,n){return this.element(e,t,n)}nod(e,t,n){return this.node(e,t,n)}txt(e){return this.text(e)}dat(e){return this.cdata(e)}com(e){return this.comment(e)}ins(e,t){return this.instruction(e,t)}doc(){return this.document()}dec(e,t,n){return this.declaration(e,t,n)}e(e,t,n){return this.element(e,t,n)}n(e,t,n){return this.node(e,t,n)}t(e){return this.text(e)}d(e){return this.cdata(e)}c(e){return this.comment(e)}r(e){return this.raw(e)}i(e,t){return this.instruction(e,t)}u(){return this.up()}importXMLBuilder(e){return this.importDocument(e)}attribute(e,t){throw Error(`attribute() applies to element nodes only.`)}att(e,t){return this.attribute(e,t)}a(e,t){return this.attribute(e,t)}removeAttribute(e){throw Error(`attribute() applies to element nodes only.`)}replaceChild(e,t){throw Error(`This DOM method is not implemented.`+this.debugInfo())}removeChild(e){throw Error(`This DOM method is not implemented.`+this.debugInfo())}appendChild(e){throw Error(`This DOM method is not implemented.`+this.debugInfo())}hasChildNodes(){return this.children.length!==0}cloneNode(e){throw Error(`This DOM method is not implemented.`+this.debugInfo())}normalize(){throw Error(`This DOM method is not implemented.`+this.debugInfo())}isSupported(e,t){return!0}hasAttributes(){return this.attribs.length!==0}compareDocumentPosition(t){var n=this,r;return n===t?0:this.document()===t.document()?n.isAncestor(t)?e.Contains|e.Preceding:n.isDescendant(t)?e.Contains|e.Following:n.isPreceding(t)?e.Preceding:e.Following:(r=e.Disconnected|e.ImplementationSpecific,Math.random()<.5?r|=e.Preceding:r|=e.Following,r)}isSameNode(e){throw Error(`This DOM method is not implemented.`+this.debugInfo())}lookupPrefix(e){throw Error(`This DOM method is not implemented.`+this.debugInfo())}isDefaultNamespace(e){throw Error(`This DOM method is not implemented.`+this.debugInfo())}lookupNamespaceURI(e){throw Error(`This DOM method is not implemented.`+this.debugInfo())}isEqualNode(e){var t,n,r;if(e.nodeType!==this.nodeType||e.children.length!==this.children.length)return!1;for(t=n=0,r=this.children.length-1;0<=r?n<=r:n>=r;t=0<=r?++n:--n)if(!this.children[t].isEqualNode(e.children[t]))return!1;return!0}getFeature(e,t){throw Error(`This DOM method is not implemented.`+this.debugInfo())}setUserData(e,t,n){throw Error(`This DOM method is not implemented.`+this.debugInfo())}getUserData(e){throw Error(`This DOM method is not implemented.`+this.debugInfo())}contains(e){return e?e===this||this.isDescendant(e):!1}isDescendant(e){var t,n,r,a,o=this.children;for(r=0,a=o.length;r<a;r++)if(t=o[r],e===t||(n=t.isDescendant(e),n))return!0;return!1}isAncestor(e){return e.isDescendant(this)}isPreceding(e){var t=this.treePosition(e),n=this.treePosition(this);return t===-1||n===-1?!1:t<n}isFollowing(e){var t=this.treePosition(e),n=this.treePosition(this);return t===-1||n===-1?!1:t>n}treePosition(e){var t,n=0;return t=!1,this.foreachTreeNode(this.document(),function(r){if(n++,!t&&r===e)return t=!0}),t?n:-1}foreachTreeNode(e,t){var n,r,a,o,s;for(e||=this.document(),o=e.children,r=0,a=o.length;r<a;r++)if(n=o[r],(s=t(n))||(s=this.foreachTreeNode(n,t),s))return s}}return Object.defineProperty(t.prototype,`nodeName`,{get:function(){return this.name}}),Object.defineProperty(t.prototype,`nodeType`,{get:function(){return this.type}}),Object.defineProperty(t.prototype,`nodeValue`,{get:function(){return this.value}}),Object.defineProperty(t.prototype,`parentNode`,{get:function(){return this.parent}}),Object.defineProperty(t.prototype,`childNodes`,{get:function(){return(!this.childNodeList||!this.childNodeList.nodes)&&(this.childNodeList=new u(this.children)),this.childNodeList}}),Object.defineProperty(t.prototype,`firstChild`,{get:function(){return this.children[0]||null}}),Object.defineProperty(t.prototype,`lastChild`,{get:function(){return this.children[this.children.length-1]||null}}),Object.defineProperty(t.prototype,`previousSibling`,{get:function(){var e=this.parent.children.indexOf(this);return this.parent.children[e-1]||null}}),Object.defineProperty(t.prototype,`nextSibling`,{get:function(){var e=this.parent.children.indexOf(this);return this.parent.children[e+1]||null}}),Object.defineProperty(t.prototype,`ownerDocument`,{get:function(){return this.document()||null}}),Object.defineProperty(t.prototype,`textContent`,{get:function(){var e,t,r,a,o;if(this.nodeType===n.Element||this.nodeType===n.DocumentFragment){for(o=``,a=this.children,t=0,r=a.length;t<r;t++)e=a[t],e.textContent&&(o+=e.textContent);return o}else return null},set:function(e){throw Error(`This DOM method is not implemented.`+this.debugInfo())}}),t}).call(this)}).call(e)})),$r=e.t(((e,t)=>{(function(){var e={}.hasOwnProperty;t.exports=(function(){class t{constructor(t){var n,r,a;for(n in this.assertLegalChar=this.assertLegalChar.bind(this),this.assertLegalName=this.assertLegalName.bind(this),t||={},this.options=t,this.options.version||(this.options.version=`1.0`),r=t.stringify||{},r)e.call(r,n)&&(a=r[n],this[n]=a)}name(e){return this.options.noValidation?e:this.assertLegalName(``+e||``)}text(e){return this.options.noValidation?e:this.assertLegalChar(this.textEscape(``+e||``))}cdata(e){return this.options.noValidation?e:(e=``+e||``,e=e.replace(`]]>`,`]]]]><![CDATA[>`),this.assertLegalChar(e))}comment(e){if(this.options.noValidation)return e;if(e=``+e||``,e.match(/--/))throw Error(`Comment text cannot contain double-hypen: `+e);return this.assertLegalChar(e)}raw(e){return this.options.noValidation?e:``+e||``}attValue(e){return this.options.noValidation?e:this.assertLegalChar(this.attEscape(e=``+e||``))}insTarget(e){return this.options.noValidation?e:this.assertLegalChar(``+e||``)}insValue(e){if(this.options.noValidation)return e;if(e=``+e||``,e.match(/\?>/))throw Error(`Invalid processing instruction value: `+e);return this.assertLegalChar(e)}xmlVersion(e){if(this.options.noValidation)return e;if(e=``+e||``,!e.match(/1\.[0-9]+/))throw Error(`Invalid version number: `+e);return e}xmlEncoding(e){if(this.options.noValidation)return e;if(e=``+e||``,!e.match(/^[A-Za-z](?:[A-Za-z0-9._-])*$/))throw Error(`Invalid encoding: `+e);return this.assertLegalChar(e)}xmlStandalone(e){return this.options.noValidation?e:e?`yes`:`no`}dtdPubID(e){return this.options.noValidation?e:this.assertLegalChar(``+e||``)}dtdSysID(e){return this.options.noValidation?e:this.assertLegalChar(``+e||``)}dtdElementValue(e){return this.options.noValidation?e:this.assertLegalChar(``+e||``)}dtdAttType(e){return this.options.noValidation?e:this.assertLegalChar(``+e||``)}dtdAttDefault(e){return this.options.noValidation?e:this.assertLegalChar(``+e||``)}dtdEntityValue(e){return this.options.noValidation?e:this.assertLegalChar(``+e||``)}dtdNData(e){return this.options.noValidation?e:this.assertLegalChar(``+e||``)}assertLegalChar(e){var t,n;if(this.options.noValidation)return e;if(this.options.version===`1.0`){if(t=/[\0-\x08\x0B\f\x0E-\x1F\uFFFE\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/g,this.options.invalidCharReplacement!==void 0)e=e.replace(t,this.options.invalidCharReplacement);else if(n=e.match(t))throw Error(`Invalid character in string: ${e} at index ${n.index}`)}else if(this.options.version===`1.1`){if(t=/[\0\uFFFE\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/g,this.options.invalidCharReplacement!==void 0)e=e.replace(t,this.options.invalidCharReplacement);else if(n=e.match(t))throw Error(`Invalid character in string: ${e} at index ${n.index}`)}return e}assertLegalName(e){var t;if(this.options.noValidation)return e;if(e=this.assertLegalChar(e),t=/^([:A-Z_a-z\xC0-\xD6\xD8-\xF6\xF8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD]|[\uD800-\uDB7F][\uDC00-\uDFFF])([\x2D\.0-:A-Z_a-z\xB7\xC0-\xD6\xD8-\xF6\xF8-\u037D\u037F-\u1FFF\u200C\u200D\u203F\u2040\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD]|[\uD800-\uDB7F][\uDC00-\uDFFF])*$/,!e.match(t))throw Error(`Invalid character in name: ${e}`);return e}textEscape(e){var t;return this.options.noValidation?e:(t=this.options.noDoubleEncoding?/(?!&(lt|gt|amp|apos|quot);)&/g:/&/g,e.replace(t,`&amp;`).replace(/</g,`&lt;`).replace(/>/g,`&gt;`).replace(/\r/g,`&#xD;`))}attEscape(e){var t;return this.options.noValidation?e:(t=this.options.noDoubleEncoding?/(?!&(lt|gt|amp|apos|quot);)&/g:/&/g,e.replace(t,`&amp;`).replace(/</g,`&lt;`).replace(/"/g,`&quot;`).replace(/\t/g,`&#x9;`).replace(/\n/g,`&#xA;`).replace(/\r/g,`&#xD;`))}}return t.prototype.convertAttKey=`@`,t.prototype.convertPIKey=`?`,t.prototype.convertTextKey=`#text`,t.prototype.convertCDataKey=`#cdata`,t.prototype.convertCommentKey=`#comment`,t.prototype.convertRawKey=`#raw`,t}).call(this)}).call(e)})),ei=e.t(((e,t)=>{(function(){t.exports={None:0,OpenTag:1,InsideTag:2,CloseTag:3}}).call(e)})),ti=e.t(((e,t)=>{(function(){var e,n,r,a={}.hasOwnProperty;({assign:r}=Or()),e=Nr(),Br(),Gr(),Rr(),zr(),Ir(),Kr(),qr(),Jr(),Yr(),Vr(),Ur(),Hr(),Wr(),n=ei(),t.exports=class{constructor(e){var t,n,r;for(t in e||={},this.options=e,n=e.writer||{},n)a.call(n,t)&&(r=n[t],this[`_`+t]=this[t],this[t]=r)}filterOptions(e){var t;return e||={},e=r({},this.options,e),t={writer:this},t.pretty=e.pretty||!1,t.allowEmpty=e.allowEmpty||!1,t.indent=e.indent??`  `,t.newline=e.newline??`
`,t.offset=e.offset??0,t.width=e.width??0,t.dontPrettyTextNodes=e.dontPrettyTextNodes??e.dontprettytextnodes??0,t.spaceBeforeSlash=e.spaceBeforeSlash??e.spacebeforeslash??``,t.spaceBeforeSlash===!0&&(t.spaceBeforeSlash=` `),t.suppressPrettyCount=0,t.user={},t.state=n.None,t}indent(e,t,n){var r;return!t.pretty||t.suppressPrettyCount?``:t.pretty&&(r=(n||0)+t.offset+1,r>0)?Array(r).join(t.indent):``}endline(e,t,n){return!t.pretty||t.suppressPrettyCount?``:t.newline}attribute(e,t,n){var r;return this.openAttribute(e,t,n),r=t.pretty&&t.width>0?e.name+`="`+e.value+`"`:` `+e.name+`="`+e.value+`"`,this.closeAttribute(e,t,n),r}cdata(e,t,r){var a;return this.openNode(e,t,r),t.state=n.OpenTag,a=this.indent(e,t,r)+`<![CDATA[`,t.state=n.InsideTag,a+=e.value,t.state=n.CloseTag,a+=`]]>`+this.endline(e,t,r),t.state=n.None,this.closeNode(e,t,r),a}comment(e,t,r){var a;return this.openNode(e,t,r),t.state=n.OpenTag,a=this.indent(e,t,r)+`<!-- `,t.state=n.InsideTag,a+=e.value,t.state=n.CloseTag,a+=` -->`+this.endline(e,t,r),t.state=n.None,this.closeNode(e,t,r),a}declaration(e,t,r){var a;return this.openNode(e,t,r),t.state=n.OpenTag,a=this.indent(e,t,r)+`<?xml`,t.state=n.InsideTag,a+=` version="`+e.version+`"`,e.encoding!=null&&(a+=` encoding="`+e.encoding+`"`),e.standalone!=null&&(a+=` standalone="`+e.standalone+`"`),t.state=n.CloseTag,a+=t.spaceBeforeSlash+`?>`,a+=this.endline(e,t,r),t.state=n.None,this.closeNode(e,t,r),a}docType(e,t,r){var a,o,s,c,l;if(r||=0,this.openNode(e,t,r),t.state=n.OpenTag,c=this.indent(e,t,r),c+=`<!DOCTYPE `+e.root().name,e.pubID&&e.sysID?c+=` PUBLIC "`+e.pubID+`" "`+e.sysID+`"`:e.sysID&&(c+=` SYSTEM "`+e.sysID+`"`),e.children.length>0){for(c+=` [`,c+=this.endline(e,t,r),t.state=n.InsideTag,l=e.children,o=0,s=l.length;o<s;o++)a=l[o],c+=this.writeChildNode(a,t,r+1);t.state=n.CloseTag,c+=`]`}return t.state=n.CloseTag,c+=t.spaceBeforeSlash+`>`,c+=this.endline(e,t,r),t.state=n.None,this.closeNode(e,t,r),c}element(t,r,o){var s,c,l,u,d,f,p,m,h,g,_,v,y,b,x,S,C,w,T;if(o||=0,v=!1,this.openNode(t,r,o),r.state=n.OpenTag,y=this.indent(t,r,o)+`<`+t.name,r.pretty&&r.width>0)for(_ in m=y.length,x=t.attribs,x)a.call(x,_)&&(s=x[_],b=this.attribute(s,r,o),c=b.length,m+c>r.width?(T=this.indent(t,r,o+1)+b,y+=this.endline(t,r,o)+T,m=T.length):(T=` `+b,y+=T,m+=T.length));else for(_ in S=t.attribs,S)a.call(S,_)&&(s=S[_],y+=this.attribute(s,r,o));if(u=t.children.length,d=u===0?null:t.children[0],u===0||t.children.every(function(t){return(t.type===e.Text||t.type===e.Raw||t.type===e.CData)&&t.value===``}))r.allowEmpty?(y+=`>`,r.state=n.CloseTag,y+=`</`+t.name+`>`+this.endline(t,r,o)):(r.state=n.CloseTag,y+=r.spaceBeforeSlash+`/>`+this.endline(t,r,o));else if(r.pretty&&u===1&&(d.type===e.Text||d.type===e.Raw||d.type===e.CData)&&d.value!=null)y+=`>`,r.state=n.InsideTag,r.suppressPrettyCount++,v=!0,y+=this.writeChildNode(d,r,o+1),r.suppressPrettyCount--,v=!1,r.state=n.CloseTag,y+=`</`+t.name+`>`+this.endline(t,r,o);else{if(r.dontPrettyTextNodes){for(C=t.children,f=0,h=C.length;f<h;f++)if(l=C[f],(l.type===e.Text||l.type===e.Raw||l.type===e.CData)&&l.value!=null){r.suppressPrettyCount++,v=!0;break}}for(y+=`>`+this.endline(t,r,o),r.state=n.InsideTag,w=t.children,p=0,g=w.length;p<g;p++)l=w[p],y+=this.writeChildNode(l,r,o+1);r.state=n.CloseTag,y+=this.indent(t,r,o)+`</`+t.name+`>`,v&&r.suppressPrettyCount--,y+=this.endline(t,r,o),r.state=n.None}return this.closeNode(t,r,o),y}writeChildNode(t,n,r){switch(t.type){case e.CData:return this.cdata(t,n,r);case e.Comment:return this.comment(t,n,r);case e.Element:return this.element(t,n,r);case e.Raw:return this.raw(t,n,r);case e.Text:return this.text(t,n,r);case e.ProcessingInstruction:return this.processingInstruction(t,n,r);case e.Dummy:return``;case e.Declaration:return this.declaration(t,n,r);case e.DocType:return this.docType(t,n,r);case e.AttributeDeclaration:return this.dtdAttList(t,n,r);case e.ElementDeclaration:return this.dtdElement(t,n,r);case e.EntityDeclaration:return this.dtdEntity(t,n,r);case e.NotationDeclaration:return this.dtdNotation(t,n,r);default:throw Error(`Unknown XML node type: `+t.constructor.name)}}processingInstruction(e,t,r){var a;return this.openNode(e,t,r),t.state=n.OpenTag,a=this.indent(e,t,r)+`<?`,t.state=n.InsideTag,a+=e.target,e.value&&(a+=` `+e.value),t.state=n.CloseTag,a+=t.spaceBeforeSlash+`?>`,a+=this.endline(e,t,r),t.state=n.None,this.closeNode(e,t,r),a}raw(e,t,r){var a;return this.openNode(e,t,r),t.state=n.OpenTag,a=this.indent(e,t,r),t.state=n.InsideTag,a+=e.value,t.state=n.CloseTag,a+=this.endline(e,t,r),t.state=n.None,this.closeNode(e,t,r),a}text(e,t,r){var a;return this.openNode(e,t,r),t.state=n.OpenTag,a=this.indent(e,t,r),t.state=n.InsideTag,a+=e.value,t.state=n.CloseTag,a+=this.endline(e,t,r),t.state=n.None,this.closeNode(e,t,r),a}dtdAttList(e,t,r){var a;return this.openNode(e,t,r),t.state=n.OpenTag,a=this.indent(e,t,r)+`<!ATTLIST`,t.state=n.InsideTag,a+=` `+e.elementName+` `+e.attributeName+` `+e.attributeType,e.defaultValueType!==`#DEFAULT`&&(a+=` `+e.defaultValueType),e.defaultValue&&(a+=` "`+e.defaultValue+`"`),t.state=n.CloseTag,a+=t.spaceBeforeSlash+`>`+this.endline(e,t,r),t.state=n.None,this.closeNode(e,t,r),a}dtdElement(e,t,r){var a;return this.openNode(e,t,r),t.state=n.OpenTag,a=this.indent(e,t,r)+`<!ELEMENT`,t.state=n.InsideTag,a+=` `+e.name+` `+e.value,t.state=n.CloseTag,a+=t.spaceBeforeSlash+`>`+this.endline(e,t,r),t.state=n.None,this.closeNode(e,t,r),a}dtdEntity(e,t,r){var a;return this.openNode(e,t,r),t.state=n.OpenTag,a=this.indent(e,t,r)+`<!ENTITY`,t.state=n.InsideTag,e.pe&&(a+=` %`),a+=` `+e.name,e.value?a+=` "`+e.value+`"`:(e.pubID&&e.sysID?a+=` PUBLIC "`+e.pubID+`" "`+e.sysID+`"`:e.sysID&&(a+=` SYSTEM "`+e.sysID+`"`),e.nData&&(a+=` NDATA `+e.nData)),t.state=n.CloseTag,a+=t.spaceBeforeSlash+`>`+this.endline(e,t,r),t.state=n.None,this.closeNode(e,t,r),a}dtdNotation(e,t,r){var a;return this.openNode(e,t,r),t.state=n.OpenTag,a=this.indent(e,t,r)+`<!NOTATION`,t.state=n.InsideTag,a+=` `+e.name,e.pubID&&e.sysID?a+=` PUBLIC "`+e.pubID+`" "`+e.sysID+`"`:e.pubID?a+=` PUBLIC "`+e.pubID+`"`:e.sysID&&(a+=` SYSTEM "`+e.sysID+`"`),t.state=n.CloseTag,a+=t.spaceBeforeSlash+`>`+this.endline(e,t,r),t.state=n.None,this.closeNode(e,t,r),a}openNode(e,t,n){}closeNode(e,t,n){}openAttribute(e,t,n){}closeAttribute(e,t,n){}}}).call(e)})),ni=e.t(((e,t)=>{(function(){var e=ti();t.exports=class extends e{constructor(e){super(e)}document(e,t){var n,r,a,o,s;for(t=this.filterOptions(t),o=``,s=e.children,r=0,a=s.length;r<a;r++)n=s[r],o+=this.writeChildNode(n,t,0);return t.pretty&&o.slice(-t.newline.length)===t.newline&&(o=o.slice(0,-t.newline.length)),o}}}).call(e)})),ri=e.t(((e,t)=>{(function(){var e,n,r,a,o,s,c;({isPlainObject:c}=Or()),r=kr(),n=Mr(),a=Qr(),e=Nr(),s=$r(),o=ni(),t.exports=(function(){class t extends a{constructor(t){super(null),this.name=`#document`,this.type=e.Document,this.documentURI=null,this.domConfig=new n,t||={},t.writer||=new o,this.options=t,this.stringify=new s(t)}end(e){var t={};return e?c(e)&&(t=e,e=this.options.writer):e=this.options.writer,e.document(this,e.filterOptions(t))}toString(e){return this.options.writer.document(this,this.options.writer.filterOptions(e))}createElement(e){throw Error(`This DOM method is not implemented.`+this.debugInfo())}createDocumentFragment(){throw Error(`This DOM method is not implemented.`+this.debugInfo())}createTextNode(e){throw Error(`This DOM method is not implemented.`+this.debugInfo())}createComment(e){throw Error(`This DOM method is not implemented.`+this.debugInfo())}createCDATASection(e){throw Error(`This DOM method is not implemented.`+this.debugInfo())}createProcessingInstruction(e,t){throw Error(`This DOM method is not implemented.`+this.debugInfo())}createAttribute(e){throw Error(`This DOM method is not implemented.`+this.debugInfo())}createEntityReference(e){throw Error(`This DOM method is not implemented.`+this.debugInfo())}getElementsByTagName(e){throw Error(`This DOM method is not implemented.`+this.debugInfo())}importNode(e,t){throw Error(`This DOM method is not implemented.`+this.debugInfo())}createElementNS(e,t){throw Error(`This DOM method is not implemented.`+this.debugInfo())}createAttributeNS(e,t){throw Error(`This DOM method is not implemented.`+this.debugInfo())}getElementsByTagNameNS(e,t){throw Error(`This DOM method is not implemented.`+this.debugInfo())}getElementById(e){throw Error(`This DOM method is not implemented.`+this.debugInfo())}adoptNode(e){throw Error(`This DOM method is not implemented.`+this.debugInfo())}normalizeDocument(){throw Error(`This DOM method is not implemented.`+this.debugInfo())}renameNode(e,t,n){throw Error(`This DOM method is not implemented.`+this.debugInfo())}getElementsByClassName(e){throw Error(`This DOM method is not implemented.`+this.debugInfo())}createEvent(e){throw Error(`This DOM method is not implemented.`+this.debugInfo())}createRange(){throw Error(`This DOM method is not implemented.`+this.debugInfo())}createNodeIterator(e,t,n){throw Error(`This DOM method is not implemented.`+this.debugInfo())}createTreeWalker(e,t,n){throw Error(`This DOM method is not implemented.`+this.debugInfo())}}return Object.defineProperty(t.prototype,`implementation`,{value:new r}),Object.defineProperty(t.prototype,`doctype`,{get:function(){var t,n,r,a=this.children;for(n=0,r=a.length;n<r;n++)if(t=a[n],t.type===e.DocType)return t;return null}}),Object.defineProperty(t.prototype,`documentElement`,{get:function(){return this.rootObject||null}}),Object.defineProperty(t.prototype,`inputEncoding`,{get:function(){return null}}),Object.defineProperty(t.prototype,`strictErrorChecking`,{get:function(){return!1}}),Object.defineProperty(t.prototype,`xmlEncoding`,{get:function(){return this.children.length!==0&&this.children[0].type===e.Declaration?this.children[0].encoding:null}}),Object.defineProperty(t.prototype,`xmlStandalone`,{get:function(){return this.children.length!==0&&this.children[0].type===e.Declaration?this.children[0].standalone===`yes`:!1}}),Object.defineProperty(t.prototype,`xmlVersion`,{get:function(){return this.children.length!==0&&this.children[0].type===e.Declaration?this.children[0].version:`1.0`}}),Object.defineProperty(t.prototype,`URL`,{get:function(){return this.documentURI}}),Object.defineProperty(t.prototype,`origin`,{get:function(){return null}}),Object.defineProperty(t.prototype,`compatMode`,{get:function(){return null}}),Object.defineProperty(t.prototype,`characterSet`,{get:function(){return null}}),Object.defineProperty(t.prototype,`contentType`,{get:function(){return null}}),t}).call(this)}).call(e)})),ii=e.t(((e,t)=>{(function(){var e,n,r,a,o,s,c,l,u,d,f,p,m,h,g,_,v,y,b,x,S,C,w={}.hasOwnProperty;({isObject:S,isFunction:x,isPlainObject:C,getValue:b}=Or()),e=Nr(),p=ri(),m=Ir(),a=Rr(),o=zr(),g=Kr(),y=qr(),h=Jr(),d=Br(),f=Gr(),s=Vr(),l=Hr(),c=Ur(),u=Wr(),r=Pr(),v=$r(),_=ni(),n=ei(),t.exports=class{constructor(t,n,r){var a;this.name=`?xml`,this.type=e.Document,t||={},a={},t.writer?C(t.writer)&&(a=t.writer,t.writer=new _):t.writer=new _,this.options=t,this.writer=t.writer,this.writerOptions=this.writer.filterOptions(a),this.stringify=new v(t),this.onDataCallback=n||function(){},this.onEndCallback=r||function(){},this.currentNode=null,this.currentLevel=-1,this.openTags={},this.documentStarted=!1,this.documentCompleted=!1,this.root=null}createChildNode(t){var n,r,a,o,s,c,l,u;switch(t.type){case e.CData:this.cdata(t.value);break;case e.Comment:this.comment(t.value);break;case e.Element:for(r in a={},l=t.attribs,l)w.call(l,r)&&(n=l[r],a[r]=n.value);this.node(t.name,a);break;case e.Dummy:this.dummy();break;case e.Raw:this.raw(t.value);break;case e.Text:this.text(t.value);break;case e.ProcessingInstruction:this.instruction(t.target,t.value);break;default:throw Error(`This XML node type is not supported in a JS object: `+t.constructor.name)}for(u=t.children,s=0,c=u.length;s<c;s++)o=u[s],this.createChildNode(o),o.type===e.Element&&this.up();return this}dummy(){return this}node(e,t,n){if(e==null)throw Error(`Missing node name.`);if(this.root&&this.currentLevel===-1)throw Error(`Document can only have one root node. `+this.debugInfo(e));return this.openCurrent(),e=b(e),t??={},t=b(t),S(t)||([n,t]=[t,n]),this.currentNode=new m(this,e,t),this.currentNode.children=!1,this.currentLevel++,this.openTags[this.currentLevel]=this.currentNode,n!=null&&this.text(n),this}element(t,n,r){var a,o,s,c,l,u;if(this.currentNode&&this.currentNode.type===e.DocType)this.dtdElement(...arguments);else if(Array.isArray(t)||S(t)||x(t))for(c=this.options.noValidation,this.options.noValidation=!0,u=new p(this.options).element(`TEMP_ROOT`),u.element(t),this.options.noValidation=c,l=u.children,o=0,s=l.length;o<s;o++)a=l[o],this.createChildNode(a),a.type===e.Element&&this.up();else this.node(t,n,r);return this}attribute(e,t){var n,a;if(!this.currentNode||this.currentNode.children)throw Error(`att() can only be used immediately after an ele() call in callback mode. `+this.debugInfo(e));if(e!=null&&(e=b(e)),S(e))for(n in e)w.call(e,n)&&(a=e[n],this.attribute(n,a));else x(t)&&(t=t.apply()),this.options.keepNullAttributes&&t==null?this.currentNode.attribs[e]=new r(this,e,``):t!=null&&(this.currentNode.attribs[e]=new r(this,e,t));return this}text(e){var t;return this.openCurrent(),t=new y(this,e),this.onData(this.writer.text(t,this.writerOptions,this.currentLevel+1),this.currentLevel+1),this}cdata(e){var t;return this.openCurrent(),t=new a(this,e),this.onData(this.writer.cdata(t,this.writerOptions,this.currentLevel+1),this.currentLevel+1),this}comment(e){var t;return this.openCurrent(),t=new o(this,e),this.onData(this.writer.comment(t,this.writerOptions,this.currentLevel+1),this.currentLevel+1),this}raw(e){var t;return this.openCurrent(),t=new g(this,e),this.onData(this.writer.raw(t,this.writerOptions,this.currentLevel+1),this.currentLevel+1),this}instruction(e,t){var n,r,a,o,s;if(this.openCurrent(),e!=null&&(e=b(e)),t!=null&&(t=b(t)),Array.isArray(e))for(n=0,o=e.length;n<o;n++)r=e[n],this.instruction(r);else if(S(e))for(r in e)w.call(e,r)&&(a=e[r],this.instruction(r,a));else x(t)&&(t=t.apply()),s=new h(this,e,t),this.onData(this.writer.processingInstruction(s,this.writerOptions,this.currentLevel+1),this.currentLevel+1);return this}declaration(e,t,n){var r;if(this.openCurrent(),this.documentStarted)throw Error(`declaration() must be the first node.`);return r=new d(this,e,t,n),this.onData(this.writer.declaration(r,this.writerOptions,this.currentLevel+1),this.currentLevel+1),this}doctype(e,t,n){if(this.openCurrent(),e==null)throw Error(`Missing root node name.`);if(this.root)throw Error(`dtd() must come before the root node.`);return this.currentNode=new f(this,t,n),this.currentNode.rootNodeName=e,this.currentNode.children=!1,this.currentLevel++,this.openTags[this.currentLevel]=this.currentNode,this}dtdElement(e,t){var n;return this.openCurrent(),n=new c(this,e,t),this.onData(this.writer.dtdElement(n,this.writerOptions,this.currentLevel+1),this.currentLevel+1),this}attList(e,t,n,r,a){var o;return this.openCurrent(),o=new s(this,e,t,n,r,a),this.onData(this.writer.dtdAttList(o,this.writerOptions,this.currentLevel+1),this.currentLevel+1),this}entity(e,t){var n;return this.openCurrent(),n=new l(this,!1,e,t),this.onData(this.writer.dtdEntity(n,this.writerOptions,this.currentLevel+1),this.currentLevel+1),this}pEntity(e,t){var n;return this.openCurrent(),n=new l(this,!0,e,t),this.onData(this.writer.dtdEntity(n,this.writerOptions,this.currentLevel+1),this.currentLevel+1),this}notation(e,t){var n;return this.openCurrent(),n=new u(this,e,t),this.onData(this.writer.dtdNotation(n,this.writerOptions,this.currentLevel+1),this.currentLevel+1),this}up(){if(this.currentLevel<0)throw Error(`The document node has no parent.`);return this.currentNode?(this.currentNode.children?this.closeNode(this.currentNode):this.openNode(this.currentNode),this.currentNode=null):this.closeNode(this.openTags[this.currentLevel]),delete this.openTags[this.currentLevel],this.currentLevel--,this}end(){for(;this.currentLevel>=0;)this.up();return this.onEnd()}openCurrent(){if(this.currentNode)return this.currentNode.children=!0,this.openNode(this.currentNode)}openNode(t){var r,a,o,s;if(!t.isOpen){if(!this.root&&this.currentLevel===0&&t.type===e.Element&&(this.root=t),a=``,t.type===e.Element){for(o in this.writerOptions.state=n.OpenTag,a=this.writer.indent(t,this.writerOptions,this.currentLevel)+`<`+t.name,s=t.attribs,s)w.call(s,o)&&(r=s[o],a+=this.writer.attribute(r,this.writerOptions,this.currentLevel));a+=(t.children?`>`:`/>`)+this.writer.endline(t,this.writerOptions,this.currentLevel),this.writerOptions.state=n.InsideTag}else this.writerOptions.state=n.OpenTag,a=this.writer.indent(t,this.writerOptions,this.currentLevel)+`<!DOCTYPE `+t.rootNodeName,t.pubID&&t.sysID?a+=` PUBLIC "`+t.pubID+`" "`+t.sysID+`"`:t.sysID&&(a+=` SYSTEM "`+t.sysID+`"`),t.children?(a+=` [`,this.writerOptions.state=n.InsideTag):(this.writerOptions.state=n.CloseTag,a+=`>`),a+=this.writer.endline(t,this.writerOptions,this.currentLevel);return this.onData(a,this.currentLevel),t.isOpen=!0}}closeNode(t){var r;if(!t.isClosed)return r=``,this.writerOptions.state=n.CloseTag,r=t.type===e.Element?this.writer.indent(t,this.writerOptions,this.currentLevel)+`</`+t.name+`>`+this.writer.endline(t,this.writerOptions,this.currentLevel):this.writer.indent(t,this.writerOptions,this.currentLevel)+`]>`+this.writer.endline(t,this.writerOptions,this.currentLevel),this.writerOptions.state=n.None,this.onData(r,this.currentLevel),t.isClosed=!0}onData(e,t){return this.documentStarted=!0,this.onDataCallback(e,t+1)}onEnd(){return this.documentCompleted=!0,this.onEndCallback()}debugInfo(e){return e==null?``:`node: <`+e+`>`}ele(){return this.element(...arguments)}nod(e,t,n){return this.node(e,t,n)}txt(e){return this.text(e)}dat(e){return this.cdata(e)}com(e){return this.comment(e)}ins(e,t){return this.instruction(e,t)}dec(e,t,n){return this.declaration(e,t,n)}dtd(e,t,n){return this.doctype(e,t,n)}e(e,t,n){return this.element(e,t,n)}n(e,t,n){return this.node(e,t,n)}t(e){return this.text(e)}d(e){return this.cdata(e)}c(e){return this.comment(e)}r(e){return this.raw(e)}i(e,t){return this.instruction(e,t)}att(){return this.currentNode&&this.currentNode.type===e.DocType?this.attList(...arguments):this.attribute(...arguments)}a(){return this.currentNode&&this.currentNode.type===e.DocType?this.attList(...arguments):this.attribute(...arguments)}ent(e,t){return this.entity(e,t)}pent(e,t){return this.pEntity(e,t)}not(e,t){return this.notation(e,t)}}}).call(e)})),ai=e.t(((e,t)=>{(function(){var e,n,r,a={}.hasOwnProperty;e=Nr(),r=ti(),n=ei(),t.exports=class extends r{constructor(e,t){super(t),this.stream=e}endline(e,t,r){return e.isLastRootNode&&t.state===n.CloseTag?``:super.endline(e,t,r)}document(e,t){var n,r,a,o,s,c,l=e.children,u,d;for(r=a=0,s=l.length;a<s;r=++a)n=l[r],n.isLastRootNode=r===e.children.length-1;for(t=this.filterOptions(t),u=e.children,d=[],o=0,c=u.length;o<c;o++)n=u[o],d.push(this.writeChildNode(n,t,0));return d}cdata(e,t,n){return this.stream.write(super.cdata(e,t,n))}comment(e,t,n){return this.stream.write(super.comment(e,t,n))}declaration(e,t,n){return this.stream.write(super.declaration(e,t,n))}docType(e,t,r){var a,o,s,c;if(r||=0,this.openNode(e,t,r),t.state=n.OpenTag,this.stream.write(this.indent(e,t,r)),this.stream.write(`<!DOCTYPE `+e.root().name),e.pubID&&e.sysID?this.stream.write(` PUBLIC "`+e.pubID+`" "`+e.sysID+`"`):e.sysID&&this.stream.write(` SYSTEM "`+e.sysID+`"`),e.children.length>0){for(this.stream.write(` [`),this.stream.write(this.endline(e,t,r)),t.state=n.InsideTag,c=e.children,o=0,s=c.length;o<s;o++)a=c[o],this.writeChildNode(a,t,r+1);t.state=n.CloseTag,this.stream.write(`]`)}return t.state=n.CloseTag,this.stream.write(t.spaceBeforeSlash+`>`),this.stream.write(this.endline(e,t,r)),t.state=n.None,this.closeNode(e,t,r)}element(t,r,o){var s,c,l,u,d,f,p,m,h,g,_,v,y,b,x;if(o||=0,this.openNode(t,r,o),r.state=n.OpenTag,g=this.indent(t,r,o)+`<`+t.name,r.pretty&&r.width>0)for(h in p=g.length,v=t.attribs,v)a.call(v,h)&&(s=v[h],_=this.attribute(s,r,o),c=_.length,p+c>r.width?(x=this.indent(t,r,o+1)+_,g+=this.endline(t,r,o)+x,p=x.length):(x=` `+_,g+=x,p+=x.length));else for(h in y=t.attribs,y)a.call(y,h)&&(s=y[h],g+=this.attribute(s,r,o));if(this.stream.write(g),u=t.children.length,d=u===0?null:t.children[0],u===0||t.children.every(function(t){return(t.type===e.Text||t.type===e.Raw||t.type===e.CData)&&t.value===``}))r.allowEmpty?(this.stream.write(`>`),r.state=n.CloseTag,this.stream.write(`</`+t.name+`>`)):(r.state=n.CloseTag,this.stream.write(r.spaceBeforeSlash+`/>`));else if(r.pretty&&u===1&&(d.type===e.Text||d.type===e.Raw||d.type===e.CData)&&d.value!=null)this.stream.write(`>`),r.state=n.InsideTag,r.suppressPrettyCount++,this.writeChildNode(d,r,o+1),r.suppressPrettyCount--,r.state=n.CloseTag,this.stream.write(`</`+t.name+`>`);else{for(this.stream.write(`>`+this.endline(t,r,o)),r.state=n.InsideTag,b=t.children,f=0,m=b.length;f<m;f++)l=b[f],this.writeChildNode(l,r,o+1);r.state=n.CloseTag,this.stream.write(this.indent(t,r,o)+`</`+t.name+`>`)}return this.stream.write(this.endline(t,r,o)),r.state=n.None,this.closeNode(t,r,o)}processingInstruction(e,t,n){return this.stream.write(super.processingInstruction(e,t,n))}raw(e,t,n){return this.stream.write(super.raw(e,t,n))}text(e,t,n){return this.stream.write(super.text(e,t,n))}dtdAttList(e,t,n){return this.stream.write(super.dtdAttList(e,t,n))}dtdElement(e,t,n){return this.stream.write(super.dtdElement(e,t,n))}dtdEntity(e,t,n){return this.stream.write(super.dtdEntity(e,t,n))}dtdNotation(e,t,n){return this.stream.write(super.dtdNotation(e,t,n))}}}).call(e)})),oi=e.t(((e,t)=>{(function(){var e,n,r,a,o,s,c,l,u;({assign:l,isFunction:u}=Or()),r=kr(),a=ri(),o=ii(),c=ni(),s=ai(),e=Nr(),n=ei(),t.exports.create=function(e,t,n,r){var o,s;if(e==null)throw Error(`Root element needs a name.`);return r=l({},t,n,r),o=new a(r),s=o.element(e),r.headless||(o.declaration(r),(r.pubID!=null||r.sysID!=null)&&o.dtd(r)),s},t.exports.begin=function(e,t,n){return u(e)&&([t,n]=[e,t],e={}),t?new o(e,t,n):new a(e)},t.exports.stringWriter=function(e){return new c(e)},t.exports.streamWriter=function(e,t){return new s(e,t)},t.exports.implementation=new r,t.exports.nodeType=e,t.exports.writerState=n}).call(e)})),si=e.t((e=>{var t=Dr(),n=oi();e.build=s;function r(e){function t(e){return e<10?`0`+e:e}return e.getUTCFullYear()+`-`+t(e.getUTCMonth()+1)+`-`+t(e.getUTCDate())+`T`+t(e.getUTCHours())+`:`+t(e.getUTCMinutes())+`:`+t(e.getUTCSeconds())+`Z`}var a=Object.prototype.toString;function o(e){var t=a.call(e).match(/\[object (.*)\]/);return t&&t[1]}function s(e,t){var r={version:`1.0`,encoding:`UTF-8`},a={pubid:`-//Apple//DTD PLIST 1.0//EN`,sysid:`http://www.apple.com/DTDs/PropertyList-1.0.dtd`},o=n.create(`plist`);return o.dec(r.version,r.encoding,r.standalone),o.dtd(a.pubid,a.sysid),o.att(`version`,`1.0`),c(e,o),t||={},t.pretty=t.pretty!==!1,o.end(t)}function c(e,n){var a,s,l,u=o(e);if(u!=`Undefined`)if(Array.isArray(e))for(n=n.ele(`array`),s=0;s<e.length;s++)c(e[s],n);else if(Buffer.isBuffer(e))n.ele(`data`).raw(e.toString(`base64`));else if(u==`Object`)for(l in n=n.ele(`dict`),e)e.hasOwnProperty(l)&&(n.ele(`key`).txt(l),c(e[l],n));else u==`Number`?(a=e%1==0?`integer`:`real`,n.ele(a).txt(e.toString())):u==`BigInt`?n.ele(`integer`).txt(e):u==`Date`?n.ele(`date`).txt(r(new Date(e))):u==`Boolean`?n.ele(e?`true`:`false`):u==`String`?n.ele(`string`).txt(e):u==`ArrayBuffer`?n.ele(`data`).raw(t.fromByteArray(e)):e&&e.buffer&&o(e.buffer)==`ArrayBuffer`?n.ele(`data`).raw(t.fromByteArray(new Uint8Array(e.buffer),n)):u===`Null`&&n.ele(`null`).txt(``)}})),ci=e.t((e=>{var t=Er();Object.keys(t).forEach(function(n){e[n]=t[n]});var n=si();Object.keys(n).forEach(function(t){e[t]=n[t]})})),li=e.t((e=>{var t=e&&e.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(e,`__esModule`,{value:!0}),e.parse=void 0;var n=t(_r()),r=t(ci());function a(e,t){var a=e[0],o;try{if(a===60||a===`<`)o=r.default.parse(e.toString());else if(a===98)o=n.default.parseBuffer(e)[0];else if(t)throw Error(`Unable to determine format for '`+t+`'`);else throw Error(`Unable to determine format for plist aStringOrBuffer`)}catch(e){throw e instanceof Error?e:Error(`error parsing `+t)}return o}e.parse=a})),ui=e.t((e=>{var t=e&&e.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(e,`__esModule`,{value:!0}),e.readFile=void 0;var n=t(require(`fs`)),r=li();function a(e,t){n.default.readFile(e,function(n,a){if(n)return t(n);var o;try{o=(0,r.parse)(a,e)}catch(n){return t(n instanceof Error?n:Error(`failed to read file `+e))}t(null,o)})}e.readFile=a})),di=e.t((e=>{var t=e&&e.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(e,`__esModule`,{value:!0}),e.readFileSync=void 0;var n=t(require(`fs`)),r=li();function a(e){var t=n.default.readFileSync(e);return t.length===0?{}:(0,r.parse)(t,e)}e.readFileSync=a})),fi=e.t((e=>{var t=e&&e.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(e,`__esModule`,{value:!0}),e.stringify=void 0;var n=t(ci());function r(e){return n.default.build(e)}e.stringify=r})),pi=e.t((e=>{var t=e&&e.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(e,`__esModule`,{value:!0}),e.writeBinaryFile=void 0;var n=t(hr()),r=t(require(`fs`));function a(e,t,a,o){if(typeof a==`function`&&o===void 0)r.default.writeFile(e,(0,n.default)(t),a);else if(typeof a==`object`&&typeof o==`function`)r.default.writeFile(e,(0,n.default)(t),a,o);else throw Error(`Invalid parameters passed to writeBinaryFile`)}e.writeBinaryFile=a})),mi=e.t((e=>{var t=e&&e.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(e,`__esModule`,{value:!0}),e.writeBinaryFileSync=void 0;var n=t(hr()),r=t(require(`fs`));function a(e,t,a){return r.default.writeFileSync(e,(0,n.default)(t),a)}e.writeBinaryFileSync=a})),hi=e.t((e=>{var t=e&&e.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(e,`__esModule`,{value:!0}),e.writeFile=void 0;var n=t(require(`fs`)),r=t(ci());function a(e,t,a,o){if(typeof a==`function`&&o===void 0)n.default.writeFile(e,r.default.build(t),a);else if(typeof a==`object`&&typeof o==`function`)n.default.writeFile(e,r.default.build(t),a,o);else throw Error(`Invalid parameters passed to writeFile`)}e.writeFile=a})),gi=e.t((e=>{var t=e&&e.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(e,`__esModule`,{value:!0}),e.writeFileSync=void 0;var n=t(require(`fs`)),r=t(ci());function a(e,t,a){var o=r.default.build(t);return n.default.writeFileSync(e,o,a)}e.writeFileSync=a})),_i=e.t((e=>{var t=e&&e.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(e,`__esModule`,{value:!0}),e.writeFileSync=e.writeFile=e.writeBinaryFileSync=e.writeBinaryFile=e.stringify=e.readFileSync=e.readFile=e.parse=e.bplistParser=e.bplistCreator=void 0;var n=hr();Object.defineProperty(e,`bplistCreator`,{enumerable:!0,get:function(){return t(n).default}});var r=_r();Object.defineProperty(e,`bplistParser`,{enumerable:!0,get:function(){return t(r).default}});var a=li();Object.defineProperty(e,`parse`,{enumerable:!0,get:function(){return a.parse}});var o=ui();Object.defineProperty(e,`readFile`,{enumerable:!0,get:function(){return o.readFile}});var s=di();Object.defineProperty(e,`readFileSync`,{enumerable:!0,get:function(){return s.readFileSync}});var c=fi();Object.defineProperty(e,`stringify`,{enumerable:!0,get:function(){return c.stringify}});var l=pi();Object.defineProperty(e,`writeBinaryFile`,{enumerable:!0,get:function(){return l.writeBinaryFile}});var u=mi();Object.defineProperty(e,`writeBinaryFileSync`,{enumerable:!0,get:function(){return u.writeBinaryFileSync}});var d=hi();Object.defineProperty(e,`writeFile`,{enumerable:!0,get:function(){return d.writeFile}});var f=gi();Object.defineProperty(e,`writeFileSync`,{enumerable:!0,get:function(){return f.writeFileSync}})})),vi=e.t(((e,t)=>{var n=require(`util`),r=n.format,a=require(`events`).EventEmitter,o=require(`path`),s=sr(),c=require(`child_process`).fork,l=cr(),u=lr(),d=require(`fs`),f=ur(),p=_i(),m=/_comment$/;function h(e){if(!(this instanceof h))return new h(e);this.filepath=o.resolve(e)}n.inherits(h,a),h.prototype.parse=function(e){return c(__dirname+`/parseJob.js`,[this.filepath]).on(`message`,function(e){e.name==`SyntaxError`||e.code?this.emit(`error`,e):(this.hash=e,this.emit(`end`,null,e))}.bind(this)),e&&(this.on(`error`,e),this.on(`end`,e)),this},h.prototype.parseSync=function(){var e=d.readFileSync(this.filepath,`utf-8`);return this.hash=f.parse(e),this},h.prototype.writeSync=function(e){return this.writer=new l(this.hash,e),this.writer.writeSync()},h.prototype.allUuids=function(){var e=this.hash.project.objects,t=[],n;for(key in e)n=e[key],t=t.concat(Object.keys(n));return t=t.filter(function(e){return!m.test(e)&&e.length==24}),t},h.prototype.generateUuid=function(){var e=s.v4().replace(/-/g,``).substr(0,24).toUpperCase();return this.allUuids().indexOf(e)>=0?this.generateUuid():e},h.prototype.addPluginFile=function(e,t){var n=new u(e,t);return n.plugin=!0,E(n,this),this.hasFile(n.path)?null:(n.fileRef=this.generateUuid(),this.addToPbxFileReferenceSection(n),this.addToPluginsPbxGroup(n),n)},h.prototype.removePluginFile=function(e,t){var n=new u(e,t);return E(n,this),this.removeFromPbxFileReferenceSection(n),this.removeFromPluginsPbxGroup(n),n},h.prototype.addProductFile=function(e,t){var n=new u(e,t);return n.includeInIndex=0,n.fileRef=this.generateUuid(),n.target=t?t.target:void 0,n.group=t?t.group:void 0,n.uuid=this.generateUuid(),n.path=n.basename,this.addToPbxFileReferenceSection(n),this.addToProductsPbxGroup(n),n},h.prototype.removeProductFile=function(e,t){var n=new u(e,t);return this.removeFromProductsPbxGroup(n),n},h.prototype.addSourceFile=function(e,t,n){var r=n?this.addFile(e,n,t):this.addPluginFile(e,t);return r?(r.target=t?t.target:void 0,r.uuid=this.generateUuid(),this.addToPbxBuildFileSection(r),this.addToPbxSourcesBuildPhase(r),r):!1},h.prototype.removeSourceFile=function(e,t,n){var r=n?this.removeFile(e,n,t):this.removePluginFile(e,t);return r.target=t?t.target:void 0,this.removeFromPbxBuildFileSection(r),this.removeFromPbxSourcesBuildPhase(r),r},h.prototype.addHeaderFile=function(e,t,n){return n?this.addFile(e,n,t):this.addPluginFile(e,t)},h.prototype.removeHeaderFile=function(e,t,n){return n?this.removeFile(e,n,t):this.removePluginFile(e,t)},h.prototype.addResourceFile=function(e,t,n){t||={};var r;if(t.plugin){if(r=this.addPluginFile(e,t),!r)return!1}else if(r=new u(e,t),this.hasFile(r.path))return!1;return r.uuid=this.generateUuid(),r.target=t?t.target:void 0,t.plugin||(D(r,this),r.fileRef=this.generateUuid()),t.variantGroup||(this.addToPbxBuildFileSection(r),this.addToPbxResourcesBuildPhase(r)),t.plugin||(this.addToPbxFileReferenceSection(r),n?this.getPBXGroupByKey(n)?this.addToPbxGroup(r,n):this.getPBXVariantGroupByKey(n)&&this.addToPbxVariantGroup(r,n):this.addToResourcesPbxGroup(r)),r},h.prototype.removeResourceFile=function(e,t,n){var r=new u(e,t);return r.target=t?t.target:void 0,D(r,this),this.removeFromPbxBuildFileSection(r),this.removeFromPbxFileReferenceSection(r),n?this.getPBXGroupByKey(n)?this.removeFromPbxGroup(r,n):this.getPBXVariantGroupByKey(n)&&this.removeFromPbxVariantGroup(r,n):this.removeFromResourcesPbxGroup(r),this.removeFromPbxResourcesBuildPhase(r),r},h.prototype.addFramework=function(e,t){var n=t&&t.customFramework==1,r=!t||t.link==null||t.link,a=t&&t.embed;t&&delete t.embed;var o=new u(e,t);if(o.uuid=this.generateUuid(),o.fileRef=this.generateUuid(),o.target=t?t.target:void 0,this.hasFile(o.path))return!1;if(this.addToPbxBuildFileSection(o),this.addToPbxFileReferenceSection(o),this.addToFrameworksPbxGroup(o),r&&this.addToPbxFrameworksBuildPhase(o),n&&(this.addToFrameworkSearchPaths(o),a)){t.embed=a;var s=new u(e,t);return s.uuid=this.generateUuid(),s.fileRef=o.fileRef,this.addToPbxBuildFileSection(s),this.addToPbxEmbedFrameworksBuildPhase(s),s}return o},h.prototype.removeFramework=function(e,t){t&&t.embed,t&&delete t.embed;var n=new u(e,t);n.target=t?t.target:void 0,this.removeFromPbxBuildFileSection(n),this.removeFromPbxFileReferenceSection(n),this.removeFromFrameworksPbxGroup(n),this.removeFromPbxFrameworksBuildPhase(n),t&&t.customFramework&&this.removeFromFrameworkSearchPaths(n),t||={},t.embed=!0;var r=new u(e,t);return r.fileRef=n.fileRef,this.removeFromPbxBuildFileSection(r),this.removeFromPbxEmbedFrameworksBuildPhase(r),n},h.prototype.addCopyfile=function(e,t){var n=new u(e,t);return this.hasFile(n.path)&&(n=this.hasFile(n.path)),n.fileRef=n.uuid=this.generateUuid(),n.target=t?t.target:void 0,this.addToPbxBuildFileSection(n),this.addToPbxFileReferenceSection(n),this.addToPbxCopyfilesBuildPhase(n),n},h.prototype.pbxCopyfilesBuildPhaseObj=function(e){return this.buildPhaseObject(`PBXCopyFilesBuildPhase`,`Copy Files`,e)},h.prototype.addToPbxCopyfilesBuildPhase=function(e){this.buildPhaseObject(`PBXCopyFilesBuildPhase`,`Copy Files`,e.target).files.push(y(e))},h.prototype.removeCopyfile=function(e,t){var n=new u(e,t);return n.target=t?t.target:void 0,this.removeFromPbxBuildFileSection(n),this.removeFromPbxFileReferenceSection(n),this.removeFromPbxCopyfilesBuildPhase(n),n},h.prototype.removeFromPbxCopyfilesBuildPhase=function(e){var t=this.pbxCopyfilesBuildPhaseObj(e.target);for(i in t.files)if(t.files[i].comment==T(e)){t.files.splice(i,1);break}},h.prototype.addStaticLibrary=function(e,t){t||={};var n;if(t.plugin){if(n=this.addPluginFile(e,t),!n)return!1}else if(n=new u(e,t),this.hasFile(n.path))return!1;return n.uuid=this.generateUuid(),n.target=t?t.target:void 0,t.plugin||(n.fileRef=this.generateUuid(),this.addToPbxFileReferenceSection(n)),this.addToPbxBuildFileSection(n),this.addToPbxFrameworksBuildPhase(n),this.addToLibrarySearchPaths(n),n},h.prototype.addToPbxBuildFileSection=function(e){var t=r(`%s_comment`,e.uuid);this.pbxBuildFileSection()[e.uuid]=g(e),this.pbxBuildFileSection()[t]=S(e)},h.prototype.removeFromPbxBuildFileSection=function(e){for(var t in this.pbxBuildFileSection())if(this.pbxBuildFileSection()[t].fileRef_comment==e.basename){e.uuid=t,delete this.pbxBuildFileSection()[t];var n=r(`%s_comment`,t);delete this.pbxBuildFileSection()[n]}},h.prototype.addPbxGroup=function(e,t,n,a){var o=this.hash.project.objects.PBXGroup,s=this.generateUuid(),c=r(`%s_comment`,s),l={isa:`PBXGroup`,children:[],name:t,path:n,sourceTree:a||`"<group>"`},d=this.pbxFileReferenceSection(),f={};for(var p in d)if(m.test(p)){var h=p.split(m)[0],g=d[h];f[g.path]={fileRef:h,basename:d[p]}}for(var _=0;_<e.length;_++){var y=e[_],b=`"`+y+`"`;if(f[y]){l.children.push(v(f[y]));continue}else if(f[b]){l.children.push(v(f[b]));continue}var x=new u(y);x.uuid=this.generateUuid(),x.fileRef=this.generateUuid(),this.addToPbxFileReferenceSection(x),this.addToPbxBuildFileSection(x),l.children.push(v(x))}return o&&(o[s]=l,o[c]=t),{uuid:s,pbxGroup:l}},h.prototype.removePbxGroup=function(e){var t=this.hash.project.objects.PBXGroup,n,r;for(n in t)m.test(n)&&t[n]==e&&(r=n.split(m)[0],delete t[r])},h.prototype.addToPbxProjectSection=function(e){var t={value:e.uuid,comment:w(e.pbxNativeTarget)};this.pbxProjectSection()[this.getFirstProject().uuid].targets.push(t)},h.prototype.addToPbxNativeTargetSection=function(e){var t=r(`%s_comment`,e.uuid);this.pbxNativeTargetSection()[e.uuid]=e.pbxNativeTarget,this.pbxNativeTargetSection()[t]=e.pbxNativeTarget.name},h.prototype.addToPbxFileReferenceSection=function(e){var t=r(`%s_comment`,e.fileRef);this.pbxFileReferenceSection()[e.fileRef]=_(e),this.pbxFileReferenceSection()[t]=C(e)},h.prototype.removeFromPbxFileReferenceSection=function(e){var t,n=_(e);for(t in this.pbxFileReferenceSection())if(this.pbxFileReferenceSection()[t].name==n.name||`"`+this.pbxFileReferenceSection()[t].name+`"`==n.name||this.pbxFileReferenceSection()[t].path==n.path||`"`+this.pbxFileReferenceSection()[t].path+`"`==n.path){e.fileRef=e.uuid=t,delete this.pbxFileReferenceSection()[t];break}var a=r(`%s_comment`,e.fileRef);return this.pbxFileReferenceSection()[a]!=null&&delete this.pbxFileReferenceSection()[a],e},h.prototype.addToXcVersionGroupSection=function(e){if(!e.models||!e.currentModel)throw Error(`Cannot create a XCVersionGroup section from not a data model document file`);var t=r(`%s_comment`,e.fileRef);this.xcVersionGroupSection()[e.fileRef]||(this.xcVersionGroupSection()[e.fileRef]={isa:`XCVersionGroup`,children:e.models.map(function(e){return e.fileRef}),currentVersion:e.currentModel.fileRef,name:o.basename(e.path),path:e.path,sourceTree:`"<group>"`,versionGroupType:`wrapper.xcdatamodel`},this.xcVersionGroupSection()[t]=o.basename(e.path))},h.prototype.addToPluginsPbxGroup=function(e){var t=this.pbxGroupByName(`Plugins`);t?t.children.push(v(e)):this.addPbxGroup([e.path],`Plugins`)},h.prototype.removeFromPluginsPbxGroup=function(e){if(!this.pbxGroupByName(`Plugins`))return null;var t=this.pbxGroupByName(`Plugins`).children,n;for(n in t)if(v(e).value==t[n].value&&v(e).comment==t[n].comment){t.splice(n,1);break}},h.prototype.addToResourcesPbxGroup=function(e){var t=this.pbxGroupByName(`Resources`);t?t.children.push(v(e)):this.addPbxGroup([e.path],`Resources`)},h.prototype.removeFromResourcesPbxGroup=function(e){if(!this.pbxGroupByName(`Resources`))return null;var t=this.pbxGroupByName(`Resources`).children,n;for(n in t)if(v(e).value==t[n].value&&v(e).comment==t[n].comment){t.splice(n,1);break}},h.prototype.addToFrameworksPbxGroup=function(e){var t=this.pbxGroupByName(`Frameworks`);t?t.children.push(v(e)):this.addPbxGroup([e.path],`Frameworks`)},h.prototype.removeFromFrameworksPbxGroup=function(e){if(!this.pbxGroupByName(`Frameworks`))return null;var t=this.pbxGroupByName(`Frameworks`).children;for(i in t)if(v(e).value==t[i].value&&v(e).comment==t[i].comment){t.splice(i,1);break}},h.prototype.addToPbxEmbedFrameworksBuildPhase=function(e){var t=this.pbxEmbedFrameworksBuildPhaseObj(e.target);t&&t.files.push(y(e))},h.prototype.removeFromPbxEmbedFrameworksBuildPhase=function(e){var t=this.pbxEmbedFrameworksBuildPhaseObj(e.target);if(t){var n=[];for(i in t.files)t.files[i].comment!=T(e)&&n.push(t.files[i]);t.files=n}},h.prototype.addToProductsPbxGroup=function(e){var t=this.pbxGroupByName(`Products`);t?t.children.push(v(e)):this.addPbxGroup([e.path],`Products`)},h.prototype.removeFromProductsPbxGroup=function(e){if(!this.pbxGroupByName(`Products`))return null;var t=this.pbxGroupByName(`Products`).children,n;for(n in t)if(v(e).value==t[n].value&&v(e).comment==t[n].comment){t.splice(n,1);break}},h.prototype.addToPbxSourcesBuildPhase=function(e){this.pbxSourcesBuildPhaseObj(e.target).files.push(y(e))},h.prototype.removeFromPbxSourcesBuildPhase=function(e){var t=this.pbxSourcesBuildPhaseObj(e.target),n;for(n in t.files)if(t.files[n].comment==T(e)){t.files.splice(n,1);break}},h.prototype.addToPbxResourcesBuildPhase=function(e){this.pbxResourcesBuildPhaseObj(e.target).files.push(y(e))},h.prototype.removeFromPbxResourcesBuildPhase=function(e){var t=this.pbxResourcesBuildPhaseObj(e.target),n;for(n in t.files)if(t.files[n].comment==T(e)){t.files.splice(n,1);break}},h.prototype.addToPbxFrameworksBuildPhase=function(e){this.pbxFrameworksBuildPhaseObj(e.target).files.push(y(e))},h.prototype.removeFromPbxFrameworksBuildPhase=function(e){var t=this.pbxFrameworksBuildPhaseObj(e.target);for(i in t.files)if(t.files[i].comment==T(e)){t.files.splice(i,1);break}},h.prototype.addXCConfigurationList=function(e,t,n){for(var a=this.pbxXCBuildConfigurationSection(),o=this.pbxXCConfigurationList(),s=this.generateUuid(),c=r(`%s_comment`,s),l={isa:`XCConfigurationList`,buildConfigurations:[],defaultConfigurationIsVisible:0,defaultConfigurationName:t},u=0;u<e.length;u++){var d=e[u],f=this.generateUuid(),p=r(`%s_comment`,f);a[f]=d,a[p]=d.name,l.buildConfigurations.push({value:f,comment:d.name})}return o&&(o[s]=l,o[c]=n),{uuid:s,xcConfigurationList:l}},h.prototype.addTargetDependency=function(e,t){if(e){var n=this.pbxNativeTargetSection();if(n[e]===void 0)throw Error(`Invalid target: `+e);for(var a=0;a<t.length;a++){var o=t[a];if(n[o]===void 0)throw Error(`Invalid target: `+o)}for(var s=`PBXTargetDependency`,c=`PBXContainerItemProxy`,l=this.hash.project.objects[s],u=this.hash.project.objects[c],a=0;a<t.length;a++){var d=t[a],f=r(`%s_comment`,d),p=this.generateUuid(),m=r(`%s_comment`,p),h=this.generateUuid(),g=r(`%s_comment`,h),_={isa:c,containerPortal:this.hash.project.rootObject,containerPortal_comment:this.hash.project.rootObject_comment,proxyType:1,remoteGlobalIDString:d,remoteInfo:n[d].name},v={isa:s,target:d,target_comment:n[f],targetProxy:h,targetProxy_comment:c};u&&l&&(u[h]=_,u[g]=c,l[p]=v,l[m]=s,n[e].dependencies.push({value:p,comment:s}))}return{uuid:e,target:n[e]}}},h.prototype.addBuildPhase=function(e,t,n,a,o,s){var c,l=this.pbxFileReferenceSection(),d=this.pbxBuildFileSection(),f=this.generateUuid(),p=a||this.getFirstTarget().uuid,h=r(`%s_comment`,f),g={isa:t,buildActionMask:2147483647,files:[],runOnlyForDeploymentPostprocessing:0},_={};for(var v in t===`PBXCopyFilesBuildPhase`?g=b(g,o,s,n):t===`PBXShellScriptBuildPhase`&&(g=x(g,o,n)),this.hash.project.objects[t]||(this.hash.project.objects[t]={}),this.hash.project.objects[t][f]||(this.hash.project.objects[t][f]=g,this.hash.project.objects[t][h]=n),this.hash.project.objects.PBXNativeTarget[p].buildPhases&&this.hash.project.objects.PBXNativeTarget[p].buildPhases.push({value:f,comment:n}),d)if(m.test(v)){var S=v.split(m)[0];if(fileReference=l[d[S].fileRef],fileReference){var C=new u(fileReference.path);_[fileReference.path]={uuid:S,basename:C.basename,group:C.group}}}for(var w=0;w<e.length;w++){var T=e[w],E=`"`+T+`"`,D=new u(T);if(_[T]){g.files.push(y(_[T]));continue}else if(_[E]){g.files.push(y(_[E]));continue}D.uuid=this.generateUuid(),D.fileRef=this.generateUuid(),this.addToPbxFileReferenceSection(D),this.addToPbxBuildFileSection(D),g.files.push(y(D))}return c&&(c[f]=g,c[h]=n),{uuid:f,buildPhase:g}},h.prototype.pbxProjectSection=function(){return this.hash.project.objects.PBXProject},h.prototype.pbxBuildFileSection=function(){return this.hash.project.objects.PBXBuildFile},h.prototype.pbxXCBuildConfigurationSection=function(){return this.hash.project.objects.XCBuildConfiguration},h.prototype.pbxFileReferenceSection=function(){return this.hash.project.objects.PBXFileReference},h.prototype.pbxNativeTargetSection=function(){return this.hash.project.objects.PBXNativeTarget},h.prototype.xcVersionGroupSection=function(){return typeof this.hash.project.objects.XCVersionGroup!=`object`&&(this.hash.project.objects.XCVersionGroup={}),this.hash.project.objects.XCVersionGroup},h.prototype.pbxXCConfigurationList=function(){return this.hash.project.objects.XCConfigurationList},h.prototype.pbxGroupByName=function(e){var t=this.hash.project.objects.PBXGroup,n,r;for(n in t)if(m.test(n)&&t[n]==e)return r=n.split(m)[0],t[r];return null},h.prototype.pbxTargetByName=function(e){return this.pbxItemByComment(e,`PBXNativeTarget`)},h.prototype.findTargetKey=function(e){var t=this.hash.project.objects.PBXNativeTarget;for(var n in t)if(!m.test(n)&&t[n].name===e)return n;return null},h.prototype.pbxItemByComment=function(e,t){var n=this.hash.project.objects[t],r,a;for(r in n)if(m.test(r)&&n[r]==e)return a=r.split(m)[0],n[a];return null},h.prototype.pbxSourcesBuildPhaseObj=function(e){return this.buildPhaseObject(`PBXSourcesBuildPhase`,`Sources`,e)},h.prototype.pbxResourcesBuildPhaseObj=function(e){return this.buildPhaseObject(`PBXResourcesBuildPhase`,`Resources`,e)},h.prototype.pbxFrameworksBuildPhaseObj=function(e){return this.buildPhaseObject(`PBXFrameworksBuildPhase`,`Frameworks`,e)},h.prototype.pbxEmbedFrameworksBuildPhaseObj=function(e){return this.buildPhaseObject(`PBXCopyFilesBuildPhase`,`Embed Frameworks`,e)},h.prototype.buildPhase=function(e,t){if(t){var n=this.pbxNativeTargetSection();if(n[t]===void 0)throw Error(`Invalid target: `+t);var r=n[t].buildPhases;for(var a in r){var o=r[a];if(o.comment==e)return o.value+`_comment`}}},h.prototype.buildPhaseObject=function(e,t,n){var r=this.hash.project.objects[e],a,o,s=this.buildPhase(t,n);for(o in r)if(m.test(o)&&!(s&&s!=o)&&r[o]==t)return a=o.split(m)[0],r[a];return null},h.prototype.addBuildProperty=function(e,t,n){var r=A(this.pbxXCBuildConfigurationSection()),a,o;for(a in r)o=r[a],(!n||o.name===n)&&(o.buildSettings[e]=t)},h.prototype.removeBuildProperty=function(e,t){var n=A(this.pbxXCBuildConfigurationSection()),r,a;for(r in n)a=n[r],(a.buildSettings[e]&&!t||a.name===t)&&delete a.buildSettings[e]},h.prototype.updateBuildProperty=function(e,t,n,r){let a=[];if(r){let e=this.pbxTargetByName(r),t=e&&e.buildConfigurationList,n=this.pbxXCConfigurationList();for(let e in n)if(!m.test(e)&&t===e){let t=n[e].buildConfigurations;for(let e of t)a.push(e.value);break}}var o=this.pbxXCBuildConfigurationSection();for(var s in o)if(!m.test(s)){if(r&&!a.includes(s))continue;var c=o[s];(n&&c.name===n||!n)&&(c.buildSettings[e]=t)}},h.prototype.updateProductName=function(e){this.updateBuildProperty(`PRODUCT_NAME`,`"`+e+`"`)},h.prototype.removeFromFrameworkSearchPaths=function(e){var t=A(this.pbxXCBuildConfigurationSection()),n=`FRAMEWORK_SEARCH_PATHS`,r,a,o,s=k(e,this);for(r in t)a=t[r].buildSettings,j(a.PRODUCT_NAME)==this.productName&&(o=a[n],o&&Array.isArray(o)&&o.filter(function(e){return e.indexOf(s)>-1}).forEach(function(e){var t=o.indexOf(e);o.splice(t,1)}))},h.prototype.addToFrameworkSearchPaths=function(e){var t=A(this.pbxXCBuildConfigurationSection()),n=`"$(inherited)"`,r,a;for(r in t)a=t[r].buildSettings,j(a.PRODUCT_NAME)==this.productName&&((!a.FRAMEWORK_SEARCH_PATHS||a.FRAMEWORK_SEARCH_PATHS===n)&&(a.FRAMEWORK_SEARCH_PATHS=[n]),a.FRAMEWORK_SEARCH_PATHS.push(k(e,this)))},h.prototype.removeFromLibrarySearchPaths=function(e){var t=A(this.pbxXCBuildConfigurationSection()),n=`LIBRARY_SEARCH_PATHS`,r,a,o,s=k(e,this);for(r in t)a=t[r].buildSettings,j(a.PRODUCT_NAME)==this.productName&&(o=a[n],o&&Array.isArray(o)&&o.filter(function(e){return e.indexOf(s)>-1}).forEach(function(e){var t=o.indexOf(e);o.splice(t,1)}))},h.prototype.addToLibrarySearchPaths=function(e){var t=A(this.pbxXCBuildConfigurationSection()),n=`"$(inherited)"`,r,a;for(r in t)a=t[r].buildSettings,j(a.PRODUCT_NAME)==this.productName&&((!a.LIBRARY_SEARCH_PATHS||a.LIBRARY_SEARCH_PATHS===n)&&(a.LIBRARY_SEARCH_PATHS=[n]),typeof e==`string`?a.LIBRARY_SEARCH_PATHS.push(e):a.LIBRARY_SEARCH_PATHS.push(k(e,this)))},h.prototype.removeFromHeaderSearchPaths=function(e){var t=A(this.pbxXCBuildConfigurationSection()),n=`HEADER_SEARCH_PATHS`,r,a,o=k(e,this);for(r in t)a=t[r].buildSettings,j(a.PRODUCT_NAME)==this.productName&&a[n]&&a[n].filter(function(e){return e.indexOf(o)>-1}).forEach(function(e){var t=a[n].indexOf(e);a[n].splice(t,1)})},h.prototype.addToHeaderSearchPaths=function(e){var t=A(this.pbxXCBuildConfigurationSection()),n=`"$(inherited)"`,r,a;for(r in t)a=t[r].buildSettings,j(a.PRODUCT_NAME)==this.productName&&(a.HEADER_SEARCH_PATHS||=[n],typeof e==`string`?a.HEADER_SEARCH_PATHS.push(e):a.HEADER_SEARCH_PATHS.push(k(e,this)))},h.prototype.addToOtherLinkerFlags=function(e){var t=A(this.pbxXCBuildConfigurationSection()),n=`"$(inherited)"`,r=`OTHER_LDFLAGS`,a,o;for(a in t)o=t[a].buildSettings,j(o.PRODUCT_NAME)==this.productName&&((!o[r]||o[r]===n)&&(o[r]=[n]),o[r].push(e))},h.prototype.removeFromOtherLinkerFlags=function(e){var t=A(this.pbxXCBuildConfigurationSection()),n=`OTHER_LDFLAGS`,r,a;for(r in t)a=t[r].buildSettings,j(a.PRODUCT_NAME)==this.productName&&a[n]&&a[n].filter(function(t){return t.indexOf(e)>-1}).forEach(function(e){var t=a[n].indexOf(e);a[n].splice(t,1)})},h.prototype.addToBuildSettings=function(e,t){var n=A(this.pbxXCBuildConfigurationSection()),r,a;for(r in n)a=n[r].buildSettings,a[e]=t},h.prototype.removeFromBuildSettings=function(e){var t=A(this.pbxXCBuildConfigurationSection()),n,r;for(n in t)r=t[n].buildSettings,r[e]&&delete r[e]},h.prototype.__defineGetter__(`productName`,function(){var e=A(this.pbxXCBuildConfigurationSection()),t,n;for(t in e)if(n=e[t].buildSettings.PRODUCT_NAME,n)return j(n)}),h.prototype.hasFile=function(e){var t=A(this.pbxFileReferenceSection()),n,r;for(r in t)if(n=t[r],n.path==e||n.path==`"`+e+`"`)return n;return!1},h.prototype.addTarget=function(e,t,n,r){var a=this.generateUuid(),s=t,c=n||e,l=e.trim(),u=r;if(!l)throw Error(`Target name missing.`);if(!s)throw Error(`Target type missing.`);if(!M(s))throw Error(`Target type invalid: `+s);var d=[{name:`Debug`,isa:`XCBuildConfiguration`,buildSettings:{GCC_PREPROCESSOR_DEFINITIONS:[`"DEBUG=1"`,`"$(inherited)"`],INFOPLIST_FILE:`"`+o.join(c,c+`-Info.plist"`),LD_RUNPATH_SEARCH_PATHS:`"$(inherited) @executable_path/Frameworks @executable_path/../../Frameworks"`,PRODUCT_NAME:`"`+l+`"`,SKIP_INSTALL:`YES`}},{name:`Release`,isa:`XCBuildConfiguration`,buildSettings:{INFOPLIST_FILE:`"`+o.join(c,c+`-Info.plist"`),LD_RUNPATH_SEARCH_PATHS:`"$(inherited) @executable_path/Frameworks @executable_path/../../Frameworks"`,PRODUCT_NAME:`"`+l+`"`,SKIP_INSTALL:`YES`}}];u&&(d=d.map(e=>(e.buildSettings.PRODUCT_BUNDLE_IDENTIFIER=`"`+u+`"`,e)));var f=this.addXCConfigurationList(d,`Release`,`Build configuration list for PBXNativeTarget "`+l+`"`),p=l,m=N(M(s)),h=this.addProductFile(p,{group:`Copy Files`,target:a,explicitFileType:m});h.basename,this.addToPbxBuildFileSection(h);var g={uuid:a,pbxNativeTarget:{isa:`PBXNativeTarget`,name:`"`+l+`"`,productName:`"`+l+`"`,productReference:h.fileRef,productType:`"`+M(s)+`"`,buildConfigurationList:f.uuid,buildPhases:[],buildRules:[],dependencies:[]}};if(this.addToPbxNativeTargetSection(g),s===`app_extension`)this.addBuildPhase([],`PBXCopyFilesBuildPhase`,`Copy Files`,this.getFirstTarget().uuid,s),this.addToPbxCopyfilesBuildPhase(h);else if(s===`watch2_app`)this.addBuildPhase([l+`.app`],`PBXCopyFilesBuildPhase`,`Embed Watch Content`,this.getFirstTarget().uuid,s,`"$(CONTENTS_FOLDER_PATH)/Watch"`);else if(s===`watch2_extension`){var _=this.getTarget(M(`watch2_app`));_&&this.addBuildPhase([l+`.appex`],`PBXCopyFilesBuildPhase`,`Embed App Extensions`,_.uuid,s)}if(this.addToPbxProjectSection(g),s===`watch2_extension`){var _=this.getTarget(M(`watch2_app`));_&&this.addTargetDependency(_.uuid,[g.uuid])}else this.addTargetDependency(this.getFirstTarget().uuid,[g.uuid]);return g};function g(e){var t=Object.create(null);return t.isa=`PBXBuildFile`,t.fileRef=e.fileRef,t.fileRef_comment=e.basename,e.settings&&(t.settings=e.settings),t}function _(e){return{isa:`PBXFileReference`,name:`"`+e.basename+`"`,path:`"`+e.path.replace(/\\/g,`/`)+`"`,sourceTree:e.sourceTree,fileEncoding:e.fileEncoding,lastKnownFileType:e.lastKnownFileType,explicitFileType:e.explicitFileType,includeInIndex:e.includeInIndex}}function v(e){var t=Object.create(null);return t.value=e.fileRef,t.comment=e.basename,t}function y(e){var t=Object.create(null);return t.value=e.uuid,t.comment=T(e),t}function b(e,t,n,r){return e.name=`"`+r+`"`,e.dstPath=n||`""`,e.dstSubfolderSpec={absolute_path:0,executables:6,frameworks:10,java_resources:15,plugins:13,products_directory:16,resources:7,shared_frameworks:11,shared_support:12,wrapper:1,xpc_services:0}[{application:`wrapper`,app_extension:`plugins`,bundle:`wrapper`,command_line_tool:`wrapper`,dynamic_library:`products_directory`,framework:`shared_frameworks`,frameworks:`frameworks`,static_library:`products_directory`,unit_test_bundle:`wrapper`,watch_app:`wrapper`,watch2_app:`products_directory`,watch_extension:`plugins`,watch2_extension:`plugins`}[t]],e}function x(e,t,n){return e.name=`"`+n+`"`,e.inputPaths=t.inputPaths||[],e.outputPaths=t.outputPaths||[],e.shellPath=t.shellPath,e.shellScript=`"`+t.shellScript.replace(/"/g,`\\"`)+`"`,e}function S(e){return T(e)}function C(e){return e.basename||o.basename(e.path)}function w(e){return e.name}function T(e){return r(`%s in %s`,e.basename,e.group)}function E(e,t){return O(e,t,`Plugins`)}function D(e,t){return O(e,t,`Resources`)}function O(e,t,n){var r=RegExp(`^`+n+`[\\\\/]`);return t.pbxGroupByName(n).path&&(e.path=e.path.replace(r,``)),e}function k(e,t){var n=t.pbxGroupByName(`Plugins`),r=n?n.path:null,a=o.dirname(e.path);return a=a==`.`?``:`/`+a,e.plugin&&r?`"\\"$(SRCROOT)/`+j(r)+`\\""`:e.customFramework&&e.dirname?`"\\"`+e.dirname+`\\""`:`"\\"$(SRCROOT)/`+t.productName+a+`\\""`}function A(e){for(var t=Object.keys(e),n={},r=0;r<t.length;r++)m.test(t[r])||(n[t[r]]=e[t[r]]);return n}function j(e){if(e)return e.replace(/^"(.*)"$/,`$1`)}function M(e){return PRODUCTTYPE_BY_TARGETTYPE={application:`com.apple.product-type.application`,app_extension:`com.apple.product-type.app-extension`,bundle:`com.apple.product-type.bundle`,command_line_tool:`com.apple.product-type.tool`,dynamic_library:`com.apple.product-type.library.dynamic`,framework:`com.apple.product-type.framework`,static_library:`com.apple.product-type.library.static`,unit_test_bundle:`com.apple.product-type.bundle.unit-test`,watch_app:`com.apple.product-type.application.watchapp`,watch2_app:`com.apple.product-type.application.watchapp2`,watch_extension:`com.apple.product-type.watchkit-extension`,watch2_extension:`com.apple.product-type.watchkit2-extension`},PRODUCTTYPE_BY_TARGETTYPE[e]}function N(e){return FILETYPE_BY_PRODUCTTYPE={"com.apple.product-type.application":`"wrapper.application"`,"com.apple.product-type.app-extension":`"wrapper.app-extension"`,"com.apple.product-type.bundle":`"wrapper.plug-in"`,"com.apple.product-type.tool":`"compiled.mach-o.dylib"`,"com.apple.product-type.library.dynamic":`"compiled.mach-o.dylib"`,"com.apple.product-type.framework":`"wrapper.framework"`,"com.apple.product-type.library.static":`"archive.ar"`,"com.apple.product-type.bundle.unit-test":`"wrapper.cfbundle"`,"com.apple.product-type.application.watchapp":`"wrapper.application"`,"com.apple.product-type.application.watchapp2":`"wrapper.application"`,"com.apple.product-type.watchkit-extension":`"wrapper.app-extension"`,"com.apple.product-type.watchkit2-extension":`"wrapper.app-extension"`},FILETYPE_BY_PRODUCTTYPE[e]}h.prototype.getFirstProject=function(){var e=this.pbxProjectSection(),t=Object.keys(e)[0];return{uuid:t,firstProject:e[t]}},h.prototype.getFirstTarget=function(){var e=this.getFirstProject().firstProject.targets[0].value;return{uuid:e,firstTarget:this.pbxNativeTargetSection()[e]}},h.prototype.getTarget=function(e){for(var t=this.getFirstProject().firstProject.targets,n=this.pbxNativeTargetSection(),r=0;r<t.length;r++){var a=t[r].value;if(n[a].productType===`"`+e+`"`)return{uuid:a,target:this.pbxNativeTargetSection()[a]}}return null},h.prototype.addToPbxGroupType=function(e,t,n){var r=this.getPBXGroupByKeyAndType(t,n);if(r&&r.children!==void 0)if(typeof e==`string`){var a={value:e};this.getPBXGroupByKey(e)?a.comment=this.getPBXGroupByKey(e).name:this.getPBXVariantGroupByKey(e)&&(a.comment=this.getPBXVariantGroupByKey(e).name),r.children.push(a)}else r.children.push(v(e))},h.prototype.addToPbxVariantGroup=function(e,t){this.addToPbxGroupType(e,t,`PBXVariantGroup`)},h.prototype.addToPbxGroup=function(e,t){this.addToPbxGroupType(e,t,`PBXGroup`)},h.prototype.pbxCreateGroupWithType=function(e,t,n){var r={isa:`"`+n+`"`,children:[],name:e,sourceTree:`"<group>"`};t&&(r.path=t);var a=this.generateUuid(),o=a+`_comment`,s=this.hash.project.objects[n];return s||=this.hash.project.objects[n]={},s[o]=e,s[a]=r,a},h.prototype.pbxCreateVariantGroup=function(e){return this.pbxCreateGroupWithType(e,void 0,`PBXVariantGroup`)},h.prototype.pbxCreateGroup=function(e,t){return this.pbxCreateGroupWithType(e,t,`PBXGroup`)},h.prototype.removeFromPbxGroupAndType=function(e,t,n){var r=this.getPBXGroupByKeyAndType(t,n);if(r){var a=r.children,o;for(o in a)if(v(e).value==a[o].value&&v(e).comment==a[o].comment){a.splice(o,1);break}}},h.prototype.removeFromPbxGroup=function(e,t){this.removeFromPbxGroupAndType(e,t,`PBXGroup`)},h.prototype.removeFromPbxVariantGroup=function(e,t){this.removeFromPbxGroupAndType(e,t,`PBXVariantGroup`)},h.prototype.getPBXGroupByKeyAndType=function(e,t){return this.hash.project.objects[t][e]},h.prototype.getPBXGroupByKey=function(e){return this.hash.project.objects.PBXGroup[e]},h.prototype.getPBXVariantGroupByKey=function(e){return this.hash.project.objects.PBXVariantGroup[e]},h.prototype.findPBXGroupKeyAndType=function(e,t){var n=this.hash.project.objects[t],r;for(var a in n)if(!m.test(a)){var o=n[a];if(e&&e.path&&e.name){if(e.path===o.path&&e.name===o.name){r=a;break}}else if(e&&e.path){if(e.path===o.path){r=a;break}}else if(e&&e.name&&e.name===o.name){r=a;break}}return r},h.prototype.findPBXGroupKey=function(e){return this.findPBXGroupKeyAndType(e,`PBXGroup`)},h.prototype.findPBXVariantGroupKey=function(e){return this.findPBXGroupKeyAndType(e,`PBXVariantGroup`)},h.prototype.addLocalizationVariantGroup=function(e){var t=this.pbxCreateVariantGroup(e),n=this.findPBXGroupKey({name:`Resources`});this.addToPbxGroup(t,n);var r={uuid:this.generateUuid(),fileRef:t,basename:e};return this.addToPbxBuildFileSection(r),this.addToPbxResourcesBuildPhase(r),r},h.prototype.addKnownRegion=function(e){this.pbxProjectSection()[this.getFirstProject().uuid].knownRegions||(this.pbxProjectSection()[this.getFirstProject().uuid].knownRegions=[]),this.hasKnownRegion(e)||this.pbxProjectSection()[this.getFirstProject().uuid].knownRegions.push(e)},h.prototype.removeKnownRegion=function(e){var t=this.pbxProjectSection()[this.getFirstProject().uuid].knownRegions;if(t){for(var n=0;n<t.length;n++)if(t[n]===e){t.splice(n,1);break}this.pbxProjectSection()[this.getFirstProject().uuid].knownRegions=t}},h.prototype.hasKnownRegion=function(e){var t=this.pbxProjectSection()[this.getFirstProject().uuid].knownRegions;if(t){for(var n in t)if(t[n]===e)return!0}return!1},h.prototype.getPBXObject=function(e){return this.hash.project.objects[e]},h.prototype.addFile=function(e,t,n){var r=new u(e,n);return this.hasFile(r.path)?null:(r.fileRef=this.generateUuid(),this.addToPbxFileReferenceSection(r),this.getPBXGroupByKey(t)?this.addToPbxGroup(r,t):this.getPBXVariantGroupByKey(t)&&this.addToPbxVariantGroup(r,t),r)},h.prototype.removeFile=function(e,t,n){var r=new u(e,n);return this.removeFromPbxFileReferenceSection(r),this.getPBXGroupByKey(t)?this.removeFromPbxGroup(r,t):this.getPBXVariantGroupByKey(t)&&this.removeFromPbxVariantGroup(r,t),r},h.prototype.getBuildProperty=function(e,t,n){var r;let a=[];if(n){let e=this.pbxTargetByName(n),t=e&&e.buildConfigurationList,r=this.pbxXCConfigurationList();for(let e in r)if(!m.test(e)&&t===e){let t=r[e].buildConfigurations;for(let e of t)a.push(e.value);break}}var o=this.pbxXCBuildConfigurationSection();for(var s in o)if(!m.test(s)){if(n&&!a.includes(s))continue;var c=o[s];(t&&c.name===t||t===void 0)&&c.buildSettings[e]!==void 0&&(r=c.buildSettings[e])}return r},h.prototype.getBuildConfigByName=function(e){var t={},n=this.pbxXCBuildConfigurationSection();for(var r in n)if(!m.test(r)){var a=n[r];a.name===e&&(t[r]=a)}return t},h.prototype.addDataModelDocument=function(e,t,n){t||=`Resources`,this.getPBXGroupByKey(t)||(t=this.findPBXGroupKey({name:t}));var r=new u(e,n);if(!r||this.hasFile(r.path))return null;if(r.fileRef=this.generateUuid(),this.addToPbxGroup(r,t),!r)return!1;r.target=n?n.target:void 0,r.uuid=this.generateUuid(),this.addToPbxBuildFileSection(r),this.addToPbxSourcesBuildPhase(r),r.models=[];var a,s=d.readdirSync(r.path);for(var c in s){var l=s[c],f=o.join(e,l);if(l==`.xccurrentversion`){a=p.readFileSync(f)._XCCurrentVersionName;continue}var m=new u(f);m.fileRef=this.generateUuid(),this.addToPbxFileReferenceSection(m),r.models.push(m),a&&a===l&&(r.currentModel=m)}return r.currentModel||=r.models[0],this.addToXcVersionGroupSection(r),r},h.prototype.addTargetAttribute=function(e,t,n){var r=this.getFirstProject().firstProject.attributes;r.TargetAttributes===void 0&&(r.TargetAttributes={}),n||=this.getFirstTarget(),r.TargetAttributes[n.uuid]===void 0&&(r.TargetAttributes[n.uuid]={}),r.TargetAttributes[n.uuid][e]=t},h.prototype.removeTargetAttribute=function(e,t){var n=this.getFirstProject().firstProject.attributes;t||=this.getFirstTarget(),n.TargetAttributes&&n.TargetAttributes[t.uuid]&&delete n.TargetAttributes[t.uuid][e]},t.exports=h})),yi=e.t((e=>{e.project=vi()})),bi=e.t((e=>{Object.defineProperty(e,`__esModule`,{value:!0}),e.trimQuotes=t;function t(e){return e&&e[0]===`"`&&e[e.length-1]===`"`?e.slice(1,-1):e}})),xi=e.t((e=>{Object.defineProperty(e,`__esModule`,{value:!0}),e.getApplicationTargetNameForSchemeAsync=l,e.getArchiveBuildConfigurationForSchemeAsync=u,e.getRunnableSchemesFromXcodeproj=s,e.getSchemesFromXcodeproj=o;function t(){let e=Ti();return t=function(){return e},e}function n(){let e=Si();return n=function(){return e},e}function r(){let e=Ei();return r=function(){return e},e}function a(){let e=Zt();return a=function(){return e},e}function o(e){return(0,t().findSchemeNames)(e)}function s(e,{configuration:t=`Debug`}={}){let a=(0,r().getPbxproj)(e);return(0,n().findSignableTargets)(a).map(([,e])=>{let o=`iOS`,s=(0,r().unquote)(e.productType);if(s===n().TargetType.WATCH)o=`watchOS`;else if(s.startsWith(n().TargetType.APPLICATION)){let n=a.hash.project.objects.XCConfigurationList[e.buildConfigurationList];if(n){let e=n.buildConfigurations.find(e=>e.comment===t)||n.buildConfigurations[0];if(e?.value){let t=a.hash.project.objects.XCBuildConfiguration?.[e.value],n=t.buildSettings.SDKROOT;n===`appletvos`||`TVOS_DEPLOYMENT_TARGET`in t.buildSettings?o=`tvOS`:n===`iphoneos`&&(o=`iOS`)}}}return{name:(0,r().unquote)(e.name),osType:o,type:(0,r().unquote)(e.productType)}})}async function c(e,n){let r=(0,t().findSchemePaths)(e),o=RegExp(`[\\\\/]${n}.xcscheme`,`i`),s=r.find(e=>o.exec(e));if(s)return await(0,a().readXMLAsync)({path:s});throw Error(`scheme '${n}' does not exist, make sure it's marked as shared`)}async function l(e,t){let n=(await c(e,t))?.Scheme?.BuildAction?.[0]?.BuildActionEntries?.[0]?.BuildActionEntry,r=n?.length===1?d(n[0]):d(n?.find(e=>e.BuildableReference?.[0]?.$?.BuildableName?.endsWith(`.app`)));if(!r)throw Error(`${t}.xcscheme seems to be corrupted`);return r}async function u(e,t){let n=(await c(e,t))?.Scheme?.ArchiveAction?.[0]?.$?.buildConfiguration;if(!n)throw Error(`${t}.xcscheme seems to be corrupted`);return n}function d(e){return e?.BuildableReference?.[0]?.$?.BlueprintName}})),Si=e.t((e=>{Object.defineProperty(e,`__esModule`,{value:!0}),e.TargetType=void 0,e.findApplicationTargetWithDependenciesAsync=s,e.findFirstNativeTarget=f,e.findNativeTargetByName=p,e.findSignableTargets=d,e.getNativeTargets=u,e.getXCBuildConfigurationFromPbxproj=o,e.isTargetOfType=l;function t(){let e=xi();return t=function(){return e},e}function n(){let e=Ei();return n=function(){return e},e}function r(){let e=bi();return r=function(){return e},e}let a=e.TargetType=function(e){return e.APPLICATION=`com.apple.product-type.application`,e.EXTENSION=`com.apple.product-type.app-extension`,e.WATCH=`com.apple.product-type.application.watchapp`,e.APP_CLIP=`com.apple.product-type.application.on-demand-install-capable`,e.STICKER_PACK_EXTENSION=`com.apple.product-type.app-extension.messages-sticker-pack`,e.FRAMEWORK=`com.apple.product-type.framework`,e.OTHER=`other`,e}({});function o(e,{targetName:t,buildConfiguration:r=`Release`}={}){let[,a]=t?p(e,t):f(e),[,o]=(0,n().getBuildConfigurationForListIdAndName)(e,{configurationListId:a.buildConfigurationList,buildConfiguration:r});return o??null}async function s(e,o){let s=await(0,t().getApplicationTargetNameForSchemeAsync)(e,o),l=(0,n().getPbxproj)(e),[,u]=p(l,s),d=c(l,u);return{name:(0,r().trimQuotes)(u.name),type:a.APPLICATION,signable:!0,dependencies:d}}function c(e,t){if(!t.dependencies||t.dependencies.length===0)return;let n=[a.FRAMEWORK];return t.dependencies.map(({value:t})=>{let{target:o}=e.getPBXGroupByKeyAndType(t,`PBXTargetDependency`),[,s]=m(e,o),u=l(s,a.EXTENSION)?a.EXTENSION:a.OTHER;return{name:(0,r().trimQuotes)(s.name),type:u,signable:!n.some(e=>l(s,e)),dependencies:c(e,s)}})}function l(e,t){return(0,r().trimQuotes)(e.productType)===t}function u(e){let t=e.pbxNativeTargetSection();return Object.entries(t).filter(n().isNotComment)}function d(e){let t=u(e),n=[a.APPLICATION,a.APP_CLIP,a.EXTENSION,a.WATCH,a.STICKER_PACK_EXTENSION],r=t.filter(([,e])=>{for(let t of n)if(l(e,t))return!0;return!1});if(r.length===0)throw Error(`Could not find any signable targets in project.pbxproj`);return r}function f(e){let t=u(e).filter(([,e])=>l(e,a.APPLICATION));if(t.length===0)throw Error(`Could not find any application target in project.pbxproj`);return t[0]}function p(e,t){let n=u(e).find(([,e])=>(0,r().trimQuotes)(e.name)===t);if(!n)throw Error(`Could not find target '${t}' in project.pbxproj`);return n}function m(e,t){let n=u(e).find(([e])=>e===t);if(!n)throw Error(`Could not find target with id '${t}' in project.pbxproj`);return n}})),Ci=e.t((e=>{Object.defineProperty(e,`__esModule`,{value:!0}),e.ensureApplicationTargetEntitlementsFileConfigured=f,e.getEntitlementsPath=u,e.setAssociatedDomains=l,e.withAssociatedDomains=void 0;function t(){let e=c(require(`fs`));return t=function(){return e},e}function n(){let e=c(require(`path`));return n=function(){return e},e}function r(){let e=Si();return r=function(){return e},e}function a(){let e=Ei();return a=function(){return e},e}function o(){let e=bi();return o=function(){return e},e}function s(){let e=Hn();return s=function(){return e},e}function c(e){return e&&e.__esModule?e:{default:e}}e.withAssociatedDomains=(0,s().createEntitlementsPlugin)(l,`withAssociatedDomains`);function l(e,{"com.apple.developer.associated-domains":t,...n}){return e.ios?.associatedDomains?{...n,"com.apple.developer.associated-domains":e.ios.associatedDomains}:n}function u(e,{targetName:n,buildConfiguration:o=`Release`}={}){let s=(0,a().getPbxproj)(e),c=(0,r().getXCBuildConfigurationFromPbxproj)(s,{targetName:n,buildConfiguration:o});if(!c)return null;let l=d(e,c);return l&&t().default.existsSync(l)?l:null}function d(e,t){let r=t?.buildSettings?.CODE_SIGN_ENTITLEMENTS;return r?n().default.normalize(n().default.join(e,`ios`,(0,o().trimQuotes)(r))):null}function f(e){let o=(0,a().getPbxproj)(e),s=(0,a().getProjectName)(e),c=(0,a().getProductName)(o),[,l]=(0,r().findFirstNativeTarget)(o),u=(0,a().getBuildConfigurationsForListId)(o,l.buildConfigurationList),f=!1;for(let[,r]of u){let a=d(e,r);if(a&&t().default.existsSync(a))return;f=!0;let o=n().default.join(s,`${c}.entitlements`).replace(/\\/g,`/`),l=n().default.resolve(e,`ios`,o);t().default.mkdirSync(n().default.dirname(l),{recursive:!0}),t().default.existsSync(l)||t().default.writeFileSync(l,p),r.buildSettings.CODE_SIGN_ENTITLEMENTS=o}f&&t().default.writeFileSync(o.filepath,o.writeSync())}let p=`
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
</dict>
</plist>
`})),wi=e.t((e=>{Object.defineProperty(e,`__esModule`,{value:!0}),e.withSortedGlobResult=t;function t(e){return e.sort((e,t)=>e.localeCompare(t))}})),Ti=e.t((e=>{Object.defineProperty(e,`__esModule`,{value:!0}),e.findSchemeNames=x,e.findSchemePaths=b,e.getAllEntitlementsPaths=O,e.getAllInfoPlistPaths=E,e.getAllPBXProjectPaths=w,e.getAllXcodeProjectPaths=S,e.getAppDelegate=v,e.getAppDelegateFilePath=p,e.getAppDelegateHeaderFilePath=f,e.getAppDelegateObjcHeaderFilePath=m,e.getEntitlementsPath=k,e.getExpoPlistPath=j,e.getFileInfo=_,e.getInfoPlistPath=D,e.getPBXProjectPath=T,e.getPodfilePath=h,e.getSourceRoot=y,e.getSupportingPath=A,e.getXcodeProjectPath=C;function t(){let e=require(`fs`);return t=function(){return e},e}function n(){let e=on();return n=function(){return e},e}function r(){let e=u(require(`path`));return r=function(){return e},e}function a(){let e=u(Ci());return a=function(){return e},e}function o(){let e=en();return o=function(){return e},e}function s(){let e=wi();return s=function(){return e},e}function c(){let e=gn();return c=function(){return e},e}function l(e){if(typeof WeakMap!=`function`)return null;var t=new WeakMap,n=new WeakMap;return(l=function(e){return e?n:t})(e)}function u(e,t){if(!t&&e&&e.__esModule)return e;if(e===null||typeof e!=`object`&&typeof e!=`function`)return{default:e};var n=l(t);if(n&&n.has(e))return n.get(e);var r={__proto__:null},a=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if(o!==`default`&&{}.hasOwnProperty.call(e,o)){var s=a?Object.getOwnPropertyDescriptor(e,o):null;s&&(s.get||s.set)?Object.defineProperty(r,o,s):r[o]=e[o]}return r.default=e,n&&n.set(e,r),r}let d=[`**/@(Carthage|Pods|vendor|node_modules)/**`];function f(e){let[t,...r]=(0,s().withSortedGlobResult)((0,n().globSync)(`ios/*/AppDelegate.h`,{absolute:!0,cwd:e,ignore:d}));if(!t)throw new(o()).UnexpectedError(`Could not locate a valid AppDelegate header at root: "${e}"`);return r.length&&M({tag:`app-delegate-header`,fileName:`AppDelegate`,projectRoot:e,using:t,extra:r}),t}function p(e){let[t,...r]=(0,s().withSortedGlobResult)((0,n().globSync)(`ios/*/AppDelegate.@(m|mm|swift)`,{absolute:!0,cwd:e,ignore:d}));if(!t)throw new(o()).UnexpectedError(`Could not locate a valid AppDelegate at root: "${e}"`);return r.length&&M({tag:`app-delegate`,fileName:`AppDelegate`,projectRoot:e,using:t,extra:r}),t}function m(e){let[t,...r]=(0,s().withSortedGlobResult)((0,n().globSync)(`ios/*/AppDelegate.h`,{absolute:!0,cwd:e,ignore:d}));if(!t)throw new(o()).UnexpectedError(`Could not locate a valid AppDelegate.h at root: "${e}"`);return r.length&&M({tag:`app-delegate-objc-header`,fileName:`AppDelegate.h`,projectRoot:e,using:t,extra:r}),t}function h(e){let[t,...r]=(0,s().withSortedGlobResult)((0,n().globSync)(`ios/Podfile`,{absolute:!0,cwd:e,ignore:d}));if(!t)throw new(o()).UnexpectedError(`Could not locate a valid Podfile at root: "${e}"`);return r.length&&M({tag:`podfile`,fileName:`Podfile`,projectRoot:e,using:t,extra:r}),t}function g(e){let t=r().extname(e);if(!t&&r().basename(e)===`Podfile`)return`rb`;switch(t){case`.mm`:return`objcpp`;case`.m`:case`.h`:return`objc`;case`.swift`:return`swift`;default:throw new(o()).UnexpectedError(`Unexpected iOS file extension: ${t}`)}}function _(e){return{path:r().normalize(e),contents:(0,t().readFileSync)(e,`utf8`),language:g(e)}}function v(e){return _(p(e))}function y(e){let t=v(e);return r().dirname(t.path)}function b(e){return(0,s().withSortedGlobResult)((0,n().globSync)(`ios/*.xcodeproj/xcshareddata/xcschemes/*.xcscheme`,{absolute:!0,cwd:e,ignore:d}))}function x(e){return b(e).map(e=>r().parse(e).name)}function S(e){let t=(0,s().withSortedGlobResult)((0,n().globSync)(`ios/**/*.xcodeproj`,{cwd:e,ignore:d}).map(e=>e.replace(/^\//,``)).filter(e=>!/test|example|sample/i.test(e)||r().dirname(e)===`ios`)).sort((e,t)=>{let n=r().dirname(e)===`ios`,a=r().dirname(t)===`ios`;return n&&a||!n&&!a?0:n?-1:1});if(!t.length)throw new(o()).UnexpectedError(`Failed to locate the ios/*.xcodeproj files relative to path "${e}".`);return t.map(t=>r().join(e,t))}function C(e){let[t,...n]=S(e);return n.length&&M({tag:`xcodeproj`,fileName:`*.xcodeproj`,projectRoot:e,using:t,extra:n}),t}function w(e){let n=S(e).map(e=>r().join(e,`project.pbxproj`)).filter(e=>(0,t().existsSync)(e));if(!n.length)throw new(o()).UnexpectedError(`Failed to locate the ios/*.xcodeproj/project.pbxproj files relative to path "${e}".`);return n}function T(e){let[t,...n]=w(e);return n.length&&M({tag:`project-pbxproj`,fileName:`project.pbxproj`,projectRoot:e,using:t,extra:n}),t}function E(e){let t=(0,s().withSortedGlobResult)((0,n().globSync)(`ios/*/Info.plist`,{absolute:!0,cwd:e,ignore:d})).sort((e,t)=>e.length-t.length);if(!t.length)throw new(o()).UnexpectedError(`Failed to locate Info.plist files relative to path "${e}".`);return t}function D(e){let[t,...n]=E(e);return n.length&&M({tag:`info-plist`,fileName:`Info.plist`,projectRoot:e,using:t,extra:n}),t}function O(e){return(0,n().globSync)(`ios/*/*.entitlements`,{absolute:!0,cwd:e,ignore:d})}function k(e){return a().getEntitlementsPath(e)}function A(e){return r().resolve(e,`ios`,r().basename(y(e)),`Supporting`)}function j(e){let t=A(e);return r().join(t,`Expo.plist`)}function M({tag:e,fileName:t,projectRoot:n,using:a,extra:o}){let s=n?r().relative(n,a):a,l=n?o.map(e=>r().relative(n,e)):o;(0,c().addWarningIOS)(`paths-${e}`,`Found multiple ${t} file paths, using "${s}". Ignored paths: ${JSON.stringify(l)}`)}})),Ei=e.t((e=>{Object.defineProperty(e,`__esModule`,{value:!0}),e.addBuildSourceFileToGroup=b,e.addFileToGroupAndLink=x,e.addFramework=C,e.addResourceFileToGroup=y,e.ensureGroupRecursively=O,e.getApplicationNativeTarget=S,e.getBuildConfigurationForListIdAndName=P,e.getBuildConfigurationsForListId=N,e.getHackyProjectName=_,e.getPbxproj=k,e.getProductName=A,e.getProjectName=p,e.getProjectSection=j,e.getXCConfigurationListEntries=M,e.isBuildConfig=F,e.isNotComment=L,e.isNotTestHost=I,e.resolvePathOrProject=m,e.resolveXcodeBuildSetting=z,e.sanitizedName=h,e.unquote=R;function t(){let e=f(require(`assert`));return t=function(){return e},e}function n(){let e=f(require(`path`));return n=function(){return e},e}function r(){let e=f(Zn());return r=function(){return e},e}function a(){let e=f(yi());return a=function(){return e},e}function o(){let e=f(lr());return o=function(){return e},e}function s(){let e=bi();return s=function(){return e},e}function c(){let e=gn();return c=function(){return e},e}function l(){let e=d(Ti());return l=function(){return e},e}function u(e){if(typeof WeakMap!=`function`)return null;var t=new WeakMap,n=new WeakMap;return(u=function(e){return e?n:t})(e)}function d(e,t){if(!t&&e&&e.__esModule)return e;if(e===null||typeof e!=`object`&&typeof e!=`function`)return{default:e};var n=u(t);if(n&&n.has(e))return n.get(e);var r={__proto__:null},a=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if(o!==`default`&&{}.hasOwnProperty.call(e,o)){var s=a?Object.getOwnPropertyDescriptor(e,o):null;s&&(s.get||s.set)?Object.defineProperty(r,o,s):r[o]=e[o]}return r.default=e,n&&n.set(e,r),r}function f(e){return e&&e.__esModule?e:{default:e}}function p(e){let t=l().getSourceRoot(e);return n().default.basename(t)}function m(e){if(typeof e==`string`)try{return k(e)}catch{return null}return e}function h(e){return g(e)||g((0,r().default)(e))||`app`}function g(e){return e.replace(/[\W_]+/g,``).normalize(`NFD`).replace(/[\u0300-\u036f]/g,``)}function _(e,n){try{return p(e)}catch{let e=n.name;return(0,t().default)(e,`Your project needs a name in app.json/app.config.js.`),h(e)}}function v({filepath:e,group:t}){let n=new(o()).default(e);return t.children.find(e=>e.comment===n.basename)?null:n}function y({filepath:e,groupName:t,isBuildFile:n,project:r,verbose:a,targetUuid:o}){return x({filepath:e,groupName:t,project:r,verbose:a,targetUuid:o,addFileToProject({project:e,file:t}){e.addToPbxFileReferenceSection(t),n&&e.addToPbxBuildFileSection(t),e.addToPbxResourcesBuildPhase(t)}})}function b({filepath:e,groupName:t,project:n,verbose:r,targetUuid:a}){return x({filepath:e,groupName:t,project:n,verbose:r,targetUuid:a,addFileToProject({project:e,file:t}){e.addToPbxFileReferenceSection(t),e.addToPbxBuildFileSection(t),e.addToPbxSourcesBuildPhase(t)}})}function x({filepath:e,groupName:t,project:n,verbose:r,addFileToProject:a,targetUuid:o}){let s=D(n,t),l=v({filepath:e,group:s});return l?(o==null?l.target=n.getTarget(`com.apple.product-type.application`)?.uuid:l.target=o,l.uuid=n.generateUuid(),l.fileRef=n.generateUuid(),a({project:n,file:l}),s.children.push({value:l.fileRef,comment:l.basename}),n):(r&&(0,c().addWarningIOS)(`ios-xcode-project`,`Skipped adding duplicate file "${e}" to PBXGroup named "${t}"`),n)}function S({project:e,projectName:n}){let r=e.getTarget(`com.apple.product-type.application`);return(0,t().default)(r,`Couldn't locate application PBXNativeTarget in '.xcodeproj' file.`),(0,t().default)(String(r.target.name)===n,`Application native target name mismatch. Expected ${n}, but found ${r.target.name}.`),r}function C({project:e,projectName:t,framework:n}){let r=S({project:e,projectName:t});return e.addFramework(n,{target:r.uuid})}function w(e){return e.split(`/`)}let T=(e,t)=>{if(e)return e.children.find(e=>e.comment===t)};function E(e,t,n){let r=T(t,n);return r?e.getPBXGroupByKey(r.value)??null:null}function D(e,t){let{firstProject:n}=e.getFirstProject(),r=e.getPBXGroupByKey(n.mainGroup),a=w(t);for(let t of a){let n=E(e,r,t);if(n)r=n;else break}if(!r)throw Error(`Xcode PBXGroup with name "${t}" could not be found in the Xcode project.`);return r}function O(e,t){let n=w(t),r=(e,t)=>e.children.find(({comment:e})=>e===t),{firstProject:a}=e.getFirstProject(),o=e.getPBXGroupByKey(a.mainGroup);for(let t of n)o&&!r(o,t)&&o.children.push({comment:t,value:e.pbxCreateGroup(t,`""`)}),o=e.pbxGroupByName(t);return o??null}function k(e){let t=l().getPBXProjectPath(e),n=a().default.project(t);return n.parseSync(),n}function A(e){let t=`$(TARGET_NAME)`;try{t=e.productName}catch{}return t===`$(TARGET_NAME)`&&(t=e.getFirstTarget()?.firstTarget?.productName??t),t}function j(e){return e.pbxProjectSection()}function M(e){let t=e.pbxXCConfigurationList();return Object.entries(t).filter(L)}function N(e,t){let[,n]=M(e).find(([e])=>e===t),r=n.buildConfigurations.map(e=>e.value);return Object.entries(e.pbxXCBuildConfigurationSection()).filter(L).filter(F).filter(([e])=>r.includes(e))}function P(e,{configurationListId:t,buildConfiguration:n}){let r=N(e,t).find(e=>(0,s().trimQuotes)(e[1].name)===n);if(!r)throw Error(`Build configuration '${n}' does not exist in list with id '${t}'`);return r}function F([,e]){return e.isa===`XCBuildConfiguration`}function I([,e]){return!e.buildSettings.TEST_HOST}function L([e]){return!e.endsWith(`_comment`)}function R(e){return typeof e==`number`&&(e=String(e)),e.match(/^"(.*)"$/)?.[1]??e}function z(e,t){let r=e?.replace(/\$\(([^()]*|\([^)]*\))\)/g,e=>{let[r,...a]=e.slice(2,-1).split(`:`),o=t(r);o&&=z(o,t);let s=o;return a.forEach(e=>{switch(e){case`lower`:s=s?.toLowerCase();break;case`upper`:s=s?.toUpperCase();break;case`suffix`:s&&=n().default.extname(s);break;case`file`:s&&=n().default.basename(s);break;case`dir`:s&&=n().default.dirname(s);break;case`base`:if(s){let e=n().default.basename(s),t=e.lastIndexOf(`.`);s=t===-1?e:e.slice(0,t)}break;case`rfc1034identifier`:s=s?.replace(/[^a-zA-Z0-9]/g,`-`);break;case`c99extidentifier`:s=s?.replace(/[-\s]/g,`_`);break;case`standardizepath`:s&&=n().default.resolve(s);break;default:s||=e.match(/default=(.*)/)?.[1];break}}),z(s??``,t)});return r===e?e:z(r,t)}})),Di=e.t((e=>{Object.defineProperty(e,`__esModule`,{value:!0}),e.getBitcode=a,e.setBitcode=s,e.setBitcodeWithConfig=o,e.withCustomBitcode=e.withBitcode=void 0;function t(){let e=Ei();return t=function(){return e},e}function n(){let e=Hn();return n=function(){return e},e}function r(){let e=gn();return r=function(){return e},e}e.withBitcode=e=>(0,n().withXcodeProject)(e,async e=>(e.modResults=await o(e,{project:e.modResults}),e)),e.withCustomBitcode=(e,t)=>(0,n().withXcodeProject)(e,async e=>(e.modResults=await s(t,{project:e.modResults}),e));function a(e){return e.ios?.bitcode}function o(e,{project:t}){return s(a(e),{project:t})}function s(e,{project:n}){if(e==null)return n;let a=typeof e==`string`?e:void 0,o=!!e;if(a){let e=Object.entries(n.pbxXCBuildConfigurationSection()).filter(t().isNotComment);if(e.find(([,e])=>e.name===a))n.addBuildProperty(`ENABLE_BITCODE`,`NO`);else{let t=[...new Set(e.map(([,e])=>`"${e.name}"`))].sort();(0,r().addWarningIOS)(`ios.bitcode`,`No configuration named "${a}". Expected one of: ${t.join(`, `)}.`)}}return n.addBuildProperty(`ENABLE_BITCODE`,o?`YES`:`NO`,a),n}})),Oi=e.t((e=>{Object.defineProperty(e,`__esModule`,{value:!0}),e.createBuildPodfilePropsConfigPlugin=n,e.updateIosBuildPropertiesFromConfig=r,e.updateIosBuildProperty=a,e.withJsEnginePodfileProps=void 0;function t(){let e=Hn();return t=function(){return e},e}function n(e,n){let a=(n,a)=>(0,t().withPodfileProperties)(n,t=>(t.modResults=r(a??t,t.modResults,e),t));return n&&Object.defineProperty(a,`name`,{value:n}),a}e.withJsEnginePodfileProps=n([{propName:`expo.jsEngine`,propValueGetter:e=>e.ios?.jsEngine??e.jsEngine??`hermes`}],`withJsEnginePodfileProps`);function r(e,t,n){for(let r of n){let n=r.propValueGetter(e);a(t,r.propName,n)}return t}function a(e,t,n,r){return n?e[t]=n:r?.removePropWhenValueIsNull&&delete e[t],e}})),ki=e.t((e=>{var t=e&&e.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(e,`__esModule`,{value:!0}),e.build=c;let n=t(Dr()),r=t(oi());function a(e){function t(e){return e<10?`0`+e:e}return e.getUTCFullYear()+`-`+t(e.getUTCMonth()+1)+`-`+t(e.getUTCDate())+`T`+t(e.getUTCHours())+`:`+t(e.getUTCMinutes())+`:`+t(e.getUTCSeconds())+`Z`}let o=Object.prototype.toString;function s(e){let t=o.call(e).match(/\[object (.*)\]/);return t&&t[1]}function c(e,t){let n={version:`1.0`,encoding:`UTF-8`},a={pubid:`-//Apple//DTD PLIST 1.0//EN`,sysid:`http://www.apple.com/DTDs/PropertyList-1.0.dtd`},o=r.default.create(`plist`);return o.dec(n.version,n.encoding,n.standalone),o.dtd(a.pubid,a.sysid),o.att(`version`,`1.0`),l(e,o),t||={},t.pretty=t.pretty!==!1,o.end(t)}function l(e,t){let r,o,c,u=s(e);if(u!==`Undefined`)if(Array.isArray(e))for(t=t.ele(`array`),o=0;o<e.length;o++)l(e[o],t);else if(Buffer.isBuffer(e))t.ele(`data`).raw(e.toString(`base64`));else if(u===`Object`)for(c in t=t.ele(`dict`),e)e.hasOwnProperty(c)&&e[c]!==void 0&&(t.ele(`key`).txt(c),l(e[c],t));else u===`Number`?(r=e%1==0?`integer`:`real`,t.ele(r).txt(e.toString())):u===`Date`?t.ele(`date`).txt(a(new Date(e))):u===`Boolean`?t.ele(e?`true`:`false`):u===`String`?t.ele(`string`).txt(e):u===`ArrayBuffer`?t.ele(`data`).raw(n.default.fromByteArray(e)):e&&e.buffer&&s(e.buffer)===`ArrayBuffer`&&t.ele(`data`).raw(n.default.fromByteArray(new Uint8Array(e.buffer)))}})),Ai=e.t((e=>{function t(e,t,n){if(n===void 0&&(n=Array.prototype),e&&typeof n.find==`function`)return n.find.call(e,t);for(var r=0;r<e.length;r++)if(Object.prototype.hasOwnProperty.call(e,r)){var a=e[r];if(t.call(void 0,a,r,e))return a}}function n(e,t){return t===void 0&&(t=Object),t&&typeof t.freeze==`function`?t.freeze(e):e}function r(e,t){if(typeof e!=`object`||!e)throw TypeError(`target is not an object`);for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n]);return e}var a=n({HTML:`text/html`,isHTML:function(e){return e===a.HTML},XML_APPLICATION:`application/xml`,XML_TEXT:`text/xml`,XML_XHTML_APPLICATION:`application/xhtml+xml`,XML_SVG_IMAGE:`image/svg+xml`}),o=n({HTML:`http://www.w3.org/1999/xhtml`,isHTML:function(e){return e===o.HTML},SVG:`http://www.w3.org/2000/svg`,XML:`http://www.w3.org/XML/1998/namespace`,XMLNS:`http://www.w3.org/2000/xmlns/`});e.assign=r,e.find=t,e.freeze=n,e.MIME_TYPE=a,e.NAMESPACE=o})),ji=e.t((e=>{var t=Ai(),n=t.find,r=t.NAMESPACE;function a(e){return e!==``}function o(e){return e?e.split(/[\t\n\f\r ]+/).filter(a):[]}function s(e,t){return e.hasOwnProperty(t)||(e[t]=!0),e}function c(e){if(!e)return[];var t=o(e);return Object.keys(t.reduce(s,{}))}function l(e){return function(t){return e&&e.indexOf(t)!==-1}}function u(e,t){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])}function d(e,t){var n=e.prototype;if(!(n instanceof t)){function r(){}r.prototype=t.prototype,r=new r,u(n,r),e.prototype=n=r}n.constructor!=e&&(typeof e!=`function`&&console.error(`unknown Class:`+e),n.constructor=e)}var f={},p=f.ELEMENT_NODE=1,m=f.ATTRIBUTE_NODE=2,h=f.TEXT_NODE=3,g=f.CDATA_SECTION_NODE=4,_=f.ENTITY_REFERENCE_NODE=5,v=f.ENTITY_NODE=6,y=f.PROCESSING_INSTRUCTION_NODE=7,b=f.COMMENT_NODE=8,x=f.DOCUMENT_NODE=9,S=f.DOCUMENT_TYPE_NODE=10,C=f.DOCUMENT_FRAGMENT_NODE=11,w=f.NOTATION_NODE=12,T={},E={};T.INDEX_SIZE_ERR=(E[1]=`Index size error`,1),T.DOMSTRING_SIZE_ERR=(E[2]=`DOMString size error`,2);var D=T.HIERARCHY_REQUEST_ERR=(E[3]=`Hierarchy request error`,3);T.WRONG_DOCUMENT_ERR=(E[4]=`Wrong document`,4);var O=T.INVALID_CHARACTER_ERR=(E[5]=`Invalid character`,5);T.NO_DATA_ALLOWED_ERR=(E[6]=`No data allowed`,6),T.NO_MODIFICATION_ALLOWED_ERR=(E[7]=`No modification allowed`,7);var k=T.NOT_FOUND_ERR=(E[8]=`Not found`,8);T.NOT_SUPPORTED_ERR=(E[9]=`Not supported`,9);var A=T.INUSE_ATTRIBUTE_ERR=(E[10]=`Attribute in use`,10),j=T.INVALID_STATE_ERR=(E[11]=`Invalid state`,11);T.SYNTAX_ERR=(E[12]=`Syntax error`,12),T.INVALID_MODIFICATION_ERR=(E[13]=`Invalid modification`,13),T.NAMESPACE_ERR=(E[14]=`Invalid namespace`,14),T.INVALID_ACCESS_ERR=(E[15]=`Invalid access`,15);function M(e,t){if(t instanceof Error)var n=t;else n=this,Error.call(this,E[e]),this.message=E[e],Error.captureStackTrace&&Error.captureStackTrace(this,M);return n.code=e,t&&(this.message=this.message+`: `+t),n}M.prototype=Error.prototype,u(T,M);function N(){}N.prototype={length:0,item:function(e){return e>=0&&e<this.length?this[e]:null},toString:function(e,t,n){for(var r=!!n&&!!n.requireWellFormed,a=[],o=0;o<this.length;o++)Ae(this[o],a,e,t,null,r);return a.join(``)},filter:function(e){return Array.prototype.filter.call(this,e)},indexOf:function(e){return Array.prototype.indexOf.call(this,e)}};function P(e,t){this._node=e,this._refresh=t,F(this)}function F(e){var t=e._node._inc||e._node.ownerDocument._inc;if(e._inc!==t){var n=e._refresh(e._node);if(Y(e,`length`,n.length),!e.$$length||n.length<e.$$length)for(var r=n.length;r in e;r++)Object.prototype.hasOwnProperty.call(e,r)&&delete e[r];u(n,e),e._inc=t}}P.prototype.item=function(e){return F(this),this[e]||null},d(P,N);function I(){}function L(e,t){for(var n=e.length;n--;)if(e[n]===t)return n}function R(e,t,n,r){if(r?t[L(t,r)]=n:t[t.length++]=n,e){n.ownerElement=e;var a=e.ownerDocument;a&&(r&&te(a,e,r),G(a,e,n))}}function z(e,t,n){var r=L(t,n);if(r>=0){for(var a=t.length-1;r<a;)t[r]=t[++r];if(t.length=a,e){var o=e.ownerDocument;o&&(te(o,e,n),n.ownerElement=null)}}else throw new M(k,Error(e.tagName+`@`+n))}I.prototype={length:0,item:N.prototype.item,getNamedItem:function(e){for(var t=this.length;t--;){var n=this[t];if(n.nodeName==e)return n}},setNamedItem:function(e){var t=e.ownerElement;if(t&&t!=this._ownerElement)throw new M(A);var n=this.getNamedItem(e.nodeName);return R(this._ownerElement,this,e,n),n},setNamedItemNS:function(e){var t=e.ownerElement,n;if(t&&t!=this._ownerElement)throw new M(A);return n=this.getNamedItemNS(e.namespaceURI,e.localName),R(this._ownerElement,this,e,n),n},removeNamedItem:function(e){var t=this.getNamedItem(e);return z(this._ownerElement,this,t),t},removeNamedItemNS:function(e,t){var n=this.getNamedItemNS(e,t);return z(this._ownerElement,this,n),n},getNamedItemNS:function(e,t){for(var n=this.length;n--;){var r=this[n];if(r.localName==t&&r.namespaceURI==e)return r}return null}};function B(){}B.prototype={hasFeature:function(e,t){return!0},createDocument:function(e,t,n){var r=new ee;if(r.implementation=this,r.childNodes=new N,r.doctype=n||null,n&&r.appendChild(n),t){var a=r.createElementNS(e,t);r.appendChild(a)}return r},createDocumentType:function(e,t,n){var r=new be;return r.name=e,r.nodeName=e,r.publicId=t||``,r.systemId=n||``,r}};function V(){}V.prototype={firstChild:null,lastChild:null,previousSibling:null,nextSibling:null,attributes:null,parentNode:null,childNodes:null,ownerDocument:null,nodeValue:null,namespaceURI:null,prefix:null,localName:null,insertBefore:function(e,t){return J(this,e,t)},replaceChild:function(e,t){J(this,e,t,de),t&&this.removeChild(t)},removeChild:function(e){return re(this,e)},appendChild:function(e){return this.insertBefore(e,null)},hasChildNodes:function(){return this.firstChild!=null},cloneNode:function(e){return Me(this.ownerDocument||this,this,e)},normalize:function(){W(this,null,{enter:function(e){for(var t=e.firstChild;t;){var n=t.nextSibling;n!==null&&n.nodeType===h&&t.nodeType===h?(e.removeChild(n),t.appendData(n.data)):t=n}return!0}})},isSupported:function(e,t){return this.ownerDocument.implementation.hasFeature(e,t)},hasAttributes:function(){return this.attributes.length>0},lookupPrefix:function(e){for(var t=this;t;){var n=t._nsMap;if(n){for(var r in n)if(Object.prototype.hasOwnProperty.call(n,r)&&n[r]===e)return r}t=t.nodeType==m?t.ownerDocument:t.parentNode}return null},lookupNamespaceURI:function(e){for(var t=this;t;){var n=t._nsMap;if(n&&Object.prototype.hasOwnProperty.call(n,e))return n[e];t=t.nodeType==m?t.ownerDocument:t.parentNode}return null},isDefaultNamespace:function(e){return this.lookupPrefix(e)==null}};function H(e){return e==`<`&&`&lt;`||e==`>`&&`&gt;`||e==`&`&&`&amp;`||e==`"`&&`&quot;`||`&#`+e.charCodeAt()+`;`}u(f,V),u(f,V.prototype);function U(e,t){return W(e,null,{enter:function(e){return t(e)?W.STOP:!0}})===W.STOP}function W(e,t,n){for(var r=[{node:e,context:t,phase:W.ENTER}];r.length>0;){var a=r.pop();if(a.phase===W.ENTER){var o=n.enter(a.node,a.context);if(o===W.STOP)return W.STOP;if(r.push({node:a.node,context:o,phase:W.EXIT}),o==null)continue;for(var s=a.node.lastChild;s;)r.push({node:s,context:o,phase:W.ENTER}),s=s.previousSibling}else n.exit&&n.exit(a.node,a.context)}}W.STOP=Symbol(`walkDOM.STOP`),W.ENTER=0,W.EXIT=1;function ee(){this.ownerDocument=this}function G(e,t,n){e&&e._inc++,n.namespaceURI===r.XMLNS&&(t._nsMap[n.prefix?n.localName:``]=n.value)}function te(e,t,n,a){e&&e._inc++,n.namespaceURI===r.XMLNS&&delete t._nsMap[n.prefix?n.localName:``]}function ne(e,t,n){if(e&&e._inc){e._inc++;var r=t.childNodes;if(n)r[r.length++]=n;else{for(var a=t.firstChild,o=0;a;)r[o++]=a,a=a.nextSibling;r.length=o,delete r[r.length]}}}function re(e,t){var n=t.previousSibling,r=t.nextSibling;return n?n.nextSibling=r:e.firstChild=r,r?r.previousSibling=n:e.lastChild=n,t.parentNode=null,t.previousSibling=null,t.nextSibling=null,ne(e.ownerDocument,e),t}function K(e){return e&&(e.nodeType===V.DOCUMENT_NODE||e.nodeType===V.DOCUMENT_FRAGMENT_NODE||e.nodeType===V.ELEMENT_NODE)}function ie(e){return e&&(q(e)||oe(e)||ae(e)||e.nodeType===V.DOCUMENT_FRAGMENT_NODE||e.nodeType===V.COMMENT_NODE||e.nodeType===V.PROCESSING_INSTRUCTION_NODE)}function ae(e){return e&&e.nodeType===V.DOCUMENT_TYPE_NODE}function q(e){return e&&e.nodeType===V.ELEMENT_NODE}function oe(e){return e&&e.nodeType===V.TEXT_NODE}function se(e,t){var r=e.childNodes||[];if(n(r,q)||ae(t))return!1;var a=n(r,ae);return!(t&&a&&r.indexOf(a)>r.indexOf(t))}function ce(e,t){var r=e.childNodes||[];function a(e){return q(e)&&e!==t}if(n(r,a))return!1;var o=n(r,ae);return!(t&&o&&r.indexOf(o)>r.indexOf(t))}function le(e,t,n){if(!K(e))throw new M(D,`Unexpected parent node type `+e.nodeType);if(n&&n.parentNode!==e)throw new M(k,`child not in parent`);if(!ie(t)||ae(t)&&e.nodeType!==V.DOCUMENT_NODE)throw new M(D,`Unexpected node type `+t.nodeType+` for parent node type `+e.nodeType)}function ue(e,t,r){var a=e.childNodes||[],o=t.childNodes||[];if(t.nodeType===V.DOCUMENT_FRAGMENT_NODE){var s=o.filter(q);if(s.length>1||n(o,oe))throw new M(D,`More than one element or text in fragment`);if(s.length===1&&!se(e,r))throw new M(D,`Element in fragment can not be inserted before doctype`)}if(q(t)&&!se(e,r))throw new M(D,`Only one element can be added and only after doctype`);if(ae(t)){if(n(a,ae))throw new M(D,`Only one doctype is allowed`);var c=n(a,q);if(r&&a.indexOf(c)<a.indexOf(r))throw new M(D,`Doctype can only be inserted before an element`);if(!r&&c)throw new M(D,`Doctype can not be appended since element is present`)}}function de(e,t,r){var a=e.childNodes||[],o=t.childNodes||[];if(t.nodeType===V.DOCUMENT_FRAGMENT_NODE){var s=o.filter(q);if(s.length>1||n(o,oe))throw new M(D,`More than one element or text in fragment`);if(s.length===1&&!ce(e,r))throw new M(D,`Element in fragment can not be inserted before doctype`)}if(q(t)&&!ce(e,r))throw new M(D,`Only one element can be added and only after doctype`);if(ae(t)){function c(e){return ae(e)&&e!==r}if(n(a,c))throw new M(D,`Only one doctype is allowed`);var l=n(a,q);if(r&&a.indexOf(l)<a.indexOf(r))throw new M(D,`Doctype can only be inserted before an element`)}}function J(e,t,n,r){le(e,t,n),e.nodeType===V.DOCUMENT_NODE&&(r||ue)(e,t,n);var a=t.parentNode;if(a&&a.removeChild(t),t.nodeType===C){var o=t.firstChild;if(o==null)return t;var s=t.lastChild}else o=s=t;var c=n?n.previousSibling:e.lastChild;o.previousSibling=c,s.nextSibling=n,c?c.nextSibling=o:e.firstChild=o,n==null?e.lastChild=s:n.previousSibling=s;do{o.parentNode=e;var l=e.ownerDocument||e;fe(o,l)}while(o!==s&&(o=o.nextSibling));return ne(e.ownerDocument||e,e),t.nodeType==C&&(t.firstChild=t.lastChild=null),t}function fe(e,t){if(e.ownerDocument!==t){if(e.ownerDocument=t,e.nodeType===p&&e.attributes)for(var n=0;n<e.attributes.length;n++){var r=e.attributes.item(n);r&&(r.ownerDocument=t)}for(var a=e.firstChild;a;)fe(a,t),a=a.nextSibling}}function pe(e,t){return t.parentNode&&t.parentNode.removeChild(t),t.parentNode=e,t.previousSibling=e.lastChild,t.nextSibling=null,t.previousSibling?t.previousSibling.nextSibling=t:e.firstChild=t,e.lastChild=t,ne(e.ownerDocument,e,t),fe(t,e.ownerDocument||e),t}ee.prototype={nodeName:`#document`,nodeType:x,doctype:null,documentElement:null,_inc:1,insertBefore:function(e,t){if(e.nodeType==C){for(var n=e.firstChild;n;){var r=n.nextSibling;this.insertBefore(n,t),n=r}return e}return J(this,e,t),fe(e,this),this.documentElement===null&&e.nodeType===p&&(this.documentElement=e),e},removeChild:function(e){return this.documentElement==e&&(this.documentElement=null),re(this,e)},replaceChild:function(e,t){J(this,e,t,de),fe(e,this),t&&this.removeChild(t),q(e)&&(this.documentElement=e)},importNode:function(e,t){return je(this,e,t)},getElementById:function(e){var t=null;return U(this.documentElement,function(n){if(n.nodeType==p&&n.getAttribute(`id`)==e)return t=n,!0}),t},getElementsByClassName:function(e){var t=c(e);return new P(this,function(n){var r=[];return t.length>0&&U(n.documentElement,function(a){if(a!==n&&a.nodeType===p){var o=a.getAttribute(`class`);if(o){var s=e===o;if(!s){var u=c(o);s=t.every(l(u))}s&&r.push(a)}}}),r})},createElement:function(e){var t=new me;t.ownerDocument=this,t.nodeName=e,t.tagName=e,t.localName=e,t.childNodes=new N;var n=t.attributes=new I;return n._ownerElement=t,t},createDocumentFragment:function(){var e=new we;return e.ownerDocument=this,e.childNodes=new N,e},createTextNode:function(e){var t=new _e;return t.ownerDocument=this,t.appendData(e),t},createComment:function(e){var t=new ve;return t.ownerDocument=this,t.appendData(e),t},createCDATASection:function(e){if(e.indexOf(`]]>`)!==-1)throw new M(O,`data contains "]]>"`);var t=new ye;return t.ownerDocument=this,t.appendData(e),t},createProcessingInstruction:function(e,t){var n=new Te;return n.ownerDocument=this,n.tagName=n.nodeName=n.target=e,n.nodeValue=n.data=t,n},createAttribute:function(e){var t=new he;return t.ownerDocument=this,t.name=e,t.nodeName=e,t.localName=e,t.specified=!0,t},createEntityReference:function(e){var t=new Ce;return t.ownerDocument=this,t.nodeName=e,t},createElementNS:function(e,t){var n=new me,r=t.split(`:`),a=n.attributes=new I;return n.childNodes=new N,n.ownerDocument=this,n.nodeName=t,n.tagName=t,n.namespaceURI=e,r.length==2?(n.prefix=r[0],n.localName=r[1]):n.localName=t,a._ownerElement=n,n},createAttributeNS:function(e,t){var n=new he,r=t.split(`:`);return n.ownerDocument=this,n.nodeName=t,n.name=t,n.namespaceURI=e,n.specified=!0,r.length==2?(n.prefix=r[0],n.localName=r[1]):n.localName=t,n}},d(ee,V);function me(){this._nsMap={}}me.prototype={nodeType:p,hasAttribute:function(e){return this.getAttributeNode(e)!=null},getAttribute:function(e){var t=this.getAttributeNode(e);return t&&t.value||``},getAttributeNode:function(e){return this.attributes.getNamedItem(e)},setAttribute:function(e,t){var n=this.ownerDocument.createAttribute(e);n.value=n.nodeValue=``+t,this.setAttributeNode(n)},removeAttribute:function(e){var t=this.getAttributeNode(e);t&&this.removeAttributeNode(t)},appendChild:function(e){return e.nodeType===C?this.insertBefore(e,null):pe(this,e)},setAttributeNode:function(e){return this.attributes.setNamedItem(e)},setAttributeNodeNS:function(e){return this.attributes.setNamedItemNS(e)},removeAttributeNode:function(e){return this.attributes.removeNamedItem(e.nodeName)},removeAttributeNS:function(e,t){var n=this.getAttributeNodeNS(e,t);n&&this.removeAttributeNode(n)},hasAttributeNS:function(e,t){return this.getAttributeNodeNS(e,t)!=null},getAttributeNS:function(e,t){var n=this.getAttributeNodeNS(e,t);return n&&n.value||``},setAttributeNS:function(e,t,n){var r=this.ownerDocument.createAttributeNS(e,t);r.value=r.nodeValue=``+n,this.setAttributeNode(r)},getAttributeNodeNS:function(e,t){return this.attributes.getNamedItemNS(e,t)},getElementsByTagName:function(e){return new P(this,function(t){var n=[];return U(t,function(r){r!==t&&r.nodeType==p&&(e===`*`||r.tagName==e)&&n.push(r)}),n})},getElementsByTagNameNS:function(e,t){return new P(this,function(n){var r=[];return U(n,function(a){a!==n&&a.nodeType===p&&(e===`*`||a.namespaceURI===e)&&(t===`*`||a.localName==t)&&r.push(a)}),r})}},ee.prototype.getElementsByTagName=me.prototype.getElementsByTagName,ee.prototype.getElementsByTagNameNS=me.prototype.getElementsByTagNameNS,d(me,V);function he(){}he.prototype.nodeType=m,d(he,V);function ge(){}ge.prototype={data:``,substringData:function(e,t){return this.data.substring(e,e+t)},appendData:function(e){e=this.data+e,this.nodeValue=this.data=e,this.length=e.length},insertData:function(e,t){this.replaceData(e,0,t)},appendChild:function(e){throw Error(E[D])},deleteData:function(e,t){this.replaceData(e,t,``)},replaceData:function(e,t,n){var r=this.data.substring(0,e),a=this.data.substring(e+t);n=r+n+a,this.nodeValue=this.data=n,this.length=n.length}},d(ge,V);function _e(){}_e.prototype={nodeName:`#text`,nodeType:h,splitText:function(e){var t=this.data,n=t.substring(e);t=t.substring(0,e),this.data=this.nodeValue=t,this.length=t.length;var r=this.ownerDocument.createTextNode(n);return this.parentNode&&this.parentNode.insertBefore(r,this.nextSibling),r}},d(_e,ge);function ve(){}ve.prototype={nodeName:`#comment`,nodeType:b},d(ve,ge);function ye(){}ye.prototype={nodeName:`#cdata-section`,nodeType:g},d(ye,ge);function be(){}be.prototype.nodeType=S,d(be,V);function xe(){}xe.prototype.nodeType=w,d(xe,V);function Se(){}Se.prototype.nodeType=v,d(Se,V);function Ce(){}Ce.prototype.nodeType=_,d(Ce,V);function we(){}we.prototype.nodeName=`#document-fragment`,we.prototype.nodeType=C,d(we,V);function Te(){}Te.prototype.nodeType=y,d(Te,V);function Ee(){}Ee.prototype.serializeToString=function(e,t,n,r){return De.call(e,t,n,r)},V.prototype.toString=De;function De(e,t,n){var r=!!n&&!!n.requireWellFormed,a=[],o=this.nodeType==9&&this.documentElement||this,s=o.prefix,c=o.namespaceURI;if(c&&s==null){var s=o.lookupPrefix(c);if(s==null)var l=[{namespace:c,prefix:null}]}return Ae(this,a,e,t,l,r),a.join(``)}function Oe(e,t,n){var a=e.prefix||``,o=e.namespaceURI;if(!o||a===`xml`&&o===r.XML||o===r.XMLNS)return!1;for(var s=n.length;s--;){var c=n[s];if(c.prefix===a)return c.namespace!==o}return!0}function ke(e,t,n){e.push(` `,t,`="`,n.replace(/[<>&"\t\n\r]/g,H),`"`)}function Ae(e,t,n,a,o,s){o||=[],W(e,{ns:o,isHTML:n},{enter:function(e,n){var o=n.ns,c=n.isHTML;if(a)if(e=a(e),e){if(typeof e==`string`)return t.push(e),null}else return null;switch(e.nodeType){case p:var l=e.attributes,u=l.length,d=e.tagName;c=r.isHTML(e.namespaceURI)||c;var f=d;if(!c&&!e.prefix&&e.namespaceURI){for(var v,w=0;w<l.length;w++)if(l.item(w).name===`xmlns`){v=l.item(w).value;break}if(!v)for(var T=o.length-1;T>=0;T--){var E=o[T];if(E.prefix===``&&E.namespace===e.namespaceURI){v=E.namespace;break}}if(v!==e.namespaceURI)for(var T=o.length-1;T>=0;T--){var E=o[T];if(E.namespace===e.namespaceURI){E.prefix&&(f=E.prefix+`:`+d);break}}}t.push(`<`,f);for(var D=o.slice(),O=0;O<u;O++){var k=l.item(O);k.prefix==`xmlns`?D.push({prefix:k.localName,namespace:k.value}):k.nodeName==`xmlns`&&D.push({prefix:``,namespace:k.value})}for(var O=0;O<u;O++){var k=l.item(O);if(Oe(k,c,D)){var A=k.prefix||``,N=k.namespaceURI;ke(t,A?`xmlns:`+A:`xmlns`,N),D.push({prefix:A,namespace:N})}var P=a?a(k):k;P&&(typeof P==`string`?t.push(P):ke(t,P.name,P.value))}if(d===f&&Oe(e,c,D)){var F=e.prefix||``,N=e.namespaceURI;ke(t,F?`xmlns:`+F:`xmlns`,N),D.push({prefix:F,namespace:N})}var I=e.firstChild;if(I||c&&!/^(?:meta|link|img|br|hr|input)$/i.test(d)){if(t.push(`>`),c&&/^script$/i.test(d)){for(;I;)I.data?t.push(I.data):Ae(I,t,c,a,D.slice(),s),I=I.nextSibling;return t.push(`</`,d,`>`),null}return{ns:D,isHTML:c,tag:f}}else return t.push(`/>`),null;case x:case C:return{ns:o.slice(),isHTML:c,tag:null};case m:return ke(t,e.name,e.value),null;case h:return t.push(e.data.replace(/[<&>]/g,H)),null;case g:if(s&&e.data.indexOf(`]]>`)!==-1)throw new M(j,`The CDATASection data contains "]]>"`);return t.push(`<![CDATA[`,e.data.replace(/]]>/g,`]]]]><![CDATA[>`),`]]>`),null;case b:if(s&&e.data.indexOf(`-->`)!==-1)throw new M(j,`The comment node data contains "-->"`);return t.push(`<!--`,e.data,`-->`),null;case S:if(s){if(e.publicId&&!/^("[\x20\r\na-zA-Z0-9\-()+,.\/:=?;!*#@$_%']*"|'[\x20\r\na-zA-Z0-9\-()+,.\/:=?;!*#@$_%'"]*')$/.test(e.publicId))throw new M(j,`DocumentType publicId is not a valid PubidLiteral`);if(e.systemId&&!/^("[^"]*"|'[^']*')$/.test(e.systemId))throw new M(j,`DocumentType systemId is not a valid SystemLiteral`);if(e.internalSubset&&e.internalSubset.indexOf(`]>`)!==-1)throw new M(j,`DocumentType internalSubset contains "]>"`)}var L=e.publicId,R=e.systemId;if(t.push(`<!DOCTYPE `,e.name),L)t.push(` PUBLIC `,L),R&&R!=`.`&&t.push(` `,R),t.push(`>`);else if(R&&R!=`.`)t.push(` SYSTEM `,R,`>`);else{var z=e.internalSubset;z&&t.push(` [`,z,`]`),t.push(`>`)}return null;case y:if(s&&e.data.indexOf(`?>`)!==-1)throw new M(j,`The ProcessingInstruction data contains "?>"`);return t.push(`<?`,e.target,` `,e.data,`?>`),null;case _:return t.push(`&`,e.nodeName,`;`),null;default:return t.push(`??`,e.nodeName),null}},exit:function(e,n){n&&n.tag&&t.push(`</`,n.tag,`>`)}})}function je(e,t,n){var r;return W(t,null,{enter:function(t,a){var o=t.cloneNode(!1);return o.ownerDocument=e,o.parentNode=null,a===null?r=o:a.appendChild(o),t.nodeType===m||n?o:null}}),r}function Me(e,t,n){var r;return W(t,null,{enter:function(t,a){var o=new t.constructor;for(var s in t)if(Object.prototype.hasOwnProperty.call(t,s)){var c=t[s];typeof c!=`object`&&c!=o[s]&&(o[s]=c)}t.childNodes&&(o.childNodes=new N),o.ownerDocument=e;var l=n;switch(o.nodeType){case p:var u=t.attributes,d=o.attributes=new I,f=u.length;d._ownerElement=o;for(var h=0;h<f;h++)o.setAttributeNode(Me(e,u.item(h),!0));break;case m:l=!0}return a===null?r=o:a.appendChild(o),l?o:null}}),r}function Y(e,t,n){e[t]=n}try{Object.defineProperty&&(Object.defineProperty(P.prototype,`length`,{get:function(){return F(this),this.$$length}}),Object.defineProperty(V.prototype,`textContent`,{get:function(){if(this.nodeType===p||this.nodeType===C){var e=[];return W(this,null,{enter:function(t){if(t.nodeType===p||t.nodeType===C)return!0;if(t.nodeType===y||t.nodeType===b)return null;e.push(t.nodeValue)}}),e.join(``)}return this.nodeValue},set:function(e){switch(this.nodeType){case p:case C:for(;this.firstChild;)this.removeChild(this.firstChild);(e||String(e))&&this.appendChild(this.ownerDocument.createTextNode(e));break;default:this.data=e,this.value=e,this.nodeValue=e}}}),Y=function(e,t,n){e[`$$`+t]=n})}catch{}e.DocumentType=be,e.DOMException=M,e.DOMImplementation=B,e.Element=me,e.Node=V,e.NodeList=N,e.walkDOM=W,e.XMLSerializer=Ee})),Mi=e.t((e=>{var t=Ai().freeze;e.XML_ENTITIES=t({amp:`&`,apos:`'`,gt:`>`,lt:`<`,quot:`"`}),e.HTML_ENTITIES=t({Aacute:`Á`,aacute:`á`,Abreve:`Ă`,abreve:`ă`,ac:`∾`,acd:`∿`,acE:`∾̳`,Acirc:`Â`,acirc:`â`,acute:`´`,Acy:`А`,acy:`а`,AElig:`Æ`,aelig:`æ`,af:`⁡`,Afr:`𝔄`,afr:`𝔞`,Agrave:`À`,agrave:`à`,alefsym:`ℵ`,aleph:`ℵ`,Alpha:`Α`,alpha:`α`,Amacr:`Ā`,amacr:`ā`,amalg:`⨿`,AMP:`&`,amp:`&`,And:`⩓`,and:`∧`,andand:`⩕`,andd:`⩜`,andslope:`⩘`,andv:`⩚`,ang:`∠`,ange:`⦤`,angle:`∠`,angmsd:`∡`,angmsdaa:`⦨`,angmsdab:`⦩`,angmsdac:`⦪`,angmsdad:`⦫`,angmsdae:`⦬`,angmsdaf:`⦭`,angmsdag:`⦮`,angmsdah:`⦯`,angrt:`∟`,angrtvb:`⊾`,angrtvbd:`⦝`,angsph:`∢`,angst:`Å`,angzarr:`⍼`,Aogon:`Ą`,aogon:`ą`,Aopf:`𝔸`,aopf:`𝕒`,ap:`≈`,apacir:`⩯`,apE:`⩰`,ape:`≊`,apid:`≋`,apos:`'`,ApplyFunction:`⁡`,approx:`≈`,approxeq:`≊`,Aring:`Å`,aring:`å`,Ascr:`𝒜`,ascr:`𝒶`,Assign:`≔`,ast:`*`,asymp:`≈`,asympeq:`≍`,Atilde:`Ã`,atilde:`ã`,Auml:`Ä`,auml:`ä`,awconint:`∳`,awint:`⨑`,backcong:`≌`,backepsilon:`϶`,backprime:`‵`,backsim:`∽`,backsimeq:`⋍`,Backslash:`∖`,Barv:`⫧`,barvee:`⊽`,Barwed:`⌆`,barwed:`⌅`,barwedge:`⌅`,bbrk:`⎵`,bbrktbrk:`⎶`,bcong:`≌`,Bcy:`Б`,bcy:`б`,bdquo:`„`,becaus:`∵`,Because:`∵`,because:`∵`,bemptyv:`⦰`,bepsi:`϶`,bernou:`ℬ`,Bernoullis:`ℬ`,Beta:`Β`,beta:`β`,beth:`ℶ`,between:`≬`,Bfr:`𝔅`,bfr:`𝔟`,bigcap:`⋂`,bigcirc:`◯`,bigcup:`⋃`,bigodot:`⨀`,bigoplus:`⨁`,bigotimes:`⨂`,bigsqcup:`⨆`,bigstar:`★`,bigtriangledown:`▽`,bigtriangleup:`△`,biguplus:`⨄`,bigvee:`⋁`,bigwedge:`⋀`,bkarow:`⤍`,blacklozenge:`⧫`,blacksquare:`▪`,blacktriangle:`▴`,blacktriangledown:`▾`,blacktriangleleft:`◂`,blacktriangleright:`▸`,blank:`␣`,blk12:`▒`,blk14:`░`,blk34:`▓`,block:`█`,bne:`=⃥`,bnequiv:`≡⃥`,bNot:`⫭`,bnot:`⌐`,Bopf:`𝔹`,bopf:`𝕓`,bot:`⊥`,bottom:`⊥`,bowtie:`⋈`,boxbox:`⧉`,boxDL:`╗`,boxDl:`╖`,boxdL:`╕`,boxdl:`┐`,boxDR:`╔`,boxDr:`╓`,boxdR:`╒`,boxdr:`┌`,boxH:`═`,boxh:`─`,boxHD:`╦`,boxHd:`╤`,boxhD:`╥`,boxhd:`┬`,boxHU:`╩`,boxHu:`╧`,boxhU:`╨`,boxhu:`┴`,boxminus:`⊟`,boxplus:`⊞`,boxtimes:`⊠`,boxUL:`╝`,boxUl:`╜`,boxuL:`╛`,boxul:`┘`,boxUR:`╚`,boxUr:`╙`,boxuR:`╘`,boxur:`└`,boxV:`║`,boxv:`│`,boxVH:`╬`,boxVh:`╫`,boxvH:`╪`,boxvh:`┼`,boxVL:`╣`,boxVl:`╢`,boxvL:`╡`,boxvl:`┤`,boxVR:`╠`,boxVr:`╟`,boxvR:`╞`,boxvr:`├`,bprime:`‵`,Breve:`˘`,breve:`˘`,brvbar:`¦`,Bscr:`ℬ`,bscr:`𝒷`,bsemi:`⁏`,bsim:`∽`,bsime:`⋍`,bsol:`\\`,bsolb:`⧅`,bsolhsub:`⟈`,bull:`•`,bullet:`•`,bump:`≎`,bumpE:`⪮`,bumpe:`≏`,Bumpeq:`≎`,bumpeq:`≏`,Cacute:`Ć`,cacute:`ć`,Cap:`⋒`,cap:`∩`,capand:`⩄`,capbrcup:`⩉`,capcap:`⩋`,capcup:`⩇`,capdot:`⩀`,CapitalDifferentialD:`ⅅ`,caps:`∩︀`,caret:`⁁`,caron:`ˇ`,Cayleys:`ℭ`,ccaps:`⩍`,Ccaron:`Č`,ccaron:`č`,Ccedil:`Ç`,ccedil:`ç`,Ccirc:`Ĉ`,ccirc:`ĉ`,Cconint:`∰`,ccups:`⩌`,ccupssm:`⩐`,Cdot:`Ċ`,cdot:`ċ`,cedil:`¸`,Cedilla:`¸`,cemptyv:`⦲`,cent:`¢`,CenterDot:`·`,centerdot:`·`,Cfr:`ℭ`,cfr:`𝔠`,CHcy:`Ч`,chcy:`ч`,check:`✓`,checkmark:`✓`,Chi:`Χ`,chi:`χ`,cir:`○`,circ:`ˆ`,circeq:`≗`,circlearrowleft:`↺`,circlearrowright:`↻`,circledast:`⊛`,circledcirc:`⊚`,circleddash:`⊝`,CircleDot:`⊙`,circledR:`®`,circledS:`Ⓢ`,CircleMinus:`⊖`,CirclePlus:`⊕`,CircleTimes:`⊗`,cirE:`⧃`,cire:`≗`,cirfnint:`⨐`,cirmid:`⫯`,cirscir:`⧂`,ClockwiseContourIntegral:`∲`,CloseCurlyDoubleQuote:`”`,CloseCurlyQuote:`’`,clubs:`♣`,clubsuit:`♣`,Colon:`∷`,colon:`:`,Colone:`⩴`,colone:`≔`,coloneq:`≔`,comma:`,`,commat:`@`,comp:`∁`,compfn:`∘`,complement:`∁`,complexes:`ℂ`,cong:`≅`,congdot:`⩭`,Congruent:`≡`,Conint:`∯`,conint:`∮`,ContourIntegral:`∮`,Copf:`ℂ`,copf:`𝕔`,coprod:`∐`,Coproduct:`∐`,COPY:`©`,copy:`©`,copysr:`℗`,CounterClockwiseContourIntegral:`∳`,crarr:`↵`,Cross:`⨯`,cross:`✗`,Cscr:`𝒞`,cscr:`𝒸`,csub:`⫏`,csube:`⫑`,csup:`⫐`,csupe:`⫒`,ctdot:`⋯`,cudarrl:`⤸`,cudarrr:`⤵`,cuepr:`⋞`,cuesc:`⋟`,cularr:`↶`,cularrp:`⤽`,Cup:`⋓`,cup:`∪`,cupbrcap:`⩈`,CupCap:`≍`,cupcap:`⩆`,cupcup:`⩊`,cupdot:`⊍`,cupor:`⩅`,cups:`∪︀`,curarr:`↷`,curarrm:`⤼`,curlyeqprec:`⋞`,curlyeqsucc:`⋟`,curlyvee:`⋎`,curlywedge:`⋏`,curren:`¤`,curvearrowleft:`↶`,curvearrowright:`↷`,cuvee:`⋎`,cuwed:`⋏`,cwconint:`∲`,cwint:`∱`,cylcty:`⌭`,Dagger:`‡`,dagger:`†`,daleth:`ℸ`,Darr:`↡`,dArr:`⇓`,darr:`↓`,dash:`‐`,Dashv:`⫤`,dashv:`⊣`,dbkarow:`⤏`,dblac:`˝`,Dcaron:`Ď`,dcaron:`ď`,Dcy:`Д`,dcy:`д`,DD:`ⅅ`,dd:`ⅆ`,ddagger:`‡`,ddarr:`⇊`,DDotrahd:`⤑`,ddotseq:`⩷`,deg:`°`,Del:`∇`,Delta:`Δ`,delta:`δ`,demptyv:`⦱`,dfisht:`⥿`,Dfr:`𝔇`,dfr:`𝔡`,dHar:`⥥`,dharl:`⇃`,dharr:`⇂`,DiacriticalAcute:`´`,DiacriticalDot:`˙`,DiacriticalDoubleAcute:`˝`,DiacriticalGrave:"`",DiacriticalTilde:`˜`,diam:`⋄`,Diamond:`⋄`,diamond:`⋄`,diamondsuit:`♦`,diams:`♦`,die:`¨`,DifferentialD:`ⅆ`,digamma:`ϝ`,disin:`⋲`,div:`÷`,divide:`÷`,divideontimes:`⋇`,divonx:`⋇`,DJcy:`Ђ`,djcy:`ђ`,dlcorn:`⌞`,dlcrop:`⌍`,dollar:`$`,Dopf:`𝔻`,dopf:`𝕕`,Dot:`¨`,dot:`˙`,DotDot:`⃜`,doteq:`≐`,doteqdot:`≑`,DotEqual:`≐`,dotminus:`∸`,dotplus:`∔`,dotsquare:`⊡`,doublebarwedge:`⌆`,DoubleContourIntegral:`∯`,DoubleDot:`¨`,DoubleDownArrow:`⇓`,DoubleLeftArrow:`⇐`,DoubleLeftRightArrow:`⇔`,DoubleLeftTee:`⫤`,DoubleLongLeftArrow:`⟸`,DoubleLongLeftRightArrow:`⟺`,DoubleLongRightArrow:`⟹`,DoubleRightArrow:`⇒`,DoubleRightTee:`⊨`,DoubleUpArrow:`⇑`,DoubleUpDownArrow:`⇕`,DoubleVerticalBar:`∥`,DownArrow:`↓`,Downarrow:`⇓`,downarrow:`↓`,DownArrowBar:`⤓`,DownArrowUpArrow:`⇵`,DownBreve:`̑`,downdownarrows:`⇊`,downharpoonleft:`⇃`,downharpoonright:`⇂`,DownLeftRightVector:`⥐`,DownLeftTeeVector:`⥞`,DownLeftVector:`↽`,DownLeftVectorBar:`⥖`,DownRightTeeVector:`⥟`,DownRightVector:`⇁`,DownRightVectorBar:`⥗`,DownTee:`⊤`,DownTeeArrow:`↧`,drbkarow:`⤐`,drcorn:`⌟`,drcrop:`⌌`,Dscr:`𝒟`,dscr:`𝒹`,DScy:`Ѕ`,dscy:`ѕ`,dsol:`⧶`,Dstrok:`Đ`,dstrok:`đ`,dtdot:`⋱`,dtri:`▿`,dtrif:`▾`,duarr:`⇵`,duhar:`⥯`,dwangle:`⦦`,DZcy:`Џ`,dzcy:`џ`,dzigrarr:`⟿`,Eacute:`É`,eacute:`é`,easter:`⩮`,Ecaron:`Ě`,ecaron:`ě`,ecir:`≖`,Ecirc:`Ê`,ecirc:`ê`,ecolon:`≕`,Ecy:`Э`,ecy:`э`,eDDot:`⩷`,Edot:`Ė`,eDot:`≑`,edot:`ė`,ee:`ⅇ`,efDot:`≒`,Efr:`𝔈`,efr:`𝔢`,eg:`⪚`,Egrave:`È`,egrave:`è`,egs:`⪖`,egsdot:`⪘`,el:`⪙`,Element:`∈`,elinters:`⏧`,ell:`ℓ`,els:`⪕`,elsdot:`⪗`,Emacr:`Ē`,emacr:`ē`,empty:`∅`,emptyset:`∅`,EmptySmallSquare:`◻`,emptyv:`∅`,EmptyVerySmallSquare:`▫`,emsp:` `,emsp13:` `,emsp14:` `,ENG:`Ŋ`,eng:`ŋ`,ensp:` `,Eogon:`Ę`,eogon:`ę`,Eopf:`𝔼`,eopf:`𝕖`,epar:`⋕`,eparsl:`⧣`,eplus:`⩱`,epsi:`ε`,Epsilon:`Ε`,epsilon:`ε`,epsiv:`ϵ`,eqcirc:`≖`,eqcolon:`≕`,eqsim:`≂`,eqslantgtr:`⪖`,eqslantless:`⪕`,Equal:`⩵`,equals:`=`,EqualTilde:`≂`,equest:`≟`,Equilibrium:`⇌`,equiv:`≡`,equivDD:`⩸`,eqvparsl:`⧥`,erarr:`⥱`,erDot:`≓`,Escr:`ℰ`,escr:`ℯ`,esdot:`≐`,Esim:`⩳`,esim:`≂`,Eta:`Η`,eta:`η`,ETH:`Ð`,eth:`ð`,Euml:`Ë`,euml:`ë`,euro:`€`,excl:`!`,exist:`∃`,Exists:`∃`,expectation:`ℰ`,ExponentialE:`ⅇ`,exponentiale:`ⅇ`,fallingdotseq:`≒`,Fcy:`Ф`,fcy:`ф`,female:`♀`,ffilig:`ffi`,fflig:`ff`,ffllig:`ffl`,Ffr:`𝔉`,ffr:`𝔣`,filig:`fi`,FilledSmallSquare:`◼`,FilledVerySmallSquare:`▪`,fjlig:`fj`,flat:`♭`,fllig:`fl`,fltns:`▱`,fnof:`ƒ`,Fopf:`𝔽`,fopf:`𝕗`,ForAll:`∀`,forall:`∀`,fork:`⋔`,forkv:`⫙`,Fouriertrf:`ℱ`,fpartint:`⨍`,frac12:`½`,frac13:`⅓`,frac14:`¼`,frac15:`⅕`,frac16:`⅙`,frac18:`⅛`,frac23:`⅔`,frac25:`⅖`,frac34:`¾`,frac35:`⅗`,frac38:`⅜`,frac45:`⅘`,frac56:`⅚`,frac58:`⅝`,frac78:`⅞`,frasl:`⁄`,frown:`⌢`,Fscr:`ℱ`,fscr:`𝒻`,gacute:`ǵ`,Gamma:`Γ`,gamma:`γ`,Gammad:`Ϝ`,gammad:`ϝ`,gap:`⪆`,Gbreve:`Ğ`,gbreve:`ğ`,Gcedil:`Ģ`,Gcirc:`Ĝ`,gcirc:`ĝ`,Gcy:`Г`,gcy:`г`,Gdot:`Ġ`,gdot:`ġ`,gE:`≧`,ge:`≥`,gEl:`⪌`,gel:`⋛`,geq:`≥`,geqq:`≧`,geqslant:`⩾`,ges:`⩾`,gescc:`⪩`,gesdot:`⪀`,gesdoto:`⪂`,gesdotol:`⪄`,gesl:`⋛︀`,gesles:`⪔`,Gfr:`𝔊`,gfr:`𝔤`,Gg:`⋙`,gg:`≫`,ggg:`⋙`,gimel:`ℷ`,GJcy:`Ѓ`,gjcy:`ѓ`,gl:`≷`,gla:`⪥`,glE:`⪒`,glj:`⪤`,gnap:`⪊`,gnapprox:`⪊`,gnE:`≩`,gne:`⪈`,gneq:`⪈`,gneqq:`≩`,gnsim:`⋧`,Gopf:`𝔾`,gopf:`𝕘`,grave:"`",GreaterEqual:`≥`,GreaterEqualLess:`⋛`,GreaterFullEqual:`≧`,GreaterGreater:`⪢`,GreaterLess:`≷`,GreaterSlantEqual:`⩾`,GreaterTilde:`≳`,Gscr:`𝒢`,gscr:`ℊ`,gsim:`≳`,gsime:`⪎`,gsiml:`⪐`,Gt:`≫`,GT:`>`,gt:`>`,gtcc:`⪧`,gtcir:`⩺`,gtdot:`⋗`,gtlPar:`⦕`,gtquest:`⩼`,gtrapprox:`⪆`,gtrarr:`⥸`,gtrdot:`⋗`,gtreqless:`⋛`,gtreqqless:`⪌`,gtrless:`≷`,gtrsim:`≳`,gvertneqq:`≩︀`,gvnE:`≩︀`,Hacek:`ˇ`,hairsp:` `,half:`½`,hamilt:`ℋ`,HARDcy:`Ъ`,hardcy:`ъ`,hArr:`⇔`,harr:`↔`,harrcir:`⥈`,harrw:`↭`,Hat:`^`,hbar:`ℏ`,Hcirc:`Ĥ`,hcirc:`ĥ`,hearts:`♥`,heartsuit:`♥`,hellip:`…`,hercon:`⊹`,Hfr:`ℌ`,hfr:`𝔥`,HilbertSpace:`ℋ`,hksearow:`⤥`,hkswarow:`⤦`,hoarr:`⇿`,homtht:`∻`,hookleftarrow:`↩`,hookrightarrow:`↪`,Hopf:`ℍ`,hopf:`𝕙`,horbar:`―`,HorizontalLine:`─`,Hscr:`ℋ`,hscr:`𝒽`,hslash:`ℏ`,Hstrok:`Ħ`,hstrok:`ħ`,HumpDownHump:`≎`,HumpEqual:`≏`,hybull:`⁃`,hyphen:`‐`,Iacute:`Í`,iacute:`í`,ic:`⁣`,Icirc:`Î`,icirc:`î`,Icy:`И`,icy:`и`,Idot:`İ`,IEcy:`Е`,iecy:`е`,iexcl:`¡`,iff:`⇔`,Ifr:`ℑ`,ifr:`𝔦`,Igrave:`Ì`,igrave:`ì`,ii:`ⅈ`,iiiint:`⨌`,iiint:`∭`,iinfin:`⧜`,iiota:`℩`,IJlig:`IJ`,ijlig:`ij`,Im:`ℑ`,Imacr:`Ī`,imacr:`ī`,image:`ℑ`,ImaginaryI:`ⅈ`,imagline:`ℐ`,imagpart:`ℑ`,imath:`ı`,imof:`⊷`,imped:`Ƶ`,Implies:`⇒`,in:`∈`,incare:`℅`,infin:`∞`,infintie:`⧝`,inodot:`ı`,Int:`∬`,int:`∫`,intcal:`⊺`,integers:`ℤ`,Integral:`∫`,intercal:`⊺`,Intersection:`⋂`,intlarhk:`⨗`,intprod:`⨼`,InvisibleComma:`⁣`,InvisibleTimes:`⁢`,IOcy:`Ё`,iocy:`ё`,Iogon:`Į`,iogon:`į`,Iopf:`𝕀`,iopf:`𝕚`,Iota:`Ι`,iota:`ι`,iprod:`⨼`,iquest:`¿`,Iscr:`ℐ`,iscr:`𝒾`,isin:`∈`,isindot:`⋵`,isinE:`⋹`,isins:`⋴`,isinsv:`⋳`,isinv:`∈`,it:`⁢`,Itilde:`Ĩ`,itilde:`ĩ`,Iukcy:`І`,iukcy:`і`,Iuml:`Ï`,iuml:`ï`,Jcirc:`Ĵ`,jcirc:`ĵ`,Jcy:`Й`,jcy:`й`,Jfr:`𝔍`,jfr:`𝔧`,jmath:`ȷ`,Jopf:`𝕁`,jopf:`𝕛`,Jscr:`𝒥`,jscr:`𝒿`,Jsercy:`Ј`,jsercy:`ј`,Jukcy:`Є`,jukcy:`є`,Kappa:`Κ`,kappa:`κ`,kappav:`ϰ`,Kcedil:`Ķ`,kcedil:`ķ`,Kcy:`К`,kcy:`к`,Kfr:`𝔎`,kfr:`𝔨`,kgreen:`ĸ`,KHcy:`Х`,khcy:`х`,KJcy:`Ќ`,kjcy:`ќ`,Kopf:`𝕂`,kopf:`𝕜`,Kscr:`𝒦`,kscr:`𝓀`,lAarr:`⇚`,Lacute:`Ĺ`,lacute:`ĺ`,laemptyv:`⦴`,lagran:`ℒ`,Lambda:`Λ`,lambda:`λ`,Lang:`⟪`,lang:`⟨`,langd:`⦑`,langle:`⟨`,lap:`⪅`,Laplacetrf:`ℒ`,laquo:`«`,Larr:`↞`,lArr:`⇐`,larr:`←`,larrb:`⇤`,larrbfs:`⤟`,larrfs:`⤝`,larrhk:`↩`,larrlp:`↫`,larrpl:`⤹`,larrsim:`⥳`,larrtl:`↢`,lat:`⪫`,lAtail:`⤛`,latail:`⤙`,late:`⪭`,lates:`⪭︀`,lBarr:`⤎`,lbarr:`⤌`,lbbrk:`❲`,lbrace:`{`,lbrack:`[`,lbrke:`⦋`,lbrksld:`⦏`,lbrkslu:`⦍`,Lcaron:`Ľ`,lcaron:`ľ`,Lcedil:`Ļ`,lcedil:`ļ`,lceil:`⌈`,lcub:`{`,Lcy:`Л`,lcy:`л`,ldca:`⤶`,ldquo:`“`,ldquor:`„`,ldrdhar:`⥧`,ldrushar:`⥋`,ldsh:`↲`,lE:`≦`,le:`≤`,LeftAngleBracket:`⟨`,LeftArrow:`←`,Leftarrow:`⇐`,leftarrow:`←`,LeftArrowBar:`⇤`,LeftArrowRightArrow:`⇆`,leftarrowtail:`↢`,LeftCeiling:`⌈`,LeftDoubleBracket:`⟦`,LeftDownTeeVector:`⥡`,LeftDownVector:`⇃`,LeftDownVectorBar:`⥙`,LeftFloor:`⌊`,leftharpoondown:`↽`,leftharpoonup:`↼`,leftleftarrows:`⇇`,LeftRightArrow:`↔`,Leftrightarrow:`⇔`,leftrightarrow:`↔`,leftrightarrows:`⇆`,leftrightharpoons:`⇋`,leftrightsquigarrow:`↭`,LeftRightVector:`⥎`,LeftTee:`⊣`,LeftTeeArrow:`↤`,LeftTeeVector:`⥚`,leftthreetimes:`⋋`,LeftTriangle:`⊲`,LeftTriangleBar:`⧏`,LeftTriangleEqual:`⊴`,LeftUpDownVector:`⥑`,LeftUpTeeVector:`⥠`,LeftUpVector:`↿`,LeftUpVectorBar:`⥘`,LeftVector:`↼`,LeftVectorBar:`⥒`,lEg:`⪋`,leg:`⋚`,leq:`≤`,leqq:`≦`,leqslant:`⩽`,les:`⩽`,lescc:`⪨`,lesdot:`⩿`,lesdoto:`⪁`,lesdotor:`⪃`,lesg:`⋚︀`,lesges:`⪓`,lessapprox:`⪅`,lessdot:`⋖`,lesseqgtr:`⋚`,lesseqqgtr:`⪋`,LessEqualGreater:`⋚`,LessFullEqual:`≦`,LessGreater:`≶`,lessgtr:`≶`,LessLess:`⪡`,lesssim:`≲`,LessSlantEqual:`⩽`,LessTilde:`≲`,lfisht:`⥼`,lfloor:`⌊`,Lfr:`𝔏`,lfr:`𝔩`,lg:`≶`,lgE:`⪑`,lHar:`⥢`,lhard:`↽`,lharu:`↼`,lharul:`⥪`,lhblk:`▄`,LJcy:`Љ`,ljcy:`љ`,Ll:`⋘`,ll:`≪`,llarr:`⇇`,llcorner:`⌞`,Lleftarrow:`⇚`,llhard:`⥫`,lltri:`◺`,Lmidot:`Ŀ`,lmidot:`ŀ`,lmoust:`⎰`,lmoustache:`⎰`,lnap:`⪉`,lnapprox:`⪉`,lnE:`≨`,lne:`⪇`,lneq:`⪇`,lneqq:`≨`,lnsim:`⋦`,loang:`⟬`,loarr:`⇽`,lobrk:`⟦`,LongLeftArrow:`⟵`,Longleftarrow:`⟸`,longleftarrow:`⟵`,LongLeftRightArrow:`⟷`,Longleftrightarrow:`⟺`,longleftrightarrow:`⟷`,longmapsto:`⟼`,LongRightArrow:`⟶`,Longrightarrow:`⟹`,longrightarrow:`⟶`,looparrowleft:`↫`,looparrowright:`↬`,lopar:`⦅`,Lopf:`𝕃`,lopf:`𝕝`,loplus:`⨭`,lotimes:`⨴`,lowast:`∗`,lowbar:`_`,LowerLeftArrow:`↙`,LowerRightArrow:`↘`,loz:`◊`,lozenge:`◊`,lozf:`⧫`,lpar:`(`,lparlt:`⦓`,lrarr:`⇆`,lrcorner:`⌟`,lrhar:`⇋`,lrhard:`⥭`,lrm:`‎`,lrtri:`⊿`,lsaquo:`‹`,Lscr:`ℒ`,lscr:`𝓁`,Lsh:`↰`,lsh:`↰`,lsim:`≲`,lsime:`⪍`,lsimg:`⪏`,lsqb:`[`,lsquo:`‘`,lsquor:`‚`,Lstrok:`Ł`,lstrok:`ł`,Lt:`≪`,LT:`<`,lt:`<`,ltcc:`⪦`,ltcir:`⩹`,ltdot:`⋖`,lthree:`⋋`,ltimes:`⋉`,ltlarr:`⥶`,ltquest:`⩻`,ltri:`◃`,ltrie:`⊴`,ltrif:`◂`,ltrPar:`⦖`,lurdshar:`⥊`,luruhar:`⥦`,lvertneqq:`≨︀`,lvnE:`≨︀`,macr:`¯`,male:`♂`,malt:`✠`,maltese:`✠`,Map:`⤅`,map:`↦`,mapsto:`↦`,mapstodown:`↧`,mapstoleft:`↤`,mapstoup:`↥`,marker:`▮`,mcomma:`⨩`,Mcy:`М`,mcy:`м`,mdash:`—`,mDDot:`∺`,measuredangle:`∡`,MediumSpace:` `,Mellintrf:`ℳ`,Mfr:`𝔐`,mfr:`𝔪`,mho:`℧`,micro:`µ`,mid:`∣`,midast:`*`,midcir:`⫰`,middot:`·`,minus:`−`,minusb:`⊟`,minusd:`∸`,minusdu:`⨪`,MinusPlus:`∓`,mlcp:`⫛`,mldr:`…`,mnplus:`∓`,models:`⊧`,Mopf:`𝕄`,mopf:`𝕞`,mp:`∓`,Mscr:`ℳ`,mscr:`𝓂`,mstpos:`∾`,Mu:`Μ`,mu:`μ`,multimap:`⊸`,mumap:`⊸`,nabla:`∇`,Nacute:`Ń`,nacute:`ń`,nang:`∠⃒`,nap:`≉`,napE:`⩰̸`,napid:`≋̸`,napos:`ʼn`,napprox:`≉`,natur:`♮`,natural:`♮`,naturals:`ℕ`,nbsp:`\xA0`,nbump:`≎̸`,nbumpe:`≏̸`,ncap:`⩃`,Ncaron:`Ň`,ncaron:`ň`,Ncedil:`Ņ`,ncedil:`ņ`,ncong:`≇`,ncongdot:`⩭̸`,ncup:`⩂`,Ncy:`Н`,ncy:`н`,ndash:`–`,ne:`≠`,nearhk:`⤤`,neArr:`⇗`,nearr:`↗`,nearrow:`↗`,nedot:`≐̸`,NegativeMediumSpace:`​`,NegativeThickSpace:`​`,NegativeThinSpace:`​`,NegativeVeryThinSpace:`​`,nequiv:`≢`,nesear:`⤨`,nesim:`≂̸`,NestedGreaterGreater:`≫`,NestedLessLess:`≪`,NewLine:`
`,nexist:`∄`,nexists:`∄`,Nfr:`𝔑`,nfr:`𝔫`,ngE:`≧̸`,nge:`≱`,ngeq:`≱`,ngeqq:`≧̸`,ngeqslant:`⩾̸`,nges:`⩾̸`,nGg:`⋙̸`,ngsim:`≵`,nGt:`≫⃒`,ngt:`≯`,ngtr:`≯`,nGtv:`≫̸`,nhArr:`⇎`,nharr:`↮`,nhpar:`⫲`,ni:`∋`,nis:`⋼`,nisd:`⋺`,niv:`∋`,NJcy:`Њ`,njcy:`њ`,nlArr:`⇍`,nlarr:`↚`,nldr:`‥`,nlE:`≦̸`,nle:`≰`,nLeftarrow:`⇍`,nleftarrow:`↚`,nLeftrightarrow:`⇎`,nleftrightarrow:`↮`,nleq:`≰`,nleqq:`≦̸`,nleqslant:`⩽̸`,nles:`⩽̸`,nless:`≮`,nLl:`⋘̸`,nlsim:`≴`,nLt:`≪⃒`,nlt:`≮`,nltri:`⋪`,nltrie:`⋬`,nLtv:`≪̸`,nmid:`∤`,NoBreak:`⁠`,NonBreakingSpace:`\xA0`,Nopf:`ℕ`,nopf:`𝕟`,Not:`⫬`,not:`¬`,NotCongruent:`≢`,NotCupCap:`≭`,NotDoubleVerticalBar:`∦`,NotElement:`∉`,NotEqual:`≠`,NotEqualTilde:`≂̸`,NotExists:`∄`,NotGreater:`≯`,NotGreaterEqual:`≱`,NotGreaterFullEqual:`≧̸`,NotGreaterGreater:`≫̸`,NotGreaterLess:`≹`,NotGreaterSlantEqual:`⩾̸`,NotGreaterTilde:`≵`,NotHumpDownHump:`≎̸`,NotHumpEqual:`≏̸`,notin:`∉`,notindot:`⋵̸`,notinE:`⋹̸`,notinva:`∉`,notinvb:`⋷`,notinvc:`⋶`,NotLeftTriangle:`⋪`,NotLeftTriangleBar:`⧏̸`,NotLeftTriangleEqual:`⋬`,NotLess:`≮`,NotLessEqual:`≰`,NotLessGreater:`≸`,NotLessLess:`≪̸`,NotLessSlantEqual:`⩽̸`,NotLessTilde:`≴`,NotNestedGreaterGreater:`⪢̸`,NotNestedLessLess:`⪡̸`,notni:`∌`,notniva:`∌`,notnivb:`⋾`,notnivc:`⋽`,NotPrecedes:`⊀`,NotPrecedesEqual:`⪯̸`,NotPrecedesSlantEqual:`⋠`,NotReverseElement:`∌`,NotRightTriangle:`⋫`,NotRightTriangleBar:`⧐̸`,NotRightTriangleEqual:`⋭`,NotSquareSubset:`⊏̸`,NotSquareSubsetEqual:`⋢`,NotSquareSuperset:`⊐̸`,NotSquareSupersetEqual:`⋣`,NotSubset:`⊂⃒`,NotSubsetEqual:`⊈`,NotSucceeds:`⊁`,NotSucceedsEqual:`⪰̸`,NotSucceedsSlantEqual:`⋡`,NotSucceedsTilde:`≿̸`,NotSuperset:`⊃⃒`,NotSupersetEqual:`⊉`,NotTilde:`≁`,NotTildeEqual:`≄`,NotTildeFullEqual:`≇`,NotTildeTilde:`≉`,NotVerticalBar:`∤`,npar:`∦`,nparallel:`∦`,nparsl:`⫽⃥`,npart:`∂̸`,npolint:`⨔`,npr:`⊀`,nprcue:`⋠`,npre:`⪯̸`,nprec:`⊀`,npreceq:`⪯̸`,nrArr:`⇏`,nrarr:`↛`,nrarrc:`⤳̸`,nrarrw:`↝̸`,nRightarrow:`⇏`,nrightarrow:`↛`,nrtri:`⋫`,nrtrie:`⋭`,nsc:`⊁`,nsccue:`⋡`,nsce:`⪰̸`,Nscr:`𝒩`,nscr:`𝓃`,nshortmid:`∤`,nshortparallel:`∦`,nsim:`≁`,nsime:`≄`,nsimeq:`≄`,nsmid:`∤`,nspar:`∦`,nsqsube:`⋢`,nsqsupe:`⋣`,nsub:`⊄`,nsubE:`⫅̸`,nsube:`⊈`,nsubset:`⊂⃒`,nsubseteq:`⊈`,nsubseteqq:`⫅̸`,nsucc:`⊁`,nsucceq:`⪰̸`,nsup:`⊅`,nsupE:`⫆̸`,nsupe:`⊉`,nsupset:`⊃⃒`,nsupseteq:`⊉`,nsupseteqq:`⫆̸`,ntgl:`≹`,Ntilde:`Ñ`,ntilde:`ñ`,ntlg:`≸`,ntriangleleft:`⋪`,ntrianglelefteq:`⋬`,ntriangleright:`⋫`,ntrianglerighteq:`⋭`,Nu:`Ν`,nu:`ν`,num:`#`,numero:`№`,numsp:` `,nvap:`≍⃒`,nVDash:`⊯`,nVdash:`⊮`,nvDash:`⊭`,nvdash:`⊬`,nvge:`≥⃒`,nvgt:`>⃒`,nvHarr:`⤄`,nvinfin:`⧞`,nvlArr:`⤂`,nvle:`≤⃒`,nvlt:`<⃒`,nvltrie:`⊴⃒`,nvrArr:`⤃`,nvrtrie:`⊵⃒`,nvsim:`∼⃒`,nwarhk:`⤣`,nwArr:`⇖`,nwarr:`↖`,nwarrow:`↖`,nwnear:`⤧`,Oacute:`Ó`,oacute:`ó`,oast:`⊛`,ocir:`⊚`,Ocirc:`Ô`,ocirc:`ô`,Ocy:`О`,ocy:`о`,odash:`⊝`,Odblac:`Ő`,odblac:`ő`,odiv:`⨸`,odot:`⊙`,odsold:`⦼`,OElig:`Œ`,oelig:`œ`,ofcir:`⦿`,Ofr:`𝔒`,ofr:`𝔬`,ogon:`˛`,Ograve:`Ò`,ograve:`ò`,ogt:`⧁`,ohbar:`⦵`,ohm:`Ω`,oint:`∮`,olarr:`↺`,olcir:`⦾`,olcross:`⦻`,oline:`‾`,olt:`⧀`,Omacr:`Ō`,omacr:`ō`,Omega:`Ω`,omega:`ω`,Omicron:`Ο`,omicron:`ο`,omid:`⦶`,ominus:`⊖`,Oopf:`𝕆`,oopf:`𝕠`,opar:`⦷`,OpenCurlyDoubleQuote:`“`,OpenCurlyQuote:`‘`,operp:`⦹`,oplus:`⊕`,Or:`⩔`,or:`∨`,orarr:`↻`,ord:`⩝`,order:`ℴ`,orderof:`ℴ`,ordf:`ª`,ordm:`º`,origof:`⊶`,oror:`⩖`,orslope:`⩗`,orv:`⩛`,oS:`Ⓢ`,Oscr:`𝒪`,oscr:`ℴ`,Oslash:`Ø`,oslash:`ø`,osol:`⊘`,Otilde:`Õ`,otilde:`õ`,Otimes:`⨷`,otimes:`⊗`,otimesas:`⨶`,Ouml:`Ö`,ouml:`ö`,ovbar:`⌽`,OverBar:`‾`,OverBrace:`⏞`,OverBracket:`⎴`,OverParenthesis:`⏜`,par:`∥`,para:`¶`,parallel:`∥`,parsim:`⫳`,parsl:`⫽`,part:`∂`,PartialD:`∂`,Pcy:`П`,pcy:`п`,percnt:`%`,period:`.`,permil:`‰`,perp:`⊥`,pertenk:`‱`,Pfr:`𝔓`,pfr:`𝔭`,Phi:`Φ`,phi:`φ`,phiv:`ϕ`,phmmat:`ℳ`,phone:`☎`,Pi:`Π`,pi:`π`,pitchfork:`⋔`,piv:`ϖ`,planck:`ℏ`,planckh:`ℎ`,plankv:`ℏ`,plus:`+`,plusacir:`⨣`,plusb:`⊞`,pluscir:`⨢`,plusdo:`∔`,plusdu:`⨥`,pluse:`⩲`,PlusMinus:`±`,plusmn:`±`,plussim:`⨦`,plustwo:`⨧`,pm:`±`,Poincareplane:`ℌ`,pointint:`⨕`,Popf:`ℙ`,popf:`𝕡`,pound:`£`,Pr:`⪻`,pr:`≺`,prap:`⪷`,prcue:`≼`,prE:`⪳`,pre:`⪯`,prec:`≺`,precapprox:`⪷`,preccurlyeq:`≼`,Precedes:`≺`,PrecedesEqual:`⪯`,PrecedesSlantEqual:`≼`,PrecedesTilde:`≾`,preceq:`⪯`,precnapprox:`⪹`,precneqq:`⪵`,precnsim:`⋨`,precsim:`≾`,Prime:`″`,prime:`′`,primes:`ℙ`,prnap:`⪹`,prnE:`⪵`,prnsim:`⋨`,prod:`∏`,Product:`∏`,profalar:`⌮`,profline:`⌒`,profsurf:`⌓`,prop:`∝`,Proportion:`∷`,Proportional:`∝`,propto:`∝`,prsim:`≾`,prurel:`⊰`,Pscr:`𝒫`,pscr:`𝓅`,Psi:`Ψ`,psi:`ψ`,puncsp:` `,Qfr:`𝔔`,qfr:`𝔮`,qint:`⨌`,Qopf:`ℚ`,qopf:`𝕢`,qprime:`⁗`,Qscr:`𝒬`,qscr:`𝓆`,quaternions:`ℍ`,quatint:`⨖`,quest:`?`,questeq:`≟`,QUOT:`"`,quot:`"`,rAarr:`⇛`,race:`∽̱`,Racute:`Ŕ`,racute:`ŕ`,radic:`√`,raemptyv:`⦳`,Rang:`⟫`,rang:`⟩`,rangd:`⦒`,range:`⦥`,rangle:`⟩`,raquo:`»`,Rarr:`↠`,rArr:`⇒`,rarr:`→`,rarrap:`⥵`,rarrb:`⇥`,rarrbfs:`⤠`,rarrc:`⤳`,rarrfs:`⤞`,rarrhk:`↪`,rarrlp:`↬`,rarrpl:`⥅`,rarrsim:`⥴`,Rarrtl:`⤖`,rarrtl:`↣`,rarrw:`↝`,rAtail:`⤜`,ratail:`⤚`,ratio:`∶`,rationals:`ℚ`,RBarr:`⤐`,rBarr:`⤏`,rbarr:`⤍`,rbbrk:`❳`,rbrace:`}`,rbrack:`]`,rbrke:`⦌`,rbrksld:`⦎`,rbrkslu:`⦐`,Rcaron:`Ř`,rcaron:`ř`,Rcedil:`Ŗ`,rcedil:`ŗ`,rceil:`⌉`,rcub:`}`,Rcy:`Р`,rcy:`р`,rdca:`⤷`,rdldhar:`⥩`,rdquo:`”`,rdquor:`”`,rdsh:`↳`,Re:`ℜ`,real:`ℜ`,realine:`ℛ`,realpart:`ℜ`,reals:`ℝ`,rect:`▭`,REG:`®`,reg:`®`,ReverseElement:`∋`,ReverseEquilibrium:`⇋`,ReverseUpEquilibrium:`⥯`,rfisht:`⥽`,rfloor:`⌋`,Rfr:`ℜ`,rfr:`𝔯`,rHar:`⥤`,rhard:`⇁`,rharu:`⇀`,rharul:`⥬`,Rho:`Ρ`,rho:`ρ`,rhov:`ϱ`,RightAngleBracket:`⟩`,RightArrow:`→`,Rightarrow:`⇒`,rightarrow:`→`,RightArrowBar:`⇥`,RightArrowLeftArrow:`⇄`,rightarrowtail:`↣`,RightCeiling:`⌉`,RightDoubleBracket:`⟧`,RightDownTeeVector:`⥝`,RightDownVector:`⇂`,RightDownVectorBar:`⥕`,RightFloor:`⌋`,rightharpoondown:`⇁`,rightharpoonup:`⇀`,rightleftarrows:`⇄`,rightleftharpoons:`⇌`,rightrightarrows:`⇉`,rightsquigarrow:`↝`,RightTee:`⊢`,RightTeeArrow:`↦`,RightTeeVector:`⥛`,rightthreetimes:`⋌`,RightTriangle:`⊳`,RightTriangleBar:`⧐`,RightTriangleEqual:`⊵`,RightUpDownVector:`⥏`,RightUpTeeVector:`⥜`,RightUpVector:`↾`,RightUpVectorBar:`⥔`,RightVector:`⇀`,RightVectorBar:`⥓`,ring:`˚`,risingdotseq:`≓`,rlarr:`⇄`,rlhar:`⇌`,rlm:`‏`,rmoust:`⎱`,rmoustache:`⎱`,rnmid:`⫮`,roang:`⟭`,roarr:`⇾`,robrk:`⟧`,ropar:`⦆`,Ropf:`ℝ`,ropf:`𝕣`,roplus:`⨮`,rotimes:`⨵`,RoundImplies:`⥰`,rpar:`)`,rpargt:`⦔`,rppolint:`⨒`,rrarr:`⇉`,Rrightarrow:`⇛`,rsaquo:`›`,Rscr:`ℛ`,rscr:`𝓇`,Rsh:`↱`,rsh:`↱`,rsqb:`]`,rsquo:`’`,rsquor:`’`,rthree:`⋌`,rtimes:`⋊`,rtri:`▹`,rtrie:`⊵`,rtrif:`▸`,rtriltri:`⧎`,RuleDelayed:`⧴`,ruluhar:`⥨`,rx:`℞`,Sacute:`Ś`,sacute:`ś`,sbquo:`‚`,Sc:`⪼`,sc:`≻`,scap:`⪸`,Scaron:`Š`,scaron:`š`,sccue:`≽`,scE:`⪴`,sce:`⪰`,Scedil:`Ş`,scedil:`ş`,Scirc:`Ŝ`,scirc:`ŝ`,scnap:`⪺`,scnE:`⪶`,scnsim:`⋩`,scpolint:`⨓`,scsim:`≿`,Scy:`С`,scy:`с`,sdot:`⋅`,sdotb:`⊡`,sdote:`⩦`,searhk:`⤥`,seArr:`⇘`,searr:`↘`,searrow:`↘`,sect:`§`,semi:`;`,seswar:`⤩`,setminus:`∖`,setmn:`∖`,sext:`✶`,Sfr:`𝔖`,sfr:`𝔰`,sfrown:`⌢`,sharp:`♯`,SHCHcy:`Щ`,shchcy:`щ`,SHcy:`Ш`,shcy:`ш`,ShortDownArrow:`↓`,ShortLeftArrow:`←`,shortmid:`∣`,shortparallel:`∥`,ShortRightArrow:`→`,ShortUpArrow:`↑`,shy:`­`,Sigma:`Σ`,sigma:`σ`,sigmaf:`ς`,sigmav:`ς`,sim:`∼`,simdot:`⩪`,sime:`≃`,simeq:`≃`,simg:`⪞`,simgE:`⪠`,siml:`⪝`,simlE:`⪟`,simne:`≆`,simplus:`⨤`,simrarr:`⥲`,slarr:`←`,SmallCircle:`∘`,smallsetminus:`∖`,smashp:`⨳`,smeparsl:`⧤`,smid:`∣`,smile:`⌣`,smt:`⪪`,smte:`⪬`,smtes:`⪬︀`,SOFTcy:`Ь`,softcy:`ь`,sol:`/`,solb:`⧄`,solbar:`⌿`,Sopf:`𝕊`,sopf:`𝕤`,spades:`♠`,spadesuit:`♠`,spar:`∥`,sqcap:`⊓`,sqcaps:`⊓︀`,sqcup:`⊔`,sqcups:`⊔︀`,Sqrt:`√`,sqsub:`⊏`,sqsube:`⊑`,sqsubset:`⊏`,sqsubseteq:`⊑`,sqsup:`⊐`,sqsupe:`⊒`,sqsupset:`⊐`,sqsupseteq:`⊒`,squ:`□`,Square:`□`,square:`□`,SquareIntersection:`⊓`,SquareSubset:`⊏`,SquareSubsetEqual:`⊑`,SquareSuperset:`⊐`,SquareSupersetEqual:`⊒`,SquareUnion:`⊔`,squarf:`▪`,squf:`▪`,srarr:`→`,Sscr:`𝒮`,sscr:`𝓈`,ssetmn:`∖`,ssmile:`⌣`,sstarf:`⋆`,Star:`⋆`,star:`☆`,starf:`★`,straightepsilon:`ϵ`,straightphi:`ϕ`,strns:`¯`,Sub:`⋐`,sub:`⊂`,subdot:`⪽`,subE:`⫅`,sube:`⊆`,subedot:`⫃`,submult:`⫁`,subnE:`⫋`,subne:`⊊`,subplus:`⪿`,subrarr:`⥹`,Subset:`⋐`,subset:`⊂`,subseteq:`⊆`,subseteqq:`⫅`,SubsetEqual:`⊆`,subsetneq:`⊊`,subsetneqq:`⫋`,subsim:`⫇`,subsub:`⫕`,subsup:`⫓`,succ:`≻`,succapprox:`⪸`,succcurlyeq:`≽`,Succeeds:`≻`,SucceedsEqual:`⪰`,SucceedsSlantEqual:`≽`,SucceedsTilde:`≿`,succeq:`⪰`,succnapprox:`⪺`,succneqq:`⪶`,succnsim:`⋩`,succsim:`≿`,SuchThat:`∋`,Sum:`∑`,sum:`∑`,sung:`♪`,Sup:`⋑`,sup:`⊃`,sup1:`¹`,sup2:`²`,sup3:`³`,supdot:`⪾`,supdsub:`⫘`,supE:`⫆`,supe:`⊇`,supedot:`⫄`,Superset:`⊃`,SupersetEqual:`⊇`,suphsol:`⟉`,suphsub:`⫗`,suplarr:`⥻`,supmult:`⫂`,supnE:`⫌`,supne:`⊋`,supplus:`⫀`,Supset:`⋑`,supset:`⊃`,supseteq:`⊇`,supseteqq:`⫆`,supsetneq:`⊋`,supsetneqq:`⫌`,supsim:`⫈`,supsub:`⫔`,supsup:`⫖`,swarhk:`⤦`,swArr:`⇙`,swarr:`↙`,swarrow:`↙`,swnwar:`⤪`,szlig:`ß`,Tab:`	`,target:`⌖`,Tau:`Τ`,tau:`τ`,tbrk:`⎴`,Tcaron:`Ť`,tcaron:`ť`,Tcedil:`Ţ`,tcedil:`ţ`,Tcy:`Т`,tcy:`т`,tdot:`⃛`,telrec:`⌕`,Tfr:`𝔗`,tfr:`𝔱`,there4:`∴`,Therefore:`∴`,therefore:`∴`,Theta:`Θ`,theta:`θ`,thetasym:`ϑ`,thetav:`ϑ`,thickapprox:`≈`,thicksim:`∼`,ThickSpace:`  `,thinsp:` `,ThinSpace:` `,thkap:`≈`,thksim:`∼`,THORN:`Þ`,thorn:`þ`,Tilde:`∼`,tilde:`˜`,TildeEqual:`≃`,TildeFullEqual:`≅`,TildeTilde:`≈`,times:`×`,timesb:`⊠`,timesbar:`⨱`,timesd:`⨰`,tint:`∭`,toea:`⤨`,top:`⊤`,topbot:`⌶`,topcir:`⫱`,Topf:`𝕋`,topf:`𝕥`,topfork:`⫚`,tosa:`⤩`,tprime:`‴`,TRADE:`™`,trade:`™`,triangle:`▵`,triangledown:`▿`,triangleleft:`◃`,trianglelefteq:`⊴`,triangleq:`≜`,triangleright:`▹`,trianglerighteq:`⊵`,tridot:`◬`,trie:`≜`,triminus:`⨺`,TripleDot:`⃛`,triplus:`⨹`,trisb:`⧍`,tritime:`⨻`,trpezium:`⏢`,Tscr:`𝒯`,tscr:`𝓉`,TScy:`Ц`,tscy:`ц`,TSHcy:`Ћ`,tshcy:`ћ`,Tstrok:`Ŧ`,tstrok:`ŧ`,twixt:`≬`,twoheadleftarrow:`↞`,twoheadrightarrow:`↠`,Uacute:`Ú`,uacute:`ú`,Uarr:`↟`,uArr:`⇑`,uarr:`↑`,Uarrocir:`⥉`,Ubrcy:`Ў`,ubrcy:`ў`,Ubreve:`Ŭ`,ubreve:`ŭ`,Ucirc:`Û`,ucirc:`û`,Ucy:`У`,ucy:`у`,udarr:`⇅`,Udblac:`Ű`,udblac:`ű`,udhar:`⥮`,ufisht:`⥾`,Ufr:`𝔘`,ufr:`𝔲`,Ugrave:`Ù`,ugrave:`ù`,uHar:`⥣`,uharl:`↿`,uharr:`↾`,uhblk:`▀`,ulcorn:`⌜`,ulcorner:`⌜`,ulcrop:`⌏`,ultri:`◸`,Umacr:`Ū`,umacr:`ū`,uml:`¨`,UnderBar:`_`,UnderBrace:`⏟`,UnderBracket:`⎵`,UnderParenthesis:`⏝`,Union:`⋃`,UnionPlus:`⊎`,Uogon:`Ų`,uogon:`ų`,Uopf:`𝕌`,uopf:`𝕦`,UpArrow:`↑`,Uparrow:`⇑`,uparrow:`↑`,UpArrowBar:`⤒`,UpArrowDownArrow:`⇅`,UpDownArrow:`↕`,Updownarrow:`⇕`,updownarrow:`↕`,UpEquilibrium:`⥮`,upharpoonleft:`↿`,upharpoonright:`↾`,uplus:`⊎`,UpperLeftArrow:`↖`,UpperRightArrow:`↗`,Upsi:`ϒ`,upsi:`υ`,upsih:`ϒ`,Upsilon:`Υ`,upsilon:`υ`,UpTee:`⊥`,UpTeeArrow:`↥`,upuparrows:`⇈`,urcorn:`⌝`,urcorner:`⌝`,urcrop:`⌎`,Uring:`Ů`,uring:`ů`,urtri:`◹`,Uscr:`𝒰`,uscr:`𝓊`,utdot:`⋰`,Utilde:`Ũ`,utilde:`ũ`,utri:`▵`,utrif:`▴`,uuarr:`⇈`,Uuml:`Ü`,uuml:`ü`,uwangle:`⦧`,vangrt:`⦜`,varepsilon:`ϵ`,varkappa:`ϰ`,varnothing:`∅`,varphi:`ϕ`,varpi:`ϖ`,varpropto:`∝`,vArr:`⇕`,varr:`↕`,varrho:`ϱ`,varsigma:`ς`,varsubsetneq:`⊊︀`,varsubsetneqq:`⫋︀`,varsupsetneq:`⊋︀`,varsupsetneqq:`⫌︀`,vartheta:`ϑ`,vartriangleleft:`⊲`,vartriangleright:`⊳`,Vbar:`⫫`,vBar:`⫨`,vBarv:`⫩`,Vcy:`В`,vcy:`в`,VDash:`⊫`,Vdash:`⊩`,vDash:`⊨`,vdash:`⊢`,Vdashl:`⫦`,Vee:`⋁`,vee:`∨`,veebar:`⊻`,veeeq:`≚`,vellip:`⋮`,Verbar:`‖`,verbar:`|`,Vert:`‖`,vert:`|`,VerticalBar:`∣`,VerticalLine:`|`,VerticalSeparator:`❘`,VerticalTilde:`≀`,VeryThinSpace:` `,Vfr:`𝔙`,vfr:`𝔳`,vltri:`⊲`,vnsub:`⊂⃒`,vnsup:`⊃⃒`,Vopf:`𝕍`,vopf:`𝕧`,vprop:`∝`,vrtri:`⊳`,Vscr:`𝒱`,vscr:`𝓋`,vsubnE:`⫋︀`,vsubne:`⊊︀`,vsupnE:`⫌︀`,vsupne:`⊋︀`,Vvdash:`⊪`,vzigzag:`⦚`,Wcirc:`Ŵ`,wcirc:`ŵ`,wedbar:`⩟`,Wedge:`⋀`,wedge:`∧`,wedgeq:`≙`,weierp:`℘`,Wfr:`𝔚`,wfr:`𝔴`,Wopf:`𝕎`,wopf:`𝕨`,wp:`℘`,wr:`≀`,wreath:`≀`,Wscr:`𝒲`,wscr:`𝓌`,xcap:`⋂`,xcirc:`◯`,xcup:`⋃`,xdtri:`▽`,Xfr:`𝔛`,xfr:`𝔵`,xhArr:`⟺`,xharr:`⟷`,Xi:`Ξ`,xi:`ξ`,xlArr:`⟸`,xlarr:`⟵`,xmap:`⟼`,xnis:`⋻`,xodot:`⨀`,Xopf:`𝕏`,xopf:`𝕩`,xoplus:`⨁`,xotime:`⨂`,xrArr:`⟹`,xrarr:`⟶`,Xscr:`𝒳`,xscr:`𝓍`,xsqcup:`⨆`,xuplus:`⨄`,xutri:`△`,xvee:`⋁`,xwedge:`⋀`,Yacute:`Ý`,yacute:`ý`,YAcy:`Я`,yacy:`я`,Ycirc:`Ŷ`,ycirc:`ŷ`,Ycy:`Ы`,ycy:`ы`,yen:`¥`,Yfr:`𝔜`,yfr:`𝔶`,YIcy:`Ї`,yicy:`ї`,Yopf:`𝕐`,yopf:`𝕪`,Yscr:`𝒴`,yscr:`𝓎`,YUcy:`Ю`,yucy:`ю`,Yuml:`Ÿ`,yuml:`ÿ`,Zacute:`Ź`,zacute:`ź`,Zcaron:`Ž`,zcaron:`ž`,Zcy:`З`,zcy:`з`,Zdot:`Ż`,zdot:`ż`,zeetrf:`ℨ`,ZeroWidthSpace:`​`,Zeta:`Ζ`,zeta:`ζ`,Zfr:`ℨ`,zfr:`𝔷`,ZHcy:`Ж`,zhcy:`ж`,zigrarr:`⇝`,Zopf:`ℤ`,zopf:`𝕫`,Zscr:`𝒵`,zscr:`𝓏`,zwj:`‍`,zwnj:`‌`}),e.entityMap=e.HTML_ENTITIES})),Ni=e.t((e=>{var t=Ai().NAMESPACE,n=/[A-Z_a-z\xC0-\xD6\xD8-\xF6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD]/,r=RegExp(`[\\-\\.0-9`+n.source.slice(1,-1)+`\\u00B7\\u0300-\\u036F\\u203F-\\u2040]`),a=RegExp(`^`+n.source+r.source+`*(?::`+n.source+r.source+`*)?$`),o=0,s=1,c=2,l=3,u=4,d=5,f=6,p=7;function m(e,t){this.message=e,this.locator=t,Error.captureStackTrace&&Error.captureStackTrace(this,m)}m.prototype=Error(),m.prototype.name=m.name;function h(){}h.prototype={parse:function(e,t,n){var r=this.domBuilder;r.startDocument(),S(t,t={}),g(e,t,n,r,this.errorHandler),r.endDocument()}};function g(e,n,r,a,o){function s(e){if(e>65535){e-=65536;var t=55296+(e>>10),n=56320+(e&1023);return String.fromCharCode(t,n)}else return String.fromCharCode(e)}function c(e){var t=e.slice(1,-1);return Object.hasOwnProperty.call(r,t)?r[t]:t.charAt(0)===`#`?s(parseInt(t.substr(1).replace(`x`,`0x`))):(o.error(`entity not found:`+e),e)}function l(t){if(t>E){var n=e.substring(E,t).replace(/&#?\w+;/g,c);h&&u(E),a.characters(n,0,t-E),E=t}}function u(t,n){for(;t>=f&&(n=p.exec(e));)d=n.index,f=d+n[0].length,h.lineNumber++;h.columnNumber=t-d+1}for(var d=0,f=0,p=/.*(?:\r\n?|\n)|.*$/g,h=a.locator,g=[{currentNSMap:n}],S={},E=0;;){try{var D=e.indexOf(`<`,E);if(D<0){if(!e.substr(E).match(/^\s*$/)){var O=a.doc,k=O.createTextNode(e.substr(E));O.appendChild(k),a.currentElement=k}return}switch(D>E&&l(D),e.charAt(D+1)){case`/`:var A=e.indexOf(`>`,D+3),j=e.substring(D+2,A).replace(/[ \t\n\r]+$/g,``),M=g.pop();A<0?(j=e.substring(D+2).replace(/[\s<].*/,``),o.error(`end tag name: `+j+` is not complete:`+M.tagName),A=D+1+j.length):j.match(/\s</)&&(j=j.replace(/[\s<].*/,``),o.error(`end tag name: `+j+` maybe not complete`),A=D+1+j.length);var N=M.localNSMap,P=M.tagName==j;if(P||M.tagName&&M.tagName.toLowerCase()==j.toLowerCase()){if(a.endElement(M.uri,M.localName,j),N)for(var F in N)Object.prototype.hasOwnProperty.call(N,F)&&a.endPrefixMapping(F);P||o.fatalError(`end tag name: `+j+` is not match the current start tagName:`+M.tagName)}else g.push(M);A++;break;case`?`:h&&u(D),A=w(e,D,a);break;case`!`:h&&u(D),A=C(e,D,a,o);break;default:h&&u(D);var I=new T,L=g[g.length-1].currentNSMap,A=v(e,D,I,L,c,o),R=I.length;if(!I.closed&&x(e,A,I.tagName,S)&&(I.closed=!0,r.nbsp||o.warning(`unclosed xml attribute`)),h&&R){for(var z=_(h,{}),B=0;B<R;B++){var V=I[B];u(V.offset),V.locator=_(h,{})}a.locator=z,y(I,a,L)&&g.push(I),a.locator=h}else y(I,a,L)&&g.push(I);t.isHTML(I.uri)&&!I.closed?A=b(e,A,I.tagName,c,a):A++}}catch(e){if(e instanceof m)throw e;o.error(`element parse error: `+e),A=-1}A>E?E=A:l(Math.max(D,E)+1)}}function _(e,t){return t.lineNumber=e.lineNumber,t.columnNumber=e.columnNumber,t}function v(e,n,r,a,m,h){function g(e,t,n){r.attributeNames.hasOwnProperty(e)&&h.fatalError(`Attribute `+e+` redefined`),r.addValue(e,t.replace(/[\t\n\r]/g,` `).replace(/&#?\w+;/g,m),n)}for(var _,v,y=++n,b=o;;){var x=e.charAt(y);switch(x){case`=`:if(b===s)_=e.slice(n,y),b=l;else if(b===c)b=l;else throw Error(`attribute equal must after attrName`);break;case`'`:case`"`:if(b===l||b===s)if(b===s&&(h.warning(`attribute value must after "="`),_=e.slice(n,y)),n=y+1,y=e.indexOf(x,n),y>0)v=e.slice(n,y),g(_,v,n-1),b=d;else throw Error(`attribute value no end '`+x+`' match`);else if(b==u)v=e.slice(n,y),g(_,v,n),h.warning(`attribute "`+_+`" missed start quot(`+x+`)!!`),n=y+1,b=d;else throw Error(`attribute value must after "="`);break;case`/`:switch(b){case o:r.setTagName(e.slice(n,y));case d:case f:case p:b=p,r.closed=!0;case u:case s:break;case c:r.closed=!0;break;default:throw Error(`attribute invalid close char('/')`)}break;case``:return h.error(`unexpected end of input`),b==o&&r.setTagName(e.slice(n,y)),y;case`>`:switch(b){case o:r.setTagName(e.slice(n,y));case d:case f:case p:break;case u:case s:v=e.slice(n,y),v.slice(-1)===`/`&&(r.closed=!0,v=v.slice(0,-1));case c:b===c&&(v=_),b==u?(h.warning(`attribute "`+v+`" missed quot(")!`),g(_,v,n)):((!t.isHTML(a[``])||!v.match(/^(?:disabled|checked|selected)$/i))&&h.warning(`attribute "`+v+`" missed value!! "`+v+`" instead!!`),g(v,v,n));break;case l:throw Error(`attribute value missed!!`)}return y;case`€`:x=` `;default:if(x<=` `)switch(b){case o:r.setTagName(e.slice(n,y)),b=f;break;case s:_=e.slice(n,y),b=c;break;case u:var v=e.slice(n,y);h.warning(`attribute "`+v+`" missed quot(")!!`),g(_,v,n);case d:b=f;break}else switch(b){case c:r.tagName,(!t.isHTML(a[``])||!_.match(/^(?:disabled|checked|selected)$/i))&&h.warning(`attribute "`+_+`" missed value!! "`+_+`" instead2!!`),g(_,_,n),n=y,b=s;break;case d:h.warning(`attribute space is required"`+_+`"!!`);case f:b=s,n=y;break;case l:b=u,n=y;break;case p:throw Error(`elements closed character '/' and '>' must be connected to`)}}y++}}function y(e,n,r){for(var a=e.tagName,o=null,s=e.length;s--;){var c=e[s],l=c.qName,u=c.value,d=l.indexOf(`:`);if(d>0)var f=c.prefix=l.slice(0,d),p=l.slice(d+1),m=f===`xmlns`&&p;else p=l,f=null,m=l===`xmlns`&&``;c.localName=p,m!==!1&&(o??(o={},S(r,r={})),r[m]=o[m]=u,c.uri=t.XMLNS,n.startPrefixMapping(m,u))}for(var s=e.length;s--;){c=e[s];var f=c.prefix;f&&(f===`xml`&&(c.uri=t.XML),f!==`xmlns`&&(c.uri=r[f||``]))}var d=a.indexOf(`:`);d>0?(f=e.prefix=a.slice(0,d),p=e.localName=a.slice(d+1)):(f=null,p=e.localName=a);var h=e.uri=r[f||``];if(n.startElement(h,p,a,e),e.closed){if(n.endElement(h,p,a),o)for(f in o)Object.prototype.hasOwnProperty.call(o,f)&&n.endPrefixMapping(f)}else return e.currentNSMap=r,e.localNSMap=o,!0}function b(e,t,n,r,a){if(/^(?:script|textarea)$/i.test(n)){var o=e.indexOf(`</`+n+`>`,t),s=e.substring(t+1,o);if(/[&<]/.test(s))return/^script$/i.test(n)?(a.characters(s,0,s.length),o):(s=s.replace(/&#?\w+;/g,r),a.characters(s,0,s.length),o)}return t+1}function x(e,t,n,r){var a=r[n];return a??(a=e.lastIndexOf(`</`+n+`>`),a<t&&(a=e.lastIndexOf(`</`+n)),r[n]=a),a<t}function S(e,t){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])}function C(e,t,n,r){switch(e.charAt(t+2)){case`-`:if(e.charAt(t+3)===`-`){var a=e.indexOf(`-->`,t+4);return a>t?(n.comment(e,t+4,a-t-4),a+3):(r.error(`Unclosed comment`),-1)}else return-1;default:if(e.substr(t+3,6)==`CDATA[`){var a=e.indexOf(`]]>`,t+9);return n.startCDATA(),n.characters(e,t+9,a-t-9),n.endCDATA(),a+3}var o=E(e,t),s=o.length;if(s>1&&/!doctype/i.test(o[0][0])){var c=o[1][0],l=!1,u=!1;s>3&&(/^public$/i.test(o[2][0])?(l=o[3][0],u=s>4&&o[4][0]):/^system$/i.test(o[2][0])&&(u=o[3][0]));var d=o[s-1];return n.startDTD(c,l,u),n.endDTD(),d.index+d[0].length}}return-1}function w(e,t,n){var r=e.indexOf(`?>`,t);if(r){var a=e.substring(t,r).match(/^<\?(\S*)\s*([\s\S]*?)$/);return a?(a[0].length,n.processingInstruction(a[1],a[2]),r+2):-1}return-1}function T(){this.attributeNames={}}T.prototype={setTagName:function(e){if(!a.test(e))throw Error(`invalid tagName:`+e);this.tagName=e},addValue:function(e,t,n){if(!a.test(e))throw Error(`invalid attribute:`+e);this.attributeNames[e]=this.length,this[this.length++]={qName:e,value:t,offset:n}},length:0,getLocalName:function(e){return this[e].localName},getLocator:function(e){return this[e].locator},getQName:function(e){return this[e].qName},getURI:function(e){return this[e].uri},getValue:function(e){return this[e].value}};function E(e,t){var n,r=[],a=/'[^']+'|"[^"]+"|[^\s<>\/=]+=?|(\/?\s*>|<)/g;for(a.lastIndex=t,a.exec(e);n=a.exec(e);)if(r.push(n),n[1])return r}e.XMLReader=h,e.ParseError=m})),Pi=e.t((e=>{var t=Ai(),n=ji(),r=Mi(),a=Ni(),o=n.DOMImplementation,s=t.NAMESPACE,c=a.ParseError,l=a.XMLReader;function u(e){return e.replace(/\r[\n\u0085]/g,`
`).replace(/[\r\u0085\u2028]/g,`
`)}function d(e){this.options=e||{locator:{}}}d.prototype.parseFromString=function(e,t){var n=this.options,a=new l,o=n.domBuilder||new p,c=n.errorHandler,d=n.locator,m=n.xmlns||{},h=/\/x?html?$/.test(t),g=h?r.HTML_ENTITIES:r.XML_ENTITIES;d&&o.setDocumentLocator(d),a.errorHandler=f(c,o,d),a.domBuilder=n.domBuilder||o,h&&(m[``]=s.HTML),m.xml=m.xml||s.XML;var _=n.normalizeLineEndings||u;return e&&typeof e==`string`?a.parse(_(e),m,g):a.errorHandler.error(`invalid doc source`),o.doc};function f(e,t,n){if(!e){if(t instanceof p)return t;e=t}var r={},a=e instanceof Function;n||={};function o(t){var o=e[t];!o&&a&&(o=e.length==2?function(n){e(t,n)}:e),r[t]=o&&function(e){o(`[xmldom `+t+`]	`+e+h(n))}||function(){}}return o(`warning`),o(`error`),o(`fatalError`),r}function p(){this.cdata=!1}function m(e,t){t.lineNumber=e.lineNumber,t.columnNumber=e.columnNumber}p.prototype={startDocument:function(){this.doc=new o().createDocument(null,null,null),this.locator&&(this.doc.documentURI=this.locator.systemId)},startElement:function(e,t,n,r){var a=this.doc,o=a.createElementNS(e,n||t),s=r.length;_(this,o),this.currentElement=o,this.locator&&m(this.locator,o);for(var c=0;c<s;c++){var e=r.getURI(c),l=r.getValue(c),n=r.getQName(c),u=a.createAttributeNS(e,n);this.locator&&m(r.getLocator(c),u),u.value=u.nodeValue=l,o.setAttributeNode(u)}},endElement:function(e,t,n){var r=this.currentElement;r.tagName,this.currentElement=r.parentNode},startPrefixMapping:function(e,t){},endPrefixMapping:function(e){},processingInstruction:function(e,t){var n=this.doc.createProcessingInstruction(e,t);this.locator&&m(this.locator,n),_(this,n)},ignorableWhitespace:function(e,t,n){},characters:function(e,t,n){if(e=g.apply(this,arguments),e){if(this.cdata)var r=this.doc.createCDATASection(e);else var r=this.doc.createTextNode(e);this.currentElement?this.currentElement.appendChild(r):/^\s*$/.test(e)&&this.doc.appendChild(r),this.locator&&m(this.locator,r)}},skippedEntity:function(e){},endDocument:function(){this.doc.normalize()},setDocumentLocator:function(e){(this.locator=e)&&(e.lineNumber=0)},comment:function(e,t,n){e=g.apply(this,arguments);var r=this.doc.createComment(e);this.locator&&m(this.locator,r),_(this,r)},startCDATA:function(){this.cdata=!0},endCDATA:function(){this.cdata=!1},startDTD:function(e,t,n){var r=this.doc.implementation;if(r&&r.createDocumentType){var a=r.createDocumentType(e,t,n);this.locator&&m(this.locator,a),_(this,a),this.doc.doctype=a}},warning:function(e){console.warn(`[xmldom warning]	`+e,h(this.locator))},error:function(e){console.error(`[xmldom error]	`+e,h(this.locator))},fatalError:function(e){throw new c(e,this.locator)}};function h(e){if(e)return`
@`+(e.systemId||``)+`#[line:`+e.lineNumber+`,col:`+e.columnNumber+`]`}function g(e,t,n){return typeof e==`string`?e.substr(t,n):e.length>=t+n||t?new java.lang.String(e,t,n)+``:e}`endDTD,startEntity,endEntity,attributeDecl,elementDecl,externalEntityDecl,internalEntityDecl,resolveEntity,getExternalSubset,notationDecl,unparsedEntityDecl`.replace(/\w+/g,function(e){p.prototype[e]=function(){return null}});function _(e,t){e.currentElement?e.currentElement.appendChild(t):e.doc.appendChild(t)}e.__DOMHandler=p,e.normalizeLineEndings=u,e.DOMParser=d})),Fi=e.t((e=>{var t=ji();e.DOMImplementation=t.DOMImplementation,e.XMLSerializer=t.XMLSerializer,e.DOMParser=Pi().DOMParser})),Ii=e.t((e=>{var t=e&&e.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(e,`__esModule`,{value:!0}),e.parse=s;let n=Fi(),r=t(require(`assert`));function a(e){return e.nodeType===3||e.nodeType===8||e.nodeType===4}function o(e){return!e.childNodes||e.childNodes.length===0}function s(e){let t=new n.DOMParser({errorHandler(){}}).parseFromString(e);(0,r.default)(t.documentElement.nodeName===`plist`,`malformed document. First element should be <plist>`);let a=c(t.documentElement);return a.length===1&&(a=a[0]),a}function c(e){let t,n,s,l,u,d;if(!e)return null;if(e.nodeName===`plist`){if(l=[],o(e))return l;for(t=0;t<e.childNodes.length;t++)a(e.childNodes[t])||l.push(c(e.childNodes[t]));return l}else if(e.nodeName===`dict`){if(n={},s=null,d=0,o(e))return n;for(t=0;t<e.childNodes.length;t++)a(e.childNodes[t])||(d%2==0?((0,r.default)(e.childNodes[t].nodeName===`key`,`Missing key while parsing <dict/>.`),s=c(e.childNodes[t])):((0,r.default)(e.childNodes[t].nodeName!==`key`,`Unexpected key "`+c(e.childNodes[t])+`" while parsing <dict/>.`),n[s]=c(e.childNodes[t])),d+=1);if(d%2==1)throw Error(`Missing value for "`+s+`" while parsing <dict/>`);return n}else if(e.nodeName===`array`){if(l=[],o(e))return l;for(t=0;t<e.childNodes.length;t++)a(e.childNodes[t])||(u=c(e.childNodes[t]),u!=null&&l.push(u));return l}else if(e.nodeName!==`#text`){if(e.nodeName===`key`)return o(e)?``:e.childNodes[0].nodeValue;if(e.nodeName===`string`){if(u=``,o(e))return u;for(t=0;t<e.childNodes.length;t++){let n=e.childNodes[t].nodeType;(n===3||n===4)&&(u+=e.childNodes[t].nodeValue)}return u}else if(e.nodeName===`integer`)return(0,r.default)(!o(e),`Cannot parse "" as integer.`),parseInt(e.childNodes[0].nodeValue,10);else if(e.nodeName===`real`){for((0,r.default)(!o(e),`Cannot parse "" as real.`),u=``,t=0;t<e.childNodes.length;t++)e.childNodes[t].nodeType===3&&(u+=e.childNodes[t].nodeValue);return parseFloat(u)}else if(e.nodeName===`data`){if(u=``,o(e))return Buffer.from(u,`base64`);for(t=0;t<e.childNodes.length;t++)e.childNodes[t].nodeType===3&&(u+=e.childNodes[t].nodeValue.replace(/\s+/g,``));return Buffer.from(u,`base64`)}else if(e.nodeName===`date`)return(0,r.default)(!o(e),`Cannot parse "" as Date.`),new Date(e.childNodes[0].nodeValue);else if(e.nodeName===`true`)return!0;else if(e.nodeName===`false`)return!1}}})),Li=e.t((e=>{Object.defineProperty(e,`__esModule`,{value:!0});let t=ki();e.default={parse:Ii().parse,build:t.build}})),Ri=e.t((e=>{Object.defineProperty(e,`__esModule`,{value:!0}),e.getBundleIdentifier=f,e.getBundleIdentifierFromPbxproj=m,e.resetAllPlistBundleIdentifiers=b,e.resetPlistBundleIdentifier=x,e.setBundleIdentifier=p,e.setBundleIdentifierForPbxproj=v,e.updateBundleIdentifierForPbxproj=g,e.withBundleIdentifier=void 0;function t(){let e=d(Li());return t=function(){return e},e}function n(){let e=d(require(`assert`));return n=function(){return e},e}function r(){let e=d(require(`fs`));return r=function(){return e},e}function a(){let e=d(yi());return a=function(){return e},e}function o(){let e=Ti();return o=function(){return e},e}function s(){let e=Si();return s=function(){return e},e}function c(){let e=Ei();return c=function(){return e},e}function l(){let e=bi();return l=function(){return e},e}function u(){let e=Hn();return u=function(){return e},e}function d(e){return e&&e.__esModule?e:{default:e}}e.withBundleIdentifier=(e,{bundleIdentifier:t})=>(0,u().withXcodeProject)(e,async e=>{let r=t??e.ios?.bundleIdentifier;return(0,n().default)(r,"`bundleIdentifier` must be defined in the app config (`ios.bundleIdentifier`) or passed to the plugin `withBundleIdentifier`."),e.modResults=_(e.modResults,r,!1),e});function f(e){return e.ios?.bundleIdentifier??null}function p(e,t){let n=f(e);return n?{...t,CFBundleIdentifier:n}:t}function m(e,{targetName:t,buildConfiguration:n=`Release`}={}){let r;try{r=(0,o().getPBXProjectPath)(e)}catch{return null}let c=a().default.project(r);c.parseSync();let l=(0,s().getXCBuildConfigurationFromPbxproj)(c,{targetName:t,buildConfiguration:n});return l?h(l):null}function h(e){let t=e.buildSettings.PRODUCT_BUNDLE_IDENTIFIER;if(t){let n=(0,l().trimQuotes)(t);return(0,c().resolveXcodeBuildSetting)(n,t=>e.buildSettings[t])}else return null}function g(e,t,n=!0){let o=a().default.project(e);o.parseSync(),r().default.writeFileSync(e,_(o,t,n).writeSync())}function _(e,t,n=!0){let[,r]=(0,s().findFirstNativeTarget)(e);return(0,c().getBuildConfigurationsForListId)(e,r.buildConfigurationList).forEach(([,e])=>{if(e.buildSettings.PRODUCT_BUNDLE_IDENTIFIER!==t&&(e.buildSettings.PRODUCT_BUNDLE_IDENTIFIER=`"${t}"`,n)){let n=t.split(`.`).pop();n?.includes(`$`)||(e.buildSettings.PRODUCT_NAME=n)}}),e}function v(e,t,n=!0){let r=[];try{r=(0,o().getAllPBXProjectPaths)(e)}catch{}for(let e of r)g(e,t,n)}let y=`$(PRODUCT_BUNDLE_IDENTIFIER)`;function b(e){let t=(0,o().getAllInfoPlistPaths)(e);for(let e of t)x(e)}function x(e){let n=r().default.readFileSync(e,`utf8`),a=t().default.parse(n);if(a.CFBundleIdentifier){if(a.CFBundleIdentifier===y)return;let o={pretty:!0,indent:`	`},s=t().default.build({...a,CFBundleIdentifier:y},o);s!==n&&r().default.writeFileSync(e,s)}}})),zi=e.t((e=>{Object.defineProperty(e,`__esModule`,{value:!0}),e.getDevelopmentTeam=u,e.setDevelopmentTeamForBuildConfiguration=d,e.setDevelopmentTeamForPbxproj=p,e.updateDevelopmentTeamForPbxproj=f,e.withDevelopmentTeam=void 0;function t(){let e=l(require(`node:fs`));return t=function(){return e},e}function n(){let e=l(yi());return n=function(){return e},e}function r(){let e=Ti();return r=function(){return e},e}function a(){let e=Si();return a=function(){return e},e}function o(){let e=Ei();return o=function(){return e},e}function s(){let e=bi();return s=function(){return e},e}function c(){let e=Hn();return c=function(){return e},e}function l(e){return e&&e.__esModule?e:{default:e}}e.withDevelopmentTeam=(e,{appleTeamId:t}={})=>(0,c().withXcodeProject)(e,e=>{let n=t??u(e);return n&&(e.modResults=f(e.modResults,n)),e});function u(e){return e.ios?.appleTeamId??null}function d(e,t){t?e.buildSettings.DEVELOPMENT_TEAM=(0,s().trimQuotes)(t):delete e.buildSettings.DEVELOPMENT_TEAM}function f(e,t){return(0,a().getNativeTargets)(e).forEach(([,n])=>{(0,o().getBuildConfigurationsForListId)(e,n.buildConfigurationList).forEach(([,e])=>d(e,t))}),e}function p(e,a){let o=(0,r().getAllPBXProjectPaths)(e);for(let e of o){let r=n().default.project(e);r.parseSync(),r=f(r,a),t().default.writeFileSync(e,r.writeSync())}}})),Bi=e.t((e=>{Object.defineProperty(e,`__esModule`,{value:!0}),e.formatDeviceFamilies=s,e.getDeviceFamilies=o,e.getIsTabletOnly=a,e.getSupportsTablet=r,e.setDeviceFamily=c,e.withDeviceFamily=void 0;function t(){let e=Hn();return t=function(){return e},e}function n(){let e=gn();return n=function(){return e},e}e.withDeviceFamily=e=>(0,t().withXcodeProject)(e,async e=>(e.modResults=await c(e,{project:e.modResults}),e));function r(e){return!!e.ios?.supportsTablet}function a(e){return!!e?.ios?.isTabletOnly}function o(e){let t=r(e),o=a(e);return o&&e.ios?.supportsTablet===!1&&(0,n().addWarningIOS)(`ios.supportsTablet`,"Found contradictory values: `{ ios: { isTabletOnly: true, supportsTablet: false } }`. Using `{ isTabletOnly: true }`."),o?[2]:t?[1,2]:[1]}function s(e){return`"${e.join(`,`)}"`}function c(e,{project:t}){let n=s(o(e)),r=t.pbxXCBuildConfigurationSection();for(let{buildSettings:e}of Object.values(r||{}))e?.PRODUCT_NAME!==void 0&&(e?.TVOS_DEPLOYMENT_TARGET===void 0?e.TARGETED_DEVICE_FAMILY=n:e.TARGETED_DEVICE_FAMILY=`3`);return t}})),Vi=e.t((e=>{Object.defineProperty(e,`__esModule`,{value:!0}),e.appendScheme=a,e.getScheme=n,e.getSchemesFromPlist=c,e.hasScheme=s,e.removeScheme=o,e.setScheme=r,e.withScheme=void 0;function t(){let e=Hn();return t=function(){return e},e}e.withScheme=(0,t().createInfoPlistPluginWithPropertyGuard)(r,{infoPlistProperty:`CFBundleURLTypes`,expoConfigProperty:`scheme`},`withScheme`);function n(e){return Array.isArray(e.scheme)?e.scheme.filter(e=>typeof e==`string`):typeof e.scheme==`string`?[e.scheme]:[]}function r(e,t){let r=[...n(e),...n(e.ios??{})];return e.ios?.bundleIdentifier&&r.push(e.ios.bundleIdentifier),r.length===0?t:{...t,CFBundleURLTypes:[{CFBundleURLSchemes:r}]}}function a(e,t){if(!e)return t;let n=t.CFBundleURLTypes??[];return n?.some(({CFBundleURLSchemes:t})=>t.includes(e))?t:{...t,CFBundleURLTypes:[...n,{CFBundleURLSchemes:[e]}]}}function o(e,t){return!e||!t.CFBundleURLTypes||(t.CFBundleURLTypes=t.CFBundleURLTypes.map(t=>{let n=t.CFBundleURLSchemes.indexOf(e);if(!(n>-1&&(t.CFBundleURLSchemes.splice(n,1),t.CFBundleURLSchemes.length===0)))return t}).filter(Boolean)),t}function s(e,t){let n=t.CFBundleURLTypes;return Array.isArray(n)?n?.some(({CFBundleURLSchemes:t})=>Array.isArray(t)?t.includes(e):!1):!1}function c(e){return Array.isArray(e.CFBundleURLTypes)?e.CFBundleURLTypes.reduce((e,{CFBundleURLSchemes:t})=>Array.isArray(t)?[...e,...t]:e,[]):[]}})),Hi=e.t((e=>{Object.defineProperty(e,`__esModule`,{value:!0}),e.getGoogleServicesFile=p,e.getGoogleSignInReversedClientId=f,e.setGoogleConfig=h,e.setGoogleServicesFile=g,e.setGoogleSignInReversedClientId=m,e.withGoogleServicesFile=e.withGoogle=void 0;function t(){let e=u(Li());return t=function(){return e},e}function n(){let e=u(require(`assert`));return n=function(){return e},e}function r(){let e=u(require(`fs`));return r=function(){return e},e}function a(){let e=u(require(`path`));return a=function(){return e},e}function o(){let e=Ti();return o=function(){return e},e}function s(){let e=Vi();return s=function(){return e},e}function c(){let e=Ei();return c=function(){return e},e}function l(){let e=Hn();return l=function(){return e},e}function u(e){return e&&e.__esModule?e:{default:e}}e.withGoogle=e=>(0,l().withInfoPlist)(e,e=>(e.modResults=h(e,e.modResults,e.modRequest),e)),e.withGoogleServicesFile=e=>(0,l().withXcodeProject)(e,e=>(e.modResults=g(e,{projectRoot:e.modRequest.projectRoot,project:e.modResults}),e));function d(e,{projectRoot:o}){let s=a().default.resolve(o,e),c=r().default.readFileSync(s,`utf8`);return(0,n().default)(c,`GoogleService-Info.plist is empty`),t().default.parse(c)}function f(e,t){let n=p(e);return n===null?null:d(n,t).REVERSED_CLIENT_ID??null}function p(e){return e.ios?.googleServicesFile??null}function m(e,t,n){let r=f(e,n);return r===null?t:(0,s().appendScheme)(r,t)}function h(e,t,n){return t=m(e,t,n),t}function g(e,{projectRoot:t,project:n}){let s=p(e);if(s===null)return n;let l=a().default.resolve(t,s);r().default.copyFileSync(l,a().default.join((0,o().getSourceRoot)(t),`GoogleService-Info.plist`));let u=(0,c().getProjectName)(t),d=`${u}/GoogleService-Info.plist`;return n.hasFile(d)||(n=(0,c().addResourceFileToGroup)({filepath:d,groupName:u,project:n,isBuildFile:!0,verbose:!0})),n}})),Ui=e.t((()=>{})),Wi=e.t((e=>{Object.defineProperty(e,`__esModule`,{value:!0}),e.getLocales=l,e.setLocalesAsync=u,e.withLocales=void 0,e.writeStringsFile=c;function t(){let e=s(require(`fs`));return t=function(){return e},e}function n(){let e=s(require(`path`));return n=function(){return e},e}function r(){let e=Ei();return r=function(){return e},e}function a(){let e=Hn();return a=function(){return e},e}function o(){let e=Sn();return o=function(){return e},e}function s(e){return e&&e.__esModule?e:{default:e}}e.withLocales=e=>(0,a().withXcodeProject)(e,async e=>(e.modResults=await u(e,{projectRoot:e.modRequest.projectRoot,project:e.modResults}),e));async function c({localesMap:e,supportingDirectory:a,fileName:o,projectName:s,project:c}){for(let[l,u]of Object.entries(e)){if(Object.entries(u).length===0)return c;let e=n().default.join(a,`${l}.lproj`);await t().default.promises.mkdir(e,{recursive:!0});let d=n().default.join(e,o),f=[];for(let[e,t]of Object.entries(u))f.push(`${e} = "${t}";`);await t().default.promises.writeFile(d,f.join(`
`));let p=`${s}/Supporting/${l}.lproj`;(0,r().ensureGroupRecursively)(c,p)?.children.some(({comment:e})=>e===o)||(c=(0,r().addResourceFileToGroup)({filepath:n().default.relative(a,d),groupName:p,project:c,isBuildFile:!0,verbose:!0}))}return c}function l(e){return e.locales??null}async function u(e,{projectRoot:t,project:a}){let s=l(e);if(!s)return a;let{localesMap:u,localizableStringsIOS:d}=await(0,o().getResolvedLocalesAsync)(t,s,`ios`),f=(0,r().getProjectName)(t),p=n().default.join(t,`ios`,f,`Supporting`);return a=await c({localesMap:u,supportingDirectory:p,fileName:`InfoPlist.strings`,projectName:f,project:a}),d&&Object.keys(d).length&&(a=await c({localesMap:d,supportingDirectory:p,fileName:`Localizable.strings`,projectName:f,project:a})),a}})),Gi=e.t((e=>{Object.defineProperty(e,`__esModule`,{value:!0}),e.createGeneratedHeaderComment=l,e.createHash=u,e.mergeContents=a,e.removeContents=o,e.removeGeneratedContents=c;function t(){let e=n(require(`crypto`));return t=function(){return e},e}function n(e){return e&&e.__esModule?e:{default:e}}function r(e,t){let n=e.split(`
`);return{contents:n,start:n.findIndex(e=>RegExp(`@generated begin ${t} -`).test(e)),end:n.findIndex(e=>RegExp(`@generated end ${t}$`).test(e))}}function a({src:e,newSrc:t,tag:n,anchor:r,offset:a,comment:o}){let u=l(t,n,o);if(!e.includes(u)){let l=c(e,n);return{contents:s(l??e,r,a,[u,...t.split(`
`),`${o} @generated end ${n}`]),didMerge:!0,didClear:!!l}}return{contents:e,didClear:!1,didMerge:!1}}function o({src:e,tag:t}){let n=c(e,t);return{contents:n??e,didMerge:!1,didClear:!!n}}function s(e,t,n,r){let a=e.split(`
`),o=a.findIndex(e=>e.match(t));if(o<0){let n=Error(`Failed to match "${t}" in contents:\n${e}`);throw n.code=`ERR_NO_MATCH`,n}for(let e of r)a.splice(o+n,0,e),o++;return a.join(`
`)}function c(e,t){let{contents:n,start:a,end:o}=r(e,t);return a>-1&&o>-1&&a<o?(n.splice(a,o-a+1),n.join(`
`)):null}function l(e,t,n){return`${n} @generated begin ${t} - expo prebuild (DO NOT MODIFY) ${u(e)}`}function u(e){return`sync-${t().default.createHash(`sha1`).update(e).digest(`hex`)}`}})),Ki=e.t((e=>{Object.defineProperty(e,`__esModule`,{value:!0}),e.MATCH_INIT=void 0,e.addGoogleMapsAppDelegateImport=p,e.addGoogleMapsAppDelegateInit=h,e.addMapsCocoaPods=_,e.getGoogleMapsApiKey=d,e.removeGoogleMapsAppDelegateImport=m,e.removeGoogleMapsAppDelegateInit=g,e.removeMapsCocoaPods=v,e.setGoogleMapsApiKey=f,e.withMaps=void 0;function n(){let e=s(require(`path`));return n=function(){return e},e}function r(){let e=s(Fn());return r=function(){return e},e}function a(){let e=Hn();return a=function(){return e},e}function o(){let e=Gi();return o=function(){return e},e}function s(e){return e&&e.__esModule?e:{default:e}}let c=t.t()(`expo:config-plugins:ios:maps`),l=e.MATCH_INIT=/\bsuper\.application\(\w+?, didFinishLaunchingWithOptions: \w+?\)/g,u=(0,a().createInfoPlistPlugin)(f,`withGoogleMapsKey`);e.withMaps=e=>{e=u(e);let t=d(e);return c(`Google Maps API Key:`,t),e=x(e,{useGoogleMaps:!!t}),e=S(e,{apiKey:t}),e};function d(e){return e.ios?.config?.googleMapsApiKey??null}function f(e,{GMSApiKey:t,...n}){let r=d(e);return r===null?n:{...n,GMSApiKey:r}}function p(e){return(0,o().mergeContents)({tag:`react-native-maps-import`,src:e,newSrc:[`#if canImport(GoogleMaps)`,`import GoogleMaps`,`#endif`].join(`
`),anchor:/(@main|@UIApplicationMain)/,offset:0,comment:`//`})}function m(e){return(0,o().removeContents)({tag:`react-native-maps-import`,src:e})}function h(e,t){let n=[`#if canImport(GoogleMaps)`,`GMSServices.provideAPIKey("${t}")`,`#endif`];return(0,o().mergeContents)({tag:`react-native-maps-init`,src:e,newSrc:n.join(`
`),anchor:l,offset:0,comment:`//`})}function g(e){return(0,o().removeContents)({tag:`react-native-maps-init`,src:e})}function _(e){return(0,o().mergeContents)({tag:`react-native-maps`,src:e,newSrc:`  pod 'react-native-google-maps', path: File.dirname(\`node --print "require.resolve('react-native-maps/package.json')"\`)`,anchor:/use_native_modules/,offset:0,comment:`#`})}function v(e){return(0,o().removeContents)({tag:`react-native-maps`,src:e})}function y(e){let t=r().default.silent(e,`react-native-maps/package.json`);return t?n().default.dirname(t):null}function b(e){return!0}let x=(e,{useGoogleMaps:t})=>(0,a().withPodfile)(e,async e=>{let n=y(e.modRequest.projectRoot),r=b(e);c(`Is Expo Autolinked:`,r),c(`react-native-maps path:`,n);let a;if(r&&n&&t)try{a=_(e.modResults.contents)}catch(e){throw e.code===`ERR_NO_MATCH`?Error(`Cannot add react-native-maps to the project's ios/Podfile because it's malformed. Report this with a copy of your project Podfile: https://github.com/expo/expo/issues`):e}else a=v(e.modResults.contents);return(a.didMerge||a.didClear)&&(e.modResults.contents=a.contents),e}),S=(e,{apiKey:t})=>(0,a().withAppDelegate)(e,e=>{if(!t||!b(e)||!y(e.modRequest.projectRoot))return e.modResults.contents=m(e.modResults.contents).contents,e.modResults.contents=g(e.modResults.contents).contents,e;if(e.modResults.language!==`swift`)throw Error(`Cannot setup Google Maps because the project AppDelegate is not a supported language: ${e.modResults.language}`);try{e.modResults.contents=p(e.modResults.contents).contents,e.modResults.contents=h(e.modResults.contents,t).contents}catch(e){throw e.code===`ERR_NO_MATCH`?Error(`Cannot add Google Maps to the project's AppDelegate because it's malformed. Report this with a copy of your project AppDelegate: https://github.com/expo/expo/issues`):e}return e})})),qi=e.t((e=>{Object.defineProperty(e,`__esModule`,{value:!0}),e.getName=a,e.setDisplayName=o,e.setName=s,e.setProductName=c,e.withProductName=e.withName=e.withDisplayName=void 0;function t(){let e=Si();return t=function(){return e},e}function n(){let e=Ei();return n=function(){return e},e}function r(){let e=Hn();return r=function(){return e},e}e.withDisplayName=(0,r().createInfoPlistPluginWithPropertyGuard)(o,{infoPlistProperty:`CFBundleDisplayName`,expoConfigProperty:`name`},`withDisplayName`),e.withName=(0,r().createInfoPlistPluginWithPropertyGuard)(s,{infoPlistProperty:`CFBundleName`,expoConfigProperty:`name`},`withName`),e.withProductName=e=>(0,r().withXcodeProject)(e,e=>(e.modResults=c(e,e.modResults),e));function a(e){return typeof e.name==`string`?e.name:null}function o(e,{CFBundleDisplayName:t,...n}){let r=null;return r=typeof e==`string`?e:a(e),r?{...n,CFBundleDisplayName:r}:n}function s(e,{CFBundleName:t,...n}){let r=a(e);return r?{...n,CFBundleName:r}:n}function c(e,r){let o=(0,n().sanitizedName)(a(e)??``);if(!o)return r;let s=l(o),[,c]=(0,t().findFirstNativeTarget)(r);return(0,n().getBuildConfigurationsForListId)(r,c.buildConfigurationList).forEach(([,e])=>{e.buildSettings.PRODUCT_NAME=s}),r}let l=e=>e.match(/^['"]/)?e:`"${e}"`})),Ji=e.t((e=>{Object.defineProperty(e,`__esModule`,{value:!0}),e.PORTRAIT_ORIENTATIONS=e.LANDSCAPE_ORIENTATIONS=void 0,e.getOrientation=n,e.setOrientation=s,e.withOrientation=void 0;function t(){let e=Hn();return t=function(){return e},e}e.withOrientation=(0,t().createInfoPlistPluginWithPropertyGuard)(s,{infoPlistProperty:`UISupportedInterfaceOrientations`,expoConfigProperty:`orientation`},`withOrientation`);function n(e){return e.orientation??null}let r=e.PORTRAIT_ORIENTATIONS=[`UIInterfaceOrientationPortrait`,`UIInterfaceOrientationPortraitUpsideDown`],a=e.LANDSCAPE_ORIENTATIONS=[`UIInterfaceOrientationLandscapeLeft`,`UIInterfaceOrientationLandscapeRight`];function o(e){return e===`portrait`?r:e===`landscape`?a:[...r,...a]}function s(e,t){let r=n(e);return{...t,UISupportedInterfaceOrientations:o(r)}}})),Yi=e.t((e=>{Object.defineProperty(e,`__esModule`,{value:!0}),e.applyPermissions=s,e.createPermissionsPlugin=c;function n(){let e=a(t.t());return n=function(){return e},e}function r(){let e=Hn();return r=function(){return e},e}function a(e){return e&&e.__esModule?e:{default:e}}let o=(0,n().default)(`expo:config-plugins:ios:permissions`);function s(e,t,n){let r=Object.entries(e);r.length===0&&o(`No defaults provided: ${JSON.stringify(t)}`);for(let[e,a]of r)t[e]===!1?(o(`Deleting "${e}"`),delete n[e]):(n[e]=t[e]||n[e]||a,o(`Setting "${e}" to "${n[e]}"`));return n}function c(e,t){let n=(t,n)=>(0,r().withInfoPlist)(t,async t=>(t.modResults=s(e,n,t.modResults),t));return t&&Object.defineProperty(n,`name`,{value:t}),n}})),Xi=e.t((e=>{Object.defineProperty(e,`__esModule`,{value:!0}),e.mergePrivacyInfo=f,e.setPrivacyInfo=l,e.withPrivacyInfo=c;function t(){let e=s(Li());return t=function(){return e},e}function n(){let e=s(require(`fs`));return n=function(){return e},e}function r(){let e=s(require(`path`));return r=function(){return e},e}function a(){let e=Ei();return a=function(){return e},e}function o(){let e=Hn();return o=function(){return e},e}function s(e){return e&&e.__esModule?e:{default:e}}function c(e){let t=e.ios?.privacyManifests;return t?(0,o().withXcodeProject)(e,e=>l(e,t)):e}function l(e,n){let{projectRoot:o,platformProjectRoot:s}=e.modRequest,c=(0,a().getProjectName)(o),l=r().default.join(s,c,`PrivacyInfo.xcprivacy`),p=u(l),m=f(p?t().default.parse(p):{},n);return d(l,t().default.build(m)),e.modResults.hasFile(l)||(e.modResults=(0,a().addResourceFileToGroup)({filepath:r().default.join(c,`PrivacyInfo.xcprivacy`),groupName:c,project:e.modResults,isBuildFile:!0,verbose:!0})),e}function u(e){return n().default.existsSync(e)?n().default.readFileSync(e,{encoding:`utf8`}):null}function d(e,t){n().default.existsSync(r().default.dirname(e))||n().default.mkdirSync(r().default.dirname(e),{recursive:!0}),n().default.writeFileSync(e,t)}function f(e,t){let{NSPrivacyAccessedAPITypes:n=[],NSPrivacyCollectedDataTypes:r=[],NSPrivacyTracking:a=!1,NSPrivacyTrackingDomains:o=[]}=structuredClone(e);return a=t.NSPrivacyTracking??e.NSPrivacyTracking??!1,t.NSPrivacyAccessedAPITypes?.forEach(e=>{let t=n.find(t=>t.NSPrivacyAccessedAPIType===e.NSPrivacyAccessedAPIType);t?t.NSPrivacyAccessedAPITypeReasons=[...new Set(t?.NSPrivacyAccessedAPITypeReasons?.concat(...e.NSPrivacyAccessedAPITypeReasons))]:n.push(e)}),t.NSPrivacyCollectedDataTypes?.forEach(e=>{let t=r.find(t=>t.NSPrivacyCollectedDataType===e.NSPrivacyCollectedDataType);t?t.NSPrivacyCollectedDataTypePurposes=[...new Set(t?.NSPrivacyCollectedDataTypePurposes?.concat(...e.NSPrivacyCollectedDataTypePurposes))]:r.push(e)}),o=[...new Set(o.concat(t.NSPrivacyTrackingDomains??[]))],{NSPrivacyAccessedAPITypes:n,NSPrivacyCollectedDataTypes:r,NSPrivacyTracking:a,NSPrivacyTrackingDomains:o}}})),Zi=e.t((e=>{Object.defineProperty(e,`__esModule`,{value:!0}),e.setProvisioningProfileForPbxproj=s;function t(){let e=o(require(`fs`));return t=function(){return e},e}function n(){let e=Si();return n=function(){return e},e}function r(){let e=Ei();return r=function(){return e},e}function a(){let e=bi();return a=function(){return e},e}function o(e){return e&&e.__esModule?e:{default:e}}function s(e,{targetName:o,profileName:s,appleTeamId:l,buildConfiguration:u=`Release`,codeSignIdentity:d=`iPhone Distribution`}){let f=(0,r().getPbxproj)(e),[p,m]=o?(0,n().findNativeTargetByName)(f,o):(0,n().findFirstNativeTarget)(f),h=c(l);(0,r().getBuildConfigurationsForListId)(f,m.buildConfigurationList).filter(([,e])=>(0,a().trimQuotes)(e.name)===u).forEach(([,e])=>{e.buildSettings.PROVISIONING_PROFILE_SPECIFIER=`"${s}"`,e.buildSettings.DEVELOPMENT_TEAM=h,e.buildSettings.CODE_SIGN_IDENTITY=`"${d}"`,e.buildSettings.CODE_SIGN_STYLE=`Manual`}),Object.entries((0,r().getProjectSection)(f)).filter(r().isNotComment).forEach(([,e])=>{e.attributes.TargetAttributes[p]||(e.attributes.TargetAttributes[p]={}),e.attributes.TargetAttributes[p].DevelopmentTeam=h,e.attributes.TargetAttributes[p].ProvisioningStyle=`Manual`}),t().default.writeFileSync(f.filepath,f.writeSync())}let c=e=>e.match(/^['"]/)?e:`"${e}"`})),Qi=e.t((e=>{Object.defineProperty(e,`__esModule`,{value:!0}),e.setRequiresFullScreen=l,e.withRequiresFullScreen=void 0;function t(){let e=Hn();return t=function(){return e},e}function n(){let e=gn();return n=function(){return e},e}e.withRequiresFullScreen=(0,t().createInfoPlistPlugin)(l,`withRequiresFullScreen`);let r=`UISupportedInterfaceOrientations~ipad`,a=[`UIInterfaceOrientationPortrait`,`UIInterfaceOrientationPortraitUpsideDown`,`UIInterfaceOrientationLandscapeLeft`,`UIInterfaceOrientationLandscapeRight`];function o(e){return Array.isArray(e)&&e.every(e=>typeof e==`string`)}function s(e){return a.every(t=>e.includes(t))}function c(e){if(o(e)&&e.length&&!s(e)){let t=e.join(`, `);return(0,n().addWarningIOS)(`ios.requireFullScreen`,`iPad multitasking requires all \`${r}\` orientations to be defined in the Info.plist. The Info.plist currently defines values that are incompatible with multitasking, these will be overwritten to prevent submission failure. Existing: ${t}`),e}return[]}function l(e,t){let n=!!e.ios?.requireFullScreen;if((e.ios?.supportsTablet||e.ios?.isTabletOnly)&&!n){let e=c(t[r]);t[r]=[...new Set(e.concat(a))]}return{...t,UIRequiresFullScreen:n}}})),$i=e.t((e=>{Object.defineProperty(e,`__esModule`,{value:!0}),e.Config=void 0,e.setUpdatesConfigAsync=u,e.setVersionsConfigAsync=d,e.withUpdatesNativeDebugPodfileProps=e.withUpdates=void 0;function t(){let e=Oi();return t=function(){return e},e}function n(){let e=Hn();return n=function(){return e},e}function r(){let e=Rn();return r=function(){return e},e}function a(){let e=Wn();return a=function(){return e},e}function o(){let e=gn();return o=function(){return e},e}let s=e.Config=function(e){return e.ENABLED=`EXUpdatesEnabled`,e.CHECK_ON_LAUNCH=`EXUpdatesCheckOnLaunch`,e.LAUNCH_WAIT_MS=`EXUpdatesLaunchWaitMs`,e.RUNTIME_VERSION=`EXUpdatesRuntimeVersion`,e.UPDATE_URL=`EXUpdatesURL`,e.UPDATES_CONFIGURATION_REQUEST_HEADERS_KEY=`EXUpdatesRequestHeaders`,e.UPDATES_HAS_EMBEDDED_UPDATE=`EXUpdatesHasEmbeddedUpdate`,e.CODE_SIGNING_CERTIFICATE=`EXUpdatesCodeSigningCertificate`,e.CODE_SIGNING_METADATA=`EXUpdatesCodeSigningMetadata`,e.DISABLE_ANTI_BRICKING_MEASURES=`EXUpdatesDisableAntiBrickingMeasures`,e.ENABLE_BSDIFF_PATCH_SUPPORT=`EXUpdatesEnableBsdiffPatchSupport`,e}({});e.withUpdates=e=>(0,r().withPlugins)(e,[l,c]);let c=e.withUpdatesNativeDebugPodfileProps=(0,t().createBuildPodfilePropsConfigPlugin)([{propName:`updatesNativeDebug`,propValueGetter:e=>e?.updates?.useNativeDebug===!0?`true`:void 0}],`withUpdatesNativeDebugPodfileProps`),l=e=>(0,n().withExpoPlist)(e,async e=>{let t=e.modRequest.projectRoot,n=(0,a().getExpoUpdatesPackageVersion)(t);return e.modResults=await u(t,e,e.modResults,n),e});async function u(e,t,n,r){let c=(0,a().getUpdatesCheckOnLaunch)(t,r),l=(0,a().getUpdatesTimeout)(t),u=(0,a().getUpdatesUseEmbeddedUpdate)(t);!u&&l===0&&c!==`ALWAYS`&&(0,o().addWarningIOS)(`updates.useEmbeddedUpdate`,`updates.checkOnLaunch should be set to "ON_LOAD" and updates.fallbackToCacheTimeout should be set to a non-zero value when updates.useEmbeddedUpdate is set to false. This is because an update must be fetched on the initial launch, when no embedded update is available.`);let f={...n,[s.ENABLED]:(0,a().getUpdatesEnabled)(t),[s.CHECK_ON_LAUNCH]:c,[s.LAUNCH_WAIT_MS]:l};u?delete f[s.UPDATES_HAS_EMBEDDED_UPDATE]:f[s.UPDATES_HAS_EMBEDDED_UPDATE]=!1;let p=(0,a().getUpdateUrl)(t);p?f[s.UPDATE_URL]=p:delete f[s.UPDATE_URL];let m=(0,a().getUpdatesCodeSigningCertificate)(e,t);m?f[s.CODE_SIGNING_CERTIFICATE]=m:delete f[s.CODE_SIGNING_CERTIFICATE];let h=(0,a().getUpdatesCodeSigningMetadata)(t);h?f[s.CODE_SIGNING_METADATA]=h:delete f[s.CODE_SIGNING_METADATA];let g=(0,a().getUpdatesRequestHeaders)(t);g?f[s.UPDATES_CONFIGURATION_REQUEST_HEADERS_KEY]=g:delete f[s.UPDATES_CONFIGURATION_REQUEST_HEADERS_KEY];let _=(0,a().getDisableAntiBrickingMeasures)(t);_?f[s.DISABLE_ANTI_BRICKING_MEASURES]=_:delete f[s.DISABLE_ANTI_BRICKING_MEASURES];let v=(0,a().getUpdatesBsdiffPatchSupportEnabled)(t);return v?f[s.ENABLE_BSDIFF_PATCH_SUPPORT]=v:delete f[s.ENABLE_BSDIFF_PATCH_SUPPORT],await d(e,t,f)}async function d(e,t,n){let r={...n},o=await(0,a().getRuntimeVersionNullableAsync)(e,t,`ios`);if(!o&&n[s.RUNTIME_VERSION])throw Error(`A runtime version is set in your Expo.plist, but is missing from your Expo app config (app.json/app.config.js). Set runtimeVersion in your Expo app config or remove EXUpdatesRuntimeVersion from your Expo.plist.`);return o?(delete r.EXUpdatesSDKVersion,r[s.RUNTIME_VERSION]=o):(delete r.EXUpdatesSDKVersion,delete r[s.RUNTIME_VERSION]),r}})),ea=e.t((e=>{Object.defineProperty(e,`__esModule`,{value:!0}),e.getUsesNonExemptEncryption=n,e.setUsesNonExemptEncryption=r,e.withUsesNonExemptEncryption=void 0;function t(){let e=Hn();return t=function(){return e},e}e.withUsesNonExemptEncryption=(0,t().createInfoPlistPluginWithPropertyGuard)(r,{infoPlistProperty:`ITSAppUsesNonExemptEncryption`,expoConfigProperty:`ios.config.usesNonExemptEncryption`},`withUsesNonExemptEncryption`);function n(e){return e?.ios?.config?.usesNonExemptEncryption??null}function r(e,{ITSAppUsesNonExemptEncryption:t,...r}){let a=n(e);return a===null?r:{...r,ITSAppUsesNonExemptEncryption:a}}})),ta=e.t((e=>{Object.defineProperty(e,`__esModule`,{value:!0}),e.createBuildSourceFile=s,e.withBuildSourceFile=void 0;function t(){let e=o(require(`fs`));return t=function(){return e},e}function n(){let e=o(require(`path`));return n=function(){return e},e}function r(){let e=Ei();return r=function(){return e},e}function a(){let e=Hn();return a=function(){return e},e}function o(e){return e&&e.__esModule?e:{default:e}}e.withBuildSourceFile=(e,{filePath:t,contents:o,overwrite:c})=>(0,a().withXcodeProject)(e,e=>{let a=(0,r().getProjectName)(e.modRequest.projectRoot);return e.modResults=s({project:e.modResults,nativeProjectRoot:e.modRequest.platformProjectRoot,fileContents:o,filePath:n().default.join(a,t),overwrite:c}),e});function s({project:e,nativeProjectRoot:a,filePath:o,fileContents:s,overwrite:c}){let l=n().default.join(a,o);(c||!t().default.existsSync(l))&&t().default.writeFileSync(l,s,`utf8`);let u=n().default.dirname(o);return e.hasFile(o)||(e=(0,r().addBuildSourceFileToGroup)({filepath:o,groupName:u,project:e})),e}})),na=e.t((e=>{Object.defineProperty(e,`__esModule`,{value:!0}),e.Entitlements=e.DeviceFamily=e.DevelopmentTeam=e.BundleIdentifier=e.BuildScheme=e.BuildProperties=e.Bitcode=void 0,Object.defineProperty(e,`ExpoPlist`,{enumerable:!0,get:function(){return u().ExpoPlist}}),e.Google=void 0,Object.defineProperty(e,`InfoPlist`,{enumerable:!0,get:function(){return u().InfoPlist}}),e.XcodeUtils=e.XcodeProjectFile=e.Version=e.UsesNonExemptEncryption=e.Updates=e.Target=e.Scheme=e.RequiresFullScreen=e.ProvisioningProfile=e.PrivacyInfo=e.Permissions=e.Paths=e.Orientation=e.Name=e.Maps=e.Locales=void 0;function t(){let e=O(Di());return t=function(){return e},e}Object.defineProperty(e,`Bitcode`,{enumerable:!0,get:function(){return t()}});function n(){let e=O(Oi());return n=function(){return e},e}Object.defineProperty(e,`BuildProperties`,{enumerable:!0,get:function(){return n()}});function r(){let e=O(xi());return r=function(){return e},e}Object.defineProperty(e,`BuildScheme`,{enumerable:!0,get:function(){return r()}});function a(){let e=O(Ri());return a=function(){return e},e}Object.defineProperty(e,`BundleIdentifier`,{enumerable:!0,get:function(){return a()}});function o(){let e=O(zi());return o=function(){return e},e}Object.defineProperty(e,`DevelopmentTeam`,{enumerable:!0,get:function(){return o()}});function s(){let e=O(Bi());return s=function(){return e},e}Object.defineProperty(e,`DeviceFamily`,{enumerable:!0,get:function(){return s()}});function c(){let e=O(Ci());return c=function(){return e},e}Object.defineProperty(e,`Entitlements`,{enumerable:!0,get:function(){return c()}});function l(){let e=O(Hi());return l=function(){return e},e}Object.defineProperty(e,`Google`,{enumerable:!0,get:function(){return l()}});function u(){let e=Ui();return u=function(){return e},e}function d(){let e=O(Wi());return d=function(){return e},e}Object.defineProperty(e,`Locales`,{enumerable:!0,get:function(){return d()}});function f(){let e=O(Ki());return f=function(){return e},e}Object.defineProperty(e,`Maps`,{enumerable:!0,get:function(){return f()}});function p(){let e=O(qi());return p=function(){return e},e}Object.defineProperty(e,`Name`,{enumerable:!0,get:function(){return p()}});function m(){let e=O(Ji());return m=function(){return e},e}Object.defineProperty(e,`Orientation`,{enumerable:!0,get:function(){return m()}});function h(){let e=O(Ti());return h=function(){return e},e}Object.defineProperty(e,`Paths`,{enumerable:!0,get:function(){return h()}});function g(){let e=O(Yi());return g=function(){return e},e}Object.defineProperty(e,`Permissions`,{enumerable:!0,get:function(){return g()}});function _(){let e=O(Xi());return _=function(){return e},e}Object.defineProperty(e,`PrivacyInfo`,{enumerable:!0,get:function(){return _()}});function v(){let e=O(Zi());return v=function(){return e},e}Object.defineProperty(e,`ProvisioningProfile`,{enumerable:!0,get:function(){return v()}});function y(){let e=O(Qi());return y=function(){return e},e}Object.defineProperty(e,`RequiresFullScreen`,{enumerable:!0,get:function(){return y()}});function b(){let e=O(Vi());return b=function(){return e},e}Object.defineProperty(e,`Scheme`,{enumerable:!0,get:function(){return b()}});function x(){let e=O(Si());return x=function(){return e},e}Object.defineProperty(e,`Target`,{enumerable:!0,get:function(){return x()}});function S(){let e=O($i());return S=function(){return e},e}Object.defineProperty(e,`Updates`,{enumerable:!0,get:function(){return S()}});function C(){let e=O(ea());return C=function(){return e},e}Object.defineProperty(e,`UsesNonExemptEncryption`,{enumerable:!0,get:function(){return C()}});function w(){let e=O(Un());return w=function(){return e},e}Object.defineProperty(e,`Version`,{enumerable:!0,get:function(){return w()}});function T(){let e=O(ta());return T=function(){return e},e}Object.defineProperty(e,`XcodeProjectFile`,{enumerable:!0,get:function(){return T()}});function E(){let e=O(Ei());return E=function(){return e},e}Object.defineProperty(e,`XcodeUtils`,{enumerable:!0,get:function(){return E()}});function D(e){if(typeof WeakMap!=`function`)return null;var t=new WeakMap,n=new WeakMap;return(D=function(e){return e?n:t})(e)}function O(e,t){if(!t&&e&&e.__esModule)return e;if(e===null||typeof e!=`object`&&typeof e!=`function`)return{default:e};var n=D(t);if(n&&n.has(e))return n.get(e);var r={__proto__:null},a=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if(o!==`default`&&{}.hasOwnProperty.call(e,o)){var s=a?Object.getOwnPropertyDescriptor(e,o):null;s&&(s.get||s.set)?Object.defineProperty(r,o,s):r[o]=e[o]}return r.default=e,n&&n.set(e,r),r}})),ra=e.t((e=>{Object.defineProperty(e,`__esModule`,{value:!0}),e.assertModResults=c,e.createBaseMod=s,e.createPlatformBaseMod=u,e.provider=d,e.withGeneratedBaseMods=f;function n(){let e=a(t.t());return n=function(){return e},e}function r(){let e=tn();return r=function(){return e},e}function a(e){return e&&e.__esModule?e:{default:e}}let o=(0,n().default)(`expo:config-plugins:base-mods`);function s({methodName:e,platform:t,modName:n,getFilePath:a,read:s,write:l,isIntrospective:u}){let d=(d,f)=>{let p=f||{};return(0,r().withBaseMod)(d,{platform:t,mod:n,skipEmptyMod:p.skipEmptyMod??!0,saveToInternal:p.saveToInternal??!1,isProvider:!0,isIntrospective:u,async action({modRequest:{nextMod:r,...u},...d}){try{let e={...d,modRequest:u},f=await a(e,p);o(`mods.${t}.${n}: file path: ${f||`[skipped]`}`);let m=await s(f,e,p);return e=await r({...e,modResults:m,modRequest:u}),c(e,u.platform,u.modName),await l(f,e,p),e}catch(r){throw r.message=`[${t}.${n}]: ${e}: ${r.message}`,r}}})};return e&&Object.defineProperty(d,`name`,{value:e}),d}function c(e,t,n){let r=e;if(!r||typeof r!=`object`||!r?.mods)throw Error(`Mod \`mods.${t}.${n}\` evaluated to an object that is not a valid project config. Instead got: ${JSON.stringify(r)}`);return r}function l(e){return e.charAt(0).toUpperCase()+e.slice(1)}function u({modName:e,...t}){return s({methodName:`with${l(t.platform)}${l(e)}BaseMod`,modName:e,...t})}function d(e){return e}function f(e,{platform:t,providers:n,...r}){return Object.entries(n).reduce((e,[n,a])=>u({platform:t,modName:n,...a})(e,r),e)}})),ia=e.t((e=>{Object.defineProperty(e,`__esModule`,{value:!0}),e.reverseSortString=void 0,e.sortObjWithOrder=n,e.sortObject=t,e.sortWithOrder=r;function t(e,t){return Object.keys(e).sort(t).reduce((t,n)=>({...t,[n]:e[n]}),{})}function n(e,t){return r(Object.keys(e),t).reduce((t,n)=>({...t,[n]:e[n]}),{})}function r(e,t){let n=[...new Set(t.concat(e))],r=[];for(;n.length;){let t=n.shift(),a=e.indexOf(t);if(a>-1){let[t]=e.splice(a,1);r.push(t)}}return r}e.reverseSortString=(e,t)=>e<t?1:e>t?-1:0})),aa=e.t((e=>{Object.defineProperty(e,`__esModule`,{value:!0}),e.getAndroidModFileProviders=h,e.sortAndroidManifest=f,e.withAndroidBaseMods=m;function t(){let e=require(`fs`);return t=function(){return e},e}function n(){let e=c(require(`path`));return n=function(){return e},e}function r(){let e=ra();return r=function(){return e},e}function a(){let e=Xn();return a=function(){return e},e}function o(){let e=Zt();return o=function(){return e},e}function s(){let e=ia();return s=function(){return e},e}function c(e){return e&&e.__esModule?e:{default:e}}let{readFile:l,writeFile:u}=t().promises;function d(e){return(0,o().parseXMLAsync)(`
  <manifest xmlns:android="http://schemas.android.com/apk/res/android" xmlns:tools="http://schemas.android.com/tools" package="${e.android?.package??`com.placeholder.appid`}">

    <uses-permission android:name="android.permission.INTERNET"/>
    <!-- OPTIONAL PERMISSIONS, REMOVE WHATEVER YOU DO NOT NEED -->
    <uses-permission android:name="android.permission.SYSTEM_ALERT_WINDOW"/>
    <uses-permission android:name="android.permission.VIBRATE"/>
    <!-- These require runtime permissions on M -->
    <uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE" android:maxSdkVersion="32" tools:replace="android:maxSdkVersion"/>
    <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" android:maxSdkVersion="32" tools:replace="android:maxSdkVersion"/>
    <!-- END OPTIONAL PERMISSIONS -->

    <queries>
      <!-- Support checking for http(s) links via the Linking API -->
      <intent>
        <action android:name="android.intent.action.VIEW" />
        <category android:name="android.intent.category.BROWSABLE" />
        <data android:scheme="https" />
      </intent>
    </queries>

    <application android:name=".MainApplication" android:label="@string/app_name" android:icon="@mipmap/ic_launcher" android:roundIcon="@mipmap/ic_launcher_round" android:allowBackup="false" android:theme="@style/AppTheme" android:supportsRtl="true">
      <activity android:name=".MainActivity" android:configChanges="keyboard|keyboardHidden|orientation|screenSize|screenLayout|uiMode|smallestScreenSize" android:launchMode="singleTask" android:windowSoftInputMode="adjustResize" android:theme="@style/Theme.App.SplashScreen" android:exported="true">
        <intent-filter>
          <action android:name="android.intent.action.MAIN"/>
          <category android:name="android.intent.category.LAUNCHER"/>
        </intent-filter>
      </activity>
    </application>
  </manifest>
  `)}function f(e){return e.manifest&&(e.manifest=(0,s().sortObject)(e.manifest,s().reverseSortString),Array.isArray(e.manifest[`uses-permission`])&&e.manifest[`uses-permission`].sort((e,t)=>e.$[`android:name`]<t.$[`android:name`]?-1:+(e.$[`android:name`]>t.$[`android:name`])),Array.isArray(e.manifest.application)&&(e.manifest.application=e.manifest.application.map(e=>(e=(0,s().sortObjWithOrder)(e,[`meta-data`,`service`,`activity`]),Array.isArray(e[`meta-data`])&&e[`meta-data`].sort((e,t)=>e.$[`android:name`]<t.$[`android:name`]?-1:+(e.$[`android:name`]>t.$[`android:name`])),e)))),e}let p={dangerous:(0,r().provider)({getFilePath(){return``},async read(){return{filePath:``,modResults:{}}},async write(){}}),finalized:(0,r().provider)({getFilePath(){return``},async read(){return{filePath:``,modResults:{}}},async write(){}}),manifest:(0,r().provider)({isIntrospective:!0,getFilePath({modRequest:{platformProjectRoot:e}}){return n().default.join(e,`app/src/main/AndroidManifest.xml`)},async read(e,t){try{return await a().Manifest.readAndroidManifestAsync(e)}catch(e){if(!t.modRequest.introspect)throw e}return await d(t)},async write(e,{modResults:t,modRequest:{introspect:n}}){n||await a().Manifest.writeAndroidManifestAsync(e,f(t))}}),gradleProperties:(0,r().provider)({isIntrospective:!0,getFilePath({modRequest:{platformProjectRoot:e}}){return n().default.join(e,`gradle.properties`)},async read(e,t){try{return await a().Properties.parsePropertiesFile(await l(e,`utf8`))}catch(e){if(!t.modRequest.introspect)throw e}return[]},async write(e,{modResults:t,modRequest:{introspect:n}}){n||await u(e,a().Properties.propertiesListToString(t))}}),strings:(0,r().provider)({isIntrospective:!0,async getFilePath({modRequest:{projectRoot:e,introspect:t}}){try{return await a().Strings.getProjectStringsXMLPathAsync(e)}catch(e){if(!t)throw e}return``},async read(e,t){try{return await a().Resources.readResourcesXMLAsync({path:e})}catch(e){if(!t.modRequest.introspect)throw e}return{resources:{}}},async write(e,{modResults:t,modRequest:{introspect:n}}){n||await(0,o().writeXMLAsync)({path:e,xml:t})}}),colors:(0,r().provider)({isIntrospective:!0,async getFilePath({modRequest:{projectRoot:e,introspect:t}}){try{return await a().Colors.getProjectColorsXMLPathAsync(e)}catch(e){if(!t)throw e}return``},async read(e,{modRequest:{introspect:t}}){try{return await a().Resources.readResourcesXMLAsync({path:e})}catch(e){if(!t)throw e}return{resources:{}}},async write(e,{modResults:t,modRequest:{introspect:n}}){n||await(0,o().writeXMLAsync)({path:e,xml:t})}}),colorsNight:(0,r().provider)({isIntrospective:!0,async getFilePath({modRequest:{projectRoot:e,introspect:t}}){try{return await a().Colors.getProjectColorsXMLPathAsync(e,{kind:`values-night`})}catch(e){if(!t)throw e}return``},async read(e,t){try{return await a().Resources.readResourcesXMLAsync({path:e})}catch(e){if(!t.modRequest.introspect)throw e}return{resources:{}}},async write(e,{modResults:t,modRequest:{introspect:n}}){n||await(0,o().writeXMLAsync)({path:e,xml:t})}}),styles:(0,r().provider)({isIntrospective:!0,async getFilePath({modRequest:{projectRoot:e,introspect:t}}){try{return await a().Styles.getProjectStylesXMLPathAsync(e)}catch(e){if(!t)throw e}return``},async read(e,t){let n={resources:{}};try{n=await a().Resources.readResourcesXMLAsync({path:e,fallback:`<?xml version="1.0" encoding="utf-8"?><resources xmlns:tools="http://schemas.android.com/tools"></resources>`})}catch(e){if(!t.modRequest.introspect)throw e}return n.resources.$||(n.resources.$={}),n.resources.$?.[`xmlns:tools`]||(n.resources.$[`xmlns:tools`]=`http://schemas.android.com/tools`),n},async write(e,{modResults:t,modRequest:{introspect:n}}){n||await(0,o().writeXMLAsync)({path:e,xml:t})}}),projectBuildGradle:(0,r().provider)({getFilePath({modRequest:{projectRoot:e}}){return a().Paths.getProjectBuildGradleFilePath(e)},async read(e){return a().Paths.getFileInfo(e)},async write(e,{modResults:{contents:t}}){await u(e,t)}}),settingsGradle:(0,r().provider)({getFilePath({modRequest:{projectRoot:e}}){return a().Paths.getSettingsGradleFilePath(e)},async read(e){return a().Paths.getFileInfo(e)},async write(e,{modResults:{contents:t}}){await u(e,t)}}),appBuildGradle:(0,r().provider)({getFilePath({modRequest:{projectRoot:e}}){return a().Paths.getAppBuildGradleFilePath(e)},async read(e){return a().Paths.getFileInfo(e)},async write(e,{modResults:{contents:t}}){await u(e,t)}}),mainActivity:(0,r().provider)({getFilePath({modRequest:{projectRoot:e}}){return a().Paths.getProjectFilePath(e,`MainActivity`)},async read(e){return a().Paths.getFileInfo(e)},async write(e,{modResults:{contents:t}}){await u(e,t)}}),mainApplication:(0,r().provider)({getFilePath({modRequest:{projectRoot:e}}){return a().Paths.getProjectFilePath(e,`MainApplication`)},async read(e){return a().Paths.getFileInfo(e)},async write(e,{modResults:{contents:t}}){await u(e,t)}})};function m(e,{providers:t,...n}={}){return(0,r().withGeneratedBaseMods)(e,{...n,platform:`android`,providers:t??h()})}function h(){return p}})),oa=e.t((e=>{Object.defineProperty(e,`__esModule`,{value:!0}),e.getInfoPlistPathFromPbxproj=r;function t(){let e=Ei();return t=function(){return e},e}function n(){let e=Si();return n=function(){return e},e}function r(e,{targetName:r,buildConfiguration:o=`Release`}={}){let s=(0,t().resolvePathOrProject)(e);if(!s)return null;let c=(0,n().getXCBuildConfigurationFromPbxproj)(s,{targetName:r,buildConfiguration:o});return c?a(c.buildSettings.INFOPLIST_FILE):null}function a(e){return e?.replace(/"/g,``).replace(`$(SRCROOT)`,``)??null}})),sa=e.t((e=>{Object.defineProperty(e,`__esModule`,{value:!0}),e.getIosModFileProviders=T,e.withIosBaseMods=w;function t(){let e=v(xn());return t=function(){return e},e}function n(){let e=v(Li());return n=function(){return e},e}function r(){let e=v(require(`assert`));return r=function(){return e},e}function a(){let e=_(require(`fs`));return a=function(){return e},e}function o(){let e=v(require(`path`));return o=function(){return e},e}function s(){let e=v(yi());return s=function(){return e},e}function c(){let e=ra();return c=function(){return e},e}function l(){let e=na();return l=function(){return e},e}function u(){let e=Ci();return u=function(){return e},e}function d(){let e=Ei();return d=function(){return e},e}function f(){let e=oa();return f=function(){return e},e}function p(){let e=sn();return p=function(){return e},e}function m(){let e=ia();return m=function(){return e},e}function h(){let e=gn();return h=function(){return e},e}function g(e){if(typeof WeakMap!=`function`)return null;var t=new WeakMap,n=new WeakMap;return(g=function(e){return e?n:t})(e)}function _(e,t){if(!t&&e&&e.__esModule)return e;if(e===null||typeof e!=`object`&&typeof e!=`function`)return{default:e};var n=g(t);if(n&&n.has(e))return n.get(e);var r={__proto__:null},a=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if(o!==`default`&&{}.hasOwnProperty.call(e,o)){var s=a?Object.getOwnPropertyDescriptor(e,o):null;s&&(s.get||s.set)?Object.defineProperty(r,o,s):r[o]=e[o]}return r.default=e,n&&n.set(e,r),r}function v(e){return e&&e.__esModule?e:{default:e}}let{readFile:y,writeFile:b}=a().promises;function x(){return{}}function S(){return{CFBundleDevelopmentRegion:`$(DEVELOPMENT_LANGUAGE)`,CFBundleExecutable:`$(EXECUTABLE_NAME)`,CFBundleIdentifier:`$(PRODUCT_BUNDLE_IDENTIFIER)`,CFBundleName:`$(PRODUCT_NAME)`,CFBundlePackageType:`$(PRODUCT_BUNDLE_PACKAGE_TYPE)`,CFBundleInfoDictionaryVersion:`6.0`,CFBundleSignature:`????`,LSMinimumSystemVersion:`12.0`,LSRequiresIPhoneOS:!0,NSAppTransportSecurity:{NSAllowsArbitraryLoads:!0,NSExceptionDomains:{localhost:{NSExceptionAllowsInsecureHTTPLoads:!0}}},UILaunchStoryboardName:`SplashScreen`,UIRequiredDeviceCapabilities:[`armv7`],UIViewControllerBasedStatusBarAppearance:!1,UIStatusBarStyle:`UIStatusBarStyleDefault`,CADisableMinimumFrameDurationOnPhone:!0}}let C={dangerous:(0,c().provider)({getFilePath(){return``},async read(){return{}},async write(){}}),finalized:(0,c().provider)({getFilePath(){return``},async read(){return{}},async write(){}}),appDelegate:(0,c().provider)({getFilePath({modRequest:{projectRoot:e}}){return l().Paths.getAppDelegateFilePath(e)},async read(e){return l().Paths.getFileInfo(e)},async write(e,{modResults:{contents:t}}){await b(e,t)}}),expoPlist:(0,c().provider)({isIntrospective:!0,getFilePath({modRequest:{platformProjectRoot:e,projectName:t}}){let n=o().default.join(e,t,`Supporting`);return o().default.resolve(n,`Expo.plist`)},async read(e,{modRequest:{introspect:t}}){try{return n().default.parse(await y(e,`utf8`))}catch(e){if(t)return{};throw e}},async write(e,{modResults:t,modRequest:{introspect:r}}){r||await b(e,n().default.build((0,m().sortObject)(t)))}}),xcodeproj:(0,c().provider)({getFilePath({modRequest:{projectRoot:e}}){return l().Paths.getPBXProjectPath(e)},async read(e){let t=s().default.project(e);return t.parseSync(),t},async write(e,{modResults:t}){await b(e,t.writeSync())}}),infoPlist:(0,c().provider)({isIntrospective:!0,async getFilePath(e){let t=null;try{t=(0,d().getPbxproj)(e.modRequest.projectRoot)}catch{}if(t){let n=(0,f().getInfoPlistPathFromPbxproj)(t);if(n){let t=o().default.join(e.modRequest.platformProjectRoot,n);if((0,p().fileExists)(t))return t;(0,h().addWarningIOS)(`mods.ios.infoPlist`,`Info.plist file linked to Xcode project does not exist: ${t}`)}else (0,h().addWarningIOS)(`mods.ios.infoPlist`,`Failed to find Info.plist linked to Xcode project.`)}try{return await l().Paths.getInfoPlistPath(e.modRequest.projectRoot)}catch(t){if(e.modRequest.introspect)return``;throw t}},async read(e,t){t.ios||={},t.ios.infoPlist||(t.ios.infoPlist={});let a;try{let t=await y(e,`utf8`);(0,r().default)(t,`Info.plist is empty`),a=n().default.parse(t)}catch(e){if(!t.modRequest.introspect)throw e;a=S()}return t.ios.infoPlist={...a||{},...t.ios.infoPlist},t.ios.infoPlist},async write(e,t){t.ios||={},t.ios.infoPlist=t.modResults,!t.modRequest.introspect&&await b(e,n().default.build((0,m().sortObject)(t.modResults)))}}),entitlements:(0,c().provider)({isIntrospective:!0,async getFilePath(e){try{return(0,u().ensureApplicationTargetEntitlementsFileConfigured)(e.modRequest.projectRoot),l().Entitlements.getEntitlementsPath(e.modRequest.projectRoot)??``}catch(t){if(e.modRequest.introspect)return``;throw t}},async read(e,t){let o;try{if(!t.modRequest.ignoreExistingNativeFiles&&a().default.existsSync(e)){let t=await y(e,`utf8`);(0,r().default)(t,`Entitlements plist is empty`),o=n().default.parse(t)}else o=x()}catch(e){if(!t.modRequest.introspect)throw e;o=x()}return t.ios||={},t.ios.entitlements||(t.ios.entitlements={}),t.ios.entitlements={...o||{},...t.ios.entitlements},t.ios.entitlements},async write(e,t){t.ios||={},t.ios.entitlements=t.modResults,!t.modRequest.introspect&&await b(e,n().default.build((0,m().sortObject)(t.modResults)))}}),podfile:(0,c().provider)({getFilePath({modRequest:{projectRoot:e}}){return l().Paths.getPodfilePath(e)},async read(e){return l().Paths.getFileInfo(e)},async write(e,{modResults:{contents:t}}){await b(e,t)}}),podfileProperties:(0,c().provider)({isIntrospective:!0,getFilePath({modRequest:{platformProjectRoot:e}}){return o().default.resolve(e,`Podfile.properties.json`)},async read(e){let n={};try{n=await t().default.readAsync(e)}catch{}return n},async write(e,{modResults:n,modRequest:{introspect:r}}){r||await t().default.writeAsync(e,n)}})};function w(e,{providers:t,...n}={}){return(0,c().withGeneratedBaseMods)(e,{...n,platform:`ios`,providers:t??T()})}function T(){return C}})),ca=e.t((e=>{Object.defineProperty(e,`__esModule`,{value:!0}),e.addHistoryItem=n,e.getHistoryItem=t;function t(e,t){return e._internal?.pluginHistory?.[t]??null}function n(e,t){return e._internal||={},e._internal.pluginHistory||(e._internal.pluginHistory={}),t.version||=`UNVERSIONED`,e._internal.pluginHistory[t.name]=t,e}})),la=e.t((e=>{Object.defineProperty(e,`__esModule`,{value:!0}),Object.defineProperty(e,`AndroidManifest`,{enumerable:!0,get:function(){return n().AndroidManifest}}),Object.defineProperty(e,`ExpoPlist`,{enumerable:!0,get:function(){return r().ExpoPlist}}),Object.defineProperty(e,`InfoPlist`,{enumerable:!0,get:function(){return r().InfoPlist}}),Object.defineProperty(e,`XcodeProject`,{enumerable:!0,get:function(){return t().XcodeProject}});function t(){let e=yi();return t=function(){return e},e}function n(){let e=Qt();return n=function(){return e},e}function r(){let e=Ui();return r=function(){return e},e}})),ua=e.t((e=>{Object.defineProperty(e,`__esModule`,{value:!0}),e.createRunOncePlugin=r,e.withRunOnce=void 0;function t(){let e=ca();return t=function(){return e},e}let n=(e,{plugin:n,name:r,version:a})=>(0,t().getHistoryItem)(e,r)?e:(e=(0,t().addHistoryItem)(e,{name:r,version:a}),n(e));e.withRunOnce=n;function r(e,t,r){return(a,o)=>n(a,{plugin:t=>e(t,o),name:t,version:r})}})),da=e.t((e=>{Object.defineProperty(e,`__esModule`,{value:!0}),e.withFinalizedMod=void 0;function t(){let e=tn();return t=function(){return e},e}e.withFinalizedMod=(e,[n,r])=>(0,t().withMod)(e,{platform:n,mod:`finalized`,action:r})})),fa=e.t((e=>{Object.defineProperty(e,`__esModule`,{value:!0}),e.assertValidAndroidAssetName=a,e.isValidAndroidAssetName=r;let t=/^[a-z][a-z0-9_]*$/,n=`abstract.continue.for.new.switch.assert.default.if.package.synchronized.boolean.do.goto.private.this.break.double.implements.protected.throw.byte.else.import.public.throws.case.enum.instanceof.return.transient.catch.extends.int.short.try.char.final.interface.static.void.class.finally.long.strictfp.volatile.const.float.native.super.while._`.split(`.`);function r(e){return t.test(e)&&!n.includes(e)}function a(e,t){if(!r(e)){let n=t?`[${t}] `:``;throw Error(`${n}Resource name "${e}" is not valid. Android resource names must start with a letter and contain only lowercase a-z, 0-9, or underscore characters. Additionally, Java reserved words are not allowed.`)}}})),pa=e.t((e=>{Object.defineProperty(e,`__esModule`,{value:!0}),e.compileModsAsync=_,e.evalModsAsync=x,e.sortMods=v,e.withDefaultBaseMods=h,e.withIntrospectionBaseMods=g;function n(){let e=p(t.t());return n=function(){return e},e}function r(){let e=p(require(`path`));return r=function(){return e},e}function a(){let e=ra();return a=function(){return e},e}function o(){let e=aa();return o=function(){return e},e}function s(){let e=sa();return s=function(){return e},e}function c(){let e=Ei();return c=function(){return e},e}function l(){let e=en();return l=function(){return e},e}function u(){let e=f(gn());return u=function(){return e},e}function d(e){if(typeof WeakMap!=`function`)return null;var t=new WeakMap,n=new WeakMap;return(d=function(e){return e?n:t})(e)}function f(e,t){if(!t&&e&&e.__esModule)return e;if(e===null||typeof e!=`object`&&typeof e!=`function`)return{default:e};var n=d(t);if(n&&n.has(e))return n.get(e);var r={__proto__:null},a=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if(o!==`default`&&{}.hasOwnProperty.call(e,o)){var s=a?Object.getOwnPropertyDescriptor(e,o):null;s&&(s.get||s.set)?Object.defineProperty(r,o,s):r[o]=e[o]}return r.default=e,n&&n.set(e,r),r}function p(e){return e&&e.__esModule?e:{default:e}}let m=(0,n().default)(`expo:config-plugins:mod-compiler`);function h(e,t={}){return e=(0,s().withIosBaseMods)(e,t),e=(0,o().withAndroidBaseMods)(e,t),e}function g(e,t={}){if(e=(0,s().withIosBaseMods)(e,{saveToInternal:!0,skipEmptyMod:!1,...t}),e=(0,o().withAndroidBaseMods)(e,{saveToInternal:!0,skipEmptyMod:!1,...t}),e.mods)for(let t of Object.keys(e.mods))for(let n of Object.keys(e.mods[t]||{}))e.mods[t]?.[n]?.isIntrospective||(m(`removing non-idempotent mod: ${t}.${n}`),delete e.mods[t]?.[n]);return e}async function _(e,t){return e=t.introspect===!0?g(e):h(e),await x(e,t)}function v(e,t){let n=new Set;return e.filter(([e])=>{let t=n.has(e);return n.add(e),!t}).sort(([e],[n])=>(t[e]||0)-(t[n]||0))}function y({mods:e,...t}){return Object.freeze(JSON.parse(JSON.stringify(t)))}let b={ios:{dangerous:-2,xcodeproj:-1,finalized:1}};async function x(e,{projectRoot:t,introspect:n,platforms:o,assertMissingModProviders:s,ignoreExistingNativeFiles:d=!1}){let f=y(e);for(let[p,h]of Object.entries(e.mods??{})){if(o&&!o.includes(p)){m(`skip platform: ${p}`);continue}let g=Object.entries(h);if(g.length){g=v(g,b[p]??{dangerous:-1,finalized:1}),m(`run in order: ${g.map(([e])=>e).join(`, `)}`);let o=r().default.join(t,p),h=p===`ios`?(0,c().getHackyProjectName)(t,e):void 0;for(let[r,c]of g){let m={projectRoot:t,projectName:h,platformProjectRoot:o,platform:p,modName:r,introspect:!!n,ignoreExistingNativeFiles:d};if(!c.isProvider){let e=`Initial base modifier for "${p}.${r}" is not a provider and therefore will not provide modResults to child mods`;if(s!==!1)throw new(l()).PluginError(e,`MISSING_PROVIDER`);u().addWarningForPlatform(p,`${p}.${r}`,`Skipping: Initial base modifier for "${p}.${r}" is not a provider and therefore will not provide modResults to child mods. This may be due to an outdated version of Expo CLI.`);continue}let g=await c({...e,modResults:null,modRequest:m,modRawConfig:f});e=(0,a().assertModResults)(g,p,r),delete e.modResults,delete e.modRequest,delete e.modRawConfig}}}return e}})),ma=e.t((e=>{Object.defineProperty(e,`__esModule`,{value:!0});var t={BaseMods:!0,AndroidConfig:!0,IOSConfig:!0,XML:!0,CodeGenerator:!0,History:!0,WarningAggregator:!0,Updates:!0,withPlugins:!0,withRunOnce:!0,createRunOncePlugin:!0,withDangerousMod:!0,withFinalizedMod:!0,withMod:!0,withBaseMod:!0,withAppDelegate:!0,withInfoPlist:!0,withEntitlementsPlist:!0,withExpoPlist:!0,withXcodeProject:!0,withPodfile:!0,withPodfileProperties:!0,withAndroidManifest:!0,withStringsXml:!0,withAndroidColors:!0,withAndroidColorsNight:!0,withAndroidStyles:!0,withMainActivity:!0,withMainApplication:!0,withProjectBuildGradle:!0,withAppBuildGradle:!0,withSettingsGradle:!0,withGradleProperties:!0,isValidAndroidAssetName:!0,assertValidAndroidAssetName:!0,withStaticPlugin:!0,compileModsAsync:!0,withDefaultBaseMods:!0,evalModsAsync:!0,PluginError:!0};e.IOSConfig=e.History=e.CodeGenerator=e.BaseMods=e.AndroidConfig=void 0,Object.defineProperty(e,`PluginError`,{enumerable:!0,get:function(){return w().PluginError}}),e.XML=e.WarningAggregator=e.Updates=void 0,Object.defineProperty(e,`assertValidAndroidAssetName`,{enumerable:!0,get:function(){return x().assertValidAndroidAssetName}}),Object.defineProperty(e,`compileModsAsync`,{enumerable:!0,get:function(){return C().compileModsAsync}}),Object.defineProperty(e,`createRunOncePlugin`,{enumerable:!0,get:function(){return h().createRunOncePlugin}}),Object.defineProperty(e,`evalModsAsync`,{enumerable:!0,get:function(){return C().evalModsAsync}}),Object.defineProperty(e,`isValidAndroidAssetName`,{enumerable:!0,get:function(){return x().isValidAndroidAssetName}}),Object.defineProperty(e,`withAndroidColors`,{enumerable:!0,get:function(){return b().withAndroidColors}}),Object.defineProperty(e,`withAndroidColorsNight`,{enumerable:!0,get:function(){return b().withAndroidColorsNight}}),Object.defineProperty(e,`withAndroidManifest`,{enumerable:!0,get:function(){return b().withAndroidManifest}}),Object.defineProperty(e,`withAndroidStyles`,{enumerable:!0,get:function(){return b().withAndroidStyles}}),Object.defineProperty(e,`withAppBuildGradle`,{enumerable:!0,get:function(){return b().withAppBuildGradle}}),Object.defineProperty(e,`withAppDelegate`,{enumerable:!0,get:function(){return y().withAppDelegate}}),Object.defineProperty(e,`withBaseMod`,{enumerable:!0,get:function(){return v().withBaseMod}}),Object.defineProperty(e,`withDangerousMod`,{enumerable:!0,get:function(){return g().withDangerousMod}}),Object.defineProperty(e,`withDefaultBaseMods`,{enumerable:!0,get:function(){return C().withDefaultBaseMods}}),Object.defineProperty(e,`withEntitlementsPlist`,{enumerable:!0,get:function(){return y().withEntitlementsPlist}}),Object.defineProperty(e,`withExpoPlist`,{enumerable:!0,get:function(){return y().withExpoPlist}}),Object.defineProperty(e,`withFinalizedMod`,{enumerable:!0,get:function(){return _().withFinalizedMod}}),Object.defineProperty(e,`withGradleProperties`,{enumerable:!0,get:function(){return b().withGradleProperties}}),Object.defineProperty(e,`withInfoPlist`,{enumerable:!0,get:function(){return y().withInfoPlist}}),Object.defineProperty(e,`withMainActivity`,{enumerable:!0,get:function(){return b().withMainActivity}}),Object.defineProperty(e,`withMainApplication`,{enumerable:!0,get:function(){return b().withMainApplication}}),Object.defineProperty(e,`withMod`,{enumerable:!0,get:function(){return v().withMod}}),Object.defineProperty(e,`withPlugins`,{enumerable:!0,get:function(){return m().withPlugins}}),Object.defineProperty(e,`withPodfile`,{enumerable:!0,get:function(){return y().withPodfile}}),Object.defineProperty(e,`withPodfileProperties`,{enumerable:!0,get:function(){return y().withPodfileProperties}}),Object.defineProperty(e,`withProjectBuildGradle`,{enumerable:!0,get:function(){return b().withProjectBuildGradle}}),Object.defineProperty(e,`withRunOnce`,{enumerable:!0,get:function(){return h().withRunOnce}}),Object.defineProperty(e,`withSettingsGradle`,{enumerable:!0,get:function(){return b().withSettingsGradle}}),Object.defineProperty(e,`withStaticPlugin`,{enumerable:!0,get:function(){return S().withStaticPlugin}}),Object.defineProperty(e,`withStringsXml`,{enumerable:!0,get:function(){return b().withStringsXml}}),Object.defineProperty(e,`withXcodeProject`,{enumerable:!0,get:function(){return y().withXcodeProject}});function n(){let e=E(Xn());return n=function(){return e},e}Object.defineProperty(e,`AndroidConfig`,{enumerable:!0,get:function(){return n()}});function r(){let e=E(na());return r=function(){return e},e}Object.defineProperty(e,`IOSConfig`,{enumerable:!0,get:function(){return r()}});function a(){let e=ra();return a=function(){return e},e}function o(){let e=aa();return o=function(){return e},e}function s(){let e=sa();return s=function(){return e},e}function c(){let e=E(Zt());return c=function(){return e},e}Object.defineProperty(e,`XML`,{enumerable:!0,get:function(){return c()}});function l(){let e=E(Gi());return l=function(){return e},e}Object.defineProperty(e,`CodeGenerator`,{enumerable:!0,get:function(){return l()}});function u(){let e=E(ca());return u=function(){return e},e}Object.defineProperty(e,`History`,{enumerable:!0,get:function(){return u()}});function d(){let e=E(gn());return d=function(){return e},e}Object.defineProperty(e,`WarningAggregator`,{enumerable:!0,get:function(){return d()}});function f(){let e=E(Wn());return f=function(){return e},e}Object.defineProperty(e,`Updates`,{enumerable:!0,get:function(){return f()}});var p=la();Object.keys(p).forEach(function(n){n===`default`||n===`__esModule`||Object.prototype.hasOwnProperty.call(t,n)||n in e&&e[n]===p[n]||Object.defineProperty(e,n,{enumerable:!0,get:function(){return p[n]}})});function m(){let e=Rn();return m=function(){return e},e}function h(){let e=ua();return h=function(){return e},e}function g(){let e=mn();return g=function(){return e},e}function _(){let e=da();return _=function(){return e},e}function v(){let e=tn();return v=function(){return e},e}function y(){let e=Hn();return y=function(){return e},e}function b(){let e=nn();return b=function(){return e},e}function x(){let e=fa();return x=function(){return e},e}function S(){let e=Ln();return S=function(){return e},e}function C(){let e=pa();return C=function(){return e},e}function w(){let e=en();return w=function(){return e},e}function T(e){if(typeof WeakMap!=`function`)return null;var t=new WeakMap,n=new WeakMap;return(T=function(e){return e?n:t})(e)}function E(e,t){if(!t&&e&&e.__esModule)return e;if(e===null||typeof e!=`object`&&typeof e!=`function`)return{default:e};var n=T(t);if(n&&n.has(e))return n.get(e);var r={__proto__:null},a=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if(o!==`default`&&{}.hasOwnProperty.call(e,o)){var s=a?Object.getOwnPropertyDescriptor(e,o):null;s&&(s.get||s.set)?Object.defineProperty(r,o,s):r[o]=e[o]}return r.default=e,n&&n.set(e,r),r}e.BaseMods={withGeneratedBaseMods:a().withGeneratedBaseMods,provider:a().provider,withAndroidBaseMods:o().withAndroidBaseMods,getAndroidModFileProviders:o().getAndroidModFileProviders,withIosBaseMods:s().withIosBaseMods,getIosModFileProviders:s().getIosModFileProviders}})),ha=ma();async function ga(){try{let e=await r.t(`npx`,[`expo`,`config`,`--json`]);return JSON.parse(e.stdout)}catch{throw Error(`Failed to read Expo config. Ensure Expo is installed and you are in an Expo project directory.`)}}const _a=e=>ha.IOSConfig.XcodeUtils.sanitizedName(e);async function va(e,t,n={},a){return a.write(`\n[chromatic] build: "${e} ${t.join(` `)}"\n`),r.t(e,t,{...n,stdout:a,stderr:a,env:{...n.env,EXPO_PUBLIC_STORYBOOK_ENABLED:`true`,STORYBOOK_ENABLED:`true`,EXPO_PUBLIC_STORYBOOK_DISABLE_UI:`true`,STORYBOOK_DISABLE_UI:`true`,EXPO_STORYBOOK_SERVER:`false`,STORYBOOK_SERVER:`false`,EXPO_PUBLIC_STORYBOOK_WEBSOCKET_HOST:`react-native.capture.chromatic.com`,STORYBOOK_WEBSOCKET_HOST:`react-native.capture.chromatic.com`,EXPO_PUBLIC_STORYBOOK_WS_HOST:`react-native.capture.chromatic.com`,STORYBOOK_WS_HOST:`react-native.capture.chromatic.com`,EXPO_PUBLIC_STORYBOOK_WEBSOCKET_PORT:`7007`,STORYBOOK_WEBSOCKET_PORT:`7007`,EXPO_PUBLIC_STORYBOOK_WS_PORT:`7007`,STORYBOOK_WS_PORT:`7007`,EXPO_PUBLIC_STORYBOOK_WEBSOCKET_SECURED:`true`,STORYBOOK_WEBSOCKET_SECURED:`true`,EXPO_PUBLIC_STORYBOOK_WS_SECURED:`true`,STORYBOOK_WS_SECURED:`true`}})}function ya(e){let t=o.default.dirname(e);if(!(0,a.existsSync)(t))throw Error(`Output directory does not exist: ${t}`)}async function ba(e,t,n=[]){ya(e);let r=new Date;t.write(`
[chromatic] Android build: npx expo prebuild --platform android
`),await va(`npx`,[`expo`,`prebuild`,`--platform`,`android`],{},t);let s=`-PreactNativeArchitectures=${[...new Set([`x86_64`,...n])].join(`,`)}`;t.write(`\n[chromatic] Android build: ./gradlew assembleRelease ${s}\n`),await va(`./gradlew`,[`assembleRelease`,s],{cwd:o.default.resolve(`android`)},t);let c=o.default.resolve(`android/app/build/outputs/apk/release/app-release.apk`);if(!(0,a.existsSync)(c))throw Error(`Expected APK not found at ${c}`);return(0,a.renameSync)(c,e),(Date.now()-r.getTime())/1e3}async function xa(e,t,n){ya(t);let r=new Date;if(process.platform!==`darwin`)throw Error(`iOS builds are only supported on macOS.`);let c=_a(e);n.write(`
[chromatic] iOS build: npx expo prebuild --platform ios
`),await va(`npx`,[`expo`,`prebuild`,`--platform`,`ios`],{},n);let l=(0,a.mkdtempSync)(o.default.join(s.default.tmpdir(),`chromatic-rn-ios-`)),u=[`-workspace`,`${c}.xcworkspace`,`-scheme`,c,`-configuration`,`Release`,`-sdk`,`iphonesimulator`,`-derivedDataPath`,l,`CODE_SIGNING_ALLOWED=NO`,`CODE_SIGNING_REQUIRED=NO`,`CODE_SIGN_ENTITLEMENTS=""`,`CODE_SIGN_IDENTITY=""`,`build`],d=o.default.join(l,`Build`,`Products`,`Release-iphonesimulator`,`${c}.app`);n.write(`\n[chromatic] iOS build: xcodebuild ${u.join(` `)}\n`);try{if(await va(`xcodebuild`,u,{cwd:o.default.resolve(`ios`)},n),!(0,a.existsSync)(d))throw Error(`Expected .app bundle not found at ${d}`);return(0,a.renameSync)(d,t),(Date.now()-r.getTime())/1e3}finally{(0,a.rmSync)(l,{recursive:!0,force:!0})}}Object.defineProperty(exports,`a`,{enumerable:!0,get:function(){return oi}}),Object.defineProperty(exports,`c`,{enumerable:!0,get:function(){return Ye}}),Object.defineProperty(exports,`i`,{enumerable:!0,get:function(){return ga}}),Object.defineProperty(exports,`l`,{enumerable:!0,get:function(){return Qe}}),Object.defineProperty(exports,`n`,{enumerable:!0,get:function(){return xa}}),Object.defineProperty(exports,`o`,{enumerable:!0,get:function(){return ut}}),Object.defineProperty(exports,`r`,{enumerable:!0,get:function(){return va}}),Object.defineProperty(exports,`s`,{enumerable:!0,get:function(){return ct}}),Object.defineProperty(exports,`t`,{enumerable:!0,get:function(){return ba}}),Object.defineProperty(exports,`u`,{enumerable:!0,get:function(){return $}});
//# sourceMappingURL=build-DavbdcXs.cjs.map
//# debugId=beedd97a-5c2e-554a-9210-1c8ec98a0b10