/*! For license information please see index.js.LICENSE.txt */ (() => { var e, t, n, r, o = { 52659: (e, t, n) => { "use strict"; n.r(t); }, 96892: (e, t, n) => { "use strict"; n.r(t); }, 48126: (e, t, n) => { "use strict"; n.r(t); }, 40215: (e, t, n) => { "use strict"; n.r(t); }, 88445: (e, t, n) => { "use strict"; n.r(t); }, 31793: (e, t, n) => { "use strict"; n.r(t); }, 72792: (e, t, n) => { "use strict"; n.r(t); }, 6618: (e, t, n) => { "use strict"; n.r(t); }, 86756: (e, t, n) => { "use strict"; n.r(t); }, 18333: (e, t, n) => { "use strict"; n.r(t); }, 26801: (e, t, n) => { "use strict"; n.r(t); }, 56257: (e, t, n) => { "use strict"; n.r(t); }, 37088: (e, t, n) => { "use strict"; n.r(t); }, 37713: (e, t, n) => { "use strict"; n.r(t); }, 52918: (e, t, n) => { "use strict"; n.r(t); }, 82851: (e, t, n) => { "use strict"; n.r(t); }, 28849: (e, t, n) => { "use strict"; n.r(t); }, 26705: (e, t, n) => { "use strict"; n.r(t); }, 49523: (e, t, n) => { "use strict"; n.r(t); }, 35912: (e, t, n) => { "use strict"; n.r(t); }, 26787: (e, t, n) => { "use strict"; n.r(t); }, 86404: (e, t, n) => { "use strict"; n.r(t); }, 57268: (e, t, n) => { "use strict"; n.r(t); }, 45337: (e, t, n) => { "use strict"; n.r(t); }, 31853: (e, t, n) => { "use strict"; n.r(t); }, 59240: (e, t, n) => { "use strict"; n.r(t); }, 3419: (e, t, n) => { "use strict"; n.r(t); }, 60497: (e, t, n) => { "use strict"; n.r(t); }, 32674: (e, t, n) => { "use strict"; n.r(t); }, 86072: (e, t, n) => { "use strict"; n.r(t); }, 89645: (e, t, n) => { "use strict"; n.r(t); }, 81500: (e, t, n) => { "use strict"; n.r(t); }, 19353: (e, t, n) => { "use strict"; n.r(t); }, 48327: (e, t, n) => { "use strict"; n.r(t); }, 19441: (e, t, n) => { var r = n(23469); function o(e) { return r.createElement("svg", e, [ r.createElement("defs", { key: 0 }, r.createElement("style", null, "\n .fill {\n fill: #ffffff;\n }\n ")), r.createElement("title", { key: 1 }, "S_Invite_18_N"), r.createElement("rect", { id: "Canvas", fill: "#ff13dc", opacity: "0", width: "18", height: "18", key: 2 }), r.createElement("g", { "data-name": "Layer 1", id: "Layer_1", key: 3 }, [ r.createElement("path", { className: "fill", d: "M9.601,15.31244a6.93207,6.93207,0,0,1-6.96039-2.34711A5.8566,5.8566,0,0,1,5.54126,11.6521c.71411-.06213.72534-.63623.72534-1.35205A6.51379,6.51379,0,0,1,4.73633,6.418C4.73633,4.06726,6.074,2.5,8,2.5s3.26373,1.56726,3.26373,3.918a6.51379,6.51379,0,0,1-1.53027,3.88208c0,.71582.01123,1.28992.72534,1.35205a5.58159,5.58159,0,0,1,2.0412.71558V11.25A1.752,1.752,0,0,1,14.25,9.5h.5a1.73331,1.73331,0,0,1,1.11768.41473,8.01014,8.01014,0,1,0-5.62586,6.26087A1.74993,1.74993,0,0,1,9.601,15.31244Z", key: 0, }), r.createElement("path", { className: "fill", d: "M14.25,11a.24984.24984,0,0,0-.25.25V14H11.25a.24984.24984,0,0,0-.25.25v.5a.24984.24984,0,0,0,.25.25H14v2.75a.24984.24984,0,0,0,.25.25h.5a.24984.24984,0,0,0,.25-.25V15h2.75a.24984.24984,0,0,0,.25-.25v-.5a.24984.24984,0,0,0-.25-.25H15V11.25a.24984.24984,0,0,0-.25-.25Z", key: 1, }), ]), ]); } (o.defaultProps = { height: "18", viewBox: "0 0 18 18", width: "18" }), (e.exports = o), (o.default = o); }, 51750: (e, t, n) => { var r = n(23469); function o(e) { return r.createElement("svg", e, [ r.createElement("title", { key: 0 }, "Artboard 1"), r.createElement("path", { id: "White_Bg", "data-name": "White Bg", d: "M6,31.56836a2.50263,2.50263,0,0,1-2.5-2.5v-26a2.50294,2.50294,0,0,1,2.5-2.5H21.37988a1.98332,1.98332,0,0,1,1.41114.5835l5.12011,5.10156A2.01544,2.01544,0,0,1,28.5,7.66992V29.06836a2.50231,2.50231,0,0,1-2.5,2.5Z", fill: "#fff", key: 1, }), r.createElement("path", { id: "Gray_Outline", "data-name": "Gray Outline", d: "M21.38,1.06818a1.5,1.5,0,0,1,1.05879.43747l5.12,5.102A1.5,1.5,0,0,1,28,7.67014v21.398a2,2,0,0,1-2,2H6a2,2,0,0,1-2-2v-26a2,2,0,0,1,2-2H21.38m0-1H6a3.00339,3.00339,0,0,0-3,3v26a3.00339,3.00339,0,0,0,3,3H26a3.00339,3.00339,0,0,0,3-3V7.67014a2.5169,2.5169,0,0,0-.73536-1.77089L23.14469.7973A2.48407,2.48407,0,0,0,21.38.06818Z", fill: "#b3b3b3", key: 2, }), r.createElement("path", { id: "Figure", d: "M22.0625,11.01562,18,11l-.00068-3.47757A.60792.60792,0,0,0,17.65625,7a1.04335,1.04335,0,0,0-.8125.125L9.02586,15.01015c-.13521.14987-.0607.53731.01945.72237A.454.454,0,0,0,9.5,15.97917H13a3.01671,3.01671,0,0,0,3.125,3.00521,3.14709,3.14709,0,0,0,2.91667-2.00521h2.96349a1.02021,1.02021,0,0,0,.97922-1.04053v-3.923A.93846.93846,0,0,0,22.0625,11.01562Zm-12,4.00521,6.95833-6.73572L17,11a.96543.96543,0,0,0-.97917.9772V13a3.08452,3.08452,0,0,0-3.01041,2.03125Zm6.02961,3.10683A2.18581,2.18581,0,0,1,13.97917,16a2.09045,2.09045,0,0,1,2.103-2.125A2.005,2.005,0,0,1,18.19889,16,1.92669,1.92669,0,0,1,16.09211,18.12766Z", fill: "#4b4b4b", key: 3, }), ]); } (o.defaultProps = { id: "Modifier", viewBox: "0 0 32 32" }), (e.exports = o), (o.default = o); }, 66635: (e, t, n) => { var r = n(23469); function o(e) { return r.createElement("svg", e, [ r.createElement("title", { key: 0 }, "Artboard 1"), r.createElement("path", { id: "White_Bg", "data-name": "White Bg", d: "M6,31.56836a2.50263,2.50263,0,0,1-2.5-2.5v-26a2.50294,2.50294,0,0,1,2.5-2.5H21.37988a1.98332,1.98332,0,0,1,1.41114.5835l5.12011,5.10156A2.01544,2.01544,0,0,1,28.5,7.66992V29.06836a2.50231,2.50231,0,0,1-2.5,2.5Z", fill: "#fff", key: 1, }), r.createElement("path", { id: "Gray_Outline", "data-name": "Gray Outline", d: "M21.38,1.06818a1.5,1.5,0,0,1,1.05879.43747l5.12,5.102A1.5,1.5,0,0,1,28,7.67014v21.398a2,2,0,0,1-2,2H6a2,2,0,0,1-2-2v-26a2,2,0,0,1,2-2H21.38m0-1H6a3.00339,3.00339,0,0,0-3,3v26a3.00339,3.00339,0,0,0,3,3H26a3.00339,3.00339,0,0,0,3-3V7.67014a2.5169,2.5169,0,0,0-.73536-1.77089L23.14469.7973A2.48407,2.48407,0,0,0,21.38.06818Z", fill: "#b3b3b3", key: 2, }), r.createElement("g", { id: "Figure", key: 3 }, [ r.createElement("path", { d: "M23.1,6.5h-12A1.10976,1.10976,0,0,0,10,7.6V8.7H8.9A1.10976,1.10976,0,0,0,7.8,9.8v8.7a1.10976,1.10976,0,0,0,1.1,1.1H20.8a1.10976,1.10976,0,0,0,1.1-1.1V17.4H23a1.10976,1.10976,0,0,0,1.1-1.1V7.6A1.02782,1.02782,0,0,0,23.1,6.5Zm-2.2,12H8.9V9.8H20.8v8.7ZM22,16.3V9.8a1.10976,1.10976,0,0,0-1.1-1.1H11.1V7.6h12v8.7Z", fill: "#4b4b4b", key: 0, }), r.createElement("path", { d: "M17.1,14.4l-3.9,1.9c-.2.1-.4-.1-.4-.3V12.2a.271.271,0,0,1,.4-.2l3.9,1.9A.28333.28333,0,0,1,17.1,14.4Z", fill: "#4b4b4b", key: 1 }), ]), ]); } (o.defaultProps = { id: "Layer", viewBox: "0 0 32 32" }), (e.exports = o), (o.default = o); }, 175: (e, t, n) => { var r = n(23469); function o(e) { return r.createElement("svg", e, [ r.createElement("title", { key: 0 }, "Artboard 1"), r.createElement("path", { id: "White_Bg", "data-name": "White Bg", d: "M6,31.56836a2.50263,2.50263,0,0,1-2.5-2.5v-26a2.50294,2.50294,0,0,1,2.5-2.5H21.37988a1.98332,1.98332,0,0,1,1.41114.5835l5.12011,5.10156A2.01544,2.01544,0,0,1,28.5,7.66992V29.06836a2.50231,2.50231,0,0,1-2.5,2.5Z", fill: "#fff", key: 1, }), r.createElement("path", { id: "Gray_Outline", "data-name": "Gray Outline", d: "M21.38,1.06818a1.5,1.5,0,0,1,1.05879.43747l5.12,5.102A1.5,1.5,0,0,1,28,7.67014v21.398a2,2,0,0,1-2,2H6a2,2,0,0,1-2-2v-26a2,2,0,0,1,2-2H21.38m0-1H6a3.00339,3.00339,0,0,0-3,3v26a3.00339,3.00339,0,0,0,3,3H26a3.00339,3.00339,0,0,0,3-3V7.67014a2.5169,2.5169,0,0,0-.73536-1.77089L23.14469.7973A2.48407,2.48407,0,0,0,21.38.06818Z", fill: "#b3b3b3", key: 2, }), r.createElement("path", { id: "Figure", d: "M23.9269,6.00566H8.0877a1.00628,1.00628,0,0,0-1.0646.92142v9.46474c0,1.08735.45607,1.558,1.45607,1.558H23.50425a1.37827,1.37827,0,0,0,1.4636-1.558V6.92708A1.12473,1.12473,0,0,0,23.9269,6.00566ZM16.97917,8.97917H24V11H16.97917Zm0,2.99657H24V14H16.97917ZM12.003,17.00637H8.47917a.50147.50147,0,0,1-.5-.5v-1.5062H12.003ZM12.003,14H7.97917V11.97574H12.003Zm0-3H7.97917V8.97917H12.003Zm4.01781,6.01768L13,17.00637v-2.0062h3.02083Zm0-3.01768H13V11.97574h3.02083Zm0-3H13V8.97917h3.02083Zm7.97948,5.51113a.49605.49605,0,0,1-.49606.49524H16.97917v-2.0062h7.02366Z", fill: "#4b4b4b", key: 3, }), ]); } (o.defaultProps = { id: "Layer", viewBox: "0 0 32 32" }), (e.exports = o), (o.default = o); }, 52951: (e, t, n) => { var r = n(23469); function o(e) { return r.createElement("svg", e, [ r.createElement("title", { key: 0 }, "Artboard 1"), r.createElement("path", { id: "White_Bg", "data-name": "White Bg", d: "M6,31.56836a2.50263,2.50263,0,0,1-2.5-2.5v-26a2.50294,2.50294,0,0,1,2.5-2.5H21.37988a1.98332,1.98332,0,0,1,1.41114.5835l5.12011,5.10156A2.01544,2.01544,0,0,1,28.5,7.66992V29.06836a2.50231,2.50231,0,0,1-2.5,2.5Z", fill: "#fff", key: 1, }), r.createElement("path", { id: "Gray_Outline", "data-name": "Gray Outline", d: "M21.38,1.06818a1.5,1.5,0,0,1,1.05879.43747l5.12,5.102A1.5,1.5,0,0,1,28,7.67014v21.398a2,2,0,0,1-2,2H6a2,2,0,0,1-2-2v-26a2,2,0,0,1,2-2H21.38m0-1H6a3.00339,3.00339,0,0,0-3,3v26a3.00339,3.00339,0,0,0,3,3H26a3.00339,3.00339,0,0,0,3-3V7.67014a2.5169,2.5169,0,0,0-.73536-1.77089L23.14469.7973A2.48407,2.48407,0,0,0,21.38.06818Z", fill: "#b3b3b3", key: 2, }), r.createElement("g", { id: "Figure", key: 3 }, [ r.createElement("path", { d: "M8.32328,7.05945A.316.316,0,0,0,8,7.36126L8,9.6801a.29749.29749,0,0,0,.30823.29534h.36365a.2912.2912,0,0,0,.29687-.29929V7.98438H11.473l-.00428,6.03124H10.3374a.35.35,0,0,0-.32747.33605l.00072.33585a.32106.32106,0,0,0,.3331.29686h3.304a.32521.32521,0,0,0,.321-.315v-.38946c0-.17023-.1571-.26427-.32733-.26427h-1.1883V8h2.54944l-.00241,1.67932a.27814.27814,0,0,0,.28385.29612h.41653a.27419.27419,0,0,0,.28109-.29392L15.983,7.35608a.29.29,0,0,0-.29806-.29663Z", fill: "#4b4b4b", key: 0, }), r.createElement("rect", { x: "16.07813", y: "12.01563", width: "7.89063", height: "0.9375", rx: "0.46875", ry: "0.46875", fill: "#4b4b4b", key: 1 }), r.createElement("rect", { x: "16.07813", y: "14.04688", width: "7.89063", height: "0.9375", rx: "0.46875", ry: "0.46875", fill: "#4b4b4b", key: 2 }), r.createElement("rect", { x: "10", y: "16.03125", width: "13.95312", height: "0.9375", rx: "0.46875", ry: "0.46875", fill: "#4b4b4b", key: 3 }), ]), ]); } (o.defaultProps = { id: "Modifier", viewBox: "0 0 32 32" }), (e.exports = o), (o.default = o); }, 22108: (e, t, n) => { var r = n(23469); function o(e) { return r.createElement("svg", e, [ r.createElement("defs", { key: 0 }, r.createElement("style", null, ".cls-1{fill:#fff;}.cls-2{fill:#b3b3b3;}.cls-3{fill:#4b4b4b;}")), r.createElement("title", { key: 1 }, "Artboard 1"), r.createElement("path", { id: "White_Bg", "data-name": "White Bg", className: "cls-1", d: "M6,31.6a2.47572,2.47572,0,0,1-2.5-2.5V3.1A2.47572,2.47572,0,0,1,6,.6H21.4a1.97434,1.97434,0,0,1,1.4.6l5.1,5.1a1.97434,1.97434,0,0,1,.6,1.4V29.1A2.47572,2.47572,0,0,1,26,31.6Z", key: 2, }), r.createElement("path", { id: "Gray_Outline", "data-name": "Gray Outline", className: "cls-2", d: "M21.4,1.1a2.09694,2.09694,0,0,1,1.1.4l5.1,5.1A2.09694,2.09694,0,0,1,28,7.7V29.1a2.00588,2.00588,0,0,1-2,2H6a2.00588,2.00588,0,0,1-2-2V3.1a2.00588,2.00588,0,0,1,2-2H21.4m0-1H6a2.94645,2.94645,0,0,0-3,3v26a2.94645,2.94645,0,0,0,3,3H26a2.94645,2.94645,0,0,0,3-3V7.7a2.875,2.875,0,0,0-.7-1.8L23.2.8A2.567,2.567,0,0,0,21.4.1Z", key: 3, }), r.createElement("path", { id: "_512", "data-name": "512", className: "cls-3", d: "M16.07652,6.99513a6,6,0,1,0,6,6A5.99842,5.99842,0,0,0,16.07652,6.99513Zm2.78515,6.12012a.443.443,0,0,1-.10522.10986l-3.59915,2.105a.32319.32319,0,0,1-.155.04h-.3a.32118.32118,0,0,1-.31323-.31006V10.87013a.32688.32688,0,0,1,.31714-.3125h.30005a.27944.27944,0,0,1,.15042.05762l3.59985,2.08984A.30134.30134,0,0,1,18.86167,13.11525Z", key: 4, }), ]); } (o.defaultProps = { id: "Layer", viewBox: "0 0 32 32" }), (e.exports = o), (o.default = o); }, 18854: (e, t, n) => { var r = n(23469); function o(e) { return r.createElement("svg", e, [ r.createElement("style", { type: "text/css", key: 0 }, "\n\t.st0{fill:#290741;}\n\t.st1{fill:#CD87FF;}\n\t.st2{fill:#FAFAFA;}\n\t.st3{fill:none;}\n"), r.createElement("g", { key: 1 }, [ r.createElement("path", { className: "st0", d: "M6,31.5c-1.378,0-2.5-1.121-2.5-2.5V3c0-1.378,1.122-2.5,2.5-2.5h15.38c0.533,0,1.034,0.207,1.411,0.583\n\t\tl5.12,5.102C28.285,6.558,28.5,7.074,28.5,7.602V29c0,1.379-1.121,2.5-2.5,2.5H6z", key: 0, }), r.createElement("path", { className: "st1", d: "M21.38,1c0.397,0,0.778,0.157,1.059,0.437l5.12,5.102C27.841,6.821,28,7.203,28,7.602V29c0,1.105-0.895,2-2,2\n\t\tH6c-1.105,0-2-0.895-2-2V3c0-1.105,0.895-2,2-2H21.38 M21.38,0H6C4.346,0,3,1.346,3,3v26c0,1.654,1.346,3,3,3h20\n\t\tc1.654,0,3-1.346,3-3V7.602c0-0.66-0.268-1.305-0.735-1.771l-5.12-5.102C22.673,0.259,22.046,0,21.38,0L21.38,0z", key: 1, }), ]), r.createElement( "g", { key: 2 }, r.createElement("g", null, [ r.createElement("path", { className: "st2", d: "M8.108,26.228L7.94,26.861l-0.168,0.634c-0.003,0.018-0.009,0.03-0.018,0.038s-0.024,0.011-0.045,0.011H7.398\n\t\t\tH7.086c-0.021,0-0.033-0.003-0.039-0.013s-0.006-0.026-0.003-0.05l0.602-2.108l0.602-2.108c0.01-0.039,0.019-0.073,0.026-0.125\n\t\t\ts0.012-0.12,0.016-0.225c0-0.014,0.004-0.024,0.01-0.031s0.015-0.011,0.025-0.011h0.445h0.445c0.014,0,0.024,0.002,0.032,0.008\n\t\t\ts0.013,0.017,0.017,0.034l0.676,2.287l0.676,2.287c0.004,0.017,0.004,0.031-0.002,0.041s-0.016,0.015-0.033,0.015h-0.35H9.88\n\t\t\tc-0.017,0-0.031-0.003-0.042-0.01s-0.018-0.017-0.021-0.032l-0.175-0.637l-0.175-0.637H8.788H8.108z M9.292,25.534\n\t\t\tc-0.059-0.235-0.159-0.608-0.257-0.984s-0.194-0.756-0.247-1.005H8.784H8.781c-0.045,0.249-0.124,0.581-0.213,0.934\n\t\t\ts-0.189,0.726-0.277,1.055h0.501H9.292z", key: 0, }), r.createElement("path", { className: "st2", d: "M13.772,27.488c-0.004,0.021-0.009,0.035-0.019,0.044s-0.024,0.012-0.045,0.012h-1.198h-1.198\n\t\t\tc-0.021,0-0.035-0.003-0.044-0.012s-0.012-0.023-0.012-0.044v-2.28v-2.28c0-0.021,0.004-0.035,0.012-0.044\n\t\t\ts0.023-0.013,0.044-0.013h1.156h1.156c0.021,0,0.035,0.002,0.045,0.009s0.015,0.02,0.018,0.041l0.031,0.294l0.031,0.294\n\t\t\tc0.004,0.018,0.002,0.031-0.005,0.041s-0.019,0.015-0.037,0.015h-0.844h-0.844v0.624v0.624h0.76h0.76\n\t\t\tc0.018,0,0.03,0.003,0.038,0.011s0.011,0.02,0.011,0.038v0.298v0.298c0,0.018-0.005,0.03-0.015,0.038s-0.024,0.011-0.041,0.011\n\t\t\th-0.756h-0.756v0.672v0.672h0.9h0.9c0.021,0,0.033,0.003,0.039,0.011s0.006,0.02,0.003,0.038l-0.045,0.294L13.772,27.488z", key: 1, }), r.createElement("path", { className: "st2", d: "M17.237,27.425c0,0.021-0.004,0.037-0.012,0.049s-0.021,0.021-0.038,0.028\n\t\t\tc-0.091,0.039-0.21,0.065-0.344,0.082s-0.283,0.024-0.434,0.024c-0.546,0-1.061-0.179-1.439-0.568s-0.62-0.988-0.62-1.828\n\t\t\tc0-0.722,0.214-1.324,0.59-1.746s0.916-0.663,1.567-0.663c0.172,0,0.32,0.009,0.443,0.025s0.219,0.041,0.286,0.072\n\t\t\tc0.017,0.007,0.028,0.016,0.034,0.028s0.008,0.028,0.008,0.049v0.301v0.301c0,0.028-0.007,0.042-0.017,0.048\n\t\t\ts-0.022,0.004-0.033,0.001c-0.084-0.042-0.189-0.075-0.31-0.098s-0.257-0.035-0.404-0.035c-0.41,0-0.751,0.156-0.99,0.445\n\t\t\ts-0.375,0.713-0.375,1.249c0,0.662,0.187,1.091,0.452,1.354s0.606,0.361,0.914,0.361c0.14,0,0.257-0.005,0.365-0.019\n\t\t\ts0.206-0.037,0.307-0.072c0.014-0.007,0.027-0.01,0.036-0.006s0.014,0.017,0.014,0.041v0.287V27.425z", key: 2, }), r.createElement("path", { className: "st2", d: "M18.839,26.228l-0.168,0.634l-0.168,0.634c-0.003,0.018-0.009,0.03-0.018,0.038s-0.023,0.011-0.044,0.011\n\t\t\th-0.312h-0.312c-0.021,0-0.033-0.003-0.04-0.013s-0.006-0.026-0.002-0.05l0.602-2.108l0.602-2.108\n\t\t\tc0.011-0.039,0.02-0.073,0.026-0.125s0.012-0.12,0.016-0.225c0-0.014,0.004-0.024,0.01-0.031s0.015-0.011,0.025-0.011H19.5h0.445\n\t\t\tc0.014,0,0.025,0.002,0.032,0.008s0.013,0.017,0.016,0.034l0.676,2.287l0.676,2.287c0.003,0.017,0.003,0.031-0.002,0.041\n\t\t\ts-0.016,0.015-0.033,0.015h-0.35h-0.35c-0.018,0-0.031-0.003-0.042-0.01s-0.017-0.017-0.021-0.032l-0.175-0.637l-0.175-0.637\n\t\t\th-0.679H18.839z M20.022,25.534c-0.06-0.235-0.159-0.608-0.258-0.984s-0.195-0.756-0.247-1.005h-0.003h-0.003\n\t\t\tc-0.045,0.249-0.124,0.581-0.214,0.934s-0.189,0.726-0.277,1.055h0.501H20.022z", key: 3, }), r.createElement("path", { className: "st2", d: "M21.989,22.929c0-0.014,0.002-0.026,0.008-0.035s0.017-0.014,0.034-0.014\n\t\t\tc0.137-0.007,0.305-0.013,0.491-0.016s0.391-0.005,0.601-0.005c0.588,0,1.01,0.161,1.285,0.426s0.402,0.632,0.402,1.045\n\t\t\tc0,0.54-0.194,0.925-0.509,1.175s-0.748,0.366-1.228,0.366c-0.081,0-0.135-0.002-0.183-0.003s-0.09-0.003-0.146-0.003v0.816v0.816\n\t\t\tc0,0.018-0.004,0.03-0.012,0.038s-0.021,0.011-0.038,0.011h-0.329h-0.329c-0.018,0-0.03-0.003-0.038-0.011\n\t\t\ts-0.011-0.02-0.011-0.038v-2.283V22.929z M22.746,25.184c0.049,0.003,0.093,0.005,0.145,0.006s0.114,0.001,0.198,0.001\n\t\t\tc0.249,0,0.489-0.044,0.666-0.172s0.294-0.34,0.294-0.676c0-0.27-0.082-0.472-0.235-0.608s-0.377-0.204-0.661-0.204\n\t\t\tc-0.084,0-0.167,0.002-0.238,0.004s-0.13,0.006-0.169,0.009v0.819V25.184z", key: 4, }), ]) ), r.createElement("g", { id: "_x36_4_6_", key: 3 }, [ r.createElement("polygon", { className: "st3", points: "28,18.5 16,18.5 4,18.5 4,12.812 4,7.125 16,7.125 28,7.125 28,12.812 \t", key: 0 }), r.createElement("path", { className: "st1", d: "M10.849,14.788l-0.768,2.897c-0.016,0.08-0.048,0.112-0.144,0.112H8.512c-0.096,0-0.112-0.032-0.096-0.145\n\t\tl2.753-9.635c0.048-0.176,0.08-0.32,0.096-0.8c0-0.064,0.032-0.096,0.08-0.096h2.033c0.064,0,0.096,0.016,0.112,0.096l3.089,10.452\n\t\tc0.016,0.08,0,0.128-0.08,0.128h-1.601c-0.08,0-0.128-0.032-0.144-0.096l-0.8-2.914H10.849z M13.555,13.203\n\t\tc-0.272-1.073-0.913-3.41-1.153-4.546h-0.016c-0.208,1.136-0.72,3.041-1.12,4.546H13.555z", key: 1, }), r.createElement("path", { className: "st1", d: "M18.897,14.211c0.016,1.312,0.641,2.193,2.113,2.193c0.576,0,1.072-0.08,1.584-0.304\n\t\tc0.064-0.032,0.112-0.016,0.112,0.064v1.217c0,0.096-0.032,0.144-0.096,0.192c-0.513,0.256-1.152,0.368-1.953,0.368\n\t\tc-2.561,0-3.521-1.889-3.521-4.002c0-2.289,1.185-4.162,3.266-4.162c2.112,0,2.849,1.776,2.849,3.217\n\t\tc0,0.464-0.031,0.848-0.08,1.024c-0.016,0.08-0.048,0.112-0.128,0.128c-0.191,0.032-0.768,0.064-1.616,0.064H18.897z\n\t\t M20.866,12.883c0.496,0,0.673,0,0.721-0.016c0-0.064,0.016-0.128,0.016-0.176c0-0.528-0.256-1.489-1.265-1.489\n\t\tc-0.928,0-1.328,0.816-1.425,1.681H20.866z", key: 2, }), ]), r.createElement("g", { key: 4 }), r.createElement("g", { key: 5 }), r.createElement("g", { key: 6 }), r.createElement("g", { key: 7 }), r.createElement("g", { key: 8 }), r.createElement("g", { key: 9 }), ]); } (o.defaultProps = { version: "1.1", id: "Layer_1", x: "0px", y: "0px", viewBox: "0 0 32 32", style: { enableBackground: "new 0 0 32 32" }, xmlSpace: "preserve" }), (e.exports = o), (o.default = o); }, 42559: (e, t, n) => { var r = n(23469); function o(e) { return r.createElement("svg", e, [ r.createElement("style", { type: "text/css", key: 0 }, "\n\t.st0{fill:#290741;}\n\t.st1{fill:#CD87FF;}\n\t.st2{fill:none;}\n\t.st3{fill:#FAFAFA;}\n"), r.createElement("g", { key: 1 }, [ r.createElement("path", { className: "st0", d: "M6,31.5c-1.378,0-2.5-1.121-2.5-2.5V3c0-1.378,1.122-2.5,2.5-2.5h15.38c0.533,0,1.034,0.207,1.411,0.583\n\t\tl5.12,5.102C28.285,6.558,28.5,7.074,28.5,7.602V29c0,1.379-1.121,2.5-2.5,2.5H6z", key: 0, }), r.createElement("path", { className: "st1", d: "M21.38,1c0.397,0,0.778,0.157,1.059,0.437l5.12,5.102C27.841,6.821,28,7.203,28,7.602V29c0,1.105-0.895,2-2,2\n\t\tH6c-1.105,0-2-0.895-2-2V3c0-1.105,0.895-2,2-2H21.38 M21.38,0H6C4.346,0,3,1.346,3,3v26c0,1.654,1.346,3,3,3h20\n\t\tc1.654,0,3-1.346,3-3V7.602c0-0.66-0.268-1.305-0.735-1.771l-5.12-5.102C22.673,0.259,22.046,0,21.38,0L21.38,0z", key: 1, }), ]), r.createElement("g", { id: "_x36_4_6_", key: 2 }, [ r.createElement("polygon", { className: "st2", points: "28,18.5 16,18.5 4,18.5 4,12.812 4,7.125 16,7.125 28,7.125 28,12.812 \t", key: 0 }), r.createElement("path", { className: "st1", d: "M10.849,14.788l-0.768,2.897c-0.016,0.08-0.048,0.112-0.144,0.112H8.512c-0.096,0-0.112-0.032-0.096-0.145\n\t\tl2.753-9.635c0.048-0.176,0.08-0.32,0.096-0.8c0-0.064,0.032-0.096,0.08-0.096h2.033c0.064,0,0.096,0.016,0.112,0.096l3.089,10.452\n\t\tc0.016,0.08,0,0.128-0.08,0.128h-1.601c-0.08,0-0.128-0.032-0.144-0.096l-0.8-2.914H10.849z M13.555,13.203\n\t\tc-0.272-1.073-0.913-3.41-1.153-4.546h-0.016c-0.208,1.136-0.72,3.041-1.12,4.546H13.555z", key: 1, }), r.createElement("path", { className: "st1", d: "M18.897,14.211c0.016,1.312,0.641,2.193,2.113,2.193c0.576,0,1.072-0.08,1.584-0.304\n\t\tc0.064-0.032,0.112-0.016,0.112,0.064v1.217c0,0.096-0.032,0.144-0.096,0.192c-0.513,0.256-1.152,0.368-1.953,0.368\n\t\tc-2.561,0-3.521-1.889-3.521-4.002c0-2.289,1.185-4.162,3.266-4.162c2.112,0,2.849,1.776,2.849,3.217\n\t\tc0,0.464-0.031,0.848-0.08,1.024c-0.016,0.08-0.048,0.112-0.128,0.128c-0.191,0.032-0.768,0.064-1.616,0.064H18.897z\n\t\t M20.866,12.883c0.496,0,0.673,0,0.721-0.016c0-0.064,0.016-0.128,0.016-0.176c0-0.528-0.256-1.489-1.265-1.489\n\t\tc-0.928,0-1.328,0.816-1.425,1.681H20.866z", key: 2, }), ]), r.createElement( "g", { key: 3 }, r.createElement("g", null, [ r.createElement("path", { className: "st3", d: "M11.594,26.228l-0.168,0.634l-0.168,0.634c-0.003,0.018-0.009,0.03-0.018,0.038s-0.024,0.011-0.045,0.011\n\t\t\th-0.312h-0.312c-0.021,0-0.033-0.003-0.039-0.013s-0.006-0.026-0.003-0.05l0.602-2.108l0.602-2.108\n\t\t\tc0.01-0.039,0.019-0.073,0.026-0.125s0.012-0.12,0.016-0.225c0-0.014,0.004-0.024,0.01-0.031s0.015-0.011,0.025-0.011h0.445h0.445\n\t\t\tc0.014,0,0.024,0.002,0.032,0.008s0.013,0.017,0.017,0.034l0.676,2.287l0.676,2.287c0.004,0.017,0.004,0.031-0.002,0.041\n\t\t\ts-0.016,0.015-0.033,0.015h-0.35h-0.35c-0.017,0-0.031-0.003-0.042-0.01s-0.018-0.017-0.021-0.032l-0.175-0.637l-0.175-0.637\n\t\t\th-0.679H11.594z M12.778,25.534c-0.06-0.235-0.159-0.608-0.258-0.984s-0.194-0.756-0.247-1.005H12.27h-0.004\n\t\t\tc-0.045,0.249-0.124,0.581-0.213,0.934s-0.189,0.726-0.277,1.055h0.501H12.778z", key: 0, }), r.createElement("path", { className: "st3", d: "M17.258,27.488c-0.003,0.021-0.009,0.035-0.018,0.044s-0.023,0.012-0.044,0.012h-1.198H14.8\n\t\t\tc-0.021,0-0.035-0.003-0.044-0.012s-0.012-0.023-0.012-0.044v-2.28v-2.28c0-0.021,0.004-0.035,0.012-0.044\n\t\t\ts0.023-0.013,0.044-0.013h1.156h1.156c0.021,0,0.035,0.002,0.044,0.009s0.015,0.02,0.018,0.041l0.032,0.294l0.032,0.294\n\t\t\tc0.003,0.018,0.002,0.031-0.005,0.041s-0.019,0.015-0.037,0.015h-0.844h-0.844v0.624v0.624h0.76h0.76\n\t\t\tc0.017,0,0.029,0.003,0.037,0.011s0.012,0.02,0.012,0.038v0.298v0.298c0,0.018-0.005,0.03-0.015,0.038s-0.024,0.011-0.042,0.011\n\t\t\th-0.756h-0.756v0.672v0.672h0.9h0.9c0.021,0,0.034,0.003,0.04,0.011s0.006,0.02,0.003,0.038l-0.046,0.294L17.258,27.488z", key: 1, }), r.createElement("path", { className: "st3", d: "M19.729,25.639c-0.021-0.003-0.033-0.009-0.041-0.018s-0.009-0.023-0.009-0.044v-0.28v-0.28\n\t\t\tc0-0.018,0.004-0.03,0.011-0.038s0.018-0.011,0.031-0.011h0.69h0.69c0.021,0,0.033,0.003,0.041,0.011s0.009,0.02,0.009,0.038\n\t\t\tv1.166v1.166c0.003,0.018,0.001,0.03-0.006,0.039s-0.02,0.017-0.037,0.024c-0.207,0.077-0.406,0.126-0.598,0.156\n\t\t\ts-0.375,0.04-0.551,0.04c-0.721,0-1.25-0.266-1.599-0.696s-0.517-1.021-0.517-1.673c0-0.756,0.229-1.364,0.627-1.782\n\t\t\ts0.963-0.648,1.636-0.648c0.186,0,0.359,0.01,0.512,0.033s0.286,0.058,0.391,0.106c0.018,0.007,0.028,0.018,0.034,0.031\n\t\t\ts0.008,0.029,0.008,0.046v0.308v0.308c0,0.018-0.005,0.03-0.015,0.036s-0.023,0.006-0.041-0.001\n\t\t\tc-0.123-0.063-0.257-0.107-0.405-0.135s-0.309-0.04-0.484-0.04c-0.487-0.003-0.854,0.156-1.1,0.451s-0.37,0.726-0.37,1.265\n\t\t\tc0,0.511,0.119,0.938,0.348,1.238s0.569,0.471,1.01,0.471c0.084,0,0.154-0.003,0.217-0.012s0.119-0.023,0.175-0.044v-0.605V25.66\n\t\t\tl-0.329-0.011L19.729,25.639z", key: 2, }), ]) ), r.createElement("g", { key: 4 }), r.createElement("g", { key: 5 }), r.createElement("g", { key: 6 }), r.createElement("g", { key: 7 }), r.createElement("g", { key: 8 }), r.createElement("g", { key: 9 }), ]); } (o.defaultProps = { version: "1.1", id: "Layer_1", x: "0px", y: "0px", viewBox: "0 0 32 32", style: { enableBackground: "new 0 0 32 32" }, xmlSpace: "preserve" }), (e.exports = o), (o.default = o); }, 69071: (e, t, n) => { var r = n(23469); function o(e) { return r.createElement("svg", e, [ r.createElement("style", { type: "text/css", key: 0 }, "\n\t.st0{fill:#290741;}\n\t.st1{fill:#CD87FF;}\n\t.st2{fill:none;}\n\t.st3{fill:#FAFAFA;}\n"), r.createElement("g", { key: 1 }, [ r.createElement("path", { className: "st0", d: "M6,31.5c-1.378,0-2.5-1.121-2.5-2.5V3c0-1.378,1.122-2.5,2.5-2.5h15.38c0.533,0,1.034,0.207,1.411,0.583\n\t\tl5.12,5.102C28.285,6.558,28.5,7.074,28.5,7.602V29c0,1.379-1.121,2.5-2.5,2.5H6z", key: 0, }), r.createElement("path", { className: "st1", d: "M21.38,1c0.397,0,0.778,0.157,1.059,0.437l5.12,5.102C27.841,6.821,28,7.203,28,7.602V29c0,1.105-0.895,2-2,2\n\t\tH6c-1.105,0-2-0.895-2-2V3c0-1.105,0.895-2,2-2H21.38 M21.38,0H6C4.346,0,3,1.346,3,3v26c0,1.654,1.346,3,3,3h20\n\t\tc1.654,0,3-1.346,3-3V7.602c0-0.66-0.268-1.305-0.735-1.771l-5.12-5.102C22.673,0.259,22.046,0,21.38,0L21.38,0z", key: 1, }), ]), r.createElement("g", { id: "_x36_4_6_", key: 2 }, [ r.createElement("polygon", { className: "st2", points: "28,18.5 16,18.5 4,18.5 4,12.812 4,7.125 16,7.125 28,7.125 28,12.812 \t", key: 0 }), r.createElement("path", { className: "st1", d: "M10.849,14.788l-0.768,2.897c-0.016,0.08-0.048,0.112-0.144,0.112H8.512c-0.096,0-0.112-0.032-0.096-0.145\n\t\tl2.753-9.635c0.048-0.176,0.08-0.32,0.096-0.8c0-0.064,0.032-0.096,0.08-0.096h2.033c0.064,0,0.096,0.016,0.112,0.096l3.089,10.452\n\t\tc0.016,0.08,0,0.128-0.08,0.128h-1.601c-0.08,0-0.128-0.032-0.144-0.096l-0.8-2.914H10.849z M13.555,13.203\n\t\tc-0.272-1.073-0.913-3.41-1.153-4.546h-0.016c-0.208,1.136-0.72,3.041-1.12,4.546H13.555z", key: 1, }), r.createElement("path", { className: "st1", d: "M18.897,14.211c0.016,1.312,0.641,2.193,2.113,2.193c0.576,0,1.072-0.08,1.584-0.304\n\t\tc0.064-0.032,0.112-0.016,0.112,0.064v1.217c0,0.096-0.032,0.144-0.096,0.192c-0.513,0.256-1.152,0.368-1.953,0.368\n\t\tc-2.561,0-3.521-1.889-3.521-4.002c0-2.289,1.185-4.162,3.266-4.162c2.112,0,2.849,1.776,2.849,3.217\n\t\tc0,0.464-0.031,0.848-0.08,1.024c-0.016,0.08-0.048,0.112-0.128,0.128c-0.191,0.032-0.768,0.064-1.616,0.064H18.897z\n\t\t M20.866,12.883c0.496,0,0.673,0,0.721-0.016c0-0.064,0.016-0.128,0.016-0.176c0-0.528-0.256-1.489-1.265-1.489\n\t\tc-0.928,0-1.328,0.816-1.425,1.681H20.866z", key: 2, }), ]), r.createElement( "g", { key: 3 }, r.createElement("g", null, [ r.createElement("path", { className: "st3", d: "M11.814,26.228l-0.168,0.634l-0.168,0.634c-0.003,0.018-0.009,0.03-0.018,0.038s-0.024,0.011-0.045,0.011\n\t\t\th-0.312h-0.312c-0.021,0-0.033-0.003-0.039-0.013s-0.006-0.026-0.003-0.05l0.602-2.108l0.602-2.108\n\t\t\tc0.01-0.039,0.019-0.073,0.026-0.125s0.012-0.12,0.016-0.225c0-0.014,0.004-0.024,0.01-0.031s0.015-0.011,0.025-0.011h0.445h0.445\n\t\t\tc0.014,0,0.024,0.002,0.032,0.008s0.013,0.017,0.017,0.034l0.676,2.287l0.676,2.287c0.004,0.017,0.004,0.031-0.002,0.041\n\t\t\ts-0.016,0.015-0.033,0.015h-0.35h-0.35c-0.017,0-0.031-0.003-0.042-0.01s-0.018-0.017-0.021-0.032l-0.175-0.637l-0.175-0.637\n\t\t\th-0.679H11.814z M12.998,25.534c-0.059-0.235-0.159-0.608-0.257-0.984s-0.194-0.756-0.247-1.005H12.49h-0.004\n\t\t\tc-0.045,0.249-0.124,0.581-0.213,0.934s-0.189,0.726-0.277,1.055h0.501H12.998z", key: 0, }), r.createElement("path", { className: "st3", d: "M17.479,27.488c-0.003,0.021-0.009,0.035-0.019,0.044s-0.024,0.012-0.045,0.012h-1.198H15.02\n\t\t\tc-0.021,0-0.035-0.003-0.044-0.012s-0.012-0.023-0.012-0.044v-2.28v-2.28c0-0.021,0.004-0.035,0.012-0.044\n\t\t\ts0.023-0.013,0.044-0.013h1.156h1.156c0.021,0,0.035,0.002,0.045,0.009s0.015,0.02,0.019,0.041l0.031,0.294l0.031,0.294\n\t\t\tc0.003,0.018,0.002,0.031-0.005,0.041s-0.019,0.015-0.037,0.015h-0.844h-0.844v0.624v0.624h0.76h0.76\n\t\t\tc0.018,0,0.03,0.003,0.038,0.011s0.011,0.02,0.011,0.038v0.298v0.298c0,0.018-0.005,0.03-0.015,0.038s-0.023,0.011-0.041,0.011\n\t\t\th-0.756h-0.756v0.672v0.672h0.9h0.9c0.021,0,0.033,0.003,0.039,0.011s0.006,0.02,0.003,0.038l-0.045,0.294L17.479,27.488z", key: 1, }), r.createElement("path", { className: "st3", d: "M18.282,22.929c0-0.014,0.002-0.026,0.008-0.035s0.017-0.014,0.034-0.014\n\t\t\tc0.137-0.007,0.305-0.013,0.491-0.016s0.391-0.005,0.601-0.005c0.588,0,1.01,0.161,1.285,0.426s0.402,0.632,0.402,1.045\n\t\t\tc0,0.54-0.194,0.925-0.509,1.175s-0.748,0.366-1.228,0.366c-0.081,0-0.135-0.002-0.183-0.003s-0.09-0.003-0.146-0.003v0.816v0.816\n\t\t\tc0,0.018-0.004,0.03-0.012,0.038s-0.021,0.011-0.038,0.011H18.66h-0.329c-0.018,0-0.03-0.003-0.038-0.011s-0.011-0.02-0.011-0.038\n\t\t\tv-2.283V22.929z M19.039,25.184c0.049,0.003,0.093,0.005,0.145,0.006s0.114,0.001,0.198,0.001c0.249,0,0.489-0.044,0.666-0.172\n\t\t\ts0.294-0.34,0.294-0.676c0-0.27-0.082-0.472-0.235-0.608s-0.377-0.204-0.661-0.204c-0.084,0-0.167,0.002-0.238,0.004\n\t\t\ts-0.13,0.006-0.169,0.009v0.819V25.184z", key: 2, }), ]) ), r.createElement("g", { key: 4 }), r.createElement("g", { key: 5 }), r.createElement("g", { key: 6 }), r.createElement("g", { key: 7 }), r.createElement("g", { key: 8 }), r.createElement("g", { key: 9 }), ]); } (o.defaultProps = { version: "1.1", id: "Layer_1", x: "0px", y: "0px", viewBox: "0 0 32 32", style: { enableBackground: "new 0 0 32 32" }, xmlSpace: "preserve" }), (e.exports = o), (o.default = o); }, 90609: (e, t, n) => { var r = n(23469); function o(e) { return r.createElement("svg", e, [ r.createElement("style", { type: "text/css", key: 0 }, "\n\t.st0{fill:#290741;}\n\t.st1{fill:#CD87FF;}\n\t.st2{fill:none;}\n\t.st3{fill:#FAFAFA;}\n"), r.createElement("g", { key: 1 }, [ r.createElement("path", { className: "st0", d: "M6,31.5c-1.378,0-2.5-1.121-2.5-2.5V3c0-1.378,1.122-2.5,2.5-2.5h15.38c0.533,0,1.034,0.207,1.411,0.583\n\t\tl5.12,5.102C28.285,6.558,28.5,7.074,28.5,7.602V29c0,1.379-1.121,2.5-2.5,2.5H6z", key: 0, }), r.createElement("path", { className: "st1", d: "M21.38,1c0.397,0,0.778,0.157,1.059,0.437l5.12,5.102C27.841,6.821,28,7.203,28,7.602V29c0,1.105-0.895,2-2,2\n\t\tH6c-1.105,0-2-0.895-2-2V3c0-1.105,0.895-2,2-2H21.38 M21.38,0H6C4.346,0,3,1.346,3,3v26c0,1.654,1.346,3,3,3h20\n\t\tc1.654,0,3-1.346,3-3V7.602c0-0.66-0.268-1.305-0.735-1.771l-5.12-5.102C22.673,0.259,22.046,0,21.38,0L21.38,0z", key: 1, }), ]), r.createElement("g", { id: "_x36_4_6_", key: 2 }, [ r.createElement("polygon", { className: "st2", points: "28,18.5 16,18.5 4,18.5 4,12.812 4,7.125 16,7.125 28,7.125 28,12.812 \t", key: 0 }), r.createElement("path", { className: "st1", d: "M10.849,14.788l-0.768,2.897c-0.016,0.08-0.048,0.112-0.144,0.112H8.512c-0.096,0-0.112-0.032-0.096-0.145\n\t\tl2.753-9.635c0.048-0.176,0.08-0.32,0.096-0.8c0-0.064,0.032-0.096,0.08-0.096h2.033c0.064,0,0.096,0.016,0.112,0.096l3.089,10.452\n\t\tc0.016,0.08,0,0.128-0.08,0.128h-1.601c-0.08,0-0.128-0.032-0.144-0.096l-0.8-2.914H10.849z M13.555,13.203\n\t\tc-0.272-1.073-0.913-3.41-1.153-4.546h-0.016c-0.208,1.136-0.72,3.041-1.12,4.546H13.555z", key: 1, }), r.createElement("path", { className: "st1", d: "M18.897,14.211c0.016,1.312,0.641,2.193,2.113,2.193c0.576,0,1.072-0.08,1.584-0.304\n\t\tc0.064-0.032,0.112-0.016,0.112,0.064v1.217c0,0.096-0.032,0.144-0.096,0.192c-0.513,0.256-1.152,0.368-1.953,0.368\n\t\tc-2.561,0-3.521-1.889-3.521-4.002c0-2.289,1.185-4.162,3.266-4.162c2.112,0,2.849,1.776,2.849,3.217\n\t\tc0,0.464-0.031,0.848-0.08,1.024c-0.016,0.08-0.048,0.112-0.128,0.128c-0.191,0.032-0.768,0.064-1.616,0.064H18.897z\n\t\t M20.866,12.883c0.496,0,0.673,0,0.721-0.016c0-0.064,0.016-0.128,0.016-0.176c0-0.528-0.256-1.489-1.265-1.489\n\t\tc-0.928,0-1.328,0.816-1.425,1.681H20.866z", key: 2, }), ]), r.createElement( "g", { key: 3 }, r.createElement("g", null, [ r.createElement("path", { className: "st3", d: "M10.085,26.228l-0.168,0.634L9.75,27.495c-0.003,0.018-0.009,0.03-0.018,0.038s-0.024,0.011-0.045,0.011\n\t\t\tH9.375H9.063c-0.021,0-0.033-0.003-0.039-0.013s-0.006-0.026-0.003-0.05l0.602-2.108l0.602-2.108\n\t\t\tc0.01-0.039,0.019-0.073,0.026-0.125s0.012-0.12,0.016-0.225c0-0.014,0.004-0.024,0.01-0.031s0.015-0.011,0.025-0.011h0.445h0.445\n\t\t\tc0.014,0,0.024,0.002,0.032,0.008s0.013,0.017,0.017,0.034l0.676,2.287l0.676,2.287c0.004,0.017,0.004,0.031-0.002,0.041\n\t\t\ts-0.016,0.015-0.033,0.015h-0.35h-0.35c-0.017,0-0.031-0.003-0.042-0.01s-0.018-0.017-0.021-0.032l-0.175-0.637l-0.175-0.637\n\t\t\th-0.679H10.085z M11.27,25.534c-0.06-0.235-0.159-0.608-0.258-0.984s-0.194-0.756-0.247-1.005h-0.004h-0.004\n\t\t\tc-0.045,0.249-0.124,0.581-0.213,0.934s-0.189,0.726-0.277,1.055h0.501H11.27z", key: 0, }), r.createElement("path", { className: "st3", d: "M15.75,27.488c-0.004,0.021-0.009,0.035-0.019,0.044s-0.024,0.012-0.045,0.012h-1.198h-1.198\n\t\t\tc-0.021,0-0.035-0.003-0.044-0.012s-0.012-0.023-0.012-0.044v-2.28v-2.28c0-0.021,0.004-0.035,0.012-0.044\n\t\t\ts0.023-0.013,0.044-0.013h1.156h1.156c0.021,0,0.035,0.002,0.045,0.009s0.015,0.02,0.018,0.041l0.032,0.294l0.032,0.294\n\t\t\tc0.003,0.018,0.002,0.031-0.005,0.041s-0.019,0.015-0.037,0.015h-0.844h-0.844v0.624v0.624h0.76h0.76\n\t\t\tc0.018,0,0.03,0.003,0.038,0.011s0.011,0.02,0.011,0.038v0.298v0.298c0,0.018-0.005,0.03-0.015,0.038s-0.024,0.011-0.041,0.011\n\t\t\th-0.756h-0.756v0.672v0.672h0.9h0.9c0.021,0,0.033,0.003,0.039,0.011s0.006,0.02,0.003,0.038l-0.045,0.294L15.75,27.488z", key: 1, }), r.createElement("path", { className: "st3", d: "M16.553,22.929c0-0.014,0.002-0.026,0.008-0.035s0.017-0.014,0.034-0.014\n\t\t\tc0.137-0.007,0.305-0.013,0.491-0.016s0.391-0.005,0.601-0.005c0.588,0,1.01,0.161,1.285,0.426s0.402,0.632,0.402,1.045\n\t\t\tc0,0.54-0.194,0.925-0.509,1.175s-0.748,0.366-1.228,0.366c-0.081,0-0.135-0.002-0.183-0.003s-0.09-0.003-0.146-0.003v0.816v0.816\n\t\t\tc0,0.018-0.004,0.03-0.012,0.038s-0.021,0.011-0.038,0.011h-0.329h-0.329c-0.018,0-0.03-0.003-0.038-0.011\n\t\t\ts-0.011-0.02-0.011-0.038v-2.283V22.929z M17.31,25.184c0.049,0.003,0.093,0.005,0.145,0.006s0.114,0.001,0.198,0.001\n\t\t\tc0.249,0,0.489-0.044,0.666-0.172s0.294-0.34,0.294-0.676c0-0.27-0.082-0.472-0.235-0.608S18,23.531,17.716,23.531\n\t\t\tc-0.084,0-0.167,0.002-0.238,0.004s-0.13,0.006-0.169,0.009v0.819V25.184z", key: 2, }), r.createElement("path", { className: "st3", d: "M21.859,25.135l0.609,1.169l0.609,1.169c0.011,0.018,0.012,0.035,0.007,0.048s-0.017,0.022-0.035,0.022\n\t\t\th-0.378h-0.378c-0.024,0-0.042-0.003-0.056-0.012s-0.025-0.023-0.035-0.044c-0.14-0.287-0.28-0.574-0.422-0.867\n\t\t\ts-0.285-0.59-0.432-0.899h-0.003h-0.003c-0.13,0.291-0.267,0.591-0.406,0.889s-0.281,0.596-0.421,0.883\n\t\t\tc-0.01,0.018-0.021,0.03-0.033,0.038s-0.026,0.011-0.044,0.011h-0.36h-0.36c-0.021,0-0.033-0.009-0.038-0.021\n\t\t\ts-0.001-0.028,0.01-0.042l0.595-1.134l0.595-1.134l-0.574-1.138l-0.574-1.138c-0.014-0.018-0.014-0.033-0.007-0.045\n\t\t\ts0.021-0.019,0.035-0.019h0.375h0.375c0.021,0,0.037,0.002,0.049,0.009s0.021,0.02,0.028,0.041\n\t\t\tc0.137,0.287,0.275,0.573,0.412,0.859s0.271,0.573,0.401,0.864h0.003h0.003c0.126-0.287,0.259-0.574,0.394-0.86\n\t\t\ts0.272-0.572,0.405-0.855c0.01-0.018,0.019-0.032,0.031-0.042s0.026-0.015,0.047-0.015h0.35h0.35c0.018,0,0.03,0.007,0.035,0.019\n\t\t\ts0.003,0.027-0.008,0.045l-0.574,1.1L21.859,25.135z", key: 3, }), ]) ), r.createElement("g", { key: 4 }), r.createElement("g", { key: 5 }), r.createElement("g", { key: 6 }), r.createElement("g", { key: 7 }), r.createElement("g", { key: 8 }), r.createElement("g", { key: 9 }), ]); } (o.defaultProps = { version: "1.1", id: "Layer_1", x: "0px", y: "0px", viewBox: "0 0 32 32", style: { enableBackground: "new 0 0 32 32" }, xmlSpace: "preserve" }), (e.exports = o), (o.default = o); }, 88898: (e, t, n) => { var r = n(23469); function o(e) { return r.createElement("svg", e, [ r.createElement("style", { type: "text/css", key: 0 }, "\n\t.st0{fill:#290741;}\n\t.st1{fill:#CD87FF;}\n\t.st2{fill:#FAFAFA;}\n"), r.createElement("path", { className: "st0", d: "M6,31.5c-1.378,0-2.5-1.121-2.5-2.5V1c0-0.276,0.224-0.5,0.5-0.5h24c0.276,0,0.5,0.224,0.5,0.5v28\n\tc0,1.379-1.121,2.5-2.5,2.5H6z", key: 1 }), r.createElement("path", { className: "st1", d: "M28,0H4C3.45,0,3,0.45,3,1v28c0,1.65,1.35,3,3,3h20c1.65,0,3-1.35,3-3V1C29,0.45,28.55,0,28,0z M28,29\n\tc0,1.1-0.9,2-2,2H6c-1.1,0-2-0.9-2-2V3h24V29z", key: 2 }), r.createElement( "g", { key: 3 }, r.createElement("g", null, [ r.createElement("path", { className: "st2", d: "M11.885,26.228l-0.168,0.634l-0.168,0.634c-0.003,0.018-0.009,0.03-0.018,0.038s-0.024,0.011-0.045,0.011\n\t\t\th-0.312h-0.312c-0.021,0-0.033-0.003-0.039-0.013s-0.006-0.026-0.003-0.05l0.602-2.108l0.602-2.108\n\t\t\tc0.01-0.039,0.019-0.073,0.026-0.125s0.012-0.12,0.016-0.225c0-0.014,0.004-0.024,0.01-0.031s0.015-0.011,0.025-0.011h0.445h0.445\n\t\t\tc0.014,0,0.024,0.002,0.032,0.008s0.013,0.017,0.017,0.034l0.676,2.287l0.676,2.287c0.004,0.017,0.004,0.031-0.002,0.041\n\t\t\ts-0.016,0.015-0.033,0.015h-0.35h-0.35c-0.017,0-0.031-0.003-0.042-0.01s-0.018-0.017-0.021-0.032l-0.175-0.637l-0.175-0.637\n\t\t\th-0.679H11.885z M13.068,25.534c-0.059-0.235-0.159-0.608-0.257-0.984s-0.194-0.756-0.247-1.005h-0.004h-0.004\n\t\t\tc-0.045,0.249-0.124,0.581-0.213,0.934s-0.189,0.726-0.277,1.055h0.501H13.068z", key: 0, }), r.createElement("path", { className: "st2", d: "M17.549,27.488c-0.003,0.021-0.009,0.035-0.019,0.044s-0.024,0.012-0.045,0.012h-1.198H15.09\n\t\t\tc-0.021,0-0.035-0.003-0.044-0.012s-0.012-0.023-0.012-0.044v-2.28v-2.28c0-0.021,0.004-0.035,0.012-0.044\n\t\t\ts0.023-0.013,0.044-0.013h1.156h1.156c0.021,0,0.035,0.002,0.045,0.009s0.015,0.02,0.019,0.041l0.031,0.294l0.031,0.294\n\t\t\tc0.003,0.018,0.002,0.031-0.005,0.041s-0.019,0.015-0.037,0.015h-0.844h-0.844v0.624v0.624h0.76h0.76\n\t\t\tc0.018,0,0.03,0.003,0.038,0.011s0.011,0.02,0.011,0.038v0.298v0.298c0,0.018-0.005,0.03-0.015,0.038s-0.023,0.011-0.041,0.011\n\t\t\th-0.756h-0.756v0.672v0.672h0.9h0.9c0.021,0,0.033,0.003,0.039,0.011s0.006,0.02,0.003,0.038l-0.045,0.294L17.549,27.488z", key: 1, }), r.createElement("path", { className: "st2", d: "M19.235,23.565h-0.588h-0.588c-0.018,0-0.03-0.003-0.037-0.012s-0.009-0.023-0.005-0.044l0.042-0.294\n\t\t\tl0.042-0.294c0.003-0.018,0.009-0.03,0.017-0.038s0.021-0.012,0.038-0.012h1.471h1.471c0.021,0,0.035,0.004,0.045,0.013\n\t\t\ts0.015,0.023,0.019,0.044l0.028,0.291l0.028,0.291c0.003,0.021,0,0.035-0.009,0.044s-0.023,0.012-0.04,0.012h-0.585h-0.585v1.961\n\t\t\tv1.961c0,0.017-0.003,0.031-0.012,0.041s-0.023,0.015-0.044,0.015h-0.326h-0.326c-0.021,0-0.035-0.003-0.044-0.012\n\t\t\ts-0.012-0.023-0.012-0.044v-1.961V23.565z", key: 2, }), ]) ), r.createElement( "g", { key: 4 }, r.createElement("g", null, [ r.createElement("path", { className: "st1", d: "M10.849,14.788l-0.384,1.448l-0.384,1.448c-0.008,0.04-0.02,0.068-0.042,0.086s-0.054,0.026-0.102,0.026\n\t\t\tH9.225H8.512c-0.048,0-0.076-0.008-0.09-0.03s-0.014-0.058-0.006-0.114l1.376-4.818l1.376-4.818\n\t\t\tc0.024-0.088,0.044-0.168,0.06-0.286s0.028-0.274,0.036-0.514c0-0.032,0.008-0.056,0.022-0.072s0.034-0.024,0.058-0.024h1.016\n\t\t\th1.016c0.032,0,0.056,0.004,0.074,0.018s0.03,0.038,0.038,0.078l1.545,5.226l1.545,5.226c0.008,0.04,0.008,0.072-0.004,0.094\n\t\t\ts-0.036,0.034-0.076,0.034h-0.8h-0.8c-0.04,0-0.072-0.008-0.096-0.024s-0.04-0.04-0.048-0.072l-0.4-1.457l-0.4-1.457h-1.553\n\t\t\tH10.849z M13.555,13.203c-0.136-0.536-0.364-1.389-0.589-2.249s-0.444-1.729-0.564-2.297h-0.008h-0.008\n\t\t\tc-0.104,0.568-0.284,1.328-0.488,2.135s-0.432,1.659-0.632,2.411h1.145H13.555z", key: 0, }), r.createElement("path", { className: "st1", d: "M18.897,14.211c0.008,0.656,0.168,1.204,0.51,1.589s0.867,0.604,1.603,0.604c0.288,0,0.556-0.02,0.816-0.068\n\t\t\ts0.512-0.124,0.768-0.236c0.032-0.016,0.06-0.02,0.08-0.01s0.032,0.034,0.032,0.074v0.608v0.608c0,0.048-0.008,0.084-0.024,0.114\n\t\t\ts-0.04,0.054-0.072,0.079c-0.256,0.128-0.544,0.22-0.869,0.28s-0.684,0.088-1.085,0.088c-1.28,0-2.161-0.472-2.721-1.209\n\t\t\ts-0.801-1.737-0.801-2.793c0-1.145,0.296-2.185,0.852-2.939s1.373-1.222,2.413-1.222c1.056,0,1.768,0.444,2.216,1.068\n\t\t\ts0.632,1.429,0.632,2.149c0,0.232-0.008,0.444-0.022,0.62s-0.034,0.316-0.058,0.404c-0.008,0.04-0.02,0.068-0.04,0.088\n\t\t\ts-0.048,0.032-0.088,0.04c-0.096,0.016-0.288,0.032-0.562,0.044s-0.63,0.02-1.055,0.02h-1.265H18.897z M20.866,12.883\n\t\t\tc0.248,0,0.416,0,0.528-0.002s0.168-0.006,0.192-0.014c0-0.032,0.004-0.064,0.008-0.094s0.008-0.058,0.008-0.082\n\t\t\tc0-0.264-0.064-0.636-0.254-0.943s-0.506-0.546-1.011-0.546c-0.464,0-0.796,0.204-1.024,0.516s-0.352,0.732-0.401,1.164h0.977\n\t\t\tH20.866z", key: 1, }), ]) ), r.createElement("g", { key: 5 }), r.createElement("g", { key: 6 }), r.createElement("g", { key: 7 }), r.createElement("g", { key: 8 }), r.createElement("g", { key: 9 }), r.createElement("g", { key: 10 }), ]); } (o.defaultProps = { version: "1.1", id: "Layer_1", x: "0px", y: "0px", viewBox: "0 0 32 32", style: { enableBackground: "new 0 0 32 32" }, xmlSpace: "preserve" }), (e.exports = o), (o.default = o); }, 37709: (e, t, n) => { var r = n(23469); function o(e) { return r.createElement("svg", e, [ r.createElement("style", { type: "text/css", key: 0 }, "\n\t.st0{fill:#290741;}\n\t.st1{fill:#CD87FF;}\n\t.st2{fill:#FAFAFA;}\n"), r.createElement("path", { className: "st0", d: "M6,31.5c-1.378,0-2.5-1.121-2.5-2.5V1c0-0.276,0.224-0.5,0.5-0.5h24c0.276,0,0.5,0.224,0.5,0.5v28\n\tc0,1.379-1.121,2.5-2.5,2.5H6z", key: 1 }), r.createElement("path", { className: "st1", d: "M28,0H4C3.45,0,3,0.45,3,1v28c0,1.65,1.35,3,3,3h20c1.65,0,3-1.35,3-3V1C29,0.45,28.55,0,28,0z M28,29\n\tc0,1.1-0.9,2-2,2H6c-1.1,0-2-0.9-2-2V3h24V29z", key: 2 }), r.createElement( "g", { key: 3 }, r.createElement("g", null, [ r.createElement("path", { className: "st1", d: "M10.849,14.788l-0.384,1.448l-0.384,1.448c-0.008,0.04-0.02,0.068-0.042,0.086s-0.054,0.026-0.102,0.026\n\t\t\tH9.225H8.512c-0.048,0-0.076-0.008-0.09-0.03s-0.014-0.058-0.006-0.114l1.376-4.818l1.376-4.818\n\t\t\tc0.024-0.088,0.044-0.168,0.06-0.286s0.028-0.274,0.036-0.514c0-0.032,0.008-0.056,0.022-0.072s0.034-0.024,0.058-0.024h1.016\n\t\t\th1.016c0.032,0,0.056,0.004,0.074,0.018s0.03,0.038,0.038,0.078l1.545,5.226l1.545,5.226c0.008,0.04,0.008,0.072-0.004,0.094\n\t\t\ts-0.036,0.034-0.076,0.034h-0.8h-0.8c-0.04,0-0.072-0.008-0.096-0.024s-0.04-0.04-0.048-0.072l-0.4-1.457l-0.4-1.457h-1.553\n\t\t\tH10.849z M13.555,13.203c-0.136-0.536-0.364-1.389-0.589-2.249s-0.444-1.729-0.564-2.297h-0.008h-0.008\n\t\t\tc-0.104,0.568-0.284,1.328-0.488,2.135s-0.432,1.659-0.632,2.411h1.145H13.555z", key: 0, }), r.createElement("path", { className: "st1", d: "M18.897,14.211c0.008,0.656,0.168,1.204,0.51,1.589s0.867,0.604,1.603,0.604c0.288,0,0.556-0.02,0.816-0.068\n\t\t\ts0.512-0.124,0.768-0.236c0.032-0.016,0.06-0.02,0.08-0.01s0.032,0.034,0.032,0.074v0.608v0.608c0,0.048-0.008,0.084-0.024,0.114\n\t\t\ts-0.04,0.054-0.072,0.079c-0.256,0.128-0.544,0.22-0.869,0.28s-0.684,0.088-1.085,0.088c-1.28,0-2.161-0.472-2.721-1.209\n\t\t\ts-0.801-1.737-0.801-2.793c0-1.145,0.296-2.185,0.852-2.939s1.373-1.222,2.413-1.222c1.056,0,1.768,0.444,2.216,1.068\n\t\t\ts0.632,1.429,0.632,2.149c0,0.232-0.008,0.444-0.022,0.62s-0.034,0.316-0.058,0.404c-0.008,0.04-0.02,0.068-0.04,0.088\n\t\t\ts-0.048,0.032-0.088,0.04c-0.096,0.016-0.288,0.032-0.562,0.044s-0.63,0.02-1.055,0.02h-1.265H18.897z M20.866,12.883\n\t\t\tc0.248,0,0.416,0,0.528-0.002s0.168-0.006,0.192-0.014c0-0.032,0.004-0.064,0.008-0.094s0.008-0.058,0.008-0.082\n\t\t\tc0-0.264-0.064-0.636-0.254-0.943s-0.506-0.546-1.011-0.546c-0.464,0-0.796,0.204-1.024,0.516s-0.352,0.732-0.401,1.164h0.977\n\t\t\tH20.866z", key: 1, }), ]) ), r.createElement( "g", { key: 4 }, r.createElement("g", null, [ r.createElement("path", { className: "st2", d: "M10.03,26.228l-0.168,0.634l-0.168,0.634c-0.003,0.018-0.009,0.03-0.018,0.038s-0.024,0.011-0.045,0.011\n\t\t\tH9.319H9.007c-0.021,0-0.033-0.003-0.039-0.013s-0.006-0.026-0.003-0.05l0.602-2.108l0.602-2.108\n\t\t\tc0.01-0.039,0.019-0.073,0.026-0.125s0.012-0.12,0.016-0.225c0-0.014,0.004-0.024,0.01-0.031s0.015-0.011,0.025-0.011h0.445h0.445\n\t\t\tc0.014,0,0.024,0.002,0.032,0.008s0.013,0.017,0.017,0.034l0.676,2.287l0.676,2.287c0.004,0.017,0.004,0.031-0.002,0.041\n\t\t\ts-0.016,0.015-0.033,0.015h-0.35h-0.35c-0.017,0-0.031-0.003-0.042-0.01s-0.018-0.017-0.021-0.032l-0.175-0.637l-0.175-0.637\n\t\t\th-0.679H10.03z M11.214,25.534c-0.06-0.235-0.159-0.608-0.258-0.984s-0.194-0.756-0.247-1.005h-0.004h-0.004\n\t\t\tc-0.045,0.249-0.124,0.581-0.213,0.934s-0.189,0.726-0.277,1.055h0.501H11.214z", key: 0, }), r.createElement("path", { className: "st2", d: "M15.694,27.488c-0.004,0.021-0.009,0.035-0.019,0.044s-0.024,0.012-0.045,0.012h-1.198h-1.198\n\t\t\tc-0.021,0-0.035-0.003-0.044-0.012s-0.012-0.023-0.012-0.044v-2.28v-2.28c0-0.021,0.004-0.035,0.012-0.044\n\t\t\ts0.023-0.013,0.044-0.013h1.156h1.156c0.021,0,0.035,0.002,0.045,0.009s0.015,0.02,0.018,0.041l0.032,0.294l0.032,0.294\n\t\t\tc0.003,0.018,0.002,0.031-0.005,0.041s-0.019,0.015-0.037,0.015h-0.844h-0.844v0.624v0.624h0.76h0.76\n\t\t\tc0.018,0,0.03,0.003,0.038,0.011s0.011,0.02,0.011,0.038v0.298v0.298c0,0.018-0.005,0.03-0.015,0.038s-0.024,0.011-0.041,0.011\n\t\t\th-0.756h-0.756v0.672v0.672h0.9h0.9c0.021,0,0.033,0.003,0.039,0.011s0.006,0.02,0.003,0.038l-0.045,0.294L15.694,27.488z", key: 1, }), r.createElement("path", { className: "st2", d: "M17.38,23.565h-0.588h-0.588c-0.018,0-0.03-0.003-0.037-0.012s-0.009-0.023-0.005-0.044l0.042-0.294\n\t\t\tl0.042-0.294c0.003-0.018,0.009-0.03,0.017-0.038s0.021-0.012,0.038-0.012h1.471h1.471c0.021,0,0.035,0.004,0.045,0.013\n\t\t\ts0.015,0.023,0.019,0.044l0.028,0.291l0.028,0.291c0.003,0.021,0,0.035-0.009,0.044s-0.023,0.012-0.04,0.012h-0.585h-0.585v1.961\n\t\t\tv1.961c0,0.017-0.003,0.031-0.012,0.041s-0.023,0.015-0.044,0.015h-0.326h-0.326c-0.021,0-0.035-0.003-0.044-0.012\n\t\t\ts-0.012-0.023-0.012-0.044v-1.961V23.565z", key: 2, }), r.createElement("path", { className: "st2", d: "M21.915,25.135l0.609,1.169l0.609,1.169c0.011,0.018,0.012,0.035,0.007,0.048s-0.018,0.022-0.035,0.022\n\t\t\th-0.378H22.35c-0.024,0-0.042-0.003-0.056-0.012s-0.025-0.023-0.035-0.044c-0.14-0.287-0.28-0.574-0.422-0.867\n\t\t\ts-0.285-0.59-0.432-0.899h-0.003h-0.003c-0.13,0.291-0.267,0.591-0.406,0.889s-0.281,0.596-0.421,0.883\n\t\t\tc-0.01,0.018-0.021,0.03-0.033,0.038s-0.026,0.011-0.044,0.011h-0.36h-0.36c-0.021,0-0.033-0.009-0.038-0.021\n\t\t\ts-0.001-0.028,0.01-0.042l0.595-1.134l0.595-1.134l-0.574-1.138l-0.574-1.138c-0.014-0.018-0.014-0.033-0.007-0.045\n\t\t\ts0.021-0.019,0.035-0.019h0.375h0.375c0.021,0,0.037,0.002,0.049,0.009s0.021,0.02,0.028,0.041\n\t\t\tc0.137,0.287,0.275,0.573,0.412,0.859s0.271,0.573,0.401,0.864h0.003h0.003c0.126-0.287,0.259-0.574,0.394-0.86\n\t\t\ts0.272-0.572,0.405-0.855c0.01-0.018,0.019-0.032,0.031-0.042s0.026-0.015,0.047-0.015h0.35h0.35c0.018,0,0.03,0.007,0.035,0.019\n\t\t\ts0.003,0.027-0.008,0.045l-0.574,1.1L21.915,25.135z", key: 3, }), ]) ), r.createElement("g", { key: 5 }), r.createElement("g", { key: 6 }), r.createElement("g", { key: 7 }), r.createElement("g", { key: 8 }), r.createElement("g", { key: 9 }), r.createElement("g", { key: 10 }), ]); } (o.defaultProps = { version: "1.1", id: "Layer_1", x: "0px", y: "0px", viewBox: "0 0 32 32", style: { enableBackground: "new 0 0 32 32" }, xmlSpace: "preserve" }), (e.exports = o), (o.default = o); }, 69010: (e, t, n) => { var r = n(23469); function o(e) { return r.createElement("svg", e, [ r.createElement("style", { type: "text/css", key: 0 }, "\n\t.st0{fill:#261402;}\n\t.st1{fill:#FF860D;}\n\t.st2{fill:#FAFAFA;}\n"), r.createElement("g", { key: 1 }, [ r.createElement("path", { className: "st0", d: "M6,31.5c-1.378,0-2.5-1.121-2.5-2.5V3c0-1.378,1.122-2.5,2.5-2.5h15.38c0.533,0,1.034,0.207,1.411,0.583\n\t\tl5.12,5.102C28.285,6.558,28.5,7.074,28.5,7.602V29c0,1.379-1.121,2.5-2.5,2.5H6z", key: 0, }), r.createElement("path", { className: "st1", d: "M21.38,1c0.397,0,0.778,0.157,1.059,0.437l5.12,5.102C27.841,6.821,28,7.203,28,7.602V29c0,1.105-0.895,2-2,2\n\t\tH6c-1.105,0-2-0.895-2-2V3c0-1.105,0.895-2,2-2H21.38 M21.38,0H6C4.346,0,3,1.346,3,3v26c0,1.654,1.346,3,3,3h20\n\t\tc1.654,0,3-1.346,3-3V7.602c0-0.66-0.268-1.305-0.735-1.771l-5.12-5.102C22.673,0.259,22.046,0,21.38,0L21.38,0z", key: 1, }), ]), r.createElement( "g", { key: 2 }, r.createElement("g", null, [ r.createElement("path", { className: "st2", d: "M14.359,26.228l-0.168,0.634l-0.168,0.634c-0.003,0.018-0.009,0.03-0.018,0.038s-0.024,0.011-0.045,0.011\n\t\t\th-0.312h-0.312c-0.021,0-0.033-0.003-0.039-0.013s-0.006-0.026-0.003-0.05l0.602-2.108l0.602-2.108\n\t\t\tc0.01-0.039,0.019-0.073,0.026-0.125s0.012-0.12,0.016-0.225c0-0.014,0.004-0.024,0.01-0.031s0.015-0.011,0.025-0.011h0.445h0.445\n\t\t\tc0.014,0,0.024,0.002,0.032,0.008s0.013,0.017,0.017,0.034l0.676,2.287l0.676,2.287c0.004,0.017,0.004,0.031-0.002,0.041\n\t\t\ts-0.016,0.015-0.033,0.015h-0.35h-0.35c-0.017,0-0.031-0.003-0.042-0.01s-0.018-0.017-0.021-0.032l-0.175-0.637l-0.175-0.637\n\t\t\th-0.679H14.359z M15.543,25.534c-0.06-0.235-0.159-0.608-0.258-0.984s-0.194-0.756-0.247-1.005h-0.004h-0.004\n\t\t\tc-0.045,0.249-0.124,0.581-0.213,0.934s-0.189,0.726-0.277,1.055h0.501H15.543z", key: 0, }), r.createElement("path", { className: "st2", d: "M18.271,27.488c0,0.021-0.002,0.035-0.01,0.044s-0.022,0.012-0.046,0.012H17.89h-0.326\n\t\t\tc-0.021,0-0.035-0.005-0.044-0.015s-0.012-0.024-0.012-0.041v-2.28v-2.28c0-0.021,0.005-0.035,0.015-0.044\n\t\t\ts0.023-0.013,0.041-0.013h0.329h0.329c0.018,0,0.03,0.004,0.038,0.012s0.011,0.021,0.011,0.038v2.283V27.488z", key: 1, }), ]) ), r.createElement( "g", { key: 3 }, r.createElement("g", null, [ r.createElement("path", { className: "st1", d: "M12.585,14.788l-0.384,1.448l-0.384,1.448c-0.008,0.04-0.02,0.068-0.042,0.086s-0.054,0.026-0.102,0.026\n\t\t\tH10.96h-0.712c-0.048,0-0.076-0.008-0.09-0.03s-0.014-0.058-0.006-0.114l1.376-4.818l1.376-4.818\n\t\t\tc0.024-0.088,0.044-0.168,0.06-0.286s0.028-0.274,0.036-0.514c0-0.032,0.008-0.056,0.022-0.072s0.034-0.024,0.058-0.024h1.016\n\t\t\th1.016c0.032,0,0.056,0.004,0.074,0.018s0.03,0.038,0.038,0.078l1.545,5.226l1.545,5.226c0.008,0.04,0.008,0.072-0.004,0.094\n\t\t\ts-0.036,0.034-0.076,0.034h-0.8h-0.8c-0.04,0-0.072-0.008-0.096-0.024s-0.04-0.04-0.048-0.072l-0.4-1.457l-0.4-1.457h-1.553\n\t\t\tH12.585z M15.29,13.203c-0.136-0.536-0.364-1.389-0.588-2.249s-0.444-1.729-0.564-2.297H14.13h-0.008\n\t\t\tc-0.104,0.568-0.284,1.328-0.488,2.135s-0.432,1.659-0.632,2.411h1.144H15.29z", key: 0, }), r.createElement("path", { className: "st1", d: "M19.176,7.809c0-0.312,0.108-0.56,0.286-0.73s0.426-0.262,0.706-0.262c0.296,0,0.544,0.1,0.718,0.274\n\t\t\ts0.274,0.422,0.274,0.718c0,0.32-0.104,0.568-0.282,0.737s-0.43,0.256-0.726,0.256c-0.288,0-0.532-0.088-0.704-0.256\n\t\t\tS19.176,8.129,19.176,7.809z M19.288,10.018c0-0.04,0.008-0.068,0.026-0.086S19.36,9.906,19.4,9.906h0.76h0.76\n\t\t\tc0.04,0,0.068,0.008,0.086,0.026s0.026,0.046,0.026,0.086v3.833v3.833c0,0.04-0.004,0.068-0.02,0.086s-0.044,0.026-0.092,0.026\n\t\t\th-0.752h-0.752c-0.048,0-0.08-0.012-0.1-0.034s-0.028-0.054-0.028-0.094v-3.826V10.018z", key: 1, }), ]) ), r.createElement("g", { key: 4 }), r.createElement("g", { key: 5 }), r.createElement("g", { key: 6 }), r.createElement("g", { key: 7 }), r.createElement("g", { key: 8 }), r.createElement("g", { key: 9 }), ]); } (o.defaultProps = { version: "1.1", id: "Layer_1", x: "0px", y: "0px", viewBox: "0 0 32 32", style: { enableBackground: "new 0 0 32 32" }, xmlSpace: "preserve" }), (e.exports = o), (o.default = o); }, 1537: (e, t, n) => { var r = n(23469); function o(e) { return r.createElement("svg", e, [ r.createElement("style", { type: "text/css", key: 0 }, "\n\t.st0{fill:#261402;}\n\t.st1{fill:#FF860D;}\n\t.st2{fill:#FAFAFA;}\n"), r.createElement("path", { className: "st0", d: "M6,31.5c-1.378,0-2.5-1.121-2.5-2.5V1c0-0.276,0.224-0.5,0.5-0.5h24c0.276,0,0.5,0.224,0.5,0.5v28\n\tc0,1.379-1.121,2.5-2.5,2.5H6z", key: 1 }), r.createElement("path", { className: "st1", d: "M28,0H4C3.45,0,3,0.45,3,1v28c0,1.65,1.35,3,3,3h20c1.65,0,3-1.35,3-3V1C29,0.45,28.55,0,28,0z M28,29\n\tc0,1.1-0.9,2-2,2H6c-1.1,0-2-0.9-2-2V3h24V29z", key: 2 }), r.createElement( "g", { key: 3 }, r.createElement("g", null, [ r.createElement("path", { className: "st2", d: "M12.679,26.228l-0.168,0.634l-0.168,0.634c-0.003,0.018-0.009,0.03-0.018,0.038s-0.024,0.011-0.045,0.011\n\t\t\th-0.312h-0.312c-0.021,0-0.033-0.003-0.039-0.013s-0.006-0.026-0.003-0.05l0.602-2.108l0.602-2.108\n\t\t\tc0.01-0.039,0.019-0.073,0.026-0.125s0.012-0.12,0.016-0.225c0-0.014,0.004-0.024,0.01-0.031s0.015-0.011,0.025-0.011h0.445h0.445\n\t\t\tc0.014,0,0.024,0.002,0.032,0.008s0.013,0.017,0.017,0.034l0.676,2.287l0.676,2.287c0.004,0.017,0.004,0.031-0.002,0.041\n\t\t\ts-0.016,0.015-0.033,0.015h-0.35h-0.35c-0.017,0-0.031-0.003-0.042-0.01s-0.018-0.017-0.021-0.032l-0.175-0.637l-0.175-0.637\n\t\t\th-0.679H12.679z M13.863,25.534c-0.06-0.235-0.159-0.608-0.258-0.984s-0.194-0.756-0.247-1.005h-0.004h-0.004\n\t\t\tc-0.045,0.249-0.124,0.581-0.213,0.934s-0.189,0.726-0.277,1.055h0.501H13.863z", key: 0, }), r.createElement("path", { className: "st2", d: "M16.592,27.488c0,0.021-0.002,0.035-0.01,0.044s-0.022,0.012-0.046,0.012H16.21h-0.326\n\t\t\tc-0.021,0-0.035-0.005-0.044-0.015s-0.012-0.024-0.012-0.041v-2.28v-2.28c0-0.021,0.005-0.035,0.015-0.044\n\t\t\ts0.024-0.013,0.041-0.013h0.329h0.329c0.018,0,0.03,0.004,0.038,0.012s0.011,0.021,0.011,0.038v2.283V27.488z", key: 1, }), r.createElement("path", { className: "st2", d: "M18.44,23.565h-0.588h-0.588c-0.018,0-0.03-0.003-0.037-0.012s-0.009-0.023-0.005-0.044l0.042-0.294\n\t\t\tl0.042-0.294c0.003-0.018,0.009-0.03,0.017-0.038s0.021-0.012,0.038-0.012h1.471h1.471c0.021,0,0.035,0.004,0.045,0.013\n\t\t\ts0.015,0.023,0.019,0.044l0.028,0.291l0.028,0.291c0.003,0.021,0,0.035-0.009,0.044s-0.023,0.012-0.04,0.012h-0.585h-0.585v1.961\n\t\t\tv1.961c0,0.017-0.003,0.031-0.012,0.041s-0.023,0.015-0.044,0.015h-0.326h-0.326c-0.021,0-0.035-0.003-0.044-0.012\n\t\t\ts-0.012-0.023-0.012-0.044v-1.961V23.565z", key: 2, }), ]) ), r.createElement( "g", { key: 4 }, r.createElement("g", null, [ r.createElement("path", { className: "st1", d: "M12.585,14.788l-0.384,1.448l-0.384,1.448c-0.008,0.04-0.02,0.068-0.042,0.086s-0.054,0.026-0.102,0.026\n\t\t\tH10.96h-0.712c-0.048,0-0.076-0.008-0.09-0.03s-0.014-0.058-0.006-0.114l1.376-4.818l1.376-4.818\n\t\t\tc0.024-0.088,0.044-0.168,0.06-0.286s0.028-0.274,0.036-0.514c0-0.032,0.008-0.056,0.022-0.072s0.034-0.024,0.058-0.024h1.016\n\t\t\th1.016c0.032,0,0.056,0.004,0.074,0.018s0.03,0.038,0.038,0.078l1.545,5.226l1.545,5.226c0.008,0.04,0.008,0.072-0.004,0.094\n\t\t\ts-0.036,0.034-0.076,0.034h-0.8h-0.8c-0.04,0-0.072-0.008-0.096-0.024s-0.04-0.04-0.048-0.072l-0.4-1.457l-0.4-1.457h-1.553\n\t\t\tH12.585z M15.29,13.203c-0.136-0.536-0.364-1.389-0.588-2.249s-0.444-1.729-0.564-2.297H14.13h-0.008\n\t\t\tc-0.104,0.568-0.284,1.328-0.488,2.135s-0.432,1.659-0.632,2.411h1.144H15.29z", key: 0, }), r.createElement("path", { className: "st1", d: "M19.176,7.809c0-0.312,0.108-0.56,0.286-0.73s0.426-0.262,0.706-0.262c0.296,0,0.544,0.1,0.718,0.274\n\t\t\ts0.274,0.422,0.274,0.718c0,0.32-0.104,0.568-0.282,0.737s-0.43,0.256-0.726,0.256c-0.288,0-0.532-0.088-0.704-0.256\n\t\t\tS19.176,8.129,19.176,7.809z M19.288,10.018c0-0.04,0.008-0.068,0.026-0.086S19.36,9.906,19.4,9.906h0.76h0.76\n\t\t\tc0.04,0,0.068,0.008,0.086,0.026s0.026,0.046,0.026,0.086v3.833v3.833c0,0.04-0.004,0.068-0.02,0.086s-0.044,0.026-0.092,0.026\n\t\t\th-0.752h-0.752c-0.048,0-0.08-0.012-0.1-0.034s-0.028-0.054-0.028-0.094v-3.826V10.018z", key: 1, }), ]) ), r.createElement("g", { key: 5 }), r.createElement("g", { key: 6 }), r.createElement("g", { key: 7 }), r.createElement("g", { key: 8 }), r.createElement("g", { key: 9 }), r.createElement("g", { key: 10 }), ]); } (o.defaultProps = { version: "1.1", id: "Layer_1", x: "0px", y: "0px", viewBox: "0 0 32 32", style: { enableBackground: "new 0 0 32 32" }, xmlSpace: "preserve" }), (e.exports = o), (o.default = o); }, 51962: (e, t, n) => { var r = n(23469); function o(e) { return r.createElement("svg", e, [ r.createElement("style", { type: "text/css", key: 0 }, "\n\t.st0{fill:#062126;}\n\t.st1{fill:#26DBFF;}\n\t.st2{fill:#FAFAFA;}\n"), r.createElement("g", { key: 1 }, [ r.createElement("path", { className: "st0", d: "M6,31.5c-1.378,0-2.5-1.121-2.5-2.5V3c0-1.378,1.122-2.5,2.5-2.5h15.38c0.533,0,1.034,0.207,1.411,0.583\n\t\tl5.12,5.102C28.285,6.558,28.5,7.074,28.5,7.602V29c0,1.379-1.121,2.5-2.5,2.5H6z", key: 0, }), r.createElement("path", { className: "st1", d: "M21.38,1c0.397,0,0.778,0.157,1.059,0.437l5.12,5.102C27.841,6.821,28,7.203,28,7.602V29c0,1.105-0.895,2-2,2\n\t\tH6c-1.105,0-2-0.895-2-2V3c0-1.105,0.895-2,2-2H21.38 M21.38,0H6C4.346,0,3,1.346,3,3v26c0,1.654,1.346,3,3,3h20\n\t\tc1.654,0,3-1.346,3-3V7.602c0-0.66-0.268-1.305-0.735-1.771l-5.12-5.102C22.673,0.259,22.046,0,21.38,0L21.38,0z", key: 1, }), ]), r.createElement( "g", { key: 2 }, r.createElement("g", null, [ r.createElement("path", { className: "st1", d: "M11.216,7.249c0-0.032,0.004-0.06,0.018-0.08s0.038-0.032,0.078-0.032c0.312-0.016,0.696-0.028,1.123-0.036\n\t\t\ts0.894-0.012,1.375-0.012c1.344,0,2.309,0.368,2.937,0.972s0.92,1.445,0.92,2.389c0,1.233-0.444,2.113-1.162,2.685\n\t\t\ts-1.711,0.836-2.807,0.836c-0.184,0-0.308-0.004-0.418-0.008s-0.206-0.008-0.334-0.008v1.865v1.865\n\t\t\tc0,0.04-0.008,0.068-0.026,0.086s-0.046,0.026-0.086,0.026h-0.752h-0.752c-0.04,0-0.068-0.008-0.086-0.026\n\t\t\ts-0.026-0.046-0.026-0.086v-5.218V7.249z M12.945,12.403c0.112,0.008,0.212,0.012,0.332,0.014s0.26,0.002,0.452,0.002\n\t\t\tc0.568,0,1.117-0.1,1.523-0.392s0.67-0.776,0.67-1.545c0-0.616-0.188-1.08-0.538-1.391s-0.862-0.466-1.511-0.466\n\t\t\tc-0.192,0-0.38,0.004-0.542,0.01s-0.298,0.014-0.386,0.022v1.873V12.403z", key: 0, }), r.createElement("path", { className: "st1", d: "M18.977,7.232c0-0.032,0.004-0.056,0.02-0.072s0.044-0.024,0.092-0.024h0.752h0.752\n\t\t\tc0.048,0,0.08,0.008,0.1,0.024s0.028,0.04,0.028,0.072v4.354v4.354c0,0.192,0.036,0.324,0.108,0.408s0.18,0.12,0.324,0.12\n\t\t\tc0.064,0,0.108-0.004,0.146-0.01s0.07-0.014,0.11-0.022c0.032,0,0.052,0.004,0.064,0.018s0.016,0.038,0.016,0.078v0.568v0.568\n\t\t\tc0,0.048-0.004,0.08-0.016,0.104s-0.032,0.04-0.064,0.056c-0.104,0.04-0.228,0.068-0.368,0.086s-0.296,0.026-0.464,0.026\n\t\t\tc-0.424,0-0.824-0.08-1.119-0.352s-0.482-0.737-0.482-1.505v-4.426V7.232z", key: 1, }), ]) ), r.createElement( "g", { key: 3 }, r.createElement("g", null, [ r.createElement("path", { className: "st2", d: "M7.982,26.228l-0.168,0.634l-0.168,0.634c-0.003,0.018-0.009,0.03-0.018,0.038s-0.024,0.011-0.045,0.011\n\t\t\tH7.271H6.959c-0.021,0-0.033-0.003-0.039-0.013s-0.006-0.026-0.003-0.05l0.602-2.108l0.602-2.108\n\t\t\tc0.01-0.039,0.019-0.073,0.026-0.125s0.012-0.12,0.016-0.225c0-0.014,0.004-0.024,0.01-0.031s0.015-0.011,0.025-0.011h0.445h0.445\n\t\t\tc0.014,0,0.024,0.002,0.032,0.008s0.013,0.017,0.017,0.034l0.676,2.287l0.676,2.287c0.004,0.017,0.004,0.031-0.002,0.041\n\t\t\ts-0.016,0.015-0.033,0.015h-0.35h-0.35c-0.017,0-0.031-0.003-0.042-0.01s-0.018-0.017-0.021-0.032l-0.175-0.637l-0.175-0.637\n\t\t\tH8.661H7.982z M9.166,25.534c-0.06-0.235-0.159-0.608-0.258-0.984s-0.194-0.756-0.247-1.005H8.658H8.654\n\t\t\tc-0.045,0.249-0.124,0.581-0.213,0.934s-0.189,0.726-0.277,1.055h0.501H9.166z", key: 0, }), r.createElement("path", { className: "st2", d: "M11.881,27.495c0,0.018-0.004,0.03-0.011,0.038s-0.02,0.011-0.037,0.011H11.51h-0.322\n\t\t\tc-0.021,0-0.035-0.003-0.044-0.012s-0.012-0.023-0.012-0.044v-2.273v-2.273c0-0.018,0.004-0.033,0.011-0.044\n\t\t\ts0.018-0.018,0.031-0.018c0.172-0.007,0.338-0.013,0.526-0.016s0.398-0.005,0.657-0.005c0.501,0,0.902,0.119,1.178,0.347\n\t\t\ts0.426,0.564,0.426,0.998c0,0.357-0.119,0.636-0.288,0.843s-0.388,0.344-0.588,0.418c0.102,0.175,0.324,0.574,0.549,0.982\n\t\t\ts0.453,0.824,0.565,1.034c0.01,0.018,0.016,0.033,0.012,0.045s-0.016,0.019-0.041,0.019h-0.364h-0.364\n\t\t\tc-0.025,0-0.042-0.003-0.055-0.01s-0.022-0.015-0.029-0.026c-0.08-0.14-0.247-0.452-0.433-0.802s-0.393-0.739-0.554-1.033h-0.245\n\t\t\th-0.245v0.911V27.495z M12.308,25.002c0.256,0,0.476-0.051,0.633-0.167s0.249-0.299,0.249-0.561c0-0.256-0.084-0.441-0.233-0.563\n\t\t\ts-0.362-0.179-0.622-0.179c-0.091,0-0.18,0.002-0.259,0.004s-0.147,0.006-0.196,0.009v0.729v0.729h0.214H12.308z", key: 1, }), r.createElement("path", { className: "st2", d: "M17.524,27.425c0,0.021-0.004,0.037-0.012,0.049s-0.021,0.021-0.038,0.028\n\t\t\tc-0.091,0.039-0.21,0.065-0.344,0.082s-0.283,0.024-0.434,0.024c-0.546,0-1.061-0.179-1.439-0.568s-0.62-0.988-0.62-1.828\n\t\t\tc0-0.722,0.214-1.324,0.59-1.746s0.916-0.663,1.567-0.663c0.172,0,0.32,0.009,0.443,0.025s0.219,0.041,0.286,0.072\n\t\t\tc0.017,0.007,0.028,0.016,0.034,0.028s0.008,0.028,0.008,0.049v0.301v0.301c0,0.028-0.007,0.042-0.017,0.048\n\t\t\ts-0.022,0.004-0.033,0.001c-0.084-0.042-0.189-0.075-0.31-0.098s-0.257-0.035-0.404-0.035c-0.41,0-0.751,0.156-0.99,0.445\n\t\t\ts-0.375,0.713-0.375,1.249c0,0.662,0.187,1.091,0.452,1.354s0.606,0.361,0.914,0.361c0.14,0,0.257-0.005,0.365-0.019\n\t\t\ts0.205-0.037,0.307-0.072c0.014-0.007,0.027-0.01,0.036-0.006s0.014,0.017,0.014,0.041v0.287V27.425z", key: 2, }), r.createElement("path", { className: "st2", d: "M19.035,25.912c0,0.336,0.056,0.588,0.198,0.756s0.372,0.252,0.719,0.252c0.137,0,0.263-0.01,0.372-0.027\n\t\t\ts0.202-0.04,0.272-0.065v-1.95v-1.95c0-0.018,0.003-0.032,0.011-0.042s0.02-0.015,0.038-0.015h0.333h0.333\n\t\t\tc0.018,0,0.03,0.004,0.038,0.012s0.012,0.021,0.012,0.038v1.908v1.908c0,0.105,0.002,0.193,0.005,0.272s0.009,0.151,0.015,0.225\n\t\t\tc0.003,0.018,0.002,0.03-0.005,0.04s-0.019,0.017-0.037,0.024c-0.175,0.063-0.394,0.14-0.647,0.202s-0.543,0.107-0.858,0.107\n\t\t\tc-0.518,0-0.91-0.119-1.173-0.377s-0.396-0.653-0.396-1.206v-1.548v-1.548c0-0.018,0.002-0.032,0.009-0.042\n\t\t\ts0.019-0.015,0.04-0.015h0.336h0.336c0.018,0,0.03,0.004,0.038,0.012s0.012,0.021,0.012,0.038v1.495V25.912z", key: 3, }), r.createElement("path", { className: "st2", d: "M23.138,23.565h-0.588h-0.588c-0.018,0-0.03-0.003-0.037-0.012s-0.009-0.023-0.005-0.044l0.042-0.294\n\t\t\tl0.042-0.294c0.003-0.018,0.009-0.03,0.017-0.038s0.021-0.012,0.038-0.012h1.471H25c0.021,0,0.035,0.004,0.045,0.013\n\t\t\ts0.015,0.023,0.019,0.044l0.028,0.291l0.028,0.291c0.003,0.021,0,0.035-0.009,0.044s-0.023,0.012-0.04,0.012h-0.585H23.9v1.961\n\t\t\tv1.961c0,0.017-0.003,0.031-0.012,0.041s-0.023,0.015-0.044,0.015h-0.326h-0.326c-0.021,0-0.035-0.003-0.044-0.012\n\t\t\ts-0.012-0.023-0.012-0.044v-1.961V23.565z", key: 4, }), ]) ), r.createElement("g", { key: 4 }), r.createElement("g", { key: 5 }), r.createElement("g", { key: 6 }), r.createElement("g", { key: 7 }), r.createElement("g", { key: 8 }), r.createElement("g", { key: 9 }), ]); } (o.defaultProps = { version: "1.1", id: "Layer_1", x: "0px", y: "0px", viewBox: "0 0 32 32", style: { enableBackground: "new 0 0 32 32" }, xmlSpace: "preserve" }), (e.exports = o), (o.default = o); }, 13825: (e, t, n) => { var r = n(23469); function o(e) { return r.createElement("svg", e, [ r.createElement("style", { type: "text/css", key: 0 }, "\n\t.st0{fill:#262600;}\n\t.st1{fill:#F6F600;}\n\t.st2{fill:#FAFAFA;}\n"), r.createElement("g", { key: 1 }, [ r.createElement("path", { className: "st0", d: "M6,31.5c-1.378,0-2.5-1.121-2.5-2.5V3c0-1.378,1.122-2.5,2.5-2.5h15.38c0.533,0,1.034,0.207,1.411,0.583\n\t\tl5.12,5.102C28.285,6.558,28.5,7.074,28.5,7.602V29c0,1.379-1.121,2.5-2.5,2.5H6z", key: 0, }), r.createElement("path", { className: "st1", d: "M21.38,1c0.397,0,0.778,0.157,1.059,0.437l5.12,5.102C27.841,6.821,28,7.203,28,7.602V29c0,1.105-0.895,2-2,2\n\t\tH6c-1.105,0-2-0.895-2-2V3c0-1.105,0.895-2,2-2H21.38 M21.38,0H6C4.346,0,3,1.346,3,3v26c0,1.654,1.346,3,3,3h20\n\t\tc1.654,0,3-1.346,3-3V7.602c0-0.66-0.268-1.305-0.735-1.771l-5.12-5.102C22.673,0.259,22.046,0,21.38,0L21.38,0z", key: 1, }), ]), r.createElement( "g", { key: 2 }, r.createElement("g", null, [ r.createElement("path", { className: "st2", d: "M10.11,26.228l-0.168,0.634l-0.168,0.634c-0.003,0.018-0.009,0.03-0.018,0.038s-0.024,0.011-0.045,0.011\n\t\t\tH9.399H9.087c-0.021,0-0.033-0.003-0.039-0.013s-0.006-0.026-0.003-0.05l0.602-2.108l0.602-2.108\n\t\t\tc0.01-0.039,0.019-0.073,0.026-0.125s0.012-0.12,0.016-0.225c0-0.014,0.004-0.024,0.01-0.031s0.015-0.011,0.025-0.011h0.445h0.445\n\t\t\tc0.014,0,0.024,0.002,0.032,0.008s0.013,0.017,0.017,0.034l0.676,2.287l0.676,2.287c0.004,0.017,0.004,0.031-0.002,0.041\n\t\t\ts-0.016,0.015-0.033,0.015h-0.35h-0.35c-0.017,0-0.031-0.003-0.042-0.01s-0.018-0.017-0.021-0.032l-0.175-0.637l-0.175-0.637\n\t\t\th-0.679H10.11z M11.294,25.534c-0.06-0.235-0.159-0.608-0.258-0.984s-0.194-0.756-0.247-1.005h-0.004h-0.004\n\t\t\tc-0.045,0.249-0.124,0.581-0.213,0.934s-0.189,0.726-0.277,1.055h0.501H11.294z", key: 0, }), r.createElement("path", { className: "st2", d: "M13.21,27.383c-0.014-0.01-0.024-0.022-0.031-0.037s-0.011-0.032-0.011-0.053v-0.336v-0.336\n\t\t\tc0-0.01,0.007-0.021,0.018-0.026s0.025-0.005,0.039,0.005c0.158,0.108,0.329,0.187,0.505,0.239s0.356,0.076,0.531,0.076\n\t\t\tc0.256,0,0.436-0.067,0.552-0.171s0.169-0.246,0.169-0.396c0-0.133-0.033-0.254-0.128-0.378s-0.25-0.249-0.495-0.393l-0.126-0.067\n\t\t\tl-0.126-0.067c-0.361-0.203-0.593-0.408-0.736-0.628s-0.195-0.454-0.195-0.717c0-0.357,0.124-0.679,0.366-0.912\n\t\t\ts0.6-0.376,1.07-0.376c0.207,0,0.385,0.016,0.534,0.044s0.268,0.068,0.355,0.118c0.018,0.007,0.028,0.016,0.034,0.028\n\t\t\ts0.008,0.028,0.008,0.049v0.315v0.315c0,0.014-0.007,0.026-0.017,0.032s-0.025,0.006-0.039-0.004\n\t\t\tc-0.108-0.07-0.241-0.123-0.389-0.158s-0.308-0.052-0.473-0.052c-0.27,0-0.448,0.077-0.56,0.184s-0.155,0.246-0.155,0.368\n\t\t\tc0,0.133,0.033,0.249,0.127,0.365s0.248,0.231,0.489,0.364l0.112,0.06l0.112,0.06c0.399,0.221,0.65,0.438,0.8,0.665\n\t\t\ts0.201,0.466,0.201,0.728c0,0.389-0.142,0.718-0.399,0.95s-0.63,0.367-1.092,0.367c-0.207,0-0.404-0.019-0.583-0.057\n\t\t\tS13.34,27.457,13.21,27.383z", key: 1, }), r.createElement("path", { className: "st2", d: "M17.299,23.565H16.71h-0.588c-0.018,0-0.03-0.003-0.037-0.012s-0.009-0.023-0.005-0.044l0.042-0.294\n\t\t\tl0.042-0.294c0.003-0.018,0.009-0.03,0.017-0.038s0.021-0.012,0.038-0.012h1.471h1.471c0.021,0,0.035,0.004,0.045,0.013\n\t\t\ts0.015,0.023,0.019,0.044l0.028,0.291l0.028,0.291c0.003,0.021,0,0.035-0.009,0.044s-0.023,0.012-0.04,0.012h-0.585h-0.585v1.961\n\t\t\tv1.961c0,0.017-0.003,0.031-0.012,0.041s-0.023,0.015-0.044,0.015H17.68h-0.326c-0.021,0-0.035-0.003-0.044-0.012\n\t\t\ts-0.012-0.023-0.012-0.044v-1.961V23.565z", key: 2, }), r.createElement("path", { className: "st2", d: "M21.835,25.135l0.609,1.169l0.609,1.169c0.011,0.018,0.012,0.035,0.007,0.048s-0.018,0.022-0.035,0.022\n\t\t\th-0.378H22.27c-0.024,0-0.042-0.003-0.056-0.012s-0.025-0.023-0.035-0.044c-0.14-0.287-0.28-0.574-0.422-0.867\n\t\t\ts-0.285-0.59-0.432-0.899h-0.003h-0.003c-0.13,0.291-0.267,0.591-0.406,0.889s-0.281,0.596-0.421,0.883\n\t\t\tc-0.01,0.018-0.021,0.03-0.033,0.038s-0.026,0.011-0.044,0.011h-0.36h-0.36c-0.021,0-0.033-0.009-0.038-0.021\n\t\t\ts-0.001-0.028,0.01-0.042l0.595-1.134l0.595-1.134l-0.574-1.138l-0.574-1.138c-0.014-0.018-0.014-0.033-0.007-0.045\n\t\t\ts0.021-0.019,0.035-0.019h0.375h0.375c0.021,0,0.037,0.002,0.049,0.009s0.021,0.02,0.028,0.041\n\t\t\tc0.137,0.287,0.275,0.573,0.412,0.859s0.271,0.573,0.401,0.864h0.003h0.003c0.126-0.287,0.259-0.574,0.394-0.86\n\t\t\ts0.272-0.572,0.405-0.855c0.01-0.018,0.019-0.032,0.031-0.042s0.026-0.015,0.047-0.015h0.35h0.35c0.018,0,0.03,0.007,0.035,0.019\n\t\t\ts0.003,0.027-0.008,0.045l-0.574,1.1L21.835,25.135z", key: 3, }), ]) ), r.createElement( "g", { key: 3 }, r.createElement("g", null, [ r.createElement("path", { className: "st1", d: "M9.792,17.429c-0.032-0.024-0.056-0.052-0.072-0.086s-0.024-0.074-0.024-0.122v-0.768v-0.768\n\t\t\tc0-0.024,0.016-0.048,0.04-0.06s0.056-0.012,0.088,0.012c0.36,0.248,0.752,0.428,1.155,0.546s0.814,0.174,1.215,0.174\n\t\t\tc0.584,0,0.996-0.152,1.262-0.39s0.386-0.562,0.386-0.907c0-0.304-0.076-0.58-0.292-0.862s-0.572-0.57-1.132-0.898l-0.288-0.152\n\t\t\tl-0.288-0.152c-0.824-0.464-1.356-0.933-1.682-1.435s-0.446-1.038-0.446-1.638c0-0.816,0.284-1.553,0.836-2.085\n\t\t\ts1.372-0.86,2.445-0.86c0.472,0,0.88,0.036,1.22,0.1s0.612,0.156,0.812,0.268c0.04,0.016,0.064,0.036,0.078,0.064\n\t\t\ts0.018,0.064,0.018,0.112v0.72v0.72c0,0.032-0.016,0.06-0.04,0.074s-0.056,0.014-0.088-0.01c-0.248-0.16-0.552-0.28-0.888-0.36\n\t\t\ts-0.704-0.12-1.081-0.12c-0.616,0-1.024,0.176-1.278,0.422S11.393,9.53,11.393,9.81c0,0.304,0.076,0.568,0.29,0.832\n\t\t\ts0.566,0.528,1.118,0.832l0.256,0.136l0.256,0.136c0.912,0.504,1.485,1,1.829,1.521s0.46,1.064,0.46,1.664\n\t\t\tc0,0.888-0.324,1.641-0.912,2.171s-1.44,0.839-2.497,0.839c-0.472,0-0.924-0.044-1.333-0.13S10.088,17.597,9.792,17.429z", key: 0, }), r.createElement("path", { className: "st1", d: "M17.921,9.906c0.024,0,0.048,0.008,0.068,0.024s0.036,0.04,0.044,0.072c0.464,1.537,0.796,2.721,1.034,3.617\n\t\t\ts0.382,1.504,0.47,1.888c0.192-0.72,0.42-1.532,0.68-2.445s0.552-1.925,0.872-3.045c0.008-0.04,0.024-0.068,0.048-0.086\n\t\t\ts0.056-0.026,0.096-0.026h0.736h0.736c0.048,0,0.076,0.012,0.09,0.034s0.014,0.054,0.006,0.094\n\t\t\tc-0.552,1.905-1.136,3.742-1.717,5.446s-1.156,3.277-1.693,4.654c-0.016,0.032-0.032,0.06-0.058,0.082s-0.062,0.038-0.118,0.046\n\t\t\tl-0.784,0.056l-0.784,0.056c-0.048,0-0.076-0.012-0.086-0.036s-0.002-0.06,0.022-0.109c0.184-0.416,0.336-0.796,0.496-1.214\n\t\t\ts0.328-0.874,0.544-1.442c0.008-0.04,0.016-0.076,0.018-0.112s-0.002-0.072-0.018-0.112c-0.216-0.648-0.624-1.829-1.08-3.173\n\t\t\ts-0.96-2.853-1.369-4.158c-0.016-0.04-0.016-0.068-0.004-0.086s0.036-0.026,0.068-0.026h0.84H17.921z", key: 1, }), ]) ), r.createElement("g", { key: 4 }), r.createElement("g", { key: 5 }), r.createElement("g", { key: 6 }), r.createElement("g", { key: 7 }), r.createElement("g", { key: 8 }), r.createElement("g", { key: 9 }), ]); } (o.defaultProps = { version: "1.1", id: "Layer_1", x: "0px", y: "0px", viewBox: "0 0 32 32", style: { enableBackground: "new 0 0 32 32" }, xmlSpace: "preserve" }), (e.exports = o), (o.default = o); }, 25927: (e, t, n) => { var r = n(23469); function o(e) { return r.createElement("svg", e, [ r.createElement("style", { type: "text/css", key: 0 }, "\n\t.st0{fill:#022326;}\n\t.st1{fill:#0DEBFF;}\n\t.st2{fill:#FAFAFA;}\n\t.st3{fill:#CCFBFF;}\n"), r.createElement("g", { key: 1 }, [ r.createElement("path", { className: "st0", d: "M6,31.5c-1.378,0-2.5-1.121-2.5-2.5V3c0-1.378,1.122-2.5,2.5-2.5h15.38c0.533,0,1.034,0.207,1.411,0.583\n\t\tl5.12,5.102C28.285,6.558,28.5,7.074,28.5,7.602V29c0,1.379-1.121,2.5-2.5,2.5H6z", key: 0, }), r.createElement("path", { className: "st1", d: "M21.38,1c0.397,0,0.778,0.157,1.059,0.437l5.12,5.102C27.841,6.821,28,7.203,28,7.602V29c0,1.105-0.895,2-2,2\n\t\tH6c-1.105,0-2-0.895-2-2V3c0-1.105,0.895-2,2-2H21.38 M21.38,0H6C4.346,0,3,1.346,3,3v26c0,1.654,1.346,3,3,3h20\n\t\tc1.654,0,3-1.346,3-3V7.602c0-0.66-0.268-1.305-0.735-1.771l-5.12-5.102C22.673,0.259,22.046,0,21.38,0L21.38,0z", key: 1, }), ]), r.createElement( "g", { key: 2 }, r.createElement("g", null, [ r.createElement("path", { className: "st2", d: "M14.035,27.425c0,0.021-0.004,0.037-0.011,0.049s-0.02,0.021-0.037,0.028\n\t\t\tc-0.091,0.039-0.21,0.065-0.344,0.082s-0.283,0.024-0.434,0.024c-0.546,0-1.061-0.179-1.439-0.568s-0.62-0.988-0.62-1.828\n\t\t\tc0-0.722,0.214-1.324,0.59-1.746s0.916-0.663,1.567-0.663c0.172,0,0.321,0.009,0.443,0.025s0.219,0.041,0.285,0.072\n\t\t\tc0.018,0.007,0.028,0.016,0.034,0.028s0.008,0.028,0.008,0.049v0.301v0.301c0,0.028-0.007,0.042-0.017,0.048\n\t\t\ts-0.022,0.004-0.032,0.001c-0.084-0.042-0.189-0.075-0.31-0.098s-0.257-0.035-0.404-0.035c-0.41,0-0.751,0.156-0.99,0.445\n\t\t\ts-0.375,0.713-0.375,1.249c0,0.662,0.187,1.091,0.452,1.354s0.606,0.361,0.914,0.361c0.14,0,0.257-0.005,0.365-0.019\n\t\t\ts0.206-0.037,0.307-0.072c0.014-0.007,0.026-0.01,0.035-0.006s0.014,0.017,0.014,0.041v0.287V27.425z", key: 0, }), r.createElement("path", { className: "st2", d: "M15.637,26.228l-0.168,0.634l-0.168,0.634c-0.003,0.018-0.009,0.03-0.018,0.038s-0.024,0.011-0.045,0.011\n\t\t\th-0.312h-0.312c-0.021,0-0.033-0.003-0.039-0.013s-0.006-0.026-0.003-0.05l0.602-2.108l0.602-2.108\n\t\t\tc0.01-0.039,0.019-0.073,0.026-0.125s0.012-0.12,0.016-0.225c0-0.014,0.004-0.024,0.01-0.031s0.015-0.011,0.025-0.011h0.445h0.445\n\t\t\tc0.014,0,0.024,0.002,0.032,0.008s0.013,0.017,0.017,0.034l0.676,2.287l0.676,2.287c0.003,0.017,0.003,0.031-0.002,0.041\n\t\t\ts-0.016,0.015-0.033,0.015h-0.35h-0.35c-0.018,0-0.032-0.003-0.042-0.01s-0.018-0.017-0.021-0.032l-0.175-0.637l-0.175-0.637\n\t\t\th-0.679H15.637z M16.82,25.534c-0.059-0.235-0.159-0.608-0.257-0.984s-0.194-0.756-0.247-1.005h-0.004h-0.004\n\t\t\tc-0.045,0.249-0.124,0.581-0.213,0.934s-0.189,0.726-0.277,1.055h0.501H16.82z", key: 1, }), r.createElement("path", { className: "st2", d: "M19.096,23.565h-0.588h-0.588c-0.018,0-0.03-0.003-0.037-0.012s-0.009-0.023-0.005-0.044l0.042-0.294\n\t\t\tl0.042-0.294c0.003-0.018,0.009-0.03,0.017-0.038s0.021-0.012,0.038-0.012h1.471h1.471c0.021,0,0.035,0.004,0.045,0.013\n\t\t\ts0.015,0.023,0.019,0.044l0.028,0.291l0.028,0.291c0.003,0.021,0,0.035-0.009,0.044s-0.023,0.012-0.04,0.012h-0.585h-0.585v1.961\n\t\t\tv1.961c0,0.017-0.003,0.031-0.012,0.041s-0.023,0.015-0.044,0.015h-0.326h-0.326c-0.021,0-0.035-0.003-0.044-0.012\n\t\t\ts-0.012-0.023-0.012-0.044v-1.961V23.565z", key: 2, }), ]) ), r.createElement( "g", { key: 3 }, r.createElement("g", null, [ r.createElement("path", { className: "st3", d: "M11.44,17.797c-0.056,0-0.092-0.012-0.114-0.036s-0.03-0.06-0.03-0.109V12.45V7.249\n\t\t\tc0-0.04,0.008-0.072,0.026-0.094s0.046-0.034,0.086-0.034h0.768h0.768c0.04,0,0.064,0.008,0.078,0.026s0.018,0.046,0.018,0.086\n\t\t\tv4.49v4.49h2.001h2.001c0.04,0,0.068,0.008,0.084,0.026s0.02,0.046,0.012,0.086l-0.12,0.68l-0.12,0.68\n\t\t\tc-0.008,0.04-0.024,0.068-0.048,0.086s-0.056,0.026-0.096,0.026h-2.657H11.44z", key: 0, }), r.createElement("path", { className: "st3", d: "M18.064,11.522c0-0.056,0-0.156-0.006-0.31s-0.018-0.362-0.042-0.634c0-0.04,0.004-0.064,0.016-0.082\n\t\t\ts0.032-0.03,0.064-0.046c0.296-0.12,0.792-0.288,1.41-0.426s1.358-0.246,2.143-0.246c0.04,0,0.068,0.004,0.086,0.018\n\t\t\ts0.026,0.038,0.026,0.078v0.704v0.704c0,0.04-0.008,0.064-0.026,0.078s-0.046,0.018-0.086,0.018\n\t\t\tc-0.304-0.016-0.68-0.004-1.022,0.03s-0.65,0.09-0.819,0.162v3.057v3.057c0,0.04-0.008,0.068-0.026,0.086\n\t\t\ts-0.046,0.026-0.086,0.026h-0.76h-0.76c-0.04,0-0.068-0.008-0.086-0.026s-0.026-0.046-0.026-0.086v-3.081V11.522z", key: 1, }), ]) ), r.createElement("g", { key: 4 }), r.createElement("g", { key: 5 }), r.createElement("g", { key: 6 }), r.createElement("g", { key: 7 }), r.createElement("g", { key: 8 }), r.createElement("g", { key: 9 }), ]); } (o.defaultProps = { version: "1.1", id: "Layer_1", x: "0px", y: "0px", viewBox: "0 0 32 32", style: { enableBackground: "new 0 0 32 32" }, xmlSpace: "preserve" }), (e.exports = o), (o.default = o); }, 56848: (e, t, n) => { var r = n(23469); function o(e) { return r.createElement("svg", e, [ r.createElement("style", { type: "text/css", key: 0 }, "\n\t.st0{fill:#002620;}\n\t.st1{fill:#00FAD0;}\n\t.st2{fill:#FAFAFA;}\n"), r.createElement("g", { key: 1 }, [ r.createElement("path", { className: "st0", d: "M6,31.5c-1.378,0-2.5-1.121-2.5-2.5V3c0-1.378,1.122-2.5,2.5-2.5h15.38c0.533,0,1.034,0.207,1.411,0.583\n\t\tl5.12,5.102C28.285,6.558,28.5,7.074,28.5,7.602V29c0,1.379-1.121,2.5-2.5,2.5H6z", key: 0, }), r.createElement("path", { className: "st1", d: "M21.38,1c0.397,0,0.778,0.157,1.059,0.437l5.12,5.102C27.841,6.821,28,7.203,28,7.602V29c0,1.105-0.895,2-2,2\n\t\tH6c-1.105,0-2-0.895-2-2V3c0-1.105,0.895-2,2-2H21.38 M21.38,0H6C4.346,0,3,1.346,3,3v26c0,1.654,1.346,3,3,3h20\n\t\tc1.654,0,3-1.346,3-3V7.602c0-0.66-0.268-1.305-0.735-1.771l-5.12-5.102C22.673,0.259,22.046,0,21.38,0L21.38,0z", key: 1, }), ]), r.createElement( "g", { key: 2 }, r.createElement("g", null, [ r.createElement("path", { className: "st2", d: "M11.945,27.425c0,0.021-0.004,0.037-0.011,0.049s-0.02,0.021-0.037,0.028\n\t\t\tc-0.091,0.039-0.21,0.065-0.344,0.082s-0.283,0.024-0.433,0.024c-0.546,0-1.061-0.179-1.44-0.568s-0.62-0.988-0.62-1.828\n\t\t\tc0-0.722,0.214-1.324,0.59-1.746s0.916-0.663,1.567-0.663c0.172,0,0.321,0.009,0.443,0.025s0.219,0.041,0.285,0.072\n\t\t\tc0.018,0.007,0.028,0.016,0.034,0.028s0.008,0.028,0.008,0.049v0.301v0.301c0,0.028-0.007,0.042-0.017,0.048\n\t\t\ts-0.022,0.004-0.032,0.001c-0.084-0.042-0.189-0.075-0.31-0.098s-0.257-0.035-0.404-0.035c-0.41,0-0.751,0.156-0.99,0.445\n\t\t\ts-0.375,0.713-0.375,1.249c0,0.662,0.187,1.091,0.452,1.354s0.606,0.361,0.914,0.361c0.14,0,0.257-0.005,0.365-0.019\n\t\t\ts0.206-0.037,0.307-0.072c0.014-0.007,0.026-0.01,0.035-0.006s0.014,0.017,0.014,0.041v0.287V27.425z", key: 0, }), r.createElement("path", { className: "st2", d: "M12.755,22.936c0-0.018,0.002-0.03,0.009-0.038s0.019-0.014,0.041-0.017c0.08-0.004,0.236-0.009,0.431-0.014\n\t\t\ts0.43-0.008,0.668-0.008c0.711,0,1.243,0.229,1.597,0.627s0.531,0.963,0.531,1.636c0,0.935-0.306,1.544-0.731,1.919\n\t\t\ts-0.967,0.517-1.44,0.517c-0.178,0-0.397-0.002-0.595-0.004s-0.375-0.006-0.469-0.009c-0.014,0-0.024-0.005-0.031-0.015\n\t\t\ts-0.011-0.024-0.011-0.041v-2.276V22.936z M13.519,26.871c0.059,0.004,0.115,0.008,0.173,0.01s0.117,0.004,0.184,0.004\n\t\t\tc0.392,0,0.734-0.138,0.978-0.426s0.391-0.723,0.395-1.318c0.003-0.581-0.146-0.984-0.389-1.241s-0.581-0.369-0.956-0.369\n\t\t\tc-0.074,0-0.14,0.002-0.203,0.004s-0.122,0.006-0.182,0.009v1.663V26.871z", key: 1, }), r.createElement("path", { className: "st2", d: "M16.935,27.544c-0.024,0-0.04-0.005-0.05-0.016s-0.013-0.026-0.013-0.047v-2.276v-2.276\n\t\t\tc0-0.018,0.004-0.032,0.011-0.042s0.02-0.015,0.038-0.015h0.336h0.336c0.018,0,0.028,0.004,0.034,0.012s0.008,0.021,0.008,0.038\n\t\t\tv1.964v1.964h0.875h0.875c0.018,0,0.03,0.003,0.037,0.011s0.009,0.02,0.005,0.038l-0.052,0.298l-0.052,0.298\n\t\t\tc-0.003,0.018-0.01,0.03-0.021,0.038s-0.025,0.011-0.042,0.011h-1.163H16.935z", key: 2, }), r.createElement("path", { className: "st2", d: "M22.011,25.135l0.609,1.169l0.609,1.169c0.011,0.018,0.012,0.035,0.007,0.048s-0.018,0.022-0.035,0.022\n\t\t\th-0.378h-0.378c-0.024,0-0.042-0.003-0.056-0.012s-0.025-0.023-0.035-0.044c-0.14-0.287-0.28-0.574-0.422-0.867\n\t\t\ts-0.285-0.59-0.432-0.899h-0.003h-0.003c-0.13,0.291-0.267,0.591-0.406,0.889s-0.281,0.596-0.421,0.883\n\t\t\tc-0.01,0.018-0.021,0.03-0.033,0.038s-0.026,0.011-0.044,0.011h-0.36h-0.36c-0.021,0-0.033-0.009-0.038-0.021\n\t\t\ts-0.001-0.028,0.01-0.042l0.595-1.134l0.595-1.134l-0.574-1.138l-0.574-1.138c-0.014-0.018-0.014-0.033-0.007-0.045\n\t\t\ts0.021-0.019,0.035-0.019h0.375h0.375c0.021,0,0.037,0.002,0.049,0.009s0.021,0.02,0.028,0.041\n\t\t\tc0.137,0.287,0.275,0.573,0.412,0.859s0.271,0.573,0.401,0.864h0.003h0.003c0.126-0.287,0.259-0.574,0.394-0.86\n\t\t\ts0.272-0.572,0.405-0.855c0.01-0.018,0.019-0.032,0.031-0.042s0.026-0.015,0.047-0.015h0.35h0.35c0.018,0,0.03,0.007,0.035,0.019\n\t\t\ts0.003,0.027-0.008,0.045l-0.574,1.1L22.011,25.135z", key: 3, }), ]) ), r.createElement( "g", { key: 3 }, r.createElement("g", null, [ r.createElement("path", { className: "st1", d: "M10.657,14.788l-0.384,1.448l-0.384,1.448c-0.008,0.04-0.02,0.068-0.042,0.086s-0.054,0.026-0.102,0.026\n\t\t\tH9.032H8.32c-0.048,0-0.076-0.008-0.09-0.03s-0.014-0.058-0.006-0.114l1.376-4.818l1.376-4.818\n\t\t\tc0.024-0.088,0.044-0.168,0.06-0.286s0.028-0.274,0.036-0.514c0-0.032,0.008-0.056,0.022-0.072s0.034-0.024,0.058-0.024h1.016\n\t\t\th1.016c0.032,0,0.056,0.004,0.074,0.018s0.03,0.038,0.038,0.078l1.545,5.226l1.545,5.226c0.008,0.04,0.008,0.072-0.004,0.094\n\t\t\ts-0.036,0.034-0.076,0.034h-0.8h-0.8c-0.04,0-0.072-0.008-0.096-0.024s-0.04-0.04-0.048-0.072l-0.4-1.457l-0.4-1.457h-1.553\n\t\t\tH10.657z M13.362,13.203c-0.136-0.536-0.364-1.389-0.589-2.249s-0.444-1.729-0.564-2.297h-0.008h-0.008\n\t\t\tc-0.104,0.568-0.284,1.328-0.488,2.135s-0.432,1.659-0.632,2.411h1.145H13.362z", key: 0, }), r.createElement("path", { className: "st1", d: "M23.011,16.18c0,0.056,0.004,0.168,0.012,0.334s0.02,0.386,0.036,0.658c0,0.032-0.004,0.056-0.016,0.074\n\t\t\ts-0.032,0.03-0.064,0.039c-0.424,0.16-0.869,0.324-1.355,0.448s-1.015,0.208-1.607,0.208c-0.728,0-1.44-0.14-1.97-0.56\n\t\t\ts-0.878-1.121-0.878-2.241v-2.553v-2.553c0-0.04,0.008-0.072,0.026-0.094s0.046-0.034,0.086-0.034h0.76h0.76\n\t\t\tc0.04,0,0.068,0.012,0.086,0.034s0.026,0.054,0.026,0.094v2.449v2.449c0,0.472,0.092,0.836,0.308,1.082s0.557,0.374,1.053,0.374\n\t\t\tc0.2,0,0.388-0.02,0.556-0.052s0.316-0.076,0.436-0.124v-3.089v-3.089c0-0.04,0.008-0.072,0.026-0.094s0.046-0.034,0.086-0.034\n\t\t\th0.76h0.76c0.048,0,0.076,0.012,0.092,0.034s0.02,0.054,0.02,0.094v3.073V16.18z", key: 1, }), ]) ), r.createElement("g", { key: 4 }), r.createElement("g", { key: 5 }), r.createElement("g", { key: 6 }), r.createElement("g", { key: 7 }), r.createElement("g", { key: 8 }), r.createElement("g", { key: 9 }), ]); } (o.defaultProps = { version: "1.1", id: "Layer_1", x: "0px", y: "0px", viewBox: "0 0 32 32", style: { enableBackground: "new 0 0 32 32" }, xmlSpace: "preserve" }), (e.exports = o), (o.default = o); }, 53009: (e, t, n) => { var r = n(23469); function o(e) { return r.createElement("svg", e, [ r.createElement("style", { type: "text/css", key: 0 }, "\n\t.st0{fill:#260A33;}\n\t.st1{fill:#D480FF;}\n\t.st2{fill:#FAFAFA;}\n"), r.createElement("g", { key: 1 }, [ r.createElement("path", { className: "st0", d: "M6,31.5c-1.378,0-2.5-1.121-2.5-2.5V3c0-1.378,1.122-2.5,2.5-2.5h15.38c0.533,0,1.034,0.207,1.411,0.583\n\t\tl5.12,5.102C28.285,6.558,28.5,7.074,28.5,7.602V29c0,1.379-1.121,2.5-2.5,2.5H6z", key: 0, }), r.createElement("path", { className: "st1", d: "M21.38,1c0.397,0,0.778,0.157,1.059,0.437l5.12,5.102C27.841,6.821,28,7.203,28,7.602V29c0,1.105-0.895,2-2,2\n\t\tH6c-1.105,0-2-0.895-2-2V3c0-1.105,0.895-2,2-2H21.38 M21.38,0H6C4.346,0,3,1.346,3,3v26c0,1.654,1.346,3,3,3h20\n\t\tc1.654,0,3-1.346,3-3V7.602c0-0.66-0.268-1.305-0.735-1.771l-5.12-5.102C22.673,0.259,22.046,0,21.38,0L21.38,0z", key: 1, }), ]), r.createElement( "g", { key: 2 }, r.createElement("g", null, [ r.createElement("path", { className: "st2", d: "M9.746,22.929c0-0.014,0.002-0.026,0.008-0.035S9.77,22.88,9.788,22.88c0.137-0.007,0.305-0.013,0.491-0.016\n\t\t\ts0.391-0.005,0.602-0.005c0.588,0,1.01,0.161,1.285,0.426s0.403,0.632,0.403,1.045c0,0.54-0.194,0.925-0.509,1.175\n\t\t\ts-0.749,0.366-1.229,0.366c-0.081,0-0.135-0.002-0.183-0.003s-0.09-0.003-0.146-0.003v0.816v0.816c0,0.018-0.003,0.03-0.011,0.038\n\t\t\ts-0.02,0.011-0.038,0.011h-0.329H9.795c-0.018,0-0.03-0.003-0.038-0.011s-0.011-0.02-0.011-0.038v-2.283V22.929z M10.502,25.184\n\t\t\tc0.049,0.003,0.093,0.005,0.145,0.006s0.114,0.001,0.198,0.001c0.249,0,0.489-0.044,0.666-0.172s0.293-0.34,0.293-0.676\n\t\t\tc0-0.27-0.082-0.472-0.235-0.608s-0.377-0.204-0.661-0.204c-0.084,0-0.166,0.002-0.237,0.004s-0.13,0.006-0.169,0.009v0.819\n\t\t\tV25.184z", key: 0, }), r.createElement("path", { className: "st2", d: "M14.072,27.495c0,0.018-0.004,0.03-0.011,0.038s-0.02,0.011-0.037,0.011h-0.322h-0.322\n\t\t\tc-0.021,0-0.035-0.003-0.044-0.012s-0.012-0.023-0.012-0.044v-2.273v-2.273c0-0.018,0.004-0.033,0.011-0.044\n\t\t\ts0.018-0.018,0.031-0.018c0.172-0.007,0.338-0.013,0.526-0.016s0.398-0.005,0.657-0.005c0.501,0,0.902,0.119,1.178,0.347\n\t\t\ts0.426,0.564,0.426,0.998c0,0.357-0.119,0.636-0.288,0.843s-0.388,0.344-0.588,0.418c0.102,0.175,0.324,0.574,0.549,0.982\n\t\t\ts0.453,0.824,0.565,1.034c0.01,0.018,0.016,0.033,0.012,0.045s-0.016,0.019-0.041,0.019h-0.364h-0.364\n\t\t\tc-0.025,0-0.042-0.003-0.055-0.01s-0.022-0.015-0.029-0.026c-0.08-0.14-0.247-0.452-0.433-0.802s-0.393-0.739-0.554-1.033h-0.245\n\t\t\th-0.245v0.911V27.495z M14.5,25.002c0.256,0,0.476-0.051,0.633-0.167s0.249-0.299,0.249-0.561c0-0.256-0.084-0.441-0.233-0.563\n\t\t\ts-0.362-0.179-0.622-0.179c-0.091,0-0.18,0.002-0.259,0.004s-0.147,0.006-0.196,0.009v0.729v0.729h0.214H14.5z", key: 1, }), r.createElement("path", { className: "st2", d: "M20.458,25.163c0.003,0.781-0.174,1.392-0.49,1.808s-0.771,0.637-1.325,0.637c-0.56,0-1.012-0.231-1.323-0.65\n\t\t\ts-0.483-1.025-0.483-1.774c0-0.729,0.184-1.322,0.503-1.733s0.775-0.641,1.318-0.641c0.567,0,1.017,0.242,1.325,0.657\n\t\t\tS20.458,24.47,20.458,25.163z M18.672,26.921c0.326,0,0.576-0.168,0.745-0.47s0.257-0.738,0.257-1.274\n\t\t\tc-0.004-0.532-0.099-0.952-0.274-1.24s-0.431-0.441-0.756-0.441c-0.294,0-0.548,0.133-0.728,0.411s-0.287,0.699-0.287,1.277\n\t\t\tc0,0.504,0.088,0.939,0.262,1.247S18.325,26.921,18.672,26.921z", key: 2, }), r.createElement("path", { className: "st2", d: "M21.52,22.922c0-0.018,0.004-0.03,0.013-0.038s0.023-0.012,0.044-0.012h0.329h0.329\n\t\t\tc0.021,0,0.033,0.004,0.04,0.012s0.009,0.021,0.009,0.038v1.729v1.729c0,0.109-0.003,0.216-0.012,0.317s-0.023,0.195-0.044,0.279\n\t\t\tc-0.077,0.336-0.238,0.569-0.453,0.718s-0.482,0.214-0.773,0.214c-0.046,0-0.09-0.002-0.132-0.005s-0.082-0.009-0.121-0.016\n\t\t\tc-0.021-0.003-0.033-0.01-0.04-0.021S20.7,27.838,20.7,27.817V27.53v-0.287c0-0.018,0.004-0.03,0.012-0.037\n\t\t\ts0.02-0.009,0.037-0.005c0.039,0.003,0.067,0.005,0.091,0.006s0.046,0.001,0.07,0.001c0.186,0,0.338-0.04,0.444-0.155\n\t\t\ts0.166-0.304,0.166-0.602v-1.765V22.922z", key: 3, }), ]) ), r.createElement( "g", { key: 3 }, r.createElement("g", null, [ r.createElement("path", { className: "st1", d: "M15.483,17.524c0,0.048-0.008,0.084-0.026,0.113s-0.046,0.048-0.086,0.064\n\t\t\tc-0.208,0.088-0.48,0.148-0.786,0.186s-0.646,0.054-0.99,0.054c-1.249,0-2.425-0.408-3.289-1.297s-1.417-2.257-1.417-4.178\n\t\t\tc0-1.649,0.488-3.025,1.348-3.99S12.33,6.96,13.818,6.96c0.392,0,0.733,0.02,1.013,0.058s0.5,0.094,0.652,0.166\n\t\t\tc0.04,0.016,0.064,0.036,0.078,0.064s0.018,0.064,0.018,0.112v0.688v0.688c0,0.064-0.016,0.096-0.038,0.11s-0.05,0.01-0.074,0.002\n\t\t\tc-0.192-0.096-0.432-0.172-0.708-0.224s-0.588-0.08-0.924-0.08c-0.936,0-1.717,0.356-2.263,1.019s-0.858,1.631-0.858,2.855\n\t\t\tc0,1.512,0.428,2.493,1.032,3.095s1.384,0.826,2.089,0.826c0.32,0,0.588-0.012,0.834-0.044s0.47-0.084,0.702-0.164\n\t\t\tc0.032-0.016,0.06-0.024,0.08-0.014s0.032,0.038,0.032,0.094v0.656V17.524z", key: 0, }), r.createElement("path", { className: "st1", d: "M18.537,17.685c0,0.04-0.008,0.068-0.024,0.086s-0.04,0.026-0.072,0.026h-0.768h-0.768\n\t\t\tc-0.04,0-0.068-0.012-0.086-0.032s-0.026-0.048-0.026-0.08v-5.234V7.217c0-0.032,0.004-0.056,0.02-0.072s0.044-0.024,0.092-0.024\n\t\t\th0.768h0.768c0.032,0,0.056,0.008,0.072,0.024s0.024,0.04,0.024,0.072v1.593v1.593c0.248-0.192,0.524-0.348,0.834-0.456\n\t\t\ts0.654-0.168,1.039-0.168c0.52,0,1.1,0.132,1.551,0.556s0.771,1.14,0.771,2.309v2.513v2.513c0,0.048-0.008,0.08-0.026,0.1\n\t\t\ts-0.046,0.028-0.086,0.028h-0.76h-0.76c-0.04,0-0.068-0.012-0.086-0.034s-0.026-0.054-0.026-0.094v-2.425v-2.425\n\t\t\tc0-0.48-0.1-0.852-0.296-1.105s-0.488-0.384-0.872-0.384c-0.248,0-0.48,0.04-0.694,0.12s-0.411,0.2-0.587,0.36v2.937V17.685z", key: 1, }), ]) ), r.createElement("g", { key: 4 }), r.createElement("g", { key: 5 }), r.createElement("g", { key: 6 }), r.createElement("g", { key: 7 }), r.createElement("g", { key: 8 }), r.createElement("g", { key: 9 }), ]); } (o.defaultProps = { version: "1.1", id: "Layer_1", x: "0px", y: "0px", viewBox: "0 0 32 32", style: { enableBackground: "new 0 0 32 32" }, xmlSpace: "preserve" }), (e.exports = o), (o.default = o); }, 82540: (e, t, n) => { var r = n(23469); function o(e) { return r.createElement("svg", e, [ r.createElement("defs", { key: 0 }, r.createElement("style", null, ".cls-1{fill:#013301;}.cls-2{fill:#3f6;}.cls-3{fill:#fff;}")), r.createElement("title", { key: 1 }, "Artboard 1"), r.createElement("path", { className: "cls-1", d: "M6,31.5A2.50283,2.50283,0,0,1,3.5,29V3A2.50283,2.50283,0,0,1,6,.5H21.38025a1.98669,1.98669,0,0,1,1.4115.58325l5.12,5.102A2.01365,2.01365,0,0,1,28.5,7.602V29A2.50283,2.50283,0,0,1,26,31.5Z", key: 2, }), r.createElement("path", { className: "cls-2", d: "M21.38,1a1.49917,1.49917,0,0,1,1.05875.4375l5.12,5.102A1.49984,1.49984,0,0,1,28,7.602V29a2.00009,2.00009,0,0,1-2,2H6a2.00009,2.00009,0,0,1-2-2V3A2.0001,2.0001,0,0,1,6,1H21.38m0-1H6A3.00334,3.00334,0,0,0,3,3V29a3.00333,3.00333,0,0,0,3,3H26a3.00333,3.00333,0,0,0,3-3V7.602a2.51755,2.51755,0,0,0-.73525-1.771l-5.12-5.10174A2.4842,2.4842,0,0,0,21.38,0Z", key: 3, }), r.createElement("path", { className: "cls-3", d: "M12.31275,22.78223a.06025.06025,0,0,1,.00883-.03873.06243.06243,0,0,1,.04061-.01767c.08112-.00354.238-.00885.43463-.01328s.43286-.008.67267-.008a2.05969,2.05969,0,0,1,1.6091.63132,2.42144,2.42144,0,0,1,.53519,1.647,2.45043,2.45043,0,0,1-.73621,1.93354,2.1927,2.1927,0,0,1-1.4503.521c-.17987,0-.4003-.00177-.59956-.00442s-.37736-.0062-.47258-.00974a.037.037,0,0,1-.03175-.015.07009.07009,0,0,1-.01061-.04139v-4.5847Zm.76892,3.96387c.05994.00354.11636.00708.17455.00974s.11811.00442.18507.00442a1.24519,1.24519,0,0,0,.98488-.42844,2.02423,2.02423,0,0,0,.39757-1.32767,1.74261,1.74261,0,0,0-.39144-1.25024,1.28067,1.28067,0,0,0-.96281-.37207c-.074,0-.141.00177-.20449.0044s-.12339.0061-.18333.00952V26.7461Z", key: 4, }), r.createElement("path", { className: "cls-3", d: "M16.51734,27.42334c-.04224,0-.0564-.01416-.0564-.05639V22.76807a.04458.04458,0,0,1,.03927-.04932H17.385c.04223,0,.05639.00709.07055.04224.416.88184,1.34717,3.06836,1.53051,3.53394h.00708c-.01416-.21875-.03541-.57862-.03541-1.14282v-2.384c0-.02807.01417-.04932.05665-.04932h.6135c.04223,0,.05639.01417.05639.0564v4.58472c0,.04932-.021.0635-.07055.0635h-.78295c-.04932,0-.07032-.01416-.0845-.04932-.32446-.76172-1.36841-3.08227-1.59424-3.75244h-.00684c.021.31739.03516.73365.03516,1.30493V27.367c0,.03516-.01416.0564-.04932.0564Z", key: 5, }), r.createElement("g", { id: "_512", "data-name": " 512", key: 6 }, [ r.createElement("path", { className: "cls-2", d: "M7.36225,17.23544V6.88094a.11865.11865,0,0,1,.10637-.12975l.00761-.0005q.2442-.016.71635-.02443.472-.008,1.1071-.01628.63492-.008,1.35129-.00813a6.99609,6.99609,0,0,1,3.23984.6675,4.50915,4.50915,0,0,1,1.92925,1.83157,5.44806,5.44806,0,0,1,.64308,2.67817,5.97442,5.97442,0,0,1-.33375,2.07579,4.84327,4.84327,0,0,1-.91171,1.5548,5.4216,5.4216,0,0,1-1.31058,1.08267,5.76527,5.76527,0,0,1-1.56295.63494,6.88075,6.88075,0,0,1-1.64436.2035H9.48689q-.64332,0-1.19664-.00813-.55363-.00839-.83029-.02442Q7.3623,17.39824,7.36225,17.23544ZM9.609,8.70438v6.74018q.179,0,.3256.00815.14658.00839.30122.01628.1545.00838.35.00813a4.361,4.361,0,0,0,1.44894-.22791,2.96365,2.96365,0,0,0,1.11524-.6838,3.07121,3.07121,0,0,0,.71632-1.12337,4.25988,4.25988,0,0,0,.25237-1.51409,3.81979,3.81979,0,0,0-.24422-1.42455,2.69757,2.69757,0,0,0-.70817-1.0257,2.89975,2.89975,0,0,0-1.1071-.61052A4.82873,4.82873,0,0,0,10.651,8.67182q-.32589,0-.54541.00813Q9.88578,8.68835,9.609,8.70438Z", key: 0, }), r.createElement("path", { className: "cls-2", d: "M17.68394,17.25172v-6.0564q0-.27665-.00812-.61868-.0084-.34188-.02441-.65121-.01639-.30909-.0326-.48843a.0968.0968,0,0,1,.0163-.09768.13281.13281,0,0,1,.09771-.03256H19.426a.36362.36362,0,0,1,.16277.03256.1533.1533,0,0,1,.08142.114l.07327.2198a1.36851,1.36851,0,0,1,.057.30119,3.27033,3.27033,0,0,1,1.0745-.6268A3.69812,3.69812,0,0,1,22.096,9.144a3.09672,3.09672,0,0,1,.95242.15466,2.40595,2.40595,0,0,1,1.53853,1.49781,4.5262,4.5262,0,0,1,.24421,1.61993v4.83535q0,.14652-.13025.1465h-1.97a.14385.14385,0,0,1-.16283-.1628v-4.6237a2.03345,2.03345,0,0,0-.1465-.83031,1.16371,1.16371,0,0,0-.41513-.50469,1.22533,1.22533,0,0,0-.69194-.17908,2.026,2.026,0,0,0-.76521.13837,1.931,1.931,0,0,0-.60238.3826v5.63311q0,.14652-.13025.1465H17.83045a.12956.12956,0,0,1-.14654-.1465Z", key: 1, }), ]), ]); } (o.defaultProps = { id: "Layer_1", "data-name": "Layer 1", viewBox: "0 0 32 32" }), (e.exports = o), (o.default = o); }, 1914: (e, t, n) => { var r = n(23469); function o(e) { return r.createElement("svg", e, [ r.createElement("style", { type: "text/css", key: 0 }, "\n\t.st0{fill:#0A2600;}\n\t.st1{fill:#76ED3C;}\n\t.st2{fill:#FAFAFA;}\n"), r.createElement("g", { key: 1 }, [ r.createElement("path", { className: "st0", d: "M6,31.5c-1.378,0-2.5-1.121-2.5-2.5V3c0-1.378,1.122-2.5,2.5-2.5h15.38c0.533,0,1.034,0.207,1.411,0.583\n\t\tl5.12,5.102C28.285,6.558,28.5,7.074,28.5,7.602V29c0,1.379-1.121,2.5-2.5,2.5H6z", key: 0, }), r.createElement("path", { className: "st1", d: "M21.38,1c0.397,0,0.778,0.157,1.059,0.437l5.12,5.102C27.841,6.821,28,7.203,28,7.602V29c0,1.105-0.895,2-2,2\n\t\tH6c-1.105,0-2-0.895-2-2V3c0-1.105,0.895-2,2-2H21.38 M21.38,0H6C4.346,0,3,1.346,3,3v26c0,1.654,1.346,3,3,3h20\n\t\tc1.654,0,3-1.346,3-3V7.602c0-0.66-0.268-1.305-0.735-1.771l-5.12-5.102C22.673,0.259,22.046,0,21.38,0L21.38,0z", key: 1, }), ]), r.createElement( "g", { key: 2 }, r.createElement("g", null, [ r.createElement("path", { className: "st2", d: "M11.751,22.936c0-0.018,0.002-0.03,0.009-0.038s0.019-0.014,0.041-0.017c0.08-0.004,0.236-0.009,0.431-0.014\n\t\t\ts0.43-0.008,0.668-0.008c0.711,0,1.243,0.229,1.597,0.627s0.531,0.963,0.531,1.636c0,0.935-0.306,1.544-0.731,1.919\n\t\t\ts-0.967,0.517-1.44,0.517c-0.178,0-0.397-0.002-0.595-0.004s-0.375-0.006-0.469-0.009c-0.014,0-0.024-0.005-0.031-0.015\n\t\t\ts-0.011-0.024-0.011-0.041v-2.276V22.936z M12.515,26.871c0.059,0.004,0.115,0.008,0.173,0.01s0.117,0.004,0.184,0.004\n\t\t\tc0.392,0,0.734-0.138,0.978-0.426s0.391-0.723,0.395-1.318c0.003-0.581-0.146-0.984-0.389-1.241s-0.581-0.369-0.956-0.369\n\t\t\tc-0.074,0-0.14,0.002-0.203,0.004s-0.122,0.006-0.182,0.009v1.663V26.871z", key: 0, }), r.createElement("path", { className: "st2", d: "M19.243,26.557h0.003h0.003c0.032-0.217,0.088-0.583,0.187-1.165s0.241-1.38,0.444-2.463\n\t\t\tc0.003-0.021,0.009-0.035,0.017-0.044s0.021-0.013,0.038-0.013h0.329h0.329c0.018,0,0.032,0.005,0.04,0.016\n\t\t\ts0.01,0.026,0.002,0.047l-0.494,2.283l-0.494,2.283c-0.007,0.018-0.014,0.028-0.024,0.034s-0.022,0.008-0.039,0.008h-0.364h-0.364\n\t\t\tc-0.021,0-0.033-0.002-0.042-0.008s-0.014-0.017-0.021-0.034c-0.094-0.455-0.238-1.213-0.372-1.939s-0.259-1.419-0.315-1.745\n\t\t\th-0.003h-0.003c-0.049,0.326-0.187,1.028-0.337,1.756s-0.311,1.483-0.406,1.914c-0.003,0.021-0.01,0.035-0.022,0.044\n\t\t\ts-0.027,0.012-0.048,0.012h-0.357h-0.357c-0.017,0-0.03-0.003-0.039-0.011s-0.017-0.02-0.024-0.038l-0.49-2.283l-0.49-2.283\n\t\t\tc-0.003-0.021-0.002-0.035,0.005-0.044s0.017-0.013,0.031-0.013h0.357h0.357c0.014,0,0.026,0.002,0.036,0.009\n\t\t\ts0.017,0.02,0.02,0.041c0.238,1.173,0.389,1.976,0.487,2.539s0.144,0.885,0.172,1.096h0.003h0.003\n\t\t\tc0.039-0.245,0.1-0.588,0.208-1.152s0.262-1.348,0.486-2.476c0.007-0.021,0.016-0.035,0.027-0.044s0.025-0.013,0.043-0.013h0.378\n\t\t\th0.378c0.018,0,0.028,0.004,0.036,0.012s0.011,0.021,0.014,0.038c0.129,0.718,0.254,1.358,0.367,1.954\n\t\t\tS19.156,26.021,19.243,26.557z", key: 1, }), ]) ), r.createElement( "g", { key: 3 }, r.createElement("g", null, [ r.createElement("path", { className: "st1", d: "M7.552,7.265c0-0.04,0.004-0.068,0.02-0.088s0.044-0.032,0.092-0.04c0.184-0.008,0.54-0.02,0.986-0.03\n\t\t\ts0.982-0.018,1.527-0.018c1.625,0,2.841,0.524,3.651,1.433s1.214,2.201,1.214,3.738c0,2.137-0.7,3.529-1.671,4.388\n\t\t\ts-2.211,1.183-3.291,1.183c-0.408,0-0.908-0.004-1.361-0.01s-0.856-0.014-1.072-0.022c-0.032,0-0.056-0.012-0.072-0.034\n\t\t\ts-0.024-0.054-0.024-0.094v-5.202V7.265z M9.297,16.26c0.136,0.008,0.264,0.016,0.396,0.022s0.268,0.01,0.42,0.01\n\t\t\tc0.896,0,1.677-0.316,2.235-0.972s0.894-1.653,0.903-3.013c0.008-1.329-0.332-2.249-0.889-2.837s-1.328-0.844-2.185-0.844\n\t\t\tc-0.168,0-0.32,0.004-0.464,0.01s-0.28,0.014-0.416,0.022v3.802V16.26z", key: 0, }), r.createElement("path", { className: "st1", d: "M21.763,17.797c-0.056,0-0.092-0.008-0.116-0.028s-0.036-0.052-0.044-0.1c-0.24-1.337-0.46-2.481-0.643-3.456\n\t\t\ts-0.326-1.779-0.414-2.435h-0.008h-0.008c-0.104,0.592-0.252,1.385-0.454,2.371s-0.458,2.167-0.778,3.535\n\t\t\tc-0.016,0.048-0.031,0.076-0.053,0.092s-0.05,0.02-0.09,0.02h-0.784h-0.784c-0.056,0-0.092-0.004-0.118-0.02\n\t\t\ts-0.042-0.044-0.058-0.092l-0.856-3.825l-0.856-3.825c-0.008-0.032-0.004-0.064,0.014-0.088s0.05-0.04,0.098-0.04h0.784h0.784\n\t\t\tc0.032,0,0.06,0.008,0.082,0.024s0.038,0.04,0.046,0.072c0.304,1.721,0.52,3.025,0.672,3.987s0.24,1.583,0.288,1.935h0.032h0.032\n\t\t\tc0.056-0.416,0.168-1.057,0.356-2.009s0.452-2.217,0.812-3.882c0.016-0.048,0.024-0.08,0.04-0.1s0.04-0.028,0.088-0.028h0.825\n\t\t\th0.825c0.04,0,0.064,0.008,0.08,0.026s0.024,0.046,0.031,0.086c0.28,1.577,0.512,2.861,0.687,3.852s0.29,1.687,0.338,2.087h0.024\n\t\t\th0.024c0.08-0.512,0.172-1.112,0.33-2.029s0.382-2.149,0.726-3.925c0.008-0.032,0.016-0.056,0.032-0.072s0.04-0.024,0.08-0.024\n\t\t\th0.736H25.3c0.032,0,0.06,0.008,0.076,0.026s0.02,0.046,0.004,0.086l-0.953,3.833l-0.953,3.833\n\t\t\tc-0.008,0.04-0.016,0.068-0.036,0.086s-0.052,0.026-0.108,0.026h-0.784H21.763z", key: 1, }), ]) ), r.createElement("g", { key: 4 }), r.createElement("g", { key: 5 }), r.createElement("g", { key: 6 }), r.createElement("g", { key: 7 }), r.createElement("g", { key: 8 }), r.createElement("g", { key: 9 }), ]); } (o.defaultProps = { version: "1.1", id: "Layer_1", x: "0px", y: "0px", viewBox: "0 0 32 32", style: { enableBackground: "new 0 0 32 32" }, xmlSpace: "preserve" }), (e.exports = o), (o.default = o); }, 11215: (e, t, n) => { var r = n(23469); function o(e) { return r.createElement("svg", e, [ r.createElement("style", { type: "text/css", key: 0 }, "\n\t.st0{fill:#0A2600;}\n\t.st1{fill:#76ED3C;}\n\t.st2{fill:#FAFAFA;}\n"), r.createElement("path", { className: "st0", d: "M6,31.5c-1.378,0-2.5-1.121-2.5-2.5V1c0-0.276,0.224-0.5,0.5-0.5h24c0.276,0,0.5,0.224,0.5,0.5v28\n\tc0,1.379-1.121,2.5-2.5,2.5H6z", key: 1 }), r.createElement("path", { className: "st1", d: "M28,0H4C3.45,0,3,0.45,3,1v28c0,1.65,1.35,3,3,3h20c1.65,0,3-1.35,3-3V1C29,0.45,28.55,0,28,0z M28,29\n\tc0,1.1-0.9,2-2,2H6c-1.1,0-2-0.9-2-2V3h24V29z", key: 2 }), r.createElement( "g", { key: 3 }, r.createElement("g", null, [ r.createElement("path", { className: "st2", d: "M9.952,22.936c0-0.018,0.002-0.03,0.009-0.038s0.019-0.014,0.041-0.017c0.08-0.004,0.236-0.009,0.431-0.014\n\t\t\ts0.43-0.008,0.668-0.008c0.711,0,1.243,0.229,1.598,0.627s0.531,0.963,0.531,1.636c0,0.935-0.306,1.544-0.731,1.919\n\t\t\ts-0.967,0.517-1.44,0.517c-0.178,0-0.397-0.002-0.595-0.004s-0.375-0.006-0.469-0.009c-0.014,0-0.024-0.005-0.031-0.015\n\t\t\ts-0.011-0.024-0.011-0.041v-2.276V22.936z M10.716,26.871c0.059,0.004,0.115,0.008,0.173,0.01s0.117,0.004,0.184,0.004\n\t\t\tc0.392,0,0.734-0.138,0.978-0.426s0.391-0.723,0.395-1.318c0.004-0.581-0.145-0.984-0.389-1.241s-0.581-0.369-0.956-0.369\n\t\t\tc-0.073,0-0.14,0.002-0.203,0.004s-0.122,0.006-0.182,0.009v1.663V26.871z", key: 0, }), r.createElement("path", { className: "st2", d: "M17.444,26.557h0.003h0.003c0.031-0.217,0.087-0.583,0.186-1.165s0.241-1.38,0.444-2.463\n\t\t\tc0.004-0.021,0.009-0.035,0.018-0.044s0.021-0.013,0.039-0.013h0.329h0.329c0.018,0,0.031,0.005,0.039,0.016\n\t\t\ts0.01,0.026,0.003,0.047l-0.494,2.283l-0.494,2.283c-0.007,0.018-0.014,0.028-0.024,0.034s-0.022,0.008-0.039,0.008h-0.364h-0.364\n\t\t\tc-0.021,0-0.033-0.002-0.042-0.008s-0.014-0.017-0.021-0.034c-0.094-0.455-0.238-1.213-0.372-1.939s-0.258-1.419-0.314-1.745\n\t\t\th-0.004h-0.004c-0.049,0.326-0.187,1.028-0.337,1.756s-0.311,1.483-0.405,1.914c-0.003,0.021-0.01,0.035-0.022,0.044\n\t\t\ts-0.027,0.012-0.048,0.012h-0.357h-0.357c-0.017,0-0.03-0.003-0.039-0.011s-0.017-0.02-0.024-0.038l-0.49-2.283l-0.49-2.283\n\t\t\tc-0.003-0.021-0.002-0.035,0.005-0.044s0.017-0.013,0.031-0.013h0.357h0.357c0.014,0,0.026,0.002,0.036,0.009\n\t\t\ts0.017,0.02,0.02,0.041c0.238,1.173,0.389,1.976,0.487,2.539s0.144,0.885,0.172,1.096h0.003h0.003\n\t\t\tc0.039-0.245,0.1-0.588,0.208-1.152s0.262-1.348,0.486-2.476c0.007-0.021,0.016-0.035,0.027-0.044s0.025-0.013,0.043-0.013h0.378\n\t\t\th0.378c0.018,0,0.028,0.004,0.035,0.012s0.01,0.021,0.014,0.038c0.13,0.718,0.254,1.358,0.368,1.954S17.356,26.021,17.444,26.557z\n\t\t\t", key: 1, }), r.createElement("path", { className: "st2", d: "M20.529,23.565h-0.588h-0.588c-0.018,0-0.03-0.003-0.037-0.012s-0.009-0.023-0.005-0.044l0.042-0.294\n\t\t\tl0.042-0.294c0.003-0.018,0.009-0.03,0.017-0.038s0.021-0.012,0.038-0.012h1.471h1.471c0.021,0,0.035,0.004,0.045,0.013\n\t\t\ts0.015,0.023,0.019,0.044l0.028,0.291l0.028,0.291c0.003,0.021,0,0.035-0.009,0.044s-0.023,0.012-0.04,0.012h-0.585h-0.585v1.961\n\t\t\tv1.961c0,0.017-0.003,0.031-0.012,0.041s-0.023,0.015-0.044,0.015h-0.326h-0.326c-0.021,0-0.035-0.003-0.044-0.012\n\t\t\ts-0.012-0.023-0.012-0.044v-1.961V23.565z", key: 2, }), ]) ), r.createElement( "g", { key: 4 }, r.createElement("g", null, [ r.createElement("path", { className: "st1", d: "M7.552,7.265c0-0.04,0.004-0.068,0.02-0.088s0.044-0.032,0.092-0.04c0.184-0.008,0.54-0.02,0.986-0.03\n\t\t\ts0.982-0.018,1.527-0.018c1.625,0,2.841,0.524,3.651,1.433s1.214,2.201,1.214,3.738c0,2.137-0.7,3.529-1.671,4.388\n\t\t\ts-2.211,1.183-3.291,1.183c-0.408,0-0.908-0.004-1.361-0.01s-0.856-0.014-1.072-0.022c-0.032,0-0.056-0.012-0.072-0.034\n\t\t\ts-0.024-0.054-0.024-0.094v-5.202V7.265z M9.297,16.26c0.136,0.008,0.264,0.016,0.396,0.022s0.268,0.01,0.42,0.01\n\t\t\tc0.896,0,1.677-0.316,2.235-0.972s0.894-1.653,0.903-3.013c0.008-1.329-0.332-2.249-0.889-2.837s-1.328-0.844-2.185-0.844\n\t\t\tc-0.168,0-0.32,0.004-0.464,0.01s-0.28,0.014-0.416,0.022v3.802V16.26z", key: 0, }), r.createElement("path", { className: "st1", d: "M21.763,17.797c-0.056,0-0.092-0.008-0.116-0.028s-0.036-0.052-0.044-0.1c-0.24-1.337-0.46-2.481-0.643-3.456\n\t\t\ts-0.326-1.779-0.414-2.435h-0.008h-0.008c-0.104,0.592-0.252,1.385-0.454,2.371s-0.458,2.167-0.778,3.535\n\t\t\tc-0.016,0.048-0.031,0.076-0.053,0.092s-0.05,0.02-0.09,0.02h-0.784h-0.784c-0.056,0-0.092-0.004-0.118-0.02\n\t\t\ts-0.042-0.044-0.058-0.092l-0.856-3.825l-0.856-3.825c-0.008-0.032-0.004-0.064,0.014-0.088s0.05-0.04,0.098-0.04h0.784h0.784\n\t\t\tc0.032,0,0.06,0.008,0.082,0.024s0.038,0.04,0.046,0.072c0.304,1.721,0.52,3.025,0.672,3.987s0.24,1.583,0.288,1.935h0.032h0.032\n\t\t\tc0.056-0.416,0.168-1.057,0.356-2.009s0.452-2.217,0.812-3.882c0.016-0.048,0.024-0.08,0.04-0.1s0.04-0.028,0.088-0.028h0.825\n\t\t\th0.825c0.04,0,0.064,0.008,0.08,0.026s0.024,0.046,0.031,0.086c0.28,1.577,0.512,2.861,0.687,3.852s0.29,1.687,0.338,2.087h0.024\n\t\t\th0.024c0.08-0.512,0.172-1.112,0.33-2.029s0.382-2.149,0.726-3.925c0.008-0.032,0.016-0.056,0.032-0.072s0.04-0.024,0.08-0.024\n\t\t\th0.736H25.3c0.032,0,0.06,0.008,0.076,0.026s0.02,0.046,0.004,0.086l-0.953,3.833l-0.953,3.833\n\t\t\tc-0.008,0.04-0.016,0.068-0.036,0.086s-0.052,0.026-0.108,0.026h-0.784H21.763z", key: 1, }), ]) ), r.createElement("g", { key: 5 }), r.createElement("g", { key: 6 }), r.createElement("g", { key: 7 }), r.createElement("g", { key: 8 }), r.createElement("g", { key: 9 }), r.createElement("g", { key: 10 }), ]); } (o.defaultProps = { version: "1.1", id: "Layer_1", x: "0px", y: "0px", viewBox: "0 0 32 32", style: { enableBackground: "new 0 0 32 32" }, xmlSpace: "preserve" }), (e.exports = o), (o.default = o); }, 6428: (e, t, n) => { var r = n(23469); function o(e) { return r.createElement("svg", e, [ r.createElement( "style", { type: "text/css", key: 0 }, "\n\t.st0{fill:#000B1D;}\n\t.st1{clip-path:url(#SVGID_00000081614710071452325380000015027696279794119590_);}\n\t.st2{clip-path:url(#SVGID_00000070825181815467195850000017054706096241198244_);}\n" ), r.createElement("switch", { key: 1 }, [ r.createElement("foreignObject", { width: "1", height: "1", requiredExtensions: "http://ns.adobe.com/AdobeIllustrator/10.0/", key: 0 }), r.createElement("g", { key: 1 }, [ r.createElement("path", { className: "st0", d: "M9.91,0h36.18C51.563,0,56,4.437,56,9.91v34.18c0,5.473-4.437,9.91-9.91,9.91H9.91 C4.437,54,0,49.563,0,44.09V9.91C0,4.437,4.437,0,9.91,0z", key: 0 }), r.createElement( "defs", { key: 1 }, r.createElement("path", { id: "a", d: "m34.018 15.492c-1.013-2.395-3.358-3.953-5.961-3.953s-4.971 1.562-5.982 3.965l-8.185 19.493c-1.122 2.663 0.831 5.608 3.72 5.608h9.115c2.238-5e-3 4.05-1.821 4.05-4.062s-1.818-4.062-4.062-4.062c-0.092 0-1.558 0.012-1.558 0.012-0.66 0-1.105-0.672-0.849-1.281l2.905-6.923c0.316-0.752 1.348-0.757 1.666-5e-3l5.928 13.86c0.814 1.85 2.364 2.454 3.729 2.458 2.896 0 4.848-2.949 3.72-5.615l-8.236-19.495z", }) ), r.createElement("clipPath", { id: "f", key: 2 }, r.createElement("use", { xlinkHref: "#a" })), r.createElement("g", { clipPath: "url(#f)", key: 3 }, [ r.createElement("defs", { key: 0 }, r.createElement("rect", { id: "e", x: "8.571", y: "6.539", width: "39.009", height: "39.065" })), r.createElement("clipPath", { id: "c", key: 1 }, r.createElement("use", { xlinkHref: "#e" })), r.createElement("g", { clipPath: "url(#c)", key: 2 }, [ r.createElement("defs", { key: 0 }, r.createElement("rect", { id: "b", x: "8.571", y: "6.539", width: "39.009", height: "39.065" })), r.createElement("clipPath", { id: "d", key: 1 }, r.createElement("use", { xlinkHref: "#b" })), r.createElement( "g", { clipPath: "url(#d)", key: 2 }, r.createElement("image", { transform: "matrix(.48 0 0 .48 8.16 6.48)", width: "83", height: "82", overflow: "visible", xlinkHref: "data:image/jpeg;base64,/9j/4gxYSUNDX1BST0ZJTEUAAQEAAAxITGlubwIQAABtbnRyUkdCIFhZWiAHzgACAAkABgAxAABh Y3NwTVNGVAAAAABJRUMgc1JHQgAAAAAAAAAAAAAAAAAA9tYAAQAAAADTLUhQICAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABFjcHJ0AAABUAAAADNkZXNjAAAB hAAAAGx3dHB0AAAB8AAAABRia3B0AAACBAAAABRyWFlaAAACGAAAABRnWFlaAAACLAAAABRiWFla AAACQAAAABRkbW5kAAACVAAAAHBkbWRkAAACxAAAAIh2dWVkAAADTAAAAIZ2aWV3AAAD1AAAACRs dW1pAAAD+AAAABRtZWFzAAAEDAAAACR0ZWNoAAAEMAAAAAxyVFJDAAAEPAAACAxnVFJDAAAEPAAA CAxiVFJDAAAEPAAACAx0ZXh0AAAAAENvcHlyaWdodCAoYykgMTk5OCBIZXdsZXR0LVBhY2thcmQg Q29tcGFueQAAZGVzYwAAAAAAAAASc1JHQiBJRUM2MTk2Ni0yLjEAAAAAAAAAAAAAABJzUkdCIElF QzYxOTY2LTIuMQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAWFlaIAAAAAAAAPNRAAEAAAABFsxYWVogAAAAAAAAAAAAAAAAAAAAAFhZWiAAAAAAAABvogAA OPUAAAOQWFlaIAAAAAAAAGKZAAC3hQAAGNpYWVogAAAAAAAAJKAAAA+EAAC2z2Rlc2MAAAAAAAAA FklFQyBodHRwOi8vd3d3LmllYy5jaAAAAAAAAAAAAAAAFklFQyBodHRwOi8vd3d3LmllYy5jaAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABkZXNjAAAAAAAAAC5J RUMgNjE5NjYtMi4xIERlZmF1bHQgUkdCIGNvbG91ciBzcGFjZSAtIHNSR0IAAAAAAAAAAAAAAC5J RUMgNjE5NjYtMi4xIERlZmF1bHQgUkdCIGNvbG91ciBzcGFjZSAtIHNSR0IAAAAAAAAAAAAAAAAA AAAAAAAAAAAAZGVzYwAAAAAAAAAsUmVmZXJlbmNlIFZpZXdpbmcgQ29uZGl0aW9uIGluIElFQzYx OTY2LTIuMQAAAAAAAAAAAAAALFJlZmVyZW5jZSBWaWV3aW5nIENvbmRpdGlvbiBpbiBJRUM2MTk2 Ni0yLjEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHZpZXcAAAAAABOk/gAUXy4AEM8UAAPtzAAE EwsAA1yeAAAAAVhZWiAAAAAAAEwJVgBQAAAAVx/nbWVhcwAAAAAAAAABAAAAAAAAAAAAAAAAAAAA AAAAAo8AAAACc2lnIAAAAABDUlQgY3VydgAAAAAAAAQAAAAABQAKAA8AFAAZAB4AIwAoAC0AMgA3 ADsAQABFAEoATwBUAFkAXgBjAGgAbQByAHcAfACBAIYAiwCQAJUAmgCfAKQAqQCuALIAtwC8AMEA xgDLANAA1QDbAOAA5QDrAPAA9gD7AQEBBwENARMBGQEfASUBKwEyATgBPgFFAUwBUgFZAWABZwFu AXUBfAGDAYsBkgGaAaEBqQGxAbkBwQHJAdEB2QHhAekB8gH6AgMCDAIUAh0CJgIvAjgCQQJLAlQC XQJnAnECegKEAo4CmAKiAqwCtgLBAssC1QLgAusC9QMAAwsDFgMhAy0DOANDA08DWgNmA3IDfgOK A5YDogOuA7oDxwPTA+AD7AP5BAYEEwQgBC0EOwRIBFUEYwRxBH4EjASaBKgEtgTEBNME4QTwBP4F DQUcBSsFOgVJBVgFZwV3BYYFlgWmBbUFxQXVBeUF9gYGBhYGJwY3BkgGWQZqBnsGjAadBq8GwAbR BuMG9QcHBxkHKwc9B08HYQd0B4YHmQesB78H0gflB/gICwgfCDIIRghaCG4IggiWCKoIvgjSCOcI +wkQCSUJOglPCWQJeQmPCaQJugnPCeUJ+woRCicKPQpUCmoKgQqYCq4KxQrcCvMLCwsiCzkLUQtp C4ALmAuwC8gL4Qv5DBIMKgxDDFwMdQyODKcMwAzZDPMNDQ0mDUANWg10DY4NqQ3DDd4N+A4TDi4O SQ5kDn8Omw62DtIO7g8JDyUPQQ9eD3oPlg+zD88P7BAJECYQQxBhEH4QmxC5ENcQ9RETETERTxFt EYwRqhHJEegSBxImEkUSZBKEEqMSwxLjEwMTIxNDE2MTgxOkE8UT5RQGFCcUSRRqFIsUrRTOFPAV EhU0FVYVeBWbFb0V4BYDFiYWSRZsFo8WshbWFvoXHRdBF2UXiReuF9IX9xgbGEAYZRiKGK8Y1Rj6 GSAZRRlrGZEZtxndGgQaKhpRGncanhrFGuwbFBs7G2MbihuyG9ocAhwqHFIcexyjHMwc9R0eHUcd cB2ZHcMd7B4WHkAeah6UHr4e6R8THz4faR+UH78f6iAVIEEgbCCYIMQg8CEcIUghdSGhIc4h+yIn IlUigiKvIt0jCiM4I2YjlCPCI/AkHyRNJHwkqyTaJQklOCVoJZclxyX3JicmVyaHJrcm6CcYJ0kn eierJ9woDSg/KHEooijUKQYpOClrKZ0p0CoCKjUqaCqbKs8rAis2K2krnSvRLAUsOSxuLKIs1y0M LUEtdi2rLeEuFi5MLoIuty7uLyQvWi+RL8cv/jA1MGwwpDDbMRIxSjGCMbox8jIqMmMymzLUMw0z RjN/M7gz8TQrNGU0njTYNRM1TTWHNcI1/TY3NnI2rjbpNyQ3YDecN9c4FDhQOIw4yDkFOUI5fzm8 Ofk6Njp0OrI67zstO2s7qjvoPCc8ZTykPOM9Ij1hPaE94D4gPmA+oD7gPyE/YT+iP+JAI0BkQKZA 50EpQWpBrEHuQjBCckK1QvdDOkN9Q8BEA0RHRIpEzkUSRVVFmkXeRiJGZ0arRvBHNUd7R8BIBUhL SJFI10kdSWNJqUnwSjdKfUrESwxLU0uaS+JMKkxyTLpNAk1KTZNN3E4lTm5Ot08AT0lPk0/dUCdQ cVC7UQZRUFGbUeZSMVJ8UsdTE1NfU6pT9lRCVI9U21UoVXVVwlYPVlxWqVb3V0RXklfgWC9YfVjL WRpZaVm4WgdaVlqmWvVbRVuVW+VcNVyGXNZdJ114XcleGl5sXr1fD19hX7NgBWBXYKpg/GFPYaJh 9WJJYpxi8GNDY5dj62RAZJRk6WU9ZZJl52Y9ZpJm6Gc9Z5Nn6Wg/aJZo7GlDaZpp8WpIap9q92tP a6dr/2xXbK9tCG1gbbluEm5rbsRvHm94b9FwK3CGcOBxOnGVcfByS3KmcwFzXXO4dBR0cHTMdSh1 hXXhdj52m3b4d1Z3s3gReG54zHkqeYl553pGeqV7BHtje8J8IXyBfOF9QX2hfgF+Yn7CfyN/hH/l gEeAqIEKgWuBzYIwgpKC9INXg7qEHYSAhOOFR4Wrhg6GcobXhzuHn4gEiGmIzokziZmJ/opkisqL MIuWi/yMY4zKjTGNmI3/jmaOzo82j56QBpBukNaRP5GokhGSepLjk02TtpQglIqU9JVflcmWNJaf lwqXdZfgmEyYuJkkmZCZ/JpomtWbQpuvnByciZz3nWSd0p5Anq6fHZ+Ln/qgaaDYoUehtqImopaj BqN2o+akVqTHpTilqaYapoum/adup+CoUqjEqTepqaocqo+rAqt1q+msXKzQrUStuK4trqGvFq+L sACwdbDqsWCx1rJLssKzOLOutCW0nLUTtYq2AbZ5tvC3aLfguFm40blKucK6O7q1uy67p7whvJu9 Fb2Pvgq+hL7/v3q/9cBwwOzBZ8Hjwl/C28NYw9TEUcTOxUvFyMZGxsPHQce/yD3IvMk6ybnKOMq3 yzbLtsw1zLXNNc21zjbOts83z7jQOdC60TzRvtI/0sHTRNPG1EnUy9VO1dHWVdbY11zX4Nhk2OjZ bNnx2nba+9uA3AXcit0Q3ZbeHN6i3ynfr+A24L3hROHM4lPi2+Nj4+vkc+T85YTmDeaW5x/nqegy 6LzpRunQ6lvq5etw6/vshu0R7ZzuKO6070DvzPBY8OXxcvH/8ozzGfOn9DT0wvVQ9d72bfb794r4 Gfio+Tj5x/pX+uf7d/wH/Jj9Kf26/kv+3P9t////4U7saHR0cDovL25zLmFkb2JlLmNvbS94YXAv MS4wLwA8P3hwYWNrZXQgYmVnaW49Iu+7vyIgaWQ9Ilc1TTBNcENlaGlIenJlU3pOVGN6a2M5ZCI/ Pgo8eDp4bXBtZXRhIHhtbG5zOng9ImFkb2JlOm5zOm1ldGEvIiB4OnhtcHRrPSJBZG9iZSBYTVAg Q29yZSA3LjItYzAwMCA3OS4xYjY1YTc5LCAyMDIyLzA2LzEzLTE3OjQ2OjE0ICAgICAgICAiPgog ICA8cmRmOlJERiB4bWxuczpyZGY9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkvMDIvMjItcmRmLXN5 bnRheC1ucyMiPgogICAgICA8cmRmOkRlc2NyaXB0aW9uIHJkZjphYm91dD0iIgogICAgICAgICAg ICB4bWxuczp4bXA9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC8iCiAgICAgICAgICAgIHht bG5zOnhtcEdJbWc9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9nL2ltZy8iCiAgICAgICAg ICAgIHhtbG5zOmRjPSJodHRwOi8vcHVybC5vcmcvZGMvZWxlbWVudHMvMS4xLyIKICAgICAgICAg ICAgeG1sbnM6eG1wTU09Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9tbS8iCiAgICAgICAg ICAgIHhtbG5zOnN0RXZ0PSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvc1R5cGUvUmVzb3Vy Y2VFdmVudCMiPgogICAgICAgICA8eG1wOkNyZWF0b3JUb29sPkFkb2JlIElsbHVzdHJhdG9yIDI2 LjYgKE1hY2ludG9zaCk8L3htcDpDcmVhdG9yVG9vbD4KICAgICAgICAgPHhtcDpDcmVhdGVEYXRl PjIwMjItMDgtMDJUMTI6NTI6NTctMDc6MDA8L3htcDpDcmVhdGVEYXRlPgogICAgICAgICA8eG1w OlRodW1ibmFpbHM+CiAgICAgICAgICAgIDxyZGY6QWx0PgogICAgICAgICAgICAgICA8cmRmOmxp IHJkZjpwYXJzZVR5cGU9IlJlc291cmNlIj4KICAgICAgICAgICAgICAgICAgPHhtcEdJbWc6d2lk dGg+MjU2PC94bXBHSW1nOndpZHRoPgogICAgICAgICAgICAgICAgICA8eG1wR0ltZzpoZWlnaHQ+ MjQ4PC94bXBHSW1nOmhlaWdodD4KICAgICAgICAgICAgICAgICAgPHhtcEdJbWc6Zm9ybWF0PkpQ RUc8L3htcEdJbWc6Zm9ybWF0PgogICAgICAgICAgICAgICAgICA8eG1wR0ltZzppbWFnZT4vOWov NEFBUVNrWkpSZ0FCQWdFQVNBQklBQUQvN1FBc1VHaHZkRzl6YUc5d0lETXVNQUE0UWtsTkErMEFB QUFBQUJBQVNBQUFBQUVBJiN4QTtBUUJJQUFBQUFRQUIvK0lNV0VsRFExOVFVazlHU1V4RkFBRUJB QUFNU0V4cGJtOENFQUFBYlc1MGNsSkhRaUJZV1ZvZ0I4NEFBZ0FKJiN4QTtBQVlBTVFBQVlXTnpj RTFUUmxRQUFBQUFTVVZESUhOU1IwSUFBQUFBQUFBQUFBQUFBQUFBQVBiV0FBRUFBQUFBMHkxSVVD QWdBQUFBJiN4QTtBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFB QUFBQUFBQUFBQUFBQVJZM0J5ZEFBQUFWQUFBQUF6JiN4QTtaR1Z6WXdBQUFZUUFBQUJzZDNSd2RB QUFBZkFBQUFBVVltdHdkQUFBQWdRQUFBQVVjbGhaV2dBQUFoZ0FBQUFVWjFoWldnQUFBaXdBJiN4 QTtBQUFVWWxoWldnQUFBa0FBQUFBVVpHMXVaQUFBQWxRQUFBQndaRzFrWkFBQUFzUUFBQUNJZG5W bFpBQUFBMHdBQUFDR2RtbGxkd0FBJiN4QTtBOVFBQUFBa2JIVnRhUUFBQS9nQUFBQVViV1ZoY3dB QUJBd0FBQUFrZEdWamFBQUFCREFBQUFBTWNsUlNRd0FBQkR3QUFBZ01aMVJTJiN4QTtRd0FBQkR3 QUFBZ01ZbFJTUXdBQUJEd0FBQWdNZEdWNGRBQUFBQUJEYjNCNWNtbG5hSFFnS0dNcElERTVPVGdn U0dWM2JHVjBkQzFRJiN4QTtZV05yWVhKa0lFTnZiWEJoYm5rQUFHUmxjMk1BQUFBQUFBQUFFbk5T UjBJZ1NVVkROakU1TmpZdE1pNHhBQUFBQUFBQUFBQUFBQUFTJiN4QTtjMUpIUWlCSlJVTTJNVGsy TmkweUxqRUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFB QUFBJiN4QTtBQUFBQUFBQUFBQUFBRmhaV2lBQUFBQUFBQUR6VVFBQkFBQUFBUmJNV0ZsYUlBQUFB QUFBQUFBQUFBQUFBQUFBQUFCWVdWb2dBQUFBJiN4QTtBQUFBYjZJQUFEajFBQUFEa0ZoWldpQUFB QUFBQUFCaW1RQUF0NFVBQUJqYVdGbGFJQUFBQUFBQUFDU2dBQUFQaEFBQXRzOWtaWE5qJiN4QTtB QUFBQUFBQUFCWkpSVU1nYUhSMGNEb3ZMM2QzZHk1cFpXTXVZMmdBQUFBQUFBQUFBQUFBQUJaSlJV TWdhSFIwY0RvdkwzZDNkeTVwJiN4QTtaV011WTJnQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFB QUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQVpHVnpZd0FBJiN4QTtBQUFBQUFBdVNV VkRJRFl4T1RZMkxUSXVNU0JFWldaaGRXeDBJRkpIUWlCamIyeHZkWElnYzNCaFkyVWdMU0J6VWtk Q0FBQUFBQUFBJiN4QTtBQUFBQUFBdVNVVkRJRFl4T1RZMkxUSXVNU0JFWldaaGRXeDBJRkpIUWlC amIyeHZkWElnYzNCaFkyVWdMU0J6VWtkQ0FBQUFBQUFBJiN4QTtBQUFBQUFBQUFBQUFBQUFBQUFB QUFHUmxjMk1BQUFBQUFBQUFMRkpsWm1WeVpXNWpaU0JXYVdWM2FXNW5JRU52Ym1ScGRHbHZiaUJw JiN4QTtiaUJKUlVNMk1UazJOaTB5TGpFQUFBQUFBQUFBQUFBQUFDeFNaV1psY21WdVkyVWdWbWxs ZDJsdVp5QkRiMjVrYVhScGIyNGdhVzRnJiN4QTtTVVZETmpFNU5qWXRNaTR4QUFBQUFBQUFBQUFB QUFBQUFBQUFBQUFBQUFBQUFBQUFBQUIyYVdWM0FBQUFBQUFUcFA0QUZGOHVBQkRQJiN4QTtGQUFE N2N3QUJCTUxBQU5jbmdBQUFBRllXVm9nQUFBQUFBQk1DVllBVUFBQUFGY2Y1MjFsWVhNQUFBQUFB QUFBQVFBQUFBQUFBQUFBJiN4QTtBQUFBQUFBQUFBQUFBQUtQQUFBQUFuTnBaeUFBQUFBQVExSlVJ R04xY25ZQUFBQUFBQUFFQUFBQUFBVUFDZ0FQQUJRQUdRQWVBQ01BJiN4QTtLQUF0QURJQU53QTdB RUFBUlFCS0FFOEFWQUJaQUY0QVl3Qm9BRzBBY2dCM0FId0FnUUNHQUlzQWtBQ1ZBSm9BbndDa0FL a0FyZ0N5JiN4QTtBTGNBdkFEQkFNWUF5d0RRQU5VQTJ3RGdBT1VBNndEd0FQWUErd0VCQVFjQkRR RVRBUmtCSHdFbEFTc0JNZ0U0QVQ0QlJRRk1BVklCJiN4QTtXUUZnQVdjQmJnRjFBWHdCZ3dHTEFa SUJtZ0doQWFrQnNRRzVBY0VCeVFIUkFka0I0UUhwQWZJQitnSURBZ3dDRkFJZEFpWUNMd0k0JiN4 QTtBa0VDU3dKVUFsMENad0p4QW5vQ2hBS09BcGdDb2dLc0FyWUN3UUxMQXRVQzRBTHJBdlVEQUFN TEF4WURJUU10QXpnRFF3TlBBMW9EJiN4QTtaZ055QTM0RGlnT1dBNklEcmdPNkE4Y0Qwd1BnQSt3 RCtRUUdCQk1FSUFRdEJEc0VTQVJWQkdNRWNRUitCSXdFbWdTb0JMWUV4QVRUJiN4QTtCT0VFOEFU K0JRMEZIQVVyQlRvRlNRVllCV2NGZHdXR0JaWUZwZ1cxQmNVRjFRWGxCZllHQmdZV0JpY0dOd1pJ QmxrR2FnWjdCb3dHJiN4QTtuUWF2QnNBRzBRYmpCdlVIQndjWkJ5c0hQUWRQQjJFSGRBZUdCNWtI ckFlL0I5SUg1UWY0Q0FzSUh3Z3lDRVlJV2dodUNJSUlsZ2lxJiN4QTtDTDRJMGdqbkNQc0pFQWts Q1RvSlR3bGtDWGtKandta0Nib0p6d25sQ2ZzS0VRb25DajBLVkFwcUNvRUttQXF1Q3NVSzNBcnpD d3NMJiN4QTtJZ3M1QzFFTGFRdUFDNWdMc0F2SUMrRUwrUXdTRENvTVF3eGNESFVNamd5bkRNQU0y UXp6RFEwTkpnMUFEVm9OZEEyT0Rha053dzNlJiN4QTtEZmdPRXc0dURra09aQTUvRHBzT3RnN1NE dTRQQ1E4bEQwRVBYZzk2RDVZUHN3L1BEK3dRQ1JBbUVFTVFZUkIrRUpzUXVSRFhFUFVSJiN4QTtF eEV4RVU4UmJSR01FYW9SeVJIb0VnY1NKaEpGRW1RU2hCS2pFc01TNHhNREV5TVRReE5qRTRNVHBC UEZFK1VVQmhRbkZFa1VhaFNMJiN4QTtGSzBVemhUd0ZSSVZOQlZXRlhnVm14VzlGZUFXQXhZbUZr a1diQmFQRnJJVzFoYjZGeDBYUVJkbEY0a1hyaGZTRi9jWUd4aEFHR1VZJiN4QTtpaGl2R05VWSto a2dHVVVaYXhtUkdiY1ozUm9FR2lvYVVScDNHcDRheFJyc0d4UWJPeHRqRzRvYnNodmFIQUljS2h4 U0hIc2NveHpNJiN4QTtIUFVkSGgxSEhYQWRtUjNESGV3ZUZoNUFIbW9lbEI2K0h1a2ZFeDgrSDJr ZmxCKy9IK29nRlNCQklHd2dtQ0RFSVBBaEhDRklJWFVoJiN4QTtvU0hPSWZzaUp5SlZJb0lpcnlM ZEl3b2pPQ05tSTVRandpUHdKQjhrVFNSOEpLc2syaVVKSlRnbGFDV1hKY2NsOXlZbkpsY21oeWEz JiN4QTtKdWduR0NkSkozb25xeWZjS0Ewb1B5aHhLS0lvMUNrR0tUZ3BheW1kS2RBcUFpbzFLbWdx bXlyUEt3SXJOaXRwSzUwcjBTd0ZMRGtzJiN4QTtiaXlpTE5jdERDMUJMWFl0cXkzaExoWXVUQzZD THJjdTdpOGtMMW92a1MvSEwvNHdOVEJzTUtRdzJ6RVNNVW94Z2pHNk1mSXlLakpqJiN4QTtNcHN5 MURNTk0wWXpmek80TS9FMEt6UmxOSjQwMkRVVE5VMDFoelhDTmYwMk56WnlOcTQyNlRja04yQTNu RGZYT0JRNFVEaU1PTWc1JiN4QTtCVGxDT1g4NXZEbjVPalk2ZERxeU91ODdMVHRyTzZvNzZEd25Q R1U4cER6alBTSTlZVDJoUGVBK0lENWdQcUErNEQ4aFAyRS9vai9pJiN4QTtRQ05BWkVDbVFPZEJL VUZxUWF4QjdrSXdRbkpDdFVMM1F6cERmVVBBUkFORVIwU0tSTTVGRWtWVlJacEYza1lpUm1kR3Ew YndSelZIJiN4QTtlMGZBU0FWSVMwaVJTTmRKSFVsalNhbEo4RW8zU24xS3hFc01TMU5MbWt2aVRD cE1ja3k2VFFKTlNrMlRUZHhPSlU1dVRyZFBBRTlKJiN4QTtUNU5QM1ZBblVIRlF1MUVHVVZCUm0x SG1VakZTZkZMSFV4TlRYMU9xVS9aVVFsU1BWTnRWS0ZWMVZjSldEMVpjVnFsVzkxZEVWNUpYJiN4 QTs0Rmd2V0gxWXkxa2FXV2xadUZvSFdsWmFwbHIxVzBWYmxWdmxYRFZjaGx6V1hTZGRlRjNKWGhw ZWJGNjlYdzlmWVYrellBVmdWMkNxJiN4QTtZUHhoVDJHaVlmVmlTV0tjWXZCalEyT1hZK3RrUUdT VVpPbGxQV1dTWmVkbVBXYVNadWhuUFdlVForbG9QMmlXYU94cFEybWFhZkZxJiN4QTtTR3FmYXZk clQydW5hLzlzVjJ5dmJRaHRZRzI1YmhKdWEyN0VieDV2ZUcvUmNDdHdobkRnY1RweGxYSHdja3R5 cG5NQmMxMXp1SFFVJiN4QTtkSEIwekhVb2RZVjE0WFkrZHB0MitIZFdkN040RVhodWVNeDVLbm1K ZWVkNlJucWxld1I3WTN2Q2ZDRjhnWHpoZlVGOW9YNEJmbUorJiN4QTt3bjhqZjRSLzVZQkhnS2lC Q29GcmdjMkNNSUtTZ3ZTRFY0TzZoQjJFZ0lUamhVZUZxNFlPaG5LRzE0YzdoNStJQklocGlNNkpN NG1aJiN4QTtpZjZLWklyS2l6Q0xsb3Y4akdPTXlvMHhqWmlOLzQ1bWpzNlBObytla0FhUWJwRFdr VCtScUpJUmtucVM0NU5OazdhVUlKU0tsUFNWJiN4QTtYNVhKbGpTV241Y0tsM1dYNEpoTW1MaVpK Sm1RbWZ5YWFKclZtMEticjV3Y25JbWM5NTFrbmRLZVFKNnVueDJmaTUvNm9HbWcyS0ZIJiN4QTtv YmFpSnFLV293YWpkcVBtcEZha3g2VTRwYW1tR3FhTHB2Mm5icWZncUZLb3hLazNxYW1xSEtxUHF3 S3JkYXZwckZ5czBLMUVyYml1JiN4QTtMYTZocnhhdmk3QUFzSFd3NnJGZ3NkYXlTN0xDc3ppenJy UWx0SnkxRTdXS3RnRzJlYmJ3dDJpMzRMaFp1Tkc1U3JuQ3VqdTZ0YnN1JiN4QTt1NmU4SWJ5YnZS VzlqNzRLdm9TKy83OTZ2L1hBY01Ec3dXZkI0OEpmd3R2RFdNUFV4RkhFenNWTHhjakdSc2JEeDBI SHY4Zzl5THpKJiN4QTtPc201eWpqS3Q4czJ5N2JNTmN5MXpUWE50YzQyenJiUE44KzQwRG5RdXRF ODBiN1NQOUxCMDBUVHh0UkoxTXZWVHRYUjFsWFcyTmRjJiN4QTsxK0RZWk5qbzJXelo4ZHAyMnZ2 YmdOd0YzSXJkRU4yVzNoemVvdDhwMzYvZ051Qzk0VVRoek9KVDR0dmpZK1ByNUhQay9PV0U1ZzNt JiN4QTtsdWNmNTZub011aTg2VWJwME9wYjZ1WHJjT3Y3N0lidEVlMmM3aWp1dE85QTc4endXUERs OFhMeC8vS004eG56cC9RMDlNTDFVUFhlJiN4QTs5bTMyKy9lSytCbjRxUGs0K2NmNlYvcm4rM2Y4 Qi95WS9Tbjl1djVML3R6L2JmLy8vKzRBRGtGa2IySmxBR1RBQUFBQUFmL2JBSVFBJiN4QTtCZ1FF QkFVRUJnVUZCZ2tHQlFZSkN3Z0dCZ2dMREFvS0N3b0tEQkFNREF3TURBd1FEQTRQRUE4T0RCTVRG QlFURXh3Ykd4c2NIeDhmJiN4QTtIeDhmSHg4Zkh3RUhCd2NOREEwWUVCQVlHaFVSRlJvZkh4OGZI eDhmSHg4Zkh4OGZIeDhmSHg4Zkh4OGZIeDhmSHg4Zkh4OGZIeDhmJiN4QTtIeDhmSHg4Zkh4OGZI eDhmSHg4Zi84QUFFUWdBK0FFQUF3RVJBQUlSQVFNUkFmL0VBYUlBQUFBSEFRRUJBUUVBQUFBQUFB QUFBQVFGJiN4QTtBd0lHQVFBSENBa0tDd0VBQWdJREFRRUJBUUVBQUFBQUFBQUFBUUFDQXdRRkJn Y0lDUW9MRUFBQ0FRTURBZ1FDQmdjREJBSUdBbk1CJiN4QTtBZ01SQkFBRklSSXhRVkVHRTJFaWNZ RVVNcEdoQnhXeFFpUEJVdEhoTXhaaThDUnlndkVsUXpSVGtxS3lZM1BDTlVRbms2T3pOaGRVJiN4 QTtaSFREMHVJSUpvTUpDaGdaaEpSRlJxUzBWdE5WS0JyeTQvUEUxT1QwWlhXRmxhVzF4ZFhsOVda MmhwYW10c2JXNXZZM1IxZG5kNGVYJiN4QTtwN2ZIMStmM09FaFlhSGlJbUtpNHlOam8rQ2s1U1Zs cGVZbVpxYm5KMmVuNUtqcEtXbXA2aXBxcXVzcmE2dm9SQUFJQ0FRSURCUVVFJiN4QTtCUVlFQ0FN RGJRRUFBaEVEQkNFU01VRUZVUk5oSWdaeGdaRXlvYkh3Rk1IUjRTTkNGVkppY3ZFekpEUkRnaGFT VXlXaVk3TENCM1BTJiN4QTtOZUpFZ3hkVWt3Z0pDaGdaSmpaRkdpZGtkRlUzOHFPend5Z3AwK1B6 aEpTa3RNVFU1UFJsZFlXVnBiWEYxZVgxUmxabWRvYVdwcmJHJiN4QTsxdWIyUjFkbmQ0ZVhwN2ZI MStmM09FaFlhSGlJbUtpNHlOam8rRGxKV1dsNWlabXB1Y25aNmZrcU9rcGFhbnFLbXFxNnl0cnEr di9hJiN4QTtBQXdEQVFBQ0VRTVJBRDhBOVU0cTdGV04rZVB6RjhvZVNOTit2K1k5UVMxVjYvVjdj ZkhQTXdIMllvbCtKdm4wSGNqQ0lrb0pwOHllJiN4QTtldjhBbk1UelZmeVNXM2sreGowYXozQ1h0 eXEzRjJ3N053TllZL2xSL25sd3hEcXdNM2ptdWZtUjUvMTUyYlYvTU9vWGFzYW1KN2lRJiN4QTtS QW4rV0pTSTEraGNtSWhqYkhDU1NTVFVuY2s0VU5ZcTdGWFlxN0ZYWXE3RlhZcTdGWFlxN0ZYWXE3 RlhZcTdGWFlxN0ZYWXE3RlhZJiN4QTtxN0ZXd1NDQ0RRamNFWXF5UFEvekk4LzZDNnRwSG1IVUxS Vk5SRWx4SVlpUi9ORXhNYmZTdUF4Q2JleCtSZjhBbk1UelZZU1IyM25DJiN4QTt4ajFtejJEM3Rz cTI5Mm83dHdGSVpQbFJQbmtEaUhSa0p2cHZ5UDhBbUw1UTg3NmI5ZjhBTG1vSmRLbFByRnVmZ25o WWo3TXNUZkV2JiN4QTt6NkhzVGxKaVF6QnRrbUJMc1ZkaXJ5Lzg3L3p2MG44dWRKRUVBUzg4ejNp RTZmcDVOVlJUVWV2UFFnaU1FYkRxeDJIY2ljSVd4bEtuJiN4QTt3NzVtODBhOTVuMWlmV05kdkpM N1VMZy9ITkllaTlrUlJzaUxYWlYyR1pBRk5aS1Y0b2RpcnNWZGlyc1ZkaXJzVmRpcnNWZGlyc1Zk JiN4QTtpcnNWZGlyc1ZkaXJzVmRpcnNWZGlyc1ZkaXJzVmRpcnNWZGlxYWVXZk5HdmVXTllnMWpR cnlTeDFDM1B3VFJucXZkSFU3T2pVM1Z0JiN4QTtqaVJhUVgzRitTSDUzNlQrWTJrbUNjSlorWjdO QWRRMDhHaXVvb1BYZ3FTVEdTZHgxVTdIc1RqemhUWkdWdlVNZ3lZMytZdm5qVGZKJiN4QTtIbERV UE1kLzhhMnFVdDdlb0RUVHY4TVVTLzZ6ZGZBVlBiREVXVUUwL1BIelI1bTFqelByMTVydXNUbTQx QytrTWt6L0FMSTdLaURmJiN4QTtpaUQ0VkhZWmxBVTFFcFhpaDJLdXhWMkt1eFYyS3V4VjJLdXhW Mkt1eFYyS3V4VjJLdXhWMkt1eFYyS3V4VjJLdXhWMkt1eFYyS3V4JiN4QTtWMkt1eFYyS3BwNVg4 emF4NVkxNnoxM1I1emI2aFl5Q1NGLzJUMlpIRzNKSEh3c080eEl0SUw5RHZ5Njg4YWI1MzhvYWY1 anNQZ1c2JiN4QTtTbHhiMUJhR2RQaGxpYi9WYnA0aWg3NWl5RkZ0QnQ4eWY4NWllZXBML3dBMVdQ aysyay8wUFJvMXViMUFkbXU3aGFweUgvRmNKRlA5JiN4QTtjNWRpRzFzSmw4OFpZd2RpcnNWZGly c1ZkaXJzVmRpcnNWZGlyc1ZkaXJzVmRpcnNWZGlyc1ZkaXJzVmRpcnNWZGlyc1ZkaXJzVmRpJiN4 QTtyc1ZkaXJzVmRpcjZILzV3Nzg5U1dIbXErOG4zTW4raDZ6RzF6WklUc3QzYnJWK0kvd0NMSVFh LzZneXZLTnJad0x4ejh5TmNmWHZQJiN4QTsvbUhWMllzdDNxRnc4Uk81RVFrS3hML3NZd295Y1Jz eExHOEtIWXE3RlhZcTdGWFlxN0ZYWXE3RlhZcTdGWFlxN0ZYWXE3RlhZcTdGJiN4QTtYWXE3RlhZ cTdGWFlxN0ZYWXE3RlhZcTdGWFlxN0ZYWXF5VDh0OWNmUWZQL0FKZTFkV0tyYWFoYnZLUnNURVpB c3EvN0tNc01FaHNrJiN4QTtNY0pKSkpOU2R5VGhRMWlyc1ZkaXJzVmRpcnNWZGlyc1ZkaXJzVmRp cnNWZGlyc1ZkaXJzVmRpcnNWZGlyc1ZkaXJzVmRpcnNWZGlyJiN4QTtzVmRpcnNWZGlyc1ZiQklJ SU5DTndSaXJXS3V4VjJLdXhWMkt1eFYyS3V4VjJLdXhWMkt1eFYyS3V4Vkc2ZG8ycWFrL0N5dDNt cHN6JiN4QTtBVVVmTmpSUjkrVlpkUkRIOVJwek5KMmZuMUJySEV5Kzc1OGsvZy9MYlhYWGxKTEJF VCt5V1luL0FJVlNQeHpBbDJ0akhJRXU5eCt5JiN4QTtXcEk5VW9SK2Y2bTV2eTAxeFZKam10NUtm czhtVW43MXArT0NQYStQcUN5eWV5T29BOU1vSDVqOUNRNmxvV3I2YWY4QVRiWjRsN1NmJiN4QTth US83TmFybWRoMU9QSjlKZEZxK3pkUnAvd0M4aVFPL21QbU5rQmw3Z3V4VjJLdXhWMkt1eFYyS3V4 VjJLdXhWMkt1eFYyS3V4VjJLJiN4QTt1eFYyS3V4VjJLdXhWMkt1eFYyS3V4VjJLdXhWMktzejhu K1J2cjBhYWhxWUsyamJ3Mis2dElQNW03aGZEeC9YcTlicitEMHc1OTcxJiN4QTszWWZzOTR3R1hO OUhTUGY1bnkrLzNjK2lRMjhNRVN4UXhyRkVnb3FJQW9BOWdNMEVwRW15OTdqeHhnQkdJb0JmVElN M1V3SzA4VWNxJiN4QTtOSElnZU5oUmtZQWdqM0J3Z2tiaGpLSWtLSXNNQTgzK1JGdDRwTlIwcFQ2 U0RsUGFpcDRqdXllM2lNM21oN1NzOEdUNEg5YnczYm5zJiN4QTs2SUE1Y0EySE9QNlIrcGd1YnA0 eDJLdXhWMkt1eFYyS3V4VjJLdXhWMkt1eFYyS3V4VjJLdXhWMkt1eFYyS3V4VjJLdXhWMkt1eFYy JiN4QTtLdXhWUGZKdWdqV05hamhsRmJXRWVyYys2ZzdML3NqdDhzeDlWbTRJV09idU93K3ovd0F6 cUFKZlJIZVg2dmo5ejJJUmhWQ3FBRkFvJiN4QTtBTmdBTTVxUWZVeHN0SXlraGsxVElGTGdNQ3Jn dUMwS2dUMnlOc1NYa1huM3k4dWtheHpnWGpaM2dNc0lIUldyOGFENUhmNUhPcDdOJiN4QTsxWGk0 NlAxUmZNZmFEczhhZlBjUjZKN2o5SS9IZXhyTmk2SjJLdXhWMkt1eFYyS3V4VjJLdXhWMkt1eFYy S3V4VjJLdXhWMkt1eFYyJiN4QTtLdXhWMkt1eFYyS3V4VjJLdlhmeTIwUTJXZ2k3a1drOStmVVBp STEyakgwN3Q5T2F2V0hpbFhjK2pleldrOExUOForckp2OEFEcCt2JiN4QTs0c3FhUE5aT0wwWUtt VXpIa0dWclRIbEpUYmdtUUsycUxIa1NXSktza2VRSllFc2UvTUhRVHFYbHVaNDFyY1dYK2tSVUc1 Q2o0MStsJiN4QTtkL21Neit6TlQ0ZVlYeWxzNkx0L1NlUHB6WDFROVEvVDlqeFhPdWZOWFlxN0ZY WXE3RlhZcTdGWFlxN0ZYWXE3RlhZcTdGWFlxN0ZYJiN4QTtZcTdGWFlxN0ZYWXE3RlhZcTdGVXg4 dmFSSnErczJtbnBYOSs0RWpEOW1NYnUzMEtEZ0pvT1hvZE1jK2FPTWRUOW5WOUF4MnlSUnBIJiN4 QTtHb1dOQUZSUjBBQW9BTTEyU0Q2ckdvaWh5RG1pekVuQm1KS2JRNWh6aXlFbHBoekZrR1hFNVlm SEtTdkVxcENjckpZbVNza0p5QkxXJiN4QTtaSzZ3S1JRaW9PeEI2SElHVFhLVDU4ODVhRTJoK1ly dXhDa1FCdlV0aWU4VDdyOTMyZm96dU5CcVBHeENYWHI3M3pIdExTK0JubERwJiN4QTt6SHVQNHBK TXkzQWRpcnNWZGlyc1ZkaXJzVmRpcnNWZGlyc1ZkaXJzVmRpcnNWZGlyc1ZkaXJzVmRpcnNWZGly MVQ4bS9MLzd1NjF1JiN4QTtWZnQvNk5hMUhZVWFSaDlOQjkrUzRMRDEvc3pwYUVzcDl3L1M5TjlM TWVlTjZ6aVdtRE1MSkJseExEQm1Ea2d5RWxyUWUyWVdTS2VKJiN4QTt3Z3pFbXZHcXJCbEVpeE1s ZU9EZktpV3N5Uk1kdmxaazFHVHpyODdQTFJtMGkzMXVGS3kyTENHNUlIKzZaRDhKUCtxLy9FczN2 WU9xJiN4QTs0Y2h4bmxMbDd4K3o3bm1mYUhUOFVCa0hPT3g5eC9iOTd4WE9zZVFkaXJzVmRpcnNW ZGlyc1ZkaXJzVmRpcnNWZGlyc1ZkaXJzVmRpJiN4QTtyc1ZkaXJzVmRpcnNWVkxhM211Ym1LMmdV dk5PNnh4SU9wWnp4VWZTVGhBdGxDQmtSRWN5K21OQjBXSFNOSHROTmlvVnRvd2pNUDJuJiN4QTs2 dTMreVlrNW5uRlFwOU0wdUVZY2NZRCtFSS8wOHhzbU55T0ozcDVnNU1hOFRSaUZjMStXQ2VKYVlz MTJXS2VKY3NQdG12eUJIR3FKJiN4QTtCbUhNc1RORUpCMHlrbHJNMFRIYitBeXN5YXBUYTFIUnJm Vk5NdXRQdVJXQzdpZUdUeG80cFVlNDZqRGl6SEhNU0hNRzNIelJFNG1KJiN4QTs1RVBrelY5THV0 SzFTNzAyNkhHNHRKWGhrOENVTktqMlBVWjZUZ3pESkFUSEtRZlA4dU13a1lubUVKbGpXN0ZYWXE3 RlhZcTdGWFlxJiN4QTs3RlhZcTdGWFlxN0ZYWXE3RlhZcTdGWFlxN0ZYWXE3RlhvSDVOZVh2MGg1 aWZVcFZyYjZZdkphOUROSlZVKzRjbStkTXpkRmk0cFgzJiN4QTtPOTdCMDNIbTR6eWg5NzNUaG14 bGplenQzcDVqVHhwNG0rR1lPWEdqaWFNZWEzTkJIRWtubXZ6VHBYbG5UMXZML2svcU53Z2dqQUx1 JiN4QTsxS21sU0JRZHptdi9BQzV5R2c0bXMxOE5QSGlrdDhuZWNOSjgwMmtzOWlIaWx0MkMzRnZK VG1uS3ZFN0VnaHFHaHpXNjNTeXhIZnF3JiN4QTswZmFNTlJFbU94SE1NbFNITlJrY3N6Uk1VSXpG a1dCa2k0b08rVkV0VXBJcU9EZnBrQ1dveWVDLzg1RWVVelphdlorWW9FcEJxQytoJiN4QTtkRURZ VHhENENUL2x4N2Y3SE93OW05WHhRT0k4NDdqM0g5djN2TTlzWWFtSmpyemVQNTB6cG5ZcTdGWFlx N0ZYWXE3RlhZcTdGWFlxJiN4QTs3RlhZcTdGWFlxN0ZYWXE3RlhZcTdGWFlxK2tQeTA4dWZvVHlu YVJTSnh1N29mV3JyeDVTQWNWUCtxbkVmUE9pMG1EZ3hqdk83M2ZaJiN4QTtlbjhIQUFlWjNQeFpX RXk4eGRqYllUS0p3VzNjY3djc0dKazF4eldab01ETjgvZm5ENWgvU25tcHJPSnVWcnBhbUJhZERL ZDVUOTlGJiN4QTsvd0JqbFdLSENIanUyTlQ0bVdoeWp0K3RDL2xWNWlHaSticllTdnh0TC84QTBT NHIwSE1qMDJQeWVtL2hYTWJ0REI0bUk5NDNhdXk5JiN4QTtUNFdZZDB0aStsNDQvYk9KeWg3RXpS Y1VXWVUyQm1qWW9zb0phekpGeFErMlFKYXpKSXZ6RThvTDVuOG02anBTcHl1bWo5V3lPMVJjJiN4 QTtSZkZIdWVuSWppZlluTXZzN1YrQm5qUHAxOXg1dUhxOGZpWXpGOFpzckt4VmdWWlRRZzdFRVo2 ZURieWpXS3V4VjJLdXhWMkt1eFYyJiN4QTtLdXhWMkt1eFYyS3V4VjJLdXhWMkt1eFYyS3V4Vmt2 NWQrWGYwOTVyczdSMDVXc0orc1hmaDZVUkJvZjlacUw5T1pXancrSmtBNk9kJiN4QTsyZHAvRnpB SGtOeSttTTZhbnVlSnNZS1hpWGJaWElJTTJqbUhrZzFISWsvbXpYbzlDOHZYdXFPUnpnalBvcWYy cFcrR05mOEFnaUsrJiN4QTsyYXpQR25EMVdwR09CaytXcFpaSlpYbGxZdkpJeFozTzVMTWFrbk1O NHNtelpXZ2tHbzJJNkhGRDZxL0xmekVQTVhsT3l2MmJsZEl2JiN4QTtvWG5qNjBXekUvNndvLzA1 eG5hT204UElSMDZQVzZUVmVKakJQUHF6S0ZLNXBja1hJNDBkREh0bUpKaVpJeUtLdVZFc0RKRkpG a0NXJiN4QTtzeWZJMzU5ZVRqNWM4L1hNc0tjYkRWeDlldHFEWU01cE1uMFNWTlBBalBSZXdOWjQy bkFQMVE5Si9SOWp6MnR4OE9ROXhlY1p1M0VkJiN4QTtpcnNWZGlyc1ZkaXJzVmRpcnNWZGlyc1Zk aXJzVmRpcnNWZGlyc1ZkaXIzVDhrZkx2MUxRWnRZbVdrK3BOU0lucUlJaVFQOEFnbnIrJiN4QTtH Yi9zekR3dzRqL0U5UDJOaDRNWm1lY3Z1ZWsxelp1NE0zY3NERXpkeXlKRFhMSTBYeWljV21XVjQ1 K2VubVAxTGl6MENGdmhpSDFxJiN4QTs3QS9uYXF4cWZrdFQ5SXpTNjAwZUYwWGFlbzRpSS9GNU5t QzZsMkt2VmZ5QTh6ZlV0Zm4wS2Q2UWFtdk8zQjZDZUlFMEgrdWxmdUdhJiN4QTtudGJUOGNPTCth N0RRWitHUmozdm8yQWRNNC9OQjNJeUpqQWd6WDVBeTRrZEZIdG1OSkJLSldNWkF0Wms4dy81eUs4 bWZwM3lGSnFFJiN4QTtDY3I3UW1OM0dSMU1CQUZ3dnk0Z1Avc2MzbnM3clBDMUFpZnB5YmZIcCty NHVCckk4VWI3bnlKbm96cUhZcTdGWFlxN0ZYWXE3RlhZJiN4QTtxN0ZYWXE3RlhZcTdGWFlxN0ZY WXE3RlVkb21sWEdyNnZhYWJiLzN0MUtzWVA4b0orSmo3S3RUbG1MR1p5RVIxYk1XTXprSWpxK3A3 JiN4QTtHenQ3R3lnczdkZUZ2YlJyRkV2Z3FEaVAxWjFrWWlJQUhSN0dOUkFBNUJWTFpKVGthNVlH cVdSYVh3MDBTeXFOMWVRMnR0TmN6dHdoJiN4QTtnUnBaVzhGUUZtUDNES3Nnb0VseHA1cWZMdXZh dlByR3MzbXB6N1NYVXJQeC9sWG9xLzdGUUJuTFpKOFVpZTkwVTVtVWlTZ01yWU94JiN4QTtWRTZi cUZ6cDJvVzEvYXR3dWJTVkpvVzhHUmd3L1ZrWnhFZ1FlUlRFMGJEN0s4czYxYmExbzFscXR0L2Mz a1N5cUsxNGtqNGxQdXJWJiN4QTtCeml0WGdNSkdQYzdqSG1CRnNqdDZITk5sZzNqSW1NQUZNd1po czRrUUtES3lHcVVtcG9vWm9YaG1RU1JTcVVrallWREt3b1FSNEVZJiN4QTtna0d3MHltK0UvekM4 cVMrVlBPT3A2RzRQcFcweE5xNS9hdDVQamhhdmp3WVY5ODlWN08xWTFHQ09UcVJ2NytycVp4bzB4 M00xZzdGJiN4QTtYWXE3RlhZcTdGWFlxN0ZYWXE3RlhZcTdGWFlxN0ZYWXE3RlhxdjVHZVh2VnZi dlhwaytDMkgxYTBKSCs3SEZaR0h1cVVIK3l6YjlsJiN4QTs0YkptZW16dHV5OFc1bWVqMlFuTjI3 Z3pXRnNMVkthd3RqVGp6eUxDK1RBY1dlVkRYMEVONVp6MmM0NVFYTWJ3eXFEU3FPcFZ0L2tjJiN4 QTtqUEdKQWc5WEV5WlhrOC81SVhuck45WDFTTXcxK0QxSTJEVTk2RWpOSkxzaVFPMG5CTXdwM0g1 SGFzRUp0dFR0NVdwc3NpUEdDZm1QJiN4QTtVeW1mWmtoeUxEeGd3dnpCNVUxN1FKUW1wMnJSSTVw SE9LTkUvd0RxdXUxZlk3NWc1TVVvSGNNNHpCNUpSbFRKNzEvempwNXE5V3p2JiN4QTtQTGM3MWUx SnVyTUUvd0M2bklFcWoyVnlHLzJSelRkcTZlL1VHN0hrclo3cmJ5ak9WejRuS2htVEdHVVVybXR5 WTIwWlVRc3crbktEJiN4QTtCakxLdjlRWkRoYVpaSGduL09VdmxINnhZYWY1c3QwckphRVdWK1Iv dnB5V2hjK3l5RmwvMlF6cS9aZlY4TXBZVDEzSHY2L1o5empUJiN4QTtOdm0vTzBhM1lxN0ZYWXE3 RlhZcTdGWFlxN0ZYWXE3RlhZcTdGWFlxN0ZWeUk4anFpS1dkeUZWUnVTVHNBTUlDWDA5NVEwSk5C OHVXJiN4QTtXbUFEMVlvNjNCRzlaWCtLUTEvMWpRZTJkWHBzWGh3RVhvY01mRGdJcHNUbDZaVFUy YkNHaVUxTm15WURqVHlLVFBrd0hDeVpWTXZrJiN4QTsrRndzbVZybmc0WEN5WlZSSk1xbmphRGxi dTdLeTFLeWxzcjZGWjdXWWNaSW5GUVIvQWpzUjB6VzZqQUR6V09jZzdQblh6djVXbDh0JiN4QTth OUxZRWw3WndKYlNVOVdpWW1sZmRTS0hPZXk0K0NWTzJ3NVJPTnFma3J6SEo1Yzh6MkdycFgwN2VR QzRVZnRRdjhNZy93Q0JKcDc1JiN4QTtqNXNmSEVodEw3RnM3dU9XSkpZbkR4eUtHUjFOUXlzS2dn KytjbnFNTFZITW1NVS92bXF5WW0zeGtRcy92bUpMR3B6S29tOFRsSmcxJiN4QTt5eXBkNW0wYTA4 d2VYOVEwVzcvdUw2Rm9TM1hpeEh3T1BkR293OXhrOVBsT0hKR1k1eExBNVh3M3FXbjNXbmFoYzZm ZHA2ZDFhU3ZCJiN4QTtPbmc4YkZXSDNqUFVNZVFUaUpEa1JiZUNoc21yc1ZkaXJzVmRpcnNWZGly c1ZkaXJzVmRpcnNWZGlyc1ZaTitXdG5GZWVlTkpobEZVJiN4QTtXVnBxZjVVTWJTci9BTU1nekww TVJMTkVGdjB3dklIMGdUblVPNE0xaGJDMHltcE0yU0FjZWMxSm15WURoNU1paTdaWUE0V1RJcEZz JiN4QTtzQWNHZVJ3YkVoeEp6VkZPUkxqeWtpb2owekF6QkFrODMvUGEwaWZTOUx2YWZ2WXBuaEI4 VmtUbCtCanpRYTZOVVhhOW5Uc2tQRzgxJiN4QTt6dFgwcCtSM21vNnI1Uld4bWZsZDZRd3QycjFN SkZZVys2cWY3SE5QcnNIcXZ2Y0RVZW1YdmVtUlRacE11SnFHVkVwUG1CUEdueFZaJiN4QTtac3hw UVI0aTlaVGxSaXhPUjhxLzg1QmFmRGFmbVRkU3hBTDllZ2d1WEEySFBqNlpQMCtuWE8zN0JtWmFZ QS93a2o5UDZYUDA4cmk4JiN4QTszemN0N3NWZGlyc1ZkaXJzVmRpcnNWZGlyc1ZkaXJzVmRpcnNW VDN5THFzV2xlYmRNdlpXQ3hKTHdsYzlGU1ZURXpINUI2NWs2VElJJiN4QTtaWWt0dUdYRElGOUts czZ5bll5a3Nac0lEUktha3paTUJ4cHpVWGJKZ09Ga21wTTJXQU9Ia21wazVOd3B5YkdBdU5LU3Ft VnlMU1NpJiN4QTtJem1IbFczbC93Q2VlclJsTk0wcFdySUM5MUt2Z1BzUi9mOEFGblA5b1MzQWR4 MlhBN3krRHliTmE3ZG0zNVErWi8wRjV4dHhLL0N5JiN4QTsxQWZWTGlwMkJjL3UyUHllbS9nVGxH b3g4VVhHMWVQaWh0ekQ2ZVNUM3pRNVlPbEUxZEpUbXZ5UVR4cXlTNWl6Z3ZHckxKbVBLQzhiJiN4 QTs1VC9PM1hJdFgvTVBVR2hZUERaQkxKR0hqQ1AzbjNTTXd6dE94OEp4NmNYMTMrZjdIZGFXTll4 NXNFelp1UTdGWFlxN0ZYWXE3RlhZJiN4QTtxN0ZYWXE3RlhZcTdGWFlxN0ZYWXE5bC9Majh5N1c1 dElkSDFxWVJYc1FFZHRkU0dpU3FCUlZaajBjZE4rdnp6b05CcndRSVRPL2U1JiN4QTtFTXUxRjZN elp1QWlVbEpteVlEaXprcE9jc0RoVGtwTWNrSERuSmJrbkZtV3hnTFFTckpsTW1zcFY1bTg1YVI1 Y3RHa3VwQkpkTXRZJiN4QTtMTlNQVWM5djlWZkZqbXQxZXBqakcvUHVjalQ2YWVVN2N1OTREcmVz M3VzNnBQcU42M0tlZHFrRDdLcU5sVmZaUnRuTTVNaG5Ja3ZTJiN4QTs0c1FoRVJIUkE1VzJPeFY5 QmZsZithMWpxMW5EcE90VHJCckVRRWNjMGhDcGNBYkFoai91enhIZnFQQWF6VmFZamNjblNhdlNH QjRvJiN4QTsvVDl6MUZXT2FmSkYxL0VySzJZazRyeFBPUHpRL04rdzBHem0wclJaMXVkZGtCamFT TWhrdGE3Rm1JMk1nN0wyNm53T1pvZXpEa2x4JiN4QTtURlErOTJHazBobWJsOVAzdm01bVptTE1T V0pxU2R5U2M2cDNiV0t1eFYyS3V4VjJLdXhWMkt1eFYyS3V4VjJLdXhWMkt1eFYyS3V4JiN4QTtW TjlPODNlWnRPakVWbnFVOFVTN0xGeTVJUGtyY2xIM1prWTlWbGh0R1JWRy93REt4dk92L1YwZi9n SXYrYWN1L2xIUC9PKzVpWWhvJiN4QTsvbUo1elA4QTBzMy9BT0FqL3dDYWNmNVN6L3p2dVluREU5 R3YrVmhlY3Y4QXE1di9BTUJIL3dBMDRmNVQxSDg3N21CMDJNOUhmOHJCJiN4QTs4NC85WE4vK0Fq LzVweC9sUFVmenZ1WW5SNHU1My9Ld3ZPWC9BRmMzL3dDQWovNXB4L2xMVWZ6dnVSK1N4ZnpWay9u M3poTWhSOVZtJiN4QTtVSHZIeGpQL0FBU0JUa0phL01lY2lrYUxFUDRRa1Vrc2tzalNTdTBrakdy T3hKSlB1VG1JU1R6Y2tBRGt0d0s3RlhZcTdGVS8weno3JiN4QTs1ejB1TllyTFdMbU9KZGtpWi9V UlI0QlpPUUgwWlRQVDQ1Y3dHaWVteHk1eEM3VS96Qjg3YW5FWWJ6V2JsNG0yZU5IOUpXSGd5eDhB JiN4QTtSODhFTkxpanVJaFlhYkhIbEVNZXk5dmRpcnNWZGlyc1ZkaXJzVmRpcnNWZGlyc1ZkaXJz VmRpcnNWZGlyc1ZkaXJzVmRpcnNWZGlyJiN4QTtzVmRpcnNWZGlyc1ZkaXJzVmRpcnNWZGlyc1Zk aXJzVmRpcnNWZGlyc1ZkaXJzVlhTUnZISTBiamk2RXF5bnNRYUVZcXR4VjJLdXhWJiN4QTsyS3V4 VjJLdXhWMkt1eFYyS3V4VjJLdXhWMkt1eFYyS3V4VjJLdXhWMkt1eFYyS3V4VjJLdXhWMkt1eFYy S3V4VjJLcm80M2trV05CJiN4QTt5ZHlGVlIzSk5BTVZaWCtiZmw1L0wzNWwrWk5KWkNpUTMwc2tD bi9mRTdldEQveVRrWEJFMkVubXhMQ2gyS3V4VjJLdXhWMkt1eFYyJiN4QTtLdXhWMkt1eFYyS3V4 VjJLdXhWMkt1eFYyS3V4VjJLdXhWMkt1eFYyS3V4VjJLdXhWMkt1eFYyS3N0L0tUeTgvbUg4eS9M ZWtxaGRKJiN4QTtyNktTZFIvdmlCdldtLzVKeHRna2FDUnplM2Y4NWsrUVpFdmROODcyY1JNTXlE VDlVS2paWkVxMXZJMytzcFpLL3dDU3ZqbGVJOUdVJiN4QTt3K1pNdFlPeFYyS3V4VjJLdXhWMkt1 eFYyS3V4VjJLdXhWMkt1eFYyS3V4VjJLdXhWMkt1eFYyS3V4VjJLdXhWMkt1eFYyS3V4VjJLJiN4 QTt1eFY5Ti84QU9HM2tHUjczVXZPOTVFUkRDaDAvU3l3MmFSNk5jU0wvQUtxaFVyL2xONFpWbFBS bkFQcGJ6WDVaMHJ6UjVkdjlBMWFQJiN4QTsxYkRVSWpGS0JUa3A2cTYxNk1qQU1wOFJsUU5OaEQ4 OVB6RjhnYTM1RTgwM1dnYXFoTFJIbGFYUVVpTzRnWS9CS2xleEhVZGpVZHN5JiN4QTtZbXcwa1V4 bkNoMkt1eFYyS3V4VjJLdXhWMkt1eFYyS3V4VjJLdXhWMkt1eFYyS3V4VjJLdXhWMkt1eFYyS3V4 VjJLdXhWMkt1eFYyJiN4QTtLc20vTHJ5QnJmbnZ6VGE2QnBTRU5LZVYzZEZTWTdlQlQ4Y3IwN0Fk QjNOQjN3U05CSUZ2MEw4cWVXZEs4citYYkRRTkpqOUt3MCtJJiN4QTtSUkEwNU1lck8xT3JPeExN ZkU1akUyM0FKcmdWaGY1cWZsVDVjL01YUWYwZHFnTUY1QnlmVHRTakFNdHZJZXRLL2FScURtaDYr eEFJJiN4QTtsR1ZJSXQ4TS9tSitXSG0zeURxeHNOZHRTc0xrL1U5UWpCYTJ1RkhlT1NnMzhWTkdI Y1prUmtDMUVVeFBDaDJLdXhWMkt1eFYyS3V4JiN4QTtWMkt1eFYyS3V4VjJLdXhWMkt1eFYyS3V4 VjJLdXhWMkt1eFYyS3V4VjJLdXhWMktzcy9MdjhzUE52bjdWaFlhRmFsb1VJK3VhaElDJiN4QTt0 dGJxZThrbER2NEtLc2V3d1NrQWtDMzNOK1ZmNVUrWFB5NjBIOUhhV0RQZVQ4WDFIVXBBQkxjU0Rw V24yVVdwNElPbnVTU2NlVXJiJiN4QTtRS1pwa1V1eFYyS29MV3REMGZYTk9tMDNXTE9HL3NKeFNX MnVFRG9mQTBQUWpzUnVPMklLdm56enovemh0b2w1SkpkZVRkVWJUSkdKJiN4QTtJMDY5NVRXL3lT WVZsUWY2d2ZMUmw3MkJnOGIxMy9uR2I4NDlKZGdORS9TTUk2VDJFMGN3UHlRbEpmOEFoTXNHUU1l RXNZbC9LYjgwJiN4QTtvbktONVExb3NPcFhUN2x4dnY4QWFWQ01QRUVVVnY4QXlxcjgwUDhBcVQ5 Yi93QzRkZC85VThlSUxSZC95cXI4MFA4QXFUOWIvd0M0JiN4QTtkZC85VThlSUxSZC95cXI4MFA4 QXFUOWIvd0M0ZGQvOVU4ZUlMUmQveXFyODBQOEFxVDliL3dDNGRkLzlVOGVJTFJkL3lxcjgwUDhB JiN4QTtxVDliL3dDNGRkLzlVOGVJTFJkL3lxcjgwUDhBcVQ5Yi93QzRkZC85VThlSUxSZC95cXI4 MFA4QXFUOWIvd0M0ZGQvOVU4ZUlMUmQvJiN4QTt5cXI4MFA4QXFUOWIvd0M0ZGQvOVU4ZUlMUmQv eXFyODBQOEFxVDliL3dDNGRkLzlVOGVJTFJkL3lxcjgwUDhBcVQ5Yi93QzRkZC85JiN4QTtVOGVJ TFJkL3lxcjgwUDhBcVQ5Yi93QzRkZC85VThlSUxSZC95cXI4MFA4QXFUOWIvd0M0ZGQvOVU4ZUlM UmQveXFyODBQOEFxVDliJiN4QTsvd0M0ZGQvOVU4ZUlMUmQveXFyODBQOEFxVDliL3dDNGRkLzlV OGVJTFJkL3lxcjgwUDhBcVQ5Yi93QzRkZC85VThlSUxSZC95cXI4JiN4QTswUDhBcVQ5Yi93QzRk ZC85VThlSUxSZC95cXI4MFA4QXFUOWIvd0M0ZGQvOVU4ZUlMUmQveXFyODBQOEFxVDliL3dDNGRk LzlVOGVJJiN4QTtMUmQveXFyODBQOEFxVDliL3dDNGRkLzlVOGVJTFJkL3lxcjgwUDhBcVQ5Yi93 QzRkZC85VThlSUxSWFJmbE4rYVVyaEY4b2EwR1BRJiN4QTt0cDl5ZzIzKzB5QVk4UVdpeWZRditj WnZ6ajFaMUIwVDlIUW5yUGZ6UndnZk5BWGwvd0NFd0hJRThKZXllUnYrY050RXM1STdyemxxJiN4 QTtqYW5JcEJPbldYS0czK1R6R2tyai9WQ1pXY3ZjeUVIMEhvdWg2UG9lblE2Ym85bkRZV0VBcEZi VzZCRUhpYURxVDNKM1BmS2lXYU54JiN4QTtWMkt2LzlrPTwveG1wR0ltZzppbWFnZT4KICAgICAg ICAgICAgICAgPC9yZGY6bGk+CiAgICAgICAgICAgIDwvcmRmOkFsdD4KICAgICAgICAgPC94bXA6 VGh1bWJuYWlscz4KICAgICAgICAgPHhtcDpNZXRhZGF0YURhdGU+MjAyMi0wOC0wMlQxMjo1Mjo1 Ny0wNzowMDwveG1wOk1ldGFkYXRhRGF0ZT4KICAgICAgICAgPHhtcDpNb2RpZnlEYXRlPjIwMjIt MDgtMDJUMTk6NTI6NTdaPC94bXA6TW9kaWZ5RGF0ZT4KICAgICAgICAgPGRjOmZvcm1hdD5pbWFn ZS9qcGVnPC9kYzpmb3JtYXQ+CiAgICAgICAgIDx4bXBNTTpEZXJpdmVkRnJvbSByZGY6cGFyc2VU eXBlPSJSZXNvdXJjZSIvPgogICAgICAgICA8eG1wTU06RG9jdW1lbnRJRD54bXAuZGlkOmYzOGQ3 OGFhLTVlOGMtNDE4NC1hYTgxLWVhNDA5N2M2MDE3MTwveG1wTU06RG9jdW1lbnRJRD4KICAgICAg ICAgPHhtcE1NOkluc3RhbmNlSUQ+eG1wLmlpZDpmMzhkNzhhYS01ZThjLTQxODQtYWE4MS1lYTQw OTdjNjAxNzE8L3htcE1NOkluc3RhbmNlSUQ+CiAgICAgICAgIDx4bXBNTTpPcmlnaW5hbERvY3Vt ZW50SUQ+eG1wLmRpZDpmMzhkNzhhYS01ZThjLTQxODQtYWE4MS1lYTQwOTdjNjAxNzE8L3htcE1N Ok9yaWdpbmFsRG9jdW1lbnRJRD4KICAgICAgICAgPHhtcE1NOkhpc3Rvcnk+CiAgICAgICAgICAg IDxyZGY6U2VxPgogICAgICAgICAgICAgICA8cmRmOmxpIHJkZjpwYXJzZVR5cGU9IlJlc291cmNl Ij4KICAgICAgICAgICAgICAgICAgPHN0RXZ0OmFjdGlvbj5zYXZlZDwvc3RFdnQ6YWN0aW9uPgog ICAgICAgICAgICAgICAgICA8c3RFdnQ6aW5zdGFuY2VJRD54bXAuaWlkOmYzOGQ3OGFhLTVlOGMt NDE4NC1hYTgxLWVhNDA5N2M2MDE3MTwvc3RFdnQ6aW5zdGFuY2VJRD4KICAgICAgICAgICAgICAg ICAgPHN0RXZ0OndoZW4+MjAyMi0wOC0wMlQxMjo1Mjo1Ny0wNzowMDwvc3RFdnQ6d2hlbj4KICAg ICAgICAgICAgICAgICAgPHN0RXZ0OnNvZnR3YXJlQWdlbnQ+QWRvYmUgSWxsdXN0cmF0b3IgMjYu NiAoTWFjaW50b3NoKTwvc3RFdnQ6c29mdHdhcmVBZ2VudD4KICAgICAgICAgICAgICAgICAgPHN0 RXZ0OmNoYW5nZWQ+Lzwvc3RFdnQ6Y2hhbmdlZD4KICAgICAgICAgICAgICAgPC9yZGY6bGk+CiAg ICAgICAgICAgIDwvcmRmOlNlcT4KICAgICAgICAgPC94bXBNTTpIaXN0b3J5PgogICAgICA8L3Jk ZjpEZXNjcmlwdGlvbj4KICAgPC9yZGY6UkRGPgo8L3g6eG1wbWV0YT4KICAgICAgICAgICAgICAg ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg ICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAg ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg ICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg ICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAg ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAg ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg ICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg ICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAg ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAg ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg ICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg ICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAK ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAg ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAg ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg ICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg ICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAg ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAg ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg ICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg ICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgIAo8P3hwYWNrZXQgZW5kPSJ3Ij8+ /+AAEEpGSUYAAQIBAJYAlgAA/+0ALFBob3Rvc2hvcCAzLjAAOEJJTQPtAAAAAAAQAJYAAAABAAEA lgAAAAEAAf/bAIQAFBERGhIaKRgYKTMnICczLygmJigvPzY2NjY2P0dDQ0NDQ0NHR0dHR0dHR0dH R0dHR0dHR0dHR0dHR0dHR0dHRwEVGhohHSEoGRkoOCghKDhHOCwsOEdHR0Q2REdHR0dHR0dHR0dH R0dHR0dHR0dHR0dHR0dHR0dHR0dHR0dHR0dH/90ABAAG/+4ADkFkb2JlAGTAAAAAAf/AABEIAFEA UgMAIgABEQECEQH/xAGiAAABAwMFAAAAAAAAAAAAAAAEAAUGAQIDBwgJCgsBAAEEAAcAAAAAAAAA AAAAAAACAwQFAQYHCAkKCxAAAAEDAAYJfBMAAAAAAAAAAQACAwQFERMhMRQiM0FRYXGBsQYHCAkK EhUWFxgZGiMkJSYnKCkqMjQ1Njc4OTpCQ0RFRkdISUpSU1RVVldYWVpiY2RlZmdoaWpyc3R1dnd4 eXqCg4SFhoeIiYqRkpOUlZaXmJmaoaKjpKWmp6ipqrKztLW2t7i5usHCw8TFxsfIycrR0tPU1dbX 2Nna4eLj5OXm5+jp6vDx8vP09fb3+Pn6EQAAAQIDAgWVAAAAAAAAAAABAAIDERIhMQQFQVFhBgcI CQoTFBUWFxgZGiIjJCUmJygpKjIzNDU2Nzg5OkJDREVGR0hJSlJTVFVWV1hZWmJjZGVmZ2hpanFy c3R1dnd4eXqBgoOEhYaHiImKkZKTlJWWl5iZmqGio6SlpqeoqaqxsrO0tba3uLm6wcLDxMXGx8jJ ytHS09TV1tfY2drh4uPk5ebn6Onq8PHy8/T19vf4+fr/2gAMAwAAARECEQA/AJmSJEiCCHUpSkai IxSJBYNwN4iUQU1WydSxEFr+GT4bwRbyzK3UoVKTCAC1DGqbwRJrE0mDxFcV6wVgxphoHngmeOEL GVQKqwqgBRhKxJ2UBXKZRhA1IIno3AWYOg/R2KWIkpqYwEhgrTTgWgUBNNJ9VGpIo0i4Ojk9k5D6 SdQ0VapFcVUwtg5ogKIYCRwL2kpKSJEillTEiRIkQQX/0JmQisFIaOgOOBgcLVNdRIsmBW6ZeJAR gyMeRJZpqoUifQDFaIACuBaJMYmFYJhFP6SfwsERDK/VEEKMqmmEWuyqCMqxEBIsVZYTTCzowEwQ OBmArQLIajLMajKIJ5MnHlJUKUExhp4N4FkJuVaesAUYuoE4lboR7fDAOuJUSIapOE0kSJEidJsv /9GYJUgIjBPFkALSix4iecJxzMRWiTwrVMsAEQN7ESaCnIBiRqoWUrFgwKTVTKJWP6VX9K4qk4cY AgUoTwK1/SvAwkBZTQKlYShk0KKSNMLMaYVxhpZgNKiPTASQJ5UQwzOA4G4ncBWk1rCOUc9/jVjg U1gKK7woQsq0ChooprSzEiRIrgmC/9I5SEq+SCe4snQsRUKi0rYASBICnqkgSJLSoJxUESxiJKAE yjIiMkWUDizmHEC/xZjDijI6EAgVeLCBTJzRnFmf4gDEhZQSFlpHQFpPAwhYRT/FlQJH9PBwFgQT /lV/yiGmiYcB4MhNijE+EioArQWlUswlIL//0yDzRMETRZgwKwRJ+U5QF+10bA95JiSIzkYrDwEB cys0M8DwaWYliesLGIljESuErBKQBQEU4qFkNEsREqMoqVSBWIwWubcSERJJaVeKYikatErjTiyA cV6dQUqjswWmz8DIsACVMjAAlgcJxoqTlgkQBxZkBopTwNBvLAhRHphWGAIk+KIooKOC0WJwsxKC CCqOaCkIJhyIM2sokUSJEinlal//1JmQ6ltm7kQQ6ltm7ko1eBBNRje6iVwlaY3uolcJTSjnFQno yOQdCZSejI5B0JhFZCEJeJXE1pI7OdRJ0JrSR2c6iUYSEZcBOCGOAdCyFjQxwDoWQsSeNXASJEiR BKL/2Q==", }) ), ]), ]), ]), ]), ]); } (o.defaultProps = { enableBackground: "new 0 0 56 54", version: "1.1", viewBox: "0 0 56 54", xmlSpace: "preserve" }), (e.exports = o), (o.default = o); }, 95992: (e, t, n) => { var r = n(23469); function o(e) { return r.createElement("svg", e, [ r.createElement("style", { type: "text/css", key: 0 }, "\n\t.st0{fill:#260A04;}\n\t.st1{fill:#FF401A;}\n\t.st2{fill:#FAFAFA;}\n"), r.createElement("g", { key: 1 }, [ r.createElement("path", { className: "st0", d: "M6,31.5c-1.378,0-2.5-1.121-2.5-2.5V3c0-1.378,1.122-2.5,2.5-2.5h15.38c0.533,0,1.034,0.207,1.411,0.583\n\t\tl5.12,5.102C28.285,6.558,28.5,7.074,28.5,7.602V29c0,1.379-1.121,2.5-2.5,2.5H6z", key: 0, }), r.createElement("path", { className: "st1", d: "M21.38,1c0.397,0,0.778,0.157,1.059,0.437l5.12,5.102C27.841,6.821,28,7.203,28,7.602V29c0,1.105-0.895,2-2,2\n\t\tH6c-1.105,0-2-0.895-2-2V3c0-1.105,0.895-2,2-2H21.38 M21.38,0H6C4.346,0,3,1.346,3,3v26c0,1.654,1.346,3,3,3h20\n\t\tc1.654,0,3-1.346,3-3V7.602c0-0.66-0.268-1.305-0.735-1.771l-5.12-5.102C22.673,0.259,22.046,0,21.38,0L21.38,0z", key: 1, }), ]), r.createElement( "g", { key: 2 }, r.createElement("g", null, [ r.createElement("path", { className: "st1", d: "M10.505,14.788l-0.384,1.448l-0.384,1.448c-0.008,0.04-0.02,0.068-0.042,0.086s-0.054,0.026-0.102,0.026H8.88\n\t\t\tH8.168c-0.048,0-0.076-0.008-0.09-0.03s-0.014-0.058-0.006-0.114l1.376-4.818l1.376-4.818c0.024-0.088,0.044-0.168,0.06-0.286\n\t\t\ts0.028-0.274,0.036-0.514c0-0.032,0.008-0.056,0.022-0.072s0.034-0.024,0.058-0.024h1.016h1.016c0.032,0,0.056,0.004,0.074,0.018\n\t\t\ts0.03,0.038,0.038,0.078l1.545,5.226l1.545,5.226c0.008,0.04,0.008,0.072-0.004,0.094s-0.036,0.034-0.076,0.034h-0.8h-0.8\n\t\t\tc-0.04,0-0.072-0.008-0.096-0.024s-0.04-0.04-0.048-0.072l-0.4-1.457l-0.4-1.457h-1.553H10.505z M13.21,13.203\n\t\t\tc-0.136-0.536-0.364-1.389-0.588-2.249s-0.444-1.729-0.564-2.297H12.05h-0.008c-0.104,0.568-0.284,1.328-0.488,2.135\n\t\t\ts-0.432,1.659-0.632,2.411h1.144H13.21z", key: 0, }), r.createElement("path", { className: "st1", d: "M17.208,11.522c0-0.048,0-0.156-0.006-0.322s-0.018-0.39-0.042-0.67c0-0.032,0.004-0.052,0.016-0.068\n\t\t\ts0.032-0.028,0.064-0.044c0.408-0.152,0.888-0.312,1.405-0.434s1.068-0.206,1.621-0.206c0.68,0,1.392,0.132,1.934,0.556\n\t\t\ts0.914,1.14,0.914,2.309v2.513v2.513c0,0.048-0.008,0.08-0.026,0.1s-0.046,0.028-0.086,0.028H22.25h-0.752\n\t\t\tc-0.048,0-0.08-0.012-0.1-0.034s-0.028-0.054-0.028-0.094V15.22v-2.449c0-0.464-0.092-0.825-0.304-1.069s-0.544-0.372-1.025-0.372\n\t\t\tc-0.208,0-0.408,0.02-0.592,0.052s-0.352,0.076-0.496,0.124v3.089v3.089c0,0.032-0.008,0.06-0.024,0.08s-0.04,0.032-0.072,0.032\n\t\t\th-0.769H17.32c-0.04,0-0.068-0.008-0.086-0.026s-0.026-0.046-0.026-0.086v-3.081V11.522z", key: 1, }), ]) ), r.createElement( "g", { key: 3 }, r.createElement("g", null, [ r.createElement("path", { className: "st2", d: "M12.084,27.488c0,0.021-0.004,0.035-0.011,0.044s-0.02,0.012-0.038,0.012h-0.333H11.37\n\t\t\tc-0.018,0-0.03-0.003-0.038-0.012s-0.011-0.023-0.011-0.044v-2.283v-2.283c0-0.018,0.004-0.03,0.011-0.038s0.02-0.012,0.038-0.012\n\t\t\th1.166h1.166c0.021,0,0.033,0.004,0.041,0.012s0.011,0.021,0.015,0.038l0.035,0.294l0.035,0.294c0.004,0.021,0,0.035-0.009,0.044\n\t\t\ts-0.026,0.012-0.047,0.012h-0.844h-0.844v0.666v0.666h0.756h0.756c0.018,0,0.03,0.002,0.038,0.009s0.011,0.019,0.011,0.04v0.294\n\t\t\tv0.294c0,0.021-0.003,0.033-0.011,0.04s-0.02,0.009-0.038,0.009h-0.756h-0.756v0.953V27.488z", key: 0, }), r.createElement("path", { className: "st2", d: "M14.589,27.544c-0.024,0-0.04-0.005-0.05-0.016s-0.013-0.026-0.013-0.047v-2.276v-2.276\n\t\t\tc0-0.018,0.004-0.032,0.011-0.042s0.02-0.015,0.038-0.015h0.336h0.336c0.017,0,0.028,0.004,0.034,0.012s0.008,0.021,0.008,0.038\n\t\t\tv1.964v1.964h0.875h0.875c0.018,0,0.03,0.003,0.037,0.011s0.009,0.02,0.005,0.038l-0.053,0.298l-0.053,0.298\n\t\t\tc-0.003,0.018-0.01,0.03-0.021,0.038s-0.025,0.011-0.042,0.011h-1.163H14.589z", key: 1, }), r.createElement("path", { className: "st2", d: "M18.602,26.228l-0.168,0.634l-0.168,0.634c-0.003,0.018-0.009,0.03-0.018,0.038s-0.023,0.011-0.044,0.011\n\t\t\th-0.312h-0.312c-0.021,0-0.033-0.003-0.04-0.013s-0.006-0.026-0.002-0.05l0.602-2.108l0.602-2.108\n\t\t\tc0.011-0.039,0.02-0.073,0.026-0.125s0.012-0.12,0.016-0.225c0-0.014,0.004-0.024,0.01-0.031s0.015-0.011,0.025-0.011h0.445h0.445\n\t\t\tc0.014,0,0.025,0.002,0.032,0.008s0.013,0.017,0.016,0.034l0.676,2.287l0.676,2.287c0.003,0.017,0.003,0.031-0.002,0.041\n\t\t\ts-0.016,0.015-0.033,0.015h-0.35h-0.35c-0.018,0-0.031-0.003-0.042-0.01s-0.017-0.017-0.021-0.032l-0.175-0.637l-0.175-0.637\n\t\t\th-0.679H18.602z M19.785,25.534c-0.06-0.235-0.159-0.608-0.258-0.984s-0.195-0.756-0.247-1.005h-0.003h-0.003\n\t\t\tc-0.045,0.249-0.124,0.581-0.214,0.934s-0.189,0.726-0.277,1.055h0.501H19.785z", key: 2, }), ]) ), r.createElement("g", { key: 4 }), r.createElement("g", { key: 5 }), r.createElement("g", { key: 6 }), r.createElement("g", { key: 7 }), r.createElement("g", { key: 8 }), r.createElement("g", { key: 9 }), ]); } (o.defaultProps = { version: "1.1", id: "Layer_1", x: "0px", y: "0px", viewBox: "0 0 32 32", style: { enableBackground: "new 0 0 32 32" }, xmlSpace: "preserve" }), (e.exports = o), (o.default = o); }, 43889: (e, t, n) => { var r = n(23469); function o(e) { return r.createElement("svg", e, [ r.createElement("style", { type: "text/css", key: 0 }, "\n\t.st0{fill:#261600;}\n\t.st1{fill:#FF9500;}\n\t.st2{fill:#FAFAFA;}\n"), r.createElement("g", { key: 1 }, [ r.createElement("path", { className: "st0", d: "M6,31.5c-1.378,0-2.5-1.121-2.5-2.5V3c0-1.378,1.122-2.5,2.5-2.5h15.38c0.533,0,1.034,0.207,1.411,0.583\n\t\tl5.12,5.102C28.285,6.558,28.5,7.074,28.5,7.602V29c0,1.379-1.121,2.5-2.5,2.5H6z", key: 0, }), r.createElement("path", { className: "st1", d: "M21.38,1c0.397,0,0.778,0.157,1.059,0.437l5.12,5.102C27.841,6.821,28,7.203,28,7.602V29c0,1.105-0.895,2-2,2\n\t\tH6c-1.105,0-2-0.895-2-2V3c0-1.105,0.895-2,2-2H21.38 M21.38,0H6C4.346,0,3,1.346,3,3v26c0,1.654,1.346,3,3,3h20\n\t\tc1.654,0,3-1.346,3-3V7.602c0-0.66-0.268-1.305-0.735-1.771l-5.12-5.102C22.673,0.259,22.046,0,21.38,0L21.38,0z", key: 1, }), ]), r.createElement( "g", { key: 2 }, r.createElement("g", null, [ r.createElement("path", { className: "st2", d: "M10.412,27.488c0,0.021-0.004,0.035-0.011,0.044s-0.02,0.012-0.038,0.012H10.03H9.697\n\t\t\tc-0.018,0-0.03-0.003-0.038-0.012s-0.011-0.023-0.011-0.044v-2.283v-2.283c0-0.018,0.004-0.03,0.011-0.038s0.02-0.012,0.038-0.012\n\t\t\th1.166h1.166c0.021,0,0.033,0.004,0.041,0.012s0.011,0.021,0.015,0.038l0.035,0.294l0.035,0.294c0.004,0.021,0,0.035-0.009,0.044\n\t\t\ts-0.026,0.012-0.047,0.012h-0.844h-0.844v0.666v0.666h0.756h0.756c0.018,0,0.03,0.002,0.038,0.009s0.011,0.019,0.011,0.04v0.294\n\t\t\tv0.294c0,0.021-0.003,0.033-0.011,0.04s-0.02,0.009-0.038,0.009h-0.756h-0.756v0.953V27.488z", key: 0, }), r.createElement("path", { className: "st2", d: "M13.61,25.912c0,0.336,0.056,0.588,0.199,0.756s0.372,0.252,0.719,0.252c0.137,0,0.263-0.01,0.372-0.027\n\t\t\ts0.202-0.04,0.272-0.065v-1.95v-1.95c0-0.018,0.004-0.032,0.011-0.042s0.02-0.015,0.037-0.015h0.333h0.333\n\t\t\tc0.018,0,0.03,0.004,0.038,0.012s0.011,0.021,0.011,0.038v1.908v1.908c0,0.105,0.002,0.193,0.005,0.272s0.009,0.151,0.016,0.225\n\t\t\tc0.004,0.018,0.002,0.03-0.005,0.04s-0.019,0.017-0.037,0.024c-0.175,0.063-0.394,0.14-0.648,0.202s-0.543,0.107-0.858,0.107\n\t\t\tc-0.518,0-0.91-0.119-1.173-0.377s-0.396-0.653-0.396-1.206v-1.548v-1.548c0-0.018,0.002-0.032,0.009-0.042\n\t\t\ts0.019-0.015,0.04-0.015h0.336h0.336c0.017,0,0.03,0.004,0.037,0.012s0.011,0.021,0.011,0.038v1.495V25.912z", key: 1, }), r.createElement("path", { className: "st2", d: "M16.753,27.383c-0.014-0.01-0.025-0.022-0.032-0.037s-0.011-0.032-0.011-0.053v-0.336v-0.336\n\t\t\tc0-0.01,0.007-0.021,0.018-0.026s0.025-0.005,0.039,0.005c0.158,0.108,0.329,0.187,0.505,0.239s0.356,0.076,0.532,0.076\n\t\t\tc0.255,0,0.436-0.067,0.552-0.171s0.169-0.246,0.169-0.396c0-0.133-0.033-0.254-0.128-0.378s-0.25-0.249-0.495-0.393l-0.126-0.067\n\t\t\tl-0.126-0.067c-0.361-0.203-0.594-0.408-0.736-0.628s-0.195-0.454-0.195-0.717c0-0.357,0.124-0.679,0.366-0.912\n\t\t\ts0.6-0.376,1.07-0.376c0.207,0,0.385,0.016,0.534,0.044s0.268,0.068,0.355,0.118c0.018,0.007,0.028,0.016,0.034,0.028\n\t\t\ts0.008,0.028,0.008,0.049v0.315v0.315c0,0.014-0.007,0.026-0.018,0.032s-0.024,0.006-0.038-0.004\n\t\t\tc-0.109-0.07-0.242-0.123-0.389-0.158s-0.308-0.052-0.473-0.052c-0.27,0-0.448,0.077-0.559,0.184s-0.155,0.246-0.155,0.368\n\t\t\tc0,0.133,0.033,0.249,0.127,0.365s0.248,0.231,0.489,0.364l0.112,0.06l0.112,0.06c0.399,0.221,0.649,0.438,0.8,0.665\n\t\t\ts0.201,0.466,0.201,0.728c0,0.389-0.142,0.718-0.399,0.95s-0.63,0.367-1.092,0.367c-0.207,0-0.405-0.019-0.584-0.057\n\t\t\tS16.882,27.457,16.753,27.383z", key: 2, }), r.createElement("path", { className: "st2", d: "M22.606,27.488c-0.003,0.021-0.009,0.035-0.019,0.044s-0.024,0.012-0.045,0.012h-1.198h-1.198\n\t\t\tc-0.021,0-0.035-0.003-0.044-0.012s-0.012-0.023-0.012-0.044v-2.28v-2.28c0-0.021,0.003-0.035,0.012-0.044\n\t\t\ts0.023-0.013,0.044-0.013h1.156h1.156c0.021,0,0.035,0.002,0.045,0.009s0.015,0.02,0.019,0.041l0.031,0.294l0.031,0.294\n\t\t\tc0.003,0.018,0.002,0.031-0.005,0.041s-0.019,0.015-0.037,0.015h-0.844h-0.844v0.624v0.624h0.76h0.76\n\t\t\tc0.018,0,0.03,0.003,0.038,0.011s0.011,0.02,0.011,0.038v0.298v0.298c0,0.018-0.005,0.03-0.015,0.038s-0.023,0.011-0.041,0.011\n\t\t\th-0.756h-0.756v0.672v0.672h0.9h0.9c0.021,0,0.033,0.003,0.039,0.011s0.006,0.02,0.003,0.038l-0.045,0.294L22.606,27.488z", key: 3, }), ]) ), r.createElement( "g", { key: 3 }, r.createElement("g", null, [ r.createElement("path", { className: "st1", d: "M12.474,17.669c0,0.048-0.008,0.08-0.026,0.1s-0.046,0.028-0.086,0.028h-0.76h-0.76\n\t\t\tc-0.04,0-0.068-0.008-0.086-0.028s-0.026-0.052-0.026-0.1v-5.218V7.232c0-0.04,0.008-0.068,0.026-0.086s0.046-0.026,0.086-0.026\n\t\t\th2.665h2.665c0.048,0,0.076,0.008,0.094,0.026s0.026,0.046,0.034,0.086l0.08,0.672l0.08,0.672c0.008,0.048,0,0.08-0.022,0.1\n\t\t\ts-0.058,0.028-0.106,0.028h-1.929h-1.929v1.521v1.521h1.729h1.729c0.04,0,0.068,0.004,0.086,0.02s0.026,0.044,0.026,0.092v0.672\n\t\t\tv0.672c0,0.048-0.008,0.076-0.026,0.092s-0.046,0.02-0.086,0.02h-1.729h-1.729v2.177V17.669z", key: 0, }), r.createElement("path", { className: "st1", d: "M19.802,11.25c-0.384,0-0.64,0.096-0.8,0.232s-0.224,0.312-0.224,0.472c0,0.176,0.044,0.324,0.216,0.494\n\t\t\ts0.472,0.362,0.984,0.626c0.76,0.368,1.26,0.728,1.571,1.126s0.43,0.834,0.43,1.355c0,0.776-0.296,1.372-0.792,1.775\n\t\t\ts-1.193,0.611-1.993,0.611c-0.424,0-0.816-0.044-1.154-0.118s-0.622-0.178-0.83-0.299c-0.032-0.016-0.052-0.036-0.064-0.062\n\t\t\ts-0.016-0.058-0.016-0.098v-0.712V15.94c0-0.048,0.012-0.08,0.032-0.094s0.048-0.01,0.079,0.014\n\t\t\tc0.304,0.2,0.632,0.344,0.964,0.438s0.668,0.138,0.989,0.138c0.384,0,0.656-0.08,0.833-0.214s0.256-0.322,0.256-0.538\n\t\t\tc0-0.176-0.056-0.34-0.234-0.524s-0.479-0.388-0.967-0.644c-0.688-0.328-1.176-0.66-1.492-1.05s-0.46-0.838-0.46-1.399\n\t\t\tc0-0.624,0.244-1.196,0.7-1.612s1.124-0.676,1.973-0.676c0.416,0,0.768,0.032,1.056,0.082s0.512,0.118,0.672,0.19\n\t\t\tc0.04,0.024,0.064,0.056,0.078,0.09s0.018,0.07,0.018,0.102v0.664v0.664c0,0.04-0.012,0.072-0.036,0.09s-0.06,0.022-0.108,0.006\n\t\t\tc-0.216-0.128-0.48-0.232-0.769-0.304S20.114,11.25,19.802,11.25z", key: 1, }), ]) ), r.createElement("g", { key: 4 }), r.createElement("g", { key: 5 }), r.createElement("g", { key: 6 }), r.createElement("g", { key: 7 }), r.createElement("g", { key: 8 }), r.createElement("g", { key: 9 }), ]); } (o.defaultProps = { version: "1.1", id: "Layer_1", x: "0px", y: "0px", viewBox: "0 0 32 32", style: { enableBackground: "new 0 0 32 32" }, xmlSpace: "preserve" }), (e.exports = o), (o.default = o); }, 56784: (e, t, n) => { var r = n(23469); function o(e) { return r.createElement("svg", e, [ r.createElement("style", { type: "text/css", key: 0 }, "\n\t.st0{fill:#FFFFFF;}\n\t.st1{fill:#B3B3B3;}\n"), r.createElement("g", { key: 1 }, [ r.createElement("path", { className: "st0", d: "M6,31.5c-1.4,0-2.5-1.1-2.5-2.5V3c0-1.4,1.1-2.5,2.5-2.5h15.4c0.5,0,1,0.2,1.4,0.6l5.1,5.1\n\t\tc0.4,0.4,0.6,0.9,0.6,1.4V29c0,1.4-1.1,2.5-2.5,2.5H6z", key: 0 }), r.createElement( "g", { key: 1 }, r.createElement("path", { className: "st1", d: "M28.3,5.8l-5.1-5.1C22.7,0.3,22,0,21.4,0H6C4.3,0,3,1.3,3,3v26c0,1.7,1.3,3,3,3h20c1.7,0,3-1.3,3-3V7.6\n\t\t\tC29,6.9,28.7,6.3,28.3,5.8z M22.5,1.5l5,5H23c-0.3,0-0.5-0.2-0.5-0.5V1.5z M28,29c0,1.1-0.9,2-2,2H6c-1.1,0-2-0.9-2-2V3\n\t\t\tc0-1.1,0.9-2,2-2h15.4c0,0,0.1,0,0.1,0v5c0,0.8,0.7,1.5,1.5,1.5h5c0,0,0,0.1,0,0.1V29z", }) ), ]), ]); } (o.defaultProps = { version: "1.1", id: "Generic_Document", x: "0px", y: "0px", viewBox: "0 0 32 32", style: { enableBackground: "new 0 0 32 32" }, xmlSpace: "preserve" }), (e.exports = o), (o.default = o); }, 39124: (e, t, n) => { var r = n(23469); function o(e) { return r.createElement("svg", e, [ r.createElement("defs", { key: 0 }, r.createElement("style", null, ".cls-1{fill:#fff;}.cls-2{fill:#b3b3b3;}.cls-3{fill:#4b4b4b;}")), r.createElement("title", { key: 1 }, "filetype_template_32"), r.createElement( "g", { id: "Surface", key: 2 }, r.createElement("g", { id: "Document" }, [ r.createElement("path", { className: "cls-1", d: "M6,31.56836a2.50263,2.50263,0,0,1-2.5-2.5v-26a2.50294,2.50294,0,0,1,2.5-2.5H21.37988a1.98332,1.98332,0,0,1,1.41114.5835l5.12011,5.10156A2.01544,2.01544,0,0,1,28.5,7.66992V29.06836a2.50231,2.50231,0,0,1-2.5,2.5Z", key: 0, }), r.createElement("path", { className: "cls-2", d: "M21.38,1.06818a1.5,1.5,0,0,1,1.05879.43747l5.12,5.102A1.5,1.5,0,0,1,28,7.67014v21.398a2,2,0,0,1-2,2H6a2,2,0,0,1-2-2v-26a2,2,0,0,1,2-2H21.38m0-1H6a3.00339,3.00339,0,0,0-3,3v26a3.00339,3.00339,0,0,0,3,3H26a3.00339,3.00339,0,0,0,3-3V7.67014a2.5169,2.5169,0,0,0-.73536-1.77089L23.14469.7973A2.48407,2.48407,0,0,0,21.38.06818Z", key: 1, }), ]) ), r.createElement( "g", { id: "Modifier", key: 3 }, r.createElement( "g", { id: "_3D", "data-name": "3D" }, r.createElement("path", { className: "cls-3", d: "M15.79622,7.05515c-.02784.01273-5.70125,2.37871-5.70125,2.37871a1.01636,1.01636,0,0,0-.16985.09515.48594.48594,0,0,0-.16926.38225v6.22982a.4882.4882,0,0,0,.30087.44166l5.7261,2.36075a.44845.44845,0,0,0,.19959.04525.45967.45967,0,0,0,.17961-.03522l.02-.01,5.76131-2.36075a.48275.48275,0,0,0,.30082-.43775V9.88284a.43338.43338,0,0,0-.16961-.35567.49814.49814,0,0,0-.1199-.0751.20951.20951,0,0,0-.05-.02005S16.2158,7.06448,16.1954,7.05515a.48509.48509,0,0,0-.18805-.04389A.58251.58251,0,0,0,15.79622,7.05515Zm.198,4.71332-4.495-1.86624,4.46839-1.8537,4.49016,1.866Zm5.2695,3.9859-5.01562,2.09375V12.74346l5.01562-2.10628Z", }) ) ), ]); } (o.defaultProps = { viewBox: "0 0 32 32" }), (e.exports = o), (o.default = o); }, 10883: (e, t, n) => { var r = n(23469); function o(e) { return r.createElement("svg", e, [ r.createElement("style", { type: "text/css", key: 0 }, "\n\t.st0{fill:#2E092B;}\n\t.st1{fill:#FF66F2;}\n\t.st2{fill:#FAFAFA;}\n"), r.createElement("path", { className: "st0", d: "M6,31.5c-1.378,0-2.5-1.121-2.5-2.5V1c0-0.276,0.224-0.5,0.5-0.5h24c0.276,0,0.5,0.224,0.5,0.5v28\n\tc0,1.379-1.121,2.5-2.5,2.5H6z", key: 1 }), r.createElement("path", { className: "st1", d: "M28.42,0.1C28.29,0.03,28.15,0,28,0H4C3.85,0,3.71,0.03,3.58,0.1C3.25,0.25,3.02,0.58,3,0.96V29\n\tc0,1.66,1.35,3,3,3h20c1.65,0,3-1.34,3-3V0.97C28.99,0.58,28.75,0.25,28.42,0.1z M27.67,1l-2.18,2.64c-0.1,0.11-0.24,0.18-0.39,0.18\n\tH6.99c-0.15,0-0.29-0.07-0.38-0.18L4.35,1H27.67z M28,29c0,1.11-0.9,2-2,2H6c-1.1,0-2-0.89-2-2V2.13l1.85,2.16\n\tc0.28,0.33,0.7,0.53,1.14,0.53H25.1c0.45,0,0.87-0.2,1.16-0.55L28,2.17V29z", key: 2, }), r.createElement( "g", { key: 3 }, r.createElement("g", null, [ r.createElement("path", { className: "st2", d: "M10.874,27.488c0,0.021-0.002,0.035-0.01,0.044s-0.022,0.012-0.046,0.012h-0.326h-0.326\n\t\t\tc-0.021,0-0.035-0.005-0.044-0.015s-0.012-0.024-0.012-0.041v-2.28v-2.28c0-0.021,0.005-0.035,0.015-0.044\n\t\t\ts0.024-0.013,0.041-0.013h0.329h0.329c0.018,0,0.03,0.004,0.038,0.012s0.011,0.021,0.011,0.038v2.283V27.488z", key: 0, }), r.createElement("path", { className: "st2", d: "M14.598,27.425c0,0.021-0.004,0.037-0.011,0.049s-0.02,0.021-0.037,0.028\n\t\t\tc-0.091,0.039-0.21,0.065-0.344,0.082s-0.283,0.024-0.434,0.024c-0.546,0-1.061-0.179-1.439-0.568s-0.62-0.988-0.62-1.828\n\t\t\tc0-0.722,0.214-1.324,0.59-1.746s0.916-0.663,1.567-0.663c0.172,0,0.321,0.009,0.443,0.025s0.219,0.041,0.285,0.072\n\t\t\tc0.018,0.007,0.028,0.016,0.034,0.028s0.008,0.028,0.008,0.049v0.301v0.301c0,0.028-0.007,0.042-0.017,0.048\n\t\t\ts-0.022,0.004-0.032,0.001c-0.084-0.042-0.189-0.075-0.31-0.098s-0.257-0.035-0.404-0.035c-0.41,0-0.751,0.156-0.99,0.445\n\t\t\ts-0.375,0.713-0.375,1.249c0,0.662,0.187,1.091,0.452,1.354s0.606,0.361,0.914,0.361c0.14,0,0.257-0.005,0.365-0.019\n\t\t\ts0.206-0.037,0.307-0.072c0.014-0.007,0.026-0.01,0.035-0.006s0.014,0.017,0.014,0.041v0.287V27.425z", key: 1, }), r.createElement("path", { className: "st2", d: "M16.2,26.228l-0.168,0.634l-0.168,0.634c-0.003,0.018-0.009,0.03-0.018,0.038s-0.024,0.011-0.045,0.011H15.49\n\t\t\th-0.312c-0.021,0-0.033-0.003-0.039-0.013s-0.006-0.026-0.003-0.05l0.602-2.108l0.602-2.108c0.01-0.039,0.019-0.073,0.026-0.125\n\t\t\ts0.012-0.12,0.016-0.225c0-0.014,0.004-0.024,0.01-0.031s0.015-0.011,0.025-0.011h0.445h0.445c0.014,0,0.025,0.002,0.033,0.008\n\t\t\ts0.013,0.017,0.017,0.034l0.676,2.287l0.676,2.287c0.003,0.017,0.003,0.031-0.002,0.041s-0.016,0.015-0.033,0.015h-0.35h-0.35\n\t\t\tc-0.018,0-0.032-0.003-0.042-0.01s-0.018-0.017-0.021-0.032l-0.175-0.637l-0.175-0.637h-0.68H16.2z M17.384,25.534\n\t\t\tc-0.06-0.235-0.159-0.608-0.257-0.984s-0.194-0.756-0.247-1.005h-0.004h-0.004c-0.045,0.249-0.124,0.581-0.213,0.934\n\t\t\ts-0.189,0.726-0.277,1.055h0.501H17.384z", key: 2, }), r.createElement("path", { className: "st2", d: "M19.35,22.929c0-0.014,0.002-0.026,0.008-0.035s0.017-0.014,0.034-0.014c0.137-0.007,0.305-0.013,0.491-0.016\n\t\t\ts0.391-0.005,0.601-0.005c0.588,0,1.01,0.161,1.285,0.426s0.402,0.632,0.402,1.045c0,0.54-0.194,0.925-0.509,1.175\n\t\t\ts-0.748,0.366-1.228,0.366c-0.081,0-0.135-0.002-0.183-0.003s-0.09-0.003-0.146-0.003v0.816v0.816c0,0.018-0.004,0.03-0.012,0.038\n\t\t\ts-0.021,0.011-0.038,0.011h-0.329h-0.329c-0.018,0-0.03-0.003-0.038-0.011s-0.011-0.02-0.011-0.038v-2.283V22.929z M20.106,25.184\n\t\t\tc0.049,0.003,0.093,0.005,0.145,0.006s0.114,0.001,0.198,0.001c0.249,0,0.489-0.044,0.666-0.172s0.294-0.34,0.294-0.676\n\t\t\tc0-0.27-0.082-0.472-0.235-0.608s-0.377-0.204-0.661-0.204c-0.084,0-0.167,0.002-0.238,0.004s-0.13,0.006-0.169,0.009v0.819\n\t\t\tV25.184z", key: 3, }), ]) ), r.createElement( "g", { key: 4 }, r.createElement("g", null, [ r.createElement("path", { className: "st1", d: "M13.897,17.669c0,0.048-0.004,0.08-0.022,0.1s-0.05,0.028-0.106,0.028h-0.744h-0.744\n\t\t\tc-0.048,0-0.08-0.012-0.1-0.034s-0.028-0.054-0.028-0.094v-5.21v-5.21c0-0.048,0.012-0.08,0.034-0.1s0.054-0.028,0.094-0.028\n\t\t\th0.752h0.752c0.04,0,0.068,0.008,0.086,0.026s0.026,0.046,0.026,0.086v5.218V17.669z", key: 0, }), r.createElement("path", { className: "st1", d: "M20.587,17.604c0,0.032-0.004,0.056-0.016,0.076s-0.032,0.036-0.064,0.052\n\t\t\tc-0.208,0.08-0.441,0.132-0.687,0.165s-0.506,0.044-0.77,0.044c-1.136,0-2.037-0.42-2.653-1.139s-0.948-1.735-0.948-2.927\n\t\t\tc0-1.168,0.376-2.193,1.041-2.925s1.617-1.172,2.769-1.172c0.312,0,0.564,0.012,0.768,0.036s0.36,0.06,0.481,0.108\n\t\t\tc0.032,0.024,0.052,0.044,0.064,0.068s0.016,0.052,0.016,0.092l-0.008,0.664L20.57,11.41c0,0.04-0.012,0.064-0.032,0.076\n\t\t\ts-0.048,0.012-0.08,0.004c-0.136-0.056-0.292-0.1-0.474-0.13s-0.39-0.046-0.631-0.046c-0.632,0-1.164,0.22-1.538,0.64\n\t\t\ts-0.591,1.04-0.591,1.841c0,0.944,0.272,1.581,0.678,1.981s0.947,0.564,1.483,0.564c0.232,0,0.445-0.012,0.629-0.036\n\t\t\ts0.34-0.06,0.46-0.108c0.04-0.008,0.068-0.004,0.086,0.01s0.026,0.038,0.026,0.07v0.664V17.604z", key: 1, }), ]) ), r.createElement("g", { key: 5 }), r.createElement("g", { key: 6 }), r.createElement("g", { key: 7 }), r.createElement("g", { key: 8 }), r.createElement("g", { key: 9 }), r.createElement("g", { key: 10 }), ]); } (o.defaultProps = { version: "1.1", id: "Layer_1", x: "0px", y: "0px", viewBox: "0 0 32 32", style: { enableBackground: "new 0 0 32 32" }, xmlSpace: "preserve" }), (e.exports = o), (o.default = o); }, 81716: (e, t, n) => { var r = n(23469); function o(e) { return r.createElement("svg", e, [ r.createElement("style", { type: "text/css", key: 0 }, "\n\t.st0{fill:#2E092B;}\n\t.st1{fill:#FF66F2;}\n\t.st2{fill:#FAFAFA;}\n"), r.createElement("g", { key: 1 }, [ r.createElement("path", { className: "st0", d: "M6,31.5c-1.378,0-2.5-1.121-2.5-2.5V3c0-1.378,1.122-2.5,2.5-2.5h15.38c0.533,0,1.034,0.207,1.411,0.583\n\t\tl5.12,5.102C28.285,6.558,28.5,7.074,28.5,7.602V29c0,1.379-1.121,2.5-2.5,2.5H6z", key: 0, }), r.createElement("path", { className: "st1", d: "M21.38,1c0.397,0,0.778,0.157,1.059,0.437l5.12,5.102C27.841,6.821,28,7.203,28,7.602V29c0,1.105-0.895,2-2,2\n\t\tH6c-1.105,0-2-0.895-2-2V3c0-1.105,0.895-2,2-2H21.38 M21.38,0H6C4.346,0,3,1.346,3,3v26c0,1.654,1.346,3,3,3h20\n\t\tc1.654,0,3-1.346,3-3V7.602c0-0.66-0.268-1.305-0.735-1.771l-5.12-5.102C22.673,0.259,22.046,0,21.38,0L21.38,0z", key: 1, }), ]), r.createElement( "g", { key: 2 }, r.createElement("g", null, [ r.createElement("path", { className: "st1", d: "M13.897,17.669c0,0.048-0.004,0.08-0.022,0.1s-0.05,0.028-0.106,0.028h-0.744h-0.744\n\t\t\tc-0.048,0-0.08-0.012-0.1-0.034s-0.028-0.054-0.028-0.094v-5.21v-5.21c0-0.048,0.012-0.08,0.034-0.1s0.054-0.028,0.094-0.028\n\t\t\th0.752h0.752c0.04,0,0.068,0.008,0.086,0.026s0.026,0.046,0.026,0.086v5.218V17.669z", key: 0, }), r.createElement("path", { className: "st1", d: "M20.587,17.604c0,0.032-0.004,0.056-0.016,0.076s-0.032,0.036-0.064,0.052\n\t\t\tc-0.208,0.08-0.441,0.132-0.687,0.165s-0.506,0.044-0.77,0.044c-1.136,0-2.037-0.42-2.653-1.139s-0.948-1.735-0.948-2.927\n\t\t\tc0-1.168,0.376-2.193,1.041-2.925s1.617-1.172,2.769-1.172c0.312,0,0.564,0.012,0.768,0.036s0.36,0.06,0.481,0.108\n\t\t\tc0.032,0.024,0.052,0.044,0.064,0.068s0.016,0.052,0.016,0.092l-0.008,0.664L20.57,11.41c0,0.04-0.012,0.064-0.032,0.076\n\t\t\ts-0.048,0.012-0.08,0.004c-0.136-0.056-0.292-0.1-0.474-0.13s-0.39-0.046-0.631-0.046c-0.632,0-1.164,0.22-1.538,0.64\n\t\t\ts-0.591,1.04-0.591,1.841c0,0.944,0.272,1.581,0.678,1.981s0.947,0.564,1.483,0.564c0.232,0,0.445-0.012,0.629-0.036\n\t\t\ts0.34-0.06,0.46-0.108c0.04-0.008,0.068-0.004,0.086,0.01s0.026,0.038,0.026,0.07v0.664V17.604z", key: 1, }), ]) ), r.createElement( "g", { key: 3 }, r.createElement("g", null, [ r.createElement("path", { className: "st2", d: "M10.457,27.488c0,0.021-0.002,0.035-0.01,0.044s-0.022,0.012-0.046,0.012h-0.326H9.75\n\t\t\tc-0.021,0-0.035-0.005-0.044-0.015s-0.012-0.024-0.012-0.041v-2.28v-2.28c0-0.021,0.005-0.035,0.015-0.044\n\t\t\ts0.024-0.013,0.041-0.013h0.329h0.329c0.018,0,0.03,0.004,0.038,0.012s0.011,0.021,0.011,0.038v2.283V27.488z", key: 0, }), r.createElement("path", { className: "st2", d: "M14.182,27.425c0,0.021-0.004,0.037-0.011,0.049s-0.02,0.021-0.037,0.028\n\t\t\tc-0.091,0.039-0.21,0.065-0.344,0.082s-0.283,0.024-0.433,0.024c-0.546,0-1.061-0.179-1.44-0.568s-0.62-0.988-0.62-1.828\n\t\t\tc0-0.722,0.214-1.324,0.59-1.746s0.916-0.663,1.567-0.663c0.172,0,0.321,0.009,0.443,0.025s0.219,0.041,0.285,0.072\n\t\t\tc0.018,0.007,0.028,0.016,0.034,0.028s0.008,0.028,0.008,0.049v0.301v0.301c0,0.028-0.007,0.042-0.017,0.048\n\t\t\ts-0.022,0.004-0.032,0.001c-0.084-0.042-0.189-0.075-0.31-0.098s-0.257-0.035-0.404-0.035c-0.41,0-0.751,0.156-0.99,0.445\n\t\t\ts-0.375,0.713-0.375,1.249c0,0.662,0.187,1.091,0.452,1.354s0.606,0.361,0.914,0.361c0.14,0,0.257-0.005,0.365-0.019\n\t\t\ts0.206-0.037,0.307-0.072c0.014-0.007,0.026-0.01,0.035-0.006s0.014,0.017,0.014,0.041v0.287V27.425z", key: 1, }), r.createElement("path", { className: "st2", d: "M15.216,22.872h0.497h0.497c0.017,0,0.03,0.002,0.038,0.008s0.014,0.017,0.017,0.034\n\t\t\tc0.088,0.326,0.258,1.017,0.42,1.717s0.319,1.407,0.378,1.765h0.003h0.003c0.066-0.326,0.247-1.023,0.433-1.724\n\t\t\ts0.379-1.407,0.47-1.75c0.003-0.018,0.009-0.03,0.018-0.038s0.021-0.012,0.038-0.012h0.48h0.48c0.018,0,0.028,0.002,0.035,0.007\n\t\t\ts0.01,0.014,0.014,0.028l0.084,2.291l0.084,2.291c0.004,0.021,0,0.035-0.008,0.044s-0.023,0.012-0.041,0.012h-0.34h-0.34\n\t\t\tc-0.021,0-0.033-0.003-0.04-0.011s-0.009-0.02-0.009-0.038c-0.014-0.75-0.021-1.653-0.024-2.416s-0.003-1.384-0.003-1.57h-0.004\n\t\t\th-0.004c-0.059,0.298-0.243,1.044-0.445,1.84s-0.423,1.644-0.556,2.145c-0.003,0.021-0.01,0.033-0.02,0.04\n\t\t\ts-0.022,0.009-0.036,0.009H17.03h-0.308c-0.018,0-0.032-0.002-0.042-0.008s-0.017-0.017-0.021-0.034\n\t\t\tc-0.13-0.522-0.313-1.322-0.485-2.091s-0.331-1.506-0.411-1.901h-0.007h-0.007c0,0.277-0.014,0.893-0.035,1.63\n\t\t\ts-0.049,1.595-0.077,2.355c0,0.021-0.005,0.033-0.014,0.04s-0.021,0.009-0.035,0.009h-0.308h-0.308\n\t\t\tc-0.021,0-0.035-0.003-0.044-0.011s-0.012-0.02-0.012-0.038l0.126-2.291l0.126-2.291c0.004-0.017,0.007-0.028,0.014-0.034\n\t\t\tS15.199,22.872,15.216,22.872z", key: 2, }), r.createElement("path", { className: "st2", d: "M20.263,27.544c-0.025,0-0.041-0.005-0.05-0.016s-0.013-0.026-0.013-0.047v-2.276v-2.276\n\t\t\tc0-0.018,0.003-0.032,0.011-0.042s0.02-0.015,0.038-0.015h0.336h0.336c0.018,0,0.028,0.004,0.034,0.012s0.008,0.021,0.008,0.038\n\t\t\tv1.964v1.964h0.875h0.875c0.018,0,0.03,0.003,0.037,0.011s0.009,0.02,0.005,0.038l-0.053,0.298l-0.053,0.298\n\t\t\tc-0.003,0.018-0.01,0.03-0.021,0.038s-0.024,0.011-0.042,0.011h-1.163H20.263z", key: 3, }), ]) ), r.createElement("g", { key: 4 }), r.createElement("g", { key: 5 }), r.createElement("g", { key: 6 }), r.createElement("g", { key: 7 }), r.createElement("g", { key: 8 }), r.createElement("g", { key: 9 }), ]); } (o.defaultProps = { version: "1.1", id: "Layer_1", x: "0px", y: "0px", viewBox: "0 0 32 32", style: { enableBackground: "new 0 0 32 32" }, xmlSpace: "preserve" }), (e.exports = o), (o.default = o); }, 14646: (e, t, n) => { var r = n(23469); function o(e) { return r.createElement("svg", e, [ r.createElement("style", { type: "text/css", key: 0 }, "\n\t.st0{fill:#2E092B;}\n\t.st1{fill:#FF66F2;}\n\t.st2{fill:#FAFAFA;}\n"), r.createElement("path", { className: "st0", d: "M6,31.5c-1.378,0-2.5-1.121-2.5-2.5V1c0-0.276,0.224-0.5,0.5-0.5h24c0.276,0,0.5,0.224,0.5,0.5v28\n\tc0,1.379-1.121,2.5-2.5,2.5H6z", key: 1 }), r.createElement("path", { className: "st1", d: "M28,0H4C3.45,0,3,0.45,3,1v28c0,1.65,1.35,3,3,3h20c1.65,0,3-1.35,3-3V1C29,0.45,28.55,0,28,0z M28,29\n\tc0,1.1-0.9,2-2,2H6c-1.1,0-2-0.9-2-2V3h24V29z", key: 2 }), r.createElement( "g", { key: 3 }, r.createElement("g", null, [ r.createElement("path", { className: "st2", d: "M10.415,27.488c0,0.021-0.002,0.035-0.01,0.044s-0.022,0.012-0.046,0.012h-0.326H9.708\n\t\t\tc-0.021,0-0.035-0.005-0.044-0.015s-0.012-0.024-0.012-0.041v-2.28v-2.28c0-0.021,0.005-0.035,0.015-0.044\n\t\t\ts0.024-0.013,0.041-0.013h0.329h0.329c0.018,0,0.03,0.004,0.038,0.012s0.011,0.021,0.011,0.038v2.283V27.488z", key: 0, }), r.createElement("path", { className: "st2", d: "M14.14,27.425c0,0.021-0.004,0.037-0.011,0.049s-0.02,0.021-0.037,0.028c-0.091,0.039-0.21,0.065-0.344,0.082\n\t\t\ts-0.283,0.024-0.433,0.024c-0.546,0-1.061-0.179-1.44-0.568s-0.62-0.988-0.62-1.828c0-0.722,0.214-1.324,0.59-1.746\n\t\t\ts0.916-0.663,1.567-0.663c0.172,0,0.321,0.009,0.443,0.025s0.219,0.041,0.285,0.072c0.018,0.007,0.028,0.016,0.034,0.028\n\t\t\ts0.008,0.028,0.008,0.049v0.301v0.301c0,0.028-0.007,0.042-0.017,0.048s-0.022,0.004-0.032,0.001\n\t\t\tc-0.084-0.042-0.189-0.075-0.31-0.098s-0.257-0.035-0.404-0.035c-0.41,0-0.751,0.156-0.99,0.445s-0.375,0.713-0.375,1.249\n\t\t\tc0,0.662,0.187,1.091,0.452,1.354s0.606,0.361,0.914,0.361c0.14,0,0.257-0.005,0.365-0.019s0.206-0.037,0.307-0.072\n\t\t\tc0.014-0.007,0.026-0.01,0.035-0.006s0.014,0.017,0.014,0.041v0.287V27.425z", key: 1, }), r.createElement("path", { className: "st2", d: "M15.174,22.872h0.497h0.497c0.017,0,0.03,0.002,0.038,0.008s0.014,0.017,0.017,0.034\n\t\t\tc0.088,0.326,0.258,1.017,0.42,1.717s0.319,1.407,0.378,1.765h0.003h0.003c0.066-0.326,0.247-1.023,0.433-1.724\n\t\t\ts0.379-1.407,0.47-1.75c0.003-0.018,0.009-0.03,0.018-0.038s0.021-0.012,0.038-0.012h0.48h0.48c0.018,0,0.028,0.002,0.035,0.007\n\t\t\ts0.01,0.014,0.014,0.028l0.084,2.291l0.084,2.291c0.004,0.021,0,0.035-0.008,0.044s-0.023,0.012-0.041,0.012h-0.34h-0.34\n\t\t\tc-0.021,0-0.033-0.003-0.04-0.011s-0.009-0.02-0.009-0.038c-0.014-0.75-0.021-1.653-0.024-2.416s-0.003-1.384-0.003-1.57h-0.004\n\t\t\th-0.004c-0.06,0.298-0.243,1.044-0.446,1.84s-0.423,1.644-0.555,2.145c-0.003,0.021-0.01,0.033-0.02,0.04\n\t\t\ts-0.022,0.009-0.036,0.009h-0.308H16.68c-0.018,0-0.032-0.002-0.042-0.008s-0.017-0.017-0.021-0.034\n\t\t\tc-0.13-0.522-0.313-1.322-0.485-2.091s-0.331-1.506-0.411-1.901h-0.007h-0.007c0,0.277-0.014,0.893-0.035,1.63\n\t\t\ts-0.049,1.595-0.077,2.355c0,0.021-0.005,0.033-0.014,0.04s-0.021,0.009-0.035,0.009h-0.308h-0.308\n\t\t\tc-0.021,0-0.035-0.003-0.044-0.011s-0.012-0.02-0.012-0.038l0.126-2.291l0.126-2.291c0.004-0.017,0.007-0.028,0.014-0.034\n\t\t\tS15.157,22.872,15.174,22.872z", key: 2, }), r.createElement("path", { className: "st2", d: "M20.83,23.565h-0.588h-0.588c-0.018,0-0.03-0.003-0.037-0.012s-0.009-0.023-0.005-0.044l0.042-0.294\n\t\t\tl0.042-0.294c0.003-0.018,0.009-0.03,0.017-0.038s0.021-0.012,0.038-0.012h1.471h1.471c0.021,0,0.035,0.004,0.045,0.013\n\t\t\ts0.015,0.023,0.019,0.044l0.028,0.291l0.028,0.291c0.003,0.021,0,0.035-0.009,0.044s-0.023,0.012-0.04,0.012h-0.585h-0.585v1.961\n\t\t\tv1.961c0,0.017-0.003,0.031-0.012,0.041s-0.023,0.015-0.044,0.015h-0.326h-0.326c-0.021,0-0.035-0.003-0.044-0.012\n\t\t\ts-0.012-0.023-0.012-0.044v-1.961V23.565z", key: 3, }), ]) ), r.createElement( "g", { key: 4 }, r.createElement("g", null, [ r.createElement("path", { className: "st1", d: "M13.897,17.669c0,0.048-0.004,0.08-0.022,0.1s-0.05,0.028-0.106,0.028h-0.744h-0.744\n\t\t\tc-0.048,0-0.08-0.012-0.1-0.034s-0.028-0.054-0.028-0.094v-5.21v-5.21c0-0.048,0.012-0.08,0.034-0.1s0.054-0.028,0.094-0.028\n\t\t\th0.752h0.752c0.04,0,0.068,0.008,0.086,0.026s0.026,0.046,0.026,0.086v5.218V17.669z", key: 0, }), r.createElement("path", { className: "st1", d: "M20.587,17.604c0,0.032-0.004,0.056-0.016,0.076s-0.032,0.036-0.064,0.052\n\t\t\tc-0.208,0.08-0.441,0.132-0.687,0.165s-0.506,0.044-0.77,0.044c-1.136,0-2.037-0.42-2.653-1.139s-0.948-1.735-0.948-2.927\n\t\t\tc0-1.168,0.376-2.193,1.041-2.925s1.617-1.172,2.769-1.172c0.312,0,0.564,0.012,0.768,0.036s0.36,0.06,0.481,0.108\n\t\t\tc0.032,0.024,0.052,0.044,0.064,0.068s0.016,0.052,0.016,0.092l-0.008,0.664L20.57,11.41c0,0.04-0.012,0.064-0.032,0.076\n\t\t\ts-0.048,0.012-0.08,0.004c-0.136-0.056-0.292-0.1-0.474-0.13s-0.39-0.046-0.631-0.046c-0.632,0-1.164,0.22-1.538,0.64\n\t\t\ts-0.591,1.04-0.591,1.841c0,0.944,0.272,1.581,0.678,1.981s0.947,0.564,1.483,0.564c0.232,0,0.445-0.012,0.629-0.036\n\t\t\ts0.34-0.06,0.46-0.108c0.04-0.008,0.068-0.004,0.086,0.01s0.026,0.038,0.026,0.07v0.664V17.604z", key: 1, }), ]) ), r.createElement("g", { key: 5 }), r.createElement("g", { key: 6 }), r.createElement("g", { key: 7 }), r.createElement("g", { key: 8 }), r.createElement("g", { key: 9 }), r.createElement("g", { key: 10 }), ]); } (o.defaultProps = { version: "1.1", id: "Layer_1", x: "0px", y: "0px", viewBox: "0 0 32 32", style: { enableBackground: "new 0 0 32 32" }, xmlSpace: "preserve" }), (e.exports = o), (o.default = o); }, 41946: (e, t, n) => { var r = n(23469); function o(e) { return r.createElement("svg", e, [ r.createElement("style", { type: "text/css", key: 0 }, "\n\t.st0{fill:#2E0918;}\n\t.st1{fill:#FF3388;}\n\t.st2{fill:#FAFAFA;}\n"), r.createElement("path", { className: "st0", d: "M6,31.5c-1.378,0-2.5-1.121-2.5-2.5V1c0-0.276,0.224-0.5,0.5-0.5h24c0.276,0,0.5,0.224,0.5,0.5v28\n\tc0,1.379-1.121,2.5-2.5,2.5H6z", key: 1 }), r.createElement("path", { className: "st1", d: "M28.42,0.1C28.29,0.03,28.15,0,28,0H4C3.85,0,3.71,0.03,3.58,0.1C3.25,0.25,3.02,0.58,3,0.96V29\n\tc0,1.66,1.35,3,3,3h20c1.65,0,3-1.34,3-3V0.97C28.99,0.58,28.75,0.25,28.42,0.1z M27.67,1l-2.18,2.64c-0.1,0.11-0.24,0.18-0.39,0.18\n\tH6.99c-0.15,0-0.29-0.07-0.38-0.18L4.35,1H27.67z M28,29c0,1.11-0.9,2-2,2H6c-1.1,0-2-0.89-2-2V2.13l1.85,2.16\n\tc0.28,0.33,0.7,0.53,1.14,0.53H25.1c0.45,0,0.87-0.2,1.16-0.55L28,2.17V29z", key: 2, }), r.createElement( "g", { key: 3 }, r.createElement("g", null, [ r.createElement("path", { className: "st2", d: "M10.664,27.488c0,0.021-0.002,0.035-0.01,0.044s-0.022,0.012-0.046,0.012h-0.326H9.956\n\t\t\tc-0.021,0-0.035-0.005-0.044-0.015S9.9,27.505,9.9,27.488v-2.28v-2.28c0-0.021,0.005-0.035,0.015-0.044s0.024-0.013,0.041-0.013\n\t\t\th0.329h0.329c0.018,0,0.03,0.004,0.038,0.012s0.011,0.021,0.011,0.038v2.283V27.488z", key: 0, }), r.createElement("path", { className: "st2", d: "M11.741,22.936c0-0.018,0.002-0.03,0.009-0.038s0.019-0.014,0.041-0.017c0.08-0.004,0.236-0.009,0.431-0.014\n\t\t\ts0.43-0.008,0.668-0.008c0.711,0,1.243,0.229,1.597,0.627s0.531,0.963,0.531,1.636c0,0.935-0.306,1.544-0.731,1.919\n\t\t\ts-0.967,0.517-1.44,0.517c-0.178,0-0.397-0.002-0.595-0.004s-0.375-0.006-0.469-0.009c-0.014,0-0.024-0.005-0.031-0.015\n\t\t\ts-0.011-0.024-0.011-0.041v-2.276V22.936z M12.504,26.871c0.059,0.004,0.115,0.008,0.173,0.01s0.117,0.004,0.184,0.004\n\t\t\tc0.392,0,0.734-0.138,0.978-0.426s0.391-0.723,0.395-1.318c0.003-0.581-0.146-0.984-0.389-1.241s-0.581-0.369-0.956-0.369\n\t\t\tc-0.074,0-0.14,0.002-0.203,0.004s-0.122,0.006-0.182,0.009v1.663V26.871z", key: 1, }), r.createElement("path", { className: "st2", d: "M16.41,26.228l-0.168,0.634l-0.168,0.634c-0.003,0.018-0.009,0.03-0.018,0.038s-0.024,0.011-0.045,0.011\n\t\t\th-0.312h-0.312c-0.021,0-0.033-0.003-0.039-0.013s-0.006-0.026-0.003-0.05l0.602-2.108l0.602-2.108\n\t\t\tc0.01-0.039,0.019-0.073,0.026-0.125s0.012-0.12,0.016-0.225c0-0.014,0.004-0.024,0.01-0.031s0.015-0.011,0.025-0.011h0.445h0.445\n\t\t\tc0.014,0,0.025,0.002,0.033,0.008s0.013,0.017,0.017,0.034l0.676,2.287l0.676,2.287c0.003,0.017,0.003,0.031-0.002,0.041\n\t\t\ts-0.016,0.015-0.033,0.015h-0.35h-0.35c-0.018,0-0.032-0.003-0.042-0.01s-0.018-0.017-0.021-0.032l-0.175-0.637l-0.175-0.637\n\t\t\th-0.68H16.41z M17.594,25.534c-0.06-0.235-0.159-0.608-0.257-0.984s-0.194-0.756-0.246-1.005h-0.003h-0.003\n\t\t\tc-0.046,0.249-0.125,0.581-0.214,0.934s-0.189,0.726-0.277,1.055h0.501H17.594z", key: 2, }), r.createElement("path", { className: "st2", d: "M19.56,22.929c0-0.014,0.002-0.026,0.008-0.035s0.017-0.014,0.034-0.014c0.137-0.007,0.305-0.013,0.491-0.016\n\t\t\ts0.391-0.005,0.601-0.005c0.588,0,1.01,0.161,1.285,0.426s0.402,0.632,0.402,1.045c0,0.54-0.194,0.925-0.509,1.175\n\t\t\ts-0.748,0.366-1.228,0.366c-0.081,0-0.135-0.002-0.183-0.003s-0.09-0.003-0.146-0.003v0.816v0.816c0,0.018-0.004,0.03-0.012,0.038\n\t\t\ts-0.021,0.011-0.038,0.011h-0.329h-0.329c-0.018,0-0.03-0.003-0.038-0.011s-0.011-0.02-0.011-0.038v-2.283V22.929z M20.316,25.184\n\t\t\tc0.049,0.003,0.093,0.005,0.145,0.006s0.114,0.001,0.198,0.001c0.249,0,0.489-0.044,0.666-0.172s0.294-0.34,0.294-0.676\n\t\t\tc0-0.27-0.082-0.472-0.235-0.608s-0.377-0.204-0.661-0.204c-0.084,0-0.167,0.002-0.238,0.004s-0.13,0.006-0.169,0.009v0.819\n\t\t\tV25.184z", key: 3, }), ]) ), r.createElement( "g", { key: 4 }, r.createElement("g", null, [ r.createElement("path", { className: "st1", d: "M13.049,17.669c0,0.048-0.004,0.08-0.022,0.1s-0.05,0.028-0.106,0.028h-0.744h-0.744\n\t\t\tc-0.048,0-0.08-0.012-0.1-0.034s-0.028-0.054-0.028-0.094v-5.21v-5.21c0-0.048,0.012-0.08,0.034-0.1s0.054-0.028,0.094-0.028\n\t\t\th0.752h0.752c0.04,0,0.068,0.008,0.086,0.026s0.026,0.046,0.026,0.086v5.218V17.669z", key: 0, }), r.createElement("path", { className: "st1", d: "M14.6,13.907c0-1.16,0.384-2.193,1.074-2.935s1.687-1.194,2.911-1.194c0.104,0,0.184,0,0.262,0.002\n\t\t\ts0.154,0.006,0.25,0.014V8.505V7.217c0-0.032,0.012-0.056,0.03-0.072s0.042-0.024,0.066-0.024h0.784h0.784\n\t\t\tc0.04,0,0.064,0.008,0.078,0.022s0.018,0.034,0.018,0.058v4.538v4.538c0,0.136,0,0.288,0.006,0.452s0.018,0.34,0.043,0.525\n\t\t\tc0,0.032-0.004,0.052-0.016,0.068s-0.032,0.028-0.064,0.044c-0.417,0.2-0.845,0.344-1.273,0.439s-0.856,0.138-1.273,0.138\n\t\t\tc-1.072,0-1.993-0.332-2.645-1.003S14.6,15.26,14.6,13.907z M19.098,11.362c-0.072-0.032-0.156-0.056-0.252-0.072\n\t\t\ts-0.204-0.024-0.324-0.024c-0.624,0-1.156,0.24-1.532,0.68s-0.596,1.08-0.596,1.881c0,0.912,0.224,1.553,0.588,1.965\n\t\t\ts0.868,0.596,1.429,0.596c0.12,0,0.244-0.008,0.362-0.026s0.23-0.046,0.326-0.086v-2.457V11.362z", key: 1, }), ]) ), r.createElement("g", { key: 5 }), r.createElement("g", { key: 6 }), r.createElement("g", { key: 7 }), r.createElement("g", { key: 8 }), r.createElement("g", { key: 9 }), r.createElement("g", { key: 10 }), ]); } (o.defaultProps = { version: "1.1", id: "Layer_1", x: "0px", y: "0px", viewBox: "0 0 32 32", style: { enableBackground: "new 0 0 32 32" }, xmlSpace: "preserve" }), (e.exports = o), (o.default = o); }, 27089: (e, t, n) => { var r = n(23469); function o(e) { return r.createElement("svg", e, [ r.createElement("style", { type: "text/css", key: 0 }, "\n\t.st0{fill:#2E0918;}\n\t.st1{fill:#FF3388;}\n\t.st2{fill:#FAFAFA;}\n"), r.createElement("path", { className: "st0", d: "M6,31.5c-1.378,0-2.5-1.121-2.5-2.5V1c0-0.276,0.224-0.5,0.5-0.5h24c0.276,0,0.5,0.224,0.5,0.5v28\n\tc0,1.379-1.121,2.5-2.5,2.5H6z", key: 1 }), r.createElement("path", { className: "st1", d: "M28.42,0.1C28.29,0.03,28.15,0,28,0H4C3.85,0,3.71,0.03,3.58,0.1C3.25,0.25,3.02,0.58,3,0.96V29\n\tc0,1.66,1.35,3,3,3h20c1.65,0,3-1.34,3-3V0.97C28.99,0.58,28.75,0.25,28.42,0.1z M27.67,1l-2.18,2.64c-0.1,0.11-0.24,0.18-0.39,0.18\n\tH6.99c-0.15,0-0.29-0.07-0.38-0.18L4.35,1H27.67z M28,29c0,1.11-0.9,2-2,2H6c-1.1,0-2-0.89-2-2V2.13l1.85,2.16\n\tc0.28,0.33,0.7,0.53,1.14,0.53H25.1c0.45,0,0.87-0.2,1.16-0.55L28,2.17V29z", key: 2, }), r.createElement( "g", { key: 3 }, r.createElement("g", null, [ r.createElement("path", { className: "st1", d: "M13.049,17.669c0,0.048-0.004,0.08-0.022,0.1s-0.05,0.028-0.106,0.028h-0.744h-0.744\n\t\t\tc-0.048,0-0.08-0.012-0.1-0.034s-0.028-0.054-0.028-0.094v-5.21v-5.21c0-0.048,0.012-0.08,0.034-0.1s0.054-0.028,0.094-0.028\n\t\t\th0.752h0.752c0.04,0,0.068,0.008,0.086,0.026s0.026,0.046,0.026,0.086v5.218V17.669z", key: 0, }), r.createElement("path", { className: "st1", d: "M14.6,13.907c0-1.16,0.384-2.193,1.074-2.935s1.687-1.194,2.911-1.194c0.104,0,0.184,0,0.262,0.002\n\t\t\ts0.154,0.006,0.25,0.014V8.505V7.217c0-0.032,0.012-0.056,0.03-0.072s0.042-0.024,0.066-0.024h0.784h0.784\n\t\t\tc0.04,0,0.064,0.008,0.078,0.022s0.018,0.034,0.018,0.058v4.538v4.538c0,0.136,0,0.288,0.006,0.452s0.018,0.34,0.043,0.525\n\t\t\tc0,0.032-0.004,0.052-0.016,0.068s-0.032,0.028-0.064,0.044c-0.417,0.2-0.845,0.344-1.273,0.439s-0.856,0.138-1.273,0.138\n\t\t\tc-1.072,0-1.993-0.332-2.645-1.003S14.6,15.26,14.6,13.907z M19.098,11.362c-0.072-0.032-0.156-0.056-0.252-0.072\n\t\t\ts-0.204-0.024-0.324-0.024c-0.624,0-1.156,0.24-1.532,0.68s-0.596,1.08-0.596,1.881c0,0.912,0.224,1.553,0.588,1.965\n\t\t\ts0.868,0.596,1.429,0.596c0.12,0,0.244-0.008,0.362-0.026s0.23-0.046,0.326-0.086v-2.457V11.362z", key: 1, }), ]) ), r.createElement( "g", { key: 4 }, r.createElement("g", null, [ r.createElement("path", { className: "st2", d: "M10.135,27.488c0,0.021-0.002,0.035-0.01,0.044s-0.022,0.012-0.046,0.012H9.753H9.428\n\t\t\tc-0.021,0-0.035-0.005-0.044-0.015s-0.012-0.024-0.012-0.041v-2.28v-2.28c0-0.021,0.005-0.035,0.015-0.044\n\t\t\ts0.024-0.013,0.041-0.013h0.329h0.329c0.018,0,0.03,0.004,0.038,0.012s0.011,0.021,0.011,0.038v2.283V27.488z", key: 0, }), r.createElement("path", { className: "st2", d: "M11.212,22.936c0-0.018,0.002-0.03,0.009-0.038s0.019-0.014,0.041-0.017c0.08-0.004,0.236-0.009,0.431-0.014\n\t\t\ts0.43-0.008,0.668-0.008c0.711,0,1.243,0.229,1.597,0.627s0.531,0.963,0.531,1.636c0,0.935-0.306,1.544-0.731,1.919\n\t\t\ts-0.967,0.517-1.44,0.517c-0.178,0-0.397-0.002-0.595-0.004s-0.375-0.006-0.469-0.009c-0.014,0-0.024-0.005-0.031-0.015\n\t\t\ts-0.011-0.024-0.011-0.041v-2.276V22.936z M11.976,26.871c0.059,0.004,0.115,0.008,0.173,0.01s0.117,0.004,0.184,0.004\n\t\t\tc0.392,0,0.734-0.138,0.978-0.426s0.391-0.723,0.395-1.318c0.003-0.581-0.146-0.984-0.389-1.241s-0.581-0.369-0.956-0.369\n\t\t\tc-0.074,0-0.14,0.002-0.203,0.004s-0.122,0.006-0.182,0.009v1.663V26.871z", key: 1, }), r.createElement("path", { className: "st2", d: "M15.539,22.872h0.497h0.497c0.017,0,0.03,0.002,0.038,0.008s0.014,0.017,0.017,0.034\n\t\t\tc0.088,0.326,0.258,1.017,0.42,1.717s0.319,1.407,0.378,1.765h0.003h0.003c0.066-0.326,0.247-1.023,0.433-1.724\n\t\t\ts0.379-1.407,0.47-1.75c0.003-0.018,0.009-0.03,0.018-0.038s0.021-0.012,0.038-0.012h0.48h0.48c0.018,0,0.028,0.002,0.035,0.007\n\t\t\ts0.01,0.014,0.014,0.028l0.084,2.291l0.084,2.291c0.004,0.021,0,0.035-0.008,0.044s-0.023,0.012-0.041,0.012h-0.34h-0.34\n\t\t\tc-0.021,0-0.033-0.003-0.04-0.011s-0.009-0.02-0.009-0.038c-0.014-0.75-0.021-1.653-0.024-2.416s-0.003-1.384-0.003-1.57h-0.004\n\t\t\th-0.004c-0.059,0.298-0.243,1.044-0.445,1.84s-0.423,1.644-0.556,2.145c-0.003,0.021-0.01,0.033-0.02,0.04\n\t\t\ts-0.022,0.009-0.036,0.009h-0.308h-0.308c-0.018,0-0.031-0.002-0.042-0.008s-0.017-0.017-0.021-0.034\n\t\t\tc-0.13-0.522-0.313-1.322-0.485-2.091s-0.331-1.506-0.411-1.901h-0.007h-0.007c0,0.277-0.014,0.893-0.035,1.63\n\t\t\ts-0.049,1.595-0.077,2.355c0,0.021-0.005,0.033-0.014,0.04s-0.021,0.009-0.035,0.009h-0.308h-0.308\n\t\t\tc-0.021,0-0.035-0.003-0.044-0.011s-0.012-0.02-0.012-0.038l0.126-2.291l0.126-2.291c0.004-0.017,0.007-0.028,0.014-0.034\n\t\t\tS15.521,22.872,15.539,22.872z", key: 2, }), r.createElement("path", { className: "st2", d: "M20.585,27.544c-0.025,0-0.041-0.005-0.05-0.016s-0.013-0.026-0.013-0.047v-2.276v-2.276\n\t\t\tc0-0.018,0.003-0.032,0.011-0.042s0.02-0.015,0.038-0.015h0.336h0.336c0.018,0,0.028,0.004,0.034,0.012s0.008,0.021,0.008,0.038\n\t\t\tv1.964v1.964h0.875h0.875c0.018,0,0.03,0.003,0.037,0.011s0.009,0.02,0.005,0.038l-0.053,0.298l-0.053,0.298\n\t\t\tc-0.003,0.018-0.01,0.03-0.021,0.038s-0.024,0.011-0.042,0.011h-1.163H20.585z", key: 3, }), ]) ), r.createElement("g", { key: 5 }), r.createElement("g", { key: 6 }), r.createElement("g", { key: 7 }), r.createElement("g", { key: 8 }), r.createElement("g", { key: 9 }), r.createElement("g", { key: 10 }), ]); } (o.defaultProps = { version: "1.1", id: "Layer_1", x: "0px", y: "0px", viewBox: "0 0 32 32", style: { enableBackground: "new 0 0 32 32" }, xmlSpace: "preserve" }), (e.exports = o), (o.default = o); }, 68840: (e, t, n) => { var r = n(23469); function o(e) { return r.createElement("svg", e, [ r.createElement("style", { type: "text/css", key: 0 }, "\n\t.st0{fill:#2E092B;}\n\t.st1{fill:#FF66F2;}\n\t.st2{fill:#FAFAFA;}\n"), r.createElement("g", { key: 1 }, [ r.createElement("path", { className: "st0", d: "M6,31.5c-1.378,0-2.5-1.121-2.5-2.5V3c0-1.378,1.122-2.5,2.5-2.5h15.38c0.533,0,1.034,0.207,1.411,0.583\n\t\tl5.12,5.102C28.285,6.558,28.5,7.074,28.5,7.602V29c0,1.379-1.121,2.5-2.5,2.5H6z", key: 0, }), r.createElement("path", { className: "st1", d: "M21.38,1c0.397,0,0.778,0.157,1.059,0.437l5.12,5.102C27.841,6.821,28,7.203,28,7.602V29c0,1.105-0.895,2-2,2\n\t\tH6c-1.105,0-2-0.895-2-2V3c0-1.105,0.895-2,2-2H21.38 M21.38,0H6C4.346,0,3,1.346,3,3v26c0,1.654,1.346,3,3,3h20\n\t\tc1.654,0,3-1.346,3-3V7.602c0-0.66-0.268-1.305-0.735-1.771l-5.12-5.102C22.673,0.259,22.046,0,21.38,0L21.38,0z", key: 1, }), ]), r.createElement( "g", { key: 2 }, r.createElement("g", null, [ r.createElement("path", { className: "st2", d: "M10.699,27.488c0,0.021-0.002,0.035-0.01,0.044s-0.022,0.012-0.046,0.012h-0.326H9.991\n\t\t\tc-0.021,0-0.035-0.005-0.044-0.015s-0.012-0.024-0.012-0.041v-2.28v-2.28c0-0.021,0.005-0.035,0.015-0.044\n\t\t\ts0.024-0.013,0.041-0.013h0.329h0.329c0.018,0,0.03,0.004,0.038,0.012s0.011,0.021,0.011,0.038v2.283V27.488z", key: 0, }), r.createElement("path", { className: "st2", d: "M11.832,27.544c-0.021,0-0.035-0.003-0.044-0.012s-0.012-0.023-0.012-0.044v-2.283v-2.283\n\t\t\tc0-0.018,0.005-0.03,0.014-0.038s0.021-0.012,0.035-0.012h0.434h0.434c0.021,0,0.035,0.002,0.046,0.008s0.018,0.017,0.025,0.034\n\t\t\tc0.207,0.438,0.541,1.2,0.846,1.91s0.582,1.369,0.673,1.6h0.004h0.004c-0.007-0.109-0.016-0.253-0.023-0.439\n\t\t\ts-0.012-0.416-0.012-0.696v-1.184v-1.184c0-0.014,0.004-0.027,0.012-0.036s0.023-0.014,0.044-0.014h0.304h0.304\n\t\t\tc0.021,0,0.035,0.004,0.044,0.013s0.012,0.023,0.012,0.044v2.276v2.276c0,0.025-0.005,0.041-0.017,0.05s-0.029,0.013-0.053,0.013\n\t\t\th-0.389h-0.389c-0.025,0-0.042-0.003-0.055-0.011s-0.022-0.02-0.029-0.038c-0.161-0.378-0.5-1.144-0.828-1.897\n\t\t\ts-0.643-1.496-0.755-1.829h-0.004h-0.004c0.011,0.158,0.02,0.34,0.026,0.553s0.01,0.459,0.01,0.742v1.212v1.212\n\t\t\tc0,0.017-0.003,0.031-0.011,0.041s-0.02,0.015-0.038,0.015h-0.305H11.832z", key: 1, }), r.createElement("path", { className: "st2", d: "M18.693,27.425c0,0.021-0.003,0.037-0.011,0.049s-0.02,0.021-0.038,0.028\n\t\t\tc-0.091,0.039-0.21,0.065-0.344,0.082s-0.283,0.024-0.433,0.024c-0.546,0-1.061-0.179-1.44-0.568s-0.62-0.988-0.62-1.828\n\t\t\tc0-0.722,0.214-1.324,0.59-1.746s0.916-0.663,1.567-0.663c0.172,0,0.321,0.009,0.443,0.025s0.219,0.041,0.285,0.072\n\t\t\tc0.018,0.007,0.028,0.016,0.034,0.028s0.008,0.028,0.008,0.049v0.301v0.301c0,0.028-0.007,0.042-0.017,0.048\n\t\t\ts-0.022,0.004-0.032,0.001c-0.084-0.042-0.189-0.075-0.31-0.098s-0.258-0.035-0.405-0.035c-0.41,0-0.751,0.156-0.99,0.445\n\t\t\ts-0.375,0.713-0.375,1.249c0,0.662,0.187,1.091,0.452,1.354s0.606,0.361,0.914,0.361c0.14,0,0.258-0.005,0.365-0.019\n\t\t\ts0.206-0.037,0.307-0.072c0.014-0.007,0.026-0.01,0.035-0.006s0.014,0.017,0.014,0.041v0.287V27.425z", key: 2, }), r.createElement("path", { className: "st2", d: "M21.373,25.135l0.609,1.169l0.609,1.169c0.011,0.018,0.012,0.035,0.007,0.048s-0.017,0.022-0.035,0.022\n\t\t\th-0.378h-0.378c-0.024,0-0.042-0.003-0.056-0.012s-0.025-0.023-0.035-0.044c-0.14-0.287-0.28-0.574-0.422-0.867\n\t\t\ts-0.285-0.59-0.432-0.899h-0.003h-0.003c-0.13,0.291-0.267,0.591-0.406,0.889s-0.281,0.596-0.421,0.883\n\t\t\tc-0.01,0.018-0.021,0.03-0.033,0.038s-0.026,0.011-0.044,0.011h-0.36h-0.36c-0.021,0-0.033-0.009-0.038-0.021\n\t\t\ts-0.001-0.028,0.01-0.042l0.595-1.134l0.595-1.134l-0.574-1.138l-0.574-1.138c-0.014-0.018-0.014-0.033-0.007-0.045\n\t\t\ts0.021-0.019,0.035-0.019h0.375h0.375c0.021,0,0.037,0.002,0.049,0.009s0.021,0.02,0.028,0.041\n\t\t\tc0.137,0.287,0.275,0.573,0.412,0.859s0.271,0.573,0.401,0.864h0.003h0.003c0.126-0.287,0.259-0.574,0.394-0.86\n\t\t\ts0.272-0.572,0.405-0.855c0.01-0.018,0.019-0.032,0.031-0.042s0.026-0.015,0.047-0.015h0.35h0.35c0.018,0,0.03,0.007,0.035,0.019\n\t\t\ts0.003,0.027-0.008,0.045l-0.574,1.1L21.373,25.135z", key: 3, }), ]) ), r.createElement( "g", { key: 3 }, r.createElement("g", null, [ r.createElement("path", { className: "st1", d: "M13.897,17.669c0,0.048-0.004,0.08-0.022,0.1s-0.05,0.028-0.106,0.028h-0.744h-0.744\n\t\t\tc-0.048,0-0.08-0.012-0.1-0.034s-0.028-0.054-0.028-0.094v-5.21v-5.21c0-0.048,0.012-0.08,0.034-0.1s0.054-0.028,0.094-0.028\n\t\t\th0.752h0.752c0.04,0,0.068,0.008,0.086,0.026s0.026,0.046,0.026,0.086v5.218V17.669z", key: 0, }), r.createElement("path", { className: "st1", d: "M20.587,17.604c0,0.032-0.004,0.056-0.016,0.076s-0.032,0.036-0.064,0.052\n\t\t\tc-0.208,0.08-0.441,0.132-0.687,0.165s-0.506,0.044-0.77,0.044c-1.136,0-2.037-0.42-2.653-1.139s-0.948-1.735-0.948-2.927\n\t\t\tc0-1.168,0.376-2.193,1.041-2.925s1.617-1.172,2.769-1.172c0.312,0,0.564,0.012,0.768,0.036s0.36,0.06,0.481,0.108\n\t\t\tc0.032,0.024,0.052,0.044,0.064,0.068s0.016,0.052,0.016,0.092l-0.008,0.664L20.57,11.41c0,0.04-0.012,0.064-0.032,0.076\n\t\t\ts-0.048,0.012-0.08,0.004c-0.136-0.056-0.292-0.1-0.474-0.13s-0.39-0.046-0.631-0.046c-0.632,0-1.164,0.22-1.538,0.64\n\t\t\ts-0.591,1.04-0.591,1.841c0,0.944,0.272,1.581,0.678,1.981s0.947,0.564,1.483,0.564c0.232,0,0.445-0.012,0.629-0.036\n\t\t\ts0.34-0.06,0.46-0.108c0.04-0.008,0.068-0.004,0.086,0.01s0.026,0.038,0.026,0.07v0.664V17.604z", key: 1, }), ]) ), r.createElement("g", { key: 4 }), r.createElement("g", { key: 5 }), r.createElement("g", { key: 6 }), r.createElement("g", { key: 7 }), r.createElement("g", { key: 8 }), r.createElement("g", { key: 9 }), ]); } (o.defaultProps = { version: "1.1", id: "Layer_1", x: "0px", y: "0px", viewBox: "0 0 32 32", style: { enableBackground: "new 0 0 32 32" }, xmlSpace: "preserve" }), (e.exports = o), (o.default = o); }, 16171: (e, t, n) => { var r = n(23469); function o(e) { return r.createElement("svg", e, [ r.createElement("style", { type: "text/css", key: 0 }, "\n\t.st0{fill:#2E0918;}\n\t.st1{fill:#FF3388;}\n\t.st2{fill:#FAFAFA;}\n"), r.createElement("path", { className: "st0", d: "M6,31.5c-1.378,0-2.5-1.121-2.5-2.5V3c0-1.378,1.122-2.5,2.5-2.5h18c0.276,0,0.5,0.224,0.5,0.5v2.5H28\n\tc0.276,0,0.5,0.224,0.5,0.5v25c0,1.379-1.121,2.5-2.5,2.5H6z", key: 1 }), r.createElement("path", { className: "st1", d: "M28,3h-3V0.99C24.99,0.44,24.55,0,24,0H6C5.59,0,5.2,0.08,4.84,0.24c-0.01,0-0.02,0.01-0.03,0.02\n\tC3.75,0.71,3,1.77,3,3v26c0,1.65,1.35,3,3,3h20c1.65,0,3-1.35,3-3V4C29,3.45,28.55,3,28,3z M5.22,1.16C5.46,1.06,5.72,1,6,1h18v2.01\n\tH5.79C5.23,3.01,4.78,2.55,4.78,2C4.78,1.66,4.96,1.35,5.22,1.16z M28,29c0,1.1-0.9,2-2,2H6c-1.1,0-2-0.9-2-2V2.92\n\tC4.34,3.56,5.01,4,5.79,4H28V29z", key: 2, }), r.createElement( "g", { key: 3 }, r.createElement("g", null, [ r.createElement("path", { className: "st2", d: "M10.31,27.488c0,0.021-0.002,0.035-0.01,0.044s-0.022,0.012-0.046,0.012H9.928H9.603\n\t\t\tc-0.021,0-0.035-0.005-0.044-0.015s-0.012-0.024-0.012-0.041v-2.28v-2.28c0-0.021,0.005-0.035,0.015-0.044\n\t\t\ts0.024-0.013,0.041-0.013h0.329h0.329c0.018,0,0.03,0.004,0.038,0.012s0.011,0.021,0.011,0.038v2.283V27.488z", key: 0, }), r.createElement("path", { className: "st2", d: "M11.443,27.544c-0.021,0-0.035-0.003-0.044-0.012s-0.012-0.023-0.012-0.044v-2.283v-2.283\n\t\t\tc0-0.018,0.005-0.03,0.014-0.038s0.021-0.012,0.035-0.012h0.434h0.434c0.021,0,0.035,0.002,0.046,0.008s0.018,0.017,0.025,0.034\n\t\t\tc0.207,0.438,0.541,1.2,0.846,1.91s0.582,1.369,0.673,1.6h0.004h0.004c-0.007-0.109-0.016-0.253-0.023-0.439\n\t\t\ts-0.012-0.416-0.012-0.696v-1.184v-1.184c0-0.014,0.004-0.027,0.012-0.036s0.023-0.014,0.044-0.014h0.304h0.304\n\t\t\tc0.021,0,0.035,0.004,0.044,0.013s0.012,0.023,0.012,0.044v2.276v2.276c0,0.025-0.005,0.041-0.017,0.05s-0.029,0.013-0.053,0.013\n\t\t\th-0.389h-0.389c-0.025,0-0.042-0.003-0.055-0.011s-0.022-0.02-0.029-0.038c-0.161-0.378-0.5-1.144-0.828-1.897\n\t\t\ts-0.643-1.496-0.755-1.829H12.07h-0.004c0.011,0.158,0.02,0.34,0.026,0.553s0.01,0.459,0.01,0.742v1.212v1.212\n\t\t\tc0,0.017-0.003,0.031-0.011,0.041s-0.02,0.015-0.038,0.015h-0.305H11.443z", key: 1, }), r.createElement("path", { className: "st2", d: "M15.657,22.936c0-0.018,0.002-0.03,0.009-0.038s0.019-0.014,0.041-0.017c0.08-0.004,0.236-0.009,0.431-0.014\n\t\t\ts0.43-0.008,0.668-0.008c0.711,0,1.243,0.229,1.598,0.627s0.532,0.963,0.532,1.636c0,0.935-0.307,1.544-0.731,1.919\n\t\t\ts-0.968,0.517-1.44,0.517c-0.178,0-0.397-0.002-0.595-0.004s-0.375-0.006-0.469-0.009c-0.014,0-0.024-0.005-0.031-0.015\n\t\t\ts-0.011-0.024-0.011-0.041v-2.276V22.936z M16.421,26.871c0.059,0.004,0.115,0.008,0.173,0.01s0.117,0.004,0.184,0.004\n\t\t\tc0.392,0,0.734-0.138,0.978-0.426s0.391-0.723,0.395-1.318c0.003-0.581-0.145-0.984-0.389-1.241s-0.581-0.369-0.956-0.369\n\t\t\tc-0.073,0-0.14,0.002-0.203,0.004s-0.122,0.006-0.182,0.009v1.663V26.871z", key: 2, }), r.createElement("path", { className: "st2", d: "M19.773,22.936c0-0.018,0.002-0.03,0.007-0.038s0.014-0.014,0.028-0.017c0.098-0.004,0.28-0.009,0.491-0.014\n\t\t\ts0.451-0.008,0.664-0.008c0.648,0,1.03,0.189,1.25,0.436s0.278,0.552,0.278,0.783c0,0.259-0.063,0.461-0.149,0.615\n\t\t\ts-0.194,0.261-0.286,0.331c0.126,0.066,0.287,0.18,0.417,0.361s0.228,0.427,0.228,0.76c0,0.441-0.177,0.796-0.488,1.041\n\t\t\ts-0.758,0.377-1.298,0.373c-0.228,0-0.445-0.002-0.633-0.004s-0.348-0.006-0.46-0.009c-0.018-0.003-0.03-0.01-0.038-0.02\n\t\t\ts-0.011-0.022-0.011-0.036v-2.276V22.936z M20.522,24.757h0.214h0.214c0.102,0,0.208,0.003,0.303,0.009s0.177,0.015,0.229,0.025\n\t\t\tc0.07-0.063,0.136-0.14,0.186-0.24s0.081-0.222,0.081-0.377c0-0.213-0.072-0.376-0.206-0.486s-0.33-0.166-0.579-0.166\n\t\t\tc-0.084,0-0.166,0.002-0.242,0.005s-0.144,0.006-0.2,0.01v0.609V24.757z M20.522,26.886c0.063,0.003,0.125,0.007,0.189,0.009\n\t\t\ts0.133,0.004,0.21,0.004c0.277,0,0.526-0.052,0.705-0.172s0.29-0.305,0.29-0.571c0-0.165-0.042-0.308-0.127-0.424\n\t\t\ts-0.213-0.203-0.385-0.256c-0.06-0.018-0.124-0.031-0.193-0.041s-0.143-0.015-0.22-0.015h-0.235h-0.235v0.732V26.886z", key: 3, }), ]) ), r.createElement( "g", { key: 4 }, r.createElement("g", null, [ r.createElement("path", { className: "st1", d: "M13.049,17.669c0,0.048-0.004,0.08-0.022,0.1s-0.05,0.028-0.106,0.028h-0.744h-0.744\n\t\t\tc-0.048,0-0.08-0.012-0.1-0.034s-0.028-0.054-0.028-0.094v-5.21v-5.21c0-0.048,0.012-0.08,0.034-0.1s0.054-0.028,0.094-0.028\n\t\t\th0.752h0.752c0.04,0,0.068,0.008,0.086,0.026s0.026,0.046,0.026,0.086v5.218V17.669z", key: 0, }), r.createElement("path", { className: "st1", d: "M14.6,13.907c0-1.16,0.384-2.193,1.074-2.935s1.687-1.194,2.911-1.194c0.104,0,0.184,0,0.262,0.002\n\t\t\ts0.154,0.006,0.25,0.014V8.505V7.217c0-0.032,0.012-0.056,0.03-0.072s0.042-0.024,0.066-0.024h0.784h0.784\n\t\t\tc0.04,0,0.064,0.008,0.078,0.022s0.018,0.034,0.018,0.058v4.538v4.538c0,0.136,0,0.288,0.006,0.452s0.018,0.34,0.043,0.525\n\t\t\tc0,0.032-0.004,0.052-0.016,0.068s-0.032,0.028-0.064,0.044c-0.417,0.2-0.845,0.344-1.273,0.439s-0.856,0.138-1.273,0.138\n\t\t\tc-1.072,0-1.993-0.332-2.645-1.003S14.6,15.26,14.6,13.907z M19.098,11.362c-0.072-0.032-0.156-0.056-0.252-0.072\n\t\t\ts-0.204-0.024-0.324-0.024c-0.624,0-1.156,0.24-1.532,0.68s-0.596,1.08-0.596,1.881c0,0.912,0.224,1.553,0.588,1.965\n\t\t\ts0.868,0.596,1.429,0.596c0.12,0,0.244-0.008,0.362-0.026s0.23-0.046,0.326-0.086v-2.457V11.362z", key: 1, }), ]) ), r.createElement("g", { key: 5 }), r.createElement("g", { key: 6 }), r.createElement("g", { key: 7 }), r.createElement("g", { key: 8 }), r.createElement("g", { key: 9 }), r.createElement("g", { key: 10 }), ]); } (o.defaultProps = { version: "1.1", id: "Layer_1", x: "0px", y: "0px", viewBox: "0 0 32 32", style: { enableBackground: "new 0 0 32 32" }, xmlSpace: "preserve" }), (e.exports = o), (o.default = o); }, 5555: (e, t, n) => { var r = n(23469); function o(e) { return r.createElement("svg", e, [ r.createElement("style", { type: "text/css", key: 0 }, "\n\t.st0{fill:#2E0918;}\n\t.st1{fill:#FF3388;}\n\t.st2{fill:#FAFAFA;}\n"), r.createElement("g", { key: 1 }, [ r.createElement("path", { className: "st0", d: "M6,31.5c-1.378,0-2.5-1.121-2.5-2.5V3c0-1.378,1.122-2.5,2.5-2.5h15.38c0.533,0,1.034,0.207,1.411,0.583\n\t\tl5.12,5.102C28.285,6.558,28.5,7.074,28.5,7.602V29c0,1.379-1.121,2.5-2.5,2.5H6z", key: 0, }), r.createElement("path", { className: "st1", d: "M21.38,1c0.397,0,0.778,0.157,1.059,0.437l5.12,5.102C27.841,6.821,28,7.203,28,7.602V29c0,1.105-0.895,2-2,2\n\t\tH6c-1.105,0-2-0.895-2-2V3c0-1.105,0.895-2,2-2H21.38 M21.38,0H6C4.346,0,3,1.346,3,3v26c0,1.654,1.346,3,3,3h20\n\t\tc1.654,0,3-1.346,3-3V7.602c0-0.66-0.268-1.305-0.735-1.771l-5.12-5.102C22.673,0.259,22.046,0,21.38,0L21.38,0z", key: 1, }), ]), r.createElement( "g", { key: 2 }, r.createElement("g", null, [ r.createElement("path", { className: "st2", d: "M10.128,27.488c0,0.021-0.002,0.035-0.01,0.044s-0.022,0.012-0.046,0.012H9.746H9.42\n\t\t\tc-0.021,0-0.035-0.005-0.044-0.015s-0.012-0.024-0.012-0.041v-2.28v-2.28c0-0.021,0.005-0.035,0.015-0.044\n\t\t\ts0.024-0.013,0.041-0.013H9.75h0.329c0.018,0,0.03,0.004,0.038,0.012s0.011,0.021,0.011,0.038v2.283V27.488z", key: 0, }), r.createElement("path", { className: "st2", d: "M11.261,27.544c-0.021,0-0.035-0.003-0.044-0.012s-0.012-0.023-0.012-0.044v-2.283v-2.283\n\t\t\tc0-0.018,0.005-0.03,0.014-0.038s0.021-0.012,0.035-0.012h0.434h0.434c0.021,0,0.035,0.002,0.046,0.008s0.018,0.017,0.025,0.034\n\t\t\tc0.207,0.438,0.541,1.2,0.846,1.91s0.582,1.369,0.673,1.6h0.004h0.004c-0.007-0.109-0.016-0.253-0.023-0.439\n\t\t\ts-0.012-0.416-0.012-0.696v-1.184v-1.184c0-0.014,0.003-0.027,0.012-0.036s0.023-0.014,0.044-0.014h0.304h0.304\n\t\t\tc0.021,0,0.035,0.004,0.044,0.013s0.012,0.023,0.012,0.044v2.276v2.276c0,0.025-0.005,0.041-0.017,0.05s-0.029,0.013-0.053,0.013\n\t\t\th-0.389h-0.389c-0.025,0-0.042-0.003-0.055-0.011s-0.022-0.02-0.029-0.038c-0.161-0.378-0.501-1.144-0.828-1.897\n\t\t\ts-0.643-1.496-0.755-1.829h-0.004h-0.004c0.01,0.158,0.019,0.34,0.025,0.553s0.01,0.459,0.01,0.742v1.212v1.212\n\t\t\tc0,0.017-0.004,0.031-0.011,0.041s-0.02,0.015-0.037,0.015h-0.305H11.261z", key: 1, }), r.createElement("path", { className: "st2", d: "M15.475,22.936c0-0.018,0.002-0.03,0.009-0.038s0.019-0.014,0.041-0.017c0.08-0.004,0.236-0.009,0.431-0.014\n\t\t\ts0.43-0.008,0.668-0.008c0.711,0,1.243,0.229,1.598,0.627s0.531,0.963,0.531,1.636c0,0.935-0.306,1.544-0.731,1.919\n\t\t\ts-0.967,0.517-1.44,0.517c-0.178,0-0.397-0.002-0.595-0.004s-0.375-0.006-0.469-0.009c-0.014,0-0.024-0.005-0.031-0.015\n\t\t\ts-0.011-0.024-0.011-0.041v-2.276V22.936z M16.239,26.871c0.059,0.004,0.115,0.008,0.173,0.01s0.117,0.004,0.184,0.004\n\t\t\tc0.392,0,0.734-0.138,0.978-0.426s0.392-0.723,0.395-1.318c0.003-0.581-0.146-0.984-0.389-1.241s-0.581-0.369-0.956-0.369\n\t\t\tc-0.074,0-0.14,0.002-0.203,0.004s-0.122,0.006-0.182,0.009v1.663V26.871z", key: 2, }), r.createElement("path", { className: "st2", d: "M19.591,22.936c0-0.018,0.002-0.03,0.009-0.038s0.019-0.014,0.04-0.017c0.081-0.004,0.237-0.009,0.432-0.014\n\t\t\ts0.43-0.008,0.668-0.008c0.711,0,1.243,0.229,1.598,0.627s0.532,0.963,0.532,1.636c0,0.935-0.307,1.544-0.731,1.919\n\t\t\ts-0.968,0.517-1.44,0.517c-0.179,0-0.397-0.002-0.595-0.004s-0.375-0.006-0.469-0.009c-0.014,0-0.025-0.005-0.032-0.015\n\t\t\ts-0.01-0.024-0.01-0.041v-2.276V22.936z M20.354,26.871c0.06,0.004,0.115,0.008,0.173,0.01s0.117,0.004,0.184,0.004\n\t\t\tc0.392,0,0.733-0.138,0.978-0.426s0.391-0.723,0.395-1.318c0.003-0.581-0.145-0.984-0.389-1.241s-0.581-0.369-0.956-0.369\n\t\t\tc-0.073,0-0.14,0.002-0.203,0.004s-0.123,0.006-0.182,0.009v1.663V26.871z", key: 3, }), ]) ), r.createElement( "g", { key: 3 }, r.createElement("g", null, [ r.createElement("path", { className: "st1", d: "M13.049,17.669c0,0.048-0.004,0.08-0.022,0.1s-0.05,0.028-0.106,0.028h-0.744h-0.744\n\t\t\tc-0.048,0-0.08-0.012-0.1-0.034s-0.028-0.054-0.028-0.094v-5.21v-5.21c0-0.048,0.012-0.08,0.034-0.1s0.054-0.028,0.094-0.028\n\t\t\th0.752h0.752c0.04,0,0.068,0.008,0.086,0.026s0.026,0.046,0.026,0.086v5.218V17.669z", key: 0, }), r.createElement("path", { className: "st1", d: "M14.6,13.907c0-1.16,0.384-2.193,1.074-2.935s1.687-1.194,2.911-1.194c0.104,0,0.184,0,0.262,0.002\n\t\t\ts0.154,0.006,0.25,0.014V8.505V7.217c0-0.032,0.012-0.056,0.03-0.072s0.042-0.024,0.066-0.024h0.784h0.784\n\t\t\tc0.04,0,0.064,0.008,0.078,0.022s0.018,0.034,0.018,0.058v4.538v4.538c0,0.136,0,0.288,0.006,0.452s0.018,0.34,0.043,0.525\n\t\t\tc0,0.032-0.004,0.052-0.016,0.068s-0.032,0.028-0.064,0.044c-0.417,0.2-0.845,0.344-1.273,0.439s-0.856,0.138-1.273,0.138\n\t\t\tc-1.072,0-1.993-0.332-2.645-1.003S14.6,15.26,14.6,13.907z M19.098,11.362c-0.072-0.032-0.156-0.056-0.252-0.072\n\t\t\ts-0.204-0.024-0.324-0.024c-0.624,0-1.156,0.24-1.532,0.68s-0.596,1.08-0.596,1.881c0,0.912,0.224,1.553,0.588,1.965\n\t\t\ts0.868,0.596,1.429,0.596c0.12,0,0.244-0.008,0.362-0.026s0.23-0.046,0.326-0.086v-2.457V11.362z", key: 1, }), ]) ), r.createElement("g", { key: 4 }), r.createElement("g", { key: 5 }), r.createElement("g", { key: 6 }), r.createElement("g", { key: 7 }), r.createElement("g", { key: 8 }), r.createElement("g", { key: 9 }), ]); } (o.defaultProps = { version: "1.1", id: "Layer_1", x: "0px", y: "0px", viewBox: "0 0 32 32", style: { enableBackground: "new 0 0 32 32" }, xmlSpace: "preserve" }), (e.exports = o), (o.default = o); }, 88845: (e, t, n) => { var r = n(23469); function o(e) { return r.createElement("svg", e, [ r.createElement("style", { type: "text/css", key: 0 }, "\n\t.st0{fill:#2E0918;}\n\t.st1{fill:#FF3388;}\n\t.st2{fill:#FAFAFA;}\n"), r.createElement("path", { className: "st0", d: "M6,31.5c-1.378,0-2.5-1.121-2.5-2.5V1c0-0.276,0.224-0.5,0.5-0.5h24c0.276,0,0.5,0.224,0.5,0.5v28\n\tc0,1.379-1.121,2.5-2.5,2.5H6z", key: 1 }), r.createElement("path", { className: "st1", d: "M28.42,0.1C28.29,0.03,28.15,0,28,0H4C3.85,0,3.71,0.03,3.58,0.1C3.25,0.25,3.02,0.58,3,0.96V29\n\tc0,1.66,1.35,3,3,3h20c1.65,0,3-1.34,3-3V0.97C28.99,0.58,28.75,0.25,28.42,0.1z M27.67,1l-2.18,2.64c-0.1,0.11-0.24,0.18-0.39,0.18\n\tH6.99c-0.15,0-0.29-0.07-0.38-0.18L4.35,1H27.67z M28,29c0,1.11-0.9,2-2,2H6c-1.1,0-2-0.89-2-2V2.13l1.85,2.16\n\tc0.28,0.33,0.7,0.53,1.14,0.53H25.1c0.45,0,0.87-0.2,1.16-0.55L28,2.17V29z", key: 2, }), r.createElement( "g", { key: 3 }, r.createElement("g", null, [ r.createElement("path", { className: "st1", d: "M13.049,17.669c0,0.048-0.004,0.08-0.022,0.1s-0.05,0.028-0.106,0.028h-0.744h-0.744\n\t\t\tc-0.048,0-0.08-0.012-0.1-0.034s-0.028-0.054-0.028-0.094v-5.21v-5.21c0-0.048,0.012-0.08,0.034-0.1s0.054-0.028,0.094-0.028\n\t\t\th0.752h0.752c0.04,0,0.068,0.008,0.086,0.026s0.026,0.046,0.026,0.086v5.218V17.669z", key: 0, }), r.createElement("path", { className: "st1", d: "M14.6,13.907c0-1.16,0.384-2.193,1.074-2.935s1.687-1.194,2.911-1.194c0.104,0,0.184,0,0.262,0.002\n\t\t\ts0.154,0.006,0.25,0.014V8.505V7.217c0-0.032,0.012-0.056,0.03-0.072s0.042-0.024,0.066-0.024h0.784h0.784\n\t\t\tc0.04,0,0.064,0.008,0.078,0.022s0.018,0.034,0.018,0.058v4.538v4.538c0,0.136,0,0.288,0.006,0.452s0.018,0.34,0.043,0.525\n\t\t\tc0,0.032-0.004,0.052-0.016,0.068s-0.032,0.028-0.064,0.044c-0.417,0.2-0.845,0.344-1.273,0.439s-0.856,0.138-1.273,0.138\n\t\t\tc-1.072,0-1.993-0.332-2.645-1.003S14.6,15.26,14.6,13.907z M19.098,11.362c-0.072-0.032-0.156-0.056-0.252-0.072\n\t\t\ts-0.204-0.024-0.324-0.024c-0.624,0-1.156,0.24-1.532,0.68s-0.596,1.08-0.596,1.881c0,0.912,0.224,1.553,0.588,1.965\n\t\t\ts0.868,0.596,1.429,0.596c0.12,0,0.244-0.008,0.362-0.026s0.23-0.046,0.326-0.086v-2.457V11.362z", key: 1, }), ]) ), r.createElement( "g", { key: 4 }, r.createElement("g", null, [ r.createElement("path", { className: "st2", d: "M10.38,27.488c0,0.021-0.002,0.035-0.01,0.044s-0.022,0.012-0.046,0.012H9.998H9.672\n\t\t\tc-0.021,0-0.035-0.005-0.044-0.015s-0.012-0.024-0.012-0.041v-2.28v-2.28c0-0.021,0.005-0.035,0.015-0.044\n\t\t\ts0.024-0.013,0.041-0.013h0.329h0.329c0.018,0,0.03,0.004,0.038,0.012s0.011,0.021,0.011,0.038v2.283V27.488z", key: 0, }), r.createElement("path", { className: "st2", d: "M11.513,27.544c-0.021,0-0.035-0.003-0.044-0.012s-0.012-0.023-0.012-0.044v-2.283v-2.283\n\t\t\tc0-0.018,0.005-0.03,0.014-0.038s0.021-0.012,0.035-0.012h0.434h0.434c0.021,0,0.035,0.002,0.046,0.008s0.018,0.017,0.025,0.034\n\t\t\tc0.207,0.438,0.541,1.2,0.846,1.91s0.582,1.369,0.673,1.6h0.004h0.004c-0.007-0.109-0.016-0.253-0.023-0.439\n\t\t\ts-0.012-0.416-0.012-0.696v-1.184v-1.184c0-0.014,0.003-0.027,0.012-0.036s0.023-0.014,0.044-0.014h0.304h0.304\n\t\t\tc0.021,0,0.035,0.004,0.044,0.013s0.012,0.023,0.012,0.044v2.276v2.276c0,0.025-0.005,0.041-0.017,0.05s-0.029,0.013-0.053,0.013\n\t\t\th-0.389h-0.389c-0.025,0-0.042-0.003-0.055-0.011s-0.022-0.02-0.029-0.038c-0.161-0.378-0.501-1.144-0.828-1.897\n\t\t\ts-0.643-1.496-0.755-1.829H12.14h-0.004c0.01,0.158,0.019,0.34,0.025,0.553s0.01,0.459,0.01,0.742v1.212v1.212\n\t\t\tc0,0.017-0.004,0.031-0.011,0.041s-0.02,0.015-0.037,0.015h-0.305H11.513z", key: 1, }), r.createElement("path", { className: "st2", d: "M15.727,22.936c0-0.018,0.002-0.03,0.009-0.038s0.019-0.014,0.041-0.017c0.08-0.004,0.236-0.009,0.431-0.014\n\t\t\ts0.43-0.008,0.668-0.008c0.711,0,1.243,0.229,1.598,0.627s0.531,0.963,0.531,1.636c0,0.935-0.306,1.544-0.731,1.919\n\t\t\ts-0.967,0.517-1.44,0.517c-0.178,0-0.397-0.002-0.595-0.004s-0.375-0.006-0.469-0.009c-0.014,0-0.024-0.005-0.031-0.015\n\t\t\ts-0.011-0.024-0.011-0.041v-2.276V22.936z M16.491,26.871c0.059,0.004,0.115,0.008,0.173,0.01s0.117,0.004,0.184,0.004\n\t\t\tc0.392,0,0.734-0.138,0.978-0.426s0.392-0.723,0.395-1.318c0.003-0.581-0.146-0.984-0.389-1.241s-0.581-0.369-0.956-0.369\n\t\t\tc-0.074,0-0.14,0.002-0.203,0.004s-0.122,0.006-0.182,0.009v1.663V26.871z", key: 2, }), r.createElement("path", { className: "st2", d: "M19.843,22.929c0-0.014,0.002-0.026,0.008-0.035s0.017-0.014,0.034-0.014\n\t\t\tc0.137-0.007,0.305-0.013,0.491-0.016s0.391-0.005,0.601-0.005c0.588,0,1.01,0.161,1.285,0.426s0.402,0.632,0.402,1.045\n\t\t\tc0,0.54-0.194,0.925-0.509,1.175s-0.748,0.366-1.228,0.366c-0.081,0-0.135-0.002-0.183-0.003s-0.09-0.003-0.146-0.003v0.816v0.816\n\t\t\tc0,0.018-0.004,0.03-0.012,0.038s-0.021,0.011-0.038,0.011h-0.329h-0.329c-0.018,0-0.03-0.003-0.038-0.011\n\t\t\ts-0.011-0.02-0.011-0.038v-2.283V22.929z M20.6,25.184c0.049,0.003,0.093,0.005,0.145,0.006s0.114,0.001,0.198,0.001\n\t\t\tc0.249,0,0.489-0.044,0.666-0.172s0.294-0.34,0.294-0.676c0-0.27-0.082-0.472-0.235-0.608s-0.377-0.204-0.661-0.204\n\t\t\tc-0.084,0-0.167,0.002-0.238,0.004s-0.13,0.006-0.169,0.009v0.819V25.184z", key: 3, }), ]) ), r.createElement("g", { key: 5 }), r.createElement("g", { key: 6 }), r.createElement("g", { key: 7 }), r.createElement("g", { key: 8 }), r.createElement("g", { key: 9 }), r.createElement("g", { key: 10 }), ]); } (o.defaultProps = { version: "1.1", id: "Layer_1", x: "0px", y: "0px", viewBox: "0 0 32 32", style: { enableBackground: "new 0 0 32 32" }, xmlSpace: "preserve" }), (e.exports = o), (o.default = o); }, 9510: (e, t, n) => { var r = n(23469); function o(e) { return r.createElement("svg", e, [ r.createElement("style", { type: "text/css", key: 0 }, "\n\t.st0{fill:#2E0918;}\n\t.st1{fill:#FF3388;}\n\t.st2{fill:#FAFAFA;}\n"), r.createElement("path", { className: "st0", d: "M6,31.5c-1.378,0-2.5-1.121-2.5-2.5V1c0-0.276,0.224-0.5,0.5-0.5h24c0.276,0,0.5,0.224,0.5,0.5v28\n\tc0,1.379-1.121,2.5-2.5,2.5H6z", key: 1 }), r.createElement("path", { className: "st1", d: "M28,0H4C3.45,0,3,0.45,3,1v28c0,1.65,1.35,3,3,3h20c1.65,0,3-1.35,3-3V1C29,0.45,28.55,0,28,0z M28,29\n\tc0,1.1-0.9,2-2,2H6c-1.1,0-2-0.9-2-2V3h24V29z", key: 2 }), r.createElement( "g", { key: 3 }, r.createElement("g", null, [ r.createElement("path", { className: "st2", d: "M10.559,27.488c0,0.021-0.002,0.035-0.01,0.044s-0.022,0.012-0.046,0.012h-0.326H9.851\n\t\t\tc-0.021,0-0.035-0.005-0.044-0.015s-0.012-0.024-0.012-0.041v-2.28v-2.28c0-0.021,0.005-0.035,0.015-0.044\n\t\t\ts0.024-0.013,0.041-0.013h0.329h0.329c0.018,0,0.03,0.004,0.038,0.012s0.011,0.021,0.011,0.038v2.283V27.488z", key: 0, }), r.createElement("path", { className: "st2", d: "M11.692,27.544c-0.021,0-0.035-0.003-0.044-0.012s-0.012-0.023-0.012-0.044v-2.283v-2.283\n\t\t\tc0-0.018,0.005-0.03,0.014-0.038s0.021-0.012,0.035-0.012h0.434h0.434c0.021,0,0.035,0.002,0.046,0.008s0.018,0.017,0.025,0.034\n\t\t\tc0.207,0.438,0.541,1.2,0.846,1.91s0.582,1.369,0.673,1.6h0.004h0.004c-0.007-0.109-0.016-0.253-0.023-0.439\n\t\t\ts-0.012-0.416-0.012-0.696v-1.184v-1.184c0-0.014,0.003-0.027,0.012-0.036s0.023-0.014,0.044-0.014h0.304h0.304\n\t\t\tc0.021,0,0.035,0.004,0.044,0.013s0.012,0.023,0.012,0.044v2.276v2.276c0,0.025-0.005,0.041-0.017,0.05s-0.029,0.013-0.053,0.013\n\t\t\th-0.389h-0.389c-0.025,0-0.042-0.003-0.055-0.011s-0.022-0.02-0.029-0.038c-0.161-0.378-0.501-1.144-0.828-1.897\n\t\t\ts-0.643-1.496-0.755-1.829h-0.004h-0.004c0.01,0.158,0.019,0.34,0.025,0.553s0.01,0.459,0.01,0.742v1.212v1.212\n\t\t\tc0,0.017-0.004,0.031-0.011,0.041s-0.02,0.015-0.037,0.015h-0.305H11.692z", key: 1, }), r.createElement("path", { className: "st2", d: "M15.906,22.936c0-0.018,0.002-0.03,0.009-0.038s0.019-0.014,0.041-0.017c0.08-0.004,0.236-0.009,0.431-0.014\n\t\t\ts0.43-0.008,0.668-0.008c0.711,0,1.243,0.229,1.598,0.627s0.531,0.963,0.531,1.636c0,0.935-0.306,1.544-0.731,1.919\n\t\t\ts-0.967,0.517-1.44,0.517c-0.179,0-0.398-0.002-0.596-0.004s-0.375-0.006-0.469-0.009c-0.014,0-0.024-0.005-0.031-0.015\n\t\t\ts-0.011-0.024-0.011-0.041v-2.276V22.936z M16.669,26.871c0.059,0.004,0.115,0.008,0.173,0.01s0.117,0.004,0.184,0.004\n\t\t\tc0.392,0,0.734-0.138,0.978-0.426s0.392-0.723,0.395-1.318c0.003-0.581-0.146-0.984-0.389-1.241s-0.581-0.369-0.956-0.369\n\t\t\tc-0.074,0-0.14,0.002-0.203,0.004s-0.122,0.006-0.182,0.009v1.663V26.871z", key: 2, }), r.createElement("path", { className: "st2", d: "M20.688,23.565h-0.588h-0.588c-0.018,0-0.03-0.003-0.037-0.012s-0.009-0.023-0.005-0.044l0.042-0.294\n\t\t\tl0.042-0.294c0.003-0.018,0.009-0.03,0.017-0.038s0.021-0.012,0.038-0.012h1.471h1.471c0.021,0,0.035,0.004,0.045,0.013\n\t\t\ts0.015,0.023,0.019,0.044l0.028,0.291l0.028,0.291c0.003,0.021,0,0.035-0.009,0.044s-0.023,0.012-0.04,0.012h-0.585H21.45v1.961\n\t\t\tv1.961c0,0.017-0.003,0.031-0.012,0.041s-0.023,0.015-0.044,0.015h-0.326h-0.326c-0.021,0-0.035-0.003-0.044-0.012\n\t\t\ts-0.012-0.023-0.012-0.044v-1.961V23.565z", key: 3, }), ]) ), r.createElement( "g", { key: 4 }, r.createElement("g", null, [ r.createElement("path", { className: "st1", d: "M13.049,17.669c0,0.048-0.004,0.08-0.022,0.1s-0.05,0.028-0.106,0.028h-0.744h-0.744\n\t\t\tc-0.048,0-0.08-0.012-0.1-0.034s-0.028-0.054-0.028-0.094v-5.21v-5.21c0-0.048,0.012-0.08,0.034-0.1s0.054-0.028,0.094-0.028\n\t\t\th0.752h0.752c0.04,0,0.068,0.008,0.086,0.026s0.026,0.046,0.026,0.086v5.218V17.669z", key: 0, }), r.createElement("path", { className: "st1", d: "M14.6,13.907c0-1.16,0.384-2.193,1.074-2.935s1.687-1.194,2.911-1.194c0.104,0,0.184,0,0.262,0.002\n\t\t\ts0.154,0.006,0.25,0.014V8.505V7.217c0-0.032,0.012-0.056,0.03-0.072s0.042-0.024,0.066-0.024h0.784h0.784\n\t\t\tc0.04,0,0.064,0.008,0.078,0.022s0.018,0.034,0.018,0.058v4.538v4.538c0,0.136,0,0.288,0.006,0.452s0.018,0.34,0.043,0.525\n\t\t\tc0,0.032-0.004,0.052-0.016,0.068s-0.032,0.028-0.064,0.044c-0.417,0.2-0.845,0.344-1.273,0.439s-0.856,0.138-1.273,0.138\n\t\t\tc-1.072,0-1.993-0.332-2.645-1.003S14.6,15.26,14.6,13.907z M19.098,11.362c-0.072-0.032-0.156-0.056-0.252-0.072\n\t\t\ts-0.204-0.024-0.324-0.024c-0.624,0-1.156,0.24-1.532,0.68s-0.596,1.08-0.596,1.881c0,0.912,0.224,1.553,0.588,1.965\n\t\t\ts0.868,0.596,1.429,0.596c0.12,0,0.244-0.008,0.362-0.026s0.23-0.046,0.326-0.086v-2.457V11.362z", key: 1, }), ]) ), r.createElement("g", { key: 5 }), r.createElement("g", { key: 6 }), r.createElement("g", { key: 7 }), r.createElement("g", { key: 8 }), r.createElement("g", { key: 9 }), r.createElement("g", { key: 10 }), ]); } (o.defaultProps = { version: "1.1", id: "Layer_1", x: "0px", y: "0px", viewBox: "0 0 32 32", style: { enableBackground: "new 0 0 32 32" }, xmlSpace: "preserve" }), (e.exports = o), (o.default = o); }, 3497: (e, t, n) => { var r = n(23469); function o(e) { return r.createElement("svg", e, [ r.createElement("style", { type: "text/css", key: 0 }, "\n\t.st0{fill:#022326;}\n\t.st1{fill:#0DEBFF;}\n\t.st2{fill:#CCFBFF;}\n\t.st3{fill:#FAFAFA;}\n"), r.createElement("g", { key: 1 }, [ r.createElement("path", { className: "st0", d: "M6,31.5c-1.378,0-2.5-1.121-2.5-2.5V3c0-1.378,1.122-2.5,2.5-2.5h15.38c0.533,0,1.034,0.207,1.411,0.583\n\t\tl5.12,5.102C28.285,6.558,28.5,7.074,28.5,7.602V29c0,1.379-1.121,2.5-2.5,2.5H6z", key: 0, }), r.createElement("path", { className: "st1", d: "M21.38,1c0.397,0,0.778,0.157,1.059,0.437l5.12,5.102C27.841,6.821,28,7.203,28,7.602V29c0,1.105-0.895,2-2,2\n\t\tH6c-1.105,0-2-0.895-2-2V3c0-1.105,0.895-2,2-2H21.38 M21.38,0H6C4.346,0,3,1.346,3,3v26c0,1.654,1.346,3,3,3h20\n\t\tc1.654,0,3-1.346,3-3V7.602c0-0.66-0.268-1.305-0.735-1.771l-5.12-5.102C22.673,0.259,22.046,0,21.38,0L21.38,0z", key: 1, }), ]), r.createElement( "g", { key: 2 }, r.createElement("g", null, [ r.createElement("path", { className: "st2", d: "M11.44,17.797c-0.056,0-0.092-0.012-0.114-0.036s-0.03-0.06-0.03-0.109V12.45V7.249\n\t\t\tc0-0.04,0.008-0.072,0.026-0.094s0.046-0.034,0.086-0.034h0.768h0.768c0.04,0,0.064,0.008,0.078,0.026s0.018,0.046,0.018,0.086\n\t\t\tv4.49v4.49h2.001h2.001c0.04,0,0.068,0.008,0.084,0.026s0.02,0.046,0.012,0.086l-0.12,0.68l-0.12,0.68\n\t\t\tc-0.008,0.04-0.024,0.068-0.048,0.086s-0.056,0.026-0.096,0.026h-2.657H11.44z", key: 0, }), r.createElement("path", { className: "st2", d: "M18.064,11.522c0-0.056,0-0.156-0.006-0.31s-0.018-0.362-0.042-0.634c0-0.04,0.004-0.064,0.016-0.082\n\t\t\ts0.032-0.03,0.064-0.046c0.296-0.12,0.792-0.288,1.41-0.426s1.358-0.246,2.143-0.246c0.04,0,0.068,0.004,0.086,0.018\n\t\t\ts0.026,0.038,0.026,0.078v0.704v0.704c0,0.04-0.008,0.064-0.026,0.078s-0.046,0.018-0.086,0.018\n\t\t\tc-0.304-0.016-0.68-0.004-1.022,0.03s-0.65,0.09-0.819,0.162v3.057v3.057c0,0.04-0.008,0.068-0.026,0.086\n\t\t\ts-0.046,0.026-0.086,0.026h-0.76h-0.76c-0.04,0-0.068-0.008-0.086-0.026s-0.026-0.046-0.026-0.086v-3.081V11.522z", key: 1, }), ]) ), r.createElement( "g", { key: 3 }, r.createElement("g", null, [ r.createElement("path", { className: "st3", d: "M12.217,27.544c-0.024,0-0.04-0.005-0.05-0.016s-0.013-0.026-0.013-0.047v-2.276v-2.276\n\t\t\tc0-0.018,0.004-0.032,0.011-0.042s0.02-0.015,0.038-0.015h0.336h0.336c0.017,0,0.028,0.004,0.034,0.012s0.008,0.021,0.008,0.038\n\t\t\tv1.964v1.964h0.875h0.875c0.017,0,0.03,0.003,0.037,0.011s0.009,0.02,0.005,0.038l-0.053,0.298l-0.053,0.298\n\t\t\tc-0.003,0.018-0.01,0.03-0.021,0.038s-0.025,0.011-0.042,0.011h-1.163H12.217z", key: 0, }), r.createElement("path", { className: "st3", d: "M16.088,27.488c0,0.021-0.002,0.035-0.01,0.044s-0.022,0.012-0.046,0.012h-0.326h-0.326\n\t\t\tc-0.021,0-0.035-0.005-0.044-0.015s-0.012-0.024-0.012-0.041v-2.28v-2.28c0-0.021,0.005-0.035,0.015-0.044\n\t\t\ts0.024-0.013,0.041-0.013h0.329h0.329c0.018,0,0.03,0.004,0.038,0.012s0.011,0.021,0.011,0.038v2.283V27.488z", key: 1, }), r.createElement("path", { className: "st3", d: "M17.166,22.936c0-0.018,0.002-0.03,0.007-0.038s0.014-0.014,0.027-0.017c0.098-0.004,0.28-0.009,0.491-0.014\n\t\t\ts0.451-0.008,0.665-0.008c0.648,0,1.03,0.189,1.249,0.436s0.277,0.552,0.277,0.783c0,0.259-0.063,0.461-0.149,0.615\n\t\t\ts-0.194,0.261-0.285,0.331c0.126,0.066,0.287,0.18,0.416,0.361s0.227,0.427,0.227,0.76c0,0.441-0.177,0.796-0.488,1.041\n\t\t\ts-0.758,0.377-1.297,0.373c-0.228,0-0.445-0.002-0.634-0.004s-0.347-0.006-0.459-0.009c-0.018-0.003-0.03-0.01-0.038-0.02\n\t\t\ts-0.011-0.022-0.011-0.036v-2.276V22.936z M17.915,24.757h0.213h0.213c0.102,0,0.208,0.003,0.303,0.009s0.177,0.015,0.23,0.025\n\t\t\tc0.07-0.063,0.136-0.14,0.185-0.24s0.08-0.222,0.08-0.377c0-0.213-0.072-0.376-0.206-0.486s-0.33-0.166-0.578-0.166\n\t\t\tc-0.084,0-0.166,0.002-0.242,0.005s-0.144,0.006-0.2,0.01v0.609V24.757z M17.915,26.886c0.063,0.003,0.124,0.007,0.189,0.009\n\t\t\ts0.133,0.004,0.21,0.004c0.276,0,0.525-0.052,0.704-0.172s0.29-0.305,0.29-0.571c0-0.165-0.042-0.308-0.127-0.424\n\t\t\ts-0.213-0.203-0.384-0.256c-0.06-0.018-0.125-0.031-0.194-0.041s-0.143-0.015-0.22-0.015h-0.234h-0.234v0.732V26.886z", key: 2, }), ]) ), r.createElement("g", { key: 4 }), r.createElement("g", { key: 5 }), r.createElement("g", { key: 6 }), r.createElement("g", { key: 7 }), r.createElement("g", { key: 8 }), r.createElement("g", { key: 9 }), ]); } (o.defaultProps = { version: "1.1", id: "Layer_1", x: "0px", y: "0px", viewBox: "0 0 32 32", style: { enableBackground: "new 0 0 32 32" }, xmlSpace: "preserve" }), (e.exports = o), (o.default = o); }, 34147: (e, t, n) => { var r = n(23469); function o(e) { return r.createElement("svg", e, [ r.createElement("style", { type: "text/css", key: 0 }, "\n\t.st0{fill:#202600;}\n\t.st1{fill:#CAF200;}\n\t.st2{fill:#FAFAFA;}\n"), r.createElement("g", { key: 1 }, [ r.createElement("path", { className: "st0", d: "M6,31.5c-1.378,0-2.5-1.121-2.5-2.5V3c0-1.378,1.122-2.5,2.5-2.5h15.38c0.533,0,1.034,0.207,1.411,0.583\n\t\tl5.12,5.102C28.285,6.558,28.5,7.074,28.5,7.602V29c0,1.379-1.121,2.5-2.5,2.5H6z", key: 0, }), r.createElement("path", { className: "st1", d: "M21.38,1c0.397,0,0.778,0.157,1.059,0.437l5.12,5.102C27.841,6.821,28,7.203,28,7.602V29c0,1.105-0.895,2-2,2\n\t\tH6c-1.105,0-2-0.895-2-2V3c0-1.105,0.895-2,2-2H21.38 M21.38,0H6C4.346,0,3,1.346,3,3v26c0,1.654,1.346,3,3,3h20\n\t\tc1.654,0,3-1.346,3-3V7.602c0-0.66-0.268-1.305-0.735-1.771l-5.12-5.102C22.673,0.259,22.046,0,21.38,0L21.38,0z", key: 1, }), ]), r.createElement( "g", { key: 2 }, r.createElement("g", null, [ r.createElement("path", { className: "st2", d: "M8.903,22.872H9.4h0.497c0.017,0,0.03,0.002,0.038,0.008s0.014,0.017,0.017,0.034\n\t\t\tc0.088,0.326,0.258,1.017,0.42,1.717s0.319,1.407,0.378,1.765h0.003h0.003c0.066-0.326,0.247-1.023,0.433-1.724\n\t\t\ts0.379-1.407,0.47-1.75c0.004-0.018,0.009-0.03,0.018-0.038s0.021-0.012,0.039-0.012h0.48h0.48c0.018,0,0.028,0.002,0.035,0.007\n\t\t\ts0.01,0.014,0.014,0.028l0.084,2.291l0.084,2.291c0.003,0.021,0,0.035-0.009,0.044s-0.023,0.012-0.04,0.012h-0.34h-0.34\n\t\t\tc-0.021,0-0.033-0.003-0.04-0.011s-0.009-0.02-0.009-0.038c-0.014-0.75-0.021-1.653-0.025-2.416s-0.004-1.384-0.004-1.57h-0.003\n\t\t\th-0.003c-0.06,0.298-0.243,1.044-0.446,1.84s-0.423,1.644-0.556,2.145c-0.004,0.021-0.011,0.033-0.02,0.04\n\t\t\ts-0.022,0.009-0.036,0.009h-0.308h-0.308c-0.018,0-0.032-0.002-0.042-0.008s-0.017-0.017-0.021-0.034\n\t\t\tc-0.13-0.522-0.313-1.322-0.485-2.091S9.53,23.905,9.449,23.51H9.442H9.435c0,0.277-0.014,0.893-0.035,1.63\n\t\t\ts-0.049,1.595-0.077,2.355c0,0.021-0.005,0.033-0.014,0.04s-0.021,0.009-0.035,0.009H8.966H8.658\n\t\t\tc-0.021,0-0.035-0.003-0.044-0.011s-0.012-0.02-0.012-0.038l0.126-2.291l0.126-2.291c0.004-0.017,0.007-0.028,0.014-0.034\n\t\t\tS8.885,22.872,8.903,22.872z", key: 0, }), r.createElement("path", { className: "st2", d: "M14.573,25.912c0,0.336,0.056,0.588,0.199,0.756s0.372,0.252,0.719,0.252c0.137,0,0.263-0.01,0.372-0.027\n\t\t\ts0.202-0.04,0.272-0.065v-1.95v-1.95c0-0.018,0.004-0.032,0.011-0.042s0.02-0.015,0.037-0.015h0.333h0.333\n\t\t\tc0.018,0,0.03,0.004,0.038,0.012s0.011,0.021,0.011,0.038v1.908v1.908c0,0.105,0.002,0.193,0.005,0.272s0.009,0.151,0.016,0.225\n\t\t\tc0.004,0.018,0.002,0.03-0.005,0.04s-0.019,0.017-0.037,0.024c-0.175,0.063-0.394,0.14-0.648,0.202s-0.543,0.107-0.858,0.107\n\t\t\tc-0.518,0-0.91-0.119-1.173-0.377s-0.396-0.653-0.396-1.206v-1.548v-1.548c0-0.018,0.002-0.032,0.009-0.042\n\t\t\ts0.019-0.015,0.04-0.015h0.336h0.336c0.017,0,0.03,0.004,0.037,0.012s0.011,0.021,0.011,0.038v1.495V25.912z", key: 1, }), r.createElement("path", { className: "st2", d: "M17.716,27.383c-0.014-0.01-0.024-0.022-0.031-0.037s-0.011-0.032-0.011-0.053v-0.336v-0.336\n\t\t\tc0-0.01,0.007-0.021,0.018-0.026s0.025-0.005,0.039,0.005c0.157,0.108,0.329,0.187,0.505,0.239s0.356,0.076,0.532,0.076\n\t\t\tc0.256,0,0.436-0.067,0.553-0.171s0.169-0.246,0.169-0.396c0-0.133-0.033-0.254-0.128-0.378s-0.251-0.249-0.496-0.393\n\t\t\tl-0.126-0.067l-0.126-0.067c-0.36-0.203-0.593-0.408-0.736-0.628s-0.196-0.454-0.196-0.717c0-0.357,0.125-0.679,0.366-0.912\n\t\t\ts0.601-0.376,1.07-0.376c0.207,0,0.385,0.016,0.534,0.044s0.268,0.068,0.355,0.118c0.018,0.007,0.028,0.016,0.034,0.028\n\t\t\ts0.008,0.028,0.008,0.049v0.315v0.315c0,0.014-0.007,0.026-0.017,0.032s-0.024,0.006-0.038-0.004\n\t\t\tc-0.108-0.07-0.241-0.123-0.389-0.158s-0.308-0.052-0.473-0.052c-0.27,0-0.448,0.077-0.56,0.184s-0.155,0.246-0.155,0.368\n\t\t\tc0,0.133,0.033,0.249,0.127,0.365s0.248,0.231,0.49,0.364l0.112,0.06l0.112,0.06c0.399,0.221,0.65,0.438,0.801,0.665\n\t\t\ts0.201,0.466,0.201,0.728c0,0.389-0.142,0.718-0.399,0.95s-0.63,0.367-1.093,0.367c-0.207,0-0.404-0.019-0.583-0.057\n\t\t\tS17.846,27.457,17.716,27.383z", key: 2, }), r.createElement("path", { className: "st2", d: "M23.569,27.488c-0.003,0.021-0.009,0.035-0.019,0.044s-0.024,0.012-0.045,0.012h-1.198H21.11\n\t\t\tc-0.021,0-0.035-0.003-0.044-0.012s-0.012-0.023-0.012-0.044v-2.28v-2.28c0-0.021,0.003-0.035,0.012-0.044\n\t\t\ts0.023-0.013,0.044-0.013h1.156h1.156c0.021,0,0.035,0.002,0.045,0.009s0.015,0.02,0.019,0.041l0.031,0.294l0.031,0.294\n\t\t\tc0.003,0.018,0.002,0.031-0.005,0.041s-0.019,0.015-0.037,0.015h-0.844h-0.844v0.624v0.624h0.76h0.76\n\t\t\tc0.018,0,0.03,0.003,0.038,0.011s0.011,0.02,0.011,0.038v0.298v0.298c0,0.018-0.005,0.03-0.015,0.038s-0.023,0.011-0.041,0.011\n\t\t\th-0.756h-0.756v0.672v0.672h0.9h0.9c0.021,0,0.033,0.003,0.039,0.011s0.006,0.02,0.003,0.038l-0.045,0.294L23.569,27.488z", key: 3, }), ]) ), r.createElement( "g", { key: 3 }, r.createElement("g", null, [ r.createElement("path", { className: "st1", d: "M7.993,7.121H9.13h1.136c0.04,0,0.068,0.004,0.088,0.018s0.032,0.038,0.04,0.078\n\t\t\tc0.2,0.744,0.588,2.325,0.96,3.923s0.728,3.215,0.864,4.032h0.008h0.008c0.152-0.744,0.564-2.337,0.99-3.94s0.866-3.215,1.074-4\n\t\t\tc0.008-0.04,0.02-0.068,0.04-0.086s0.048-0.026,0.088-0.026h1.096h1.096c0.04,0,0.064,0.004,0.08,0.016s0.024,0.032,0.032,0.064\n\t\t\tl0.192,5.234l0.192,5.234c0.008,0.048,0,0.08-0.019,0.1s-0.052,0.028-0.092,0.028h-0.776h-0.776c-0.048,0-0.076-0.008-0.092-0.026\n\t\t\ts-0.02-0.046-0.02-0.086c-0.032-1.713-0.048-3.777-0.056-5.52s-0.008-3.163-0.008-3.587h-0.008H15.26\n\t\t\tc-0.136,0.68-0.556,2.385-1.018,4.206s-0.966,3.758-1.27,4.902c-0.008,0.048-0.024,0.076-0.046,0.092s-0.05,0.02-0.082,0.02\n\t\t\th-0.704h-0.704c-0.04,0-0.072-0.004-0.096-0.018s-0.04-0.038-0.048-0.078c-0.296-1.193-0.716-3.021-1.109-4.778\n\t\t\ts-0.756-3.441-0.94-4.346H9.226H9.209c0,0.632-0.032,2.041-0.08,3.726s-0.112,3.645-0.176,5.382c0,0.048-0.012,0.076-0.032,0.092\n\t\t\ts-0.048,0.02-0.08,0.02H8.137H7.433c-0.048,0-0.08-0.008-0.1-0.026s-0.028-0.046-0.028-0.086l0.288-5.234l0.288-5.234\n\t\t\tc0.008-0.04,0.016-0.064,0.032-0.078S7.953,7.121,7.993,7.121z", key: 0, }), r.createElement("path", { className: "st1", d: "M24.715,16.18c0,0.056,0.004,0.168,0.012,0.334s0.02,0.386,0.036,0.658c0,0.032-0.004,0.056-0.016,0.074\n\t\t\ts-0.032,0.03-0.064,0.039c-0.424,0.16-0.869,0.324-1.355,0.448s-1.015,0.208-1.607,0.208c-0.728,0-1.44-0.14-1.97-0.56\n\t\t\ts-0.878-1.121-0.878-2.241v-2.553v-2.553c0-0.04,0.008-0.072,0.026-0.094s0.046-0.034,0.086-0.034h0.76h0.76\n\t\t\tc0.04,0,0.068,0.012,0.086,0.034s0.026,0.054,0.026,0.094v2.449v2.449c0,0.472,0.092,0.836,0.308,1.082s0.557,0.374,1.053,0.374\n\t\t\tc0.2,0,0.388-0.02,0.556-0.052s0.316-0.076,0.436-0.124v-3.089v-3.089c0-0.04,0.008-0.072,0.026-0.094s0.046-0.034,0.086-0.034\n\t\t\th0.76h0.76c0.048,0,0.076,0.012,0.092,0.034s0.02,0.054,0.02,0.094v3.073V16.18z", key: 1, }), ]) ), r.createElement("g", { key: 4 }), r.createElement("g", { key: 5 }), r.createElement("g", { key: 6 }), r.createElement("g", { key: 7 }), r.createElement("g", { key: 8 }), r.createElement("g", { key: 9 }), ]); } (o.defaultProps = { version: "1.1", id: "Layer_1", x: "0px", y: "0px", viewBox: "0 0 32 32", style: { enableBackground: "new 0 0 32 32" }, xmlSpace: "preserve" }), (e.exports = o), (o.default = o); }, 43869: (e, t, n) => { var r = n(23469); function o(e) { return r.createElement("svg", e, [ r.createElement("style", { type: "text/css", key: 0 }, "\n\t.st0{fill:#FFFFFF;}\n\t.st1{fill:#B3B3B3;}\n\t.st2{fill:#2C2C2C;}\n\t.st3{fill:#FF2116;}\n"), r.createElement("g", { key: 1 }, [ r.createElement("path", { className: "st0", d: "M6,31.5c-1.378,0-2.5-1.121-2.5-2.5V3c0-1.378,1.122-2.5,2.5-2.5h15.38c0.533,0,1.034,0.207,1.411,0.583\n\t\tl5.12,5.102C28.285,6.558,28.5,7.074,28.5,7.602V29c0,1.379-1.121,2.5-2.5,2.5H6z", key: 0, }), r.createElement("path", { className: "st1", d: "M21.38,1c0.397,0,0.778,0.157,1.059,0.437l5.12,5.102C27.841,6.821,28,7.203,28,7.602V29c0,1.105-0.895,2-2,2\n\t\tH6c-1.105,0-2-0.895-2-2V3c0-1.105,0.895-2,2-2H21.38 M21.38,0H6C4.346,0,3,1.346,3,3v26c0,1.654,1.346,3,3,3h20\n\t\tc1.654,0,3-1.346,3-3V7.602c0-0.66-0.268-1.305-0.735-1.771l-5.12-5.102C22.673,0.259,22.046,0,21.38,0L21.38,0z", key: 1, }), ]), r.createElement( "g", { key: 2 }, r.createElement("g", null, [ r.createElement("path", { className: "st2", d: "M11.076,22.929c0-0.014,0.002-0.026,0.008-0.035s0.017-0.014,0.034-0.014\n\t\t\tc0.137-0.007,0.305-0.013,0.491-0.016S12,22.858,12.21,22.858c0.588,0,1.01,0.161,1.285,0.426s0.403,0.632,0.403,1.045\n\t\t\tc0,0.54-0.194,0.925-0.509,1.175s-0.749,0.366-1.229,0.366c-0.081,0-0.135-0.002-0.183-0.003s-0.09-0.003-0.146-0.003v0.816v0.816\n\t\t\tc0,0.018-0.003,0.03-0.011,0.038s-0.02,0.011-0.038,0.011h-0.329h-0.329c-0.018,0-0.03-0.003-0.038-0.011s-0.011-0.02-0.011-0.038\n\t\t\tv-2.283V22.929z M11.832,25.184c0.049,0.003,0.093,0.005,0.145,0.006s0.114,0.001,0.198,0.001c0.249,0,0.489-0.044,0.666-0.172\n\t\t\ts0.293-0.34,0.293-0.676c0-0.27-0.082-0.472-0.235-0.608s-0.377-0.204-0.661-0.204c-0.084,0-0.166,0.002-0.237,0.004\n\t\t\ts-0.13,0.006-0.169,0.009v0.819V25.184z", key: 0, }), r.createElement("path", { className: "st2", d: "M14.653,22.936c0-0.018,0.002-0.03,0.009-0.038s0.019-0.014,0.041-0.017c0.08-0.004,0.236-0.009,0.431-0.014\n\t\t\ts0.43-0.008,0.668-0.008c0.711,0,1.243,0.229,1.598,0.627s0.531,0.963,0.531,1.636c0,0.935-0.306,1.544-0.731,1.919\n\t\t\ts-0.967,0.517-1.44,0.517c-0.178,0-0.397-0.002-0.595-0.004s-0.375-0.006-0.469-0.009c-0.014,0-0.024-0.005-0.031-0.015\n\t\t\ts-0.011-0.024-0.011-0.041v-2.276V22.936z M15.417,26.871c0.059,0.004,0.115,0.008,0.173,0.01s0.117,0.004,0.184,0.004\n\t\t\tc0.392,0,0.734-0.138,0.978-0.426s0.391-0.723,0.395-1.318c0.003-0.581-0.146-0.984-0.389-1.241s-0.581-0.369-0.956-0.369\n\t\t\tc-0.074,0-0.14,0.002-0.203,0.004s-0.122,0.006-0.182,0.009v1.663V26.871z", key: 1, }), r.createElement("path", { className: "st2", d: "M19.532,27.488c0,0.021-0.004,0.035-0.012,0.044s-0.02,0.012-0.037,0.012H19.15h-0.333\n\t\t\tc-0.018,0-0.03-0.003-0.038-0.012s-0.011-0.023-0.011-0.044v-2.283v-2.283c0-0.018,0.003-0.03,0.011-0.038s0.02-0.012,0.038-0.012\n\t\t\th1.167h1.167c0.021,0,0.033,0.004,0.041,0.012s0.011,0.021,0.015,0.038l0.035,0.294l0.035,0.294c0.003,0.021,0,0.035-0.01,0.044\n\t\t\ts-0.026,0.012-0.047,0.012h-0.844h-0.844v0.666v0.666h0.756h0.756c0.018,0,0.03,0.002,0.038,0.009s0.011,0.019,0.011,0.04v0.294\n\t\t\tv0.294c0,0.021-0.003,0.033-0.011,0.04s-0.02,0.009-0.038,0.009h-0.756h-0.756v0.953V27.488z", key: 2, }), ]) ), r.createElement( "g", { key: 3 }, r.createElement("path", { className: "st3", d: "M22.844,14.574c-0.205-0.228-0.541-0.403-0.977-0.521c-0.435-0.118-0.97-0.178-1.57-0.178\n\t\tc-0.323,0-0.671,0.017-1.04,0.052c-0.369,0.035-0.758,0.087-1.165,0.156c-0.234-0.225-0.463-0.471-0.688-0.736\n\t\tc-0.224-0.266-0.444-0.551-0.657-0.857c-0.15-0.216-0.296-0.437-0.435-0.662c-0.139-0.224-0.272-0.452-0.396-0.683\n\t\tc0.234-0.745,0.41-1.417,0.528-2.013c0.118-0.596,0.177-1.116,0.177-1.554c0-0.482-0.073-0.97-0.271-1.337\n\t\ts-0.519-0.614-1.016-0.614c-0.153,0-0.322,0.049-0.473,0.134c-0.151,0.084-0.282,0.204-0.36,0.346\n\t\tc-0.234,0.41-0.281,1.074-0.171,1.858c0.11,0.784,0.376,1.688,0.769,2.577c-0.141,0.445-0.306,0.863-0.484,1.289\n\t\tc-0.177,0.426-0.367,0.86-0.557,1.337c-0.165,0.404-0.322,0.775-0.49,1.14s-0.346,0.725-0.551,1.106\n\t\tc-1.146,0.468-2.107,1.009-2.8,1.541s-1.12,1.054-1.198,1.484c-0.029,0.156-0.019,0.307,0.028,0.448s0.131,0.271,0.249,0.383\n\t\tc0.038,0.038,0.128,0.115,0.274,0.184c0.145,0.069,0.344,0.128,0.598,0.128c0.756,0,1.5-0.619,2.158-1.427\n\t\tc0.657-0.808,1.228-1.805,1.638-2.561c0.309-0.11,0.652-0.22,0.996-0.323c0.344-0.103,0.69-0.2,1.005-0.284\n\t\tc0.346-0.095,0.68-0.189,1.006-0.273c0.326-0.084,0.643-0.158,0.958-0.212c0.8,0.736,1.58,1.166,2.249,1.413\n\t\tc0.669,0.246,1.226,0.309,1.578,0.309c0.427,0,0.719-0.089,0.917-0.216c0.198-0.127,0.304-0.292,0.359-0.442\n\t\tc0.02-0.052,0.033-0.105,0.041-0.159c0.008-0.053,0.011-0.107,0.011-0.159c0-0.133-0.025-0.263-0.066-0.378\n\t\tC22.973,14.75,22.913,14.649,22.844,14.574z M9.83,19.127c-0.061,0-0.117-0.009-0.168-0.027c-0.051-0.018-0.097-0.045-0.138-0.083\n\t\tc-0.066-0.066-0.111-0.143-0.134-0.227c-0.023-0.084-0.025-0.175-0.005-0.269c0.067-0.322,0.452-0.759,1.051-1.217\n\t\tc0.599-0.459,1.412-0.939,2.336-1.346c-0.49,0.99-1.068,1.782-1.602,2.326C10.635,18.83,10.145,19.127,9.83,19.127z M14.657,7.242\n\t\tc0-0.216,0.019-0.42,0.053-0.595c0.034-0.175,0.084-0.322,0.144-0.426c0.046-0.084,0.107-0.15,0.177-0.196\n\t\tc0.07-0.045,0.149-0.07,0.233-0.07c0.231,0,0.395,0.144,0.502,0.331c0.107,0.187,0.157,0.418,0.161,0.591\n\t\tc0.009,0.424-0.073,0.901-0.202,1.421s-0.305,1.084-0.484,1.682c-0.199-0.508-0.345-1.022-0.442-1.495\n\t\tC14.704,8.013,14.657,7.582,14.657,7.242z M15.852,14.579c-0.245,0.069-0.523,0.139-0.802,0.213\n\t\tc-0.279,0.074-0.558,0.151-0.807,0.234c0.133-0.266,0.261-0.56,0.381-0.849c0.12-0.29,0.231-0.575,0.329-0.823\n\t\tc0.121-0.303,0.244-0.62,0.36-0.936s0.227-0.628,0.325-0.923c0.11,0.188,0.247,0.414,0.385,0.636\n\t\tc0.138,0.221,0.278,0.436,0.394,0.601c0.188,0.268,0.381,0.524,0.578,0.765c0.197,0.241,0.398,0.468,0.6,0.678\n\t\tc-0.277,0.052-0.561,0.113-0.852,0.18S16.155,14.499,15.852,14.579z M22.5,15.188c-0.014,0.081-0.048,0.166-0.103,0.244\n\t\ts-0.13,0.148-0.228,0.199c-0.113,0.075-0.293,0.126-0.504,0.149c-0.211,0.023-0.452,0.018-0.687-0.02\n\t\tc-0.405-0.065-0.86-0.253-1.307-0.506c-0.448-0.253-0.889-0.57-1.267-0.893c0.603-0.104,1.223-0.147,1.769-0.151\n\t\tc0.546-0.004,1.018,0.031,1.327,0.082c0.298,0.05,0.568,0.168,0.754,0.327S22.54,14.977,22.5,15.188z", }) ), r.createElement("g", { key: 4 }), r.createElement("g", { key: 5 }), r.createElement("g", { key: 6 }), r.createElement("g", { key: 7 }), r.createElement("g", { key: 8 }), r.createElement("g", { key: 9 }), ]); } (o.defaultProps = { version: "1.1", id: "Layer_1", x: "0px", y: "0px", viewBox: "0 0 32 32", style: { enableBackground: "new 0 0 32 32" }, xmlSpace: "preserve" }), (e.exports = o), (o.default = o); }, 40071: (e, t, n) => { var r = n(23469); function o(e) { return r.createElement("svg", e, [ r.createElement("style", { type: "text/css", key: 0 }, "\n\t.st0{fill:#062126;}\n\t.st1{fill:#26DBFF;}\n\t.st2{fill:#FAFAFA;}\n"), r.createElement("g", { key: 1 }, [ r.createElement("path", { className: "st0", d: "M6,31.5c-1.378,0-2.5-1.121-2.5-2.5V3c0-1.378,1.122-2.5,2.5-2.5h15.38c0.533,0,1.034,0.207,1.411,0.583\n\t\tl5.12,5.102C28.285,6.558,28.5,7.074,28.5,7.602V29c0,1.379-1.121,2.5-2.5,2.5H6z", key: 0, }), r.createElement("path", { className: "st1", d: "M21.38,1c0.397,0,0.778,0.157,1.059,0.437l5.12,5.102C27.841,6.821,28,7.203,28,7.602V29c0,1.105-0.895,2-2,2\n\t\tH6c-1.105,0-2-0.895-2-2V3c0-1.105,0.895-2,2-2H21.38 M21.38,0H6C4.346,0,3,1.346,3,3v26c0,1.654,1.346,3,3,3h20\n\t\tc1.654,0,3-1.346,3-3V7.602c0-0.66-0.268-1.305-0.735-1.771l-5.12-5.102C22.673,0.259,22.046,0,21.38,0L21.38,0z", key: 1, }), ]), r.createElement( "g", { key: 2 }, r.createElement("g", null, [ r.createElement("path", { className: "st2", d: "M6.372,22.929c0-0.014,0.002-0.026,0.008-0.035s0.017-0.014,0.034-0.014c0.137-0.007,0.305-0.013,0.491-0.016\n\t\t\ts0.391-0.005,0.602-0.005c0.588,0,1.01,0.161,1.285,0.426s0.403,0.632,0.403,1.045c0,0.54-0.194,0.925-0.509,1.175\n\t\t\tS7.937,25.87,7.458,25.87c-0.08,0-0.135-0.002-0.183-0.003s-0.09-0.003-0.146-0.003v0.816v0.816c0,0.018-0.003,0.03-0.011,0.038\n\t\t\ts-0.02,0.011-0.038,0.011H6.75H6.421c-0.018,0-0.03-0.003-0.038-0.011s-0.011-0.02-0.011-0.038v-2.283V22.929z M7.128,25.184\n\t\t\tc0.049,0.003,0.093,0.005,0.145,0.006s0.114,0.001,0.198,0.001c0.249,0,0.488-0.044,0.666-0.172s0.293-0.34,0.293-0.676\n\t\t\tc0-0.27-0.082-0.472-0.235-0.608s-0.377-0.204-0.661-0.204c-0.084,0-0.166,0.002-0.237,0.004s-0.13,0.006-0.169,0.009v0.819\n\t\t\tV25.184z", key: 0, }), r.createElement("path", { className: "st2", d: "M10.012,27.544c-0.024,0-0.04-0.005-0.05-0.016s-0.013-0.026-0.013-0.047v-2.276v-2.276\n\t\t\tc0-0.018,0.004-0.032,0.011-0.042s0.02-0.015,0.038-0.015h0.336h0.336c0.017,0,0.028,0.004,0.034,0.012s0.008,0.021,0.008,0.038\n\t\t\tv1.964v1.964h0.875h0.875c0.017,0,0.03,0.003,0.037,0.011s0.009,0.02,0.005,0.038l-0.053,0.298L12.4,27.495\n\t\t\tc-0.003,0.018-0.01,0.03-0.021,0.038s-0.025,0.011-0.042,0.011h-1.163H10.012z", key: 1, }), r.createElement("path", { className: "st2", d: "M13.12,22.929c0-0.014,0.002-0.026,0.008-0.035s0.017-0.014,0.034-0.014c0.137-0.007,0.305-0.013,0.491-0.016\n\t\t\ts0.391-0.005,0.602-0.005c0.588,0,1.01,0.161,1.285,0.426s0.403,0.632,0.403,1.045c0,0.54-0.194,0.925-0.509,1.175\n\t\t\ts-0.749,0.366-1.228,0.366c-0.08,0-0.135-0.002-0.183-0.003s-0.09-0.003-0.146-0.003v0.816v0.816c0,0.018-0.003,0.03-0.011,0.038\n\t\t\ts-0.02,0.011-0.038,0.011h-0.329h-0.329c-0.018,0-0.03-0.003-0.038-0.011s-0.011-0.02-0.011-0.038v-2.283V22.929z M13.876,25.184\n\t\t\tc0.049,0.003,0.093,0.005,0.145,0.006s0.114,0.001,0.198,0.001c0.249,0,0.488-0.044,0.666-0.172s0.293-0.34,0.293-0.676\n\t\t\tc0-0.27-0.082-0.472-0.235-0.608s-0.377-0.204-0.661-0.204c-0.084,0-0.166,0.002-0.237,0.004s-0.13,0.006-0.169,0.009v0.819\n\t\t\tV25.184z", key: 2, }), r.createElement("path", { className: "st2", d: "M17.446,27.495c0,0.018-0.003,0.03-0.011,0.038s-0.02,0.011-0.038,0.011h-0.322h-0.322\n\t\t\tc-0.021,0-0.035-0.003-0.044-0.012s-0.012-0.023-0.012-0.044v-2.273v-2.273c0-0.018,0.004-0.033,0.011-0.044\n\t\t\ts0.018-0.018,0.031-0.018c0.172-0.007,0.338-0.013,0.526-0.016s0.398-0.005,0.658-0.005c0.5,0,0.901,0.119,1.177,0.347\n\t\t\ts0.426,0.564,0.426,0.998c0,0.357-0.119,0.636-0.288,0.843s-0.388,0.344-0.587,0.418c0.101,0.175,0.323,0.574,0.548,0.982\n\t\t\ts0.453,0.824,0.565,1.034c0.01,0.018,0.015,0.033,0.012,0.045s-0.016,0.019-0.04,0.019h-0.364h-0.364\n\t\t\tc-0.024,0-0.042-0.003-0.055-0.01s-0.022-0.015-0.029-0.026c-0.081-0.14-0.247-0.452-0.433-0.802s-0.393-0.739-0.554-1.033h-0.245\n\t\t\th-0.245v0.911V27.495z M17.873,25.002c0.256,0,0.477-0.051,0.633-0.167s0.25-0.299,0.25-0.561c0-0.256-0.084-0.441-0.233-0.563\n\t\t\ts-0.362-0.179-0.622-0.179c-0.091,0-0.18,0.002-0.259,0.004s-0.147,0.006-0.196,0.009v0.729v0.729h0.213H17.873z", key: 3, }), r.createElement("path", { className: "st2", d: "M23.832,25.163c0.003,0.781-0.173,1.392-0.489,1.808s-0.771,0.637-1.324,0.637\n\t\t\tc-0.561,0-1.012-0.231-1.324-0.65s-0.483-1.025-0.483-1.774c0-0.729,0.184-1.322,0.503-1.733s0.775-0.641,1.318-0.641\n\t\t\tc0.567,0,1.017,0.242,1.325,0.657S23.832,24.47,23.832,25.163z M22.046,26.921c0.326,0,0.576-0.168,0.745-0.47\n\t\t\ts0.257-0.738,0.257-1.274c-0.003-0.532-0.098-0.952-0.273-1.24s-0.431-0.441-0.756-0.441c-0.294,0-0.548,0.133-0.729,0.411\n\t\t\ts-0.287,0.699-0.287,1.277c0,0.504,0.087,0.939,0.261,1.247S21.699,26.921,22.046,26.921z", key: 4, }), r.createElement("path", { className: "st2", d: "M24.894,22.922c0-0.018,0.004-0.03,0.013-0.038s0.023-0.012,0.044-0.012h0.329h0.329\n\t\t\tc0.021,0,0.033,0.004,0.04,0.012s0.009,0.021,0.009,0.038v1.729v1.729c0,0.109-0.003,0.216-0.012,0.317s-0.023,0.195-0.044,0.279\n\t\t\tc-0.077,0.336-0.238,0.569-0.453,0.718s-0.482,0.214-0.773,0.214c-0.046,0-0.09-0.002-0.132-0.005s-0.082-0.009-0.121-0.016\n\t\t\tc-0.021-0.003-0.033-0.01-0.04-0.021s-0.009-0.027-0.009-0.048V27.53v-0.287c0-0.018,0.004-0.03,0.012-0.037\n\t\t\ts0.02-0.009,0.037-0.005c0.039,0.003,0.067,0.005,0.091,0.006s0.046,0.001,0.07,0.001c0.186,0,0.338-0.04,0.444-0.155\n\t\t\ts0.166-0.304,0.166-0.602v-1.765V22.922z", key: 5, }), ]) ), r.createElement( "g", { key: 3 }, r.createElement("g", null, [ r.createElement("path", { className: "st1", d: "M11.216,7.249c0-0.032,0.004-0.06,0.018-0.08s0.038-0.032,0.078-0.032c0.312-0.016,0.696-0.028,1.123-0.036\n\t\t\ts0.894-0.012,1.375-0.012c1.344,0,2.309,0.368,2.937,0.972s0.92,1.445,0.92,2.389c0,1.233-0.444,2.113-1.162,2.685\n\t\t\ts-1.711,0.836-2.807,0.836c-0.184,0-0.308-0.004-0.418-0.008s-0.206-0.008-0.334-0.008v1.865v1.865\n\t\t\tc0,0.04-0.008,0.068-0.026,0.086s-0.046,0.026-0.086,0.026h-0.752h-0.752c-0.04,0-0.068-0.008-0.086-0.026\n\t\t\ts-0.026-0.046-0.026-0.086v-5.218V7.249z M12.945,12.403c0.112,0.008,0.212,0.012,0.332,0.014s0.26,0.002,0.452,0.002\n\t\t\tc0.568,0,1.117-0.1,1.523-0.392s0.67-0.776,0.67-1.545c0-0.616-0.188-1.08-0.538-1.391s-0.862-0.466-1.511-0.466\n\t\t\tc-0.192,0-0.38,0.004-0.542,0.01s-0.298,0.014-0.386,0.022v1.873V12.403z", key: 0, }), r.createElement("path", { className: "st1", d: "M18.977,7.232c0-0.032,0.004-0.056,0.02-0.072s0.044-0.024,0.092-0.024h0.752h0.752\n\t\t\tc0.048,0,0.08,0.008,0.1,0.024s0.028,0.04,0.028,0.072v4.354v4.354c0,0.192,0.036,0.324,0.108,0.408s0.18,0.12,0.324,0.12\n\t\t\tc0.064,0,0.108-0.004,0.146-0.01s0.07-0.014,0.11-0.022c0.032,0,0.052,0.004,0.064,0.018s0.016,0.038,0.016,0.078v0.568v0.568\n\t\t\tc0,0.048-0.004,0.08-0.016,0.104s-0.032,0.04-0.064,0.056c-0.104,0.04-0.228,0.068-0.368,0.086s-0.296,0.026-0.464,0.026\n\t\t\tc-0.424,0-0.824-0.08-1.119-0.352s-0.482-0.737-0.482-1.505v-4.426V7.232z", key: 1, }), ]) ), r.createElement("g", { key: 4 }), r.createElement("g", { key: 5 }), r.createElement("g", { key: 6 }), r.createElement("g", { key: 7 }), r.createElement("g", { key: 8 }), r.createElement("g", { key: 9 }), ]); } (o.defaultProps = { version: "1.1", id: "Layer_1", x: "0px", y: "0px", viewBox: "0 0 32 32", style: { enableBackground: "new 0 0 32 32" }, xmlSpace: "preserve" }), (e.exports = o), (o.default = o); }, 59482: (e, t, n) => { var r = n(23469); function o(e) { return r.createElement("svg", e, [ r.createElement("style", { type: "text/css", key: 0 }, "\n\t.st0{fill:#28092E;}\n\t.st1{fill:#E873FF;}\n\t.st2{fill:#FAFAFA;}\n"), r.createElement("g", { key: 1 }, [ r.createElement("path", { className: "st0", d: "M6,31.5c-1.378,0-2.5-1.121-2.5-2.5V3c0-1.378,1.122-2.5,2.5-2.5h15.38c0.533,0,1.034,0.207,1.411,0.583\n\t\tl5.12,5.102C28.285,6.558,28.5,7.074,28.5,7.602V29c0,1.379-1.121,2.5-2.5,2.5H6z", key: 0, }), r.createElement("path", { className: "st1", d: "M21.38,1c0.397,0,0.778,0.157,1.059,0.437l5.12,5.102C27.841,6.821,28,7.203,28,7.602V29c0,1.105-0.895,2-2,2\n\t\tH6c-1.105,0-2-0.895-2-2V3c0-1.105,0.895-2,2-2H21.38 M21.38,0H6C4.346,0,3,1.346,3,3v26c0,1.654,1.346,3,3,3h20\n\t\tc1.654,0,3-1.346,3-3V7.602c0-0.66-0.268-1.305-0.735-1.771l-5.12-5.102C22.673,0.259,22.046,0,21.38,0L21.38,0z", key: 1, }), ]), r.createElement( "g", { key: 2 }, r.createElement("g", null, [ r.createElement("path", { className: "st2", d: "M9.746,22.929c0-0.014,0.002-0.026,0.008-0.035S9.77,22.88,9.788,22.88c0.137-0.007,0.305-0.013,0.491-0.016\n\t\t\ts0.391-0.005,0.602-0.005c0.588,0,1.01,0.161,1.285,0.426s0.403,0.632,0.403,1.045c0,0.54-0.194,0.925-0.509,1.175\n\t\t\ts-0.749,0.366-1.229,0.366c-0.081,0-0.135-0.002-0.183-0.003s-0.09-0.003-0.146-0.003v0.816v0.816c0,0.018-0.003,0.03-0.011,0.038\n\t\t\ts-0.02,0.011-0.038,0.011h-0.329H9.795c-0.018,0-0.03-0.003-0.038-0.011s-0.011-0.02-0.011-0.038v-2.283V22.929z M10.502,25.184\n\t\t\tc0.049,0.003,0.093,0.005,0.145,0.006s0.114,0.001,0.198,0.001c0.249,0,0.489-0.044,0.666-0.172s0.293-0.34,0.293-0.676\n\t\t\tc0-0.27-0.082-0.472-0.235-0.608s-0.377-0.204-0.661-0.204c-0.084,0-0.166,0.002-0.237,0.004s-0.13,0.006-0.169,0.009v0.819\n\t\t\tV25.184z", key: 0, }), r.createElement("path", { className: "st2", d: "M14.072,27.495c0,0.018-0.004,0.03-0.011,0.038s-0.02,0.011-0.037,0.011h-0.322h-0.322\n\t\t\tc-0.021,0-0.035-0.003-0.044-0.012s-0.012-0.023-0.012-0.044v-2.273v-2.273c0-0.018,0.004-0.033,0.011-0.044\n\t\t\ts0.018-0.018,0.031-0.018c0.172-0.007,0.338-0.013,0.526-0.016s0.398-0.005,0.657-0.005c0.501,0,0.902,0.119,1.178,0.347\n\t\t\ts0.426,0.564,0.426,0.998c0,0.357-0.119,0.636-0.288,0.843s-0.388,0.344-0.588,0.418c0.102,0.175,0.324,0.574,0.549,0.982\n\t\t\ts0.453,0.824,0.565,1.034c0.01,0.018,0.016,0.033,0.012,0.045s-0.016,0.019-0.041,0.019h-0.364h-0.364\n\t\t\tc-0.025,0-0.042-0.003-0.055-0.01s-0.022-0.015-0.029-0.026c-0.08-0.14-0.247-0.452-0.433-0.802s-0.393-0.739-0.554-1.033h-0.245\n\t\t\th-0.245v0.911V27.495z M14.5,25.002c0.256,0,0.476-0.051,0.633-0.167s0.249-0.299,0.249-0.561c0-0.256-0.084-0.441-0.233-0.563\n\t\t\ts-0.362-0.179-0.622-0.179c-0.091,0-0.18,0.002-0.259,0.004s-0.147,0.006-0.196,0.009v0.729v0.729h0.214H14.5z", key: 1, }), r.createElement("path", { className: "st2", d: "M20.458,25.163c0.003,0.781-0.174,1.392-0.49,1.808s-0.771,0.637-1.325,0.637c-0.56,0-1.012-0.231-1.323-0.65\n\t\t\ts-0.483-1.025-0.483-1.774c0-0.729,0.184-1.322,0.503-1.733s0.775-0.641,1.318-0.641c0.567,0,1.017,0.242,1.325,0.657\n\t\t\tS20.458,24.47,20.458,25.163z M18.672,26.921c0.326,0,0.576-0.168,0.745-0.47s0.257-0.738,0.257-1.274\n\t\t\tc-0.004-0.532-0.099-0.952-0.274-1.24s-0.431-0.441-0.756-0.441c-0.294,0-0.548,0.133-0.728,0.411s-0.287,0.699-0.287,1.277\n\t\t\tc0,0.504,0.088,0.939,0.262,1.247S18.325,26.921,18.672,26.921z", key: 2, }), r.createElement("path", { className: "st2", d: "M21.52,22.922c0-0.018,0.004-0.03,0.013-0.038s0.023-0.012,0.044-0.012h0.329h0.329\n\t\t\tc0.021,0,0.033,0.004,0.04,0.012s0.009,0.021,0.009,0.038v1.729v1.729c0,0.109-0.003,0.216-0.012,0.317s-0.023,0.195-0.044,0.279\n\t\t\tc-0.077,0.336-0.238,0.569-0.453,0.718s-0.482,0.214-0.773,0.214c-0.046,0-0.09-0.002-0.132-0.005s-0.082-0.009-0.121-0.016\n\t\t\tc-0.021-0.003-0.033-0.01-0.04-0.021S20.7,27.838,20.7,27.817V27.53v-0.287c0-0.018,0.004-0.03,0.012-0.037\n\t\t\ts0.02-0.009,0.037-0.005c0.039,0.003,0.067,0.005,0.091,0.006s0.046,0.001,0.07,0.001c0.186,0,0.338-0.04,0.444-0.155\n\t\t\ts0.166-0.304,0.166-0.602v-1.765V22.922z", key: 3, }), ]) ), r.createElement( "g", { key: 3 }, r.createElement("g", null, [ r.createElement("path", { className: "st1", d: "M10.8,7.249c0-0.032,0.004-0.06,0.018-0.08s0.038-0.032,0.078-0.032c0.312-0.016,0.696-0.028,1.123-0.036\n\t\t\ts0.894-0.012,1.375-0.012c1.344,0,2.309,0.368,2.937,0.972s0.92,1.445,0.92,2.389c0,1.233-0.444,2.113-1.162,2.685\n\t\t\ts-1.711,0.836-2.807,0.836c-0.184,0-0.308-0.004-0.418-0.008s-0.206-0.008-0.334-0.008v1.865v1.865\n\t\t\tc0,0.04-0.008,0.068-0.026,0.086s-0.046,0.026-0.086,0.026h-0.752h-0.752c-0.04,0-0.068-0.008-0.086-0.026\n\t\t\tS10.8,17.725,10.8,17.685v-5.218V7.249z M12.529,12.403c0.112,0.008,0.212,0.012,0.332,0.014s0.26,0.002,0.452,0.002\n\t\t\tc0.568,0,1.117-0.1,1.523-0.392s0.67-0.776,0.67-1.545c0-0.616-0.188-1.08-0.538-1.391s-0.862-0.466-1.511-0.466\n\t\t\tc-0.192,0-0.38,0.004-0.542,0.01s-0.298,0.014-0.386,0.022v1.873V12.403z", key: 0, }), r.createElement("path", { className: "st1", d: "M18.561,11.522c0-0.056,0-0.156-0.006-0.31s-0.018-0.362-0.042-0.634c0-0.04,0.004-0.064,0.016-0.082\n\t\t\ts0.032-0.03,0.064-0.046c0.296-0.12,0.792-0.288,1.41-0.426s1.358-0.246,2.143-0.246c0.04,0,0.068,0.004,0.086,0.018\n\t\t\ts0.026,0.038,0.026,0.078v0.704v0.704c0,0.04-0.008,0.064-0.026,0.078s-0.046,0.018-0.086,0.018\n\t\t\tc-0.304-0.016-0.68-0.004-1.022,0.03s-0.65,0.09-0.819,0.162v3.057v3.057c0,0.04-0.008,0.068-0.026,0.086\n\t\t\ts-0.046,0.026-0.086,0.026h-0.76h-0.76c-0.04,0-0.068-0.008-0.086-0.026s-0.026-0.046-0.026-0.086v-3.081V11.522z", key: 1, }), ]) ), r.createElement("g", { key: 4 }), r.createElement("g", { key: 5 }), r.createElement("g", { key: 6 }), r.createElement("g", { key: 7 }), r.createElement("g", { key: 8 }), r.createElement("g", { key: 9 }), ]); } (o.defaultProps = { version: "1.1", id: "Layer_1", x: "0px", y: "0px", viewBox: "0 0 32 32", style: { enableBackground: "new 0 0 32 32" }, xmlSpace: "preserve" }), (e.exports = o), (o.default = o); }, 12471: (e, t, n) => { var r = n(23469); function o(e) { return r.createElement("svg", e, [ r.createElement("style", { type: "text/css", key: 0 }, "\n\t.st0{fill:#061E26;}\n\t.st1{fill:#26C9FF;}\n\t.st2{fill:#FAFAFA;}\n"), r.createElement("g", { key: 1 }, [ r.createElement("path", { className: "st0", d: "M6,31.5c-1.378,0-2.5-1.121-2.5-2.5V3c0-1.378,1.122-2.5,2.5-2.5h15.38c0.533,0,1.034,0.207,1.411,0.583\n\t\tl5.12,5.102C28.285,6.558,28.5,7.074,28.5,7.602V29c0,1.379-1.121,2.5-2.5,2.5H6z", key: 0, }), r.createElement("path", { className: "st1", d: "M21.38,1c0.397,0,0.778,0.157,1.059,0.437l5.12,5.102C27.841,6.821,28,7.203,28,7.602V29c0,1.105-0.895,2-2,2\n\t\tH6c-1.105,0-2-0.895-2-2V3c0-1.105,0.895-2,2-2H21.38 M21.38,0H6C4.346,0,3,1.346,3,3v26c0,1.654,1.346,3,3,3h20\n\t\tc1.654,0,3-1.346,3-3V7.602c0-0.66-0.268-1.305-0.735-1.771l-5.12-5.102C22.673,0.259,22.046,0,21.38,0L21.38,0z", key: 1, }), ]), r.createElement( "g", { key: 2 }, r.createElement("g", null, [ r.createElement("path", { className: "st1", d: "M10.289,7.249c0-0.032,0.004-0.06,0.018-0.08s0.038-0.032,0.078-0.032c0.312-0.016,0.696-0.028,1.123-0.036\n\t\t\ts0.894-0.012,1.375-0.012c1.344,0,2.309,0.368,2.937,0.972s0.92,1.445,0.92,2.389c0,1.233-0.444,2.113-1.162,2.685\n\t\t\ts-1.711,0.836-2.807,0.836c-0.184,0-0.308-0.004-0.418-0.008s-0.206-0.008-0.334-0.008v1.865v1.865\n\t\t\tc0,0.04-0.008,0.068-0.026,0.086s-0.046,0.026-0.086,0.026h-0.752h-0.752c-0.04,0-0.068-0.008-0.086-0.026\n\t\t\ts-0.026-0.046-0.026-0.086v-5.218V7.249z M12.018,12.403c0.112,0.008,0.212,0.012,0.332,0.014s0.26,0.002,0.452,0.002\n\t\t\tc0.568,0,1.117-0.1,1.523-0.392s0.67-0.776,0.67-1.545c0-0.616-0.188-1.08-0.538-1.391s-0.862-0.466-1.511-0.466\n\t\t\tc-0.192,0-0.38,0.004-0.542,0.01s-0.298,0.014-0.386,0.022v1.873V12.403z", key: 0, }), r.createElement("path", { className: "st1", d: "M20.242,11.25c-0.384,0-0.64,0.096-0.8,0.232s-0.224,0.312-0.224,0.472c0,0.176,0.044,0.324,0.216,0.494\n\t\t\ts0.472,0.362,0.984,0.626c0.76,0.368,1.26,0.728,1.571,1.126s0.43,0.834,0.43,1.355c0,0.776-0.296,1.372-0.792,1.775\n\t\t\ts-1.193,0.611-1.993,0.611c-0.424,0-0.816-0.044-1.154-0.118s-0.622-0.178-0.83-0.299c-0.032-0.016-0.052-0.036-0.064-0.062\n\t\t\ts-0.016-0.058-0.016-0.098v-0.712V15.94c0-0.048,0.012-0.08,0.032-0.094s0.048-0.01,0.079,0.014\n\t\t\tc0.304,0.2,0.632,0.344,0.964,0.438s0.668,0.138,0.989,0.138c0.384,0,0.656-0.08,0.833-0.214s0.256-0.322,0.256-0.538\n\t\t\tc0-0.176-0.056-0.34-0.234-0.524s-0.479-0.388-0.967-0.644c-0.688-0.328-1.176-0.66-1.492-1.05s-0.46-0.838-0.46-1.399\n\t\t\tc0-0.624,0.244-1.196,0.7-1.612s1.124-0.676,1.973-0.676c0.416,0,0.768,0.032,1.056,0.082s0.512,0.118,0.672,0.19\n\t\t\tc0.04,0.024,0.064,0.056,0.078,0.09s0.018,0.07,0.018,0.102v0.664v0.664c0,0.04-0.012,0.072-0.036,0.09s-0.06,0.022-0.108,0.006\n\t\t\tc-0.216-0.128-0.48-0.232-0.769-0.304S20.554,11.25,20.242,11.25z", key: 1, }), ]) ), r.createElement( "g", { key: 3 }, r.createElement("g", null, [ r.createElement("path", { className: "st2", d: "M11.216,22.929c0-0.014,0.002-0.026,0.008-0.035s0.017-0.014,0.034-0.014\n\t\t\tc0.137-0.007,0.305-0.013,0.491-0.016s0.391-0.005,0.602-0.005c0.588,0,1.01,0.161,1.285,0.426s0.403,0.632,0.403,1.045\n\t\t\tc0,0.54-0.194,0.925-0.509,1.175s-0.749,0.366-1.228,0.366c-0.08,0-0.135-0.002-0.183-0.003s-0.09-0.003-0.146-0.003v0.816v0.816\n\t\t\tc0,0.018-0.003,0.03-0.011,0.038s-0.02,0.011-0.038,0.011h-0.329h-0.329c-0.018,0-0.03-0.003-0.038-0.011s-0.011-0.02-0.011-0.038\n\t\t\tv-2.283V22.929z M11.972,25.184c0.049,0.003,0.093,0.005,0.145,0.006s0.114,0.001,0.198,0.001c0.249,0,0.488-0.044,0.666-0.172\n\t\t\ts0.293-0.34,0.293-0.676c0-0.27-0.082-0.472-0.235-0.608s-0.377-0.204-0.661-0.204c-0.084,0-0.166,0.002-0.237,0.004\n\t\t\ts-0.13,0.006-0.169,0.009v0.819V25.184z", key: 0, }), r.createElement("path", { className: "st2", d: "M14.765,27.383c-0.014-0.01-0.024-0.022-0.031-0.037s-0.011-0.032-0.011-0.053v-0.336v-0.336\n\t\t\tc0-0.01,0.007-0.021,0.018-0.026s0.025-0.005,0.039,0.005c0.158,0.108,0.329,0.187,0.505,0.239s0.356,0.076,0.531,0.076\n\t\t\tc0.256,0,0.436-0.067,0.552-0.171s0.169-0.246,0.169-0.396c0-0.133-0.033-0.254-0.128-0.378s-0.25-0.249-0.495-0.393l-0.126-0.067\n\t\t\tl-0.126-0.067c-0.361-0.203-0.593-0.408-0.736-0.628s-0.195-0.454-0.195-0.717c0-0.357,0.124-0.679,0.366-0.912\n\t\t\ts0.6-0.376,1.07-0.376c0.207,0,0.385,0.016,0.534,0.044s0.268,0.068,0.355,0.118c0.018,0.007,0.028,0.016,0.034,0.028\n\t\t\ts0.008,0.028,0.008,0.049v0.315v0.315c0,0.014-0.007,0.026-0.017,0.032s-0.024,0.006-0.038-0.004\n\t\t\tc-0.108-0.07-0.241-0.123-0.389-0.158s-0.308-0.052-0.473-0.052c-0.27,0-0.448,0.077-0.56,0.184s-0.155,0.246-0.155,0.368\n\t\t\tc0,0.133,0.033,0.249,0.127,0.365s0.248,0.231,0.489,0.364l0.112,0.06l0.112,0.06c0.399,0.221,0.65,0.438,0.801,0.665\n\t\t\ts0.201,0.466,0.201,0.728c0,0.389-0.142,0.718-0.399,0.95s-0.631,0.367-1.093,0.367c-0.207,0-0.404-0.019-0.583-0.057\n\t\t\tS14.894,27.457,14.765,27.383z", key: 1, }), r.createElement("path", { className: "st2", d: "M18.104,22.936c0-0.018,0.002-0.03,0.007-0.038s0.014-0.014,0.028-0.017c0.098-0.004,0.28-0.009,0.491-0.014\n\t\t\ts0.451-0.008,0.664-0.008c0.648,0,1.03,0.189,1.25,0.436s0.278,0.552,0.278,0.783c0,0.259-0.063,0.461-0.149,0.615\n\t\t\ts-0.194,0.261-0.286,0.331c0.126,0.066,0.287,0.18,0.417,0.361s0.228,0.427,0.228,0.76c0,0.441-0.177,0.796-0.488,1.041\n\t\t\ts-0.758,0.377-1.298,0.373c-0.228,0-0.445-0.002-0.633-0.004s-0.348-0.006-0.46-0.009c-0.018-0.003-0.03-0.01-0.038-0.02\n\t\t\ts-0.011-0.022-0.011-0.036v-2.276V22.936z M18.854,24.757h0.214h0.214c0.102,0,0.208,0.003,0.303,0.009s0.177,0.015,0.229,0.025\n\t\t\tc0.07-0.063,0.136-0.14,0.186-0.24s0.081-0.222,0.081-0.377c0-0.213-0.072-0.376-0.206-0.486s-0.33-0.166-0.579-0.166\n\t\t\tc-0.084,0-0.166,0.002-0.242,0.005s-0.144,0.006-0.2,0.01v0.609V24.757z M18.854,26.886c0.063,0.003,0.125,0.007,0.189,0.009\n\t\t\ts0.133,0.004,0.21,0.004c0.277,0,0.526-0.052,0.705-0.172s0.29-0.305,0.29-0.571c0-0.165-0.042-0.308-0.127-0.424\n\t\t\ts-0.213-0.203-0.385-0.256c-0.06-0.018-0.124-0.031-0.193-0.041s-0.143-0.015-0.22-0.015h-0.235h-0.235v0.732V26.886z", key: 2, }), ]) ), r.createElement("g", { key: 4 }), r.createElement("g", { key: 5 }), r.createElement("g", { key: 6 }), r.createElement("g", { key: 7 }), r.createElement("g", { key: 8 }), r.createElement("g", { key: 9 }), ]); } (o.defaultProps = { version: "1.1", id: "Layer_1", x: "0px", y: "0px", viewBox: "0 0 32 32", style: { enableBackground: "new 0 0 32 32" }, xmlSpace: "preserve" }), (e.exports = o), (o.default = o); }, 35822: (e, t, n) => { var r = n(23469); function o(e) { return r.createElement("svg", e, [ r.createElement("style", { type: "text/css", key: 0 }, "\n\t.st0{fill:#061E26;}\n\t.st1{fill:#26C9FF;}\n\t.st2{fill:#FAFAFA;}\n"), r.createElement("g", { key: 1 }, [ r.createElement("path", { className: "st0", d: "M6,31.5c-1.378,0-2.5-1.121-2.5-2.5V3c0-1.378,1.122-2.5,2.5-2.5h15.38c0.533,0,1.034,0.207,1.411,0.583\n\t\tl5.12,5.102C28.285,6.558,28.5,7.074,28.5,7.602V29c0,1.379-1.121,2.5-2.5,2.5H6z", key: 0, }), r.createElement("path", { className: "st1", d: "M21.38,1c0.397,0,0.778,0.157,1.059,0.437l5.12,5.102C27.841,6.821,28,7.203,28,7.602V29c0,1.105-0.895,2-2,2\n\t\tH6c-1.105,0-2-0.895-2-2V3c0-1.105,0.895-2,2-2H21.38 M21.38,0H6C4.346,0,3,1.346,3,3v26c0,1.654,1.346,3,3,3h20\n\t\tc1.654,0,3-1.346,3-3V7.602c0-0.66-0.268-1.305-0.735-1.771l-5.12-5.102C22.673,0.259,22.046,0,21.38,0L21.38,0z", key: 1, }), ]), r.createElement( "g", { key: 2 }, r.createElement("g", null, [ r.createElement("path", { className: "st2", d: "M11.034,22.929c0-0.014,0.002-0.026,0.008-0.035s0.017-0.014,0.034-0.014\n\t\t\tc0.137-0.007,0.305-0.013,0.491-0.016s0.391-0.005,0.602-0.005c0.588,0,1.01,0.161,1.285,0.426s0.403,0.632,0.403,1.045\n\t\t\tc0,0.54-0.194,0.925-0.509,1.175s-0.749,0.366-1.229,0.366c-0.081,0-0.135-0.002-0.183-0.003s-0.09-0.003-0.146-0.003v0.816v0.816\n\t\t\tc0,0.018-0.003,0.03-0.011,0.038s-0.02,0.011-0.038,0.011h-0.329h-0.329c-0.018,0-0.03-0.003-0.038-0.011s-0.011-0.02-0.011-0.038\n\t\t\tv-2.283V22.929z M11.79,25.184c0.049,0.003,0.093,0.005,0.145,0.006s0.114,0.001,0.198,0.001c0.249,0,0.489-0.044,0.666-0.172\n\t\t\ts0.293-0.34,0.293-0.676c0-0.27-0.082-0.472-0.235-0.608s-0.377-0.204-0.661-0.204c-0.084,0-0.166,0.002-0.237,0.004\n\t\t\ts-0.13,0.006-0.169,0.009v0.819V25.184z", key: 0, }), r.createElement("path", { className: "st2", d: "M14.583,27.383c-0.014-0.01-0.025-0.022-0.032-0.037s-0.011-0.032-0.011-0.053v-0.336v-0.336\n\t\t\tc0-0.01,0.007-0.021,0.018-0.026s0.025-0.005,0.039,0.005c0.158,0.108,0.329,0.187,0.505,0.239s0.356,0.076,0.531,0.076\n\t\t\tc0.256,0,0.436-0.067,0.552-0.171s0.169-0.246,0.169-0.396c0-0.133-0.033-0.254-0.128-0.378s-0.25-0.249-0.495-0.393l-0.126-0.067\n\t\t\tl-0.126-0.067c-0.361-0.203-0.594-0.408-0.736-0.628s-0.195-0.454-0.195-0.717c0-0.357,0.124-0.679,0.366-0.912\n\t\t\ts0.6-0.376,1.07-0.376c0.207,0,0.385,0.016,0.534,0.044s0.268,0.068,0.355,0.118c0.018,0.007,0.028,0.016,0.034,0.028\n\t\t\ts0.008,0.028,0.008,0.049v0.315v0.315c0,0.014-0.007,0.026-0.017,0.032s-0.025,0.006-0.039-0.004\n\t\t\tc-0.108-0.07-0.241-0.123-0.389-0.158s-0.308-0.052-0.473-0.052c-0.27,0-0.448,0.077-0.56,0.184s-0.155,0.246-0.155,0.368\n\t\t\tc0,0.133,0.033,0.249,0.127,0.365s0.248,0.231,0.489,0.364l0.112,0.06l0.112,0.06c0.399,0.221,0.65,0.438,0.8,0.665\n\t\t\ts0.201,0.466,0.201,0.728c0,0.389-0.142,0.718-0.399,0.95s-0.63,0.367-1.092,0.367c-0.207,0-0.404-0.019-0.583-0.057\n\t\t\tS14.712,27.457,14.583,27.383z", key: 1, }), r.createElement("path", { className: "st2", d: "M17.922,22.936c0-0.018,0.002-0.03,0.009-0.038s0.019-0.014,0.04-0.017c0.081-0.004,0.237-0.009,0.432-0.014\n\t\t\ts0.43-0.008,0.668-0.008c0.711,0,1.243,0.229,1.598,0.627s0.531,0.963,0.531,1.636c0,0.935-0.306,1.544-0.731,1.919\n\t\t\ts-0.967,0.517-1.44,0.517c-0.179,0-0.397-0.002-0.595-0.004s-0.375-0.006-0.469-0.009c-0.014,0-0.025-0.005-0.032-0.015\n\t\t\ts-0.01-0.024-0.01-0.041v-2.276V22.936z M18.686,26.871c0.06,0.004,0.115,0.008,0.173,0.01s0.117,0.004,0.184,0.004\n\t\t\tc0.392,0,0.733-0.138,0.978-0.426s0.391-0.723,0.395-1.318c0.003-0.581-0.145-0.984-0.389-1.241s-0.581-0.369-0.956-0.369\n\t\t\tc-0.073,0-0.14,0.002-0.203,0.004s-0.123,0.006-0.182,0.009v1.663V26.871z", key: 2, }), ]) ), r.createElement( "g", { key: 3 }, r.createElement("g", null, [ r.createElement("path", { className: "st1", d: "M10.289,7.249c0-0.032,0.004-0.06,0.018-0.08s0.038-0.032,0.078-0.032c0.312-0.016,0.696-0.028,1.123-0.036\n\t\t\ts0.894-0.012,1.375-0.012c1.344,0,2.309,0.368,2.937,0.972s0.92,1.445,0.92,2.389c0,1.233-0.444,2.113-1.162,2.685\n\t\t\ts-1.711,0.836-2.807,0.836c-0.184,0-0.308-0.004-0.418-0.008s-0.206-0.008-0.334-0.008v1.865v1.865\n\t\t\tc0,0.04-0.008,0.068-0.026,0.086s-0.046,0.026-0.086,0.026h-0.752h-0.752c-0.04,0-0.068-0.008-0.086-0.026\n\t\t\ts-0.026-0.046-0.026-0.086v-5.218V7.249z M12.018,12.403c0.112,0.008,0.212,0.012,0.332,0.014s0.26,0.002,0.452,0.002\n\t\t\tc0.568,0,1.117-0.1,1.523-0.392s0.67-0.776,0.67-1.545c0-0.616-0.188-1.08-0.538-1.391s-0.862-0.466-1.511-0.466\n\t\t\tc-0.192,0-0.38,0.004-0.542,0.01s-0.298,0.014-0.386,0.022v1.873V12.403z", key: 0, }), r.createElement("path", { className: "st1", d: "M20.242,11.25c-0.384,0-0.64,0.096-0.8,0.232s-0.224,0.312-0.224,0.472c0,0.176,0.044,0.324,0.216,0.494\n\t\t\ts0.472,0.362,0.984,0.626c0.76,0.368,1.26,0.728,1.571,1.126s0.43,0.834,0.43,1.355c0,0.776-0.296,1.372-0.792,1.775\n\t\t\ts-1.193,0.611-1.993,0.611c-0.424,0-0.816-0.044-1.154-0.118s-0.622-0.178-0.83-0.299c-0.032-0.016-0.052-0.036-0.064-0.062\n\t\t\ts-0.016-0.058-0.016-0.098v-0.712V15.94c0-0.048,0.012-0.08,0.032-0.094s0.048-0.01,0.079,0.014\n\t\t\tc0.304,0.2,0.632,0.344,0.964,0.438s0.668,0.138,0.989,0.138c0.384,0,0.656-0.08,0.833-0.214s0.256-0.322,0.256-0.538\n\t\t\tc0-0.176-0.056-0.34-0.234-0.524s-0.479-0.388-0.967-0.644c-0.688-0.328-1.176-0.66-1.492-1.05s-0.46-0.838-0.46-1.399\n\t\t\tc0-0.624,0.244-1.196,0.7-1.612s1.124-0.676,1.973-0.676c0.416,0,0.768,0.032,1.056,0.082s0.512,0.118,0.672,0.19\n\t\t\tc0.04,0.024,0.064,0.056,0.078,0.09s0.018,0.07,0.018,0.102v0.664v0.664c0,0.04-0.012,0.072-0.036,0.09s-0.06,0.022-0.108,0.006\n\t\t\tc-0.216-0.128-0.48-0.232-0.769-0.304S20.554,11.25,20.242,11.25z", key: 1, }), ]) ), r.createElement("g", { key: 4 }), r.createElement("g", { key: 5 }), r.createElement("g", { key: 6 }), r.createElement("g", { key: 7 }), r.createElement("g", { key: 8 }), r.createElement("g", { key: 9 }), ]); } (o.defaultProps = { version: "1.1", id: "Layer_1", x: "0px", y: "0px", viewBox: "0 0 32 32", style: { enableBackground: "new 0 0 32 32" }, xmlSpace: "preserve" }), (e.exports = o), (o.default = o); }, 64265: (e, t, n) => { var r = n(23469); function o(e) { return r.createElement("svg", e, [ r.createElement("defs", { key: 0 }, r.createElement("style", null, ".cls-1{fill:#fff;}.cls-2{fill:#b3b3b3;}.cls-3{fill:#0d66d0;}")), r.createElement("title", { key: 1 }, "Ar_beta_file_32"), r.createElement( "g", { id: "Surface", key: 2 }, r.createElement("g", { id: "Document" }, [ r.createElement("path", { className: "cls-1", d: "M6,31.56836a2.50263,2.50263,0,0,1-2.5-2.5v-26a2.50294,2.50294,0,0,1,2.5-2.5H21.37988a1.98332,1.98332,0,0,1,1.41114.5835l5.12011,5.10156A2.01544,2.01544,0,0,1,28.5,7.66992V29.06836a2.50231,2.50231,0,0,1-2.5,2.5Z", key: 0, }), r.createElement("path", { className: "cls-2", d: "M21.38,1.06818a1.5,1.5,0,0,1,1.05879.43747l5.12,5.102A1.5,1.5,0,0,1,28,7.67014v21.398a2,2,0,0,1-2,2H6a2,2,0,0,1-2-2v-26a2,2,0,0,1,2-2H21.38m0-1H6a3.00339,3.00339,0,0,0-3,3v26a3.00339,3.00339,0,0,0,3,3H26a3.00339,3.00339,0,0,0,3-3V7.67014a2.5169,2.5169,0,0,0-.73536-1.77089L23.14469.7973A2.48407,2.48407,0,0,0,21.38.06818Z", key: 1, }), ]) ), r.createElement( "g", { id: "Mnem", key: 3 }, r.createElement("g", { id: "Ar" }, [ r.createElement("path", { className: "cls-3", d: "M11.77588,14.87207l-.78027,2.94141c-.01612.08105-.04834.11425-.146.11425H9.40332c-.09766,0-.11377-.0332-.09766-.14648l2.79541-9.7832a3.013,3.013,0,0,0,.09717-.8125c0-.06446.03272-.09717.08155-.09717h2.06347c.06543,0,.09766.01611.11377.09717l3.13672,10.61133c.01563.082,0,.13085-.082.13085H15.88721a.131.131,0,0,1-.146-.09765l-.8125-2.958Zm2.74658-1.6084c-.27637-1.08887-.92676-3.46142-1.17041-4.61523h-.01611c-.21143,1.15381-.73145,3.08789-1.1377,4.61523Z", key: 0, }), r.createElement("path", { className: "cls-3", d: "M18.334,11.55713c0-.11377,0-.40625-.04882-.9585,0-.08154.0166-.09765.082-.12988a10.297,10.297,0,0,1,3.60742-.68262c.08105,0,.11328.01612.11328.09766v1.42969c0,.081-.03223.09765-.11328.09765a5.6866,5.6866,0,0,0-1.86914.19483v6.20752c0,.08105-.03223.11425-.11328.11425h-1.544c-.081,0-.11426-.0332-.11426-.11425Z", key: 1, }), ]) ), ]); } (o.defaultProps = { viewBox: "0 0 32 32" }), (e.exports = o), (o.default = o); }, 45886: (e, t, n) => { var r = n(23469); function o(e) { return r.createElement("svg", e, [ r.createElement("style", { type: "text/css", key: 0 }, "\n\t.st0{fill:#002620;}\n\t.st1{fill:#00FAD0;}\n\t.st2{fill:#FAFAFA;}\n"), r.createElement("g", { key: 1 }, [ r.createElement("path", { className: "st0", d: "M6,31.5c-1.378,0-2.5-1.121-2.5-2.5V3c0-1.378,1.122-2.5,2.5-2.5h15.38c0.533,0,1.034,0.207,1.411,0.583\n\t\tl5.12,5.102C28.285,6.558,28.5,7.074,28.5,7.602V29c0,1.379-1.121,2.5-2.5,2.5H6z", key: 0, }), r.createElement("path", { className: "st1", d: "M21.38,1c0.397,0,0.778,0.157,1.059,0.437l5.12,5.102C27.841,6.821,28,7.203,28,7.602V29c0,1.105-0.895,2-2,2\n\t\tH6c-1.105,0-2-0.895-2-2V3c0-1.105,0.895-2,2-2H21.38 M21.38,0H6C4.346,0,3,1.346,3,3v26c0,1.654,1.346,3,3,3h20\n\t\tc1.654,0,3-1.346,3-3V7.602c0-0.66-0.268-1.305-0.735-1.771l-5.12-5.102C22.673,0.259,22.046,0,21.38,0L21.38,0z", key: 1, }), ]), r.createElement( "g", { key: 2 }, r.createElement("g", null, [ r.createElement("path", { className: "st1", d: "M10.657,14.788l-0.384,1.448l-0.384,1.448c-0.008,0.04-0.02,0.068-0.042,0.086s-0.054,0.026-0.102,0.026\n\t\t\tH9.032H8.32c-0.048,0-0.076-0.008-0.09-0.03s-0.014-0.058-0.006-0.114l1.376-4.818l1.376-4.818\n\t\t\tc0.024-0.088,0.044-0.168,0.06-0.286s0.028-0.274,0.036-0.514c0-0.032,0.008-0.056,0.022-0.072s0.034-0.024,0.058-0.024h1.016\n\t\t\th1.016c0.032,0,0.056,0.004,0.074,0.018s0.03,0.038,0.038,0.078l1.545,5.226l1.545,5.226c0.008,0.04,0.008,0.072-0.004,0.094\n\t\t\ts-0.036,0.034-0.076,0.034h-0.8h-0.8c-0.04,0-0.072-0.008-0.096-0.024s-0.04-0.04-0.048-0.072l-0.4-1.457l-0.4-1.457h-1.553\n\t\t\tH10.657z M13.362,13.203c-0.136-0.536-0.364-1.389-0.589-2.249s-0.444-1.729-0.564-2.297h-0.008h-0.008\n\t\t\tc-0.104,0.568-0.284,1.328-0.488,2.135s-0.432,1.659-0.632,2.411h1.145H13.362z", key: 0, }), r.createElement("path", { className: "st1", d: "M23.011,16.18c0,0.056,0.004,0.168,0.012,0.334s0.02,0.386,0.036,0.658c0,0.032-0.004,0.056-0.016,0.074\n\t\t\ts-0.032,0.03-0.064,0.039c-0.424,0.16-0.869,0.324-1.355,0.448s-1.015,0.208-1.607,0.208c-0.728,0-1.44-0.14-1.97-0.56\n\t\t\ts-0.878-1.121-0.878-2.241v-2.553v-2.553c0-0.04,0.008-0.072,0.026-0.094s0.046-0.034,0.086-0.034h0.76h0.76\n\t\t\tc0.04,0,0.068,0.012,0.086,0.034s0.026,0.054,0.026,0.094v2.449v2.449c0,0.472,0.092,0.836,0.308,1.082s0.557,0.374,1.053,0.374\n\t\t\tc0.2,0,0.388-0.02,0.556-0.052s0.316-0.076,0.436-0.124v-3.089v-3.089c0-0.04,0.008-0.072,0.026-0.094s0.046-0.034,0.086-0.034\n\t\t\th0.76h0.76c0.048,0,0.076,0.012,0.092,0.034s0.02,0.054,0.02,0.094v3.073V16.18z", key: 1, }), ]) ), r.createElement( "g", { key: 3 }, r.createElement("g", null, [ r.createElement("path", { className: "st2", d: "M9.725,27.383c-0.014-0.01-0.024-0.022-0.031-0.037s-0.011-0.032-0.011-0.053v-0.336v-0.336\n\t\t\tc0-0.01,0.007-0.021,0.018-0.026s0.025-0.005,0.039,0.005c0.158,0.108,0.329,0.187,0.505,0.239s0.356,0.076,0.531,0.076\n\t\t\tc0.256,0,0.436-0.067,0.552-0.171s0.169-0.246,0.169-0.396c0-0.133-0.033-0.254-0.128-0.378s-0.25-0.249-0.495-0.393l-0.126-0.067\n\t\t\tl-0.126-0.067c-0.361-0.203-0.593-0.408-0.736-0.628S9.69,24.36,9.69,24.098c0-0.357,0.124-0.679,0.366-0.912\n\t\t\ts0.6-0.376,1.07-0.376c0.207,0,0.385,0.016,0.534,0.044s0.268,0.068,0.355,0.118c0.018,0.007,0.028,0.016,0.034,0.028\n\t\t\ts0.008,0.028,0.008,0.049v0.315v0.315c0,0.014-0.007,0.026-0.017,0.032s-0.025,0.006-0.039-0.004\n\t\t\tc-0.108-0.07-0.241-0.123-0.389-0.158s-0.308-0.052-0.473-0.052c-0.27,0-0.448,0.077-0.56,0.184s-0.155,0.246-0.155,0.368\n\t\t\tc0,0.133,0.033,0.249,0.127,0.365s0.248,0.231,0.489,0.364l0.112,0.06l0.112,0.06c0.399,0.221,0.65,0.438,0.8,0.665\n\t\t\ts0.201,0.466,0.201,0.728c0,0.389-0.142,0.718-0.399,0.95s-0.63,0.367-1.092,0.367c-0.207,0-0.404-0.019-0.583-0.057\n\t\t\tS9.854,27.457,9.725,27.383z", key: 0, }), r.createElement("path", { className: "st2", d: "M15.578,27.488c-0.004,0.021-0.009,0.035-0.019,0.044s-0.024,0.012-0.045,0.012h-1.198H13.12\n\t\t\tc-0.021,0-0.035-0.003-0.044-0.012s-0.012-0.023-0.012-0.044v-2.28v-2.28c0-0.021,0.004-0.035,0.012-0.044\n\t\t\ts0.023-0.013,0.044-0.013h1.156h1.156c0.021,0,0.035,0.002,0.045,0.009s0.015,0.02,0.018,0.041l0.031,0.294l0.031,0.294\n\t\t\tc0.004,0.018,0.002,0.031-0.005,0.041s-0.019,0.015-0.037,0.015h-0.844h-0.844v0.624v0.624h0.76h0.76\n\t\t\tc0.018,0,0.03,0.003,0.038,0.011s0.011,0.02,0.011,0.038v0.298v0.298c0,0.018-0.005,0.03-0.015,0.038s-0.024,0.011-0.041,0.011\n\t\t\th-0.756h-0.756v0.672v0.672h0.9h0.9c0.021,0,0.033,0.003,0.039,0.011s0.006,0.02,0.003,0.038l-0.045,0.294L15.578,27.488z", key: 1, }), r.createElement("path", { className: "st2", d: "M16.305,27.383c-0.014-0.01-0.025-0.022-0.032-0.037s-0.011-0.032-0.011-0.053v-0.336v-0.336\n\t\t\tc0-0.01,0.007-0.021,0.018-0.026s0.025-0.005,0.039,0.005c0.158,0.108,0.329,0.187,0.505,0.239s0.356,0.076,0.532,0.076\n\t\t\tc0.255,0,0.436-0.067,0.552-0.171s0.169-0.246,0.169-0.396c0-0.133-0.033-0.254-0.128-0.378s-0.25-0.249-0.495-0.393l-0.126-0.067\n\t\t\tl-0.126-0.067c-0.361-0.203-0.594-0.408-0.736-0.628s-0.195-0.454-0.195-0.717c0-0.357,0.124-0.679,0.366-0.912\n\t\t\ts0.6-0.376,1.07-0.376c0.207,0,0.385,0.016,0.534,0.044s0.268,0.068,0.355,0.118c0.018,0.007,0.028,0.016,0.034,0.028\n\t\t\ts0.008,0.028,0.008,0.049v0.315v0.315c0,0.014-0.007,0.026-0.018,0.032s-0.024,0.006-0.038-0.004\n\t\t\tc-0.109-0.07-0.242-0.123-0.389-0.158s-0.308-0.052-0.473-0.052c-0.27,0-0.448,0.077-0.559,0.184s-0.155,0.246-0.155,0.368\n\t\t\tc0,0.133,0.033,0.249,0.127,0.365s0.248,0.231,0.489,0.364l0.112,0.06l0.112,0.06c0.399,0.221,0.649,0.438,0.8,0.665\n\t\t\ts0.201,0.466,0.201,0.728c0,0.389-0.142,0.718-0.399,0.95s-0.63,0.367-1.092,0.367c-0.207,0-0.405-0.019-0.583-0.057\n\t\t\tS16.434,27.457,16.305,27.383z", key: 2, }), r.createElement("path", { className: "st2", d: "M21.388,25.135l0.609,1.169l0.609,1.169c0.011,0.018,0.012,0.035,0.007,0.048s-0.018,0.022-0.035,0.022H22.2\n\t\t\th-0.378c-0.024,0-0.042-0.003-0.056-0.012s-0.025-0.023-0.035-0.044c-0.14-0.287-0.28-0.574-0.422-0.867s-0.285-0.59-0.432-0.899\n\t\t\th-0.003H20.87c-0.13,0.291-0.267,0.591-0.406,0.889s-0.281,0.596-0.421,0.883c-0.01,0.018-0.021,0.03-0.033,0.038\n\t\t\ts-0.026,0.011-0.044,0.011h-0.36h-0.36c-0.021,0-0.033-0.009-0.038-0.021s-0.001-0.028,0.01-0.042l0.595-1.134l0.595-1.134\n\t\t\tl-0.574-1.138l-0.574-1.138c-0.014-0.018-0.014-0.033-0.007-0.045s0.021-0.019,0.035-0.019h0.375h0.375\n\t\t\tc0.021,0,0.037,0.002,0.049,0.009s0.021,0.02,0.028,0.041c0.137,0.287,0.275,0.573,0.412,0.859s0.271,0.573,0.401,0.864h0.003\n\t\t\th0.003c0.126-0.287,0.259-0.574,0.394-0.86s0.272-0.572,0.405-0.855c0.01-0.018,0.019-0.032,0.031-0.042s0.026-0.015,0.047-0.015\n\t\t\th0.35h0.35c0.018,0,0.03,0.007,0.035,0.019s0.003,0.027-0.008,0.045l-0.574,1.1L21.388,25.135z", key: 3, }), ]) ), r.createElement("g", { key: 4 }), r.createElement("g", { key: 5 }), r.createElement("g", { key: 6 }), r.createElement("g", { key: 7 }), r.createElement("g", { key: 8 }), r.createElement("g", { key: 9 }), ]); } (o.defaultProps = { version: "1.1", id: "Layer_1", x: "0px", y: "0px", viewBox: "0 0 32 32", style: { enableBackground: "new 0 0 32 32" }, xmlSpace: "preserve" }), (e.exports = o), (o.default = o); }, 91412: (e, t, n) => { var r = n(23469); function o(e) { return r.createElement("svg", e, [ r.createElement("style", { type: "text/css", key: 0 }, "\n\t.st0{fill:#262600;}\n\t.st1{fill:#F6F600;}\n\t.st2{fill:#FAFAFA;}\n"), r.createElement("g", { key: 1 }, [ r.createElement("path", { className: "st0", d: "M6,31.5c-1.378,0-2.5-1.121-2.5-2.5V3c0-1.378,1.122-2.5,2.5-2.5h15.38c0.533,0,1.034,0.207,1.411,0.583\n\t\tl5.12,5.102C28.285,6.558,28.5,7.074,28.5,7.602V29c0,1.379-1.121,2.5-2.5,2.5H6z", key: 0, }), r.createElement("path", { className: "st1", d: "M21.38,1c0.397,0,0.778,0.157,1.059,0.437l5.12,5.102C27.841,6.821,28,7.203,28,7.602V29c0,1.105-0.895,2-2,2\n\t\tH6c-1.105,0-2-0.895-2-2V3c0-1.105,0.895-2,2-2H21.38 M21.38,0H6C4.346,0,3,1.346,3,3v26c0,1.654,1.346,3,3,3h20\n\t\tc1.654,0,3-1.346,3-3V7.602c0-0.66-0.268-1.305-0.735-1.771l-5.12-5.102C22.673,0.259,22.046,0,21.38,0L21.38,0z", key: 1, }), ]), r.createElement( "g", { key: 2 }, r.createElement("g", null, [ r.createElement("path", { className: "st1", d: "M9.792,17.429c-0.032-0.024-0.056-0.052-0.072-0.086s-0.024-0.074-0.024-0.122v-0.768v-0.768\n\t\t\tc0-0.024,0.016-0.048,0.04-0.06s0.056-0.012,0.088,0.012c0.36,0.248,0.752,0.428,1.155,0.546s0.814,0.174,1.215,0.174\n\t\t\tc0.584,0,0.996-0.152,1.262-0.39s0.386-0.562,0.386-0.907c0-0.304-0.076-0.58-0.292-0.862s-0.572-0.57-1.132-0.898l-0.288-0.152\n\t\t\tl-0.288-0.152c-0.824-0.464-1.356-0.933-1.682-1.435s-0.446-1.038-0.446-1.638c0-0.816,0.284-1.553,0.836-2.085\n\t\t\ts1.372-0.86,2.445-0.86c0.472,0,0.88,0.036,1.22,0.1s0.612,0.156,0.812,0.268c0.04,0.016,0.064,0.036,0.078,0.064\n\t\t\ts0.018,0.064,0.018,0.112v0.72v0.72c0,0.032-0.016,0.06-0.04,0.074s-0.056,0.014-0.088-0.01c-0.248-0.16-0.552-0.28-0.888-0.36\n\t\t\ts-0.704-0.12-1.081-0.12c-0.616,0-1.024,0.176-1.278,0.422S11.393,9.53,11.393,9.81c0,0.304,0.076,0.568,0.29,0.832\n\t\t\ts0.566,0.528,1.118,0.832l0.256,0.136l0.256,0.136c0.912,0.504,1.485,1,1.829,1.521s0.46,1.064,0.46,1.664\n\t\t\tc0,0.888-0.324,1.641-0.912,2.171s-1.44,0.839-2.497,0.839c-0.472,0-0.924-0.044-1.333-0.13S10.088,17.597,9.792,17.429z", key: 0, }), r.createElement("path", { className: "st1", d: "M17.921,9.906c0.024,0,0.048,0.008,0.068,0.024s0.036,0.04,0.044,0.072c0.464,1.537,0.796,2.721,1.034,3.617\n\t\t\ts0.382,1.504,0.47,1.888c0.192-0.72,0.42-1.532,0.68-2.445s0.552-1.925,0.872-3.045c0.008-0.04,0.024-0.068,0.048-0.086\n\t\t\ts0.056-0.026,0.096-0.026h0.736h0.736c0.048,0,0.076,0.012,0.09,0.034s0.014,0.054,0.006,0.094\n\t\t\tc-0.552,1.905-1.136,3.742-1.717,5.446s-1.156,3.277-1.693,4.654c-0.016,0.032-0.032,0.06-0.058,0.082s-0.062,0.038-0.118,0.046\n\t\t\tl-0.784,0.056l-0.784,0.056c-0.048,0-0.076-0.012-0.086-0.036s-0.002-0.06,0.022-0.109c0.184-0.416,0.336-0.796,0.496-1.214\n\t\t\ts0.328-0.874,0.544-1.442c0.008-0.04,0.016-0.076,0.018-0.112s-0.002-0.072-0.018-0.112c-0.216-0.648-0.624-1.829-1.08-3.173\n\t\t\ts-0.96-2.853-1.369-4.158c-0.016-0.04-0.016-0.068-0.004-0.086s0.036-0.026,0.068-0.026h0.84H17.921z", key: 1, }), ]) ), r.createElement( "g", { key: 3 }, r.createElement("g", null, [ r.createElement("path", { className: "st2", d: "M7.132,27.383c-0.014-0.01-0.025-0.022-0.032-0.037s-0.011-0.032-0.011-0.053v-0.336v-0.336\n\t\t\tc0-0.01,0.007-0.021,0.018-0.026s0.025-0.005,0.039,0.005c0.158,0.108,0.329,0.187,0.505,0.239s0.356,0.076,0.531,0.076\n\t\t\tc0.256,0,0.436-0.067,0.552-0.171s0.169-0.246,0.169-0.396c0-0.133-0.033-0.254-0.128-0.378s-0.25-0.249-0.495-0.393l-0.126-0.067\n\t\t\tl-0.126-0.067c-0.361-0.203-0.594-0.408-0.736-0.628s-0.195-0.454-0.195-0.717c0-0.357,0.124-0.679,0.366-0.912\n\t\t\ts0.6-0.376,1.07-0.376c0.207,0,0.385,0.016,0.534,0.044s0.268,0.068,0.355,0.118c0.018,0.007,0.028,0.016,0.034,0.028\n\t\t\ts0.008,0.028,0.008,0.049v0.315v0.315c0,0.014-0.007,0.026-0.017,0.032s-0.025,0.006-0.039-0.004\n\t\t\tc-0.108-0.07-0.241-0.123-0.389-0.158s-0.308-0.052-0.473-0.052c-0.27,0-0.448,0.077-0.56,0.184s-0.155,0.246-0.155,0.368\n\t\t\tc0,0.133,0.033,0.249,0.127,0.365s0.248,0.231,0.489,0.364l0.112,0.06l0.112,0.06c0.399,0.221,0.65,0.438,0.8,0.665\n\t\t\ts0.201,0.466,0.201,0.728c0,0.389-0.142,0.718-0.399,0.95s-0.63,0.367-1.092,0.367c-0.207,0-0.404-0.019-0.583-0.057\n\t\t\tS7.261,27.457,7.132,27.383z", key: 0, }), r.createElement("path", { className: "st2", d: "M11.22,23.565h-0.588h-0.588c-0.017,0-0.03-0.003-0.037-0.012s-0.009-0.023-0.005-0.044l0.042-0.294\n\t\t\tl0.042-0.294c0.003-0.018,0.009-0.03,0.017-0.038s0.021-0.012,0.038-0.012h1.471h1.471c0.021,0,0.035,0.004,0.044,0.013\n\t\t\ts0.015,0.023,0.018,0.044l0.028,0.291l0.028,0.291c0.003,0.021,0,0.035-0.009,0.044s-0.023,0.012-0.04,0.012h-0.585h-0.585v1.961\n\t\t\tv1.961c0,0.017-0.004,0.031-0.012,0.041s-0.023,0.015-0.044,0.015h-0.326h-0.326c-0.021,0-0.035-0.003-0.044-0.012\n\t\t\ts-0.012-0.023-0.012-0.044v-1.961V23.565z", key: 1, }), r.createElement("path", { className: "st2", d: "M13.83,22.936c0-0.018,0.002-0.03,0.009-0.038s0.019-0.014,0.041-0.017c0.08-0.004,0.236-0.009,0.431-0.014\n\t\t\ts0.43-0.008,0.668-0.008c0.711,0,1.243,0.229,1.598,0.627s0.531,0.963,0.531,1.636c0,0.935-0.306,1.544-0.731,1.919\n\t\t\ts-0.967,0.517-1.44,0.517c-0.178,0-0.397-0.002-0.595-0.004s-0.375-0.006-0.469-0.009c-0.014,0-0.024-0.005-0.031-0.015\n\t\t\ts-0.011-0.024-0.011-0.041v-2.276V22.936z M14.594,26.871c0.059,0.004,0.115,0.008,0.173,0.01s0.117,0.004,0.184,0.004\n\t\t\tc0.392,0,0.734-0.138,0.978-0.426s0.391-0.723,0.395-1.318c0.004-0.581-0.145-0.984-0.389-1.241s-0.581-0.369-0.956-0.369\n\t\t\tc-0.073,0-0.14,0.002-0.203,0.004s-0.122,0.006-0.182,0.009v1.663V26.871z", key: 2, }), r.createElement("path", { className: "st2", d: "M21.398,25.163c0.003,0.781-0.173,1.392-0.489,1.808s-0.771,0.637-1.324,0.637\n\t\t\tc-0.561,0-1.012-0.231-1.324-0.65s-0.483-1.025-0.483-1.774c0-0.729,0.184-1.322,0.503-1.733s0.775-0.641,1.318-0.641\n\t\t\tc0.567,0,1.017,0.242,1.325,0.657S21.398,24.47,21.398,25.163z M19.612,26.921c0.326,0,0.576-0.168,0.745-0.47\n\t\t\ts0.257-0.738,0.257-1.274c-0.003-0.532-0.098-0.952-0.273-1.24s-0.431-0.441-0.756-0.441c-0.294,0-0.548,0.133-0.729,0.411\n\t\t\ts-0.287,0.699-0.287,1.277c0,0.504,0.087,0.939,0.261,1.247S19.266,26.921,19.612,26.921z", key: 3, }), r.createElement("path", { className: "st2", d: "M24.954,27.425c0,0.021-0.003,0.037-0.011,0.049s-0.02,0.021-0.038,0.028\n\t\t\tc-0.091,0.039-0.21,0.065-0.344,0.082s-0.283,0.024-0.433,0.024c-0.546,0-1.061-0.179-1.44-0.568s-0.62-0.988-0.62-1.828\n\t\t\tc0-0.722,0.214-1.324,0.59-1.746s0.916-0.663,1.567-0.663c0.172,0,0.321,0.009,0.443,0.025s0.219,0.041,0.285,0.072\n\t\t\tc0.018,0.007,0.028,0.016,0.034,0.028s0.008,0.028,0.008,0.049v0.301v0.301c0,0.028-0.007,0.042-0.017,0.048\n\t\t\ts-0.022,0.004-0.032,0.001c-0.084-0.042-0.189-0.075-0.31-0.098s-0.258-0.035-0.405-0.035c-0.41,0-0.751,0.156-0.99,0.445\n\t\t\ts-0.375,0.713-0.375,1.249c0,0.662,0.187,1.091,0.452,1.354s0.606,0.361,0.914,0.361c0.14,0,0.258-0.005,0.365-0.019\n\t\t\ts0.206-0.037,0.307-0.072c0.014-0.007,0.026-0.01,0.035-0.006s0.014,0.017,0.014,0.041v0.287V27.425z", key: 4, }), ]) ), r.createElement("g", { key: 4 }), r.createElement("g", { key: 5 }), r.createElement("g", { key: 6 }), r.createElement("g", { key: 7 }), r.createElement("g", { key: 8 }), r.createElement("g", { key: 9 }), ]); } (o.defaultProps = { version: "1.1", id: "Layer_1", x: "0px", y: "0px", viewBox: "0 0 32 32", style: { enableBackground: "new 0 0 32 32" }, xmlSpace: "preserve" }), (e.exports = o), (o.default = o); }, 41867: (e, t, n) => { var r = n(23469); function o(e) { return r.createElement("svg", e, [ r.createElement("defs", { key: 0 }, r.createElement("style", null, ".cls-1{fill:#fff;}.cls-2{fill:#b3b3b3;}.cls-3{fill:#2c2c2c;}.cls-4{fill:#4b4b4b;}")), r.createElement("title", { key: 1 }, "USDZ_32"), r.createElement( "g", { id: "Surface", key: 2 }, r.createElement("g", { id: "Document" }, [ r.createElement("path", { className: "cls-1", d: "M6,31.56836a2.50263,2.50263,0,0,1-2.5-2.5v-26a2.50294,2.50294,0,0,1,2.5-2.5H21.37988a1.98332,1.98332,0,0,1,1.41114.5835l5.12011,5.10156A2.01544,2.01544,0,0,1,28.5,7.66992V29.06836a2.50231,2.50231,0,0,1-2.5,2.5Z", transform: "translate(-3 -0.06818)", key: 0, }), r.createElement("path", { className: "cls-2", d: "M21.38,1.06818a1.5,1.5,0,0,1,1.05879.43747l5.12,5.102A1.5,1.5,0,0,1,28,7.67014v21.398a2,2,0,0,1-2,2H6a2,2,0,0,1-2-2v-26a2,2,0,0,1,2-2H21.38m0-1H6a3.00339,3.00339,0,0,0-3,3v26a3.00339,3.00339,0,0,0,3,3H26a3.00339,3.00339,0,0,0,3-3V7.67014a2.5169,2.5169,0,0,0-.73536-1.77089L23.14469.7973A2.48407,2.48407,0,0,0,21.38.06818Z", transform: "translate(-3 -0.06818)", key: 1, }), ]) ), r.createElement( "g", { id: "Mime", key: 3 }, r.createElement("g", { id: "USDZ" }, [ r.createElement("path", { className: "cls-3", d: "M9.92139,25.91211c0,.67187.22412,1.00879.91748,1.00879a2.04475,2.04475,0,0,0,.64453-.0918V22.92871c0-.03516.01416-.05664.04883-.05664h.66552c.03516,0,.04883.01465.04883.04981v3.8164c0,.21.00733.35059.021.49707.00732.03516-.00684.04981-.042.06348a4.3535,4.3535,0,0,1-1.50586.30859,1.37683,1.37683,0,0,1-1.56885-1.583v-3.0957c0-.03516.00732-.05664.04932-.05664h.67236c.03467,0,.04883.01465.04883.04981Z", transform: "translate(-3 -0.06818)", key: 0, }), r.createElement("path", { className: "cls-3", d: "M13.06348,27.38281a.10348.10348,0,0,1-.042-.09082v-.67285a.03327.03327,0,0,1,.05616-.02051,1.83937,1.83937,0,0,0,1.03662.31543c.51123,0,.72119-.2666.72119-.56738,0-.2666-.13281-.4834-.623-.77051L13.96,25.44238a1.45055,1.45055,0,0,1-.93115-1.34472,1.2826,1.2826,0,0,1,1.43555-1.28809,1.91765,1.91765,0,0,1,.88964.16113c.03516.01368.042.03516.042.07715v.62988a.034.034,0,0,1-.05616.02832,1.62937,1.62937,0,0,0-.86132-.21c-.53956,0-.71436.30762-.71436.55274,0,.2666.13281.46289.61621.72851l.22412.11914c.79834.44141,1.00147.86817,1.00147,1.39356a1.32592,1.32592,0,0,1-1.4917,1.31738A2.20062,2.20062,0,0,1,13.06348,27.38281Z", transform: "translate(-3 -0.06818)", key: 1, }), r.createElement("path", { className: "cls-3", d: "M16.40283,22.93555c0-.03516.00684-.04883.04932-.05567.16064-.00781.623-.02148,1.09961-.02148a2.01093,2.01093,0,0,1,2.1289,2.26269,2.1494,2.1494,0,0,1-2.17089,2.43653c-.35743,0-.876-.00684-1.06495-.01367-.02783,0-.042-.02149-.042-.05567Zm.76319,3.93554c.11914.00782.2246.01465.35742.01465.78418,0,1.36621-.55371,1.373-1.74414.00684-1.16211-.5957-1.61035-1.34472-1.61035-.14746,0-.2666.00684-.38574.01367Z", transform: "translate(-3 -0.06818)", key: 2, }), r.createElement("path", { className: "cls-3", d: "M20.17578,27.544c-.03516,0-.05664-.01368-.05664-.05567v-.39941a.19149.19149,0,0,1,.02148-.084L22.207,23.56543H20.22461c-.03516,0-.04883-.01367-.042-.05566l.09082-.58789c.00683-.03516.02148-.04981.05664-.04981H23.0957a.038.038,0,0,1,.043.042v.43457a.23976.23976,0,0,1-.03515.10547L21.0791,26.85059H23.166c.03515,0,.04882.0205.03515.05566l-.09765.58887A.05636.05636,0,0,1,23.04,27.544Z", transform: "translate(-3 -0.06818)", key: 3, }), ]) ), r.createElement( "g", { id: "Modifier", key: 4 }, r.createElement( "g", { id: "_3D", "data-name": "3D" }, r.createElement("path", { className: "cls-4", d: "M15.79622,7.05515c-.02784.01273-5.70125,2.37871-5.70125,2.37871a1.01636,1.01636,0,0,0-.16985.09515.48594.48594,0,0,0-.16926.38225v6.22982a.4882.4882,0,0,0,.30087.44166l5.7261,2.36075a.44845.44845,0,0,0,.19959.04525.45967.45967,0,0,0,.17961-.03522l.02-.01,5.76131-2.36075a.48275.48275,0,0,0,.30082-.43775V9.88284a.43338.43338,0,0,0-.16961-.35567.49814.49814,0,0,0-.1199-.0751.20951.20951,0,0,0-.05-.02005S16.2158,7.06448,16.1954,7.05515a.48509.48509,0,0,0-.18805-.04389A.58251.58251,0,0,0,15.79622,7.05515Zm.198,4.71332-4.495-1.86624,4.46839-1.8537,4.49016,1.866Zm5.2695,3.9859-5.01562,2.09375V12.74346l5.01562-2.10628Z", transform: "translate(-3 -0.06818)", }) ) ), ]); } (o.defaultProps = { viewBox: "0 0 26 32" }), (e.exports = o), (o.default = o); }, 30060: (e, t, n) => { var r = n(23469); function o(e) { return r.createElement("svg", e, [ r.createElement("style", { type: "text/css", key: 0 }, "\n\t.st0{fill:#2E001F;}\n\t.st1{fill:#FF26B7;}\n\t.st2{fill:#FAFAFA;}\n\t.st3{fill:#FFD9F2;}\n"), r.createElement("g", { key: 1 }, [ r.createElement("path", { className: "st0", d: "M6,31.5c-1.378,0-2.5-1.121-2.5-2.5V3c0-1.378,1.122-2.5,2.5-2.5h15.38c0.533,0,1.034,0.207,1.411,0.583\n\t\tl5.12,5.102C28.285,6.558,28.5,7.074,28.5,7.602V29c0,1.379-1.121,2.5-2.5,2.5H6z", key: 0, }), r.createElement("path", { className: "st1", d: "M21.38,1c0.397,0,0.778,0.157,1.059,0.437l5.12,5.102C27.841,6.821,28,7.203,28,7.602V29c0,1.105-0.895,2-2,2\n\t\tH6c-1.105,0-2-0.895-2-2V3c0-1.105,0.895-2,2-2H21.38 M21.38,0H6C4.346,0,3,1.346,3,3v26c0,1.654,1.346,3,3,3h20\n\t\tc1.654,0,3-1.346,3-3V7.602c0-0.66-0.268-1.305-0.735-1.771l-5.12-5.102C22.673,0.259,22.046,0,21.38,0L21.38,0z", key: 1, }), ]), r.createElement( "g", { key: 2 }, r.createElement("g", null, [ r.createElement("path", { className: "st2", d: "M14.388,25.135l0.609,1.169l0.609,1.169c0.01,0.018,0.012,0.035,0.007,0.048s-0.017,0.022-0.035,0.022H15.2\n\t\t\th-0.378c-0.025,0-0.042-0.003-0.056-0.012s-0.025-0.023-0.035-0.044c-0.14-0.287-0.28-0.574-0.422-0.867s-0.286-0.59-0.433-0.899\n\t\t\th-0.003H13.87c-0.13,0.291-0.266,0.591-0.405,0.889s-0.281,0.596-0.421,0.883c-0.01,0.018-0.021,0.03-0.033,0.038\n\t\t\ts-0.026,0.011-0.044,0.011h-0.361h-0.361c-0.021,0-0.033-0.009-0.038-0.021s-0.001-0.028,0.01-0.042l0.595-1.134l0.595-1.134\n\t\t\tl-0.574-1.138l-0.574-1.138c-0.014-0.018-0.014-0.033-0.007-0.045s0.021-0.019,0.035-0.019h0.375h0.375\n\t\t\tc0.021,0,0.037,0.002,0.049,0.009s0.021,0.02,0.028,0.041c0.136,0.287,0.275,0.573,0.411,0.859s0.271,0.573,0.401,0.864h0.003\n\t\t\th0.003c0.126-0.287,0.259-0.574,0.394-0.86s0.271-0.572,0.404-0.855c0.01-0.018,0.019-0.032,0.031-0.042s0.025-0.015,0.046-0.015\n\t\t\th0.35h0.35c0.017,0,0.03,0.007,0.035,0.019s0.004,0.027-0.007,0.045l-0.574,1.1L14.388,25.135z", key: 0, }), r.createElement("path", { className: "st2", d: "M16.207,22.936c0-0.018,0.002-0.03,0.009-0.038s0.019-0.014,0.041-0.017c0.08-0.004,0.236-0.009,0.431-0.014\n\t\t\ts0.43-0.008,0.668-0.008c0.711,0,1.243,0.229,1.598,0.627s0.531,0.963,0.531,1.636c0,0.935-0.306,1.544-0.731,1.919\n\t\t\ts-0.967,0.517-1.44,0.517c-0.178,0-0.397-0.002-0.595-0.004s-0.375-0.006-0.469-0.009c-0.014,0-0.024-0.005-0.031-0.015\n\t\t\ts-0.011-0.024-0.011-0.041v-2.276V22.936z M16.971,26.871c0.06,0.004,0.115,0.008,0.173,0.01s0.117,0.004,0.184,0.004\n\t\t\tc0.392,0,0.733-0.138,0.978-0.426s0.391-0.723,0.395-1.318c0.003-0.581-0.145-0.984-0.389-1.241s-0.581-0.369-0.956-0.369\n\t\t\tc-0.073,0-0.14,0.002-0.203,0.004s-0.123,0.006-0.182,0.009v1.663V26.871z", key: 1, }), ]) ), r.createElement( "g", { key: 3 }, r.createElement("g", null, [ r.createElement("path", { className: "st3", d: "M13.29,12.291l1.393,2.673l1.393,2.673c0.024,0.04,0.028,0.08,0.016,0.11s-0.04,0.05-0.08,0.05h-0.864h-0.864\n\t\t\tc-0.056,0-0.096-0.008-0.128-0.028s-0.056-0.052-0.08-0.1c-0.32-0.656-0.64-1.312-0.964-1.981s-0.652-1.349-0.988-2.053h-0.008\n\t\t\th-0.008c-0.296,0.664-0.608,1.349-0.926,2.031s-0.642,1.362-0.962,2.019c-0.024,0.04-0.048,0.068-0.076,0.086\n\t\t\ts-0.06,0.026-0.1,0.026H9.217H8.392c-0.048,0-0.076-0.02-0.086-0.048s-0.002-0.064,0.022-0.096l1.361-2.593l1.361-2.593\n\t\t\tL9.737,9.866L8.424,7.265c-0.032-0.04-0.032-0.076-0.016-0.102s0.048-0.042,0.08-0.042h0.856h0.856\n\t\t\tc0.048,0,0.084,0.004,0.112,0.02s0.048,0.044,0.064,0.092c0.312,0.656,0.628,1.309,0.94,1.963s0.62,1.311,0.917,1.975h0.008h0.008\n\t\t\tc0.288-0.656,0.593-1.313,0.901-1.967s0.62-1.307,0.924-1.955c0.024-0.04,0.044-0.072,0.07-0.094s0.058-0.034,0.106-0.034h0.8h0.8\n\t\t\tc0.04,0,0.068,0.016,0.08,0.042s0.008,0.062-0.016,0.102l-1.312,2.513L13.29,12.291z", key: 0, }), r.createElement("path", { className: "st3", d: "M16.36,13.907c0-1.16,0.384-2.193,1.075-2.935s1.687-1.194,2.911-1.194c0.104,0,0.184,0,0.262,0.002\n\t\t\ts0.154,0.006,0.25,0.014V8.505V7.217c0-0.032,0.012-0.056,0.03-0.072s0.042-0.024,0.066-0.024h0.785h0.785\n\t\t\tc0.04,0,0.063,0.008,0.078,0.022s0.018,0.034,0.018,0.058v4.538v4.538c0,0.136,0,0.288,0.006,0.452s0.018,0.34,0.042,0.525\n\t\t\tc0,0.032-0.004,0.052-0.016,0.068s-0.032,0.028-0.064,0.044c-0.416,0.2-0.844,0.344-1.272,0.439s-0.856,0.138-1.272,0.138\n\t\t\tc-1.072,0-1.993-0.332-2.645-1.003S16.36,15.26,16.36,13.907z M20.858,11.362c-0.072-0.032-0.156-0.056-0.252-0.072\n\t\t\ts-0.204-0.024-0.324-0.024c-0.625,0-1.157,0.24-1.533,0.68s-0.596,1.08-0.596,1.881c0,0.912,0.224,1.553,0.588,1.965\n\t\t\ts0.868,0.596,1.428,0.596c0.12,0,0.244-0.008,0.362-0.026s0.23-0.046,0.326-0.086v-2.457V11.362z", key: 1, }), ]) ), r.createElement("g", { key: 4 }), r.createElement("g", { key: 5 }), r.createElement("g", { key: 6 }), r.createElement("g", { key: 7 }), r.createElement("g", { key: 8 }), r.createElement("g", { key: 9 }), ]); } (o.defaultProps = { version: "1.1", id: "Layer_1", x: "0px", y: "0px", viewBox: "0 0 32 32", style: { enableBackground: "new 0 0 32 32" }, xmlSpace: "preserve" }), (e.exports = o), (o.default = o); }, 66797: (e, t, n) => { var r = n(23469); function o(e) { return r.createElement("svg", e, [ r.createElement("style", { type: "text/css", key: 0 }, "\n\t.st0{fill:#260A04;}\n\t.st1{fill:#FF401A;}\n\t.st2{fill:#FAFAFA;}\n"), r.createElement("g", { key: 1 }, [ r.createElement("path", { className: "st0", d: "M6,31.5c-1.378,0-2.5-1.121-2.5-2.5V3c0-1.378,1.122-2.5,2.5-2.5h15.38c0.533,0,1.034,0.207,1.411,0.583\n\t\tl5.12,5.102C28.285,6.558,28.5,7.074,28.5,7.602V29c0,1.379-1.121,2.5-2.5,2.5H6z", key: 0, }), r.createElement("path", { className: "st1", d: "M21.38,1c0.397,0,0.778,0.157,1.059,0.437l5.12,5.102C27.841,6.821,28,7.203,28,7.602V29c0,1.105-0.895,2-2,2\n\t\tH6c-1.105,0-2-0.895-2-2V3c0-1.105,0.895-2,2-2H21.38 M21.38,0H6C4.346,0,3,1.346,3,3v26c0,1.654,1.346,3,3,3h20\n\t\tc1.654,0,3-1.346,3-3V7.602c0-0.66-0.268-1.305-0.735-1.771l-5.12-5.102C22.673,0.259,22.046,0,21.38,0L21.38,0z", key: 1, }), ]), r.createElement( "g", { key: 2 }, r.createElement("g", null, [ r.createElement("path", { className: "st2", d: "M13.254,25.135l0.609,1.169l0.609,1.169c0.01,0.018,0.012,0.035,0.007,0.048s-0.017,0.022-0.035,0.022h-0.378\n\t\t\th-0.378c-0.025,0-0.042-0.003-0.056-0.012s-0.025-0.023-0.035-0.044c-0.14-0.287-0.28-0.574-0.422-0.867s-0.286-0.59-0.433-0.899\n\t\t\th-0.003h-0.003c-0.13,0.291-0.266,0.591-0.405,0.889s-0.281,0.596-0.421,0.883c-0.01,0.018-0.021,0.03-0.033,0.038\n\t\t\ts-0.026,0.011-0.044,0.011h-0.361H11.11c-0.021,0-0.033-0.009-0.038-0.021s-0.001-0.028,0.01-0.042l0.595-1.134l0.595-1.134\n\t\t\tl-0.574-1.138l-0.574-1.138c-0.014-0.018-0.014-0.033-0.007-0.045s0.021-0.019,0.035-0.019h0.375h0.375\n\t\t\tc0.021,0,0.037,0.002,0.049,0.009s0.021,0.02,0.028,0.041c0.136,0.287,0.275,0.573,0.411,0.859s0.271,0.573,0.401,0.864h0.003\n\t\t\th0.003c0.126-0.287,0.259-0.574,0.394-0.86s0.271-0.572,0.404-0.855c0.01-0.018,0.019-0.032,0.031-0.042s0.025-0.015,0.046-0.015\n\t\t\th0.35h0.35c0.017,0,0.03,0.007,0.035,0.019s0.004,0.027-0.007,0.045l-0.574,1.1L13.254,25.135z", key: 0, }), r.createElement("path", { className: "st2", d: "M15.836,27.488c0,0.021-0.004,0.035-0.011,0.044s-0.02,0.012-0.038,0.012h-0.333h-0.333\n\t\t\tc-0.018,0-0.03-0.003-0.038-0.012s-0.011-0.023-0.011-0.044v-2.283v-2.283c0-0.018,0.004-0.03,0.011-0.038s0.02-0.012,0.038-0.012\n\t\t\th1.166h1.166c0.021,0,0.033,0.004,0.041,0.012s0.011,0.021,0.015,0.038l0.035,0.294l0.035,0.294c0.003,0.021,0,0.035-0.01,0.044\n\t\t\ts-0.025,0.012-0.046,0.012H16.68h-0.844v0.666v0.666h0.756h0.756c0.018,0,0.03,0.002,0.038,0.009s0.012,0.019,0.012,0.04v0.294\n\t\t\tv0.294c0,0.021-0.004,0.033-0.012,0.04s-0.021,0.009-0.038,0.009h-0.756h-0.756v0.953V27.488z", key: 1, }), r.createElement("path", { className: "st2", d: "M18.342,27.544c-0.025,0-0.041-0.005-0.05-0.016s-0.013-0.026-0.013-0.047v-2.276v-2.276\n\t\t\tc0-0.018,0.003-0.032,0.011-0.042s0.02-0.015,0.038-0.015h0.336H19c0.018,0,0.028,0.004,0.034,0.012s0.008,0.021,0.008,0.038\n\t\t\tv1.964v1.964h0.875h0.875c0.018,0,0.03,0.003,0.037,0.011s0.009,0.02,0.005,0.038l-0.053,0.298l-0.053,0.298\n\t\t\tc-0.003,0.018-0.01,0.03-0.021,0.038s-0.024,0.011-0.042,0.011h-1.163H18.342z", key: 2, }), ]) ), r.createElement( "g", { key: 3 }, r.createElement("g", null, [ r.createElement("path", { className: "st1", d: "M10.505,14.788l-0.384,1.448l-0.384,1.448c-0.008,0.04-0.02,0.068-0.042,0.086s-0.054,0.026-0.102,0.026H8.88\n\t\t\tH8.168c-0.048,0-0.076-0.008-0.09-0.03s-0.014-0.058-0.006-0.114l1.376-4.818l1.376-4.818c0.024-0.088,0.044-0.168,0.06-0.286\n\t\t\ts0.028-0.274,0.036-0.514c0-0.032,0.008-0.056,0.022-0.072s0.034-0.024,0.058-0.024h1.016h1.016c0.032,0,0.056,0.004,0.074,0.018\n\t\t\ts0.03,0.038,0.038,0.078l1.545,5.226l1.545,5.226c0.008,0.04,0.008,0.072-0.004,0.094s-0.036,0.034-0.076,0.034h-0.8h-0.8\n\t\t\tc-0.04,0-0.072-0.008-0.096-0.024s-0.04-0.04-0.048-0.072l-0.4-1.457l-0.4-1.457h-1.553H10.505z M13.21,13.203\n\t\t\tc-0.136-0.536-0.364-1.389-0.588-2.249s-0.444-1.729-0.564-2.297H12.05h-0.008c-0.104,0.568-0.284,1.328-0.488,2.135\n\t\t\ts-0.432,1.659-0.632,2.411h1.144H13.21z", key: 0, }), r.createElement("path", { className: "st1", d: "M17.208,11.522c0-0.048,0-0.156-0.006-0.322s-0.018-0.39-0.042-0.67c0-0.032,0.004-0.052,0.016-0.068\n\t\t\ts0.032-0.028,0.064-0.044c0.408-0.152,0.888-0.312,1.405-0.434s1.068-0.206,1.621-0.206c0.68,0,1.392,0.132,1.934,0.556\n\t\t\ts0.914,1.14,0.914,2.309v2.513v2.513c0,0.048-0.008,0.08-0.026,0.1s-0.046,0.028-0.086,0.028H22.25h-0.752\n\t\t\tc-0.048,0-0.08-0.012-0.1-0.034s-0.028-0.054-0.028-0.094V15.22v-2.449c0-0.464-0.092-0.825-0.304-1.069s-0.544-0.372-1.025-0.372\n\t\t\tc-0.208,0-0.408,0.02-0.592,0.052s-0.352,0.076-0.496,0.124v3.089v3.089c0,0.032-0.008,0.06-0.024,0.08s-0.04,0.032-0.072,0.032\n\t\t\th-0.769H17.32c-0.04,0-0.068-0.008-0.086-0.026s-0.026-0.046-0.026-0.086v-3.081V11.522z", key: 1, }), ]) ), r.createElement("g", { key: 4 }), r.createElement("g", { key: 5 }), r.createElement("g", { key: 6 }), r.createElement("g", { key: 7 }), r.createElement("g", { key: 8 }), r.createElement("g", { key: 9 }), ]); } (o.defaultProps = { version: "1.1", id: "Layer_1", x: "0px", y: "0px", viewBox: "0 0 32 32", style: { enableBackground: "new 0 0 32 32" }, xmlSpace: "preserve" }), (e.exports = o), (o.default = o); }, 63189: (e, t, n) => { var r = n(23469); function o(e) { return r.createElement("svg", e, [ r.createElement("defs", { key: 0 }, r.createElement("style", null, ".cls-1{fill:#fff;}.cls-2{fill:#b3b3b3;}.cls-3{fill:#4b4b4b;}")), r.createElement("title", { key: 1 }, "filetype_template_32"), r.createElement( "g", { id: "Surface", key: 2 }, r.createElement("g", { id: "Document" }, [ r.createElement("path", { className: "cls-1", d: "M6,31.56836a2.50263,2.50263,0,0,1-2.5-2.5v-26a2.50294,2.50294,0,0,1,2.5-2.5H21.37988a1.98332,1.98332,0,0,1,1.41114.5835l5.12011,5.10156A2.01544,2.01544,0,0,1,28.5,7.66992V29.06836a2.50231,2.50231,0,0,1-2.5,2.5Z", key: 0, }), r.createElement("path", { className: "cls-2", d: "M21.38,1.06818a1.5,1.5,0,0,1,1.05879.43747l5.12,5.102A1.5,1.5,0,0,1,28,7.67014v21.398a2,2,0,0,1-2,2H6a2,2,0,0,1-2-2v-26a2,2,0,0,1,2-2H21.38m0-1H6a3.00339,3.00339,0,0,0-3,3v26a3.00339,3.00339,0,0,0,3,3H26a3.00339,3.00339,0,0,0,3-3V7.67014a2.5169,2.5169,0,0,0-.73536-1.77089L23.14469.7973A2.48407,2.48407,0,0,0,21.38.06818Z", key: 1, }), ]) ), r.createElement( "g", { id: "Modifier", key: 3 }, r.createElement( "g", { id: "_3D", "data-name": "3D" }, r.createElement("path", { className: "cls-3", d: "M15.79622,7.05515c-.02784.01273-5.70125,2.37871-5.70125,2.37871a1.01636,1.01636,0,0,0-.16985.09515.48594.48594,0,0,0-.16926.38225v6.22982a.4882.4882,0,0,0,.30087.44166l5.7261,2.36075a.44845.44845,0,0,0,.19959.04525.45967.45967,0,0,0,.17961-.03522l.02-.01,5.76131-2.36075a.48275.48275,0,0,0,.30082-.43775V9.88284a.43338.43338,0,0,0-.16961-.35567.49814.49814,0,0,0-.1199-.0751.20951.20951,0,0,0-.05-.02005S16.2158,7.06448,16.1954,7.05515a.48509.48509,0,0,0-.18805-.04389A.58251.58251,0,0,0,15.79622,7.05515Zm.198,4.71332-4.495-1.86624,4.46839-1.8537,4.49016,1.866Zm5.2695,3.9859-5.01562,2.09375V12.74346l5.01562-2.10628Z", }) ) ), ]); } (o.defaultProps = { viewBox: "0 0 32 32" }), (e.exports = o), (o.default = o); }, 65216: (e, t, n) => { var r = n(23469); function o(e) { return r.createElement("svg", e, [ r.createElement("style", { type: "text/css", key: 0 }, "\n\t.st0{fill:#FFFFFF;}\n\t.st1{fill:#B3B3B3;}\n\t.st2{fill:#2C2C2C;}\n\t.st3{fill:#4B4B4B;}\n"), r.createElement( "g", { id: "Document", key: 1 }, r.createElement("g", null, [ r.createElement("path", { className: "st0", d: "M6,31.5c-1.378,0-2.5-1.121-2.5-2.5V3c0-1.378,1.122-2.5,2.5-2.5h15.38c0.533,0,1.034,0.207,1.411,0.583\n\t\t\tl5.12,5.102C28.285,6.558,28.5,7.074,28.5,7.602V29c0,1.379-1.121,2.5-2.5,2.5H6z", key: 0, }), r.createElement("path", { className: "st1", d: "M21.38,1c0.397,0,0.778,0.157,1.059,0.437l5.12,5.102C27.841,6.821,28,7.203,28,7.602V29c0,1.105-0.895,2-2,2\n\t\t\tH6c-1.105,0-2-0.895-2-2V3c0-1.105,0.895-2,2-2H21.38 M21.38,0H6C4.346,0,3,1.346,3,3v26c0,1.654,1.346,3,3,3h20\n\t\t\tc1.654,0,3-1.346,3-3V7.602c0-0.66-0.268-1.305-0.735-1.771l-5.12-5.102C22.673,0.259,22.046,0,21.38,0L21.38,0z", key: 1, }), ]) ), r.createElement( "g", { id: "Mime", key: 2 }, r.createElement( "g", null, r.createElement("g", null, [ r.createElement("path", { className: "st2", d: "M11.783,27.544c-0.035,0-0.056-0.014-0.056-0.056v-0.399c0-0.035,0.007-0.049,0.021-0.084l2.066-3.439\n\t\t\t\th-1.982c-0.035,0-0.049-0.014-0.042-0.056l0.091-0.588c0.007-0.035,0.021-0.05,0.056-0.05h2.767c0.028,0,0.042,0.015,0.042,0.042\n\t\t\t\tv0.435c0,0.035-0.014,0.063-0.035,0.105l-2.024,3.396h2.087c0.035,0,0.049,0.021,0.035,0.056l-0.098,0.589\n\t\t\t\tc-0.007,0.035-0.028,0.049-0.063,0.049C14.648,27.544,11.783,27.544,11.783,27.544z", key: 0, }), r.createElement("path", { className: "st2", d: "M16.264,27.488c0,0.042-0.007,0.056-0.056,0.056h-0.651c-0.042,0-0.056-0.021-0.056-0.056v-4.56\n\t\t\t\tc0-0.042,0.021-0.057,0.056-0.057h0.658c0.035,0,0.049,0.015,0.049,0.05V27.488z", key: 1, }), r.createElement("path", { className: "st2", d: "M17.341,22.929c0-0.028,0.007-0.049,0.042-0.049c0.273-0.015,0.673-0.021,1.093-0.021\n\t\t\t\tc1.177,0,1.688,0.645,1.688,1.471c0,1.079-0.777,1.541-1.736,1.541c-0.161,0-0.218-0.007-0.329-0.007v1.632\n\t\t\t\tc0,0.035-0.015,0.049-0.05,0.049H17.39c-0.035,0-0.049-0.014-0.049-0.049V22.929z M18.098,25.184\n\t\t\t\tc0.098,0.007,0.175,0.007,0.343,0.007c0.497,0,0.96-0.175,0.96-0.848c0-0.539-0.329-0.812-0.896-0.812\n\t\t\t\tc-0.169,0-0.329,0.007-0.406,0.014L18.098,25.184L18.098,25.184z", key: 2, }), ]) ) ), r.createElement( "g", { id: "Metaphor", key: 3 }, r.createElement("path", { id: "_x36_4_1_", className: "st3", d: "M19,7.267v-0.5c0-0.138-0.112-0.25-0.25-0.25h-5.5c-0.138,0-0.25,0.114-0.25,0.252v1.498\n\t\tc0,0.138,0.112,0.25,0.25,0.25h2.25v1h-2.25c-0.138,0-0.25,0.112-0.25,0.25v0.5c0,0.138,0.112,0.25,0.25,0.25h2.25v1h-2.25\n\t\tc-0.138,0-0.25,0.112-0.25,0.25v0.5c0,0.138,0.112,0.25,0.25,0.25h2.25v2h-0.75c-0.138,0-0.25,0.117-0.25,0.255v3.495\n\t\tc0,0.138,0.112,0.25,0.25,0.25h2.5c0.138,0,0.25-0.112,0.25-0.25v-3.5c0-0.138-0.112-0.25-0.25-0.25H16.5v-2h2.25\n\t\tc0.138,0,0.25-0.112,0.25-0.25v-1.5c0-0.138-0.112-0.25-0.25-0.25H16.5v-1h2.25c0.138,0,0.25-0.112,0.25-0.25v-0.5\n\t\tc0-0.138-0.112-0.25-0.25-0.25H16.5v-1h2.25C18.888,7.517,19,7.405,19,7.267z M16.5,17.517h-1v-1.5h1V17.517z", }) ), ]); } (o.defaultProps = { version: "1.1", id: "Layer_1", x: "0px", y: "0px", viewBox: "0 0 32 32", style: { enableBackground: "new 0 0 32 32" }, xmlSpace: "preserve" }), (e.exports = o), (o.default = o); }, 39189: (e, t, n) => { "use strict"; n.d(t, { En: () => o, ek: () => r }); const r = { CCD_ASSETS_SPACES_FILES_OPEN: "ccd.assets.spaces.files", CCD_ASSETS_SPACES_CLOUDDOCS_OPEN: "ccd.assets.spaces.cdo", CCD_ASSETS_SPACES_ONE_OFF: "ccd.assets.spaces.oneOffEnabled" }, o = "ccd.fw.loading.assets.comments"; }, 23675: (e, t, n) => { "use strict"; n.r(t), n.d(t, { ContentView: () => g }); var r = n(23469), o = n.n(r), a = n(83275), i = n(82318), s = n(89009), c = n(82685), l = n(22953); const u = (e) => o().createElement( "div", { className: "your-work-init" }, o().createElement("div", { className: "init-failed-heading" }, o().createElement(s._H, { id: "componentassets.init.failed.heading" })), o().createElement("div", { className: "init-failed-text" }, o().createElement(s._H, { id: "componentassets.init.failed.text" })) ); var d = n(76489), p = n(30572); const f = ({ children: e, element: t, onClose: n }) => { const a = o().createElement( "div", { className: "cywasw" }, (0, r.cloneElement)(t, { onClose: () => { t.props.onClose && t.props.onClose(), n && n(); }, }) ); return "function" == typeof e ? e(a) : a; }, m = (e) => { let t; const n = d.assetsSpacesStore.context; t = n.showDialog("custom", { content: o().createElement(f, { element: e, onClose: () => { t && (n.hideDialog(t), (t = void 0)); }, }), wrapInDialog: !1, }); }; class h extends r.Component { componentDidMount() { const { viewState: e } = this.props; e.setIsListGridToggleable(!1), e.setAreFiltersEnabled(!1); } render() { const { children: e } = this.props; return e; } } const v = "CCDAssetsSpaces: LibrariesForTeamsOneUp"; var y = n(39189); let g = (() => { let e = class extends r.Component { constructor() { super(...arguments), (this.getShareCapabilities = (e) => (["space", "team"].includes(e.type) || l.rn.XD_CLOUD_DOCUMENT === e.mimeType ? [l.F2.INVITE] : [l.F2.INVITE, l.F2.GETLINK])), (this.getOneOffCapabilities = (e) => { try { const t = d.assetsSpacesStore.filesStore.context.get(l.cR.FeatureFlags).getFESData(y.ek.CCD_ASSETS_SPACES_ONE_OFF); if (!t) return !1; const { data: n } = t; if (!n) return !1; return JSON.parse(n).mimeTypes.includes(e.mimeType); } catch (e) { return console.error(`OneOffFeatureFlagData : FF data is incorrectly configured: ${e}`), !1; } }), (this.openShareSheet = (e, t) => { d.assetsSpacesStore.context.showShareSheet({ assetData: e, projectData: e.space, team: e.team, shareAction: l.F2.SHARE, shareCapabilities: this.getShareCapabilities(e), spaceDocumentOneOffInvites: this.getOneOffCapabilities(e), }); }), (this.openOneUp = (e) => { if (e.mimetype === l.rn.LIBRARY) { if (d.assetsSpacesStore.assetsLibsStore) { const t = d.assetsSpacesStore.assetsLibsStore.getLibraryIdByUrn(e.urn); t && 0 !== t.length ? d.assetsSpacesStore.ccdRouter.push(`/assets/libraries/${t}`) : window.open(e.openUrl); } } else p.q.preview(e); }); } componentDidMount() { const { urn: e, search: t } = this.props; c.projectsBrowseSession.navigateToUrl(e, t), d.assetsSpacesStore.uabContext.sharedStore.updateStore( (function () { const e = {}; try { const { assetsLibsStore: t } = d.assetsSpacesStore; if (!t) return e; const { createNewLibrary: n, browseAllLibraries: r } = t, a = window.CCDLibs.components.teamView; if (!a) throw new Error(`${v}: getLibrairesForTeamsOneUp: team component isn't available`); return { libraries: { createNewLibrary: (e) => n(e ? e.id : void 0), browseAllLibraries: () => r(), renderLibrariesView: (e) => (function ({ viewState: e, teamComponent: t }) { const { order: n, viewStyle: r, filter: a, selectedTeam: i, userTeams: s } = e, c = s ? s.map((e) => e.name).join(",") : void 0; return o().createElement(h, { viewState: e }, o().createElement(t, { teamNames: c, teamId: i ? i.id : void 0, filterBy: a, sortBy: n.field, sortOrder: n.direction, viewType: r, theme: "light" })); })({ viewState: e, teamComponent: a }), }, }; } catch (t) { return console.error(`${v}: getLibrairesForTeamsOneUp: exception: ${t}`), e; } })() ); } componentDidUpdate(e) { const { urn: t, search: n } = this.props; (e.urn === t && e.search === n) || c.projectsBrowseSession.navigateToUrl(t, n); } componentWillUnmount() { c.projectsBrowseSession.session.navigate(void 0); } get toastInterface() { const { context: e } = d.assetsSpacesStore; return { addToast: e.showToast.bind(e), removeToast: e.hideToast.bind(e) }; } renderSpacesView() { const e = window.UniversalAssetBrowser.components.find((e) => "spacesContentView" === e.id).main; if (!e) throw new Error("CCDAssets Spaces UAB: spacesContentView not found"); return o().createElement(e, { browseSession: c.projectsBrowseSession.session, disableLogAnalytics: !d.assetsSpacesStore.optInAnalytics, oneUpStaticFileActions: [], oneUpDynamicFileActions: [], onProjectOneUpItemClick: this.openOneUp, openShareSheet: this.openShareSheet, preferencesStore: d.assetsSpacesStore.preferencesStore, showModal: m, toastInterface: this.toastInterface, }); } renderLoadingView() { return o().createElement( "div", { className: "your-work-init" }, o().createElement(i.default, { size: "L" }), o().createElement("div", { className: "init-wait-text" }, o().createElement(s._H, { id: "componentassets.init.wait.text" })) ); } renderContent() { const { initStatus: e } = d.assetsSpacesStore; switch (e) { case l.vb.DONE: return this.renderSpacesView(); case l.vb.IN_PROGRESS: return this.renderLoadingView(); case l.vb.FAILED: return o().createElement(u, null); default: return null; } } render() { return o().createElement("div", { className: "cywasw", style: { paddingLeft: 16 } }, this.renderContent()); } }; return ( (e = (function (e, t, n, r) { var o, a = arguments.length, i = a < 3 ? t : null === r ? (r = Object.getOwnPropertyDescriptor(t, n)) : r; if ("object" == typeof Reflect && "function" == typeof Reflect.decorate) i = Reflect.decorate(e, t, n, r); else for (var s = e.length - 1; s >= 0; s--) (o = e[s]) && (i = (a < 3 ? o(i) : a > 3 ? o(t, n, i) : o(t, n)) || i); return a > 3 && i && Object.defineProperty(t, n, i), i; })([a.withRouter], e)), e ); })(); }, 34874: (e, t, n) => { const r = n(39109), { components: o } = n(13853); e.exports = { components: { sideNav: r.SideNav, contentView: r.ContentView }, oneUpView: r.oneUpView, name: "Spaces", initialize: r.initialize, id: o.Spaces.id }; }, 39109: (e, t, n) => { "use strict"; n.r(t), n.d(t, { ContentView: () => u, SideNav: () => l, initialize: () => d, oneUpView: () => p }); var r = n(22953), o = n(76489), a = n(72926), i = n(30572); const s = ({ context: e, languageCode: t, resourcePath: n }) => { return ( (s = void 0), (c = void 0), (u = function* () { try { yield ((u = { context: e, locale: t }), (n = void 0), (s = void 0), (c = void 0), (l = function* () { try { (o.assetsSpacesStore.context = u.context), (o.assetsSpacesStore.locale = u.locale), (o.assetsSpacesStore.ccdRouter = o.assetsSpacesStore.context.get(r.cR.Router)), (o.assetsSpacesStore.identityStore = o.assetsSpacesStore.context.get(r.cR.Identity)), (o.assetsSpacesStore.preferencesStore = o.assetsSpacesStore.context.get(r.cR.Preferences)), (o.assetsSpacesStore.featureFlagsStore = o.assetsSpacesStore.context.get(r.cR.FeatureFlags)), o.assetsSpacesStore.context.onStoreRegister(r.cR.Files, () => { const e = o.assetsSpacesStore.context.get(r.cR.Files); o.assetsSpacesStore.filesStore = e; }), o.assetsSpacesStore.context.onStoreRegister(r.cR.AssetsLibs, () => { const e = o.assetsSpacesStore.context.get(r.cR.AssetsLibs); o.assetsSpacesStore.assetsLibsStore = e; }), yield o.assetsSpacesStore.init(u.context), a.x.init(u.context), yield i.q.init(); } catch (e) { o.assetsSpacesStore.setInitializationFailed(!0), console.error(`CCDAssetsSpaces: Initialization failed ${e.stack}`); } }), new (c || (c = Promise))(function (e, t) { function r(e) { try { a(l.next(e)); } catch (e) { t(e); } } function o(e) { try { a(l.throw(e)); } catch (e) { t(e); } } function a(t) { var n; t.done ? e(t.value) : ((n = t.value), n instanceof c ? n : new c(function (e) { e(n); })).then(r, o); } a((l = l.apply(n, s || [])).next()); })); } catch (e) { console.error(`CCDAssetsSpaces: Error while loading spaces: ${e.stack}`); } var n, s, c, l, u; return o.assetsSpacesStore; }), new ((l = void 0) || (l = Promise))(function (e, t) { function n(e) { try { o(u.next(e)); } catch (e) { t(e); } } function r(e) { try { o(u.throw(e)); } catch (e) { t(e); } } function o(t) { var o; t.done ? e(t.value) : ((o = t.value), o instanceof l ? o : new l(function (e) { e(o); })).then(n, r); } o((u = u.apply(s, c || [])).next()); }) ); var s, c, l, u; }; var c = function (e, t, n, r) { return new (n || (n = Promise))(function (o, a) { function i(e) { try { c(r.next(e)); } catch (e) { a(e); } } function s(e) { try { c(r.throw(e)); } catch (e) { a(e); } } function c(e) { var t; e.done ? o(e.value) : ((t = e.value), t instanceof n ? t : new n(function (e) { e(t); })).then(i, s); } c((r = r.apply(e, t || [])).next()); }); }; const { SideNav: l } = n(82994), { ContentView: u } = n(23675); function d(e, t) { return c(this, void 0, void 0, function* () { try { const { versions: { UAP: n }, } = e.get(r.cR.UABContext), { locale: o } = e.get(r.cR.Locale), a = { context: e.get(r.cR.SpacesContext), resourcePath: t, languageCode: o }, i = window.PROJECTS_VERSION; return console.info(`CCDAssetsSpaces: initializeAssetsSpaces: SpacesVersion ${i} UAPVersion ${n}`), s(a); } catch (e) { console.error(`CCDAssetsSpaces: Error while initializing Spaces component: ${e}`); } return Promise.reject(); }); } function p() { return i.q.getOneUpNode(); } }, 82994: (e, t, n) => { "use strict"; n.r(t), n.d(t, { SideNav: () => i }); var r = n(23469), o = n.n(r), a = n(82685); class i extends r.Component { render() { const e = window.UniversalAssetBrowser.components.find((e) => "teamsSidebar" === e.id).main; if (!e) throw new Error("UAB: teamsSidebar element not found"); return o().createElement("div", { className: "cywasw" }, o().createElement(e, { browseSession: a.projectsBrowseSession.session })); } } }, 76489: (e, t, n) => { "use strict"; n.d(t, { assetsSpacesStore: () => h }); var r = n(6860), o = n(32339), a = n(22953), i = n(50187), s = n(10602), c = n(72926), l = n(82685), u = n(30572), d = function (e, t, n, r) { var o, a = arguments.length, i = a < 3 ? t : null === r ? (r = Object.getOwnPropertyDescriptor(t, n)) : r; if ("object" == typeof Reflect && "function" == typeof Reflect.decorate) i = Reflect.decorate(e, t, n, r); else for (var s = e.length - 1; s >= 0; s--) (o = e[s]) && (i = (a < 3 ? o(i) : a > 3 ? o(t, n, i) : o(t, n)) || i); return a > 3 && i && Object.defineProperty(t, n, i), i; }, p = function (e, t) { if ("object" == typeof Reflect && "function" == typeof Reflect.metadata) return Reflect.metadata(e, t); }, f = function (e, t, n, r) { return new (n || (n = Promise))(function (o, a) { function i(e) { try { c(r.next(e)); } catch (e) { a(e); } } function s(e) { try { c(r.throw(e)); } catch (e) { a(e); } } function c(e) { var t; e.done ? o(e.value) : ((t = e.value), t instanceof n ? t : new n(function (e) { e(t); })).then(i, s); } c((r = r.apply(e, t || [])).next()); }); }; const m = "CCDAssetsSpaces: AssetsSpacesStore", h = new ((() => { class e { constructor() { (this.context = null), (this.projectsImsData = void 0), (this.initStatus = a.vb.IN_PROGRESS), (this.isInitializationFailed = !1), (this.init = (e) => f(this, void 0, void 0, function* () { console.info(`${m} init`), e.registerStore(a.cR.AssetsSpaces, this), (this.eventStore = e.get(a.cR.Events)), (this.filesIMSStore = e.get(a.cR.FilesIMSStore)), (this.uabContext = e.get(a.cR.UABContext)), l.projectsBrowseSession.init(), s.O.init(), yield this.setProjectsImsData(), this.eventStore && this.eventStore.on(a.iV.FILES_IMS_DATA_UPDATED, this.setProjectsImsData), (this.context = e), this.uabContext.sharedStore.updateStore({ openUtils: c.A }), (0, r.autorun)(() => { this.uabContext.sharedStore.updateStore({ theme: this.context.get(a.cR.Container).currentTheme }); }); try { (this.optInAnalytics = e.isAnalyticsOptedIn), this.setInitStatus(a.vb.DONE); } catch (e) { console.error(`${m} : Could not fetch analytics consent with error = ${e}`), this.setInitStatus(a.vb.FAILED); } })), (this.setProjectsImsData = () => f(this, void 0, void 0, function* () { var e; this.projectsImsData = { accountType: this.filesIMSStore.accountType(), displayName: this.filesIMSStore.displayName(), environment: this.filesIMSStore.environment, userEmail: this.filesIMSStore.email(), userId: this.filesIMSStore.userID(), subscriptionType: this.filesIMSStore.accountType(), serviceLevel: this.filesIMSStore.serviceAccount() ? (null === (e = this.filesIMSStore.serviceAccount()[0]) || void 0 === e ? void 0 : e.serviceLevel) : null, fetchToken: this.filesIMSStore.accessToken, }; })), (this.registerTour = (e) => { console.info(`${m}: registerTour: tourId: ${e.tourId}`); }); } get initializationFailed() { return this.isInitializationFailed; } setInitStatus(e) { this.initStatus = e; } setInitializationFailed(e) { this.isInitializationFailed = e; } navigateToSpace({ urn: e, view: t, type: n, folderId: r }) { let i = a.Z5.SpacesRoot; const s = {}; e && (i += `/${encodeURIComponent(e)}`), t && (s.view = t), r && (s.folderId = r), (s.type = n); const c = (function (e) { const t = o.stringify(e); return t ? `?${t}` : t; })(s); c && (i += c), this.ccdRouter.push(i); } previewFromRoute(e) { u.q.previewFromRoute(e); } copyToProjects(e) { const { ProjectsClient: t, SpaceRoute: n } = this.uabContext; return new t({ showPicker: i.b }).copyItemsToProject({ items: e.map((e) => ({ id: e.cloudUri, name: `${e.title}.${e.fileExtension}`, type: e.type })), onViewProject: (e) => { try { const t = JSON.parse(e.spaceInfo), r = e.externalData, o = r && r._links[a.md.PAGE], i = "project" === e.type ? new n(e.id, { view: "working" }) : new n(t.spaceId, { folderId: e.id, folderLink: o, folderAsset: r }); this.navigateToSpace(i); } catch (e) { console.error("CCDAssetsSpaces : Cannot navigate to space: ", e); } }, }); } } return ( d([r.observable, p("design:type", Object)], e.prototype, "projectsImsData", void 0), d([r.observable, p("design:type", Object)], e.prototype, "initStatus", void 0), d([r.observable, p("design:type", Object)], e.prototype, "isInitializationFailed", void 0), d([r.action, p("design:type", Function), p("design:paramtypes", [Object]), p("design:returntype", void 0)], e.prototype, "setInitStatus", null), d([r.action, p("design:type", Function), p("design:paramtypes", [Boolean]), p("design:returntype", void 0)], e.prototype, "setInitializationFailed", null), e ); })())(); }, 10602: (e, t, n) => { "use strict"; n.d(t, { O: () => i }); var r = n(76489), o = function (e, t, n, r) { return new (n || (n = Promise))(function (o, a) { function i(e) { try { c(r.next(e)); } catch (e) { a(e); } } function s(e) { try { c(r.throw(e)); } catch (e) { a(e); } } function c(e) { var t; e.done ? o(e.value) : ((t = e.value), t instanceof n ? t : new n(function (e) { e(t); })).then(i, s); } c((r = r.apply(e, t || [])).next()); }); }; const a = "CCDAssetsSpaces: Export: ExportStoreUtil", i = new (class { constructor() { this.isInitialized = !1; } init() { return o(this, void 0, void 0, function* () { console.info(`${a}: init start`); const { context: e, filesIMSStore: t } = r.assetsSpacesStore; try { (this.exportStore = e.exportStore), yield this.exportStore.init(t.accessToken, t.clientId), (this.isInitialized = !0); } catch (e) { console.error(`${a}: init err: ${e}`); } }); } exportSingleSpacesDoc(e, t) { return o(this, void 0, void 0, function* () { return yield this.exportStore.exportSingleDoc(e, t); }); } isExportActionAvailable(e) { return this.isInitialized && this.exportStore.isExportActionAvailable(e); } getExportPath() { return o(this, void 0, void 0, function* () { return this.exportStore.getExportPath(); }); } })(); }, 30572: (e, t, n) => { "use strict"; n.d(t, { q: () => ca }); var r = {}; n.r(r), n.d(r, { _S: () => a, tv: () => Vr }); var o, a, i = n(6860); !(function (e) { (e[(e.NONE = 0)] = "NONE"), (e[(e.ONLINE_ONLY = 1)] = "ONLINE_ONLY"), (e[(e.AVAILABLE_OFFLINE = 2)] = "AVAILABLE_OFFLINE"), (e[(e.ONLINE_SYNCING = 3)] = "ONLINE_SYNCING"), (e[(e.OFFLINE_SYNCING = 4)] = "OFFLINE_SYNCING"), (e[(e.ERROR = 5)] = "ERROR"); })(o || (o = {})), (function (e) { (e.CloudDocs = "CloudDocs"), (e.SharedWithYou = "SharedWithYou"), (e.SpacesDocs = "SpacesDocs"), (e.StockAssets = "StockAssets"), (e.FireflyStyleKits = "FireflyStyleKits"); })(a || (a = {})); var s, c = n(23469), l = n.n(c), u = n(87630), d = n(26662), p = n(68173), f = n(53673), m = n(89009), h = n(94758), v = n(11900), y = n(50626), g = n(93353), b = n.n(g), E = n(23613), D = n.n(E); function C(e, t, n, r = [], o) { (n = (0, c.useCallback)(n, r)), (0, c.useEffect)(() => { let r = (function (e) { return e ? ((t = e) && Object.prototype.hasOwnProperty.call(t, "current") ? e.current : e) : null; var t; })(e); return r && !r.addEventListener && (r = (0, E.findDOMNode)(r)), r ? (r.addEventListener(t, n, o), () => r.removeEventListener(t, n, o)) : null; }, [e, t, n, o]); } !(function (e) { (e[(e.Mobile = 0)] = "Mobile"), (e[(e.Cramped = 1)] = "Cramped"), (e[(e.Desktop = 2)] = "Desktop"); })(s || (s = {})); const w = l().createContext( (function () { const e = document.documentElement.clientWidth; return e <= 700 ? s.Mobile : e <= 900 ? s.Cramped : s.Desktop; })() ), S = n(6618), A = ({ id: e, children: t }) => { const n = (0, c.useContext)(w) <= s.Mobile; return l().createElement("div", { key: e, className: b()(S.SidebarPanel, { [S.onSide]: !n, [S.onBottom]: n }) }, t); }; var k = n(97915), _ = n.n(k); const T = 1e3, I = [0.1, 0.25, 0.5, 0.75, 1, 1.5, 2, 4, 8], O = "fitPage", F = "fitWidth", x = { minWidth: "10rem" }, N = { aecap: n(18854), aeg: n(42559), aep: n(69071), aepx: n(90609), aet: n(88898), aetx: n(37709), ai: n(69010), ait: n(1537), arcut: n(51962), astx: n(13825), cat: n(25927), cdlx: n(56848), chproj: n(53009), dn: n(82540), dw: n(1914), dwt: n(11215), express: n(6428), fla: n(95992), fs: n(43889), icap: n(10883), icml: n(81716), icmt: n(14646), idap: n(41946), idml: n(27089), incx: n(68840), indb: n(16171), indd: n(5555), indp: n(88845), indt: n(9510), lrlibrary: n(3497), mu: n(34147), pdf: n(43869), plproj: n(40071), prproj: n(59482), psb: n(12471), psd: n(35822), real: n(64265), sesx: n(45886), stdoc: n(91412), usdz: n(41867), webpage: n(6428), xd: n(30060), xfl: n(66797), xra: n(63189), zip: n(65216), glb: n(39124), mov: n(22108), mp4: n(22108), mpeg: n(22108), psdt: n(22108), f4v: n(22108), flv: n(22108), m4v: n(22108), avi: n(22108), asf: n(22108), wmv: n(22108), "3gp": n(22108), mkv: n(22108), css: n(52951), html: n(52951), js: n(52951), xml: n(52951), txt: n(52951), csv: n(52951), numbers: n(52951), rtf: n(52951), textfragment: n(52951), xls: n(175), xlsx: n(175), ppt: n(66635), pptx: n(66635), ps: n(51750), }, R = ({ id: e, selected: t, onClick: n, icon: r, tooltip: o, tooltipPlacement: a }) => { const i = (function (e) { const [t, n] = (0, c.useState)(matchMedia(e).matches); return ( (0, c.useEffect)(() => { const t = matchMedia(e), r = (e) => { n(e.matches); }; return t.addListener(r), () => t.removeListener(r); }, [e]), t ); })("(hover: hover)"); let s = l().createElement(_(), { "data-test-id": `OneUpActionBar_${e}Button`, icon: r, variant: "action", quiet: !0, selected: t, onClick: n, "aria-labelledby": `oneup-${e}-button-label` }); return ( i && (s = l().createElement(d.default, { trigger: ["hover", "focus"], delayShow: T, selected: t, placement: a }, s, l().createElement(p.default, null, o))), l().createElement(l().Fragment, null, s, l().createElement("span", { hidden: !0, id: `oneup-${e}-button-label` }, o)) ); }, L = n(6618), M = ({ panels: e, currentPanel: t, orientation: n, setCurrentPanel: r, buttons: o }) => { const a = l().Children.toArray(o).filter(Boolean); return l().createElement( "div", { className: b()(L.ActionBar, { [L.horizontal]: "horizontal" === n, [L.vertical]: "vertical" === n }), "data-test-id": "OneUpActionBar" }, e.map((e) => { if (!e) return; if (!l().isValidElement(e) || e.type !== A) throw new Error("Sidebar children must only be elements."); const o = t === e.props.id, { id: a } = e.props; return l().createElement(R, { key: a, id: a, selected: o, icon: e.props.icon, tooltip: e.props.tooltip, tooltipPlacement: "vertical" === n ? "left" : "top", onClick: () => { r(o ? "" : a); }, }); }), a.length > 0 && l().createElement("div", { className: L.buttons }, a) ); }, P = n(6618), j = (0, c.forwardRef)(function (e, t) { const { currentPanel: n } = e, r = l().Children.toArray(e.children), o = r.find((e) => l().isValidElement(e) && e.props.id === n); (0, c.useEffect)(() => { window.dispatchEvent(new CustomEvent("resize")); }, [n]); const a = (0, c.useRef)(null), i = !1; return ( C(window, "mousedown", (e) => {}, [i, e.setCurrentPanel], { capture: !0 }), l().createElement( "div", { ref: a, className: b()(P.Sidebar, { [P.onSide]: !0, [P.onBottom]: i }) }, o, l().createElement(M, { currentPanel: n, orientation: "vertical", panels: r, buttons: e.buttons, setCurrentPanel: e.setCurrentPanel }) ) ); }); const B = n(48126), Z = (e) => { var { onContentScroll: t, contentRef: n } = e, r = (function (e, t) { var n = {}; for (var r in e) Object.prototype.hasOwnProperty.call(e, r) && t.indexOf(r) < 0 && (n[r] = e[r]); if (null != e && "function" == typeof Object.getOwnPropertySymbols) { var o = 0; for (r = Object.getOwnPropertySymbols(e); o < r.length; o++) t.indexOf(r[o]) < 0 && Object.prototype.propertyIsEnumerable.call(e, r[o]) && (n[r[o]] = e[r[o]]); } return n; })(e, ["onContentScroll", "contentRef"]); let o, { children: a, theme: i } = r; a = l().Children.toArray(a); for (let e = 0; e < a.length; e += 1) { const t = a[e]; if (l().isValidElement(t) && t.type === j) { (o = t), a.splice(e, 1), (e -= 1); break; } } return l().createElement( "div", { className: b()(B.oneupContent) }, l().createElement( "div", { className: B.body }, l().createElement( "div", { className: B.innerBody }, l().createElement( "div", { "data-test-id": "OneUp_InnerBody", ref: n, className: B.oneUpInnerContent, style: "light" === i ? { backgroundColor: "var(--spectrum2-gray-100)" } : { backgroundColor: "var(--spectrum2-gray-25)" }, onScroll: t, id: "oneupContent", }, a ), o ) ) ); }; var U = n(55341), z = n.n(U), V = n(63099), H = n(947); const G = ({ height: e = 18, width: t = 18, className: n = "" }) => l().createElement( "svg", { className: b()("CloudOnlyIcon", n), xmlns: "http://www.w3.org/2000/svg", width: e, height: t, viewBox: `0 0 ${e} ${t}` }, l().createElement("circle", { className: b()("outline", "primary"), cx: "9", cy: "9", r: "8.95" }), l().createElement("path", { className: "secondary", d: "M9,1.2A7.8,7.8,0,1,0,16.8,9,7.8,7.8,0,0,0,9,1.2Z" }), l().createElement("path", { className: "tertiary", d: "M12.123,8.228a1.745,1.745,0,0,0-.2.012A2.3,2.3,0,1,0,7.482,7a2.326,2.326,0,0,0-.065.32A1.939,1.939,0,0,0,5.04,8.691a1.964,1.964,0,0,0,0,1.006,1.062,1.062,0,0,0-.186-.016,1.091,1.091,0,1,0,0,2.181l7.27,0a1.818,1.818,0,0,0,0-3.636Z", }) ), W = ({ height: e = 18, width: t = 18, className: n = "" }) => l().createElement( "svg", { className: b()("AvailableOfflineIcon", n), xmlns: "http://www.w3.org/2000/svg", width: e, height: t, viewBox: `0 0 ${e} ${t}` }, l().createElement("circle", { className: b()("outline", "primary"), cx: "9", cy: "9", r: "8.95" }), l().createElement("path", { className: "secondary", d: "M9,1.2A7.8,7.8,0,1,0,16.8,9,7.8,7.8,0,0,0,9,1.2Z" }), l().createElement("path", { className: "tertiary", d: "M7.62,13.183,4.154,9.764a.5.5,0,0,1,0-.707l.7-.712a.5.5,0,0,1,.707-.005l2.268,2.237,4.231-5.421a.5.5,0,0,1,.7-.087l.788.616a.5.5,0,0,1,.087.7L8.366,13.135A.5.5,0,0,1,7.62,13.183Z", }) ), Q = ({ height: e = 18, width: t = 18, className: n = "" }) => l().createElement( "svg", { xmlns: "http://www.w3.org/2000/svg", className: b()("SyncIcon", n), width: t, height: e, viewBox: `0 0 ${t} ${e}` }, l().createElement("circle", { className: b()("outline", "primary"), cx: "9", cy: "9", r: "8.95" }), l().createElement("path", { className: "secondary", d: "M9,1.2A7.8,7.8,0,1,0,16.8,9,7.8,7.8,0,0,0,9,1.2Z" }), l().createElement("path", { className: "tertiary", d: "M14.158,5a.21.21,0,0,0-.147-.061.2.2,0,0,0-.143.06l-.9.9A5.1,5.1,0,0,0,3.921,7.937a.207.207,0,0,0,.2.243l.883,0a.2.2,0,0,0,.2-.155,3.822,3.822,0,0,1,6.846-1.2L11,7.867a.2.2,0,0,0-.06.143A.208.208,0,0,0,11,8.157a.2.2,0,0,0,.126.058h2.882a.2.2,0,0,0,.2-.2V5.129A.2.2,0,0,0,14.158,5Z", }), l().createElement("path", { className: "tertiary", d: "M3.839,13a.21.21,0,0,0,.147.061A.2.2,0,0,0,4.13,13l.9-.9a5.1,5.1,0,0,0,9.047-2.035.207.207,0,0,0-.2-.243l-.882,0a.2.2,0,0,0-.2.155,3.822,3.822,0,0,1-6.846,1.205l1.045-1.045a.2.2,0,0,0,.06-.143.208.208,0,0,0-.061-.147.2.2,0,0,0-.125-.058H3.986a.2.2,0,0,0-.205.2v2.882A.2.2,0,0,0,3.839,13Z", }) ), J = () => l().createElement(Q, { className: "OfflineSyncIcon" }), Y = () => l().createElement(Q, { className: "OnlineSyncIcon" }), q = ({ height: e = 18, width: t = 18, className: n = "" }) => l().createElement( "svg", { className: b()("AlertIcon", n), xmlns: "http://www.w3.org/2000/svg", width: e, height: t, viewBox: `0 0 ${e} ${t}` }, l().createElement("circle", { className: b()("outline", "primary"), cx: "9", cy: "9", r: "8.95" }), l().createElement("path", { className: "secondary", d: "M9,1.2A7.8,7.8,0,1,0,16.8,9,7.8,7.8,0,0,0,9,1.2Z" }), l().createElement("path", { className: "tertiary", d: "M7.851,3.646a.242.242,0,0,1,.114-.24,3.042,3.042,0,0,1,1.049-.212,3.311,3.311,0,0,1,1.061.16.272.272,0,0,1,.136.241v1.22c0,1.439-.287,5.413-.34,5.936,0,.1-.063.157-.18.157H8.336a.171.171,0,0,1-.178-.149c-.049-.663-.307-4.52-.307-5.893Z", }), l().createElement("path", { className: "tertiary", d: "M9.014,14.772a1.175,1.175,0,0,1-1.281-1.2,1.214,1.214,0,0,1,1.281-1.23,1.2,1.2,0,0,1,1.281,1.23A1.163,1.163,0,0,1,9.014,14.772Z" }) ); var X = function (e, t, n, r) { var o, a = arguments.length, i = a < 3 ? t : null === r ? (r = Object.getOwnPropertyDescriptor(t, n)) : r; if ("object" == typeof Reflect && "function" == typeof Reflect.decorate) i = Reflect.decorate(e, t, n, r); else for (var s = e.length - 1; s >= 0; s--) (o = e[s]) && (i = (a < 3 ? o(i) : a > 3 ? o(t, n, i) : o(t, n)) || i); return a > 3 && i && Object.defineProperty(t, n, i), i; }, K = function (e, t) { if ("object" == typeof Reflect && "function" == typeof Reflect.metadata) return Reflect.metadata(e, t); }; const $ = { zh_CN: "zh-Hans", zh_TW: "zh-Hant" }; class ee { setIntl(e) { this.intl = e; } setLanguageCode(e) { this.languageCode = e; } getLanguageCode() { return this.languageCode; } setLocale(e) { this.locale = e; } getMessage(e, t) { return this.intl ? this.intl.formatMessage({ id: e }, t) : e; } getLocale() { return this.locale; } getLocaleIdforAssetsWeb() { return $[this.languageCode] || this.languageCode.slice(0, 2); } getRemappedLocale() { return $[this.locale] || this.languageCode; } } X([i.observable, K("design:type", Object)], ee.prototype, "intl", void 0), X([i.action, K("design:type", Function), K("design:paramtypes", [Object]), K("design:returntype", void 0)], ee.prototype, "setIntl", null); const te = new ee(), ne = ({ syncStatus: e }) => { let t = null, n = null; switch (e) { case o.ONLINE_ONLY: (t = l().createElement(G, null)), (n = te.getMessage("oneup.headerbar.syncStatus.onlineOnly")); break; case o.AVAILABLE_OFFLINE: (t = l().createElement(W, null)), (n = te.getMessage("oneup.headerbar.syncStatus.availableOffline")); break; case o.ONLINE_SYNCING: (t = l().createElement(Y, null)), (n = te.getMessage("oneup.headerbar.syncStatus.syncing")); break; case o.OFFLINE_SYNCING: (t = l().createElement(J, null)), (n = te.getMessage("oneup.headerbar.syncStatus.syncing")); break; case o.ERROR: (t = l().createElement(q, null)), (n = te.getMessage("oneup.headerbar.syncStatus.syncError")); } return l().createElement( d.default, { className: "syncStatusIconToolTip", placement: "bottom", trigger: ["hover"], delayShow: T, disabled: !n }, l().createElement("div", { className: "syncStatusIcon" }, t), l().createElement(p.default, null, n) ); }; const re = n(52659), oe = ["hover", "focus"], ae = ({ items: e, getMenuItems: t, cloudDocProps: n }) => { const [r, o] = (0, c.useState)(e); return l().createElement( d.default, { placement: "bottom", delayShow: T, trigger: oe, selected: !1 }, l().createElement( z(), { onClick: () => { const e = t(n); (0, i.runInAction)(() => { o(e); }); }, alignRight: !0, }, l().createElement(_(), { "data-test-id": "OneUpHeader_MoreButton", icon: l().createElement(V.Z, { size: "S" }), variant: "action", quiet: !0, className: re.icon, "aria-labelledby": "oneup-more-button-label" }), l().createElement("span", { hidden: !0, id: "oneup-more-button-label" }), l().createElement(u.Menu, null, r) ), l().createElement(p.default, null, l().createElement(m._H, { id: "oneup.headerbar.actionBtn.more" })) ); }, ie = (e) => { const { onBackClick: t, iconNode: n, directory: r, buttons: o, menuItems: a, getMenuItems: i, cloudDocProps: s } = e, c = (function (e, t) { var n = {}; for (var r in e) Object.prototype.hasOwnProperty.call(e, r) && t.indexOf(r) < 0 && (n[r] = e[r]); if (null != e && "function" == typeof Object.getOwnPropertySymbols) { var o = 0; for (r = Object.getOwnPropertySymbols(e); o < r.length; o++) t.indexOf(r[o]) < 0 && Object.prototype.propertyIsEnumerable.call(e, r[o]) && (n[r[o]] = e[r[o]]); } return n; })(e, ["onBackClick", "iconNode", "directory", "buttons", "menuItems", "getMenuItems", "cloudDocProps"]); return l().createElement( "div", { className: re.header }, (function (e, t, n) { return l().createElement( "div", { className: b()(re.headerLeft) }, e && l().createElement( d.default, { placement: "bottom", delayShow: T, trigger: "hover", selected: !1 }, l().createElement(_(), { quiet: !0, "data-test-id": "OneUpHeader_BackToFilesViewButton", variant: "action", onClick: e, "aria-labelledby": "oneup-back-button-label", icon: l().createElement(H.default, null), className: re.backButton, }), l().createElement(p.default, null, l().createElement(m._H, { id: "oneup.headerbar.backButton" })) ), t, l().createElement(d.default, { placement: "bottom", delayShow: T, trigger: "hover" }, l().createElement("span", { className: re.directory }, n), l().createElement(p.default, null, n)) ); })(t, n, r), (function (e) { const { title: t, syncStatus: n, canShowSyncStatus: r, fileType: o } = e; return l().createElement( "div", { className: b()(re.headerCenter) }, l().createElement( "div", { className: re.heading }, r && l().createElement(ne, { syncStatus: n }), l().createElement(d.default, { placement: "bottom", trigger: "hover", delayShow: T, selected: !1 }, l().createElement("p", { className: re.title }, t), l().createElement(p.default, null, t)), l().createElement("p", { className: re.fileType }, o) ) ); })(c), (function (e, t, n, r) { return l().createElement("div", { className: b()(re.headerRight) }, e && e.map((e, t) => e && l().cloneElement(e, { key: t })), t && t.length > 0 && l().createElement(ae, { items: t, getMenuItems: n, cloudDocProps: r })); })(o, a, i, s) ); }, se = n(96892), ce = (e) => { const { oneUpHeaderProps: t, oneUpIndexProps: n, children: r } = e; return l().createElement("div", { className: se.container }, l().createElement(ie, Object.assign({}, t)), l().createElement(Z, Object.assign({}, n), r)); }; var le = n(54215), ue = n.n(le), de = n(45304), pe = n.n(de), fe = n(29652), me = n(35656), he = n(10357), ve = n(52211), ye = n(57788), ge = (n(47776), (function (e) { function t() { var e, n, r, o; (0, fe.Z)(this, t); for (var a = arguments.length, i = Array(a), s = 0; s < a; s++) i[s] = arguments[s]; return ( (n = r = (0, he.Z)(this, (e = t.__proto__ || pe()(t)).call.apply(e, [this].concat(i)))), (r.state = { scrollToColumn: 0, scrollToRow: 0 }), (r._columnStartIndex = 0), (r._columnStopIndex = 0), (r._rowStartIndex = 0), (r._rowStopIndex = 0), (r._onKeyDown = function (e) { var t = r.props, n = t.columnCount, o = t.disabled, a = t.mode, i = t.rowCount; if (!o) { var s = r._getScrollState(), c = s.scrollToColumn, l = s.scrollToRow, u = r._getScrollState(), d = u.scrollToColumn, p = u.scrollToRow; switch (e.key) { case "ArrowDown": p = "cells" === a ? Math.min(p + 1, i - 1) : Math.min(r._rowStopIndex + 1, i - 1); break; case "ArrowLeft": d = "cells" === a ? Math.max(d - 1, 0) : Math.max(r._columnStartIndex - 1, 0); break; case "ArrowRight": d = "cells" === a ? Math.min(d + 1, n - 1) : Math.min(r._columnStopIndex + 1, n - 1); break; case "ArrowUp": p = "cells" === a ? Math.max(p - 1, 0) : Math.max(r._rowStartIndex - 1, 0); } (d === c && p === l) || (e.preventDefault(), r._updateScrollState({ scrollToColumn: d, scrollToRow: p })); } }), (r._onSectionRendered = function (e) { var t = e.columnStartIndex, n = e.columnStopIndex, o = e.rowStartIndex, a = e.rowStopIndex; (r._columnStartIndex = t), (r._columnStopIndex = n), (r._rowStartIndex = o), (r._rowStopIndex = a); }), (o = n), (0, he.Z)(r, o) ); } return ( (0, ve.Z)(t, e), (0, me.Z)( t, [ { key: "setScrollIndexes", value: function (e) { var t = e.scrollToColumn, n = e.scrollToRow; this.setState({ scrollToRow: n, scrollToColumn: t }); }, }, { key: "render", value: function () { var e = this.props, t = e.className, n = e.children, r = this._getScrollState(), o = r.scrollToColumn, a = r.scrollToRow; return c.createElement("div", { className: t, onKeyDown: this._onKeyDown }, n({ onSectionRendered: this._onSectionRendered, scrollToColumn: o, scrollToRow: a })); }, }, { key: "_getScrollState", value: function () { return this.props.isControlled ? this.props : this.state; }, }, { key: "_updateScrollState", value: function (e) { var t = e.scrollToColumn, n = e.scrollToRow, r = this.props, o = r.isControlled, a = r.onScrollToChange; "function" == typeof a && a({ scrollToColumn: t, scrollToRow: n }), o || this.setState({ scrollToColumn: t, scrollToRow: n }); }, }, ], [ { key: "getDerivedStateFromProps", value: function (e, t) { return e.isControlled ? null : e.scrollToColumn !== t.scrollToColumn || e.scrollToRow !== t.scrollToRow ? { scrollToColumn: e.scrollToColumn, scrollToRow: e.scrollToRow } : null; }, }, ] ), t ); })(c.PureComponent)); (ge.defaultProps = { disabled: !1, isControlled: !1, mode: "edges", scrollToColumn: 0, scrollToRow: 0 }), (ge.propTypes = null), (0, ye.polyfill)(ge); var be = n(12458); function Ee(e, t) { var r, o = void 0 !== (r = void 0 !== t ? t : "undefined" != typeof window ? window : "undefined" != typeof self ? self : n.g).document && r.document.attachEvent; if (!o) { var a = (function () { var e = r.requestAnimationFrame || r.mozRequestAnimationFrame || r.webkitRequestAnimationFrame || function (e) { return r.setTimeout(e, 20); }; return function (t) { return e(t); }; })(), i = (function () { var e = r.cancelAnimationFrame || r.mozCancelAnimationFrame || r.webkitCancelAnimationFrame || r.clearTimeout; return function (t) { return e(t); }; })(), s = function (e) { var t = e.__resizeTriggers__, n = t.firstElementChild, r = t.lastElementChild, o = n.firstElementChild; (r.scrollLeft = r.scrollWidth), (r.scrollTop = r.scrollHeight), (o.style.width = n.offsetWidth + 1 + "px"), (o.style.height = n.offsetHeight + 1 + "px"), (n.scrollLeft = n.scrollWidth), (n.scrollTop = n.scrollHeight); }, c = function (e) { if (!(e.target.className && "function" == typeof e.target.className.indexOf && e.target.className.indexOf("contract-trigger") < 0 && e.target.className.indexOf("expand-trigger") < 0)) { var t = this; s(this), this.__resizeRAF__ && i(this.__resizeRAF__), (this.__resizeRAF__ = a(function () { (function (e) { return e.offsetWidth != e.__resizeLast__.width || e.offsetHeight != e.__resizeLast__.height; })(t) && ((t.__resizeLast__.width = t.offsetWidth), (t.__resizeLast__.height = t.offsetHeight), t.__resizeListeners__.forEach(function (n) { n.call(t, e); })); })); } }, l = !1, u = "", d = "animationstart", p = "Webkit Moz O ms".split(" "), f = "webkitAnimationStart animationstart oAnimationStart MSAnimationStart".split(" "), m = r.document.createElement("fakeelement"); if ((void 0 !== m.style.animationName && (l = !0), !1 === l)) for (var h = 0; h < p.length; h++) if (void 0 !== m.style[p[h] + "AnimationName"]) { (u = "-" + p[h].toLowerCase() + "-"), (d = f[h]), (l = !0); break; } var v = "resizeanim", y = "@" + u + "keyframes " + v + " { from { opacity: 0; } to { opacity: 0; } } ", g = u + "animation: 1ms " + v + "; "; } return { addResizeListener: function (t, n) { if (o) t.attachEvent("onresize", n); else { if (!t.__resizeTriggers__) { var a = t.ownerDocument, i = r.getComputedStyle(t); i && "static" == i.position && (t.style.position = "relative"), (function (t) { if (!t.getElementById("detectElementResize")) { var n = (y || "") + ".resize-triggers { " + (g || "") + 'visibility: hidden; opacity: 0; } .resize-triggers, .resize-triggers > div, .contract-trigger:before { content: " "; display: block; position: absolute; top: 0; left: 0; height: 100%; width: 100%; overflow: hidden; z-index: -1; } .resize-triggers > div { background: #eee; overflow: auto; } .contract-trigger:before { width: 200%; height: 200%; }', r = t.head || t.getElementsByTagName("head")[0], o = t.createElement("style"); (o.id = "detectElementResize"), (o.type = "text/css"), null != e && o.setAttribute("nonce", e), o.styleSheet ? (o.styleSheet.cssText = n) : o.appendChild(t.createTextNode(n)), r.appendChild(o); } })(a), (t.__resizeLast__ = {}), (t.__resizeListeners__ = []), ((t.__resizeTriggers__ = a.createElement("div")).className = "resize-triggers"), (t.__resizeTriggers__.innerHTML = '
'), t.appendChild(t.__resizeTriggers__), s(t), t.addEventListener("scroll", c, !0), d && ((t.__resizeTriggers__.__animationListener__ = function (e) { e.animationName == v && s(t); }), t.__resizeTriggers__.addEventListener(d, t.__resizeTriggers__.__animationListener__)); } t.__resizeListeners__.push(n); } }, removeResizeListener: function (e, t) { if (o) e.detachEvent("onresize", t); else if ((e.__resizeListeners__.splice(e.__resizeListeners__.indexOf(t), 1), !e.__resizeListeners__.length)) { e.removeEventListener("scroll", c, !0), e.__resizeTriggers__.__animationListener__ && (e.__resizeTriggers__.removeEventListener(d, e.__resizeTriggers__.__animationListener__), (e.__resizeTriggers__.__animationListener__ = null)); try { e.__resizeTriggers__ = !e.removeChild(e.__resizeTriggers__); } catch (e) {} } }, }; } var De = (function (e) { function t() { var e, n, r, o; (0, fe.Z)(this, t); for (var a = arguments.length, i = Array(a), s = 0; s < a; s++) i[s] = arguments[s]; return ( (n = r = (0, he.Z)(this, (e = t.__proto__ || pe()(t)).call.apply(e, [this].concat(i)))), (r.state = { height: r.props.defaultHeight || 0, width: r.props.defaultWidth || 0 }), (r._onResize = function () { var e = r.props, t = e.disableHeight, n = e.disableWidth, o = e.onResize; if (r._parentNode) { var a = r._parentNode.offsetHeight || 0, i = r._parentNode.offsetWidth || 0, s = (r._window || window).getComputedStyle(r._parentNode) || {}, c = parseInt(s.paddingLeft, 10) || 0, l = parseInt(s.paddingRight, 10) || 0, u = parseInt(s.paddingTop, 10) || 0, d = parseInt(s.paddingBottom, 10) || 0, p = a - u - d, f = i - c - l; ((!t && r.state.height !== p) || (!n && r.state.width !== f)) && (r.setState({ height: a - u - d, width: i - c - l }), o({ height: a, width: i })); } }), (r._setRef = function (e) { r._autoSizer = e; }), (o = n), (0, he.Z)(r, o) ); } return ( (0, ve.Z)(t, e), (0, me.Z)(t, [ { key: "componentDidMount", value: function () { var e = this.props.nonce; this._autoSizer && this._autoSizer.parentNode && this._autoSizer.parentNode.ownerDocument && this._autoSizer.parentNode.ownerDocument.defaultView && this._autoSizer.parentNode instanceof this._autoSizer.parentNode.ownerDocument.defaultView.HTMLElement && ((this._parentNode = this._autoSizer.parentNode), (this._window = this._autoSizer.parentNode.ownerDocument.defaultView), (this._detectElementResize = Ee(e, this._window)), this._detectElementResize.addResizeListener(this._parentNode, this._onResize), this._onResize()); }, }, { key: "componentWillUnmount", value: function () { this._detectElementResize && this._parentNode && this._detectElementResize.removeResizeListener(this._parentNode, this._onResize); }, }, { key: "render", value: function () { var e = this.props, t = e.children, n = e.className, r = e.disableHeight, o = e.disableWidth, a = e.style, i = this.state, s = i.height, l = i.width, u = { overflow: "visible" }, d = {}; return r || ((u.height = 0), (d.height = s)), o || ((u.width = 0), (d.width = l)), c.createElement("div", { className: n, ref: this._setRef, style: (0, be.Z)({}, u, a) }, t(d)); }, }, ]), t ); })(c.PureComponent); (De.defaultProps = { onResize: function () {}, disableHeight: !1, disableWidth: !1, style: {} }), (De.propTypes = null); var Ce = (function (e) { function t() { var e, n, r, o; (0, fe.Z)(this, t); for (var a = arguments.length, i = Array(a), s = 0; s < a; s++) i[s] = arguments[s]; return ( (n = r = (0, he.Z)(this, (e = t.__proto__ || pe()(t)).call.apply(e, [this].concat(i)))), (r._measure = function () { var e = r.props, t = e.cache, n = e.columnIndex, o = void 0 === n ? 0 : n, a = e.parent, i = e.rowIndex, s = void 0 === i ? r.props.index || 0 : i, c = r._getCellMeasurements(), l = c.height, u = c.width; (l === t.getHeight(s, o) && u === t.getWidth(s, o)) || (t.set(s, o, u, l), a && "function" == typeof a.recomputeGridSize && a.recomputeGridSize({ columnIndex: o, rowIndex: s })); }), (o = n), (0, he.Z)(r, o) ); } return ( (0, ve.Z)(t, e), (0, me.Z)(t, [ { key: "componentDidMount", value: function () { this._maybeMeasureCell(); }, }, { key: "componentDidUpdate", value: function () { this._maybeMeasureCell(); }, }, { key: "render", value: function () { var e = this.props.children; return "function" == typeof e ? e({ measure: this._measure }) : e; }, }, { key: "_getCellMeasurements", value: function () { var e = this.props.cache, t = (0, E.findDOMNode)(this); if (t && t.ownerDocument && t.ownerDocument.defaultView && t instanceof t.ownerDocument.defaultView.HTMLElement) { var n = t.style.width, r = t.style.height; e.hasFixedWidth() || (t.style.width = "auto"), e.hasFixedHeight() || (t.style.height = "auto"); var o = Math.ceil(t.offsetHeight), a = Math.ceil(t.offsetWidth); return n && (t.style.width = n), r && (t.style.height = r), { height: o, width: a }; } return { height: 0, width: 0 }; }, }, { key: "_maybeMeasureCell", value: function () { var e = this.props, t = e.cache, n = e.columnIndex, r = void 0 === n ? 0 : n, o = e.parent, a = e.rowIndex, i = void 0 === a ? this.props.index || 0 : a; if (!t.has(i, r)) { var s = this._getCellMeasurements(), c = s.height, l = s.width; t.set(i, r, l, c), o && "function" == typeof o.invalidateCellSizeAfterRender && o.invalidateCellSizeAfterRender({ columnIndex: r, rowIndex: i }); } }, }, ]), t ); })(c.PureComponent); function we(e, t) { return e + "-" + t; } (Ce.__internalCellMeasurerFlag = !1), (Ce.propTypes = null), (0, me.Z)( function e() { var t = this, n = arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : {}; (0, fe.Z)(this, e), (this._cellHeightCache = {}), (this._cellWidthCache = {}), (this._columnWidthCache = {}), (this._rowHeightCache = {}), (this._columnCount = 0), (this._rowCount = 0), (this.columnWidth = function (e) { var n = e.index, r = t._keyMapper(0, n); return t._columnWidthCache.hasOwnProperty(r) ? t._columnWidthCache[r] : t._defaultWidth; }), (this.rowHeight = function (e) { var n = e.index, r = t._keyMapper(n, 0); return t._rowHeightCache.hasOwnProperty(r) ? t._rowHeightCache[r] : t._defaultHeight; }); var r = n.defaultHeight, o = n.defaultWidth, a = n.fixedHeight, i = n.fixedWidth, s = n.keyMapper, c = n.minHeight, l = n.minWidth; (this._hasFixedHeight = !0 === a), (this._hasFixedWidth = !0 === i), (this._minHeight = c || 0), (this._minWidth = l || 0), (this._keyMapper = s || we), (this._defaultHeight = Math.max(this._minHeight, "number" == typeof r ? r : 30)), (this._defaultWidth = Math.max(this._minWidth, "number" == typeof o ? o : 100)); }, [ { key: "clear", value: function (e) { var t = arguments.length > 1 && void 0 !== arguments[1] ? arguments[1] : 0, n = this._keyMapper(e, t); delete this._cellHeightCache[n], delete this._cellWidthCache[n], this._updateCachedColumnAndRowSizes(e, t); }, }, { key: "clearAll", value: function () { (this._cellHeightCache = {}), (this._cellWidthCache = {}), (this._columnWidthCache = {}), (this._rowHeightCache = {}), (this._rowCount = 0), (this._columnCount = 0); }, }, { key: "hasFixedHeight", value: function () { return this._hasFixedHeight; }, }, { key: "hasFixedWidth", value: function () { return this._hasFixedWidth; }, }, { key: "getHeight", value: function (e) { var t = arguments.length > 1 && void 0 !== arguments[1] ? arguments[1] : 0; if (this._hasFixedHeight) return this._defaultHeight; var n = this._keyMapper(e, t); return this._cellHeightCache.hasOwnProperty(n) ? Math.max(this._minHeight, this._cellHeightCache[n]) : this._defaultHeight; }, }, { key: "getWidth", value: function (e) { var t = arguments.length > 1 && void 0 !== arguments[1] ? arguments[1] : 0; if (this._hasFixedWidth) return this._defaultWidth; var n = this._keyMapper(e, t); return this._cellWidthCache.hasOwnProperty(n) ? Math.max(this._minWidth, this._cellWidthCache[n]) : this._defaultWidth; }, }, { key: "has", value: function (e) { var t = arguments.length > 1 && void 0 !== arguments[1] ? arguments[1] : 0, n = this._keyMapper(e, t); return this._cellHeightCache.hasOwnProperty(n); }, }, { key: "set", value: function (e, t, n, r) { var o = this._keyMapper(e, t); t >= this._columnCount && (this._columnCount = t + 1), e >= this._rowCount && (this._rowCount = e + 1), (this._cellHeightCache[o] = r), (this._cellWidthCache[o] = n), this._updateCachedColumnAndRowSizes(e, t); }, }, { key: "_updateCachedColumnAndRowSizes", value: function (e, t) { if (!this._hasFixedWidth) { for (var n = 0, r = 0; r < this._rowCount; r++) n = Math.max(n, this.getWidth(r, t)); var o = this._keyMapper(0, t); this._columnWidthCache[o] = n; } if (!this._hasFixedHeight) { for (var a = 0, i = 0; i < this._columnCount; i++) a = Math.max(a, this.getHeight(e, i)); var s = this._keyMapper(e, 0); this._rowHeightCache[s] = a; } }, }, { key: "defaultHeight", get: function () { return this._defaultHeight; }, }, { key: "defaultWidth", get: function () { return this._defaultWidth; }, }, ] ); var Se = n(37526); function Ae(e) { var t, n, r = ""; if (e) if ("object" == typeof e) if (e.push) for (t = 0; t < e.length; t++) e[t] && (n = Ae(e[t])) && (r && (r += " "), (r += n)); else for (t in e) e[t] && (n = Ae(t)) && (r && (r += " "), (r += n)); else "boolean" == typeof e || e.call || (r && (r += " "), (r += e)); return r; } function ke() { for (var e, t = 0, n = ""; t < arguments.length; ) (e = Ae(arguments[t++])) && (n && (n += " "), (n += e)); return n; } var _e = n(71851), Te = n.n(_e); function Ie() { var e = !(arguments.length > 0 && void 0 !== arguments[0]) || arguments[0], t = {}; return function (n) { var r = n.callback, o = n.indices, a = Te()(o), i = !e || a.every(function (e) { var t = o[e]; return Array.isArray(t) ? t.length > 0 : t >= 0; }), s = a.length !== Te()(t).length || a.some(function (e) { var n = t[e], r = o[e]; return Array.isArray(r) ? n.join(",") !== r.join(",") : n !== r; }); (t = o), i && s && r(o); }; } const Oe = !("undefined" == typeof window || !window.document || !window.document.createElement); var Fe; function xe(e) { if (((!Fe && 0 !== Fe) || e) && Oe) { var t = document.createElement("div"); (t.style.position = "absolute"), (t.style.top = "-9999px"), (t.style.width = "50px"), (t.style.height = "50px"), (t.style.overflow = "scroll"), document.body.appendChild(t), (Fe = t.offsetWidth - t.clientWidth), document.body.removeChild(t); } return Fe; } var Ne = "requested", Re = (function (e) { function t() { var e; (0, fe.Z)(this, t); for (var n = arguments.length, r = Array(n), o = 0; o < n; o++) r[o] = arguments[o]; var a = (0, he.Z)(this, (e = t.__proto__ || pe()(t)).call.apply(e, [this].concat(r))); return ( (a.state = { isScrolling: !1, scrollLeft: 0, scrollTop: 0 }), (a._calculateSizeAndPositionDataOnNextUpdate = !1), (a._onSectionRenderedMemoizer = Ie()), (a._onScrollMemoizer = Ie(!1)), (a._invokeOnSectionRenderedHelper = function () { var e = a.props, t = e.cellLayoutManager, n = e.onSectionRendered; a._onSectionRenderedMemoizer({ callback: n, indices: { indices: t.getLastRenderedIndices() } }); }), (a._setScrollingContainerRef = function (e) { a._scrollingContainer = e; }), (a._updateScrollPositionForScrollToCell = function () { var e = a.props, t = e.cellLayoutManager, n = e.height, r = e.scrollToAlignment, o = e.scrollToCell, i = e.width, s = a.state, c = s.scrollLeft, l = s.scrollTop; if (o >= 0) { var u = t.getScrollPositionForCell({ align: r, cellIndex: o, height: n, scrollLeft: c, scrollTop: l, width: i }); (u.scrollLeft === c && u.scrollTop === l) || a._setScrollPosition(u); } }), (a._onScroll = function (e) { if (e.target === a._scrollingContainer) { a._enablePointerEventsAfterDelay(); var t = a.props, n = t.cellLayoutManager, r = t.height, o = t.isScrollingChange, i = t.width, s = a._scrollbarSize, c = n.getTotalSize(), l = c.height, u = c.width, d = Math.max(0, Math.min(u - i + s, e.target.scrollLeft)), p = Math.max(0, Math.min(l - r + s, e.target.scrollTop)); if (a.state.scrollLeft !== d || a.state.scrollTop !== p) { var f = e.cancelable ? "observed" : Ne; a.state.isScrolling || o(!0), a.setState({ isScrolling: !0, scrollLeft: d, scrollPositionChangeReason: f, scrollTop: p }); } a._invokeOnScrollMemoizer({ scrollLeft: d, scrollTop: p, totalWidth: u, totalHeight: l }); } }), (a._scrollbarSize = xe()), void 0 === a._scrollbarSize ? ((a._scrollbarSizeMeasured = !1), (a._scrollbarSize = 0)) : (a._scrollbarSizeMeasured = !0), a ); } return ( (0, ve.Z)(t, e), (0, me.Z)( t, [ { key: "recomputeCellSizesAndPositions", value: function () { (this._calculateSizeAndPositionDataOnNextUpdate = !0), this.forceUpdate(); }, }, { key: "componentDidMount", value: function () { var e = this.props, t = e.cellLayoutManager, n = e.scrollLeft, r = e.scrollToCell, o = e.scrollTop; this._scrollbarSizeMeasured || ((this._scrollbarSize = xe()), (this._scrollbarSizeMeasured = !0), this.setState({})), r >= 0 ? this._updateScrollPositionForScrollToCell() : (n >= 0 || o >= 0) && this._setScrollPosition({ scrollLeft: n, scrollTop: o }), this._invokeOnSectionRenderedHelper(); var a = t.getTotalSize(), i = a.height, s = a.width; this._invokeOnScrollMemoizer({ scrollLeft: n || 0, scrollTop: o || 0, totalHeight: i, totalWidth: s }); }, }, { key: "componentDidUpdate", value: function (e, t) { var n = this.props, r = n.height, o = n.scrollToAlignment, a = n.scrollToCell, i = n.width, s = this.state, c = s.scrollLeft, l = s.scrollPositionChangeReason, u = s.scrollTop; l === Ne && (c >= 0 && c !== t.scrollLeft && c !== this._scrollingContainer.scrollLeft && (this._scrollingContainer.scrollLeft = c), u >= 0 && u !== t.scrollTop && u !== this._scrollingContainer.scrollTop && (this._scrollingContainer.scrollTop = u)), (r === e.height && o === e.scrollToAlignment && a === e.scrollToCell && i === e.width) || this._updateScrollPositionForScrollToCell(), this._invokeOnSectionRenderedHelper(); }, }, { key: "componentWillUnmount", value: function () { this._disablePointerEventsTimeoutId && clearTimeout(this._disablePointerEventsTimeoutId); }, }, { key: "render", value: function () { var e = this.props, t = e.autoHeight, n = e.cellCount, r = e.cellLayoutManager, o = e.className, a = e.height, i = e.horizontalOverscanSize, s = e.id, l = e.noContentRenderer, u = e.style, d = e.verticalOverscanSize, p = e.width, f = this.state, m = f.isScrolling, h = f.scrollLeft, v = f.scrollTop; (this._lastRenderedCellCount !== n || this._lastRenderedCellLayoutManager !== r || this._calculateSizeAndPositionDataOnNextUpdate) && ((this._lastRenderedCellCount = n), (this._lastRenderedCellLayoutManager = r), (this._calculateSizeAndPositionDataOnNextUpdate = !1), r.calculateSizeAndPositionData()); var y = r.getTotalSize(), g = y.height, b = y.width, E = Math.max(0, h - i), D = Math.max(0, v - d), C = Math.min(b, h + p + i), w = Math.min(g, v + a + d), S = a > 0 && p > 0 ? r.cellRenderers({ height: w - D, isScrolling: m, width: C - E, x: E, y: D }) : [], A = { boxSizing: "border-box", direction: "ltr", height: t ? "auto" : a, position: "relative", WebkitOverflowScrolling: "touch", width: p, willChange: "transform" }, k = g > a ? this._scrollbarSize : 0, _ = b > p ? this._scrollbarSize : 0; return ( (A.overflowX = b + k <= p ? "hidden" : "auto"), (A.overflowY = g + _ <= a ? "hidden" : "auto"), c.createElement( "div", { ref: this._setScrollingContainerRef, "aria-label": this.props["aria-label"], className: ke("ReactVirtualized__Collection", o), id: s, onScroll: this._onScroll, role: "grid", style: (0, be.Z)({}, A, u), tabIndex: 0, }, n > 0 && c.createElement("div", { className: "ReactVirtualized__Collection__innerScrollContainer", style: { height: g, maxHeight: g, maxWidth: b, overflow: "hidden", pointerEvents: m ? "none" : "", width: b } }, S), 0 === n && l() ) ); }, }, { key: "_enablePointerEventsAfterDelay", value: function () { var e = this; this._disablePointerEventsTimeoutId && clearTimeout(this._disablePointerEventsTimeoutId), (this._disablePointerEventsTimeoutId = setTimeout(function () { (0, e.props.isScrollingChange)(!1), (e._disablePointerEventsTimeoutId = null), e.setState({ isScrolling: !1 }); }, 150)); }, }, { key: "_invokeOnScrollMemoizer", value: function (e) { var t = this, n = e.scrollLeft, r = e.scrollTop, o = e.totalHeight, a = e.totalWidth; this._onScrollMemoizer({ callback: function (e) { var n = e.scrollLeft, r = e.scrollTop, i = t.props, s = i.height; (0, i.onScroll)({ clientHeight: s, clientWidth: i.width, scrollHeight: o, scrollLeft: n, scrollTop: r, scrollWidth: a }); }, indices: { scrollLeft: n, scrollTop: r }, }); }, }, { key: "_setScrollPosition", value: function (e) { var t = e.scrollLeft, n = e.scrollTop, r = { scrollPositionChangeReason: Ne }; t >= 0 && (r.scrollLeft = t), n >= 0 && (r.scrollTop = n), ((t >= 0 && t !== this.state.scrollLeft) || (n >= 0 && n !== this.state.scrollTop)) && this.setState(r); }, }, ], [ { key: "getDerivedStateFromProps", value: function (e, t) { return 0 !== e.cellCount || (0 === t.scrollLeft && 0 === t.scrollTop) ? e.scrollLeft !== t.scrollLeft || e.scrollTop !== t.scrollTop ? { scrollLeft: null != e.scrollLeft ? e.scrollLeft : t.scrollLeft, scrollTop: null != e.scrollTop ? e.scrollTop : t.scrollTop } : null : { scrollLeft: 0, scrollTop: 0 }; }, }, ] ), t ); })(c.PureComponent); (Re.defaultProps = { "aria-label": "grid", horizontalOverscanSize: 0, noContentRenderer: function () { return null; }, onScroll: function () { return null; }, onSectionRendered: function () { return null; }, scrollToAlignment: "auto", scrollToCell: -1, style: {}, verticalOverscanSize: 0, }), (Re.propTypes = {}), (0, ye.polyfill)(Re); const Le = Re, Me = (function () { function e(t) { var n = t.height, r = t.width, o = t.x, a = t.y; (0, fe.Z)(this, e), (this.height = n), (this.width = r), (this.x = o), (this.y = a), (this._indexMap = {}), (this._indices = []); } return ( (0, me.Z)(e, [ { key: "addCellIndex", value: function (e) { var t = e.index; this._indexMap[t] || ((this._indexMap[t] = !0), this._indices.push(t)); }, }, { key: "getCellIndices", value: function () { return this._indices; }, }, { key: "toString", value: function () { return this.x + "," + this.y + " " + this.width + "x" + this.height; }, }, ]), e ); })(), Pe = (function () { function e() { var t = arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : 100; (0, fe.Z)(this, e), (this._sectionSize = t), (this._cellMetadata = []), (this._sections = {}); } return ( (0, me.Z)(e, [ { key: "getCellIndices", value: function (e) { var t = e.height, n = e.width, r = e.x, o = e.y, a = {}; return ( this.getSections({ height: t, width: n, x: r, y: o }).forEach(function (e) { return e.getCellIndices().forEach(function (e) { a[e] = e; }); }), Te()(a).map(function (e) { return a[e]; }) ); }, }, { key: "getCellMetadata", value: function (e) { var t = e.index; return this._cellMetadata[t]; }, }, { key: "getSections", value: function (e) { for ( var t = e.height, n = e.width, r = e.x, o = e.y, a = Math.floor(r / this._sectionSize), i = Math.floor((r + n - 1) / this._sectionSize), s = Math.floor(o / this._sectionSize), c = Math.floor((o + t - 1) / this._sectionSize), l = [], u = a; u <= i; u++ ) for (var d = s; d <= c; d++) { var p = u + "." + d; this._sections[p] || (this._sections[p] = new Me({ height: this._sectionSize, width: this._sectionSize, x: u * this._sectionSize, y: d * this._sectionSize })), l.push(this._sections[p]); } return l; }, }, { key: "getTotalSectionCount", value: function () { return Te()(this._sections).length; }, }, { key: "toString", value: function () { var e = this; return Te()(this._sections).map(function (t) { return e._sections[t].toString(); }); }, }, { key: "registerCell", value: function (e) { var t = e.cellMetadatum, n = e.index; (this._cellMetadata[n] = t), this.getSections(t).forEach(function (e) { return e.addCellIndex({ index: n }); }); }, }, ]), e ); })(); function je(e) { var t = e.align, n = void 0 === t ? "auto" : t, r = e.cellOffset, o = e.cellSize, a = e.containerSize, i = e.currentOffset, s = r, c = s - a + o; switch (n) { case "start": return s; case "end": return c; case "center": return s - (a - o) / 2; default: return Math.max(c, Math.min(s, i)); } } var Be = (function (e) { function t(e, n) { (0, fe.Z)(this, t); var r = (0, he.Z)(this, (t.__proto__ || pe()(t)).call(this, e, n)); return (r._cellMetadata = []), (r._lastRenderedCellIndices = []), (r._cellCache = []), (r._isScrollingChange = r._isScrollingChange.bind(r)), (r._setCollectionViewRef = r._setCollectionViewRef.bind(r)), r; } return ( (0, ve.Z)(t, e), (0, me.Z)(t, [ { key: "forceUpdate", value: function () { void 0 !== this._collectionView && this._collectionView.forceUpdate(); }, }, { key: "recomputeCellSizesAndPositions", value: function () { (this._cellCache = []), this._collectionView.recomputeCellSizesAndPositions(); }, }, { key: "render", value: function () { var e = (0, Se.Z)(this.props, []); return c.createElement(Le, (0, be.Z)({ cellLayoutManager: this, isScrollingChange: this._isScrollingChange, ref: this._setCollectionViewRef }, e)); }, }, { key: "calculateSizeAndPositionData", value: function () { var e = this.props, t = (function (e) { for (var t = e.cellCount, n = e.cellSizeAndPositionGetter, r = [], o = new Pe(e.sectionSize), a = 0, i = 0, s = 0; s < t; s++) { var c = n({ index: s }); if (null == c.height || isNaN(c.height) || null == c.width || isNaN(c.width) || null == c.x || isNaN(c.x) || null == c.y || isNaN(c.y)) throw Error("Invalid metadata returned for cell " + s + ":\n x:" + c.x + ", y:" + c.y + ", width:" + c.width + ", height:" + c.height); (a = Math.max(a, c.y + c.height)), (i = Math.max(i, c.x + c.width)), (r[s] = c), o.registerCell({ cellMetadatum: c, index: s }); } return { cellMetadata: r, height: a, sectionManager: o, width: i }; })({ cellCount: e.cellCount, cellSizeAndPositionGetter: e.cellSizeAndPositionGetter, sectionSize: e.sectionSize }); (this._cellMetadata = t.cellMetadata), (this._sectionManager = t.sectionManager), (this._height = t.height), (this._width = t.width); }, }, { key: "getLastRenderedIndices", value: function () { return this._lastRenderedCellIndices; }, }, { key: "getScrollPositionForCell", value: function (e) { var t = e.align, n = e.cellIndex, r = e.height, o = e.scrollLeft, a = e.scrollTop, i = e.width, s = this.props.cellCount; if (n >= 0 && n < s) { var c = this._cellMetadata[n]; (o = je({ align: t, cellOffset: c.x, cellSize: c.width, containerSize: i, currentOffset: o, targetIndex: n })), (a = je({ align: t, cellOffset: c.y, cellSize: c.height, containerSize: r, currentOffset: a, targetIndex: n })); } return { scrollLeft: o, scrollTop: a }; }, }, { key: "getTotalSize", value: function () { return { height: this._height, width: this._width }; }, }, { key: "cellRenderers", value: function (e) { var t = this, n = e.height, r = e.isScrolling, o = e.width, a = e.x, i = e.y, s = this.props, c = s.cellGroupRenderer, l = s.cellRenderer; return ( (this._lastRenderedCellIndices = this._sectionManager.getCellIndices({ height: n, width: o, x: a, y: i })), c({ cellCache: this._cellCache, cellRenderer: l, cellSizeAndPositionGetter: function (e) { var n = e.index; return t._sectionManager.getCellMetadata({ index: n }); }, indices: this._lastRenderedCellIndices, isScrolling: r, }) ); }, }, { key: "_isScrollingChange", value: function (e) { e || (this._cellCache = []); }, }, { key: "_setCollectionViewRef", value: function (e) { this._collectionView = e; }, }, ]), t ); })(c.PureComponent); (Be.defaultProps = { "aria-label": "grid", cellGroupRenderer: function (e) { var t = e.cellCache, n = e.cellRenderer, r = e.cellSizeAndPositionGetter, o = e.indices, a = e.isScrolling; return o .map(function (e) { var o = r({ index: e }), i = { index: e, isScrolling: a, key: e, style: { height: o.height, left: o.x, position: "absolute", top: o.y, width: o.width } }; return a ? (e in t || (t[e] = n(i)), t[e]) : n(i); }) .filter(function (e) { return !!e; }); }, }), (Be.propTypes = {}), ((function (e) { function t(e, n) { (0, fe.Z)(this, t); var r = (0, he.Z)(this, (t.__proto__ || pe()(t)).call(this, e, n)); return (r._registerChild = r._registerChild.bind(r)), r; } return ( (0, ve.Z)(t, e), (0, me.Z)(t, [ { key: "componentDidUpdate", value: function (e) { var t = this.props, n = t.columnMaxWidth, r = t.columnMinWidth, o = t.columnCount, a = t.width; (n === e.columnMaxWidth && r === e.columnMinWidth && o === e.columnCount && a === e.width) || (this._registeredChild && this._registeredChild.recomputeGridSize()); }, }, { key: "render", value: function () { var e = this.props, t = e.children, n = e.columnMaxWidth, r = e.columnMinWidth, o = e.columnCount, a = e.width, i = r || 1, s = n ? Math.min(n, a) : a, c = a / o; return ( (c = Math.max(i, c)), (c = Math.min(s, c)), (c = Math.floor(c)), t({ adjustedWidth: Math.min(a, c * o), columnWidth: c, getColumnWidth: function () { return c; }, registerChild: this._registerChild, }) ); }, }, { key: "_registerChild", value: function (e) { if (e && "function" != typeof e.recomputeGridSize) throw Error("Unexpected child type registered; only Grid/MultiGrid children are supported."); (this._registeredChild = e), this._registeredChild && this._registeredChild.recomputeGridSize(); }, }, ]), t ); })(c.PureComponent).propTypes = {}); var Ze = n(10099), Ue = n.n(Ze); function ze(e) { var t = e.cellCount, n = e.cellSize, r = e.computeMetadataCallback, o = e.computeMetadataCallbackProps, a = e.nextCellsCount, i = e.nextCellSize, s = e.nextScrollToIndex, c = e.scrollToIndex, l = e.updateScrollOffsetForScrollToIndex; (t === a && (("number" != typeof n && "number" != typeof i) || n === i)) || (r(o), c >= 0 && c === s && l()); } const Ve = (function () { function e(t) { var n = t.cellCount, r = t.cellSizeGetter, o = t.estimatedCellSize; (0, fe.Z)(this, e), (this._cellSizeAndPositionData = {}), (this._lastMeasuredIndex = -1), (this._lastBatchedIndex = -1), (this._cellSizeGetter = r), (this._cellCount = n), (this._estimatedCellSize = o); } return ( (0, me.Z)(e, [ { key: "areOffsetsAdjusted", value: function () { return !1; }, }, { key: "configure", value: function (e) { var t = e.cellCount, n = e.estimatedCellSize, r = e.cellSizeGetter; (this._cellCount = t), (this._estimatedCellSize = n), (this._cellSizeGetter = r); }, }, { key: "getCellCount", value: function () { return this._cellCount; }, }, { key: "getEstimatedCellSize", value: function () { return this._estimatedCellSize; }, }, { key: "getLastMeasuredIndex", value: function () { return this._lastMeasuredIndex; }, }, { key: "getOffsetAdjustment", value: function () { return 0; }, }, { key: "getSizeAndPositionOfCell", value: function (e) { if (e < 0 || e >= this._cellCount) throw Error("Requested index " + e + " is outside of range 0.." + this._cellCount); if (e > this._lastMeasuredIndex) for (var t = this.getSizeAndPositionOfLastMeasuredCell(), n = t.offset + t.size, r = this._lastMeasuredIndex + 1; r <= e; r++) { var o = this._cellSizeGetter({ index: r }); if (void 0 === o || isNaN(o)) throw Error("Invalid size returned for cell " + r + " of value " + o); null === o ? ((this._cellSizeAndPositionData[r] = { offset: n, size: 0 }), (this._lastBatchedIndex = e)) : ((this._cellSizeAndPositionData[r] = { offset: n, size: o }), (n += o), (this._lastMeasuredIndex = e)); } return this._cellSizeAndPositionData[e]; }, }, { key: "getSizeAndPositionOfLastMeasuredCell", value: function () { return this._lastMeasuredIndex >= 0 ? this._cellSizeAndPositionData[this._lastMeasuredIndex] : { offset: 0, size: 0 }; }, }, { key: "getTotalSize", value: function () { var e = this.getSizeAndPositionOfLastMeasuredCell(); return e.offset + e.size + (this._cellCount - this._lastMeasuredIndex - 1) * this._estimatedCellSize; }, }, { key: "getUpdatedOffsetForIndex", value: function (e) { var t = e.align, n = void 0 === t ? "auto" : t, r = e.containerSize, o = e.currentOffset, a = e.targetIndex; if (r <= 0) return 0; var i = this.getSizeAndPositionOfCell(a), s = i.offset, c = s - r + i.size, l = void 0; switch (n) { case "start": l = s; break; case "end": l = c; break; case "center": l = s - (r - i.size) / 2; break; default: l = Math.max(c, Math.min(s, o)); } var u = this.getTotalSize(); return Math.max(0, Math.min(u - r, l)); }, }, { key: "getVisibleCellRange", value: function (e) { var t = e.containerSize, n = e.offset; if (0 === this.getTotalSize()) return {}; var r = n + t, o = this._findNearestCell(n), a = this.getSizeAndPositionOfCell(o); n = a.offset + a.size; for (var i = o; n < r && i < this._cellCount - 1; ) i++, (n += this.getSizeAndPositionOfCell(i).size); return { start: o, stop: i }; }, }, { key: "resetCell", value: function (e) { this._lastMeasuredIndex = Math.min(this._lastMeasuredIndex, e - 1); }, }, { key: "_binarySearch", value: function (e, t, n) { for (; t <= e; ) { var r = t + Math.floor((e - t) / 2), o = this.getSizeAndPositionOfCell(r).offset; if (o === n) return r; o < n ? (t = r + 1) : o > n && (e = r - 1); } return t > 0 ? t - 1 : 0; }, }, { key: "_exponentialSearch", value: function (e, t) { for (var n = 1; e < this._cellCount && this.getSizeAndPositionOfCell(e).offset < t; ) (e += n), (n *= 2); return this._binarySearch(Math.min(e, this._cellCount - 1), Math.floor(e / 2), t); }, }, { key: "_findNearestCell", value: function (e) { if (isNaN(e)) throw Error("Invalid offset " + e + " specified"); e = Math.max(0, e); var t = this.getSizeAndPositionOfLastMeasuredCell(), n = Math.max(0, this._lastMeasuredIndex); return t.offset >= e ? this._binarySearch(n, 0, e) : this._exponentialSearch(n, e); }, }, ]), e ); })(); const He = (function () { function e(t) { var n = t.maxScrollSize, r = void 0 === n ? ("undefined" != typeof window && window.chrome ? 16777100 : 15e5) : n, o = (0, Se.Z)(t, ["maxScrollSize"]); (0, fe.Z)(this, e), (this._cellSizeAndPositionManager = new Ve(o)), (this._maxScrollSize = r); } return ( (0, me.Z)(e, [ { key: "areOffsetsAdjusted", value: function () { return this._cellSizeAndPositionManager.getTotalSize() > this._maxScrollSize; }, }, { key: "configure", value: function (e) { this._cellSizeAndPositionManager.configure(e); }, }, { key: "getCellCount", value: function () { return this._cellSizeAndPositionManager.getCellCount(); }, }, { key: "getEstimatedCellSize", value: function () { return this._cellSizeAndPositionManager.getEstimatedCellSize(); }, }, { key: "getLastMeasuredIndex", value: function () { return this._cellSizeAndPositionManager.getLastMeasuredIndex(); }, }, { key: "getOffsetAdjustment", value: function (e) { var t = e.containerSize, n = e.offset, r = this._cellSizeAndPositionManager.getTotalSize(), o = this.getTotalSize(), a = this._getOffsetPercentage({ containerSize: t, offset: n, totalSize: o }); return Math.round(a * (o - r)); }, }, { key: "getSizeAndPositionOfCell", value: function (e) { return this._cellSizeAndPositionManager.getSizeAndPositionOfCell(e); }, }, { key: "getSizeAndPositionOfLastMeasuredCell", value: function () { return this._cellSizeAndPositionManager.getSizeAndPositionOfLastMeasuredCell(); }, }, { key: "getTotalSize", value: function () { return Math.min(this._maxScrollSize, this._cellSizeAndPositionManager.getTotalSize()); }, }, { key: "getUpdatedOffsetForIndex", value: function (e) { var t = e.align, n = void 0 === t ? "auto" : t, r = e.containerSize, o = e.currentOffset, a = e.targetIndex; o = this._safeOffsetToOffset({ containerSize: r, offset: o }); var i = this._cellSizeAndPositionManager.getUpdatedOffsetForIndex({ align: n, containerSize: r, currentOffset: o, targetIndex: a }); return this._offsetToSafeOffset({ containerSize: r, offset: i }); }, }, { key: "getVisibleCellRange", value: function (e) { var t = e.containerSize, n = e.offset; return (n = this._safeOffsetToOffset({ containerSize: t, offset: n })), this._cellSizeAndPositionManager.getVisibleCellRange({ containerSize: t, offset: n }); }, }, { key: "resetCell", value: function (e) { this._cellSizeAndPositionManager.resetCell(e); }, }, { key: "_getOffsetPercentage", value: function (e) { var t = e.containerSize, n = e.offset, r = e.totalSize; return r <= t ? 0 : n / (r - t); }, }, { key: "_offsetToSafeOffset", value: function (e) { var t = e.containerSize, n = e.offset, r = this._cellSizeAndPositionManager.getTotalSize(), o = this.getTotalSize(); if (r === o) return n; var a = this._getOffsetPercentage({ containerSize: t, offset: n, totalSize: r }); return Math.round(a * (o - t)); }, }, { key: "_safeOffsetToOffset", value: function (e) { var t = e.containerSize, n = e.offset, r = this._cellSizeAndPositionManager.getTotalSize(), o = this.getTotalSize(); if (r === o) return n; var a = this._getOffsetPercentage({ containerSize: t, offset: n, totalSize: o }); return Math.round(a * (r - t)); }, }, ]), e ); })(); function Ge(e) { var t = e.cellSize, n = e.cellSizeAndPositionManager, r = e.previousCellsCount, o = e.previousCellSize, a = e.previousScrollToAlignment, i = e.previousScrollToIndex, s = e.previousSize, c = e.scrollOffset, l = e.scrollToAlignment, u = e.scrollToIndex, d = e.size, p = e.sizeJustIncreasedFromZero, f = e.updateScrollIndexCallback, m = n.getCellCount(), h = u >= 0 && u < m; h && (d !== s || p || !o || ("number" == typeof t && t !== o) || l !== a || u !== i) ? f(u) : !h && m > 0 && (d < s || m < r) && c > n.getTotalSize() - d && f(m - 1); } var We = n(14130), Qe = n.n(We), Je = void 0, Ye = (Je = "undefined" != typeof window ? window : "undefined" != typeof self ? self : {}).requestAnimationFrame || Je.webkitRequestAnimationFrame || Je.mozRequestAnimationFrame || Je.oRequestAnimationFrame || Je.msRequestAnimationFrame || function (e) { return Je.setTimeout(e, 1e3 / 60); }, qe = Je.cancelAnimationFrame || Je.webkitCancelAnimationFrame || Je.mozCancelAnimationFrame || Je.oCancelAnimationFrame || Je.msCancelAnimationFrame || function (e) { Je.clearTimeout(e); }, Xe = Ye, Ke = qe, $e = function (e) { return Ke(e.id); }, et = function (e, t) { var n = void 0; Qe() .resolve() .then(function () { n = Date.now(); }); var r = { id: Xe(function o() { Date.now() - n >= t ? e.call() : (r.id = Xe(o)); }), }; return r; }, tt = "requested", nt = (function (e) { function t(e) { (0, fe.Z)(this, t); var n = (0, he.Z)(this, (t.__proto__ || pe()(t)).call(this, e)); (n._onGridRenderedMemoizer = Ie()), (n._onScrollMemoizer = Ie(!1)), (n._deferredInvalidateColumnIndex = null), (n._deferredInvalidateRowIndex = null), (n._recomputeScrollLeftFlag = !1), (n._recomputeScrollTopFlag = !1), (n._horizontalScrollBarSize = 0), (n._verticalScrollBarSize = 0), (n._scrollbarPresenceChanged = !1), (n._renderedColumnStartIndex = 0), (n._renderedColumnStopIndex = 0), (n._renderedRowStartIndex = 0), (n._renderedRowStopIndex = 0), (n._styleCache = {}), (n._cellCache = {}), (n._debounceScrollEndedCallback = function () { (n._disablePointerEventsTimeoutId = null), n.setState({ isScrolling: !1, needToResetStyleCache: !1 }); }), (n._invokeOnGridRenderedHelper = function () { var e = n.props.onSectionRendered; n._onGridRenderedMemoizer({ callback: e, indices: { columnOverscanStartIndex: n._columnStartIndex, columnOverscanStopIndex: n._columnStopIndex, columnStartIndex: n._renderedColumnStartIndex, columnStopIndex: n._renderedColumnStopIndex, rowOverscanStartIndex: n._rowStartIndex, rowOverscanStopIndex: n._rowStopIndex, rowStartIndex: n._renderedRowStartIndex, rowStopIndex: n._renderedRowStopIndex, }, }); }), (n._setScrollingContainerRef = function (e) { n._scrollingContainer = e; }), (n._onScroll = function (e) { e.target === n._scrollingContainer && n.handleScrollEvent(e.target); }); var r = new He({ cellCount: e.columnCount, cellSizeGetter: function (n) { return t._wrapSizeGetter(e.columnWidth)(n); }, estimatedCellSize: t._getEstimatedColumnSize(e), }), o = new He({ cellCount: e.rowCount, cellSizeGetter: function (n) { return t._wrapSizeGetter(e.rowHeight)(n); }, estimatedCellSize: t._getEstimatedRowSize(e), }); return ( (n.state = { instanceProps: { columnSizeAndPositionManager: r, rowSizeAndPositionManager: o, prevColumnWidth: e.columnWidth, prevRowHeight: e.rowHeight, prevColumnCount: e.columnCount, prevRowCount: e.rowCount, prevIsScrolling: !0 === e.isScrolling, prevScrollToColumn: e.scrollToColumn, prevScrollToRow: e.scrollToRow, scrollbarSize: 0, scrollbarSizeMeasured: !1, }, isScrolling: !1, scrollDirectionHorizontal: 1, scrollDirectionVertical: 1, scrollLeft: 0, scrollTop: 0, scrollPositionChangeReason: null, needToResetStyleCache: !1, }), e.scrollToRow > 0 && (n._initialScrollTop = n._getCalculatedScrollTop(e, n.state)), e.scrollToColumn > 0 && (n._initialScrollLeft = n._getCalculatedScrollLeft(e, n.state)), n ); } return ( (0, ve.Z)(t, e), (0, me.Z)( t, [ { key: "getOffsetForCell", value: function () { var e = arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : {}, t = e.alignment, n = void 0 === t ? this.props.scrollToAlignment : t, r = e.columnIndex, o = void 0 === r ? this.props.scrollToColumn : r, a = e.rowIndex, i = void 0 === a ? this.props.scrollToRow : a, s = (0, be.Z)({}, this.props, { scrollToAlignment: n, scrollToColumn: o, scrollToRow: i }); return { scrollLeft: this._getCalculatedScrollLeft(s), scrollTop: this._getCalculatedScrollTop(s) }; }, }, { key: "getTotalRowsHeight", value: function () { return this.state.instanceProps.rowSizeAndPositionManager.getTotalSize(); }, }, { key: "getTotalColumnsWidth", value: function () { return this.state.instanceProps.columnSizeAndPositionManager.getTotalSize(); }, }, { key: "handleScrollEvent", value: function (e) { var t = e.scrollLeft, n = void 0 === t ? 0 : t, r = e.scrollTop, o = void 0 === r ? 0 : r; if (!(o < 0)) { this._debounceScrollEnded(); var a = this.props, i = a.autoHeight, s = a.autoWidth, c = a.height, l = a.width, u = this.state.instanceProps, d = u.scrollbarSize, p = u.rowSizeAndPositionManager.getTotalSize(), f = u.columnSizeAndPositionManager.getTotalSize(), m = Math.min(Math.max(0, f - l + d), n), h = Math.min(Math.max(0, p - c + d), o); if (this.state.scrollLeft !== m || this.state.scrollTop !== h) { var v = { isScrolling: !0, scrollDirectionHorizontal: m !== this.state.scrollLeft ? (m > this.state.scrollLeft ? 1 : -1) : this.state.scrollDirectionHorizontal, scrollDirectionVertical: h !== this.state.scrollTop ? (h > this.state.scrollTop ? 1 : -1) : this.state.scrollDirectionVertical, scrollPositionChangeReason: "observed", }; i || (v.scrollTop = h), s || (v.scrollLeft = m), (v.needToResetStyleCache = !1), this.setState(v); } this._invokeOnScrollMemoizer({ scrollLeft: m, scrollTop: h, totalColumnsWidth: f, totalRowsHeight: p }); } }, }, { key: "invalidateCellSizeAfterRender", value: function (e) { var t = e.columnIndex, n = e.rowIndex; (this._deferredInvalidateColumnIndex = "number" == typeof this._deferredInvalidateColumnIndex ? Math.min(this._deferredInvalidateColumnIndex, t) : t), (this._deferredInvalidateRowIndex = "number" == typeof this._deferredInvalidateRowIndex ? Math.min(this._deferredInvalidateRowIndex, n) : n); }, }, { key: "measureAllCells", value: function () { var e = this.props, t = e.columnCount, n = e.rowCount, r = this.state.instanceProps; r.columnSizeAndPositionManager.getSizeAndPositionOfCell(t - 1), r.rowSizeAndPositionManager.getSizeAndPositionOfCell(n - 1); }, }, { key: "recomputeGridSize", value: function () { var e = arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : {}, t = e.columnIndex, n = void 0 === t ? 0 : t, r = e.rowIndex, o = void 0 === r ? 0 : r, a = this.props, i = a.scrollToColumn, s = a.scrollToRow, c = this.state.instanceProps; c.columnSizeAndPositionManager.resetCell(n), c.rowSizeAndPositionManager.resetCell(o), (this._recomputeScrollLeftFlag = i >= 0 && (1 === this.state.scrollDirectionHorizontal ? n <= i : n >= i)), (this._recomputeScrollTopFlag = s >= 0 && (1 === this.state.scrollDirectionVertical ? o <= s : o >= s)), (this._styleCache = {}), (this._cellCache = {}), this.forceUpdate(); }, }, { key: "scrollToCell", value: function (e) { var t = e.columnIndex, n = e.rowIndex, r = this.props.columnCount, o = this.props; r > 1 && void 0 !== t && this._updateScrollLeftForScrollToColumn((0, be.Z)({}, o, { scrollToColumn: t })), void 0 !== n && this._updateScrollTopForScrollToRow((0, be.Z)({}, o, { scrollToRow: n })); }, }, { key: "componentDidMount", value: function () { var e = this.props, n = e.getScrollbarSize, r = e.height, o = e.scrollLeft, a = e.scrollToColumn, i = e.scrollTop, s = e.scrollToRow, c = e.width, l = this.state.instanceProps; if ( ((this._initialScrollTop = 0), (this._initialScrollLeft = 0), this._handleInvalidatedGridSize(), l.scrollbarSizeMeasured || this.setState(function (e) { var t = (0, be.Z)({}, e, { needToResetStyleCache: !1 }); return (t.instanceProps.scrollbarSize = n()), (t.instanceProps.scrollbarSizeMeasured = !0), t; }), ("number" == typeof o && o >= 0) || ("number" == typeof i && i >= 0)) ) { var u = t._getScrollToPositionStateUpdate({ prevState: this.state, scrollLeft: o, scrollTop: i }); u && ((u.needToResetStyleCache = !1), this.setState(u)); } this._scrollingContainer && (this._scrollingContainer.scrollLeft !== this.state.scrollLeft && (this._scrollingContainer.scrollLeft = this.state.scrollLeft), this._scrollingContainer.scrollTop !== this.state.scrollTop && (this._scrollingContainer.scrollTop = this.state.scrollTop)); var d = r > 0 && c > 0; a >= 0 && d && this._updateScrollLeftForScrollToColumn(), s >= 0 && d && this._updateScrollTopForScrollToRow(), this._invokeOnGridRenderedHelper(), this._invokeOnScrollMemoizer({ scrollLeft: o || 0, scrollTop: i || 0, totalColumnsWidth: l.columnSizeAndPositionManager.getTotalSize(), totalRowsHeight: l.rowSizeAndPositionManager.getTotalSize() }), this._maybeCallOnScrollbarPresenceChange(); }, }, { key: "componentDidUpdate", value: function (e, t) { var n = this, r = this.props, o = r.autoHeight, a = r.autoWidth, i = r.columnCount, s = r.height, c = r.rowCount, l = r.scrollToAlignment, u = r.scrollToColumn, d = r.scrollToRow, p = r.width, f = this.state, m = f.scrollLeft, h = f.scrollPositionChangeReason, v = f.scrollTop, y = f.instanceProps; this._handleInvalidatedGridSize(); var g = (i > 0 && 0 === e.columnCount) || (c > 0 && 0 === e.rowCount); h === tt && (!a && m >= 0 && (m !== this._scrollingContainer.scrollLeft || g) && (this._scrollingContainer.scrollLeft = m), !o && v >= 0 && (v !== this._scrollingContainer.scrollTop || g) && (this._scrollingContainer.scrollTop = v)); var b = (0 === e.width || 0 === e.height) && s > 0 && p > 0; if ( (this._recomputeScrollLeftFlag ? ((this._recomputeScrollLeftFlag = !1), this._updateScrollLeftForScrollToColumn(this.props)) : Ge({ cellSizeAndPositionManager: y.columnSizeAndPositionManager, previousCellsCount: e.columnCount, previousCellSize: e.columnWidth, previousScrollToAlignment: e.scrollToAlignment, previousScrollToIndex: e.scrollToColumn, previousSize: e.width, scrollOffset: m, scrollToAlignment: l, scrollToIndex: u, size: p, sizeJustIncreasedFromZero: b, updateScrollIndexCallback: function () { return n._updateScrollLeftForScrollToColumn(n.props); }, }), this._recomputeScrollTopFlag ? ((this._recomputeScrollTopFlag = !1), this._updateScrollTopForScrollToRow(this.props)) : Ge({ cellSizeAndPositionManager: y.rowSizeAndPositionManager, previousCellsCount: e.rowCount, previousCellSize: e.rowHeight, previousScrollToAlignment: e.scrollToAlignment, previousScrollToIndex: e.scrollToRow, previousSize: e.height, scrollOffset: v, scrollToAlignment: l, scrollToIndex: d, size: s, sizeJustIncreasedFromZero: b, updateScrollIndexCallback: function () { return n._updateScrollTopForScrollToRow(n.props); }, }), this._invokeOnGridRenderedHelper(), m !== t.scrollLeft || v !== t.scrollTop) ) { var E = y.rowSizeAndPositionManager.getTotalSize(), D = y.columnSizeAndPositionManager.getTotalSize(); this._invokeOnScrollMemoizer({ scrollLeft: m, scrollTop: v, totalColumnsWidth: D, totalRowsHeight: E }); } this._maybeCallOnScrollbarPresenceChange(); }, }, { key: "componentWillUnmount", value: function () { this._disablePointerEventsTimeoutId && $e(this._disablePointerEventsTimeoutId); }, }, { key: "render", value: function () { var e = this.props, t = e.autoContainerWidth, n = e.autoHeight, r = e.autoWidth, o = e.className, a = e.containerProps, i = e.containerRole, s = e.containerStyle, l = e.height, u = e.id, d = e.noContentRenderer, p = e.role, f = e.style, m = e.tabIndex, h = e.width, v = this.state, y = v.instanceProps, g = v.needToResetStyleCache, b = this._isScrolling(), E = { boxSizing: "border-box", direction: "ltr", height: n ? "auto" : l, position: "relative", width: r ? "auto" : h, WebkitOverflowScrolling: "touch", willChange: "transform" }; g && (this._styleCache = {}), this.state.isScrolling || this._resetStyleCache(), this._calculateChildrenToRender(this.props, this.state); var D = y.columnSizeAndPositionManager.getTotalSize(), C = y.rowSizeAndPositionManager.getTotalSize(), w = C > l ? y.scrollbarSize : 0, S = D > h ? y.scrollbarSize : 0; (S === this._horizontalScrollBarSize && w === this._verticalScrollBarSize) || ((this._horizontalScrollBarSize = S), (this._verticalScrollBarSize = w), (this._scrollbarPresenceChanged = !0)), (E.overflowX = D + w <= h ? "hidden" : "auto"), (E.overflowY = C + S <= l ? "hidden" : "auto"); var A = this._childrenToDisplay, k = 0 === A.length && l > 0 && h > 0; return c.createElement( "div", (0, be.Z)({ ref: this._setScrollingContainerRef }, a, { "aria-label": this.props["aria-label"], "aria-readonly": this.props["aria-readonly"], className: ke("ReactVirtualized__Grid", o), id: u, onScroll: this._onScroll, role: p, style: (0, be.Z)({}, E, f), tabIndex: m, }), A.length > 0 && c.createElement( "div", { className: "ReactVirtualized__Grid__innerScrollContainer", role: i, style: (0, be.Z)({ width: t ? "auto" : D, height: C, maxWidth: D, maxHeight: C, overflow: "hidden", pointerEvents: b ? "none" : "", position: "relative" }, s), }, A ), k && d() ); }, }, { key: "_calculateChildrenToRender", value: function () { var e = arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : this.props, t = arguments.length > 1 && void 0 !== arguments[1] ? arguments[1] : this.state, n = e.cellRenderer, r = e.cellRangeRenderer, o = e.columnCount, a = e.deferredMeasurementCache, i = e.height, s = e.overscanColumnCount, c = e.overscanIndicesGetter, l = e.overscanRowCount, u = e.rowCount, d = e.width, p = e.isScrollingOptOut, f = t.scrollDirectionHorizontal, m = t.scrollDirectionVertical, h = t.instanceProps, v = this._initialScrollTop > 0 ? this._initialScrollTop : t.scrollTop, y = this._initialScrollLeft > 0 ? this._initialScrollLeft : t.scrollLeft, g = this._isScrolling(e, t); if (((this._childrenToDisplay = []), i > 0 && d > 0)) { var b = h.columnSizeAndPositionManager.getVisibleCellRange({ containerSize: d, offset: y }), E = h.rowSizeAndPositionManager.getVisibleCellRange({ containerSize: i, offset: v }), D = h.columnSizeAndPositionManager.getOffsetAdjustment({ containerSize: d, offset: y }), C = h.rowSizeAndPositionManager.getOffsetAdjustment({ containerSize: i, offset: v }); (this._renderedColumnStartIndex = b.start), (this._renderedColumnStopIndex = b.stop), (this._renderedRowStartIndex = E.start), (this._renderedRowStopIndex = E.stop); var w = c({ direction: "horizontal", cellCount: o, overscanCellsCount: s, scrollDirection: f, startIndex: "number" == typeof b.start ? b.start : 0, stopIndex: "number" == typeof b.stop ? b.stop : -1 }), S = c({ direction: "vertical", cellCount: u, overscanCellsCount: l, scrollDirection: m, startIndex: "number" == typeof E.start ? E.start : 0, stopIndex: "number" == typeof E.stop ? E.stop : -1 }), A = w.overscanStartIndex, k = w.overscanStopIndex, _ = S.overscanStartIndex, T = S.overscanStopIndex; if (a) { if (!a.hasFixedHeight()) for (var I = _; I <= T; I++) if (!a.has(I, 0)) { (A = 0), (k = o - 1); break; } if (!a.hasFixedWidth()) for (var O = A; O <= k; O++) if (!a.has(0, O)) { (_ = 0), (T = u - 1); break; } } (this._childrenToDisplay = r({ cellCache: this._cellCache, cellRenderer: n, columnSizeAndPositionManager: h.columnSizeAndPositionManager, columnStartIndex: A, columnStopIndex: k, deferredMeasurementCache: a, horizontalOffsetAdjustment: D, isScrolling: g, isScrollingOptOut: p, parent: this, rowSizeAndPositionManager: h.rowSizeAndPositionManager, rowStartIndex: _, rowStopIndex: T, scrollLeft: y, scrollTop: v, styleCache: this._styleCache, verticalOffsetAdjustment: C, visibleColumnIndices: b, visibleRowIndices: E, })), (this._columnStartIndex = A), (this._columnStopIndex = k), (this._rowStartIndex = _), (this._rowStopIndex = T); } }, }, { key: "_debounceScrollEnded", value: function () { var e = this.props.scrollingResetTimeInterval; this._disablePointerEventsTimeoutId && $e(this._disablePointerEventsTimeoutId), (this._disablePointerEventsTimeoutId = et(this._debounceScrollEndedCallback, e)); }, }, { key: "_handleInvalidatedGridSize", value: function () { if ("number" == typeof this._deferredInvalidateColumnIndex && "number" == typeof this._deferredInvalidateRowIndex) { var e = this._deferredInvalidateColumnIndex, t = this._deferredInvalidateRowIndex; (this._deferredInvalidateColumnIndex = null), (this._deferredInvalidateRowIndex = null), this.recomputeGridSize({ columnIndex: e, rowIndex: t }); } }, }, { key: "_invokeOnScrollMemoizer", value: function (e) { var t = this, n = e.scrollLeft, r = e.scrollTop, o = e.totalColumnsWidth, a = e.totalRowsHeight; this._onScrollMemoizer({ callback: function (e) { var n = e.scrollLeft, r = e.scrollTop, i = t.props, s = i.height; (0, i.onScroll)({ clientHeight: s, clientWidth: i.width, scrollHeight: a, scrollLeft: n, scrollTop: r, scrollWidth: o }); }, indices: { scrollLeft: n, scrollTop: r }, }); }, }, { key: "_isScrolling", value: function () { var e = arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : this.props, t = arguments.length > 1 && void 0 !== arguments[1] ? arguments[1] : this.state; return Object.hasOwnProperty.call(e, "isScrolling") ? Boolean(e.isScrolling) : Boolean(t.isScrolling); }, }, { key: "_maybeCallOnScrollbarPresenceChange", value: function () { if (this._scrollbarPresenceChanged) { var e = this.props.onScrollbarPresenceChange; (this._scrollbarPresenceChanged = !1), e({ horizontal: this._horizontalScrollBarSize > 0, size: this.state.instanceProps.scrollbarSize, vertical: this._verticalScrollBarSize > 0 }); } }, }, { key: "scrollToPosition", value: function (e) { var n = e.scrollLeft, r = e.scrollTop, o = t._getScrollToPositionStateUpdate({ prevState: this.state, scrollLeft: n, scrollTop: r }); o && ((o.needToResetStyleCache = !1), this.setState(o)); }, }, { key: "_getCalculatedScrollLeft", value: function () { var e = arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : this.props, n = arguments.length > 1 && void 0 !== arguments[1] ? arguments[1] : this.state; return t._getCalculatedScrollLeft(e, n); }, }, { key: "_updateScrollLeftForScrollToColumn", value: function () { var e = arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : this.props, n = arguments.length > 1 && void 0 !== arguments[1] ? arguments[1] : this.state, r = t._getScrollLeftForScrollToColumnStateUpdate(e, n); r && ((r.needToResetStyleCache = !1), this.setState(r)); }, }, { key: "_getCalculatedScrollTop", value: function () { var e = arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : this.props, n = arguments.length > 1 && void 0 !== arguments[1] ? arguments[1] : this.state; return t._getCalculatedScrollTop(e, n); }, }, { key: "_resetStyleCache", value: function () { var e = this._styleCache, t = this._cellCache, n = this.props.isScrollingOptOut; (this._cellCache = {}), (this._styleCache = {}); for (var r = this._rowStartIndex; r <= this._rowStopIndex; r++) for (var o = this._columnStartIndex; o <= this._columnStopIndex; o++) { var a = r + "-" + o; (this._styleCache[a] = e[a]), n && (this._cellCache[a] = t[a]); } }, }, { key: "_updateScrollTopForScrollToRow", value: function () { var e = arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : this.props, n = arguments.length > 1 && void 0 !== arguments[1] ? arguments[1] : this.state, r = t._getScrollTopForScrollToRowStateUpdate(e, n); r && ((r.needToResetStyleCache = !1), this.setState(r)); }, }, ], [ { key: "getDerivedStateFromProps", value: function (e, n) { var r = {}; (0 === e.columnCount && 0 !== n.scrollLeft) || (0 === e.rowCount && 0 !== n.scrollTop) ? ((r.scrollLeft = 0), (r.scrollTop = 0)) : ((e.scrollLeft !== n.scrollLeft && e.scrollToColumn < 0) || (e.scrollTop !== n.scrollTop && e.scrollToRow < 0)) && Ue()(r, t._getScrollToPositionStateUpdate({ prevState: n, scrollLeft: e.scrollLeft, scrollTop: e.scrollTop })); var o = n.instanceProps; (r.needToResetStyleCache = !1), (e.columnWidth === o.prevColumnWidth && e.rowHeight === o.prevRowHeight) || (r.needToResetStyleCache = !0), o.columnSizeAndPositionManager.configure({ cellCount: e.columnCount, estimatedCellSize: t._getEstimatedColumnSize(e), cellSizeGetter: t._wrapSizeGetter(e.columnWidth) }), o.rowSizeAndPositionManager.configure({ cellCount: e.rowCount, estimatedCellSize: t._getEstimatedRowSize(e), cellSizeGetter: t._wrapSizeGetter(e.rowHeight) }), (0 !== o.prevColumnCount && 0 !== o.prevRowCount) || ((o.prevColumnCount = 0), (o.prevRowCount = 0)), e.autoHeight && !1 === e.isScrolling && !0 === o.prevIsScrolling && Ue()(r, { isScrolling: !1 }); var a = void 0, i = void 0; return ( ze({ cellCount: o.prevColumnCount, cellSize: "number" == typeof o.prevColumnWidth ? o.prevColumnWidth : null, computeMetadataCallback: function () { return o.columnSizeAndPositionManager.resetCell(0); }, computeMetadataCallbackProps: e, nextCellsCount: e.columnCount, nextCellSize: "number" == typeof e.columnWidth ? e.columnWidth : null, nextScrollToIndex: e.scrollToColumn, scrollToIndex: o.prevScrollToColumn, updateScrollOffsetForScrollToIndex: function () { a = t._getScrollLeftForScrollToColumnStateUpdate(e, n); }, }), ze({ cellCount: o.prevRowCount, cellSize: "number" == typeof o.prevRowHeight ? o.prevRowHeight : null, computeMetadataCallback: function () { return o.rowSizeAndPositionManager.resetCell(0); }, computeMetadataCallbackProps: e, nextCellsCount: e.rowCount, nextCellSize: "number" == typeof e.rowHeight ? e.rowHeight : null, nextScrollToIndex: e.scrollToRow, scrollToIndex: o.prevScrollToRow, updateScrollOffsetForScrollToIndex: function () { i = t._getScrollTopForScrollToRowStateUpdate(e, n); }, }), (o.prevColumnCount = e.columnCount), (o.prevColumnWidth = e.columnWidth), (o.prevIsScrolling = !0 === e.isScrolling), (o.prevRowCount = e.rowCount), (o.prevRowHeight = e.rowHeight), (o.prevScrollToColumn = e.scrollToColumn), (o.prevScrollToRow = e.scrollToRow), (o.scrollbarSize = e.getScrollbarSize()), void 0 === o.scrollbarSize ? ((o.scrollbarSizeMeasured = !1), (o.scrollbarSize = 0)) : (o.scrollbarSizeMeasured = !0), (r.instanceProps = o), (0, be.Z)({}, r, a, i) ); }, }, { key: "_getEstimatedColumnSize", value: function (e) { return "number" == typeof e.columnWidth ? e.columnWidth : e.estimatedColumnSize; }, }, { key: "_getEstimatedRowSize", value: function (e) { return "number" == typeof e.rowHeight ? e.rowHeight : e.estimatedRowSize; }, }, { key: "_getScrollToPositionStateUpdate", value: function (e) { var t = e.prevState, n = e.scrollLeft, r = e.scrollTop, o = { scrollPositionChangeReason: tt }; return ( "number" == typeof n && n >= 0 && ((o.scrollDirectionHorizontal = n > t.scrollLeft ? 1 : -1), (o.scrollLeft = n)), "number" == typeof r && r >= 0 && ((o.scrollDirectionVertical = r > t.scrollTop ? 1 : -1), (o.scrollTop = r)), ("number" == typeof n && n >= 0 && n !== t.scrollLeft) || ("number" == typeof r && r >= 0 && r !== t.scrollTop) ? o : null ); }, }, { key: "_wrapSizeGetter", value: function (e) { return "function" == typeof e ? e : function () { return e; }; }, }, { key: "_getCalculatedScrollLeft", value: function (e, t) { var n = e.columnCount, r = e.height, o = e.scrollToAlignment, a = e.scrollToColumn, i = e.width, s = t.scrollLeft, c = t.instanceProps; if (n > 0) { var l = n - 1, u = a < 0 ? l : Math.min(l, a), d = c.rowSizeAndPositionManager.getTotalSize(), p = c.scrollbarSizeMeasured && d > r ? c.scrollbarSize : 0; return c.columnSizeAndPositionManager.getUpdatedOffsetForIndex({ align: o, containerSize: i - p, currentOffset: s, targetIndex: u }); } return 0; }, }, { key: "_getScrollLeftForScrollToColumnStateUpdate", value: function (e, n) { var r = n.scrollLeft, o = t._getCalculatedScrollLeft(e, n); return "number" == typeof o && o >= 0 && r !== o ? t._getScrollToPositionStateUpdate({ prevState: n, scrollLeft: o, scrollTop: -1 }) : null; }, }, { key: "_getCalculatedScrollTop", value: function (e, t) { var n = e.height, r = e.rowCount, o = e.scrollToAlignment, a = e.scrollToRow, i = e.width, s = t.scrollTop, c = t.instanceProps; if (r > 0) { var l = r - 1, u = a < 0 ? l : Math.min(l, a), d = c.columnSizeAndPositionManager.getTotalSize(), p = c.scrollbarSizeMeasured && d > i ? c.scrollbarSize : 0; return c.rowSizeAndPositionManager.getUpdatedOffsetForIndex({ align: o, containerSize: n - p, currentOffset: s, targetIndex: u }); } return 0; }, }, { key: "_getScrollTopForScrollToRowStateUpdate", value: function (e, n) { var r = n.scrollTop, o = t._getCalculatedScrollTop(e, n); return "number" == typeof o && o >= 0 && r !== o ? t._getScrollToPositionStateUpdate({ prevState: n, scrollLeft: -1, scrollTop: o }) : null; }, }, ] ), t ); })(c.PureComponent); (nt.defaultProps = { "aria-label": "grid", "aria-readonly": !0, autoContainerWidth: !1, autoHeight: !1, autoWidth: !1, cellRangeRenderer: function (e) { for ( var t = e.cellCache, n = e.cellRenderer, r = e.columnSizeAndPositionManager, o = e.columnStartIndex, a = e.columnStopIndex, i = e.deferredMeasurementCache, s = e.horizontalOffsetAdjustment, c = e.isScrolling, l = e.isScrollingOptOut, u = e.parent, d = e.rowSizeAndPositionManager, p = e.rowStartIndex, f = e.rowStopIndex, m = e.styleCache, h = e.verticalOffsetAdjustment, v = e.visibleColumnIndices, y = e.visibleRowIndices, g = [], b = r.areOffsetsAdjusted() || d.areOffsetsAdjusted(), E = !c && !b, D = p; D <= f; D++ ) for (var C = d.getSizeAndPositionOfCell(D), w = o; w <= a; w++) { var S = r.getSizeAndPositionOfCell(w), A = w >= v.start && w <= v.stop && D >= y.start && D <= y.stop, k = D + "-" + w, _ = void 0; E && m[k] ? (_ = m[k]) : i && !i.has(D, w) ? (_ = { height: "auto", left: 0, position: "absolute", top: 0, width: "auto" }) : ((_ = { height: C.size, left: S.offset + s, position: "absolute", top: C.offset + h, width: S.size }), (m[k] = _)); var T = { columnIndex: w, isScrolling: c, isVisible: A, key: k, parent: u, rowIndex: D, style: _ }, I = void 0; (!l && !c) || s || h ? (I = n(T)) : (t[k] || (t[k] = n(T)), (I = t[k])), null != I && !1 !== I && g.push(I); } return g; }, containerRole: "rowgroup", containerStyle: {}, estimatedColumnSize: 100, estimatedRowSize: 30, getScrollbarSize: xe, noContentRenderer: function () { return null; }, onScroll: function () {}, onScrollbarPresenceChange: function () {}, onSectionRendered: function () {}, overscanColumnCount: 0, overscanIndicesGetter: function (e) { var t = e.cellCount, n = e.overscanCellsCount, r = e.scrollDirection, o = e.startIndex, a = e.stopIndex; return 1 === r ? { overscanStartIndex: Math.max(0, o), overscanStopIndex: Math.min(t - 1, a + n) } : { overscanStartIndex: Math.max(0, o - n), overscanStopIndex: Math.min(t - 1, a) }; }, overscanRowCount: 10, role: "grid", scrollingResetTimeInterval: 150, scrollToAlignment: "auto", scrollToColumn: -1, scrollToRow: -1, style: {}, tabIndex: 0, isScrollingOptOut: !1, }), (nt.propTypes = null), (0, ye.polyfill)(nt); const rt = nt; function ot(e) { var t = e.cellCount, n = e.overscanCellsCount, r = e.scrollDirection, o = e.startIndex, a = e.stopIndex; return (n = Math.max(1, n)), 1 === r ? { overscanStartIndex: Math.max(0, o - 1), overscanStopIndex: Math.min(t - 1, a + n) } : { overscanStartIndex: Math.max(0, o - n), overscanStopIndex: Math.min(t - 1, a + 1) }; } var at = n(9903), it = (function (e) { function t(e, n) { (0, fe.Z)(this, t); var r = (0, he.Z)(this, (t.__proto__ || pe()(t)).call(this, e, n)); return (r._loadMoreRowsMemoizer = Ie()), (r._onRowsRendered = r._onRowsRendered.bind(r)), (r._registerChild = r._registerChild.bind(r)), r; } return ( (0, ve.Z)(t, e), (0, me.Z)(t, [ { key: "resetLoadMoreRowsCache", value: function (e) { (this._loadMoreRowsMemoizer = Ie()), e && this._doStuff(this._lastRenderedStartIndex, this._lastRenderedStopIndex); }, }, { key: "render", value: function () { return (0, this.props.children)({ onRowsRendered: this._onRowsRendered, registerChild: this._registerChild }); }, }, { key: "_loadUnloadedRanges", value: function (e) { var t = this, n = this.props.loadMoreRows; e.forEach(function (e) { var r = n(e); r && r.then(function () { var n; (n = { lastRenderedStartIndex: t._lastRenderedStartIndex, lastRenderedStopIndex: t._lastRenderedStopIndex, startIndex: e.startIndex, stopIndex: e.stopIndex }).startIndex > n.lastRenderedStopIndex || n.stopIndex < n.lastRenderedStartIndex || (t._registeredChild && (function (e) { var t = arguments.length > 1 && void 0 !== arguments[1] ? arguments[1] : 0, n = "function" == typeof e.recomputeGridSize ? e.recomputeGridSize : e.recomputeRowHeights; n ? n.call(e, t) : e.forceUpdate(); })(t._registeredChild, t._lastRenderedStartIndex)); }); }); }, }, { key: "_onRowsRendered", value: function (e) { var t = e.startIndex, n = e.stopIndex; (this._lastRenderedStartIndex = t), (this._lastRenderedStopIndex = n), this._doStuff(t, n); }, }, { key: "_doStuff", value: function (e, t) { var n, r = this, o = this.props, a = o.isRowLoaded, i = o.minimumBatchSize, s = o.rowCount, c = o.threshold, l = (function (e) { for (var t = e.isRowLoaded, n = e.minimumBatchSize, r = e.rowCount, o = e.stopIndex, a = [], i = null, s = null, c = e.startIndex; c <= o; c++) t({ index: c }) ? null !== s && (a.push({ startIndex: i, stopIndex: s }), (i = s = null)) : ((s = c), null === i && (i = c)); if (null !== s) { for (var l = Math.min(Math.max(s, i + n - 1), r - 1), u = s + 1; u <= l && !t({ index: u }); u++) s = u; a.push({ startIndex: i, stopIndex: s }); } if (a.length) for (var d = a[0]; d.stopIndex - d.startIndex + 1 < n && d.startIndex > 0; ) { var p = d.startIndex - 1; if (t({ index: p })) break; d.startIndex = p; } return a; })({ isRowLoaded: a, minimumBatchSize: i, rowCount: s, startIndex: Math.max(0, e - c), stopIndex: Math.min(s - 1, t + c) }), u = (n = []).concat.apply( n, (0, at.Z)( l.map(function (e) { return [e.startIndex, e.stopIndex]; }) ) ); this._loadMoreRowsMemoizer({ callback: function () { r._loadUnloadedRanges(l); }, indices: { squashedUnloadedRanges: u }, }); }, }, { key: "_registerChild", value: function (e) { this._registeredChild = e; }, }, ]), t ); })(c.PureComponent); (it.defaultProps = { minimumBatchSize: 10, rowCount: 0, threshold: 15 }), (it.propTypes = {}); var st = n(77733), ct = n.n(st), lt = (function (e) { function t() { var e, n, r, o; (0, fe.Z)(this, t); for (var a = arguments.length, i = Array(a), s = 0; s < a; s++) i[s] = arguments[s]; return ( (n = r = (0, he.Z)(this, (e = t.__proto__ || pe()(t)).call.apply(e, [this].concat(i)))), (r._cellRenderer = function (e) { var t = e.parent, n = e.rowIndex, o = e.style, a = e.isScrolling, i = e.isVisible, s = e.key, c = r.props.rowRenderer; return ct()(o, "width").writable && (o.width = "100%"), c({ index: n, style: o, isScrolling: a, isVisible: i, key: s, parent: t }); }), (r._setRef = function (e) { r.Grid = e; }), (r._onScroll = function (e) { var t = e.clientHeight, n = e.scrollHeight, o = e.scrollTop; (0, r.props.onScroll)({ clientHeight: t, scrollHeight: n, scrollTop: o }); }), (r._onSectionRendered = function (e) { var t = e.rowOverscanStartIndex, n = e.rowOverscanStopIndex, o = e.rowStartIndex, a = e.rowStopIndex; (0, r.props.onRowsRendered)({ overscanStartIndex: t, overscanStopIndex: n, startIndex: o, stopIndex: a }); }), (o = n), (0, he.Z)(r, o) ); } return ( (0, ve.Z)(t, e), (0, me.Z)(t, [ { key: "forceUpdateGrid", value: function () { this.Grid && this.Grid.forceUpdate(); }, }, { key: "getOffsetForRow", value: function (e) { var t = e.alignment, n = e.index; return this.Grid ? this.Grid.getOffsetForCell({ alignment: t, rowIndex: n, columnIndex: 0 }).scrollTop : 0; }, }, { key: "invalidateCellSizeAfterRender", value: function (e) { var t = e.columnIndex, n = e.rowIndex; this.Grid && this.Grid.invalidateCellSizeAfterRender({ rowIndex: n, columnIndex: t }); }, }, { key: "measureAllRows", value: function () { this.Grid && this.Grid.measureAllCells(); }, }, { key: "recomputeGridSize", value: function () { var e = arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : {}, t = e.columnIndex, n = void 0 === t ? 0 : t, r = e.rowIndex, o = void 0 === r ? 0 : r; this.Grid && this.Grid.recomputeGridSize({ rowIndex: o, columnIndex: n }); }, }, { key: "recomputeRowHeights", value: function () { var e = arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : 0; this.Grid && this.Grid.recomputeGridSize({ rowIndex: e, columnIndex: 0 }); }, }, { key: "scrollToPosition", value: function () { var e = arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : 0; this.Grid && this.Grid.scrollToPosition({ scrollTop: e }); }, }, { key: "scrollToRow", value: function () { var e = arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : 0; this.Grid && this.Grid.scrollToCell({ columnIndex: 0, rowIndex: e }); }, }, { key: "render", value: function () { var e = this.props, t = e.className, n = e.noRowsRenderer, r = e.scrollToIndex, o = e.width, a = ke("ReactVirtualized__List", t); return c.createElement( rt, (0, be.Z)({}, this.props, { autoContainerWidth: !0, cellRenderer: this._cellRenderer, className: a, columnWidth: o, columnCount: 1, noContentRenderer: n, onScroll: this._onScroll, onSectionRendered: this._onSectionRendered, ref: this._setRef, scrollToRow: r, }) ); }, }, ]), t ); })(c.PureComponent); (lt.defaultProps = { autoHeight: !1, estimatedRowSize: 30, onScroll: function () {}, noRowsRenderer: function () { return null; }, onRowsRendered: function () {}, overscanIndicesGetter: ot, overscanRowCount: 10, scrollToAlignment: "auto", scrollToIndex: -1, style: {}, }), (lt.propTypes = null); var ut = n(79988), dt = n(12978); const pt = function (e, t, n, r, o) { return "function" == typeof n ? (function (e, t, n, r, o) { for (var a = n + 1; t <= n; ) { var i = (t + n) >>> 1; o(e[i], r) >= 0 ? ((a = i), (n = i - 1)) : (t = i + 1); } return a; })(e, void 0 === r ? 0 : 0 | r, void 0 === o ? e.length - 1 : 0 | o, t, n) : (function (e, t, n, r) { for (var o = n + 1; t <= n; ) { var a = (t + n) >>> 1; e[a] >= r ? ((o = a), (n = a - 1)) : (t = a + 1); } return o; })(e, void 0 === n ? 0 : 0 | n, void 0 === r ? e.length - 1 : 0 | r, t); }; function ft(e, t, n, r, o) { (this.mid = e), (this.left = t), (this.right = n), (this.leftPoints = r), (this.rightPoints = o), (this.count = (t ? t.count : 0) + (n ? n.count : 0) + r.length); } var mt = ft.prototype; function ht(e, t) { (e.mid = t.mid), (e.left = t.left), (e.right = t.right), (e.leftPoints = t.leftPoints), (e.rightPoints = t.rightPoints), (e.count = t.count); } function vt(e, t) { var n = At(t); (e.mid = n.mid), (e.left = n.left), (e.right = n.right), (e.leftPoints = n.leftPoints), (e.rightPoints = n.rightPoints), (e.count = n.count); } function yt(e, t) { var n = e.intervals([]); n.push(t), vt(e, n); } function gt(e, t) { var n = e.intervals([]), r = n.indexOf(t); return r < 0 ? 0 : (n.splice(r, 1), vt(e, n), 1); } function bt(e, t, n) { for (var r = 0; r < e.length && e[r][0] <= t; ++r) { var o = n(e[r]); if (o) return o; } } function Et(e, t, n) { for (var r = e.length - 1; r >= 0 && e[r][1] >= t; --r) { var o = n(e[r]); if (o) return o; } } function Dt(e, t) { for (var n = 0; n < e.length; ++n) { var r = t(e[n]); if (r) return r; } } function Ct(e, t) { return e - t; } function wt(e, t) { return e[0] - t[0] || e[1] - t[1]; } function St(e, t) { return e[1] - t[1] || e[0] - t[0]; } function At(e) { if (0 === e.length) return null; for (var t = [], n = 0; n < e.length; ++n) t.push(e[n][0], e[n][1]); t.sort(Ct); var r = t[t.length >> 1], o = [], a = [], i = []; for (n = 0; n < e.length; ++n) { var s = e[n]; s[1] < r ? o.push(s) : r < s[0] ? a.push(s) : i.push(s); } var c = i, l = i.slice(); return c.sort(wt), l.sort(St), new ft(r, At(o), At(a), c, l); } function kt(e) { this.root = e; } (mt.intervals = function (e) { return e.push.apply(e, this.leftPoints), this.left && this.left.intervals(e), this.right && this.right.intervals(e), e; }), (mt.insert = function (e) { var t = this.count - this.leftPoints.length; if (((this.count += 1), e[1] < this.mid)) this.left ? (4 * (this.left.count + 1) > 3 * (t + 1) ? yt(this, e) : this.left.insert(e)) : (this.left = At([e])); else if (e[0] > this.mid) this.right ? (4 * (this.right.count + 1) > 3 * (t + 1) ? yt(this, e) : this.right.insert(e)) : (this.right = At([e])); else { var n = pt(this.leftPoints, e, wt), r = pt(this.rightPoints, e, St); this.leftPoints.splice(n, 0, e), this.rightPoints.splice(r, 0, e); } }), (mt.remove = function (e) { var t = this.count - this.leftPoints; if (e[1] < this.mid) return this.left ? (4 * (this.right ? this.right.count : 0) > 3 * (t - 1) ? gt(this, e) : 2 === (a = this.left.remove(e)) ? ((this.left = null), (this.count -= 1), 1) : (1 === a && (this.count -= 1), a)) : 0; if (e[0] > this.mid) return this.right ? (4 * (this.left ? this.left.count : 0) > 3 * (t - 1) ? gt(this, e) : 2 === (a = this.right.remove(e)) ? ((this.right = null), (this.count -= 1), 1) : (1 === a && (this.count -= 1), a)) : 0; if (1 === this.count) return this.leftPoints[0] === e ? 2 : 0; if (1 === this.leftPoints.length && this.leftPoints[0] === e) { if (this.left && this.right) { for (var n = this, r = this.left; r.right; ) (n = r), (r = r.right); if (n === this) r.right = this.right; else { var o = this.left, a = this.right; (n.count -= r.count), (n.right = r.left), (r.left = o), (r.right = a); } ht(this, r), (this.count = (this.left ? this.left.count : 0) + (this.right ? this.right.count : 0) + this.leftPoints.length); } else this.left ? ht(this, this.left) : ht(this, this.right); return 1; } for (o = pt(this.leftPoints, e, wt); o < this.leftPoints.length && this.leftPoints[o][0] === e[0]; ++o) if (this.leftPoints[o] === e) for (this.count -= 1, this.leftPoints.splice(o, 1), a = pt(this.rightPoints, e, St); a < this.rightPoints.length && this.rightPoints[a][1] === e[1]; ++a) if (this.rightPoints[a] === e) return this.rightPoints.splice(a, 1), 1; return 0; }), (mt.queryPoint = function (e, t) { return e < this.mid ? (this.left && (n = this.left.queryPoint(e, t)) ? n : bt(this.leftPoints, e, t)) : e > this.mid ? (this.right && (n = this.right.queryPoint(e, t)) ? n : Et(this.rightPoints, e, t)) : Dt(this.leftPoints, t); var n; }), (mt.queryInterval = function (e, t, n) { var r; return (e < this.mid && this.left && (r = this.left.queryInterval(e, t, n))) || (t > this.mid && this.right && (r = this.right.queryInterval(e, t, n))) ? r : t < this.mid ? bt(this.leftPoints, t, n) : e > this.mid ? Et(this.rightPoints, e, n) : Dt(this.leftPoints, n); }); var _t = kt.prototype; (_t.insert = function (e) { this.root ? this.root.insert(e) : (this.root = new ft(e[0], null, null, [e], [e])); }), (_t.remove = function (e) { if (this.root) { var t = this.root.remove(e); return 2 === t && (this.root = null), 0 !== t; } return !1; }), (_t.queryPoint = function (e, t) { if (this.root) return this.root.queryPoint(e, t); }), (_t.queryInterval = function (e, t, n) { if (e <= t && this.root) return this.root.queryInterval(e, t, n); }), Object.defineProperty(_t, "count", { get: function () { return this.root ? this.root.count : 0; }, }), Object.defineProperty(_t, "intervals", { get: function () { return this.root ? this.root.intervals([]) : []; }, }); var Tt = (function () { function e() { (0, fe.Z)(this, e), (this._columnSizeMap = {}), (this._intervalTree = new kt(null)), (this._leftMap = {}); } return ( (0, me.Z)(e, [ { key: "estimateTotalHeight", value: function (e, t, n) { var r = e - this.count; return this.tallestColumnSize + Math.ceil(r / t) * n; }, }, { key: "range", value: function (e, t, n) { var r = this; this._intervalTree.queryInterval(e, e + t, function (e) { var t = (0, dt.Z)(e, 3), o = t[0], a = (t[1], t[2]); return n(a, r._leftMap[a], o); }); }, }, { key: "setPosition", value: function (e, t, n, r) { this._intervalTree.insert([n, n + r, e]), (this._leftMap[e] = t); var o = this._columnSizeMap, a = o[t]; o[t] = void 0 === a ? n + r : Math.max(a, n + r); }, }, { key: "count", get: function () { return this._intervalTree.count; }, }, { key: "shortestColumnSize", get: function () { var e = this._columnSizeMap, t = 0; for (var n in e) { var r = e[n]; t = 0 === t ? r : Math.min(t, r); } return t; }, }, { key: "tallestColumnSize", get: function () { var e = this._columnSizeMap, t = 0; for (var n in e) { var r = e[n]; t = Math.max(t, r); } return t; }, }, ]), e ); })(); const It = Tt; var Ot = (function (e) { function t() { var e, n, r, o; (0, fe.Z)(this, t); for (var a = arguments.length, i = Array(a), s = 0; s < a; s++) i[s] = arguments[s]; return ( (n = r = (0, he.Z)(this, (e = t.__proto__ || pe()(t)).call.apply(e, [this].concat(i)))), (r.state = { isScrolling: !1, scrollTop: 0 }), (r._invalidateOnUpdateStartIndex = null), (r._invalidateOnUpdateStopIndex = null), (r._positionCache = new It()), (r._startIndex = null), (r._startIndexMemoized = null), (r._stopIndex = null), (r._stopIndexMemoized = null), (r._debounceResetIsScrollingCallback = function () { r.setState({ isScrolling: !1 }); }), (r._setScrollingContainerRef = function (e) { r._scrollingContainer = e; }), (r._onScroll = function (e) { var t = r.props.height, n = e.currentTarget.scrollTop, o = Math.min(Math.max(0, r._getEstimatedTotalHeight() - t), n); n === o && (r._debounceResetIsScrolling(), r.state.scrollTop !== o && r.setState({ isScrolling: !0, scrollTop: o })); }), (o = n), (0, he.Z)(r, o) ); } return ( (0, ve.Z)(t, e), (0, me.Z)( t, [ { key: "clearCellPositions", value: function () { (this._positionCache = new It()), this.forceUpdate(); }, }, { key: "invalidateCellSizeAfterRender", value: function (e) { var t = e.rowIndex; null === this._invalidateOnUpdateStartIndex ? ((this._invalidateOnUpdateStartIndex = t), (this._invalidateOnUpdateStopIndex = t)) : ((this._invalidateOnUpdateStartIndex = Math.min(this._invalidateOnUpdateStartIndex, t)), (this._invalidateOnUpdateStopIndex = Math.max(this._invalidateOnUpdateStopIndex, t))); }, }, { key: "recomputeCellPositions", value: function () { var e = this._positionCache.count - 1; (this._positionCache = new It()), this._populatePositionCache(0, e), this.forceUpdate(); }, }, { key: "componentDidMount", value: function () { this._checkInvalidateOnUpdate(), this._invokeOnScrollCallback(), this._invokeOnCellsRenderedCallback(); }, }, { key: "componentDidUpdate", value: function (e, t) { this._checkInvalidateOnUpdate(), this._invokeOnScrollCallback(), this._invokeOnCellsRenderedCallback(), this.props.scrollTop !== e.scrollTop && this._debounceResetIsScrolling(); }, }, { key: "componentWillUnmount", value: function () { this._debounceResetIsScrollingId && $e(this._debounceResetIsScrollingId); }, }, { key: "render", value: function () { var e = this, t = this.props, n = t.autoHeight, r = t.cellCount, o = t.cellMeasurerCache, a = t.cellRenderer, i = t.className, s = t.height, l = t.id, u = t.keyMapper, d = t.overscanByPixels, p = t.role, f = t.style, m = t.tabIndex, h = t.width, v = t.rowDirection, y = this.state, g = y.isScrolling, b = y.scrollTop, E = [], D = this._getEstimatedTotalHeight(), C = this._positionCache.shortestColumnSize, w = this._positionCache.count, S = 0, A = void 0; if ( (this._positionCache.range(Math.max(0, b - d), s + 2 * d, function (t, n, r) { var i; void 0 === A ? ((S = t), (A = t)) : ((S = Math.min(S, t)), (A = Math.max(A, t))), E.push( a({ index: t, isScrolling: g, key: u(t), parent: e, style: ((i = { height: o.getHeight(t) }), (0, ut.Z)(i, "ltr" === v ? "left" : "right", n), (0, ut.Z)(i, "position", "absolute"), (0, ut.Z)(i, "top", r), (0, ut.Z)(i, "width", o.getWidth(t)), i), }) ); }), C < b + s + d && w < r) ) for (var k = Math.min(r - w, Math.ceil((((b + s + d - C) / o.defaultHeight) * h) / o.defaultWidth)), _ = w; _ < w + k; _++) (A = _), E.push(a({ index: _, isScrolling: g, key: u(_), parent: this, style: { width: o.getWidth(_) } })); return ( (this._startIndex = S), (this._stopIndex = A), c.createElement( "div", { ref: this._setScrollingContainerRef, "aria-label": this.props["aria-label"], className: ke("ReactVirtualized__Masonry", i), id: l, onScroll: this._onScroll, role: p, style: (0, be.Z)( { boxSizing: "border-box", direction: "ltr", height: n ? "auto" : s, overflowX: "hidden", overflowY: D < s ? "hidden" : "auto", position: "relative", width: h, WebkitOverflowScrolling: "touch", willChange: "transform", }, f ), tabIndex: m, }, c.createElement( "div", { className: "ReactVirtualized__Masonry__innerScrollContainer", style: { width: "100%", height: D, maxWidth: "100%", maxHeight: D, overflow: "hidden", pointerEvents: g ? "none" : "", position: "relative" } }, E ) ) ); }, }, { key: "_checkInvalidateOnUpdate", value: function () { if ("number" == typeof this._invalidateOnUpdateStartIndex) { var e = this._invalidateOnUpdateStartIndex, t = this._invalidateOnUpdateStopIndex; (this._invalidateOnUpdateStartIndex = null), (this._invalidateOnUpdateStopIndex = null), this._populatePositionCache(e, t), this.forceUpdate(); } }, }, { key: "_debounceResetIsScrolling", value: function () { var e = this.props.scrollingResetTimeInterval; this._debounceResetIsScrollingId && $e(this._debounceResetIsScrollingId), (this._debounceResetIsScrollingId = et(this._debounceResetIsScrollingCallback, e)); }, }, { key: "_getEstimatedTotalHeight", value: function () { var e = this.props, t = e.cellCount, n = e.cellMeasurerCache, r = e.width, o = Math.max(1, Math.floor(r / n.defaultWidth)); return this._positionCache.estimateTotalHeight(t, o, n.defaultHeight); }, }, { key: "_invokeOnScrollCallback", value: function () { var e = this.props, t = e.height, n = e.onScroll, r = this.state.scrollTop; this._onScrollMemoized !== r && (n({ clientHeight: t, scrollHeight: this._getEstimatedTotalHeight(), scrollTop: r }), (this._onScrollMemoized = r)); }, }, { key: "_invokeOnCellsRenderedCallback", value: function () { (this._startIndexMemoized === this._startIndex && this._stopIndexMemoized === this._stopIndex) || ((0, this.props.onCellsRendered)({ startIndex: this._startIndex, stopIndex: this._stopIndex }), (this._startIndexMemoized = this._startIndex), (this._stopIndexMemoized = this._stopIndex)); }, }, { key: "_populatePositionCache", value: function (e, t) { for (var n = this.props, r = n.cellMeasurerCache, o = n.cellPositioner, a = e; a <= t; a++) { var i = o(a), s = i.left, c = i.top; this._positionCache.setPosition(a, s, c, r.getHeight(a)); } }, }, ], [ { key: "getDerivedStateFromProps", value: function (e, t) { return void 0 !== e.scrollTop && t.scrollTop !== e.scrollTop ? { isScrolling: !0, scrollTop: e.scrollTop } : null; }, }, ] ), t ); })(c.PureComponent); function Ft() {} (Ot.defaultProps = { autoHeight: !1, keyMapper: function (e) { return e; }, onCellsRendered: Ft, onScroll: Ft, overscanByPixels: 20, role: "grid", scrollingResetTimeInterval: 150, style: {}, tabIndex: 0, rowDirection: "ltr", }), (Ot.propTypes = null), (0, ye.polyfill)(Ot); const xt = (function () { function e() { var t = this, n = arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : {}; (0, fe.Z)(this, e), (this.columnWidth = function (e) { var n = e.index; t._cellMeasurerCache.columnWidth({ index: n + t._columnIndexOffset }); }), (this.rowHeight = function (e) { var n = e.index; t._cellMeasurerCache.rowHeight({ index: n + t._rowIndexOffset }); }); var r = n.cellMeasurerCache, o = n.columnIndexOffset, a = void 0 === o ? 0 : o, i = n.rowIndexOffset, s = void 0 === i ? 0 : i; (this._cellMeasurerCache = r), (this._columnIndexOffset = a), (this._rowIndexOffset = s); } return ( (0, me.Z)(e, [ { key: "clear", value: function (e, t) { this._cellMeasurerCache.clear(e + this._rowIndexOffset, t + this._columnIndexOffset); }, }, { key: "clearAll", value: function () { this._cellMeasurerCache.clearAll(); }, }, { key: "hasFixedHeight", value: function () { return this._cellMeasurerCache.hasFixedHeight(); }, }, { key: "hasFixedWidth", value: function () { return this._cellMeasurerCache.hasFixedWidth(); }, }, { key: "getHeight", value: function (e) { var t = arguments.length > 1 && void 0 !== arguments[1] ? arguments[1] : 0; return this._cellMeasurerCache.getHeight(e + this._rowIndexOffset, t + this._columnIndexOffset); }, }, { key: "getWidth", value: function (e) { var t = arguments.length > 1 && void 0 !== arguments[1] ? arguments[1] : 0; return this._cellMeasurerCache.getWidth(e + this._rowIndexOffset, t + this._columnIndexOffset); }, }, { key: "has", value: function (e) { var t = arguments.length > 1 && void 0 !== arguments[1] ? arguments[1] : 0; return this._cellMeasurerCache.has(e + this._rowIndexOffset, t + this._columnIndexOffset); }, }, { key: "set", value: function (e, t, n, r) { this._cellMeasurerCache.set(e + this._rowIndexOffset, t + this._columnIndexOffset, n, r); }, }, { key: "defaultHeight", get: function () { return this._cellMeasurerCache.defaultHeight; }, }, { key: "defaultWidth", get: function () { return this._cellMeasurerCache.defaultWidth; }, }, ]), e ); })(); var Nt = (function (e) { function t(e, n) { (0, fe.Z)(this, t); var r = (0, he.Z)(this, (t.__proto__ || pe()(t)).call(this, e, n)); Rt.call(r); var o = e.deferredMeasurementCache, a = e.fixedColumnCount, i = e.fixedRowCount; return ( r._maybeCalculateCachedStyles(!0), o && ((r._deferredMeasurementCacheBottomLeftGrid = i > 0 ? new xt({ cellMeasurerCache: o, columnIndexOffset: 0, rowIndexOffset: i }) : o), (r._deferredMeasurementCacheBottomRightGrid = a > 0 || i > 0 ? new xt({ cellMeasurerCache: o, columnIndexOffset: a, rowIndexOffset: i }) : o), (r._deferredMeasurementCacheTopRightGrid = a > 0 ? new xt({ cellMeasurerCache: o, columnIndexOffset: a, rowIndexOffset: 0 }) : o)), r ); } return ( (0, ve.Z)(t, e), (0, me.Z)( t, [ { key: "forceUpdateGrids", value: function () { this._bottomLeftGrid && this._bottomLeftGrid.forceUpdate(), this._bottomRightGrid && this._bottomRightGrid.forceUpdate(), this._topLeftGrid && this._topLeftGrid.forceUpdate(), this._topRightGrid && this._topRightGrid.forceUpdate(); }, }, { key: "invalidateCellSizeAfterRender", value: function () { var e = arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : {}, t = e.columnIndex, n = void 0 === t ? 0 : t, r = e.rowIndex, o = void 0 === r ? 0 : r; (this._deferredInvalidateColumnIndex = "number" == typeof this._deferredInvalidateColumnIndex ? Math.min(this._deferredInvalidateColumnIndex, n) : n), (this._deferredInvalidateRowIndex = "number" == typeof this._deferredInvalidateRowIndex ? Math.min(this._deferredInvalidateRowIndex, o) : o); }, }, { key: "measureAllCells", value: function () { this._bottomLeftGrid && this._bottomLeftGrid.measureAllCells(), this._bottomRightGrid && this._bottomRightGrid.measureAllCells(), this._topLeftGrid && this._topLeftGrid.measureAllCells(), this._topRightGrid && this._topRightGrid.measureAllCells(); }, }, { key: "recomputeGridSize", value: function () { var e = arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : {}, t = e.columnIndex, n = void 0 === t ? 0 : t, r = e.rowIndex, o = void 0 === r ? 0 : r, a = this.props, i = a.fixedColumnCount, s = a.fixedRowCount, c = Math.max(0, n - i), l = Math.max(0, o - s); this._bottomLeftGrid && this._bottomLeftGrid.recomputeGridSize({ columnIndex: n, rowIndex: l }), this._bottomRightGrid && this._bottomRightGrid.recomputeGridSize({ columnIndex: c, rowIndex: l }), this._topLeftGrid && this._topLeftGrid.recomputeGridSize({ columnIndex: n, rowIndex: o }), this._topRightGrid && this._topRightGrid.recomputeGridSize({ columnIndex: c, rowIndex: o }), (this._leftGridWidth = null), (this._topGridHeight = null), this._maybeCalculateCachedStyles(!0); }, }, { key: "componentDidMount", value: function () { var e = this.props, t = e.scrollLeft, n = e.scrollTop; if (t > 0 || n > 0) { var r = {}; t > 0 && (r.scrollLeft = t), n > 0 && (r.scrollTop = n), this.setState(r); } this._handleInvalidatedGridSize(); }, }, { key: "componentDidUpdate", value: function () { this._handleInvalidatedGridSize(); }, }, { key: "render", value: function () { var e = this.props, t = e.onScroll, n = e.onSectionRendered, r = (e.onScrollbarPresenceChange, e.scrollLeft, e.scrollToColumn), o = (e.scrollTop, e.scrollToRow), a = (0, Se.Z)(e, ["onScroll", "onSectionRendered", "onScrollbarPresenceChange", "scrollLeft", "scrollToColumn", "scrollTop", "scrollToRow"]); if ((this._prepareForRender(), 0 === this.props.width || 0 === this.props.height)) return null; var i = this.state, s = i.scrollLeft, l = i.scrollTop; return c.createElement( "div", { style: this._containerOuterStyle }, c.createElement("div", { style: this._containerTopStyle }, this._renderTopLeftGrid(a), this._renderTopRightGrid((0, be.Z)({}, a, { onScroll: t, scrollLeft: s }))), c.createElement( "div", { style: this._containerBottomStyle }, this._renderBottomLeftGrid((0, be.Z)({}, a, { onScroll: t, scrollTop: l })), this._renderBottomRightGrid((0, be.Z)({}, a, { onScroll: t, onSectionRendered: n, scrollLeft: s, scrollToColumn: r, scrollToRow: o, scrollTop: l })) ) ); }, }, { key: "_getBottomGridHeight", value: function (e) { return e.height - this._getTopGridHeight(e); }, }, { key: "_getLeftGridWidth", value: function (e) { var t = e.fixedColumnCount, n = e.columnWidth; if (null == this._leftGridWidth) if ("function" == typeof n) { for (var r = 0, o = 0; o < t; o++) r += n({ index: o }); this._leftGridWidth = r; } else this._leftGridWidth = n * t; return this._leftGridWidth; }, }, { key: "_getRightGridWidth", value: function (e) { return e.width - this._getLeftGridWidth(e); }, }, { key: "_getTopGridHeight", value: function (e) { var t = e.fixedRowCount, n = e.rowHeight; if (null == this._topGridHeight) if ("function" == typeof n) { for (var r = 0, o = 0; o < t; o++) r += n({ index: o }); this._topGridHeight = r; } else this._topGridHeight = n * t; return this._topGridHeight; }, }, { key: "_handleInvalidatedGridSize", value: function () { if ("number" == typeof this._deferredInvalidateColumnIndex) { var e = this._deferredInvalidateColumnIndex, t = this._deferredInvalidateRowIndex; (this._deferredInvalidateColumnIndex = null), (this._deferredInvalidateRowIndex = null), this.recomputeGridSize({ columnIndex: e, rowIndex: t }), this.forceUpdate(); } }, }, { key: "_maybeCalculateCachedStyles", value: function (e) { var t = this.props, n = t.columnWidth, r = t.enableFixedColumnScroll, o = t.enableFixedRowScroll, a = t.height, i = t.fixedColumnCount, s = t.fixedRowCount, c = t.rowHeight, l = t.style, u = t.styleBottomLeftGrid, d = t.styleBottomRightGrid, p = t.styleTopLeftGrid, f = t.styleTopRightGrid, m = t.width, h = e || a !== this._lastRenderedHeight || m !== this._lastRenderedWidth, v = e || n !== this._lastRenderedColumnWidth || i !== this._lastRenderedFixedColumnCount, y = e || s !== this._lastRenderedFixedRowCount || c !== this._lastRenderedRowHeight; (e || h || l !== this._lastRenderedStyle) && (this._containerOuterStyle = (0, be.Z)({ height: a, overflow: "visible", width: m }, l)), (e || h || y) && ((this._containerTopStyle = { height: this._getTopGridHeight(this.props), position: "relative", width: m }), (this._containerBottomStyle = { height: a - this._getTopGridHeight(this.props), overflow: "visible", position: "relative", width: m })), (e || u !== this._lastRenderedStyleBottomLeftGrid) && (this._bottomLeftGridStyle = (0, be.Z)({ left: 0, overflowX: "hidden", overflowY: r ? "auto" : "hidden", position: "absolute" }, u)), (e || v || d !== this._lastRenderedStyleBottomRightGrid) && (this._bottomRightGridStyle = (0, be.Z)({ left: this._getLeftGridWidth(this.props), position: "absolute" }, d)), (e || p !== this._lastRenderedStyleTopLeftGrid) && (this._topLeftGridStyle = (0, be.Z)({ left: 0, overflowX: "hidden", overflowY: "hidden", position: "absolute", top: 0 }, p)), (e || v || f !== this._lastRenderedStyleTopRightGrid) && (this._topRightGridStyle = (0, be.Z)({ left: this._getLeftGridWidth(this.props), overflowX: o ? "auto" : "hidden", overflowY: "hidden", position: "absolute", top: 0 }, f)), (this._lastRenderedColumnWidth = n), (this._lastRenderedFixedColumnCount = i), (this._lastRenderedFixedRowCount = s), (this._lastRenderedHeight = a), (this._lastRenderedRowHeight = c), (this._lastRenderedStyle = l), (this._lastRenderedStyleBottomLeftGrid = u), (this._lastRenderedStyleBottomRightGrid = d), (this._lastRenderedStyleTopLeftGrid = p), (this._lastRenderedStyleTopRightGrid = f), (this._lastRenderedWidth = m); }, }, { key: "_prepareForRender", value: function () { (this._lastRenderedColumnWidth === this.props.columnWidth && this._lastRenderedFixedColumnCount === this.props.fixedColumnCount) || (this._leftGridWidth = null), (this._lastRenderedFixedRowCount === this.props.fixedRowCount && this._lastRenderedRowHeight === this.props.rowHeight) || (this._topGridHeight = null), this._maybeCalculateCachedStyles(), (this._lastRenderedColumnWidth = this.props.columnWidth), (this._lastRenderedFixedColumnCount = this.props.fixedColumnCount), (this._lastRenderedFixedRowCount = this.props.fixedRowCount), (this._lastRenderedRowHeight = this.props.rowHeight); }, }, { key: "_renderBottomLeftGrid", value: function (e) { var t = e.enableFixedColumnScroll, n = e.fixedColumnCount, r = e.fixedRowCount, o = e.rowCount, a = e.hideBottomLeftGridScrollbar, i = this.state.showVerticalScrollbar; if (!n) return null; var s = i ? 1 : 0, l = this._getBottomGridHeight(e), u = this._getLeftGridWidth(e), d = this.state.showVerticalScrollbar ? this.state.scrollbarSize : 0, p = a ? u + d : u, f = c.createElement( rt, (0, be.Z)({}, e, { cellRenderer: this._cellRendererBottomLeftGrid, className: this.props.classNameBottomLeftGrid, columnCount: n, deferredMeasurementCache: this._deferredMeasurementCacheBottomLeftGrid, height: l, onScroll: t ? this._onScrollTop : void 0, ref: this._bottomLeftGridRef, rowCount: Math.max(0, o - r) + s, rowHeight: this._rowHeightBottomGrid, style: this._bottomLeftGridStyle, tabIndex: null, width: p, }) ); return a ? c.createElement("div", { className: "BottomLeftGrid_ScrollWrapper", style: (0, be.Z)({}, this._bottomLeftGridStyle, { height: l, width: u, overflowY: "hidden" }) }, f) : f; }, }, { key: "_renderBottomRightGrid", value: function (e) { var t = e.columnCount, n = e.fixedColumnCount, r = e.fixedRowCount, o = e.rowCount, a = e.scrollToColumn, i = e.scrollToRow; return c.createElement( rt, (0, be.Z)({}, e, { cellRenderer: this._cellRendererBottomRightGrid, className: this.props.classNameBottomRightGrid, columnCount: Math.max(0, t - n), columnWidth: this._columnWidthRightGrid, deferredMeasurementCache: this._deferredMeasurementCacheBottomRightGrid, height: this._getBottomGridHeight(e), onScroll: this._onScroll, onScrollbarPresenceChange: this._onScrollbarPresenceChange, ref: this._bottomRightGridRef, rowCount: Math.max(0, o - r), rowHeight: this._rowHeightBottomGrid, scrollToColumn: a - n, scrollToRow: i - r, style: this._bottomRightGridStyle, width: this._getRightGridWidth(e), }) ); }, }, { key: "_renderTopLeftGrid", value: function (e) { var t = e.fixedColumnCount, n = e.fixedRowCount; return t && n ? c.createElement( rt, (0, be.Z)({}, e, { className: this.props.classNameTopLeftGrid, columnCount: t, height: this._getTopGridHeight(e), ref: this._topLeftGridRef, rowCount: n, style: this._topLeftGridStyle, tabIndex: null, width: this._getLeftGridWidth(e), }) ) : null; }, }, { key: "_renderTopRightGrid", value: function (e) { var t = e.columnCount, n = e.enableFixedRowScroll, r = e.fixedColumnCount, o = e.fixedRowCount, a = e.scrollLeft, i = e.hideTopRightGridScrollbar, s = this.state, l = s.showHorizontalScrollbar, u = s.scrollbarSize; if (!o) return null; var d = l ? 1 : 0, p = this._getTopGridHeight(e), f = this._getRightGridWidth(e), m = l ? u : 0, h = p, v = this._topRightGridStyle; i && ((h = p + m), (v = (0, be.Z)({}, this._topRightGridStyle, { left: 0 }))); var y = c.createElement( rt, (0, be.Z)({}, e, { cellRenderer: this._cellRendererTopRightGrid, className: this.props.classNameTopRightGrid, columnCount: Math.max(0, t - r) + d, columnWidth: this._columnWidthRightGrid, deferredMeasurementCache: this._deferredMeasurementCacheTopRightGrid, height: h, onScroll: n ? this._onScrollLeft : void 0, ref: this._topRightGridRef, rowCount: o, scrollLeft: a, style: v, tabIndex: null, width: f, }) ); return i ? c.createElement("div", { className: "TopRightGrid_ScrollWrapper", style: (0, be.Z)({}, this._topRightGridStyle, { height: p, width: f, overflowX: "hidden" }) }, y) : y; }, }, ], [ { key: "getDerivedStateFromProps", value: function (e, t) { return e.scrollLeft !== t.scrollLeft || e.scrollTop !== t.scrollTop ? { scrollLeft: null != e.scrollLeft && e.scrollLeft >= 0 ? e.scrollLeft : t.scrollLeft, scrollTop: null != e.scrollTop && e.scrollTop >= 0 ? e.scrollTop : t.scrollTop } : null; }, }, ] ), t ); })(c.PureComponent); Nt.defaultProps = { classNameBottomLeftGrid: "", classNameBottomRightGrid: "", classNameTopLeftGrid: "", classNameTopRightGrid: "", enableFixedColumnScroll: !1, enableFixedRowScroll: !1, fixedColumnCount: 0, fixedRowCount: 0, scrollToColumn: -1, scrollToRow: -1, style: {}, styleBottomLeftGrid: {}, styleBottomRightGrid: {}, styleTopLeftGrid: {}, styleTopRightGrid: {}, hideTopRightGridScrollbar: !1, hideBottomLeftGridScrollbar: !1, }; var Rt = function () { var e = this; (this.state = { scrollLeft: 0, scrollTop: 0, scrollbarSize: 0, showHorizontalScrollbar: !1, showVerticalScrollbar: !1 }), (this._deferredInvalidateColumnIndex = null), (this._deferredInvalidateRowIndex = null), (this._bottomLeftGridRef = function (t) { e._bottomLeftGrid = t; }), (this._bottomRightGridRef = function (t) { e._bottomRightGrid = t; }), (this._cellRendererBottomLeftGrid = function (t) { var n = t.rowIndex, r = (0, Se.Z)(t, ["rowIndex"]), o = e.props, a = o.cellRenderer, i = o.fixedRowCount; return n === o.rowCount - i ? c.createElement("div", { key: r.key, style: (0, be.Z)({}, r.style, { height: 20 }) }) : a((0, be.Z)({}, r, { parent: e, rowIndex: n + i })); }), (this._cellRendererBottomRightGrid = function (t) { var n = t.columnIndex, r = t.rowIndex, o = (0, Se.Z)(t, ["columnIndex", "rowIndex"]), a = e.props, i = a.cellRenderer, s = a.fixedColumnCount, c = a.fixedRowCount; return i((0, be.Z)({}, o, { columnIndex: n + s, parent: e, rowIndex: r + c })); }), (this._cellRendererTopRightGrid = function (t) { var n = t.columnIndex, r = (0, Se.Z)(t, ["columnIndex"]), o = e.props, a = o.cellRenderer, i = o.columnCount, s = o.fixedColumnCount; return n === i - s ? c.createElement("div", { key: r.key, style: (0, be.Z)({}, r.style, { width: 20 }) }) : a((0, be.Z)({}, r, { columnIndex: n + s, parent: e })); }), (this._columnWidthRightGrid = function (t) { var n = t.index, r = e.props, o = r.columnCount, a = r.fixedColumnCount, i = r.columnWidth, s = e.state, c = s.scrollbarSize; return s.showHorizontalScrollbar && n === o - a ? c : "function" == typeof i ? i({ index: n + a }) : i; }), (this._onScroll = function (t) { var n = t.scrollLeft, r = t.scrollTop; e.setState({ scrollLeft: n, scrollTop: r }); var o = e.props.onScroll; o && o(t); }), (this._onScrollbarPresenceChange = function (t) { var n = t.horizontal, r = t.size, o = t.vertical, a = e.state, i = a.showHorizontalScrollbar, s = a.showVerticalScrollbar; if (n !== i || o !== s) { e.setState({ scrollbarSize: r, showHorizontalScrollbar: n, showVerticalScrollbar: o }); var c = e.props.onScrollbarPresenceChange; "function" == typeof c && c({ horizontal: n, size: r, vertical: o }); } }), (this._onScrollLeft = function (t) { var n = t.scrollLeft; e._onScroll({ scrollLeft: n, scrollTop: e.state.scrollTop }); }), (this._onScrollTop = function (t) { var n = t.scrollTop; e._onScroll({ scrollTop: n, scrollLeft: e.state.scrollLeft }); }), (this._rowHeightBottomGrid = function (t) { var n = t.index, r = e.props, o = r.fixedRowCount, a = r.rowCount, i = r.rowHeight, s = e.state, c = s.scrollbarSize; return s.showVerticalScrollbar && n === a - o ? c : "function" == typeof i ? i({ index: n + o }) : i; }), (this._topLeftGridRef = function (t) { e._topLeftGrid = t; }), (this._topRightGridRef = function (t) { e._topRightGrid = t; }); }; function Lt(e) { var t = e.className, n = e.columns, r = e.style; return c.createElement("div", { className: t, role: "row", style: r }, n); } (Nt.propTypes = {}), (0, ye.polyfill)(Nt), ((function (e) { function t(e, n) { (0, fe.Z)(this, t); var r = (0, he.Z)(this, (t.__proto__ || pe()(t)).call(this, e, n)); return (r.state = { clientHeight: 0, clientWidth: 0, scrollHeight: 0, scrollLeft: 0, scrollTop: 0, scrollWidth: 0 }), (r._onScroll = r._onScroll.bind(r)), r; } return ( (0, ve.Z)(t, e), (0, me.Z)(t, [ { key: "render", value: function () { var e = this.props.children, t = this.state, n = t.clientHeight, r = t.clientWidth, o = t.scrollHeight, a = t.scrollLeft, i = t.scrollTop, s = t.scrollWidth; return e({ clientHeight: n, clientWidth: r, onScroll: this._onScroll, scrollHeight: o, scrollLeft: a, scrollTop: i, scrollWidth: s }); }, }, { key: "_onScroll", value: function (e) { var t = e.clientHeight, n = e.clientWidth, r = e.scrollHeight, o = e.scrollLeft, a = e.scrollTop, i = e.scrollWidth; this.setState({ clientHeight: t, clientWidth: n, scrollHeight: r, scrollLeft: o, scrollTop: a, scrollWidth: i }); }, }, ]), t ); })(c.PureComponent).propTypes = {}), (Lt.propTypes = null); const Mt = { ASC: "ASC", DESC: "DESC" }; function Pt(e) { var t = e.sortDirection, n = ke("ReactVirtualized__Table__sortableHeaderIcon", { "ReactVirtualized__Table__sortableHeaderIcon--ASC": t === Mt.ASC, "ReactVirtualized__Table__sortableHeaderIcon--DESC": t === Mt.DESC }); return c.createElement( "svg", { className: n, width: 18, height: 18, viewBox: "0 0 24 24" }, t === Mt.ASC ? c.createElement("path", { d: "M7 14l5-5 5 5z" }) : c.createElement("path", { d: "M7 10l5 5 5-5z" }), c.createElement("path", { d: "M0 0h24v24H0z", fill: "none" }) ); } function jt(e) { var t = e.dataKey, n = e.label, r = e.sortBy, o = e.sortDirection, a = r === t, i = [c.createElement("span", { className: "ReactVirtualized__Table__headerTruncatedText", key: "label", title: "string" == typeof n ? n : null }, n)]; return a && i.push(c.createElement(Pt, { key: "SortIndicator", sortDirection: o })), i; } function Bt(e) { var t = e.className, n = e.columns, r = e.index, o = e.key, a = e.onRowClick, i = e.onRowDoubleClick, s = e.onRowMouseOut, l = e.onRowMouseOver, u = e.onRowRightClick, d = e.rowData, p = e.style, f = { "aria-rowindex": r + 1 }; return ( (a || i || s || l || u) && ((f["aria-label"] = "row"), (f.tabIndex = 0), a && (f.onClick = function (e) { return a({ event: e, index: r, rowData: d }); }), i && (f.onDoubleClick = function (e) { return i({ event: e, index: r, rowData: d }); }), s && (f.onMouseOut = function (e) { return s({ event: e, index: r, rowData: d }); }), l && (f.onMouseOver = function (e) { return l({ event: e, index: r, rowData: d }); }), u && (f.onContextMenu = function (e) { return u({ event: e, index: r, rowData: d }); })), c.createElement("div", (0, be.Z)({}, f, { className: t, key: o, role: "row", style: p }), n) ); } (Pt.propTypes = {}), (jt.propTypes = null), (Bt.propTypes = null); var Zt = (function (e) { function t() { return (0, fe.Z)(this, t), (0, he.Z)(this, (t.__proto__ || pe()(t)).apply(this, arguments)); } return (0, ve.Z)(t, e), t; })(c.Component); (Zt.defaultProps = { cellDataGetter: function (e) { var t = e.dataKey, n = e.rowData; return "function" == typeof n.get ? n.get(t) : n[t]; }, cellRenderer: function (e) { var t = e.cellData; return null == t ? "" : String(t); }, defaultSortDirection: Mt.ASC, flexGrow: 0, flexShrink: 1, headerRenderer: jt, style: {}, }), (Zt.propTypes = {}); var Ut = (function (e) { function t(e) { (0, fe.Z)(this, t); var n = (0, he.Z)(this, (t.__proto__ || pe()(t)).call(this, e)); return ( (n.state = { scrollbarWidth: 0 }), (n._createColumn = n._createColumn.bind(n)), (n._createRow = n._createRow.bind(n)), (n._onScroll = n._onScroll.bind(n)), (n._onSectionRendered = n._onSectionRendered.bind(n)), (n._setRef = n._setRef.bind(n)), n ); } return ( (0, ve.Z)(t, e), (0, me.Z)(t, [ { key: "forceUpdateGrid", value: function () { this.Grid && this.Grid.forceUpdate(); }, }, { key: "getOffsetForRow", value: function (e) { var t = e.alignment, n = e.index; return this.Grid ? this.Grid.getOffsetForCell({ alignment: t, rowIndex: n }).scrollTop : 0; }, }, { key: "invalidateCellSizeAfterRender", value: function (e) { var t = e.columnIndex, n = e.rowIndex; this.Grid && this.Grid.invalidateCellSizeAfterRender({ rowIndex: n, columnIndex: t }); }, }, { key: "measureAllRows", value: function () { this.Grid && this.Grid.measureAllCells(); }, }, { key: "recomputeGridSize", value: function () { var e = arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : {}, t = e.columnIndex, n = void 0 === t ? 0 : t, r = e.rowIndex, o = void 0 === r ? 0 : r; this.Grid && this.Grid.recomputeGridSize({ rowIndex: o, columnIndex: n }); }, }, { key: "recomputeRowHeights", value: function () { var e = arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : 0; this.Grid && this.Grid.recomputeGridSize({ rowIndex: e }); }, }, { key: "scrollToPosition", value: function () { var e = arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : 0; this.Grid && this.Grid.scrollToPosition({ scrollTop: e }); }, }, { key: "scrollToRow", value: function () { var e = arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : 0; this.Grid && this.Grid.scrollToCell({ columnIndex: 0, rowIndex: e }); }, }, { key: "getScrollbarWidth", value: function () { if (this.Grid) { var e = (0, E.findDOMNode)(this.Grid), t = e.clientWidth || 0; return (e.offsetWidth || 0) - t; } return 0; }, }, { key: "componentDidMount", value: function () { this._setScrollbarWidth(); }, }, { key: "componentDidUpdate", value: function () { this._setScrollbarWidth(); }, }, { key: "render", value: function () { var e = this, t = this.props, n = t.children, r = t.className, o = t.disableHeader, a = t.gridClassName, i = t.gridStyle, s = t.headerHeight, l = t.headerRowRenderer, u = t.height, d = t.id, p = t.noRowsRenderer, f = t.rowClassName, m = t.rowStyle, h = t.scrollToIndex, v = t.style, y = t.width, g = this.state.scrollbarWidth, b = o ? u : u - s, E = "function" == typeof f ? f({ index: -1 }) : f, D = "function" == typeof m ? m({ index: -1 }) : m; return ( (this._cachedColumnStyles = []), c.Children.toArray(n).forEach(function (t, n) { var r = e._getFlexStyleForColumn(t, t.props.style); e._cachedColumnStyles[n] = (0, be.Z)({ overflow: "hidden" }, r); }), c.createElement( "div", { "aria-label": this.props["aria-label"], "aria-labelledby": this.props["aria-labelledby"], "aria-colcount": c.Children.toArray(n).length, "aria-rowcount": this.props.rowCount, className: ke("ReactVirtualized__Table", r), id: d, role: "grid", style: v, }, !o && l({ className: ke("ReactVirtualized__Table__headerRow", E), columns: this._getHeaderColumns(), style: (0, be.Z)({ height: s, overflow: "hidden", paddingRight: g, width: y }, D) }), c.createElement( rt, (0, be.Z)({}, this.props, { "aria-readonly": null, autoContainerWidth: !0, className: ke("ReactVirtualized__Table__Grid", a), cellRenderer: this._createRow, columnWidth: y, columnCount: 1, height: b, id: void 0, noContentRenderer: p, onScroll: this._onScroll, onSectionRendered: this._onSectionRendered, ref: this._setRef, role: "rowgroup", scrollbarWidth: g, scrollToRow: h, style: (0, be.Z)({}, i, { overflowX: "hidden" }), }) ) ) ); }, }, { key: "_createColumn", value: function (e) { var t = e.column, n = e.columnIndex, r = e.isScrolling, o = e.parent, a = e.rowData, i = e.rowIndex, s = this.props.onColumnClick, l = t.props, u = l.cellDataGetter, d = l.cellRenderer, p = l.className, f = l.columnData, m = l.dataKey, h = l.id, v = d({ cellData: u({ columnData: f, dataKey: m, rowData: a }), columnData: f, columnIndex: n, dataKey: m, isScrolling: r, parent: o, rowData: a, rowIndex: i }), y = this._cachedColumnStyles[n], g = "string" == typeof v ? v : null; return c.createElement( "div", { "aria-colindex": n + 1, "aria-describedby": h, className: ke("ReactVirtualized__Table__rowColumn", p), key: "Row" + i + "-Col" + n, onClick: function (e) { s && s({ columnData: f, dataKey: m, event: e }); }, role: "gridcell", style: y, title: g, }, v ); }, }, { key: "_createHeader", value: function (e) { var t = e.column, n = e.index, r = this.props, o = r.headerClassName, a = r.headerStyle, i = r.onHeaderClick, s = r.sort, l = r.sortBy, u = r.sortDirection, d = t.props, p = d.columnData, f = d.dataKey, m = d.defaultSortDirection, h = d.disableSort, v = d.headerRenderer, y = d.id, g = d.label, b = !h && s, E = ke("ReactVirtualized__Table__headerColumn", o, t.props.headerClassName, { ReactVirtualized__Table__sortableHeaderColumn: b }), D = this._getFlexStyleForColumn(t, (0, be.Z)({}, a, t.props.headerStyle)), C = v({ columnData: p, dataKey: f, disableSort: h, label: g, sortBy: l, sortDirection: u }), w = void 0, S = void 0, A = void 0, k = void 0, _ = void 0; if (b || i) { var T = l !== f ? m : u === Mt.DESC ? Mt.ASC : Mt.DESC, I = function (e) { b && s({ defaultSortDirection: m, event: e, sortBy: f, sortDirection: T }), i && i({ columnData: p, dataKey: f, event: e }); }; (_ = t.props["aria-label"] || g || f), (k = "none"), (A = 0), (w = I), (S = function (e) { ("Enter" !== e.key && " " !== e.key) || I(e); }); } return ( l === f && (k = u === Mt.ASC ? "ascending" : "descending"), c.createElement("div", { "aria-label": _, "aria-sort": k, className: E, id: y, key: "Header-Col" + n, onClick: w, onKeyDown: S, role: "columnheader", style: D, tabIndex: A }, C) ); }, }, { key: "_createRow", value: function (e) { var t = this, n = e.rowIndex, r = e.isScrolling, o = e.key, a = e.parent, i = e.style, s = this.props, l = s.children, u = s.onRowClick, d = s.onRowDoubleClick, p = s.onRowRightClick, f = s.onRowMouseOver, m = s.onRowMouseOut, h = s.rowClassName, v = s.rowGetter, y = s.rowRenderer, g = s.rowStyle, b = this.state.scrollbarWidth, E = "function" == typeof h ? h({ index: n }) : h, D = "function" == typeof g ? g({ index: n }) : g, C = v({ index: n }), w = c.Children.toArray(l).map(function (e, o) { return t._createColumn({ column: e, columnIndex: o, isScrolling: r, parent: a, rowData: C, rowIndex: n, scrollbarWidth: b }); }), S = ke("ReactVirtualized__Table__row", E), A = (0, be.Z)({}, i, { height: this._getRowHeight(n), overflow: "hidden", paddingRight: b }, D); return y({ className: S, columns: w, index: n, isScrolling: r, key: o, onRowClick: u, onRowDoubleClick: d, onRowRightClick: p, onRowMouseOver: f, onRowMouseOut: m, rowData: C, style: A }); }, }, { key: "_getFlexStyleForColumn", value: function (e) { var t = arguments.length > 1 && void 0 !== arguments[1] ? arguments[1] : {}, n = e.props.flexGrow + " " + e.props.flexShrink + " " + e.props.width + "px", r = (0, be.Z)({}, t, { flex: n, msFlex: n, WebkitFlex: n }); return e.props.maxWidth && (r.maxWidth = e.props.maxWidth), e.props.minWidth && (r.minWidth = e.props.minWidth), r; }, }, { key: "_getHeaderColumns", value: function () { var e = this, t = this.props, n = t.children; return (t.disableHeader ? [] : c.Children.toArray(n)).map(function (t, n) { return e._createHeader({ column: t, index: n }); }); }, }, { key: "_getRowHeight", value: function (e) { var t = this.props.rowHeight; return "function" == typeof t ? t({ index: e }) : t; }, }, { key: "_onScroll", value: function (e) { var t = e.clientHeight, n = e.scrollHeight, r = e.scrollTop; (0, this.props.onScroll)({ clientHeight: t, scrollHeight: n, scrollTop: r }); }, }, { key: "_onSectionRendered", value: function (e) { var t = e.rowOverscanStartIndex, n = e.rowOverscanStopIndex, r = e.rowStartIndex, o = e.rowStopIndex; (0, this.props.onRowsRendered)({ overscanStartIndex: t, overscanStopIndex: n, startIndex: r, stopIndex: o }); }, }, { key: "_setRef", value: function (e) { this.Grid = e; }, }, { key: "_setScrollbarWidth", value: function () { var e = this.getScrollbarWidth(); this.setState({ scrollbarWidth: e }); }, }, ]), t ); })(c.PureComponent); (Ut.defaultProps = { disableHeader: !1, estimatedRowSize: 30, headerHeight: 0, headerStyle: {}, noRowsRenderer: function () { return null; }, onRowsRendered: function () { return null; }, onScroll: function () { return null; }, overscanIndicesGetter: ot, overscanRowCount: 10, rowRenderer: Bt, headerRowRenderer: Lt, rowStyle: {}, scrollToAlignment: "auto", scrollToIndex: -1, style: {}, }), (Ut.propTypes = {}); var zt = [], Vt = null, Ht = null; function Gt() { Ht && ((Ht = null), document.body && null != Vt && (document.body.style.pointerEvents = Vt), (Vt = null)); } function Wt() { Gt(), zt.forEach(function (e) { return e.__resetIsScrolling(); }); } function Qt(e) { e.currentTarget === window && null == Vt && document.body && ((Vt = document.body.style.pointerEvents), (document.body.style.pointerEvents = "none")), (function () { Ht && $e(Ht); var e = 0; zt.forEach(function (t) { e = Math.max(e, t.props.scrollingResetTimeInterval); }), (Ht = et(Wt, e)); })(), zt.forEach(function (t) { t.props.scrollElement === e.currentTarget && t.__handleWindowScrollEvent(); }); } function Jt(e, t) { zt.some(function (e) { return e.props.scrollElement === t; }) || t.addEventListener("scroll", Qt), zt.push(e); } function Yt(e, t) { (zt = zt.filter(function (t) { return t !== e; })).length || (t.removeEventListener("scroll", Qt), Ht && ($e(Ht), Gt())); } var qt = function (e) { return e === window; }, Xt = function (e) { return e.getBoundingClientRect(); }; function Kt(e, t) { if (e) { if (qt(e)) { var n = window, r = n.innerHeight, o = n.innerWidth; return { height: "number" == typeof r ? r : 0, width: "number" == typeof o ? o : 0 }; } return Xt(e); } return { height: t.serverHeight, width: t.serverWidth }; } function $t(e) { return qt(e) && document.documentElement ? { top: "scrollY" in window ? window.scrollY : document.documentElement.scrollTop, left: "scrollX" in window ? window.scrollX : document.documentElement.scrollLeft } : { top: e.scrollTop, left: e.scrollLeft }; } var en = function () { return "undefined" != typeof window ? window : void 0; }, tn = (function (e) { function t() { var e, n, r, o; (0, fe.Z)(this, t); for (var a = arguments.length, i = Array(a), s = 0; s < a; s++) i[s] = arguments[s]; return ( (n = r = (0, he.Z)(this, (e = t.__proto__ || pe()(t)).call.apply(e, [this].concat(i)))), (r._window = en()), (r._isMounted = !1), (r._positionFromTop = 0), (r._positionFromLeft = 0), (r.state = (0, be.Z)({}, Kt(r.props.scrollElement, r.props), { isScrolling: !1, scrollLeft: 0, scrollTop: 0 })), (r._registerChild = function (e) { !e || e instanceof Element || console.warn("WindowScroller registerChild expects to be passed Element or null"), (r._child = e), r.updatePosition(); }), (r._onChildScroll = function (e) { var t = e.scrollTop; if (r.state.scrollTop !== t) { var n = r.props.scrollElement; n && ("function" == typeof n.scrollTo ? n.scrollTo(0, t + r._positionFromTop) : (n.scrollTop = t + r._positionFromTop)); } }), (r._registerResizeListener = function (e) { e === window ? window.addEventListener("resize", r._onResize, !1) : r._detectElementResize.addResizeListener(e, r._onResize); }), (r._unregisterResizeListener = function (e) { e === window ? window.removeEventListener("resize", r._onResize, !1) : e && r._detectElementResize.removeResizeListener(e, r._onResize); }), (r._onResize = function () { r.updatePosition(); }), (r.__handleWindowScrollEvent = function () { if (r._isMounted) { var e = r.props.onScroll, t = r.props.scrollElement; if (t) { var n = $t(t), o = Math.max(0, n.left - r._positionFromLeft), a = Math.max(0, n.top - r._positionFromTop); r.setState({ isScrolling: !0, scrollLeft: o, scrollTop: a }), e({ scrollLeft: o, scrollTop: a }); } } }), (r.__resetIsScrolling = function () { r.setState({ isScrolling: !1 }); }), (o = n), (0, he.Z)(r, o) ); } return ( (0, ve.Z)(t, e), (0, me.Z)(t, [ { key: "updatePosition", value: function () { var e = arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : this.props.scrollElement, t = this.props.onResize, n = this.state, r = n.height, o = n.width, a = this._child || E.findDOMNode(this); if (a instanceof Element && e) { var i = (function (e, t) { if (qt(t) && document.documentElement) { var n = document.documentElement, r = Xt(e), o = Xt(n); return { top: r.top - o.top, left: r.left - o.left }; } var a = $t(t), i = Xt(e), s = Xt(t); return { top: i.top + a.top - s.top, left: i.left + a.left - s.left }; })(a, e); (this._positionFromTop = i.top), (this._positionFromLeft = i.left); } var s = Kt(e, this.props); (r === s.height && o === s.width) || (this.setState({ height: s.height, width: s.width }), t({ height: s.height, width: s.width })); }, }, { key: "componentDidMount", value: function () { var e = this.props.scrollElement; (this._detectElementResize = Ee()), this.updatePosition(e), e && (Jt(this, e), this._registerResizeListener(e)), (this._isMounted = !0); }, }, { key: "componentDidUpdate", value: function (e, t) { var n = this.props.scrollElement, r = e.scrollElement; r !== n && null != r && null != n && (this.updatePosition(n), Yt(this, r), Jt(this, n), this._unregisterResizeListener(r), this._registerResizeListener(n)); }, }, { key: "componentWillUnmount", value: function () { var e = this.props.scrollElement; e && (Yt(this, e), this._unregisterResizeListener(e)), (this._isMounted = !1); }, }, { key: "render", value: function () { var e = this.props.children, t = this.state, n = t.isScrolling, r = t.scrollTop, o = t.scrollLeft, a = t.height, i = t.width; return e({ onChildScroll: this._onChildScroll, registerChild: this._registerChild, height: a, isScrolling: n, scrollLeft: o, scrollTop: r, width: i }); }, }, ]), t ); })(c.PureComponent); (tn.defaultProps = { onResize: function () {}, onScroll: function () {}, scrollingResetTimeInterval: 150, scrollElement: en(), serverHeight: 0, serverWidth: 0 }), (tn.propTypes = null); const nn = { width: 500, height: 500 }, rn = ({ startIndex: e, stopIndex: t, cellCount: n, overscanCellsCount: r }) => ({ overscanStartIndex: Math.max(0, Math.min(e - r)), overscanStopIndex: Math.min(n - 1, Math.max(t + r)) }); function on(e, t = { height: 0, width: 0 }) { return Math.min(1, (e.width - 16) / t.width, (e.height - 16) / t.height); } function an(e) { const t = Array.from(e.querySelectorAll("img")), n = Array.from(e.querySelectorAll("video")), r = !!e.querySelector("[data-is-loading]"), o = t.length > 0 && t.some((e) => !e.complete), a = n.length > 0 && n.some((e) => e.readyState < e.HAVE_METADATA), i = 0 === e.childElementCount, s = 0 === e.offsetWidth || 0 === e.offsetHeight; return i || o || a || s || r; } function sn(e, t) { return e.getOffsetForCell({ alignment: "start", rowIndex: t }).scrollTop; } function cn(e, t) { return e.getOffsetForCell({ alignment: "start", columnIndex: t }).scrollLeft; } function ln(e, t = 0, n = 0) { const r = { rowIndex: e.props.rowCount - 1, rowOffset: 0, columnIndex: e.props.columnCount - 1, columnOffset: 0 }, o = e.state.scrollLeft + t, a = e.state.scrollTop + n; for (let t = 0; t < e.props.rowCount; t += 1) if (a >= sn(e, t) && a < sn(e, t + 1)) { r.rowIndex = t; break; } for (let t = 0; t < e.props.columnCount; t += 1) if (o >= cn(e, t) && o < cn(e, t + 1)) { r.columnIndex = t; break; } return (r.rowOffset = a - sn(e, r.rowIndex)), (r.columnOffset = o - cn(e, r.columnIndex)), r; } const un = l().createContext(void 0), dn = "application/pdf", pn = "document/vnd.adobe.indesign+dcx"; var fn, mn; function hn(e, t = { width: 0, height: 0 }) { const [n, r] = (0, c.useState)(t), o = (0, c.useCallback)(() => { (e.current && null === e.current.offsetParent) || r({ width: e.current ? e.current.offsetWidth : 0, height: e.current ? e.current.offsetHeight : 0 }); }, []); return (0, c.useLayoutEffect)(o, []), C(window, "resize", o, [o]), n; } !(function (e) { (e.Success = "success"), (e.Error = "error"), (e.Click = "click"), (e.Render = "render"), (e.Log = "log"), (e.Init = "init"), (e.Info = "info"); })(fn || (fn = {})), (function (e) { (e.Page = "page"), (e.Export = "export"), (e.MultipageSchedule = "multipage-schedule"); })(mn || (mn = {})); const vn = (0, c.createContext)(null), yn = (e) => { const t = (0, c.useRef)(null), n = (0, c.useRef)(null), r = (0, c.useRef)(null), o = hn(t), a = hn(r), [i, s] = (0, c.useState)({ height: 0, width: 0 }), [u, d] = (0, c.useState)(), [p, f] = (0, c.useState)(), [m, h] = (0, c.useState)(), [v, y] = (0, c.useState)(null), { urn: g, mimeType: b } = e, { zoom: E, setZoom: D } = (function ({ gridRef: e, containerRef: t, defaultZoom: n, mimeType: r }, o) { const [a, i] = (0, c.useState)({ scale: 0, clientX: 0, clientY: 0 }); (0, c.useLayoutEffect)(() => { a.scale = 0; }, o), (function (e, t) { const n = (0, c.useRef)(t); (n.current = t), (0, c.useEffect)(() => { function t(t) { if (t.ctrlKey && (t.preventDefault(), void 0 !== e.current)) { const r = e.current.getBoundingClientRect(); n.current({ delta: 0.01 * t.deltaY, clientX: Math.max(0, Math.min(t.clientX - r.left, r.right)), clientY: Math.max(0, Math.min(t.clientY - r.top, r.bottom)) }); } } return ( window.document.addEventListener("wheel", t, { passive: !1 }), () => { window.document.removeEventListener("wheel", t); } ); }, []); })(t, ({ delta: e, clientX: t, clientY: r }) => { i({ scale: Math.min(8, Math.max(0.1, (a.scale || n) - e)), clientX: t, clientY: r }); }); const s = (0, c.useRef)(0); return ( (0, c.useLayoutEffect)(() => { if (e.current) { const t = a.scale || n; t !== s.current && ((function (e, t, { scale: n, clientX: r, clientY: o }) { const a = ln(e, r, o); e.recomputeGridSize(); const i = e.getOffsetForCell({ alignment: "start", rowIndex: a.rowIndex, columnIndex: a.columnIndex }); e.scrollToPosition({ scrollTop: i.scrollTop + a.rowOffset * (n / t) - o, scrollLeft: i.scrollLeft + a.columnOffset * (n / t) - r }); })(e.current, s.current, a), (s.current = t)); } }, [a.scale, n]), { zoom: a.scale || n, setZoom: (0, c.useCallback)((e) => { if (r === dn || r === pn) i({ scale: e, clientX: 0, clientY: 0 }); else if (t.current) { const n = t.current.getBoundingClientRect(); i({ scale: e, clientX: n.width / 2, clientY: n.height / 2 }); } }, []), } ); })({ gridRef: n, containerRef: t, defaultZoom: b !== (dn || pn) ? on({ width: o.width, height: o.height - a.height }, i) : 1, mimeType: b }, [g, i]), C = { APIs: u, setAPIs: d, adobeViewer: p, setAdobeViewer: f, scrollPage: m, setScrollPage: h, zoom: E, setZoom: D, setMaxSize: (e) => { s(e); }, containerRef: t, gridRef: n, footerRef: r, containerSize: o, footerSize: a, mimeType: b, urn: g, isSelected: v, setIsSelected: y, }, { children: w } = e; return l().createElement(vn.Provider, { value: C }, w); }, gn = n(72792), bn = (0, c.forwardRef)((e, t) => { const { onPageChange: n, children: r, urn: o } = e, a = l().Children.toArray(r), i = a.length, [s, u] = (0, c.useState)(1), { containerRef: d, gridRef: p, containerSize: f, footerSize: m, setMaxSize: h, zoom: v } = (0, c.useContext)(vn), y = (0, c.useCallback)((e) => { p.current && p.current.scrollToCell({ rowIndex: e - 1, columnIndex: 0 }); }, []); (0, c.useImperativeHandle)(t, () => ({ scrollToPage: (e) => { requestAnimationFrame(() => y(e)); }, })); const { getPageCellSize: g, getPageSize: b, registerPageSize: E, maxPageSize: D } = (function ({ containerSize: e, footerSize: t, numPages: n }, r) { const [o, a] = (0, c.useState)(void 0), [i, s] = (0, c.useState)([]), l = o || nn; (0, c.useLayoutEffect)(() => { s([]); }, r); const u = (0, c.useCallback)( (e, t, n) => { const r = i[e]; (r && r.width === t && r.height === n) || ((i[e] = { width: t, height: n }), a(i.reduce((e, { width: t, height: n }) => ({ width: Math.max(e.width, t), height: Math.max(e.height, n) })))); }, [i] ), d = (0, c.useCallback)((e, t) => ({ width: (i[e] || l).width * t, height: (i[e] || l).height * t }), [i, l]), p = (0, c.useCallback)( (r, o) => { const a = 0 === r ? 8 : 0, i = 8 + (r === n - 1 ? t.height : 0); return { width: Math.max(e.width, d(r, o).width), height: 1 === n ? Math.max(e.height, d(r, o).height) : d(r, o).height + a + i }; }, [n, d, e] ); return { registerPageSize: u, getPageSize: d, getPageCellSize: p, maxPageSize: l }; })({ containerSize: f, footerSize: m, numPages: i }, [o]); (0, c.useLayoutEffect)(() => { p.current && p.current.recomputeGridSize(); }, [f, D]), h(D); const C = (0, c.useCallback)( ue()(() => { if (p.current) { const e = (function (e) { const t = sn(e, e.props.rowCount - 1); return e.state.scrollTop >= Math.floor(t); })(p.current) ? i : ln(p.current, 0, 10).rowIndex + 1; u(e), n && n(e); } }, 40), [i, n, s] ); return l().createElement( "div", { className: gn.Pages, ref: d }, l().createElement(rt, { className: gn.OneUpGrid, ref: p, width: f.width, height: f.height, overscanRowCount: 10, overscanIndicesGetter: rn, onSectionRendered: C, onScroll: C, rowCount: i, scrollToAlignment: "start", estimatedRowSize: g(0, v).height, rowHeight: ({ index: e }) => g(e, v).height, columnWidth: ({ index: e }) => g(e, v).width, columnCount: 1, cellRenderer: (e) => l().createElement(un.Provider, { key: e.key, value: { gridCellProps: e, zoom: v, containerSize: f, numPages: i, pageSize: b(e.rowIndex, v), registerPageSize: (t, n) => E(e.rowIndex, t, n) } }, a[e.rowIndex]), }) ); }); var En = n(77249), Dn = n.n(En); class Cn { constructor(e, t) { (this.trackedElements = new WeakMap()), (this.observer = new MutationObserver((e) => { e.map(({ addedNodes: e }) => this.trackNodes(e)), this.callback(); })), (this.callback = t), this.trackNodes(e.querySelectorAll("img,video")), this.observer.observe(e, { childList: !0, subtree: !0, attributes: !0, attributeFilter: ["data-is-loading"] }); } disconnect() { this.observer.disconnect(); } trackNodes(e) { Array.from(e).map((e) => this.trackNode(e)); } trackNode(e) { this.trackedElements.has(e) || (this.trackedElements.set(e, !0), e instanceof HTMLImageElement ? (e.complete ? this.callback() : e.addEventListener("load", this.callback)) : e instanceof HTMLVideoElement && e.addEventListener("resize", this.callback)); } } const wn = n(26801), Sn = (e) => { const { extension: t } = e; let r; return (r = t in N ? N[t] : n(56784)), l().createElement("div", { className: wn.fallbackRenditon }, l().createElement("img", { src: r, alt: "" })); }, An = n(31793); var kn; !(function (e) { (e[(e.LoadingGhost = 0)] = "LoadingGhost"), (e[(e.LoadingSpinner = 1)] = "LoadingSpinner"), (e[(e.LoadedNormalPage = 2)] = "LoadedNormalPage"), (e[(e.Fallback = 3)] = "Fallback"); })(kn || (kn = {})); const _n = (e) => { const t = (0, c.useRef)(null), n = (0, c.useRef)(null), { pageSize: r, containerSize: o, gridCellProps: a, registerPageSize: i, zoom: s, numPages: u } = (0, c.useContext)(un), { children: d, assetURI: p, extension: f, canRender: m } = e, { rowIndex: h, style: v } = a, [y, g] = (0, c.useState)(kn.LoadingGhost); (0, c.useLayoutEffect)(() => { if (n.current) { let e, t; const r = n.current, o = () => { clearTimeout(e), clearTimeout(t), i(r.offsetWidth, r.offsetHeight), g(kn.LoadedNormalPage); }; if (!an(r)) return void o(); g(kn.LoadingGhost), (e = m ? setTimeout(() => g(kn.LoadingSpinner), 2e3) : void 0), (t = setTimeout(() => g(kn.Fallback), m ? 4e4 : 0)); const a = new Cn(r, () => { an(r) || o(); }); return () => { clearTimeout(e), clearTimeout(t), a.disconnect(); }; } }, [h, p]); const { width: E, height: D } = r, C = E < o.width, w = 1 === u && D < o.height; return l().createElement( "div", { className: b()(An.Page, { [An.isLoading]: y < kn.LoadedNormalPage }), ref: t, style: { position: "absolute", width: E, height: D, left: `calc(${v.left || 0}px + ${C ? `50% - ${E / 2}px` : "0px"})`, top: `calc(${v.top || 0}px + ${w ? `50% - ${D / 2}px` : "0px"})`, marginTop: u > 1 && 0 === h ? 8 : 0, marginBottom: u > 1 ? 8 : 0, marginLeft: 0, }, }, l().createElement("div", { className: An.PageContent, ref: n, style: { visibility: y === kn.Fallback ? "hidden" : "visible", transform: `scale(${s})` } }, d), y === kn.LoadingSpinner && l().createElement(Dn(), { size: "M" }), y === kn.Fallback && l().createElement(Sn, { extension: f }) ); }, Tn = bn; var In = n(30871); const On = n(40215); function Fn(e, t) { let n; switch (t) { case "keyup": n = "KEYPRESS"; break; case "click": n = "BUTTON_CLICK"; break; case "touchend": n = "TOUCH"; break; default: n = "null"; } } const xn = (e) => { const { goToPrev: t, goToNext: n, isPrevDisabled: r, isNextDisabled: o, prevTooltip: a, nextTooltip: i } = e, s = (0, c.useCallback)( (e) => { !r && t && (t(), Fn(0, e.type)); }, [r, t] ), u = (0, c.useCallback)( (e) => { !o && n && (n(), Fn(0, e.type)); }, [o, n] ), f = (0, c.useCallback)( (e) => { e.preventDefault(), e.stopPropagation(), e.target instanceof HTMLInputElement || e.target instanceof HTMLTextAreaElement || (e.target instanceof HTMLDivElement && e.target.isContentEditable) || ("ArrowLeft" === e.key ? s(e) : "ArrowRight" === e.key && u(e)); }, [s, u] ); return ( (0, c.useEffect)( () => ( document.addEventListener("keyup", f), () => { document.removeEventListener("keyup", f); } ), [f] ), l().createElement( "div", { className: On.root, "data-test-id": "OneUpOverlay_LeftArrowContainer" }, l().createElement( d.default, { placement: "top", trigger: ["hover", "focus"], delayShow: T, disabled: !a, selected: !1 }, l().createElement(_(), { quiet: !0, icon: l().createElement(H.default, { size: "S" }), variant: "action", className: b()(On.left, { [On.isVisible]: !0 }), disabled: r, "data-test-id": "OneUpOverlay_LeftButton", onClick: s, }), l().createElement(p.default, null, " ", a, " ") ), l().createElement( d.default, { placement: "top", trigger: ["hover", "focus"], delayShow: T, disabled: !i, selected: !1 }, l().createElement(_(), { quiet: !0, icon: l().createElement(In.default, { size: "S" }), variant: "action", className: b()(On.right, { [On.isVisible]: !0 }), disabled: o, "data-test-id": "OneUpOverlay_RightButton", onClick: u, }), l().createElement(p.default, null, " ", i, " ") ) ) ); }; n(81606), Node.prototype.contains || (Node.prototype.contains = function (e) { if (e) { var t = e; do { if (this === t) return !0; t = t && t.parentNode; } while (t); } return !1; }), window.NodeList && !NodeList.prototype.forEach && (NodeList.prototype.forEach = function (e, t) { t = t || window; for (var n = 0; n < this.length; n++) e.call(t, this[n], n, this); }); var Nn = n(78034).Z, Rn = (n(64251).Z, n(37370).ZP), Ln = n(88559).Z, Mn = n(10548).Z, Pn = n(8605).Z, jn = n(39358), Bn = n.n(jn), Zn = function (e, t, n, r) { return new (n || (n = Promise))(function (o, a) { function i(e) { try { c(r.next(e)); } catch (e) { a(e); } } function s(e) { try { c(r.throw(e)); } catch (e) { a(e); } } function c(e) { var t; e.done ? o(e.value) : ((t = e.value), t instanceof n ? t : new n(function (e) { e(t); })).then(i, s); } c((r = r.apply(e, t || [])).next()); }); }; const Un = n(86756), zn = "CCAC-1UP: CommentPanelView:", Vn = l().createContext({ isAnnotating: !1, annotatingType: "" }), Hn = { START: "start", CANCEL: "cancel", PLACE: "place", UPDATE: "update", SUBMIT: "submit" }, Gn = l().memo((e) => { const { urn: t, children: n, imsHelper: r, locale: o, commentConfigureData: a, theme: i } = e, { getOwnerId: s, annotationsEnabled: u, onCommentsError: d, getAnalyticsData: p } = a, { clientId: f, environment: m } = r.imsData, h = (function (e) { const t = e.split(":"); return 0 === e.length || t.length < 2 ? (console.error(`CCAC-1UP: assets: getAssetID: urn: ${e} is not valid`), "") : t[t.length - 1]; })(t), v = [{ id: h, title: te.getMessage("oneup.sidebar.comment.page.title", { pageNum: 1 }) }], [y, g] = (0, c.useState)(""), [b, E] = (0, c.useState)(!1), [D, C] = (0, c.useState)(void 0), [w] = (0, c.useState)(Bn().v1()), [S, A] = (0, c.useState)({ id: r.imsData.userID, token: r.initToken }), [k, _] = (0, c.useState)(() => { const e = p ? p() : void 0; return e && e.event && (e.event.session_guid = w), e; }), { shareStatus: T } = Pn(t, f, m, S), I = (0, c.useRef)(!1); function O() { return Zn(this, void 0, void 0, function* () { console.info(`${zn}: Updating IMS data`); try { const e = yield r.imsData.fetchToken(); if (I.current) return; const t = { id: r.imsData.userID, token: e }; A(t); } catch (e) { console.error(`${zn}: Error while updating access token: ${e}`); } }); } (0, c.useEffect)(() => { const e = p ? p() : void 0; e && e.event && ((e.event.session_guid = w), _(e)), (function () { Zn(this, void 0, void 0, function* () { const e = yield s(); e && C(e); }); })(); }, [t]), (0, c.useEffect)( () => ( O(), r.onIMSChangeRegister(O), () => { r.onIMSChangeUnregister(O), (I.current = !0); } ), [] ); const F = () => { E(!1), g(""); }; return l().createElement( Ln, { analyticsData: k, annotationsEnabled: u, annotationTypes: { draw: !0, pin: !0 }, locale: o, environment: m, assetData: { id: t, ownerId: D, nodeId: h, validNodes: v }, shareStatus: T, imsData: S, appKey: f, appName: f, peopleGraphAPIKey: f, mentionsEnabled: !0, theme: i, pollForUpdates: !0, filterComments: !0, commentsAscending: !1, onAnnotatingChange: (e) => { E(!0); const { type: t, trigger: n } = e; g(t), ((e) => [Hn.CANCEL, Hn.UPDATE, Hn.SUBMIT].includes(e))(n) && F(); }, onAnnotatingEnded: F, onCommentsError: (e) => { e ? (401 === e.statusCode && (console.log(`${zn}: Unauthorized, updating access token`), O()), d ? d(e) : console.error(`${zn} onError: Error payload ${JSON.stringify(e, null, 4)}`)) : console.error(`${zn}: onError: payload should not be empty`); }, globalComments: !!u, globalCommentsUnmapped: !!u, }, l().createElement(Vn.Provider, { value: { isAnnotating: b, annotatingType: y } }, n) ); }), Wn = () => l().createElement("div", { className: Un.component }, l().createElement(Rn, null)), Qn = (e) => { const t = Mn(); return ( C(window, "keydown", (e) => { e && "Escape" === e.key && t.endAnnotating(); }), l().createElement(Nn, Object.assign({}, e)) ); }, Jn = ({ src: e, type: t, scaleX: n, scaleY: r, style: o = {}, showCommentAnnotations: a }) => { const [i, s] = (0, c.useState)(null), { isAnnotating: u, annotatingType: d } = (0, c.useContext)(Vn), { zoom: p } = (0, c.useContext)(un), { pageSize: f } = (0, c.useContext)(un), { width: m, height: h } = f; let v = p, y = p; return ( n && r && ((v = Number(m) / Number(n)), (y = Number(h) / Number(r))), l().createElement( l().Fragment, null, l().createElement("img", { src: e, alt: "", style: Object.assign(Object.assign({}, o), { width: o.width || (i && i.width), height: o.height || (i && i.height) }), onLoad: (e) => { s({ width: e.currentTarget.naturalWidth, height: e.currentTarget.naturalHeight }); }, }), a ? l().createElement(Qn, { scaleFactorX: v, scaleFactorY: y, style: { transformOrigin: "0 0", transform: `scale(${1 / p})`, width: 100 * p + "%", height: 100 * p + "%" }, maskStyle: { transformOrigin: "0 0", transform: `scale(${1 / p})`, width: 100 * p + "%", height: 100 * p + "%" }, isAnnotating: u, annotatingType: d, }) : null ) ); }; function Yn(e, t = [], { cache: n } = {}) { const r = (0, c.useRef)(new Map()).current, o = n && JSON.stringify(t), a = n && r.get(o); let i = a || [void 0, void 0], [s, l] = (0, c.useState)(i); return ( (e = (0, c.useCallback)(e, t)), (0, c.useEffect)(() => { if (a) return void l(a); l(i); let t = !1; const s = e(); return ( (() => { var e, a, i, c; (e = this), (a = void 0), (c = function* () { var e, a, i; try { if ((i = s) && i.next) { const i = []; let d; try { for ( var c, u = (function (e) { if (!Symbol.asyncIterator) throw new TypeError("Symbol.asyncIterator is not defined."); var t, n = e[Symbol.asyncIterator]; return n ? n.call(e) : ((e = "function" == typeof __values ? __values(e) : e[Symbol.iterator]()), (t = {}), r("next"), r("throw"), r("return"), (t[Symbol.asyncIterator] = function () { return this; }), t); function r(n) { t[n] = e[n] && function (t) { return new Promise(function (r, o) { !(function (e, t, n, r) { Promise.resolve(r).then(function (t) { e({ value: t, done: n }); }, t); })(r, o, (t = e[n](t)).done, t.value); }); }; } })(s); !(c = yield u.next()).done; ) { let e = c.value; if (t) return; i.push(e), clearTimeout(d), (d = setTimeout(() => l([i, void 0]))); } } catch (t) { e = { error: t }; } finally { try { c && !c.done && (a = u.return) && (yield a.call(u)); } finally { if (e) throw e.error; } } t || (clearTimeout(d), l([i, void 0]), n && r.set(o, [i, void 0])); } else { let e = s && (yield Promise.resolve(s)); t || (n && r.set(o, [e, void 0]), l([e, void 0])); } } catch (e) { t || l([void 0, e]); } finally { t = !0; } }), new ((i = void 0) || (i = Promise))(function (t, n) { function r(e) { try { s(c.next(e)); } catch (e) { n(e); } } function o(e) { try { s(c.throw(e)); } catch (e) { n(e); } } function s(e) { var n; e.done ? t(e.value) : ((n = e.value), n instanceof i ? n : new i(function (e) { e(n); })).then(r, o); } s((c = c.apply(e, a || [])).next()); }); })(), () => { (t = !0), l([void 0, void 0]); } ); }, [e]), s ); } const qn = ["DELETE", "GET", "HEAD", "OPTIONS", "POST", "PUT", "PATCH"], Xn = { prod: { ACP_URI: "https://platform-cs.adobe.io", CCSTORAGE_URI: "https://cc-api-storage.adobe.io" }, stage: { ACP_URI: "https://platform-cs-stage.adobe.io", CCSTORAGE_URI: "https://cc-api-storage-stage.adobe.io" } }, Kn = { stage: "b4fdcdfad6844617ba7bcc879c2d18f0", prod: "b4fdcdfad6844617ba7bcc879c2d18f0" }, $n = { APPLICATION: "http://ns.adobe.com/adobecloud/rel/metadata/application", BLOCK_INIT: "http://ns.adobe.com/adobecloud/rel/block/init", BLOCK_TRANSFER: "http://ns.adobe.com/adobecloud/rel/block/transfer", BLOCK_FINALIZE: "http://ns.adobe.com/adobecloud/rel/block/finalize", CREATE: "http://ns.adobe.com/adobecloud/rel/create", DIRECTORY: "http://ns.adobe.com/adobecloud/rel/directory", DISCARD: "http://ns.adobe.com/adobecloud/rel/discard", DOWNLOAD: "http://ns.adobe.com/adobecloud/rel/download", HOME: "http://ns.adobe.com/adobecloud/rel/home", MANIFEST: "http://ns.adobe.com/adobecloud/rel/manifest", OPS: "http://ns.adobe.com/adobecloud/rel/ops", PAGE: "http://ns.adobe.com/adobecloud/rel/page", PATH: "http://ns.adobe.com/adobecloud/rel/path", PRIMARY: "http://ns.adobe.com/adobecloud/rel/primary", RENDITION: "http://ns.adobe.com/adobecloud/rel/rendition", REPOSITORY: "http://ns.adobe.com/adobecloud/rel/repository", REPOSITORY_METADATA: "http://ns.adobe.com/adobecloud/rel/metadata/repository", RESOLVE_PATH: "http://ns.adobe.com/adobecloud/rel/resolve/path", RESOLVE_ID: "http://ns.adobe.com/adobecloud/rel/resolve/id", RESTORE: "http://ns.adobe.com/adobecloud/rel/restore", POLICY: "http://ns.adobe.com/adobecloud/rel/ac/policy", PERMISSIONS: "http://ns.adobe.com/adobecloud/rel/ac/effective", }; const er = "CCAC-1UP: APIConfigStore", tr = new (class { init(e, t) { const { imsData: n, initToken: r, onIMSChangeRegister: o } = t, { environment: a, clientId: i } = n; (this.accessToken = r), (this.apiKey = i), (this.environment = a), (this.locale = e), o(() => this.updateAccessToken(n)); } updateAccessToken(e) { return ( (t = this), (n = void 0), (o = function* () { console.info(`${er}: Updating IMS data`); try { const t = yield e.fetchToken(); this.accessToken = t; } catch (e) { console.error(`${er}: Error while updating access token: ${e}`); } }), new ((r = void 0) || (r = Promise))(function (e, a) { function i(e) { try { c(o.next(e)); } catch (e) { a(e); } } function s(e) { try { c(o.throw(e)); } catch (e) { a(e); } } function c(t) { var n; t.done ? e(t.value) : ((n = t.value), n instanceof r ? n : new r(function (e) { e(n); })).then(i, s); } c((o = o.apply(t, n || [])).next()); }) ); var t, n, r, o; } })(), nr = { dockHUD: !0, dockPageControls: !0, enableFormFilling: !1, enablePersonalComments: !1, hideDownloadButtonInHUD: !0, hideFitPageButtonInHUD: !1, hideFitWidthButtonInHUD: !1, showAnnotationTools: !1, showDownloadPDF: !1, showFileStatusInfo: !1, showLeftHandPanel: !1, showPageControls: !1, fileDownloadAbortable: !0, }; var rr = n(8472), or = n.n(rr), ar = n(92815), ir = n.n(ar), sr = (n(56553), function (e, t, n, r) { return new (n || (n = Promise))(function (o, a) { function i(e) { try { c(r.next(e)); } catch (e) { a(e); } } function s(e) { try { c(r.throw(e)); } catch (e) { a(e); } } function c(e) { var t; e.done ? o(e.value) : ((t = e.value), t instanceof n ? t : new n(function (e) { e(t); })).then(i, s); } c((r = r.apply(e, t || [])).next()); }); }); function cr() { return (performance && performance.now()) || Date.now(); } var lr = function (e, t, n, r) { return new (n || (n = Promise))(function (o, a) { function i(e) { try { c(r.next(e)); } catch (e) { a(e); } } function s(e) { try { c(r.throw(e)); } catch (e) { a(e); } } function c(e) { var t; e.done ? o(e.value) : ((t = e.value), t instanceof n ? t : new n(function (e) { e(t); })).then(i, s); } c((r = r.apply(e, t || [])).next()); }); }; function ur(e, t, n) { const r = t || e.statusText || "Status Response Error", o = new Error(r); return (o.response = e), (o.jsonResponse = n), (o.statusCode = e.status), (o.requestId = e.headers && e.headers.get("x-request-id")), o; } class dr { constructor() { (this.options = { method: "GET", headers: {} }), (this._bodyIsJSON = !1), (this.error = null); } static parseJSONResponse(e) { return lr(this, void 0, void 0, function* () { try { return { response: e, parsedBody: yield e.json() }; } catch (t) { throw ur(e, "Failed to parse JSON"); } }); } url(e = "/") { return (this._url = e), this; } method(e = "GET") { const t = e.toUpperCase(); return qn.includes(t) && (this.options.method = t), this; } content(e = "*/*") { return (this.options.headers["Content-Type"] = e || "*/*"), this; } header(e, t) { return void 0 !== t && (this.options.headers[e] = t), this; } json(e = {}) { this._bodyIsJSON = !0; const t = this.options.body || {}; return this.body(Object.assign(Object.assign({}, t), e)); } body(e) { return (this.options.body = e), this; } fetch() { let { body: e } = this.options; return ( this._bodyIsJSON && (e = JSON.stringify(this.options.body)), (function (e, t = {}) { return sr(this, void 0, void 0, function* () { try { const [n, r] = yield (function (e, t) { return sr(this, void 0, void 0, function* () { const n = cr(); try { return [yield fetch(e, t), cr() - n]; } catch (e) { throw ((e.response_time = cr() - n), e); } }); })(e, Object.assign({ credentials: "same-origin" }, t)); return console.log(r), n; } catch (e) { throw e; } }); })(this._url, Object.assign(Object.assign({}, this.options), { body: e })) ); } fetchAndVerify() { return lr(this, void 0, void 0, function* () { return dr.verifyStatus(yield this.fetch()); }); } fetchAndVerifyJson() { return lr(this, void 0, void 0, function* () { const e = yield this.fetchAndVerify(); return yield e.json(); }); } } (dr.verifyStatus = (e) => { const { status: t } = e; if (!(t >= 200 && t < 400)) throw ur(e); return e; }), (dr.parseTextResponse = (e) => lr(void 0, void 0, void 0, function* () { return { response: e, parsedBody: yield e.text() }; })); class pr extends dr { constructor(e) { super(); const t = tr.accessToken ? { Authorization: `Bearer ${tr.accessToken}` } : {}; (this.options = { headers: Object.assign({ "X-Api-Key": tr.apiKey }, t) }), this.url(e); } static parseLinkHeaders(e) { const { refs: t } = ir().parse(e.headers.get("link") || ""); return (e.links = t), e; } url(e = "/") { let t = e; if (t.startsWith("https://")) return (this._url = t), this; e.startsWith("/") || (t = `/${e}`); const n = (this._url = `${Xn[tr.environment].ACP_URI}${t}`); return (this._url = `${n}${t}`), this; } paginatedFetch() { return this.fetch() .then(pr.verifyStatus) .then(pr.parseJSONResponse) .then((e) => ((e.next = this.next(e.parsedBody)), e)); } next(e) { const t = (function (t, n) { try { const t = e._links.next.href; return void 0 !== t ? t : n; } catch (e) { return n; } })(); if (t) return this.url(t), this.fetch.bind(this); } } var fr = function (e, t, n, r) { return new (n || (n = Promise))(function (o, a) { function i(e) { try { c(r.next(e)); } catch (e) { a(e); } } function s(e) { try { c(r.throw(e)); } catch (e) { a(e); } } function c(e) { var t; e.done ? o(e.value) : ((t = e.value), t instanceof n ? t : new n(function (e) { e(t); })).then(i, s); } c((r = r.apply(e, t || [])).next()); }); }, mr = function (e, t, n, r) { return new (n || (n = Promise))(function (o, a) { function i(e) { try { c(r.next(e)); } catch (e) { a(e); } } function s(e) { try { c(r.throw(e)); } catch (e) { a(e); } } function c(e) { var t; e.done ? o(e.value) : ((t = e.value), t instanceof n ? t : new n(function (e) { e(t); })).then(i, s); } c((r = r.apply(e, t || [])).next()); }); }; var hr = function (e, t, n, r) { return new (n || (n = Promise))(function (o, a) { function i(e) { try { c(r.next(e)); } catch (e) { a(e); } } function s(e) { try { c(r.throw(e)); } catch (e) { a(e); } } function c(e) { var t; e.done ? o(e.value) : ((t = e.value), t instanceof n ? t : new n(function (e) { e(t); })).then(i, s); } c((r = r.apply(e, t || [])).next()); }); }; function vr(e, t) { return hr(this, void 0, void 0, function* () { const n = yield (function () { return mr(this, void 0, void 0, function* () { const { children: e } = yield (function () { return fr(this, void 0, void 0, function* () { const { parsedBody: e } = yield new pr("/").method("GET").header("Cache-Control", "max-age=2592000").fetch().then(pr.verifyStatus).then(pr.parseJSONResponse); return e; }); })(), t = (function (e, t, n = {}, r = "id") { try { let o = e[t]; Array.isArray(o) && (o = o.find((e) => e.mode === r)); const { templated: a, href: i } = o; return a && !1 !== n ? decodeURIComponent(or()(i).fill(n)) : i; } catch (e) {} })(e.find((e) => "Index.json" === e["repo:name"])._links, $n.PRIMARY), { parsedBody: n } = yield new pr(t).method("GET").header("Cache-Control", "max-age=60").fetch().then(pr.verifyStatus).then(pr.parseJSONResponse); return n; }); })(), r = $n[`RESOLVE_${e}`], o = n._links[r].href; return decodeURIComponent(or()(o).fill({ [e.toLowerCase()]: t })); }); } function yr(e) { return hr(this, void 0, void 0, function* () { return (function (e) { return hr(this, void 0, void 0, function* () { return new pr(e).method("head").fetch().then(pr.verifyStatus).then(pr.parseLinkHeaders); }); })(yield vr("ID", e)); }); } var gr = function (e, t, n, r) { return new (n || (n = Promise))(function (o, a) { function i(e) { try { c(r.next(e)); } catch (e) { a(e); } } function s(e) { try { c(r.throw(e)); } catch (e) { a(e); } } function c(e) { var t; e.done ? o(e.value) : ((t = e.value), t instanceof n ? t : new n(function (e) { e(t); })).then(i, s); } c((r = r.apply(e, t || [])).next()); }); }; const br = { QUEUED: "QUEUED", COMPLETED: "COMPLETED", FAILED: "FAILED", RUNNING: "RUNNING", ASSET_UPLOAD_STARTED: "ASSET_UPLOAD_STARTED", ASSET_UPLOAD_COMPLETED: "ASSET_UPLOAD_COMPLETED" }, Er = ["test.inddc"], Dr = 12, Cr = (e) => new Promise((t) => setTimeout(t, e)); function wr(e, t, n) { var r, o, a, i; return gr(this, void 0, void 0, function* () { const s = e.statusUrls.all; let c; try { c = yield (function (e) { return gr(this, void 0, void 0, function* () { return new pr() .method("GET") .url(e) .fetch() .then((e) => e.json()) .catch((e) => console.log("error", e)); }); })(s); } catch (e) { throw (console.error(e), new Error("status call failed")); } const l = null === (r = null == c ? void 0 : c.events) || void 0 === r ? void 0 : r.map((e) => e.state); if (n >= Dr) throw "Request took too long"; if (((n += 1), t < 3 && (t += 1), null == (u = l) ? void 0 : u.includes(br.COMPLETED))) return { success: !0, pdfPath: null === (a = null === (o = null == c ? void 0 : c.events) || void 0 === o ? void 0 : o.filter((e) => e.state === br.ASSET_UPLOAD_COMPLETED)) || void 0 === a ? void 0 : a[0].data.destination.url, }; if ( (function (e) { return null == e ? void 0 : e.includes(br.FAILED); })(l) ) { const e = null === (i = null == c ? void 0 : c.events) || void 0 === i ? void 0 : i.filter((e) => e.state == br.FAILED)[0]; throw new Error(`conversion failed, reason: ${e.data.reason} erroCode: ${e.data.code}`); } { const r = Math.pow(2, t); return yield Cr(1e3 * r), yield wr(e, t, n); } var u; }); } function Sr(e, t) { return gr(this, void 0, void 0, function* () { return new Promise((n, r) => { (function (e, t) { return gr(this, void 0, void 0, function* () { return new pr() .content("application/json") .json({ assets: [{ source: { type: "ACP", assetId: e }, destination: "test.inddc" }], params: { jobType: "RENDITION_PDFPRINT", targetDocuments: Er, outputFileBaseString: "temp", outputFolderPath: "temp" } }) .method("POST") .url(t) .fetch() .then((e) => e.json()) .catch((e) => console.log("error", e)); }); })(e, t) .then((e) => wr(e, 0, 0)) .then((e) => { n(e.pdfPath); }) .catch((e) => { console.log(e), r(e); }); }); }); } var Ar = function (e, t, n, r) { return new (n || (n = Promise))(function (o, a) { function i(e) { try { c(r.next(e)); } catch (e) { a(e); } } function s(e) { try { c(r.throw(e)); } catch (e) { a(e); } } function c(e) { var t; e.done ? o(e.value) : ((t = e.value), t instanceof n ? t : new n(function (e) { e(t); })).then(i, s); } c((r = r.apply(e, t || [])).next()); }); }; const kr = n(37088), _r = "CCAC-1UP: oneup: pdf: OneUpPdf", Tr = ({ urn: e, viewerPath: t, mimeType: n, previewURL: r, logOneUpAnalytics: o }) => { const [a, i] = Yn( () => Ar(void 0, void 0, void 0, function* () { return ( (e = t), new Promise((t, n) => { if (document.getElementById("adobe_dc_sdk_launcher")) window.AdobeDC && window.AdobeDC.View ? t(window.AdobeDC) : document.addEventListener("adobe_dc_view_sdk.ready", () => { t(window.AdobeDC); }); else { const r = document.createElement("script"); (r.onload = () => { document.addEventListener("adobe_dc_view_sdk.ready", () => { t(window.AdobeDC); }); }), (r.onerror = n), (r.src = e), (r.id = "adobe_dc_sdk_launcher"), (r.async = !0); const { locale: o } = tr, a = o.replace("_", "-"); r.setAttribute("data-locale", a), document.body.appendChild(r); } }) ); var e; }), [t] ); let s, { APIs: u, setAPIs: d, adobeViewer: p, setAdobeViewer: f, scrollPage: m, setScrollPage: h, containerRef: v } = (0, c.useContext)(vn); console.log(i); const [y, g] = (0, c.useState)(!0); (0, c.useLayoutEffect)( () => () => { const e = window.document.getElementById("adobe-dc-view"); D().unmountComponentAtNode(e), g(!0); }, [] ), (0, c.useLayoutEffect)( () => () => { const e = window.document.getElementById("adobe-dc-view"); D().unmountComponentAtNode(e), g(!0); }, [e] ), (0, c.useEffect)(() => { a && (s = (function (e) { const { environment: t } = tr; return new e.View({ clientId: Kn[t], showTopBar: !1 }); })(a)); }, [a, e]); const b = (e, t) => Ar(void 0, void 0, void 0, function* () { if (t === dn) return yield (function (e) { return ( (t = this), (n = void 0), (o = function* () { let t = e; if (e.startsWith("urn:")) { const n = (yield yr(e)).links.find((e) => e.rel === $n.DOWNLOAD), { templated: r, uri: o } = n, a = { resource: $n.PRIMARY }; r && (t = decodeURIComponent(or()(o).fill(a))); } return new pr(t).method("GET").fetch().then(pr.verifyStatus).then(pr.parseJSONResponse); }), new ((r = void 0) || (r = Promise))(function (e, a) { function i(e) { try { c(o.next(e)); } catch (e) { a(e); } } function s(e) { try { c(o.throw(e)); } catch (e) { a(e); } } function c(t) { var n; t.done ? e(t.value) : ((n = t.value), n instanceof r ? n : new r(function (e) { e(n); })).then(i, s); } c((o = o.apply(t, n || [])).next()); }) ); var t, n, r, o; })(e); if (t === pn) try { return yield Sr(e, r); } catch (e) { const t = { type: fn.Error, subtype: mn.Page, error_desc: (null == e ? void 0 : e.message) ? e.message : e }; throw (o(t), e); } }); return ( (0, c.useEffect)(() => { a && b(e, n) .then((t) => { let r = t; n === dn ? (r = t.parsedBody.href) : n == pn && (r = t); const o = { urn: e, downloadUrl: r }; g(!1), s .previewFile( (function (e) { const { urn: t, downloadUrl: n } = e; return { content: { promise: void 0, location: { url: n } }, metaData: { fileName: t } }; })(o), nr ) .then((e) => Ar(void 0, void 0, void 0, function* () { (p = e), (u = yield e.getAPIs()), f(p), d(u); }) ) .catch((e) => console.error(`${_r} Preview of Pdf document failed , error: ${e}`)), s.registerCallback( "EVENT_LISTENER", (e) => { "CURRENT_ACTIVE_PAGE" === e.type && ((m = e.data.pageNumber), h(m)); }, { enableFilePreviewEvents: !0, listenOn: ["CURRENT_ACTIVE_PAGE"] } ); }) .catch((e) => { console.error(`${_r} Error in Getting Rendtion URL , error: ${e}`); }); }, [a, e]), l().createElement( l().Fragment, null, l().createElement( "div", { style: { height: "100%", width: "auto" }, className: y ? kr.waitSpinner : null, ref: v }, y ? l().createElement(Dn(), { className: kr.waitPosition, size: "L" }) : void 0, l().createElement("div", { id: "adobe-dc-view" }) ) ) ); }, Ir = n(88445), Or = (e) => { var t; const { handleOpenIn: n, openActionTitle: r, canChangeDefaultApp: o, handleDefaultAppChange: a, availableApps: i, getDefaultAppSapCode: s, actionButtonProps: f } = e, h = o ? s() : void 0, v = (0, c.useCallback)( (e) => (t) => { n(e); }, [] ), y = (0, c.useCallback)((e) => { a(); }, []), g = ({ src: e, alt: t }) => l().createElement("img", { className: "spectrum-Icon spectrum-Icon--sizeS", src: e, alt: t }); return (null == i ? void 0 : i.length) > 1 ? l().createElement( z(), { alignRight: !0 }, l().createElement( d.default, { placement: "bottom", trigger: "hover", delayShow: T }, l().createElement( _(), Object.assign( { className: Ir.openInBtn, variant: "primary", label: r && "" != r ? r : te.getMessage("oneup.headerbar.actionBtn.openIn"), key: "OneUpHeader_OpenInButton", "data-test-id": "OneUpHeader_OpenInButton", "aria-label": "oneup-open-in-button-label", "aria-haspopup": !0, }, f ) ), l().createElement(p.default, null, r && "" != r ? r : te.getMessage("oneup.headerbar.actionBtn.openIn")) ), l().createElement( u.Menu, { dropdownMenu: !0 }, (() => { const e = []; return ( i.forEach((t) => { e.push( l().createElement( u.MenuItem, { icon: l().createElement(g, { src: t.icon, alt: t.name }), onClick: v(t.sapcode) }, t.name, o && t.sapcode === h ? l().createElement("div", { style: { marginLeft: "5px" } }, l().createElement(m._H, { id: "oneup.headerbar.openmenu.defaultApp" })) : "" ) ); }), o && e.push(l().createElement(l().Fragment, null, l().createElement(u.MenuDivider, null), l().createElement(u.MenuItem, { onClick: y }, l().createElement(m._H, { id: "oneup.headerbar.openmenu.changeDefaultApp" })))), l().createElement(l().Fragment, null, e) ); })() ) ) : l().createElement( d.default, { placement: "bottom", trigger: "hover", delayShow: T }, l().createElement( _(), Object.assign( { className: Ir.openInBtn, variant: "primary", label: r && "" != r ? r : te.getMessage("oneup.headerbar.actionBtn.open"), key: "OneUpHeader_OpenButton", "data-test-id": "OneUpHeader_OpenButton", "aria-label": "oneup-open-button-label", onClick: v(null === (t = i[0]) || void 0 === t ? void 0 : t.sapcode), }, f ) ), l().createElement(p.default, null, r && "" != r ? r : te.getMessage("oneup.headerbar.actionBtn.open")) ); }, Fr = n(18333), xr = (e) => { const { clickHandler: t, disableViewInWeb: n, disableViewInWebTooltip: r } = e, o = (0, c.useCallback)( () => (e) => { t(); }, [] ); return l().createElement( d.default, { placement: "bottom", trigger: "hover", delayShow: T }, l().createElement(_(), { className: Fr.viewInWebBtn, variant: "primary", label: te.getMessage("oneup.headerbar.actionBtn.viewInWeb"), key: "OneUpHeader_ViewInWebButton", disabled: !!n, "data-test-id": "OneUpHeader_ViewInWebButton", "aria-label": "oneup-view-in-web-button-label", onClick: o(), }), l().createElement(p.default, null, r || te.getMessage("oneup.headerbar.actionBtn.viewInWeb")) ); }; var Nr = function (e, t, n, r) { var o, a = arguments.length, i = a < 3 ? t : null === r ? (r = Object.getOwnPropertyDescriptor(t, n)) : r; if ("object" == typeof Reflect && "function" == typeof Reflect.decorate) i = Reflect.decorate(e, t, n, r); else for (var s = e.length - 1; s >= 0; s--) (o = e[s]) && (i = (a < 3 ? o(i) : a > 3 ? o(t, n, i) : o(t, n)) || i); return a > 3 && i && Object.defineProperty(t, n, i), i; }, Rr = function (e, t) { if ("object" == typeof Reflect && "function" == typeof Reflect.metadata) return Reflect.metadata(e, t); }; let Lr = class extends l().Component { constructor() { super(...arguments), (this.isRunning = !1), (this.onClick = (e) => { return ( (t = this), (n = void 0), (o = function* () { const { onClick: t } = this.props; try { (this.isRunning = !0), t && (yield t(e)); } finally { (0, i.runInAction)(() => { this.isRunning = !1; }); } }), new ((r = void 0) || (r = Promise))(function (e, a) { function i(e) { try { c(o.next(e)); } catch (e) { a(e); } } function s(e) { try { c(o.throw(e)); } catch (e) { a(e); } } function c(t) { var n; t.done ? e(t.value) : ((n = t.value), n instanceof r ? n : new r(function (e) { e(n); })).then(i, s); } c((o = o.apply(t, n || [])).next()); }) ); var t, n, r, o; }); } render() { const e = this.props, { children: t, inProgressLabel: n } = e, r = (function (e, t) { var n = {}; for (var r in e) Object.prototype.hasOwnProperty.call(e, r) && t.indexOf(r) < 0 && (n[r] = e[r]); if (null != e && "function" == typeof Object.getOwnPropertySymbols) { var o = 0; for (r = Object.getOwnPropertySymbols(e); o < r.length; o++) t.indexOf(r[o]) < 0 && Object.prototype.propertyIsEnumerable.call(e, r[o]) && (n[r[o]] = e[r[o]]); } return n; })(e, ["children", "inProgressLabel"]); return l().createElement(_(), Object.assign({}, r, { disabled: this.isRunning, onClick: this.onClick }), (this.isRunning && n) || t); } }; Nr([i.observable, Rr("design:type", Object)], Lr.prototype, "isRunning", void 0), Nr([i.action, Rr("design:type", Object)], Lr.prototype, "onClick", void 0), (Lr = Nr([f.observer], Lr)); const Mr = (e) => { const { onClick: t, popover: n, icon: r, tooltip: o, placement: a } = e, i = (function (e, t) { var n = {}; for (var r in e) Object.prototype.hasOwnProperty.call(e, r) && t.indexOf(r) < 0 && (n[r] = e[r]); if (null != e && "function" == typeof Object.getOwnPropertySymbols) { var o = 0; for (r = Object.getOwnPropertySymbols(e); o < r.length; o++) t.indexOf(r[o]) < 0 && Object.prototype.propertyIsEnumerable.call(e, r[o]) && (n[r[o]] = e[r[o]]); } return n; })(e, ["onClick", "popover", "icon", "tooltip", "placement"]), s = matchMedia("(hover: hover)").matches, c = Bn().v4(), u = l().createElement(Lr, Object.assign({ variant: "action", icon: r, onClick: t, "aria-labelledby": o ? c : void 0, "aria-haspopup": !0 }, i)); if ((!o && !n) || !s) return u; const f = o ? l().createElement(p.default, null, o) : n; return l().createElement(l().Fragment, null, l().createElement(d.default, { placement: a || "top", trigger: "hover", delayShow: T }, u, f), l().createElement("span", { hidden: !0, id: c }, o)); }; var Pr = n(60690); const jr = n(19441), Br = ({ iconSize: e }) => l().createElement(Pr.default, { size: e }, l().createElement("img", { src: jr, alt: "" })), Zr = n(37713), Ur = (e) => { const { clickHandler: t } = e, n = (0, c.useCallback)((e) => { t(); }, []); return l().createElement(Mr, { icon: l().createElement(Br, { iconSize: "S" }), label: te.getMessage("oneup.headerbar.actionBtn.share"), className: Zr.shareBtn, tooltip: te.getMessage("oneup.headerbar.actionBtn.share"), onClick: n, key: "OneUpHeader_ShareButton", "data-test-id": "OneUpHeader_ShareButton", "aria-labelledby": "oneup-share-button-label", "aria-haspopup": !0, variant: "cta", placement: "bottom", }); }, zr = ({ color: e = "var(--iconBaseColor)", width: t = 18, height: n = 18 }) => { const r = { fill: e }; return l().createElement( "svg", { id: "icons", xmlns: "http://www.w3.org/2000/svg", width: t, height: n, viewBox: `0 0 ${t} ${n}` }, l().createElement("rect", { x: "0", y: "0", width: "18", height: "18", rx: "3", ry: "3", style: r }), l().createElement( "g", { fill: "white", transform: " translate(3.46 4.1) scale(0.58)" }, l().createElement("ellipse", { cx: "1.59", cy: "6.688", rx: "1.533", ry: "1.507" }), l().createElement("ellipse", { cx: "15.524", cy: "1.718", rx: "1.533", ry: "1.507" }), l().createElement("ellipse", { cx: "13.043", cy: "16.282", rx: "1.533", ry: "1.507" }), l().createElement("path", { d: "M15.036,8.378a1.05,1.05,0,0,1-1.05-1.048,3.225,3.225,0,0,0-1.167-2.483,3.373,3.373,0,0,0-2.664-.732,1.05,1.05,0,0,1-.311-2.077,5.478,5.478,0,0,1,4.318,1.194,5.323,5.323,0,0,1,1.924,4.1,1.05,1.05,0,0,1-1.048,1.051Z", }), l().createElement("path", { d: "M10.522,14.647a5.5,5.5,0,0,1-2.755-.74,1.05,1.05,0,0,1,1.05-1.819,3.389,3.389,0,0,0,2.831.266,3.291,3.291,0,0,0,1.983-1.93,1.05,1.05,0,0,1,1.962.748,5.388,5.388,0,0,1-3.244,3.161A5.447,5.447,0,0,1,10.522,14.647Z", }), l().createElement("path", { d: "M5.5,11.776a1.048,1.048,0,0,1-.817-.39A5.3,5.3,0,0,1,6.151,3.443,1.05,1.05,0,1,1,7.212,5.256,3.257,3.257,0,0,0,5.635,7.491a3.212,3.212,0,0,0,.676,2.575,1.05,1.05,0,0,1-.816,1.71Z" }) ) ); }; var Vr; !(function (e) { (e.INFOPANEL = "metadata"), (e.COMMENTS = "comments"); })(Vr || (Vr = {})); var Hr = n(31142), Gr = n(80739), Wr = n.n(Gr); let Qr = class extends c.Component { constructor(e) { super(e), (this.state = { selectedSwatch: 0 }), (this.totalSwatch = 0); } onKeyDown(e) { const { selectedSwatch: t } = this.state; "ArrowLeft" === e && t > 0 && this.setState({ selectedSwatch: t - 1 }), "ArrowRight" === e && t < this.totalSwatch - 1 && this.setState({ selectedSwatch: t + 1 }); } selectColorSwatch(e) { this.setState({ selectedSwatch: e }); } handleSpaceNameClick(e) { const { handleSpaceClick: t } = this.props; t && t(e); } renderHeaderArea() { const { title: e, subtitle: t, note: n } = this.props; return l().createElement( "div", { className: b()("header", { hidden: "string" != typeof e && "string" != typeof t && "string" != typeof n }) }, l().createElement(d.default, { placement: "bottom", trigger: "hover", delayShow: T }, l().createElement("div", { className: "title" }, e), l().createElement(p.default, null, e)), l().createElement("div", { className: "subtitle" }, t), l().createElement("p", { className: b()("note", { hidden: "string" != typeof n || n.length <= 0 }) }, n) ); } renderColorSwatches(e) { const { label: t, colors: n } = e, r = [], { selectedSwatch: o } = this.state; n.forEach((e, t) => { r.push( l().createElement("div", { role: "button", tabIndex: 0, className: b()("color-swatch", { "is-selected": t === o }), key: e.title, style: { backgroundColor: e.value }, onClick: () => this.selectColorSwatch(t), onFocus: () => this.selectColorSwatch(t), }) ); }); const a = []; return ( n[o].format.forEach((e) => { a.push(l().createElement("div", { className: "color-format-field", key: e.label }, l().createElement("div", { className: "label" }, e.label), l().createElement("div", { className: "value" }, e.value))); }), l().createElement( "div", { className: "color-theme-field", key: "colorSwatch" }, l().createElement("div", { className: "label" }, t), l().createElement("div", { className: "color-swatches" }, r), l().createElement("div", { className: "color-info" }, l().createElement("div", { className: "label" }, n[o].title), l().createElement("div", { className: "color-format" }, a)) ) ); } renderContentArea() { const e = te.getMessage("oneup.sidebar.panel.info.details"), { details: t = [] } = this.props, n = []; return ( t.forEach((e) => { const { label: t, value: r, type: o, isValueClickable: a, onValueClick: i } = e; o && "colorTheme" === o ? n.push(this.renderColorSwatches(e)) : n.push( l().createElement( "div", { className: "field", key: t }, l().createElement("div", { className: "label" }, t), l().createElement("div", { className: "value" }, a ? l().createElement(Wr(), { onClick: i }, r) : l().createElement(l().Fragment, null, r)) ) ); }), l().createElement("div", { className: "info-panel-content" }, l().createElement("div", { className: "title" }, e), l().createElement("div", { className: "infoList" }, n)) ); } renderAssetActions() { const e = te.getMessage("oneup.sidebar.panel.info.asset.action"), { assetActions: t = [] } = this.props, n = []; return ( t.forEach((e) => { const { icon: t, value: r, id: o, onValueClick: a, actionDisabled: i } = e; n.push( l().createElement( "div", { className: "asset-action-field" }, l().createElement(_(), { className: `asset-action-value ${!i && "asset-action-enabled"}`, label: r, icon: t, disabled: i, quiet: !0, "aria-label": o, onClick: () => { a(o); }, }) ) ); }), l().createElement("div", { className: "asset-action-content" }, l().createElement("div", { className: "asset-action-title" }, e), l().createElement("div", { className: "infoList" }, n)) ); } renderLocationInfo() { const e = te.getMessage("oneup.sidebar.panel.info.location"), t = te.getMessage("oneup.sidebar.panel.info.space.label"), { locationInfo: n } = this.props; return n && n.isSpaceAsset ? l().createElement( "div", { className: "location-info" }, l().createElement("div", { className: "title" }, e), l().createElement( "div", { className: "space-info" }, l().createElement("div", { className: "space-icon" }, l().createElement(zr, { color: n.spaceColor })), l().createElement("div", { className: "space-name", onClick: () => this.handleSpaceNameClick(n.spaceID) }, n.spaceName) ), l().createElement("div", { className: "space-label" }, t) ) : l().createElement(l().Fragment, null); } render() { const { details: e = [], assetActions: t = [] } = this.props; return e.length ? (e.forEach((e) => { const { type: t } = e; if (t && "colorTheme" === t) { const { colors: t } = e; this.totalSwatch = t.length; } }), l().createElement( "div", { className: "info-panel", role: "button", tabIndex: 0, onKeyDown: (e) => this.onKeyDown(e.key) }, this.renderHeaderArea(), this.renderContentArea(), t.length > 0 && this.renderAssetActions(), this.renderLocationInfo() )) : l().createElement(l().Fragment, null); } }; Qr = (function (e, t, n, r) { var o, a = arguments.length, i = a < 3 ? t : null === r ? (r = Object.getOwnPropertyDescriptor(t, n)) : r; if ("object" == typeof Reflect && "function" == typeof Reflect.decorate) i = Reflect.decorate(e, t, n, r); else for (var s = e.length - 1; s >= 0; s--) (o = e[s]) && (i = (a < 3 ? o(i) : a > 3 ? o(t, n, i) : o(t, n)) || i); return a > 3 && i && Object.defineProperty(t, n, i), i; })( [ f.observer, (function (e, t) { if ("object" == typeof Reflect && "function" == typeof Reflect.metadata) return Reflect.metadata(e, t); })("design:paramtypes", [Object]), ], Qr ); const Jr = Qr; class Yr { constructor(e) { (this.id = Vr.INFOPANEL), (this.icon = l().createElement(Hr.default, { size: "S" })), (this.tooltip = te.getMessage("oneup.sidebar.icon.info")), (this.panelItem = e); } getPanelNode() { const e = this.panelItem.getPanelData(); return l().createElement(Jr, Object.assign({}, e)); } } const qr = (e) => new Yr(e); var Xr = n(41818); class Kr { constructor() { (this.id = Vr.COMMENTS), (this.icon = l().createElement(Xr.Z, { size: "S", id: "oneupSidebarIconComment" })), (this.tooltip = te.getMessage("oneup.sidebar.icon.comment")); } getPanelNode() { return l().createElement(Wn, null); } } const $r = new (class { getPanel(e) { let t; switch (e.id) { case Vr.INFOPANEL: t = qr(e); break; case Vr.COMMENTS: t = new Kr(); break; default: t = qr(e); } return t; } })(); var eo = n(35326); const to = (e) => { const { theme: t } = e, n = "light" === t ? "#4b4b4b" : "#D1D1D1"; return l().createElement( "svg", { xmlns: "http://www.w3.org/2000/svg", xmlnsXlink: "http://www.w3.org/1999/xlink", width: "18", height: "18", style: { marginRight: "8px" }, viewBox: "0 0 18 18" }, l().createElement("defs", null, l().createElement("clipPath", { id: "clip-Fit_to_page" }, l().createElement("rect", { width: "18", height: "18" }))), l().createElement( "g", { id: "Fit_to_page", "data-name": "Fit to page", clipPath: "url(#clip-Fit_to_page)" }, l().createElement( "g", { id: "Group_298431", "data-name": "Group 298431", transform: "translate(-8.002 -8.02)" }, l().createElement("path", { id: "Subtraction_3", "data-name": "Subtraction 3", d: "M13685.962,20059h-4.46a.5.5,0,0,1-.5-.5v-15a.5.5,0,0,1,.5-.5h6.863a1.018,1.018,0,0,1,.709.295l3.631,3.633a.986.986,0,0,1,.3.7V20052a4.969,4.969,0,0,0-.755-.8c-.089-.076-.17-.141-.247-.2v-3.066h-3.438a.494.494,0,0,1-.5-.5V20044H13682v14h2.968c.082.107.152.193.214.266a4.886,4.886,0,0,0,.777.732Zm3.037-14.365V20047h2.367l-2.367-2.367Z", transform: "translate(-13671 -20035)", fill: n, }), l().createElement("path", { id: "Path_965630", "data-name": "Path 965630", d: "M17.817,16.933l-2.584-2.584a4.01,4.01,0,1,0-.884.884l2.584,2.584a.625.625,0,0,0,.884-.884ZM9,12a3,3,0,1,1,3,3,3,3,0,0,1-3-3Z", transform: "translate(6 8.02)", fill: n, }) ) ) ); }, no = (e) => { const { theme: t } = e, n = "light" === t ? "#4b4b4b" : "#D1D1D1"; return l().createElement( "svg", { xmlns: "http://www.w3.org/2000/svg", xmlnsXlink: "http://www.w3.org/1999/xlink", width: "18", height: "18", style: { marginRight: "8px" }, viewBox: "0 0 18 18" }, l().createElement("defs", null, l().createElement("clipPath", { id: "clip-Fit_to_Width" }, l().createElement("rect", { width: "18", height: "18" }))), l().createElement( "g", { id: "Fit_to_Width", "data-name": "Fit_to Width", clipPath: "url(#clip-Fit_to_Width)" }, l().createElement( "g", { id: "Group_298434", "data-name": "Group 298434", transform: "translate(-45 -36)" }, l().createElement("path", { id: "Path_965626", "data-name": "Path 965626", d: "M11.289,1H3.563A.563.563,0,0,0,3,1.563V18.438A.563.563,0,0,0,3.563,19H15.938a.563.563,0,0,0,.563-.562V6.212a1.125,1.125,0,0,0-.329-.8L12.084,1.33A1.125,1.125,0,0,0,11.289,1Zm4.086,16.875H4.125V2.125h6.819V5.994a.563.563,0,0,0,.563.563h3.869ZM12,5.5V2.837L14.663,5.5Z", transform: "translate(44 35)", fill: n, }), l().createElement("path", { id: "Union_1452", "data-name": "Union 1452", d: "M13684.352,20076.33l-2.189-2.186a.565.565,0,0,1,0-.793l2.19-2.189a.549.549,0,0,1,.4-.166.559.559,0,0,1,.4.166.563.563,0,0,1,0,.8l-1.287,1.285h5.043l-1.291-1.285a.563.563,0,0,1,.793-.8l2.189,2.189a.564.564,0,0,1,0,.793l-2.183,2.186a.563.563,0,0,1-.8-.793l1.162-1.162h-4.785l1.158,1.162a.564.564,0,0,1,0,.793.539.539,0,0,1-.4.166.555.555,0,0,1-.4-.166Z", transform: "translate(-13632.629 -20024.875)", fill: n, }) ) ) ); }, ro = (e) => { const { theme: t } = e, n = "light" === t ? "#4b4b4b" : "#D1D1D1"; return l().createElement( "svg", { xmlns: "http://www.w3.org/2000/svg", xmlnsXlink: "http://www.w3.org/1999/xlink", width: "18", height: "18", viewBox: "0 0 18 18" }, l().createElement("defs", null, l().createElement("clipPath", { id: "clip-Single-page_view" }, l().createElement("rect", { width: "18", height: "18" }))), l().createElement( "g", { id: "Single-page_view", "data-name": "Single-page view", clipPath: "url(#clip-Single-page_view)" }, l().createElement( "g", { id: "Group_298427", "data-name": "Group 298427", transform: "translate(-45 -36)" }, l().createElement("path", { id: "Path_965626", "data-name": "Path 965626", d: "M11.289,1H3.563A.563.563,0,0,0,3,1.563V18.438A.563.563,0,0,0,3.563,19H15.938a.563.563,0,0,0,.563-.562V6.212a1.125,1.125,0,0,0-.329-.8L12.084,1.33A1.125,1.125,0,0,0,11.289,1Zm4.086,16.875H4.125V2.125h6.819V5.994a.563.563,0,0,0,.563.563h3.869ZM12,5.5V2.837L14.663,5.5Z", transform: "translate(44 35)", fill: n, }), l().createElement("path", { id: "XMLID_25_", d: "M.563,5.5a.562.562,0,0,1-.4-.96L1.953,2.749.165.96a.562.562,0,0,1,.8-.8L3.15,2.351a.562.562,0,0,1,0,.8L.961,5.333A.562.562,0,0,1,.563,5.5Z", transform: "translate(54.514 50.279) rotate(135)", fill: n, }), l().createElement("path", { id: "XMLID_25_2", "data-name": "XMLID_25_", d: "M.563,5.5a.562.562,0,0,1-.4-.96L1.953,2.749.165.96a.562.562,0,0,1,.8-.8L3.15,2.352a.562.562,0,0,1,0,.8L.962,5.333A.562.562,0,0,1,.563,5.5Z", transform: "translate(51.809 44.559) rotate(-45)", fill: n, }) ) ) ); }, oo = () => l().createElement("div", { className: "Divider" }), ao = "CCAC-1UP: oneup: pdf: ViewportResize", io = ["hover", "focus"], so = (e) => { const { adobeViewer: t, APIs: n, setZoom: r, isSelected: o, setIsSelected: a } = (0, c.useContext)(vn), { theme: i } = e; return ( (0, c.useEffect)(() => { a(null); }, [t]), l().createElement( "div", null, l().createElement( d.default, { placement: "left", trigger: io, delayShow: T }, l().createElement( d.default, { trigger: "click", placement: "left" }, l().createElement(_(), { quiet: !0, variant: "action", icon: l().createElement(ro, { theme: i }) }), l().createElement( eo.default, { className: "view-port-resize-popover" }, (function () { const e = []; return ( e.push( l().createElement( u.MenuItem, { key: "Fill_fit", onClick: () => { a(O), t && t .executeCommand("SET_VIEW_MODE", "FIT_PAGE") .then((e) => { console.log(`${ao} FIT_PAGE Sucess ${e}`), n .getPageZoom(1) .then((e) => r(e)) .catch((e) => console.log(e)); }) .catch((e) => console.error(`${ao} FIT_PAGE Error ${e}`)); }, selected: o === O, }, l().createElement("div", { className: "view-port-popover-item" }, l().createElement(to, { theme: i }), l().createElement(m._H, { id: "oneup.sidebar.icon.FitPage" })) ) ), e.push( l().createElement( u.MenuItem, { key: "Fill_width", onClick: () => { a(F), t && t .executeCommand("SET_VIEW_MODE", "FIT_WIDTH") .then((e) => { console.log(` ${ao} FIT_WIDTH Sucess ${e}`), n .getPageZoom(1) .then((e) => r(e)) .catch((e) => console.log(e)); }) .catch((e) => console.error(` ${ao} FIT_WIDTH Error ${e}`)); }, selected: o === F, }, l().createElement("div", { className: "view-port-popover-item" }, l().createElement(no, { theme: i }), l().createElement(m._H, { id: "oneup.sidebar.icon.FitWidth" })) ) ), e ); })() ) ), l().createElement(p.default, null, l().createElement(m._H, { id: "oneup.sidebar.icon.View" })) ), l().createElement(oo, null) ) ); }; var co = n(49943), lo = n(54376), uo = function (e, t, n, r) { return new (n || (n = Promise))(function (o, a) { function i(e) { try { c(r.next(e)); } catch (e) { a(e); } } function s(e) { try { c(r.throw(e)); } catch (e) { a(e); } } function c(e) { var t; e.done ? o(e.value) : ((t = e.value), t instanceof n ? t : new n(function (e) { e(t); })).then(i, s); } c((r = r.apply(e, t || [])).next()); }); }; const po = I.length, fo = I[0], mo = I[po - 1]; function ho(e, t) { return t.formatNumber(e, { style: "percent", minimumFractionDigits: 0, maximumFractionDigits: 0 }); } const vo = ["hover", "focus"], yo = (0, m.XN)((e) => { const { APIs: t, zoom: n, setZoom: r, mimeType: o, setIsSelected: a } = (0, c.useContext)(vn), { intl: i, zoomKeyboardControlEnabled: s, platform: u, isMultiPageRendition: f } = e, { jumpToPrevZoomLevel: h, jumpToNextZoomLevel: v, isMinusButtonDisabled: y, isPlusButtonDisabled: g, zoomHoverText: b } = (function (e, t, n, r, o, a) { const [i, s] = (0, c.useState)(""), [l, u] = (0, c.useState)(""), [d, p] = (0, c.useState)(fo), [f, m] = (0, c.useState)(mo), { setIsSelected: h } = (0, c.useContext)(vn), v = (0, c.useCallback)( (e, t) => { p(e), m(t); }, [a] ), y = () => (null == o ? void 0 : o.getZoomAPIs()), g = (0, c.useCallback)(() => { var e; return null === (e = y()) || void 0 === e ? void 0 : e.getZoomLimits(); }, [o]), b = (t = e) => { u(Math.round(100 * t).toFixed(0)); }; (0, c.useEffect)(() => { const n = ho(e, t); s(n), b(); }, [e, t]), (0, c.useEffect)(() => { var t; o && n ? (((t = e), null == o ? void 0 : o.getPageZoom(t)) .then((e) => { r(e); }) .catch((e) => console.error(`Page zoom not found ${e}`)), g() .then(({ maxZoom: e, minZoom: t }) => { v(t, e); }) .catch((e) => console.error(`Zoom limits for PDF not found ${e}`))) : v(fo, mo); }, [o, a]); const E = (0, c.useCallback)( (n, o) => { if (null != n) { const o = (function (e, t, n) { return Math.max(t, Math.min(e, n)); })(n, d, f); if (Math.abs(e - o) > 0.001) { r(o); const e = ho(o, t); s(e), b(o); } } }, [t, r, e] ), D = (0, c.useCallback)( (t) => { if (n) t ? (function () { var e; uo(this, void 0, void 0, function* () { const t = yield null === (e = y()) || void 0 === e ? void 0 : e.zoomIn(); r(t), b(t); }); })() : (function () { var e; uo(this, void 0, void 0, function* () { const t = yield null === (e = y()) || void 0 === e ? void 0 : e.zoomOut(); r(t), b(t); }); })(); else if (e !== (t ? f : d)) { const [n, r] = (function (e) { const t = po - 1; if (e <= fo) return [0, Math.min(1, t)]; if (e >= mo) return [Math.max(0, t - 1), Math.max(0, t)]; for (let t = 1; t < po; ++t) { if (e === I[t]) return [t - 1, t + 1]; if (e < I[t]) return [t - 1, t]; } return [0, 1]; })(Math.round(100 * e) / 100); E(t ? I[r] : I[n], t); } }, [e, E, o] ), C = (0, c.useCallback)(() => { h(null), D(!1); }, [D, o]), w = (0, c.useCallback)(() => { h(null), D(!0); }, [D]); return { displayText: i, zoomHoverText: l, setDisplayText: s, jumpToPrevZoomLevel: C, jumpToNextZoomLevel: w, isMinusButtonDisabled: () => e <= d, isPlusButtonDisabled: () => e >= f, setZoomFactor: E }; })(n, i, f, r, t, o), E = (function () { const [e, t] = (0, c.useState)(0); return () => t((e) => e + 1); })(), [D, C] = (0, c.useState)(!1), [w, S] = (0, c.useState)(!1); D && (C(!1), v()), w && (S(!1), h()); const A = (0, c.useCallback)((e) => { "mac" == u && ("=" === e.key && e.metaKey && (a(null), E(), C(!0)), "-" === e.key && e.metaKey && (a(null), E(), S(!0))), "win" == u && ("=" === e.key && e.ctrlKey && (a(null), E(), C(!0)), "-" === e.key && e.ctrlKey && (a(null), E(), S(!0))); }, []); function k(e, t = !0) { const n = t ? g() : y(), r = t ? v : h; return l().createElement( d.default, { placement: "left", trigger: vo }, l().createElement(_(), { variant: "action", quiet: !0, icon: e, onClick: r, disabled: n }), l().createElement( p.default, null, ((e) => { const t = e ? "oneup.sidebar.icon.zoomin" : "oneup.sidebar.icon.zoomout"; return "tr_TR" === te.getLocale() ? l().createElement(l().Fragment, null, l().createElement(m._H, { id: t }), l().createElement(l().Fragment, null, " %", b)) : l().createElement(l().Fragment, null, l().createElement(m._H, { id: t }), l().createElement(l().Fragment, null, " ", b, " %")); })(t) ) ); } return ( s && (0, c.useEffect)( () => ( window.addEventListener("keydown", A), () => { window.removeEventListener("keydown", A); } ), [] ), l().createElement("div", { className: "sidebarZoom" }, [k(l().createElement(co.Z, { size: "S" }), !0), k(l().createElement(lo.Z, { size: "S" }), !1)]) ); }); var go = n(18664), bo = n(2736), Eo = n(6750); const Do = ["hover", "focus"], Co = n(56257), wo = () => { const { APIs: e } = (0, c.useContext)(vn), { scrollPage: t } = (0, c.useContext)(vn), [n, r] = (0, c.useState)(1), [o, a] = (0, c.useState)(0), [i, s] = (0, c.useState)(0), [u, f] = (0, c.useState)(0), h = l().useMemo(() => i >= 1 && i <= o, [i]); return ( (0, c.useEffect)(() => { r(t), s(t), f(t); }, [t]), (0, c.useEffect)(() => { e && e .getPDFMetadata() .then((t) => { a(t.numPages), e.getCurrentPage().then((e) => { r(e), s(e); }); }) .catch((e) => console.error(`CCAC-1UP: oneup: pdf: PageNavigation Could not find metadata for PDF document , error: ${e}`)); }, [e]), (0, c.useEffect)(() => { !(function () { var t, r, o, a; (t = this), (r = void 0), (a = function* () { e && (yield e.getCurrentPage()) !== n && e.gotoLocation(n).then(() => { s(n), f(n); }); }), new ((o = void 0) || (o = Promise))(function (e, n) { function i(e) { try { c(a.next(e)); } catch (e) { n(e); } } function s(e) { try { c(a.throw(e)); } catch (e) { n(e); } } function c(t) { var n; t.done ? e(t.value) : ((n = t.value), n instanceof o ? n : new o(function (e) { e(n); })).then(i, s); } c((a = a.apply(t, r || [])).next()); }); })(); }, [n]), l().createElement( "div", { className: "PageNavigation" }, l().createElement( d.default, { placement: "left", trigger: Do, delayShow: T }, l().createElement(Eo.default, { id: "Pageinput", className: Co.inputArea, type: "number", onChange: (e) => { s(parseInt(e, 10)); }, value: i, onKeyPress: (e) => { const t = parseInt(document.getElementById("Pageinput").value, 10); "Enter" === e.key && h ? (r(t), f(t)) : "Enter" !== e.key || h || s(u); }, onKeyDown: (e) => { let t = parseInt(e.target.value, 10); "ArrowDown" === e.key ? ((t -= 1), t >= 1 && (r(t), f(t)), e.preventDefault()) : "ArrowUp" === e.key && ((t += 1), t <= o && (r(t), f(t)), e.preventDefault()); }, onBlur: () => { s(u); }, }), l().createElement(p.default, null, l().createElement(m._H, { id: "oneup.sidebar.icon.InputPage" })) ), l().createElement( d.default, { placement: "left", trigger: Do, delayShow: T }, l().createElement("div", { className: "TotalArea" }, o), l().createElement(p.default, null, l().createElement(m._H, { id: "oneup.sidebar.icon.TotalPage" })) ), (() => { const e = []; return ( e.push( l().createElement( d.default, { placement: "left", trigger: Do, delayShow: T }, l().createElement(_(), { variant: "action", quiet: !0, icon: l().createElement(go.Z, { size: "S" }), onClick: () => { n > 1 && r(n - 1); }, disabled: 1 === n, }), l().createElement(p.default, null, l().createElement(m._H, { id: "oneup.sidebar.icon.PrevButton" })) ) ), e.push( l().createElement( d.default, { placement: "left", trigger: Do, delayShow: T }, l().createElement(_(), { className: "nextClick", variant: "action", quiet: !0, icon: l().createElement(bo.Z, { size: "S" }), onClick: () => { n < o && r(n + 1); }, disabled: n === o, }), l().createElement(p.default, null, l().createElement(m._H, { id: "oneup.sidebar.icon.NextButton" })) ) ), e ); })(), l().createElement(oo, null) ) ); }; function So(e) { const { canExport: t, handleExport: n, exportActionTitle: r, disableExport: o, disableExportTooltip: i, canSchedule: s, handleSchedule: c, disableSchedule: f, disableScheduleTooltip: h, isViewInWebAvailable: v, canOpen: y, disableViewInWeb: g, disableViewInWebTooltip: b, handleViewInWeb: E, assetSource: D, getCustomMenuActions: C, } = e, w = !o, S = !f, A = !g, k = []; return ( t && k.push( l().createElement( d.default, { placement: "left", trigger: "hover", disabled: w }, l().createElement( u.MenuItem, { disabled: o, "data-test-id": "PrivateOneUp_Download", key: "download", onClick: () => { n(); }, style: x, }, r && "" !== r ? l().createElement("div", null, r) : l().createElement(m._H, { id: "oneup.headerbar.menu.download" }) ), l().createElement(p.default, null, i) ) ), s && k.push( l().createElement( d.default, { placement: "left", trigger: "hover", disabled: S }, l().createElement( u.MenuItem, { disabled: f, "data-test-id": "PrivateOneUp_Schedule", key: "Schedule", onClick: () => { c(); }, style: x, }, l().createElement(m._H, { id: "oneup.headerbar.menu.schedule" }) ), l().createElement(p.default, null, h) ) ), D !== a.StockAssets && D !== a.FireflyStyleKits && y && v && k.push( l().createElement( d.default, { placement: "left", trigger: "hover", disabled: A }, l().createElement( u.MenuItem, { disabled: g, "data-test-id": "PrivateOneUp_viewInWeb", key: "viewInWeb", onClick: () => { E(); }, style: x, }, l().createElement(m._H, { id: "oneup.headerbar.menu.viewInWeb" }) ), l().createElement(p.default, null, b) ) ), C && C().forEach((e) => { const { actionId: t, handleActionClick: n, actionTitle: r, disableAction: o, disableActionTooltip: a } = e, i = !o; k.push( l().createElement( d.default, { placement: "left", trigger: "hover", disabled: i }, l().createElement( u.MenuItem, { disabled: o, "data-test-id": `PrivateOneUp_${t}`, key: t, onClick: () => { n(); }, style: x, }, r ), l().createElement(p.default, null, a) ) ); }), k ); } function Ao(e) { return { handleOpenIn: e.handleOpenIn, canChangeDefaultApp: e.canChangeDefaultApp, handleDefaultAppChange: e.handleDefaultAppChange, availableApps: e.availableApps, getDefaultAppSapCode: e.getDefaultAppSapCode, openActionTitle: e.openActionTitle, }; } const ko = (e) => { return ( (t = void 0), (n = void 0), (o = function* () { try { const { parsedBody: t } = yield (function (e) { var t, n, r, o, a; return ( (n = this), (r = void 0), (a = function* () { let n = e; if (e.startsWith("urn:")) { const r = yield yr(e); n = null === (t = r.links.find((e) => e.rel === $n.MANIFEST)) || void 0 === t ? void 0 : t.uri; } return new pr(n).method("GET").fetch().then(pr.verifyStatus).then(pr.parseJSONResponse); }), new ((o = void 0) || (o = Promise))(function (e, t) { function i(e) { try { c(a.next(e)); } catch (e) { t(e); } } function s(e) { try { c(a.throw(e)); } catch (e) { t(e); } } function c(t) { var n; t.done ? e(t.value) : ((n = t.value), n instanceof o ? n : new o(function (e) { e(n); })).then(i, s); } c((a = a.apply(n, r || [])).next()); }) ); })(e), { children: n } = t, r = n[0].width; if (r) { const { width: e, height: t } = r && n[0]; return { width: e, height: t }; } } catch (t) { console.error(`CCAC-1UP: clients: clouddocs: Could not get manifest data for ${e}, error: ${t}`); } }), new ((r = void 0) || (r = Promise))(function (e, a) { function i(e) { try { c(o.next(e)); } catch (e) { a(e); } } function s(e) { try { c(o.throw(e)); } catch (e) { a(e); } } function c(t) { var n; t.done ? e(t.value) : ((n = t.value), n instanceof r ? n : new r(function (e) { e(n); })).then(i, s); } c((o = o.apply(t, n || [])).next()); }) ); var t, n, r, o; }, _o = (e) => { (0, c.useState)( (function (e) { const { intl: t } = e; te.setIntl(t); })(e) ); const { store: t, urn: n, renditionSrc: r, extension: o, theme: s, canRender: u } = e, { showCarousel: d, isPreviousEnabled: p, isNextEnabled: f, previousToolTip: m, nextToolTip: g, handlePreviousClick: b, handleNextClick: E, showSideBar: D, imsHelper: C, canShowPDF: w, zoomKeyboardControlEnabled: S, platform: k, viewerPath: _, mimeType: T, getPreviewURL: I, logOneUpAnalytics: O, disableZoom: F, } = t, [x, N] = (0, c.useState)(() => { const { defaultPanel: e } = t; return e || ""; }), [R] = (0, c.useState)("psdc" === o), L = R ? ((e, t) => { if (t) { let t, n; const [r, o] = Yn(() => ko(e), [e]); if (r && !o) { ({ width: t, height: n } = r); const e = Number(t) || 0, o = Number(n) || 0; if (e && o) return { scaleX: e, scaleY: o }; } } })(n, R) : void 0, M = () => { const e = [l().createElement(wo, null), l().createElement(so, { theme: s })]; let t = !1, n = []; return z() && ((t = !0), (n = [...e])), F ? n : [...n, l().createElement(yo, { zoomKeyboardControlEnabled: S, platform: k, isMultiPageRendition: t })]; }, P = (() => { const e = void 0, { sidebarPanelItems: n } = t; if (!n || 0 === n.length) return e; const r = n.find((e) => e.id === Vr.COMMENTS); return r ? r.getPanelData() : e; })(), B = "comments" === x && (null == P ? void 0 : P.annotationsEnabled); let Z, U; const z = () => ((Z = I && I(T)), (U = T === dn && w && _), !(!U && !Z)); let V, H; L && ({ scaleX: V, scaleY: H } = L); let G = l().createElement( yn, { urn: n, mimeType: T }, l().createElement( ce, Object.assign( {}, (function (e) { const { handleBackClick: t, backButtonIcon: n, assetSource: r, directory: o, fileType: i, syncStatus: s, canShowSyncStatus: c, canOpen: u, canShare: d, handleShare: p, handleViewInWeb: f, isViewInWebAvailable: m, isAssetInsideFolder: g, disableViewInWeb: b, disableViewInWebTooltip: E, theme: D, } = e, { title: C } = e; let w; if (r === a.SpacesDocs) { const { spaceColor: t } = e; w = t; } return { oneUpHeaderProps: { onBackClick: t, iconNode: (() => { if (n) return n; switch (r) { case a.CloudDocs: return g ? l().createElement(y.Z, { size: "S" }) : l().createElement(v.Z, { size: "S" }); case a.SharedWithYou: return l().createElement(h.Z, { size: "S" }); case a.SpacesDocs: return l().createElement(zr, { color: w }); default: return l().createElement(v.Z, { size: "S" }); } })(), menuItems: So(e), getMenuItems: So, cloudDocProps: e, buttons: r === a.StockAssets || r === a.FireflyStyleKits ? [ m && l().createElement(xr, Object.assign({}, { disableViewInWeb: b, disableViewInWebTooltip: E, clickHandler: f })), u && l().createElement(Or, Object.assign({}, Object.assign(Object.assign({}, Ao(e)), { actionButtonProps: { variant: "cta" } }))), ] : [u && l().createElement(Or, Object.assign({}, Ao(e))), d && l().createElement(Ur, { clickHandler: p }), !u && m && l().createElement(xr, Object.assign({}, { clickHandler: f }))], title: C, fileType: i, directory: o, syncStatus: s, canShowSyncStatus: c, }, oneUpIndexProps: { theme: D }, }; })(t) ), d && l().createElement(xn, { isPrevDisabled: !p, isNextDisabled: !f, goToPrev: b, goToNext: E, prevTooltip: m, nextTooltip: g }), D && (() => { const { sidebarPanelItems: e } = t; if (!e || 0 === e.length) return l().createElement(l().Fragment, null); const n = e.map((e) => { const t = $r.getPanel(e); return l().createElement(A, { id: t.id, icon: t.icon, tooltip: t.tooltip }, x === e.id ? t.getPanelNode() : l().createElement(l().Fragment, null)); }); return l().createElement( j, { currentPanel: x, setCurrentPanel: (t) => { (0, i.runInAction)(() => { if ((N(t), "" !== x)) { const t = e.find((e) => e.id === x); t && t.panelOpened(); } }); }, buttons: M(), }, n ); })(), z() ? l().createElement(Tr, { urn: n, viewerPath: _, previewURL: Z, mimeType: T, logOneUpAnalytics: O }) : l().createElement( Tn, { urn: n }, l().createElement(_n, { assetURI: r, extension: o, canRender: u }, l().createElement(Jn, { src: r, type: "application/vnd.adobe.xd.cloudproject+dcx", scaleX: V, scaleY: H, showCommentAnnotations: B })) ) ) ); return D && P && (G = l().createElement(Gn, { imsHelper: C, urn: n, theme: s, locale: te.getRemappedLocale(), commentConfigureData: P }, G)), G; }, To = (0, f.observer)((e) => l().createElement(_o, { urn: e.store.urn, canOpen: e.store.canOpen, canRender: e.store.canRender, availableApps: e.store.availableApps, canShare: e.store.canShare, canExport: e.store.canExport, renditionSrc: e.store.renditionSrc, canShowSyncStatus: e.store.canShowSyncStatus, syncStatus: e.store.syncStatus, title: e.store.title, fileType: e.store.fileType, extension: e.store.extension, directory: e.store.directory, intl: e.intl, theme: e.store.theme, store: e.store, canShowPDF: e.store.canShowPDF, logOneUpAnalytics: e.store.logOneUpAnalytics, zoomKeyboardControlEnabled: e.store.zoomKeyboardControlEnabled, platform: e.store.platform, viewerPath: e.store.viewerPath, getPreviewURL: e.store.getPreviewURL, mimeType: e.store.mimeType, isAssetInsideFolder: e.store.isAssetInsideFolder, disableViewInWeb: e.store.disableViewInWeb, disableExport: e.store.disableExport, }) ); (0, m.XN)(To); var Io = n(15930), Oo = n.n(Io); const Fo = { cs: n(87394), da: n(64547), de: n(12808), en: n(60223), es: n(44856), fi: n(80880), fr: n(29176), hu: n(11503), it: n(89026), ja: n(67865), ko: n(47011), nb: n(83390), nl: n(29893), pl: n(28195), pt: n(13827), ru: n(58152), sv: n(59594), tr: n(91349), uk: n(88298), zh: n(75060), id: n(57216), th: n(24848), vi: n(17162), }, xo = { cs: n(39569), da: n(72840), de: n(55142), en: n(57012), es: n(85172), fi: n(70637), fr: n(49856), it: n(13344), ja: n(88856), ko: n(99425), nb: n(98272), nl: n(64105), pl: n(60344), pt: n(96314), ru: n(33440), sv: n(74653), tr: n(27124), zh: n(61128), hu: n(98296), id: n(35424), uk: n(87338), th: n(12343), vi: n(82721), zh_cn: n(61128), zh_tw: n(58938), }; var No = function (e, t, n, r) { var o, a = arguments.length, i = a < 3 ? t : null === r ? (r = Object.getOwnPropertyDescriptor(t, n)) : r; if ("object" == typeof Reflect && "function" == typeof Reflect.decorate) i = Reflect.decorate(e, t, n, r); else for (var s = e.length - 1; s >= 0; s--) (o = e[s]) && (i = (a < 3 ? o(i) : a > 3 ? o(t, n, i) : o(t, n)) || i); return a > 3 && i && Object.defineProperty(t, n, i), i; }, Ro = function (e, t) { if ("object" == typeof Reflect && "function" == typeof Reflect.metadata) return Reflect.metadata(e, t); }; const Lo = "en_US"; class Mo { constructor(e = Lo) { (this.fetchMessages = (e) => new Promise((t, n) => { this.languageCode !== Lo ? Oo() .get(`${e}/${this.languageCode}.json`) .then( (e) => { this.setMessages(e.data), t(e); }, () => n() ) : t(""); })), (this.overrideMessages = (e) => { e && "object" == typeof e && this.messages && "object" == typeof this.messages && this.setMessages(Object.assign(Object.assign({}, this.messages), e)); }), (this.locale = e), ([this.languageCode, this.countryCode] = e.split("_")), te.setLanguageCode(this.languageCode), te.setLocale(this.locale), (this.messages = this.getDefaultMessage()), (0, m.oK)(Fo[this.languageCode.split("_")[0]]); } setMessages(e) { this.messages = e; } getDefaultMessage() { return this.countryCode && Object.keys(xo).includes(this.locale.toLowerCase()) ? xo[this.locale.toLowerCase()] : xo[this.languageCode]; } } No([i.observable, Ro("design:type", Object)], Mo.prototype, "messages", void 0), No([i.observable, Ro("design:type", String)], Mo.prototype, "languageCode", void 0), No([i.action, Ro("design:type", Function), Ro("design:paramtypes", [Object]), Ro("design:returntype", void 0)], Mo.prototype, "setMessages", null), No([i.action, Ro("design:type", Object)], Mo.prototype, "fetchMessages", void 0); var Po = n(76489), jo = n(72926), Bo = n(22953), Zo = n(10602); const Uo = class { static searchCCDQueryParams(e) { return String(new URL(String(document.location)).searchParams.get(e)); } static getFileNameWithoutExtension(e) { return e.replace(/\.[^/.]+$/, ""); } static getExtensionFromFileName(e) { return /(?:\.([^.]+))?$/.exec(e)[1]; } static compareVersions(e, t) { const n = e.split("."), r = t.split("."); let o = 0; for (; o < Math.min(n.length, r.length); o += 1) { const e = parseInt(n[o], 10), t = parseInt(r[o], 10); if (e > t) return 1; if (e < t) return -1; } return n.length === r.length ? 0 : n.length < r.length ? -1 : 1; } static getAvailableFileName(e, t, n) { let r, o = ""; const a = n && n.length; r = a ? `${t}${o}.${n}` : `${t}${o}`; let i = 1; for (; e.includes(r); ) (o = ` (${i})`), (r = a ? `${t}${o}.${n}` : `${t}${o}`), (i += 1); return r; } static getLocalExtensionFromCloudMimeType(e) { switch (e) { case Bo.rn.PS_CLOUD_DOCUMENT_DEP: return "psd"; case Bo.rn.XD_CLOUD_DOCUMENT: return "xd"; case Bo.rn.ILLUSTRATOR_CLOUD_DOCUMENT: return "ai"; case Bo.rn.INDD_CLOUD_DOC: return "indd"; default: return ""; } } static getDefaultExtensionFromContentType(e) { return { "image/gif": "gif", "image/jpeg": "jpeg", "image/png": "png", "image/tiff": "tif", "image/svg+xml": "svg", "application/illustrator": "ai", "application/illustrator.template": "ait", "image/vnd.adobe.photoshop.template": "psdt", "application/vnd.adobe.indesign.template": "indt", "video/quicktime": "mov", "audio/wav": "wav", "application/vnd.adobe.ae.graphic+zip": "mogrt", "application/vnd.adobe.ppro.graphic+zip": "mogrt", "application/vnd.adobe.stock.aet+zip": "zip", "application/vnd.adobe.ibl.light+zip": "zip", "application/vnd.adobe.mdl.material+zip": "zip", "application/vnd.adobe.stock.pproj+zip": "zip", "application/vnd.adobe.obj.3d+zip": "zip", }[e]; } static sleep(e) { return new Promise((t) => setTimeout(t, 1e3 * e)); } static getServiceParam(e) { let t = "", n = ""; if (e) if (e instanceof Array) { const { serviceCode: r, serviceLevel: o } = e[0]; (t = r), (n = o); } else { const { serviceCode: r, serviceLevel: o } = e; (t = r), (n = o); } else console.error("assets-files: utilities: getServiceParam: serviceAccount is undefined"); return { serviceCode: t, serviceLevel: n }; } }; var zo = n(82685), Vo = function (e, t, n, r) { return new (n || (n = Promise))(function (o, a) { function i(e) { try { c(r.next(e)); } catch (e) { a(e); } } function s(e) { try { c(r.throw(e)); } catch (e) { a(e); } } function c(e) { var t; e.done ? o(e.value) : ((t = e.value), t instanceof n ? t : new n(function (e) { e(t); })).then(i, s); } c((r = r.apply(e, t || [])).next()); }); }; const Ho = new (class { constructor() { (this.updateToken = () => Vo(this, void 0, void 0, function* () { try { this.initToken = yield this.imsHelper.accessToken(); } catch (e) { console.error(`CCDAssetsFiles: oneUpIMSHelper: updateToken: error: ${e}}`); } })), (this.onIMSChangeRegister = (e) => { this.eventStore.on(Bo.iV.FILES_IMS_DATA_UPDATED, e); }), (this.onIMSChangeUnregister = (e) => { this.eventStore.off(Bo.iV.FILES_IMS_DATA_UPDATED, e); }); } init() { return Vo(this, void 0, void 0, function* () { (this.imsHelper = Po.assetsSpacesStore.context.get(Bo.cR.FilesIMSStore)), (this.eventStore = Po.assetsSpacesStore.context.get(Bo.cR.Events)), (this.imsData = { environment: this.imsHelper.environment, clientId: this.imsHelper.clientId, userID: this.imsHelper.userID(), fetchToken: this.imsHelper.accessToken }), yield this.updateToken(), this.eventStore && this.onIMSChangeRegister(this.updateToken); }); } })(); var Go = n(33012), Wo = n.n(Go); const Qo = class { static formatFileSize(e, t) { if (void 0 === e) return { displayValue: "NaN", value: NaN, abbrev: "--" }; const n = e > 0 ? Math.floor(Math.log(e) / Math.log(1024)) : 0, r = Math.pow(10, [0, 0, 1, 2, 3][n] || 0), o = Math.round((e / Math.pow(1024, n)) * r) / r, a = t.intl.formatMessage({ id: `${["abbreviations.fileSize.byte", "abbreviations.fileSize.kilobyte", "abbreviations.fileSize.megabyte", "abbreviations.fileSize.gigabyte", "abbreviations.fileSize.terabyte"][n]}` }); return { displayValue: t.intl.formatNumber(o), value: o, abbrev: a }; } static formatFileSizeDisplay(e, t) { const { value: n, displayValue: r, abbrev: o } = this.formatFileSize(e, t); return void 0 !== e ? `${r} ${o}` : `${o}`; } static formatLongDateTime(e, t) { return t.intl.formatDate(e, { month: "numeric", day: "numeric", year: "numeric", hour: "numeric", minute: "numeric" }); } }; var Jo = function (e, t) { if ("object" == typeof Reflect && "function" == typeof Reflect.metadata) return Reflect.metadata(e, t); }; const Yo = (e) => { const { translationUtil: t } = Po.assetsSpacesStore.filesStore, n = new Date(0); return n.setUTCSeconds(e), Qo.formatLongDateTime(Wo()(n, "m/d/yyyy, h:MM TT"), t); }; let qo = (() => { var e; class t { constructor() { (this.getPanelData = () => { const e = ca.getOneUpAsset(), { translationUtil: t } = Po.assetsSpacesStore.filesStore; let n = [{ label: t.getMessage("ccd.infoPanel.detail.modified"), value: Yo(e.modified) }]; n = [{ label: t.getMessage("ccd.infoPanel.detail.created"), value: Yo(e.created) }, ...n, { label: t.getMessage("ccd.infoPanel.detail.size"), value: Qo.formatFileSizeDisplay(e.sizeInBytes, t) }]; const r = ca.getSpaceData(), o = { isSpaceAsset: !0, spaceName: r.name, spaceColor: r.color, spaceID: r.spaceID }; return { title: Uo.getFileNameWithoutExtension(e.name), subtitle: e.extension, details: n, locationInfo: o, handleSpaceClick: this.handleSpaceClick }; }), (this.id = Vr.INFOPANEL); } handleSpaceClick() { ca.handleInfoSpaceClick(); } } return ( (function (e, t, n, r) { var o, a = arguments.length, i = a < 3 ? t : null === r ? (r = Object.getOwnPropertyDescriptor(t, n)) : r; if ("object" == typeof Reflect && "function" == typeof Reflect.decorate) i = Reflect.decorate(e, t, n, r); else for (var s = e.length - 1; s >= 0; s--) (o = e[s]) && (i = (a < 3 ? o(i) : a > 3 ? o(t, n, i) : o(t, n)) || i); a > 3 && i && Object.defineProperty(t, n, i); })([i.observable, Jo("design:type", "function" == typeof (e = void 0 !== r.IInfoPanelData && r.IInfoPanelData) ? e : Object)], t.prototype, "infoPanelData", void 0), t ); })(); const Xo = "assets-spaces: commentPanelData:"; class Ko { constructor(e) { (this.onCommentsError = (e) => { e ? console.error(`${Xo} onCommentsError: Error payload ${JSON.stringify(e, null, 4)}`) : console.error(`${Xo}: onCommentsError: payload should not be empty`); }), (this.isAnnotationEnabled = () => !0), (this.getOwnerId = () => { return ( (e = this), (t = void 0), (r = function* () { let e; if (this.asset.isOrgAsset) return e; try { e = yield this.asset.ownerId(); } catch (e) { console.error(`${Xo}: getOwnerId: error: ${e}}`); } return e; }), new ((n = void 0) || (n = Promise))(function (o, a) { function i(e) { try { c(r.next(e)); } catch (e) { a(e); } } function s(e) { try { c(r.throw(e)); } catch (e) { a(e); } } function c(e) { var t; e.done ? o(e.value) : ((t = e.value), t instanceof n ? t : new n(function (e) { e(t); })).then(i, s); } c((r = r.apply(e, t || [])).next()); }) ); var e, t, n, r; }), (this.getAnalyticsData = () => { if (!Po.assetsSpacesStore.filesStore.context.isAnalyticsOptedIn) return; const e = Po.assetsSpacesStore.filesStore.context.get(Bo.cR.FilesIMSStore), t = e.serviceAccount(), { serviceCode: n, serviceLevel: r } = Uo.getServiceParam(t), o = "CS_LVL_2" === r, { osVersion: a, appVersion: i, platform: s } = window.appContext; return { source: { client_id: Bo.PJ, name: Bo.iC, version: i, platform: s, os_version: a }, event: { workflow: "Space:1UP", category: "DESKTOP", user_guid: e.userID(), device_guid: e.deviceID() }, ui: { view_type: "1UP" }, content: { mimetype: this.asset.mediaType }, user: { service_code: n, service_level: o ? "paid" : void 0 }, }; }), (this.getPanelData = () => { const e = this.isAnnotationEnabled(), { getOwnerId: t, onCommentsError: n, getAnalyticsData: r } = this; return { getOwnerId: t, annotationsEnabled: e, onCommentsError: n, getAnalyticsData: r }; }), (this.panelOpened = () => { !(function (e) { const t = { "event.category": "DESKTOP", "event.workflow": "Spaces", "event.subtype": e, "event.type": "click" }; Po.assetsSpacesStore.context.logEvent(t); })(this.id); }), (this.id = Vr.COMMENTS), (this.asset = e); } } var $o = n(39189), ea = function (e, t, n, r) { return new (n || (n = Promise))(function (o, a) { function i(e) { try { c(r.next(e)); } catch (e) { a(e); } } function s(e) { try { c(r.throw(e)); } catch (e) { a(e); } } function c(e) { var t; e.done ? o(e.value) : ((t = e.value), t instanceof n ? t : new n(function (e) { e(t); })).then(i, s); } c((r = r.apply(e, t || [])).next()); }); }; const ta = "CCDAssetsSpaces: PanelManager:", na = new (class { constructor() { this.isCommentsEnable = !1; } init() { return ea(this, void 0, void 0, function* () { console.info(`${ta}: init start`); try { const { appVersion: e } = window.appContext; if (!e) throw new Error(`${ta} : window.appContext.appVersion should not be empty`); Po.assetsSpacesStore.context.onStoreRegister(Bo.cR.Files, () => ea(this, void 0, void 0, function* () { const t = Po.assetsSpacesStore.context.get(Bo.cR.Files); t.registerStoreForFeatureFlagUpdate(this, $o.En); const n = t.context.get(Bo.cR.FeatureFlags), r = yield n.getFeatureStatus({ fesID: $o.En }); if (!r || !r.state) return void console.info(`${ta} : init : Comments is not enabled`); const o = n.getFESData($o.En), { data: a } = o; console.debug(`${ta} : init : info found from feature flags : ${a}`); const i = JSON.parse(a), { minCCD: s } = i; this.isCommentsEnable = 1 !== Uo.compareVersions(s, e); }) ); } catch (e) { (this.isCommentsEnable = !1), console.error(`${ta}: init err: ${e}`); } }); } handleFeatureFlagUpdate() { console.info(`${ta}: feature flag has been updated, re-initalizing stores`), this.init(); } showCommentPanel(e) { return !(!this.isCommentsEnable || (e.mediaType !== Bo.rn.PS_CLOUD_DOCUMENT && e.mediaType !== Bo.rn.PS_CLOUD_DOCUMENT_DEP)); } getOneUpSidebarPanelItems(e) { const t = []; return e ? (this.showCommentPanel(e) && t.push(new Ko(e)), t.push(new qo()), t) : t; } })(); var ra = function (e, t, n, r) { var o, a = arguments.length, i = a < 3 ? t : null === r ? (r = Object.getOwnPropertyDescriptor(t, n)) : r; if ("object" == typeof Reflect && "function" == typeof Reflect.decorate) i = Reflect.decorate(e, t, n, r); else for (var s = e.length - 1; s >= 0; s--) (o = e[s]) && (i = (a < 3 ? o(i) : a > 3 ? o(t, n, i) : o(t, n)) || i); return a > 3 && i && Object.defineProperty(t, n, i), i; }, oa = function (e, t) { if ("object" == typeof Reflect && "function" == typeof Reflect.metadata) return Reflect.metadata(e, t); }, aa = function (e, t, n, r) { return new (n || (n = Promise))(function (o, a) { function i(e) { try { c(r.next(e)); } catch (e) { a(e); } } function s(e) { try { c(r.throw(e)); } catch (e) { a(e); } } function c(e) { var t; e.done ? o(e.value) : ((t = e.value), t instanceof n ? t : new n(function (e) { e(t); })).then(i, s); } c((r = r.apply(e, t || [])).next()); }); }; const { components: ia } = n(13853), sa = "CCDAssetsSpaces: OneUpStore:", ca = new ((() => { var e; class t { constructor() { (this.assetSource = void 0), (this.imsHelperObj = void 0), (this.exitOneUp = (e) => { if (this.reactNode) { this.reactNode = void 0; const t = { urn: this.spaceData.spaceID, type: "spaces", folderId: e || void 0 }; Po.assetsSpacesStore.navigateToSpace(t); } }), (this.handleBackClick = () => { this.exitOneUp(this.assetFolderID); }), (this.handleInfoSpaceClick = () => { this.exitOneUp(); }), (this.handleOpenIn = (e) => { const t = this.getFileData(); jo.x.open([t], e); }), (this.getShareCapabilities = (e) => (["space", "team"].includes(e.type) || "application/vnd.adobe.xd.cloudproject+dcx" === e.mimeType ? [Bo.F2.INVITE] : [Bo.F2.INVITE, Bo.F2.GETLINK])), (this.getOneOffCapabilities = (e) => { try { const t = Po.assetsSpacesStore.filesStore.context.get(Bo.cR.FeatureFlags).getFESData($o.ek.CCD_ASSETS_SPACES_ONE_OFF); if (!t) return !1; const { data: n } = t; if (!n) return !1; return JSON.parse(n).mimeTypes.includes(e.mimeType); } catch (e) { return console.error(`${sa}: OneOffFeatureFlagData : FF data is incorrectly configured: ${e}`), !1; } }), (this.handleShare = () => { const e = { assetId: this.asset.cloudID, emailNotification: { acceptance: { viewer: "cc_collab_invite_v2_viewer", editor: "cc_collab_invite_v2_editor" }, sharing: { viewer: "cc_collab_projects_document_invite_notification", editor: "cc_collab_projects_document_invite_notification" }, }, mimeType: this.asset.mediaType, name: this.asset.name, resourceId: this.getResourceID, roles: ["EDIT_SHARE"], space: { assetId: this.spaceData ? this.spaceData.id : void 0, color: this.spaceData ? this.spaceData.color : void 0, name: this.spaceData ? this.spaceData.name : "" }, team: { name: this.spaceData ? this.spaceData.teamName : void 0 }, type: "spaceDocument", }; Po.assetsSpacesStore.context.showShareSheet({ assetData: e, projectData: e.space, team: e.team, shareAction: Bo.F2.SHARE, shareCapabilities: this.getShareCapabilities(e), spaceDocumentOneOffInvites: this.getOneOffCapabilities(e), }); }), (this.handleExport = () => aa(this, void 0, void 0, function* () { try { const e = yield Zo.O.getExportPath(); if (void 0 === e) return void console.info(`${sa} handleExport: User has cancelled export operation.`); const t = Uo.getExtensionFromFileName(this.asset.name), n = { urn: this.asset.cloudID, name: Uo.getFileNameWithoutExtension(this.asset.name), mimeType: this.asset.mediaType, modifiedDate: new Date(this.asset.modified), path: this.asset.repoPath, extension: t }, r = yield Zo.O.exportSingleSpacesDoc(n, e); if (!1 === r.success) { const { errorCode: e, errorDesc: t } = r; console.error(`${sa} handleExport: error code: ${e} and desc: ${t}`); } } catch (e) { console.error(`${sa} handleExport: export exceptiom ${e}}`); } })); } init() { return aa(this, void 0, void 0, function* () { yield na.init(); }); } get imsHelper() { return this.imsHelperObj; } getFileData() { return { confirmAccess: !0, displayName: this.title, mimetype: this.asset.mediaType, path: this.asset.repoPath, localID: this.asset.localID, cloudID: this.asset.cloudID, repositoryID: this.repositoryId }; } get repositoryId() { if (this.asset) { const { assetRefString: e } = this.asset, t = JSON.parse(e); if (t.repository_id) return t.repository_id; } return ""; } get urn() { if (this.asset) { const { cloudID: e } = this.asset; return e; } return ""; } get title() { if (this.asset) { const { name: e } = this.asset; return e; } return ""; } get spaceColor() { return this.spaceData ? this.spaceData.color : "var(--iconBaseColor)"; } get directory() { return this.spaceData ? this.spaceData.name : ""; } get canOpen() { const e = this.getFileData(); return !(!jo.x.isOpenWithActionAvailable([e]) && !jo.x.isOpenActionAvailable([e])); } get canChangeDefaultApp() { return !1; } get availableApps() { return jo.x.getAvailableAppsByMimeType(this.asset.mediaType); } get showCarousel() { return !1; } get canShare() { return !0; } get getResourceID() { const { imsData: e } = this.imsHelperObj; let t = Bo.b3.hosts[e.environment].storage; return this.asset.cloudID && (t += `/id/${this.asset.cloudID}`), t; } get canExport() { return Zo.O.isExportActionAvailable([this.asset.mediaType]); } get showSideBar() { return !0; } get sidebarPanelItems() { return na.getOneUpSidebarPanelItems(this.asset); } get defaultPanel() { const e = this.sidebarPanelItems; return e && 0 !== e.length ? e[0].id : ""; } get renditionSrc() { if (this.asset) { const { preview: e } = this.asset; return e ? new URL(`file://${e.file}`).href : ""; } return ""; } showOneUp() { if (void 0 !== this.reactNode) return; const { components: { getCloudDocsOneUpNode: e }, } = window[ia.OneUp.globalReference]; this.reactNode = e(this); const t = Po.assetsSpacesStore.context.get(Bo.cR.Router), n = Bo.Z5.SpacesOneUp.replace(":urn", this.urn); t.push(n); } preview(e) { return aa(this, void 0, void 0, function* () { this.imsHelperObj || ((this.imsHelperObj = Ho), yield this.imsHelperObj.init()); const { samAssetContext: t } = Po.assetsSpacesStore.filesStore; (this.asset = yield t.getAssetWithCloudID(e.urn)), (this.assetSource = a.SpacesDocs); const { currentProject: n, route: r } = zo.projectsBrowseSession.session; (this.assetFolderID = null == r ? void 0 : r.folderId), n && (this.spaceData = n.space), this.showOneUp(); }); } previewFromRoute(e) { return aa(this, void 0, void 0, function* () { const { cloudID: t } = e; console.info(`${sa}:previewFromRoute open oneup view from route cloudID: ${t}`), this.imsHelperObj || ((this.imsHelperObj = Ho), yield this.imsHelperObj.init()); const { samAssetContext: n } = Po.assetsSpacesStore.filesStore; this.asset = yield n.getAssetWithCloudID(t); const r = yield this.asset.getSpace(); (this.assetFolderID = void 0), (this.spaceData = { name: r.name, color: `#${r.color}`, spaceID: r.spaceID }), (this.assetSource = a.SpacesDocs), this.showOneUp(); }); } getOneUpNode() { return this.reactNode; } getOneUpAsset() { return this.asset; } getSpaceData() { return this.spaceData; } } return ( ra([i.observable, oa("design:type", Object)], t.prototype, "asset", void 0), ra([i.observable, oa("design:type", Object)], t.prototype, "spaceData", void 0), ra([i.observable, oa("design:type", "function" == typeof (e = void 0 !== a && a) ? e : Object)], t.prototype, "assetSource", void 0), ra([i.computed, oa("design:type", String), oa("design:paramtypes", [])], t.prototype, "repositoryId", null), ra([i.computed, oa("design:type", String), oa("design:paramtypes", [])], t.prototype, "title", null), ra([i.computed, oa("design:type", String), oa("design:paramtypes", [])], t.prototype, "directory", null), ra([i.computed, oa("design:type", Boolean), oa("design:paramtypes", [])], t.prototype, "canOpen", null), ra([i.computed, oa("design:type", Object), oa("design:paramtypes", [])], t.prototype, "availableApps", null), ra([i.computed, oa("design:type", Boolean), oa("design:paramtypes", [])], t.prototype, "canShare", null), ra([i.computed, oa("design:type", String), oa("design:paramtypes", [])], t.prototype, "renditionSrc", null), ra([i.action, oa("design:type", Function), oa("design:paramtypes", []), oa("design:returntype", void 0)], t.prototype, "showOneUp", null), t ); })())(); }, 72926: (e, t, n) => { "use strict"; n.d(t, { A: () => h, x: () => m }); var r, o, a = n(22953); !(function (e) { (e.SPACES = "spaces"), (e.YOUR_DOCUMENTS = "yd"), (e.SHARED_WITH_YOU = "swy"); })(r || (r = {})), (function (e) { (e.SPACES = "spaces"), (e.YOUR_DOCUMENTS = "yd"); })(o || (o = {})); var i = n(39189), s = function (e, t, n, r) { return new (n || (n = Promise))(function (o, a) { function i(e) { try { c(r.next(e)); } catch (e) { a(e); } } function s(e) { try { c(r.throw(e)); } catch (e) { a(e); } } function c(e) { var t; e.done ? o(e.value) : ((t = e.value), t instanceof n ? t : new n(function (e) { e(t); })).then(i, s); } c((r = r.apply(e, t || [])).next()); }); }; const c = "CCDAssetsSpaces: OpenFFStore", l = new (class { constructor() { (this.mimeTypeFeatureFlagDataMap = new Map()), (this.initOpenFeatureFlagData = () => s(this, void 0, void 0, function* () { console.info(`${c} : initOpenFeatureFlagData start`); try { const e = yield this.getFeatureData(); Object.keys(e).forEach((t) => { if (e[t]) { const n = []; e[t].forEach((e) => { if (e) { const t = Object.assign({}, e); n.push(t); } else console.info(`${c}: initOpenFeatureFlagData: Open for mimetype: ${t} is disabled for this platform`); }), n && n.length > 0 && this.mimeTypeFeatureFlagDataMap.set(t, n); } }), console.info(`${c} : initOpenFeatureFlagData complete`); } catch (e) { console.error(`${c} : initOpenFeatureFlagData error = ${e}`); } })), (this.getAllAvailableAppsData = () => this.openCoreFFHelper.getAllAvailableAppsData(this.mimeTypeFeatureFlagDataMap)); } getOpenSpacesCloudDocsData() { return s(this, void 0, void 0, function* () { try { console.info(`${c} : init openSpacesCloudDocsFeaturesData start`); let e = !1; const t = yield this.featureFlagsStore.getFeatureStatus({ fesID: i.ek.CCD_ASSETS_SPACES_CLOUDDOCS_OPEN }); if (((e = t && t.state), !e)) throw (console.info(`${c} : init : open spaces cloud docs is not supported`), new Error(`${c} : openSpacesCloudDocsFeaturesResponse : feature flag data not available`)); const n = this.featureFlagsStore.getFESData(i.ek.CCD_ASSETS_SPACES_CLOUDDOCS_OPEN), { data: r } = n; return console.info(`${c} : init : info found from feature flags : ${r}`), JSON.parse(r); } catch (e) { console.error(`${c} : init error = ${e}`); } }); } getOpenSpacesFilesData() { return s(this, void 0, void 0, function* () { try { console.info(`${c} : init openSpacesFilesFeaturesData start`); let e = !1; const t = yield this.featureFlagsStore.getFeatureStatus({ fesID: i.ek.CCD_ASSETS_SPACES_FILES_OPEN }); if (((e = t && t.state), !e)) throw (console.info(`${c} : init : open spaces cloud files is not supported`), new Error(`${c} : openSpacesFilesFeaturesResponse : feature flag data not available`)); const n = this.featureFlagsStore.getFESData(i.ek.CCD_ASSETS_SPACES_FILES_OPEN), { data: r } = n; return console.info(`${c} : init : info found from feature flags : ${r}`), JSON.parse(r); } catch (e) { console.error(`${c} : init error = ${e}`); } }); } getFeatureData() { return s(this, void 0, void 0, function* () { const e = yield this.getOpenSpacesCloudDocsData(), t = yield this.getOpenSpacesFilesData(); if (!e && !t) return void console.info(`${c} : getFeatureData : apps list not available for File in Spaces`); const n = {}; if ( (e && Object.keys(e.apps).forEach((t) => { n[t] = e.apps[t]; }), t.length > 0 && t.forEach((e) => { e.mimeType.forEach((t) => { n[t] = e.apps; }); }), !n) ) throw new Error(`${c} : getFeatureData : FF data is incorrectly configured`); return new Promise((e) => { e(n); }); }); } init(e) { return s(this, void 0, void 0, function* () { (this.openCoreFFHelper = e.get(a.cR.OpenCoreFFHelper)), (this.featureFlagsStore = e.get(a.cR.FeatureFlags)), yield this.initOpenFeatureFlagData(); }); } getAllAppsSapcode() { const e = new Set(); this.mimeTypeFeatureFlagDataMap.forEach((t) => { t.forEach((t) => { e.add(t.sapcode); }); }); const t = [...e]; return console.info(`${c} : getAllAppsSapcode : ${t}`), t; } })(); var u; !(function (e) { (e.LIST_UPDATED_ALREADY = "listUpdatedAlready"), (e.LIST_UPDATE_IN_PROGRESS = "listUpdateInProgress"); })(u || (u = {})); var d = n(76489); const p = r.SPACES, f = "CCDAssetsSpaces: SpacesOpenStore", m = new (class { constructor() { (this.isInitialized = !1), (this.updateAvailableAppsData = () => { console.info(`${f} : update start`); const e = l.getAllAvailableAppsData(); e && (this.openCoreAppStore.addMimeTypeAllAppsDataMap(p, e), console.info(`${f} : update complete`)); }), (this.isOpenWithActionAvailable = (e) => { const t = []; e.forEach((e) => t.push(e.mimetype)); let n = t.length > 0 && t.length <= this.multiSelectMaxCount && this.isInitialized; const r = t[0]; if (((n = n && t.every((e) => e === r)), n)) { const e = this.openCoreAppStore.getAllAppsByMimeType(p, r); return e && e.length > 1; } return !1; }), (this.isOpenActionAvailable = (e) => { const t = []; return e.forEach((e) => t.push(e.mimetype)), t.length > 0 && t.length <= this.multiSelectMaxCount && this.isInitialized && t.every((e) => this.openCoreAppStore.getAllAvailableApps(p).has(e)); }), (this.open = (e, t) => { const n = { id: p, files: e, sapcode: t }; this.openCoreStore.open(n); }), (this.getInstalledAppsByType = () => this.openStore.getInstalledAppsByType()), (this.getAvailableAppsByMimeType = (e) => this.openCoreAppStore.getAllAppsByMimeType(p, e)); } initOpenStore(e) { e.onStoreRegister(a.cR.AssetsFiles, () => { const t = e.get(a.cR.AssetsFiles); this.openStore = t.openStore; }); } init(e) { return ( (t = this), (n = void 0), (o = function* () { (this.openCoreStore = e.get(a.cR.OpenCore)), (this.openCoreAppStore = e.get(a.cR.OpenCoreApp)), (this.filteredAppsStore = e.get(a.cR.FilteredAppsStore)), (this.eventStore = e.get(a.cR.Events)), this.initOpenStore(e), (this.multiSelectMaxCount = 1), this.eventStore.on(a.iV.FILTERED_APPS_STORE_UPDATED, this.updateAvailableAppsData), yield l.init(e), this.filteredAppsStore.updateAppsListing(l.getAllAppsSapcode()) === u.LIST_UPDATED_ALREADY && this.updateAvailableAppsData(), e.registerStore(a.cR.SpacesOpenStore, this), (this.isInitialized = !0); }), new ((r = void 0) || (r = Promise))(function (e, a) { function i(e) { try { c(o.next(e)); } catch (e) { a(e); } } function s(e) { try { c(o.throw(e)); } catch (e) { a(e); } } function c(t) { var n; t.done ? e(t.value) : ((n = t.value), n instanceof r ? n : new r(function (e) { e(n); })).then(i, s); } c((o = o.apply(t, n || [])).next()); }) ); var t, n, r, o; } })(), h = Object.assign(Object.assign({}, m), { open: (e, t) => { e.map((e) => (e.assetRefStr && (e.repositoryID = JSON.parse(e.assetRefStr).repository_id), e)), m.open(e, t); }, openDeepLink: (e) => e && d.assetsSpacesStore.ccdRouter.push(e), }); }, 82685: (e, t, n) => { "use strict"; n.d(t, { projectsBrowseSession: () => s }); var r = n(32339), o = n(76489), a = n(50187); class i { init() { const { BrowseSession: e } = o.assetsSpacesStore.uabContext; this.session = new e({ productLocation: "com.adobe.creativecloud.desktop", onNavigate: i.onProjectNavigated, registerTour: o.assetsSpacesStore.registerTour, showPicker: a.b }); } static calculateRoute(e, t) { const { view: n, type: a, folderId: i } = r.parse(t), s = e ? decodeURIComponent(e) : null; if ("spaces" === a) { const { SpaceRoute: e } = o.assetsSpacesStore.uabContext; return new e(s, { view: n, folderId: i }); } if ("teams" === a) { const { TeamRoute: e } = o.assetsSpacesStore.uabContext; return new e(s, n); } throw new Error(`CCDAssetsSpaces: ProjectsBrowseSession: calculateRoute, unknown type = ${a}`); } navigateToUrl(e, t) { const n = i.calculateRoute(e, t); this.session.navigate(n); } static onProjectNavigated(e) { const { folderId: t, type: n, view: r, urn: a } = e; o.assetsSpacesStore.navigateToSpace({ folderId: t, urn: a, view: r, type: n }); } } const s = new i(); }, 50187: (e, t, n) => { "use strict"; n.d(t, { b: () => c }); var r = n(23469), o = n.n(r), a = n(39358), i = n.n(a), s = n(76489); function c(e, t, n, r, a, c) { const l = window.UniversalAssetBrowser.components.find((e) => "uap" === e.id).main; if (!l) throw new Error("UAP component not found in showPicker!"); const { context: u, filesStore: d } = s.assetsSpacesStore, p = Object.assign(Object.assign({}, e), { isWebDialog: !0 }), f = d && d.cdoStore && d.cdoStore.hostProductData ? d.cdoStore.hostProductData.featureFlags : {}, m = Object.assign(Object.assign({}, f), t.featureFlags), h = Object.assign(Object.assign({}, t), { featureFlags: m }); let v; const y = o().createElement(l, { openedSessionGuid: i().v1(), pickerInfo: p, closeDialog: () => v && v(), cdoHostProductData: h, callbacks: n, cdoIMSData: r, theme: a }); if (!u.showDialog || !u.hideDialog) throw new Error("showDialog/hideDialog is missing in context"); const g = u.showDialog("custom", { wrapInDialog: !1, content: y }); return ( (v = () => { u.hideDialog(g); }), v ); } }, 13853: (e) => { e.exports = { components: { Spaces: { id: "Spaces", output: "Spaces", globalReference: "CCDSpaces", loadCSS: !0 }, Libs: { id: "CCLibs", output: "CCLibs", globalReference: "CCDLibs" }, Files: { id: "CloudDocs", output: "CloudDocs", globalReference: "CCDCloudDocs", loadCSS: !0 }, ShareSheet: { id: "ShareSheet", output: "ShareSheet", globalReference: "CCDShareSheet", loadCSS: !0 }, OneUp: { id: "OneUp", output: "OneUp", globalReference: "CCDOneUp", loadCSS: !0 }, UAB: { id: "UAB", output: "UAB", globalReference: "UniversalAssetBrowser", loadCSS: !1 }, Lightroom: { id: "Lightroom", output: "Lightroom", globalReference: "CCDLightroom", loadCSS: !0 }, Stock: { id: "StockAssets", output: "StockAssets", globalReference: "CCDStockAssets", loadCSS: !0 }, }, }; }, 13262: (e) => { e.exports = function (e, t) { (null == t || t > e.length) && (t = e.length); for (var n = 0, r = new Array(t); n < t; n++) r[n] = e[n]; return r; }; }, 40772: (e) => { e.exports = function (e) { if (Array.isArray(e)) return e; }; }, 20917: (e, t, n) => { var r = n(13262); e.exports = function (e) { if (Array.isArray(e)) return r(e); }; }, 23170: (e) => { e.exports = function (e) { if (void 0 === e) throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); return e; }; }, 8012: (e) => { function t(e, t, n, r, o, a, i) { try { var s = e[a](i), c = s.value; } catch (e) { return void n(e); } s.done ? t(c) : Promise.resolve(c).then(r, o); } e.exports = function (e) { return function () { var n = this, r = arguments; return new Promise(function (o, a) { var i = e.apply(n, r); function s(e) { t(i, o, a, s, c, "next", e); } function c(e) { t(i, o, a, s, c, "throw", e); } s(void 0); }); }; }; }, 2400: (e) => { e.exports = function (e, t) { if (!(e instanceof t)) throw new TypeError("Cannot call a class as a function"); }; }, 80034: (e) => { function t(e, t) { for (var n = 0; n < t.length; n++) { var r = t[n]; (r.enumerable = r.enumerable || !1), (r.configurable = !0), "value" in r && (r.writable = !0), Object.defineProperty(e, r.key, r); } } e.exports = function (e, n, r) { return n && t(e.prototype, n), r && t(e, r), e; }; }, 17555: (e) => { e.exports = function (e, t, n) { return t in e ? Object.defineProperty(e, t, { value: n, enumerable: !0, configurable: !0, writable: !0 }) : (e[t] = n), e; }; }, 62665: (e) => { function t() { return ( (e.exports = t = Object.assign || function (e) { for (var t = 1; t < arguments.length; t++) { var n = arguments[t]; for (var r in n) Object.prototype.hasOwnProperty.call(n, r) && (e[r] = n[r]); } return e; }), t.apply(this, arguments) ); } e.exports = t; }, 33470: (e) => { function t(n) { return ( (e.exports = t = Object.setPrototypeOf ? Object.getPrototypeOf : function (e) { return e.__proto__ || Object.getPrototypeOf(e); }), t(n) ); } e.exports = t; }, 15270: (e, t, n) => { var r = n(7941); e.exports = function (e, t) { if ("function" != typeof t && null !== t) throw new TypeError("Super expression must either be null or a function"); (e.prototype = Object.create(t && t.prototype, { constructor: { value: e, writable: !0, configurable: !0 } })), t && r(e, t); }; }, 86633: (e) => { e.exports = function (e) { return e && e.__esModule ? e : { default: e }; }; }, 43061: (e, t, n) => { var r = n(34916); function o() { if ("function" != typeof WeakMap) return null; var e = new WeakMap(); return ( (o = function () { return e; }), e ); } e.exports = function (e) { if (e && e.__esModule) return e; if (null === e || ("object" !== r(e) && "function" != typeof e)) return { default: e }; var t = o(); if (t && t.has(e)) return t.get(e); var n = {}, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var i in e) if (Object.prototype.hasOwnProperty.call(e, i)) { var s = a ? Object.getOwnPropertyDescriptor(e, i) : null; s && (s.get || s.set) ? Object.defineProperty(n, i, s) : (n[i] = e[i]); } return (n.default = e), t && t.set(e, n), n; }; }, 34057: (e) => { e.exports = function (e) { if ("undefined" != typeof Symbol && Symbol.iterator in Object(e)) return Array.from(e); }; }, 16146: (e) => { e.exports = function (e, t) { if ("undefined" != typeof Symbol && Symbol.iterator in Object(e)) { var n = [], r = !0, o = !1, a = void 0; try { for (var i, s = e[Symbol.iterator](); !(r = (i = s.next()).done) && (n.push(i.value), !t || n.length !== t); r = !0); } catch (e) { (o = !0), (a = e); } finally { try { r || null == s.return || s.return(); } finally { if (o) throw a; } } return n; } }; }, 3970: (e) => { e.exports = function () { throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }; }, 23277: (e) => { e.exports = function () { throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }; }, 2001: (e, t, n) => { var r = n(27870); e.exports = function (e, t) { if (null == e) return {}; var n, o, a = r(e, t); if (Object.getOwnPropertySymbols) { var i = Object.getOwnPropertySymbols(e); for (o = 0; o < i.length; o++) (n = i[o]), t.indexOf(n) >= 0 || (Object.prototype.propertyIsEnumerable.call(e, n) && (a[n] = e[n])); } return a; }; }, 27870: (e) => { e.exports = function (e, t) { if (null == e) return {}; var n, r, o = {}, a = Object.keys(e); for (r = 0; r < a.length; r++) (n = a[r]), t.indexOf(n) >= 0 || (o[n] = e[n]); return o; }; }, 19854: (e, t, n) => { var r = n(34916), o = n(23170); e.exports = function (e, t) { return !t || ("object" !== r(t) && "function" != typeof t) ? o(e) : t; }; }, 7941: (e) => { function t(n, r) { return ( (e.exports = t = Object.setPrototypeOf || function (e, t) { return (e.__proto__ = t), e; }), t(n, r) ); } e.exports = t; }, 85199: (e, t, n) => { var r = n(40772), o = n(16146), a = n(59554), i = n(3970); e.exports = function (e, t) { return r(e) || o(e, t) || a(e, t) || i(); }; }, 59395: (e, t, n) => { var r = n(20917), o = n(34057), a = n(59554), i = n(23277); e.exports = function (e) { return r(e) || o(e) || a(e) || i(); }; }, 34916: (e) => { function t(n) { return ( "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? (e.exports = t = function (e) { return typeof e; }) : (e.exports = t = function (e) { return e && "function" == typeof Symbol && e.constructor === Symbol && e !== Symbol.prototype ? "symbol" : typeof e; }), t(n) ); } e.exports = t; }, 59554: (e, t, n) => { var r = n(13262); e.exports = function (e, t) { if (e) { if ("string" == typeof e) return r(e, t); var n = Object.prototype.toString.call(e).slice(8, -1); return "Object" === n && e.constructor && (n = e.constructor.name), "Map" === n || "Set" === n ? Array.from(e) : "Arguments" === n || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n) ? r(e, t) : void 0; } }; }, 20578: (e, t, n) => { e.exports = n(92450); }, 95545: (e, t, n) => { "use strict"; n.d(t, { Ef: () => l, I6: () => i, K8: () => c, Vs: () => a, tz: () => d, xD: () => u, zb: () => s }); var r = n(99894), o = n(90353), a = function (e) { return { annotationId: e, type: r.KT }; }, i = function (e) { return { drawingNode: e, type: r.Md }; }, s = function (e) { return { touchPressed: e, type: r.vm }; }, c = function (e) { return { selectedAnnotationId: e, type: r.Pj }; }, l = function (e) { return { selectedReplyId: e, type: r.UT }; }, u = function (e) { return (0, o.m8)("showAnnotations", e), { type: r.aV, showAnnotations: e }; }, d = function (e) { return { type: r.Mw, showDraftAnnotations: e }; }; }, 69522: (e, t, n) => { "use strict"; n.d(t, { $k: () => J, Gt: () => x, Gv: () => B, H6: () => k, H_: () => F, IK: () => X, P_: () => T, TA: () => N, TM: () => K, Xq: () => L, Y$: () => Z, Zk: () => q, _E: () => Q, bi: () => H, e1: () => V, fx: () => j, hm: () => W, j2: () => U, j4: () => G, jS: () => I, jT: () => R, kY: () => z, lH: () => $, l_: () => Y, nx: () => M, uQ: () => O, }); var r = n(57305), o = n.n(r), a = n(56155), i = n.n(a), s = n(19212), c = n(94055), l = n(19990), u = n(56841), d = n(35234), p = n(90353), f = n(99894), m = n(30251), h = n(95545), v = n(48468); function y(e) { return ( (y = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (e) { return typeof e; } : function (e) { return e && "function" == typeof Symbol && e.constructor === Symbol && e !== Symbol.prototype ? "symbol" : typeof e; }), y(e) ); } function g(e, t) { var n = Object.keys(e); if (Object.getOwnPropertySymbols) { var r = Object.getOwnPropertySymbols(e); t && (r = r.filter(function (t) { return Object.getOwnPropertyDescriptor(e, t).enumerable; })), n.push.apply(n, r); } return n; } function b(e) { for (var t = 1; t < arguments.length; t++) { var n = null != arguments[t] ? arguments[t] : {}; t % 2 ? g(Object(n), !0).forEach(function (t) { E(e, t, n[t]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : g(Object(n)).forEach(function (t) { Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t)); }); } return e; } function E(e, t, n) { return t in e ? Object.defineProperty(e, t, { value: n, enumerable: !0, configurable: !0, writable: !0 }) : (e[t] = n), e; } var D = function () { return c.ccxController.getInstance(f.FH); }, C = (0, v.xr)(); function w(e) { var t = arguments.length > 1 && void 0 !== arguments[1] ? arguments[1] : {}, n = i()(e); return ( delete n.pinNum, delete n.annotationType, delete n.recentActivity, delete n.repliesOpen, delete n.parentCommentId, delete n.draftReplyText, delete n.dirtyEdit, delete n.dirtyReply, delete n.imageContextData, delete n.unmapped, t[n.id] && (n.target.selector.node.id = t[n.id].original), n ); } function S(e, t) { var n = []; if (e) for (var r = 0; r < e.length; r++) t.includes(e[r].id) && n.push({ id: e[r].id, name: e[r].name, type: e[r].type, email: e[r].email }); return n; } function A() { var e = arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : [], t = arguments.length > 1 ? arguments[1] : void 0, n = (arguments.length > 2 ? arguments[2] : void 0).isGlobalCommentsToggleActive, r = e.filter(function (e) { return "open" === e.status; }); return n ? r.length > 0 : t.nodeId ? Boolean( r.find(function (e) { var n, r, o; return (null == e || null === (n = e.target) || void 0 === n || null === (r = n.selector) || void 0 === r || null === (o = r.node) || void 0 === o ? void 0 : o.id) === t.nodeId; }) ) : Boolean(r.length); } function k(e, t) { return { assetId: e, errorId: t, type: f.Z5 }; } var _ = function (e) { var t = arguments.length > 1 && void 0 !== arguments[1] ? arguments[1] : void 0, n = arguments.length > 2 && void 0 !== arguments[2] ? arguments[2] : void 0; return function (r) { setTimeout(function () { requestAnimationFrame(function () { r({ type: f.hY, parentId: e, replyId: t, recentActivity: n }); }); }, 3e3); }; }, T = function (e) { return { type: f.vl, assetId: e, sourceId: void 0 }; }, I = function () { var e = arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : {}, t = arguments.length > 1 && void 0 !== arguments[1] ? arguments[1] : {}, n = arguments.length > 2 && void 0 !== arguments[2] ? arguments[2] : {}; return function (r, o) { var a = n.cacheComments, i = n.imageCapture, c = n.isBackgroundMode, l = n.isGlobalCommentsToggleActive, m = n.isOffline, h = n.pollForUpdates, v = n.selectedAssetId, y = s.xR.getInstance({ commentType: ["open", "resolved"], id: e.id, pollForUpdates: h, useNodeIndex: e.useNodeIndex, validNodes: e.validNodes }); if ((D().fireEvent(u.Z.commentsRenderEventHelper("commentsLoad", c)), r({ type: f.Ov.START, assetId: e.id, sourceId: void 0 }), a)) { d.Z.configure({ namespace: t.id, shouldExpire: !0, expirationDuration: 2592e3 }); var g = d.Z.get(e.id), b = g && Date.now() - g.createdTimeStamp <= 6e5; if ( ((g && !m && b) || (g && m)) && (r({ data: g.data.comments, cacheComments: a, assetId: e.id, sourceId: e.sourceId, type: f.Ov.SUCCESS }), r({ assetId: e.id, cacheMetadata: a, metadata: g.data.metadata, type: f.k9.SUCCESS }), m) ) { var E = A(g.data.comments, e, { isGlobalCommentsToggleActive: l }) ? u.Z.commentsRenderEventHelper("commentsRender", c) : u.Z.commentsRenderEventHelper("noComments", c); return D().fireEvent(E), Promise.resolve(y); } } return new Promise(function (t, n) { y.get() .then(function (n) { var s, d = { cacheComments: a, assetId: e.id, sourceId: e.sourceId, type: f.Ov.SUCCESS }; if ( (n ? ((s = n.annotations), i && s && s.length && s.forEach(function (e) { var t = (0, p.Pt)(e.id); t && (e.imageContextData = t); }), (d.data = s)) : null === n && ((s = C(o(), e.id)), (d.data = s)), r(d), e.id === v) ) { var m = A(s, e, { isGlobalCommentsToggleActive: l }) ? u.Z.commentsRenderEventHelper("commentsRender", c) : u.Z.commentsRenderEventHelper("noComments", c); D().fireEvent(m); } t(y); }) .catch(function (t) { r({ type: f.Ov.ERROR, error: "list", cacheComments: a, assetId: e.id, sourceId: e.sourceId }), D().fireEvent(u.Z.commentsFailedToLoad(t.status, t.message, c)), n(t); }); }); }; }, O = function () { var e = arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : {}, t = arguments.length > 1 && void 0 !== arguments[1] ? arguments[1] : {}; return function (n) { var r = t.cacheMetadata, o = t.isOffline, a = t.pollForUpdates, i = new s.xR({ commentType: ["open", "resolved"], id: e.id, pollForUpdates: a, useNodeIndex: e.useNodeIndex, validNodes: e.validNodes }); if ((n({ assetId: e.id, type: f.k9.START }), r)) { var c = d.Z.get(e.id), l = c && Date.now() - c.createdTimeStamp <= 6e5; ((c && !o && l) || (c && o)) && n({ assetId: e.id, cacheMetadata: r, metadata: c.data.metadata, type: f.k9.SUCCESS }); } return o ? Promise.resolve() : new Promise(function (t, o) { return i .getMetadata() .then(function (o) { var a = o.metadataCollection; n({ assetId: e.id, cacheMetadata: r, metadata: a, type: f.k9.SUCCESS }), t(); }) .catch(function (t) { n({ assetId: e.id, cacheMetadata: r, type: f.k9.ERROR }), o(t); }); }); }; }, F = function (e) { var t = arguments.length > 1 && void 0 !== arguments[1] ? arguments[1] : {}, n = (arguments.length > 2 && void 0 !== arguments[2] ? arguments[2] : {}).cacheComments; return { type: f.Ov.SUCCESS, data: e.annotations, isPollUpdate: !0, cacheComments: n, assetId: null == t ? void 0 : t.id, sourceId: null == t ? void 0 : t.sourceId }; }, x = function (e, t, n, r, o) { return { assetId: e, artboardID: t, comment: n, location: r, annotationType: o, type: f.W$ }; }, N = function (e, t) { return { type: f.fk, id: e, draftReplyText: t }; }, R = function (e, t) { return { type: f.GB, id: e, draftReplyText: t }; }, L = function (e, t, n) { return function (r) { r((0, h.K8)(t)), r({ assetId: e, mobileEditingCommentId: t, mobileEditingDraft: n, type: f.YE }); }; }, M = function (e, t) { return function (n) { n((0, h.K8)(t)), n({ assetId: e, parentCommentId: t, type: f.Wm }); }; }, P = function (e, t, n, r, o) { var a = n.allowUndo, i = n.cacheComments, c = n.isResolveAction, l = o(), u = (0, v._X)(l, e.id).remappedMap, d = w(t, u); delete d.mentions; var p = new s.q6(d, { id: e.id, useNodeIndex: e.useNodeIndex, validNodes: e.validNodes }); return ( r({ commentId: t.id, type: c ? f.Tf.START : f.xH.START }), (c ? p.resolve() : p.open()) .then(function (t) { r({ allowUndo: a, comment: t, cacheComments: i, assetId: e.id, type: c ? f.Tf.SUCCESS : f.xH.SUCCESS }); }) .catch(function (n) { throw (r({ assetId: e.id, commentId: t.id, error: t.id, type: c ? f.Tf.ERROR : f.xH.ERROR }), n); }) ); }, j = function () { var e = arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : {}, t = arguments.length > 1 && void 0 !== arguments[1] ? arguments[1] : {}, n = (arguments.length > 2 && void 0 !== arguments[2] ? arguments[2] : {}).cacheComments; return function (r, o) { return P(t, e, { allowUndo: !0, cacheComments: n, isResolveAction: !0 }, r, o); }; }, B = function () { var e = arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : {}, t = arguments.length > 1 && void 0 !== arguments[1] ? arguments[1] : {}, n = (arguments.length > 2 && void 0 !== arguments[2] ? arguments[2] : {}).cacheComments; return function (r, o) { return P(t, e, { allowUndo: !0, cacheComments: n, isResolveAction: !1 }, r, o); }; }, Z = function () { var e = arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : {}, t = (arguments.length > 1 && void 0 !== arguments[1] ? arguments[1] : {}).cacheComments; return function (n, r) { var o = r(), a = (0, v._X)(o, e.id).lastResolvedCommentData, i = a.commentId, s = a.newStatus, c = (0, v.v)(o)[i]; if (c) return P(e, c, "resolved" === s ? { allowUndo: !1, cacheComments: t, isResolveAction: !1 } : { allowUndo: !1, cacheComments: t, isResolveAction: !0 }, n, r); }; }, U = function (e, t, n) { var r = arguments.length > 3 && void 0 !== arguments[3] ? arguments[3] : {}, o = (arguments.length > 4 && void 0 !== arguments[4] ? arguments[4] : {}).cacheComments; return function (a, i) { var c = (0, v.v)(i())[t], l = new s.q6(c, { id: r.id, useNodeIndex: r.useNodeIndex, validNodes: r.validNodes }), u = S(n, e); return ( a({ assetId: r.id, parentCommentId: t, type: f.fj.START }), l .reply(e, u) .then(function (e) { return ( a({ reply: e, parentCommentId: t, assetId: r.id, nodeId: r.nodeId, cacheComments: o, type: f.fj.SUCCESS }), D().fireEvent({ event: { context_guid: t, subcategory: "reply-comment", subtype: "reply", type: "render" }, content: { parent_id: e.id } }), e.mentions.length && D().fireEvent({ event: { subcategory: "reply-comment", subtype: "mention", type: "render" }, content: { parent_id: e.id } }), a(_(t, e.id)), e ); }) .catch(function (e) { throw (a({ assetId: r.id, error: "reply", errorObj: e, type: f.fj.ERROR }), e); }) ); }; }, z = function (e, t, n) { var r = arguments.length > 3 && void 0 !== arguments[3] ? arguments[3] : {}, a = arguments.length > 4 && void 0 !== arguments[4] ? arguments[4] : {}; return function (i, c) { var u, d, m, h = c(), v = o()(h, "".concat(f.Bq, ":context")) || {}, y = v.imageContextData, g = a.cacheComments, b = a.dunamisEnv, E = a.shouldUseAnnotationLocation; i({ assetId: r.id, type: f.eE.START }), v.mediaData && (m = v.mediaData), E && v.annotationLocation && ((u = v.annotationLocation.nodeId), (d = v.annotationLocation.coordinates)); var C = S(n, e), w = new s.xR({ id: r.id, useNodeIndex: r.useNodeIndex, validNodes: r.validNodes }), A = D(), k = new l.DunamisCommentsInterface(b, A._baseData); return new Promise(function (n, o) { w.comment(e, void 0 === u ? t : u, d, C, m) .then(function (e) { var t, o; null != y && y.base64Data && ((0, p.m8)(e.id, y), (e.imageContextData = y)), i({ comment: e, assetId: r.id, cacheComments: g, type: f.eE.SUCCESS }); var a = { note: "pin-comment", shape: "draw-comment", highlight: "highlight-comment", strikethrough: "strikethrough-comment", insert: "insert-comment", replace: "replace-comment" }[ null === (t = e.target) || void 0 === t || null === (o = t.selector) || void 0 === o ? void 0 : o.subtype ] || "post-comment"; k.sendCreateCommentEvent(l.DunamisConstants.CrudResult.Success), D().fireEvent({ event: { subcategory: a, subtype: "comment", type: "render" }, content: { parent_id: e.id } }), e.mentions.length && D().fireEvent({ event: { subcategory: a, subtype: "mention", type: "render" }, content: { parent_id: e.id } }), i(_(e.id)), n(e); }) .catch(function (e) { k.sendCreateCommentEvent(l.DunamisConstants.CrudResult.Error), i({ assetId: r.id, error: "root", type: f.eE.ERROR, errorObj: e }), o(e); }); }); }; }, V = function (e, t, n) { return { assetId: e, id: t, parentCommentId: n, type: f.lP }; }, H = function (e) { return function (t) { t({ assetId: e, type: f.ii }); }; }, G = function () { var e = arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : {}, t = arguments.length > 1 && void 0 !== arguments[1] ? arguments[1] : {}; return function (n, r) { var o = t.cacheComments, a = t.latestMobileEnabled, i = r(), c = (0, v._X)(i, e.id), l = c.comments, u = c.commentProposedForDelete; if (e.id && u) { var d, m, h = u.id, y = u.parentCommentId, g = (0, v.v)(i), b = (0, v.sZ)(i).indexOf(h), E = y ? null === (d = g[y]) || void 0 === d || null === (m = d.replies) || void 0 === m ? void 0 : m.findIndex(function (e) { return e.id === h; }) : l.indexOf(h), D = new s.q6(u, { id: e.id, useNodeIndex: e.useNodeIndex, validNodes: e.validNodes }); return ( n({ assetId: e.id, commentId: h, parentCommentId: y, type: f.b$.START }), (0, p.Rv)(h), new Promise(function (t, r) { D.delete() .then(function () { n({ cacheComments: o, assetId: e.id, type: f.b$.SUCCESS }), a && !y && n(M(e.id)), t(); }) .catch(function (t) { var o = h; n({ assetId: e.id, error: o, comment: u, commentIndex: E, commentIndexInCommentsAllIds: b, parentCommentId: y, type: f.b$.ERROR }), r(t); }); }) ); } }; }, W = function (e, t, n, r) { var a = arguments.length > 4 && void 0 !== arguments[4] ? arguments[4] : {}, i = arguments.length > 5 && void 0 !== arguments[5] ? arguments[5] : {}; return function (c, l) { var u, d = i.cacheComments, m = i.imageCapture, h = l(), y = o()(h, "".concat(f.Bq, ":context")), g = (0, v._X)(h, a.id).remappedMap, E = (0, v.v)(h), D = y.imageContextData, C = n ? null === (u = E[n]) || void 0 === u ? void 0 : u.replies.find(function (e) { return e.id === t; }) : E[t]; if (C) { var A = w(C, g), k = C.id, T = new s.q6(A, { id: a.id, useNodeIndex: a.useNodeIndex, validNodes: a.validNodes }), I = S(r, e); return ( c({ assetId: a.id, comment: b(b({}, C), {}, { bodyValue: (0, p.UW)(e, I), mentions: I, modified: new Date().toISOString() }), parentCommentId: n, type: f.Al.START }), T.update(e, void 0, I, void 0) .then(function (e) { if (!n) { var t = l(), r = (0, v.v)(t)[e.id]; (e.draftReplyText = r.draftReplyText), (e.replies = r.replies), (e.repliesOpen = r.repliesOpen); } m && D.base64Data && ((0, p.m8)(e.id, D), (e.imageContextData = D)), c({ updatedCommentData: e, parentCommentId: n, cacheComments: d, assetId: a.id, type: f.Al.SUCCESS }), c(n ? _(n, e.id) : _(e.id)), C.draftReplyText && c(N(C.id, C.draftReplyText)); }) .catch(function (e) { var t = l(), r = (0, v.v)(t)[C.id]; throw ( (n || ((C.draftReplyText = r.draftReplyText), (C.replies = r.replies), (C.repliesOpen = r.repliesOpen)), (C.mentions = I), c({ assetId: a.id, comment: b(b({}, C), {}, n ? { mentions: I } : { draftReplyText: r.draftReplyText, mentions: I, replies: r.replies, repliesOpen: r.repliesOpen }), error: k, parentCommentId: n, type: f.Al.ERROR }), e) ); }) ); } return Promise.reject(); }; }, Q = function (e, t, n) { var r = arguments.length > 3 && void 0 !== arguments[3] ? arguments[3] : {}; return function (a, i) { var c = i(), l = (0, v.v)(c), u = (0, v._X)(c, r.id).remappedMap, d = o()(c, "".concat(f.Bq, ":context.mediaData")), p = l[e]; if (p) { var h = p.id, y = p.bodyValue, g = p.draftReplyText, b = p.mentions, E = p.repliesOpen, D = p.dirtyEdit, C = w(p, u), S = new s.q6(C, { id: r.id, useNodeIndex: r.useNodeIndex, validNodes: r.validNodes }); return ( a((0, m.O$)(h)), a((0, m.yC)(t, n)), S.update(y, t, b, n, d) .then(function (e) { (e.draftReplyText = g), (e.repliesOpen = !!g || E), (e.dirtyEdit = D), a({ assetId: r.id, updatedComment: e, type: f.T3.SUCCESS }), a(_(e.id)); }) .catch(function (e) { throw (a({ assetId: r.id, error: h, type: f.T3.ERROR }), e); }) ); } }; }, J = function (e, t) { return { assetId: e, mappingData: t, type: f.sf }; }, Y = function (e, t) { var n = arguments.length > 2 && void 0 !== arguments[2] ? arguments[2] : {}; return function (r) { var o = n.cacheComments, a = n.updateRedux, i = new s.xR({ id: t }); return new Promise(function (n, c) { i.remap(e) .then(function (e) { var i = [], c = []; Object.keys(e).forEach(function (t) { y(e[t]) === y(new s.q6()) && (i.push(e[t]), c.push(t)); }), a && r({ assetId: t, cacheComments: o, commentsToUpdate: i, type: f.Ar.SUCCESS }), n(c); }) .catch(function (e) { c(e); }); }); }; }, q = function (e, t) { var n = arguments.length > 2 && void 0 !== arguments[2] ? arguments[2] : {}; return function (r, o) { if (!e || 0 === Object.keys(e).length) return Promise.resolve(); var a = o(), c = i()((0, v.o8)(a)), l = n.cacheMetadata, u = n.recursive, d = void 0 !== u && u; return ( r({ assetId: t, cacheMetadata: l, metadata: e, type: f.Oz.START }), new s.xR({ id: t }) .batchCommentMetadataUpdate(e, d) .then(function (e) { if (d) { var n = C(o(), t).reduce(function (e, t) { return (e[t.id.toLowerCase()] = t), e; }, {}); Object.keys(e).forEach(function (t) { var r = n[t], o = null == r ? void 0 : r.replies; (null == o ? void 0 : o.length) >= 1 && o.forEach(function (t) { e[t.id.toLowerCase()] = { read: !0 }; }); }); } r({ assetId: t, cacheMetadata: l, metadata: e, type: f.Oz.SUCCESS }); }) .catch(function (n) { throw ( (Object.keys(e).forEach(function (t) { c && void 0 === c[t] && (c[t] = b(b({}, e[t]), {}, { read: !1 })); }), r({ assetId: t, cacheMetadata: l, metadata: c, type: f.Oz.ERROR }), n) ); }) ); }; }, X = function (e) { return { assetId: e, type: f.dh }; }, K = function () { return { type: f.k8 }; }, $ = function (e, t) { return { assetId: e, autoScroll: t, type: f.dS }; }; }, 30251: (e, t, n) => { "use strict"; n.d(t, { By: () => D, Fu: () => I, I3: () => h, Iz: () => A, O$: () => w, Om: () => m, PM: () => k, Po: () => g, Sp: () => y, V0: () => b, XH: () => v, eP: () => E, mj: () => T, rG: () => _, xX: () => C, yC: () => S }); var r = n(19212), o = n(57305), a = n.n(o), i = n(99894), s = ["expires"]; function c(e, t) { var n = Object.keys(e); if (Object.getOwnPropertySymbols) { var r = Object.getOwnPropertySymbols(e); t && (r = r.filter(function (t) { return Object.getOwnPropertyDescriptor(e, t).enumerable; })), n.push.apply(n, r); } return n; } function l(e) { for (var t = 1; t < arguments.length; t++) { var n = null != arguments[t] ? arguments[t] : {}; t % 2 ? c(Object(n), !0).forEach(function (t) { u(e, t, n[t]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : c(Object(n)).forEach(function (t) { Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t)); }); } return e; } function u(e, t, n) { return t in e ? Object.defineProperty(e, t, { value: n, enumerable: !0, configurable: !0, writable: !0 }) : (e[t] = n), e; } var d, p, f = 3e5, m = function (e, t) { return function (n, o) { var c = o(), u = a()(c, "".concat(i.Bq, ":context")).guestSessionRestoreCount; return ( clearTimeout(d), clearTimeout(p), new Promise(function (o, a) { r.KU.instance .createAnonymousSession(e, t) .then(function (t) { var a = t.expires, c = (function (e, t) { if (null == e) return {}; var n, r, o = (function (e, t) { if (null == e) return {}; var n, r, o = {}, a = Object.keys(e); for (r = 0; r < a.length; r++) (n = a[r]), t.indexOf(n) >= 0 || (o[n] = e[n]); return o; })(e, t); if (Object.getOwnPropertySymbols) { var a = Object.getOwnPropertySymbols(e); for (r = 0; r < a.length; r++) (n = a[r]), t.indexOf(n) >= 0 || (Object.prototype.propertyIsEnumerable.call(e, n) && (o[n] = e[n])); } return o; })(t, s); r.KU.instance.configure({ token: c.token }); var m = l(l({}, c), {}, { name: e.userName }); n({ data: m, type: i.lD.SUCCESS }); var h = new Date(), v = new Date(parseInt(a, 10)), y = new Date(+h + 36e5); if (v > new Date(+y - f) && v < new Date(+y + f)) { var g = Math.min(v, y) - h; u > 0 && (d = setTimeout(function () { n({ type: i.WD, sessionState: "expires-soon" }); }, g - f)), (p = setTimeout(function () { n({ type: i.WD, sessionState: "expired" }); }, g)); } o(m); }) .catch(function (e) { n({ type: i.lD.ERROR }), a(e); }); }) ); }; }, h = function () { return function (e) { clearTimeout(d), clearTimeout(p), e({ type: i.oA }); }; }, v = function (e) { return { commentsListMinimized: e, type: i.pO }; }, y = function (e) { return { isLoginVisible: e, type: i.$o }; }, g = function (e) { return { emojiPickerInfo: e, type: i.FN }; }, b = function (e, t, n, r) { return { isPlacingAnnotation: e, itmId: t, showAnnotationMask: n, newAnnotationType: r, type: i.x7 }; }, E = function (e) { return { mediaData: e, type: i.QR }; }, D = function () { return function (e) { e(b(!1, !1, !1, void 0)); }; }, C = function (e) { var t = arguments.length > 1 && void 0 !== arguments[1] && arguments[1]; return function (n, r) { var o = r(), s = a()(o, "".concat(i.Bq, ":context")), c = s.annotatingItmId !== e, l = !s.isPlacingAnnotation || c; t && !s.commentsListMinimized && n(v(!0)), n(b(l, e, l, "pin")); }; }, w = function (e) { return { id: e, type: i.AC }; }, S = function (e, t) { return { location: e ? { coordinates: e, nodeId: t } : void 0, type: i.Ys }; }, A = function (e) { return { color: e, type: i.kt }; }, k = function (e) { return { focusedInputInfo: e, type: i.yU }; }, _ = function (e) { return { cmtId: e, type: i.Gp }; }, T = function (e, t) { return { assetId: e, sectionId: t, isAdd: !(arguments.length > 2 && void 0 !== arguments[2]) || arguments[2], type: i.LG }; }, I = function (e) { return function (t) { t({ data: e, type: i.Xb }); }; }; }, 15686: (e, t, n) => { "use strict"; n.d(t, { BS: () => c, ER: () => s, Eu: () => u, ay: () => p, nv: () => l, wZ: () => d }); var r = n(94055), o = n(56841), a = n(99894), i = function () { return r.ccxController.getInstance(a.FH); }, s = function (e) { return function (t) { (null != e && e.excludeIngestEvent) || i().fireEvent(o.Z.clearFilters), t({ type: a.FT }); }; }, c = function (e) { return function (t) { i().fireEvent(o.Z.filterTime(e)), t({ type: a.ML, values: e }); }; }, l = function (e) { return function (t) { i().fireEvent(o.Z.filterUser), t({ type: a.LW, values: e }); }; }, u = function () { return function (e, t) { var n = t()["".concat(a.Bq, ":filter")].showResolvedComments; i().fireEvent(o.Z[n ? "backToUnresolved" : "viewResolved"]), e({ type: a.jc }); }; }, d = function () { return function (e, t) { var n = t()["".concat(a.Bq, ":filter")].showUnreadComments; i().fireEvent(o.Z[n ? "backToReadUnread" : "viewUnread"]), e({ type: a.PI }); }; }, p = function (e) { return function (t) { t({ metadataMap: e, type: a.cT }); }; }; }, 73531: (e, t, n) => { "use strict"; n.d(t, { BH: () => o, BX: () => a, K1: () => s, Po: () => l, YT: () => i, cN: () => c, mc: () => u }); var r = n(99894), o = function () { return { type: r.N2 }; }, a = function (e) { return { subview: e, type: r.do }; }, i = function (e) { return { expanded: e, type: r.zF }; }, s = function (e) { return { fullscreen: e, type: r.JV }; }, c = function (e) { return { inputFocused: e, type: r.wV }; }, l = function (e) { return { mentionListShown: e, type: r.nU }; }, u = function () { return { type: r.nd }; }; }, 91712: (e, t, n) => { "use strict"; n.d(t, { K: () => o, e: () => r }); var r = function (e) { var t = e.pageX, n = e.pageY; return ( e.touches && e.touches.length > 0 ? ((t = e.touches[0].pageX), (n = e.touches[0].pageY)) : e.changedTouches && e.changedTouches.length > 0 && ((t = e.changedTouches[0].pageX), (n = e.changedTouches[0].pageY)), { x: t, y: n } ); }, o = function (e) { var t = e.clientX, n = e.clientY; return e.changedTouches && e.changedTouches.length > 0 && ((t = e.changedTouches[0].clientX), (n = e.changedTouches[0].clientY)), { x: t, y: n }; }; }, 88559: (e, t, n) => { "use strict"; n.d(t, { Z: () => ae }); var r = n(23469), o = n.n(r), a = n(47776), i = n.n(a), s = n(57568), c = n(73531), l = n(23492), u = n(93139), d = n(35752), p = n(43235), f = n.n(p), m = n(47107), h = n(83896), v = n(99894), y = n(5347), g = n.n(y), b = function (e) { var t = e.children, n = e.onIngestEvent, a = (0, r.useContext)(l.ZP), i = (0, r.useRef)(), s = (function () { var e, t = (0, r.useContext)(l.ZP), n = t.analyticsData, o = t.assetData, a = t.globalCommentsToggle, i = t.imsData, s = t.locale, c = t.sophiaAnalyticsData, u = (0, h.Z)().commentCounts, d = (null == o ? void 0 : o.validNodes) || [], p = Boolean(d.length || Object.keys(u.allNodes || {}).length) && a.isActive, m = "not-signed-in", y = "not-signed-in"; null != i && i.token && (i.isGuestUser ? ((m = "guest"), (y = "guest")) : ((m = "sign-in"), (y = null != i && i.isPaid ? "paid" : "trial"))), null != o && o.reviewType && (e = "cloudDoc" === o.reviewType ? "Cloud Doc Review" : "Artifact Review"); var b = {}; return ( c && (b.exp = c), f()( {}, v.z2, { content: { category: e, id: null == o ? void 0 : o.id, mimetype: null == o ? void 0 : o.mimeType }, event: { language: s, user_guid: null == i ? void 0 : i.id, value: p ? "global" : "non-global" }, env: { com: { version: g() } }, ui: { sequence: null == o ? void 0 : o.nodeId }, user: { service_code: m, service_level: y }, custom: { error_workflow: String(t.isErrorWorkflow) }, }, b, n ) ); })(); return o().createElement( m.Z, { allowNoToken: !0, apiKey: "CCXComments1", env: window.FORCE_STAGE_INGEST ? "stage" : a.environment, data: s, debounce: a.analyticsDebounce, product: "Comments/".concat(g()), project: v.FH, ref: i, disabled: !a.analyticsEnabled, fireEventCallback: n, }, t ); }; (b.defaultProps = { onIngestEvent: function () {} }), (b.propTypes = { children: i().node, onIngestEvent: i().func }); const E = b; var D = n(88133), C = n(2442), w = n(69088), S = n(87220), A = n.n(S), k = n(30251), _ = n(82950); var T = n(10548), I = n(24124), O = n(19212), F = n(39589), x = n(48468); var N = n(48699), R = n.n(N), L = n(91712), M = !!window.PointerEvent, P = function () { document.body.classList.remove( "ccx-comments-adding-annotation-pin", "ccx-comments-adding-annotation-highlight", "ccx-comments-adding-annotation-insert", "ccx-comments-adding-annotation-replace", "ccx-comments-adding-annotation-strikethrough" ); }; var j = n(91460), B = (0, x.xr)(), Z = (0, j.P1)( [ function (e) { return e["".concat(v.Bq, ":context")]; }, B, function (e, t) { return t; }, function (e, t, n) { return n; }, ], function (e, t, n, r) { var o = { annotatingItmId: e.annotatingItmId, assetId: n, color: e.annotationColor, currentlyPlacing: e.isPlacingAnnotation, imageCoordinatesInfo: e.imageCoordinatesInfo, location: e.annotationLocation, sourceId: r, type: e.newAnnotationType, }, a = t.filter(function (e) { return e.recentActivity === v.Uj || e.recentActivity === v.E3; }); if (a.length) { var i = a[0], s = { id: i.id, type: i.recentActivity }; i.recentActivity === v.E3 && "note" === i.target.selector.subtype && (s.coordinates = { x: i.target.selector.noteX, y: i.target.selector.noteY }), (o.newOrEditedCommentData = s); } return o; } ); function U(e, t) { var n = Object.keys(e); if (Object.getOwnPropertySymbols) { var r = Object.getOwnPropertySymbols(e); t && (r = r.filter(function (t) { return Object.getOwnPropertyDescriptor(e, t).enumerable; })), n.push.apply(n, r); } return n; } function z(e) { for (var t = 1; t < arguments.length; t++) { var n = null != arguments[t] ? arguments[t] : {}; t % 2 ? U(Object(n), !0).forEach(function (t) { V(e, t, n[t]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : U(Object(n)).forEach(function (t) { Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t)); }); } return e; } function V(e, t, n) { return t in e ? Object.defineProperty(e, t, { value: n, enumerable: !0, configurable: !0, writable: !0 }) : (e[t] = n), e; } var H = n(89941), G = n(69522), W = n(90353), Q = n(95545); var J = n(9097); function Y(e, t) { return ( (function (e) { if (Array.isArray(e)) return e; })(e) || (function (e, t) { var n = null == e ? null : ("undefined" != typeof Symbol && e[Symbol.iterator]) || e["@@iterator"]; if (null != n) { var r, o, a = [], i = !0, s = !1; try { for (n = n.call(e); !(i = (r = n.next()).done) && (a.push(r.value), !t || a.length !== t); i = !0); } catch (e) { (s = !0), (o = e); } finally { try { i || null == n.return || n.return(); } finally { if (s) throw o; } } return a; } })(e, t) || (function (e, t) { if (e) { if ("string" == typeof e) return q(e, t); var n = Object.prototype.toString.call(e).slice(8, -1); return "Object" === n && e.constructor && (n = e.constructor.name), "Map" === n || "Set" === n ? Array.from(e) : "Arguments" === n || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n) ? q(e, t) : void 0; } })(e, t) || (function () { throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); })() ); } function q(e, t) { (null == t || t > e.length) && (t = e.length); for (var n = 0, r = new Array(t); n < t; n++) r[n] = e[n]; return r; } var X = n(43793); function K(e, t) { var n = Object.keys(e); if (Object.getOwnPropertySymbols) { var r = Object.getOwnPropertySymbols(e); t && (r = r.filter(function (t) { return Object.getOwnPropertyDescriptor(e, t).enumerable; })), n.push.apply(n, r); } return n; } function $(e) { for (var t = 1; t < arguments.length; t++) { var n = null != arguments[t] ? arguments[t] : {}; t % 2 ? K(Object(n), !0).forEach(function (t) { ee(e, t, n[t]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : K(Object(n)).forEach(function (t) { Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t)); }); } return e; } function ee(e, t, n) { return t in e ? Object.defineProperty(e, t, { value: n, enumerable: !0, configurable: !0, writable: !0 }) : (e[t] = n), e; } function te(e, t, n, r, o, a, i) { try { var s = e[a](i), c = s.value; } catch (e) { return void n(e); } s.done ? t(c) : Promise.resolve(c).then(r, o); } function ne(e) { return function () { var t = this, n = arguments; return new Promise(function (r, o) { var a = e.apply(t, n); function i(e) { te(a, r, o, i, s, "next", e); } function s(e) { te(a, r, o, i, s, "throw", e); } i(void 0); }); }; } function re() { return ( (re = Object.assign ? Object.assign.bind() : function (e) { for (var t = 1; t < arguments.length; t++) { var n = arguments[t]; for (var r in n) Object.prototype.hasOwnProperty.call(n, r) && (e[r] = n[r]); } return e; }), re.apply(this, arguments) ); } var oe = (0, r.forwardRef)(function (e, t) { var n, a, i, p, f, m, y, g, b, E, S, N, j, B, U, V, q = (0, w.I0)(), K = (0, T.Z)(e.onCommentsApiUpdate), ee = (0, r.useContext)(l.ZP), te = (0, H.Z)(), re = (0, _.Z)(e.assetData.id), oe = (0, _.Z)(e.isVisible); (0, r.useEffect)( function () { void 0 !== oe && oe !== e.isVisible && (e.isVisible ? te.fireEvent({ event: { subcategory: "navigation", type: "render", subtype: "panel-visible" } }) : te.fireEvent({ event: { subcategory: "navigation", type: "render", subtype: "panel-hidden" } })); }, [oe, e.isVisible, te] ), (0, r.useEffect)(function () { re && re !== e.assetData.id && q((0, c.mc)()); }), (0, r.useEffect)(function () {}, [e.compactLayout]), (0, I.Mi)(), (p = (i = (0, r.useContext)(l.ZP)).assetData), (f = i.authenticateFetch), (m = i.appKey), (y = i.appName), (g = i.environment), (b = i.imsData), (E = void 0 === b ? {} : b), (S = i.invitationServiceAccessToken), (0, r.useEffect)( function () { O.KU.instance.configure({ appKey: m, appName: y, disableGetAuthorization: !f, environment: g, invitationServiceAccessToken: S, token: E.token, userId: E.id }); }, [p, f, m, y, g, E, S] ), (function (e, t) { var n = (0, r.useContext)(l.ZP), o = n.asset, a = o.addFetchedAsset, i = o.assetId, s = o.fetchedAssets, c = o.setAsset, u = o.sourceId, d = o.status, p = n.assetData, f = void 0 === p ? {} : p, m = n.cacheComments, h = n.documentState, y = n.enableReadUnread, g = n.environment, b = n.hasReviewAccess, E = n.imsData, C = void 0 === E ? {} : E, S = n.invitationServiceAccessToken, k = n.isDocumentSupported, T = n.isOffline, I = n.locale, O = n.multipleAssets, N = (0, r.useContext)(D.ZP), R = N.onCommentsError, L = N.onCommentsSuccess, M = (0, r.useRef)({}), P = (0, r.useRef)(f.id), j = (0, F.Z)(), B = j.clearContext, Z = j.fetchComments, U = j.fetchCommentsMetadata, z = j.updateCommentsData, V = (0, w.v9)(x.s4), H = (0, r.useRef)(V); (P.current = O.selectedId || f.id), (H.current = V); var G = (0, _.Z)(C) || {}, W = (0, _.Z)(O.assetIds), Q = b && "noDocument" !== h && k, J = !((G.isGuestUser && !C.isLoggedIn) || (!G.isLoggedIn && C.isGuestUser)), Y = (0, r.useCallback)( function (e) { return !s .map(function (e) { return e.id; }) .includes(e); }, [s] ), q = (0, r.useCallback)( function (e) { if (Q && !e.isFrameArtifact && J && !M.current[e.id]) { M.current[e.id] = !0; var t = []; y && t.push(U(e)); var n = Z(e) .then(function (t) { H.current.includes(t.id) ? Y(t.id) && a(t) : t.disableUpdates(), t.id === P.current && c(t, { type: v.Ud.FETCHED }, e.id, e.sourceId); }) .catch(function (t) { e.id === P.current && c(void 0, { type: v.Ud.ERROR, statusCode: t.status }, e.id, e.sourceId); }) .finally(function () { return (M.current[e.id] = !1); }); t.push(n), Promise.all(t).catch(function (e) { return console.error("Error while fetching comments or metadata", e); }); } }, [a, Q, y, Z, U, Y, J, c] ), X = (0, r.useCallback)( function (e) { return O.assets.length ? O.assets.find(function (t) { return t.id === e; }) : f; }, [f, O.assets] ); (0, r.useEffect)( function () { y && (s.length ? s.forEach(function (e) { return U(X(e.id)); }) : f.id && U(f)); }, [y] ), (0, r.useEffect)( function () { f.id || (B(), c(void 0, { type: v.Ud.UNFETCHED })); }, [f.id, B, c] ), (0, r.useEffect)( function () { A()(O.assetIds, W) || O.assets.forEach(function (e) { q(e); }); }, [m, Q, y, g, S, I, O, J] ), (0, r.useEffect)( function () { f.id && q(f); }, [f.id, m, Q, y, g, S, I, J] ), (0, r.useEffect)( function () { d.type === v.Ud.FETCHED ? L({ assetId: i, sourceId: u }) : d.type === v.Ud.ERROR && R({ assetId: i, sourceId: u, statusCode: d.statusCode, type: "initialization" }); }, [d] ), (0, r.useEffect)( function () { T || s.forEach(function (e) { return e.checkForUpdates(); }); }, [T] ), (0, r.useEffect)( function () { return ( s.forEach(function (e) { e.on("update", function (t) { return (function (e, t) { var n = X(t); z(e, n), y && U(n); })(t, e.id); }), e.on("update-error", function (t) { return (function (e, t) { var n = (X(t) || {}).sourceId; R({ assetId: t, sourceId: n, statusCode: e.status, type: "update" }); })(t, e.id); }); }), function () { s.forEach(function (e) { e.removeAllListeners("update"), e.removeAllListeners("update-error"); }); } ); }, [y, s, X] ), (0, r.useEffect)( function () { var n = function (t) { s.forEach(function (n) { e(t, n), y && U(X(n.id)); }); }, r = function (e) { s.forEach(function (n) { t(e, n); }); }; return ( window.addEventListener("focus", n), window.addEventListener("blur", r), function () { window.removeEventListener("focus", n), window.removeEventListener("blur", r); } ); }, [t, y, e, U, s, X] ); })(K.enableComments, K.disableComments), (function (e) { var t = (0, r.useContext)(l.ZP), n = t.asset.asset, o = t.assetData, a = t.compactLayout, i = t.imsData, s = t.latestMobileEnabled, c = (0, r.useContext)(D.ZP).onNodeChange, d = (0, F.Z)(), p = d.postComment, f = d.replyComment, m = (0, H.Z)(), h = (0, w.I0)(), y = (0, u.cs)(); (0, r.useEffect)(function () { if (n && i.id) { var t = (0, W.RH)(v.oi); if (t) { var r, s, l = t.bodyValue, u = t.annotationLocation, d = t.annotatingItmId, f = t.id, g = t.nodeId, b = null == t || null === (r = t.annotationLocation) || void 0 === r || null === (s = r.coordinates) || void 0 === s ? void 0 : s.sectionId; o.id === f && ((0, W.F_)(v.oi), a && h((0, k.PM)()), h((0, k.yC)(u.coordinates, u.nodeId)), p(l, g, void 0, { shouldUseAnnotationLocation: "root" === d }) .then(function (t) { i.isGuestUser || e(t.id, !0), y.commentPosted({ withoutAnnotation: !t.annotationType }), c(g, b); }) .catch(function (e) { m.fireEvent(m.events.commentsFailedToPost(e.status, e.message, !1)); })); } } }), (0, r.useEffect)(function () { if (n && i.id) { var t = (0, W.RH)(v.uX); if (t) { var r, l, u = t.bodyValue, d = t.id, p = t.nodeId, y = t.commentData, g = null == y || null === (r = y.target) || void 0 === r || null === (l = r.selector) || void 0 === l ? void 0 : l.sectionId; o.id === d && ((0, W.F_)(v.uX), a && h((0, k.PM)()), f(u, y.id) .then(function (t) { s ? (h((0, G.nx)(o.id, y.id)), h((0, Q.Ef)(t.id))) : i.isGuestUser || e(t.id, !0), c(p, g); }) .catch(function (e) { m.fireEvent(m.events.commentsFailedToPost(e.status, e.message)); })); } } }); })(K.showComment), (0, r.useImperativeHandle)(t, function () { return K; }), (function (e, t, n) { (0, r.useEffect)( function () { !e || t || n.includes("prod") || console.warn("Annotation usage without the annotation toolbar layout has been deprecated and will be removed in a future release. Please migrate by using the annotationTypes prop."); }, [e, t, n] ); })(ee.annotationsEnabled, ee.annotationTypes, ee.environment), (function () { var e = (0, r.useContext)(l.ZP), t = (0, w.I0)(), n = { assetDataId: e.assetData.id, touchControls: e.touchControls, annotationsEnabled: e.annotationsEnabled, environment: e.environment, disableCommentCreation: e.disableCommentCreation, annotationTypes: e.annotationTypes }, o = (0, _.Z)(n); (0, r.useEffect)(function () { A()(n, o) || (0, C.dC)(function () { t((0, k.yC)()), t((0, k.V0)()); }); }); })(), (N = (0, w.oR)().getState()["".concat(v.Bq, ":context")]), (j = N.newAnnotationType), (B = N.isPlacingAnnotation), (U = (0, r.useContext)(l.ZP).annotationOverlayElements), (V = (0, r.useCallback)( R()( function (e) { var t = (0, L.K)(e), n = t.x, r = t.y, o = !1, a = ["addining-annotation-pin", "addining-annotation-highlight", "addining-annotation-insert", "addining-annotation-replace", "addining-annotation-strikethrough"]; (U.length ? U.map(function (e) { return e.shadowRoot.querySelector("#".concat(v.iq)); }) : Array.from(document.querySelectorAll("#".concat(v.iq))) ) .filter(function (e) { return a.some(function (t) { return e.classList.contains(t); }); }) .some(function (e) { var t = e.getRootNode(), a = e.getBoundingClientRect(); if ("pin" === j) { var i = t.elementFromPoint(n, r); o = "CC-COMMENTS-ANNOTATIONS-OVERLAY" === i.tagName ? i.shadowRoot.querySelector(".addining-annotation-pin") === e : i === e; } else n >= a.left && n <= a.left + a.width && r >= a.top && r <= a.top + a.height && (o = !0); return o; }), o ? document.body.classList.add("ccx-comments-adding-annotation-".concat(j)) : P(); }, 10, { leading: !0, maxWait: 30 } ), [j] )), (0, r.useEffect)( function () { return ( B && (M ? window.addEventListener("pointermove", V, !0) : (window.addEventListener("mousemove", V, !0), window.addEventListener("touchmove", V, !0))), function () { M ? window.removeEventListener("pointermove", V, !0) : (window.removeEventListener("mousemove", V, !0), window.removeEventListener("touchmove", V, !0)), P(); } ); }, [B, V] ), (0, r.useEffect)(function () { return function () { P(); }; }, []), (function () { var e = (0, h.Z)(), t = e.comments, n = e.commentCounts, o = (0, r.useContext)(l.ZP), a = (0, w.oR)().getState(), i = a["".concat(v.Bq, ":delta")], s = i.data, c = i.reason, u = a["".concat(v.Bq, ":annotation")].showAnnotations, d = (0, r.useContext)(D.ZP).onCommentsUpdate, p = (0, r.useRef)(n), f = (0, r.useRef)(c), m = o.assetData, y = (0, r.useRef)(null == m ? void 0 : m.id), g = (0, r.useRef)(null == m ? void 0 : m.sourceId), b = (0, _.Z)(m.id); (0, r.useEffect)( function () { (y.current = null == m ? void 0 : m.id), (g.current = null == m ? void 0 : m.sourceId); }, [m] ), (0, r.useEffect)( function () { s && c && d(n, { showAnnotations: u, reason: c, data: z(z({}, s), {}, { visibleComments: t }) }, { assetId: y.current, sourceId: g.current }); }, [s, c] ), (0, r.useEffect)( function () { c && !A()(n, p.current) && c === f.current && d(n, { showAnnotations: u, reason: "counts-change", data: { visibleComments: t } }, { assetId: y.current, sourceId: g.current }), (p.current = z({}, n)), (f.current = c); }, [n, c] ), (0, r.useEffect)( function () { m.id && b && m.id !== b && d(p.current, { showAnnotations: u, reason: c, data: { visibleComments: t } }, { assetId: y.current, sourceId: g.current }); }, [m.id, c] ); })(), (function () { var e = arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : function () {}, t = (0, r.useContext)(l.ZP), n = t.annotationsEnabled, o = t.assetData, a = (0, w.v9)(function (e) { return Z(e, o.id, o.sourceId); }), i = (0, _.Z)(a) || {}; (0, r.useEffect)(function () { if (n && !A()(a, i)) { var t = a.annotatingItmId, r = a.assetId, o = a.color, s = a.currentlyPlacing, c = a.imageCoordinatesInfo, l = a.location, u = a.newOrEditedCommentData, d = a.sourceId, p = a.type, f = i.color, m = i.currentlyPlacing, h = i.location, y = {}; s && !m ? ((y = { color: o, type: p, trigger: "start" }), "root" === t ? (y.action = "new") : ((y.id = t), (y.action = "edit"))) : u && h && (u.type !== v.E3 || A()(u.coordinates, { x: h.coordinates.noteX, y: h.coordinates.noteY })) ? (y = { action: u.type === v.E3 ? "edit" : "new", trigger: "submit" }) : (!s && m && !l) || (!l && h) ? (y = { trigger: "cancel" }) : l && !h ? ((y = { color: o, location: l, trigger: "place", type: p }), c && (y.coordinateData = c)) : !p || (o === f && (("pin" !== p && "draw" !== p) || A()(l, h))) || (y = { color: o, location: l, trigger: "update", type: p }), y.trigger && e(y, { assetId: r, sourceId: d }); } }); })(e.onAnnotatingChange), (function () { var e = (0, r.useContext)(l.ZP), t = e.annotationsMultiPageEnabled, n = e.assetData, o = (0, r.useContext)(D.ZP).onCommentSelect, a = (0, w.I0)(), i = (0, w.v9)(function (e) { return (0, x._X)(e, n.id); }).dirtyComments; (0, r.useEffect)( function () { o(); }, [n.id] ), (0, r.useEffect)( function () { var e; t || (null !== (e = i[n.nodeId]) && void 0 !== e && e.annotationType ? a((0, k.V0)(!1, !1, !1, i[n.nodeId].annotationType)) : a((0, k.By)())), a((0, k.PM)()); }, [t, n.nodeId, i, a] ); })(), (function () { var e = (0, r.useContext)(l.ZP), t = e.assetData, n = e.isVisible, o = e.isOffline, a = e.localCommentMetadataMapRef, i = e.unreadCommentOverrideMapRef, s = (0, J.Z)().setIsRead, c = (0, _.Z)(t.id), u = (0, _.Z)(t.nodeId), d = (0, H.Z)(), p = (0, r.useCallback)( function (e) { return s(a.current, e || t.id).then(function () { a.current = {}; }); }, [t.id, a, s] ), f = (0, r.useCallback)( function () { return !!a.current && Object.keys(a.current).length > 0; }, [a] ); (0, r.useEffect)( function () { n || p(); }, [n, p] ), (0, r.useEffect)( function () { !n && f() && p() .then(function () { d.fireEvent({ event: { subcategory: "read-unread", type: "click", subtype: "mark-as-read-visibility-change" } }); }) .catch(function (e) { var t = e.status, n = e.message; d.fireEvent({ event: { subcategory: "read-unread", subtype: "error", type: "click", error_code: t, error_type: n, error_desc: "failed-to-mark-as-read-on-visibility-change" } }); }); }, [d, n] ), (0, r.useEffect)( function () { !o && f() && p().catch(function (e) { return console.error("Failed to mark comments as read on offline status change", e); }); }, [o] ), (0, r.useEffect)( function () { t.nodeId && void 0 !== u && f() && p() .then(function () { d.fireEvent({ event: { subcategory: "read-unread", type: "click", subtype: "mark-as-read-node-change" } }); }) .catch(function (e) { var t = e.status, n = e.message; d.fireEvent({ event: { subcategory: "read-unread", subtype: "error", type: "click", error_code: t, error_type: n, error_desc: "failed-to-mark-as-read-on-node-change" } }); }); }, [t.nodeId] ), (0, r.useEffect)( function () { t.id && t.id !== c && p(c) .catch(function (e) { return console.error("Failed to mark comments as read on asset id change", e); }) .finally(function () { i.current = {}; }); }, [t.id] ); })(), (function () { var e = Y((0, r.useState)([]), 2), t = e[0], n = e[1], o = Y((0, r.useState)(), 2), a = o[0], i = o[1], s = (0, r.useContext)(l.ZP), c = s.assetData, u = s.enableReadUnread, d = s.asset.fetchedAssets, p = (0, r.useContext)(D.ZP).onMetadataUpdate, f = (0, J.Z)().hasUnreadComments, m = (0, _.Z)(a); (0, r.useEffect)( function () { var e = d.map(function (e) { return e.id; }); A()(t, e) || n(e); }, [t, d] ), (0, r.useEffect)( function () { if (u) { var e = t.some(function (e) { return f(e); }); i(e); } }, [t, u, f] ), (0, r.useEffect)( function () { a !== m && p({ hasUnreadComments: a }, { assetId: c.id, sourceId: c.sourceId }); }, [c.id, c.sourceId, a, p, m] ); })(), (function () { var e = (0, r.useContext)(l.ZP), t = e.abTestConfig, n = e.imsData, o = e.environment, a = e.setSophiaConfigOverride, i = e.appKey, s = e.analyticsEnabled, c = e.locale, u = (n || {}).token, d = void 0 === u ? "" : u, p = (0, r.useCallback)( (function () { var e = ne( regeneratorRuntime.mark(function e(t) { var n, r, a, i, s; return regeneratorRuntime.wrap( function (e) { for (;;) switch ((e.prev = e.next)) { case 0: return ( (n = $($({}, v.SZ), t)), (e.prev = 1), (r = { Authorization: d.replace("Bearer", "").trim(), "x-api-key": n.apiKey }), (a = new AbortController()), (i = setTimeout(function () { return a.abort(); }, 5e3)), (e.next = 7), fetch("".concat(v.SZ.url[o], "?").concat(new URLSearchParams({ clientId: n.clientId })), { headers: r, signal: a.signal }) ); case 7: return (e.next = 9), e.sent.json(); case 9: return (s = e.sent), clearTimeout(i), e.abrupt("return", s); case 14: (e.prev = 14), (e.t0 = e.catch(1)), console.warn("Error in floodgate service:", e.t0); case 17: case "end": return e.stop(); } }, e, null, [[1, 14]] ); }) ); return function (t) { return e.apply(this, arguments); }; })(), [o, d] ), f = (0, r.useCallback)( (function () { var e = ne( regeneratorRuntime.mark(function e(t) { var n, r, o, i, s, c, l, u, d, p, f, m, h, y, g, b, E, D; return regeneratorRuntime.wrap( function (e) { for (;;) switch ((e.prev = e.next)) { case 0: if ((((n = $($({}, v.Hr), t)).contextualParams.ctxLocale = n.locale), (e.prev = 2), !X.J)) { e.next = 25; break; } return ( (i = setTimeout(function () { return new Error("Sophia experience timed out"); }, 2e3)), (e.next = 7), X.J.loadExperienceFromSophia(n) ); case 7: if ( ((s = e.sent), (c = null === (r = s.response) || void 0 === r ? void 0 : r.surfaces[t.surfaceID]), (l = (null === (o = s.response) || void 0 === o ? void 0 : o.analyticsData) || {}), clearTimeout(i), !c) ) { e.next = 25; break; } if (((u = c.containers), (d = c.surfaceAnalyticsData), (p = void 0 === d ? {} : d), !((null == u ? void 0 : u.length) > 0 && u[0].data))) { e.next = 25; break; } return ( (f = u[0]), (m = f.data), (h = f.containerAnalyticsData), (y = void 0 === h ? {} : h), (g = new AbortController()), (b = setTimeout(function () { return g.abort(); }, 5e3)), (e.next = 19), fetch(m, { signal: g.signal }) ); case 19: return (e.next = 21), e.sent.json(); case 21: (E = e.sent), clearTimeout(b), (D = { response_guid: l.responseGUID, surface_id: p.surfaceId, campaign_id: y.campaignId, variation_id: y.variationId, action_block_id: y.actionBlockId, container_id: y.containerId, treatment_id: y.treatmentId, control_group_id: y.controlGroupId, }), a(E, D); case 25: e.next = 30; break; case 27: (e.prev = 27), (e.t0 = e.catch(2)), console.warn("Sophia fetch error", e.t0); case 30: case "end": return e.stop(); } }, e, null, [[2, 27]] ); }) ); return function (t) { return e.apply(this, arguments); }; })(), [a] ); (0, r.useEffect)( function () { t && p({ apiKey: i, clientId: t.floodgateClientId, env: o }) .then(function (e) { if (null != e && e.releases) { var n = null == e ? void 0 : e.releases.find(function (e) { return e.release_name === t.floodgateReleaseGroup; }); (null == n ? void 0 : n.features.includes(t.floodgateReleaseFeature)) && f({ accessToken: d.replace("Bearer", "").trim(), apiKey: i, debug: "prod" !== o, enableAdobeAnalyticsIngestion: s, env: o, locale: c, surfaceID: t.sophiaSurfaceId }); } }) .catch(function (e) { return console.error("Floodgate fetch error", e); }); }, [t, s, i, o, f, p, c, d] ); })(); var ae = o().createElement(o().Fragment, null, o().createElement(u.qu, null), o().createElement(d.yU, null), e.children); return null === (n = ee.imsData) || void 0 === n || !n.token || (null !== (a = ee.imsData) && void 0 !== a && a.token.includes("AnonBearer")) ? o().createElement(s.pm, { reCaptchaKey: ee.reCaptchaSiteKey }, ae) : ae; }); (oe.displayName = "CommentsProvider"), (oe.defaultProps = { abTestConfig: void 0, analyticsData: null, analyticsEnabled: !1, analyticsDebounce: 5e3, annotationsCreationEnabled: !0, annotationsEnabled: !1, annotationsMultiPageEnabled: !1, annotationTypes: null, assetData: { reviewType: "artifact", validNodes: [] }, authenticateFetch: !0, backgroundModeEnabled: !1, cacheComments: !1, cloudDocSupported: !0, creativeOnboarding: !1, compactLayout: !1, disableCommentCreation: !1, disableNetworkIndicator: !1, documentState: "documentOpen", enableEmojiPicker: !0, enableFrameS4R: !1, enableReadUnread: !1, environment: "stage", globalCommentsViewAll: !0, groupBy: "node", guestCommentingAutomationMode: !1, hasReviewAccess: !0, hostOfflineStatus: !1, imageCapture: !1, imageContextData: {}, imsData: {}, isDocumentActive: !0, isDocumentSupported: !0, isMapping: !1, isVisible: !0, locale: "en-US", localeStringOverrides: {}, onAnnotatingChange: function () {}, onCommentInteraction: function () {}, onCommentsError: function () {}, onCommentsSuccess: function () {}, onErrorRetry: function () {}, onInvokeLogin: void 0, onNodeChange: function () {}, onShare: void 0, onUrlOpen: void 0, peopleGraphAPIKey: null, repositionSubmitForTouch: !1, richTextEntry: !0, s4rEnabled: !1, showRefactoredComment: !1, stakeholderOnboarding: !1, spectrumUIScale: "medium", theme: "light", themeType: "spectrum", touchControls: !1, typekitId: "pwg1jsp", }), (oe.propTypes = { abTestConfig: i().shape({ floodgateClientId: i().string, floodgateReleaseGroup: i().string, floodgateReleaseFeature: i().string, sophiaSurfaceId: i().string }), analyticsData: i().object, analyticsDebounce: i().number, analyticsEnabled: i().bool, annotationsCreationEnabled: i().bool, annotationsEnabled: i().bool, annotationsMultiPageEnabled: i().bool, annotationTypes: i().shape({ draw: i().bool, pin: i().bool, text: i().bool }), appKey: i().string.isRequired, assetData: i().shape({ id: i().string, ownerId: i().string, nodeId: i().oneOfType([i().string, i().number]), reviewType: i().oneOf(["artifact", "cloudDoc"]), shareStatus: i().oneOf(["public", "orgShared", "shared", "unshared", "unknown"]), url: i().string, useProductViewUrl: i().bool, validNodes: i().arrayOf(i().shape({ id: i().string, pageTitle: i().string, subtitle: i().string })).isRequired, }), authenticateFetch: i().bool, backgroundModeEnabled: i().bool, cacheComments: i().bool, children: i().node.isRequired, compactLayout: i().bool, disableCommentCreation: i().bool, disableNetworkIndicator: i().bool, documentState: i().oneOf(["documentOpen", "noDocument", "documentLoading"]), enableEmojiPicker: i().bool, enableFrameS4R: i().bool, enableReadUnread: i().bool, environment: i().string, globalCommentsViewAll: i().bool, groupBy: i().oneOf(["node", "none"]), guestCommentingAutomationMode: i().bool, hasReviewAccess: i().bool, imageCapture: i().bool, imageContextData: i().object, imsData: i().object, invitationServiceAccessToken: i().string, cloudDocSupported: i().bool, isDocumentActive: i().bool, isDocumentSupported: i().bool, isMapping: i().bool, isVisible: i().bool, locale: i().string, localeStringOverrides: i().object, onAnnotatingChange: i().func, onCommentInteraction: i().func, onCommentsApiUpdate: i().func, onCommentsError: i().func, onCommentsSuccess: i().func, onErrorRetry: i().func, onInvokeLogin: i().func, onNodeChange: i().func, onShare: i().func, onUrlOpen: i().func, peopleGraphAPIKey: i().string, pollForUpdates: i().bool, repositionSubmitForTouch: i().bool, richTextEntry: i().bool, s4rEnabled: i().bool, showRefactoredComment: i().bool, spectrumUIScale: i().oneOf(["medium", "large"]), theme: i().oneOf(["light", "lightest", "dark", "darkest"]), themeType: i().oneOf(["spectrum", "express"]), touchControls: i().bool, typekitId: i().string, hostOfflineStatus: i().bool, }); const ae = o().forwardRef(function (e, t) { return o().createElement(w.m$, null, o().createElement(l.wI, e, o().createElement(E, { onIngestEvent: e.onIngestEvent }, o().createElement(D.mN, e, o().createElement(oe, re({}, e, { ref: t })))))); }); }, 35752: (e, t, n) => { "use strict"; n.d(t, { M5: () => q, Py: () => X, UP: () => Y, yU: () => $ }); var r = n(23469), o = n.n(r), a = n(23613), i = n.n(a), s = n(48699), c = n.n(s), l = n(22807), u = n.n(l), d = (n(81123), n(90710)), p = n(16404), f = n(47776), m = n.n(f), h = n(57305), v = n.n(h), y = n(87220), g = n.n(y), b = n(9076), E = n(91460), D = n(76951), C = n(53322), w = n(82950), S = n(69088), A = n(23492), k = n(83896), _ = n(89941), T = n(99894), I = ["name", "selector"]; function O() { return ( (O = Object.assign ? Object.assign.bind() : function (e) { for (var t = 1; t < arguments.length; t++) { var n = arguments[t]; for (var r in n) Object.prototype.hasOwnProperty.call(n, r) && (e[r] = n[r]); } return e; }), O.apply(this, arguments) ); } function F(e, t) { (null == t || t > e.length) && (t = e.length); for (var n = 0, r = new Array(t); n < t; n++) r[n] = e[n]; return r; } function x(e, t) { var n = Object.keys(e); if (Object.getOwnPropertySymbols) { var r = Object.getOwnPropertySymbols(e); t && (r = r.filter(function (t) { return Object.getOwnPropertyDescriptor(e, t).enumerable; })), n.push.apply(n, r); } return n; } function N(e) { for (var t = 1; t < arguments.length; t++) { var n = null != arguments[t] ? arguments[t] : {}; t % 2 ? x(Object(n), !0).forEach(function (t) { R(e, t, n[t]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : x(Object(n)).forEach(function (t) { Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t)); }); } return e; } function R(e, t, n) { return t in e ? Object.defineProperty(e, t, { value: n, enumerable: !0, configurable: !0, writable: !0 }) : (e[t] = n), e; } var L = ["multipleConversations", "viewResolvedComments", "hideAnnotations"], M = { nodeHasAnnotation: "hideAnnotations", reviewCreated: "multipleConversations", commentResolved: "viewResolvedComments" }, P = { show: "", shown: [] }, j = { show: "", shown: L }, B = "".concat(T.Bq, "-creative-onboarding"), Z = { multipleConversations: "multiple-conversations", hideAnnotations: "hide-annotation", viewResolvedComments: "filters" }, U = (0, b.qC)( function (e) { return function (t) { return (0, r.useContext)(A.ZP).creativeOnboarding ? o().createElement(e, t) : null; }; }, function (e) { return function (t) { return (0, r.useContext)(A.ZP).imsData.id ? o().createElement(e, t) : null; }; }, function (e) { return function (t) { return (0, r.useContext)(A.ZP).isOffline ? null : o().createElement(e, t); }; } ), z = (0, C.Ry)({ show: (0, C.kE)([].concat(L, [""])), shown: (0, C.IX)((0, C.kE)(L)) }), V = function (e) { return (0, C.is)(e, z); }, H = function () {}, G = function (e) { window.dispatchEvent(new CustomEvent(B, { detail: N({}, e) })); }, W = function (e) { return JSON.parse(window.localStorage.getItem(e)); }, Q = c()(function () { return G({ type: "commentResolved" }); }, 5500), J = (0, E.P1)( function (e, t) { return t && v()(e, "".concat(T.Bq, ":context.creativeOnboarding")); }, function (e) { return (function (e) { if (!e) return new Proxy( {}, { get: function () { return H; }, } ); var t = function (t) { return (n = M[t]), !e.shown.includes(n) || "completeCurrent" === t; var n; }; return { nodeHasAnnotation: t("nodeHasAnnotation") ? function () { return G({ type: "nodeHasAnnotation" }); } : H, reviewCreated: t("reviewCreated") ? function () { return G({ type: "reviewCreated" }); } : H, commentResolved: t("commentResolved") ? Q : H, undoCommentResolved: Q.cancel, completeCurrent: function () { return G({ type: "completeCurrent" }); }, }; })(e); } ), Y = function () { var e = (0, r.useContext)(A.ZP).creativeOnboarding; return (0, S.v9)(function (t) { return J(t, e); }); }, q = function (e, t) { return J(e, t); }, X = U(function (e) { var t = e.name, n = e.selector, a = (function (e, t) { if (null == e) return {}; var n, r, o = (function (e, t) { if (null == e) return {}; var n, r, o = {}, a = Object.keys(e); for (r = 0; r < a.length; r++) (n = a[r]), t.indexOf(n) >= 0 || (o[n] = e[n]); return o; })(e, t); if (Object.getOwnPropertySymbols) { var a = Object.getOwnPropertySymbols(e); for (r = 0; r < a.length; r++) (n = a[r]), t.indexOf(n) >= 0 || (Object.prototype.propertyIsEnumerable.call(e, n) && (o[n] = e[n])); } return o; })(e, I), s = document.querySelector("#".concat(T.zW)), c = document.querySelector(n), l = (0, S.v9)(function (e) { return v()(e, "".concat(T.Bq, ":context.creativeOnboarding")); }), u = Y(), f = (function () { var e = (0, D.Z)().formatMessage; return { multipleConversations: { title: e({ id: "comments.onboarding.coachMark.multipleConversations.title" }), id: "multiple-conversations-coach-mark", children: e({ id: "comments.onboarding.coachMark.multipleConversations.content" }), }, viewResolvedComments: { title: e({ id: "comments.onboarding.coachMark.viewResolvedComments.title" }), id: "view-resolved-comments-coach-mark", children: e({ id: "comments.onboarding.coachMark.viewResolvedComments.content" }), }, hideAnnotations: { title: e({ id: "comments.onboarding.coachMark.hideAnnotations.title" }), id: "hide-annotations-coach-mark", children: e({ id: "comments.onboarding.coachMark.hideAnnotations.content" }) }, }; })()[t], m = (0, D.Z)().formatMessage; if ( ((0, r.useEffect)(function () { var e = function (e) { e.keyCode === T.nx.ESCAPE && u.completeCurrent({ dismissType: "blur" }); }; return ( window.addEventListener("keyup", e), function () { window.removeEventListener("keyup", e); } ); }), !l) ) return null; var h = l.show; return o().createElement( o().Fragment, null, s && c && h === t && i().createPortal( o().createElement( d.default, { disableProgress: !0, onTourEnd: function () { return u.completeCurrent({ dismissType: "blur" }); }, }, o().createElement(p.default, O({ autoFocus: !1 }, f, a, { selector: n, confirmLabel: m({ id: "comments.onboarding.coachMark.confirm" }) })) ), s ) ); }); X.propTypes = { checkCurrentCoachMarkData: m().func, name: m().oneOf(L).isRequired, selector: m().string.isRequired }; var K = function () { var e, t, n, o, a, i = (0, S.I0)(), s = Y(), c = (0, _.Z)(), l = (0, r.useContext)(A.ZP), u = l.imsData.id, d = l.multipleAssets, p = (0, w.Z)(d.assets), f = u && (function (e) { return "".concat(e, "-creative-onboarding"); })(u), m = (0, S.v9)(function (e) { return v()(e, "".concat(T.Bq, ":context.creativeOnboarding")); }), h = (function () { var e; try { e = W(f); } catch (e) { console.error("error checking local storage for onboarding state", e); } return V(e) ? e : null; })(), y = (0, r.useCallback)( function (e) { if (f) { var t = (function (e, t) { switch (t.type) { case "initialize": return P; case "commentResolved": case "nodeHasAnnotation": case "reviewCreated": return (function (e, t) { var n, r = e.show ? e.show : M[t.type]; return { show: r, shown: e.show ? e.shown : [].concat( ((n = e.shown), (function (e) { if (Array.isArray(e)) return F(e); })(n) || (function (e) { if (("undefined" != typeof Symbol && null != e[Symbol.iterator]) || null != e["@@iterator"]) return Array.from(e); })(n) || (function (e, t) { if (e) { if ("string" == typeof e) return F(e, t); var n = Object.prototype.toString.call(e).slice(8, -1); return ( "Object" === n && e.constructor && (n = e.constructor.name), "Map" === n || "Set" === n ? Array.from(e) : "Arguments" === n || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n) ? F(e, t) : void 0 ); } })(n) || (function () { throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); })()), [r] ), }; })(e, t); case "completeCurrent": return N(N({}, e), {}, { show: "" }); case "setState": return N({}, t.value); case "completeOnboarding": return j; default: return console.error("unrecognized action dispatched: ".concat(t.type)), e; } })(h, e); if (V(t)) { (null != h && h.show) || !t.show || c.fireEvent({ event: { subcategory: "in-app-onboarding", subtype: Z[t.show], type: "render" } }), null != h && h.show && "" === t.show && c.fireEvent({ event: { subcategory: "in-app-onboarding", subtype: Z[h.show], type: e.dismissType } }); try { (n = f), (r = t), window.localStorage.setItem(n, JSON.stringify(r)), window.dispatchEvent(new Event("storage")); } catch (e) { console.error("error while updating onboarding state", e); } var n, r; } else console.warn("reducer returned an invalid state ".concat(JSON.stringify(t), " for ").concat(e.type, ", keeping current onboarding state")); } }, [f, h, c] ); (0, r.useEffect)(function () { var e = function (e) { var t = e.detail; y(t); }; return ( window.addEventListener(B, e), function () { return window.removeEventListener(B, e); } ); }), (0, r.useEffect)(function () { var e = function () { try { var e = W(f); if (!e) return void y({ type: "initialize" }); if (!V(e)) return console.warn("local storage returned a corrupt onboarding state ".concat(JSON.stringify(e), ", placing onboarding in a completed state")), void y({ type: "completeOnboarding" }); if (!g()(m, e)) return void i({ type: T.Ze, onboardingState: e }); } catch (e) { console.error("error while handling local storage change", e); } }; return ( window.addEventListener("storage", e), function () { window.removeEventListener("storage", e); } ); }), (0, r.useEffect)( function () { h || y({ type: "initialize" }); }, [h, y] ), (0, r.useEffect)( function () { g()(m, h) || i({ type: T.Ze, onboardingState: h }); }, [m, h, i] ), (0, r.useEffect)(function () { var e; !g()(p, d.assets) && null !== (e = d.assets) && void 0 !== e && e.length && d.assets.length >= ((null == p ? void 0 : p.length) || 0) && s.reviewCreated(); }), (e = (0, r.useContext)(A.ZP).assetData), (t = Y()), (n = (0, r.useRef)(!1)), (o = (0, k.Z)().commentCounts.activeNode), (a = (0, w.Z)(e.nodeId)), (0, r.useEffect)(function () { e.nodeId !== a && (n.current = !1); }), (0, r.useEffect)( function () { o.annotations >= 1 && !n.current && (t.nodeHasAnnotation(), (n.current = !0)); }, [e.nodeId, o.annotations, t] ), (0, r.useEffect)(function () { var e = function (e) { var t = e.detail.value; y({ type: "setState", value: t }); }; return ( window.addEventListener("CREATIVE_ONBOARDING_STATE_OVERRIDE", e), function () { return window.removeEventListener("CREATIVE_ONBOARDING_STATE_OVERRIDE", e); } ); }); }, $ = U(function () { var e = (0, r.useContext)(A.ZP), t = e.spectrumUIScale, n = e.theme; e.themeType, K(); var a = o().createElement(u(), { theme: n, id: T.zW, scale: t }); return i().createPortal(o().createElement("div", { style: { position: "fixed", top: 0, left: 0, zIndex: 3 }, "data-testid": T.zW }, a), document.querySelector("body")); }); }, 99610: (e, t, n) => { "use strict"; n.d(t, { Z: () => f }); var r = n(23469), o = n.n(r), a = n(47776), i = n.n(a); function s(e) { return ( (s = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (e) { return typeof e; } : function (e) { return e && "function" == typeof Symbol && e.constructor === Symbol && e !== Symbol.prototype ? "symbol" : typeof e; }), s(e) ); } function c(e, t) { for (var n = 0; n < t.length; n++) { var r = t[n]; (r.enumerable = r.enumerable || !1), (r.configurable = !0), "value" in r && (r.writable = !0), Object.defineProperty(e, r.key, r); } } function l(e, t) { return ( (l = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function (e, t) { return (e.__proto__ = t), e; }), l(e, t) ); } function u(e) { return ( (u = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function (e) { return e.__proto__ || Object.getPrototypeOf(e); }), u(e) ); } function d(e, t, n) { return t in e ? Object.defineProperty(e, t, { value: n, enumerable: !0, configurable: !0, writable: !0 }) : (e[t] = n), e; } var p = (function (e) { !(function (e, t) { if ("function" != typeof t && null !== t) throw new TypeError("Super expression must either be null or a function"); (e.prototype = Object.create(t && t.prototype, { constructor: { value: e, writable: !0, configurable: !0 } })), Object.defineProperty(e, "prototype", { writable: !1 }), t && l(e, t); })(i, e); var t, n, r, o, a = ((r = i), (o = (function () { if ("undefined" == typeof Reflect || !Reflect.construct) return !1; if (Reflect.construct.sham) return !1; if ("function" == typeof Proxy) return !0; try { return Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})), !0; } catch (e) { return !1; } })()), function () { var e, t = u(r); if (o) { var n = u(this).constructor; e = Reflect.construct(t, arguments, n); } else e = t.apply(this, arguments); return (function (e, t) { if (t && ("object" === s(t) || "function" == typeof t)) return t; if (void 0 !== t) throw new TypeError("Derived constructors may only return object or undefined"); return (function (e) { if (void 0 === e) throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); return e; })(e); })(this, e); }); function i() { return ( (function (e, t) { if (!(e instanceof t)) throw new TypeError("Cannot call a class as a function"); })(this, i), a.apply(this, arguments) ); } return ( (t = i), (n = [ { key: "componentDidCatch", value: function (e) { this.props.onError(e); }, }, { key: "render", value: function () { return this.props.children; }, }, ]) && c(t.prototype, n), Object.defineProperty(t, "prototype", { writable: !1 }), i ); })(o().Component); d(p, "defaultProps", { onError: function () {}, children: void 0 }), d(p, "propTypes", { onError: i().func, children: i().any }); const f = p; }, 93139: (e, t, n) => { "use strict"; n.d(t, { qu: () => be, SF: () => ge, GW: () => me, SN: () => he, cs: () => fe, p1: () => ye }); var r = n(23469), o = n.n(r), a = n(23613), i = n.n(a), s = n(47776), c = n.n(s), l = n(91460), u = n(62500), d = n.n(u), p = n(57305), f = n.n(p), m = n(87220), h = n.n(m), v = n(22207), y = n.n(v), g = n(56155), b = n.n(g), E = n(48699), D = n.n(E), C = n(9076), w = n(22807), S = n.n(w), A = (n(81123), n(16404)), k = n(90710), _ = n(53322), T = n(23492), I = n(76951), O = n(83896), F = n(99894), x = n(69088), N = n(82950), R = n(89941), L = ["name", "selector", "checkCurrentCoachMarkData"]; function M() { return ( (M = Object.assign ? Object.assign.bind() : function (e) { for (var t = 1; t < arguments.length; t++) { var n = arguments[t]; for (var r in n) Object.prototype.hasOwnProperty.call(n, r) && (e[r] = n[r]); } return e; }), M.apply(this, arguments) ); } function P(e) { return ( (function (e) { if (Array.isArray(e)) return B(e); })(e) || (function (e) { if (("undefined" != typeof Symbol && null != e[Symbol.iterator]) || null != e["@@iterator"]) return Array.from(e); })(e) || j(e) || (function () { throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); })() ); } function j(e, t) { if (e) { if ("string" == typeof e) return B(e, t); var n = Object.prototype.toString.call(e).slice(8, -1); return "Object" === n && e.constructor && (n = e.constructor.name), "Map" === n || "Set" === n ? Array.from(e) : "Arguments" === n || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n) ? B(e, t) : void 0; } } function B(e, t) { (null == t || t > e.length) && (t = e.length); for (var n = 0, r = new Array(t); n < t; n++) r[n] = e[n]; return r; } function Z(e, t) { var n = Object.keys(e); if (Object.getOwnPropertySymbols) { var r = Object.getOwnPropertySymbols(e); t && (r = r.filter(function (t) { return Object.getOwnPropertyDescriptor(e, t).enumerable; })), n.push.apply(n, r); } return n; } function U(e) { for (var t = 1; t < arguments.length; t++) { var n = null != arguments[t] ? arguments[t] : {}; t % 2 ? Z(Object(n), !0).forEach(function (t) { z(e, t, n[t]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : Z(Object(n)).forEach(function (t) { Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t)); }); } return e; } function z(e, t, n) { return t in e ? Object.defineProperty(e, t, { value: n, enumerable: !0, configurable: !0, writable: !0 }) : (e[t] = n), e; } var V, H, G = new URL( "data:image/svg+xml;base64,".concat( btoa( '' ) ) ).href, W = (0, C.qC)( function (e) { return function (t) { return (0, r.useContext)(T.ZP).stakeholderOnboarding ? o().createElement(e, t) : null; }; }, function (e) { return function (t) { return (0, r.useContext)(T.ZP).isOffline ? null : o().createElement(e, t); }; }, function (e) { return function (t) { return (0, r.useContext)(T.ZP).compactLayout ? null : o().createElement(e, t); }; } ), Q = "".concat(F.Bq, "-onboarding"), J = ["addComment", "addAnnotation", "resolveComment", "viewResolvedComments", "hideAnnotations"], Y = { addComment: ["documentFirstLoad"], addAnnotation: ["comment.posted", "comment.withoutAnnotation"], resolveComment: [], viewResolvedComments: [], hideAnnotations: [] }, q = { documentLoad: "addComment", commentPosted: "addAnnotation", expandedRepliesToOwnComment: "resolveComment", commentResolved: "viewResolvedComments", loadedMultiAnnotationNode: "hideAnnotations" }, X = ["completeCurrentCoachMark"], K = ["expandedRepliesToOwnComment", "loadedMultiAnnotationNode", "resume"], $ = { addComment: "add-comment", addAnnotation: "use-annotation", resolveComment: "resolve", viewResolvedComments: "filters", hideAnnotations: "hide-annotation" }, ee = { conditions: { documentFirstLoad: !1, comment: { posted: !1, withoutAnnotation: !1 } }, currentCoachMarkData: {}, coachMarks: { show: "", shown: [] }, lastEvent: "" }, te = ((V = b()(ee.conditions)), (H = []), Object.values(Y).forEach(function (e) { return e.forEach(function (e) { return H.push(e); }); }), H.forEach(function (e) { return y()(V, e, function () { return !0; }); }), U(U({}, ee), {}, { conditions: V, coachMarks: { show: "", shown: J }, lastEvent: "" })), ne = (0, _.Ry)({ conditions: (0, _.Ry)({ documentFirstLoad: (0, _.O7)(), comment: (0, _.Ry)({ posted: (0, _.O7)(), withoutAnnotation: (0, _.O7)() }) }), currentCoachMarkData: (0, _.Ry)(), coachMarks: (0, _.Ry)({ show: (0, _.kE)([].concat(J, [""])), shown: (0, _.IX)((0, _.kE)(J)) }), lastEvent: (0, _.Z_)(), }), re = function (e) { return (0, _.is)(e, ne); }, oe = function () {}, ae = function (e) { window.dispatchEvent(new CustomEvent(Q, { detail: U({}, e) })); }, ie = function (e, t) { window.localStorage.setItem(e, JSON.stringify(t)), window.dispatchEvent(new Event("storage")); }, se = function (e) { return JSON.parse(window.localStorage.getItem(e)); }, ce = function () { return JSON.parse(window.sessionStorage.getItem("stakeholder-onboarding")); }, le = function (e, t, n, r) { var o, a, i = e.shown, s = e.show, c = P(i), l = ((a = q[r]), s && X.includes(r) ? "" : s || !a || i.includes(a) || null === (o = Y[a]) || void 0 === o || !o.every(function (e) { return !0 === f()(t, e); }) || (X.includes(n) && !K.includes(r)) ? s : (c.push(a), a)); return U(U({}, e), {}, { shown: Array.from(new Set(c)), show: l }); }, ue = D()(function () { return ae({ type: "commentResolved" }); }, 5500), de = D()(function () { return ae({ type: "loadedMultiAnnotationNode" }); }, 1e3), pe = (0, l.P1)( function (e) { return f()(e, "".concat(F.Bq, ":context.stakeholderOnboarding")); }, function (e) { return (function (e) { if (!e) return new Proxy( {}, { get: function () { return oe; }, } ); var t = function (t) { return (n = q[t]), !e.coachMarks.shown.includes(n) || (e.coachMarks.show && X.includes(t)); var n; }; return { documentLoad: t("documentLoad") ? function () { return ae({ type: "documentLoad" }); } : oe, commentPosted: t("commentPosted") ? function (e) { return ae(U({ type: "commentPosted" }, e)); } : oe, completeCurrentOrResumeCoachMarks: t("completeCurrentOrResumeCoachMarks") ? function (e) { return ae(U({ type: "completeCurrentOrResumeCoachMarks" }, e)); } : oe, expandedRepliesToOwnComment: "resolveComment" === e.coachMarks.show || t("expandedRepliesToOwnComment") ? function (e) { de.cancel(), ae(U({ type: "expandedRepliesToOwnComment" }, e)); } : oe, commentResolved: t("commentResolved") ? function () { return ue(); } : oe, undoCommentResolved: ue.cancel, loadedMultiAnnotationNode: t("loadedMultiAnnotationNode") ? de : oe, resume: function () { return ae({ type: "resume" }); }, }; })(e); } ), fe = function () { return (0, x.v9)(pe); }, me = pe, he = function (e) { return e && "#".concat(d()(e), " .resolve-button"); }, ve = function (e) { var t, n, o = ((t = (0, r.useState)(!1)), (n = 2), (function (e) { if (Array.isArray(e)) return e; })(t) || (function (e, t) { var n = null == e ? null : ("undefined" != typeof Symbol && e[Symbol.iterator]) || e["@@iterator"]; if (null != n) { var r, o, a = [], i = !0, s = !1; try { for (n = n.call(e); !(i = (r = n.next()).done) && (a.push(r.value), !t || a.length !== t); i = !0); } catch (e) { (s = !0), (o = e); } finally { try { i || null == n.return || n.return(); } finally { if (s) throw o; } } return a; } })(t, n) || j(t, n) || (function () { throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); })()), a = o[0], i = o[1]; return ( (0, r.useEffect)(function () { var t; return ( e && (t = new IntersectionObserver( function (e) { i(e[0].isIntersecting); }, { threshold: 1, root: document.querySelector("#".concat(F.Ls)), rootMargin: "-55px 0px -50% 0px" } )).observe(e), function () { var n; return null === (n = t) || void 0 === n ? void 0 : n.unobserve(e); } ); }), a ); }, ye = function () { var e = fe(), t = (0, x.v9)(function (e) { return f()(e, "".concat(F.Bq, ":context")); }).stakeholderOnboarding, n = ve(document.querySelector(he("resolveComment" === (null == t ? void 0 : t.coachMarks.show) && t.currentCoachMarkData.commentId))) && "resolveComment" === (null == t ? void 0 : t.coachMarks.show); return [ n, n ? function (t) { return t.deltaY > 4 && e.completeCurrentOrResumeCoachMarks({ dismissType: "blur" }); } : function () {}, ]; }, ge = W(function (e) { var t = e.name, n = e.selector, a = e.checkCurrentCoachMarkData, s = (function (e, t) { if (null == e) return {}; var n, r, o = (function (e, t) { if (null == e) return {}; var n, r, o = {}, a = Object.keys(e); for (r = 0; r < a.length; r++) (n = a[r]), t.indexOf(n) >= 0 || (o[n] = e[n]); return o; })(e, t); if (Object.getOwnPropertySymbols) { var a = Object.getOwnPropertySymbols(e); for (r = 0; r < a.length; r++) (n = a[r]), t.indexOf(n) >= 0 || (Object.prototype.propertyIsEnumerable.call(e, n) && (o[n] = e[n])); } return o; })(e, L), c = document.querySelector("#".concat(F.Hp)), l = document.querySelector(n), u = (0, x.v9)(function (e) { return f()(e, "".concat(F.Bq, ":context")); }).stakeholderOnboarding, d = fe(), p = (function () { var e = (0, I.Z)().formatMessage; return { addComment: { title: e({ id: "comments.onboarding.coachMark.addComment.title" }), id: "add-comment-coach-mark", children: e({ id: "comments.onboarding.coachMark.addComment.content" }) }, addAnnotation: { title: e({ id: "comments.onboarding.coachMark.addAnnotation.title" }), id: "add-annotation-coach-mark", image: G, children: e({ id: "comments.onboarding.coachMark.addAnnotation.content" }) }, resolveComment: { title: e({ id: "comments.onboarding.coachMark.resolveComment.title" }), id: "resolve-comment-coach-mark", children: e({ id: "comments.onboarding.coachMark.resolveComment.content" }) }, viewResolvedComments: { title: e({ id: "comments.onboarding.coachMark.viewResolvedComments.title" }), id: "view-resolved-comments-coach-mark", children: e({ id: "comments.onboarding.coachMark.viewResolvedComments.content" }), }, hideAnnotations: { title: e({ id: "comments.onboarding.coachMark.hideAnnotations.title" }), id: "hide-annotations-coach-mark", children: e({ id: "comments.onboarding.coachMark.hideAnnotations.content" }) }, }; })()[t], m = (0, I.Z)().formatMessage, h = ve("resolveComment" === (null == u ? void 0 : u.coachMarks.show) && l); if ( ((0, r.useEffect)(function () { var e = function (e) { e.keyCode === F.nx.ESCAPE && d.completeCurrentOrResumeCoachMarks({ dismissType: "keydown" }); }; return ( window.addEventListener("keyup", e), function () { window.removeEventListener("keyup", e); } ); }), !u) ) return null; var v = u.coachMarks.show, y = u.currentCoachMarkData; return o().createElement( o().Fragment, null, c && l && v === t && (!a || a(y)) && ("resolveComment" !== v || h) && i().createPortal( o().createElement( k.default, { disableProgress: !0, onTourEnd: function () { return d.completeCurrentOrResumeCoachMarks({ dismissType: "click" }); }, }, o().createElement(A.default, M({ autoFocus: !1 }, p, s, { selector: n, confirmLabel: m({ id: "comments.onboarding.coachMark.confirm" }) })) ), c ) ); }); ge.propTypes = { checkCurrentCoachMarkData: c().func, name: c().oneOf(J).isRequired, selector: c().string.isRequired }; var be = W(function () { var e, t, n, a, s, c, l, u, d, p, m, v, g, E, D = (0, r.useContext)(T.ZP), C = D.spectrumUIScale, w = D.theme; D.themeType, (e = (0, r.useContext)(T.ZP)), (t = e.imsData.id), (n = e.assetData), (a = e.documentState), (s = (0, x.I0)()), (c = (0, x.v9)(function (e) { return f()(e, "".concat(F.Bq, ":context")); }).stakeholderOnboarding), (l = (0, R.Z)()), (u = (0, x.v9)(function (e) { return f()(e, "".concat(F.Bq, ":delta")); })), (d = u.data), (p = u.reason), (m = fe()), (v = t && (function (e) { return "".concat(e, "-stakeholder-onboarding"); })(t)), (g = (function () { var e; try { e = v ? se(v) : ce(); } catch (e) { console.error("error checking local storage for onboarding state", e); } return re(e) ? e : null; })()), (E = (0, r.useCallback)( function (e) { var t, n, r = (function (e, t) { switch (t.type) { case "initialize": return ee; case "documentLoad": var n = U(U({}, e.conditions), {}, { documentFirstLoad: !0 }), r = le(e.coachMarks, n, e.lastEvent, t.type); return U(U({}, e), {}, { conditions: n, coachMarks: r, lastEvent: t.type }); case "commentPosted": if (!0 === e.conditions.comment.posted && !1 === e.conditions.comment.withoutAnnotation) return U(U({}, e), {}, { lastEvent: "commentPosted" }); var o = U(U({}, e.conditions), {}, { comment: U(U({}, e.conditions.comment), {}, { posted: !0, withoutAnnotation: !!t.withoutAnnotation }) }), a = le(e.coachMarks, o, e.lastEvent, t.type); return U(U({}, e), {}, { conditions: o, coachMarks: a, lastEvent: t.type }); case "expandedRepliesToOwnComment": return U(U({}, e), {}, { currentCoachMarkData: { commentId: t.commentId }, coachMarks: le(e.coachMarks, e.conditions, e.lastEvent, t.type), lastEvent: t.type }); case "commentResolved": case "loadedMultiAnnotationNode": return U(U({}, e), {}, { coachMarks: le(e.coachMarks, e.conditions, e.lastEvent, t.type), lastEvent: t.type }); case "setState": return U(U({}, t.value), {}, { lastEvent: t.type }); case "resume": return U(U({}, e), {}, { lastEvent: t.type }); case "completeOnboarding": return te; case "completeCurrentOrResumeCoachMarks": var i = e.coachMarks.show; return U( U({}, e), {}, { currentCoachMarkData: i ? {} : e.currentCoachMarkData, coachMarks: le(e.coachMarks, e.conditions, e.lastEvent, i ? "completeCurrentCoachMark" : "resume"), lastEvent: e.coachMarks.show ? "completeCurrentCoachMark" : "resume", } ); default: return console.error("unrecognized action dispatched: ".concat(t.type)), e; } })(g, e); if ( (null != g && null !== (t = g.coachMarks) && void 0 !== t && t.show && "" === r.coachMarks.show && e.dismissType && l.fireEvent({ event: { subcategory: "stakeholder-onboarding", subtype: $[g.coachMarks.show], type: e.dismissType } }), re(r)) ) try { var o; v ? ie(v, r) : ((n = r), window.sessionStorage.setItem("stakeholder-onboarding", JSON.stringify(n)), window.dispatchEvent(new Event("storage"))), "" === (null == g || null === (o = g.coachMarks) || void 0 === o ? void 0 : o.show) && r.coachMarks.show && $[r.coachMarks.show] && l.fireEvent({ event: { subcategory: "stakeholder-onboarding", subtype: $[r.coachMarks.show], type: "render" } }); } catch (e) { console.error("error while updating onboarding state", e); } else console.warn("reducer returned an invalid state ".concat(JSON.stringify(r), " for ").concat(e.type, ", keeping current onboarding state")); }, [l, v, g] )), (0, r.useEffect)(function () { try { var e = ce(), t = v && se(v); if (t && e && !h()(e, t)) { var n = ((r = t), (o = e), (a = b()(r)), y()(a, "coachMarks.shown", function (e) { return Array.from(new Set([].concat(P(e), P(o.coachMarks.shown)))); }), a.coachMarks.shown.forEach(function (e) { Y[e].forEach(function (e) { return y()(a, "conditions.".concat(e), function () { return !0; }); }); }), y()(a, "coachMarks.show", function () { var e = r.coachMarks.show, t = o.coachMarks.show; return e && t ? ("addComment" === e && "addComment" !== t ? t : e) : e && !o.coachMarks.shown.includes(e) ? e : t && !r.coachMarks.shown.includes(t) ? t : e; }), a); if (!h()(t, n)) { if (re(n)) return void ie(v, n); console.warn("withSessionOnboardingState returned an invalid state", n); } } } catch (e) { console.error("error merging user onboarding state with session onboarding state", e); } var r, o, a; }), (0, r.useEffect)(function () { var e = function (e) { var t = e.detail; E(t); }; return ( window.addEventListener(Q, e), function () { return window.removeEventListener(Q, e); } ); }), (0, r.useEffect)(function () { var e = function () { try { var e = v ? se(v) : ce(); if (!e) return void E({ type: "initialize" }); if (!re(e)) return console.warn("local storage returned a corrupt onboarding state ".concat(JSON.stringify(e), ", placing onboarding in a completed state")), void E({ type: "completeOnboarding" }); if (!h()(c, e)) return void s({ type: F.jL, onboardingState: e }); } catch (e) { console.error("error while handling local storage change", e); } }; return ( window.addEventListener("storage", e), function () { window.removeEventListener("storage", e); } ); }), (0, r.useEffect)( function () { g || E({ type: "initialize" }); }, [g, E] ), (0, r.useEffect)( function () { h()(c, g) || s({ type: F.jL, onboardingState: g }); }, [c, g, s] ), (0, r.useEffect)( function () { null != n && n.id && "documentOpen" === a && setTimeout(function () { return m.documentLoad(); }, 0); }, [n, a, m] ), (0, r.useEffect)( function () { if (d && "update" === p) { var e = d.new.find(function (e) { return e.creator.id === t; }); e && setTimeout(function () { return m.commentPosted({ withoutAnnotation: !e.annotationType }); }, 2e3); } }, [d, p, m] ), (function () { var e = (0, r.useContext)(T.ZP).assetData, t = fe(), n = (0, N.Z)(e.nodeId); (0, r.useEffect)( function () { e.nodeId !== n && t.resume(); }, [t, e.nodeId, n] ); })(), (function () { var e = (0, r.useContext)(T.ZP).assetData, t = fe(), n = (0, r.useRef)(!1), o = (0, O.Z)().commentCounts.activeNode, a = (0, N.Z)(e.nodeId); (0, r.useEffect)(function () { e.nodeId !== a && (n.current = !1); }), (0, r.useEffect)( function () { o.annotations >= 2 && !n.current && (t.loadedMultiAnnotationNode(), (n.current = !0)); }, [e.nodeId, o.annotations, t] ); })(), (0, r.useEffect)(function () { var e = function (e) { var t = e.detail.value; E({ type: "setState", value: t }); }; return ( window.addEventListener("ONBOARDING_STATE_OVERRIDE", e), function () { return window.removeEventListener("ONBOARDING_STATE_OVERRIDE", e); } ); }); var A = o().createElement(S(), { theme: w, id: F.Hp, scale: C }); return i().createPortal(o().createElement("div", { style: { position: "fixed", top: 0, left: 0, zIndex: 3 }, "data-testid": F.Hp }, A), document.querySelector("body")); }); }, 99894: (e, t, n) => { "use strict"; n.d(t, { cD: () => ye, TV: () => ke, uu: () => Ve, iq: () => Se, Mu: () => Ae, Md: () => U, KT: () => Z, Pj: () => V, UT: () => H, vm: () => z, Ud: () => et, oM: () => Qe, Zw: () => We, Ar: () => ae, Oz: () => ue, ii: () => s, vl: () => c, Z5: () => l, dh: () => u, b$: () => ie, Al: () => se, Ov: () => ce, k9: () => le, xH: () => de, eE: () => pe, lP: () => h, sf: () => G, Tf: () => fe, W$: () => v, fk: () => y, hY: () => E, aV: () => g, Mw: () => b, GB: () => w, oi: () => Ne, bG: () => Ye, Ry: () => Je, k8: () => S, lD: () => me, LG: () => _, oA: () => Y, kt: () => I, Ys: () => T, yU: () => L, QR: () => O, GY: () => F, x7: () => x, pO: () => M, Ze: () => k, FN: () => j, Xb: () => R, WD: () => J, $o: () => P, Gp: () => N, jL: () => A, zW: () => ze, MF: () => we, rA: () => Q, Vg: () => Ze, FT: () => d, cT: () => p, ML: () => f, LW: () => m, SZ: () => ot, WJ: () => _e, Rb: () => Be, Kx: () => at, JO: () => Ge, z2: () => De, FH: () => Ee, Uj: () => Le, E3: () => Me, nx: () => Ce, Ls: () => Te, lz: () => je, UU: () => Fe, xA: () => xe, N2: () => K, do: () => $, nd: () => oe, zF: () => ee, JV: () => te, wV: () => ne, nU: () => re, p8: () => tt, GF: () => nt, Kz: () => He, fj: () => he, Bq: () => a, o_: () => $e, _F: () => Ke, bT: () => qe, Kj: () => Xe, uX: () => Re, AC: () => B, dS: () => W, YE: () => q, Wm: () => X, Hr: () => rt, Hp: () => Ue, VY: () => Ie, Lg: () => Oe, jc: () => D, PI: () => C, Qy: () => Pe, T3: () => ve, Lx: () => ge, Fi: () => be, }); var r, o = function (e, t) { return "".concat(e.toUpperCase(), "_").concat(t.toUpperCase()); }, a = "CCX-COMMENTS", i = ((r = a), function (e) { return { START: o(r, "".concat(e, "_BEGIN")), END: o(r, "".concat(e, "_END")), ERROR: o(r, "".concat(e, "_ERROR")), SUCCESS: o(r, "".concat(e, "_SUCCESS")) }; }), s = "".concat(a, ".COMMENTS_CANCEL_FOR_DELETE"), c = "".concat(a, ".COMMENTS_CLEAR"), l = "".concat(a, ".COMMENTS_CLEAR_ERROR"), u = "".concat(a, ".COMMENTS_CLEAR_LAST_RESOLVED"), d = "".concat(a, ".FILTER_CLEAR"), p = "".concat(a, ".FILTER_READ"), f = "".concat(a, ".FILTER_TIME"), m = ("".concat(a, ".COMMENTS_FILTER_TOGGLE"), "".concat(a, ".FILTER_USERS")), h = "".concat(a, ".COMMENTS_PROPOSE_FOR_DELETE"), v = "".concat(a, ".COMMENTS_SET_DIRTY_COMMENT_FOR_ARTBOARD"), y = "".concat(a, ".COMMENTS_SET_DRAFT_REPLY"), g = "".concat(a, ".COMMENTS_SET_SHOW_ANNOTATIONS"), b = "".concat(a, ".COMMENTS_SET_SHOW_DRAFT_ANNOTATIONS"), E = "".concat(a, ".COMMENTS_SET_RECENT_ACTIVITY"), D = "".concat(a, ".TOGGLE_RESOLVED"), C = "".concat(a, ".TOGGLE_UNREAD"), w = "".concat(a, ".COMMENTS_TOGGLE_REPLY"), S = "".concat(a, ".CONTEXT_CLEAR"), A = "".concat(a, ".CONTEXT_SET_STAKEHOLDER_ONBOARDING"), k = "".concat(a, ".CONTEXT_SET_CREATIVE_ONBOARDING"), _ = "".concat(a, ".CONTEXT_REGISTER_SECTION_ID"), T = "".concat(a, ".CONTEXT_SAVE_ANNOTATION_LOCATION"), I = "".concat(a, ".CONTEXT_SAVE_ANNOTATION_COLOR"), O = "".concat(a, ".CONTEXT_SAVE_FRAME_DATA"), F = "".concat(a, ".CONTEXT_SAVE_IMAGE_COORDINATES_INFO"), x = "".concat(a, ".CONTEXT_SET_ANNOTATION_MODE"), N = "".concat(a, ".CONTEXT_SET_SHOW_COMMENT_ID"), R = "".concat(a, ".CONTEXT_SET_GUEST_USER_LOGIN_TOAST_INFO"), L = "".concat(a, ".CONTEXT_SAVE_FOCUSED_INPUT_INFO"), M = "".concat(a, ".CONTEXT_SET_COMMENTS_LIST_MINIMIZED"), P = "".concat(a, ".CONTEXT_SET_LOGIN_VISIBILITY"), j = "".concat(a, ".CONTEXT_SET_EMOJIPICKER_INFO"), B = "".concat(a, ".SET_ANNOTATING_COMMENT_ID"), Z = "".concat(a, ".ANNOTATION_SET_HOVERED_ANNOTATION"), U = "".concat(a, ".ANNOTATION_SET_DRAWING_NODE"), z = "".concat(a, ".ANNOTATION_SET_TOUCH_PRESSED"), V = "".concat(a, ".ANNOTATION_SET_SELECTED_ANNOTATION_ID"), H = "".concat(a, ".ANNOTATION_SET_SELECTED_REPLY_ID"), G = "".concat(a, ".COMMENTS_REMAP_COMMENT_NODES"), W = "".concat(a, ".SET_AUTO_SCROLL"), Q = "".concat(a, ".DELTA_UPDATE"), J = "".concat(a, ".CONTEXT_SET_GUEST_USER_SESSION_STATE"), Y = "".concat(a, ".CONTEXT_RESET_GUEST_USER_SESSION"), q = "".concat(a, ".SET_MOBILE_EDITING_COMMENT"), X = "".concat(a, ".SET_PARENT_COMMENT_ID"), K = "".concat(a, ".MOBILE_POP_SUBVIEW"), $ = "".concat(a, ".MOBILE_PUSH_SUBVIEW"), ee = "".concat(a, ".MOBILE_SET_EXPANDED"), te = "".concat(a, ".MOBILE_SET_FULLSCREEN"), ne = "".concat(a, ".MOBILE_SET_INPUT_FOCUSED"), re = "".concat(a, ".MOBILE_SET_MENTION_LIST_SHOWN"), oe = "".concat(a, ".MOBILE_RESET"), ae = i("COMMENTS_BATCH_REMAP"), ie = i("COMMENTS_DELETE"), se = i("COMMENTS_EDIT"), ce = i("COMMENTS_GET"), le = i("COMMENTS_GET_METADATA"), ue = i("COMMENTS_BATCH_UPDATE_METADATA"), de = i("COMMENTS_OPEN"), pe = i("COMMENTS_POST"), fe = i("COMMENTS_RESOLVE"), me = i("CONTEXT_CREATE_GUEST_USER_SESSION"), he = (i("FETCH_COLLABORATORS"), i("POST_REPLY")), ve = i("UPDATE_ANNOTATION"), ye = ["insert", "replace"], ge = "urn:uuid:", be = "Bearer", Ee = "comment-service", De = { event: { category: "WEB", offline: !1 }, env: { com: { name: "Commenting Service UI" } } }, Ce = { DOWN: 40, ENTER: 13, ESCAPE: 27, SPACE: 32, TAB: 9, UP: 38 }, we = 65, Se = "ccx-annotations-overlay", Ae = "ccx-annotations-mask", ke = "ccx-annotation", _e = "ccx-comments-full", Te = "ccx-comments-list", Ie = "ccx-comments-submit", Oe = 5e3, Fe = ["", ".", "?", ",", "!", ":", ";", "'"], xe = /(?!\b)@(?:[^\s]|$)/g, Ne = "ccx-comment-before-signin", Re = "ccx-reply-before-signin", Le = "justAdded", Me = "justEdited", Pe = "_UNMAPPED", je = "_MAPPED", Be = 50, Ze = /(?!\b):([\w+-]+)(:)?/g, Ue = "".concat(a, "-stakeholder-onboarding-container"), ze = "".concat(a, "-creative-onboarding-container"), Ve = [ { hex: "#d7373f", name: "red" }, { hex: "#ec2900", name: "orange" }, { hex: "#ffca00", name: "yellow" }, { hex: "#008f00", name: "green" }, { hex: "#16878c", name: "deepCyan" }, { hex: "#0072e6", name: "blue" }, { hex: "#004ad7", name: "navyBlue" }, { hex: "#5e1ff5", name: "purple" }, { hex: "#f89191", name: "lightRed" }, { hex: "#ffcec1", name: "lightOrange" }, { hex: "#fff3b6", name: "lightYellow" }, { hex: "#b9e3c3", name: "lightGreen" }, { hex: "#b8dbdd", name: "lightDeepCyan" }, { hex: "#bedff9", name: "lightBlue" }, { hex: "#bad3f6", name: "lightNavyBlue" }, { hex: "#d8c2ff", name: "lightPurple" }, ], He = [ { hex: "#d7373f", name: "red" }, { hex: "#ffca00", name: "yellow" }, { hex: "#008f00", name: "green" }, { hex: "#16878c", name: "deepCyan" }, { hex: "#5e1ff5", name: "purple" }, { hex: "#2c2c2c", name: "black" }, ], Ge = 3, We = "https://ab-stg.adobe-identity.com/api/avatars/50/", Qe = "https://ab.adobe-identity.com/api/avatars/50/", Je = 2500, Ye = 1500, qe = "6LcME7UaAAAAAHvpjlInX9X_irOTjUhpcar8mhdc", Xe = "6LcVEbUaAAAAAOQymzp_s3QKfipeej1slSsMVzBl", Ke = "6LetpKscAAAAACLUgD3IJZwobEoGV2BsKqdtzPrW", $e = "bba5e3c2-cb93-4bee-8f73-5283a054c2cd", et = { ERROR: "error", FETCHED: "fetched", UNFETCHED: "unfetched" }, tt = { FILTER: "filter", REPLY: "reply", COMMENT: "comment", EDIT: "edit" }, nt = "".concat(a, ".MULTIPLE_ASSET_LS_KEY-"), rt = { contextualParams: { ctxLocale: void 0 }, nonGuidEnabled: !0, useExperienceFragment: !1 }, ot = { url: { prod: "https://p13n.adobe.io/fg/api/v3/feature", stage: "https://p13n-mr-stage.adobe.io/fg/api/v3/feature" } }, at = "https://comments.acrobat.com/auth_providers/guest"; }, 23492: (e, t, n) => { "use strict"; n.d(t, { wI: () => pe, ZP: () => fe, HJ: () => de }); var r = n(23469), o = n.n(r), a = n(47776), i = n.n(a), s = n(87220), c = n.n(s), l = n(19212), u = n(67733), d = n(99894), p = n(15686), f = n(69088), m = n(30251), h = n(90353); function v(e, t) { return ( (function (e) { if (Array.isArray(e)) return e; })(e) || (function (e, t) { var n = null == e ? null : ("undefined" != typeof Symbol && e[Symbol.iterator]) || e["@@iterator"]; if (null != n) { var r, o, a = [], i = !0, s = !1; try { for (n = n.call(e); !(i = (r = n.next()).done) && (a.push(r.value), !t || a.length !== t); i = !0); } catch (e) { (s = !0), (o = e); } finally { try { i || null == n.return || n.return(); } finally { if (s) throw o; } } return a; } })(e, t) || (function (e, t) { if (e) { if ("string" == typeof e) return y(e, t); var n = Object.prototype.toString.call(e).slice(8, -1); return "Object" === n && e.constructor && (n = e.constructor.name), "Map" === n || "Set" === n ? Array.from(e) : "Arguments" === n || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n) ? y(e, t) : void 0; } })(e, t) || (function () { throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); })() ); } function y(e, t) { (null == t || t > e.length) && (t = e.length); for (var n = 0, r = new Array(t); n < t; n++) r[n] = e[n]; return r; } function g(e, t) { var n = Object.keys(e); if (Object.getOwnPropertySymbols) { var r = Object.getOwnPropertySymbols(e); t && (r = r.filter(function (t) { return Object.getOwnPropertyDescriptor(e, t).enumerable; })), n.push.apply(n, r); } return n; } function b(e) { for (var t = 1; t < arguments.length; t++) { var n = null != arguments[t] ? arguments[t] : {}; t % 2 ? g(Object(n), !0).forEach(function (t) { E(e, t, n[t]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : g(Object(n)).forEach(function (t) { Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t)); }); } return e; } function E(e, t, n) { return t in e ? Object.defineProperty(e, t, { value: n, enumerable: !0, configurable: !0, writable: !0 }) : (e[t] = n), e; } var D = ["isSaving", "reviewType", "documentId", "validNodes"], C = ["unshared", "unknown", void 0], w = [], S = function (e) { var t = (arguments.length > 1 && void 0 !== arguments[1] ? arguments[1] : {}).isExternalNodeChange, n = void 0 !== t && t; if (!e.id) return D.reduce(function (t, n) { return Object.prototype.hasOwnProperty.call(e, n) && (t[n] = e[n]), t; }, {}); var r = e.id, o = e.ownerId, a = e.mimeType, i = e.nodeId, s = []; if (e.useNodeIndex) { var c = i; e.nodeId = isNaN(Number(c)) ? c : Number(c); } return ( e.validNodes && (s = e.validNodes.filter(function (t, n) { return (t.id = e.useNodeIndex ? n : t.id), !t.excluded; })), s.push({ id: d.Qy, nodeId: d.Qy }), b(b({}, e), {}, { validNodes: s, id: r, ownerId: o && -1 === o.indexOf(d.Lx) ? d.Lx + o : o, mimeType: a || "application/vnd.adobe.directory+json", isExternalNodeChange: n }) ); }, A = function (e) { var t = (0, r.useRef)(); return c()(t.current, e) || (t.current = e), t.current; }, k = function (e, t, n) { var r = !!e.id, o = !r, a = (null == t ? void 0 : t.length) > 0; return (function () { if (!n) return e; if (o) { if (a) return t[0]; if (!a) return e; } else if (r) { if (a) { var i = t[0], s = "".concat(d.GF).concat(e.id), c = (0, h.Pt)(s); return "cloudDoc" === c ? e : "artifact" === c || C.includes(e.shareStatus) ? i : e; } if (!a) return e; } })(); }; var _ = n(67961); function T(e, t, n, r, o, a, i) { try { var s = e[a](i), c = s.value; } catch (e) { return void n(e); } s.done ? t(c) : Promise.resolve(c).then(r, o); } function I(e, t) { (null == t || t > e.length) && (t = e.length); for (var n = 0, r = new Array(t); n < t; n++) r[n] = e[n]; return r; } const O = function (e, t, n, o) { var a, i, s = arguments.length > 4 && void 0 !== arguments[4] ? arguments[4] : {}, c = ((a = (0, r.useState)({ role: s.userRoleOverride })), (i = 2), (function (e) { if (Array.isArray(e)) return e; })(a) || (function (e, t) { var n = null == e ? null : ("undefined" != typeof Symbol && e[Symbol.iterator]) || e["@@iterator"]; if (null != n) { var r, o, a = [], i = !0, s = !1; try { for (n = n.call(e); !(i = (r = n.next()).done) && (a.push(r.value), !t || a.length !== t); i = !0); } catch (e) { (s = !0), (o = e); } finally { try { i || null == n.return || n.return(); } finally { if (s) throw o; } } return a; } })(a, i) || (function (e, t) { if (e) { if ("string" == typeof e) return I(e, t); var n = Object.prototype.toString.call(e).slice(8, -1); return "Object" === n && e.constructor && (n = e.constructor.name), "Map" === n || "Set" === n ? Array.from(e) : "Arguments" === n || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n) ? I(e, t) : void 0; } })(a, i) || (function () { throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); })()), l = c[0], u = c[1], d = s.token, p = s.isGuestUser, f = "dev" === n ? "stage" : n; return ( (0, r.useEffect)( function () { var n = (function () { var n, r = ((n = regeneratorRuntime.mark(function n() { var r, a; return regeneratorRuntime.wrap( function (n) { for (;;) switch ((n.prev = n.next)) { case 0: if (!(e && t && f && (d || o)) || p || s.userRoleOverride) { n.next = 12; break; } return (n.prev = 1), (r = new _.CapabilitiesService({ token: d, environment: f, apiKey: t, apiVersion: "v4", accessToken: o })), (n.next = 5), r.get({ resourceUrl: e }); case 5: (a = n.sent), u(a), (n.next = 12); break; case 9: (n.prev = 9), (n.t0 = n.catch(1)), u({}); case 12: case "end": return n.stop(); } }, n, null, [[1, 9]] ); })), function () { var e = this, t = arguments; return new Promise(function (r, o) { var a = n.apply(e, t); function i(e) { T(a, r, o, i, s, "next", e); } function s(e) { T(a, r, o, i, s, "throw", e); } i(void 0); }); }); return function () { return r.apply(this, arguments); }; })(); n(); }, [e, t, f, o, d, p, s.userRole, s.userRoleOverride] ), l ); }; function F(e, t) { (null == t || t > e.length) && (t = e.length); for (var n = 0, r = new Array(t); n < t; n++) r[n] = e[n]; return r; } var x = "globalCommentsViewAll"; const N = function (e) { var t, n, o = ((t = (0, r.useState)(function () { var t = (0, h.Pt)(x); return void 0 === t && ((0, h.m8)(x, !0), (t = !0)), t || e; })), (n = 2), (function (e) { if (Array.isArray(e)) return e; })(t) || (function (e, t) { var n = null == e ? null : ("undefined" != typeof Symbol && e[Symbol.iterator]) || e["@@iterator"]; if (null != n) { var r, o, a = [], i = !0, s = !1; try { for (n = n.call(e); !(i = (r = n.next()).done) && (a.push(r.value), !t || a.length !== t); i = !0); } catch (e) { (s = !0), (o = e); } finally { try { i || null == n.return || n.return(); } finally { if (s) throw o; } } return a; } })(t, n) || (function (e, t) { if (e) { if ("string" == typeof e) return F(e, t); var n = Object.prototype.toString.call(e).slice(8, -1); return "Object" === n && e.constructor && (n = e.constructor.name), "Map" === n || "Set" === n ? Array.from(e) : "Arguments" === n || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n) ? F(e, t) : void 0; } })(t, n) || (function () { throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); })()), a = o[0], i = o[1], s = (0, r.useCallback)(function (e) { (0, h.m8)(x, e), i(e); }, []); return ( (0, r.useEffect)( function () { e && s(!0); }, [e, s] ), (0, r.useMemo)( function () { return { isActive: a, onToggle: s }; }, [a, s] ) ); }; function R(e, t) { var n = Object.keys(e); if (Object.getOwnPropertySymbols) { var r = Object.getOwnPropertySymbols(e); t && (r = r.filter(function (t) { return Object.getOwnPropertyDescriptor(e, t).enumerable; })), n.push.apply(n, r); } return n; } function L(e) { for (var t = 1; t < arguments.length; t++) { var n = null != arguments[t] ? arguments[t] : {}; t % 2 ? R(Object(n), !0).forEach(function (t) { M(e, t, n[t]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : R(Object(n)).forEach(function (t) { Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t)); }); } return e; } function M(e, t, n) { return t in e ? Object.defineProperty(e, t, { value: n, enumerable: !0, configurable: !0, writable: !0 }) : (e[t] = n), e; } var P = function () { var e = arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : {}, t = e.id, n = e.token, r = void 0 === n ? "" : n, o = e.authId, a = Boolean(r), i = !a || r.includes(d.Fi) ? r : "".concat(d.Fi, " ").concat(r); return L(L({}, e), {}, { id: !t || t.includes(d.Lx) ? t : d.Lx + t, token: i, isGuestUser: i.includes("AnonBearer"), isLoggedIn: a, authId: !o || o.includes(d.Lx) ? o : d.Lx + o }); }; function j(e, t) { (null == t || t > e.length) && (t = e.length); for (var n = 0, r = new Array(t); n < t; n++) r[n] = e[n]; return r; } const B = function (e) { var t, n, o = ((t = (0, r.useState)("undefined" == typeof navigator || "boolean" != typeof navigator.onLine || !navigator.onLine)), (n = 2), (function (e) { if (Array.isArray(e)) return e; })(t) || (function (e, t) { var n = null == e ? null : ("undefined" != typeof Symbol && e[Symbol.iterator]) || e["@@iterator"]; if (null != n) { var r, o, a = [], i = !0, s = !1; try { for (n = n.call(e); !(i = (r = n.next()).done) && (a.push(r.value), !t || a.length !== t); i = !0); } catch (e) { (s = !0), (o = e); } finally { try { i || null == n.return || n.return(); } finally { if (s) throw o; } } return a; } })(t, n) || (function (e, t) { if (e) { if ("string" == typeof e) return j(e, t); var n = Object.prototype.toString.call(e).slice(8, -1); return "Object" === n && e.constructor && (n = e.constructor.name), "Map" === n || "Set" === n ? Array.from(e) : "Arguments" === n || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n) ? j(e, t) : void 0; } })(t, n) || (function () { throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); })()), a = o[0], i = o[1]; return ( (0, r.useEffect)(function () { var e = function () { return i(!1); }, t = function () { return i(!0); }; return ( window.addEventListener("online", e), window.addEventListener("offline", t), function () { window.removeEventListener("online", e), window.removeEventListener("offline", t); } ); }, []), a || e ); }; var Z = n(82950), U = n(39358); function z(e, t) { var n = Object.keys(e); if (Object.getOwnPropertySymbols) { var r = Object.getOwnPropertySymbols(e); t && (r = r.filter(function (t) { return Object.getOwnPropertyDescriptor(e, t).enumerable; })), n.push.apply(n, r); } return n; } function V(e) { for (var t = 1; t < arguments.length; t++) { var n = null != arguments[t] ? arguments[t] : {}; t % 2 ? z(Object(n), !0).forEach(function (t) { H(e, t, n[t]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : z(Object(n)).forEach(function (t) { Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t)); }); } return e; } function H(e, t, n) { return t in e ? Object.defineProperty(e, t, { value: n, enumerable: !0, configurable: !0, writable: !0 }) : (e[t] = n), e; } var G = { annotations: [ { bodyValue: "Comment 1", created: "2021-08-09T14:52:19.316429Z", creator: { affiliation: "https://comments.acrobat.com/auth_providers/ims", email: "test1@adobe.com", id: "test id 1", img: "https://static-assets.frame.io/app/anon.jpg", name: "Test Name 1", type: "Person" }, etag: "test etag 1", id: "id 1", mentions: [], modified: "2023-09-19T18:05:09.324405Z", motivation: "commenting", replies: [], status: "open", target: { selector: { node: { id: "a" }, subtype: "node", type: "AdobeAnnoSelector" }, source: "urn:aaid:sc:US:77586245-7c2e-4758-948a-5e69fc444ef4", state: "unknown" }, type: "Annotation", }, { bodyValue: "Comment 2", created: "2021-08-09T14:52:19.316429Z", creator: { affiliation: "https://comments.acrobat.com/auth_providers/ims", email: "test2@adobe.com", id: "test id 2", img: "https://static-assets.frame.io/app/anon.jpg", name: "Test Name 2", type: "Person" }, etag: "test etag 2", id: "113d1a7d-3f45-470d-83bc-d1d9b04124fa", mentions: [], modified: "2023-09-22T21:08:46.807196Z", motivation: "commenting", replies: [ { bodyValue: "Reply 1", created: "2023-09-22T21:08:46.807196Z", creator: { affiliation: "https://comments.acrobat.com/auth_providers/ims", email: "test email 2", id: "test id 3", img: "https://static-assets.frame.io/app/anon.jpg", name: "Test Name 3", type: "Person" }, etag: "test etag 3", id: "reply id", mentions: [], modified: "2023-09-22T21:08:46.807196Z", motivation: "replying", status: "open", target: { selector: { node: { id: "a" }, subtype: "node", type: "AdobeAnnoSelector" }, source: "urn:aaid:sc:US:77586245-7c2e-4758-948a-5e69fc444ef4", state: "unknown" }, type: "Annotation", }, ], status: "open", target: { selector: { node: { id: "a" }, subtype: "node", type: "AdobeAnnoSelector" }, source: "urn:aaid:sc:US:77586245-7c2e-4758-948a-5e69fc444ef4", state: "unknown" }, type: "Annotation", }, { annotationType: "shape", bodyValue: "Comment 3", created: "2023-09-26T07:20:51Z", creator: { affiliation: "https://comments.acrobat.com/auth_providers/ims", email: "test3@adobe.com", id: "test id 3", img: "https://static-assets.frame.io/app/anon.jpg", name: "Test Name 3", type: "Person" }, etag: "test etag 3", id: "id 3", mentions: [], modified: "2023-09-26T07:20:51Z", motivation: "commenting", replies: [], status: "open", target: { selector: { strokeWidth: 5, boundingBox: [671.8078290343915, 240.4747794360158, 772.0424107142857, 249.59175049472293], node: { id: "a" }, subtype: "shape", type: "AdobeAnnoSelector", strokeColor: "#16878C", opacity: 1, inkList: [ [ { x: 672.0351769179894, y: 249.0305491424802 }, { x: 671.8078290343915, y: 249.59175049472293 }, { x: 672.9600694444445, y: 249.59175049472293 }, { x: 675.5384011243386, y: 249.59175049472293 }, { x: 688.2285466269841, y: 249.59175049472293 }, { x: 701.6214037698412, y: 249.59175049472293 }, { x: 716.3370122354497, y: 249.19380771767808 }, { x: 723.8394923941798, y: 248.71423565303428 }, { x: 730.0605572089947, y: 247.90304460751977 }, { x: 735.403232473545, y: 247.25511213720316 }, { x: 739.5885003306878, y: 247.20409383245382 }, { x: 743.2932374338624, y: 247.20409383245382 }, { x: 747.4371693121693, y: 246.99491878298153 }, { x: 752.888351521164, y: 246.25005153364114 }, { x: 754.9809854497355, y: 246.1531167546174 }, { x: 756.949611441799, y: 245.94904353562004 }, { x: 758.706390542328, y: 245.84700692612137 }, { x: 760.3081597222222, y: 245.642933707124 }, { x: 763.4238591269841, y: 244.86745547493402 }, { x: 766.456886574074, y: 243.6634234828496 }, { x: 767.9346478174604, y: 243.12262945250657 }, { x: 769.0920552248677, y: 242.64815921833772 }, { x: 770.0221147486773, y: 242.1940963060686 }, { x: 770.7454943783068, y: 241.92369929089708 }, { x: 771.2156911375662, y: 241.71452424142478 }, { x: 771.6342179232804, y: 241.5512656662269 }, { x: 771.9442377645503, y: 241.5512656662269 }, { x: 772.0424107142857, y: 241.40331258245382 }, { x: 772.0424107142857, y: 241.25535949868072 }, { x: 772.0424107142857, y: 241.1635265501319 }, { x: 772.0424107142857, y: 240.82680573878628 }, { x: 772.0424107142857, y: 240.66864899406332 }, { x: 772.0424107142857, y: 240.4747794360158 }, ], ], }, source: "/assets/urn:aaid:sc:US:77586245-7c2e-4758-948a-5e69fc444ef4", state: "0", }, type: "Annotation", }, ], }; function W(e, t) { var n = Object.keys(e); if (Object.getOwnPropertySymbols) { var r = Object.getOwnPropertySymbols(e); t && (r = r.filter(function (t) { return Object.getOwnPropertyDescriptor(e, t).enumerable; })), n.push.apply(n, r); } return n; } function Q(e) { for (var t = 1; t < arguments.length; t++) { var n = null != arguments[t] ? arguments[t] : {}; t % 2 ? W(Object(n), !0).forEach(function (t) { J(e, t, n[t]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : W(Object(n)).forEach(function (t) { Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t)); }); } return e; } function J(e, t, n) { return t in e ? Object.defineProperty(e, t, { value: n, enumerable: !0, configurable: !0, writable: !0 }) : (e[t] = n), e; } function Y(e, t) { (null == t || t > e.length) && (t = e.length); for (var n = 0, r = new Array(t); n < t; n++) r[n] = e[n]; return r; } const q = function (e) { var t, n, o = e.imsData, a = ((t = (0, r.useState)([])), (n = 2), (function (e) { if (Array.isArray(e)) return e; })(t) || (function (e, t) { var n = null == e ? null : ("undefined" != typeof Symbol && e[Symbol.iterator]) || e["@@iterator"]; if (null != n) { var r, o, a = [], i = !0, s = !1; try { for (n = n.call(e); !(i = (r = n.next()).done) && (a.push(r.value), !t || a.length !== t); i = !0); } catch (e) { (s = !0), (o = e); } finally { try { i || null == n.return || n.return(); } finally { if (s) throw o; } } return a; } })(t, n) || (function (e, t) { if (e) { if ("string" == typeof e) return Y(e, t); var n = Object.prototype.toString.call(e).slice(8, -1); return "Object" === n && e.constructor && (n = e.constructor.name), "Map" === n || "Set" === n ? Array.from(e) : "Arguments" === n || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n) ? Y(e, t) : void 0; } })(t, n) || (function () { throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); })()), i = a[0], s = a[1]; (0, r.useEffect)( function () { s([ { id: "b1363356-8d00-4831-bfed-4d75ff0fe2fd", mimeType: "application/pdf", name: "Mock Frame Artifact", ownerId: "0E4045EC57A34D477F000101@AdobeID", sourceId: "urn:aaid:sc:US:77586245-7c2e-4758-948a-5e69fc444ef4", type: "application/vnd.adobe.directory+json", isFrameArtifact: !0, get: function () { return Promise.resolve(G); }, comment: function (e) { var t = (function (e) { var t = e.bodyValue, n = e.nodeId, r = e.imsData; return { creator: { img: "https://frameio-uploads-production.s3-accelerate.amazonaws.com/users/ccf5c565-cf15-4a23-84d7-985620266b00/91a8ff37-114e-430e-b3b4-221d66a231d6/image.png?x-amz-meta-request_id=F4iTIdAfEBTZhL0BNJiI&x-amz-meta-resource_id=ccf5c565-cf15-4a23-84d7-985620266b00&x-amz-meta-resource_type=user&X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAZ5BPIQ3GOE3GUNGI%2F20230926%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20230926T222353Z&X-Amz-Expires=86400&X-Amz-SignedHeaders=host&X-Amz-Signature=4f078f58f6db6dc823e2af738aa7a08242c9f5198ff80a19d92f5088d616721b", name: r.displayName, id: r.id, type: "Person", email: "pae@adobe.com", created: "2018-12-06T21:56:20.808713Z", }, created: new Date().toISOString(), bodyValue: t, motivation: "commenting", generator: "https://comments.acrobat.com/redhawk", type: "Annotation", "@context": ["https://www.w3.org/ns/anno.jsonld", "https://comments.acrobat.com/ns/anno.jsonld"], target: { selector: { node: { id: n }, subtype: "node", type: "AdobeAnnoSelector" }, source: "b1363356-8d00-4831-bfed-4d75ff0fe2fd", state: "0" }, mentions: [], modified: new Date().toISOString(), etag: "1695765299469", id: (0, U.v1)(), creationId: "22466bfb-7a0b-46ff-847b-4a98fbfafd32", status: "open", }; })(Q({ imsData: o }, e)); return Promise.resolve(t); }, reply: function (e) { var t = (function (e) { var t = e.bodyValue, n = e.commentId, r = e.imsData; return { creator: { img: "https://frameio-uploads-production.s3-accelerate.amazonaws.com/users/ccf5c565-cf15-4a23-84d7-985620266b00/91a8ff37-114e-430e-b3b4-221d66a231d6/image.png?x-amz-meta-request_id=F4iTIdAfEBTZhL0BNJiI&x-amz-meta-resource_id=ccf5c565-cf15-4a23-84d7-985620266b00&x-amz-meta-resource_type=user&X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAZ5BPIQ3GOE3GUNGI%2F20230926%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20230926T222353Z&X-Amz-Expires=86400&X-Amz-SignedHeaders=host&X-Amz-Signature=4f078f58f6db6dc823e2af738aa7a08242c9f5198ff80a19d92f5088d616721b", name: r.displayName, id: r.id, type: "Person", email: "pae@adobe.com", created: "2018-12-06T21:56:20.808713Z", }, created: new Date().toISOString(), bodyValue: t, motivation: "replying", generator: "https://comments.acrobat.com/redhawk", type: "Annotation", "@context": ["https://www.w3.org/ns/anno.jsonld", "https://comments.acrobat.com/ns/anno.jsonld"], target: { source: n, state: "0" }, mentions: [], modified: new Date().toISOString(), etag: "1695765299469", id: (0, U.v1)(), creationId: "22466bfb-7a0b-46ff-847b-4a98fbfafd32", status: "open", }; })(Q({ imsData: o }, e)); return Promise.resolve(t); }, update: function (e) { var t, n, r, o, a, i, s, c = ((n = (t = e).bodyValue), (r = t.commentId), (a = (o = f.ZP.getState())["".concat(d.Bq, ":comments")].entities.assets.byId["b1363356-8d00-4831-bfed-4d75ff0fe2fd"]), (i = o["".concat(d.Bq, ":comments")].entities.comments), (s = a.comments.find(function (e) { return i.byId[e].replies.find(function (e) { return e.id === r; }); })), V( V( {}, i.byId[r] ? i.byId[r] : i.byId[s].replies.find(function (e) { return e.id === r; }) ), {}, { bodyValue: n, modified: new Date().toISOString() } )); return Promise.resolve(c); }, resolve: function (e) { var t, n = ((t = e), V(V({}, f.ZP.getState()["".concat(d.Bq, ":comments")].entities.comments.byId[t]), {}, { status: "resolved" })); return Promise.resolve(n); }, open: function (e) { var t, n = ((t = e), V(V({}, f.ZP.getState()["".concat(d.Bq, ":comments")].entities.comments.byId[t]), {}, { status: "open" })); return Promise.resolve(n); }, delete: function (e) { return Promise.resolve({}); }, }, ]); }, [o] ); var c = (0, r.useMemo)( function () { return { getArtifacts: function () { return Promise.resolve(i); }, }; }, [i] ), l = (0, r.useMemo)( function () { return { getArtifactContext: function () { return Promise.resolve(c); }, }; }, [c] ), u = (0, r.useCallback)( function () { return Promise.resolve(l); }, [l] ); return (0, r.useMemo)( function () { return { getAssetWithCloudID: u }; }, [u] ); }; function X(e, t, n, r, o, a, i) { try { var s = e[a](i), c = s.value; } catch (e) { return void n(e); } s.done ? t(c) : Promise.resolve(c).then(r, o); } function K(e, t) { var n = Object.keys(e); if (Object.getOwnPropertySymbols) { var r = Object.getOwnPropertySymbols(e); t && (r = r.filter(function (t) { return Object.getOwnPropertyDescriptor(e, t).enumerable; })), n.push.apply(n, r); } return n; } function $(e) { for (var t = 1; t < arguments.length; t++) { var n = null != arguments[t] ? arguments[t] : {}; t % 2 ? K(Object(n), !0).forEach(function (t) { ee(e, t, n[t]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : K(Object(n)).forEach(function (t) { Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t)); }); } return e; } function ee(e, t, n) { return t in e ? Object.defineProperty(e, t, { value: n, enumerable: !0, configurable: !0, writable: !0 }) : (e[t] = n), e; } function te(e, t) { return ( (function (e) { if (Array.isArray(e)) return e; })(e) || (function (e, t) { var n = null == e ? null : ("undefined" != typeof Symbol && e[Symbol.iterator]) || e["@@iterator"]; if (null != n) { var r, o, a = [], i = !0, s = !1; try { for (n = n.call(e); !(i = (r = n.next()).done) && (a.push(r.value), !t || a.length !== t); i = !0); } catch (e) { (s = !0), (o = e); } finally { try { i || null == n.return || n.return(); } finally { if (s) throw o; } } return a; } })(e, t) || ne(e, t) || (function () { throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); })() ); } function ne(e, t) { if (e) { if ("string" == typeof e) return re(e, t); var n = Object.prototype.toString.call(e).slice(8, -1); return "Object" === n && e.constructor && (n = e.constructor.name), "Map" === n || "Set" === n ? Array.from(e) : "Arguments" === n || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n) ? re(e, t) : void 0; } } function re(e, t) { (null == t || t > e.length) && (t = e.length); for (var n = 0, r = new Array(t); n < t; n++) r[n] = e[n]; return r; } var oe = [ "analyticsData", "analyticsDebounce", "analyticsEnabled", "annotationsCreationEnabled", "annotationsEnabled", "annotationsMultiPageEnabled", "annotationOverlayElements", "annotationTypes", "appKey", "appName", "authenticateFetch", "backgroundModeEnabled", "cacheComments", "compactLayout", "creativeOnboarding", "disableCommentCreation", "disableNetworkIndicator", "documentState", "enableEmojiPicker", "enableFrameS4R", "enableReadUnread", "environment", "globalCommentsViewAll", "groupBy", "guestCommentingAutomationMode", "hasReviewAccess", "imageCapture", "imageContextData", "invitationServiceAccessToken", "cloudDocSupported", "isDocumentSupported", "isErrorWorkflow", "isMapping", "isVisible", "locale", "localeStringOverrides", "peopleGraphAPIKey", "pollForUpdates", "repositionSubmitForTouch", "richTextEntry", "s4rEnabled", "showRefactoredComment", "socialSignIn", "stakeholderOnboarding", "spectrumUIScale", "theme", "themeType", "touchControls", "typekitId", ]; const ae = function (e) { var t, n, o, a, i = te((0, r.useState)({}), 2), s = i[0], y = i[1], g = te((0, r.useState)({}), 2), E = g[0], D = g[1], C = $($({}, e), s), _ = te((0, r.useState)(!C.isVisible || "hidden" === document.visibilityState), 2), T = _[0], I = _[1], F = te((0, r.useState)({ asset: void 0, assetId: void 0, assetStatusCode: void 0, assetStatusType: d.Ud.UNFETCHED, sourceId: void 0 }), 2), x = F[0], R = F[1], L = te((0, r.useState)([]), 2), M = L[0], j = L[1], U = te((0, r.useState)(C.artifactData), 2), z = U[0], V = U[1], H = (function (e) { var t = (0, r.useRef)(P(e)); return (0, r.useMemo)( function () { var n = P(e); return c()(t.current, n) ? t.current : ((t.current = n), n); }, [e] ); })(C.imsData), G = q({ imsData: H }).getAssetWithCloudID; (0, r.useEffect)( function () { var e = (function () { var e, t = ((e = regeneratorRuntime.mark(function e() { var t, n, r; return regeneratorRuntime.wrap(function (e) { for (;;) switch ((e.prev = e.next)) { case 0: if (!C.frameArtifactEnabled) { e.next = 13; break; } return (e.next = 3), G(C.assetData.id); case 3: return (t = e.sent), (e.next = 6), t.getArtifactContext(); case 6: return (n = e.sent), (e.next = 9), n.getArtifacts(); case 9: (r = e.sent), V([$($({}, r[0]), {}, { reviewType: "artifact", nodeId: C.assetData.nodeId, ownerId: C.assetData.ownerId, validNodes: C.assetData.validNodes, shareStatus: "public" })]), (e.next = 14); break; case 13: V(C.artifactData); case 14: case "end": return e.stop(); } }, e); })), function () { var t = this, n = arguments; return new Promise(function (r, o) { var a = e.apply(t, n); function i(e) { X(a, r, o, i, s, "next", e); } function s(e) { X(a, r, o, i, s, "throw", e); } i(void 0); }); }); return function () { return t.apply(this, arguments); }; })(); e(); }, [G, C.artifactData, C.assetData, C.frameArtifactEnabled] ); var W = (function (e, t, n, o) { var a = A(e), i = A(t), s = v((0, r.useState)(b({}, S(k(a, i, o), { isExternalNodeChange: !0 }))), 2), c = s[0], l = s[1], y = (function (e, t, n, o) { var a, i = (0, r.useMemo)( function () { var n = []; return ( o && null != e && e.id && null != e && e.name && null != t && t.length && ((n = [b(b({}, S(e)), {}, { isArtifact: !1 })]), t.forEach(function (e) { e.id && e.name && n.push(b(b({}, S(e)), {}, { isArtifact: !0 })); })), n.length > 1 ? n : w ); }, [e, t, o] ), s = v( (0, r.useState)(function () { return k(e, t, o); }), 2 ), c = s[0], l = s[1]; (0, r.useEffect)( function () { l(k(e, t, o)); }, [t, e, o] ); var u = v((0, r.useState)((null == c ? void 0 : c.id) || (null === (a = i[0]) || void 0 === a ? void 0 : a.id)), 2), p = u[0], f = u[1], m = (0, r.useMemo)( function () { return i.map(function (e) { return e.id; }); }, [i] ); (0, r.useEffect)( function () { f(c.id); }, [c.id] ), (0, r.useEffect)( function () { p && !i.find(function (e) { return (null == e ? void 0 : e.id) === p; }) && f(c.id); }, [p, i, c.id] ), (0, r.useEffect)( function () { window.dispatchEvent(new CustomEvent("assetchange", { detail: { newAssetId: p } })); }, [p] ); var y = (0, r.useCallback)( function (r) { var o, a = "".concat(d.GF).concat(e.id); (o = r === e.id ? e : t.find(function (e) { return e.id === r; })), f(r), (0, h.m8)(a, o.reviewType), n(b({}, S(o, { isExternalNodeChange: !0 }))); }, [e, t, n] ); return { assetIds: m, currentMultipleAsset: p, handleMultipleAssetChange: y, multipleAssets: i }; })(a, i, l, o), g = y.assetIds, E = y.currentMultipleAsset, D = y.handleMultipleAssetChange, C = y.multipleAssets, _ = (0, r.useCallback)(function (e) { return l(function (t) { return b(b({}, t), {}, { nodeId: e, isExternalNodeChange: !1 }); }); }, []), T = (0, f.I0)(), I = (0, f.v9)(u.Qx), O = (0, f.v9)(u.yU), F = (0, f.v9)(function (e) { var t; return null === (t = e["".concat(d.Bq, ":context")]) || void 0 === t ? void 0 : t.isPlacingAnnotation; }); return ( (0, r.useEffect)( function () { var e = function (e) { e.id !== c.id && T((0, p.ER)({ excludeIngestEvent: !0 })); var t = S(e, { isExternalNodeChange: e.nodeId !== c.nodeId || c.isExternalNodeChange }); l(t); }; C.length ? e( i.find(function (e) { return e.id === E; }) || a ) : e(k(a, i, o)); }, [E, a, a.nodeId, a.validNodes, a.shareStatus, i] ), (0, r.useEffect)( function () { void 0 === c.nodeId || c.nodeId === O || n || T(I ? (0, m.yC)(void 0, c.nodeId) : (0, m.V0)(F, "root")); }, [c.nodeId, O] ), { assetData: c, multipleAssets: { assetIds: g, assets: C, selectedId: E, setAsset: D }, setActiveNode: _ } ); })(C.assetData, z, C.annotationsMultiPageEnabled, C.s4rEnabled), Q = W.assetData, J = W.multipleAssets, Y = W.setActiveNode, K = N(C.annotationsMultiPageEnabled), ee = B(C.hostOfflineStatus), ae = O(Q.id, C.appKey, C.environment, C.invitationServiceAccessToken, H), ie = (0, r.useCallback)(function (e) { var t = arguments.length > 1 && void 0 !== arguments[1] ? arguments[1] : {}, n = arguments.length > 3 ? arguments[3] : void 0; R({ asset: e, assetId: arguments.length > 2 ? arguments[2] : void 0, assetStatusCode: t.statusCode, assetStatusType: t.type, sourceId: n }); }, []), se = (0, r.useCallback)(function (e) { j(function (t) { return t.find(function (t) { return t.id === e.id; }) ? t : [].concat( (function (e) { if (Array.isArray(e)) return re(e); })((n = t)) || (function (e) { if (("undefined" != typeof Symbol && null != e[Symbol.iterator]) || null != e["@@iterator"]) return Array.from(e); })(n) || ne(n) || (function () { throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); })(), [e] ); var n; }); }, []), ce = (0, r.useCallback)(function (e, t) { y(e), D(t); }, []); (0, r.useEffect)( function () { j(function (e) { var t = function (e) { return J.assetIds.includes(e.id) || Q.id === e.id; }, n = e.filter(function (e) { return t(e); }); return ( e .filter(function (e) { return !t(e); }) .forEach(function (e) { return l.xR.removeInstance(e.id); }), n.length !== e.length ? n : e ); }); }, [Q.id, M, J.assetIds] ); var le = (0, r.useMemo)( function () { return { type: x.assetStatusType, statusCode: x.assetStatusCode }; }, [x.assetStatusType, x.assetStatusCode] ); (0, r.useEffect)( function () { I(!C.isVisible); }, [C.isVisible] ), (0, r.useEffect)(function () { var e = function () { I("hidden" === document.visibilityState); }; return ( window.addEventListener("visibilitychange", e), function () { window.removeEventListener("visibilitychange", e); } ); }, []); var ue, de = null === (t = C.abTestConfig) || void 0 === t ? void 0 : t.floodgateClientId, pe = null === (n = C.abTestConfig) || void 0 === n ? void 0 : n.floodgateReleaseGroup, fe = null === (o = C.abTestConfig) || void 0 === o ? void 0 : o.floodgateReleaseFeature, me = null === (a = C.abTestConfig) || void 0 === a ? void 0 : a.sophiaSurfaceId, he = (0, r.useMemo)( function () { if (C.abTestConfig) return { floodgateClientId: de, floodgateReleaseGroup: pe, floodgateReleaseFeature: fe, sophiaSurfaceId: me }; }, [C.abTestConfig, de, pe, fe, me] ), ve = (0, r.useRef)({}), ye = (0, r.useRef)({}), ge = { abTestConfig: he, assetData: Q, setActiveNode: Y, imsData: H, isOffline: ee, capabilities: ae, globalCommentsToggle: K, mentionsEnabled: !H.isGuestUser, multipleAssets: J, asset: { addFetchedAsset: se, asset: x.asset, assetId: x.assetId, fetchedAssets: M, setAsset: ie, sourceId: x.sourceId, status: le }, localCommentMetadataMapRef: ve, unreadCommentOverrideMapRef: ye, latestMobileEnabled: C.compactLayout, setSophiaConfigOverride: ce, sophiaAnalyticsData: E, }; oe.forEach(function (e) { return (ge[e] = C[e]); }), C.guestCommentingAutomationMode ? (ge.reCaptchaSiteKey = d.o_) : C.environment.startsWith("pr") ? (ge.reCaptchaSiteKey = d.bT) : C.environment.startsWith("dev") ? (ge.reCaptchaSiteKey = d._F) : (ge.reCaptchaSiteKey = d.Kj), C.enableReadUnread && (ge.enableReadUnread = "" !== (null == H ? void 0 : H.token) && -1 === (null == H || null === (ue = H.token) || void 0 === ue ? void 0 : ue.indexOf("AnonBearer"))), (ge.isVisible = !T); var be = (0, Z.Z)(ge); return c()(be, ge) ? be : ge; }; function ie() { return ( (ie = Object.assign ? Object.assign.bind() : function (e) { for (var t = 1; t < arguments.length; t++) { var n = arguments[t]; for (var r in n) Object.prototype.hasOwnProperty.call(n, r) && (e[r] = n[r]); } return e; }), ie.apply(this, arguments) ); } var se = { abTestConfig: void 0, analyticsData: null, analyticsDebounce: 5e3, analyticsEnabled: !1, annotationsCreationEnabled: !0, annotationsEnabled: !1, annotationsMultiPageEnabled: !1, annotationOverlayElements: [], annotationTypes: null, asset: { addFetchedAsset: function () {}, asset: void 0, assetId: void 0, fetchedAssets: [], setAsset: function () {}, sourceId: void 0, status: d.Ud.UNFETCHED }, assetData: { reviewType: "artifact", validNodes: [] }, authenticateFetch: !0, backgroundModeEnabled: !1, cacheComments: !1, creativeOnboarding: !1, compactLayout: !1, disableCommentCreation: !1, disableNetworkIndicator: !1, documentState: "documentOpen", enableEmojiPicker: !0, enableFrameS4R: !1, enableReadUnread: !1, environment: "stage", globalCommentsToggle: { isActive: !1, onToggle: function () {} }, globalCommentsViewAll: !0, groupBy: "node", guestCommentingAutomationMode: !1, hasReviewAccess: !0, hostOfflineStatus: !1, imageCapture: !1, imageContextData: {}, imsData: {}, invitationServiceAccessToken: void 0, cloudDocSupported: !0, isDocumentSupported: !0, isErrorWorkflow: !1, isMapping: !1, isVisible: !1, latestMobileEnabled: !1, localCommentMetadataMapRef: { current: {} }, locale: "en-US", localeStringOverrides: {}, mentionsEnabled: !1, peopleGraphAPIKey: null, repositionSubmitForTouch: !1, richTextEntry: !0, s4rEnabled: !1, showRefactoredComment: !1, socialSignIn: !1, spectrumUIScale: "medium", stakeholderOnboarding: !1, theme: "light", themeType: "spectrum", touchControls: !1, typekitId: "pwg1jsp", unreadCommentOverrideMapRef: { current: {} }, }, ce = o().createContext(se), le = ce.Provider, ue = ce.Consumer, de = function (e) { var t = o().forwardRef(function (t, n) { return o().createElement(ue, null, function (r) { return o().createElement(e, ie({}, r, t, { ref: n })); }); }), n = "".concat(e.displayName || e.name || "Component", ".Wrapped"); return (t.displayName = "WithAppContext(".concat(n, ")")), t; }, pe = function (e) { var t = ae(e); return o().createElement(le, { value: t }, e.children); }; (pe.defaultProps = se), (pe.propTypes = { children: i().node }); const fe = ce; }, 88133: (e, t, n) => { "use strict"; n.d(t, { ZP: () => b, mN: () => g }); var r = n(23469), o = n.n(r), a = n(47776), i = n.n(a), s = n(99894), c = n(23492), l = n(69088), u = n(95545), d = n(30251), p = n(69522), f = n(9097), m = n(48468), h = n(89941), v = { onAdobeIMS: function () {}, onAnnotationToggle: function () {}, onCloseButtonClick: function () {}, onCommentInteraction: function () {}, onCommentSelect: function () {}, onCommentsError: function () {}, onCommentsSuccess: function () {}, onCommentsUpdate: function () {}, onErrorRetry: function () {}, onGuestSession: function () {}, onInvokeLogin: void 0, onMetadataUpdate: function () {}, onMobileCommentsListHeightChange: function () {}, onNodeChange: function () {}, onShare: void 0, onTrayHeightChange: function () {}, onUrlOpen: void 0, }, y = o().createContext(v), g = function (e) { var t = e.children, n = e.onAdobeIMS, a = e.onAnnotationToggle, i = e.onCloseButtonClick, v = e.onCommentInteraction, g = e.onCommentsError, b = e.onCommentsSuccess, E = e.onCommentsUpdate, D = e.onErrorRetry, C = e.onGuestSession, w = e.onInvokeLogin, S = e.onMetadataUpdate, A = e.onMobileCommentsListHeightChange, k = e.onNodeChange, _ = e.onShare, T = e.onTrayHeightChange, I = e.onUrlOpen, O = (0, l.I0)(), F = (0, h.Z)(), x = (0, f.Z)(), N = x.isRead, R = x.setIsRead, L = (0, r.useMemo)(m.nE, []), M = (0, l.v9)(function (e) { return e["".concat(s.Bq, ":annotation")].selectedAnnotationId; }), P = (0, l.v9)(function (e) { var t = e["".concat(s.Bq, ":context")], n = t.annotationLocation, r = t.annotatingItmId, o = t.isPlacingAnnotation; return "root" === r && (o || !(null == n || !n.coordinates)); }), j = (0, r.useContext)(c.ZP), B = j.setActiveNode, Z = j.assetData, U = null == Z ? void 0 : Z.id, z = null == Z ? void 0 : Z.sourceId, V = null == Z ? void 0 : Z.nodeId, H = (0, r.useCallback)( function (e, t, n) { var r, o, a, i, c, l = null == t || null === (r = t.target) || void 0 === r || null === (o = r.selector) || void 0 === o || null === (a = o.node) || void 0 === a ? void 0 : a.id, u = null == t || null === (i = t.target) || void 0 === i || null === (c = i.selector) || void 0 === c ? void 0 : c.sectionId; v( { trigger: e, id: t.id, selector: t.annotationType ? ".".concat(s.TV, '[data-annotationid="').concat(t.id, '"]') : void 0, hasAnnotation: Boolean(t.annotationType), interactionFromAnnotation: n }, { assetId: U, nodeId: l, sectionId: u, sourceId: z } ); }, [U, v, z] ), G = (0, r.useCallback)( function (e) { var t, n, r, o, a, i, s, c = arguments.length > 1 && void 0 !== arguments[1] ? arguments[1] : {}, l = arguments.length > 2 && void 0 !== arguments[2] ? arguments[2] : { allowToggle: !1, autoScroll: !1 }, f = l.allowToggle, m = l.autoScroll, h = l.idForLookup, v = l.replyId, y = h ? L(h) || {} : c, g = y.id, b = null == y || null === (t = y.target) || void 0 === t || null === (n = t.selector) || void 0 === n || null === (r = n.node) || void 0 === r ? void 0 : r.id, E = void 0 !== b && b !== V, D = !(null != e && null !== (o = e.currentTarget) && void 0 !== o && o.classList.contains("comment-li")); y.unmapped || ((f && M === g) || (!g && M) ? (O((0, u.K8)(void 0)), H("unselect", y, D)) : M !== g && ((P && !E) || O((0, d.By)()), O((0, u.K8)(y.id)), v && O((0, u.Ef)(v)), H("select", y, D)), E && (B(b), k(b, void 0, { assetId: U, sourceId: z }))), g && (m && O((0, p.lH)(U, !0)), N(y) || R(((a = {}), (i = g), (s = { read: !0 }), i in a ? Object.defineProperty(a, i, { value: s, enumerable: !0, configurable: !0, writable: !0 }) : (a[i] = s), a), U, { overrideExplicitlySet: !0 }) .then(function () { F.fireEvent({ event: { subcategory: "read-unread", type: "click", subtype: "mark-as-read-click-".concat(M ? "annotation" : "comment") } }); }) .catch(function (e) { var t = e.message, n = e.status; F.fireEvent({ event: { subcategory: "read-unread", subtype: "error", type: "click", error_code: n, error_type: t, error_desc: "failed-to-mark-as-read-on-click-".concat(M ? "annotation" : "comment") } }); })); }, [V, P, U, F, O, N, H, k, L, M, B, R, z] ), W = (0, r.useCallback)( function (e, t) { var n, r = "hover", o = t.id, a = !(null != e && null !== (n = e.currentTarget) && void 0 !== n && n.classList.contains("comment-li")); "mouseenter" !== e.type && ((r = "unhover"), (o = void 0)), O((0, u.Vs)(o)), H(r, t, a); }, [O, H] ), Q = (0, r.useCallback)( function () { i({ assetId: U, sourceId: z }); }, [U, i, z] ), J = (0, r.useCallback)( function (e, t) { return C(e, t, { assetId: U, sourceId: z }); }, [U, z, C] ), Y = (0, r.useCallback)( function (e) { return n(e, { assetId: U, sourceId: z }); }, [U, z, n] ), q = (0, r.useCallback)( function (e, t) { e !== s.Qy && e !== V && (B(e), G({}, {}, { allowToggle: !0, autoScroll: !0 }), k(e, t, { assetId: U, sourceId: z })); }, [V, U, G, k, B, z] ), X = (0, r.useCallback)( function (e) { A(e, { assetId: U, sourceId: z }); }, [U, A, z] ), K = (0, r.useCallback)( function (e) { a(e, { assetId: U, sourceId: z }); }, [U, a, z] ), $ = (0, r.useCallback)( function (e) { _(e, { assetId: U, sourceId: z }); }, [U, _, z] ), ee = (0, r.useCallback)( function (e) { T(e, { assetId: U, sourceId: z }); }, [U, T, z] ), te = (0, r.useCallback)( function (e) { "function" == typeof w ? w(e) : O((0, d.Sp)(e)); }, [O, w] ), ne = (0, r.useCallback)( function () { D({ assetId: U, sourceId: z }); }, [U, D, z] ), re = (0, r.useMemo)( function () { return { onAdobeIMS: Y, onAnnotationToggle: K, onCloseButtonClick: Q, onCommentHover: W, onCommentSelect: G, onCommentsError: g, onCommentsSuccess: b, onCommentsUpdate: E, onErrorRetry: ne, onGuestSession: J, onInvokeLogin: te, onMetadataUpdate: S, onMobileCommentsListHeightChange: X, onNodeChange: q, onShare: _ ? $ : void 0, onTrayHeightChange: ee, onUrlOpen: I, }; }, [Y, K, Q, W, G, ne, J, te, X, q, $, ee, g, b, E, S, _, I] ); return o().createElement(y.Provider, { value: re }, t); }; (g.defaultProps = v), (g.propTypes = { children: i().node, onAdobeIMS: i().func, onAnnotationToggle: i().func, onCloseButtonClick: i().func, onCommentClick: i().func, onCommentHover: i().func, onCommentInteraction: i().func, onCommentsError: i().func, onCommentsSuccess: i().func, onCommentsUpdate: i().func, onErrorRetry: i().func, onGuestSession: i().func, onInvokeLogin: i().func, onMetadataUpdate: i().func, onMobileCommentsListHeightChange: i().func, onNodeChange: i().func, onShare: i().func, onTrayHeightChange: i().func, onUrlOpen: i().func, }); const b = y; }, 46794: (e, t, n) => { "use strict"; n.d(t, { Z: () => h }); var r = n(23469), o = n(9076), a = n(57305), i = n.n(a), s = n(23492), c = n(69088), l = n(99894), u = n(67733), d = n(30251), p = n(95545); function f(e, t) { var n = Object.keys(e); if (Object.getOwnPropertySymbols) { var r = Object.getOwnPropertySymbols(e); t && (r = r.filter(function (t) { return Object.getOwnPropertyDescriptor(e, t).enumerable; })), n.push.apply(n, r); } return n; } function m(e, t, n) { return t in e ? Object.defineProperty(e, t, { value: n, enumerable: !0, configurable: !0, writable: !0 }) : (e[t] = n), e; } const h = function () { var e = (arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : {}).annotationsEnabledOverride, t = (0, c.I0)(), n = (0, r.useContext)(s.ZP), a = n.annotationTypes, h = n.annotationsEnabled, v = n.annotationsCreationEnabled, y = n.annotationsMultiPageEnabled, g = n.latestMobileEnabled, b = (0, c.v9)(function (e) { return i()(e, "".concat(l.Bq, ":context.annotationColor")); }), E = (0, c.v9)(function (e) { return i()(e, "".concat(l.Bq, ":context.annotatingItmId")); }), D = (0, c.v9)(function (e) { return i()(e, "".concat(l.Bq, ":context.annotatingLocation")); }), C = (0, c.v9)(function (e) { return (0, u.cM)(e); }), w = (0, c.v9)(function (e) { return (0, u.yU)(e); }), S = (0, c.v9)(function (e) { return i()(e, "".concat(l.Bq, ":annotation.drawingNode")); }), A = (0, c.v9)(function (e) { return i()(e, "".concat(l.Bq, ":context.newAnnotationType")); }), k = (0, c.v9)(function (e) { return (0, u.Qx)(e); }), _ = (0, c.v9)(function (e) { return i()(e, "".concat(l.Bq, ":annotation.hoveredAnnotation")); }), T = (0, c.v9)(function (e) { return i()(e, "".concat(l.Bq, ":context.registeredSectionIds")); }) || [], I = (0, c.v9)(function (e) { return i()(e, "".concat(l.Bq, ":context.isPlacingAnnotation")); }), O = (0, c.v9)(function (e) { return i()(e, "".concat(l.Bq, ":annotation.selectedAnnotationId")); }), F = (0, c.v9)(function (e) { return i()(e, "".concat(l.Bq, ":annotation.showAnnotations")); }), x = (0, c.v9)(function (e) { return i()(e, "".concat(l.Bq, ":annotation.showDraftAnnotations")); }), N = (0, c.v9)(function (e) { return i()(e, "".concat(l.Bq, ":annotation.touchPressed")); }), R = (0, o.DE)( { registerSectionId: d.mj, setAnnotationMode: d.V0, setDrawingNode: p.I6, setHoveredAnnotation: p.Vs, setShowDraftAnnotations: p.tz, setTouchPressed: p.zb, saveAnnotationColor: d.Iz, clearAnnotation: function () { return d.yC(); }, saveAnnotationLocation: d.yC, }, t ), L = (I || k) && (!g || x) && "root" === E, M = (0, r.useCallback)( function (e) { return C && !I && (!g || x) && ((!e && (1 === T.length || y)) || e === C.sectionId); }, [C, y, I, g, T, x] ); return (function (e) { for (var t = 1; t < arguments.length; t++) { var n = null != arguments[t] ? arguments[t] : {}; t % 2 ? f(Object(n), !0).forEach(function (t) { m(e, t, n[t]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : f(Object(n)).forEach(function (t) { Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t)); }); } return e; })( { annotationColor: b, annotationsEnabled: null != e ? e : h, annotationCommentsEnabled: h && v, annotationLocationCoordinates: C, annotationTypes: a, annotatingItmId: E, annotationLocation: D, annotationLocationNodeId: w, annotationsMultiPageEnabled: y, drawingNode: S, hasAnnotationLocation: k, hasTempAnnotation: M, hoveredAnnotation: _, isAnnotating: L, legacyAnnotationMode: h && (!a || (a && !Object.values(a).some(function (e) { return !0 === e; }))), isPlacingAnnotation: I, newAnnotationType: A, readyToAnnotate: T.length > 0, registeredSectionIds: T, selectedAnnotationId: O, showAnnotations: F, showDraftAnnotations: x, touchPressed: N, }, R ); }; }, 39589: (e, t, n) => { "use strict"; n.d(t, { Z: () => s }); var r = n(23469), o = n(23492), a = n(69088), i = n(69522); const s = function () { var e = (0, a.I0)(), t = (0, r.useContext)(o.ZP), n = t.assetData, s = t.backgroundModeEnabled, c = t.cacheComments, l = t.enableFrameS4R, u = t.environment, d = t.globalCommentsToggle, p = t.imageCapture, f = t.imsData, m = t.isOffline, h = t.latestMobileEnabled, v = t.multipleAssets, y = void 0 === v ? {} : v, g = t.pollForUpdates, b = window.FORCE_STAGE_INGEST ? "stage" : u, E = (0, r.useCallback)( function (t, n, r) { return e((0, i.Zk)(t, n, { cacheMetadata: c, recursive: r })); }, [c, e] ), D = (0, r.useCallback)( function (t, r) { return e((0, i.l_)(t, r || n.id, { cacheComments: c, updateRedux: !r || r === n.id })); }, [n, c, e] ), C = (0, r.useCallback)( function (t) { return e((0, i.P_)(t)); }, [e] ), w = (0, r.useCallback)( function () { return e((0, i.TM)()); }, [e] ), S = (0, r.useCallback)( function () { return e((0, i.j4)(n, { cacheComments: c, latestMobileEnabled: h })); }, [n, c, e, h] ), A = (0, r.useCallback)( function (t, r, o, a) { return e((0, i.hm)(t, r, o, a, n, { cacheComments: c, imageCapture: p })); }, [n, c, e, p] ), k = (0, r.useCallback)( function (t) { return e((0, i.uQ)(t, { cacheMetadata: c, isOffline: m, pollForUpdates: g })); }, [c, e, m, g] ), _ = (0, r.useCallback)( function (t) { return e((0, i.jS)(t, f, { enableFrameS4R: l, isBackgroundMode: s, cacheComments: c, imageCapture: p, isGlobalCommentsToggleActive: d.isActive, isOffline: m, pollForUpdates: g, selectedAssetId: y.selectedId || t.id })); }, [s, c, e, l, d.isActive, p, f, m, y.selectedId, g] ), T = (0, r.useCallback)( function (t, r, o, a) { var s = a.shouldUseAnnotationLocation; return new Promise(function (a, l) { e((0, i.kY)(t, r || n.nodeId, o, n, { cacheComments: c, shouldUseAnnotationLocation: s, imageCapture: p, dunamisEnv: b })) .then(function (e) { a(e); }) .catch(function (e) { l(e); }); }); }, [n, c, e, b, p] ), I = (0, r.useCallback)( function (t, r, o) { return e((0, i.j2)(t, r, o, n, { cacheComments: c })); }, [n, c, e] ), O = (0, r.useCallback)( function (t) { return e((0, i.fx)(t, n, { cacheComments: c })); }, [n, c, e] ), F = (0, r.useCallback)( function () { return e((0, i.Y$)(n, { cacheComments: c })); }, [n, c, e] ), x = (0, r.useCallback)( function (t) { return e((0, i.Gv)(t, n, { cacheComments: c })); }, [n, c, e] ), N = (0, r.useCallback)( function (t, n) { return e((0, i.H_)(t, n, { cacheComments: c })); }, [c, e] ); return { batchCommentsMetadataUpdate: E, batchCommentUpdate: D, clearComments: C, clearContext: w, confirmDeleteComment: S, editComment: A, fetchComments: _, fetchCommentsMetadata: k, postComment: T, replyComment: I, resolveComment: O, undoResolveComment: F, unresolveComment: x, updateCommentsData: N, }; }; }, 83896: (e, t, n) => { "use strict"; n.d(t, { Z: () => c }); var r = n(23469), o = n(23492), a = n(69088), i = n(48468), s = n(99894); const c = function () { var e = (0, r.useMemo)(i.$E, []), t = (0, r.useMemo)(i.K, []), n = (0, r.useContext)(o.ZP), c = n.annotationsMultiPageEnabled, l = n.assetData, u = n.enableReadUnread, d = n.globalCommentsToggle, p = n.groupBy, f = n.imsData, m = (0, r.useMemo)( function () { return { annotationsMultiPageEnabled: c, assetData: l, enableReadUnread: u, globalCommentsToggle: d, groupBy: p, imsData: f }; }, [c, l, u, d, p, f] ), h = (0, a.v9)(function (t) { return e(t, m); }), v = (0, a.v9)(function (e) { return t(e, m); }); return { commentCounts: v, comments: h, filteredCommentCount: h.length, hasUnmappedComments: null == v ? void 0 : v.allNodes["".concat(s.Qy)] }; }; }, 10548: (e, t, n) => { "use strict"; n.d(t, { Z: () => w }); var r = n(23469), o = n(369), a = n(95545), i = n(69522), s = n(30251), c = n(15686), l = n(99894), u = n(23492), d = n(88133), p = n(89941), f = n(69088), m = n(9097), h = n(39589), v = n(48468); function y(e) { return ( (function (e) { if (Array.isArray(e)) return g(e); })(e) || (function (e) { if (("undefined" != typeof Symbol && null != e[Symbol.iterator]) || null != e["@@iterator"]) return Array.from(e); })(e) || (function (e, t) { if (e) { if ("string" == typeof e) return g(e, t); var n = Object.prototype.toString.call(e).slice(8, -1); return "Object" === n && e.constructor && (n = e.constructor.name), "Map" === n || "Set" === n ? Array.from(e) : "Arguments" === n || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n) ? g(e, t) : void 0; } })(e) || (function () { throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); })() ); } function g(e, t) { (null == t || t > e.length) && (t = e.length); for (var n = 0, r = new Array(t); n < t; n++) r[n] = e[n]; return r; } function b(e, t) { var n = Object.keys(e); if (Object.getOwnPropertySymbols) { var r = Object.getOwnPropertySymbols(e); t && (r = r.filter(function (t) { return Object.getOwnPropertyDescriptor(e, t).enumerable; })), n.push.apply(n, r); } return n; } function E(e) { for (var t = 1; t < arguments.length; t++) { var n = null != arguments[t] ? arguments[t] : {}; t % 2 ? b(Object(n), !0).forEach(function (t) { D(e, t, n[t]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : b(Object(n)).forEach(function (t) { Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t)); }); } return e; } function D(e, t, n) { return t in e ? Object.defineProperty(e, t, { value: n, enumerable: !0, configurable: !0, writable: !0 }) : (e[t] = n), e; } var C = ["highlight", "strikethrough", "replace", "insert", "draw", "pin", "3d-pin"]; const w = function (e) { var t = (0, r.useContext)(u.ZP), n = (0, r.useContext)(d.ZP), g = n.onCommentSelect, b = n.onNodeChange, w = t.asset, S = w.asset, A = w.fetchedAssets, k = t.assetData, _ = t.latestMobileEnabled, T = k.id, I = k.nodeId, O = (0, r.useRef)(D({}, T, !1)), F = (0, p.Z)(), x = (0, f.oR)(), N = (0, f.I0)(), R = (0, m.Z)().setIsRead, L = (0, h.Z)().batchCommentUpdate, M = (0, r.useRef)(), P = (0, r.useMemo)(v.xr, []), j = (0, r.useCallback)( function (e, t, n) { var r, o, a = x.getState(), s = a["".concat(l.Bq, ":filter")].showResolvedComments; if (e) { var u, d, p, f, m, h = (0, v.v)(a, T); (r = h[e]) || P(a, T).some(function (t) { return ( t.replies.some(function (n) { return n.id === e && ((r = n), (o = t), !0); }), !!r ); }), r ? (N((0, i.lH)(T, !0)), o ? ((("resolved" === o.status && !s) || ("open" === o.status && s)) && N((0, c.Eu)()), o.repliesOpen || _ || N((0, i.jT)(o.id)), N(g({}, o, { replyId: r.id }))) : ((("resolved" === r.status && !s) || ("open" === r.status && s)) && N((0, c.Eu)()), N(g({}, r))), t({ nodeId: null === (u = (o || r).target) || void 0 === u || null === (d = u.selector) || void 0 === d || null === (p = d.node) || void 0 === p ? void 0 : p.id, sectionId: null === (f = (o || r).target) || void 0 === f || null === (m = f.selector) || void 0 === m ? void 0 : m.sectionId, supplementaryData: { assetId: T }, })) : n(new Error("unable to find requested comment")); } else N(g()), t(); }, [T, N, _, P, x, g] ); (0, r.useEffect)( function () { if (S && M.current) { var e = M.current, t = e.args, n = e.handlers, r = t.cmtId, o = n.resolve, a = n.reject; j(r, o, a), (M.current = void 0); } }, [S, j] ); var B = (0, r.useCallback)( function () { return P(x.getState(), T); }, [T, P, x] ), Z = (0, r.useCallback)( function () { var e = arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : "root"; return N((0, s.mj)(T, e, !0)); }, [T, N] ), U = (0, r.useCallback)( function () { var e = arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : "root"; return N((0, s.mj)(T, e, !1)); }, [T, N] ), z = (0, r.useCallback)( function () { return N((0, s.XH)(!0)); }, [N] ), V = (0, r.useCallback)( function (e) { return N((0, i.$k)(T, e)); }, [T, N] ), H = (0, r.useCallback)( function (e) { return N((0, a.Vs)(e)); }, [N] ), G = (0, r.useCallback)( function () { return N((0, a.Vs)(void 0)); }, [N] ), W = (0, r.useCallback)( function () { return N((0, s.Po)(void 0)); }, [N] ), Q = (0, r.useCallback)( function () { N((0, s.yC)()), N((0, s.V0)()); }, [N] ), J = (0, r.useCallback)( function (e) { R(e, T); }, [T, R] ), Y = (0, r.useCallback)( function () { var e = x.getState()["".concat(l.Bq, ":context")], t = e.isPlacingAnnotation, n = e.newAnnotationType; t && (N((0, s.V0)(!1)), F.fireEvent({ event: { subcategory: "".concat(n, "-comment"), type: "keystroke", subtype: "pin-mode-exit" } })); }, [x, N, F] ), q = (0, r.useCallback)( function (e, t) { return new Promise(function (n, r) { switch (e) { case "adobeLoginBtnClick": F.fireEvent({ event: { subcategory: "sign-in", subtype: "sign-in", type: "click" } }), n(); break; case "guestLoginBtnClick": var o = t && E({}, t); F.fireEvent({ event: E({ subcategory: "sign-in-guest", subtype: "sign-in", type: "click" }, o) }), n(); break; case "guestLoginDialogRender": F.fireEvent({ event: { subcategory: "sign-in", subtype: "sign-in", type: "render" } }), n(); break; case "guestTextBoxClick": F.fireEvent({ event: { subcategory: "sign-in-guest", subtype: "textbox", type: "click" } }), n(); break; default: r("invalid event name"); } }); }, [F] ), X = (0, r.useCallback)( function (e) { return new Promise(function (t, n) { S ? j(e, t, n) : (M.current && (0, M.current.handlers.reject)(new Error("showComment called again before previous call has resolved")), (M.current = { args: { cmtId: e }, handlers: { resolve: t, reject: n } })); }); }, [S, j] ), K = (0, r.useCallback)( function (e) { var t, n = e["3dData"], r = e.boundingBox, o = e.color, a = e.nodeId, i = e.points, c = e.sectionId, u = e.type, d = x.getState()["".concat(l.Bq, ":context")], p = d.annotationColor, f = d.newAnnotationType, m = null != a ? a : I, h = o || p, v = u || f; if ( (!o || l.uu.find(function (e) { return e.hex === o; }) || l.Kz.find(function (e) { return e.hex === o; }) || (console.warn("Annotation color ".concat(o, " is unsupported. Falling back to ").concat(p)), (h = p)), u && !C.find(function (e) { return e === u; }) && (console.warn("Annotation type ".concat(u, " is unsupported. Falling back to ").concat(f)), (v = f)), "highlight" === v || "strikethrough" === v || "replace" === v) ) { var g = i.concat([]); (g = []), i.forEach(function (e) { var t = [], n = Math.min.apply( Math, y( e.map(function (e) { return e.x; }) ) ), r = Math.min.apply( Math, y( e.map(function (e) { return e.y; }) ) ), o = Math.max.apply( Math, y( e.map(function (e) { return e.x; }) ) ), a = Math.max.apply( Math, y( e.map(function (e) { return e.y; }) ) ); t.push({ x: n, y: a }, { x: o, y: a }, { x: n, y: r }, { x: o, y: r }), g.push(t); }), (t = { subtype: v, boundingBox: [r.left, r.bottom, r.right, r.top], inkList: g, sectionId: c, strokeColor: h }); } else "insert" === v ? (t = { subtype: v, boundingBox: [i.x - 13, i.y, i.x, i.y - 18], sectionId: c, strokeColor: h, noteX: i.x, noteY: i.y }) : "draw" === v ? (t = { subtype: "shape", boundingBox: [r.left, r.bottom, r.right, r.top], inkList: i, sectionId: c, strokeColor: h }) : "pin" === v && (n ? (c && console.warn("3D annotation type does not support sectionId. Ignoring sectionId value."), (t = { subtype: "note", strokeColor: h, "3dData": n })) : (t = { subtype: "note", sectionId: c, strokeColor: h, noteX: i.x, noteY: i.y })); N((0, s.yC)(t, m)), N((0, s.V0)(!1, "root", !1, v)), h !== p && N((0, s.Iz)(h)), I !== m && b(m); }, [x, N, I, b] ), $ = (0, r.useCallback)( function (e, t) { (e && e.type && "focus" === e.type) || (O.current[(null == t ? void 0 : t.id) || T] = !1); var n = "string" == typeof t ? A.find(function (e) { return e.id === t; }) : t; n && !O.current[t.id] && n.checkForUpdates(); }, [T, A] ), ee = (0, r.useCallback)( function (e, t) { (e && e.type && "blur" === e.type) || (O.current[(null == t ? void 0 : t.id) || T] = !0), t && t.disableUpdates(); }, [T] ), te = (0, r.useCallback)(function (e) { var t = e.spectrumUIScale, n = e.theme, r = e.themeType, a = e.typekitId; return (0, o.Z)({ scale: t, spectrumTheme: r, theme: n, typekitId: a }); }, []), ne = (0, r.useMemo)( function () { return { batchCommentUpdate: L, batchCommentMetadataUpdate: J, createPendingAnnotation: K, disableComments: ee, enableComments: $, endAnnotating: Y, getComments: B, handleHostLoginEvent: q, hideEmojiPicker: W, highlightComment: H, minimizeCommentsList: z, preload: te, registerAnnotationSection: Z, remapCommentNodes: V, removePendingAnnotation: Q, showComment: X, unhighlightComment: G, unregisterAnnotationSection: U, }; }, [L, J, K, ee, $, Y, B, q, W, H, z, te, Z, V, Q, X, G, U] ); return ( (0, r.useEffect)( function () { e && e(); }, [ne, e] ), ne ); }; }, 89941: (e, t, n) => { "use strict"; n.d(t, { Z: () => d }); var r = n(94055), o = n(23469), a = n(23492), i = n(99894), s = n(56841); function c(e, t) { var n = Object.keys(e); if (Object.getOwnPropertySymbols) { var r = Object.getOwnPropertySymbols(e); t && (r = r.filter(function (t) { return Object.getOwnPropertyDescriptor(e, t).enumerable; })), n.push.apply(n, r); } return n; } function l(e) { for (var t = 1; t < arguments.length; t++) { var n = null != arguments[t] ? arguments[t] : {}; t % 2 ? c(Object(n), !0).forEach(function (t) { u(e, t, n[t]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : c(Object(n)).forEach(function (t) { Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t)); }); } return e; } function u(e, t, n) { return t in e ? Object.defineProperty(e, t, { value: n, enumerable: !0, configurable: !0, writable: !0 }) : (e[t] = n), e; } const d = function () { var e = (0, r.useCCXIngest)(i.FH), t = (0, o.useContext)(a.ZP).backgroundModeEnabled, n = (0, o.useCallback)( function (e) { return s.Z.commentsRenderEventHelper(e, t); }, [t] ); return (e.events = l(l({}, s.Z), {}, { commentsRenderEvent: n })), e; }; }, 24124: (e, t, n) => { "use strict"; n.d(t, { Mi: () => C, ZP: () => w }); var r = n(23469), o = n(25343), a = n(57305), i = n.n(a), s = n(90353), c = n(99894), l = n(23492); function u(e, t) { var n = Object.keys(e); if (Object.getOwnPropertySymbols) { var r = Object.getOwnPropertySymbols(e); t && (r = r.filter(function (t) { return Object.getOwnPropertyDescriptor(e, t).enumerable; })), n.push.apply(n, r); } return n; } function d(e) { for (var t = 1; t < arguments.length; t++) { var n = null != arguments[t] ? arguments[t] : {}; t % 2 ? u(Object(n), !0).forEach(function (t) { p(e, t, n[t]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : u(Object(n)).forEach(function (t) { Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t)); }); } return e; } function p(e, t, n) { return t in e ? Object.defineProperty(e, t, { value: n, enumerable: !0, configurable: !0, writable: !0 }) : (e[t] = n), e; } function f(e, t) { return ( (function (e) { if (Array.isArray(e)) return e; })(e) || (function (e, t) { var n = null == e ? null : ("undefined" != typeof Symbol && e[Symbol.iterator]) || e["@@iterator"]; if (null != n) { var r, o, a = [], i = !0, s = !1; try { for (n = n.call(e); !(i = (r = n.next()).done) && (a.push(r.value), !t || a.length !== t); i = !0); } catch (e) { (s = !0), (o = e); } finally { try { i || null == n.return || n.return(); } finally { if (s) throw o; } } return a; } })(e, t) || m(e, t) || (function () { throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); })() ); } function m(e, t) { if (e) { if ("string" == typeof e) return h(e, t); var n = Object.prototype.toString.call(e).slice(8, -1); return "Object" === n && e.constructor && (n = e.constructor.name), "Map" === n || "Set" === n ? Array.from(e) : "Arguments" === n || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n) ? h(e, t) : void 0; } } function h(e, t) { (null == t || t > e.length) && (t = e.length); for (var n = 0, r = new Array(t); n < t; n++) r[n] = e[n]; return r; } var v, y = new o.Client(), g = 0, b = [429, 503], E = function () { var e = arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : {}; return { addressBookUrn: i()(e, "addressBookUrn"), id: i()(e, "linkedIdentity"), email: i()(e, "email") }; }, D = function () { var e = arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : "", t = arguments.length > 1 && void 0 !== arguments[1] ? arguments[1] : {}, n = t.shareStatus, r = void 0 === n ? "unshared" : n; if (g > 0) return Promise.reject(); var o = { peopleType: "PERSON", relationship: "MENTION", resourceType: t.mimeType, resourceUrn: t.id, resourceUrl: t.url, searchText: e, tags: ["OWNER", "COLLABORATOR"] }; return ( ("public" !== r && "orgShared" !== r) || o.tags.push("ANNOTATOR"), y .getSuggestions(o) .then(function (e) { if (e && e.error) throw e; return (function () { return (arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : []).map(function (e) { var t = i()(e, "caption"); return { email: (0, s.vV)(t) ? t : "", src: i()(e, "_links.thumbnail.href"), name: i()(e, "title"), token: i()(e, "token"), tags: i()(e, "tags"), type: i()(e, "type"), orgName: i()(e, "organization") || "" }; }); })(e); }) .catch(function (e) { var t; return ( b.includes(null == e || null === (t = e.response) || void 0 === t ? void 0 : t.status) && ((g = (function (e) { if (!e || !e.headers) return 0; var t = e.headers.get("Retry-After"); if (!t) return 0; var n = parseInt(t, 10); return Number.isFinite(n) ? 1e3 * n : 0; })(e.response)), clearTimeout(v), (v = setTimeout(function () { g = 0; }, g))), console.warn(e), [] ); }) ); }, C = function () { var e = (0, r.useContext)(l.ZP), t = e.assetData, n = e.environment, o = e.imsData, a = e.invitationServiceAccessToken, i = e.mentionsEnabled, s = e.peopleGraphAPIKey; (0, r.useEffect)( function () { !o.token || o.isGuestUser || t.isFrameArtifact || (function (e, t, n, r, o) { var a = { apiKey: n, environment: "mock" === t || "dev" === t ? "stage" : t, token: null == e ? void 0 : e.token, acceptHeaderVersion: "V2", accessToken: o }; y.configure(a), D("", r); })(o, n, s, t, a); }, [t.id, t.mimeType, t.url, t.shareStatus, o.token, a, n, i, s] ); }; function w() { var e = arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : [], t = f((0, r.useState)([]), 2), n = t[0], o = t[1], a = f((0, r.useState)(e), 2), u = a[0], p = a[1], v = (0, r.useRef)(""), g = (0, r.useRef)(!1), b = (0, r.useRef)(!1), C = (0, r.useContext)(l.ZP).assetData, w = (0, r.useCallback)( function (e, t) { var n = e.substring(0, t), r = (0, s.uV)(n, c.xA); if (r >= 0) { var a = n.substring(r, t); if (-1 !== a.search(/\s{2,}/g)) return !1; var i = u.filter(function (e) { return a.includes(e.name); }); if ((i.length && (r += i[0].name.length), e.substring(r, t).includes(v.current) && !1 === g.current && !1 === b.current && (r += v.current.length), 0 === e.substring(r, t).indexOf("@"))) { (v.current = e.substring(r + 1, t)), (b.current = !0); var l = v.current; return ( D(l, C) .then(function (e) { l === v.current && ((g.current = !!e.length), o(e), (b.current = !1)); }) .catch(function (e) { l === v.current && ((v.current = ""), (g.current = !1), o([]), (b.current = !1), console.warn(e)); }), !0 ); } } return !1; }, [u, C] ), S = (0, r.useCallback)( function (e) { return y .acceptTokens([e.token]) .then(function (t) { if (t && t.error) throw t; var n, r = E(i()(t, "successes[0]")), o = d(d({}, e), r); o.id && (u.some(function (e) { return e.addressBookUrn === o.addressBookUrn; }) || p( [].concat( (function (e) { if (Array.isArray(e)) return h(e); })((n = u)) || (function (e) { if (("undefined" != typeof Symbol && null != e[Symbol.iterator]) || null != e["@@iterator"]) return Array.from(e); })(n) || m(n) || (function () { throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); })(), [o] ) )); }) .catch(function (e) { console.warn(e); }); }, [u] ); return { suggestions: n, acceptedSuggestions: u, getSuggestionsFromInput: w, acceptSuggestion: S }; } }, 82950: (e, t, n) => { "use strict"; n.d(t, { Z: () => i }); var r = n(23469), o = n(87220), a = n.n(o); const i = function (e) { var t = (0, r.useRef)(); return ( (0, r.useEffect)(function () { a()(e, t.current) || (t.current = e); }), t.current ); }; }, 9097: (e, t, n) => { "use strict"; n.d(t, { Z: () => f }); var r = n(23469), o = n(23492), a = n(69088), i = n(15686), s = n(39589), c = n(48468), l = n(99894); function u(e, t) { var n = Object.keys(e); if (Object.getOwnPropertySymbols) { var r = Object.getOwnPropertySymbols(e); t && (r = r.filter(function (t) { return Object.getOwnPropertyDescriptor(e, t).enumerable; })), n.push.apply(n, r); } return n; } function d(e) { for (var t = 1; t < arguments.length; t++) { var n = null != arguments[t] ? arguments[t] : {}; t % 2 ? u(Object(n), !0).forEach(function (t) { p(e, t, n[t]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : u(Object(n)).forEach(function (t) { Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t)); }); } return e; } function p(e, t, n) { return t in e ? Object.defineProperty(e, t, { value: n, enumerable: !0, configurable: !0, writable: !0 }) : (e[t] = n), e; } const f = function () { var e = (0, a.I0)(), t = (0, a.v9)(function (e) { return e["".concat(l.Bq, ":filter")].filterTime; }), n = (0, a.v9)(function (e) { return e["".concat(l.Bq, ":filter")].filterUsers; }), u = (0, a.v9)(function (e) { return e["".concat(l.Bq, ":filter")].showResolvedComments; }), p = (0, a.v9)(function (e) { return e["".concat(l.Bq, ":filter")].showUnreadComments; }), f = t.length > 0 || n.length > 0 || u || p, m = (0, r.useContext)(o.ZP), h = m.assetData, v = m.enableReadUnread, y = m.imsData, g = m.isOffline, b = m.localCommentMetadataMapRef, E = m.unreadCommentOverrideMapRef, D = (0, a.v9)(c.o8), C = (0, a.v9)(c.BE), w = C[h.id], S = (0, a.v9)(c.QO), A = (0, a.v9)(c.v), k = (0, s.Z)().batchCommentsMetadataUpdate, _ = (0, r.useCallback)( function (e) { var t = e.id, n = e.creator, r = null == t ? void 0 : t.toLowerCase(); (void 0 === (null == y ? void 0 : y.id) || y.id !== n.id) && v && delete b.current[r]; }, [v, y, b] ), T = (0, r.useCallback)( function (e) { var t, n = arguments.length > 1 && void 0 !== arguments[1] ? arguments[1] : w, r = e.id, o = e.creator, a = r.toLowerCase(), i = void 0 !== (null == y ? void 0 : y.id) && y.id === o.id; return !v || !n || i || (null === (t = D[a]) || void 0 === t ? void 0 : t.read) || !1; }, [w, v, y, D] ), I = (0, r.useCallback)( function (e) { var t, n = e.id, r = e.creator, o = null == n ? void 0 : n.toLowerCase(), a = void 0 !== (null == y ? void 0 : y.id) && y.id === r.id; return !v || a || (null === (t = b.current[o]) || void 0 === t ? void 0 : t.read) || !1; }, [v, y, b] ), O = (0, r.useCallback)( function (t, n) { var r = arguments.length > 2 && void 0 !== arguments[2] ? arguments[2] : {}, o = r.explicitlySet, a = r.overrideExplicitlySet, s = r.recursive, c = {}; return v ? (Object.keys(t).forEach(function (e) { var n = e.toLowerCase(), r = t[e]; (o || a || !E.current[n]) && (c[n] = r), o && (E.current[n] = r); }), Object.keys(c).length ? (g ? ((b.current = d(d({}, b.current), c)), Promise.resolve()) : (f && e((0, i.ay)(c)), k(c, n, s))) : Promise.resolve()) : Promise.resolve(); }, [k, e, v, f, g, b, E] ), F = (0, r.useCallback)( function (e, t) { var n = e.id, r = e.creator, o = null == n ? void 0 : n.toLowerCase(); (void 0 === (null == y ? void 0 : y.id) || y.id !== r.id) && v && (b.current[o] = { read: t }); }, [v, y, b] ); return { clearIsReadLocally: _, hasUnreadComments: (0, r.useCallback)( function (e) { var t = C[e], n = S[e]; return null == n ? void 0 : n.some(function (e) { var n, r = A[e]; return ( !T(r, t) || (null === (n = r.replies) || void 0 === n ? void 0 : n.some(function (e) { return !T(e, t); })) ); }); }, [S, A, T, C] ), isRead: T, isReadLocally: I, setIsRead: O, setIsReadLocally: F, }; }; }, 8605: (e, t, n) => { "use strict"; n.d(t, { Z: () => f }); var r = n(23469), o = n(67961); function a(e, t) { var n = Object.keys(e); if (Object.getOwnPropertySymbols) { var r = Object.getOwnPropertySymbols(e); t && (r = r.filter(function (t) { return Object.getOwnPropertyDescriptor(e, t).enumerable; })), n.push.apply(n, r); } return n; } function i(e) { for (var t = 1; t < arguments.length; t++) { var n = null != arguments[t] ? arguments[t] : {}; t % 2 ? a(Object(n), !0).forEach(function (t) { s(e, t, n[t]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : a(Object(n)).forEach(function (t) { Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t)); }); } return e; } function s(e, t, n) { return t in e ? Object.defineProperty(e, t, { value: n, enumerable: !0, configurable: !0, writable: !0 }) : (e[t] = n), e; } function c(e, t) { return ( (function (e) { if (Array.isArray(e)) return e; })(e) || (function (e, t) { var n = null == e ? null : ("undefined" != typeof Symbol && e[Symbol.iterator]) || e["@@iterator"]; if (null != n) { var r, o, a = [], i = !0, s = !1; try { for (n = n.call(e); !(i = (r = n.next()).done) && (a.push(r.value), !t || a.length !== t); i = !0); } catch (e) { (s = !0), (o = e); } finally { try { i || null == n.return || n.return(); } finally { if (s) throw o; } } return a; } })(e, t) || (function (e, t) { if (e) { if ("string" == typeof e) return l(e, t); var n = Object.prototype.toString.call(e).slice(8, -1); return "Object" === n && e.constructor && (n = e.constructor.name), "Map" === n || "Set" === n ? Array.from(e) : "Arguments" === n || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n) ? l(e, t) : void 0; } })(e, t) || (function () { throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); })() ); } function l(e, t) { (null == t || t > e.length) && (t = e.length); for (var n = 0, r = new Array(t); n < t; n++) r[n] = e[n]; return r; } var u = "unknown-owner", d = "unknown", p = "unshared"; const f = function (e, t, n) { var a = arguments.length > 3 && void 0 !== arguments[3] ? arguments[3] : {}, l = a.id, f = a.token, m = c((0, r.useState)({}), 2), h = m[0], v = m[1], y = c((0, r.useState)(), 2), g = y[0], b = y[1], E = (0, r.useCallback)( function () { var r = "dev" === n ? "stage" : n, a = new o.ShareService({ token: f, environment: r, apiKey: t, apiVersion: "V4" }), c = "stage" === n ? "https://cc-api-storage-stage.adobe.io/id/" : "https://cc-api-storage.adobe.io/id/"; try { a.get({ resourceUrl: "".concat(c).concat(e) }) .then(function (t) { var n = p, r = !1, o = !1, a = !1, c = u; t.collaborators .map(function (e) { var t = e.additionalData, n = e.id, r = e.inheritances, o = e.role; return { id: ("addressBookContact" === e.type ? (null == t ? void 0 : t.linkedIdentity) : n) || n, inheritances: r, role: o }; }) .filter(function (e) { var t; return !(1 === (null === (t = e.inheritances) || void 0 === t ? void 0 : t.length) && "deep_override" === e.inheritances[0] && e.id.toLowerCase() !== (null == l ? void 0 : l.toLowerCase())) && "none" !== e.role; }) .forEach(function (e) { "all" === e.id || "allWithPassword" === e.id ? (r = !0) : "orgEverybody" === e.id ? (o = !0) : "owner" === e.role ? (c = e.id) : (a = !0); }), r ? (n = "public") : o ? (n = "orgShared") : a && (n = "shared"), "unshared" === n && t.invitations.length && (n = "shared"), b(c), v(function (t) { return i(i({}, t), {}, s({}, e, n)); }); }) .catch(function (t) { console.warn("Error fetching /share. User is not owner or collaborator", t), b(u), v(function (t) { return i(i({}, t), {}, s({}, e, p)); }); }); } catch (t) { console.warn("Error fetching share for: ".concat(e), t), v(function (t) { return i(i({}, t), {}, s({}, e, p)); }); } }, [t, n, e, l, f] ), D = (0, r.useCallback)( function () { e && t && n && f && (v(s({}, e, d)), E()); }, [t, n, E, e, f] ); return ( (0, r.useEffect)( function () { e && !h[e] && t && n && f && (v(function (t) { return i(i({}, t), {}, s({}, e, d)); }), E()); }, [t, n, E, h, e, f] ), { shareStatuses: h, shareStatus: h[e] || d, reconfigureShareStatus: D, ownerId: g } ); }; }, 35234: (e, t, n) => { "use strict"; function r(e, t) { var n = Object.keys(e); if (Object.getOwnPropertySymbols) { var r = Object.getOwnPropertySymbols(e); t && (r = r.filter(function (t) { return Object.getOwnPropertyDescriptor(e, t).enumerable; })), n.push.apply(n, r); } return n; } function o(e) { for (var t = 1; t < arguments.length; t++) { var n = null != arguments[t] ? arguments[t] : {}; t % 2 ? r(Object(n), !0).forEach(function (t) { a(e, t, n[t]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : r(Object(n)).forEach(function (t) { Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t)); }); } return e; } function a(e, t, n) { return t in e ? Object.defineProperty(e, t, { value: n, enumerable: !0, configurable: !0, writable: !0 }) : (e[t] = n), e; } function i(e, t) { for (var n = 0; n < t.length; n++) { var r = t[n]; (r.enumerable = r.enumerable || !1), (r.configurable = !0), "value" in r && (r.writable = !0), Object.defineProperty(e, r.key, r); } } n.d(t, { Z: () => s }); const s = new ((function () { function e() { return ( (function (e, t) { if (!(e instanceof t)) throw new TypeError("Cannot call a class as a function"); })(this, e), e.instance ? e.instance : ((this.shouldExpire = !0), (this.expirationDuration = 2592e6), (this.data = o({ keys: [], items: {}, createdTimeStamps: [] }, this.shouldExpire && { expiringTimeStamps: [] })), (this.LS = localStorage), (this.namespace = "ccx-comments"), (e.instance = this), this) ); } var t, n; return ( (t = e), (n = [ { key: "configure", value: function () { var e, t = arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : {}; if (((this.shouldExpire = void 0 === t.shouldExpire || t.shouldExpire), (this.expirationDuration = 1e3 * (t.expirationDuration ? t.expirationDuration : 2592e3)), t.namespace && t.namespace !== this.namespace)) { this.namespace = t.namespace; var n = this.LS.getItem(this.namespace); try { e = JSON.parse(n); } catch (t) { e = n; } } e && Object.prototype.hasOwnProperty.call(e, "keys") && Object.prototype.hasOwnProperty.call(e, "items") && ((this.shouldExpire && !e.expiringTimeStamps) || (!this.shouldExpire && e.expiringTimeStamps) ? this.empty() : (this.data = e)); }, }, { key: "trySave", value: function () { try { return this.LS.setItem(this.namespace, JSON.stringify(this.data)), !0; } catch (e) { return 18 !== e.code && 21 !== e.code && 22 !== e.code && 1014 !== e.code && -2147024882 !== e.number && (console.error("Error with localStorage:".concat(e)), !0); } }, }, { key: "removeFirstIn", value: function () { var e = this.data.keys.pop(), t = o({ key: e, value: this.data.items[e], createdTimeStamps: this.data.createdTimeStamps.pop() }, this.shouldExpire && { expiringTimeStamps: this.data.expiringTimeStamps.pop() }); return delete this.data.items[e], t; }, }, { key: "save", value: function () { for (var e = []; !this.trySave(); ) this.data.keys.length ? e.push(this.removeFirstIn()) : console.error("All items removed from ".concat(this.namespace, ", still can't save.")); return e; }, }, { key: "set", value: function (e, t) { this.data.items[e] = t; var n = this.data.keys.indexOf(e); return ( n > -1 && (this.data.keys.splice(n, 1), this.shouldExpire && this.data.expiringTimeStamps.splice(n, 1), this.data.createdTimeStamps.splice(n, 1)), this.data.keys.unshift(e), this.shouldExpire && this.data.expiringTimeStamps.unshift(Date.now() + this.expirationDuration), this.data.createdTimeStamps.unshift(Date.now()), this.save(), this ); }, }, { key: "get", value: function (e) { if (!e) return { keys: this.data.keys, data: this.data.items, createdTimeStamp: this.data.createdTimeStamps }; var t = this.data.keys.indexOf(e); if (!this.shouldExpire) return { data: this.data.items[e], createdTimeStamp: this.data.createdTimeStamps[t] }; if (this.data.expiringTimeStamps && t > -1) { var n = this.data.expiringTimeStamps[t]; return Date.now() < n ? { data: this.data.items[e], createdTimeStamp: this.data.createdTimeStamps[t] } : void this.remove(e); } }, }, { key: "keys", value: function () { return this.data.keys || []; }, }, { key: "has", value: function (e) { return -1 !== this.data.keys.indexOf(e); }, }, { key: "remove", value: function (e) { var t = this; return null !== e && this.data.keys ? (this.data.keys.forEach(function (n, r) { n === e && (t.data.keys.splice(r, 1), t.shouldExpire && t.data.expiringTimeStamps.splice(r, 1), t.data.createdTimeStamps.splice(r, 1), delete t.data.items[n]); }, this), this.save(), this) : this; }, }, { key: "empty", value: function () { return (this.data = o({ keys: [], items: {}, createdTimeStamps: [] }, this.shouldExpire && { expiringTimeStamps: [] })), this.save(), this; }, }, ]), n && i(t.prototype, n), Object.defineProperty(t, "prototype", { writable: !1 }), e ); })())(); }, 56841: (e, t, n) => { "use strict"; n.d(t, { Z: () => i }); var r = n(43235), o = n.n(r), a = { commentsLoad: { event: { subcategory: "navigation", subtype: "comment-load" } }, commentsRender: { event: { subcategory: "navigation", subtype: "comment" } }, noComments: { event: { subcategory: "navigation", subtype: "no-comments" } }, frameReview: { event: { subcategory: "navigation", subtype: "frame-review-link" } }, noReviewAccess: { event: { subcategory: "navigation", subtype: "no-review-access" } }, offline: { event: { subcategory: "navigation", subtype: "offline" } }, }; const i = { annotationToggleHidden: { event: { subcategory: "filter", subtype: "annotation-toggle-hidden", type: "click" } }, annotationToggleVisible: { event: { subcategory: "filter", subtype: "annotation-toggle-visible", type: "click" } }, backToReadUnread: { event: { subcategory: "filter", subtype: "back-to-readUnread", type: "click" } }, backToUnresolved: { event: { subcategory: "filter", subtype: "back-to-unresolved", type: "click" } }, clearFilters: { event: { subcategory: "filter", subtype: "clear-filters", type: "click" } }, closeComponent: { event: { subcategory: "navigation", subtype: "close-component", type: "click" } }, closeItemByType: function (e) { return { event: { subcategory: "navigation", subtype: "close-".concat(e), type: "click" } }; }, commentsFailedToLoad: function (e, t, n) { return { event: { subcategory: "navigation", subtype: "error", type: n ? "background" : "render", error_code: e, error_type: t, error_desc: "comments-failed-to-load" } }; }, commentsFailedToPost: function (e, t) { return { event: { subtype: "error", type: "render", error_code: e, error_type: t, error_desc: arguments.length > 2 && void 0 !== arguments[2] && arguments[2] ? "reply-failed-to-post" : "comment-failed-to-post" } }; }, commentsRenderEventHelper: function (e, t) { var n = a[e]; if (n) return o()({}, n, { event: { type: t ? "background" : "render" } }); }, emojiSelectFromInput: function (e) { return { event: { subcategory: "navigation", subtype: "emoji-input", type: "type".concat(e.colons) } }; }, emojiSelectFromPicker: function (e) { return { event: { subcategory: "navigation", subtype: "emoji-component", type: "click".concat(e.colons) } }; }, filterHide: { event: { subcategory: "filter", subtype: "filter-hide", type: "click" } }, filterShow: { event: { subcategory: "filter", subtype: "filter-show", type: "click" } }, filterTime: function (e) { return { event: { subcategory: "filter", subtype: "filter-time", type: "click" }, custom: { collab: { filter_type: "time", subfilter_type: e.toString() } } }; }, filterUser: { event: { subcategory: "filter", subtype: "filter-user", type: "click" } }, generalError: function (e, t) { return { event: { subcategory: "general-error", subtype: "error", type: "render", error_type: t.message && t.message.replace(/\s/g, "-"), error_desc: "comments-js-error", build: e } }; }, maximizeComponent: { event: { subcategory: "navigation", subtype: "maximize-component", type: "click" } }, multipleAssetsDropdownChange: { event: { subcategory: "navigation", subtype: "multiple-conversation", type: "click" } }, multipleAssetsDropdownRender: { event: { subcategory: "navigation", subtype: "multiple-conversation", type: "render" } }, clickAssetUrl: { event: { subcategory: "navigation", subtype: "open-url", type: "click" } }, copyAssetUrl: { event: { subcategory: "navigation", subtype: "copy-url", type: "click" } }, shareAssetUrl: function (e) { return { event: { subcategory: "navigation", subtype: e, type: "click" } }; }, showGlobal: { event: { subcategory: "filter", subtype: "show-global", type: "click" } }, showNonGlobal: { event: { subcategory: "filter", subtype: "show-non-global", type: "click" } }, viewResolved: { event: { subcategory: "filter", subtype: "view-resolved", type: "click" } }, viewUnread: { event: { subcategory: "filter", subtype: "view-unread", type: "click" } }, }; }, 93056: (e, t, n) => { "use strict"; n.d(t, { Z: () => u }); var r = n(23469), o = n.n(r), a = n(47776), i = n.n(a); function s(e, t) { (null == t || t > e.length) && (t = e.length); for (var n = 0, r = new Array(t); n < t; n++) r[n] = e[n]; return r; } n(23613); var c = function (e) { var t = e.size; return o().createElement( "svg", { viewBox: "-811 7301 18 18", "aria-hidden": "true", className: "spectrum-Icon", focusable: "false", role: "img", fill: "currentColor", style: "S" === t ? { position: "absolute", top: "var( --ccx-comments-custom-icon-position)", left: "var( --ccx-comments-custom-icon-position)", width: "var(--ccx-comments-annotation-toolbar-icon-size)", height: "var(--ccx-comments-annotation-toolbar-icon-size)", } : { display: "flex", width: "var(--ccx-comments-annotation-marker-icon-size)", height: "var(--ccx-comments-annotation-marker-icon-size)" }, }, o().createElement("path", { "data-name": "Path 483", d: "M-806.29 7310.66l3.5 3.177c-.106.117-.2.22-.273.294a1.224 1.224 0 0 1-.858.249h-.137a4.805 4.805 0 0 0-3.008 1.447l-.771-.639a5.877 5.877 0 0 0 1.054-3.321 1.474 1.474 0 0 1 .249-.937 3.574 3.574 0 0 1 .244-.27zm8.253-8.335l-7.986 6.522s-1.263 1.1-1.395 1.231a2.607 2.607 0 0 0-.586 1.886 5.045 5.045 0 0 1-.983 2.744l-1.614 1.9a.209.209 0 0 0 .115.376l2.782.765a.723.723 0 0 0 .638-.188l.29-.331a4.718 4.718 0 0 1 2.721-1.629h.137a2.39 2.39 0 0 0 1.732-.616c.114-.116.267-.285.427-.467.062-.024 7.086-9.02 7.086-9.02a1.05 1.05 0 0 0-.159-1.518l-1.68-1.609a1.049 1.049 0 0 0-1.525-.046zm-7.986 6.522z", }) ); }, l = function (e) { var t, n, a, i = e.size; return ( ((n = (0, r.useState)(!1)), (a = 2), (function (e) { if (Array.isArray(e)) return e; })(n) || (function (e, t) { var n = null == e ? null : ("undefined" != typeof Symbol && e[Symbol.iterator]) || e["@@iterator"]; if (null != n) { var r, o, a = [], i = !0, s = !1; try { for (n = n.call(e); !(i = (r = n.next()).done) && (a.push(r.value), !t || a.length !== t); i = !0); } catch (e) { (s = !0), (o = e); } finally { try { i || null == n.return || n.return(); } finally { if (s) throw o; } } return a; } })(n, a) || (function (e, t) { if (e) { if ("string" == typeof e) return s(e, t); var n = Object.prototype.toString.call(e).slice(8, -1); return "Object" === n && e.constructor && (n = e.constructor.name), "Map" === n || "Set" === n ? Array.from(e) : "Arguments" === n || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n) ? s(e, t) : void 0; } })(n, a) || (function () { throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); })())[1], (0, r.useEffect)(function () {}, []), null !== (t = window.customElements) && void 0 !== t && t.get("ccx-comments-icon-highlight") ? o().createElement("ccx-comments-icon-highlight", { size: i }) : o().createElement(c, { size: i }) ); }; (l.propTypes = { size: i().string }), (c.propTypes = { size: i().string }); const u = l; }, 77271: (e, t, n) => { "use strict"; n.d(t, { Z: () => u }); var r = n(23469), o = n.n(r), a = n(47776), i = n.n(a); function s(e, t) { (null == t || t > e.length) && (t = e.length); for (var n = 0, r = new Array(t); n < t; n++) r[n] = e[n]; return r; } n(23613); var c = function (e) { var t = e.size; return o().createElement( "svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 18 18", "aria-hidden": "true", className: "spectrum-Icon", fill: "currentColor", style: "S" === t ? { position: "absolute", top: "var( --ccx-comments-custom-icon-position)", left: "var( --ccx-comments-custom-icon-position)", width: "var(--ccx-comments-annotation-toolbar-icon-size)", height: "var(--ccx-comments-annotation-toolbar-icon-size)", } : { display: "flex", width: "var(--ccx-comments-annotation-marker-icon-size)", height: "var(--ccx-comments-annotation-marker-icon-size)" }, }, o().createElement( "g", null, o().createElement("path", { d: "M14.5 2C14.7761424 2 15 2.22385763 15 2.5L15 2.5 15 5.5C15 5.77614237 14.7761424 6 14.5 6L14.5 6 13.5 6C13.2238576 6 13 5.77614237 13 5.5L13 5.5 13 4 9 4 9 13 9.991 13 9.07376 13.8827459C9 13.9561859 9 14.0315459 9 14.1062659L9 15 5.5 15C5.25454011 15 5.05039163 14.8231248 5.00805567 14.5898756L5 14.5 5 13.5C5 13.2238576 5.22385763 13 5.5 13L5.5 13 7 13 7 4 3 4 3 5.5C3 5.77614237 2.77614237 6 2.5 6L2.5 6 1.5 6C1.22385763 6 1 5.77614237 1 5.5L1 5.5 1 2.5C1 2.22385763 1.22385763 2 1.5 2L1.5 2zM14.0032 10.6003459C13.91136 10.6003459 13.82 10.6374659 13.74688 10.7133059L10.07376 14.4456259C10 14.5190659 10 14.5944259 10 14.6691459L10 16.6272259C10 16.8510659 10.1472 17.0003459 10.36752 17.0003459L11.96752 17.0003459C12.1136 17.0003459 12.18704 17.0003459 12.26016 16.9257859L14.0152 15.1062659 15.7336 16.9257859C15.80672 17.0003459 15.95392 17.0003459 16.02688 17.0003459L17.65152 17.0003459C17.87184 17.0003459 17.97728 16.9269059 18 16.6272259L18 14.6691459C18 14.5952259 18 14.5203459 17.92656 14.4456259L14.26096 10.7133059C14.18752 10.6374659 14.09536 10.6003459 14.0032 10.6003459z", }) ) ); }, l = function (e) { var t, n, a, i = e.size; return ( ((n = (0, r.useState)(!1)), (a = 2), (function (e) { if (Array.isArray(e)) return e; })(n) || (function (e, t) { var n = null == e ? null : ("undefined" != typeof Symbol && e[Symbol.iterator]) || e["@@iterator"]; if (null != n) { var r, o, a = [], i = !0, s = !1; try { for (n = n.call(e); !(i = (r = n.next()).done) && (a.push(r.value), !t || a.length !== t); i = !0); } catch (e) { (s = !0), (o = e); } finally { try { i || null == n.return || n.return(); } finally { if (s) throw o; } } return a; } })(n, a) || (function (e, t) { if (e) { if ("string" == typeof e) return s(e, t); var n = Object.prototype.toString.call(e).slice(8, -1); return "Object" === n && e.constructor && (n = e.constructor.name), "Map" === n || "Set" === n ? Array.from(e) : "Arguments" === n || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n) ? s(e, t) : void 0; } })(n, a) || (function () { throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); })())[1], (0, r.useEffect)(function () {}, []), null !== (t = window.customElements) && void 0 !== t && t.get("ccx-comments-icon-insert") ? o().createElement("ccx-comments-icon-insert", { size: i }) : o().createElement(c, { size: i }) ); }; (l.propTypes = { size: i().string }), (c.propTypes = { size: i().string }); const u = l; }, 10326: (e, t, n) => { "use strict"; n.d(t, { Z: () => u }); var r = n(23469), o = n.n(r), a = n(47776), i = n.n(a); function s(e, t) { (null == t || t > e.length) && (t = e.length); for (var n = 0, r = new Array(t); n < t; n++) r[n] = e[n]; return r; } n(23613); var c = function (e) { var t = e.size; return o().createElement( "svg", { xmlns: "http://www.w3.org/2000/svg", width: "S" === t ? 18 : 12, height: "S" === t ? 18 : 12, viewBox: "0 0 18 18", "aria-hidden": "true", className: "spectrum-Icon", fill: "currentColor", style: "S" === t ? { position: "absolute", top: "var( --ccx-comments-custom-icon-position)", left: "var( --ccx-comments-custom-icon-position)", width: "var(--ccx-comments-annotation-toolbar-icon-size)", height: "var(--ccx-comments-annotation-toolbar-icon-size)", } : { display: "flex", width: "var(--ccx-comments-annotation-marker-icon-size)", height: "var(--ccx-comments-annotation-marker-icon-size)" }, }, o().createElement( "g", null, o().createElement("path", { d: "M8.5 14L8 14 8 11 6 11 6 14 4.5 14C4.22385763 14 4 14.2238576 4 14.5L4 15.5C4 15.7761424 4.22385763 16 4.5 16L8.5 16C8.77614237 16 9 15.7761424 9 15.5L9 14.5C9 14.2238576 8.77614237 14 8.5 14zM13.5 2L.5 2C.223857625 2 0 2.22385763 0 2.5L0 5.5C0 5.77614237.223857625 6 .5 6L1.5 6C1.77614237 6 2 5.77614237 2 5.5L2 4 6 4 6 8 8 8 8 4 12 4 12 5.5C12 5.77614237 12.2238576 6 12.5 6L13.5 6C13.7761424 6 14 5.77614237 14 5.5L14 2.5C14 2.22385763 13.7761424 2 13.5 2zM.25 9L8.75 9C8.88807119 9 9 9.11192881 9 9.25L9 9.75C9 9.88807119 8.88807119 10 8.75 10L.25 10C.111928813 10 1.69088438e-17 9.88807119 0 9.75L0 9.25C-1.69088438e-17 9.11192881.111928813 9 .25 9z", }), o().createElement("path", { d: "M11.9825422,11.2222224 C11.9825422,11.0994668 12.0819201,11 12.2047647,11 L15.7934992,11 C15.9163438,11 16.0157216,11.0994668 16.0157216,11.2222224 L16.0157216,11.7873744 C16.0157216,11.9101301 15.9163438,12.0095968 15.7934992,12.0095968 L12.2047647,12.0095968 C12.0819201,12.0095968 11.9825422,11.9101301 11.9825422,11.7873744 L11.9825422,11.2222224 Z M11.9798416,13.2080442 C11.9798416,13.0852885 12.0792195,12.9858218 12.202064,12.9858218 L14.7880015,12.9858218 C14.9108461,12.9858218 15.010224,13.0852885 15.010224,13.2080442 L15.010224,13.7834682 C15.010224,13.9062238 14.9108461,14.0056906 14.7880015,14.0056906 L12.202064,14.0056906 C12.0792195,14.0056906 11.9798416,13.9062238 11.9798416,13.7834682 L11.9798416,13.2080442 Z M17.111147,9 L10.8889193,9 C10.40083,8.99573333 10.0065186,9.39644479 9.99995665,9.88888966 L9.99995665,14.9999784 C9.99718522,15.4924233 10.4017189,15.884068 10.8889193,15.888868 L12.0103767,15.888868 C12.0103767,15.888868 12.0268212,17.1360072 12.0281545,17.7845411 C12.0287767,18.0298746 12.1787324,18.0879191 12.3523326,17.9144078 C12.965222,17.3015184 14.4709353,15.888868 14.4709353,15.888868 L17.111147,15.888868 C17.6778141,15.888868 17.9982588,15.4881566 18.0000967,14.9999784 L18.0000967,9.88888966 C18.0026144,9.39777812 17.5979029,9.00293334 17.111147,9 Z", }) ) ); }, l = function (e) { var t, n, a, i = e.size; return ( ((n = (0, r.useState)(!1)), (a = 2), (function (e) { if (Array.isArray(e)) return e; })(n) || (function (e, t) { var n = null == e ? null : ("undefined" != typeof Symbol && e[Symbol.iterator]) || e["@@iterator"]; if (null != n) { var r, o, a = [], i = !0, s = !1; try { for (n = n.call(e); !(i = (r = n.next()).done) && (a.push(r.value), !t || a.length !== t); i = !0); } catch (e) { (s = !0), (o = e); } finally { try { i || null == n.return || n.return(); } finally { if (s) throw o; } } return a; } })(n, a) || (function (e, t) { if (e) { if ("string" == typeof e) return s(e, t); var n = Object.prototype.toString.call(e).slice(8, -1); return "Object" === n && e.constructor && (n = e.constructor.name), "Map" === n || "Set" === n ? Array.from(e) : "Arguments" === n || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n) ? s(e, t) : void 0; } })(n, a) || (function () { throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); })())[1], (0, r.useEffect)(function () {}, []), null !== (t = window.customElements) && void 0 !== t && t.get("ccx-comments-icon-replace") ? o().createElement("ccx-comments-icon-replace", { size: i }) : o().createElement(c, { size: i }) ); }; (l.propTypes = { size: i().string }), (c.propTypes = { size: i().string }); const u = l; }, 90353: (e, t, n) => { "use strict"; n.d(t, { F_: () => m, Ho: () => h, Pt: () => l, RH: () => p, Rv: () => d, Rz: () => g, UW: () => s, WD: () => c, fe: () => f, gN: () => v, m8: () => u, nJ: () => a, t: () => b, uV: () => i, vV: () => y }); var r = n(99894), o = n(80963); function a(e) { return /\s/.test(e) || r.UU.indexOf(e) > -1; } function i(e, t) { var n = e, r = n.search(t), o = r; if (-1 === o) return -1; for (; -1 !== o; ) r += (o = (n = n.slice(o + 1)).search(t)) + 1; return r; } function s(e) { var t, n, r, o, i = arguments.length > 1 && void 0 !== arguments[1] ? arguments[1] : [], s = 0, c = e, l = e.toLocaleLowerCase(); return ( i.forEach(function (e) { if (e.id) { var i = e.id.replace("urn:uuid:", ""); for (n = "[@urn:userID:".concat(i, "]").toLocaleLowerCase(), r = "@".concat(e.name.replace(/ /g, "").toLocaleLowerCase()), t = l.indexOf(n), o = n, -1 === t && ((t = l.indexOf(r)), (o = r)); -1 !== t; ) a(c.charAt(t - 1)) && a(c.charAt(t + o.length)) && (c = "" .concat(c.slice(s, t), "@") .concat(e.name) .concat(c.slice(t + o.length))), (s = 0), (t = c.toLocaleLowerCase().indexOf(o, t + e.name.length)); l = c.toLocaleLowerCase(); } }), c ); } function c(e) { var t, n, r = arguments.length > 1 && void 0 !== arguments[1] ? arguments[1] : [], o = 0, i = e, s = e.toLocaleLowerCase(); return ( r.forEach(function (e) { if (e.id) { var r = e.id.replace("urn:uuid:", ""); for (n = "@".concat(e.name).toLocaleLowerCase(), t = s.indexOf(n); -1 !== t; ) a(i.charAt(t - 1)) && a(i.charAt(t + n.length)) && (i = "" .concat(i.slice(o, t), "[@urn:userID:") .concat(r, "]") .concat(i.slice(t + n.length))), (o = 0), (t = i.toLocaleLowerCase().indexOf(n, t + r.length)); s = i.toLocaleLowerCase(); } }), i ); } function l(e) { try { var t = localStorage.getItem(e); if (null === t) return; return JSON.parse(t); } catch (e) { return; } } function u(e, t) { try { var n = JSON.stringify(t); localStorage.setItem(e, n); } catch (e) {} } function d(e) { e && localStorage.removeItem(e); } function p(e) { try { var t = sessionStorage.getItem(e); if (null === t) return; return JSON.parse(t); } catch (e) { return; } } function f(e, t) { try { var n = JSON.stringify(t); sessionStorage.setItem(e, n); } catch (e) {} } function m(e) { e && sessionStorage.removeItem(e); } function h() { var e = arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : {}; return "keyup" !== e.type || e.keyCode === r.nx.ENTER || e.keyCode === r.nx.SPACE; } function v(e, t) { var n = e % t; return n < 0 && (n += t), n; } function y() { var e = arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : ""; return new RegExp( /(?:[a-z0-9!#$%&'*+/=?^_`{|}~-]+(?:\.[a-z0-9!#$%&'*+/=?^_`{|}~-]+)*|"(?:[\x01-\x08\x0b\x0c\x0e-\x1f\x21\x23-\x5b\x5d-\x7f]|\\[\x01-\x09\x0b\x0c\x0e-\x7f])*")@(?:(?:[a-z0-9](?:[a-z0-9-]*[a-z0-9])?\.)+[a-z0-9](?:[a-z0-9-]*[a-z0-9])?|\[(?:(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.){3}(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?|[a-z0-9-]*[a-z0-9]:(?:[\x01-\x08\x0b\x0c\x0e-\x1f\x21-\x5a\x53-\x7f]|\\[\x01-\x09\x0b\x0c\x0e-\x7f])+)\])/ ).test(e.toLowerCase()); } var g = function (e) { var t = /Mac/i.test(navigator.platform) ? "metaKey" : "ctrlKey"; return e.keyCode === r.nx.ENTER && e[t]; }, b = function () { var e, t; return !!((null !== (e = window.customElements) && void 0 !== e && e.get((0, o.Co)("sp-theme"))) || (null !== (t = window.customElements) && void 0 !== t && t.get("sp-theme"))); }; }, 89035: (e, t, n) => { "use strict"; n.d(t, { Jl: () => g, ZP: () => k }); var r, o = n(98634), a = n(57305), i = n.n(a), s = n(8458), c = n.n(s), l = n(35234), u = n(99894); function d(e) { return ( (function (e) { if (Array.isArray(e)) return f(e); })(e) || (function (e) { if (("undefined" != typeof Symbol && null != e[Symbol.iterator]) || null != e["@@iterator"]) return Array.from(e); })(e) || p(e) || (function () { throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); })() ); } function p(e, t) { if (e) { if ("string" == typeof e) return f(e, t); var n = Object.prototype.toString.call(e).slice(8, -1); return "Object" === n && e.constructor && (n = e.constructor.name), "Map" === n || "Set" === n ? Array.from(e) : "Arguments" === n || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n) ? f(e, t) : void 0; } } function f(e, t) { (null == t || t > e.length) && (t = e.length); for (var n = 0, r = new Array(t); n < t; n++) r[n] = e[n]; return r; } function m(e, t) { var n = Object.keys(e); if (Object.getOwnPropertySymbols) { var r = Object.getOwnPropertySymbols(e); t && (r = r.filter(function (t) { return Object.getOwnPropertyDescriptor(e, t).enumerable; })), n.push.apply(n, r); } return n; } function h(e) { for (var t = 1; t < arguments.length; t++) { var n = null != arguments[t] ? arguments[t] : {}; t % 2 ? m(Object(n), !0).forEach(function (t) { v(e, t, n[t]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : m(Object(n)).forEach(function (t) { Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t)); }); } return e; } function v(e, t, n) { return t in e ? Object.defineProperty(e, t, { value: n, enumerable: !0, configurable: !0, writable: !0 }) : (e[t] = n), e; } var y = { entities: { assets: { byId: {}, allIds: [] }, comments: { byId: {}, allIds: [] }, metadata: { byId: {}, allIds: [], updating: !1 } } }, g = { autoScroll: !1, commentPosting: !1, commentProposedForDelete: void 0, comments: [], dirtyComments: {}, errors: {}, fetching: !1, fetchingMetadata: !1, lastResolvedCommentData: void 0, metadata: void 0, mobileEditingCommentId: "", mobileEditingDraft: void 0, parentCommentId: "", postingReplyParentCommentId: "", remappedMap: {}, }, b = function (e, t) { var n = c().get(e, "entities.assets.byId.".concat(t, ".comments"), []), r = c().get(e, "entities.comments.byId"); return n.map(function (e) { return r[e]; }); }, E = function (e, t) { var n = c().get(e, "entities.assets.byId.".concat(t, ".metadata"), []), r = c().get(e, "entities.metadata.byId"); return n.reduce(function (e, t) { return (e[t] = r[t]), e; }, {}); }, D = function (e, t) { return e.find(function (e) { return e.id === t; }); }, C = function () { var e = arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : {}, t = arguments.length > 1 ? arguments[1] : void 0; return e[t.id] && void 0 !== i()(t, "target.selector.node.id") ? c().set(t, "target.selector.node.id", e[t.id].current) : t; }, w = function () { var e = arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : {}, t = arguments.length > 1 ? arguments[1] : void 0; if (!Object.keys(e).length) return t; var n = {}; return ( Object.keys(e).forEach(function (r) { var o = t[r]; o && (n[o.id] = C(e, o)); }), h(h({}, t), n) ); }, S = function (e, t) { return ( null != e && e.replies && e.replies.forEach(function (e) { if (e.dirtyEdit) { var n = D(t.replies, e.id); n && (n.dirtyEdit = e.dirtyEdit); } }), e ? h(h({}, e), t) : t ); }, A = function (e, t) { var n = t.assetId, r = t.cacheMetadata, o = t.metadata; if (!e.entities.assets.byId[n]) return e; var a = h({}, e.entities.metadata.byId); Object.keys(o).forEach(function (e) { return (a[e] = h(h({}, a[e]), o[e])); }); var i = void 0 !== c().get(e, "entities.assets.byId.".concat(n, ".metadata")), s = c().set( e, "entities.assets.byId.".concat(n, ".metadata"), i ? function (e) { return d(new Set(e.concat(Object.keys(o)))); } : Object.keys(o) ), u = c().set(s, "entities.metadata.byId", a), p = c().set(u, "entities.metadata.allIds", function (e) { return d(new Set(e.concat(Object.keys(o)))); }); if (r) { var f = (l.Z.get(n) || {}).data; l.Z.set(n, h(h({}, f), {}, { metadata: E(p, n) })); } return p; }; const k = (0, o.Z)( (v((r = {}), u.Ar.SUCCESS, function (e, t) { var n = t.assetId, r = t.cacheComments, o = t.commentsToUpdate, a = e.entities.comments.byId, i = {}; o.forEach(function (e) { var t = a[e.id]; i[e.id] = S(t, e); }); var s = c().merge(e, "entities.comments.byId", i); if (r) { var u = l.Z.get(n).data, d = b(s, n); u && l.Z.set(n, h(h({}, u), {}, { comments: d })); } return c().set(s, "entities.assets.byId.".concat(n, ".remappedMap"), g.remappedMap); }), v(r, u.Oz.START, function (e, t) { var n = c().set(e, "entities.metadata.updating", !0); return A(n, t); }), v(r, u.Oz.SUCCESS, function (e, t) { var n = c().set(e, "entities.metadata.updating", !1); return A(n, t); }), v(r, u.Oz.ERROR, function (e, t) { var n = c().set(e, "entities.metadata.updating", !1); return A(n, t); }), v(r, u.ii, function (e, t) { var n = t.assetId; return c().set(e, "entities.assets.byId.".concat(n, ".commentProposedForDelete"), g.commentProposedForDelete); }), v(r, u.vl, function (e, t) { var n = t.assetId, r = e.entities.assets.byId[n]; if (!r) return e; var o = new Set(r.comments), a = e.entities.comments.allIds.filter(function (e) { return !o.has(e); }), i = h({}, e.entities.comments.byId); o.forEach(function (e) { return delete i[e]; }); var s = c().merge(e, "entities.assets.byId.".concat(n), { comments: g.comments, errors: g.errors }), l = c().set(s, "entities.comments.allIds", a); return c().set(l, "entities.comments.byId", i); }), v(r, u.Z5, function (e, t) { var n = t.assetId, r = t.errorId; return c().delete(e, "entities.assets.byId.".concat(n, ".errors.").concat(r)); }), v(r, u.dh, function (e, t) { var n = t.assetId; return c().set(e, "entities.assets.byId.".concat(n, ".lastResolvedCommentData"), g.lastResolvedCommentData); }), v(r, u.b$.START, function (e, t) { var n = t.assetId, r = t.commentId, o = t.parentCommentId, a = e; if (o) a = c().set(e, "entities.comments.byId.".concat(o, ".replies"), function (e) { return e.filter(function (e) { return e.id !== r; }); }); else { var i = c().delete(e, "entities.comments.byId.".concat(r)), s = e.entities.comments.allIds.findIndex(function (e) { return e === r; }), l = c().delete(i, "entities.comments.allIds.".concat(s)), u = e.entities.assets.byId[n].comments.findIndex(function (e) { return e === r; }); a = c().delete(l, "entities.assets.byId.".concat(n, ".comments.").concat(u)); } return c().set(a, "entities.assets.byId.".concat(n, ".commentProposedForDelete"), g.commentProposedForDelete); }), v(r, u.b$.ERROR, function (e, t) { var n = t.assetId, r = t.error, o = t.comment, a = t.commentIndex, i = t.commentIndexInCommentsAllIds, s = t.parentCommentId, l = e; if (s) { var p = d(e.entities.comments.byId[s].replies); p.splice(a, 0, o), (l = c().set(l, "entities.comments.byId.".concat(s, ".replies"), p)); } else { var f = c().set(l, "entities.comments.byId.".concat(o.id), o), m = d(l.entities.comments.allIds); m.splice(i, 0, o.id); var y = c().set(f, "entities.comments.allIds", m), b = d(l.entities.assets.byId[n].comments); b.splice(a, 0, o.id), (l = c().set(y, "entities.assets.byId.".concat(n, ".comments"), b)); } return c().set(l, "entities.assets.byId.".concat(n), function (e) { return h(h({}, e), {}, { commentProposedForDelete: g.commentProposedForDelete, errors: h(h({}, e.errors), {}, v({}, r, u.b$.ERROR)) }); }); }), v(r, u.b$.SUCCESS, function (e, t) { var n = t.assetId; if (t.cacheComments) { var r = l.Z.get(n).data, o = b(e, n); r && l.Z.set(n, h(h({}, r), {}, { comments: o })); } return e; }), v(r, u.Al.START, function (e, t) { var n = t.assetId, r = t.comment, o = t.parentCommentId, a = c().merge(e, "entities.assets.byId.".concat(n), { errors: g.errors }); if (o) { var i = e.entities.comments.byId[o].replies.map(function (e) { return e.id === r.id ? r : e; }); return c().set(a, "entities.comments.byId.".concat(o, ".replies"), i); } return c().set(a, "entities.comments.byId.".concat(r.id), r); }), v(r, u.Al.ERROR, function (e, t) { var n = t.assetId, r = t.comment, o = t.error, a = t.parentCommentId, i = e; if (a) { var s = e.entities.comments.byId[a].replies.map(function (e) { return e.id === r.id ? r : e; }); i = c().set(e, "entities.comments.byId.".concat(a, ".replies"), s); } else i = c().set(e, "entities.comments.byId.".concat(r.id), r); return c().merge(i, "entities.assets.byId.".concat(n, ".errors"), v({}, o, u.Al.ERROR)); }), v(r, u.Al.SUCCESS, function (e, t) { var n = t.assetId, r = t.cacheComments, o = t.parentCommentId, a = t.updatedCommentData, i = e.entities.comments.byId, s = e.entities.assets.byId[n].remappedMap, d = h(h({}, C(s, a)), {}, { recentActivity: u.E3 }), p = e; if (o) { var f = i[o].replies.map(function (e) { return e.id === d.id ? d : e; }); p = c().set(e, "entities.comments.byId.".concat(o, ".replies"), f); } else p = c().set(e, "entities.comments.byId.".concat(d.id), d); if (r) { var m = l.Z.get(n).data, v = b(p, n); m && l.Z.set(n, h(h({}, m), {}, { comments: v })); } return c().merge(p, "entities.assets.byId.".concat(n), { errors: g.errors }); }), v(r, u.Ov.ERROR, function (e, t) { var n = t.assetId, r = t.cacheComments, o = t.error; return ( r && l.Z.remove(n), c().set(e, "entities.assets.byId.".concat(n), function (e) { return h(h({}, e), {}, { errors: h(h({}, e.errors), {}, v({}, o, "".concat(u.Ov.ERROR, "_").concat(o.toUpperCase()))), fetching: g.fetching }); }) ); }), v(r, u.Ov.START, function (e, t) { var n = t.assetId, r = !c().get(e, "entities.assets.allIds", []).includes(n); return c().merge(e, "entities.assets.byId.".concat(n), r ? h(h({}, g), {}, { fetching: !0 }) : { fetching: !0 }); }), v(r, u.Ov.SUCCESS, function (e) { var t = arguments.length > 1 && void 0 !== arguments[1] ? arguments[1] : {}, n = e.entities, r = t.assetId, o = t.cacheComments, a = t.data, i = void 0 === a ? [] : a; if (!e.entities.assets.byId[r]) return e; var s = c().get(n, "assets.byId.".concat(r, ".remappedMap"), g.remappedMap), u = i.map(function (e) { return e.id; }), f = { id: r, fetching: !1, remappedMap: s }; u.length && (f.comments = u); var m = c().merge(e, "entities.assets.byId.".concat(r), f), v = c().set(m, "entities.assets.allIds", function (e) { return e.includes(r) ? e : e.concat(r); }), y = {}; if (i.length) { var E = i.reduce(function (e, t) { return (e[t.id] = t), e; }, {}), D = n.comments.byId; y = w( s, (function () { var e = arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : {}, t = arguments.length > 1 && void 0 !== arguments[1] ? arguments[1] : {}, n = {}; return ( Object.entries(t).forEach(function (t) { var r, o, a = ((o = 2), (function (e) { if (Array.isArray(e)) return e; })((r = t)) || (function (e, t) { var n = null == e ? null : ("undefined" != typeof Symbol && e[Symbol.iterator]) || e["@@iterator"]; if (null != n) { var r, o, a = [], i = !0, s = !1; try { for (n = n.call(e); !(i = (r = n.next()).done) && (a.push(r.value), !t || a.length !== t); i = !0); } catch (e) { (s = !0), (o = e); } finally { try { i || null == n.return || n.return(); } finally { if (s) throw o; } } return a; } })(r, o) || p(r, o) || (function () { throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); })()), i = a[0], s = a[1], c = e[i]; n[i] = S(c, s); }), n ); })(D, E) ); } else { var C = c().get(n, "assets.byId.".concat(r, ".comments"), []); C.forEach(function (e) { v = c().delete(v, "entities.comments.byId.".concat(e)); }), (v = c().set(v, "entities.comments.allIds", function (e) { return e.filter(function (e) { return !C.includes(e); }); })), (v = c().set(v, "entities.assets.byId.".concat(r, ".comments"), g.comments)); var A = c().get(n, "assets.byId.".concat(r, ".metadata"), []); A.forEach(function (e) { v = c().delete(v, "entities.metadata.byId.".concat(e)); }), (v = c().set(v, "entities.metadata.allIds", function (e) { return e.filter(function (e) { return !A.includes(e); }); })), (v = c().set(v, "entities.assets.byId.".concat(r, ".metadata"), g.metadata)); } var k = n.assets.allIds.filter(function (e) { return e !== r; }), _ = {}; k.forEach(function (e) { c() .get(n, "assets.byId.".concat(e, ".comments"), []) .forEach(function (e) { return (_[e] = n.comments.byId[e]); }); }); var T = c().set(v, "entities.comments.byId", h(h({}, _), y)), I = c().set(T, "entities.comments.allIds", [].concat(d(Object.keys(_)), d(u))); if (o) { var O = (l.Z.get(r) || {}).data; l.Z.set(r, h(h({}, O), {}, { comments: b(I, r) })); } return c().delete(I, "entities.assets.byId.".concat(r, ".errors.list")), I; }), v(r, u.k9.START, function (e, t) { var n = t.assetId; return c().set(e, "entities.assets.byId.".concat(n, ".fetchingMetadata"), !0); }), v(r, u.k9.SUCCESS, function (e, t) { var n = t.assetId, r = t.cacheMetadata, o = t.metadata, a = void 0 === o ? {} : o; if (!e.entities.assets.byId[n] || e.entities.metadata.updating) return e; if (r) { var i = (l.Z.get(n) || {}).data; l.Z.set(n, h(h({}, i), {}, { metadata: a })); } var s = c().merge(e, "entities.assets.byId.".concat(n), { metadata: Object.keys(a), fetchingMetadata: !1 }), u = c().merge(s, "entities.metadata.byId", a); return c().set(u, "entities.metadata.allIds", function (e) { return d(new Set(e.concat(Object.keys(a)))); }); }), v(r, u.k9.ERROR, function (e, t) { var n = t.assetId, r = t.cacheMetadata; if (!e.entities.assets.byId[n] || e.entities.metadata.updating) return e; if (r) { var o = (l.Z.get(n) || {}).data; l.Z.set(n, h(h({}, o), {}, { metadata: {} })); } return c().set(e, "entities.assets.byId.".concat(n, ".fetchingMetadata"), !1); }), v(r, u.xH.ERROR, function (e, t) { var n = t.assetId, r = t.commentId, o = t.error, a = c().set(e, "entities.comments.byId.".concat(r, ".status"), "resolved"); return c().merge(a, "entities.assets.byId.".concat(n, ".errors"), v({}, o, u.xH.ERROR)); }), v(r, u.xH.START, function (e, t) { var n = t.commentId; return c().set(e, "entities.comments.byId.".concat(n, ".status"), "open"); }), v(r, u.xH.SUCCESS, function (e, t) { var n = t.allowUndo, r = t.assetId, o = t.cacheComments, a = t.comment, i = a.id, s = e.entities.assets.byId[r].remappedMap, u = c().merge(e, "entities.comments.byId.".concat(i), C(s, a)); if (o) { var d = l.Z.get(r).data, p = b(u, r); d && l.Z.set(r, h(h({}, d), {}, { comments: p })); } return c().set(u, "entities.assets.byId.".concat(r, ".lastResolvedCommentData"), n ? { assetId: r, commentId: i, newStatus: "open" } : g.lastResolvedCommentData); }), v(r, u.eE.ERROR, function (e, t) { var n = t.assetId, r = t.error, o = t.errorObj, a = e.entities.assets.byId[n].comments.length, i = "".concat(u.eE.ERROR, "_").concat(r.toUpperCase()); return ( 400 === (null == o ? void 0 : o.status) && a >= u.bG && (i = "".concat(u.eE.ERROR, "_MAX_COMMENTS")), c().set(e, "entities.assets.byId.".concat(n), function (e) { return h(h({}, e), {}, { commentPosting: g.commentPosting, errors: h(h({}, e.errors), {}, v({}, r, i)) }); }) ); }), v(r, u.eE.START, function (e, t) { var n = t.assetId; return c().set(e, "entities.assets.byId.".concat(n, ".commentPosting"), !0); }), v(r, u.eE.SUCCESS, function (e, t) { var n = t.assetId, r = t.cacheComments, o = t.comment, a = e.entities.assets.byId[n], s = i()(o, "target.selector.node.id"), p = void 0 === s ? a.dirtyComments : h(h({}, a.dirtyComments), {}, v({}, s, null)), f = h(h({}, o), {}, { recentActivity: u.Uj, replies: o.replies || [] }), m = c().set(e, "entities.comments.byId.".concat(o.id), f), y = c().set(m, "entities.comments.allIds", function (e) { return d(new Set(e.concat(o.id))); }), E = c().set(y, "entities.assets.byId.".concat(n), function (e) { return h(h({}, e), {}, { comments: d(new Set(e.comments.concat(o.id))), commentPosting: g.commentPosting, dirtyComments: p, errors: g.errors }); }); if (r) { var D = (l.Z.get(n) || {}).data, C = [].concat(d(b(e, n)), [f]); D && l.Z.set(n, h(h({}, D), {}, { comments: C })); } return E; }), v(r, u.lP, function (e, t) { var n, r = t.assetId, o = t.id, a = t.parentCommentId, i = e.entities.comments.byId; if (a) { var s = i[a]; (n = D(s.replies, o)).parentCommentId = a; } else n = i[o]; return c().set(e, "entities.assets.byId.".concat(r, ".commentProposedForDelete"), n); }), v(r, u.sf, function (e, t) { var n = t.assetId, r = t.mappingData, o = (e.entities.assets.byId[n] || {}).remappedMap, a = void 0 === o ? {} : o, i = e.entities.comments.byId, s = {}; Object.keys(r).forEach(function (e) { var t = r[e]; if (e && void 0 !== t) if (a[e]) s[e] = h(h({}, a[e]), {}, { current: t }); else { var n = i[e]; n && (s[e] = { original: n.target.selector.node.id, current: t }); } }); var l = c().merge(e, "entities.comments.byId", w(s, i)); return c().merge(l, "entities.assets.byId.".concat(n, ".remappedMap"), s); }), v(r, u.Tf.ERROR, function (e, t) { var n = t.assetId, r = t.commentId, o = t.error, a = c().set(e, "entities.comments.byId.".concat(r, ".status"), "open"); return c().merge(a, "entities.assets.byId.".concat(n, ".errors"), v({}, o, u.Tf.ERROR)); }), v(r, u.Tf.START, function (e, t) { var n = t.commentId; return c().set(e, "entities.comments.byId.".concat(n, ".status"), "resolved"); }), v(r, u.Tf.SUCCESS, function (e, t) { var n = t.allowUndo, r = t.assetId, o = t.cacheComments, a = t.comment, i = a.id, s = e.entities.assets.byId[r].remappedMap, u = c().merge(e, "entities.comments.byId.".concat(i), C(s, a)); if (o) { var d = l.Z.get(r).data, p = b(u, r); d && l.Z.set(r, h(h({}, d), {}, { comments: p })); } return c().set(u, "entities.assets.byId.".concat(r, ".lastResolvedCommentData"), n ? { assetId: r, commentId: i, newStatus: "resolved" } : g.lastResolvedCommentData); }), v(r, u.W$, function (e, t) { var n = t.assetId, r = t.artboardID, o = t.comment, a = void 0 === o ? "" : o, i = t.location, s = t.annotationType; return c().merge(e, "entities.assets.byId.".concat(n, ".dirtyComments"), v({}, r, { bodyValue: a, location: i, annotationType: s })); }), v(r, u.fk, function (e, t) { var n = t.id, r = t.draftReplyText; return e.entities.comments.byId[n] ? c().set(e, "entities.comments.byId.".concat(n, ".draftReplyText"), r) : e; }), v(r, u.hY, function (e, t) { var n = t.parentId, r = t.replyId, o = t.recentActivity; if (r) { var a = c() .get(e, "entities.comments.byId.".concat(n, ".replies"), []) .map(function (e) { return e.id === r ? h(h({}, e), {}, { recentActivity: o }) : e; }); return c().set(e, "entities.comments.byId.".concat(n, ".replies"), a); } return c().set(e, "entities.comments.byId.".concat(n, ".recentActivity"), o); }), v(r, u.GB, function (e) { var t = arguments.length > 1 && void 0 !== arguments[1] ? arguments[1] : {}, n = t.id, r = t.draftReplyText, o = c().get(e, "entities.comments.byId.".concat(n)); return o ? c().set(e, "entities.comments.byId.".concat(n, ".repliesOpen"), !!r || !o.repliesOpen) : e; }), v(r, u.k8, function () { return y; }), v(r, u.LG, function (e, t) { var n = t.assetId, r = c().get(e, "entities.assets.byId.".concat(n, ".comments"), []), o = e.entities.comments.byId, a = r.find(function (e) { var t, n, r, a, i = o[e]; return ( (null == i || null === (t = i.target) || void 0 === t || null === (n = t.selector) || void 0 === n ? void 0 : n.subtype) && "node" !== (null == i || null === (r = i.target) || void 0 === r || null === (a = r.selector) || void 0 === a ? void 0 : a.subtype) ); }); return a ? c().merge(e, "entities.comments.byId", h({}, o[a])) : e; }), v(r, u.fj.ERROR, function (e, t) { var n = t.assetId, r = t.error, o = t.errorObj, a = c().get(e, "entities.assets.byId.".concat(n, ".comments").length), i = "".concat(u.fj.ERROR, "_").concat(r.toUpperCase()); return ( 400 === (null == o ? void 0 : o.status) && a >= u.bG && (i = "".concat(u.eE.ERROR, "_MAX_COMMENTS")), c().set(e, "entities.assets.byId.".concat(n), function (e) { return h(h({}, e), {}, { errors: h(h({}, e.errors), {}, v({}, r, i)), postingReplyParentCommentId: g.postingReplyParentCommentId }); }) ); }), v(r, u.fj.START, function (e, t) { var n = t.assetId, r = t.parentCommentId; return c().set(e, "entities.assets.byId.".concat(n, ".postingReplyParentCommentId"), r); }), v(r, u.fj.SUCCESS, function (e, t) { var n = t.assetId, r = t.cacheComments, o = t.nodeId, a = t.parentCommentId, i = t.reply, s = c().get(e, "entities.assets.byId.".concat(n, ".dirtyComments"), {}); if ((o && (s[o] = null), r)) { var d = (l.Z.get(n) || {}).data, p = b(e, n); d && l.Z.set(n, h(h({}, d), {}, { comments: p })); } var f = c().merge(e, "entities.assets.byId.".concat(n), { dirtyComments: s, errors: g.errors, postingReplyParentCommentId: g.postingReplyParentCommentId }); return f.entities.comments.byId[a] ? c().merge(f, "entities.comments.byId.".concat(a, ".replies"), [h(h({}, i), {}, { recentActivity: u.Uj })]) : f; }), v(r, u.dS, function (e, t) { var n = t.assetId, r = t.autoScroll; return c().set(e, "entities.assets.byId.".concat(n, ".autoScroll"), r); }), v(r, u.YE, function (e, t) { var n = t.assetId, r = t.mobileEditingCommentId, o = t.mobileEditingDraft; return c().merge(e, "entities.assets.byId.".concat(n), { mobileEditingCommentId: r, mobileEditingDraft: o }); }), v(r, u.Wm, function (e, t) { var n = t.assetId, r = t.parentCommentId; return c().set(e, "entities.assets.byId.".concat(n, ".parentCommentId"), r); }), v(r, u.T3.ERROR, function (e, t) { var n = t.assetId, r = t.error; return c().set(e, "entities.assets.byId.".concat(n), function (e) { return h(h({}, e), {}, { errors: h(h({}, e.errors), {}, v({}, r, u.T3.ERROR)) }); }); }), v(r, u.T3.SUCCESS, function (e, t) { var n = t.assetId, r = t.updatedComment, o = e.entities.assets.byId[n].remappedMap, a = c().set(e, "entities.comments.byId.".concat(r.id), h(h({}, C(o, r)), {}, { recentActivity: u.E3 })); return c().set(a, "entities.assets.byId.".concat(n, ".errors"), g.errors); }), r), y ); }, 69088: (e, t, n) => { "use strict"; n.d(t, { m$: () => ue, ZP: () => de, no: () => oe, I0: () => se, v9: () => ce, oR: () => ie }); var r = n(23469), o = n.n(r), a = n(9076); function i(e) { return function (t) { var n = t.dispatch, r = t.getState; return function (t) { return function (o) { return "function" == typeof o ? o(n, r, e) : t(o); }; }; }; } var s = i(); s.withExtraArgument = i; const c = s; var l = n(2442), u = n(89035), d = n(98634), p = n(99894), f = n(48468); function m(e, t) { var n = Object.keys(e); if (Object.getOwnPropertySymbols) { var r = Object.getOwnPropertySymbols(e); t && (r = r.filter(function (t) { return Object.getOwnPropertyDescriptor(e, t).enumerable; })), n.push.apply(n, r); } return n; } function h(e) { for (var t = 1; t < arguments.length; t++) { var n = null != arguments[t] ? arguments[t] : {}; t % 2 ? m(Object(n), !0).forEach(function (t) { v(e, t, n[t]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : m(Object(n)).forEach(function (t) { Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t)); }); } return e; } function v(e, t, n) { return t in e ? Object.defineProperty(e, t, { value: n, enumerable: !0, configurable: !0, writable: !0 }) : (e[t] = n), e; } var y = [p.FT, p.ML, p.LW, p.jc], g = (0, f.xr)(); function b(e, t) { var n = new Set( e.map(function (e) { return e.id; }) ); return t.filter(function (e) { var t = e.id; return !n.has(t); }); } const E = (0, d.Z)( v({}, p.rA, function (e, t) { return h(h({}, e), {}, { reason: t.reason, data: t.data }); }), { reason: void 0, data: {} } ); var D, C = n(90353); function w(e, t) { (null == t || t > e.length) && (t = e.length); for (var n = 0, r = new Array(t); n < t; n++) r[n] = e[n]; return r; } function S(e, t) { var n = Object.keys(e); if (Object.getOwnPropertySymbols) { var r = Object.getOwnPropertySymbols(e); t && (r = r.filter(function (t) { return Object.getOwnPropertyDescriptor(e, t).enumerable; })), n.push.apply(n, r); } return n; } function A(e) { for (var t = 1; t < arguments.length; t++) { var n = null != arguments[t] ? arguments[t] : {}; t % 2 ? S(Object(n), !0).forEach(function (t) { k(e, t, n[t]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : S(Object(n)).forEach(function (t) { Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t)); }); } return e; } function k(e, t, n) { return t in e ? Object.defineProperty(e, t, { value: n, enumerable: !0, configurable: !0, writable: !0 }) : (e[t] = n), e; } var _ = A( { annotationColor: p.uu[4].hex, annotationLocation: void 0, creativeOnboarding: null, commentsListMinimized: !1, guestUserLoginToastInfo: null, isPlacingAnnotation: !1, isLoginVisible: !1, locale: "en-US", annotatingItmId: void 0, registeredSectionIds: [], showAnnotationMask: !1, emojiPickerInfo: void 0, guestSessionState: void 0, guestSessionRestoreCount: p.JO, stakeholderOnboarding: null, }, (0, C.Pt)("".concat(p.Bq, ":context")) ), T = "".concat(p.Bq, "-annotation-color-preferences"), I = function (e, t) { return A(A({}, e), {}, { annotationLocation: t.location }); }, O = function (e) { return A(A({}, e), {}, { annotationLocation: void 0, isPlacingAnnotation: !1, annotatingItmId: void 0, newAnnotationType: void 0 }); }, F = function (e) { return A(A({}, e), {}, { imsData: {}, guestSessionState: void 0, guestSessionRestoreCount: p.JO }); }; const x = (0, d.Z)( (k((D = {}), p.k8, function () { return _; }), k(D, p.kt, function (e, t) { var n = A(A({}, e), {}, { annotationColor: t.color }); n.annotationLocation && (n.annotationLocation.coordinates.strokeColor = n.annotationColor); var r = (0, C.Pt)(T) || {}; return (r[e.newAnnotationType] = t.color), (0, C.m8)(T, r), n; }), k(D, p.Ys, I), k(D, p.QR, function (e, t) { return A(A({}, e), {}, { mediaData: t.mediaData }); }), k(D, p.GY, function (e, t) { return A(A({}, e), {}, { imageCoordinatesInfo: t.imageCoordinatesInfo }); }), k(D, p.lD.SUCCESS, function (e, t) { return A(A({}, e), {}, { imsData: t.data, guestSessionState: "valid", guestSessionRestoreCount: e.guestSessionRestoreCount - 1 }); }), k(D, p.lD.ERROR, F), k(D, p.LG, function (e, t) { var n, r = e.registeredSectionIds; if (t.isAdd) r.includes(t.sectionId) || r.push(t.sectionId); else { var o = r.indexOf(t.sectionId); if (-1 === o) return e; r.splice(o, 1); } return A( A({}, e), {}, { registeredSectionIds: ((n = r), (function (e) { if (Array.isArray(e)) return w(e); })(n) || (function (e) { if (("undefined" != typeof Symbol && null != e[Symbol.iterator]) || null != e["@@iterator"]) return Array.from(e); })(n) || (function (e, t) { if (e) { if ("string" == typeof e) return w(e, t); var n = Object.prototype.toString.call(e).slice(8, -1); return "Object" === n && e.constructor && (n = e.constructor.name), "Map" === n || "Set" === n ? Array.from(e) : "Arguments" === n || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n) ? w(e, t) : void 0; } })(n) || (function () { throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); })()), } ); }), k(D, p.x7, function (e, t) { var n, r = A( A({}, e), {}, { annotatingItmId: t.itmId || (e.annotationLocation ? e.annotatingItmId : void 0), isPlacingAnnotation: Boolean(t.isPlacingAnnotation), newAnnotationType: t.newAnnotationType || e.newAnnotationType, showAnnotationMask: Boolean(t.showAnnotationMask), } ); return (n = ((0, C.Pt)(T) || {})[t.newAnnotationType]) || (n = p.uu[4].hex), t.isPlacingAnnotation && !e.annotationLocation && (r.annotationColor = n), r; }), k(D, p.Gp, function (e, t) { return A(A({}, e), {}, { showCommentId: t.cmtId }); }), k(D, p.eE.SUCCESS, O), k(D, p.T3.SUCCESS, O), k(D, p.T3.ERROR, O), k(D, p.jc, I), k(D, p.Xb, function (e, t) { return A(A({}, e), {}, { guestUserLoginToastInfo: t.data }); }), k(D, p.yU, function (e, t) { return A(A({}, e), {}, { focusedInputInfo: t.focusedInputInfo }); }), k(D, p.pO, function (e, t) { return A(A({}, e), {}, { commentsListMinimized: t.commentsListMinimized }); }), k(D, p.$o, function (e, t) { return A(A({}, e), {}, { isLoginVisible: t.isLoginVisible }); }), k(D, p.AC, function (e, t) { return A(A({}, e), {}, { annotatingItmId: t.id }); }), k(D, p.WD, function (e, t) { var n = t.sessionState, r = A(A({}, e), {}, { guestSessionState: n }); return "expired" === n && (r.guestSessionRestoreCount = p.JO), r; }), k(D, p.oA, F), k(D, p.Tf.START, O), k(D, p.FN, function (e, t) { return A(A({}, e), {}, { emojiPickerInfo: t.emojiPickerInfo }); }), k(D, p.jL, function (e, t) { return A(A({}, e), {}, { stakeholderOnboarding: t.onboardingState }); }), k(D, p.Ze, function (e, t) { return A(A({}, e), {}, { creativeOnboarding: t.onboardingState }); }), D), _ ); var N; function R(e, t) { var n = Object.keys(e); if (Object.getOwnPropertySymbols) { var r = Object.getOwnPropertySymbols(e); t && (r = r.filter(function (t) { return Object.getOwnPropertyDescriptor(e, t).enumerable; })), n.push.apply(n, r); } return n; } function L(e) { for (var t = 1; t < arguments.length; t++) { var n = null != arguments[t] ? arguments[t] : {}; t % 2 ? R(Object(n), !0).forEach(function (t) { M(e, t, n[t]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : R(Object(n)).forEach(function (t) { Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t)); }); } return e; } function M(e, t, n) { return t in e ? Object.defineProperty(e, t, { value: n, enumerable: !0, configurable: !0, writable: !0 }) : (e[t] = n), e; } var P = (0, C.Pt)("showAnnotations"), j = { hoveredAnnotation: null, touchPressed: !1, showAnnotations: void 0 === P || P }; const B = (0, d.Z)( (M((N = {}), p.Md, function (e, t) { return L(L({}, e), {}, { drawingNode: t.drawingNode }); }), M(N, p.KT, function (e, t) { return L(L({}, e), {}, { hoveredAnnotation: t.annotationId }); }), M(N, p.Pj, function (e, t) { return L(L({}, e), {}, { selectedAnnotationId: t.selectedAnnotationId }); }), M(N, p.UT, function (e, t) { return L(L({}, e), {}, { selectedReplyId: t.selectedReplyId }); }), M(N, p.vm, function (e, t) { return L(L({}, e), {}, { touchPressed: t.touchPressed }); }), M(N, p.aV, function (e, t) { return L(L({}, e), {}, { showAnnotations: t.showAnnotations }); }), M(N, p.Mw, function (e, t) { return L(L({}, e), {}, { showDraftAnnotations: t.showDraftAnnotations }); }), N), j ); var Z; function U(e, t) { (null == t || t > e.length) && (t = e.length); for (var n = 0, r = new Array(t); n < t; n++) r[n] = e[n]; return r; } function z(e, t) { var n = Object.keys(e); if (Object.getOwnPropertySymbols) { var r = Object.getOwnPropertySymbols(e); t && (r = r.filter(function (t) { return Object.getOwnPropertyDescriptor(e, t).enumerable; })), n.push.apply(n, r); } return n; } function V(e) { for (var t = 1; t < arguments.length; t++) { var n = null != arguments[t] ? arguments[t] : {}; t % 2 ? z(Object(n), !0).forEach(function (t) { H(e, t, n[t]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : z(Object(n)).forEach(function (t) { Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t)); }); } return e; } function H(e, t, n) { return t in e ? Object.defineProperty(e, t, { value: n, enumerable: !0, configurable: !0, writable: !0 }) : (e[t] = n), e; } var G = { expanded: !1, fullscreen: !1, inputFocused: !1, mentionListShown: !1, subviewStack: [] }; const W = (0, d.Z)( (H((Z = {}), p.N2, function (e) { return V(V({}, e), {}, { subviewStack: e.subviewStack.slice(0, e.subviewStack.length - 1) }); }), H(Z, p.do, function (e, t) { var n, r = t.subview; return V( V({}, e), {}, { subviewStack: e.subviewStack.includes(r) ? e.subviewStack : [].concat( ((n = e.subviewStack), (function (e) { if (Array.isArray(e)) return U(e); })(n) || (function (e) { if (("undefined" != typeof Symbol && null != e[Symbol.iterator]) || null != e["@@iterator"]) return Array.from(e); })(n) || (function (e, t) { if (e) { if ("string" == typeof e) return U(e, t); var n = Object.prototype.toString.call(e).slice(8, -1); return "Object" === n && e.constructor && (n = e.constructor.name), "Map" === n || "Set" === n ? Array.from(e) : "Arguments" === n || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n) ? U(e, t) : void 0; } })(n) || (function () { throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); })()), [r] ), } ); }), H(Z, p.zF, function (e, t) { var n = t.expanded; return V(V({}, e), {}, { expanded: n }); }), H(Z, p.JV, function (e, t) { var n = t.fullscreen; return V(V({}, e), {}, { fullscreen: n }); }), H(Z, p.wV, function (e, t) { var n = t.inputFocused; return V(V({}, e), {}, { inputFocused: n }); }), H(Z, p.nU, function (e, t) { var n = t.mentionListShown; return V(V({}, e), {}, { mentionListShown: n }); }), H(Z, p.nd, function () { return G; }), Z), G ); var Q; function J(e, t) { var n = Object.keys(e); if (Object.getOwnPropertySymbols) { var r = Object.getOwnPropertySymbols(e); t && (r = r.filter(function (t) { return Object.getOwnPropertyDescriptor(e, t).enumerable; })), n.push.apply(n, r); } return n; } function Y(e) { for (var t = 1; t < arguments.length; t++) { var n = null != arguments[t] ? arguments[t] : {}; t % 2 ? J(Object(n), !0).forEach(function (t) { q(e, t, n[t]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : J(Object(n)).forEach(function (t) { Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t)); }); } return e; } function q(e, t, n) { return t in e ? Object.defineProperty(e, t, { value: n, enumerable: !0, configurable: !0, writable: !0 }) : (e[t] = n), e; } var X = { filterTime: [], filterUsers: [], readInFilterMap: {}, showResolvedComments: !1, showUnreadComments: !1 }, K = function () { return X; }; const $ = (0, d.Z)( (q((Q = {}), p.FT, K), q(Q, p.cT, function (e, t) { var n = e.readInFilterMap; return Y(Y({}, e), {}, { readInFilterMap: Y(Y({}, n), t.metadataMap) }); }), q(Q, p.ML, function (e, t) { return Y(Y({}, e), {}, { readInFilterMap: {}, filterTime: t.values }); }), q(Q, p.LW, function (e, t) { return Y(Y({}, e), {}, { readInFilterMap: {}, filterUsers: t.values }); }), q(Q, p.jc, function (e) { return Y(Y({}, e), {}, { readInFilterMap: {}, showResolvedComments: !e.showResolvedComments }); }), q(Q, p.PI, function (e) { return Y(Y({}, e), {}, { readInFilterMap: {}, showUnreadComments: !e.showUnreadComments }); }), q(Q, p.k8, K), Q), X ); var ee; function te(e, t, n) { return t in e ? Object.defineProperty(e, t, { value: n, enumerable: !0, configurable: !0, writable: !0 }) : (e[t] = n), e; } var ne = (te((ee = {}), "".concat(p.Bq, ":comments"), u.ZP), te(ee, "".concat(p.Bq, ":context"), x), te(ee, "".concat(p.Bq, ":annotation"), B), te(ee, "".concat(p.Bq, ":filter"), $), te(ee, "".concat(p.Bq, ":mobile"), W), te(ee, "".concat(p.Bq, ":delta"), E), ee), re = ("undefined" != typeof REDUX_DEBUG && window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__) || a.qC, oe = o().createContext(null), ae = (0, a.UY)(ne), ie = (0, l.fw)(oe), se = (0, l.AS)(oe), ce = (0, l.gR)(oe), le = (0, a.MT)( ae, re( (0, a.md)(c, function (e) { return function (t) { return function (n) { if (n) { var r = { type: p.rA, data: { new: [], deleted: [], modified: [] } }, o = e.getState(), a = g(o, n.assetId); t(n); var i = g(e.getState(), n.assetId); !(function (e, t) { return e !== t && JSON.stringify(e) !== JSON.stringify(t) && !(0 === e.length && 0 === t.length); })(a, i) ? n.type === p.Ov.ERROR && (r.reason = "initialization") : n.type !== p.Ov.SUCCESS || n.isPollUpdate ? ((r.data.new = b(a, i)), (r.data.deleted = b(i, a)), (r.data.modified = (function (e, t) { var n = (function (e) { var t = {}; return ( e.forEach(function (e) { t[e.id] = e; }), t ); })(e); return t.filter(function (e) { var t = n[e.id]; return t && t.etag !== e.etag; }); })(a, i)), (r.data.new.length || r.data.deleted.length || r.data.modified.length) && (r.reason = "update")) : ((r.reason = "initialization"), (r.data.new = i)), (function (e) { return y.includes(e.type); })(n) && (r.reason = "filter"), r.reason && e.dispatch(r); } }; }; }) ) ), ue = function (e) { var t = e.children, n = e.store, r = void 0 === n ? le : n; return o().createElement(l.zt, { context: oe, store: r }, t); }; const de = le; }, 67733: (e, t, n) => { "use strict"; n.d(t, { Qx: () => c, cM: () => l, yU: () => u }); var r = n(91460), o = n(57305), a = n.n(o), i = n(99894), s = function (e) { return a()(e, "".concat(i.Bq, ":context.annotationLocation")) || {}; }, c = (0, r.P1)([s], function (e) { return !!e.coordinates; }), l = (0, r.P1)([s], function (e) { return e && e.coordinates; }), u = (0, r.P1)([s], function (e) { return e && e.nodeId; }); }, 48468: (e, t, n) => { "use strict"; n.d(t, { $E: () => H, AR: () => b, BE: () => B, K: () => G, QO: () => U, Wm: () => W, Zv: () => g, _X: () => Z, fD: () => V, kW: () => E, nE: () => z, o8: () => k, s4: () => f, sZ: () => y, v: () => v, xr: () => P }); var r = n(91460), o = n(57305), a = n.n(o), i = n(47810), s = n.n(i), c = n(99894), l = n(89035); function u(e, t) { var n = Object.keys(e); if (Object.getOwnPropertySymbols) { var r = Object.getOwnPropertySymbols(e); t && (r = r.filter(function (t) { return Object.getOwnPropertyDescriptor(e, t).enumerable; })), n.push.apply(n, r); } return n; } function d(e) { for (var t = 1; t < arguments.length; t++) { var n = null != arguments[t] ? arguments[t] : {}; t % 2 ? u(Object(n), !0).forEach(function (t) { p(e, t, n[t]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : u(Object(n)).forEach(function (t) { Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t)); }); } return e; } function p(e, t, n) { return t in e ? Object.defineProperty(e, t, { value: n, enumerable: !0, configurable: !0, writable: !0 }) : (e[t] = n), e; } var f = function (e) { return a()(e, "".concat(c.Bq, ":comments.entities.assets.allIds")); }, m = function (e) { return a()(e, "".concat(c.Bq, ":comments.entities.assets.byId")); }, h = function (e, t) { var n, r = (null == t || null === (n = t.assetData) || void 0 === n ? void 0 : n.id) || t; return a()(e, "".concat(c.Bq, ":comments.entities.assets.byId[").concat(r, "].comments"), []); }, v = function (e) { return a()(e, "".concat(c.Bq, ":comments.entities.comments.byId"), {}); }, y = function (e) { return a()(e, "".concat(c.Bq, ":comments.entities.comments.allIds")); }, g = function (e) { return a()(e, "".concat(c.Bq, ":annotation.hoveredAnnotation")); }, b = function (e) { return a()(e, "".concat(c.Bq, ":annotation")); }, E = function (e) { return a()(e, "".concat(c.Bq, ":context.showCommentId")); }, D = function (e) { return a()(e, "".concat(c.Bq, ":filter.filterTime")); }, C = function (e) { return a()(e, "".concat(c.Bq, ":filter.filterUsers")); }, w = function (e) { return (arguments.length > 1 && void 0 !== arguments[1] ? arguments[1] : {}).globalCommentsToggle.isActive; }, S = function (e) { return a()(e, "".concat(c.Bq, ":context.registeredSectionIds")); }, A = function (e) { return a()(e, "".concat(c.Bq, ":filter.showResolvedComments")); }, k = function (e) { return a()(e, "".concat(c.Bq, ":comments.entities.metadata.byId")); }, _ = function (e) { return a()(e, "".concat(c.Bq, ":filter.showUnreadComments")); }, T = function (e) { return a()(e, "".concat(c.Bq, ":filter.readInFilterMap")); }, I = function (e) { return (arguments.length > 1 && void 0 !== arguments[1] ? arguments[1] : {}).annotationsMultiPageEnabled; }, O = function (e) { return (arguments.length > 1 && void 0 !== arguments[1] ? arguments[1] : {}).assetData; }, F = function (e) { return (arguments.length > 1 && void 0 !== arguments[1] ? arguments[1] : {}).groupBy; }, x = function (e) { return (arguments.length > 1 && void 0 !== arguments[1] ? arguments[1] : {}).imsData; }, N = function (e) { return (arguments.length > 1 && void 0 !== arguments[1] ? arguments[1] : {}).enableReadUnread; }, R = function (e) { var t = a()(e, "".concat(c.Bq, ":filter.showResolvedComments")), n = a()(e, "".concat(c.Bq, ":filter.showUnreadComments")), r = D(e) || [], o = C(e) || []; return r.length > 0 || o.length > 0 || t || n; }, L = function (e) { delete e.pinNum, delete e.annotationType; }, M = function (e, t) { var n = arguments.length > 2 && void 0 !== arguments[2] ? arguments[2] : [], r = 1; return e.filter(function (e) { var o = a()(e, "target.selector.sectionId") || "root", i = !e.unmapped && (t ? "resolved" === e.status : "open" === e.status), s = n.indexOf(o) > -1, c = a()(e, "target.selector.subtype"); return i && s ? c && "node" !== c && ((e.annotationType = c), (a()(e, "target.selector.noteX") || a()(e, "target.selector.pinModelRootPosition")) && "note" === c && ((e.pinNum = r), r++)) : L(e), i; }); }, P = function () { return (0, r.P1)([h, v], function (e, t) { return e.map(function (e) { return t[e]; }); }); }, j = (0, r.P1)([O, P()], function () { var e = arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : { validNodes: [] }, t = arguments.length > 1 && void 0 !== arguments[1] ? arguments[1] : [], n = e.validNodes .map(function (e) { return e.id; }) .filter(function (e) { return e !== c.Qy; }), r = [], o = []; return ( t.forEach(function (t) { var i = a()(t, "target.selector.node.id"); (e.useNodeIndex && i >= 0 && i < e.validNodes.length) || (!e.useNodeIndex && n.includes(i)) ? (delete t.unmapped, r.push(t)) : ((t.unmapped = !0), o.push(t)); }), r.concat(o) ); }), B = (0, r.P1)([m], function (e) { var t = {}; return ( Object.keys(e).forEach(function (n) { t[n] = e[n].metadata; }), t ); }), Z = function (e, t) { return a()(e, "".concat(c.Bq, ":comments.entities.assets.byId[").concat(t, "]"), d({}, l.Jl)); }, U = (0, r.P1)([m], function (e) { var t = {}; return ( Object.keys(e).forEach(function (n) { t[n] = e[n].comments; }), t ); }), z = function () { return (0, r.P1)([v], function (e, t) { return e[t]; }); }, V = (0, r.P1)([j], function () { var e = [], t = {}; return ( (arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : []).forEach(function (n) { var r = n.creator, o = void 0 === r ? {} : r, a = o.email; a && !t[a] && (e.push(o), (t[a] = a)), a || t[o.name] || (e.push(o), (t[o.name] = o.name)); }), e.sort(function (e, t) { var n = e.name || "", r = t.name || ""; return n.localeCompare(r); }) ); }), H = function () { var e = (0, r.P1)([O, P(), D, C, S, A, w, V, I, F, k, T, N, x, _], function () { var e = arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : { validNodes: [] }, t = arguments.length > 1 ? arguments[1] : void 0, n = arguments.length > 2 && void 0 !== arguments[2] ? arguments[2] : [], r = arguments.length > 3 && void 0 !== arguments[3] ? arguments[3] : [], o = arguments.length > 4 ? arguments[4] : void 0, i = arguments.length > 5 ? arguments[5] : void 0, c = arguments.length > 6 ? arguments[6] : void 0, l = arguments.length > 7 ? arguments[7] : void 0, u = arguments.length > 8 ? arguments[8] : void 0, d = arguments.length > 9 ? arguments[9] : void 0, p = arguments.length > 10 ? arguments[10] : void 0, f = arguments.length > 11 ? arguments[11] : void 0, m = arguments.length > 12 ? arguments[12] : void 0, h = arguments.length > 13 ? arguments[13] : void 0, v = arguments.length > 14 ? arguments[14] : void 0, y = t ? t.concat([]) : [], g = []; if (r.length > 0) { var b = s()(l, "id"); y = y.filter(function (e) { return ( void 0 !== r.find(function (t) { var n = b[t], r = !e.creator.email || "None" === e.creator.email; return "guest-filter" === t ? r && !e.creator.name : !!n && ("" === n.email ? r && n.name === e.creator.name : n.id === e.creator.id); }) ); }); } if (n.length > 0) { var E = -1 !== n.indexOf("today"), D = -1 !== n.indexOf("yesterday"), C = -1 !== n.indexOf("last7Days"), w = -1 !== n.indexOf("older"); if (!((E && D) || C) || !w) { var S = new Date().setHours(0, 0, 0, 0), A = S - 864e5, k = new Date().getTime() - 6048e5; y = y.filter(function (e) { var t = new Date(e.modified).getTime(), n = t - S, r = t - k; return (C && r >= 0) || (E && n >= 0) || (D && t - A >= 0 && n < 0) || (w && r < 0); }); } } if (m && v) { var _ = h.id; y = y.filter(function (e) { var t = void 0 !== _ && _ === e.creator.id, n = e.id.toLowerCase(), r = null == f ? void 0 : f[n]; return (!p[n] || !p[n].read || r) && !t; }); } if (c && void 0 !== e.nodeId) { var T = []; "node" === d ? e.validNodes.forEach(function (e) { var t = y.filter(function (t) { return e.id === a()(t, "target.selector.node.id"); }); (t = u ? t.reverse() : M(t, i, o)), (T = T.concat(t)); }) : (T = y.sort(function (e, t) { return new Date(t.modified) - new Date(e.modified); })), (u || "node" !== d) && (T = M(T.reverse(), i, o)), y.forEach(function (e) { T.find(function (t) { return t.id === e.id; }) || ((i && "resolved" === e.status) || (!i && "open" === e.status) ? ((e.unmapped = !0), L(e), g.push(e)) : delete e.unmapped); }), (y = T); } else void 0 !== e.nodeId && (y = y.filter(function (t) { return e.nodeId === a()(t, "target.selector.node.id"); })); return c || (y = M(y, i, o)), y.reverse(), g.length && (g.reverse(), (y = y.concat(g))), y; }); return e; }, G = function () { var e = (0, r.P1)([R, O, P(), H(), w], function (e) { var t = arguments.length > 1 && void 0 !== arguments[1] ? arguments[1] : { validNodes: [] }, n = arguments.length > 2 && void 0 !== arguments[2] ? arguments[2] : [], r = arguments.length > 4 ? arguments[4] : void 0, o = {}; (arguments.length > 3 ? arguments[3] : void 0).forEach(function (e) { o[e.id] = !0; }); var i = {}; void 0 !== t.nodeId && t.validNodes.forEach(function (e) { i[e.id] = !0; }); var s, l, u, p, f, m, h, v = {}, y = {}, g = { resolved: 0, unresolved: 0, total: 0, annotations: 0 }, b = d({}, g), E = d({}, g); return ( n.forEach(function (e) { var t = e.id, n = e.status; "resolved" === n && (b.resolved++, o[t] && E.resolved++), "open" === n && (b.unresolved++, o[t] && E.unresolved++), (b.total = b.resolved + b.unresolved), (E.total = E.resolved + E.unresolved); var r = a()(e, "target.selector.node.id"), s = !i[r]; void 0 === r || s ? (void 0 === v[c.Qy] && (v[c.Qy] = d({}, g)), void 0 === y[c.Qy] && o[t] && (y[c.Qy] = d({}, g)), "open" === n ? (v[c.Qy].unresolved++, o[t] && y[c.Qy].unresolved++) : "resolved" === n && (v[c.Qy].resolved++, o[t] && y[c.Qy].resolved++), (v[c.Qy].total = v[c.Qy].unresolved + v[c.Qy].resolved), o[t] && (y[c.Qy].total = y[c.Qy].unresolved + y[c.Qy].resolved)) : (void 0 === v[r] && (v[r] = d({}, g)), e.annotationType && v[r].annotations++, void 0 === y[r] && o[t] && (y[r] = d({}, g)), "open" === n ? (v[r].unresolved++, o[t] && y[r].unresolved++) : "resolved" === n && (v[r].resolved++, o[t] && y[r].resolved++), (v[r].total = v[r].unresolved + v[r].resolved), o[t] && (y[r].total = y[r].unresolved + y[r].resolved)); }), (s = void 0 !== t.nodeId ? v[t.nodeId] || d({}, g) : b), e || (((E = d({}, r ? b : s)).total -= E.resolved), (E.resolved = 0)), e && (void 0 === t.nodeId || r || ((E.resolved = ((null === (l = y[t.nodeId]) || void 0 === l ? void 0 : l.resolved) || 0) + ((null === (u = y[c.Qy]) || void 0 === u ? void 0 : u.resolved) || 0)), (E.unresolved = ((null === (p = y[t.nodeId]) || void 0 === p ? void 0 : p.unresolved) || 0) + ((null === (f = y[c.Qy]) || void 0 === f ? void 0 : f.unresolved) || 0)), (E.total = ((null === (m = y[t.nodeId]) || void 0 === m ? void 0 : m.total) || 0) + ((null === (h = y[c.Qy]) || void 0 === h ? void 0 : h.total) || 0)))), { allNodes: v, activeNode: s, total: b, visible: E } ); }); return e; }, W = (0, r.P1)([P()], function () { return (arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : []).some(function (e) { var t = a()(e, "target.selector.subtype"); return t && "node" !== t; }); }); }, 5347: (e) => { e.exports = "30.12.0"; }, 64251: (e, t, n) => { "use strict"; n.d(t, { Z: () => j }); var r = {}; n.r(r); var o = n(23469), a = n.n(o), i = n(47776), s = n.n(i), c = n(9076), l = n(2442), u = n(94055), d = n(57305), p = n.n(d), f = n(23492), m = n(67733), h = n(28386), v = n(64921), y = (n(66084), n(84514)), g = n(92445); const b = (0, n(9323).Z)(n(40333)).default, E = (0, y.Z)({ displayName: "AnnotatePen", fallback: b, swcLoader: void 0, swcProps: g.m, tagName: "sp-icon-annotate-pen" }); var D = n(67586), C = n(93056), w = n(77271), S = n(10326), A = n(99894); function k(e) { return ( (k = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (e) { return typeof e; } : function (e) { return e && "function" == typeof Symbol && e.constructor === Symbol && e !== Symbol.prototype ? "symbol" : typeof e; }), k(e) ); } function _(e, t) { for (var n = 0; n < t.length; n++) { var r = t[n]; (r.enumerable = r.enumerable || !1), (r.configurable = !0), "value" in r && (r.writable = !0), Object.defineProperty(e, r.key, r); } } function T(e, t) { return ( (T = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function (e, t) { return (e.__proto__ = t), e; }), T(e, t) ); } function I(e) { return ( (I = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function (e) { return e.__proto__ || Object.getPrototypeOf(e); }), I(e) ); } var O = (function (e) { !(function (e, t) { if ("function" != typeof t && null !== t) throw new TypeError("Super expression must either be null or a function"); (e.prototype = Object.create(t && t.prototype, { constructor: { value: e, writable: !0, configurable: !0 } })), Object.defineProperty(e, "prototype", { writable: !1 }), t && T(e, t); })(c, e); var t, n, o, i, s = ((o = c), (i = (function () { if ("undefined" == typeof Reflect || !Reflect.construct) return !1; if (Reflect.construct.sham) return !1; if ("function" == typeof Proxy) return !0; try { return Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})), !0; } catch (e) { return !1; } })()), function () { var e, t = I(o); if (i) { var n = I(this).constructor; e = Reflect.construct(t, arguments, n); } else e = t.apply(this, arguments); return (function (e, t) { if (t && ("object" === k(t) || "function" == typeof t)) return t; if (void 0 !== t) throw new TypeError("Derived constructors may only return object or undefined"); return (function (e) { if (void 0 === e) throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); return e; })(e); })(this, e); }); function c(e) { var t; return ( (function (e, t) { if (!(e instanceof t)) throw new TypeError("Cannot call a class as a function"); })(this, c), ((t = s.call(this, e)).state = {}), t ); } return ( (t = c), (n = [ { key: "componentDidUpdate", value: function (e) { var t = this, n = this.props, r = n.isPlacingAnnotation, o = n.compactLayout, a = n.showAnnotationMask, i = n.touchControls; r && !e.isPlacingAnnotation && a && (o || i) && (this.setState({ overrideHover: !0 }), (this.mobileHoverTimer = setTimeout(function () { t.setState({ overrideHover: !1 }); }, 5e3))); }, }, { key: "componentWillUnmount", value: function () { clearTimeout(this.mobileHoverTimer); }, }, { key: "render", value: function () { var e, t, n, o = this.props, i = o.compactLayout, s = o.hovered, c = o.drawingNode, l = o.hasAnnotationLocation, u = o.isPlacingAnnotation, d = o.maskTextOverride, p = o.newAnnotationType, f = o.spectrumUIScale, m = o.style, y = o.theme, g = o.touchControls, b = this.state.overrideHover, k = ((i || g) && !b) || s; !u || k || l || void 0 !== c || ("pin" === p && ((t = d || (i ? a().createElement(h.Z, { id: "comments.annotations.annotation_hint_mobile" }) : a().createElement(h.Z, { id: "comments.annotations.annotation_hint" }))), (n = a().createElement(D.Z, { style: { "--spectrum-icon-size": "11px" }, size: "XS" }))), "highlight" === p && ((t = d || (i ? a().createElement(h.Z, { id: "comments.annotations.annotation_highlight_hint_mobile" }) : a().createElement(h.Z, { id: "comments.annotations.annotation_highlight_hint" }))), (n = a().createElement(C.Z, null))), "strikethrough" === p && ((t = d || (i ? a().createElement(h.Z, { id: "comments.annotations.annotation_strikethrough_hint_mobile" }) : a().createElement(h.Z, { id: "comments.annotations.annotation_strikethrough_hint" }))), (n = a().createElement(v.Z, { size: "S" }))), "insert" === p && ((t = d || a().createElement(h.Z, { id: "comments.annotations.annotation_insert_hint" })), (n = a().createElement(w.Z, null))), "replace" === p && ((t = d || a().createElement(h.Z, { id: "comments.annotations.annotation_replace_hint" })), (n = a().createElement(S.Z, null))), "draw" === p && ((t = d || (i ? a().createElement(h.Z, { id: "comments.annotations.annotation_draw_hint_mobile" }) : a().createElement(h.Z, { id: "comments.annotations.annotation_draw_hint" }))), (n = a().createElement(E, { size: "S" }))), (e = a().createElement("div", { className: "hint-mask" }, t, n))); var _ = "".concat(r.default.component, " ").concat(y, "-theme ").concat(f, "-scale"); (!k && u) || (_ += " no-capture-pointer-events"); var T = Object.assign({}, m); return (i || g) && (T.pointerEvents = "none"), a().createElement("div", { id: A.Mu, ref: this.handleOverlayRef, className: _, style: T }, e); }, }, ]) && _(t.prototype, n), Object.defineProperty(t, "prototype", { writable: !1 }), c ); })(a().Component); (O.defaultProps = { spectrumUIScale: "medium", theme: "light" }), (O.propTypes = { compactLayout: s().bool, hasAnnotationLocation: s().bool, hovered: s().bool, drawingNode: s().oneOfType([s().string, s().number]), isPlacingAnnotation: s().bool, maskTextOverride: s().string, newAnnotationType: s().string, showAnnotationMask: s().bool, spectrumUIScale: s().oneOf(["medium", "large"]), style: s().object, theme: s().oneOf(["light", "lightest", "dark", "darkest"]), touchControls: s().bool, }); var F = n(24681), x = n(69088); function N(e) { return ( (N = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (e) { return typeof e; } : function (e) { return e && "function" == typeof Symbol && e.constructor === Symbol && e !== Symbol.prototype ? "symbol" : typeof e; }), N(e) ); } function R(e, t) { for (var n = 0; n < t.length; n++) { var r = t[n]; (r.enumerable = r.enumerable || !1), (r.configurable = !0), "value" in r && (r.writable = !0), Object.defineProperty(e, r.key, r); } } function L(e, t) { return ( (L = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function (e, t) { return (e.__proto__ = t), e; }), L(e, t) ); } function M(e) { return ( (M = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function (e) { return e.__proto__ || Object.getPrototypeOf(e); }), M(e) ); } var P = (function (e) { !(function (e, t) { if ("function" != typeof t && null !== t) throw new TypeError("Super expression must either be null or a function"); (e.prototype = Object.create(t && t.prototype, { constructor: { value: e, writable: !0, configurable: !0 } })), Object.defineProperty(e, "prototype", { writable: !1 }), t && L(e, t); })(c, e); var t, n, r, o, i, s = ((o = c), (i = (function () { if ("undefined" == typeof Reflect || !Reflect.construct) return !1; if (Reflect.construct.sham) return !1; if ("function" == typeof Proxy) return !0; try { return Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})), !0; } catch (e) { return !1; } })()), function () { var e, t = M(o); if (i) { var n = M(this).constructor; e = Reflect.construct(t, arguments, n); } else e = t.apply(this, arguments); return (function (e, t) { if (t && ("object" === N(t) || "function" == typeof t)) return t; if (void 0 !== t) throw new TypeError("Derived constructors may only return object or undefined"); return (function (e) { if (void 0 === e) throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); return e; })(e); })(this, e); }); function c(e) { var t; return ( (function (e, t) { if (!(e instanceof t)) throw new TypeError("Cannot call a class as a function"); })(this, c), ((t = s.call(this, e)).state = { hadError: !1 }), t ); } return ( (t = c), (r = [ { key: "getDerivedStateFromError", value: function () { return { hadError: !0 }; }, }, ]), (n = [ { key: "componentDidCatch", value: function (e) { var t = this.props, n = t.ccxIngest, r = t.environment; n.fireEvent({ event: { subcategory: "general-error", subtype: "error", type: "render", error_type: e.message && e.message.replace(/\s/g, "-"), error_desc: "annotations-mask-js-error", build: r } }); }, }, { key: "render", value: function () { return this.state.hadError ? null : a().createElement(F.Z, { style: { backgroundColor: "transparent", height: "100%", left: 0, pointerEvents: "none", position: "absolute", top: 0, width: "100%", zIndex: 3 } }, a().createElement(O, this.props)); }, }, ]) && R(t.prototype, n), r && R(t, r), Object.defineProperty(t, "prototype", { writable: !1 }), c ); })(a().Component); P.propTypes = { ccxIngest: s().object, environment: s().string, style: s().object }; const j = (0, c.qC)( f.HJ, (0, l.$j)( function (e) { return { hasAnnotationLocation: (0, m.Qx)(e), drawingNode: p()(e, "".concat(A.Bq, ":annotation.drawingNode")), isPlacingAnnotation: p()(e, "".concat(A.Bq, ":context.isPlacingAnnotation")), newAnnotationType: p()(e, "".concat(A.Bq, ":context.newAnnotationType")), showAnnotationMask: p()(e, "".concat(A.Bq, ":context.showAnnotationMask")), }; }, function () { return {}; }, void 0, { context: x.no } ), (0, u.ccxIngest)(A.FH) )(P); }, 78034: (e, t, n) => { "use strict"; n.d(t, { Z: () => Be }); var r = {}; n.r(r); var o = {}; n.r(o); var a = {}; n.r(a); var i = {}; n.r(i); var s = {}; n.r(s); var c = {}; n.r(c); var l = n(23469), u = n.n(l), d = n(47776), p = n.n(d), f = n(93353), m = n.n(f), h = n(48699), v = n.n(h), y = n(23492), g = n(88133), b = n(99894), E = !!window.PointerEvent, D = function (e) { var t = e.annotation, n = e.annotationId, o = e.disableInteraction, a = e.isHovered, i = e.isPlacingAnnotation, s = e.isProposedForDelete, c = e.isSelected, d = e.onClick, p = e.onDrawingDown, f = e.onDrawingHover, h = e.scaleFactorX, v = e.scaleFactorY, y = e.touchControls, g = t.target.selector, D = g.strokeColor, C = g.strokeWidth, w = g.boundingBox, S = w[0] * h - 5, A = w[1] * v - 5, k = (w[2] - w[0]) * h + 10, _ = (w[3] - w[1]) * v + 10, T = (0, l.useMemo)( function () { return { left: "".concat(S, "px"), top: "".concat(A, "px"), height: "".concat(_, "px"), width: "".concat(k, "px") }; }, [S, A, _, k] ), I = (0, l.useMemo)( function () { return g.inkList.map(function (e) { return e.reduce(function (e, t, n) { var r = t.x * h, o = t.y * v; return isNaN(r) || isNaN(o) ? e : 0 === n ? "M ".concat(r, " ").concat(o) : "".concat(e, " ").concat(r, " ").concat(o); }, ""); }); }, [h, v, g.inkList] ), O = m()(r.default.component, b.TV, { "temp-drawing": "annotation-placeholder" === n, hovered: a && !y, "ignore-mouse-events": i || o, selected: c || s }); return u().createElement( "div", { "data-html2canvas-ignore": "annotation-placeholder" !== n || null, className: O, "data-annotationid": n, "data-annotationtype": "draw", style: T, onClick: d, onPointerDown: E ? p : void 0, onMouseDown: E ? void 0 : p, onTouchStart: E ? void 0 : p, onMouseEnter: f, onMouseLeave: f, }, u().createElement( "svg", { viewBox: "".concat(S, " ").concat(A, " ").concat(k, " ").concat(_) }, I.map(function (e, t) { return u().createElement( u().Fragment, { key: t }, u().createElement("path", { d: e, style: { fill: "none", stroke: D || "#000", strokeWidth: C || 5 } }), u().createElement("path", { d: e, style: { fill: "none", stroke: "none", strokeWidth: 16 } }) ); }) ) ); }; (D.defaultProps = { isHovered: !1, isSelected: !1, isProposedForDelete: !1, onClick: function () {} }), (D.propTypes = { allAnnotations: p().array, annotation: p().object, annotationId: p().string, commentProposedForDelete: p().object, disableInteraction: p().bool, hoveredAnnotation: p().string, imsData: p().object, isHovered: p().bool, isPlacingAnnotation: p().bool, isProposedForDelete: p().bool, isSelected: p().bool, markHovered: p().bool, onClick: p().func, onDrawingDown: p().func, onDrawingHover: p().func, scaleFactorX: p().number, scaleFactorY: p().number, showResolvedComments: p().bool, touchControls: p().bool, touchPressed: p().bool, }); const C = D; var w = n(60954); function S(e) { return ( (S = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (e) { return typeof e; } : function (e) { return e && "function" == typeof Symbol && e.constructor === Symbol && e !== Symbol.prototype ? "symbol" : typeof e; }), S(e) ); } function A(e, t) { for (var n = 0; n < t.length; n++) { var r = t[n]; (r.enumerable = r.enumerable || !1), (r.configurable = !0), "value" in r && (r.writable = !0), Object.defineProperty(e, r.key, r); } } function k(e, t) { return ( (k = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function (e, t) { return (e.__proto__ = t), e; }), k(e, t) ); } function _(e) { if (void 0 === e) throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); return e; } function T(e) { return ( (T = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function (e) { return e.__proto__ || Object.getPrototypeOf(e); }), T(e) ); } var I, O, F, x = { appear: 0, enter: 0, exit: 2e3 }, N = (function (e) { !(function (e, t) { if ("function" != typeof t && null !== t) throw new TypeError("Super expression must either be null or a function"); (e.prototype = Object.create(t && t.prototype, { constructor: { value: e, writable: !0, configurable: !0 } })), Object.defineProperty(e, "prototype", { writable: !1 }), t && k(e, t); })(s, e); var t, n, r, a, i = ((r = s), (a = (function () { if ("undefined" == typeof Reflect || !Reflect.construct) return !1; if (Reflect.construct.sham) return !1; if ("function" == typeof Proxy) return !0; try { return Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})), !0; } catch (e) { return !1; } })()), function () { var e, t = T(r); if (a) { var n = T(this).constructor; e = Reflect.construct(t, arguments, n); } else e = t.apply(this, arguments); return (function (e, t) { if (t && ("object" === S(t) || "function" == typeof t)) return t; if (void 0 !== t) throw new TypeError("Derived constructors may only return object or undefined"); return _(e); })(this, e); }); function s(e) { var t; return ( (function (e, t) { if (!(e instanceof t)) throw new TypeError("Cannot call a class as a function"); })(this, s), ((t = i.call(this, e)).state = { isComplete: t.props.isVisible, in: !1 }), (t.onEntered = t.onEntered.bind(_(t))), (t.onExit = t.onExit.bind(_(t))), t ); } return ( (t = s), (n = [ { key: "componentDidMount", value: function () { this.setState(function () { return { in: !0 }; }); }, }, { key: "componentWillUnmount", value: function () { window.clearTimeout(this.exitTimeout); }, }, { key: "onEntered", value: function () { this.setState(function () { return { in: !1 }; }); }, }, { key: "onExit", value: function () { var e = this; this.exitTimeout = setTimeout(function () { return e.setState(function () { return { isComplete: !0 }; }); }, 2e3); }, }, { key: "render", value: function () { var e = this, t = this.props.isVisible, n = this.state.isComplete; return u().createElement(w.CSSTransition, { classNames: "fade", in: t || this.state.in, timeout: x, onEntered: this.onEntered, onExit: this.onExit, unmountOnExit: !t }, function () { return !t && n ? null : u().createElement( "span", { className: "" .concat(o.default.component, " ") .concat(t ? "is-visible" : "not-visible", " ") .concat(n ? "is-complete" : ""), }, e.props.children ); }); }, }, ]) && A(t.prototype, n), Object.defineProperty(t, "prototype", { writable: !1 }), s ); })(l.Component); (I = N), (O = "propTypes"), (F = { children: p().node, isVisible: p().bool }), O in I ? Object.defineProperty(I, O, { value: F, enumerable: !0, configurable: !0, writable: !0 }) : (I[O] = F); const R = N; function L(e) { return ( (function (e) { if (Array.isArray(e)) return M(e); })(e) || (function (e) { if (("undefined" != typeof Symbol && null != e[Symbol.iterator]) || null != e["@@iterator"]) return Array.from(e); })(e) || (function (e, t) { if (e) { if ("string" == typeof e) return M(e, t); var n = Object.prototype.toString.call(e).slice(8, -1); return "Object" === n && e.constructor && (n = e.constructor.name), "Map" === n || "Set" === n ? Array.from(e) : "Arguments" === n || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n) ? M(e, t) : void 0; } })(e) || (function () { throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); })() ); } function M(e, t) { (null == t || t > e.length) && (t = e.length); for (var n = 0, r = new Array(t); n < t; n++) r[n] = e[n]; return r; } var P = !!window.PointerEvent, j = function (e) { var t = e.annotation, n = e.annotationId, r = e.disableInteraction, o = e.isHovered, i = e.isPlacingAnnotation, s = e.isProposedForDelete, c = e.isSelected, d = e.onClick, p = e.onHighlightDown, f = e.onHighlightHover, h = e.scaleFactorX, v = e.scaleFactorY, y = e.touchControls, g = t.target.selector, E = g.strokeColor, D = g.opacity || 0.4, C = g.boundingBox, w = C[0] * h - 5, S = C[3] * v - 5, A = (C[2] - C[0]) * h + 10, k = (C[1] - C[3]) * v + 10, _ = (0, l.useMemo)( function () { return g.inkList.map(function (e, t) { var n = Math.min.apply( Math, L( e.map(function (e) { return e.x; }) ) ) * h, r = Math.min.apply( Math, L( e.map(function (e) { return e.y; }) ) ) * v, o = Math.max.apply( Math, L( e.map(function (e) { return e.x; }) ) ) * h - n, a = Math.max.apply( Math, L( e.map(function (e) { return e.y; }) ) ) * v - r; return u().createElement("svg", { key: "id-".concat(t), width: o, height: a, style: { left: n - w, top: r - S } }, u().createElement("rect", { width: o, height: a, style: { fill: E, fillOpacity: D }, rx: "4" })); }); }, [w, E, D, h, v, g.inkList, S] ), T = m()(a.default.component, b.TV, { hovered: o && !y, "ignore-mouse-events": i || r, selected: c || s }); return u().createElement( "div", { "data-html2canvas-ignore": "annotation-placeholder" !== n || null, className: T, "data-annotationid": n, "data-annotationtype": "highlight", style: { left: "".concat(w, "px"), top: "".concat(S, "px"), height: "".concat(k, "px"), width: "".concat(A, "px") }, onClick: d, onPointerDown: P ? p : void 0, onMouseDown: P ? void 0 : p, onTouchStart: P ? void 0 : p, onMouseEnter: f, onMouseLeave: f, }, _ ); }; (j.defaultProps = { isHovered: !1, isProposedForDelete: !1, isSelected: !1, onClick: function () {} }), (j.propTypes = { allAnnotations: p().array, annotation: p().object, annotationId: p().string, compactLayout: p().bool, disableInteraction: p().bool, imsData: p().object, isHovered: p().bool, isPlacingAnnotation: p().bool, isProposedForDelete: p().bool, isSelected: p().bool, markHovered: p().bool, onClick: p().func, onHighlightDown: p().func, onHighlightHover: p().func, scaleFactorX: p().number, scaleFactorY: p().number, showResolvedComments: p().bool, touchControls: p().bool, touchPressed: p().bool, }); const B = j; var Z = !!window.PointerEvent, U = function (e) { var t = e.annotation, n = e.annotationId, r = e.disableInteraction, o = e.isHovered, a = e.isPlacingAnnotation, s = e.isProposedForDelete, c = e.isSelected, l = e.onClick, d = e.onInsertDown, p = e.onInsertHover, f = e.scaleFactorX, h = e.scaleFactorY, v = e.touchControls, y = t.target.selector, g = y.strokeColor, E = y.boundingBox, D = E[0] * f, C = E[3] * h, w = m()(i.default.component, b.TV, { hovered: o && !v, "ignore-mouse-events": a || r, selected: c || s }); return u().createElement( "div", { "data-html2canvas-ignore": "annotation-placeholder" !== n || null, className: w, "data-annotationid": n, "data-annotationtype": "insert", style: { fill: g, left: "".concat(D, "px"), top: "".concat(C, "px") }, onClick: l, onPointerDown: Z ? d : void 0, onMouseDown: Z ? void 0 : d, onTouchStart: Z ? void 0 : d, onMouseEnter: p, onMouseLeave: p, }, u().createElement( "svg", { xmlns: "http://www.w3.org/2000/svg", width: "22", height: "15", viewBox: "0 0 34 24" }, u().createElement("path", { d: "M0,24 L34,24 C22.6051595,22.7481684 16.9384929,14.4434308 17,-0.91421274 C16.9384929,14.4316616 11.2718262,22.7363991 0,24 Z" }) ) ); }; (U.displayName = "Insert"), (U.defaultProps = { isHovered: !1, isPlacingAnnotation: !1, isProposedForDelete: !1, isSelected: !1, onClick: function () {}, onInsertDown: function () {}, onInsertHover: function () {}, scaleFactorX: 1, scaleFactorY: 1 }), (U.propTypes = { annotation: p().object, annotationId: p().string, disableInteraction: p().bool, isHovered: p().bool, isPlacingAnnotation: p().bool, isProposedForDelete: p().bool, isSelected: p().bool, onClick: p().func, onInsertDown: p().func, onInsertHover: p().func, scaleFactorX: p().number, scaleFactorY: p().number, touchControls: p().bool, }); const z = U; var V = n(23613), H = n.n(V), G = n(57305), W = n.n(G), Q = n(67586), J = n(91712); function Y(e) { return ( (Y = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (e) { return typeof e; } : function (e) { return e && "function" == typeof Symbol && e.constructor === Symbol && e !== Symbol.prototype ? "symbol" : typeof e; }), Y(e) ); } function q(e, t) { for (var n = 0; n < t.length; n++) { var r = t[n]; (r.enumerable = r.enumerable || !1), (r.configurable = !0), "value" in r && (r.writable = !0), Object.defineProperty(e, r.key, r); } } function X(e, t) { return ( (X = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function (e, t) { return (e.__proto__ = t), e; }), X(e, t) ); } function K(e) { if (void 0 === e) throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); return e; } function $(e) { return ( ($ = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function (e) { return e.__proto__ || Object.getPrototypeOf(e); }), $(e) ); } var ee = !!window.PointerEvent, te = (function (e) { !(function (e, t) { if ("function" != typeof t && null !== t) throw new TypeError("Super expression must either be null or a function"); (e.prototype = Object.create(t && t.prototype, { constructor: { value: e, writable: !0, configurable: !0 } })), Object.defineProperty(e, "prototype", { writable: !1 }), t && X(e, t); })(i, e); var t, n, r, o, a = ((r = i), (o = (function () { if ("undefined" == typeof Reflect || !Reflect.construct) return !1; if (Reflect.construct.sham) return !1; if ("function" == typeof Proxy) return !0; try { return Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})), !0; } catch (e) { return !1; } })()), function () { var e, t = $(r); if (o) { var n = $(this).constructor; e = Reflect.construct(t, arguments, n); } else e = t.apply(this, arguments); return (function (e, t) { if (t && ("object" === Y(t) || "function" == typeof t)) return t; if (void 0 !== t) throw new TypeError("Derived constructors may only return object or undefined"); return K(e); })(this, e); }); function i(e) { var t; return ( (function (e, t) { if (!(e instanceof t)) throw new TypeError("Cannot call a class as a function"); })(this, i), ((t = a.call(this, e)).state = {}), (t.trackMouseMovement = t.trackMouseMovement.bind(K(t))), t ); } return ( (t = i), (n = [ { key: "componentDidMount", value: function () { var e = this.props.currentDocument, t = (void 0 === e ? document : e).defaultView; ee ? t.addEventListener("pointermove", this.trackMouseMovement) : (t.addEventListener("mousemove", this.trackMouseMovement), t.addEventListener("touchstart", this.trackMouseMovement), t.addEventListener("touchmove", this.trackMouseMovement)); }, }, { key: "componentWillUnmount", value: function () { var e = this.props.currentDocument, t = (void 0 === e ? document : e).defaultView; ee ? t.removeEventListener("pointermove", this.trackMouseMovement) : (t.removeEventListener("mousemove", this.trackMouseMovement), t.removeEventListener("touchstart", this.trackMouseMovement), t.removeEventListener("touchmove", this.trackMouseMovement)); }, }, { key: "trackMouseMovement", value: function (e) { var t = this.props.onMove, n = (0, J.K)(e), r = n.x, o = n.y; this.setState({ cursorX: r, cursorY: o }), t && t(e); }, }, { key: "render", value: function () { var e = this.props, t = e.annotationColor, n = e.annotationTypes, r = e.currentDocument, o = void 0 === r ? document : r, a = e.touchControls, i = e.offsetX, s = e.offsetY, c = e.size, l = this.state, d = l.cursorX, p = l.cursorY, f = "L" === c ? 48 : 24; if (d && p) { var m = { alignItems: "center", backgroundColor: "var(--ccx-comments-pin-color, #e7b000)", border: "1px solid white", borderRadius: f / 2, boxSizing: "border-box", color: "#fff", cursor: "none", display: document.body.classList.contains("ccx-comments-adding-annotation-pin") || a ? "flex" : "none", fill: "#fff", flexDirection: "column", height: f, justifyContent: "center", left: d - f / 2 - i, lineHeight: "var(--spectrum-global-dimension-font-size-100, 14px)", pointerEvents: "none", position: "fixed", top: p - f / 2 - s, width: f, zIndex: 1e3, }; return n && (m.backgroundColor = t), H().createPortal(u().createElement("div", { style: m }, u().createElement(Q.Z, { style: { "--spectrum-icon-size": "11px" }, size: "XS" })), o.body); } return null; }, }, ]) && q(t.prototype, n), Object.defineProperty(t, "prototype", { writable: !1 }), i ); })(u().PureComponent); te.propTypes = { annotationColor: p().string, annotationTypes: p().object, currentDocument: p().object, offsetX: p().number, offsetY: p().number, onMove: p().func, touchControls: p().bool, size: p().oneOf(["S", "L"]) }; var ne = function (e) { var t = e.annotatingItmId, n = e.annotation, r = e.annotationColor, o = e.annotationId, a = e.annotationTypes, i = e.commentProposedForDelete, c = e.compactLayout, l = e.disableInteraction, d = e.hasAnnotationLocation, p = e.imsData, f = e.isHovered, h = e.isPlacingAnnotation, v = e.isProposedForDelete, y = e.isSelected, g = e.latestMobileEnabled, E = e.onClick, D = e.onPinDown, C = e.onPinHover, w = e.scaleFactorX, S = e.scaleFactorY, A = e.showDraftAnnotations, k = e.showResolvedComments, _ = e.touchControls, T = e.touchPressed, I = W()(n, "target.selector.noteX") * w, O = W()(n, "target.selector.noteY") * S, F = "annotation-placeholder" === o || a ? u().createElement(Q.Z, { style: { "--spectrum-icon-size": "11px" }, size: "XS" }) : n.pinNum, x = { "--offset-x": "".concat(I, "px"), "--offset-y": "".concat(O, "px") }, N = !1; ((o === t && !T && (h || d) && (!g || A)) || (h && "annotation-placeholder" === o)) && (x.display = "none"), ((k || i || p.id !== W()(n, "creator.id") || d) && ("annotation-placeholder" !== o || (t && "root" !== t))) || (N = !0); var R = m()(s.default.component, b.TV, { "temp-pin": "annotation-placeholder" === o, "can-move": N, "ignore-mouse-events": h || l, hovered: f && !_, "touch-size": !c && _, selected: y || v }); if (a) if ("annotation-placeholder" === o) { var L = W()(n, "target.selector.strokeColor") || r || "#B80000"; (x.borderColor = L), (x.color = L); } else x["--ccx-comments-pin-color"] = W()(n, "target.selector.strokeColor") || "#B80000"; return u().createElement( "div", { "data-html2canvas-ignore": "annotation-placeholder" !== o || null, className: R, style: x, onClick: E, onPointerDown: ee ? D : void 0, onMouseDown: ee ? void 0 : D, onTouchStart: ee ? void 0 : D, onMouseEnter: C, onMouseLeave: C, "data-annotationid": o, "data-annotationtype": "pin", }, F ); }; (ne.defaultProps = { isHovered: !1, isProposedForDelete: !1, isSelected: !1, onClick: function () {} }), (ne.propTypes = { annotatingItmId: p().string, annotation: p().object, annotationColor: p().string, annotationId: p().string, annotationTypes: p().object, commentProposedForDelete: p().object, compactLayout: p().bool, disableInteraction: p().bool, hasAnnotationLocation: p().bool, hoveredAnnotation: p().string, imsData: p().object, isHovered: p().bool, isPlacingAnnotation: p().bool, isProposedForDelete: p().bool, isSelected: p().bool, latestMobileEnabled: p().bool, markHovered: p().bool, onClick: p().func, onPinDown: p().func, onPinHover: p().func, scaleFactorX: p().number, scaleFactorY: p().number, showDraftAnnotations: p().bool, showResolvedComments: p().bool, touchControls: p().bool, touchPressed: p().bool, }); const re = ne; function oe(e) { return ( (function (e) { if (Array.isArray(e)) return ae(e); })(e) || (function (e) { if (("undefined" != typeof Symbol && null != e[Symbol.iterator]) || null != e["@@iterator"]) return Array.from(e); })(e) || (function (e, t) { if (e) { if ("string" == typeof e) return ae(e, t); var n = Object.prototype.toString.call(e).slice(8, -1); return "Object" === n && e.constructor && (n = e.constructor.name), "Map" === n || "Set" === n ? Array.from(e) : "Arguments" === n || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n) ? ae(e, t) : void 0; } })(e) || (function () { throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); })() ); } function ae(e, t) { (null == t || t > e.length) && (t = e.length); for (var n = 0, r = new Array(t); n < t; n++) r[n] = e[n]; return r; } var ie = !!window.PointerEvent, se = function (e) { var t, n, r, o, i, s = e.annotation, c = e.isHovered, d = e.isProposedForDelete, p = e.disableInteraction, f = e.isPlacingAnnotation, h = e.isSelected, v = e.annotationId, y = e.onClick, g = e.onReplaceDown, E = e.onReplaceHover, D = e.scaleFactorX, C = e.scaleFactorY, w = e.touchControls, S = s.target.selector, A = S.strokeColor, k = S.opacity || 0.4, _ = S.strokeWidth || 2, T = S.boundingBox, I = T[0] * D - 5, O = T[3] * C - 5, F = (T[2] - T[0]) * D + 10, x = (T[1] - T[3]) * C + 10, N = (0, l.useMemo)( function () { return { left: "".concat(I, "px"), top: "".concat(O, "px"), height: "".concat(x, "px"), width: "".concat(F, "px") }; }, [x, I, O, F] ), R = []; if (!S.inkList) return null; S.inkList.forEach(function (e, a) { var s = Math.min.apply( Math, oe( e.map(function (e) { return e.x; }) ) ) * D, c = Math.min.apply( Math, oe( e.map(function (e) { return e.y; }) ) ) * C, l = Math.max.apply( Math, oe( e.map(function (e) { return e.x; }) ) ) * D - s, d = Math.max.apply( Math, oe( e.map(function (e) { return e.y; }) ) ) * C - c; (i = d > l), (t = s - I), (n = c - O), (r = l), (o = d), R.push( u().createElement( "svg", { key: "id-".concat(a), width: l, height: d, style: { left: t, top: n } }, u().createElement("line", { x1: i ? "50%" : "0%", y1: i ? "0%" : "50%", x2: i ? "50%" : "100%", y2: i ? "100%" : "50%", style: { stroke: A, fillOpacity: k, strokeWidth: _ } }) ) ); }); var L = t + r - 11 * D, M = n + o / 2; i && ((L = r / 2 - t), (M = n + o)); var P = m()(a.default.component, b.TV, { hovered: c && !w, "ignore-mouse-events": f || p, selected: h || d }); return u().createElement( "div", { "data-html2canvas-ignore": "annotation-placeholder" !== v || null, className: P, "data-annotationid": v, "data-annotationtype": "replace", style: N, onClick: y, onPointerDown: ie ? g : void 0, onMouseDown: ie ? void 0 : g, onTouchStart: ie ? void 0 : g, onMouseEnter: E, onMouseLeave: E, }, R, u().createElement( "svg", { xmlns: "http://www.w3.org/2000/svg", width: 22, height: 15, viewBox: "0 0 34 24", style: { fill: A, left: L, top: M } }, u().createElement("path", { d: "M0,24 L34,24 C22.6051595,22.7481684 16.9384929,14.4434308 17,-0.91421274 C16.9384929,14.4316616 11.2718262,22.7363991 0,24 Z" }) ) ); }; (se.displayName = "Replace"), (se.defaultProps = { isHovered: !1, isPlacingAnnotation: !1, isProposedForDelete: !1, isSelected: !1, onClick: function () {}, onReplaceDown: function () {}, onReplaceHover: function () {}, scaleFactorX: 1, scaleFactorY: 1 }), (se.propTypes = { annotation: p().object, annotationId: p().string, disableInteraction: p().bool, isHovered: p().bool, isPlacingAnnotation: p().bool, isProposedForDelete: p().bool, isSelected: p().bool, onClick: p().func, onReplaceDown: p().func, onReplaceHover: p().func, scaleFactorX: p().number, scaleFactorY: p().number, touchControls: p().bool, }); const ce = se; function le(e) { return ( (function (e) { if (Array.isArray(e)) return ue(e); })(e) || (function (e) { if (("undefined" != typeof Symbol && null != e[Symbol.iterator]) || null != e["@@iterator"]) return Array.from(e); })(e) || (function (e, t) { if (e) { if ("string" == typeof e) return ue(e, t); var n = Object.prototype.toString.call(e).slice(8, -1); return "Object" === n && e.constructor && (n = e.constructor.name), "Map" === n || "Set" === n ? Array.from(e) : "Arguments" === n || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n) ? ue(e, t) : void 0; } })(e) || (function () { throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); })() ); } function ue(e, t) { (null == t || t > e.length) && (t = e.length); for (var n = 0, r = new Array(t); n < t; n++) r[n] = e[n]; return r; } var de = !!window.PointerEvent, pe = function (e) { var t = e.annotation, n = e.annotationId, r = e.disableInteraction, o = e.isHovered, i = e.isPlacingAnnotation, s = e.isProposedForDelete, c = e.isSelected, d = e.onClick, p = e.onStrikethroughDown, f = e.onStrikethroughHover, h = e.scaleFactorX, v = e.scaleFactorY, y = e.touchControls, g = t.target.selector, E = g.strokeColor, D = g.opacity || 0.4, C = g.strokeWidth || 2, w = g.boundingBox, S = w[0] * h - 5, A = w[3] * v - 5, k = (w[2] - w[0]) * h + 10, _ = (w[1] - w[3]) * v + 10, T = (0, l.useMemo)( function () { return g.inkList.map(function (e, t) { var n = Math.min.apply( Math, le( e.map(function (e) { return e.x; }) ) ) * h, r = Math.min.apply( Math, le( e.map(function (e) { return e.y; }) ) ) * v, o = Math.max.apply( Math, le( e.map(function (e) { return e.x; }) ) ) * h - n, a = Math.max.apply( Math, le( e.map(function (e) { return e.y; }) ) ) * v - r, i = a > o; return u().createElement( "svg", { key: "id-".concat(t), width: o, height: a, style: { left: n - S, top: r - A } }, u().createElement("line", { x1: i ? "50%" : "0%", y1: i ? "0%" : "50%", x2: i ? "50%" : "100%", y2: i ? "100%" : "50%", style: { stroke: E, fillOpacity: D, strokeWidth: C } }) ); }); }, [S, E, D, C, h, v, g.inkList, A] ), I = m()(a.default.component, b.TV, { hovered: o && !y, "ignore-mouse-events": i || r, selected: c || s }); return u().createElement( "div", { "data-html2canvas-ignore": "annotation-placeholder" !== n || null, className: I, "data-annotationid": n, "data-annotationtype": "strikethrough", style: { left: "".concat(S, "px"), top: "".concat(A, "px"), height: "".concat(_, "px"), width: "".concat(k, "px") }, onClick: d, onPointerDown: de ? p : void 0, onMouseDown: de ? void 0 : p, onTouchStart: de ? void 0 : p, onMouseEnter: f, onMouseLeave: f, }, T ); }; (pe.defaultProps = { isHovered: !1, isProposedForDelete: !1, isSelected: !1, onClick: function () {} }), (pe.propTypes = { annotation: p().object, annotationId: p().string, disableInteraction: p().bool, isHovered: p().bool, isPlacingAnnotation: p().bool, isProposedForDelete: p().bool, isSelected: p().bool, onClick: p().func, onStrikethroughDown: p().func, onStrikethroughHover: p().func, scaleFactorX: p().number, scaleFactorY: p().number, touchControls: p().bool, }); const fe = pe; var me = n(46794), he = n(83896), ve = n(89941), ye = n(82950), ge = n(69522), be = n(48468), Ee = n(69088); function De() { return ( (De = Object.assign ? Object.assign.bind() : function (e) { for (var t = 1; t < arguments.length; t++) { var n = arguments[t]; for (var r in n) Object.prototype.hasOwnProperty.call(n, r) && (e[r] = n[r]); } return e; }), De.apply(this, arguments) ); } function Ce(e) { return ( (function (e) { if (Array.isArray(e)) return Ae(e); })(e) || (function (e) { if (("undefined" != typeof Symbol && null != e[Symbol.iterator]) || null != e["@@iterator"]) return Array.from(e); })(e) || Se(e) || (function () { throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); })() ); } function we(e, t) { return ( (function (e) { if (Array.isArray(e)) return e; })(e) || (function (e, t) { var n = null == e ? null : ("undefined" != typeof Symbol && e[Symbol.iterator]) || e["@@iterator"]; if (null != n) { var r, o, a = [], i = !0, s = !1; try { for (n = n.call(e); !(i = (r = n.next()).done) && (a.push(r.value), !t || a.length !== t); i = !0); } catch (e) { (s = !0), (o = e); } finally { try { i || null == n.return || n.return(); } finally { if (s) throw o; } } return a; } })(e, t) || Se(e, t) || (function () { throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); })() ); } function Se(e, t) { if (e) { if ("string" == typeof e) return Ae(e, t); var n = Object.prototype.toString.call(e).slice(8, -1); return "Object" === n && e.constructor && (n = e.constructor.name), "Map" === n || "Set" === n ? Array.from(e) : "Arguments" === n || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n) ? Ae(e, t) : void 0; } } function Ae(e, t) { (null == t || t > e.length) && (t = e.length); for (var n = 0, r = new Array(t); n < t; n++) r[n] = e[n]; return r; } var ke = "pin", _e = "draw", Te = "insert", Ie = !!window.PointerEvent, Oe = function (e) { var t = e.currentDocument, n = void 0 === t ? document : t, r = e.disableInteraction, o = e.mediaData, a = e.nodeId, i = e.onPinDrop, s = e.scaleFactorX, d = void 0 === s ? 1 : s, p = e.scaleFactorY, f = void 0 === p ? 1 : p, h = e.sectionId, E = e.showHighlight, D = e.style, w = (0, l.useContext)(y.ZP), S = w.annotationsMultiPageEnabled, A = w.assetData, k = w.compactLayout, _ = w.imsData, T = w.isOffline, I = w.latestMobileEnabled, O = w.spectrumUIScale, F = w.theme, x = w.touchControls, N = (0, me.Z)(), L = N.annotatingItmId, M = N.annotationColor, P = N.annotationLocationCoordinates, j = N.annotationLocationNodeId, Z = N.annotationTypes, U = N.drawingNode, V = N.hasAnnotationLocation, H = N.hasTempAnnotation, G = N.hoveredAnnotation, W = N.isPlacingAnnotation, Q = N.newAnnotationType, Y = N.registerSectionId, q = N.registeredSectionIds, X = N.saveAnnotationLocation, K = N.selectedAnnotationId, $ = N.setAnnotationMode, ee = N.setDrawingNode, ne = N.setHoveredAnnotation, oe = N.setTouchPressed, ae = N.showAnnotations, ie = N.showDraftAnnotations, se = N.touchPressed, le = (0, l.useContext)(g.ZP), ue = le.onCommentHover, de = le.onCommentSelect, pe = le.onNodeChange, Se = (0, he.Z)().comments, Ae = we((0, l.useState)(!1), 2), Oe = Ae[0], Fe = Ae[1], xe = we((0, l.useState)("S"), 2), Ne = xe[0], Re = xe[1], Le = we((0, l.useState)([]), 2), Me = Le[0], Pe = Le[1], je = we((0, l.useState)([]), 2), Be = je[0], Ze = je[1], Ue = we((0, l.useState)(0), 2), ze = Ue[0], Ve = Ue[1], He = we((0, l.useState)(0), 2), Ge = He[0], We = He[1], Qe = (0, l.useRef)([]), Je = (0, l.useRef)(null), Ye = (0, l.useRef)(null), qe = (0, l.useRef)(null), Xe = (0, l.useRef)(!1), Ke = (0, l.useRef)(null), $e = (0, ye.Z)(h), et = (0, ye.Z)(V), tt = (0, ye.Z)(P), nt = (0, Ee.v9)(function (e) { return e["".concat(b.Bq, ":context")].focusedInputInfo; }), rt = (0, Ee.v9)(function (e) { return (0, be._X)(e, A.id); }), ot = rt.commentProposedForDelete, at = rt.remappedMap, it = (0, Ee.v9)(function (e) { return e["".concat(b.Bq, ":filter")].showResolvedComments; }), st = (0, Ee.I0)(), ct = (0, ve.Z)().fireEvent, lt = !S || A.nodeId === a, ut = (0, l.useCallback)( v()( function (e) { if ((S ? a === U : void 0 !== U) && (e.buttons > 0 || 0 === e.button || (e.touches && 1 === e.touches.length))) { var t, r = (0, J.e)(e), o = r.x, i = r.y, s = n.body.getBoundingClientRect(), c = Ye.current.getBoundingClientRect(), l = c.top - s.top, u = (o - (c.left - s.left)) / d, p = (i - l) / f, m = { x: (u = Math.min(Math.max(0, u), c.width / d)), y: (p = Math.min(Math.max(0, p), c.height / f)) }; Pe(function (e) { return (t = [].concat(Ce(e), [m])); }), Ze(function (e) { return [].concat(Ce(e.slice(0, -1)), [t]); }); } }, 10, { leading: !0, maxWait: 30 } ), [S, n, U, a, d, f] ), dt = (0, l.useCallback)( function (e) { var t, n, r = Se.find(function (t) { return t.id === e; }); return (!T && r && _.id === r.creator.id && "note" === (null === (t = r.target) || void 0 === t || null === (n = t.selector) || void 0 === n ? void 0 : n.subtype)) || "annotation-placeholder" === e; }, [Se, _.id, T] ), pt = (0, l.useCallback)( function (e, t) { var r, o = (0, J.K)(e), a = o.x, i = o.y, s = null === (r = e.target) || void 0 === r ? void 0 : r.getRootNode(), c = n.elementFromPoint(a, i); if ((s instanceof ShadowRoot && (c = s.elementFromPoint(a, i)), !c || (c.getAttribute("id") !== b.iq && !c.dataset.annotationtype))) return !1; var l = c.getBoundingClientRect(), u = l.height, d = l.left, p = l.top, f = l.width; return a >= d && a <= d + f && i >= p && i <= p + u && (void 0 === t || void 0 === c.dataset.nodeid || t.toString() === c.dataset.nodeid); }, [n] ), ft = (0, l.useCallback)( function () { var e = Se.filter(function (e) { var t, n, r, a, i, s, c, l, u, d, p, f = (null == e || null === (t = e.target) || void 0 === t || null === (n = t.selector) || void 0 === n ? void 0 : n.sectionId) || "root", m = null == e || null === (r = e.target) || void 0 === r || null === (a = r.selector) || void 0 === a || null === (i = a.node) || void 0 === i ? void 0 : i.id; return ( e.annotationType && (m === A.nodeId || S) && q.includes(f) && (!o || (o && o.frameNum >= (null === (s = e.target) || void 0 === s || null === (c = s.selector) || void 0 === c || null === (l = c.refinedBy) || void 0 === l ? void 0 : l.start) && o.frameNum <= (null === (u = e.target) || void 0 === u || null === (d = u.selector) || void 0 === d || null === (p = d.refinedBy) || void 0 === p ? void 0 : p.end))) ); }); return ( (e = h ? e.filter(function (e) { var t, n; return (null == e || null === (t = e.target) || void 0 === t || null === (n = t.selector) || void 0 === n ? void 0 : n.sectionId) === h; }) : e.filter(function (e) { var t, n; return void 0 === (null == e || null === (t = e.target) || void 0 === t || null === (n = t.selector) || void 0 === n ? void 0 : n.sectionId); })), S && void 0 !== a && (e = e.filter(function (e) { var t, n; return (null == e || null === (t = e.target) || void 0 === t || null === (n = t.selector) || void 0 === n ? void 0 : n.node.id) === a; })), e ); }, [S, A.nodeId, Se, o, a, q, h] ), mt = (0, l.useCallback)( function (e) { var t, n, r; if (!e) return !1; var o = e.annotationType, a = void 0 === o ? (null === (t = e.target) || void 0 === t || null === (n = t.selector) || void 0 === n ? void 0 : n.subtype) : o, i = (null === (r = Ye.current) || void 0 === r ? void 0 : r.getBoundingClientRect()) || {}, s = i.height, c = i.width; if (s && c && "node" !== a) { if ("note" === a) { var l = e.target.selector.noteX * d, u = e.target.selector.noteY * f; return l < c && u < s; } var p = e.target.selector.boundingBox, m = p[2] * d, h = p[3] * f; return m < c && h < s; } return !0; }, [d, f] ), ht = (0, l.useCallback)( function () { var e, t, n, r; return ( Be.forEach(function (o) { o.forEach(function (o) { (!e || o.x < e) && (e = o.x), (!t || o.y < t) && (t = o.y), (!n || o.x > n) && (n = o.x), (!r || o.y > r) && (r = o.y); }); }), { minX: e, maxX: n, minY: t, maxY: r } ); }, [Be] ), vt = (0, l.useCallback)( function () { var e = ht(), t = e.minX, n = e.maxX, r = e.minY, o = e.maxY; Be.length && X({ subtype: "shape", boundingBox: [t, r, n, o], inkList: Be, sectionId: h, strokeColor: M }, S ? a : A.nodeId), Q === _e && ee(void 0); }, [M, S, A.nodeId, Be, ht, Q, a, X, h, ee] ), yt = (0, l.useCallback)( function (e) { W && (e.touches || (e.pointerType && "mouse" !== e.poitnerType)) && (k && Ke.current && (clearTimeout(Ke.current), (Ke.current = null)), se && oe(!1)); }, [k, W, oe, se] ), gt = (0, l.useCallback)( function (e) { var t = arguments.length > 1 && void 0 !== arguments[1] && arguments[1]; if ((!S || a === A.nodeId || V || (void 0 !== U && U !== a) || pe(a, h), Je.current && (clearTimeout(Je.current), (Je.current = null)), W || t)) { var r, o = (0, J.e)(e), s = o.x, c = o.y, l = n.body.getBoundingClientRect(), u = (0, J.K)(e), p = u.x, m = u.y, v = null === (r = e.target) || void 0 === r ? void 0 : r.getRootNode(), y = n.elementFromPoint(p, m); if (("undefined" != typeof ShadowRoot && v instanceof ShadowRoot && (y = v.elementFromPoint(p, m)), W && !et && ct({ event: { subcategory: "".concat(Q, "-comment"), type: "click", subtype: Q } }), Q === ke)) { var g, E, D, C, w = !1, k = y && y.dataset.sectionid; "DIV" === y.tagName && y.getAttribute("id") === b.iq && (w = !0), w ? ((E = (g = y.getBoundingClientRect()).top - l.top), (D = (s - (g.left - l.left)) / y.dataset.scalefactorx), (C = (c - E) / y.dataset.scalefactory)) : ((E = (g = Ye.current.getBoundingClientRect()).top - l.top), (D = (s - (g.left - l.left)) / d), (C = (c - E) / f)), oe(!1); var _ = !!nt, T = Se.find(function (e) { return e.id === L; }), I = "root" === L, O = I || (T && !T.pinNum); if (pt(e) && (!S || !V || j === a) && ((!_ && W) || O || (_ && nt.id === L))) { var F, x, N = A.useNodeIndex ? Number(y.dataset.nodeid) : y.dataset.nodeid; I ? X({ noteX: D - ze, noteY: C - Ge, sectionId: w ? k : h, subtype: "note", strokeColor: M }, S ? N : A.nodeId) : i( T.id, { noteX: D - ze, noteY: C - Ge, sectionId: w ? k : h, subtype: "note", strokeColor: null === (F = T.target) || void 0 === F || null === (x = F.selector) || void 0 === x ? void 0 : x.strokeColor }, S ? N : void 0 ); } $(!1); } } }, [L, M, j, S, A.nodeId, A.useNodeIndex, Se, n, U, ct, nt, V, pt, W, Q, a, ze, Ge, pe, i, et, X, d, f, h, $, oe] ), bt = (0, l.useCallback)( function () { Q === ke && W && (Fe(!0), Re("S")); }, [W, Q] ), Et = (0, l.useCallback)( function () { Q === ke && W && Fe(!1); }, [W, Q] ), Dt = (0, l.useCallback)( function (e) { (e.touches && e.touches.length > 1) || (e.pointerType && (Qe.current.push(e), Qe.current.length > 1)) || (e.preventDefault(), "mouse" === e.pointerType || "mousedown" === e.type || Re("L"), Q !== _e || void 0 !== U || !W || (S && V && j !== a) || (ee(S ? a : A.nodeId), Me.length > 1 && (Ze(function (e) { return [].concat(Ce(e), [Me]); }), Pe([])))); }, [j, S, A.nodeId, Me, U, V, W, Q, a, ee] ), Ct = (0, l.useCallback)( function (e) { (e.touches && e.touches.length > 1) || (e.pointerType && Qe.current.length > 1) || (Ie && "touchmove" === e.type ? e.preventDefault() : ((e.touches && 1 === e.touches.length) || 1 === Qe.current.length || 1 === e.buttons) && W && (e.preventDefault(), Q === _e && ut(e))); }, [ut, W, Q] ), wt = (0, l.useCallback)( function (e) { e.preventDefault(), e.pointerType && (Qe.current = []), gt(e); var t = e.target.closest("[data-annotationid]"), n = t && t.dataset.annotationid; n ? n === G || x || ne(n) : ne(null), W && Q === _e && vt(); }, [vt, gt, G, W, Q, ne, x] ), St = (0, l.useCallback)( function (e) { e.stopPropagation(); var t = e.target.closest("[data-annotationtype]").dataset.annotationid; de( e, Se.find(function (e) { return e.id === t; }), { autoScroll: !0, allowToggle: !0 } ); }, [Se, de] ), At = (0, l.useCallback)( function (e) { e.preventDefault(), e.stopPropagation(), k && document.activeElement && document.activeElement.classList.contains("textarea") && document.activeElement.blur(); var t = e.target.closest("[data-annotationtype]").dataset, n = t.annotationid, r = t.annotationtype; if (!H() || ("annotation-placeholder" === n && "root" === L)) { var o = (0, J.K)(e), a = o.x, i = o.y; r === ke && (Ve(a - (e.target.getBoundingClientRect().left + 12)), We(i - (e.target.getBoundingClientRect().top + 12))), W || ot || ("annotation-placeholder" !== n && (k && (Ke.current = setTimeout(function () { Ke.current && (Ke.current = null); }, 200)), ct({ event: { subcategory: "navigation", type: "click", subtype: r } })), it || ((!k || "touchstart" === e.type || (e.pointerType && "mouse" !== e.pointerType)) && ("annotation-placeholder" !== n || (L && "root" !== L) || "note" !== P.subtype ? dt(n) && !V && (Je.current = setTimeout(function () { Je.current && ((Je.current = null), $(!0, n, !0, ke)); }, 200)) : $(!0)))); } }, [L, P, dt, ot, k, ct, V, H, W, $, it] ), kt = (0, l.useCallback)( function (e) { if (!W) { var t = e.target.dataset && e.target.dataset.annotationid; t || (t = e.target.closest("div").dataset.annotationid), "annotation-placeholder" !== t && ue( e, Se.find(function (e) { return e.id === t; }) ); } }, [Se, W, ue] ), _t = (0, l.useCallback)( function (e) { var t, n, o, a, i, s, c, l = null === (t = e.target) || void 0 === t || null === (n = t.selector) || void 0 === n ? void 0 : n.subtype, p = !!( (null !== (o = e.target) && void 0 !== o && null !== (a = o.selector) && void 0 !== a && a.pinModelRootPosition) || (null !== (i = e.target) && void 0 !== i && null !== (s = i.selector) && void 0 !== s && s["3dData"]) ), m = e.id || "annotation-placeholder", h = null == ot ? void 0 : ot.id, v = e.recentActivity === b.Uj, y = e.recentActivity === b.E3, g = m === h, E = K === e.id, D = G === m; if (!(ae || D || "annotation-placeholder" === m || v || y || g || E)) return null; var w = { annotatingItmId: L, annotationColor: M, annotationTypes: Z, commentProposedForDelete: ot, compactLayout: k, disableInteraction: r, hasAnnotationLocation: V, imsData: _, isPlacingAnnotation: W, latestMobileEnabled: I, scaleFactorX: d, scaleFactorY: f, showDraftAnnotations: ie, showResolvedComments: it, touchControls: x, }; return ( (!Z || (Z && Z.pin)) && "note" === l && !p ? (c = u().createElement( re, De({}, w, { key: "annotation-marker-".concat(m), touchPressed: se, annotation: e, onClick: St, onPinDown: At, onPinHover: k ? null : kt, annotationId: m, isProposedForDelete: g, isSelected: E, isHovered: D }) )) : Z && Z.draw && "shape" === l ? (c = u().createElement( C, De({}, w, { key: "annotation-marker-".concat(m), annotation: e, onClick: St, onDrawingDown: At, onDrawingHover: k ? null : kt, annotationId: m, isProposedForDelete: g, isSelected: E, isHovered: D }) )) : Z && Z.highlight && "highlight" === l ? (c = u().createElement( B, De({}, w, { key: "annotation-marker-".concat(m), annotation: e, onClick: St, onHighlightDown: At, onHighlightHover: k ? null : kt, annotationId: m, isProposedForDelete: g, isSelected: E, isHovered: D }) )) : Z && Z.strikethrough && "strikethrough" === l ? (c = u().createElement( fe, De({}, w, { key: "annotation-marker-".concat(m), annotation: e, onClick: St, onStrikethroughDown: At, onStrikethroughHover: k ? null : kt, annotationId: m, isProposedForDelete: g, isSelected: E, isHovered: D }) )) : Z && Z.insert && "insert" === l ? (c = u().createElement( z, De({}, w, { key: "annotation-marker-".concat(m), annotation: e, onClick: St, onInsertDown: At, onInsertHover: k ? null : kt, annotationId: m, isProposedForDelete: g, isSelected: E, isHovered: D }) )) : Z && Z.replace && "replace" === l && (c = u().createElement( ce, De({}, w, { key: "annotation-marker-".concat(m), annotation: e, onClick: St, onReplaceDown: At, onReplaceHover: k ? null : kt, annotationId: m, isProposedForDelete: g, isSelected: E, isHovered: D }) )), (!v && !y) || D || ae || E ? c : u().createElement(R, { key: m, isVisible: !1 }, c) ); }, [L, M, Z, ot, k, r, St, At, kt, V, G, _, W, I, d, f, K, ae, ie, it, x, se] ); (0, l.useEffect)( function () { return ( (($e || h) && $e === h) || Y(A.id, h || "root"), function () { var e; (e = A.useNodeIndex ? A.validNodes.length - 1 >= j : A.validNodes .map(function (e) { return e.id; }) .includes(j)), !H() || (S && e) || (X(), $(!1)), Y(A.id, $e || "root", !1); } ); }, [A.id, $e, h] ), (0, l.useEffect)( function () { var e = function (e) { var t = !!e.target.closest("#".concat(b.iq)); (Q && Q !== ke) || Fe(!!t), !W || Q !== _e || t || ("touchend" !== e.type && "pointerup" !== e.type) || (e.pointerType && (Qe.current = []), vt()); }, t = n.defaultView; return ( lt && (Xe.current || (Ie ? (t.addEventListener("pointerdown", e, !0), t.addEventListener("pointerup", e, !0)) : (t.addEventListener("touchstart", e, !0), t.addEventListener("touchend", e, !0)), (Xe.current = !0))), function () { Xe.current && (Ie ? (t.removeEventListener("pointerdown", e, !0), t.removeEventListener("pointerup", e, !0)) : (t.removeEventListener("touchstart", e, !0), t.removeEventListener("touchend", e, !0)), (Xe.current = !1)); } ); }, [lt, n.defaultView, vt, W, Q] ), (0, l.useEffect)( function () { if (Ye.current) { Ie ? (Ye.current.addEventListener("pointermove", Ct, !0), Ye.current.addEventListener("pointercancel", wt, !0), Ye.current.addEventListener("touchmove", Ct, !0)) : (Ye.current.addEventListener("touchmove", Ct, !0), Ye.current.addEventListener("touchcancel", wt, !0), Ye.current.addEventListener("mousemove", Ct, !0)); var e = Ye.current; return function () { e && Ie ? (e.removeEventListener("pointermove", Ct, !0), e.removeEventListener("pointercancel", wt, !0), e.removeEventListener("touchmove", Ct, !0)) : (e.removeEventListener("touchmove", Ct, !0), e.removeEventListener("touchcancel", wt, !0), e.removeEventListener("mousemove", Ct, !0)); }; } }, [wt, Ct] ), (0, l.useEffect)( function () { et && !V && "shape" === tt.subtype && (Ze([]), Pe([])); }, [V, tt, et] ), (0, l.useEffect)( function () { var e = {}; ft().forEach(function (t) { var n, r, o; S && (null === (n = t.target) || void 0 === n || null === (r = n.selector) || void 0 === r || null === (o = r.node) || void 0 === o ? void 0 : o.id) === a && !mt(t) && (e[t.id] = b.Qy); }), Object.entries(at).forEach(function (t) { var n = we(t, 2), r = n[0], o = n[1], i = Se.find(function (e) { return e.id === r; }); o.original === a && o.current === b.Qy && i && mt(i) && (e[r] = a); }), Object.keys(e).length && st((0, ge.$k)(A.id, e)); }, [S, A.id, mt, Se, st, ft, o, a, q, at, h, d, f] ); var Tt, It = [ c.default.component, "".concat(F, "-theme"), "".concat(O, "-scale"), { "annotating-new": W && "highlight" !== Q && "strikethrough" !== Q && "replace" !== Q && Q !== Te, "capture-pointer-events": H(h) && !(V && Q === Te), "hide-cursor": W && Q === ke, highlight: W && E, touch: x }, ], Ot = ft(); if ( (!Q || (I && !ie) || (!W || (!lt && V) ? Q === Te && lt && (Tt = !0) : (Tt = !0)), Tt && It.push("addining-annotation-".concat(Q)), (V && (!I || ie) && (!S || a === j) && ((!h && (1 === q.length || S)) || h === P.sectionId)) || (void 0 !== U && Be.length)) ) { var Ft = {}; if (void 0 === U) Ft.target = { selector: P }; else { var xt = ht(), Nt = xt.minX, Rt = xt.maxX, Lt = xt.minY, Mt = xt.maxY; Ft.target = { selector: { subtype: "shape", boundingBox: [Nt, Lt, Rt, Mt], inkList: Be, strokeColor: M } }; } Ot.unshift(Ft); } var Pt, jt, Bt = Ot.filter(function (e) { var t, n; return "note" === (null === (t = e.target) || void 0 === t || null === (n = t.selector) || void 0 === n ? void 0 : n.subtype); }); if (L) { var Zt, Ut, zt = Bt.find(function (e) { return e.id === L; }); Pt = null == zt || null === (Zt = zt.target) || void 0 === Zt || null === (Ut = Zt.selector) || void 0 === Ut ? void 0 : Ut.strokeColor; } return ( W && lt && ((q.length && q[0] === h) || !h) && Q === ke && (!x || (x && Oe)) && (jt = u().createElement(te, { annotationTypes: Z, annotationColor: Pt || M, currentDocument: n, offsetX: ze, offsetY: Ge, touchControls: x, size: Ne, ref: qe, onMove: yt })), u().createElement( "div", { className: m()(It), "data-nodeid": a, "data-scalefactorx": d, "data-scalefactory": f, "data-sectionid": h, id: b.iq, onMouseDownCapture: Ie ? void 0 : Dt, onMouseEnter: bt, onMouseLeave: Et, onMouseUpCapture: Ie ? void 0 : wt, onPointerDownCapture: Ie ? Dt : void 0, onPointerUpCapture: Ie ? wt : void 0, onTouchEndCapture: Ie ? void 0 : wt, onTouchStartCapture: Ie ? void 0 : Dt, ref: Ye, style: D, }, Ot.reverse().map(function (e) { return _t(e); }), jt ) ); }; Oe.propTypes = { currentDocument: p().object, disableInteraction: p().bool, mediaData: p().shape({ frameNum: p().number, frameRange: p().shape({ start: p().number, end: p().number }), frameRate: p().number, unit: p().oneOf(["frame", "tick"]) }), nodeId: p().oneOfType([p().string, p().number]), onPinDrop: p().func, scaleFactorX: p().number, scaleFactorY: p().number, sectionId: p().string, showHighlight: p().bool, style: p().object, }; const Fe = Oe; var xe = n(64251), Ne = n(99610), Re = n(30251); function Le() { return ( (Le = Object.assign ? Object.assign.bind() : function (e) { for (var t = 1; t < arguments.length; t++) { var n = arguments[t]; for (var r in n) Object.prototype.hasOwnProperty.call(n, r) && (e[r] = n[r]); } return e; }), Le.apply(this, arguments) ); } function Me(e, t, n, r, o, a, i) { try { var s = e[a](i), c = s.value; } catch (e) { return void n(e); } s.done ? t(c) : Promise.resolve(c).then(r, o); } function Pe(e, t) { (null == t || t > e.length) && (t = e.length); for (var n = 0, r = new Array(t); n < t; n++) r[n] = e[n]; return r; } var je = function (e) { var t, n, r = (0, l.useContext)(y.ZP), o = r.annotationsEnabled, a = r.assetData, i = r.environment, s = r.imsData, c = (0, l.useContext)(g.ZP).onGuestSession, d = ((t = (0, l.useState)(!1)), (n = 2), (function (e) { if (Array.isArray(e)) return e; })(t) || (function (e, t) { var n = null == e ? null : ("undefined" != typeof Symbol && e[Symbol.iterator]) || e["@@iterator"]; if (null != n) { var r, o, a = [], i = !0, s = !1; try { for (n = n.call(e); !(i = (r = n.next()).done) && (a.push(r.value), !t || a.length !== t); i = !0); } catch (e) { (s = !0), (o = e); } finally { try { i || null == n.return || n.return(); } finally { if (s) throw o; } } return a; } })(t, n) || (function (e, t) { if (e) { if ("string" == typeof e) return Pe(e, t); var n = Object.prototype.toString.call(e).slice(8, -1); return "Object" === n && e.constructor && (n = e.constructor.name), "Map" === n || "Set" === n ? Array.from(e) : "Arguments" === n || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n) ? Pe(e, t) : void 0; } })(t, n) || (function () { throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); })()), p = d[0], f = d[1], m = (0, ve.Z)().fireEvent, h = (0, Ee.I0)(), v = e.maskStyle, b = e.maskTextOverride, E = e.mediaData, D = e.nodeId, C = e.useMask; (0, l.useEffect)( function () { E && (0, Re.eP)(E); }, [E] ); var w = (0, l.useCallback)( function (e) { m({ event: { subcategory: "general-error", subtype: "error", type: "render", error_type: e.message && e.message.replace(/\s/g, "-"), error_desc: "annotations-js-error", build: i } }); }, [i, m] ), S = (0, l.useCallback)(function () { f(!0); }, []), A = (0, l.useCallback)(function () { f(!1); }, []), k = (0, l.useCallback)( (function () { var e, t = ((e = regeneratorRuntime.mark(function e(t, n, r) { return regeneratorRuntime.wrap( function (e) { for (;;) switch ((e.prev = e.next)) { case 0: return (e.prev = 0), (e.next = 3), h((0, ge._E)(t, n, r, a)); case 3: m({ event: { subcategory: "pin-comment", type: "click", subtype: "drag-drop" } }), (e.next = 10); break; case 6: (e.prev = 6), (e.t0 = e.catch(0)), m({ event: { subcategory: "edit-comment", subtype: "error", type: "render", error_code: e.t0.status, error_type: e.t0.message, error_desc: "comment-failed-to-edit" } }), s.token.includes("AnonBearer") && 401 === e.t0.status && ((0, Re.I3)(), c("destroy", s)); case 10: case "end": return e.stop(); } }, e, null, [[0, 6]] ); })), function () { var t = this, n = arguments; return new Promise(function (r, o) { var a = e.apply(t, n); function i(e) { Me(a, r, o, i, s, "next", e); } function s(e) { Me(a, r, o, i, s, "throw", e); } i(void 0); }); }); return function (e, n, r) { return t.apply(this, arguments); }; })(), [a, h, m, s, c] ), _ = D; if ((a.useNodeIndex && (_ = isNaN(Number(D)) ? D : Number(D)), !o)) return null; var T = u().createElement(Fe, Le({}, e, { nodeId: _, onPinDrop: k })); return C ? u().createElement( Ne.Z, { onError: w }, u().createElement( "div", { onMouseEnter: S, onMouseLeave: A, style: { pointerEvents: "none", position: "absolute", touchAction: "pinch-zoom", height: "100%", width: "100%", top: 0 } }, T, u().createElement(xe.Z, { hovered: p, maskTextOverride: b, style: v }) ) ) : T; }; (je.propTypes = { currentDocument: p().object, disableInteraction: p().bool, maskStyle: p().object, maskTextOverride: p().string, mediaData: p().object, nodeId: p().string, scaleFactorX: p().number, scaleFactorY: p().number, sectionId: p().string, showHighlight: p().bool, useMask: p().bool, }), (je.defaultProps = { disableInteraction: !1, scaleFactorX: 1, scaleFactorY: 1, showHighlight: !1, useMask: !1 }); const Be = je; }, 37370: (e, t, n) => { "use strict"; n.d(t, { ZP: () => om }); var r = {}; n.r(r); var o = {}; n.r(o); var a = {}; n.r(a); var i = {}; n.r(i); var s = {}; n.r(s); var c = {}; n.r(c); var l = {}; n.r(l); var u = {}; n.r(u); var d = {}; n.r(d); var p = {}; n.r(p); var f = {}; n.r(f); var m = {}; n.r(m); var h = {}; n.r(h); var v = {}; n.r(v); var y = {}; n.r(y); var g = {}; n.r(g); var b = {}; n.r(b); var E = {}; n.r(E); var D = {}; n.r(D); var C = {}; n.r(C); var w = {}; n.r(w); var S = {}; n.r(S); var A = {}; n.r(A); var k = {}; n.r(k); var _ = {}; n.r(_); var T = {}; n.r(T); var I = {}; n.r(I); var O = {}; n.r(O); var F = {}; n.r(F); var x = {}; n.r(x); var N = {}; n.r(N); var R = {}; n.r(R); var L = {}; n.r(L); var M = {}; n.r(M); var P = {}; n.r(P); var j = {}; n.r(j); var B = {}; n.r(B); var Z = {}; n.r(Z); var U = {}; n.r(U); var z = n(23469), V = n.n(z), H = n(47776), G = n.n(H), W = n(57305), Q = n.n(W), J = n(54215), Y = n.n(J), q = n(93353), X = n.n(q), K = n(2442), $ = n(9076), ee = n(28386), te = n(67733), ne = n(99610), re = n(23492), oe = n(69522), ae = n(30251), ie = n(73531), se = n(15686), ce = n(95545), le = n(24681), ue = n(84514), de = (n(66084), n(80963)), pe = n(9323), fe = function (e, t) { var n = {}; for (var r in e) Object.prototype.hasOwnProperty.call(e, r) && t.indexOf(r) < 0 && (n[r] = e[r]); if (null != e && "function" == typeof Object.getOwnPropertySymbols) { var o = 0; for (r = Object.getOwnPropertySymbols(e); o < r.length; o++) t.indexOf(r[o]) < 0 && Object.prototype.propertyIsEnumerable.call(e, r[o]) && (n[r[o]] = e[r[o]]); } return n; }; const me = (0, pe.Z)(n(97915)).default; function he(e) { var t, n, r; if (e) return V().cloneElement(e, { key: e.key || `key-${(null === (n = null === (t = e.type) || void 0 === t ? void 0 : t.render) || void 0 === n ? void 0 : n.displayName) || (null === (r = e.type) || void 0 === r ? void 0 : r.displayName)}`, slot: "icon", }); } const ve = (0, ue.Z)({ displayName: "Button", fallback: me, swcLoader: void 0, swcProps: (e) => { const t = he(e.icon), { autoFocus: n, className: r, children: o, disabled: a, holdAffordance: i, quiet: s, variant: c, dropdownTrigger: l, icon: u, label: d, uxpUseNative: p, treatment: f, selected: m } = e, h = fe(e, ["autoFocus", "className", "children", "disabled", "holdAffordance", "quiet", "variant", "dropdownTrigger", "icon", "label", "uxpUseNative", "treatment", "selected"]), v = (0, de.cd)({ autofocus: n, disabled: a, "hold-affordance": i, quiet: s }), y = (function (e, t) { switch (e) { case "cta": return { variant: "accent", treatment: t || "fill" }; case "primary": case "secondary": return { variant: e, treatment: t || "outline" }; case "warning": return { variant: "negative", treatment: t || "outline" }; case "overBackground": return { variant: "white", treatment: t || "outline" }; case "action": case "tool": case "and": case "or": return {}; case void 0: return { variant: "primary", treatment: "outline" }; default: return { variant: e }; } })(c, f), g = d || ("string" == typeof o ? o : null); return Object.assign(Object.assign(Object.assign(Object.assign({}, h), v), y), { children: [t, g, "string" != typeof o && o], class: r }); }, tagName: "sp-button", }), ye = (0, ue.Z)({ displayName: "ActionButton", fallback: me, swcLoader: void 0, swcProps: (e) => { const { autoFocus: t, children: n, className: r, disabled: o, holdAffordance: a, quiet: i, selected: s, variant: c, dropdownTrigger: l, icon: u, label: d, uxpUseNative: p } = e, f = fe(e, ["autoFocus", "children", "className", "disabled", "holdAffordance", "quiet", "selected", "variant", "dropdownTrigger", "icon", "label", "uxpUseNative"]), m = he(u), h = (function (e) { return "tool" === e ? { quiet: !0 } : {}; })(c), v = (0, de.cd)({ autofocus: t, disabled: o, "hold-affordance": a, quiet: i, selected: s }), y = d || ("string" == typeof n ? n : null); return Object.assign(Object.assign(Object.assign(Object.assign({}, f), v), h), { children: [m, y, "string" != typeof n && n], class: r }); }, tagName: "sp-action-button", }), ge = (0, z.forwardRef)(function (e, t) { return "action" === e.variant || "tool" === e.variant || "and" === e.variant || "or" === e.variant || ("secondary" === e.variant && e.quiet) || ("primary" === e.variant && e.quiet) ? V().createElement(ye, Object.assign(Object.assign({}, e), { ref: t })) : V().createElement(ve, Object.assign(Object.assign({}, e), { ref: t })); }); const be = (0, pe.Z)(n(9287)).Toast, Ee = (0, ue.Z)({ displayName: "Toast", fallback: be, swcLoader: void 0, SWCWrapper: function (e) { const t = (0, z.useRef)(null), { variant: n, className: r, actionLabel: o, children: a, closeOnAction: i, onAction: s, onClose: c, closable: l, open: u = !0 } = e, d = (function (e, t) { var n = {}; for (var r in e) Object.prototype.hasOwnProperty.call(e, r) && t.indexOf(r) < 0 && (n[r] = e[r]); if (null != e && "function" == typeof Object.getOwnPropertySymbols) { var o = 0; for (r = Object.getOwnPropertySymbols(e); o < r.length; o++) t.indexOf(r[o]) < 0 && Object.prototype.propertyIsEnumerable.call(e, r[o]) && (n[r[o]] = e[r[o]]); } return n; })(e, ["variant", "className", "actionLabel", "children", "closeOnAction", "onAction", "onClose", "closable", "open"]); (0, z.useEffect)(() => { const e = null == t ? void 0 : t.current; return e && c && e.addEventListener("close", c), () => (e && c ? e.removeEventListener("close", c) : void 0); }); const p = "success" === n ? "positive" : "error" === n ? "negative" : n, f = (0, de.Co)("sp-toast"); return V().createElement( f, Object.assign(Object.assign(Object.assign({}, d), (0, de.cd)({ open: u })), { class: r, ref: t, variant: p }), a, o && V().createElement( ge, { slot: "action", variant: "overBackground", onClick: () => { var e; null == s || s(), i && (null === (e = t.current) || void 0 === e || e.close()); }, }, o ) ); }, tagName: "sp-toast", }); var De = ["children", "className", "element", "focusable"]; function Ce() { return ( (Ce = Object.assign ? Object.assign.bind() : function (e) { for (var t = 1; t < arguments.length; t++) { var n = arguments[t]; for (var r in n) Object.prototype.hasOwnProperty.call(n, r) && (e[r] = n[r]); } return e; }), Ce.apply(this, arguments) ); } function we(e) { var t = e.children, n = e.className, r = e.element, o = void 0 === r ? "span" : r, a = e.focusable, i = (function (e, t) { if (null == e) return {}; var n, r, o = (function (e, t) { if (null == e) return {}; var n, r, o = {}, a = Object.keys(e); for (r = 0; r < a.length; r++) (n = a[r]), t.indexOf(n) >= 0 || (o[n] = e[n]); return o; })(e, t); if (Object.getOwnPropertySymbols) { var a = Object.getOwnPropertySymbols(e); for (r = 0; r < a.length; r++) (n = a[r]), t.indexOf(n) >= 0 || (Object.prototype.propertyIsEnumerable.call(e, n) && (o[n] = e[n])); } return o; })(e, De); return V().createElement(o, Ce({ className: X()("custom-visually-hidden", { "is-focusable": a }, n) }, i), t); } (we.propTypes = { className: G().string, element: G().oneOfType([G().string, G().func]), focusable: G().bool, children: G().node }), (we.defaultProps = { element: "span", focusable: !1 }); var Se = n(60954), Ae = n(633); function ke(e, t) { if (e) { if ("string" == typeof e) return _e(e, t); var n = Object.prototype.toString.call(e).slice(8, -1); return "Object" === n && e.constructor && (n = e.constructor.name), "Map" === n || "Set" === n ? Array.from(e) : "Arguments" === n || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n) ? _e(e, t) : void 0; } } function _e(e, t) { (null == t || t > e.length) && (t = e.length); for (var n = 0, r = new Array(t); n < t; n++) r[n] = e[n]; return r; } var Te = (0, z.createContext)(), Ie = [ "input:not([disabled]):not([type=hidden])", "select:not([disabled])", "textarea:not([disabled])", "button:not([disabled])", "a[href]", "area[href]", "summary", "iframe", "object", "embed", "audio[controls]", "video[controls]", "[contenteditable]", "[tabindex]", ].join(':not([tabindex="-1"]),'); function Oe(e) { var t, n, r = e.children, o = ((t = (0, z.useState)([])), (n = 2), (function (e) { if (Array.isArray(e)) return e; })(t) || (function (e, t) { var n = null == e ? null : ("undefined" != typeof Symbol && e[Symbol.iterator]) || e["@@iterator"]; if (null != n) { var r, o, a = [], i = !0, s = !1; try { for (n = n.call(e); !(i = (r = n.next()).done) && (a.push(r.value), !t || a.length !== t); i = !0); } catch (e) { (s = !0), (o = e); } finally { try { i || null == n.return || n.return(); } finally { if (s) throw o; } } return a; } })(t, n) || ke(t, n) || (function () { throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); })()), a = o[0], i = o[1], s = (0, z.useCallback)( function (e) { var t = a.find(function (t) { return t === e; }); e && !t && i(function (t) { return [].concat( (function (e) { return ( (function (e) { if (Array.isArray(e)) return _e(e); })(e) || (function (e) { if (("undefined" != typeof Symbol && null != e[Symbol.iterator]) || null != e["@@iterator"]) return Array.from(e); })(e) || ke(e) || (function () { throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); })() ); })(t), [e] ); }); }, [a] ), c = (0, z.useCallback)(function (e) { e && i(function (t) { return t.filter(function (t) { return t !== e; }); }); }, []), l = (0, z.useMemo)( function () { return { focusableElements: a, registerElement: s, unregisterElement: c }; }, [a, s, c] ); return V().createElement(Te.Provider, { value: l }, r); } function Fe(e, t) { var n = t.key, r = t.shiftKey, o = t.target, a = t.type; if (e && "keydown" === a && "Tab" === n) { var i = e.querySelectorAll(Ie) || [], s = Array.from(i), c = s.findIndex(function (e) { return e === o; }), l = s[(c + (r ? -1 : 1) + s.length) % s.length]; l && (t.preventDefault(), t.stopPropagation(), l.focus()); } } Oe.propTypes = { children: G().node }; const xe = Te; var Ne = n(76951), Re = Object.defineProperty, Le = (e, t, n) => ( ((e, t, n) => { t in e ? Re(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : (e[t] = n); })(e, "symbol" != typeof t ? t + "" : t, n), n ), Me = new Map(), Pe = new WeakMap(), je = 0, Be = void 0; function Ze(e, t, n = {}, r = Be) { if (void 0 === window.IntersectionObserver && void 0 !== r) { const o = e.getBoundingClientRect(); return t(r, { isIntersecting: r, target: e, intersectionRatio: "number" == typeof n.threshold ? n.threshold : 0, time: 0, boundingClientRect: o, intersectionRect: o, rootBounds: o }), () => {}; } const { id: o, observer: a, elements: i } = (function (e) { const t = (function (e) { return Object.keys(e) .sort() .filter((t) => void 0 !== e[t]) .map((t) => { return `${t}_${"root" === t ? ((n = e.root), n ? (Pe.has(n) || ((je += 1), Pe.set(n, je.toString())), Pe.get(n)) : "0") : e[t]}`; var n; }) .toString(); })(e); let n = Me.get(t); if (!n) { const r = new Map(); let o; const a = new IntersectionObserver((t) => { t.forEach((t) => { var n; const a = t.isIntersecting && o.some((e) => t.intersectionRatio >= e); e.trackVisibility && void 0 === t.isVisible && (t.isVisible = a), null == (n = r.get(t.target)) || n.forEach((e) => { e(a, t); }); }); }, e); (o = a.thresholds || (Array.isArray(e.threshold) ? e.threshold : [e.threshold || 0])), (n = { id: t, observer: a, elements: r }), Me.set(t, n); } return n; })(n), s = i.get(e) || []; return ( i.has(e) || i.set(e, s), s.push(t), a.observe(e), function () { s.splice(s.indexOf(t), 1), 0 === s.length && (i.delete(e), a.unobserve(e)), 0 === i.size && (a.disconnect(), Me.delete(o)); } ); } var Ue = class extends z.Component { constructor(e) { super(e), Le(this, "node", null), Le(this, "_unobserveCb", null), Le(this, "handleNode", (e) => { this.node && (this.unobserve(), e || this.props.triggerOnce || this.props.skip || this.setState({ inView: !!this.props.initialInView, entry: void 0 })), (this.node = e || null), this.observeNode(); }), Le(this, "handleChange", (e, t) => { e && this.props.triggerOnce && this.unobserve(), (function (e) { return "function" != typeof e.children; })(this.props) || this.setState({ inView: e, entry: t }), this.props.onChange && this.props.onChange(e, t); }), (this.state = { inView: !!e.initialInView, entry: void 0 }); } componentDidMount() { this.unobserve(), this.observeNode(); } componentDidUpdate(e) { (e.rootMargin === this.props.rootMargin && e.root === this.props.root && e.threshold === this.props.threshold && e.skip === this.props.skip && e.trackVisibility === this.props.trackVisibility && e.delay === this.props.delay) || (this.unobserve(), this.observeNode()); } componentWillUnmount() { this.unobserve(); } observeNode() { if (!this.node || this.props.skip) return; const { threshold: e, root: t, rootMargin: n, trackVisibility: r, delay: o, fallbackInView: a } = this.props; this._unobserveCb = Ze(this.node, this.handleChange, { threshold: e, root: t, rootMargin: n, trackVisibility: r, delay: o }, a); } unobserve() { this._unobserveCb && (this._unobserveCb(), (this._unobserveCb = null)); } render() { const { children: e } = this.props; if ("function" == typeof e) { const { inView: t, entry: n } = this.state; return e({ inView: t, entry: n, ref: this.handleNode }); } const { as: t, triggerOnce: n, threshold: r, root: o, rootMargin: a, onChange: i, skip: s, trackVisibility: c, delay: l, initialInView: u, fallbackInView: d, ...p } = this.props; return z.createElement(t || "div", { ref: this.handleNode, ...p }, e); } }; function ze({ threshold: e, delay: t, trackVisibility: n, rootMargin: r, root: o, triggerOnce: a, skip: i, initialInView: s, fallbackInView: c, onChange: l } = {}) { var u; const [d, p] = z.useState(null), f = z.useRef(), [m, h] = z.useState({ inView: !!s, entry: void 0 }); (f.current = l), z.useEffect(() => { if (i || !d) return; let s; return ( (s = Ze( d, (e, t) => { h({ inView: e, entry: t }), f.current && f.current(e, t), t.isIntersecting && a && s && (s(), (s = void 0)); }, { root: o, rootMargin: r, threshold: e, trackVisibility: n, delay: t }, c )), () => { s && s(); } ); }, [Array.isArray(e) ? e.toString() : e, d, o, r, a, i, n, c, t]); const v = null == (u = m.entry) ? void 0 : u.target, y = z.useRef(); d || !v || a || i || y.current === v || ((y.current = v), h({ inView: !!s, entry: void 0 })); const g = [p, m.inView, m.entry]; return (g.ref = g[0]), (g.inView = g[1]), (g.entry = g[2]), g; } var Ve = n(69088); function He(e, t) { if (e) { if ("string" == typeof e) return Ge(e, t); var n = Object.prototype.toString.call(e).slice(8, -1); return "Object" === n && e.constructor && (n = e.constructor.name), "Map" === n || "Set" === n ? Array.from(e) : "Arguments" === n || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n) ? Ge(e, t) : void 0; } } function Ge(e, t) { (null == t || t > e.length) && (t = e.length); for (var n = 0, r = new Array(t); n < t; n++) r[n] = e[n]; return r; } var We = "ArrowDown", Qe = "ArrowUp", Je = "Home", Ye = [We, "ArrowLeft", "ArrowRight", Qe, "End", Je], qe = ["textarea"]; const Xe = function (e) { var t, n, r = ((t = (0, z.useState)(!1)), (n = 2), (function (e) { if (Array.isArray(e)) return e; })(t) || (function (e, t) { var n = null == e ? null : ("undefined" != typeof Symbol && e[Symbol.iterator]) || e["@@iterator"]; if (null != n) { var r, o, a = [], i = !0, s = !1; try { for (n = n.call(e); !(i = (r = n.next()).done) && (a.push(r.value), !t || a.length !== t); i = !0); } catch (e) { (s = !0), (o = e); } finally { try { i || null == n.return || n.return(); } finally { if (s) throw o; } } return a; } })(t, n) || He(t, n) || (function () { throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); })())[1], o = (0, z.useContext)(xe); if (void 0 === o) throw new Error("useA11y must be used within a A11yProvider"); var a = o.registerElement, i = o.unregisterElement, s = o.focusableElements, c = s.findIndex(function (t) { return t === e; }), l = s.length; return ( (0, z.useEffect)( function () { return ( e || r(!0), a(e), function () { return i(e); } ); }, [e] ), { onKeyDown: function (e) { if ( Ye.includes(e.key) && !(function (e) { return ( (function (e) { if (Array.isArray(e)) return Ge(e); })(e) || (function (e) { if (("undefined" != typeof Symbol && null != e[Symbol.iterator]) || null != e["@@iterator"]) return Array.from(e); })(e) || He(e) || (function () { throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); })() ); })(e.target.classList).some(function (e) { return qe.includes(e); }) ) switch (e.key) { case We: e.preventDefault(), s[(c + 1) % l].focus(); break; case Qe: e.preventDefault(), s[(c + l - 1) % l].focus(); break; case Je: e.preventDefault(), s[0].focus(); break; case "End": e.preventDefault(), s[l - 1].focus(); } }, } ); }; var Ke = n(89941), $e = n(9097), et = n(39589), tt = n(88133), nt = n(13795), rt = n(52167), ot = 3600; function at(e) { var t = Math.abs(e); return t < 60 ? "second" : t < ot ? "minute" : t < 86400 ? "hour" : "day"; } function it(e) { switch (e) { case "second": return 1; case "minute": return 60; case "hour": return ot; default: return 86400; } } var st = ["second", "minute", "hour"]; function ct(e) { return void 0 === e && (e = "second"), st.indexOf(e) > -1; } var lt = function (e) { var t = (0, Ne.Z)(), n = t.formatRelativeTime, r = t.textComponent, o = e.children, a = n(e.value || 0, e.unit, (0, nt.__rest)(e, ["children", "value", "unit"])); return "function" == typeof o ? o(a) : r ? z.createElement(r, null, a) : z.createElement(z.Fragment, null, a); }, ut = function (e) { var t = e.value, n = e.unit, r = e.updateIntervalInSeconds, o = (0, nt.__rest)(e, ["value", "unit", "updateIntervalInSeconds"]); (0, rt.kG)(!r || !(!r || !ct(n)), "Cannot schedule update with unit longer than hour"); var a, i = z.useState(), s = i[0], c = i[1], l = z.useState(0), u = l[0], d = l[1], p = z.useState(0), f = p[0], m = p[1]; (n === s && t === u) || (d(t || 0), c(n), m( ct(n) ? (function (e, t) { if (!e) return 0; switch (t) { case "second": return e; case "minute": return 60 * e; default: return e * ot; } })(t, n) : 0 )), z.useEffect( function () { function e() { clearTimeout(a); } if ((e(), !r || !ct(n))) return e; var t = f - r, o = at(t); if ("day" === o) return e; var i = it(o), s = t - (t % i), c = s >= f ? s - i : s, l = Math.abs(c - f); return ( f !== c && (a = setTimeout(function () { return m(c); }, 1e3 * l)), e ); }, [f, r, n] ); var h = t || 0, v = n; if (ct(n) && "number" == typeof f && r) { var y = it((v = at(f))); h = Math.round(f / y); } return z.createElement(lt, (0, nt.__assign)({ value: h, unit: v }, o)); }; (ut.displayName = "FormattedRelativeTime"), (ut.defaultProps = { value: 0, unit: "second" }); const dt = ut; var pt, ft; !(function (e) { (e.formatDate = "FormattedDate"), (e.formatTime = "FormattedTime"), (e.formatNumber = "FormattedNumber"), (e.formatList = "FormattedList"), (e.formatDisplayName = "FormattedDisplayName"); })(pt || (pt = {})), (function (e) { (e.formatDate = "FormattedDateParts"), (e.formatTime = "FormattedTimeParts"), (e.formatNumber = "FormattedNumberParts"), (e.formatList = "FormattedListParts"); })(ft || (ft = {})); var mt = function (e) { var t = (0, Ne.Z)(), n = e.value, r = e.children, o = (0, nt.__rest)(e, ["value", "children"]); return r(t.formatNumberToParts(n, o)); }; function ht(e) { var t = function (t) { var n = (0, Ne.Z)(), r = t.value, o = t.children, a = (0, nt.__rest)(t, ["value", "children"]), i = "string" == typeof r ? new Date(r || 0) : r; return o("formatDate" === e ? n.formatDateToParts(i, a) : n.formatTimeToParts(i, a)); }; return (t.displayName = ft[e]), t; } function vt(e) { var t = function (t) { var n = (0, Ne.Z)(), r = t.value, o = t.children, a = (0, nt.__rest)(t, ["value", "children"]), i = n[e](r, a); if ("function" == typeof o) return o(i); var s = n.textComponent || z.Fragment; return z.createElement(s, null, i); }; return (t.displayName = pt[e]), t; } (mt.displayName = "FormattedNumberParts"), (mt.displayName = "FormattedNumberParts"); var yt = vt("formatDate"), gt = (vt("formatTime"), vt("formatNumber"), vt("formatList"), vt("formatDisplayName"), ht("formatDate"), ht("formatTime"), n(69050)), bt = function () { return ( (bt = Object.assign || function (e) { for (var t, n = 1, r = arguments.length; n < r; n++) for (var o in (t = arguments[n])) Object.prototype.hasOwnProperty.call(t, o) && (e[o] = t[o]); return e; }), bt.apply(this, arguments) ); }, Et = { second: 45, minute: 45, hour: 22, day: 5 }, Dt = n(14863); const Ct = (0, pe.Z)(n(80739)).default, wt = (0, ue.Z)({ displayName: "Link", fallback: Ct, swcLoader: void 0, swcProps: (e) => { const { className: t, variant: n } = e, r = (function (e, t) { var n = {}; for (var r in e) Object.prototype.hasOwnProperty.call(e, r) && t.indexOf(r) < 0 && (n[r] = e[r]); if (null != e && "function" == typeof Object.getOwnPropertySymbols) { var o = 0; for (r = Object.getOwnPropertySymbols(e); o < r.length; o++) t.indexOf(r[o]) < 0 && Object.prototype.propertyIsEnumerable.call(e, r[o]) && (n[r[o]] = e[r[o]]); } return n; })(e, ["className", "variant"]); return Object.assign(Object.assign(Object.assign({}, r), (0, de.cd)({ quiet: "quiet" !== n })), { class: t, static: "overBackground" === n ? "white" : void 0, variant: "quiet" === n ? "secondary" : void 0 }); }, tagName: "sp-link", }); const St = (0, pe.Z)(n(26662)).default, At = { left: "left", right: "right", top: "top", bottom: "bottom", "top left": "top-start", "top right": "top-end", "bottom left": "bottom-start", "bottom right": "bottom-end", "left top": "left-start", "left bottom": "left-end", "right top": "right-start", "right bottom": "right-end", }, kt = ["hover", "focus"], _t = (0, ue.Z)({ displayName: "OverlayTrigger", fallback: St, swcLoader: void 0, SWCWrapper: function (e) { var t, n; const { trigger: r = kt, children: o, className: a, onHide: i, onShow: s, disabled: c, delayShow: l, boundariesElement: u, show: d } = e, p = (function (e, t) { var n = {}; for (var r in e) Object.prototype.hasOwnProperty.call(e, r) && t.indexOf(r) < 0 && (n[r] = e[r]); if (null != e && "function" == typeof Object.getOwnPropertySymbols) { var o = 0; for (r = Object.getOwnPropertySymbols(e); o < r.length; o++) t.indexOf(r[o]) < 0 && Object.prototype.propertyIsEnumerable.call(e, r[o]) && (n[r[o]] = e[r[o]]); } return n; })(e, ["trigger", "children", "className", "onHide", "onShow", "disabled", "delayShow", "boundariesElement", "show"]), f = V().Children.toArray(o), m = (0, z.useRef)(null), h = "object" == typeof r ? r : r ? [r] : [], v = [], y = [], g = e.placement ? At[e.placement] : "left"; if ( ((0, z.useEffect)(() => { const e = null == m ? void 0 : m.current; return ( e && s && e.addEventListener("sp-opened", s), e && i && e.addEventListener("sp-closed", i), () => { e && s && e.removeEventListener("sp-opened", s), e && i && e.removeEventListener("sp-closed", i); } ); }, [s, i]), h.forEach((e) => { (null == e ? void 0 : e.includes("hover")) || (null == e ? void 0 : e.includes("focus")) ? v.push("hover-content") : (null == e ? void 0 : e.includes("click")) ? v.push("click-content") : (null == e ? void 0 : e.includes("longClick")) && v.push("longpress-content"); }), v.length && 2 === f.length) ) { const e = f[0], r = f[1]; if (null === (t = e.props) || void 0 === t ? void 0 : t.slot) y.push(e); else { const t = V().cloneElement(e, { slot: "trigger" }); y.push(t); } (null === (n = r.props) || void 0 === n ? void 0 : n.slot) ? y.push(r) : v.forEach((e) => { const t = V().cloneElement(r, { slot: e, delayed: !!l || void 0 }); y.push(t); }); } const b = (0, de.Co)("overlay-trigger"); return V().createElement(b, Object.assign(Object.assign(Object.assign({}, p), (0, de.cd)({ disabled: c })), { placement: g, class: a, ref: m }), y.length ? y : o); }, tagName: "overlay-trigger", }); const Tt = (0, pe.Z)(n(68173)).default, It = (0, ue.Z)({ displayName: "Tooltip", fallback: Tt, swcLoader: void 0, swcProps: (e) => { const { className: t } = e, n = (function (e, t) { var n = {}; for (var r in e) Object.prototype.hasOwnProperty.call(e, r) && t.indexOf(r) < 0 && (n[r] = e[r]); if (null != e && "function" == typeof Object.getOwnPropertySymbols) { var o = 0; for (r = Object.getOwnPropertySymbols(e); o < r.length; o++) t.indexOf(r[o]) < 0 && Object.prototype.propertyIsEnumerable.call(e, r[o]) && (n[r[o]] = e[r[o]]); } return n; })(e, ["className"]); return Object.assign(Object.assign({}, n), { class: t }); }, tagName: "sp-tooltip", }); var Ot = n(92445); const Ft = (0, pe.Z)(n(70449)).default, xt = (0, ue.Z)({ displayName: "Send", fallback: Ft, swcLoader: void 0, swcProps: Ot.m, tagName: "sp-icon-send" }), Nt = (0, pe.Z)(n(30871)).default, Rt = (0, ue.Z)({ displayName: "ChevronRight", fallback: Nt, swcLoader: void 0, swcProps: Ot.m, tagName: "sp-icon-chevron-right" }); var Lt = function (e, t) { var n = {}; for (var r in e) Object.prototype.hasOwnProperty.call(e, r) && t.indexOf(r) < 0 && (n[r] = e[r]); if (null != e && "function" == typeof Object.getOwnPropertySymbols) { var o = 0; for (r = Object.getOwnPropertySymbols(e); o < r.length; o++) t.indexOf(r[o]) < 0 && Object.prototype.propertyIsEnumerable.call(e, r[o]) && (n[r[o]] = e[r[o]]); } return n; }; const Mt = n(67021).default, Pt = (0, ue.Z)({ displayName: "DropdownButton", fallback: (e) => { const { children: t } = e, n = Lt(e, ["children"]); return Mt ? V().createElement( Mt, Object.assign({}, n), V().Children.map(t, (e) => (V().isValidElement(e) ? V().cloneElement(e, { forceFallback: !0 }) : e)) ) : null; }, swcLoader: void 0, SWCWrapper: (e) => { const t = (0, z.useRef)(null), { className: n, children: r, icon: o, label: a, onSelect: i, disabled: s, focused: c, invalid: l, open: u, quiet: d, readonly: p, alignRight: f, placement: m, "aria-label": h } = e, v = Lt(e, ["className", "children", "icon", "label", "onSelect", "disabled", "focused", "invalid", "open", "quiet", "readonly", "alignRight", "placement", "aria-label"]), y = (function (e) { if (e) return V().cloneElement(e, { slot: "icon" }); })(o), g = a ? V().createElement("span", { slot: "label" }, a) : null, b = f ? "bottom-end" : m; (0, z.useEffect)(() => { const { current: e } = t, n = (e) => { const t = e.target; null == i || i(t.value); }; return ( e && i && e.addEventListener("change", n), () => { e && i && e.removeEventListener("change", n); } ); }, [i]); const E = Object.assign(Object.assign(Object.assign({}, (0, de.cd)({ disabled: s, focused: c, invalid: l, open: u, quiet: d, readonly: p })), { label: h, placement: b }), v), D = (0, de.Co)("sp-action-menu"); return V().createElement(D, Object.assign({ ref: t, class: n }, E), y, g, "string" != typeof r && r); }, tagName: "sp-action-menu", }); var jt = n(23613); const Bt = (0, pe.Z)(n(80410)).default, Zt = { small: "s", medium: "m", large: "l" }, Ut = (0, ue.Z)({ displayName: "Rule", fallback: Bt, swcLoader: void 0, swcProps: (e) => { const { className: t, variant: n = "large" } = e, r = (function (e, t) { var n = {}; for (var r in e) Object.prototype.hasOwnProperty.call(e, r) && t.indexOf(r) < 0 && (n[r] = e[r]); if (null != e && "function" == typeof Object.getOwnPropertySymbols) { var o = 0; for (r = Object.getOwnPropertySymbols(e); o < r.length; o++) t.indexOf(r[o]) < 0 && Object.prototype.propertyIsEnumerable.call(e, r[o]) && (n[r[o]] = e[r[o]]); } return n; })(e, ["className", "variant"]), o = Zt[n]; return Object.assign(Object.assign({}, r), { class: t, size: o }); }, tagName: "sp-divider", }); const zt = (0, pe.Z)(n(35326)).default, Vt = ({ text: e }) => V().createElement( "span", { style: { fontSize: "var(--spectrum-global-dimension-static-font-size-300)", fontWeight: "var(--spectrum-global-font-weight-bold)", color: "var(--spectrum-alias-heading-text-color)", paddingBottom: "var( --spectrum-global-dimension-size-175)", }, }, e ), Ht = (0, ue.Z)({ displayName: "Popover", fallback: zt, swcLoader: void 0, SWCWrapper: function (e) { const { children: t, className: n, contentStyle: r, enablePortaling: o = !1, open: a, placement: i, title: s, trapFocus: c, isDialog: l, role: u } = e, d = (function (e, t) { var n = {}; for (var r in e) Object.prototype.hasOwnProperty.call(e, r) && t.indexOf(r) < 0 && (n[r] = e[r]); if (null != e && "function" == typeof Object.getOwnPropertySymbols) { var o = 0; for (r = Object.getOwnPropertySymbols(e); o < r.length; o++) t.indexOf(r[o]) < 0 && Object.prototype.propertyIsEnumerable.call(e, r[o]) && (n[r[o]] = e[r[o]]); } return n; })(e, ["children", "className", "contentStyle", "enablePortaling", "open", "placement", "title", "trapFocus", "isDialog", "role"]), p = Object.assign({ color: "var(--spectrum-alias-text-color)", fontSize: "var(--spectrum-global-dimension-static-font-size-100)", fontWeight: "var(--spectrum-global-font-weight-regular)" }, r), f = []; s && "" != s && f.push(V().createElement(Vt, { key: "heading", text: s }), V().createElement(Ut, { key: "rule", style: { marginBottom: "var( --spectrum-global-dimension-size-175)" }, variant: "medium" })), f.push(V().createElement("div", { key: "popover-children", style: p }, t)); const m = (0, z.useRef)(null), [, h] = (0, z.useState)(!1); (0, z.useEffect)(() => { o && h(!0); }, [o]); const v = o ? V().createElement("div", { ref: m }) : f, y = (0, de.Co)("sp-popover"); return V().createElement( V().Fragment, null, V().createElement(y, Object.assign(Object.assign(Object.assign({}, d), (0, de.cd)({ open: a, tip: !!i })), { class: n, dialog: !0, placement: i }), v), o && m.current && (0, jt.createPortal)(f, m.current) ); }, tagName: "sp-popover", }); function Gt(e) { return function (t) { e.forEach((e) => { e && ("function" != typeof e ? (e.current = t) : e(t)); }); }; } var Wt = function (e, t) { var n = {}; for (var r in e) Object.prototype.hasOwnProperty.call(e, r) && t.indexOf(r) < 0 && (n[r] = e[r]); if (null != e && "function" == typeof Object.getOwnPropertySymbols) { var o = 0; for (r = Object.getOwnPropertySymbols(e); o < r.length; o++) t.indexOf(r[o]) < 0 && Object.prototype.propertyIsEnumerable.call(e, r[o]) && (n[r[o]] = e[r[o]]); } return n; }; const Qt = (0, pe.Z)(n(87630)); let Jt; (0, ue.Z)({ displayName: "Menu", fallback: Qt.Menu, swcLoader: Jt, SWCWrapper: (0, z.forwardRef)(function (e, t) { const n = (0, z.useRef)(null), r = t || n, { className: o, open: a, slot: i, style: s, onSelect: c, onClose: l } = e, u = Wt(e, ["className", "open", "slot", "style", "onSelect", "onClose"]); (0, z.useEffect)(() => { const { current: e } = r, t = (e) => { const t = e.target; null == c || c(t.value); }; return ( e && c && e.addEventListener("change", t), () => { e && c && e.removeEventListener("change", t); } ); }, [c, r]), (0, z.useEffect)(() => { const { current: e } = r; return ( e && l && e.addEventListener("close", l), () => { e && l && e.removeEventListener("close", l); } ); }, [l, r]); const d = (0, de.Co)("sp-menu"); return V().createElement(Ht, { open: a, title: "", style: Object.assign({ minWidth: "min-content", padding: 0 }, s), slot: i }, V().createElement(d, Object.assign({ ref: r, class: o }, u))); }), tagName: "sp-menu", }); const Yt = (0, ue.Z)({ displayName: "MenuItem", fallback: Qt.MenuItem, swcLoader: Jt, swcProps: function (e) { const { children: t, description: n, disabled: r, icon: o, selected: a, valueContent: i, className: s } = e, c = Wt(e, ["children", "description", "disabled", "icon", "selected", "valueContent", "className"]), l = (function (e) { if (e) return V().cloneElement(e, { slot: "icon" }); })(o), u = (function (e) { if (e) return V().cloneElement(e, { slot: "value" }); })(i); return Object.assign(Object.assign(Object.assign({ class: s }, c), (0, de.cd)({ disabled: r, selected: a })), { children: V().createElement(V().Fragment, null, l, t, n && V().createElement("span", { slot: "description" }, n), u), }); }, tagName: "sp-menu-item", }), qt = (0, ue.Z)({ displayName: "MenuDivider", fallback: Qt.MenuDivider, swcLoader: Jt, swcProps: function (e) { const { className: t } = e, n = Wt(e, ["className"]); return Object.assign({ class: t }, n); }, tagName: "sp-menu-divider", }); (0, ue.Z)({ displayName: "MenuHeading", fallback: Qt.MenuHeading, swcLoader: Jt, swcProps: function (e) { const { children: t } = e, n = Wt(e, ["children"]); return Object.assign(Object.assign({}, n), { children: V().createElement("span", { slot: "header" }, t) }); }, tagName: "sp-menu-group", }), (0, ue.Z)({ displayName: "SubMenu", fallback: Qt.SubMenu, swcLoader: Jt, SWCWrapper: function (e) { const { label: t, children: n } = e, r = Wt(e, ["label", "children"]), o = (0, de.Co)("sp-menu"), a = (0, de.Co)("sp-menu-item"); return V().createElement(a, Object.assign({}, r), t, V().createElement(o, { slot: "submenu" }, n)); }, tagName: "sp-menu-item", }), (0, ue.Z)({ displayName: "MenuGroup", fallback: void 0, swcLoader: Jt, SWCWrapper: (0, z.forwardRef)(function (e, t) { const n = (0, z.useRef)(null), { className: r, children: o, onSelect: a } = e, i = Wt(e, ["className", "children", "onSelect"]); (0, z.useEffect)(() => { const { current: e } = n, t = (e) => { const t = e.target; null == a || a(t.value); }; return ( e && a && e.addEventListener("change", t), () => { e && a && e.removeEventListener("change", t); } ); }, [a, n]); const s = (0, de.Co)("sp-menu-group"); return V().createElement(s, Object.assign({ ref: Gt([t, n]), class: r }, i), o); }), tagName: "sp-menu-group", }); var Xt = ["icon", "isSwcEnabled", "onMenuItemSelect", "value", "visible", "isDisabled"]; function Kt() { return ( (Kt = Object.assign ? Object.assign.bind() : function (e) { for (var t = 1; t < arguments.length; t++) { var n = arguments[t]; for (var r in n) Object.prototype.hasOwnProperty.call(n, r) && (e[r] = n[r]); } return e; }), Kt.apply(this, arguments) ); } var $t = V().memo(function (e) { var t = e.icon, n = e.isSwcEnabled, r = e.onMenuItemSelect, o = e.value, a = e.visible, i = e.isDisabled, s = (function (e, t) { if (null == e) return {}; var n, r, o = (function (e, t) { if (null == e) return {}; var n, r, o = {}, a = Object.keys(e); for (r = 0; r < a.length; r++) (n = a[r]), t.indexOf(n) >= 0 || (o[n] = e[n]); return o; })(e, t); if (Object.getOwnPropertySymbols) { var a = Object.getOwnPropertySymbols(e); for (r = 0; r < a.length; r++) (n = a[r]), t.indexOf(n) >= 0 || (Object.prototype.propertyIsEnumerable.call(e, n) && (o[n] = e[n])); } return o; })(e, Xt), c = {}; return n && (c["--spectrum-listitem-texticon-height"] = "50px"), a ? V().createElement(Yt, Kt({ disabled: i, onClick: r }, s, { role: "menuitem", style: c }), t, o) : null; }); ($t.defaultProps = { icon: null, isDisabled: !1, value: null, visible: !1 }), ($t.propTypes = { icon: G().any, isDisabled: G().bool, isSwcEnabled: G().bool.isRequired, onMenuItemSelect: G().func.isRequired, value: G().any, visible: G().bool }), ($t.displayName = "CommentMenuItem"); const en = $t; function tn(e, t) { (null == t || t > e.length) && (t = e.length); for (var n = 0, r = new Array(t); n < t; n++) r[n] = e[n]; return r; } var nn = function () { return V().createElement( "svg", { viewBox: "0 0 22 22", className: "spectrum-Icon", display: "flex", fill: "currentColor", style: { width: "var(--ccx-comments-resolve-icon-size)", height: "var(--ccx-comments-resolve-icon-size)" } }, V().createElement("path", { d: "M20,5.068A2.041,2.041,0,0,0,17.986,3H4.031A2.041,2.041,0,0,0,2.015,5.054L2,13.94A2.041,2.041,0,0,0,4.016,16H7.007v4.736a.252.252,0,0,0,.246.257h0a.268.268,0,0,0,.184-.072L12,16h6a2.009,2.009,0,0,0,2-2.019V5.068Zm-1.641,9.287a.513.513,0,0,1-.359.154H11.352l-.442.477L8.5,17.588V14.509H4.031a.551.551,0,0,1-.54-.566l.015-8.9a.548.548,0,0,1,.525-.553H17.973a.551.551,0,0,1,.38.166.568.568,0,0,1,.156.411v8.92A.516.516,0,0,1,18.359,14.355Z", }), V().createElement("path", { d: "M14.529,8.5H7.471A.486.486,0,0,0,7,9v.5a.486.486,0,0,0,.471.5h7.058A.486.486,0,0,0,15,9.5V9A.486.486,0,0,0,14.529,8.5Z" }) ); }; const rn = function () { var e, t, n; return ( ((t = (0, z.useState)(!1)), (n = 2), (function (e) { if (Array.isArray(e)) return e; })(t) || (function (e, t) { var n = null == e ? null : ("undefined" != typeof Symbol && e[Symbol.iterator]) || e["@@iterator"]; if (null != n) { var r, o, a = [], i = !0, s = !1; try { for (n = n.call(e); !(i = (r = n.next()).done) && (a.push(r.value), !t || a.length !== t); i = !0); } catch (e) { (s = !0), (o = e); } finally { try { i || null == n.return || n.return(); } finally { if (s) throw o; } } return a; } })(t, n) || (function (e, t) { if (e) { if ("string" == typeof e) return tn(e, t); var n = Object.prototype.toString.call(e).slice(8, -1); return "Object" === n && e.constructor && (n = e.constructor.name), "Map" === n || "Set" === n ? Array.from(e) : "Arguments" === n || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n) ? tn(e, t) : void 0; } })(t, n) || (function () { throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); })())[1], (0, z.useEffect)(function () {}, []), null !== (e = window.customElements) && void 0 !== e && e.get("ccx-comments-icon-unresolve") ? V().createElement("ccx-comments-icon-unresolve", null) : V().createElement(nn, null) ); }; function on(e, t) { (null == t || t > e.length) && (t = e.length); for (var n = 0, r = new Array(t); n < t; n++) r[n] = e[n]; return r; } var an = function () { return V().createElement( "svg", { viewBox: "0 0 22 22", className: "spectrum-Icon", display: "flex", fill: "currentColor", style: { width: "var(--ccx-comments-resolve-icon-size)", height: "var(--ccx-comments-resolve-icon-size)" } }, V().createElement("path", { d: "M20,5.068A2.041,2.041,0,0,0,17.986,3H4.031A2.041,2.041,0,0,0,2.015,5.054L2,13.94A2.041,2.041,0,0,0,4.016,16H7.007v4.736a.252.252,0,0,0,.246.257.267.267,0,0,0,.188-.072L12,16h6a2.009,2.009,0,0,0,2-2.019V5.068ZM15.385,7.457l-4.87,5.855a.512.512,0,0,1-.713.076.455.455,0,0,1-.04-.035L6.651,10.541a.494.494,0,0,1,0-.708l0,0,.724-.676a.513.513,0,0,1,.719,0l0,0,1.819,1.705L13.8,6.185a.509.509,0,0,1,.708-.078l.01.007.8.631A.5.5,0,0,1,15.385,7.457Z", }) ); }; const sn = function () { var e, t, n; return ( ((t = (0, z.useState)(!1)), (n = 2), (function (e) { if (Array.isArray(e)) return e; })(t) || (function (e, t) { var n = null == e ? null : ("undefined" != typeof Symbol && e[Symbol.iterator]) || e["@@iterator"]; if (null != n) { var r, o, a = [], i = !0, s = !1; try { for (n = n.call(e); !(i = (r = n.next()).done) && (a.push(r.value), !t || a.length !== t); i = !0); } catch (e) { (s = !0), (o = e); } finally { try { i || null == n.return || n.return(); } finally { if (s) throw o; } } return a; } })(t, n) || (function (e, t) { if (e) { if ("string" == typeof e) return on(e, t); var n = Object.prototype.toString.call(e).slice(8, -1); return "Object" === n && e.constructor && (n = e.constructor.name), "Map" === n || "Set" === n ? Array.from(e) : "Arguments" === n || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n) ? on(e, t) : void 0; } })(t, n) || (function () { throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); })())[1], (0, z.useEffect)(function () {}, []), null !== (e = window.customElements) && void 0 !== e && e.get("ccx-comments-icon-resolve") ? V().createElement("ccx-comments-icon-resolve", null) : V().createElement(an, null) ); }; var cn = n(93139), ln = n(35752), un = { focus: function () {} }, dn = V().memo(function (e) { var t = e.assetData, n = e.commentId, r = e.creator, o = e.enableReadUnread, a = e.handleDeleteBtnClick, i = e.handleEditBtnClick, s = e.handleUnresolveBtnClick, c = e.handleResolveBtnClick, l = e.handleMarkUnreadBtnClick, u = e.handleMarkReadBtnClick, d = e.imsData, p = e.isEditing, f = e.isOffline, m = e.isReply, h = e.isResolved, v = e.isSwcEnabled, y = e.isUnread, g = e.latestMobileEnabled, b = e.onMouseDown, E = e.touchControls, D = e.viewingReplies, C = (function (e, t, n, r, o, a, i, s) { var c = (function (e, t) { return (void 0 !== e.id && e.id === t.id) || (void 0 !== e.authId && e.authId === t.id); })(r, t), l = (function (e) { if (e.token) return e.token.includes("AnonBearer") ? "guest" : "user"; })(r), u = (function (e, t) { return e.id === t.ownerId || "owner" === e.userRoleOverride; })(r, e), d = (function (e) { return "editor" === e || "owner" === e; })(s), p = ("user" === l || c) && !a, f = { edit: Boolean(c && !i), delete: Boolean(u || c || (d && !e.ownerId)), unread: n && "user" === l && !c }, m = { resolve: Boolean(p && !i), unresolve: Boolean(p && i) }, h = Object.values(f).reduce(function (e, t) { return e || t; }, !1), v = Object.values(m).reduce(function (e, t) { return e || t; }, !1); return { isMenuVisible: !(o || !l || !h), isVisible: !(o || !l || (!h && !v)), menuItems: f, externalItems: m }; })(t, r, o, d, p, m, h, e.userRole), w = C.isMenuVisible, S = C.isVisible, A = C.externalItems, k = C.menuItems, _ = (0, Ne.Z)().formatMessage, T = (0, cn.cs)(), I = (0, ln.UP)(), O = (0, z.useCallback)(function (e) { e.preventDefault(); }, []), F = (0, z.useCallback)( function (e) { O(e), e.target.focus(), T.completeCurrentOrResumeCoachMarks({ dismissType: "blur" }), I.completeCurrent({ dismissType: "blur" }), b && b(); }, [b, T, I, O] ), x = _({ id: h ? "comments.item.unresolve" : "comments.item.resolve" }), N = V().createElement( "div", { className: "external-content-wrapper" }, A.resolve ? V().createElement( V().Fragment, null, V().createElement(ge, { "aria-label": x, className: "resolve-button", "data-testid": "resolve", disabled: f, icon: V().createElement(sn, { key: "resolve-icon-".concat(n) }), onClick: c, onMouseDown: O, variant: "tool", }), r.id === d.id && D && V().createElement(cn.SF, { checkCurrentCoachMarkData: function (e) { return e.commentId === n; }, name: "resolveComment", placement: "bottom right", selector: (0, cn.SN)(n), }) ) : null, A.unresolve ? V().createElement(ge, { "aria-label": x, className: "unresolve-button", "data-testid": "unresolve", disabled: f, icon: V().createElement(rn, { key: "unresolve-icon-".concat(n) }), onClick: s, onMouseDown: O, variant: "tool", }) : null ); return ( E || (N = V().createElement(_t, { crossOffset: w ? 0 : -100, placement: "bottom", trigger: "hover" }, N, V().createElement(It, { style: { pointerEvents: "none", alignItems: "stretch" } }, x))), V().createElement( "div", { className: "comment-item-dropdown-wrapper" }, S ? V().createElement( V().Fragment, null, !g && N, w || (g && (A.resolve || A.unresolve)) ? V().createElement( Pt, { alignRight: !0, "aria-label": _({ id: "comments.arialabel.button.dropdownMenu" }), className: "comment-item-dropdown-button", lastFocus: un, menuClassName: "comment-item-dropdown-menu", onMouseDown: F, onSelect: function (e) { switch (e) { case _({ id: "comments.item.resolve" }): c(); break; case _({ id: "comments.item.unresolve" }): s(); break; case _({ id: "comments.item.mark_unread" }): l(); break; case _({ id: "comments.item.mark_read" }): u(); break; case _({ id: "comments.item.edit" }): i(); break; case _({ id: "comments.item.delete" }): a(); } }, quiet: !0, }, V().createElement(en, { "data-testid": "resolve", isDisabled: f, isSwcEnabled: v, onMenuItemSelect: c, value: _({ id: "comments.item.resolve" }), visible: g && A.resolve }), V().createElement(en, { "data-testid": "unresolve", isDisabled: f, isSwcEnabled: v, onMenuItemSelect: s, value: _({ id: "comments.item.unresolve" }), visible: g && A.unresolve }), V().createElement(en, { "data-testid": "mark-as-unread", isDisabled: f, isSwcEnabled: v, onMenuItemSelect: l, value: _({ id: "comments.item.mark_unread" }), visible: o && k.unread && !y }), V().createElement(en, { "data-testid": "mark-as-read", isDisabled: f, isSwcEnabled: v, onMenuItemSelect: u, value: _({ id: "comments.item.mark_read" }), visible: o && k.unread && y }), V().createElement(en, { "data-testid": "edit", isDisabled: f, isSwcEnabled: v, onMenuItemSelect: i, value: _({ id: "comments.item.edit" }), visible: k.edit }), V().createElement(en, { "data-testid": "delete", isDisabled: f, isSwcEnabled: v, onMenuItemSelect: a, value: _({ id: "comments.item.delete" }), visible: k.delete }) ) : null ) : null ) ); }); (dn.displayName = "CommentDropdownMenu"), (dn.defaultProps = { enableReadUnread: !1, handleMarkReadBtnClick: function () {}, handleMarkUnreadBtnClick: function () {}, imsData: {}, isEditing: !1, isOffline: !1, isReply: !1, isResolved: !1, isUnread: !1, latestMobileEnabled: !1, onMouseDown: function () {}, touchControls: !1, userRole: "", viewingReplies: !1, }), (dn.propTypes = { assetData: G().shape({ ownerId: G().string }).isRequired, commentId: G().string.isRequired, creator: G().shape({ id: G().string }).isRequired, enableReadUnread: G().bool, handleDeleteBtnClick: G().func.isRequired, handleEditBtnClick: G().func.isRequired, handleMarkReadBtnClick: G().func, handleMarkUnreadBtnClick: G().func, handleResolveBtnClick: G().func.isRequired, handleUnresolveBtnClick: G().func.isRequired, imsData: G().shape({ id: G().string, token: G().string }), isEditing: G().bool, isOffline: G().bool, isReply: G().bool, isResolved: G().bool, isSwcEnabled: G().bool.isRequired, isUnread: G().bool, latestMobileEnabled: G().bool, onMouseDown: G().func, touchControls: G().bool, userRole: G().string, viewingReplies: G().bool, }); const pn = dn, fn = function () { return V().createElement("div", { className: "".concat(r.default.component, " comments-divider") }); }, mn = (0, pe.Z)(n(20987)).default, hn = (0, ue.Z)({ displayName: "At", fallback: mn, swcLoader: void 0, swcProps: Ot.m, tagName: "sp-icon-at" }), vn = (0, pe.Z)(n(11495)).default, yn = (0, ue.Z)({ displayName: "Maximize", fallback: vn, swcLoader: void 0, swcProps: Ot.m, tagName: "sp-icon-maximize" }), gn = (0, pe.Z)(n(42748)).default, bn = (0, ue.Z)({ displayName: "Minimize", fallback: gn, swcLoader: void 0, swcProps: Ot.m, tagName: "sp-icon-minimize" }); var En = n(67586); const Dn = (0, pe.Z)(n(67217)).default, Cn = (0, ue.Z)({ displayName: "SentimentPositive", fallback: Dn, swcLoader: void 0, swcProps: Ot.m, tagName: "sp-icon-sentiment-positive" }); var wn = n(90353), Sn = n(24124), An = n(99894); function kn() { return ( (kn = Object.assign ? Object.assign.bind() : function (e) { for (var t = 1; t < arguments.length; t++) { var n = arguments[t]; for (var r in n) Object.prototype.hasOwnProperty.call(n, r) && (e[r] = n[r]); } return e; }), kn.apply(this, arguments) ); } function _n(e, t) { (null == t || t > e.length) && (t = e.length); for (var n = 0, r = new Array(t); n < t; n++) r[n] = e[n]; return r; } var Tn = V().memo(function (e) { var t, n, r, o = e.className, i = e.environment, s = e.user, c = ((n = (0, z.useState)(!1)), (r = 2), (function (e) { if (Array.isArray(e)) return e; })(n) || (function (e, t) { var n = null == e ? null : ("undefined" != typeof Symbol && e[Symbol.iterator]) || e["@@iterator"]; if (null != n) { var r, o, a = [], i = !0, s = !1; try { for (n = n.call(e); !(i = (r = n.next()).done) && (a.push(r.value), !t || a.length !== t); i = !0); } catch (e) { (s = !0), (o = e); } finally { try { i || null == n.return || n.return(); } finally { if (s) throw o; } } return a; } })(n, r) || (function (e, t) { if (e) { if ("string" == typeof e) return _n(e, t); var n = Object.prototype.toString.call(e).slice(8, -1); return "Object" === n && e.constructor && (n = e.constructor.name), "Map" === n || "Set" === n ? Array.from(e) : "Arguments" === n || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n) ? _n(e, t) : void 0; } })(n, r) || (function () { throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); })()), l = c[0], u = c[1], d = (0, z.useContext)(re.ZP).environment, p = "stage" === (i || d) ? An.Zw : An.oM, f = (0, z.useCallback)( function () { u(!0); }, [u] ), m = X()(a.default.avatar, o), h = s && (!s.email || "None" === s.email); s && !h && (s.src ? (t = s.src) : s.id && (t = "".concat(p).concat(s.id.replace(An.Lx, "")))); var v = self.crossOriginIsolated ? { crossOrigin: "anonymous" } : {}; return t && !l ? V().createElement("img", kn({ "aria-hidden": "true", "data-testid": "ccx-comments-user-avatar", className: m, src: t, onError: f }, v)) : V().createElement( "svg", { "aria-hidden": "true", className: "".concat(m, " placeholder"), version: "1.1", xmlns: "http://www.w3.org/2000/svg", height: "24", width: "24", x: "0px", y: "0px", viewBox: "0 0 50 50", "data-testid": "ccx-comments-default-avatar", }, V().createElement("rect", { width: "50", height: "50" }), V().createElement("path", { d: "M33,33.2c-4.3-0.3-4.6-4-4-5.2c0.6-1.2,0.7-3.1,0.7-3.1s1,0.2,1.3-2.2s-1-1.8-1-1.8s0.7-2.8,0.2-5.8 c-0.1-0.8-1.1-1.5-1.9-2.1c-0.9-0.7-1.4-1.8-2.5-1.8c-1.6,0-6.1,2.3-6.4,3.9c-0.7,3,0.6,5.7,0.6,5.7s-1.3-0.6-1,1.8 s1.3,2.2,1.3,2.2s0.1,1.9,0.7,3.1c0.6,1.2,0.6,5-3.7,5.4S9,35.7,9,35.7v3.1h16h16v-3.1C41,35.7,37.3,33.5,33,33.2z", }) ); }); (Tn.displayName = "UserAvatar"), (Tn.propTypes = { className: G().string, environment: G().string, user: G().object }); const In = Tn; var On = ["children", "className", "style"]; function Fn() { return ( (Fn = Object.assign ? Object.assign.bind() : function (e) { for (var t = 1; t < arguments.length; t++) { var n = arguments[t]; for (var r in n) Object.prototype.hasOwnProperty.call(n, r) && (e[r] = n[r]); } return e; }), Fn.apply(this, arguments) ); } function xn(e, t) { var n = Object.keys(e); if (Object.getOwnPropertySymbols) { var r = Object.getOwnPropertySymbols(e); t && (r = r.filter(function (t) { return Object.getOwnPropertyDescriptor(e, t).enumerable; })), n.push.apply(n, r); } return n; } function Nn(e) { for (var t = 1; t < arguments.length; t++) { var n = null != arguments[t] ? arguments[t] : {}; t % 2 ? xn(Object(n), !0).forEach(function (t) { Rn(e, t, n[t]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : xn(Object(n)).forEach(function (t) { Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t)); }); } return e; } function Rn(e, t, n) { return t in e ? Object.defineProperty(e, t, { value: n, enumerable: !0, configurable: !0, writable: !0 }) : (e[t] = n), e; } var Ln = function (e) { var t = e.children, n = e.className, r = e.style, a = (function (e, t) { if (null == e) return {}; var n, r, o = (function (e, t) { if (null == e) return {}; var n, r, o = {}, a = Object.keys(e); for (r = 0; r < a.length; r++) (n = a[r]), t.indexOf(n) >= 0 || (o[n] = e[n]); return o; })(e, t); if (Object.getOwnPropertySymbols) { var a = Object.getOwnPropertySymbols(e); for (r = 0; r < a.length; r++) (n = a[r]), t.indexOf(n) >= 0 || (Object.prototype.propertyIsEnumerable.call(e, n) && (o[n] = e[n])); } return o; })(e, On); return V().createElement( Ht, Fn( { className: X()(n, o.default.component, "popover"), style: Nn( { "--ccx-comments-user-card-padding": "5px 10px", "--ccx-comments-user-card-email-font-size": "var(--spectrum-global-dimension-font-size-75, 12px)", "--ccx-comments-user-card-name-font-size": "var(--spectrum-global-dimension-font-size-75, 12px)", "--ccx-comments-avatar-column-margin-right": "8px", "--spectrum-overlay-animation-distance": "0px", "--ccx-comments-avatar-foreground": "var(--spectrum-global-color-gray-100, #f5f5f5)", "--ccx-comments-avatar-background": "var(--spectrum-global-color-gray-400, #cacaca)", visibility: "visible", opacity: "1", }, r ), }, a ), t ); }; Ln.propTypes = { className: G().string, children: G().node.isRequired, style: G().object }; var Mn = function (e) { var t = e.children; return V().createElement("div", { className: "text-wrapper" }, t); }; Mn.propTypes = { children: G().node.isRequired }; var Pn = function (e) { var t = e.title, n = e.children; return n ? V().createElement("div", { className: "name" }, V().createElement("span", { title: t }, n)) : null; }; Pn.propTypes = { title: G().string, children: G().node }; var jn = function (e) { var t = e.title, n = e.children; return n ? V().createElement("div", { className: "email" }, V().createElement("span", { title: t }, n)) : null; }; jn.propTypes = { title: G().string, children: G().node }; var Bn = function (e) { var t = e.title, n = e.children; return n ? V().createElement("div", { className: "org-name" }, V().createElement("span", { title: t }, n)) : null; }; Bn.propTypes = { title: G().string, children: G().node }; var Zn = function (e) { var t = e.user, n = e.selected, r = e.onClick, a = e.onHover, i = e.onRender, s = e.children, c = e.id, l = e.environment, u = (0, z.useRef)(); (0, z.useEffect)(function () { i && i(u.current.clientWidth); }, []), (0, z.useEffect)( function () { n && (0, Ae.Z)(u.current, { block: "nearest" }); }, [n] ); var d = X()(o.default.component, { selected: n }); return V().createElement( "div", { ref: u, "aria-label": "".concat(t.name, ", ").concat(t.email), "data-testid": "ccx-comments-user-card-container", className: d, onMouseEnter: function (e) { a(e, c); }, onMouseDown: function (e) { e.preventDefault(), r(e, c); }, }, s || V().createElement( V().Fragment, null, V().createElement("div", { className: "avatar-column" }, V().createElement(In, { environment: l, user: t })), V().createElement(Mn, null, t.name !== t.email ? V().createElement(Pn, { title: t.name }, t.name) : null, V().createElement(jn, { title: t.email }, t.email), V().createElement(Bn, { title: t.orgName }, t.orgName)) ) ); }; (Zn.defaultProps = { selected: !1, onClick: function () {}, onHover: function () {}, onRender: void 0 }), (Zn.propTypes = { children: G().node, environment: G().string, id: G().number, onClick: G().func, onHover: G().func, onRender: G().func, selected: G().bool, user: G().shape({ name: G().string, email: G().string, img: G().string, orgName: G().string }).isRequired, }); const Un = Zn; var zn = V().memo(function (e) { var t = e.suggestions, n = e.selectedIndex, r = e.onUserCardClick, o = e.onUserCardHover, a = (0, z.useContext)(re.ZP).compactLayout, s = X()(i.default.component, a ? "above" : "below"), c = (0, z.useCallback)( function (e, t) { r(t); }, [r] ), l = (0, z.useCallback)( function (e, t) { o(t); }, [o] ); return V().createElement( "ul", { className: s, id: "ccx-suggestion-list", role: "listbox" }, t.map(function (e, t) { var r = n === t; return V().createElement( "li", { key: e.token, "aria-selected": r, "data-testid": "ccx-comments-suggestion-container", id: "suggestion-".concat(t), role: "option", tabIndex: "-1" }, V().createElement( Un, { id: t, onClick: c, onHover: l, selected: r, user: e }, V().createElement("div", { className: "avatar-column" }, V().createElement(In, { user: e })), V().createElement(Mn, null, e.name !== e.email ? V().createElement(Pn, { title: e.name }, e.name) : null, V().createElement(jn, { title: e.email }, e.email), V().createElement(Bn, { title: e.orgName }, e.orgName)) ) ); }) ); }); (zn.displayName = "SuggestionsList"), (zn.propTypes = { onUserCardClick: G().func, onUserCardHover: G().func, selectedIndex: G().number, suggestions: G().array }), (zn.defaultProps = { onUserCardClick: function () {}, onUserCardHover: function () {}, selectedIndex: 0, suggestions: [] }); const Vn = zn; var Hn = n(82950); function Gn(e, t) { return ( (function (e) { if (Array.isArray(e)) return e; })(e) || (function (e, t) { var n = null == e ? null : ("undefined" != typeof Symbol && e[Symbol.iterator]) || e["@@iterator"]; if (null != n) { var r, o, a = [], i = !0, s = !1; try { for (n = n.call(e); !(i = (r = n.next()).done) && (a.push(r.value), !t || a.length !== t); i = !0); } catch (e) { (s = !0), (o = e); } finally { try { i || null == n.return || n.return(); } finally { if (s) throw o; } } return a; } })(e, t) || (function (e, t) { if (e) { if ("string" == typeof e) return Wn(e, t); var n = Object.prototype.toString.call(e).slice(8, -1); return "Object" === n && e.constructor && (n = e.constructor.name), "Map" === n || "Set" === n ? Array.from(e) : "Arguments" === n || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n) ? Wn(e, t) : void 0; } })(e, t) || (function () { throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); })() ); } function Wn(e, t) { (null == t || t > e.length) && (t = e.length); for (var n = 0, r = new Array(t); n < t; n++) r[n] = e[n]; return r; } var Qn = V().memo( (0, z.forwardRef)(function (e, t) { var n = Gn((0, z.useState)(!1), 2), r = n[0], o = n[1], a = Gn((0, z.useState)(0), 2), i = a[0], s = a[1], c = e.cursorIndex, l = e.defaultMentions, u = e.keyPress, d = e.onAcceptedSuggestionsChange, p = e.onChange, f = e.onHide, m = e.onShow, h = e.onTextValueChange, v = e.preventShow, y = e.textValue, g = (0, Sn.ZP)(l), b = g.getSuggestionsFromInput, E = g.suggestions, D = g.acceptedSuggestions, C = g.acceptSuggestion, w = (0, Hn.Z)(r && E.length > 0); (0, z.useEffect)( function () { d(D); }, [d, D] ), (0, z.useEffect)( function () { var e = b(y, c); o(e); }, [y, c] ), (0, z.useImperativeHandle)( t, function () { return { getShowMentions: function () { return r; }, hide: function () { return o(!1); }, show: function () { return o(b(y, c)); }, }; }, [c, r, y] ); var S = (0, z.useCallback)( function (e) { var t = E[(0, wn.gN)(e || i, E.length)]; t && C(t) .then(function () { o(!1), s(0); var e = y.substring(0, c), n = (0, wn.uV)(e, An.xA), r = y.substring(0, n + 1) + t.name + " " + y.substring(c), a = n + 1 + t.name.length + 1; h(r, a); }) .catch(function () {}); }, [C, i, c, h, E, y] ); return ( (0, z.useEffect)( function () { if (r) switch (u.keyCode) { case An.nx.ENTER: case An.nx.TAB: S(), o(!1); break; case An.nx.UP: s(function (e) { return (0, wn.gN)(e - 1, E.length); }); break; case An.nx.DOWN: s(function (e) { return (0, wn.gN)(e + 1, E.length); }); break; case An.nx.ESCAPE: o(!1); } }, [u] ), (0, z.useEffect)( function () { p(r ? i : -1); }, [p, i, r] ), (0, z.useEffect)( function () { !w && r && E.length > 0 && m(), !w || (r && E.length > 0) || f(); }, [f, m, r, E.length, w] ), E.length > 0 && r && !v && V().createElement(Vn, { onUserCardClick: S, onUserCardHover: s, selectedIndex: (0, wn.gN)(i, E.length), suggestions: E }) ); }) ); (Qn.displayName = "Mentions"), (Qn.propTypes = { cursorIndex: G().number, defaultMentions: G().array, keyPress: G().object, onAcceptedSuggestionsChange: G().func, onChange: G().func, onHide: G().func, onShow: G().func, onTextValueChange: G().func, preventShow: G().bool, textValue: G().string, }), (Qn.defaultProps = { cursorIndex: 0, defaultMentions: [], keyPress: {}, onAcceptedSuggestionsChange: function () {}, onChange: function () {}, onHide: function () {}, onShow: function () {}, onTextValueChange: function () {}, preventShow: !1, textValue: "", }); const Jn = Qn; var Yn = ["tooltip", "placement", "label"]; function qn() { return ( (qn = Object.assign ? Object.assign.bind() : function (e) { for (var t = 1; t < arguments.length; t++) { var n = arguments[t]; for (var r in n) Object.prototype.hasOwnProperty.call(n, r) && (e[r] = n[r]); } return e; }), qn.apply(this, arguments) ); } var Xn = (0, z.forwardRef)(function (e, t) { var n = e.tooltip, r = e.placement, o = e.label, a = (function (e, t) { if (null == e) return {}; var n, r, o = (function (e, t) { if (null == e) return {}; var n, r, o = {}, a = Object.keys(e); for (r = 0; r < a.length; r++) (n = a[r]), t.indexOf(n) >= 0 || (o[n] = e[n]); return o; })(e, t); if (Object.getOwnPropertySymbols) { var a = Object.getOwnPropertySymbols(e); for (r = 0; r < a.length; r++) (n = a[r]), t.indexOf(n) >= 0 || (Object.prototype.propertyIsEnumerable.call(e, n) && (o[n] = e[n])); } return o; })(e, Yn); return V().createElement( "div", { ref: t }, V().createElement( _t, { placement: r, trigger: "hover" }, V().createElement(ge, qn({ label: o }, a)), V().createElement(It, { role: "tooltip", style: { pointerEvents: "none", marginTop: "bottom" === r ? "-4px" : "", marginBottom: "bottom" !== r ? "-3px" : "" } }, n) ) ); }); (Xn.defaultProps = { placement: "top", variant: "tool", selected: !1, label: null }), (Xn.propTypes = { tooltip: G().string.isRequired, placement: G().oneOf(["top", "right", "bottom", "left"]), selected: G().bool, label: G().string }), (Xn.displayName = "TooltipButton"); const Kn = Xn; !(function () { var e, t = null === (e = window) || void 0 === e ? void 0 : e.navigator.userAgent.toLowerCase().includes("firefox"), n = /^((?!chrome|android).)*safari/i.test(navigator.userAgent); (t || n) && "undefined" != typeof ShadowRoot && void 0 === ShadowRoot.getSelection && (ShadowRoot.prototype.getSelection = function () { return document.getSelection(); }); })(); var $n = function (e) { return e.getRootNode() instanceof ShadowRoot ? e.getRootNode().getSelection() : window.getSelection(); }, er = function (e) { if (e.isContentEditable) try { var t, n = $n(e); if (e.getRootNode() instanceof ShadowRoot && "function" == typeof n.getComposedRanges) return (t = n.getComposedRanges(e.getRootNode())[0]).endOffset; var r = (t = n.getRangeAt(0)).cloneRange(); return r.selectNodeContents(e), r.setEnd(t.endContainer, t.endOffset), r.toString().length; } catch (e) { return 0; } return e.selectionEnd || 0; }, tr = function (e, t) { if (e.isContentEditable) { var n = $n(e), r = (function e(t, n, r) { var o = n, a = r; return ( a || ((a = document.createRange()).selectNode(t), a.setStart(t, 0)), 0 === o ? a.setEnd(t, o) : t && o > 0 && (t.nodeType === Node.TEXT_NODE ? t.textContent.length < o ? (o -= t.textContent.length) : (a.setEnd(t, o), (o = 0)) : Array.from(t.childNodes).some(function (t) { var n = e(t, o, a); return (o = n.charCount), (a = n.range), 0 === o; })), { range: a, charCount: o } ); })(e, Math.min(Math.max(t, 0), e.innerText.length)).range; r.collapse(!1), n.removeAllRanges(), n.addRange(r); } else e.selectionEnd = t; }, nr = function () { var e = document.activeElement.shadowRoot; if (!e || e.getSelection) { var t = window.getSelection(); if (t.rangeCount) { var n = t.getRangeAt(0).cloneRange(); if (n.commonAncestorContainer !== document) { var r = document.createElement("br"); n.insertNode(r), (0, Ae.Z)(r, { block: "nearest" }), r.remove(); } } } }, rr = n(22086), or = (0, z.createRef)(); const ar = function () { var e = (0, Ve.I0)(), t = (0, Ve.v9)(function (e) { return e["".concat(An.Bq, ":mobile")].fullscreen; }), n = (0, Ve.v9)(function (e) { return e["".concat(An.Bq, ":mobile")].inputFocused; }), r = (0, Ve.v9)(function (e) { return e["".concat(An.Bq, ":mobile")].mentionListShown; }), o = (0, Ve.v9)(function (e) { var t = e["".concat(An.Bq, ":mobile")].subviewStack; return t[t.length - 1]; }), a = (0, z.useContext)(tt.ZP), i = a.onCloseButtonClick, s = a.onTrayHeightChange, c = (0, Ke.Z)(), l = c.fireEvent, u = c.events, d = (0, z.useCallback)( function (t) { return e(ie.K1(t)); }, [e] ), p = (0, z.useCallback)( function (t) { return e(ie.cN(t)); }, [e] ), f = (0, z.useCallback)( function (t) { return e(ie.Po(t)); }, [e] ), m = (0, z.useCallback)( function () { return e(ie.BH()); }, [e] ), h = (0, z.useCallback)( function (t) { return e(ie.BX(t)); }, [e] ), v = (0, z.useCallback)( function () { return e(ie.mc()); }, [e] ), y = (0, z.useCallback)( function () { t && d(!1); }, [t, d] ), g = (0, z.useCallback)( function () { l(u.closeComponent), i(); }, [u, l, i] ), b = (0, z.useCallback)( function () { y(), t || s("minimized"); }, [y, t, s] ), E = (0, z.useCallback)( function () { (o !== An.p8.COMMENT && o !== An.p8.EDIT) || t || d(!0), s("maximized"); }, [t, s, d, o] ), D = (0, z.useCallback)( function () { s("restored"), y(); }, [y, s] ); return { inputFocused: n, isFullscreen: t, mentionListShown: r, onTrayClose: g, onTrayCollapse: b, onTrayExpand: E, onTrayRestore: D, popSubview: m, pushSubview: h, reset: v, setFullscreen: d, setInputFocused: p, setIsFullscreen: d, setMentionListShown: f, subview: o, trayHandleRef: or, }; }; var ir, sr = n(46794), cr = n(87220), lr = n.n(cr), ur = n(45232), dr = n.n(ur), pr = n(5347), fr = n.n(pr); function mr() { return ( (mr = Object.assign ? Object.assign.bind() : function (e) { for (var t = 1; t < arguments.length; t++) { var n = arguments[t]; for (var r in n) Object.prototype.hasOwnProperty.call(n, r) && (e[r] = n[r]); } return e; }), mr.apply(this, arguments) ); } function hr(e, t) { var n = Object.keys(e); if (Object.getOwnPropertySymbols) { var r = Object.getOwnPropertySymbols(e); t && (r = r.filter(function (t) { return Object.getOwnPropertyDescriptor(e, t).enumerable; })), n.push.apply(n, r); } return n; } function vr(e) { for (var t = 1; t < arguments.length; t++) { var n = null != arguments[t] ? arguments[t] : {}; t % 2 ? hr(Object(n), !0).forEach(function (t) { yr(e, t, n[t]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : hr(Object(n)).forEach(function (t) { Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t)); }); } return e; } function yr(e, t, n) { return t in e ? Object.defineProperty(e, t, { value: n, enumerable: !0, configurable: !0, writable: !0 }) : (e[t] = n), e; } function gr(e, t) { (null == t || t > e.length) && (t = e.length); for (var n = 0, r = new Array(t); n < t; n++) r[n] = e[n]; return r; } var br = null === (ir = window) || void 0 === ir ? void 0 : ir.navigator.userAgent.toLowerCase().includes("firefox"), Er = br ? "" : "

", Dr = /[&<>"']/g, Cr = /[|\\{}()[\]^$+*?.]/g, wr = (0, z.forwardRef)(function (e, t) { var n, r, o = e.ariaAttributes, a = e.onBlur, i = e.onChange, c = e.onClick, l = e.onFocus, u = e.onKeyDown, d = e.onKeyUp, p = e.onStructuredTextHover, f = e.placeholder, m = e.richTextEntry, h = e.structuredText, v = (0, z.useRef)(), y = (0, z.useRef)(), g = (0, z.useRef)(0), b = (0, z.useRef)(0), E = (0, z.useRef)(!1), D = ((n = (0, z.useState)(!0)), (r = 2), (function (e) { if (Array.isArray(e)) return e; })(n) || (function (e, t) { var n = null == e ? null : ("undefined" != typeof Symbol && e[Symbol.iterator]) || e["@@iterator"]; if (null != n) { var r, o, a = [], i = !0, s = !1; try { for (n = n.call(e); !(i = (r = n.next()).done) && (a.push(r.value), !t || a.length !== t); i = !0); } catch (e) { (s = !0), (o = e); } finally { try { i || null == n.return || n.return(); } finally { if (s) throw o; } } return a; } })(n, r) || (function (e, t) { if (e) { if ("string" == typeof e) return gr(e, t); var n = Object.prototype.toString.call(e).slice(8, -1); return "Object" === n && e.constructor && (n = e.constructor.name), "Map" === n || "Set" === n ? Array.from(e) : "Arguments" === n || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n) ? gr(e, t) : void 0; } })(n, r) || (function () { throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); })()), C = D[0], w = D[1], S = (0, z.useRef)([]), A = (0, z.useRef)(-1), k = (0, Hn.Z)(h); (0, z.useEffect)( function () { m && y.current.replaceChildren(dr().sanitize(Er, { RETURN_DOM_FRAGMENT: !0 })); }, [m] ), (0, z.useEffect)( function () { var e = v.current, t = function (e) { var t = e.toElement || e.relatedTarget; t && t.dataset.structuredtextid && (0 === e.which || 0 === e.buttons) ? p(e, v.current) : p(); }; return ( m && e.addEventListener("mouseout", t), function () { m && e.removeEventListener("mouseout", t); } ); }, [p, m] ); var _ = (0, z.useCallback)(function () { (g.current = 0), (b.current = 0), (E.current = !1); }, []), T = (0, z.useCallback)( function (e) { var t, n = !(arguments.length > 1 && void 0 !== arguments[1]) || arguments[1], r = e, o = !1; m ? (r.length < 1 ? ((o = !0), _()) : 1 === r.length && "\n" === r[r.length - 1] && ((o = !0), (r = r.slice(0, -1)), _()), y.current.replaceChildren(dr().sanitize(o ? Er : e, { RETURN_DOM_FRAGMENT: !0 })), w(o), (t = o ? r : y.current.innerText)) : ((y.current.value = e), (t = y.current.value)), n && tr(y.current, g.current), i(t, g.current); }, [i, _, m] ), I = (0, z.useCallback)( function (e, t) { var n = arguments.length > 2 && void 0 !== arguments[2] ? arguments[2] : "insert", r = !(arguments.length > 3 && void 0 !== arguments[3]) || arguments[3], o = e; ("commentsversion" !== o && "commentsversion\n" !== o) || (o = fr()), m && ("insert" === n ? ((S.current = S.current.slice(0, A.current + 1)), S.current.push(o), (A.current = S.current.length - 1)) : "update" === n && (S.current[A.current] = o), (o = o.replace(Dr, function (e) { return { "&": "&", "<": "<", ">": ">", '"': """, "'": "'" }[e]; })), h.forEach(function (e) { var t = e.text.replace(Cr, "\\$&"); o = o.replace(new RegExp(t, "g"), '').concat(e.text, "")); })), (g.current = void 0 !== t ? t : er(y.current) + b.current), (b.current = 0), T(o, r); }, [m, T, h] ), O = (0, z.useCallback)( function (e) { if (m) { e.persist(); var t, n, r = e.nativeEvent, o = r.inputType, a = "ignore"; if ("historyUndo" === o) A.current > -1 && (A.current--, (n = (t = -1 === A.current ? "" : S.current[A.current]).length)); else if ("historyRedo" === o) { var s; A.current < S.current.length - 1 && (A.current++, (n = null === (s = t = S.current[A.current]) || void 0 === s ? void 0 : s.length)); } else (t = e.target.innerText), (a = !S.current.length || -1 === A.current || "insertParagraph" === r.inputType || "insertLineBreak" === r.inputType || ("insertText" === r.inputType && " " === r.data) ? "insert" : "update"); E.current || void 0 === t ? void 0 !== t && i(t, g.current) : I(t, n, a); } else I(e.target.value); }, [i, I, m] ), F = (0, z.useCallback)( function (e) { e.stopPropagation(), m && e.keyCode === An.nx.ENTER && (void 0 === y.current.innerText[er(y.current) + 1] || br) && (b.current += 1), u(e); }, [u, m] ), x = (0, z.useCallback)( function (e) { d(e, g.current); }, [d] ), N = (0, z.useCallback)( function (e) { var t, n; m && ((t = y.current), (n = $n(t)).empty ? n.empty() : n.removeAllRanges && n.removeAllRanges()), a(e); }, [a, m] ), R = (0, z.useCallback)(function () { E.current = !0; }, []), L = (0, z.useCallback)( function () { (E.current = !1), m && I(y.current.innerText); }, [I, m] ), M = (0, z.useCallback)( function () { (g.current = er(y.current) + b.current), c(); }, [c] ), P = (0, z.useCallback)( function (e) { tr(y.current, g.current), l(e); }, [l] ), j = (0, z.useCallback)( function (e) { e.preventDefault(); var t = y.current.innerText, n = window.getSelection().toString(), r = (e.clipboardData || window.clipboardData).getData("Text"), o = er(y.current), a = t.slice(0, o - n.length), i = t.slice(o), s = "".concat(a).concat(r); I("".concat(s).concat(i), s.length), nr(); }, [I] ); (0, z.useEffect)( function () { var e = (m ? y.current.innerText : y.current.value) || ""; h && k && !lr()(h, k) && I(e, g.current, "update"); }, [h] ), (0, z.useImperativeHandle)(t, function () { return { clearTextareaInput: function () { (S.current = []), (A.current = -1), _(), T("", !1), y.current.blur(); }, getCursorPosition: function () { return (g.current = er(y.current)); }, setFocus: function () { y.current.focus({ preventScroll: !0 }); }, setText: function (e, t, n) { I(e, t, "insert", !(arguments.length > 3 && void 0 !== arguments[3]) || arguments[3]), d({}, t, e), n && (y.current.scrollTop = y.current.scrollHeight); }, }; }); var B = vr( vr({}, o), {}, { "aria-autocomplete": "list", "aria-multiline": "true", "aria-owns": "ccx-suggestion-list", "aria-placeholder": f, role: "textbox", onBlur: N, onClick: M, onCompositionStart: R, onCompositionEnd: L, onFocus: P, onKeyDown: F, onKeyUp: x, placeholder: f, } ); return ( m ? ((B.onInput = O), (B.onPaste = j)) : (B.onChange = O), V().createElement( "div", { className: X()(s.default.component, { "rich-text-entry": m, "plain-text-entry": !m }), ref: v }, m ? V().createElement("div", mr({ className: "textarea content-editable".concat(C && !E.current ? " empty" : ""), contentEditable: !0 }, B, { ref: y })) : V().createElement("textarea", mr({ className: "textarea plain", rows: "1" }, B, { ref: y })) ) ); }); (wr.displayName = "Textarea"), (wr.defaultProps = { ariaAttributes: {}, onBlur: function () {}, onChange: function () {}, onClick: function () {}, onFocus: function () {}, onKeyDown: function () {}, onKeyUp: function () {}, onStructuredTextHover: function () {}, placeholder: "", richTextEntry: !1, structuredText: [], }), (wr.propTypes = { ariaAttributes: G().object, onBlur: G().func, onChange: G().func.isRequired, onClick: G().func, onFocus: G().func, onKeyDown: G().func, onKeyUp: G().func, onStructuredTextHover: G().func, placeholder: G().string, richTextEntry: G().bool, structuredText: G().array, }); const Sr = wr; var Ar = function (e, t) { var n = {}; for (var r in e) Object.prototype.hasOwnProperty.call(e, r) && t.indexOf(r) < 0 && (n[r] = e[r]); if (null != e && "function" == typeof Object.getOwnPropertySymbols) { var o = 0; for (r = Object.getOwnPropertySymbols(e); o < r.length; o++) t.indexOf(r[o]) < 0 && Object.prototype.propertyIsEnumerable.call(e, r[o]) && (n[r[o]] = e[r[o]]); } return n; }; const kr = (0, pe.Z)(n(60893)).default, _r = (0, ue.Z)({ displayName: "ButtonGroup", fallback: kr, swcLoader: void 0, swcProps: (e) => { const { className: t, orientation: n } = e, r = Ar(e, ["className", "orientation"]), o = "vertical" === n || void 0, a = de.ww ? { variant: n, align: "center" } : { vertical: o }; return Object.assign(Object.assign(Object.assign({}, r), a), { class: t }); }, tagName: "sp-button-group", }), Tr = (0, ue.Z)({ displayName: "ActionGroup", fallback: kr, swcLoader: void 0, SWCWrapper: function (e) { const t = (0, z.useRef)(null), { className: n, value: r, multiple: o, orientation: a, onChange: i } = e, s = Ar(e, ["className", "value", "multiple", "orientation", "onChange"]), c = "vertical" === a || void 0, l = o ? "multiple" : "single", u = "multiple" === l ? r : [r].flat(), d = de.ww ? { variant: a, align: "center" } : Object.assign({ vertical: c, selected: JSON.stringify(u) }, l && { selects: l }); (0, z.useEffect)(() => { const e = t.current, n = (e) => { const t = e.target; null == i || i(t.selected); }; return ( e && i && e.addEventListener("change", n), () => { e && i && e.removeEventListener("change", n); } ); }, [i, r]); const p = (0, de.Co)("sp-action-group"); return V().createElement(p, Object.assign(Object.assign(Object.assign(Object.assign({ ref: t }, s), d), (0, de.cd)({ vertical: c })), { class: n })); }, tagName: "sp-action-group", }), Ir = (0, z.forwardRef)(function (e, t) { return e.onChange ? V().createElement(Tr, Object.assign(Object.assign({}, e), { ref: t })) : V().createElement(_r, Object.assign(Object.assign({}, e), { ref: t })); }), Or = (0, pe.Z)(n(81852)).default, Fr = (0, ue.Z)({ displayName: "Draw", fallback: Or, swcLoader: void 0, swcProps: Ot.m, tagName: "sp-icon-draw" }); function xr(e, t) { return ( (function (e) { if (Array.isArray(e)) return e; })(e) || (function (e, t) { var n = null == e ? null : ("undefined" != typeof Symbol && e[Symbol.iterator]) || e["@@iterator"]; if (null != n) { var r, o, a = [], i = !0, s = !1; try { for (n = n.call(e); !(i = (r = n.next()).done) && (a.push(r.value), !t || a.length !== t); i = !0); } catch (e) { (s = !0), (o = e); } finally { try { i || null == n.return || n.return(); } finally { if (s) throw o; } } return a; } })(e, t) || (function (e, t) { if (e) { if ("string" == typeof e) return Nr(e, t); var n = Object.prototype.toString.call(e).slice(8, -1); return "Object" === n && e.constructor && (n = e.constructor.name), "Map" === n || "Set" === n ? Array.from(e) : "Arguments" === n || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n) ? Nr(e, t) : void 0; } })(e, t) || (function () { throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); })() ); } function Nr(e, t) { (null == t || t > e.length) && (t = e.length); for (var n = 0, r = new Array(t); n < t; n++) r[n] = e[n]; return r; } var Rr = function (e) { var t = e.annotationColor, n = e.onColorSelect, r = e.onPickerOpen, o = e.onPickerClose, a = e.touchControls, i = (0, Ne.Z)().formatMessage, s = xr((0, z.useState)(!1), 2), c = s[0], l = s[1], u = ar().mentionListShown; (0, z.useEffect)( function () { u && (l(!1), o()); }, [u, o] ); var d = (0, z.useCallback)( function (e) { l(!1), n(e), o(); }, [n, o] ), p = (0, z.useCallback)( function () { l(!0), r(); }, [r] ); if (!c) return a ? V().createElement(ge, { "aria-label": i({ id: "comments.arialabel.button.colorPicker" }), icon: V().createElement("span", { "data-testid": "color-picker-icon", style: { backgroundColor: t, borderRadius: "22px", height: "22px", width: "22px" } }), onClick: p, variant: "tool", style: { "--spectrum-actionbutton-background-color-hover": "transparent" }, }) : V().createElement(Kn, { "aria-label": i({ id: "comments.arialabel.button.colorPicker" }), icon: V().createElement("span", { "data-testid": "color-picker-icon", style: { backgroundColor: t, borderRadius: "22px", height: "22px", width: "22px" } }), onClick: p, placement: "bottom", tooltip: i({ id: "comments.arialabel.button.colorPicker" }), variant: "tool", }); var f = An.Kz.map(function (e) { var t = e.hex, n = e.name; return a ? V().createElement(ge, { "aria-label": i({ id: "comments.colorPicker.colors.".concat(n) }), icon: V().createElement("span", { style: { backgroundColor: t, borderRadius: "22px", height: "22px", width: "22px" } }), key: "color-".concat(t), onClick: function () { return d(t); }, variant: "tool", style: { "--spectrum-actionbutton-background-color-hover": "transparent" }, }) : V().createElement(Kn, { "aria-label": i({ id: "comments.colorPicker.colors.".concat(n) }), icon: V().createElement("span", { style: { backgroundColor: t, borderRadius: "22px", height: "22px", width: "22px" } }), key: "color-".concat(t), onClick: function () { return d(t); }, placement: "bottom", tooltip: i({ id: "comments.colorPicker.colors.".concat(n) }), variant: "tool", }); }); return V().createElement(Ir, { "aria-label": i({ id: "comments.arialabel.button.colorPicker" }), style: { display: "contents" }, readOnly: !0 }, f); }; (Rr.defaultProps = { annotationColor: "", onColorSelect: function () {}, onPickerOpen: function () {}, onPickerClose: function () {} }), (Rr.propTypes = { annotationColor: G().string.isRequired, onPickerOpen: G().func, onPickerClose: G().func, onColorSelect: G().func, touchControls: G().bool }); var Lr = function (e) { var t = e.onOpen, n = void 0 === t ? function () {} : t, r = e.onClose, o = void 0 === r ? function () {} : r, a = xr((0, z.useState)(!1), 2), i = a[0], s = a[1], c = xr((0, z.useState)(!0), 2), l = c[0], u = c[1], d = (0, z.useContext)(re.ZP), p = d.touchControls, f = d.compactLayout, m = (0, Ke.Z)(), h = (0, sr.Z)(), v = h.annotationTypes, y = h.annotationCommentsEnabled, g = h.clearAnnotation, b = h.readyToAnnotate, E = h.legacyAnnotationMode, D = h.newAnnotationType, C = h.setAnnotationMode, w = h.isAnnotating, S = h.isPlacingAnnotation, A = h.annotationColor, k = h.saveAnnotationColor, _ = (0, Ne.Z)(), T = (0, z.useCallback)( function () { s(!1), C(!1), g(), o(); }, [g, o, C] ), I = (0, z.useCallback)( function (e, t) { e.preventDefault(), t !== D ? (m.fireEvent({ event: { subcategory: "".concat(t, "-comment"), type: "click", subtype: "".concat(t, S ? "-leave" : "-enter") } }), g(), C(!0, "root", !0, t)) : T(); }, [C, m, S, g, D, T] ), O = (0, z.useCallback)( function (e) { e.preventDefault(), E && (m.fireEvent({ event: { subcategory: "pin-comment", type: "click", subtype: S ? "pin-leave" : "pin-enter" } }), w ? C(!1) : C(!0, "root", !0, "pin")); }, [E, C, w, m, S] ), F = function () { s(!0), C(!0, "root", !0, "pin"), n(); }; return E ? p ? V().createElement(ge, { "aria-label": _.formatMessage({ id: "comments.textarea_input.pin.tooltip" }), "data-testid": "legacy-annotation-button", variant: "tool", icon: V().createElement(En.Z, null), onMouseDown: f ? void 0 : function (e) { return O(e); }, onClick: f ? function (e) { return O(e); } : void 0, selected: w, }) : V().createElement(Kn, { "aria-label": _.formatMessage({ id: "comments.textarea_input.pin.tooltip" }), "data-testid": "legacy-annotation-button", placement: "bottom", variant: "tool", icon: V().createElement(En.Z, null), tooltip: _.formatMessage({ id: "comments.textarea_input.pin.tooltip" }), onClick: function (e) { return O(e); }, selected: w, }) : y && v ? V().createElement( "div", null, !i && !w && (p ? V().createElement(ge, { "aria-label": _.formatMessage({ id: "comments.annotations.annotation_toolbar_hint" }), "data-testid": "annotation-button", disabled: !b, icon: V().createElement(En.Z, null), variant: "tool", onMouseDown: f ? void 0 : F, onClick: f ? F : void 0, }) : V().createElement(Kn, { "aria-label": _.formatMessage({ id: "comments.annotations.annotation_toolbar_hint" }), "data-testid": "annotation-button", onClick: F, disabled: !b, icon: V().createElement(En.Z, null), variant: "tool", placement: "bottom", tooltip: _.formatMessage({ id: "comments.annotations.annotation_toolbar_hint" }), })), (i || w) && V().createElement( "div", { style: { display: "flex", alignItems: "center" } }, l && V().createElement( Ir, { "aria-label": "AnnotationsToolbar", value: D, style: { display: "contents" } }, !0 === v.pin && (p ? V().createElement(ge, { "aria-label": _.formatMessage({ id: "comments.textarea_input.pin.tooltip" }), variant: "tool", icon: V().createElement(En.Z, null), onMouseDown: f ? void 0 : function (e) { return I(e, "pin"); }, onClick: f ? function (e) { return I(e, "pin"); } : void 0, value: "pin", style: w && "pin" === D ? { "--spectrum-actionbutton-background-color-default": "var(--system-spectrum-actionbutton-quiet-background-color-hover)" } : { "--system-spectrum-actionbutton-quiet-background-color-hover": "transparent" }, }) : V().createElement(Kn, { "aria-label": _.formatMessage({ id: "comments.textarea_input.pin.tooltip" }), placement: "bottom", variant: "tool", icon: V().createElement(En.Z, null), tooltip: _.formatMessage({ id: "comments.textarea_input.pin.tooltip" }), onClick: function (e) { return I(e, "pin"); }, value: "pin", })), !0 === v.draw && (p ? V().createElement(ge, { "aria-label": _.formatMessage({ id: "comments.textarea_input.draw.tooltip" }), variant: "tool", icon: V().createElement(Fr, null), onMouseDown: f ? void 0 : function (e) { return I(e, "draw"); }, onClick: f ? function (e) { return I(e, "draw"); } : void 0, value: "draw", style: w && "draw" === D ? { "--spectrum-actionbutton-background-color-default": "var(--system-spectrum-actionbutton-quiet-background-color-hover)" } : { "--system-spectrum-actionbutton-quiet-background-color-hover": "transparent" }, }) : V().createElement(Kn, { "aria-label": _.formatMessage({ id: "comments.textarea_input.draw.tooltip" }), placement: "bottom", icon: V().createElement(Fr, null), tooltip: _.formatMessage({ id: "comments.textarea_input.draw.tooltip" }), onClick: function (e) { return I(e, "draw"); }, value: "draw", })) ), V().createElement(Rr, { annotationColor: A, onPickerOpen: function () { return u(!1); }, onPickerClose: function () { return u(!0); }, onColorSelect: k, touchControls: p, compactLayout: f, }) ) ) : null; }; Lr.propTypes = { onOpen: G().func, onClose: G().func }; const Mr = Lr; var Pr = n(48468); function jr(e, t) { return ( (function (e) { if (Array.isArray(e)) return e; })(e) || (function (e, t) { var n = null == e ? null : ("undefined" != typeof Symbol && e[Symbol.iterator]) || e["@@iterator"]; if (null != n) { var r, o, a = [], i = !0, s = !1; try { for (n = n.call(e); !(i = (r = n.next()).done) && (a.push(r.value), !t || a.length !== t); i = !0); } catch (e) { (s = !0), (o = e); } finally { try { i || null == n.return || n.return(); } finally { if (s) throw o; } } return a; } })(e, t) || (function (e, t) { if (e) { if ("string" == typeof e) return Br(e, t); var n = Object.prototype.toString.call(e).slice(8, -1); return "Object" === n && e.constructor && (n = e.constructor.name), "Map" === n || "Set" === n ? Array.from(e) : "Arguments" === n || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n) ? Br(e, t) : void 0; } })(e, t) || (function () { throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); })() ); } function Br(e, t) { (null == t || t > e.length) && (t = e.length); for (var n = 0, r = new Array(t); n < t; n++) r[n] = e[n]; return r; } function Zr(e, t) { var n = Object.keys(e); if (Object.getOwnPropertySymbols) { var r = Object.getOwnPropertySymbols(e); t && (r = r.filter(function (t) { return Object.getOwnPropertyDescriptor(e, t).enumerable; })), n.push.apply(n, r); } return n; } function Ur(e) { for (var t = 1; t < arguments.length; t++) { var n = null != arguments[t] ? arguments[t] : {}; t % 2 ? Zr(Object(n), !0).forEach(function (t) { zr(e, t, n[t]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : Zr(Object(n)).forEach(function (t) { Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t)); }); } return e; } function zr(e, t, n) { return t in e ? Object.defineProperty(e, t, { value: n, enumerable: !0, configurable: !0, writable: !0 }) : (e[t] = n), e; } var Vr = (0, z.lazy)(function () { return Promise.all([n.e(9839), n.e(9550)]).then(n.bind(n, 25017)); }), Hr = (0, z.lazy)(function () { return Promise.all([n.e(9839), n.e(7325)]).then(n.bind(n, 38248)); }), Gr = function (e, t) { var n = t.type, r = t.data, o = Ur({}, e); switch (n) { case "blur": o = Ur(Ur({}, o), {}, { hasFocus: !1 }); break; case "change": o = Ur(Ur({}, o), {}, { cursorPosition: r.cursorPosition, hasError: r.hasError, showRemainingCharacters: r.showRemainingCharacters, remainingCharacters: r.remainingCharacters, value: r.value || "" }); break; case "focus": o = Ur(Ur({}, o), {}, { focusedAtLeastOnce: !0, hasFocus: !0 }); break; case "keyUp": o = Ur(Ur({}, o), {}, { cursorPosition: r.cursorPosition, mentionData: r.mentionData }); break; case "updateAcceptedMentions": o.acceptedMentions = r; break; case "updateCursorPosition": o.cursorPosition = r; break; case "updateMentionData": o.mentionData = r; break; case "updateMentionKeyPress": o.mentionKeyPress = r; break; case "updateSelectedMentionIndex": o.selectedMentionIndex = r; break; case "updateEmojiInputKeyPress": o.emojiInputKeyPress = r; break; case "updateSelectedEmojiIndex": o.selectedEmojiIndex = r; } return o; }, Wr = (0, z.forwardRef)(function (e, t) { var n, r = e.allowCollapseOverride, o = e.animationEnabled, a = e.annotationsEnabledOverride, i = e.annotationLocationCoordinates, s = e.className, l = e.commentSubmit, u = e.compactLayout, d = e.defaultMentions, p = e.hideHeader, f = e.hideTools, m = e.initialValue, h = e.intl, v = e.isDraft, y = e.mentionsEnabled, g = e.onAnnotationClick, b = e.onBlur, E = e.onClick, D = e.onEmojiIconClick, C = e.onFocus, w = e.onHeightChange, S = e.onKeyUp, A = e.onMentionClick, k = e.onTextPresent, _ = e.placeholder, T = e.posting, I = e.richTextEntry, O = e.shouldFocusIfValueExists, F = e.isEmojiPickerVisible, x = e.setEmojiPickerInfo, N = e.theme, R = e.touchControls, L = h.formatMessage, M = (0, z.useRef)(), P = (0, z.useRef)(), j = (0, z.useRef)(), B = (0, z.useRef)(), Z = (0, z.useRef)(), U = (0, z.useRef)(), H = (0, z.useRef)(), G = (0, z.useContext)(re.ZP), W = G.assetData, Q = G.enableEmojiPicker, J = G.latestMobileEnabled, Y = (0, sr.Z)({ annotationsEnabledOverride: a }), q = Y.annotationsEnabled, K = Y.isAnnotating, $ = Y.annotationTypes, te = ar(), ne = te.isFullscreen, oe = te.setIsFullscreen, ae = te.setInputFocused, ie = te.setMentionListShown, se = te.subview, ce = (0, Ve.v9)(function (e) { return (0, Pr._X)(e, W.id); }), le = ce.mobileEditingCommentId, ue = ce.parentCommentId, de = (0, Ve.v9)(function (e) { return (0, Pr.v)(e)[le]; }), pe = (0, cn.cs)(), fe = (0, ln.UP)(), me = (0, z.useRef)(F), he = jr( (0, z.useReducer)(Gr, { acceptedMentions: d, cursorPosition: 0, focusedAtLeastOnce: !1, hasError: !1, hasFocus: !1, mentionData: {}, mentionKeyPress: {}, remainingCharacters: null, selectedMentionIndex: 0, showRemainingCharacters: !1, value: m, emojiInputKeyPress: {}, }), 2 ), ve = he[0], ye = ve.acceptedMentions, be = ve.cursorPosition, Ee = ve.focusedAtLeastOnce, De = ve.hasError, Ce = ve.hasFocus, we = ve.mentionData, Se = ve.mentionKeyPress, Ae = ve.remainingCharacters, ke = ve.selectedMentionIndex, _e = ve.showRemainingCharacters, Te = ve.value, Ie = ve.emojiInputKeyPress, Oe = he[1], Fe = (0, z.useCallback)( function (e) { return e ? Te.trim() : Te; }, [Te] ), xe = jr( (0, z.useState)(function () { return !Fe().length > 0; }), 2 ), Ne = xe[0], Re = xe[1], Le = (0, z.useCallback)( function () { var e = (arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : "").trim(), t = y ? (0, wn.WD)(e, ye).length : e.length, n = An.Ry - t; return { hasError: t > An.Ry, showRemainingCharacters: n <= 10, remainingCharacters: n }; }, [ye, y] ), Me = (0, z.useCallback)(function () { return new Promise(function (e) { setTimeout(function () { var t; null === (t = H.current) || void 0 === t || t.setFocus(), e(); }, 300); }); }, []), Pe = (0, z.useCallback)( function () { F && ((me.current = !1), x()); }, [F, x] ); (0, z.useEffect)( function () { me.current = F; }, [F] ), (0, z.useEffect)(function () { return function () { return me.current && x(); }; }, []), (0, z.useEffect)( function () { if (m) { var e = m.length, t = Le(m); k && k(m, t.hasError), H.current.setText(m, e, !0, O), Oe({ type: "updateCursorPosition", data: e }), O && Me(); } }, [Me] ), (0, z.useEffect)( function () { i && (("insert" !== i.subtype && "replace" !== i.subtype) || Oe({ type: "updateAcceptedMentions", data: [] })); }, [i] ); var je = (0, z.useCallback)(function () { Re(!1); }, []), Be = (0, z.useCallback)( function () { Ce || Re(!0), u && !J && w(); }, [u, Ce, J, w] ), Ze = (0, z.useCallback)( function () { var e; J && ae(!1), Oe({ type: "blur" }), null === (e = Z.current) || void 0 === e || e.hide(), b && b(); }, [J, b, ae] ), Ue = (0, z.useCallback)( function (e, t) { var n = Le(e); k && k(e, n.hasError), Oe({ type: "change", data: { cursorPosition: t, hasError: n.hasError, showRemainingCharacters: n.showRemainingCharacters, remainingCharacters: n.remainingCharacters, value: e } }); }, [Le, k] ), ze = (0, z.useCallback)( function (e) { J || ((Ce || u || R) && e.target.closest("[data-annotation-button]")) || F || Me(), E && E(); }, [u, Ce, F, J, E, Me, R] ), He = (0, z.useCallback)( function (e) { var t; J && ae(!0), e.persist(), pe.completeCurrentOrResumeCoachMarks({ dismissType: "blur" }), fe.completeCurrent({ dismissType: "blur" }), requestAnimationFrame(function () { Oe({ type: "focus" }), C(e); }), null === (t = Z.current) || void 0 === t || t.show(); }, [pe, fe, J, C, ae] ), Ge = (0, z.useCallback)( function (e) { if (Z.current && Z.current.getShowMentions()) (e.keyCode !== An.nx.ENTER && e.keyCode !== An.nx.UP && e.keyCode !== An.nx.DOWN && e.keyCode !== An.nx.ESCAPE && e.keyCode !== An.nx.TAB) || (e.preventDefault(), e.persist(), Oe({ type: "updateMentionKeyPress", data: e })); else if (P.current && P.current.getShowEmojis()) (e.keyCode !== An.nx.ENTER && e.keyCode !== An.nx.UP && e.keyCode !== An.nx.DOWN && e.keyCode !== An.nx.ESCAPE && e.keyCode !== An.nx.TAB && e.keyCode !== An.nx.SPACE) || (e.preventDefault(), e.persist(), Oe({ type: "updateEmojiInputKeyPress", data: e })); else if ((0, wn.Rz)(e) && e.metaKey) { var t = Le(Te); S && S(e, Te.trim(), t.hasError); } else e.keyCode !== An.nx.ENTER || (0, wn.Rz)(e) || (e.preventDefault(), document.execCommand("insertLineBreak"), nr()); }, [Le, S, Te] ), We = (0, z.useCallback)( function (e, t, n) { var r = void 0 !== n ? n : Te, o = Le(r); S && S(e, r, o.hasError), Oe({ type: "keyUp", data: { cursorPosition: t, mentionData: Ur(Ur({}, we), {}, { tooltipUser: null }) } }); }, [Oe, Le, S, we, Te] ), Qe = (0, z.useCallback)(function (e) { Oe({ type: "updateSelectedMentionIndex", data: e }); }, []), Je = (0, z.useCallback)(function (e) { Oe({ type: "updateSelectedEmojiIndex", data: e }); }, []), Ye = (0, z.useCallback)( function (e) { e.preventDefault(); var t = Ce ? H.current.getCursorPosition() : be, n = Te.length > 0 ? Te[t - 1] : "", r = (0, wn.nJ)(n) ? "@" : " @", o = Te; if ("@" !== n) { "\n" === n && t === Te.length && (o = o.slice(0, -1)); var a = o.split(""); a.splice(t, 0, r), H.current.setText(a.join(""), t + r.length), Pe(), A(); } }, [be, Pe, Ce, A, Te] ), qe = (0, z.useCallback)( function (e) { (e.keyCode !== An.nx.ENTER && e.keyCode !== An.nx.SPACE) || Ye(e); }, [Ye] ), Xe = (0, z.useCallback)( function (e) { (e.keyCode !== An.nx.ENTER && e.keyCode !== An.nx.SPACE) || g(e, "pin"); }, [g] ), Ke = (0, z.useCallback)( function (e) { e.preventDefault(), M.current && (0, rr.Z)(M.current, { block: "start", inline: "nearest" }).forEach(function (e) { var t = e.el, n = e.top, r = e.left; (t.scrollTop = n - (p ? 0 : An.Rb)), (t.scrollLeft = r); }), D(); }, [D, p] ), $e = (0, z.useCallback)( function (e) { (e.keyCode !== An.nx.ENTER && e.keyCode !== An.nx.SPACE) || Ke(e); }, [Ke] ), et = (0, z.useCallback)( function (e) { Me() .then(function () { var t = H.current.getCursorPosition(), n = Te.length > 0 ? Te[t - 1] : "", r = e.native, o = Te; "\n" === n && t === Te.length && (o = o.slice(0, -1)); var a = o.split(""); a.splice(t, 0, r), H.current.setText(a.join(""), t + r.length), Pe(), M.current && (0, rr.Z)(M.current, { block: "start", inline: "nearest" }).forEach(function (e) { var t = e.el, n = e.top, r = e.left; (t.scrollTop = n - (p ? 0 : An.Rb)), (t.scrollLeft = r); }); }) .catch(function () {}); }, [Pe, p, Me, Te] ), tt = (0, z.useCallback)( function (e, t) { if (e) { var n = e.toElement || e.relatedTarget, r = n.dataset.structuredtextid, o = ye.find(function (e) { return e.id === r; }); if (o) { var a = { id: o.id, name: o.name, email: o.email, img: o.src, orgName: o.orgName }, i = t.getBoundingClientRect(), s = n.getBoundingClientRect(); Oe({ type: "updateMentionData", data: Ur(Ur({}, we), {}, { mentionRect: s, mentionOffsetLeft: n.offsetLeft || 0, tooltipY: s.bottom - i.top || 0, tooltipUser: a }) }); } } else Oe({ type: "updateMentionData", data: Ur(Ur({}, we), {}, { tooltipUser: null }) }); }, [ye, we] ), nt = (0, z.useCallback)( function (e) { var t = we.mentionRect, n = we.mentionOffsetLeft, r = M.current.getBoundingClientRect(), o = n + t.width / 2, a = Math.max(n + t.width / 2 - e / 2, -12), i = "auto", s = o - a, c = "auto"; if (t.height > 20) (a = "auto"), (i = 0), (s = "auto"), (c = 0); else if (a + e > r.width) { var l = a + e - r.width; (a -= l), (s += l); } Oe({ type: "updateMentionData", data: Ur(Ur({}, we), {}, { tooltipLeft: a || 0, tooltipRight: i || 0, tooltipCaretLeft: s || 0, tooltipCaretRight: c || 0 }) }); }, [we] ), rt = (0, z.useCallback)( function () { J && window.requestAnimationFrame(nr), se && ie(!0); }, [J, ie, se] ), ot = (0, z.useCallback)( function () { J && window.requestAnimationFrame(nr), ie(!1); }, [J, ie] ), at = (0, z.useCallback)(function (e, t, n) { H.current.setText(e, t, n), Oe({ type: "updateCursorPosition", data: t }); }, []), it = (0, z.useCallback)(function (e) { Oe({ type: "updateAcceptedMentions", data: e }); }, []), st = (0, z.useCallback)( function (e) { e.preventDefault(), oe(!ne), window.requestAnimationFrame(nr); }, [ne, oe] ), ct = (0, z.useCallback)( function () { oe(!0); }, [oe] ), lt = (0, z.useCallback)( function () { oe(!1); }, [oe] ); (0, z.useImperativeHandle)(t, function () { return { clearTextareaInput: function () { return H.current.clearTextareaInput(); }, getAcceptedMentions: function () { return ye; }, getComponentRef: function () { return M.current; }, getTextareaInputValue: Fe, maximize: ct, minimize: lt, setFocus: Me, setTextareaInputValue: function (e) { return at(e, e.length, !0); }, }; }); var ut = X()(c.default.component, s, { "has-error": De }), dt = Fe().length > 0, pt = o && (dt || r || F), ft = Ce && o, mt = we.tooltipCaretLeft, ht = we.tooltipCaretRight, vt = we.tooltipLeft, yt = we.tooltipRight, gt = we.tooltipUser, bt = we.tooltipY, Et = T || (Fe(!0) === m && !v) || 0 === Fe(!0).length || Ae < 0, Dt = { top: "".concat(bt, "px"), left: vt, right: yt, zIndex: 1e3 }, Ct = { left: mt, right: ht }, wt = (0, z.useMemo)( function () { return ke < 0 ? { "aria-expanded": !1 } : { "aria-expanded": !0, "aria-activedescendant": "suggestion-".concat(ke) }; }, [ke] ), St = (0, z.useMemo)( function () { return ( ye && ye.map(function (e) { return { class: "mention", id: e.id, text: "@".concat(e.name) }; }) ); }, [ye] ), At = L({ id: "comments.textarea_input.mention.tooltip" }), kt = L({ id: "comments.textarea_input.pin.tooltip" }), _t = L({ id: "comments.submit.submit" }), Tt = L({ id: "comments.textarea_input.emoji.tooltip" }), It = L({ id: ne ? "comments.textarea_input.shrink.tooltip" : "comments.textarea_input.expand.tooltip" }), Ot = R ? V().createElement( "div", null, V().createElement(ge, { "aria-label": "expand", "data-testid": "expand", className: "expand", icon: ne ? V().createElement(bn, null) : V().createElement(yn, null), variant: "tool", onMouseDown: st }) ) : V().createElement(Kn, { "aria-label": "expand", "data-testid": "expand", className: "expand", icon: ne ? V().createElement(bn, null) : V().createElement(yn, null), placement: "bottom", tooltip: It, onClick: st }), Ft = R ? V().createElement("div", { ref: j }, V().createElement(ge, { "aria-label": Tt, "data-test": "emoji-button-touch", className: "tool-button", icon: V().createElement(Cn, null), variant: "tool", onMouseDown: Ke })) : V().createElement(Kn, { "aria-label": Tt, "data-test": "emoji-button", className: "tool-button", icon: V().createElement(Cn, null), placement: "bottom", ref: j, tooltip: Tt, onMouseDown: Ke, onKeyDown: $e }), Nt = R ? V().createElement(ge, { "aria-label": At, "data-testid": "mention-button-touch", className: "tool-button", icon: V().createElement(hn, null), variant: "tool", onMouseDown: Ye, style: { "--spectrum-actionbutton-background-color-hover": "transparent" }, }) : V().createElement(Kn, { "aria-label": At, "data-test": "mention-button", className: "tool-button", icon: V().createElement(hn, null), placement: "bottom", tooltip: At, onMouseDown: Ye, onKeyDown: qe }), Rt = R ? V().createElement(ge, { "aria-label": kt, "data-annotation-button": !0, "data-test": "pin-button-touch", className: "tool-button", icon: V().createElement(En.Z, null), variant: "tool", onMouseDown: u ? void 0 : function (e) { return g(e, "pin"); }, onClick: u ? function (e) { return g(e, "pin"); } : void 0, selected: K, }) : V().createElement(Kn, { "aria-label": kt, "data-annotation-button": !0, "data-test": "pin-button", className: "tool-button", icon: V().createElement(En.Z, null), placement: "bottom", tooltip: kt, onKeyDown: Xe, onMouseDown: function (e) { return g(e, "pin"); }, selected: K, }), Lt = R ? V().createElement(ge, { "aria-label": _t, "data-annotation-button": !0, disabled: Et, "data-testid": "mobile-submit-button", className: "tool-button", icon: V().createElement(xt, { className: Et ? "" : "mobile-submit-enabled" }), id: "mobile-submit-button", variant: "tool", onMouseDown: l, }) : V().createElement(Kn, { "aria-label": _t, "data-annotation-button": !0, "data-testid": "mobile-submit-button", disabled: Et, className: "tool-button", icon: V().createElement(xt, { className: Et ? "" : "mobile-submit-enabled" }), id: "mobile-submit-button", placement: "bottom", tooltip: _t, onClick: l, }), Mt = V().createElement( "div", { className: "action-bar-container", ref: U }, u && y && Nt, J && !ue && !de && V().createElement(Mr, null), V().createElement("div", { className: "action-bar".concat(_e ? " remaining-characters-visible" : "") }, V().createElement("div", { className: "action-container" }, !u && Q && Ft, !u && y && Nt, q && !$ && !J && Rt, J && Lt)) ); return V().createElement( "div", { className: ut, ref: M, onAnimationStart: je, onAnimationEnd: Be }, y && V().createElement(Jn, { ref: Z, cursorIndex: be, defaultMentions: d, keyPress: Se, onAcceptedSuggestionsChange: it, onChange: Qe, onHide: ot, onShow: rt, onTextValueChange: at, preventShow: J && !se, textValue: Te }), !u && Q && V().createElement(z.Suspense, { fallback: null }, V().createElement(Vr, { ref: P, cursorIndex: be, keyPress: Ie, textValue: Te, onTextValueChange: at, onEmojiSelect: Je })), V().createElement( "div", { className: X()("textbox", { focus: Ce, "has-text": dt, "disable-animation": pt, expand: ft, collapse: !ft && Ee && o, collapsed: Ne }), onClick: ze }, V().createElement( "div", { className: X()("textarea-wrapper", { collapsed: f && J, shrunk: !f && J && !ne, expanded: !f && J && ne }) }, V().createElement(Sr, { ariaAttributes: wt, onBlur: Ze, onChange: Ue, onClick: function () { return Oe({ type: "updateCursorPosition", data: H.current.getCursorPosition() }); }, onFocus: He, onKeyDown: Ge, onKeyUp: We, onStructuredTextHover: tt, placeholder: L({ id: _ || "comments.submit.placeholder" }), ref: H, richTextEntry: I, structuredText: St, }), J && !f && Ot ), gt && !R && V().createElement(Ln, { style: Dt, arrowStyle: Ct, trapFocus: !1, placement: "bottom" }, V().createElement(Un, { user: gt, onRender: nt })), (!J || !f) && Mt ), _e ? V().createElement("div", { id: "ccx-comment-textarea-message", className: "remaining-characters" }, V().createElement(ee.Z, { id: "comments.textarea_input.remaining", values: { num: Ae.toString() } })) : null, F && V().createElement( z.Suspense, { fallback: null }, V().createElement(Hr, { intl: h, onEmojiSelect: et, onEmojiPickerClose: Pe, openerRef: j, ref: B, theme: N, width: null === (n = M.current) || void 0 === n ? void 0 : n.offsetWidth }) ) ); }); (Wr.displayName = "CommentInput"), (Wr.defaultProps = { commentSubmit: function () {}, enableEmojiPicker: !0, hideTools: !1, initialValue: "", isDraft: !1, posting: !1, setEmojiPickerInfo: function () {}, shouldFocusIfValueExists: !0 }), (Wr.propTypes = { allowCollapseOverride: G().bool, animationEnabled: G().bool, annotationsEnabledOverride: G().bool, annotationLocationCoordinates: G().object, annotationTypes: G().shape({ draw: G().bool, pin: G().bool, text: G().bool }), className: G().string, commentSubmit: G().func, compactLayout: G().bool, defaultMentions: G().array, enableEmojiPicker: G().bool, hideHeader: G().bool, hideTools: G().bool, initialValue: G().string, intl: G().object, isAnnotating: G().bool, isDraft: G().bool, mentionsEnabled: G().bool, onAnnotationClick: G().func, onBlur: G().func, onClick: G().func, onEmojiIconClick: G().func, onFocus: G().func, onKeyUp: G().func, onHeightChange: G().func, onMentionClick: G().func, onTextPresent: G().func, placeholder: G().string, posting: G().bool, richTextEntry: G().bool, shouldFocusIfValueExists: G().bool, setEmojiPickerInfo: G().func, isEmojiPickerVisible: G().bool, theme: G().string, touchControls: G().bool, }); const Qr = (0, gt.ZP)(Wr, { forwardRef: !0 }); var Jr = V().memo(function (e) { var t = e.handlePinClick, n = e.isAnnotating, r = e.isPinnable, o = e.isVisible, a = e.intl, i = e.touchControls, s = { "data-annotation-button": !0, "data-test": "pin-button", className: "tool-button", variant: "tool", icon: V().createElement(En.Z, null), onMouseDown: t, selected: n }, c = ge; return i || ((c = Kn), (s.tooltip = a.formatMessage({ id: "comments.textarea_input.pin.tooltip" }))), V().createElement("div", { className: "footer-actions ".concat(i ? "touch-controls" : "") }, o && r && V().createElement(c, s)); }); (Jr.displayName = "ItemFooterActions"), (Jr.defaultProps = { isPinnable: !1, isAnnotating: !1, isVisible: !0, touchControls: !1 }), (Jr.propTypes = { handlePinClick: G().func.isRequired, isAnnotating: G().bool, intl: G().shape({ formatMessage: G().func.isRequired }).isRequired, isPinnable: G().bool, isVisible: G().bool, touchControls: G().bool }); const Yr = Jr; var qr = n(64921), Xr = n(93056), Kr = n(77271), $r = n(10326), eo = function (e) { var t = e.annotationTypes, n = e.pinNum, r = e.annotationType, o = e.strokeColor; if (!e.visible) return null; var a = null, i = { backgroundColor: o }; if ((!t || (t && t.pin)) && n) { var s = n; t ? ((s = V().createElement(En.Z, { style: { "--spectrum-icon-size": "12px" }, size: "XS" })), i.backgroundColor || (i = { backgroundColor: "#B80000" })) : (i = {}), (a = V().createElement("span", { className: "annotation-marker", "data-test": "pin-badge", style: i }, s)); } else t && t.draw && "shape" === r ? (a = V().createElement("span", { className: "annotation-marker", style: i }, V().createElement(Fr, { style: { "--spectrum-icon-size": "12px" }, "data-test": "draw-badge", size: "XS" }))) : t && t.highlight && "highlight" === r ? (a = V().createElement("span", { className: "annotation-marker", style: i }, V().createElement(Xr.Z, { "data-test": "highlight-badge" }))) : t && t.strikethrough && "strikethrough" === r ? (a = V().createElement("span", { className: "annotation-marker", style: i }, V().createElement(qr.Z, { style: { "--spectrum-icon-size": "12px" }, "data-test": "strikethrough-badge", size: "XS" }))) : t && t.insert && "insert" === r ? (a = V().createElement("span", { className: "annotation-marker", style: i }, V().createElement(Kr.Z, { "data-test": "insert-badge" }))) : t && t.replace && "replace" === r && (a = V().createElement("span", { className: "annotation-marker", style: i }, V().createElement($r.Z, { "data-test": "replace-badge" }))); return a; }; (eo.defaultProps = { pinNum: void 0, annotationType: void 0, strokeColor: "", visible: !1 }), (eo.propTypes = { pinNum: G().number, annotationType: G().string, strokeColor: G().string, visible: G().bool }); const to = eo; var no = function (e) { var t = e.isOffline; return V().createElement("span", { "data-testid": "unread-circle", className: X()(u.default.component, { "is-offline": t }) }); }; (no.defaultProps = { isOffline: !1 }), (no.propTypes = { isOffline: G().bool }); const ro = no; function oo(e) { return ( (oo = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (e) { return typeof e; } : function (e) { return e && "function" == typeof Symbol && e.constructor === Symbol && e !== Symbol.prototype ? "symbol" : typeof e; }), oo(e) ); } var ao = ["isSubmittingReply"]; function io(e, t) { (null == t || t > e.length) && (t = e.length); for (var n = 0, r = new Array(t); n < t; n++) r[n] = e[n]; return r; } function so() { return ( (so = Object.assign ? Object.assign.bind() : function (e) { for (var t = 1; t < arguments.length; t++) { var n = arguments[t]; for (var r in n) Object.prototype.hasOwnProperty.call(n, r) && (e[r] = n[r]); } return e; }), so.apply(this, arguments) ); } function co(e, t) { for (var n = 0; n < t.length; n++) { var r = t[n]; (r.enumerable = r.enumerable || !1), (r.configurable = !0), "value" in r && (r.writable = !0), Object.defineProperty(e, r.key, r); } } function lo(e, t) { return ( (lo = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function (e, t) { return (e.__proto__ = t), e; }), lo(e, t) ); } function uo(e) { if (void 0 === e) throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); return e; } function po(e) { return ( (po = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function (e) { return e.__proto__ || Object.getPrototypeOf(e); }), po(e) ); } function fo(e, t, n) { return t in e ? Object.defineProperty(e, t, { value: n, enumerable: !0, configurable: !0, writable: !0 }) : (e[t] = n), e; } var mo = 150, ho = { weekday: "long", year: "numeric", month: "long", day: "numeric" }, vo = (function (e) { !(function (e, t) { if ("function" != typeof t && null !== t) throw new TypeError("Super expression must either be null or a function"); (e.prototype = Object.create(t && t.prototype, { constructor: { value: e, writable: !0, configurable: !0 } })), Object.defineProperty(e, "prototype", { writable: !1 }), t && lo(e, t); })(i, e); var t, n, r, o, a = ((r = i), (o = (function () { if ("undefined" == typeof Reflect || !Reflect.construct) return !1; if (Reflect.construct.sham) return !1; if ("function" == typeof Proxy) return !0; try { return Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})), !0; } catch (e) { return !1; } })()), function () { var e, t = po(r); if (o) { var n = po(this).constructor; e = Reflect.construct(t, arguments, n); } else e = t.apply(this, arguments); return (function (e, t) { if (t && ("object" === oo(t) || "function" == typeof t)) return t; if (void 0 !== t) throw new TypeError("Derived constructors may only return object or undefined"); return uo(e); })(this, e); }); function i(e) { var t; !(function (e, t) { if (!(e instanceof t)) throw new TypeError("Cannot call a class as a function"); })(this, i), (t = a.call(this, e)); var n = Q()(e, "commentData.dirtyEdit"), r = Q()(e, "commentData.bodyValue"); t.justNowTimer; var o = r.match( /[#*0-9]\uFE0F?\u20E3|[\xA9\xAE\u203C\u2049\u2122\u2139\u2194-\u2199\u21A9\u21AA\u231A\u231B\u2328\u23CF\u23ED-\u23EF\u23F1\u23F2\u23F8-\u23FA\u24C2\u25AA\u25AB\u25B6\u25C0\u25FB\u25FC\u25FE\u2600-\u2604\u260E\u2611\u2614\u2615\u2618\u2620\u2622\u2623\u2626\u262A\u262E\u262F\u2638-\u263A\u2640\u2642\u2648-\u2653\u265F\u2660\u2663\u2665\u2666\u2668\u267B\u267E\u267F\u2692\u2694-\u2697\u2699\u269B\u269C\u26A0\u26A7\u26AA\u26B0\u26B1\u26BD\u26BE\u26C4\u26C8\u26CF\u26D1\u26E9\u26F0-\u26F5\u26F7\u26F8\u26FA\u2702\u2708\u2709\u270F\u2712\u2714\u2716\u271D\u2721\u2733\u2734\u2744\u2747\u2757\u2763\u27A1\u2934\u2935\u2B05-\u2B07\u2B1B\u2B1C\u2B55\u3030\u303D\u3297\u3299]\uFE0F?|[\u261D\u270C\u270D](?:\uFE0F|\uD83C[\uDFFB-\uDFFF])?|[\u270A\u270B](?:\uD83C[\uDFFB-\uDFFF])?|[\u23E9-\u23EC\u23F0\u23F3\u25FD\u2693\u26A1\u26AB\u26C5\u26CE\u26D4\u26EA\u26FD\u2705\u2728\u274C\u274E\u2753-\u2755\u2795-\u2797\u27B0\u27BF\u2B50]|\u26D3\uFE0F?(?:\u200D\uD83D\uDCA5)?|\u26F9(?:\uFE0F|\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|\u2764\uFE0F?(?:\u200D(?:\uD83D\uDD25|\uD83E\uDE79))?|\uD83C(?:[\uDC04\uDD70\uDD71\uDD7E\uDD7F\uDE02\uDE37\uDF21\uDF24-\uDF2C\uDF36\uDF7D\uDF96\uDF97\uDF99-\uDF9B\uDF9E\uDF9F\uDFCD\uDFCE\uDFD4-\uDFDF\uDFF5\uDFF7]\uFE0F?|[\uDF85\uDFC2\uDFC7](?:\uD83C[\uDFFB-\uDFFF])?|[\uDFC4\uDFCA](?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDFCB\uDFCC](?:\uFE0F|\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDCCF\uDD8E\uDD91-\uDD9A\uDE01\uDE1A\uDE2F\uDE32-\uDE36\uDE38-\uDE3A\uDE50\uDE51\uDF00-\uDF20\uDF2D-\uDF35\uDF37-\uDF43\uDF45-\uDF4A\uDF4C-\uDF7C\uDF7E-\uDF84\uDF86-\uDF93\uDFA0-\uDFC1\uDFC5\uDFC6\uDFC8\uDFC9\uDFCF-\uDFD3\uDFE0-\uDFF0\uDFF8-\uDFFF]|\uDDE6\uD83C[\uDDE8-\uDDEC\uDDEE\uDDF1\uDDF2\uDDF4\uDDF6-\uDDFA\uDDFC\uDDFD\uDDFF]|\uDDE7\uD83C[\uDDE6\uDDE7\uDDE9-\uDDEF\uDDF1-\uDDF4\uDDF6-\uDDF9\uDDFB\uDDFC\uDDFE\uDDFF]|\uDDE8\uD83C[\uDDE6\uDDE8\uDDE9\uDDEB-\uDDEE\uDDF0-\uDDF5\uDDF7\uDDFA-\uDDFF]|\uDDE9\uD83C[\uDDEA\uDDEC\uDDEF\uDDF0\uDDF2\uDDF4\uDDFF]|\uDDEA\uD83C[\uDDE6\uDDE8\uDDEA\uDDEC\uDDED\uDDF7-\uDDFA]|\uDDEB\uD83C[\uDDEE-\uDDF0\uDDF2\uDDF4\uDDF7]|\uDDEC\uD83C[\uDDE6\uDDE7\uDDE9-\uDDEE\uDDF1-\uDDF3\uDDF5-\uDDFA\uDDFC\uDDFE]|\uDDED\uD83C[\uDDF0\uDDF2\uDDF3\uDDF7\uDDF9\uDDFA]|\uDDEE\uD83C[\uDDE8-\uDDEA\uDDF1-\uDDF4\uDDF6-\uDDF9]|\uDDEF\uD83C[\uDDEA\uDDF2\uDDF4\uDDF5]|\uDDF0\uD83C[\uDDEA\uDDEC-\uDDEE\uDDF2\uDDF3\uDDF5\uDDF7\uDDFC\uDDFE\uDDFF]|\uDDF1\uD83C[\uDDE6-\uDDE8\uDDEE\uDDF0\uDDF7-\uDDFB\uDDFE]|\uDDF2\uD83C[\uDDE6\uDDE8-\uDDED\uDDF0-\uDDFF]|\uDDF3\uD83C[\uDDE6\uDDE8\uDDEA-\uDDEC\uDDEE\uDDF1\uDDF4\uDDF5\uDDF7\uDDFA\uDDFF]|\uDDF4\uD83C\uDDF2|\uDDF5\uD83C[\uDDE6\uDDEA-\uDDED\uDDF0-\uDDF3\uDDF7-\uDDF9\uDDFC\uDDFE]|\uDDF6\uD83C\uDDE6|\uDDF7\uD83C[\uDDEA\uDDF4\uDDF8\uDDFA\uDDFC]|\uDDF8\uD83C[\uDDE6-\uDDEA\uDDEC-\uDDF4\uDDF7-\uDDF9\uDDFB\uDDFD-\uDDFF]|\uDDF9\uD83C[\uDDE6\uDDE8\uDDE9\uDDEB-\uDDED\uDDEF-\uDDF4\uDDF7\uDDF9\uDDFB\uDDFC\uDDFF]|\uDDFA\uD83C[\uDDE6\uDDEC\uDDF2\uDDF3\uDDF8\uDDFE\uDDFF]|\uDDFB\uD83C[\uDDE6\uDDE8\uDDEA\uDDEC\uDDEE\uDDF3\uDDFA]|\uDDFC\uD83C[\uDDEB\uDDF8]|\uDDFD\uD83C\uDDF0|\uDDFE\uD83C[\uDDEA\uDDF9]|\uDDFF\uD83C[\uDDE6\uDDF2\uDDFC]|\uDF44(?:\u200D\uD83D\uDFEB)?|\uDF4B(?:\u200D\uD83D\uDFE9)?|\uDFC3(?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D(?:[\u2640\u2642]\uFE0F?(?:\u200D\u27A1\uFE0F?)?|\u27A1\uFE0F?))?|\uDFF3\uFE0F?(?:\u200D(?:\u26A7\uFE0F?|\uD83C\uDF08))?|\uDFF4(?:\u200D\u2620\uFE0F?|\uDB40\uDC67\uDB40\uDC62\uDB40(?:\uDC65\uDB40\uDC6E\uDB40\uDC67|\uDC73\uDB40\uDC63\uDB40\uDC74|\uDC77\uDB40\uDC6C\uDB40\uDC73)\uDB40\uDC7F)?)|\uD83D(?:[\uDC3F\uDCFD\uDD49\uDD4A\uDD6F\uDD70\uDD73\uDD76-\uDD79\uDD87\uDD8A-\uDD8D\uDDA5\uDDA8\uDDB1\uDDB2\uDDBC\uDDC2-\uDDC4\uDDD1-\uDDD3\uDDDC-\uDDDE\uDDE1\uDDE3\uDDE8\uDDEF\uDDF3\uDDFA\uDECB\uDECD-\uDECF\uDEE0-\uDEE5\uDEE9\uDEF0\uDEF3]\uFE0F?|[\uDC42\uDC43\uDC46-\uDC50\uDC66\uDC67\uDC6B-\uDC6D\uDC72\uDC74-\uDC76\uDC78\uDC7C\uDC83\uDC85\uDC8F\uDC91\uDCAA\uDD7A\uDD95\uDD96\uDE4C\uDE4F\uDEC0\uDECC](?:\uD83C[\uDFFB-\uDFFF])?|[\uDC6E\uDC70\uDC71\uDC73\uDC77\uDC81\uDC82\uDC86\uDC87\uDE45-\uDE47\uDE4B\uDE4D\uDE4E\uDEA3\uDEB4\uDEB5](?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDD74\uDD90](?:\uFE0F|\uD83C[\uDFFB-\uDFFF])?|[\uDC00-\uDC07\uDC09-\uDC14\uDC16-\uDC25\uDC27-\uDC3A\uDC3C-\uDC3E\uDC40\uDC44\uDC45\uDC51-\uDC65\uDC6A\uDC79-\uDC7B\uDC7D-\uDC80\uDC84\uDC88-\uDC8E\uDC90\uDC92-\uDCA9\uDCAB-\uDCFC\uDCFF-\uDD3D\uDD4B-\uDD4E\uDD50-\uDD67\uDDA4\uDDFB-\uDE2D\uDE2F-\uDE34\uDE37-\uDE41\uDE43\uDE44\uDE48-\uDE4A\uDE80-\uDEA2\uDEA4-\uDEB3\uDEB7-\uDEBF\uDEC1-\uDEC5\uDED0-\uDED2\uDED5-\uDED7\uDEDC-\uDEDF\uDEEB\uDEEC\uDEF4-\uDEFC\uDFE0-\uDFEB\uDFF0]|\uDC08(?:\u200D\u2B1B)?|\uDC15(?:\u200D\uD83E\uDDBA)?|\uDC26(?:\u200D(?:\u2B1B|\uD83D\uDD25))?|\uDC3B(?:\u200D\u2744\uFE0F?)?|\uDC41\uFE0F?(?:\u200D\uD83D\uDDE8\uFE0F?)?|\uDC68(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDC68\uDC69]\u200D\uD83D(?:\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?)|[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?)|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]))|\uD83C(?:\uDFFB(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D\uDC68\uD83C[\uDFFC-\uDFFF])))?|\uDFFC(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D\uDC68\uD83C[\uDFFB\uDFFD-\uDFFF])))?|\uDFFD(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D\uDC68\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])))?|\uDFFE(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D\uDC68\uD83C[\uDFFB-\uDFFD\uDFFF])))?|\uDFFF(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D\uDC68\uD83C[\uDFFB-\uDFFE])))?))?|\uDC69(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?[\uDC68\uDC69]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?|\uDC69\u200D\uD83D(?:\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?))|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]))|\uD83C(?:\uDFFB(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFC-\uDFFF])))?|\uDFFC(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB\uDFFD-\uDFFF])))?|\uDFFD(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])))?|\uDFFE(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB-\uDFFD\uDFFF])))?|\uDFFF(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB-\uDFFE])))?))?|\uDC6F(?:\u200D[\u2640\u2642]\uFE0F?)?|\uDD75(?:\uFE0F|\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|\uDE2E(?:\u200D\uD83D\uDCA8)?|\uDE35(?:\u200D\uD83D\uDCAB)?|\uDE36(?:\u200D\uD83C\uDF2B\uFE0F?)?|\uDE42(?:\u200D[\u2194\u2195]\uFE0F?)?|\uDEB6(?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D(?:[\u2640\u2642]\uFE0F?(?:\u200D\u27A1\uFE0F?)?|\u27A1\uFE0F?))?)|\uD83E(?:[\uDD0C\uDD0F\uDD18-\uDD1F\uDD30-\uDD34\uDD36\uDD77\uDDB5\uDDB6\uDDBB\uDDD2\uDDD3\uDDD5\uDEC3-\uDEC5\uDEF0\uDEF2-\uDEF8](?:\uD83C[\uDFFB-\uDFFF])?|[\uDD26\uDD35\uDD37-\uDD39\uDD3D\uDD3E\uDDB8\uDDB9\uDDCD\uDDCF\uDDD4\uDDD6-\uDDDD](?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDDDE\uDDDF](?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDD0D\uDD0E\uDD10-\uDD17\uDD20-\uDD25\uDD27-\uDD2F\uDD3A\uDD3F-\uDD45\uDD47-\uDD76\uDD78-\uDDB4\uDDB7\uDDBA\uDDBC-\uDDCC\uDDD0\uDDE0-\uDDFF\uDE70-\uDE7C\uDE80-\uDE88\uDE90-\uDEBD\uDEBF-\uDEC2\uDECE-\uDEDB\uDEE0-\uDEE8]|\uDD3C(?:\u200D[\u2640\u2642]\uFE0F?|\uD83C[\uDFFB-\uDFFF])?|\uDDCE(?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D(?:[\u2640\u2642]\uFE0F?(?:\u200D\u27A1\uFE0F?)?|\u27A1\uFE0F?))?|\uDDD1(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83E\uDDD1|\uDDD1\u200D\uD83E\uDDD2(?:\u200D\uD83E\uDDD2)?|\uDDD2(?:\u200D\uD83E\uDDD2)?))|\uD83C(?:\uDFFB(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFC-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF])))?|\uDFFC(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB\uDFFD-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF])))?|\uDFFD(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF])))?|\uDFFE(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB-\uDFFD\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF])))?|\uDFFF(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB-\uDFFE]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF])))?))?|\uDEF1(?:\uD83C(?:\uDFFB(?:\u200D\uD83E\uDEF2\uD83C[\uDFFC-\uDFFF])?|\uDFFC(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB\uDFFD-\uDFFF])?|\uDFFD(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])?|\uDFFE(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB-\uDFFD\uDFFF])?|\uDFFF(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB-\uDFFE])?))?)/g ); return ( (t.state = { bigText: (null == o ? void 0 : o.length) <= 3 && (null == o ? void 0 : o.join("")) === r, dirtyReply: "", isEditing: !!n && n !== r, isSaving: !1, overEditTextLimit: !1, overReplyTextLimit: !1, replyTextPresent: !1, editTextPresent: !!r, updatedJustNow: !1, }), (t.isInputFocused = t.isInputFocused.bind(uo(t))), (t.handleDeleteButtonClick = t.handleDeleteButtonClick.bind(uo(t))), (t.handleEditBtnClick = t.handleEditBtnClick.bind(uo(t))), (t.handleReplyButtonClick = t.handleReplyButtonClick.bind(uo(t))), (t.handleReplyBtnOnMouseDown = t.handleReplyBtnOnMouseDown.bind(uo(t))), (t.handleResolveButtonClick = t.handleResolveButtonClick.bind(uo(t))), (t.handleMarkUnreadBtnClick = t.handleMarkUnreadBtnClick.bind(uo(t))), (t.handleMarkReadBtnClick = t.handleMarkReadBtnClick.bind(uo(t))), (t.handleUnresolveButtonClick = t.handleUnresolveButtonClick.bind(uo(t))), (t.handleCommentItemRef = t.handleCommentItemRef.bind(uo(t))), (t.handleReplyTextareaRef = t.handleReplyTextareaRef.bind(uo(t))), (t.handleReplyOnKeyUp = t.handleReplyOnKeyUp.bind(uo(t))), (t.handleReplyOnClick = t.handleReplyOnClick.bind(uo(t))), (t.handleReplyOnBlur = t.handleReplyOnBlur.bind(uo(t))), (t.handleDropdownMouseDown = t.handleDropdownMouseDown.bind(uo(t))), (t.handleCancelEditBtnClick = t.handleCancelEditBtnClick.bind(uo(t))), (t.handleCancelReply = t.handleCancelReply.bind(uo(t))), (t.handleSaveEditChangesBtnClick = t.handleSaveEditChangesBtnClick.bind(uo(t))), (t.handleEditOnKeyUp = t.handleEditOnKeyUp.bind(uo(t))), (t.handleEditTextareaRef = t.handleEditTextareaRef.bind(uo(t))), (t.handleEditOnClick = t.handleEditOnClick.bind(uo(t))), (t.handleEditTextPresent = t.handleEditTextPresent.bind(uo(t))), (t.handleReplyTextPresent = t.handleReplyTextPresent.bind(uo(t))), (t.handlePinClick = t.handlePinClick.bind(uo(t))), (t.handleSubmitReply = t.handleSubmitReply.bind(uo(t))), (t.handleFocus = t.handleFocus.bind(uo(t))), (t.handleReplyFocus = t.handleReplyFocus.bind(uo(t))), (t.handleEditMentionClick = t.handleEditMentionClick.bind(uo(t))), (t.handleReplyMentionClick = t.handleReplyMentionClick.bind(uo(t))), (t.handleReplyEmojiClick = t.handleReplyEmojiClick.bind(uo(t))), (t.handleEditEmojiClick = t.handleEditEmojiClick.bind(uo(t))), (t.handleLinkClick = t.handleLinkClick.bind(uo(t))), (t.handleReplyClick = t.handleReplyClick.bind(uo(t))), (t.handleReplySelect = t.handleReplySelect.bind(uo(t))), t ); } return ( (t = i), (n = [ { key: "componentDidMount", value: function () { this.props.isSelectedReply && this.handleReplySelect(); }, }, { key: "componentWillUnmount", value: function () { var e = this.props, t = e.highlight, n = e.parentCommentId, r = e.setHoveredAnnotation, o = e.touchControls; clearTimeout(this.justNowTimer), t && r && !n && !o && r(void 0); }, }, { key: "componentDidUpdate", value: function (e, t) { var n = this, r = this.props, o = r.assetData, a = r.closeButtonClicked, i = r.commentData, s = r.compactLayout, c = r.errors, l = r.isSelectedReply, u = r.isSubmittingReply, d = r.latestMobileEnabled, p = r.setShowCommentId, f = r.showCommentId, m = r.touchControls, h = this.state.isEditing, v = i.id, y = i.bodyValue, g = i.repliesOpen, b = i.replies, E = !!Q()(e, "commentData.repliesOpen"), D = e.assetData.nodeId !== o.nodeId, C = b && 0 === b.length; if (i.bodyValue !== e.commentData.bodyValue) { var w = y.match( /[#*0-9]\uFE0F?\u20E3|[\xA9\xAE\u203C\u2049\u2122\u2139\u2194-\u2199\u21A9\u21AA\u231A\u231B\u2328\u23CF\u23ED-\u23EF\u23F1\u23F2\u23F8-\u23FA\u24C2\u25AA\u25AB\u25B6\u25C0\u25FB\u25FC\u25FE\u2600-\u2604\u260E\u2611\u2614\u2615\u2618\u2620\u2622\u2623\u2626\u262A\u262E\u262F\u2638-\u263A\u2640\u2642\u2648-\u2653\u265F\u2660\u2663\u2665\u2666\u2668\u267B\u267E\u267F\u2692\u2694-\u2697\u2699\u269B\u269C\u26A0\u26A7\u26AA\u26B0\u26B1\u26BD\u26BE\u26C4\u26C8\u26CF\u26D1\u26E9\u26F0-\u26F5\u26F7\u26F8\u26FA\u2702\u2708\u2709\u270F\u2712\u2714\u2716\u271D\u2721\u2733\u2734\u2744\u2747\u2757\u2763\u27A1\u2934\u2935\u2B05-\u2B07\u2B1B\u2B1C\u2B55\u3030\u303D\u3297\u3299]\uFE0F?|[\u261D\u270C\u270D](?:\uFE0F|\uD83C[\uDFFB-\uDFFF])?|[\u270A\u270B](?:\uD83C[\uDFFB-\uDFFF])?|[\u23E9-\u23EC\u23F0\u23F3\u25FD\u2693\u26A1\u26AB\u26C5\u26CE\u26D4\u26EA\u26FD\u2705\u2728\u274C\u274E\u2753-\u2755\u2795-\u2797\u27B0\u27BF\u2B50]|\u26D3\uFE0F?(?:\u200D\uD83D\uDCA5)?|\u26F9(?:\uFE0F|\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|\u2764\uFE0F?(?:\u200D(?:\uD83D\uDD25|\uD83E\uDE79))?|\uD83C(?:[\uDC04\uDD70\uDD71\uDD7E\uDD7F\uDE02\uDE37\uDF21\uDF24-\uDF2C\uDF36\uDF7D\uDF96\uDF97\uDF99-\uDF9B\uDF9E\uDF9F\uDFCD\uDFCE\uDFD4-\uDFDF\uDFF5\uDFF7]\uFE0F?|[\uDF85\uDFC2\uDFC7](?:\uD83C[\uDFFB-\uDFFF])?|[\uDFC4\uDFCA](?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDFCB\uDFCC](?:\uFE0F|\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDCCF\uDD8E\uDD91-\uDD9A\uDE01\uDE1A\uDE2F\uDE32-\uDE36\uDE38-\uDE3A\uDE50\uDE51\uDF00-\uDF20\uDF2D-\uDF35\uDF37-\uDF43\uDF45-\uDF4A\uDF4C-\uDF7C\uDF7E-\uDF84\uDF86-\uDF93\uDFA0-\uDFC1\uDFC5\uDFC6\uDFC8\uDFC9\uDFCF-\uDFD3\uDFE0-\uDFF0\uDFF8-\uDFFF]|\uDDE6\uD83C[\uDDE8-\uDDEC\uDDEE\uDDF1\uDDF2\uDDF4\uDDF6-\uDDFA\uDDFC\uDDFD\uDDFF]|\uDDE7\uD83C[\uDDE6\uDDE7\uDDE9-\uDDEF\uDDF1-\uDDF4\uDDF6-\uDDF9\uDDFB\uDDFC\uDDFE\uDDFF]|\uDDE8\uD83C[\uDDE6\uDDE8\uDDE9\uDDEB-\uDDEE\uDDF0-\uDDF5\uDDF7\uDDFA-\uDDFF]|\uDDE9\uD83C[\uDDEA\uDDEC\uDDEF\uDDF0\uDDF2\uDDF4\uDDFF]|\uDDEA\uD83C[\uDDE6\uDDE8\uDDEA\uDDEC\uDDED\uDDF7-\uDDFA]|\uDDEB\uD83C[\uDDEE-\uDDF0\uDDF2\uDDF4\uDDF7]|\uDDEC\uD83C[\uDDE6\uDDE7\uDDE9-\uDDEE\uDDF1-\uDDF3\uDDF5-\uDDFA\uDDFC\uDDFE]|\uDDED\uD83C[\uDDF0\uDDF2\uDDF3\uDDF7\uDDF9\uDDFA]|\uDDEE\uD83C[\uDDE8-\uDDEA\uDDF1-\uDDF4\uDDF6-\uDDF9]|\uDDEF\uD83C[\uDDEA\uDDF2\uDDF4\uDDF5]|\uDDF0\uD83C[\uDDEA\uDDEC-\uDDEE\uDDF2\uDDF3\uDDF5\uDDF7\uDDFC\uDDFE\uDDFF]|\uDDF1\uD83C[\uDDE6-\uDDE8\uDDEE\uDDF0\uDDF7-\uDDFB\uDDFE]|\uDDF2\uD83C[\uDDE6\uDDE8-\uDDED\uDDF0-\uDDFF]|\uDDF3\uD83C[\uDDE6\uDDE8\uDDEA-\uDDEC\uDDEE\uDDF1\uDDF4\uDDF5\uDDF7\uDDFA\uDDFF]|\uDDF4\uD83C\uDDF2|\uDDF5\uD83C[\uDDE6\uDDEA-\uDDED\uDDF0-\uDDF3\uDDF7-\uDDF9\uDDFC\uDDFE]|\uDDF6\uD83C\uDDE6|\uDDF7\uD83C[\uDDEA\uDDF4\uDDF8\uDDFA\uDDFC]|\uDDF8\uD83C[\uDDE6-\uDDEA\uDDEC-\uDDF4\uDDF7-\uDDF9\uDDFB\uDDFD-\uDDFF]|\uDDF9\uD83C[\uDDE6\uDDE8\uDDE9\uDDEB-\uDDED\uDDEF-\uDDF4\uDDF7\uDDF9\uDDFB\uDDFC\uDDFF]|\uDDFA\uD83C[\uDDE6\uDDEC\uDDF2\uDDF3\uDDF8\uDDFE\uDDFF]|\uDDFB\uD83C[\uDDE6\uDDE8\uDDEA\uDDEC\uDDEE\uDDF3\uDDFA]|\uDDFC\uD83C[\uDDEB\uDDF8]|\uDDFD\uD83C\uDDF0|\uDDFE\uD83C[\uDDEA\uDDF9]|\uDDFF\uD83C[\uDDE6\uDDF2\uDDFC]|\uDF44(?:\u200D\uD83D\uDFEB)?|\uDF4B(?:\u200D\uD83D\uDFE9)?|\uDFC3(?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D(?:[\u2640\u2642]\uFE0F?(?:\u200D\u27A1\uFE0F?)?|\u27A1\uFE0F?))?|\uDFF3\uFE0F?(?:\u200D(?:\u26A7\uFE0F?|\uD83C\uDF08))?|\uDFF4(?:\u200D\u2620\uFE0F?|\uDB40\uDC67\uDB40\uDC62\uDB40(?:\uDC65\uDB40\uDC6E\uDB40\uDC67|\uDC73\uDB40\uDC63\uDB40\uDC74|\uDC77\uDB40\uDC6C\uDB40\uDC73)\uDB40\uDC7F)?)|\uD83D(?:[\uDC3F\uDCFD\uDD49\uDD4A\uDD6F\uDD70\uDD73\uDD76-\uDD79\uDD87\uDD8A-\uDD8D\uDDA5\uDDA8\uDDB1\uDDB2\uDDBC\uDDC2-\uDDC4\uDDD1-\uDDD3\uDDDC-\uDDDE\uDDE1\uDDE3\uDDE8\uDDEF\uDDF3\uDDFA\uDECB\uDECD-\uDECF\uDEE0-\uDEE5\uDEE9\uDEF0\uDEF3]\uFE0F?|[\uDC42\uDC43\uDC46-\uDC50\uDC66\uDC67\uDC6B-\uDC6D\uDC72\uDC74-\uDC76\uDC78\uDC7C\uDC83\uDC85\uDC8F\uDC91\uDCAA\uDD7A\uDD95\uDD96\uDE4C\uDE4F\uDEC0\uDECC](?:\uD83C[\uDFFB-\uDFFF])?|[\uDC6E\uDC70\uDC71\uDC73\uDC77\uDC81\uDC82\uDC86\uDC87\uDE45-\uDE47\uDE4B\uDE4D\uDE4E\uDEA3\uDEB4\uDEB5](?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDD74\uDD90](?:\uFE0F|\uD83C[\uDFFB-\uDFFF])?|[\uDC00-\uDC07\uDC09-\uDC14\uDC16-\uDC25\uDC27-\uDC3A\uDC3C-\uDC3E\uDC40\uDC44\uDC45\uDC51-\uDC65\uDC6A\uDC79-\uDC7B\uDC7D-\uDC80\uDC84\uDC88-\uDC8E\uDC90\uDC92-\uDCA9\uDCAB-\uDCFC\uDCFF-\uDD3D\uDD4B-\uDD4E\uDD50-\uDD67\uDDA4\uDDFB-\uDE2D\uDE2F-\uDE34\uDE37-\uDE41\uDE43\uDE44\uDE48-\uDE4A\uDE80-\uDEA2\uDEA4-\uDEB3\uDEB7-\uDEBF\uDEC1-\uDEC5\uDED0-\uDED2\uDED5-\uDED7\uDEDC-\uDEDF\uDEEB\uDEEC\uDEF4-\uDEFC\uDFE0-\uDFEB\uDFF0]|\uDC08(?:\u200D\u2B1B)?|\uDC15(?:\u200D\uD83E\uDDBA)?|\uDC26(?:\u200D(?:\u2B1B|\uD83D\uDD25))?|\uDC3B(?:\u200D\u2744\uFE0F?)?|\uDC41\uFE0F?(?:\u200D\uD83D\uDDE8\uFE0F?)?|\uDC68(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDC68\uDC69]\u200D\uD83D(?:\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?)|[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?)|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]))|\uD83C(?:\uDFFB(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D\uDC68\uD83C[\uDFFC-\uDFFF])))?|\uDFFC(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D\uDC68\uD83C[\uDFFB\uDFFD-\uDFFF])))?|\uDFFD(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D\uDC68\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])))?|\uDFFE(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D\uDC68\uD83C[\uDFFB-\uDFFD\uDFFF])))?|\uDFFF(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D\uDC68\uD83C[\uDFFB-\uDFFE])))?))?|\uDC69(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?[\uDC68\uDC69]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?|\uDC69\u200D\uD83D(?:\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?))|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]))|\uD83C(?:\uDFFB(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFC-\uDFFF])))?|\uDFFC(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB\uDFFD-\uDFFF])))?|\uDFFD(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])))?|\uDFFE(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB-\uDFFD\uDFFF])))?|\uDFFF(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB-\uDFFE])))?))?|\uDC6F(?:\u200D[\u2640\u2642]\uFE0F?)?|\uDD75(?:\uFE0F|\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|\uDE2E(?:\u200D\uD83D\uDCA8)?|\uDE35(?:\u200D\uD83D\uDCAB)?|\uDE36(?:\u200D\uD83C\uDF2B\uFE0F?)?|\uDE42(?:\u200D[\u2194\u2195]\uFE0F?)?|\uDEB6(?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D(?:[\u2640\u2642]\uFE0F?(?:\u200D\u27A1\uFE0F?)?|\u27A1\uFE0F?))?)|\uD83E(?:[\uDD0C\uDD0F\uDD18-\uDD1F\uDD30-\uDD34\uDD36\uDD77\uDDB5\uDDB6\uDDBB\uDDD2\uDDD3\uDDD5\uDEC3-\uDEC5\uDEF0\uDEF2-\uDEF8](?:\uD83C[\uDFFB-\uDFFF])?|[\uDD26\uDD35\uDD37-\uDD39\uDD3D\uDD3E\uDDB8\uDDB9\uDDCD\uDDCF\uDDD4\uDDD6-\uDDDD](?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDDDE\uDDDF](?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDD0D\uDD0E\uDD10-\uDD17\uDD20-\uDD25\uDD27-\uDD2F\uDD3A\uDD3F-\uDD45\uDD47-\uDD76\uDD78-\uDDB4\uDDB7\uDDBA\uDDBC-\uDDCC\uDDD0\uDDE0-\uDDFF\uDE70-\uDE7C\uDE80-\uDE88\uDE90-\uDEBD\uDEBF-\uDEC2\uDECE-\uDEDB\uDEE0-\uDEE8]|\uDD3C(?:\u200D[\u2640\u2642]\uFE0F?|\uD83C[\uDFFB-\uDFFF])?|\uDDCE(?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D(?:[\u2640\u2642]\uFE0F?(?:\u200D\u27A1\uFE0F?)?|\u27A1\uFE0F?))?|\uDDD1(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83E\uDDD1|\uDDD1\u200D\uD83E\uDDD2(?:\u200D\uD83E\uDDD2)?|\uDDD2(?:\u200D\uD83E\uDDD2)?))|\uD83C(?:\uDFFB(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFC-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF])))?|\uDFFC(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB\uDFFD-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF])))?|\uDFFD(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF])))?|\uDFFE(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB-\uDFFD\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF])))?|\uDFFF(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB-\uDFFE]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF])))?))?|\uDEF1(?:\uD83C(?:\uDFFB(?:\u200D\uD83E\uDEF2\uD83C[\uDFFC-\uDFFF])?|\uDFFC(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB\uDFFD-\uDFFF])?|\uDFFD(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])?|\uDFFE(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB-\uDFFD\uDFFF])?|\uDFFF(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB-\uDFFE])?))?)/g ); this.setState({ bigText: (null == w ? void 0 : w.length) <= 3 && (null == w ? void 0 : w.join("")) === y }); } h && y !== e.commentData.bodyValue && (this.setState({ isEditing: !1, editTextPresent: !1 }), s && requestAnimationFrame(function () { (0, Ae.Z)(n._element, { block: "center" }); })), e.errors[v] !== An.Al.ERROR && c[v] === An.Al.ERROR && y !== e.commentData.bodyValue && this.setState({ isEditing: !0, editTextPresent: !0 }), !e.isSubmittingReply && u && ((0, wn.F_)(An.uX), this._replyTextareaEl && this._replyTextareaEl.clearTextareaInput(), b.length > e.commentData.replies.length && this.setState({ dirtyReply: "" }), s && !d && requestAnimationFrame(function () { (0, Ae.Z)(n._element, { block: "center" }); })); var S = this._getTextareaReplyInstance(), A = null == S ? void 0 : S.getComponentRef(); !s && !D && !E && C && g && this._replyTextareaEl && A && ((0, Ae.Z)(A.parentElement, { block: m ? "center" : "nearest", duration: mo }), S.setFocus()), s && C && !E && g && this._replyTextareaEl && A && (0, Ae.Z)(A.parentElement, { block: "end", scrollMode: "if-needed", duration: mo }); var k = this._getTextareaEditInstance(), _ = null == k ? void 0 : k.getComponentRef(); !D && e && !t.isEditing && h && this._editTextareaEl && _ && ((0, Ae.Z)(_, { block: m ? "center" : "nearest", duration: mo }), k.setFocus()), !e.showCommentId && f && f === v && requestAnimationFrame(function () { (0, Ae.Z)(n._element, { block: m ? "center" : "nearest", duration: mo }), setTimeout(function () { p(); }, 6e3); }); var T = e.focusedInputInfo; s && a !== e.closeButtonClicked && T && (T.id === v && this.state.isEditing ? this.handleCancelEditBtnClick() : "reply-input" === T.itemType && T.id === v && this.cleanFocusedInputInfo(), T.id === v && requestAnimationFrame(function () { (0, Ae.Z)(n._element, { block: "center" }); })), l && this.handleReplySelect(); }, }, { key: "_getTextareaEditInstance", value: function () { var e, t; return (null === (e = this._editTextareaEl) || void 0 === e || null === (t = e.getWrappedInstance) || void 0 === t ? void 0 : t.call(e)) || this._editTextareaEl; }, }, { key: "_getTextareaReplyInstance", value: function () { var e, t; return (null === (e = this._replyTextareaEl) || void 0 === e || null === (t = e.getWrappedInstance) || void 0 === t ? void 0 : t.call(e)) || this._replyTextareaEl; }, }, { key: "isInputFocused", value: function () { var e = this.props, t = e.commentData, n = e.focusedInputInfo, r = !1; switch (n && n.itemType) { case "edit": case "reply-input": r = n.id === t.id; break; case "reply-item": r = n.parentCommentId === t.id; } return r; }, }, { key: "handleDeleteButtonClick", value: function () { var e = this.props, t = e.assetData, n = e.ccxIngest, r = e.commentData, o = e.confirmDelete, a = e.parentCommentId; n.fireEvent({ event: { context_guid: a, subcategory: a ? "delete-reply" : "delete-comment", subtype: "delete", type: "click" } }), o(t.id, r.id, a); }, }, { key: "handleReplyButtonClick", value: function () { var e, t, n = this.props, r = n.assetData, o = n.ccxIngest, a = n.clearIsReadLocally, i = n.commentData, s = n.dispatchStakeholderOnboardingAction, c = n.enableReadUnread, l = n.isReadLocally, u = n.latestMobileEnabled, d = n.setIsRead, p = n.setParentCommentId, f = n.toggleReplyVisibility; if ( (n.imsData.id === (null === (e = i.creator) || void 0 === e ? void 0 : e.id) && !i.repliesOpen && i.replies.length >= 1 && s.expandedRepliesToOwnComment({ commentId: i.id }), o.fireEvent( { event: { context_guid: i.id, subcategory: "reply-comment", subtype: "reply", type: "click" }, custom: { collab: { reply_type: null != i && i.repliesOpen ? "hide-replies" : "show-replies", total_replies: null == i || null === (t = i.replies) || void 0 === t ? void 0 : t.length } }, }, !0 ), u) ) p(r.id, i.id); else { f(i.id); var m = (null == i ? void 0 : i.replies.length) >= 1, h = !(null == i || !i.repliesOpen); if (c && m && h) { var v = {}; i.replies.forEach(function (e) { l(e) && ((v[e.id] = { read: !0 }), a(e)); }), Object.keys(v).length > 0 && d(v, r.id, { overrideExplicitlySet: !0 }) .then(function () { o.fireEvent({ event: { context_guid: i.id, subcategory: "read-unread", subtype: "mark-as-read-close-reply", type: "click" } }); }) .catch(function (e) { var t = e.status, n = e.message; o.fireEvent({ event: { context_guid: i.id, subcategory: "read-unread", subtype: "error", type: "click", error_code: t, error_type: n, error_desc: "failed-to-mark-as-read-on-close-reply" } }); }); } } }, }, { key: "handleReplyBtnOnMouseDown", value: function (e) { e && e.preventDefault(), (this.isClickingReply = !0); }, }, { key: "handleUnresolveButtonClick", value: function (e) { if ((0, wn.Ho)(e)) { var t = this.props, n = t.assetData, r = t.ccxIngest, o = t.commentData, a = t.latestMobileEnabled, i = t.imsData, s = t.resetGuestUserSession, c = t.setParentCommentId, l = t.unresolveComment, u = this.context.onGuestSession; r.fireEvent({ event: { subcategory: "resolve", subtype: "move-to-unresolved", type: "click" } }), a && c(n.id), l(o) .then(function () { return r.fireEvent({ event: { subcategory: "resolve", subtype: "move-to-unresolved", type: "render" } }); }) .catch(function (e) { var t = e.status, n = e.message; r.fireEvent({ event: { subcategory: "resolve", subtype: "error", type: "render", error_code: t, error_type: n, error_desc: "comment-failed-to-unresolve" } }), i.token.includes("AnonBearer") && 401 === t && (s(), u("destroy", i)); }); } }, }, { key: "handleMarkUnreadBtnClick", value: function (e) { if ((0, wn.Ho)(e)) { var t = this.props, n = t.assetData, r = t.ccxIngest, o = t.commentData, a = t.setIsRead, i = o.id; r.fireEvent({ event: { subcategory: "read-unread", subtype: "mark-as-unread", type: "click" } }), a(fo({}, i, { read: !1 }), n.id, { explicitlySet: !0 }).catch(function (e) { var t = e.status, n = e.message; r.fireEvent({ event: { subcategory: "read-unread", subtype: "error", type: "render", error_code: t, error_type: n, error_desc: "comment-metadata-failed-to-unread" } }); }); } }, }, { key: "handleMarkReadBtnClick", value: function (e) { if ((0, wn.Ho)(e)) { var t = this.props, n = t.assetData, r = t.ccxIngest, o = t.commentData, a = t.setIsRead, i = o.id; r.fireEvent({ event: { subcategory: "read-unread", subtype: "mark-as-read-click-menu", type: "click" } }), a(fo({}, i, { read: !0 }), n.id, { explicitlySet: !0 }).catch(function (e) { var t = e.status, n = e.message; r.fireEvent({ event: { subcategory: "read-unread", subtype: "error", type: "render", error_code: t, error_type: n, error_desc: "comment-metadata-failed-to-read" } }); }); } }, }, { key: "handleResolveButtonClick", value: function (e) { if ((0, wn.Ho)(e)) { var t = this.props, n = t.assetData, r = t.ccxIngest, o = t.commentData, a = t.dispatchCreativeOnboardingAction, i = t.dispatchStakeholderOnboardingAction, s = t.latestMobileEnabled, c = t.imsData, l = t.resetGuestUserSession, u = t.resolveComment, d = t.setParentCommentId, p = t.toggleReplyVisibility, f = o.id, m = o.replies, h = o.repliesOpen, v = this.context.onGuestSession; h && (p(f), m.forEach(function (e) { e.dirtyEdit = null; })), r.fireEvent({ event: { subcategory: "resolve", subtype: "submit", type: "click" } }), s && d(n.id), i.completeCurrentOrResumeCoachMarks({ dismissType: "blur" }), a.completeCurrent({ dismissType: "blur" }), u(o) .then(function () { r.fireEvent({ event: { subcategory: "resolve", subtype: "resolved-flag", type: "render" } }), i.commentResolved(), a.commentResolved(); }) .catch(function (e) { var t = e.status, n = e.message; r.fireEvent({ event: { subcategory: "resolve", subtype: "error", type: "render", error_code: t, error_type: n, error_desc: "comment-failed-to-resolve" } }), c.token.includes("AnonBearer") && 401 === t && (l(), v("destroy", c)); }); } }, }, { key: "handleCommentItemRef", value: function (e) { this._element = e; }, }, { key: "handleDropdownMouseDown", value: function () { var e = this.props.ccxIngest, t = document.activeElement; t.classList.contains("textarea") && t.blur(), e.fireEvent({ event: { subcategory: "navigation", subtype: "click-dropdown-menu", type: "click" } }); }, }, { key: "_getHeader", value: function () { var e, t, n, r = this, o = this.props, a = o.annotationTypes, i = o.assetData, s = o.capabilities, c = o.compactLayout, l = o.commentData, u = o.enableReadUnread, d = o.focusedInputInfo, p = o.imsData, f = o.intl, m = o.isOffline, h = o.isResolved, v = o.isSwcEnabled, y = o.isUnread, g = o.latestMobileEnabled, b = o.parentCommentId, E = o.touchControls, D = this.state.isEditing; if (c && d && d.itemType) return null; i.isEsm || l.creator.id !== i.ownerId ? l.creator.affiliation === An.Kx && (t = "guest") : (t = "owner"), l && l.created && l.modified && (n = l.created !== l.modified); var C = this._getSafeDate(l.modified), w = (function (e, t, n) { void 0 === t && (t = Date.now()), void 0 === n && (n = {}); var r = bt(bt({}, Et), n || {}), o = (+e - +t) / 1e3; if (Math.abs(o) < r.second) return { value: Math.round(o), unit: "second" }; var a = o / 60; if (Math.abs(a) < r.minute) return { value: Math.round(a), unit: "minute" }; var i = o / 3600; if (Math.abs(i) < r.hour) return { value: Math.round(i), unit: "hour" }; var s = o / 86400; if (Math.abs(s) < r.day) return { value: Math.round(s), unit: "day" }; var c = new Date(e), l = new Date(t), u = c.getFullYear() - l.getFullYear(); if (Math.round(Math.abs(u)) > 0) return { value: Math.round(u), unit: "year" }; var d = 12 * u + c.getMonth() - l.getMonth(); if (Math.round(Math.abs(d)) > 0) return { value: Math.round(d), unit: "month" }; var p = o / 604800; return { value: Math.round(p), unit: "week" }; })(C), S = w.value, A = w.unit, k = new Date(C), _ = k.getFullYear(), T = new Date(); T.setHours(0, 0, 0, 0); var I = !1; k.getTime() < T.getTime() && (I = !0); var O, F = !1; if ((_ !== T.getFullYear() && (F = !0), I)) O = F ? V().createElement(yt, { day: "2-digit", month: "short", value: C, year: "numeric" }) : V().createElement(yt, { day: "2-digit", month: "short", value: C }); else { var x = 10; ("day" !== A && "week" !== A && "quarter" !== A && "year" !== A) || (x = 0), "second" === A ? ((O = V().createElement(ee.Z, { id: "comments.item.just_now_timestamp" })), this.justNowTimer || (this.justNowTimer = setTimeout(function () { r.setState({ updatedJustNow: !0 }); }, 6e4))) : (clearTimeout(this.justNowTimer), (O = V().createElement(dt, { value: S, unit: A, updateIntervalInSeconds: x }))); } var N = "guest" === t && !l.creator.name, R = N ? f.formatMessage({ id: "comments.item.guest" }) : l.creator.name; return V().createElement( "div", { className: "header-row" }, V().createElement( "div", { className: "user-wrap" }, V().createElement( "div", { className: "user-name" }, V().createElement( _t, { placement: "top", trigger: E ? "click" : "hover" }, V().createElement( "span", { className: "comment-creator-name", "data-testid": "comment-creator-name" }, R, t && !N && V().createElement("span", { className: "owner-tag", "data-testid": "".concat(t) }, V().createElement(ee.Z, { id: "comments.item.".concat(t) })) ), V().createElement(It, { style: { alignItems: "stretch" } }, R, t && !N && " (".concat(f.formatMessage({ id: "comments.item.".concat(t) }), ")")) ) ), V().createElement("div", { className: "timestamp" }, O, n ? V().createElement(ee.Z, { id: "comments.item.edited_notify" }) : "") ), V().createElement(to, { pinNum: l.pinNum, annotationType: l.annotationType, strokeColor: Q()(l, "target.selector.strokeColor"), visible: !b, annotationTypes: a }), V().createElement(pn, { assetData: i, commentId: l.id, creator: l.creator, enableReadUnread: u, handleDeleteBtnClick: this.handleDeleteButtonClick, handleEditBtnClick: this.handleEditBtnClick, handleUnresolveBtnClick: this.handleUnresolveButtonClick, handleResolveBtnClick: this.handleResolveButtonClick, handleMarkUnreadBtnClick: this.handleMarkUnreadBtnClick, handleMarkReadBtnClick: this.handleMarkReadBtnClick, imsData: p, isEditing: D, isOffline: m, isReply: !!b, isSwcEnabled: v, isUnread: y, isResolved: "resolved" === l.status || h, latestMobileEnabled: g, onMouseDown: this.handleDropdownMouseDown, touchControls: E, viewingReplies: !!l.repliesOpen && (null === (e = l.replies) || void 0 === e ? void 0 : e.length) >= 1, userRole: s.role, }) ); }, }, { key: "_getFooterReplyWrapper", value: function () { var e, t = this.props, n = t.commentData, r = t.isOffline, o = t.isRead, a = t.isSwcEnabled, i = n.replies && n.replies.length >= 1, s = n && !!n.repliesOpen, c = i && n.replies.some(function (e) { return !o(e); }), l = !s && c, u = function () { return null; }, d = { display: "inline-flex", verticalAlign: "middle" }; if ( (a && l && (d.marginLeft = "calc(var(--ccx-comments-unread-reply-thread-margin-left) + 4px)"), i ? ((e = V().createElement(ee.Z, { id: "comments.item.replies", values: { noOfReplies: n.replies.length } })), (u = function (e) { return V().createElement( "span", so({}, e, { style: d, className: X()("", { "row unread-reply-thread": l }) }), l && V().createElement("span", { className: "unread-container" }, V().createElement(ro, { isOffline: r })), V().createElement(Rt, { size: "S", style: { transform: s ? "rotate(90deg)" : "" } }) ); })) : (e = V().createElement(ee.Z, { id: "comments.item.reply" })), "resolved" !== n.status || i) ) return V().createElement( "div", { className: X()("reply-btn-wrapper", { "replies-open": s, "has-replies": i }) }, V().createElement( ge, { "aria-expanded": s, className: X()("reply-btn", { "has-unread-replies": c }), onClick: this.handleReplyButtonClick, onMouseDown: this.handleReplyBtnOnMouseDown, quiet: !0, variant: "secondary", icon: V().createElement(u, null), style: { borderStyle: "none", fontWeight: 600, "--spectrum-actionbutton-icon-size": "auto" }, }, e ) ); }, }, { key: "_getFooter", value: function () { var e, t, n, r = this.props, o = r.annotationTypes, a = r.annotationsMultiPageEnabled, i = r.annotationsEnabled, s = r.assetData, c = r.compactLayout, l = r.commentData, u = r.imsData, d = r.intl, p = r.isAnnotating, f = r.isOffline, m = r.parentCommentId, h = r.touchControls; if (m) return null; var v = l.creator, y = l.pinNum, g = l.unmapped, b = Q()(l, "target.selector.subtype"), E = void 0 !== u.id && u.id === v.id, D = !!m, C = Boolean( !o && i && (a || (null == l || null === (e = l.target) || void 0 === e || null === (t = e.selector) || void 0 === t || null === (n = t.node) || void 0 === n ? void 0 : n.id) === s.nodeId) && E && !D && !g && "resolved" !== l.status && ("note" === b || "node" === b) && (!c || !y) ); return V().createElement( "div", { className: "footer" }, this._getFooterReplyWrapper(), V().createElement(Yr, { touchControls: h, handlePinClick: this.handlePinClick, isPinnable: C, isAnnotating: p, intl: d, isVisible: !f }) ); }, }, { key: "handleReplyTextareaRef", value: function (e) { this._replyTextareaEl = e; }, }, { key: "handleReplyOnKeyUp", value: function (e) { var t = this.props, n = t.isOffline, r = t.isSubmittingReply, o = this.state, a = o.dirtyReply, i = o.overReplyTextLimit; !(0, wn.Rz)(e) || !a || i || r || n || this.handleSubmitReply(e, !0); }, }, { key: "handleSubmitReply", value: function (e, t) { var n = this, r = this.props, o = r.assetData, a = r.ccxIngest, i = r.commentData, s = r.compactLayout, c = r.imsData, l = r.isSubmittingReply, u = r.mentionsEnabled, d = r.replyComment, p = r.resetGuestUserSession, f = r.setIsRead, m = this.context, h = m.onGuestSession, v = m.onInvokeLogin, y = i.id, g = this._getTextareaReplyInstance(), b = null == g ? void 0 : g.getTextareaInputValue(!0); if (!c || !c.token) return b && (0, wn.fe)(An.uX, { bodyValue: b, id: o.id, nodeId: o.nodeId, commentData: i }), void v(!0); if ((v(!1), g && b && !l)) { var E = "icon"; t && (E = "keystroke"), a.fireEvent({ event: { subcategory: "reply-comment", subtype: "submit", type: E }, content: { parent_id: y } }); var D = [], C = b; u && ((D = g.getAcceptedMentions()), (C = (0, wn.WD)(C, D))), d(C, i.id, D, o) .then(function () { s && n.cleanFocusedInputInfo(), f(fo({}, y, { read: !0 }), o.id, { recursive: !0 }).catch(function (e) { console.error("Failed to mark replies as read on reply submit", e); }); }) .catch(function (e) { var t = e.status, n = e.message; a.fireEvent({ event: { context_guid: i.id, subcategory: "reply-comment", subtype: "error", type: "render", error_code: t, error_type: n, error_desc: "reply-failed-to-post" } }), c.token.includes("AnonBearer") && 401 === t && (p(), h("destroy", c)), g && g.setTextareaInputValue(b); }), document.activeElement.blur(); } }, }, { key: "_getSafeDate", value: function (e) { return new Date(e) < Date.now() ? +new Date(e) : +Date.now(); }, }, { key: "handleReplyOnClick", value: function () { var e = this.props, t = e.ccxIngest, n = e.commentData, r = e.compactLayout, o = e.saveFocusedInputInfo, a = n.id; r && o({ id: a, itemType: "reply-input" }), t.fireEvent({ event: { subcategory: "reply-comment", subtype: "text-box", type: "click" }, content: { parent_id: a } }); }, }, { key: "handleReplyOnBlur", value: function () { var e = this.props, t = e.compactLayout, n = e.touchControls; t || n || this._toggleReply(); }, }, { key: "_toggleReply", value: function () { var e = this.props, t = e.commentData, n = e.toggleReplyVisibility, r = e.touchControls, o = this._replyTextareaEl, a = null == o ? void 0 : o.getTextareaInputValue(!0); 0 !== (null == a ? void 0 : a.length) || 0 !== t.replies.length || this.isClickingReply ? (a && a.length > 0 ? n(t.id, a) : r && n(t.id)) : n(t.id); }, }, { key: "handleReplyClick", value: function (e) { var t = this.props, n = t.assetData, r = t.ccxIngest, o = t.commentData, a = t.enableReadUnread, i = t.isRead, s = t.setIsRead; !a || i(o) || e.target.closest(".comment-item-dropdown-button") || s(fo({}, o.id, { read: !0 }), n.id, { overrideExplicitlySet: !0 }) .then(function () { r.fireEvent({ event: { context_guid: o.id, subcategory: "read-unread", subtype: "mark-as-read-click-reply", type: "click" } }); }) .catch(function (e) { var t = e.status, n = e.message; r.fireEvent({ event: { context_guid: o.id, subcategory: "read-unread", subtype: "error", type: "click", error_code: t, error_type: n, error_desc: "failed-to-mark-as-read-on-click-reply" } }); }); }, }, { key: "handleReplySelect", value: function () { var e = this, t = this.props, n = t.dispatchStakeholderOnboardingAction, r = t.imsData, o = t.parentComment, a = t.setSelectedReplyId; requestAnimationFrame(function () { (0, Ae.Z)(e._element, { scrollMode: "if-needed", behavior: function (e) { return ( e.forEach(function (e) { var t = e.el, n = e.top; t.scrollTop = n; }), Promise.resolve("done!") ); }, }) .then(function () { r.id === (null == o ? void 0 : o.creator.id) && n.expandedRepliesToOwnComment({ commentId: o.id }); }) .catch(function (e) { return console.warn("error scrolling to comment", e); }); }), a(void 0); }, }, { key: "_getReplyList", value: function () { var e = this.props, t = e.assetData, n = e.commentData, r = e.compactLayout, o = e.focusedInputInfo, a = e.hideHeader, i = e.imsData, s = e.isRead, c = e.isReadLocally, l = e.mentionsEnabled, u = e.onHeightChange, d = e.emojiPickerInfo, p = e.setEmojiPickerInfo, f = e.touchControls, m = e.intl, h = e.isOffline, v = e.richTextEntry, y = e.setIsReadLocally, g = e.theme, b = n.id, E = n.repliesOpen, D = n.replies, C = void 0 === D ? [] : D, w = n.creator, S = this.state, A = S.dirtyReply, k = S.overReplyTextLimit, _ = S.replyTextPresent, T = C && C.length >= 1, I = !(!r || !o || "reply-input" !== o.itemType || o.id !== b || this.state.isEditing), O = !(!r || !o) && "edit" === o.itemType && o.id === b && this.state.isEditing, F = !(!r || !o) && "reply-item" === o.itemType && o.parentCommentId === b, x = !i || !i.token, N = ""; I && (N = V().createElement("div", { className: "replying-user-name" }, V().createElement(ee.Z, { id: "comments.item.reply_to_user" }), " ", w.name)); var R, L, M, P = "", j = this.props, B = j.isSubmittingReply, Z = (function (e, t) { if (null == e) return {}; var n, r, o = (function (e, t) { if (null == e) return {}; var n, r, o = {}, a = Object.keys(e); for (r = 0; r < a.length; r++) (n = a[r]), t.indexOf(n) >= 0 || (o[n] = e[n]); return o; })(e, t); if (Object.getOwnPropertySymbols) { var a = Object.getOwnPropertySymbols(e); for (r = 0; r < a.length; r++) (n = a[r]), t.indexOf(n) >= 0 || (Object.prototype.propertyIsEnumerable.call(e, n) && (o[n] = e[n])); } return o; })(j, ao); if (!I && !O && C.length > 0) { var U = C.map(function (e) { var r = ""; e.creator.id === t.ownerId && (r = m.formatMessage({ id: "comments.item.owner" })), e.creator.affiliation === An.Kx && (r = m.formatMessage({ id: "comments.item.guest" })); var o = new Date(e.modified).toLocaleDateString(m.locale, ho), i = m.formatMessage({ id: "comments.arialabel.reply" }, { author: e.creator.name, comment: e.bodyValue, date: o, userType: r }); return V().createElement( "li", { "aria-label": i, role: "listitem", tabIndex: "0", key: "reply-".concat(e.id) }, V().createElement( Ue, { onChange: function (t) { !t || s(e) || c(e) || y(e, !0); }, triggerOnce: !0, threshold: 0.95, }, V().createElement( go, so({}, Z, { id: "reply-".concat(b), commentData: e, hideHeader: a, itemType: "reply-item", parentCommentId: b, isResolved: "resolved" === n.status, parentNodeId: Q()(n, "target.selector.node.id"), divider: !1, }) ) ) ); }); P = V().createElement("ul", { className: "replies-list" }, U); } var z = k || !A.trim().length || B || h; "resolved" !== n.status && E && ((R = V().createElement( "div", { className: "reply-box-wrap".concat(C.length ? " has-replies" : "") }, V().createElement(Qr, { animationEnabled: !r, annotationsEnabledOverride: !1, compactLayout: r, hideHeader: a, initialValue: A || "", isEmojiPickerVisible: d.id === b && "reply" === d.type, mentionsEnabled: !h && l && !x, onBlur: this.handleReplyOnBlur, onClick: this.handleReplyOnClick, onEmojiIconClick: this.handleReplyEmojiClick, onFocus: this.handleReplyFocus, onHeightChange: u, onKeyUp: this.handleReplyOnKeyUp, onMentionClick: this.handleReplyMentionClick, onTextPresent: this.handleReplyTextPresent, placeholder: "comments.item.reply_placeholder", ref: this.handleReplyTextareaRef, richTextEntry: v, shouldFocusIfValueExists: !1, setEmojiPickerInfo: p, theme: g, touchControls: f, }) )), (L = V().createElement( "div", { className: "submit-icon-container" }, V().createElement(ge, { disabled: z, icon: V().createElement(xt, { size: "M" }), onClick: z ? void 0 : this.handleSubmitReply, selected: !z, variant: "tool" }) )), (M = V().createElement( "div", { className: "submit-button-container" }, V().createElement( ge, { disabled: !_ || B, id: "ccx-comments-reply-cancel-btn", onMouseDown: this.handleCancelReply, onClick: this.handleCancelReply, variant: "secondary" }, V().createElement(ee.Z, { id: "comments.submit.cancel" }) ), V().createElement( ge, { disabled: z, id: "ccx-comments-reply-submit-btn", variant: "cta", onClick: this.handleSubmitReply, onMouseDown: function (e) { return e.preventDefault(); }, style: { marginLeft: "var(--spectrum-global-dimension-size-200, 16px)" }, }, V().createElement(ee.Z, { id: "comments.submit.submit" }) ) ))); var H = V().createElement( "div", { className: X()("replies-wrapper", { "focused-input": I, "has-replies": T }) }, P, N, V().createElement( "div", { className: "comment-text-controls-container icon-layout ".concat(I ? " focused-input" : "") }, (!I && !E) || this.state.isEditing || F ? "" : R, (!I && !E) || this.state.isEditing || F ? "" : L ) ), G = V().createElement("div", { className: X()("replies-wrapper", { "has-replies": T }) }, P, V().createElement("div", { className: "comment-text-controls-container" }, R, M)); return V().createElement(Se.CSSTransition, { in: C && E, timeout: 500, classNames: "fade", unmountOnExit: !0 }, r ? H : G); }, }, { key: "handleEditTextPresent", value: function (e, t) { var n = this.props.commentData, r = e.length > 0; (n.dirtyEdit = e.trim()), this.setState({ editTextPresent: r, overEditTextLimit: t }); }, }, { key: "handleReplyTextPresent", value: function (e, t) { var n = e.length > 0; this.setState({ dirtyReply: e, overReplyTextLimit: t, replyTextPresent: n }); }, }, { key: "handleFocus", value: function () { var e = this.props, t = e.commentData, n = e.parentCommentId, r = e.saveFocusedInputInfo, o = e.compactLayout, a = e.itemType; o && r({ id: t.id, parentCommentId: n, itemType: a || "edit" }); }, }, { key: "handleReplyFocus", value: function (e) { var t = this.props, n = t.compactLayout, r = t.touchControls; e.persist(), r && requestAnimationFrame(function () { var t = e.target.getBoundingClientRect(); n ? window.scrollTo(0, t.bottom) : window.scrollBy(0, t.top - 32); }); }, }, { key: "startEdit", value: function () { var e = this.props.commentData; this.setState( function () { return { isEditing: !0 }; }, function () { e.dirtyEdit = Q()(e, "bodyValue"); } ); }, }, { key: "handleEditBtnClick", value: function (e) { var t = this.props, n = t.assetData, r = t.ccxIngest, o = t.commentData, a = t.latestMobileEnabled, i = t.parentCommentId, s = t.setMobileEditingComment, c = this.context.onCommentSelect; a ? s(n.id, o.id) : (c(e, o, { idForLookup: i }), this.startEdit()), r.fireEvent({ event: { context_guid: i, subcategory: "edit-comment", subtype: "edit", type: "click" }, content: { parent_id: o.id } }); }, }, { key: "handleCancelEditBtnClick", value: function () { var e = this.props, t = e.ccxIngest, n = e.commentData, r = e.parentCommentId; this.setState({ isEditing: !1, overEditTextLimit: !1 }, function () { n.dirtyEdit = null; }), this.cleanFocusedInputInfo(), document.activeElement.blur(), t.fireEvent({ event: { context_guid: r, subcategory: "edit-comment", subtype: "cancel", type: "click" }, content: { parent_id: n.id } }); }, }, { key: "handleCancelReply", value: function (e) { e && e.preventDefault(); var t = this.props, n = t.ccxIngest, r = t.commentData, o = t.parentCommentId, a = this._replyTextareaEl; a && (document.activeElement.blur(), a.clearTextareaInput(), this.setState({ dirtyReply: "" }), (0, wn.F_)(An.uX), n.fireEvent({ event: { context_guid: o, subcategory: "reply-comment", subtype: "cancel", type: "click" }, content: { parent_id: r.id } })); }, }, { key: "handleEditMentionClick", value: function () { this.props.ccxIngest.fireEvent({ event: { subcategory: "edit-comment", type: "click", subtype: "mention" } }); }, }, { key: "handleEditEmojiClick", value: function () { var e = this.props, t = e.ccxIngest, n = e.commentData, r = e.emojiPickerInfo, o = e.setEmojiPickerInfo; r.id !== n.id ? o({ id: n.id, type: "edit" }) : o(), t.fireEvent({ event: { subcategory: "edit-comment", type: "click", subtype: "emoji" } }); }, }, { key: "handleReplyMentionClick", value: function () { this.props.ccxIngest.fireEvent({ event: { subcategory: "reply-comment", type: "click", subtype: "mention" } }); }, }, { key: "handleReplyEmojiClick", value: function () { var e = this.props, t = e.ccxIngest, n = e.commentData, r = e.emojiPickerInfo, o = e.setEmojiPickerInfo; r.id !== n.id ? o({ id: n.id, type: "reply" }) : o(), t.fireEvent({ event: { subcategory: "reply-comment", type: "click", subtype: "emoji" } }); }, }, { key: "editData", value: function (e) { var t = this, n = this.props, r = n.ccxIngest, o = n.commentData, a = n.compactLayout, i = n.editComment, s = n.imsData, c = n.parentCommentId, l = n.mentionsEnabled, u = n.resetGuestUserSession, d = this.context.onGuestSession, p = this._editTextareaEl, f = e.trim(), m = []; l && p && ((m = p.getAcceptedMentions(f)), (f = (0, wn.WD)(f, m))), this.setState({ isSaving: !0 }), (f || "strikethrough" === o.annotationType) && i(f, o.id, c, m) .then(function () { a && t.cleanFocusedInputInfo(); var e = (o && o.mentions && o.mentions.map(function (e) { return e.id; })) || []; m.some(function (t) { return !e.includes(t.id); }) && r.fireEvent({ event: { context_guid: c, subcategory: "edit-comment", subtype: "mention", type: "render" } }), r.fireEvent({ event: { context_guid: c, subcategory: "edit-comment", subtype: "edit-comment", type: "render" } }); }) .catch(function (e) { var n = e.status, o = e.message; r.fireEvent({ event: { context_guid: c, subcategory: "edit-comment", subtype: "error", type: "render", error_code: n, error_type: o, error_desc: "comment-failed-to-edit" } }), s.token.includes("AnonBearer") && 401 === n && (u(), d("destroy", s), t.startEdit()); }) .finally(function () { t.setState({ isSaving: !1 }); }); }, }, { key: "handleSaveEditChangesBtnClick", value: function () { var e = this._editTextareaEl, t = null == e ? void 0 : e.getTextareaInputValue(!0); if (!this.state.overEditTextLimit) { this.editData(t); var n = this.props, r = n.ccxIngest, o = n.commentData, a = n.parentCommentId; r.fireEvent({ event: { context_guid: a, subcategory: "edit-comment", subtype: "submit", type: "click" }, content: { parent_id: o.id } }); } document.activeElement.blur(); }, }, { key: "handleEditOnKeyUp", value: function (e) { var t = this.props, n = t.commentData, r = t.isOffline, o = t.annotationType, a = this.state.overEditTextLimit, i = n.dirtyEdit; if ((0, wn.Rz)(e) && (i || "strikethrough" === o) && !a && !this.state.editSaving && !r) { this.editData(i); var s = this.props, c = s.ccxIngest, l = s.parentCommentId; c.fireEvent({ event: { context_guid: l, subcategory: "edit-comment", subtype: "submit", type: "keystroke" }, content: { parent_id: n.id } }); } }, }, { key: "cleanFocusedInputInfo", value: function () { var e = this.props, t = e.compactLayout, n = e.saveFocusedInputInfo; t && n(); }, }, { key: "handleEditTextareaRef", value: function (e) { this._editTextareaEl = e; }, }, { key: "handleEditOnClick", value: function () { var e = this.props, t = e.ccxIngest, n = e.commentData, r = e.parentCommentId, o = e.saveFocusedInputInfo, a = e.compactLayout, i = e.itemType, s = n.id; a && o({ id: s, parentCommentId: r, itemType: i || "edit" }), t.fireEvent({ event: { context_guid: r, subcategory: "edit-comment", subtype: "text-box", type: "click" }, content: { parent_id: s } }); }, }, { key: "handlePinClick", value: function () { var e = this.props, t = e.ccxIngest, n = e.commentData, r = e.compactLayout, o = e.isAnnotating, a = e.toggleAnnotating, i = n.id; o && t.fireEvent({ event: { subcategory: "pin-comment", type: "click", subtype: n.annotationType ? "edit-pin" : "add-pin" } }), a(i, r); }, }, { key: "handleLinkClick", value: function (e) { var t = this.props.onUrlOpen, n = e.target.href; e.preventDefault(), t ? t(n) : window.open(n, "_blank"); }, }, { key: "_parseMentions", value: function (e) { var t = this, n = arguments.length > 1 && void 0 !== arguments[1] ? arguments[1] : [], r = this.props, o = r.environment, a = r.touchControls, i = [e], s = [], c = a ? "click" : "hover"; return ( n.forEach(function (e) { for (var r = 0; r < i.length; r++) if ( "string" == typeof i[r] && (1 === (s = i[r].split("@".concat(e.name))).length && (s = i[r].split("@".concat(e.name.replace(/ /g, "")))), 1 === s.length && (s = i[r].split("[@urn:userID:".concat(e.id, "]"))), s.length > 1) ) { var a = n.find(function (t) { return t.id === "".concat(An.Lx).concat(e.id); }) || e; i.splice.apply( i, [r, 1].concat( (function (e) { if (Array.isArray(e)) return io(e); })( (l = t._commentPopoverBuilder( s, V().createElement( _t, { key: a.email, placement: "top", trigger: c, style: { whiteSpace: "normal", display: "inline-block", textWrap: "wrap" } }, V().createElement("span", { className: "mention" }, "@".concat(a.name)), V().createElement(Ln, { placement: "bottom" }, V().createElement(Un, { environment: o, user: a })) ) )) ) || (function (e) { if (("undefined" != typeof Symbol && null != e[Symbol.iterator]) || null != e["@@iterator"]) return Array.from(e); })(l) || (function (e, t) { if (e) { if ("string" == typeof e) return io(e, t); var n = Object.prototype.toString.call(e).slice(8, -1); return ( "Object" === n && e.constructor && (n = e.constructor.name), "Map" === n || "Set" === n ? Array.from(e) : "Arguments" === n || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n) ? io(e, t) : void 0 ); } })(l) || (function () { throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); })() ) ); } var l; }), i ); }, }, { key: "_commentPopoverBuilder", value: function (e, t) { for (var n = []; e.length > 1; ) n.push(e.shift()), n.push(t); return n.push(e.shift()), n; }, }, { key: "render", value: function () { var e = this.props, t = e.commentData, n = e.compactLayout, r = e.divider, o = e.focusedInputInfo, a = e.hideFooter, i = e.hideHeader, s = e.highlight, c = e.isOffline, u = e.isUnread, d = e.itemType, p = e.latestMobileEnabled, f = e.mentionsEnabled, m = e.onHeightChange, h = e.parentCommentId, v = e.richTextEntry, y = e.showCommentId, g = e.emojiPickerInfo, b = e.setEmojiPickerInfo, E = e.theme, D = e.touchControls, C = t.bodyValue, w = void 0 === C ? "" : C, S = t.creator, A = t.dirtyEdit, k = t.annotationType, _ = t.id, T = t.imageContextData, I = t.mentions, O = t.replies, F = t.repliesOpen; if (n && o && !this.isInputFocused() && o.id !== _) return null; var x, N = this.state, R = N.overEditTextLimit, L = N.isEditing, M = N.isSaving; if (o && d && !(x = n && "reply-item" === o.itemType && "reply-item" === d && o.id === _)) return null; var P, j, B = w; I && I.length > 0 && (B = (0, wn.UW)(w, I)); var Z = !h && An.cD.includes(k); if (L) { var U = V().createElement( "div", { className: "edit-wrapper" }, V().createElement(Qr, { allowCollapseOverride: "strikethrough" === k, animationEnabled: !n, annotationsEnabledOverride: !1, compactLayout: n, defaultMentions: I, errorMsgKey: "comments.item.edit_error", hideHeader: i, initialValue: (0, wn.UW)(A || B.substr(0, An.Ry), I), isEmojiPickerVisible: g.id === _ && "edit" === g.type, isOffline: c, mentionsEnabled: !Z && !c && f, mobileCommentingMode: Boolean(o), onClick: this.handleEditOnClick, onEmojiIconClick: this.handleEditEmojiClick, onFocus: this.handleFocus, onHeightChange: m, onKeyUp: this.handleEditOnKeyUp, onMentionClick: this.handleEditMentionClick, onTextPresent: this.handleEditTextPresent, placeholder: h ? "comments.item.edit_placeholder_reply" : "comments.item.edit_placeholder", ref: this.handleEditTextareaRef, richTextEntry: v, setEmojiPickerInfo: b, theme: E, touchControls: D, }) ), z = R || t.dirtyEdit === B || M || c || ((!this.state.editTextPresent || !(t.dirtyEdit || "").trim().length) && "strikethrough" !== k), H = V().createElement( "div", { className: "footer is-editing" }, V().createElement( "div", { className: "button-wrapper" }, V().createElement( ge, { className: "cancel-edited-changes-btn", disabled: M, onClick: this.handleCancelEditBtnClick, onMouseDown: this.handleCancelEditBtnClick, variant: "secondary" }, V().createElement(ee.Z, { id: "comments.item.cancel" }) ), V().createElement( ge, { className: "save-edited-changes-btn", disabled: z, onClick: this.handleSaveEditChangesBtnClick, onMouseDown: this.handleSaveEditChangesBtnClick, style: { marginLeft: "var(--spectrum-global-dimension-size-200, 16px)" }, variant: "cta", }, V().createElement(ee.Z, { id: "comments.item.save_changes" }) ) ) ), G = V().createElement( "div", { className: "submit-icon-container" }, V().createElement(ge, { disabled: z, icon: V().createElement(xt, { size: "M" }), onClick: z ? void 0 : this.handleSaveEditChangesBtnClick, selected: !z, variant: "tool" }) ); j = V().createElement("div", { className: "comment-text-controls-container ".concat(n ? " icon-layout" : "").concat(x || (o && "edit" === o.itemType && o.id === _) ? " focused-input" : "") }, U, n ? G : H); } else { var W; (W = "strikethrough" !== k || B ? this._parseMentions(B.substr(0, An.Ry), I) : V().createElement("span", { className: "empty-strikethrough" }, V().createElement(ee.Z, { id: "comments.item.empty_strikethrough" }))), "insert" !== k || h ? "replace" !== k || h || (W = V().createElement( V().Fragment, null, V().createElement(ee.Z, { id: "comments.item.replace_label" }, function (e) { return V().createElement("span", { className: "comment-text-label" }, e); }), " ", W )) : (W = V().createElement( V().Fragment, null, V().createElement(ee.Z, { id: "comments.item.insert_label" }, function (e) { return V().createElement("span", { className: "comment-text-label" }, e); }), " ", W )); var Q = this.state.bigText && "insert" !== k && "replace" !== k, J = V().createElement("div", { "data-testid": X()({ "big-text": Q }), className: X()({ "big-text": Q }) }, W); (J = V().createElement(Dt.ZP, { component: wt, properties: { onClick: this.handleLinkClick } }, J)), (P = V().createElement( "div", { className: "comment-text-controls-container" }, V().createElement("div", { className: "comment-text" }, J), null != T && T.base64Data ? V().createElement("img", { height: T.height, src: T.base64Data, width: T.width }) : null, !a && this._getFooter() )); } var Y, q = O && O.length > 0 ? O.map(function (e) { return e.id; }).join(" ") : void 0, K = X()("comment-wrapper", { "focused-input": n && o }); h && (Y = this.handleReplyClick); var $ = V().createElement( "div", { id: _, role: "comment", "aria-owns": q, className: K, onClick: Y }, V().createElement( "div", { className: "comment-content-wrapper" }, L && n ? null : V().createElement( V().Fragment, null, V().createElement( "div", { className: X()("row", { "unread-item": u }) }, u && V().createElement("span", { className: "unread-container" }, V().createElement(ro, { isOffline: c })), V().createElement("div", { className: "avatar-column" }, V().createElement(In, { user: S, className: "item-user-avatar" })), this._getHeader() ) ), V().createElement("div", { className: "row" }, P) ), j ), te = n && o && "reply-input" === o.itemType && o.id === _ && !this.state.isEditing, ne = n && o && "reply-item" === o.itemType && o.parentCommentId === _, re = X()("comment-li-wrapper", l.default.component, { highlight: ((s && !h) || y === _) && !n, "hovered-pin": s, "replies-open": F }); return V().createElement( V().Fragment, null, V().createElement("div", { "data-testid": "comment-li-wrapper", className: re, ref: this.handleCommentItemRef }, te || ne ? "" : $, !p && this._getReplyList()), r && V().createElement(fn, null) ); }, }, ]), n && co(t.prototype, n), Object.defineProperty(t, "prototype", { writable: !1 }), i ); })(V().Component); fo(vo, "contextType", tt.ZP), (vo.defaultProps = { annotationType: void 0, annotationsEnabled: !1, cacheComments: !1, capabilities: {}, ccxIngest: { fireEvent: function () {} }, compactLayout: !1, confirmDelete: function () {}, dispatchCreativeOnboardingAction: new Proxy( {}, { get: function () { return function () {}; }, } ), dispatchStakeholderOnboardingAction: new Proxy( {}, { get: function () { return function () {}; }, } ), divider: !1, editComment: function () {}, errors: {}, isOffline: !1, latestMobileEnabled: !1, reCaptchaEnabled: !1, reCaptchaSiteKey: "", replyComment: function () {}, resolveComment: function () {}, saveFocusedInputInfo: function () {}, setSelectedReplyId: function () {}, emojiPickerInfo: {}, spectrumUIScale: "medium", theme: "light", toggleAnnotating: function () {}, toggleReplyVisibility: function () {}, unresolveComment: function () {}, }), (vo.propTypes = { annotationType: G().string, annotatingCommentId: G().string, annotationTypes: G().shape({ draw: G().bool, pin: G().bool, text: G().bool }), annotationsEnabled: G().bool, annotationsCreationEnabled: G().bool, annotationsMultiPageEnabled: G().bool, assetData: G().shape({ id: G().string, nodeId: G().oneOfType([G().string, G().number]), ownerId: G().string, isEsm: G().bool }), cacheComments: G().bool, capabilities: G().shape({ role: G().string }), ccxIngest: G().object, clearIsReadLocally: G().func.isRequired, commentData: G().object, closeButtonClicked: G().bool, compactLayout: G().bool, confirmDelete: G().func, setShowCommentId: G().func, dispatchCreativeOnboardingAction: G().object, dispatchStakeholderOnboardingAction: G().object, divider: G().bool, editComment: G().func, enableReadUnread: G().bool, environment: G().string, errors: G().object, focusedInputInfo: G().object, globalCommentsToggle: G().shape({ isActive: G().bool.isRequired }).isRequired, hideFooter: G().bool, hideHeader: G().bool, highlight: G().bool, imageCapture: G().bool, imageContextData: G().object, imsData: G().shape({ id: G().string, token: G().string }), intl: G().object.isRequired, isAnnotating: G().bool, isOffline: G().bool, isRead: G().func.isRequired, isReadLocally: G().func.isRequired, isResolved: G().bool, isUnread: G().bool, isSelectedReply: G().bool, isSubmittingReply: G().bool, itemType: G().string, latestMobileEnabled: G().bool, mentionsEnabled: G().bool, onHeightChange: G().func, onUrlOpen: G().func, parentComment: G().object, parentCommentId: G().string, parentNodeId: G().oneOfType([G().string, G().number]), reCaptchaEnabled: G().bool.isRequired, reCaptchaSiteKey: G().string, replyComment: G().func, resetGuestUserSession: G().func, resolveComment: G().func, richTextEntry: G().bool, saveFocusedInputInfo: G().func, setSelectedReplyId: G().func, setHoveredAnnotation: G().func, setIsRead: G().func.isRequired, setIsReadLocally: G().func.isRequired, setMobileEditingComment: G().func, setParentCommentId: G().func, showCommentId: G().string, setEmojiPickerInfo: G().func, emojiPickerInfo: G().object, spectrumUIScale: G().oneOf(["medium", "large"]), theme: G().oneOf(["light", "lightest", "dark", "darkest"]), toggleAnnotating: G().func, toggleReplyVisibility: G().func, touchControls: G().bool, unresolveComment: G().func, isSwcEnabled: G().bool.isRequired, }); var yo = { confirmDelete: oe.e1, saveFocusedInputInfo: ae.PM, setMobileEditingComment: oe.Xq, setParentCommentId: oe.nx, setShowCommentId: ae.rG, toggleAnnotating: ae.xX, toggleReplyVisibility: oe.jT, resetGuestUserSession: ae.I3, setSelectedReplyId: ce.Ef, setEmojiPickerInfo: ae.Po, }, go = (0, $.qC)( re.HJ, (0, K.$j)( function () { var e = (0, Pr.nE)(); return function (t, n) { var r, o = n.annotationsEnabled, a = n.assetData, i = n.commentData, s = n.compactLayout, c = n.creativeOnboarding, l = n.mentionsEnabled, u = n.imsData, d = n.isRead, p = n.parentCommentId, f = (0, Pr._X)(t, a.id), m = Q()(t, "".concat(An.Bq, ":context.annotatingItmId")), h = s ? Q()(t, "".concat(An.Bq, ":context.focusedInputInfo")) : void 0, v = Q()(t, "".concat(An.Bq, ":annotation.hoveredAnnotation")), y = Q()(t, "".concat(An.Bq, ":annotation.selectedReplyId")), g = p && e(p), b = !d(i); return { annotationsEnabled: o, dispatchStakeholderOnboardingAction: (0, cn.GW)(t), dispatchCreativeOnboardingAction: (0, ln.M5)(t, c), commentsListMinimized: Q()(t, "".concat(An.Bq, ":context.commentsListMinimized")), errors: f.errors, focusedInputInfo: h, highlight: v === i.id, isAnnotating: m === i.id, isSelectedReply: y === i.id, isSubmittingReply: f.postingReplyParentCommentId === i.id, isUnread: b, mentionsEnabled: l && -1 === (null == u || null === (r = u.token) || void 0 === r ? void 0 : r.indexOf("AnonBearer")), parentComment: g, showCommentId: Q()(t, "".concat(An.Bq, ":context.showCommentId")), emojiPickerInfo: Q()(t, "".concat(An.Bq, ":context.emojiPickerInfo")), }; }; }, yo, void 0, { context: Ve.no } ) )((0, gt.ZP)(vo, { forwardRef: !0 })); const bo = go; var Eo = ["comment", "hideFooter", "hideHeader", "onScrollToComment", "parentCommentId", "selectedAnnotationId"]; function Do() { return ( (Do = Object.assign ? Object.assign.bind() : function (e) { for (var t = 1; t < arguments.length; t++) { var n = arguments[t]; for (var r in n) Object.prototype.hasOwnProperty.call(n, r) && (e[r] = n[r]); } return e; }), Do.apply(this, arguments) ); } function Co(e, t) { return ( (function (e) { if (Array.isArray(e)) return e; })(e) || (function (e, t) { var n = null == e ? null : ("undefined" != typeof Symbol && e[Symbol.iterator]) || e["@@iterator"]; if (null != n) { var r, o, a = [], i = !0, s = !1; try { for (n = n.call(e); !(i = (r = n.next()).done) && (a.push(r.value), !t || a.length !== t); i = !0); } catch (e) { (s = !0), (o = e); } finally { try { i || null == n.return || n.return(); } finally { if (s) throw o; } } return a; } })(e, t) || (function (e, t) { if (e) { if ("string" == typeof e) return wo(e, t); var n = Object.prototype.toString.call(e).slice(8, -1); return "Object" === n && e.constructor && (n = e.constructor.name), "Map" === n || "Set" === n ? Array.from(e) : "Arguments" === n || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n) ? wo(e, t) : void 0; } })(e, t) || (function () { throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); })() ); } function wo(e, t) { (null == t || t > e.length) && (t = e.length); for (var n = 0, r = new Array(t); n < t; n++) r[n] = e[n]; return r; } var So = { weekday: "long", year: "numeric", month: "long", day: "numeric" }, Ao = ["#ccx-suggestion-list", ".comment-item-dropdown-button", ".reply-btn", ".textbox", ".reply-box-wrap", ".submit-button-container", ".footer-actions", ".external-content-wrapper"], ko = (0, z.forwardRef)(function (e, t) { var n = e.comment, r = e.hideFooter, o = e.hideHeader, a = e.onScrollToComment, i = e.parentCommentId, s = e.selectedAnnotationId, c = (function (e, t) { if (null == e) return {}; var n, r, o = (function (e, t) { if (null == e) return {}; var n, r, o = {}, a = Object.keys(e); for (r = 0; r < a.length; r++) (n = a[r]), t.indexOf(n) >= 0 || (o[n] = e[n]); return o; })(e, t); if (Object.getOwnPropertySymbols) { var a = Object.getOwnPropertySymbols(e); for (r = 0; r < a.length; r++) (n = a[r]), t.indexOf(n) >= 0 || (Object.prototype.propertyIsEnumerable.call(e, n) && (o[n] = e[n])); } return o; })(e, Eo), l = Co((0, z.useState)(), 2), u = l[0], p = l[1], f = (0, z.useContext)(re.ZP), m = f.assetData, h = f.cacheComments, v = f.compactLayout, y = f.enableReadUnread, g = f.imsData, b = f.isOffline, E = f.isVisible, D = f.latestMobileEnabled, C = f.touchControls, w = (0, et.Z)(), S = w.editComment, A = w.replyComment, k = w.resolveComment, _ = w.unresolveComment, T = (0, $e.Z)(), I = T.clearIsReadLocally, O = T.isRead, F = T.isReadLocally, x = T.setIsRead, N = T.setIsReadLocally, R = O(n), L = F(n), M = (0, Ve.v9)(function (e) { return e["".concat(An.Bq, ":annotation")].selectedReplyId; }), P = (0, Ve.v9)(function (e) { return (0, Pr._X)(e, m.id); }).autoScroll, j = (0, z.useContext)(tt.ZP), B = j.onCommentSelect, Z = j.onCommentHover, U = j.onUrlOpen, H = (0, Ke.Z)(), G = s === n.id || (D && M === n.id), W = Xe(u).onKeyDown, Q = (0, Ne.Z)(), J = (0, wn.t)(), Y = n.creator, q = n.bodyValue, K = n.annotationType, $ = n.mentions, ee = n.modified, te = n.replies, ne = void 0 === te ? [] : te, oe = new Date(ee).toLocaleDateString(Q.locale, So), ae = !C, ie = "", se = Co(ze({ root: document.querySelector("#".concat(An.Ls)), threshold: 0.75 }), 2), ce = se[0], le = se[1], ue = (0, z.useCallback)( function (e) { t && ((t.current = e), p(t.current)), ce(e); }, [ce, t] ); (0, z.useEffect)( function () { !y || !le || R || L || P ? R && L && I(n) : le && E && N(n, !0); }, [P, I, n, y, le, E, R, L, N] ); var de = (0, z.useCallback)( function (e) { var t, r, o; Ao.some(function (t) { return e.target.closest(t); }) ? (s && s !== n.id && B(e, {}), R || e.target.closest(".comment-item-dropdown-button") || x(((t = {}), (r = n.id), (o = { read: !0 }), r in t ? Object.defineProperty(t, r, { value: o, enumerable: !0, configurable: !0, writable: !0 }) : (t[r] = o), t), m.id, { overrideExplicitlySet: !0 }).catch(function ( e ) { return console.error("Failed to mark comment as read on click", e); })) : i || B(e, n); }, [m.id, n, B, i, R, s, x] ), pe = (0, z.useCallback)( function (e) { Z(e, n); }, [Z, n] ); Y.id === m.ownerId && (ie = Q.formatMessage({ id: "comments.item.owner" })), Y.affiliation === An.Kx && (ie = Q.formatMessage({ id: "comments.item.guest" })); var fe = (null == $ ? void 0 : $.length) > 0 ? (0, wn.UW)(q, $) : q; if (An.cD.includes(K)) { var me = "comments.item.".concat(K, "_label"); fe = "".concat(Q.formatMessage({ id: me }), " ").concat(q); } var he = Q.formatMessage({ id: "comments.arialabel.comment" }, { author: Y.name, comment: fe, date: oe, replyCount: ne.length, userType: ie }); return ( (0, z.useEffect)( function () { G && a(n.id); }, [G] ), V().createElement( "li", { "aria-label": he, className: X()("comment-li", d.default.component, { compact: v, touch: C, selected: G }), onClick: de, onMouseEnter: ae ? pe : null, onMouseLeave: ae ? pe : null, onKeyDown: W, ref: ue, role: "listitem", tabIndex: "0", }, V().createElement( bo, Do( { assetData: m, cacheComments: h, ccxIngest: H, clearIsReadLocally: I, commentData: n, compactLayout: v, editComment: S, hideFooter: r, hideHeader: o, imsData: g, isOffline: b, isReadLocally: F, isRead: O, isSwcEnabled: J, onUrlOpen: U, parentCommentId: i, replyComment: A, resolveComment: k, setIsRead: x, setIsReadLocally: N, touchControls: C, unresolveComment: _, }, c ) ) ) ); }); (ko.defaultProps = { onScrollToComment: function () {}, selectedAnnotationId: void 0 }), (ko.propTypes = { comment: G().object, hideFooter: G().bool, hideHeader: G().bool, onScrollToComment: G().func, parentCommentId: G().string, selectedAnnotationId: G().string }), (ko.displayName = "Comment"); const _o = ko; var To = function (e) { var t = e.pinNum, n = e.annotationType, r = e.strokeColor, o = e.visible, a = (0, sr.Z)().annotationTypes; if (!o) return null; var i = null, s = { backgroundColor: r }; if ((!a || (null != a && a.pin)) && t) { var c = t; a ? ((c = V().createElement(En.Z, { "data-testid": "pinoff-badge", style: { "--spectrum-icon-size": "12px" }, size: "XS" })), s.backgroundColor || (s = { backgroundColor: "#B80000" })) : (s = {}), (i = V().createElement("span", { className: "annotation-marker", "data-testid": "pin-badge", style: s }, c)); } else null != a && a.draw && "shape" === n ? (i = V().createElement("span", { className: "annotation-marker", style: s }, V().createElement(Fr, { style: { "--spectrum-icon-size": "12px" }, "data-testid": "draw-badge", size: "XS" }))) : null != a && a.highlight && "highlight" === n ? (i = V().createElement("span", { className: "annotation-marker", "data-testid": "highlight-badge", style: s }, V().createElement(Xr.Z, null))) : null != a && a.strikethrough && "strikethrough" === n ? (i = V().createElement("span", { className: "annotation-marker", style: s }, V().createElement(qr.Z, { style: { "--spectrum-icon-size": "12px" }, "data-testid": "strikethrough-badge", size: "XS" }))) : null != a && a.insert && "insert" === n ? (i = V().createElement("span", { className: "annotation-marker", "data-testid": "insert-badge", style: s }, V().createElement(Kr.Z, null))) : null != a && a.replace && "replace" === n && (i = V().createElement("span", { className: "annotation-marker", "data-testid": "replace-badge", style: s }, V().createElement($r.Z, null))); return i; }; (To.defaultProps = { pinNum: void 0, annotationType: void 0, strokeColor: "", visible: !1 }), (To.propTypes = { pinNum: G().number, annotationType: G().string, strokeColor: G().string, visible: G().bool }); const Io = To; var Oo = ["testId", "disabled", "onClick", "value", "visible"]; function Fo() { return ( (Fo = Object.assign ? Object.assign.bind() : function (e) { for (var t = 1; t < arguments.length; t++) { var n = arguments[t]; for (var r in n) Object.prototype.hasOwnProperty.call(n, r) && (e[r] = n[r]); } return e; }), Fo.apply(this, arguments) ); } var xo = function (e) { var t = e.testId, n = e.disabled, r = e.onClick, o = e.value, a = e.visible, i = (function (e, t) { if (null == e) return {}; var n, r, o = (function (e, t) { if (null == e) return {}; var n, r, o = {}, a = Object.keys(e); for (r = 0; r < a.length; r++) (n = a[r]), t.indexOf(n) >= 0 || (o[n] = e[n]); return o; })(e, t); if (Object.getOwnPropertySymbols) { var a = Object.getOwnPropertySymbols(e); for (r = 0; r < a.length; r++) (n = a[r]), t.indexOf(n) >= 0 || (Object.prototype.propertyIsEnumerable.call(e, n) && (o[n] = e[n])); } return o; })(e, Oo); return a ? V().createElement(Yt, Fo({ "data-testid": t, disabled: n, onClick: r, role: "menuitem", value: o }, i), o) : null; }, No = function (e) { var t, n, r, o = e.capabilities, a = e.comment, i = e.isEditing, s = e.isResolved, c = e.onEdit, l = e.parentCommentId, u = (0, z.useContext)(re.ZP), d = u.assetData, p = u.enableReadUnread, f = u.imsData, m = u.isOffline, h = u.compactLayout, v = u.touchControls, y = (0, z.useContext)(tt.ZP).onCommentSelect, g = (0, Ve.I0)(), b = (0, $e.Z)(), E = b.isRead, D = b.setIsRead, C = (0, et.Z)(), w = C.resolveComment, S = C.unresolveComment, A = a.creator, k = !!l, _ = !E(a), T = (0, cn.cs)(), I = (0, ln.UP)(), O = (function (e, t, n, r, o, a, i, s) { var c = (function (e, t) { return (void 0 !== e.id && e.id === t.id) || (void 0 !== e.authId && e.authId === t.id); })(r, t), l = (function (e) { if (e.token) return e.token.includes("AnonBearer") ? "guest" : "user"; })(r), u = (function (e, t) { return e.id === t.ownerId || "owner" === e.userRoleOverride; })(r, e), d = (function (e) { return "editor" === e || "owner" === e; })(s), p = ("user" === l || c) && !a, f = { edit: Boolean(c && !i), delete: Boolean(u || c || (d && !e.ownerId)), unread: n && "user" === l && !c }, m = { resolve: Boolean(p && !i), unresolve: Boolean(p && i) }, h = Object.values(f).reduce(function (e, t) { return e || t; }, !1), v = Object.values(m).reduce(function (e, t) { return e || t; }, !1); return { isMenuVisible: !(o || !l || !h), isVisible: !(o || !l || (!h && !v)), menuItems: f, externalItems: m }; })(d, A, p, f, i, k, "resolved" === a.status || s, null == o ? void 0 : o.role), F = O.isMenuVisible, x = O.isVisible, N = O.externalItems, R = O.menuItems, L = (0, Ne.Z)().formatMessage, M = (0, Ke.Z)(), P = (0, z.useCallback)(function (e) { e.preventDefault(); }, []), j = (0, z.useCallback)( function (e) { P(e), e.target.focus(), T.completeCurrentOrResumeCoachMarks({ dismissType: "blur" }), I.completeCurrent({ dismissType: "blur" }); var t = document.activeElement; t.classList.contains("textarea") && t.blur(), M.fireEvent({ event: { subcategory: "navigation", subtype: "click-dropdown-menu", type: "click" } }); }, [P, T, I, M] ), B = (0, z.useCallback)( function (e, t) { if ((0, wn.Ho)(e)) { if (t) { var n = a.replies; a.repliesOpen && n.forEach(function (e) { g((0, oe.jT)(d.id)), (e.dirtyEdit = null); }); } M.fireEvent({ event: { subcategory: "resolve", subtype: t ? "submit" : "move-to-unresolved", type: "click" } }), h && g((0, oe.nx)(d.id)), (t ? w : S)(a) .then(function () { M.fireEvent({ event: { subcategory: "resolve", subtype: t ? "resolved-flag" : "move-to-unresolved", type: "render" } }), t && (T.commentResolved(), I.commentResolved()); }) .catch(function (e) { var n = e.status, r = e.message; M.fireEvent({ event: { subcategory: "resolve", subtype: "error", type: "render", error_code: n, error_type: r, error_desc: t ? "comment-failed-to-resolve" : "comment-failed-to-unresolve" } }), f.token.includes("AnonBearer") && 401 === n && (g((0, ae.I3)()), g(Ve.no.onGuestSession("destroy", f))); }); } }, [d.id, M, a, h, g, I, T, f, w, S] ), Z = (0, z.useCallback)( function (e, t) { var n, r, o; (0, wn.Ho)(e) && (M.fireEvent({ event: { subcategory: "read-unread", subtype: t ? "mark-as-read-click-menu" : "mark-as-unread", type: "click" } }), D(((n = {}), (r = a.id), (o = { read: t }), r in n ? Object.defineProperty(n, r, { value: o, enumerable: !0, configurable: !0, writable: !0 }) : (n[r] = o), n), d.id, { explicitlySet: !0 }).catch(function (e) { var n = e.status, r = e.message; M.fireEvent({ event: { subcategory: "read-unread", subtype: "error", type: "render", error_code: n, error_type: r, error_desc: t ? "comment-metadata-failed-to-read" : "comment-metadata-failed-to-unread" } }); })); }, [d.id, M, a.id, D] ), U = (0, z.useCallback)( function (e) { h ? g((0, oe.Xq)(d.id, a.id)) : (y(e, a, { idForLookup: l }), c()), M.fireEvent({ event: { context_guid: l, subcategory: "edit-comment", subtype: "edit", type: "click" }, content: { parent_id: a.id } }); }, [d.id, M, a, h, g, y, c, l] ), H = (0, z.useCallback)( function () { M.fireEvent({ event: { context_guid: l, subcategory: l ? "delete-reply" : "delete-comment", subtype: "delete", type: "click" } }), g((0, oe.e1)(d.id, a.id, l)); }, [d.id, M, a.id, g, l] ), G = L({ id: s ? "comments.item.unresolve" : "comments.item.resolve" }), W = !!a.repliesOpen && (null === (t = a.replies) || void 0 === t ? void 0 : t.length) >= 1, Q = V().createElement( "div", { className: "external-content-wrapper" }, N.resolve ? V().createElement( V().Fragment, null, V().createElement(ge, { "aria-label": G, className: "resolve-button", "data-testid": "resolve", disabled: m, icon: V().createElement(sn, { key: "resolve-icon-".concat(a.id) }), onClick: function (e) { B(e, !0); }, onMouseDown: function (e) { P(e); }, variant: "tool", }), A.id === f.id && W && V().createElement(cn.SF, { checkCurrentCoachMarkData: function (e) { return e.commentId === a.id; }, name: "resolveComment", placement: "bottom right", selector: (0, cn.SN)(a.id), }) ) : null, N.unresolve ? V().createElement(ge, { "aria-label": G, className: "unresolve-button", "data-testid": "unresolve", disabled: m, icon: V().createElement(rn, { key: "unresolve-icon-".concat(a.id) }), onClick: function (e) { B(e, !1); }, onMouseDown: function (e) { P(e); }, variant: "tool", }) : null ); return ( v || (Q = V().createElement(_t, { crossOffset: F ? 0 : -100, placement: "bottom", trigger: "hover" }, Q, V().createElement(It, { style: { pointerEvents: "none", alignItems: "stretch" } }, G))), V().createElement( V().Fragment, null, V().createElement(Io, { pinNum: a.pinNum, annotationType: a.annotationType, strokeColor: null === (n = a.target) || void 0 === n || null === (r = n.selector) || void 0 === r ? void 0 : r.strokeColor, visible: !l }), V().createElement( "div", { className: "comment-item-dropdown-wrapper" }, x && !h && Q, F || (h && (N.resolve || N.unresolve)) ? V().createElement( Pt, { alignRight: !0, "aria-label": L({ id: "comments.arialabel.button.dropdownMenu" }), className: "comment-item-dropdown-button", "data-testid": "comment-item-dropdown-button", menuClassName: "comment-item-dropdown-menu", onMouseDown: j, quiet: !0, }, V().createElement(xo, { testId: "resolve", disabled: m, onClick: function (e) { B(e, !0); }, value: L({ id: "comments.item.resolve" }), visible: h && N.resolve, }), V().createElement(xo, { testId: "unresolve", disabled: m, onClick: function (e) { B(e, !1); }, value: L({ id: "comments.item.unresolve" }), visible: h && N.unresolve, }), V().createElement(xo, { testId: "mark-as-unread", disabled: m, onClick: function (e) { Z(e, !1); }, value: L({ id: "comments.item.mark_unread" }), visible: p && R.unread && !_, }), V().createElement(xo, { testId: "mark-as-read", disabled: m, onClick: function (e) { Z(e, !0); }, value: L({ id: "comments.item.mark_read" }), visible: p && R.unread && _, }), V().createElement(xo, { testId: "edit", disabled: m, onClick: U, value: L({ id: "comments.item.edit" }), visible: R.edit }), V().createElement(xo, { testId: "delete", disabled: m, onClick: H, value: L({ id: "comments.item.delete" }), visible: R.delete }) ) : null ) ) ); }; (xo.propTypes = { testId: G().string, disabled: G().bool, onClick: G().func, value: G().string, visible: G().bool }), (No.defaultProps = { isEditing: !1, isResolved: !1 }), (No.propTypes = { capabilities: G().object, comment: G().object, isEditing: G().bool, isResolved: G().bool, onEdit: G().func, parentCommentId: G().string }); const Ro = No; function Lo(e, t) { return ( (function (e) { if (Array.isArray(e)) return e; })(e) || (function (e, t) { var n = null == e ? null : ("undefined" != typeof Symbol && e[Symbol.iterator]) || e["@@iterator"]; if (null != n) { var r, o, a = [], i = !0, s = !1; try { for (n = n.call(e); !(i = (r = n.next()).done) && (a.push(r.value), !t || a.length !== t); i = !0); } catch (e) { (s = !0), (o = e); } finally { try { i || null == n.return || n.return(); } finally { if (s) throw o; } } return a; } })(e, t) || (function (e, t) { if (e) { if ("string" == typeof e) return Mo(e, t); var n = Object.prototype.toString.call(e).slice(8, -1); return "Object" === n && e.constructor && (n = e.constructor.name), "Map" === n || "Set" === n ? Array.from(e) : "Arguments" === n || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n) ? Mo(e, t) : void 0; } })(e, t) || (function () { throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); })() ); } function Mo(e, t) { (null == t || t > e.length) && (t = e.length); for (var n = 0, r = new Array(t); n < t; n++) r[n] = e[n]; return r; } var Po = ["#ccx-suggestion-list", ".comment-item-dropdown-button", ".reply-btn", ".textbox", ".reply-box-wrap", ".submit-button-container", ".footer-actions", ".external-content-wrapper"], jo = (0, z.forwardRef)(function (e, t) { var n, r = e.comment, o = e.hideHeader, a = e.parentCommentId, i = Lo((0, z.useState)(), 2), s = i[0], c = i[1], l = Lo((0, z.useState)(!1), 2), u = l[0], d = l[1], f = (0, z.useRef)(!0), m = (0, z.useContext)(re.ZP), h = m.assetData, v = m.compactLayout, y = m.enableReadUnread, g = m.latestMobileEnabled, b = m.isOffline, E = m.isVisible, D = m.touchControls, C = (0, z.useContext)(tt.ZP), w = C.onCommentSelect, S = C.onCommentHover, A = (0, $e.Z)(), k = A.clearIsReadLocally, _ = A.isRead, T = A.isReadLocally, I = A.setIsRead, O = A.setIsReadLocally, F = Xe(s).onKeyDown, x = (0, Ve.v9)(function (e) { return (0, Pr.Zv)(e); }) === r.id, N = (0, Ve.v9)(function (e) { return (0, Pr.AR)(e).selectedReplyId; }), R = (0, Ve.v9)(function (e) { return (0, Pr.AR)(e).selectedAnnotationId; }), L = (0, Ve.v9)(function (e) { return (0, Pr.kW)(e); }), M = (0, Ve.v9)(function (e) { return (0, Pr._X)(e, h.id); }).autoScroll, P = R === r.id || (g && N === r.id), j = _(r), B = T(r), Z = !D; (0, z.useEffect)( function () { if (u) { if (f.current) return void (f.current = !1); r.dirtyEdit = r.bodyValue; } }, [r, u] ); var U = Lo(ze({ root: document.querySelector("#".concat(An.Ls)), threshold: 0.75 }), 2), H = U[0], G = U[1], W = (0, z.useCallback)( function (e) { t && ((t.current = e), c(t.current)), H(e); }, [H, t] ); (0, z.useEffect)( function () { !y || !G || j || B || M ? j && B && k(r) : G && E && O(r, !0); }, [M, k, r, y, G, E, j, B, O] ); var Q = (0, z.useCallback)( function (e) { var t, n, o; Po.some(function (t) { return e.target.closest(t); }) ? (R && R !== r.id && w(e, {}), j || e.target.closest(".comment-item-dropdown-button") || I(((t = {}), (n = r.id), (o = { read: !0 }), n in t ? Object.defineProperty(t, n, { value: o, enumerable: !0, configurable: !0, writable: !0 }) : (t[n] = o), t), h.id, { overrideExplicitlySet: !0 }).catch(function ( e ) { return console.error("Failed to mark comment as read on click", e); })) : a || w(e, r); }, [h.id, r, w, a, j, R, I] ), J = (0, z.useCallback)( function (e) { S(e, r); }, [S, r] ); return V().createElement( "li", { className: X()("comment-li", p.default.component, { compact: v, highlight: ((x && !a) || L === r.id) && !v, "hovered-pin": x, "replies-open": r.repliesOpen, touch: D, selected: P }), onClick: Q, onMouseEnter: Z ? J : null, onMouseLeave: Z ? J : null, onKeyDown: F, ref: W, role: "listitem", tabIndex: "0", }, V().createElement( "div", { className: "comment-wrapper" }, !j && V().createElement("span", { className: "unread-container" }, V().createElement(ro, { isOffline: b })), !o && V().createElement( "div", { className: "header-row" }, V().createElement("div", { style: { flex: 1, width: "100%" } }, V().createElement("b", null, (null === (n = r.creator) || void 0 === n ? void 0 : n.name) || "Guest")), V().createElement(Ro, { comment: r, isEditing: u, onEdit: function () { d(!0); }, parentCommentId: a, }) ), u && V().createElement( "div", { onClick: function () { return d(!1); }, }, "Editing... (click to turn off)" ), V().createElement("div", null, r.bodyValue) ) ); }); (jo.defaultProps = { onScrollToComment: function () {} }), (jo.propTypes = { comment: G().object, hideFooter: G().bool, hideHeader: G().bool, onScrollToComment: G().func, parentCommentId: G().string }); const Bo = jo, Zo = (0, pe.Z)(n(52472)).default, Uo = (0, ue.Z)({ displayName: "UserAdd", fallback: Zo, swcLoader: void 0, swcProps: Ot.m, tagName: "sp-icon-user-add" }); var zo = function (e) { var t = e.children, n = e.className, r = e.testId; return V().createElement("div", { className: X()(f.default.component, n) }, V().createElement("div", { className: f.default.emptyStateContent, "data-testid": r }, t)); }; (zo.defultProps = { title: "", subtitle: "", illustration: void 0, children: void 0, testId: "empty-state" }), (zo.propTypes = { title: G().string, subtitle: G().string, illustration: G().node, children: G().node, className: G().string, testId: G().string }), ((zo.Title = function (e) { var t = e.children; return V().createElement("div", { className: f.default.emptyStateTitle }, t); }).displayName = "EmptyState.Title"), (zo.Title.propTypes = { children: G().node.isRequired }), ((zo.Illustration = function (e) { var t = e.children, n = e.className; return V().createElement("div", { className: X()(f.default.emptyStateIllustration, n) }, t); }).displayName = "EmptyState.Illustration"), (zo.Illustration.propTypes = { children: G().node.isRequired, className: G().string }), ((zo.OfflineIllustration = function (e) { var t = e.children, n = e.className; return V().createElement("div", { className: X()(f.default.offlineEmptyStateIllustration, n) }, t); }).displayName = "EmptyState.OfflineIllustration"), (zo.OfflineIllustration.propTypes = { children: G().node.isRequired, className: G().string }), ((zo.Subtitle = function (e) { var t = e.children, n = e.className; return V().createElement("div", { className: X()(f.default.emptyStateSubtitle, n) }, t); }).displayName = "EmptyState.Subtitle"), (zo.Subtitle.propTypes = { children: G().node.isRequired, className: G().string }); const Vo = zo; function Ho(e, t) { (null == t || t > e.length) && (t = e.length); for (var n = 0, r = new Array(t); n < t; n++) r[n] = e[n]; return r; } var Go = function () { return V().createElement( "svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 118 78", height: "79", width: "120" }, V().createElement( "g", null, V().createElement( "g", null, V().createElement( "g", null, V().createElement( "g", null, V().createElement( "g", null, V().createElement("path", { d: "M78.918,69.4209H43.9209a5.8028,5.8028,0,0,1-5.86035-5.73047V35.09961a1,1,0,0,1,2,0V63.69043A3.80141,3.80141,0,0,0,43.9209,67.4209H78.918a3.80141,3.80141,0,0,0,3.86035-3.73047V62.45215a1,1,0,0,1,2,0v1.23828A5.80281,5.80281,0,0,1,78.918,69.4209Z", }), V().createElement("path", { d: "M83.77832,42.18066a.99942.99942,0,0,1-1-1V26.17188a3.64548,3.64548,0,0,0-1.11719-2.62452l-8.248-8.05664A3.95648,3.95648,0,0,0,70.669,14.38428H52.78809a1,1,0,0,1,0-2H70.669a5.97226,5.97226,0,0,1,4.1416,1.67578l8.248,8.05664a5.62936,5.62936,0,0,1,1.71973,4.05518V41.18066A.99942.99942,0,0,1,83.77832,42.18066Z", }) ) ) ), V().createElement( "g", null, V().createElement( "g", null, V().createElement("path", { d: "M92.89062,58.71777a1.62756,1.62756,0,0,1-.84082-.23339L77.27539,49.59766a1.62967,1.62967,0,0,1,.31836-2.94043l23.96582-8.07373a1.00008,1.00008,0,0,1,1.22363,1.375L94.36328,57.78418h0a1.627,1.627,0,0,1-1.47266.93359Zm.56836-1.36035h0Zm-.90332-.42871-.001.002ZM78.99219,48.29688l13.7373,8.26269L99.9707,41.22949Z", }), V().createElement("path", { d: "M84.2666,59.20215a1.54176,1.54176,0,0,1-.54-.09863,1.51442,1.51442,0,0,1-.99218-1.43067V52.31641a1.00059,1.00059,0,0,1,.42382-.81739l18.14453-12.78515a1,1,0,1,1,1.15235,1.63476L84.73438,52.835v3.55859l.55957-.65429a.99949.99949,0,0,1,1.51953,1.29883L85.4209,58.669A1.52525,1.52525,0,0,1,84.2666,59.20215Z", }) ) ), V().createElement( "g", null, V().createElement( "g", null, V().createElement("path", { d: "M24.40039,20.50732c-.01562,0-.03027-.00048-.04492-.00146a5.2627,5.2627,0,1,1,.04883.00146Zm-.001-9.30566a3.90235,3.90235,0,0,0,.00391,7.80469l.02832.00049a3.90268,3.90268,0,0,0-.03223-7.80518Z", }), V().createElement("path", { d: "M21.17383,19.19238a.73236.73236,0,0,1-.1211-.00976.74969.74969,0,0,1-.62011-.85987A2.7438,2.7438,0,0,1,22.69824,16.105l.00488-.04394a3.1502,3.1502,0,0,1-.5498-1.73536,2.27287,2.27287,0,1,1,4.52051-.0083,3.19344,3.19344,0,0,1-.5752,1.752l.00293.02343a2.647,2.647,0,0,1,2.26856,2.24073.74985.74985,0,0,1-1.48438.21386c-.06054-.418-.35254-.93554-1.40527-1.02734a.86693.86693,0,0,1-.7334-.61621c-.00391-.01074-.38477-1.1167.05078-1.59863a1.6562,1.6562,0,0,0,.376-1.00928c0-.43848-.13379-.98633-.76856-.98633-.18554,0-.752,0-.752,1.00781a1.64376,1.64376,0,0,0,.373,1.01465c.41211.459.03125,1.56445.02734,1.5752a.85857.85857,0,0,1-.69824.61084c-1.12988.11474-1.38672.70312-1.44238,1.04394A.74983.74983,0,0,1,21.17383,19.19238Z", }), V().createElement("path", { d: "M39.167,32.26074a.99916.99916,0,0,1-.70019-.28613L30.27734,23.936H19.80176a4.68622,4.68622,0,0,1-4.68067-4.68116V11.252A4.68622,4.68622,0,0,1,19.80176,6.5708H45.08887A4.68706,4.68706,0,0,1,49.77051,11.252v8.00244A4.68716,4.68716,0,0,1,45.08887,23.936H40.167v7.3247a1.00095,1.00095,0,0,1-1,1ZM19.80176,8.5708A2.68362,2.68362,0,0,0,17.12109,11.252v8.00293A2.68362,2.68362,0,0,0,19.80176,21.936H30.68652a1.00058,1.00058,0,0,1,.7002.28613L38.167,28.87793V22.936a.99974.99974,0,0,1,1-1h5.92188a2.68487,2.68487,0,0,0,2.68164-2.68165V11.252A2.68445,2.68445,0,0,0,45.08887,8.5708Z", }), V().createElement("path", { d: "M43.96875,14.65869H32.98926a.75.75,0,0,1,0-1.5H43.96875a.75.75,0,0,1,0,1.5Z" }), V().createElement("path", { d: "M41.38477,17.604H32.98926a.75.75,0,0,1,0-1.5h8.39551a.75.75,0,0,1,0,1.5Z" }) ) ), V().createElement( "g", null, V().createElement("path", { d: "M55.26562,53.625a6.67041,6.67041,0,0,1-4.71874-11.38965l4.60449-4.604a6.66709,6.66709,0,0,1,11.33105,3.85693,1.0004,1.0004,0,1,1-1.98437.25586,4.67494,4.67494,0,0,0-7.93262-2.69873l-4.60449,4.604a4.67388,4.67388,0,0,0,6.60937,6.61036l2.85254-2.85254a.99989.99989,0,0,1,1.41406,1.41406l-2.85253,2.85254A6.65261,6.65261,0,0,1,55.26562,53.625Z", }), V().createElement("path", { d: "M62.57812,46.625a6.64633,6.64633,0,0,1-6.51757-5.25977.99962.99962,0,1,1,1.95507-.418,4.67587,4.67587,0,0,0,7.86719,2.31543l4.60449-4.604a4.67371,4.67371,0,0,0-6.60937-6.60986l-2.417,2.4165a.99989.99989,0,0,1-1.41406-1.41406l2.417-2.4165a6.67367,6.67367,0,0,1,9.4375,9.43847l-4.60449,4.60352A6.62684,6.62684,0,0,1,62.57812,46.625Z", }) ) ) ) ); }; const Wo = function () { var e, t, n; return ( ((t = (0, z.useState)(!1)), (n = 2), (function (e) { if (Array.isArray(e)) return e; })(t) || (function (e, t) { var n = null == e ? null : ("undefined" != typeof Symbol && e[Symbol.iterator]) || e["@@iterator"]; if (null != n) { var r, o, a = [], i = !0, s = !1; try { for (n = n.call(e); !(i = (r = n.next()).done) && (a.push(r.value), !t || a.length !== t); i = !0); } catch (e) { (s = !0), (o = e); } finally { try { i || null == n.return || n.return(); } finally { if (s) throw o; } } return a; } })(t, n) || (function (e, t) { if (e) { if ("string" == typeof e) return Ho(e, t); var n = Object.prototype.toString.call(e).slice(8, -1); return "Object" === n && e.constructor && (n = e.constructor.name), "Map" === n || "Set" === n ? Array.from(e) : "Arguments" === n || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n) ? Ho(e, t) : void 0; } })(t, n) || (function () { throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); })())[1], (0, z.useEffect)(function () {}, []), null !== (e = window.customElements) && void 0 !== e && e.get("ccx-comments-icon-unshared-illustration") ? V().createElement("ccx-comments-icon-unshared-illustration", null) : V().createElement(Go, null) ); }; function Qo(e, t) { (null == t || t > e.length) && (t = e.length); for (var n = 0, r = new Array(t); n < t; n++) r[n] = e[n]; return r; } var Jo = function (e) { var t = e.size; return V().createElement( "svg", { width: "M" === t ? 72 : 120, height: "M" === t ? 56 : 93, viewBox: "0 0 72 56", className: "ccx-comment-illustration" }, V().createElement("path", { d: "M44,18.75H19a.75.75,0,0,1,0-1.5H44a.75.75,0,0,1,0,1.5Z" }), V().createElement("path", { d: "M37,24.75H19a.75.75,0,0,1,0-1.5H37a.75.75,0,0,1,0,1.5Z" }), V().createElement("path", { d: "M23.00391,44.76465A2.00777,2.00777,0,0,1,21,42.7627V35H14a5.00588,5.00588,0,0,1-5-5V12a5.00588,5.00588,0,0,1,5-5H49a5.00588,5.00588,0,0,1,5,5V30a5.00588,5.00588,0,0,1-5,5H33.103l-8.65088,9.1377A1.99246,1.99246,0,0,1,23.00391,44.76465ZM14,9a3.00328,3.00328,0,0,0-3,3V30a3.00328,3.00328,0,0,0,3,3h8a.99974.99974,0,0,1,1,1v8.7627l8.94678-9.4502A1.00064,1.00064,0,0,1,32.67285,33H49a3.00328,3.00328,0,0,0,3-3V12a3.00328,3.00328,0,0,0-3-3Z", }), V().createElement("path", { d: "M47.99512,50.21582a1.98957,1.98957,0,0,1-1.46582-.64648L40.47559,43H32a6.9751,6.9751,0,0,1-2.334-.39941.99982.99982,0,0,1,.668-1.88477A4.97724,4.97724,0,0,0,32,41h8.91406a1.00164,1.00164,0,0,1,.73535.32227L48,48.21387V42a.99974.99974,0,0,1,1-1H59a3.00328,3.00328,0,0,0,3-3V24a3.00328,3.00328,0,0,0-3-3H56a1,1,0,0,1,0-2h3a5.00588,5.00588,0,0,1,5,5V38a5.00588,5.00588,0,0,1-5,5H50v5.21387a1.98808,1.98808,0,0,1-1.27246,1.86328A2.00831,2.00831,0,0,1,47.99512,50.21582Z", }) ); }, Yo = function (e) { var t, n, r, o = e.size; return ( ((n = (0, z.useState)(!1)), (r = 2), (function (e) { if (Array.isArray(e)) return e; })(n) || (function (e, t) { var n = null == e ? null : ("undefined" != typeof Symbol && e[Symbol.iterator]) || e["@@iterator"]; if (null != n) { var r, o, a = [], i = !0, s = !1; try { for (n = n.call(e); !(i = (r = n.next()).done) && (a.push(r.value), !t || a.length !== t); i = !0); } catch (e) { (s = !0), (o = e); } finally { try { i || null == n.return || n.return(); } finally { if (s) throw o; } } return a; } })(n, r) || (function (e, t) { if (e) { if ("string" == typeof e) return Qo(e, t); var n = Object.prototype.toString.call(e).slice(8, -1); return "Object" === n && e.constructor && (n = e.constructor.name), "Map" === n || "Set" === n ? Array.from(e) : "Arguments" === n || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n) ? Qo(e, t) : void 0; } })(n, r) || (function () { throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); })())[1], (0, z.useEffect)(function () {}, []), null !== (t = window.customElements) && void 0 !== t && t.get("ccx-comments-icon-comment-illustration") ? V().createElement("ccx-comments-icon-comment-illustration", { size: o }) : V().createElement(Jo, { size: o }) ); }; (Yo.propTypes = { size: G().string }), (Jo.propTypes = { size: G().string }); const qo = Yo; var Xo = function (e) { var t, n, r, o, a, i, s, c, l, u, d = e.onShare, p = (0, z.useContext)(re.ZP), f = p.assetData, h = f.reviewType, v = f.shareStatus, y = p.latestMobileEnabled, g = p.s4rEnabled, b = (0, Ne.Z)().formatMessage, E = (0, z.useCallback)( function () { d(); }, [d] ), D = !1; if (g && ["unshared", "unknown"].includes(v)) { var C = "cloudDoc" === h ? "cloud-doc" : "review"; (r = V().createElement(Wo, null)), (t = "comments.empty-state.with-asset.title"), (n = "comments.empty-state.with-asset.subtitle.".concat(C)), (D = !!d), (o = "empty-state-".concat(C)), (i = "comments-empty-state-cta-".concat(C)), (a = "comments.empty-state.with-asset.share.".concat(C)); } else "unshared" === v && "cloudDoc" === h ? ((r = V().createElement(Wo, null)), (t = "comments.empty-state.unshared.title"), (n = "comments.empty-state.unshared.subtitle"), (D = !!d), (o = "empty-state-cloud-unshared"), (i = "comments-empty-state-cta"), (a = "comments.empty-state.unshared.share"), (s = V().createElement(Uo, { style: { maxHeight: "100%" }, size: "M" }))) : ((r = V().createElement(qo, { size: "L" })), (t = "comments.empty-state.shared.title"), (n = "comments.empty-state.shared.subtitle"), (o = "empty-state")); return V().createElement( Vo, { testId: o }, V().createElement(Vo.Illustration, null, r), V().createElement(Vo.Title, null, V().createElement(ee.Z, { id: t })), V().createElement( Vo.Subtitle, { className: X()(((c = {}), (l = m.default.mobile), (u = y), l in c ? Object.defineProperty(c, l, { value: u, enumerable: !0, configurable: !0, writable: !0 }) : (c[l] = u), c)) }, V().createElement(ee.Z, { id: n }) ), D && V().createElement(ge, { className: m.default.commentsShareForReviewBtn, "data-testid": i, variant: "cta", onClick: E, icon: s, label: b({ id: a }) }) ); }; Xo.propTypes = { onShare: G().func }; const Ko = Xo, $o = function () { return V().createElement( Vo, null, V().createElement(Vo.Illustration, null, V().createElement(qo, { size: "L" })), V().createElement(Vo.Title, null, V().createElement(ee.Z, { id: "comments.empty-state.disabled.title" })), V().createElement(Vo.Subtitle, null, V().createElement(ee.Z, { id: "comments.empty-state.nocomment.subtitle" })) ); }, ea = function () { return V().createElement( Vo, { className: m.default.globalEmptyStateContent }, V().createElement(Vo.Illustration, { className: m.default.globalEmptyStateIllustration }, V().createElement(qo, { size: "M" })), V().createElement(Vo.Subtitle, null, V().createElement(ee.Z, { id: "comments.list.no-comments-active-node" })) ); }; function ta(e, t) { (null == t || t > e.length) && (t = e.length); for (var n = 0, r = new Array(t); n < t; n++) r[n] = e[n]; return r; } var na = function () { return V().createElement( "svg", { xmlns: "http://www.w3.org/2000/svg", width: "58.672", height: "67.168", viewBox: "0 0 58.672 67.168" }, V().createElement( "g", { transform: "translate(-29.663 -5.415)" }, V().createElement( "g", { id: "Group_296544", "data-name": "Group 296544" }, V().createElement("path", { id: "Path_883725", "data-name": "Path 883725", d: "M30.663,22.951a1,1,0,0,1-.707-1.707L45.492,5.708a1,1,0,0,1,1.414,1.414L31.37,22.658A.993.993,0,0,1,30.663,22.951Z", fill: "#b3b3b3" }), V().createElement("path", { id: "Path_883726", "data-name": "Path 883726", d: "M46.2,22.951a1,1,0,0,1-.707-.293L29.956,7.122A1,1,0,1,1,31.37,5.708L46.906,21.244a1,1,0,0,1-.707,1.707Z", fill: "#b3b3b3" }) ), V().createElement( "g", { id: "filter_lg_1_" }, V().createElement("path", { id: "Path_883727", "data-name": "Path 883727", d: "M55.693,72.583a2.716,2.716,0,0,1-2.714-2.711V45.358L39.446,28.5a1,1,0,1,1,1.56-1.252L54.76,44.38a1,1,0,0,1,.22.626V69.873a.708.708,0,0,0,1.223.486l6.235-6.609a3.58,3.58,0,0,0,.979-2.466V45.006a1,1,0,0,1,.2-.6l22.456-30a1.3,1.3,0,0,0-1.037-2.074H53.62a1,1,0,1,1,0-2H85.036a3.3,3.3,0,0,1,2.638,5.273L65.418,45.339V61.284a5.575,5.575,0,0,1-1.524,3.838l-6.235,6.609A2.7,2.7,0,0,1,55.693,72.583Z", fill: "#b3b3b3", }) ) ) ); }; const ra = function () { var e, t, n; return ( ((t = (0, z.useState)(!1)), (n = 2), (function (e) { if (Array.isArray(e)) return e; })(t) || (function (e, t) { var n = null == e ? null : ("undefined" != typeof Symbol && e[Symbol.iterator]) || e["@@iterator"]; if (null != n) { var r, o, a = [], i = !0, s = !1; try { for (n = n.call(e); !(i = (r = n.next()).done) && (a.push(r.value), !t || a.length !== t); i = !0); } catch (e) { (s = !0), (o = e); } finally { try { i || null == n.return || n.return(); } finally { if (s) throw o; } } return a; } })(t, n) || (function (e, t) { if (e) { if ("string" == typeof e) return ta(e, t); var n = Object.prototype.toString.call(e).slice(8, -1); return "Object" === n && e.constructor && (n = e.constructor.name), "Map" === n || "Set" === n ? Array.from(e) : "Arguments" === n || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n) ? ta(e, t) : void 0; } })(t, n) || (function () { throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); })())[1], (0, z.useEffect)(function () {}, []), null !== (e = window.customElements) && void 0 !== e && e.get("ccx-comments-icon-filter-illustration") ? V().createElement("ccx-comments-icon-filter-illustration", null) : V().createElement(na, null) ); }; var oa = function (e) { var t, n, r, o = e.allScreenCommentsOn, a = e.clearFilter; return V().createElement( Vo, { className: X()(h.default.component, ((t = {}), (n = h.default.globalEmptyStateContent), (r = o), n in t ? Object.defineProperty(t, n, { value: r, enumerable: !0, configurable: !0, writable: !0 }) : (t[n] = r), t)), testId: "no-filter-result", }, V().createElement(Vo.Illustration, null, V().createElement(ra, null)), V().createElement(Vo.Title, null, V().createElement(ee.Z, { id: "comments.list.no-filter-result-title" })), V().createElement(Vo.Subtitle, null, V().createElement(ee.Z, { id: "comments.list.no-filter-result-body" })), V().createElement(ge, { className: h.default.clearLink, id: "no-filter-result-clear-link", onClick: a }, V().createElement(ee.Z, { id: "comments.list.no-filter-result.clear" })) ); }; (oa.defaultProps = { allScreenCommentsOn: !1, clearFilter: function () {} }), (oa.propTypes = { allScreenCommentsOn: G().bool, clearFilter: G().func }); var aa = { clearFilter: se.ER }; const ia = (0, K.$j)(null, aa, void 0, { context: Ve.no })(oa); function sa(e, t) { var n = Object.keys(e); if (Object.getOwnPropertySymbols) { var r = Object.getOwnPropertySymbols(e); t && (r = r.filter(function (t) { return Object.getOwnPropertyDescriptor(e, t).enumerable; })), n.push.apply(n, r); } return n; } function ca(e) { for (var t = 1; t < arguments.length; t++) { var n = null != arguments[t] ? arguments[t] : {}; t % 2 ? sa(Object(n), !0).forEach(function (t) { la(e, t, n[t]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : sa(Object(n)).forEach(function (t) { Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t)); }); } return e; } function la(e, t, n) { return t in e ? Object.defineProperty(e, t, { value: n, enumerable: !0, configurable: !0, writable: !0 }) : (e[t] = n), e; } var ua = (0, z.memo)(function (e) { var t, n = e.ariaLabelledBy, r = e.closeButtonClicked, o = e.comments, a = e.emptyStateType, i = e.hideHeader, s = e.isFilterApplied, c = e.onHeightChange, l = e.selectedAnnotationId, u = e.showRefactoredComment, d = e.onShare, p = (0, z.useRef)({}), f = (0, z.useCallback)(function (e) { var t = arguments.length > 1 && void 0 !== arguments[1] ? arguments[1] : { behavior: "smooth", block: "center" }, n = p.current[e]; n && n.current && (0, Ae.Z)(n.current, ca(ca({}, t), {}, { scrollMode: "if-needed", boundary: n.current.getRootNode() instanceof ShadowRoot ? n.current.getRootNode().querySelector("#".concat(An.Ls)) : document.getElementById(An.Ls) })); }, []); switch (a) { case "disabledCommentCreation": t = V().createElement($o, null); break; case "global": t = V().createElement(ea, null); break; default: t = V().createElement(Ko, { onShare: d }); } return V().createElement( Oe, null, V().createElement( Se.TransitionGroup, { "aria-labelledby": n, role: "list", className: v.default.component, component: "ul", "data-testid": "comment-list" }, 0 === o.length ? V().createElement(Se.CSSTransition, { timeout: 0, exit: !1 }, s ? V().createElement(ia, { allScreenCommentsOn: "global" === a }) : t) : o.map(function (e) { var t = e.recentActivity === An.Uj; return ( p.current[e.id] || (p.current[e.id] = (0, z.createRef)()), V().createElement( Se.CSSTransition, { key: e.id, classNames: "fade", timeout: 500, onEnter: t ? function () { return f(e.id, { behavior: "auto" }); } : void 0, enter: !s, exit: !1, }, u ? V().createElement( V().Fragment, null, V().createElement(_o, { ref: p.current[e.id], closeButtonClicked: r, comment: e, hideHeader: i, onHeightChange: c, onScrollToComment: f, selectedAnnotationId: l }), V().createElement(Bo, { comment: e }) ) : V().createElement(_o, { ref: p.current[e.id], closeButtonClicked: r, comment: e, hideHeader: i, onHeightChange: c, onScrollToComment: f, selectedAnnotationId: l }) ) ); }) ) ); }); (ua.displayName = "BaseCommentList"), (ua.propTypes = { ariaLabelledBy: G().string, closeButtonClicked: G().bool, comments: G().array, emptyStateType: G().string, hideHeader: G().bool, isFilterApplied: G().bool, onHeightChange: G().func, onShare: G().func, selectedAnnotationId: G().string, showRefactoredComment: G().bool, }); const da = ua; var pa = (0, z.forwardRef)(function (e, t) { var n, r, o, a = (0, z.useRef)(), i = Xe(a.current).onKeyDown, s = e.id, c = e.title, l = e.subtitle, u = void 0 === l ? "" : l, d = e.sticky, p = e.onClick, f = void 0 === p ? function () {} : p, m = X()(y.default.component, ((n = {}), (o = d), (r = y.default.sticky) in n ? Object.defineProperty(n, r, { value: o, enumerable: !0, configurable: !0, writable: !0 }) : (n[r] = o), n)); return V().createElement( "h3", { ref: t, id: s, className: m }, V().createElement( "button", { ref: a, "aria-expanded": "true", className: y.default.headingButton, onClick: f, onKeyDown: i }, V().createElement("span", null, c), u && V().createElement("span", { className: y.default.subtitle }, u && ": ".concat(u)) ) ); }); pa.propTypes = { id: G().string, onClick: G().func, sticky: G().bool, subtitle: G().string, title: G().oneOfType([G().string, G().element]).isRequired }; const fa = pa; function ma(e, t, n) { return t in e ? Object.defineProperty(e, t, { value: n, enumerable: !0, configurable: !0, writable: !0 }) : (e[t] = n), e; } function ha(e, t) { (null == t || t > e.length) && (t = e.length); for (var n = 0, r = new Array(t); n < t; n++) r[n] = e[n]; return r; } var va = (0, z.forwardRef)(function (e, t) { var n, r, o, a = e.children, i = e.compactCommentingMode, s = e.disableActiveStyling, c = e.hideHeader, l = e.id, u = e.isActive, d = e.isEmpty, p = e.sectionId, f = e.onHeaderSelect, m = e.scrollTop, h = e.subtitle, v = e.title, y = (0, z.useRef)(), b = ((r = (0, z.useState)(!1)), (o = 2), (function (e) { if (Array.isArray(e)) return e; })(r) || (function (e, t) { var n = null == e ? null : ("undefined" != typeof Symbol && e[Symbol.iterator]) || e["@@iterator"]; if (null != n) { var r, o, a = [], i = !0, s = !1; try { for (n = n.call(e); !(i = (r = n.next()).done) && (a.push(r.value), !t || a.length !== t); i = !0); } catch (e) { (s = !0), (o = e); } finally { try { i || null == n.return || n.return(); } finally { if (s) throw o; } } return a; } })(r, o) || (function (e, t) { if (e) { if ("string" == typeof e) return ha(e, t); var n = Object.prototype.toString.call(e).slice(8, -1); return "Object" === n && e.constructor && (n = e.constructor.name), "Map" === n || "Set" === n ? Array.from(e) : "Arguments" === n || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n) ? ha(e, t) : void 0; } })(r, o) || (function () { throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); })()), E = b[0], D = b[1]; (0, z.useEffect)( function () { y && y.current && 0 !== y.current.offsetTop && y.current.offsetTop - 5 <= m ? D(!0) : D(!1); }, [i, m] ); var C = (0, z.useCallback)( function (e) { "Enter" === e.key && e.target === (null == t ? void 0 : t.current) && f(p); }, [p, f, t] ), w = (0, z.useCallback)( function () { f(p); }, [f, p] ), S = X()(g.default.component, (ma((n = {}), g.default.active, u && !s), ma(n, g.default.compactCommentingMode, i), ma(n, g.default.inactive, !u), n)); return d && !u ? null : V().createElement("section", { ref: t, "aria-disabled": !u, className: S, onKeyDown: C, "data-testid": l }, !i && !c && v && V().createElement(fa, { ref: y, id: l, title: v, subtitle: h, sticky: E, onClick: w }), a); }); (va.defaultProps = { onHeaderSelect: function () {} }), (va.propTypes = { children: G().node.isRequired, compactCommentingMode: G().bool, disableActiveStyling: G().bool, hideHeader: G().bool, id: G().string, isActive: G().bool, isEmpty: G().bool, sectionId: G().oneOfType([G().string, G().number]), onHeaderSelect: G().func, scrollTop: G().number, subtitle: G().string, title: G().oneOfType([G().string, G().element]), }); const ya = va; function ga(e, t) { (null == t || t > e.length) && (t = e.length); for (var n = 0, r = new Array(t); n < t; n++) r[n] = e[n]; return r; } var ba = function () { return V().createElement( "svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 118 78", height: "79", width: "120" }, V().createElement( "g", null, V().createElement( "g", null, V().createElement( "g", null, V().createElement("path", { d: "M83.93457,26.56982H41.771a1,1,0,0,1,0-2H83.93457a1,1,0,0,1,0,2Z" }), V().createElement("path", { d: "M67.06055,36.49756H41.771a1,1,0,0,1,0-2H67.06055a1,1,0,0,1,0,2Z" }), V().createElement("path", { d: "M48.50439,70.17383A2.69352,2.69352,0,0,1,45.811,67.48438V53.69824H33.31152a7.75858,7.75858,0,0,1-7.74951-7.75V43.70605a1,1,0,1,1,2,0v2.24219a5.756,5.756,0,0,0,5.74951,5.75H46.811a.99974.99974,0,0,1,1,1V67.48438a.68749.68749,0,0,0,1.18652.47265L64.09473,52.01074a1.00338,1.00338,0,0,1,.72656-.3125H92.37207a5.75608,5.75608,0,0,0,5.75-5.75v-30.374a5.756,5.756,0,0,0-5.75-5.74951H33.31152A5.75587,5.75587,0,0,0,27.562,15.57422V18.2959a1,1,0,1,1-2,0V15.57422a7.75847,7.75847,0,0,1,7.74951-7.74951H92.37207a7.75858,7.75858,0,0,1,7.75,7.74951v30.374a7.75868,7.75868,0,0,1-7.75,7.75H65.25195L50.4502,69.332A2.674,2.674,0,0,1,48.50439,70.17383Z", }) ), V().createElement( "g", null, V().createElement("path", { d: "M18.87842,39.56885a1,1,0,0,1-.707-1.707L33.70752,22.32568a.99989.99989,0,1,1,1.41406,1.41407L19.58545,39.27588A.99676.99676,0,0,1,18.87842,39.56885Z" }), V().createElement("path", { d: "M34.41455,39.56885a.99676.99676,0,0,1-.707-.293L18.17139,23.73975a.99989.99989,0,1,1,1.41406-1.41407L35.12158,37.86182a1,1,0,0,1-.707,1.707Z" }) ) ) ) ); }; const Ea = function () { var e, t, n; return ( ((t = (0, z.useState)(!1)), (n = 2), (function (e) { if (Array.isArray(e)) return e; })(t) || (function (e, t) { var n = null == e ? null : ("undefined" != typeof Symbol && e[Symbol.iterator]) || e["@@iterator"]; if (null != n) { var r, o, a = [], i = !0, s = !1; try { for (n = n.call(e); !(i = (r = n.next()).done) && (a.push(r.value), !t || a.length !== t); i = !0); } catch (e) { (s = !0), (o = e); } finally { try { i || null == n.return || n.return(); } finally { if (s) throw o; } } return a; } })(t, n) || (function (e, t) { if (e) { if ("string" == typeof e) return ga(e, t); var n = Object.prototype.toString.call(e).slice(8, -1); return "Object" === n && e.constructor && (n = e.constructor.name), "Map" === n || "Set" === n ? Array.from(e) : "Arguments" === n || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n) ? ga(e, t) : void 0; } })(t, n) || (function () { throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); })())[1], (0, z.useEffect)(function () {}, []), null !== (e = window.customElements) && void 0 !== e && e.get("ccx-comments-icon-error-illustration") ? V().createElement("ccx-comments-icon-error-illustration", null) : V().createElement(ba, null) ); }, Da = function () { var e = (0, z.useContext)(re.ZP), t = e.asset.setAsset, n = e.assetData, r = void 0 === n ? {} : n, o = e.latestMobileEnabled, a = (0, et.Z)().fetchComments, i = (0, z.useContext)(tt.ZP), s = i.onCommentsError, c = i.onErrorRetry, l = (0, z.useCallback)( function () { c(), a(r) .then(function (e) { t(e, { type: An.Ud.FETCHED }); }) .catch(function (e) { s({ assetId: r.id, sourceId: r.sourceId, statusCode: e.status, type: "retry" }), t(void 0, { type: An.Ud.ERROR, statusCode: e.status }); }); }, [r, a, s, c, t] ); return V().createElement( Vo, { className: b.default.component }, o ? V().createElement("div", null, V().createElement(Vo.OfflineIllustration, null, V().createElement(Ea, null)), V().createElement(Vo.Subtitle, null, V().createElement(ee.Z, { id: "comments.list.error" }))) : V().createElement("div", null, V().createElement(Vo.Illustration, null, V().createElement(Ea, null)), V().createElement(Vo.Title, null, V().createElement(ee.Z, { id: "comments.list.error" }))), V().createElement(ge, { onClick: l, "data-testid": "comments-error-state-primary" }, V().createElement(ee.Z, { id: "comments.list.error-retry" })) ); }; const Ca = (0, pe.Z)(n(77249)).default, wa = { S: "s", M: "m", L: "l" }, Sa = (0, ue.Z)({ displayName: "Wait", fallback: Ca, swcLoader: void 0, swcProps: (e) => { const { className: t, variant: n, value: r, indeterminate: o, size: a = "M" } = e, i = (function (e, t) { var n = {}; for (var r in e) Object.prototype.hasOwnProperty.call(e, r) && t.indexOf(r) < 0 && (n[r] = e[r]); if (null != e && "function" == typeof Object.getOwnPropertySymbols) { var o = 0; for (r = Object.getOwnPropertySymbols(e); o < r.length; o++) t.indexOf(r[o]) < 0 && Object.prototype.propertyIsEnumerable.call(e, r[o]) && (n[r[o]] = e[r[o]]); } return n; })(e, ["className", "variant", "value", "indeterminate", "size"]); return Object.assign(Object.assign(Object.assign({}, i), (0, de.cd)({ indeterminate: void 0 === r || o })), { class: t, progress: r, size: wa[a], static: n && "overBackground" === n ? "white" : void 0 }); }, tagName: "sp-progress-circle", }); var Aa = function (e) { var t = e.children, n = e.testId; return V().createElement("div", { className: "".concat(E.default.component), "data-testid": n }, V().createElement(Sa, null), V().createElement("div", { className: E.default.loadingMessage }, t)); }; (Aa.defaultProps = { children: void 0, testId: "loading" }), (Aa.propTypes = { children: G().node, testId: G().string }); const ka = Aa, _a = function () { var e = (0, Ke.Z)(); return ( (0, z.useEffect)(function () { e.fireEvent(e.events.commentsRenderEvent("offline")); }, []), V().createElement( Vo, { testId: "offline-empty-state" }, V().createElement(Vo.Illustration, null, V().createElement(Ea, null)), V().createElement(Vo.Title, null, V().createElement(ee.Z, { id: "comments.offline-empty-state.title" })), V().createElement(Vo.Subtitle, null, V().createElement(ee.Z, { id: "comments.offline-empty-state.subtitle" })) ) ); }, Ta = (0, pe.Z)(n(31142)).default, Ia = (0, ue.Z)({ displayName: "Info", fallback: Ta, swcLoader: void 0, swcProps: Ot.m, tagName: "sp-icon-info" }), Oa = function () { var e = (0, z.useContext)(re.ZP).latestMobileEnabled, t = (0, (0, Ne.Z)().formatMessage)({ id: "comments.list.unmapped_explanation" }); return V().createElement( "div", { className: D.default.component }, V().createElement(ee.Z, { id: "comments.list.unmapped" }), V().createElement( _t, { className: D.default.overlayTrigger, placement: "top", trigger: e ? "click" : "hover" }, V().createElement("div", { className: D.default.iconWrapper }, V().createElement(Ia, { style: { color: "var(--ccx-comments-badge-color)" }, className: D.default.icon, size: "S" })), V().createElement(Ht, { placement: "bottom", style: { maxWidth: "calc(var(--ccx-comments-panel-width) - var(--ccx-comments-margin-xl)", textWrap: "wrap" } }, t) ) ); }; var Fa = n(83896); const xa = function () { var e = (0, Ve.I0)(), t = (0, z.useContext)(re.ZP), n = t.assetData, r = t.globalCommentsToggle, o = t.groupBy, a = (0, z.useMemo)(Pr.K, []), i = (0, Ve.v9)(function (e) { return (0, Pr.fD)(e, { assetData: n }); }), s = (0, Ve.v9)(function (e) { return e["".concat(An.Bq, ":filter")].filterTime; }), c = (0, Ve.v9)(function (e) { return e["".concat(An.Bq, ":filter")].filterUsers; }), l = (0, Ve.v9)(function (e) { return e["".concat(An.Bq, ":filter")].showResolvedComments; }), u = (0, Ve.v9)(function (e) { return e["".concat(An.Bq, ":filter")].showUnreadComments; }), d = (0, Ve.v9)(function (e) { return 0 === a(e, { assetData: n, globalCommentsToggle: r, groupBy: o }).total.total; }), p = (0, z.useContext)(tt.ZP).onCommentSelect, f = s.length > 0 || c.length > 0 || l || u, m = (0, z.useCallback)( function (t, n) { switch (t) { case "status": e((0, se.Eu)()), p(); break; case "time": e((0, se.BS)(n)), p(); break; case "user": e((0, se.nv)(n)), p(); break; case "unread": e((0, se.wZ)()), p(); } }, [e, p] ), h = (0, z.useCallback)( function () { e((0, se.ER)()), p(); }, [e, p] ), v = (0, z.useMemo)( function () { return { status: l, time: s, user: c, unread: u }; }, [s, c, l, u] ), y = (0, z.useMemo)( function () { return { status: "resolved", time: ["today", "yesterday", "last7Days", "older"], users: i, unread: "unread" }; }, [i] ); return (0, z.useMemo)( function () { return { disabled: d, filterOptions: y, isFilterApplied: f, onFilterChange: m, onFilterClear: h, selectedFilters: v }; }, [d, y, f, m, h, v] ); }; function Na(e, t) { (null == t || t > e.length) && (t = e.length); for (var n = 0, r = new Array(t); n < t; n++) r[n] = e[n]; return r; } const Ra = function (e) { var t, n, r = ((t = (0, z.useState)(function () { return window.matchMedia(e).matches; })), (n = 2), (function (e) { if (Array.isArray(e)) return e; })(t) || (function (e, t) { var n = null == e ? null : ("undefined" != typeof Symbol && e[Symbol.iterator]) || e["@@iterator"]; if (null != n) { var r, o, a = [], i = !0, s = !1; try { for (n = n.call(e); !(i = (r = n.next()).done) && (a.push(r.value), !t || a.length !== t); i = !0); } catch (e) { (s = !0), (o = e); } finally { try { i || null == n.return || n.return(); } finally { if (s) throw o; } } return a; } })(t, n) || (function (e, t) { if (e) { if ("string" == typeof e) return Na(e, t); var n = Object.prototype.toString.call(e).slice(8, -1); return "Object" === n && e.constructor && (n = e.constructor.name), "Map" === n || "Set" === n ? Array.from(e) : "Arguments" === n || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n) ? Na(e, t) : void 0; } })(t, n) || (function () { throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); })()), o = r[0], a = r[1]; return ( (0, z.useEffect)( function () { var t, n = function (e) { return a(e.matches); }, r = window.matchMedia(e); return ( null === (t = r.addEventListener) || void 0 === t || t.call(r, "change", n), function () { var e; return null === (e = r.removeEventListener) || void 0 === e ? void 0 : e.call(r, "change", n); } ); }, [e] ), o ); }; function La(e, t) { var n = Object.keys(e); if (Object.getOwnPropertySymbols) { var r = Object.getOwnPropertySymbols(e); t && (r = r.filter(function (t) { return Object.getOwnPropertyDescriptor(e, t).enumerable; })), n.push.apply(n, r); } return n; } function Ma(e) { for (var t = 1; t < arguments.length; t++) { var n = null != arguments[t] ? arguments[t] : {}; t % 2 ? La(Object(n), !0).forEach(function (t) { Pa(e, t, n[t]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : La(Object(n)).forEach(function (t) { Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t)); }); } return e; } function Pa(e, t, n) { return t in e ? Object.defineProperty(e, t, { value: n, enumerable: !0, configurable: !0, writable: !0 }) : (e[t] = n), e; } function ja(e, t) { return ( (function (e) { if (Array.isArray(e)) return e; })(e) || (function (e, t) { var n = null == e ? null : ("undefined" != typeof Symbol && e[Symbol.iterator]) || e["@@iterator"]; if (null != n) { var r, o, a = [], i = !0, s = !1; try { for (n = n.call(e); !(i = (r = n.next()).done) && (a.push(r.value), !t || a.length !== t); i = !0); } catch (e) { (s = !0), (o = e); } finally { try { i || null == n.return || n.return(); } finally { if (s) throw o; } } return a; } })(e, t) || (function (e, t) { if (e) { if ("string" == typeof e) return Ba(e, t); var n = Object.prototype.toString.call(e).slice(8, -1); return "Object" === n && e.constructor && (n = e.constructor.name), "Map" === n || "Set" === n ? Array.from(e) : "Arguments" === n || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n) ? Ba(e, t) : void 0; } })(e, t) || (function () { throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); })() ); } function Ba(e, t) { (null == t || t > e.length) && (t = e.length); for (var n = 0, r = new Array(t); n < t; n++) r[n] = e[n]; return r; } var Za = function (e) { var t, n = e.activeSectionInputFocused, r = e.closeButtonClicked, o = e.commentListMinimized, a = e.hasError, i = e.isLoading, s = e.onHeightChange, c = e.onShare, l = e.selectedAnnotationId, u = (0, z.useContext)(re.ZP), d = u.assetData, p = u.disableCommentCreation, f = u.enableReadUnread, m = u.globalCommentsToggle, h = u.groupBy, v = u.isOffline, y = u.latestMobileEnabled, g = u.showRefactoredComment, b = (0, Ve.I0)(), E = Ra("(orientation: landscape)"), D = (0, Fa.Z)(), w = D.comments, S = D.hasUnmappedComments, A = xa(), k = A.isFilterApplied, _ = A.selectedFilters, T = (0, $e.Z)().hasUnreadComments, I = (0, Ve.v9)(function (e) { return (0, Pr._X)(e, d.id); }).fetchingMetadata, O = (0, Ke.Z)(), F = (0, z.useContext)(tt.ZP).onNodeChange, x = ja((0, z.useState)(0), 2), N = x[0], R = x[1], L = ja((0, z.useState)(!1), 2), M = L[0], P = L[1], j = (0, z.useRef)(), B = (0, Hn.Z)(l), Z = (0, Hn.Z)(N), U = (0, Hn.Z)(I), H = (0, z.useRef)(0), G = ja((0, cn.p1)(), 2), W = G[0], J = G[1], Y = d.validNodes, q = void 0 === Y ? [] : Y, K = (d.validNodes.length > 1 || S) && m.isActive, $ = (0, z.useRef)(), te = (0, z.useCallback)( function () { R(j.current.scrollTop), $.current && clearTimeout($.current), ($.current = setTimeout(function () { return b((0, oe.lH)(d.id, !1)); }, 66)); }, [d.id, b] ); (0, z.useEffect)( function () { M || !U || I || P(!0); }, [I, M, U] ), (0, z.useEffect)( function () { !i && M && f && T(d.id) && O.fireEvent({ event: { subcategory: "read-unread", type: "render", subtype: "load" }, content: { id: d.id } }); }, [d.id, O, i, f, M] ), (0, z.useEffect)( function () { j.current && !i && y && (H.current = j.current.scrollHeight); }, [i, y] ), (0, z.useEffect)( function () { if (j.current) { var e = Math.round(Z * (j.current.scrollHeight / H.current)); (j.current.scrollTop = e), (H.current = j.current.scrollHeight); } }, [E] ), (0, z.useEffect)( function () { _.status && O.fireEvent({ event: { subcategory: "resolve", subtype: "resolved-comments", type: "render" } }); }, [O, _.status] ); var ne = (0, z.useMemo)( function () { var e = []; if ("node" === h) e = q.map(function (e) { var t; return ( (t = e.id === An.Qy ? w.filter(function (e) { return e.unmapped; }) : w.filter(function (t) { return Q()(t, "target.selector.node.id") === e.id; })), Ma(Ma({}, e), {}, { comments: t }) ); }); else { var t = w.reduce(function (e, t) { var n; return e[(n = t.unmapped ? An.Qy : An.lz)] || (e[n] = []), e[n].push(t), e; }, {}); e = [ { id: An.lz, comments: t[An.lz] || [] }, { id: An.Qy, comments: t[An.Qy] || [] }, ]; } return e; }, [w, h, q] ), ae = (0, z.useMemo)( function () { return q.reduce(function (e, t) { return (e[t.id] = (0, z.createRef)()), e; }, {}); }, [q] ); (0, z.useEffect)( function () { if ("node" === h) { var e, t = ae[d.nodeId]; if (i || null == t || !t.current) return; !d.isExternalNodeChange || (l && l !== B) || null === (e = t.current) || void 0 === e || e.scrollIntoView(); } }, [d.nodeId, d.isExternalNodeChange, h, i, k, ae] ); var ie = (0, z.useCallback)( function (e) { b((0, oe.lH)(d.id, !0)), ae[e].current.scrollIntoView({ behavior: "smooth" }), O.fireEvent({ event: { subcategory: "navigation", subtype: "switch-active-artboard", type: "click" } }), F(e); }, [d.id, O, b, F, ae] ); if (v && (i || a)) return V().createElement(_a, null); if (i) return V().createElement(ka, { testId: "loading" }, V().createElement(ee.Z, { id: "comments.list.loading" })); if (a) return V().createElement(Da, null); if (k && 0 === w.length) return V().createElement(ia, null); var se, ce = X()(C.default.component, (Pa((t = {}), C.default.preventScroll, W), Pa(t, C.default.minimized, o), Pa(t, C.default.compactInputFocused, n), t)), le = 1 === ne.filter(function (e) { return e.id !== An.Qy; }).length; return ( (se = p ? "disabledCommentCreation" : "normal"), V().createElement( "div", { "data-testid": "comment-list-heading", "aria-labelledby": "comment-list-heading", ref: j, id: An.Ls, className: ce, onScroll: te, onWheel: J }, V().createElement(we, { id: "comment-list-heading", element: "h2", focusable: !1 }, V().createElement(ee.Z, { id: "comments.sections.commentList" })), K && w.length ? V().createElement( Oe, null, ne.map(function (e) { var t = e.id, o = e.title, a = e.subtitle, i = e.comments; return V().createElement( ya, { key: t, ref: ae[t], compactCommentingMode: n, disableActiveStyling: le, hideHeader: le && t !== An.Qy, id: "section--".concat(t), isActive: "node" === h ? t === d.nodeId : t !== An.Qy, isEmpty: 0 === i.length, sectionId: t, onHeaderSelect: ie, scrollTop: N, subtitle: a, title: t !== An.Qy ? o : V().createElement(Oa, null), }, V().createElement(da, { ariaLabelledBy: "section--".concat(t), closeButtonClicked: r, comments: i, emptyStateType: "global", hideHeader: le && t !== An.Qy, isFilterApplied: k, onHeightChange: s, onShare: c, selectedAnnotationId: l, showRefactoredComment: g, }) ); }) ) : V().createElement(da, { closeButtonClicked: r, comments: w, emptyStateType: se, hideHeader: !0, isFilterApplied: k, onHeightChange: s, onShare: c, selectedAnnotationId: l }) ) ); }; (Za.defaultProps = {}), (Za.propTypes = { activeSectionInputFocused: G().bool, closeButtonClicked: G().bool, commentListMinimized: G().bool, hasError: G().bool, isLoading: G().bool, onHeightChange: G().func, onShare: G().func, selectedAnnotationId: G().string, }); const Ua = Za; function za(e, t) { (null == t || t > e.length) && (t = e.length); for (var n = 0, r = new Array(t); n < t; n++) r[n] = e[n]; return r; } var Va = function (e) { var t, n, r = e.isOffline, o = ((t = (0, z.useState)(!1)), (n = 2), (function (e) { if (Array.isArray(e)) return e; })(t) || (function (e, t) { var n = null == e ? null : ("undefined" != typeof Symbol && e[Symbol.iterator]) || e["@@iterator"]; if (null != n) { var r, o, a = [], i = !0, s = !1; try { for (n = n.call(e); !(i = (r = n.next()).done) && (a.push(r.value), !t || a.length !== t); i = !0); } catch (e) { (s = !0), (o = e); } finally { try { i || null == n.return || n.return(); } finally { if (s) throw o; } } return a; } })(t, n) || (function (e, t) { if (e) { if ("string" == typeof e) return za(e, t); var n = Object.prototype.toString.call(e).slice(8, -1); return "Object" === n && e.constructor && (n = e.constructor.name), "Map" === n || "Set" === n ? Array.from(e) : "Arguments" === n || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n) ? za(e, t) : void 0; } })(t, n) || (function () { throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); })()), a = o[0], i = o[1], s = (0, z.useCallback)(function () { i(!1); }, []); return ( (0, z.useEffect)( function () { i(!!r); }, [r] ), a ? V().createElement(Ee, { closable: !0, onClose: s, "data-test": "offline-toast" }, V().createElement(ee.Z, { id: "comments.offline-empty-state.toast.message" })) : null ); }; (Va.defaultProps = { isOffline: !1 }), (Va.propTypes = { isOffline: G().bool }); const Ha = Va; var Ga = function (e) { var t = e.onAction, n = e.onClose, r = e.resolved, o = e.visible, a = (0, Ne.Z)().formatMessage; return o ? V().createElement( Ee, { actionLabel: a({ id: "comments.resolve.toast.undo" }), closable: !0, "data-testid": "resolve-toast", onAction: t, onClose: n, variant: "info" }, V().createElement(ee.Z, { id: r ? "comments.resolve.toast.resolved" : "comments.resolve.toast.unresolved" }) ) : null; }; (Ga.defaultProps = { onAction: function () {}, onClose: function () {}, resolved: !1, visible: !1 }), (Ga.propTypes = { onAction: G().func, onClose: G().func, resolved: G().bool, visible: G().bool }); const Wa = Ga; function Qa(e, t) { (null == t || t > e.length) && (t = e.length); for (var n = 0, r = new Array(t); n < t; n++) r[n] = e[n]; return r; } var Ja = function (e) { var t; return V().createElement( "svg", { xmlns: "http://www.w3.org/2000/svg", width: "51", height: "58" }, V().createElement("title", null, null === (t = e.intl) || void 0 === t ? void 0 : t.formatMessage({ id: "comments.svg-title.frame-logo" })), V().createElement("path", { d: "M4.807 29c0 8.566-1.586 16.797-4.566 24.31-.145.383-.241.814-.241 1.244C0 56.326 1.395 58 3.365 58c1.25 0 2.451-.766 2.932-1.962A74.12 74.12 0 0 0 11.393 29 74.12 74.12 0 0 0 6.297 1.96C5.817.766 4.614 0 3.365 0 1.394 0 0 1.674 0 3.446c0 .43.096.86.24 1.244C3.22 12.202 4.808 20.435 4.808 29ZM17.977 29c0 6.268-.72 12.394-2.066 18.232v-.002c-.049.24-.097.527-.097.767 0 1.819 1.443 3.446 3.365 3.446a3.176 3.176 0 0 0 3.077-2.441 85.712 85.712 0 0 0 2.355-20.004c0-6.89-.817-13.59-2.355-20.002a3.177 3.177 0 0 0-3.077-2.44c-1.922 0-3.365 1.578-3.365 3.397 0 .24.048.526.097.766a82.053 82.053 0 0 1 2.066 18.28Z", }), V().createElement("path", { fillRule: "evenodd", d: "M31.197 28.998c0-3.014-.145-5.933-.433-8.852-.192-2.01 1.346-3.733 3.317-3.733 1.682 0 3.077 1.244 3.221 2.871.336 3.207.481 6.413.481 9.714 0 3.302-.144 6.508-.48 9.715-.145 1.627-1.539 2.87-3.222 2.87-1.97 0-3.509-1.77-3.317-3.732.288-2.92.432-5.886.433-8.853Zm0 0V29v-.003.001Z", clipRule: "evenodd", }), V().createElement("path", { d: "M50.039 31.296A3.298 3.298 0 0 0 51 29c0-.861-.336-1.722-.961-2.345l-1.923-1.866a2.186 2.186 0 0 0-1.538-.622c-1.105 0-2.21.861-2.21 2.201v5.264c0 1.339 1.105 2.2 2.21 2.2.53 0 1.106-.191 1.538-.622l1.923-1.914Z", }) ); }, Ya = function (e) { var t, n, r; return ( ((n = (0, z.useState)(!1)), (r = 2), (function (e) { if (Array.isArray(e)) return e; })(n) || (function (e, t) { var n = null == e ? null : ("undefined" != typeof Symbol && e[Symbol.iterator]) || e["@@iterator"]; if (null != n) { var r, o, a = [], i = !0, s = !1; try { for (n = n.call(e); !(i = (r = n.next()).done) && (a.push(r.value), !t || a.length !== t); i = !0); } catch (e) { (s = !0), (o = e); } finally { try { i || null == n.return || n.return(); } finally { if (s) throw o; } } return a; } })(n, r) || (function (e, t) { if (e) { if ("string" == typeof e) return Qa(e, t); var n = Object.prototype.toString.call(e).slice(8, -1); return "Object" === n && e.constructor && (n = e.constructor.name), "Map" === n || "Set" === n ? Array.from(e) : "Arguments" === n || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n) ? Qa(e, t) : void 0; } })(n, r) || (function () { throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); })())[1], (0, z.useEffect)(function () {}, []), null !== (t = window.customElements) && void 0 !== t && t.get("ccx-comments-icon-frame-illustration") ? V().createElement("ccx-comments-icon-frame-illustration", null) : V().createElement(Ja, { intl: e.intl }) ); }; (Ya.propTypes = { intl: G().object }), (Ja.propTypes = { intl: G().object }); const qa = Ya; var Xa = n(56841), Ka = function (e) { var t = e.onFrameLinkClick, n = (0, Ne.Z)(), r = (0, Ke.Z)().fireEvent, o = (0, z.useContext)(re.ZP).backgroundModeEnabled; return ( (0, z.useEffect)(function () { r(Xa.Z.commentsRenderEventHelper("frameReview", o)); }, []), V().createElement( Vo, { className: "frame-empty-state", testId: "empty-state-s4r-frame" }, V().createElement(Vo.Illustration, null, V().createElement(qa, { intl: n })), V().createElement(Vo.Title, null, n.formatMessage({ id: "comments.asset-empty-state.s4r.artifact.frame-title" })), V().createElement(ge, { className: m.default.commentsShareForReviewBtn, "data-testid": "frame-cta", variant: "cta", onClick: t }, n.formatMessage({ id: "comments.asset-empty-state.s4r.artifact.frame" })) ) ); }; (Ka.defaultProps = { onFrameLinkClick: function () {} }), (Ka.propTypes = { onFrameLinkClick: G().func }); const $a = Ka; var ei = function (e) { var t, n, r, o = e.activeSectionInputFocused, a = e.assetData, i = e.clearLastResolved, s = e.closeButtonClicked, c = e.commentListMinimized, l = e.enableFrameS4R, u = e.guestLoginToast, d = e.hasError, p = e.isLoading, f = void 0 === p || p, m = e.isOffline, h = e.lastResolvedCommentData, v = e.onHeightChange, y = e.onShare, g = e.onToastClose, b = e.selectedAnnotationId, E = e.undoLastResolvedAction, D = e.urlCopied, C = e.setUrlCopied, S = (0, z.useContext)(tt.ZP).onUrlOpen, A = (0, z.useCallback)( function () { return C(!1); }, [C] ), k = (0, z.useCallback)( function () { return i(null == h ? void 0 : h.assetId); }, [i, h] ), _ = (0, z.useCallback)( function () { E(), k(); }, [E, k] ), T = (0, z.useCallback)( function (e) { return null == e || e.preventDefault(), S ? S(a.shortUrl) : window.open(a.shortUrl, "_blank"); }, [a.shortUrl, S] ); return ( (0, z.useEffect)( function () { u && "success" === u.toastType && setTimeout(g, An.Lg); }, [u, g] ), (0, z.useEffect)( function () { D && setTimeout(A, An.Lg); }, [A, C, D] ), (0, z.useEffect)( function () { var e; return ( h && (e = setTimeout(function () { return i(h.assetId); }, An.Lg)), function () { return clearTimeout(e); } ); }, [h, i] ), V().createElement( "div", { className: X()(w.default.component, ((t = {}), (n = w.default.compactInputFocused), (r = o), n in t ? Object.defineProperty(t, n, { value: r, enumerable: !0, configurable: !0, writable: !0 }) : (t[n] = r), t)) }, l && a.isFrameArtifact ? V().createElement($a, { onFrameLinkClick: T }) : V().createElement(Ua, { activeSectionInputFocused: o, closeButtonClicked: s, commentListMinimized: c, hasError: d, isLoading: f, onHeightChange: v, onShare: y, selectedAnnotationId: b }), V().createElement( "div", { className: w.default.toastContainer }, u && V().createElement(Ee, { "data-testid": "guest-toast", closable: !0, onClose: g, variant: u.toastType }, V().createElement(ee.Z, { id: u.toastMessageId })), V().createElement(Ha, { isOffline: m }), V().createElement(Wa, { onAction: _, onClose: k, resolved: "resolved" === (null == h ? void 0 : h.newStatus), visible: !!h }), D && V().createElement(Ee, { "data-testid": "url-copy-toast", closable: !0, onClose: A, variant: "success" }, V().createElement(ee.Z, { id: "comments.shareLink.copied" })) ) ) ); }; (ei.defaultProps = { assetData: { shortUrl: "", isFrameArtifact: !1 } }), (ei.propTypes = { activeSectionInputFocused: G().bool, assetData: G().shape({ shortUrl: G().string, isFrameArtifact: G().bool }), clearLastResolved: G().func, closeButtonClicked: G().bool, commentListMinimized: G().bool, enableFrameS4R: G().bool, guestLoginToast: G().object, hasError: G().bool, isLoading: G().bool, isOffline: G().bool, lastResolvedCommentData: G().shape({ assetId: G().string, commentId: G().string, newStatus: G().string }), onHeightChange: G().func, onShare: G().func, onToastClose: G().func, selectedAnnotationId: G().string, undoLastResolvedAction: G().func, urlCopied: G().bool, setUrlCopied: G().func, }); const ti = ei; var ni = n(94055); function ri(e) { return ( (ri = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (e) { return typeof e; } : function (e) { return e && "function" == typeof Symbol && e.constructor === Symbol && e !== Symbol.prototype ? "symbol" : typeof e; }), ri(e) ); } function oi(e, t) { for (var n = 0; n < t.length; n++) { var r = t[n]; (r.enumerable = r.enumerable || !1), (r.configurable = !0), "value" in r && (r.writable = !0), Object.defineProperty(e, r.key, r); } } function ai(e, t) { return ( (ai = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function (e, t) { return (e.__proto__ = t), e; }), ai(e, t) ); } function ii(e) { if (void 0 === e) throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); return e; } function si(e) { return ( (si = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function (e) { return e.__proto__ || Object.getPrototypeOf(e); }), si(e) ); } function ci(e, t) { var n = Object.keys(e); if (Object.getOwnPropertySymbols) { var r = Object.getOwnPropertySymbols(e); t && (r = r.filter(function (t) { return Object.getOwnPropertyDescriptor(e, t).enumerable; })), n.push.apply(n, r); } return n; } function li(e) { for (var t = 1; t < arguments.length; t++) { var n = null != arguments[t] ? arguments[t] : {}; t % 2 ? ci(Object(n), !0).forEach(function (t) { ui(e, t, n[t]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : ci(Object(n)).forEach(function (t) { Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t)); }); } return e; } function ui(e, t, n) { return t in e ? Object.defineProperty(e, t, { value: n, enumerable: !0, configurable: !0, writable: !0 }) : (e[t] = n), e; } function di(e, t) { (null == t || t > e.length) && (t = e.length); for (var n = 0, r = new Array(t); n < t; n++) r[n] = e[n]; return r; } var pi = function (e) { var t, n, r = e.annotationColor, o = e.hex, a = e.label, i = e.name, s = e.onClick, c = e.onKeyDown, l = ((t = (0, z.useState)(!1)), (n = 2), (function (e) { if (Array.isArray(e)) return e; })(t) || (function (e, t) { var n = null == e ? null : ("undefined" != typeof Symbol && e[Symbol.iterator]) || e["@@iterator"]; if (null != n) { var r, o, a = [], i = !0, s = !1; try { for (n = n.call(e); !(i = (r = n.next()).done) && (a.push(r.value), !t || a.length !== t); i = !0); } catch (e) { (s = !0), (o = e); } finally { try { i || null == n.return || n.return(); } finally { if (s) throw o; } } return a; } })(t, n) || (function (e, t) { if (e) { if ("string" == typeof e) return di(e, t); var n = Object.prototype.toString.call(e).slice(8, -1); return "Object" === n && e.constructor && (n = e.constructor.name), "Map" === n || "Set" === n ? Array.from(e) : "Arguments" === n || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n) ? di(e, t) : void 0; } })(t, n) || (function () { throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); })()), u = l[0], d = l[1], p = { backgroundColor: o, border: "none", cursor: "pointer", display: "inline-block", height: "25px", outline: "none", padding: 0, width: "25px" }; return ( (u || o === r) && (p = li(li({}, p), {}, { boxShadow: "rgba(0, 0, 0, 0.25) 0 0 5px 2px", outline: "#fff solid 2px", position: "relative", zIndex: 2 })), V().createElement("button", { "aria-label": a, "data-color": o, "data-testid": "annotation-color-option-".concat(i), style: p, onClick: function () { return s(o); }, onKeyDown: c, onBlur: function () { return d(!1); }, onFocus: function () { return d(!0); }, onMouseEnter: function () { return d(!0); }, onMouseLeave: function () { return d(!1); }, tabIndex: o === r ? 0 : -1, }) ); }; (pi.defaultProps = { onClick: function () {}, onKeyDown: function () {} }), (pi.propTypes = { annotationColor: G().string, hex: G().string, label: G().string, name: G().string, onClick: G().func, onKeyDown: G().func }); var fi = (function (e) { !(function (e, t) { if ("function" != typeof t && null !== t) throw new TypeError("Super expression must either be null or a function"); (e.prototype = Object.create(t && t.prototype, { constructor: { value: e, writable: !0, configurable: !0 } })), Object.defineProperty(e, "prototype", { writable: !1 }), t && ai(e, t); })(i, e); var t, n, r, o, a = ((r = i), (o = (function () { if ("undefined" == typeof Reflect || !Reflect.construct) return !1; if (Reflect.construct.sham) return !1; if ("function" == typeof Proxy) return !0; try { return Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})), !0; } catch (e) { return !1; } })()), function () { var e, t = si(r); if (o) { var n = si(this).constructor; e = Reflect.construct(t, arguments, n); } else e = t.apply(this, arguments); return (function (e, t) { if (t && ("object" === ri(t) || "function" == typeof t)) return t; if (void 0 !== t) throw new TypeError("Derived constructors may only return object or undefined"); return ii(e); })(this, e); }); function i(e) { var t; return ( (function (e, t) { if (!(e instanceof t)) throw new TypeError("Cannot call a class as a function"); })(this, i), ui(ii((t = a.call(this, e))), "handleKeyDown", function (e) { "Tab" === e.key && Fe(t.colorPickerDivRef, e); }), (t.state = { calculatePosition: !0 }), (t.handleOverlayTriggerRef = t.handleOverlayTriggerRef.bind(ii(t))), (t.handleColorPickerButtonRef = t.handleColorPickerButtonRef.bind(ii(t))), (t.handleColorPickerDivRef = t.handleColorPickerDivRef.bind(ii(t))), (t.handleColorSelection = t.handleColorSelection.bind(ii(t))), (t.handleOverlayShow = t.handleOverlayShow.bind(ii(t))), (t.handleComponentRef = t.handleComponentRef.bind(ii(t))), t ); } return ( (t = i), (n = [ { key: "handleComponentRef", value: function (e) { this.componentRef = e; }, }, { key: "handleOverlayTriggerRef", value: function (e) { this.overlayTriggerRef = e; }, }, { key: "handleColorPickerButtonRef", value: function (e) { this.colorPickerButtonRef = e; }, }, { key: "handleColorPickerDivRef", value: function (e) { this.colorPickerDivRef = e; }, }, { key: "componentDidUpdate", value: function (e) { var t = this.props.annotationTypes; !lr()(t, e.annotationTypes) && this.setState({ calculatePosition: !0 }); }, }, { key: "handleOverlayShow", value: function () { var e = this; requestAnimationFrame(function () { var t, n = e.props.annotationColor, r = e.state.calculatePosition, o = document.getElementById(null === (t = e.overlayTriggerRef) || void 0 === t ? void 0 : t.overlayId); if (o) { if (r) { var a, i = e.componentRef.getBoundingClientRect(), s = i.left + i.width, c = o.getBoundingClientRect(), l = c.left + c.width, u = { calculatePosition: !1 }; l > s ? ((u.overlayOffset = s - l), (a = function () { e.overlayTriggerRef.hide(), requestAnimationFrame(function () { return e.overlayTriggerRef.show(); }); })) : (u.overlayOffset = void 0), e.setState(u, a); } var d = o.querySelector('[data-color="'.concat(n, '"]')); d && d.focus(); } }); }, }, { key: "handleColorSelection", value: function (e) { var t = this.props, n = t.onColorChange, r = t.saveAnnotationColor; this.colorPickerButtonRef.click(), r(e), n(e); }, }, { key: "render", value: function () { var e = this, t = this.props, n = t.annotationColor, r = t.annotationTypes, o = t.intl, a = t.isAnnotating, i = t.disabled, s = t.onAnnotationClick, c = t.newAnnotationType, l = t.touchControls, u = t.compactLayout, d = this.state.overlayOffset, p = []; if (!0 === r.pin) { var f = "pin" === c, m = o.formatMessage({ id: "comments.textarea_input.pin.tooltip" }); p.push( V().createElement( "div", { className: "annotation-tool-wrapper", key: "pin-tool" }, l ? V().createElement(ge, { "aria-label": m, "data-annotation-button": !0, "data-test": "pin-button", id: "annotation-pin-button", variant: "tool", selected: a && f, disabled: i || (a && !f), icon: V().createElement(En.Z, null), onMouseDown: u ? void 0 : function (e) { return s(e, "pin"); }, onClick: u ? function (e) { return s(e, "pin"); } : void 0, }) : V().createElement(Kn, { "aria-label": m, id: "annotation-pin-button", placement: "bottom", "data-annotation-button": !0, "data-test": "pin-button", selected: a && f, disabled: i || (a && !f), icon: V().createElement(En.Z, null), tooltip: m, onClick: function (e) { return s(e, "pin"); }, }) ) ); } if (!0 === r.highlight) { var h = "highlight" === c, v = o.formatMessage({ id: "comments.textarea_input.highlight.tooltip" }); p.push( V().createElement( "div", { className: "annotation-tool-wrapper", key: "highlight-tool" }, l ? V().createElement(ge, { "aria-label": v, "data-annotation-button": !0, "data-test": "highlight-button", variant: "tool", selected: a && h, disabled: i || (a && !h), icon: V().createElement(Xr.Z, { size: "S" }), onMouseDown: function (e) { return s(e, "highlight"); }, }) : V().createElement(Kn, { "aria-label": v, placement: "bottom", "data-annotation-button": !0, "data-test": "highlight-button", selected: a && h, disabled: i || (a && !h), icon: V().createElement(Xr.Z, { size: "S" }), tooltip: v, onClick: function (e) { return s(e, "highlight"); }, }) ) ); } if (!0 === r.strikethrough) { var y = "strikethrough" === c, g = o.formatMessage({ id: "comments.textarea_input.strikethrough.tooltip" }); p.push( V().createElement( "div", { className: "annotation-tool-wrapper", key: "strikethrough-tool" }, l ? V().createElement(ge, { "aria-label": g, "data-annotation-button": !0, "data-test": "strikethrough-button", variant: "tool", selected: a && y, disabled: i || (a && !y), icon: V().createElement(qr.Z, null), onMouseDown: function (e) { return s(e, "strikethrough"); }, }) : V().createElement(Kn, { "aria-label": g, placement: "bottom", "data-annotation-button": !0, "data-test": "strikethrough-button", selected: a && y, disabled: i || (a && !y), icon: V().createElement(qr.Z, null), tooltip: g, onClick: function (e) { return s(e, "strikethrough"); }, }) ) ); } if (!0 === r.insert) { var b = "insert" === c, E = o.formatMessage({ id: "comments.textarea_input.insert.tooltip" }); p.push( V().createElement( "div", { className: "annotation-tool-wrapper", key: "insert-tool" }, l ? V().createElement(ge, { "aria-label": E, "data-annotation-button": !0, "data-test": "insert-button", variant: "tool", selected: a && b, disabled: i || (a && !b), icon: V().createElement(Kr.Z, { size: "S" }), onMouseDown: function (e) { return s(e, "insert"); }, }) : V().createElement(Kn, { "aria-label": E, placement: "bottom", "data-annotation-button": !0, "data-test": "insert-button", selected: a && b, disabled: i || (a && !b), icon: V().createElement(Kr.Z, { size: "S" }), tooltip: E, onClick: function (e) { return s(e, "insert"); }, }) ) ); } if (!0 === r.replace) { var D = "replace" === c, C = o.formatMessage({ id: "comments.textarea_input.replace.tooltip" }); p.push( V().createElement( "div", { className: "annotation-tool-wrapper", key: "replace-tool" }, l ? V().createElement(ge, { "aria-label": C, "data-annotation-button": !0, "data-test": "replace-button", variant: "tool", selected: a && D, disabled: i || (a && !D), icon: V().createElement($r.Z, { size: "S" }), onMouseDown: function (e) { return s(e, "replace"); }, }) : V().createElement(Kn, { "aria-label": C, placement: "bottom", "data-annotation-button": !0, "data-test": "replace-button", selected: a && D, disabled: i || (a && !D), icon: V().createElement($r.Z, { size: "S" }), tooltip: C, onClick: function (e) { return s(e, "replace"); }, }) ) ); } if (!0 === r.draw) { var w = "draw" === c, A = o.formatMessage({ id: "comments.textarea_input.draw.tooltip" }); p.push( V().createElement( "div", { className: "annotation-tool-wrapper", key: "draw-tool" }, l ? V().createElement(ge, { "aria-label": A, "data-annotation-button": !0, "data-test": "draw-button", variant: "tool", selected: a && w, disabled: i || (a && !w), icon: V().createElement(Fr, null), onMouseDown: function (e) { return s(e, "draw"); }, }) : V().createElement(Kn, { "aria-label": A, placement: "bottom", "data-annotation-button": !0, "data-test": "draw-button", selected: a && w, disabled: i || (a && !w), icon: V().createElement(Fr, null), tooltip: A, onClick: function (e) { return s(e, "draw"); }, }) ) ); } return ( p.push( V().createElement( "div", { className: "annotation-tool-wrapper", key: "color-tool" }, a ? V().createElement( _t, { ref: this.handleOverlayTriggerRef, placement: "bottom", trigger: "click", crossOffset: d || void 0, onShow: this.handleOverlayShow, type: "replace" }, V().createElement( "div", { ref: this.handleColorPickerButtonRef }, V().createElement( ge, { "aria-label": o.formatMessage({ id: "comments.arialabel.button.colorPicker" }), id: "color-picker-button", style: { padding: "0px" }, variant: "tool" }, V().createElement("span", { className: "annotation-color-display", style: { backgroundColor: n } }) ) ), V().createElement( Ht, { "aria-label": o.formatMessage({ id: "comments.arialabel.button.colorPicker" }), className: S.default.popover, contentStyle: { fontSize: 0 }, style: { fontSize: 0, minWidth: "initial", padding: "4px", width: "210px" }, enablePortaling: !0, tip: !0, }, V().createElement( "div", { ref: this.handleColorPickerDivRef, style: { width: "200px" } }, An.uu.map(function (t) { var r = t.hex, a = t.name; return V().createElement(pi, { annotationColor: n, hex: r, key: "color-".concat(r), label: o.formatMessage({ id: "comments.colorPicker.colors.".concat(a) }), name: a, onClick: e.handleColorSelection, onKeyDown: e.handleKeyDown, }); }) ) ) ) : null ) ), V().createElement("div", { className: S.default.component, ref: this.handleComponentRef }, V().createElement(cn.SF, { name: "addAnnotation", selector: "#annotation-pin-button", placement: "bottom left" }), p) ); }, }, ]) && oi(t.prototype, n), Object.defineProperty(t, "prototype", { writable: !1 }), i ); })(V().Component); (fi.defaultProps = { onAnnotationClick: function () {}, onColorChange: function () {} }), (fi.propTypes = { annotationColor: G().string, annotationTypes: G().shape({ draw: G().bool, highlight: G().bool, insert: G().bool, pin: G().bool, replace: G().bool, strikethrough: G().bool, text: G().bool }), disabled: G().bool, intl: G().object.isRequired, isAnnotating: G().bool, onAnnotationClick: G().func, onColorChange: G().func, touchControls: G().bool, newAnnotationType: G().string, saveAnnotationColor: G().func, compactLayout: G().bool, }); const mi = (0, gt.ZP)(fi); function hi(e) { return ( (hi = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (e) { return typeof e; } : function (e) { return e && "function" == typeof Symbol && e.constructor === Symbol && e !== Symbol.prototype ? "symbol" : typeof e; }), hi(e) ); } function vi(e, t) { var n = Object.keys(e); if (Object.getOwnPropertySymbols) { var r = Object.getOwnPropertySymbols(e); t && (r = r.filter(function (t) { return Object.getOwnPropertyDescriptor(e, t).enumerable; })), n.push.apply(n, r); } return n; } function yi(e) { for (var t = 1; t < arguments.length; t++) { var n = null != arguments[t] ? arguments[t] : {}; t % 2 ? vi(Object(n), !0).forEach(function (t) { Ci(e, t, n[t]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : vi(Object(n)).forEach(function (t) { Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t)); }); } return e; } function gi(e, t) { for (var n = 0; n < t.length; n++) { var r = t[n]; (r.enumerable = r.enumerable || !1), (r.configurable = !0), "value" in r && (r.writable = !0), Object.defineProperty(e, r.key, r); } } function bi(e, t) { return ( (bi = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function (e, t) { return (e.__proto__ = t), e; }), bi(e, t) ); } function Ei(e) { if (void 0 === e) throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); return e; } function Di(e) { return ( (Di = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function (e) { return e.__proto__ || Object.getPrototypeOf(e); }), Di(e) ); } function Ci(e, t, n) { return t in e ? Object.defineProperty(e, t, { value: n, enumerable: !0, configurable: !0, writable: !0 }) : (e[t] = n), e; } var wi = (function (e) { !(function (e, t) { if ("function" != typeof t && null !== t) throw new TypeError("Super expression must either be null or a function"); (e.prototype = Object.create(t && t.prototype, { constructor: { value: e, writable: !0, configurable: !0 } })), Object.defineProperty(e, "prototype", { writable: !1 }), t && bi(e, t); })(i, e); var t, n, r, o, a = ((r = i), (o = (function () { if ("undefined" == typeof Reflect || !Reflect.construct) return !1; if (Reflect.construct.sham) return !1; if ("function" == typeof Proxy) return !0; try { return Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})), !0; } catch (e) { return !1; } })()), function () { var e, t = Di(r); if (o) { var n = Di(this).constructor; e = Reflect.construct(t, arguments, n); } else e = t.apply(this, arguments); return (function (e, t) { if (t && ("object" === hi(t) || "function" == typeof t)) return t; if (void 0 !== t) throw new TypeError("Derived constructors may only return object or undefined"); return Ei(e); })(this, e); }); function i(e) { var t; return ( (function (e, t) { if (!(e instanceof t)) throw new TypeError("Cannot call a class as a function"); })(this, i), ((t = a.call(this, e)).state = { commentText: "", overTextLimit: !1, paddingOffset: 0, posting: !1 }), (t.handleIngestEvents = t.handleIngestEvents.bind(Ei(t))), (t.handleOnFocus = t.handleOnFocus.bind(Ei(t))), (t.handleOnKeyUp = t.handleOnKeyUp.bind(Ei(t))), (t.handleTextareaRef = t.handleTextareaRef.bind(Ei(t))), (t.handleCommentSubmit = t.handleCommentSubmit.bind(Ei(t))), (t.handleTextPresent = t.handleTextPresent.bind(Ei(t))), (t.handleSubmitCancel = t.handleSubmitCancel.bind(Ei(t))), (t.handleReset = t.handleReset.bind(Ei(t))), (t.handleAnnotationClick = t.handleAnnotationClick.bind(Ei(t))), (t.handleColorChange = t.handleColorChange.bind(Ei(t))), (t.handleMentionClick = t.handleMentionClick.bind(Ei(t))), (t.adjustOffset = t.adjustOffset.bind(Ei(t))), (t.handleEmojiClick = t.handleEmojiClick.bind(Ei(t))), t ); } return ( (t = i), (n = [ { key: "_attachedViewportListeners", value: function () { this.props.repositionSubmitForTouch && (window.visualViewport.addEventListener("resize", this.adjustOffset), window.visualViewport.addEventListener("scroll", this.adjustOffset)); }, }, { key: "_removeViewportListeners", value: function () { window.visualViewport.removeEventListener("resize", this.adjustOffset), window.visualViewport.removeEventListener("scroll", this.adjustOffset); }, }, { key: "componentDidMount", value: function () { this._attachedViewportListeners(); }, }, { key: "componentWillUnmount", value: function () { this._removeViewportListeners(); }, }, { key: "componentDidUpdate", value: function (e, t) { var n, r = this.props, o = r.annotatingItmId, a = r.assetData, i = r.hasAnnotationLocation, s = r.guestSessionState, c = r.imsData, l = r.isSubmittingComment, u = r.repositionSubmitForTouch, d = this.context.onInvokeLogin, p = this._textareaEl; if ( (!e.hasAnnotationLocation && i && "root" === o && (e.touchControls || p.setFocus()), e.focusedInputInfo && "root" === e.focusedInputInfo.itemType && this.handleReset(), e.assetData.nodeId !== a.nodeId && !e.annotationsMultiPageEnabled) ) { e.commentsSetDirtyComment(e.assetData.id, e.assetData.nodeId, t.commentText || "", { coordinates: e.annotationLocationCoordinates, nodeId: e.annotationLocationNodeId }, e.newAnnotationType); var f = Q()(e.dirtyComments, "".concat(a.nodeId, ".location")); null != f && f.coordinates && e.saveAnnotationLocation(f.coordinates, f.nodeId), this.setState({ commentText: "" }), d(!1); } e.guestSessionState === s || ("expires-soon" !== s && "expired" !== s) || d(!0), ((!e.isSubmittingComment && l) || ((null === (n = e.imsData) || void 0 === n || !n.token) && null != c && c.token)) && p && p.clearTextareaInput(), u && !e.repositionSubmitForTouch ? this._attachedViewportListeners() : !u && e.repositionSubmitForTouch && this._removeViewportListeners(); }, }, { key: "adjustOffset", value: function () { var e = this.props, t = e.compactLayout, n = e.repositionSubmitForTouch, r = e.touchControls; !t && n && r && this.setState({ paddingOffset: window.visualViewport.offsetTop }); }, }, { key: "handleTextPresent", value: function (e, t) { var n = e.length > 0; this.setState({ commentText: e, overTextLimit: t, textPresent: n }); }, }, { key: "handleIngestEvents", value: function (e, t) { var n = this.props, r = n.ccxIngest, o = n.newAnnotationType; return r.fireEvent({ event: yi({ subcategory: o ? "".concat(o, "-comment") : "post-comment" }, e) }, t); }, }, { key: "handleOnFocus", value: function () { var e = this.props, t = e.saveFocusedInputInfo, n = e.compactLayout; this.handleIngestEvents({ subtype: "text-box", type: "click" }), n && t({ itemType: "root" }), this.adjustOffset(); }, }, { key: "handleOnKeyUp", value: function (e) { var t = this.props, n = t.annotationLocationCoordinates, r = t.isOffline, o = this.state, a = o.commentText, i = o.posting, s = o.overTextLimit, c = o.textPresent, l = n && "strikethrough" === n.subtype, u = r || s || i || ((!c || !a.trim().length) && !l); (0, wn.Rz)(e) && !u && this.handleCommentSubmit(null, a); }, }, { key: "handleMentionClick", value: function () { this.props.ccxIngest.fireEvent({ event: { subcategory: "post-comment", type: "click", subtype: "mention" } }); }, }, { key: "handleEmojiClick", value: function () { var e = this.props, t = e.ccxIngest, n = e.setEmojiPickerInfo; "root" !== e.emojiPickerInfo.id ? n({ id: "root" }) : n(), t.fireEvent({ event: { subcategory: "post-comment", type: "click", subtype: "emoji" } }); }, }, { key: "handleCommentSubmit", value: function (e, t) { var n = this.props, r = n.annotationLocationCoordinates, o = n.annotationLocationNodeId, a = n.assetData, i = n.annotatingItmId, s = n.imsData, c = this._textareaEl, l = null == c ? void 0 : c.getTextareaInputValue(!0), u = this.context.onInvokeLogin; if (!s || !s.token) return l && (0, wn.fe)(An.oi, { annotationLocation: { coordinates: r, nodeId: o }, annotatingItmId: i, id: a.id, nodeId: a.nodeId, bodyValue: l }), void u(!0); var d = t || l; document.activeElement.blur(), this.submitComment(d); }, }, { key: "cleanFocusedInputInfo", value: function () { var e = this.props, t = e.compactLayout, n = e.saveFocusedInputInfo; t && n(); }, }, { key: "submitComment", value: function (e) { var t = this, n = this.props, r = n.annotatingItmId, o = n.mentionsEnabled, a = n.compactLayout, i = n.commentsListMinimized, s = n.contextSetCommentsListMinimized, c = n.imsData, l = n.postComment, u = n.resetGuestUserSession, d = this.context, p = d.onGuestSession, f = d.onInvokeLogin; a && i && s(!1); var m = this._textareaEl, h = []; this.handleIngestEvents({ subtype: "submit", type: "keystroke" }); var v = e.trim(); o && ((h = m && m.getAcceptedMentions()), (v = (0, wn.WD)(v, h))), this.setState({ textPresent: !1, posting: !0 }), f(!1), (this.postingText = v), m && m.clearTextareaInput(), this.cleanFocusedInputInfo(), l(v, void 0, h, { shouldUseAnnotationLocation: "root" === r }) .then(function () { t.setState({ posting: !1 }), (0, wn.F_)(An.oi), a && t.handleReset(); }) .catch(function (e) { t.setState({ posting: !1 }), (0, wn.F_)(An.oi), m && m.setTextareaInputValue(t.postingText), t.handleIngestEvents({ subtype: "error", type: "render", error_code: e.status, error_type: e.message, error_desc: "comment-failed-to-post" }), c.token.includes("AnonBearer") && 401 === e.status && (u(), p("destroy", c)); }); }, }, { key: "handleAnnotationClick", value: function (e, t) { var n = this.props, r = n.annotationLocationNodeId, o = n.annotationsMultiPageEnabled, a = n.assetData, i = n.ccxIngest, s = n.hasAnnotationLocation, c = n.isPlacingAnnotation, l = n.annotatingItmId, u = n.dispatchStakeholderOnboardingAction, d = n.dispatchCreativeOnboardingAction, p = n.saveAnnotationLocation, f = n.setAnnotationMode, m = n.compactLayout, h = n.commentsListMinimized, v = n.contextSetCommentsListMinimized, y = n.touchControls; if ( (e && e.preventDefault(), !m || h || s || v(!0), (m || y) && document.activeElement && document.activeElement.classList.contains("textarea") && document.activeElement.blur(), i.fireEvent({ event: { subcategory: "".concat(t, "-comment"), type: "click", subtype: "".concat(t, c ? "-leave" : "-enter") } }), !s || (o && a.nodeId !== r)) ) { var g = !(c && "root" === l); o && s && (g = r !== a.nodeId); var b = g; s && o && a.nodeId !== r && p(), f(g, "root", b, t); } else f(!1), p(); u.completeCurrentOrResumeCoachMarks({ dismissType: "blur" }), d.completeCurrent({ dismissType: "blur" }); }, }, { key: "handleColorChange", value: function () { this.props.compactLayout || this._textareaEl.setFocus(); }, }, { key: "handleReset", value: function () { var e = this.props, t = e.assetData, n = e.commentsSetDirtyComment, r = e.saveAnnotationLocation, o = e.setAnnotationMode, a = this._textareaEl; a && a.clearTextareaInput(), o(!1), r(), n(t.id, t.nodeId, ""), this.cleanFocusedInputInfo(), this.setState({ commentText: "" }), document.activeElement.blur(); }, }, { key: "handleSubmitCancel", value: function () { this.handleReset(), this.handleIngestEvents({ subtype: "cancel", type: "click" }); }, }, { key: "handleTextareaRef", value: function (e) { this._textareaEl = e; }, }, { key: "_getContentBody", value: function (e) { var t = this.props, n = t.annotationColor, r = t.annotationLocationCoordinates, o = t.annotationTypes, a = t.annotationsEnabled, i = t.annotationsCreationEnabled, s = t.annotationsMultiPageEnabled, c = t.assetData, l = t.compactLayout, u = t.dirtyComments, d = t.errors, p = t.focusedInputInfo, f = t.hasAnnotationLocation, m = t.isPlacingAnnotation, h = t.isReadyToAnnotate, v = t.mentionsEnabled, y = t.onHeightChange, g = t.newAnnotationType, b = t.annotatingItmId, E = t.saveAnnotationColor, D = t.emojiPickerInfo, C = t.setEmojiPickerInfo, w = t.theme, S = t.touchControls, A = t.isOffline, k = t.richTextEntry, _ = this.state, T = _.overTextLimit, I = _.posting, O = _.textPresent, F = _.commentText, x = !(!m && !f) && "root" === b, N = !e || !e.token, R = r && "strikethrough" === r.subtype, L = Boolean(d.list) || A || T || I || ((!O || !F.trim().length) && !R), M = V().createElement( ge, { disabled: L, id: "ccx-comments-submit-btn", variant: "cta", onClick: this.handleCommentSubmit, style: { marginLeft: "var(--spectrum-global-dimension-size-200, 16px)" } }, V().createElement(ee.Z, { id: "comments.submit.submit" }) ), P = V().createElement( ge, { disabled: (!O || I) && !x, id: "ccx-comments-cancel-btn", onMouseDown: this.handleSubmitCancel, onClick: this.handleSubmitCancel, variant: "secondary" }, V().createElement(ee.Z, { id: "comments.submit.cancel" }) ), j = V().createElement("div", { className: "submit-button-container" }, P, M), B = V().createElement( "div", { className: "submit-icon-container" }, V().createElement(ge, { "data-testid": "ccx-comments-submit-button", icon: V().createElement(xt, { size: "M" }), variant: "tool", disabled: L && !F.length, selected: !L, onClick: L ? void 0 : this.handleCommentSubmit, }) ), Z = "comments.submit.placeholder", U = (m || (r && "insert" === r.subtype)) && "insert" === g, z = (m || (r && "replace" === r.subtype)) && "replace" === g; U ? (Z = "comments.submit.placeholder_insert") : z && (Z = "comments.submit.placeholder_replace"); var H, G = V().createElement(Qr, { animationEnabled: !l, annotationsEnabled: a && i, annotationLocationCoordinates: r, annotationTypes: o, allowCollapseOverride: R, className: "new-comment-textarea", compactLayout: l, initialValue: Q()(u, "".concat(c.nodeId, ".bodyValue"), ""), isAnnotating: x, isEmojiPickerVisible: "root" === D.id, key: s ? "single-submit-box" : c.nodeId, mentionsEnabled: !U && !z && !A && v && !N, onAnnotationClick: this.handleAnnotationClick, onBlur: this.adjustOffset, onEmojiIconClick: this.handleEmojiClick, onFocus: this.handleOnFocus, onHeightChange: y, onKeyUp: this.handleOnKeyUp, onMentionClick: this.handleMentionClick, onTextPresent: this.handleTextPresent, placeholder: Z, ref: this.handleTextareaRef, richTextEntry: k, setEmojiPickerInfo: C, theme: w, touchControls: S, }); a && i && o && (H = V().createElement(mi, { annotationColor: n, annotationTypes: o, disabled: !h, touchControls: S, onAnnotationClick: this.handleAnnotationClick, onColorChange: this.handleColorChange, isAnnotating: x, newAnnotationType: g, saveAnnotationColor: E, compactLayout: l, })); var W = V().createElement("div", { className: "sign-in-buttons-container" }, H, G, j), J = V().createElement("div", { className: "new-comment-form" }, H, V().createElement("div", { className: "submit-textbox-container" }, G, B)), Y = p && "root" !== p.itemType; return l ? (Y ? null : J) : W; }, }, { key: "render", value: function () { var e = this.props, t = e.imsData, n = e.latestMobileEnabled, r = this.state.paddingOffset, o = this._getContentBody(t); return V().createElement( "div", { "aria-labelledby": "new-comment-heading", className: A.default.component, id: An.VY, style: n ? void 0 : { paddingTop: r } }, V().createElement("h2", { id: "new-comment-heading", className: "visually-hidden" }, V().createElement(ee.Z, { id: "comments.sections.newComment" })), o ? V().createElement(V().Fragment, null, o, !n && V().createElement(fn, null)) : null, V().createElement(cn.SF, { name: "addComment", selector: "#ccx-comments-submit-btn", placement: "bottom right" }) ); }, }, ]), n && gi(t.prototype, n), Object.defineProperty(t, "prototype", { writable: !1 }), i ); })(V().Component); Ci(wi, "contextType", tt.ZP), (wi.defaultProps = { cacheComments: !1, ccxIngest: { fireEvent: function () {} }, commentsSetDirtyComment: function () {}, dispatchStakeholderOnboardingAction: new Proxy( {}, { get: function () { return function () {}; }, } ), dispatchCreativeOnboardingAction: new Proxy( {}, { get: function () { return function () {}; }, } ), errors: {}, isOffline: !1, saveFocusedInputInfo: function () {}, emojiPickerInfo: {}, postComment: function () {}, }), (wi.propTypes = { annotationColor: G().string, annotationLocationNodeId: G().oneOfType([G().string, G().number]), annotationLocationCoordinates: G().object, annotationsEnabled: G().bool.isRequired, annotationsCreationEnabled: G().bool.isRequired, annotationsMultiPageEnabled: G().bool.isRequired, annotationTypes: G().shape({ draw: G().bool, pin: G().bool, text: G().bool }), assetData: G().shape({ id: G().string, nodeId: G().oneOfType([G().string, G().number]), ownerId: G().string }), cacheComments: G().bool, commentsSetDirtyComment: G().func, dirtyComments: G().object, dispatchStakeholderOnboardingAction: G().object, dispatchCreativeOnboardingAction: G().object, currentView: G().oneOf(["resolved", "unresolved"]), ccxIngest: G().object.isRequired, errors: G().object, hasAnnotationLocation: G().bool, isOffline: G().bool, isPlacingAnnotation: G().bool, isReadyToAnnotate: G().bool, imageCapture: G().bool, imageContextData: G().object, imsData: G().shape({ id: G().string, token: G().string }), isSubmittingComment: G().bool, latestMobileEnabled: G().bool, mentionsEnabled: G().bool, annotatingItmId: G().string, saveAnnotationLocation: G().func, setAnnotationMode: G().func, compactLayout: G().bool, saveFocusedInputInfo: G().func, focusedInputInfo: G().object, onHeightChange: G().func, newAnnotationType: G().string, saveAnnotationColor: G().func, commentsListMinimized: G().bool, theme: G().oneOf(["light", "lightest", "dark", "darkest"]), touchControls: G().bool, contextSetCommentsListMinimized: G().func, guestSessionState: G().string, resetGuestUserSession: G().func, richTextEntry: G().bool, repositionSubmitForTouch: G().bool, emojiPickerInfo: G().object, setEmojiPickerInfo: G().func, postComment: G().func, }); const Si = (0, $.qC)( re.HJ, (0, K.$j)( function (e, t) { var n = (0, Pr._X)(e, t.assetData.id).commentPosting; return { dispatchStakeholderOnboardingAction: (0, cn.GW)(e), dispatchCreativeOnboardingAction: (0, ln.M5)(e, t.creativeOnboarding), annotationLocationCoordinates: (0, te.cM)(e), guestSessionState: Q()(e, "".concat(An.Bq, ":context.guestSessionState")), emojiPickerInfo: Q()(e, "".concat(An.Bq, ":context.emojiPickerInfo")), isSubmittingComment: n, }; }, function (e) { return (0, $.DE)({ resetGuestUserSession: ae.I3, setEmojiPickerInfo: ae.Po }, e); }, void 0, { context: Ve.no } ), (0, ni.ccxIngest)(An.FH) )(wi), Ai = (0, pe.Z)(n(54781)).default, ki = (0, ue.Z)({ displayName: "Close", fallback: Ai, swcLoader: void 0, swcProps: Ot.m, tagName: "sp-icon-close" }), _i = (0, pe.Z)(n(31945)).default, Ti = (0, ue.Z)({ displayName: "Filter", fallback: _i, swcLoader: void 0, swcProps: Ot.m, tagName: "sp-icon-filter" }), Ii = (0, pe.Z)(n(947)).default, Oi = (0, ue.Z)({ displayName: "ChevronLeft", fallback: Ii, swcLoader: void 0, swcProps: Ot.m, tagName: "sp-icon-chevron-left" }); var Fi = ["children", "className", "variant"]; function xi() { return ( (xi = Object.assign ? Object.assign.bind() : function (e) { for (var t = 1; t < arguments.length; t++) { var n = arguments[t]; for (var r in n) Object.prototype.hasOwnProperty.call(n, r) && (e[r] = n[r]); } return e; }), xi.apply(this, arguments) ); } var Ni = { display: "h1", pageTitle: "h2", subtitle1: "h2", subtitle2: "h3", subtitle3: "h4" }, Ri = function (e) { var t = e.children, n = e.className, r = e.variant, o = void 0 === r ? "display" : r, a = (function (e, t) { if (null == e) return {}; var n, r, o = (function (e, t) { if (null == e) return {}; var n, r, o = {}, a = Object.keys(e); for (r = 0; r < a.length; r++) (n = a[r]), t.indexOf(n) >= 0 || (o[n] = e[n]); return o; })(e, t); if (Object.getOwnPropertySymbols) { var a = Object.getOwnPropertySymbols(e); for (r = 0; r < a.length; r++) (n = a[r]), t.indexOf(n) >= 0 || (Object.prototype.propertyIsEnumerable.call(e, n) && (o[n] = e[n])); } return o; })(e, Fi), i = Ni[o]; return V().createElement(i, xi({ className: X()("spectrum-Heading", "spectrum-Heading--".concat(o), n) }, a), t); }; Ri.propTypes = { children: G().node, className: G().string, variant: G().oneOf(["display", "pageTitle", "subtitle1", "subtitle2", "subtitle3"]) }; const Li = Ri; function Mi(e) { var t = e.children, n = e.className, r = e.onBack, o = e.pageTitle, a = e.title, i = (0, Ne.Z)().formatMessage; return V().createElement( "div", { className: X()(n, k.default.component) }, o && V().createElement("h2", { className: k.default.pageTitle }, o), V().createElement( "div", { className: k.default.title }, r && V().createElement(ge, { "aria-label": i({ id: "comments.arialabel.button.backButton" }), className: k.default.backButton, icon: V().createElement(Oi, null), onClick: r, variant: "tool" }), V().createElement(Li, { className: k.default.heading }, a), t && V().createElement("div", { className: k.default.buttonContainer }, t) ) ); } (Mi.defaultProps = { classNames: "", pageTitle: "", title: "" }), (Mi.propTypes = { children: G().node, className: G().string, onBack: G().func, pageTitle: G().string, title: G().oneOfType([G().string, G().element]) }); const Pi = Mi; function ji(e, t) { (null == t || t > e.length) && (t = e.length); for (var n = 0, r = new Array(t); n < t; n++) r[n] = e[n]; return r; } var Bi = function () { return V().createElement( "svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 22 22", className: "spectrum-Icon", display: "flex", fill: "currentColor", style: { position: "absolute", top: "var( --ccx-comments-custom-icon-position)", left: "var( --ccx-comments-custom-icon-position)", height: "var(--ccx-comments-annotation-visibility-toggle-icon-size)", width: "var(--ccx-comments-annotation-visibility-toggle-icon-size)", }, }, V().createElement( "g", null, V().createElement("path", { d: "M7.3,12.714c0-2.046,3.7-6.214,8-6.214a7.089,7.089,0,0,1,1.7.21V6a2.5,2.5,0,0,0-2.5-2.5H2.5A2.5,2.5,0,0,0,0,6v6.471a2.5,2.5,0,0,0,2.5,2.5H3v4.5a.5.5,0,0,0,.854.354L8.519,15.3A3.913,3.913,0,0,1,7.3,12.714Z", }), V().createElement("path", { d: "M18.029,8.678A6.18,6.18,0,0,0,15.3,8c-3.576,0-6.5,3.56-6.5,4.715,0,1.236,3.078,4.417,6.474,4.417,3.423,0,6.526-3.181,6.526-4.417C21.8,11.739,20.061,9.685,18.029,8.678Zm-2.729,7.7a3.807,3.807,0,1,1,3.807-3.807A3.807,3.807,0,0,1,15.3,16.373Z", }), V().createElement("path", { d: "M16.4,12.6a1.1,1.1,0,0,1-1.1-1.1,1.086,1.086,0,0,1,.557-.937,2.045,2.045,0,0,0-.557-.086,2.089,2.089,0,1,0,2.089,2.089,1.906,1.906,0,0,0-.072-.493A1.082,1.082,0,0,1,16.4,12.6Z" }) ) ); }, Zi = function () { var e, t, n; return ( ((t = (0, z.useState)(!1)), (n = 2), (function (e) { if (Array.isArray(e)) return e; })(t) || (function (e, t) { var n = null == e ? null : ("undefined" != typeof Symbol && e[Symbol.iterator]) || e["@@iterator"]; if (null != n) { var r, o, a = [], i = !0, s = !1; try { for (n = n.call(e); !(i = (r = n.next()).done) && (a.push(r.value), !t || a.length !== t); i = !0); } catch (e) { (s = !0), (o = e); } finally { try { i || null == n.return || n.return(); } finally { if (s) throw o; } } return a; } })(t, n) || (function (e, t) { if (e) { if ("string" == typeof e) return ji(e, t); var n = Object.prototype.toString.call(e).slice(8, -1); return "Object" === n && e.constructor && (n = e.constructor.name), "Map" === n || "Set" === n ? Array.from(e) : "Arguments" === n || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n) ? ji(e, t) : void 0; } })(t, n) || (function () { throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); })())[1], (0, z.useEffect)(function () {}, []), null !== (e = window.customElements) && void 0 !== e && e.get("ccx-comments-icon-visibility") ? V().createElement("ccx-comments-icon-visibility", null) : V().createElement(Bi, null) ); }; Zi.displayName = "Visibility"; const Ui = Zi; function zi(e, t) { (null == t || t > e.length) && (t = e.length); for (var n = 0, r = new Array(t); n < t; n++) r[n] = e[n]; return r; } var Vi = function () { return V().createElement( "svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 22 22", className: "spectrum-Icon", display: "flex", fill: "currentColor", style: { position: "absolute", top: "var( --ccx-comments-custom-icon-position)", left: "var( --ccx-comments-custom-icon-position)", height: "var(--ccx-comments-annotation-visibility-toggle-icon-size)", width: "var(--ccx-comments-annotation-visibility-toggle-icon-size)", }, }, V().createElement( "g", null, V().createElement("path", { d: "M7.574,13.862l-.23.236L4.5,17.009V14.471a1,1,0,0,0-1-1h-1a1,1,0,0,1-1-1V6a1,1,0,0,1,1-1h12a1,1,0,0,1,1,1v.515a7.736,7.736,0,0,1,1.5.2V6a2.5,2.5,0,0,0-2.5-2.5H2.5A2.5,2.5,0,0,0,0,6v6.471a2.5,2.5,0,0,0,2.5,2.5H3v4.534a.5.5,0,0,0,.859.348l4.572-4.718A5.656,5.656,0,0,1,7.574,13.862Z", }), V().createElement("path", { d: "M21.48,17.991,17.1,13.615a2.085,2.085,0,0,0,.285-1.05,1.967,1.967,0,0,0-.073-.494,1.08,1.08,0,0,1-.916.528,1.1,1.1,0,0,1-1.1-1.1,1.083,1.083,0,0,1,.557-.936,2.029,2.029,0,0,0-.557-.087,2.078,2.078,0,0,0-1.05.284L9.874,6.384a.357.357,0,0,0-.5,0l-.25.25a.356.356,0,0,0,0,.5h0l2.256,2.256C9.814,10.523,8.8,12.033,8.8,12.712c0,1.237,3.078,4.417,6.473,4.417a6.788,6.788,0,0,0,3.05-.788l2.4,2.4a.355.355,0,0,0,.5,0h0l.25-.25A.356.356,0,0,0,21.48,17.991ZM15.3,16.373a3.8,3.8,0,0,1-3.039-6.091L13.5,11.516a2.086,2.086,0,0,0,2.854,2.854l1.234,1.235A3.781,3.781,0,0,1,15.3,16.373Z", }), V().createElement("path", { d: "M14,8.991a3.8,3.8,0,0,1,4.874,4.874l1.259,1.258A4.283,4.283,0,0,0,21.8,12.714c0-.975-1.739-3.029-3.771-4.036A6.169,6.169,0,0,0,15.3,8a5.888,5.888,0,0,0-1.946.343Z" }) ) ); }, Hi = function () { var e, t, n; return ( ((t = (0, z.useState)(!1)), (n = 2), (function (e) { if (Array.isArray(e)) return e; })(t) || (function (e, t) { var n = null == e ? null : ("undefined" != typeof Symbol && e[Symbol.iterator]) || e["@@iterator"]; if (null != n) { var r, o, a = [], i = !0, s = !1; try { for (n = n.call(e); !(i = (r = n.next()).done) && (a.push(r.value), !t || a.length !== t); i = !0); } catch (e) { (s = !0), (o = e); } finally { try { i || null == n.return || n.return(); } finally { if (s) throw o; } } return a; } })(t, n) || (function (e, t) { if (e) { if ("string" == typeof e) return zi(e, t); var n = Object.prototype.toString.call(e).slice(8, -1); return "Object" === n && e.constructor && (n = e.constructor.name), "Map" === n || "Set" === n ? Array.from(e) : "Arguments" === n || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n) ? zi(e, t) : void 0; } })(t, n) || (function () { throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); })())[1], (0, z.useEffect)(function () {}, []), null !== (e = window.customElements) && void 0 !== e && e.get("ccx-comments-icon-visibilityoff") ? V().createElement("ccx-comments-icon-visibilityoff", null) : V().createElement(Vi, null) ); }; Hi.displayName = "VisibilityOff"; const Gi = Hi; var Wi = function (e) { var t, n, r, o = e.commentsSetShowAnnotations, a = e.disable, i = e.iconClassName, s = e.isAnnotationsVisible, c = e.onAnnotationToggle, l = e.touchControls, u = e.visible, d = (0, Ke.Z)(), p = (0, Ne.Z)().formatMessage, f = (0, cn.cs)(), m = (0, ln.UP)(), h = (0, z.useCallback)( function () { var e = !s; f.completeCurrentOrResumeCoachMarks({ dismissType: "blur" }), m.completeCurrent({ dismissType: "blur" }), o(e), e ? d.fireEvent(d.events.annotationToggleVisible) : d.fireEvent(d.events.annotationToggleHidden), c(e); }, [c, o, d, s, f, m] ); s ? ((t = V().createElement(Ui, { className: X()("annotation-visibility-icon", i) })), (n = "comments.filter.annotation-toggle.hide"), (r = "annotation-visible")) : ((t = V().createElement(Gi, { className: X()("annotation-visibility-icon", i) })), (n = "comments.filter.annotation-toggle.show"), (r = "annotation-hidden")); var v = p({ id: "comments.filter.annotation-toggle.show" }), y = p({ id: n }), g = V().createElement(ge, { "aria-label": v, "aria-pressed": s, className: "annotation-toggle-icon ".concat(r), "data-testid": "annotation-switch", disabled: a, icon: t, id: "ccx-comments-hide-annotations-button", onClick: h, variant: "tool", }); return ( l || (g = V().createElement(_t, { placement: "left", trigger: "hover" }, g, V().createElement(It, { style: { alignItems: "stretch" } }, y))), u ? V().createElement( V().Fragment, null, g, V().createElement(cn.SF, { name: "hideAnnotations", placement: "top right", selector: "#ccx-comments-hide-annotations-button" }), V().createElement(ln.Py, { name: "hideAnnotations", placement: "top right", selector: "#ccx-comments-hide-annotations-button" }) ) : null ); }; (Wi.defaultProps = { disable: !1, iconClassName: "", isAnnotationsVisible: !1, onAnnotationToggle: function () {}, touchControls: !1, visible: !0 }), (Wi.propTypes = { commentsSetShowAnnotations: G().func.isRequired, disable: G().bool, iconClassName: G().string, isAnnotationsVisible: G().bool, onAnnotationToggle: G().func, touchControls: G().bool, visible: G().bool }); const Qi = Wi, Ji = (0, pe.Z)(n(70697)).default, Yi = (0, ue.Z)({ displayName: "FilterCheck", fallback: Ji, swcLoader: void 0, swcProps: Ot.m, tagName: "sp-icon-filter-check" }); var qi = (0, z.forwardRef)(function (e, t) { var n = e.onFilterClick, r = (0, Ve.I0)(), o = (0, Ne.Z)().formatMessage, a = (0, Ke.Z)().fireEvent, i = (0, Fa.Z)(), s = i.filteredCommentCount, c = void 0 === s ? 0 : s, l = i.commentCounts, u = (0, z.useContext)(re.ZP), d = u.annotationsEnabled, p = u.touchControls, f = (0, z.useContext)(tt.ZP), m = f.onAnnotationToggle, h = f.onCloseButtonClick, v = xa(), y = v.disabled, g = v.isFilterApplied, b = (0, Ve.v9)(function (e) { return e["".concat(An.Bq, ":annotation")].showAnnotations; }), E = o({ id: "comments.mobile.header.title.default" }, { count: c }), D = o({ id: "comments.arialabel.button.filter" }), C = o({ id: "comments.arialabel.status.".concat(g ? "filterApplied" : "filterNotApplied") }), w = 0 === l.total.total, S = (0, z.useCallback)( function () { a(Xa.Z.closeComponent), h(); }, [a, h] ), A = (0, z.useCallback)( function (e) { r((0, ce.xD)(e)); }, [r] ); return V().createElement( "div", { ref: t }, V().createElement( Pi, { title: E }, V().createElement(Qi, { commentsSetShowAnnotations: A, disable: w, iconClassName: _.default.annotationVisibilityIcon, isAnnotationsVisible: b, onAnnotationToggle: m, touchControls: p, visible: d }), p ? V().createElement(ge, { "aria-label": "".concat(D, " ").concat(C), "data-testid": "ccx-comments-filter-button", disabled: y, icon: g ? V().createElement(Yi, { className: _.default.filterIconApplied, size: "S" }) : V().createElement(Ti, { className: _.default.filterIcon, size: "S" }), id: "ccx-filter-button", onClick: n, variant: "tool", }) : V().createElement(Kn, { "aria-label": o({ id: "comments.filter.tooltip" }), "data-testid": "ccx-comments-filter-button", disabled: y, icon: g ? V().createElement(Yi, { className: _.default.filterIconApplied, size: "S" }) : V().createElement(Ti, { className: _.default.filterIcon, size: "S" }), onClick: n, placement: "left", tooltip: o({ id: "comments.filter.tooltip" }), variant: "tool", }), V().createElement("div", { className: _.default.vr }), V().createElement(ge, { "data-testid": "close-button", icon: V().createElement(ki, { className: _.default.closeIcon, size: "M" }), onClick: S, variant: "tool" }) ) ); }); (qi.defaultProps = { onFilterClick: function () {} }), (qi.propTypes = { onFilterClick: G().func }); const Xi = qi; function Ki(e, t) { var n = Object.keys(e); if (Object.getOwnPropertySymbols) { var r = Object.getOwnPropertySymbols(e); t && (r = r.filter(function (t) { return Object.getOwnPropertyDescriptor(e, t).enumerable; })), n.push.apply(n, r); } return n; } function $i(e) { for (var t = 1; t < arguments.length; t++) { var n = null != arguments[t] ? arguments[t] : {}; t % 2 ? Ki(Object(n), !0).forEach(function (t) { es(e, t, n[t]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : Ki(Object(n)).forEach(function (t) { Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t)); }); } return e; } function es(e, t, n) { return t in e ? Object.defineProperty(e, t, { value: n, enumerable: !0, configurable: !0, writable: !0 }) : (e[t] = n), e; } function ts(e, t) { return ( (function (e) { if (Array.isArray(e)) return e; })(e) || (function (e, t) { var n = null == e ? null : ("undefined" != typeof Symbol && e[Symbol.iterator]) || e["@@iterator"]; if (null != n) { var r, o, a = [], i = !0, s = !1; try { for (n = n.call(e); !(i = (r = n.next()).done) && (a.push(r.value), !t || a.length !== t); i = !0); } catch (e) { (s = !0), (o = e); } finally { try { i || null == n.return || n.return(); } finally { if (s) throw o; } } return a; } })(e, t) || (function (e, t) { if (e) { if ("string" == typeof e) return ns(e, t); var n = Object.prototype.toString.call(e).slice(8, -1); return "Object" === n && e.constructor && (n = e.constructor.name), "Map" === n || "Set" === n ? Array.from(e) : "Arguments" === n || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n) ? ns(e, t) : void 0; } })(e, t) || (function () { throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); })() ); } function ns(e, t) { (null == t || t > e.length) && (t = e.length); for (var n = 0, r = new Array(t); n < t; n++) r[n] = e[n]; return r; } var rs = function (e) { var t, n = e.editingComment, r = e.focusIfTextPresent, o = e.hideTools, a = e.onFocus, i = e.onSubmit, s = e.parentComment, c = e.placeholder, l = (0, z.useContext)(re.ZP), u = l.annotationsMultiPageEnabled, d = l.annotationTypes, p = l.assetData, f = l.imsData, m = l.isOffline, h = l.mentionsEnabled, v = l.richTextEntry, y = l.theme, g = l.touchControls, b = (0, et.Z)(), E = b.editComment, D = b.postComment, C = b.replyComment, w = ts((0, z.useState)("auto"), 2), S = w[0], A = w[1], k = ts((0, z.useState)(!1), 2), _ = k[0], I = k[1], O = (0, Ve.I0)(), F = (0, z.useContext)(tt.ZP), x = F.onGuestSession, N = F.onInvokeLogin, R = (0, sr.Z)().saveAnnotationLocation, L = (0, z.useRef)(), M = !f || !f.token, P = (0, Ke.Z)(), j = ar(), B = j.inputFocused, Z = j.mentionListShown, U = j.setFullscreen, H = (0, Ve.v9)(function (e) { return (0, te.cM)(e); }), G = (0, Ve.v9)(function (e) { return (0, te.yU)(e); }), W = (0, Ve.v9)(function (e) { return e["".concat(An.Bq, ":context")].annotatingItmId; }), Q = (0, Ve.v9)(function (e) { return e["".concat(An.Bq, ":context")].newAnnotationType; }), J = (0, Ve.v9)(function (e) { return (0, Pr._X)(e, p.id); }), Y = J.commentPosting, q = J.dirtyComments, K = J.mobileEditingDraft, $ = J.postingReplyParentCommentId === (null == s ? void 0 : s.id), ee = q[p.nodeId], ne = (0, Hn.Z)(p.nodeId), ie = (0, Hn.Z)(H), se = q[ne], le = (0, Hn.Z)(Q), ue = K || (null == n ? void 0 : n.bodyValue), de = s ? s.draftReplyText : ""; n ? ((null === (t = n.mentions) || void 0 === t ? void 0 : t.length) > 0 && (ue = (0, wn.UW)(ue, n.mentions)), (de = (0, wn.UW)(K || n.bodyValue || ue.substr(0, An.Ry), n.mentions))) : n || s || (de = null == ee ? void 0 : ee.bodyValue); var pe = !(null == ee || !ee.bodyValue) || !(null == s || !s.draftReplyText) || (null == n ? void 0 : n.bodyValue) !== de; (0, z.useEffect)( function () { A(Z ? 0 : "auto"); }, [Z] ), (0, z.useEffect)( function () { B || U(!1); }, [B, U] ), (0, z.useEffect)( function () { p.nodeId !== ne && void 0 !== ne && (O((0, oe.Gt)(p.id, ne, null == se ? void 0 : se.bodyValue, ie, le)), null != ee && ee.location && O(R(null == ee ? void 0 : ee.location, p.nodeId))); }, [p.nodeId] ), (0, z.useEffect)( function () { (Y || $) && (L.current.clearTextareaInput(), Y && null != ee && ee.bodyValue && O((0, oe.Gt)(p.id, p.nodeId, "")), $ && void 0 !== (null == s ? void 0 : s.draftReplyText) && O((0, oe.TA)(s.id)), i()); }, [Y, $] ); var fe = (0, z.useCallback)( function (e, t) { return P.fireEvent({ event: $i({ subcategory: "post-comment" }, e) }, t); }, [P] ), me = (0, z.useCallback)( function () { var e = null == L ? void 0 : L.current.getTextareaInputValue(!1); if (!f || !f.token) return (0, wn.fe)(An.oi, { annotationLocation: { coordinates: H, nodeId: G }, annotatingItmId: W, id: p.id, nodeId: p.nodeId, bodyValue: e }), void N(!0); var t = []; fe({ subtype: "submit", type: "keystroke" }); var n = e.trim(); h && ((t = L && L.current.getAcceptedMentions()), (n = (0, wn.WD)(n, t))), N(!1), O((0, ae.PM)()), I(!0), D(n, void 0, t, { shouldUseAnnotationLocation: "root" === W }) .then(function () { (0, wn.F_)(An.oi); }) .catch(function (t) { (0, wn.F_)(An.oi), fe({ subtype: "error", type: "render", error_code: t.status, error_type: t.message, error_desc: "comment-failed-to-post" }), f.token.includes("AnonBearer") && 401 === t.status && (O((0, ae.I3)()), x("destroy", f)), L.current.setTextareaInputValue(e); }) .finally(function () { return I(!1); }); }, [W, H, G, p.id, p.nodeId, O, fe, f, h, N, x, D] ), he = (0, z.useCallback)( function () { return P.fireEvent({ event: { subcategory: "post-comment", type: "click", subtype: "mention" } }); }, [P] ), ve = (0, z.useCallback)( function () { var e = s.id, t = null == L ? void 0 : L.current.getTextareaInputValue(!1), n = t.trim(); if (!f || !f.token) return n && (0, wn.fe)(An.uX, { bodyValue: n, id: p.id, nodeId: p.nodeId, commentData: s }), void N(!0); if ((N(!1), n)) { P.fireEvent({ event: { subcategory: "reply-comment", subtype: "submit", type: "icon" }, content: { parent_id: e } }); var r = [], o = n; h && ((r = L && L.current.getAcceptedMentions()), (o = (0, wn.WD)(o, r))), I(!0), C(o, e, r) .then(function (e) { O((0, ce.Ef)(e.id)); }) .catch(function (e) { var n = e.status, r = e.message; P.fireEvent({ event: { context_guid: s.id, subcategory: "reply-comment", subtype: "error", type: "render", error_code: n, error_type: r, error_desc: "reply-failed-to-post" } }), f.token.includes("AnonBearer") && 401 === n && (O((0, ae.I3)()), x("destroy", f)), L && L.current.setTextareaInputValue(t); }) .finally(function () { return I(!1); }); } }, [p.id, p.nodeId, P, O, f, h, N, x, s, C] ), ye = (0, z.useCallback)( function (e) { fe({ subtype: "text-box", type: "click" }), a(e); }, [fe, a] ), ge = (0, z.useCallback)( function () { var e = null == L ? void 0 : L.current.getTextareaInputValue(!1); P.fireEvent({ event: { context_guid: null == s ? void 0 : s.id, subcategory: "edit-comment", subtype: "submit", type: "click" }, content: { parent_id: n.id } }); var t = e.trim(), r = []; h && ((r = L && L.current.getAcceptedMentions()), (t = (0, wn.WD)(t, r))), (t || "strikethrough" === n.annotationType) && (I(!0), E(t, n.id, null == s ? void 0 : s.id, r) .then(function () { var e = (n && n.mentions && n.mentions.map(function (e) { return e.id; })) || []; r.some(function (t) { return !e.includes(t.id); }) && P.fireEvent({ event: { context_guid: null == s ? void 0 : s.id, subcategory: "edit-comment", subtype: "mention", type: "render" } }), P.fireEvent({ event: { context_guid: null == s ? void 0 : s.id, subcategory: "edit-comment", subtype: "edit-comment", type: "render" } }), I(!1), i(); }) .catch(function () { var e = arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : {}, t = e.status, n = e.message; P.fireEvent({ event: { context_guid: null == s ? void 0 : s.id, subcategory: "edit-comment", subtype: "error", type: "render", error_code: t, error_type: n, error_desc: "comment-failed-to-edit" } }), f.token.includes("AnonBearer") && 401 === t && (O((0, ae.I3)()), x("destroy", f)), I(!1); })); }, [P, O, E, n, f, h, x, i, s] ), be = (0, z.useCallback)( function () { if (s || n) { if (s && !n) { var e = null == L ? void 0 : L.current.getTextareaInputValue(!1); O((0, oe.TA)(s.id, e)); } else if (n) { var t = null == L ? void 0 : L.current.getTextareaInputValue(!1); O((0, oe.Xq)(p.id, n.id, t)); } } else { var r = null == L ? void 0 : L.current.getTextareaInputValue(!1); O((0, oe.Gt)(p.id, p.nodeId, r, { coordinates: H, nodeId: G })); } }, [H, G, p.id, p.nodeId, O, n, s] ), Ee = (0, z.useCallback)( function (e) { n && O((0, oe.Xq)(p.id, n.id, e)); }, [p.id, O, n] ), De = s ? ve : me; return ( n && (De = ge), V().createElement( "div", { id: An.VY, className: X()(T.default.component, { comment: !s }), style: { minHeight: S } }, V().createElement(Qr, { animationEnabled: !1, annotationLocationCoordinates: H, annotationTypes: d, className: "new-comment-textarea", commentSubmit: De, compactLayout: !0, defaultMentions: null == n ? void 0 : n.mentions, hideTools: o, initialValue: de, isDraft: pe, key: u ? "single-submit-box" : p.nodeId, mentionsEnabled: !m && h && !M, onBlur: be, onFocus: ye, onMentionClick: he, onTextPresent: Ee, posting: _, placeholder: c, ref: L, richTextEntry: v, shouldFocusIfValueExists: r, theme: y, touchControls: g, }) ) ); }; (rs.defaultProps = { focusIfTextPresent: !0, hideTools: !1, isOffline: !1, onFocus: function () {}, onSubmit: function () {} }), (rs.propTypes = { editingComment: G().object, focusIfTextPresent: G().bool, hideTools: G().bool, onFocus: G().func, onSubmit: G().func, parentComment: G().object, placeholder: G().string }); const os = rs; var as = function (e) { var t = e.editingCommentId, n = e.focusIfTextPresent, r = e.onSubmit, o = e.parentCommentId, a = (0, Ve.v9)(function (e) { return (0, Pr.v)(e); }), i = a[o], s = a[t] || (null == i ? void 0 : i.replies.find(function (e) { return e.id === t; })); return V().createElement("div", { className: I.default.subview }, V().createElement(os, { editingComment: s, focusIfTextPresent: n, onSubmit: r, parentComment: i })); }; (as.defaultProps = { onSubmit: function () {} }), (as.propTypes = { editingCommentId: G().string, focusIfTextPresent: G().bool, onSubmit: G().func, parentCommentId: G().string }); const is = as, ss = function (e) { var t = e.onBack, n = void 0 === t ? function () {} : t, r = (0, Fa.Z)().filteredCommentCount, o = xa(), a = o.isFilterApplied, i = o.onFilterClear, s = V().createElement("div", { className: O.default.title }, V().createElement(Ti, { size: "S" }), V().createElement(ee.Z, { id: "comments.mobile.header.title.filter" }), a && " (".concat(r, ")")); return V().createElement(Pi, { onBack: n, title: s }, V().createElement(ge, { className: O.default.clearButton, onClick: i, quiet: !0 }, V().createElement(ee.Z, { id: "comments.filter.clear" }))); }, cs = function () { var e = (0, Ne.Z)().formatMessage, t = (0, z.useContext)(re.ZP), n = t.enableReadUnread, r = t.environment, o = t.touchControls, a = xa(), i = a.filterOptions, s = a.onFilterChange, c = a.selectedFilters, l = (0, z.useCallback)( function (e) { return s("user", e); }, [s] ), u = (0, z.useCallback)( function (e) { return s("time", e); }, [s] ), d = (0, z.useCallback)( function () { return s("status"); }, [s] ), p = (0, z.useCallback)( function () { return s("unread"); }, [s] ); return V().createElement( "div", { className: F.default.component }, V().createElement( "div", { className: F.default.filterGroup }, V().createElement(Li, { className: F.default.header, id: "ccx-comments-filter--reviewer", variant: "subtitle2" }, V().createElement(ee.Z, { id: "comments.filter.reviewers" })), V().createElement( "div", { className: "filter-group-content filter-group-content--names" }, V().createElement( Ir, { "aria-labelledby": "ccx-comments-filter--reviewer", "data-testid": "filter-users-group", multiple: !0, onChange: l, selects: "multiple", style: { flexWrap: "wrap" }, value: c.user }, i.users.map(function (e) { return o ? V().createElement(ge, { key: e.id, style: { maxWidth: "100%", margin: "0 var(--ccx-comments-margin-sm) var(--ccx-comments-margin-sm) 0" }, value: e.id, variant: "action" }, e.name) : V().createElement( _t, { key: e.id, placement: "top", style: { maxWidth: "100%", margin: "0 var(--ccx-comments-margin-sm) var(--ccx-comments-margin-sm) 0" }, trigger: "hover", value: e.id }, V().createElement(ge, { key: e.id, style: { maxWidth: "100%" }, value: e.id, variant: "action" }, e.name), V().createElement(Ln, { placement: "bottom" }, V().createElement(Un, { environment: r, user: e })) ); }) ) ) ), V().createElement( "div", { className: F.default.filterGroup }, V().createElement(Li, { className: F.default.header, id: "ccx-comments-filter--time", variant: "subtitle2" }, V().createElement(ee.Z, { id: "comments.filter.time" })), V().createElement( "div", { className: "filter-group-content filter-group-content--names" }, V().createElement( Ir, { "aria-labelledby": "ccx-comments-filter--time", "data-testid": "filter-time-group", multiple: !0, onChange: u, style: { display: "block" }, value: c.time }, i.time.map(function (t) { return V().createElement( ge, { key: t, "aria-label": e({ id: "comments.arialabel.button.filter.".concat(t) }), style: { margin: "0 var(--ccx-comments-margin-sm) var(--ccx-comments-margin-sm) 0", maxWidth: "100%" }, value: t, variant: "action" }, V().createElement(ee.Z, { id: "comments.filter.".concat(t) }) ); }) ) ) ), V().createElement( "div", { className: F.default.filterGroup }, V().createElement(Li, { className: F.default.header, variant: "subtitle2" }, V().createElement(ee.Z, { id: "comments.filter.status" })), V().createElement( "div", { className: "filter-group-content filter-group-content--names" }, V().createElement( ge, { "aria-label": e({ id: "comments.arialabel.button.filter.".concat(i.status) }), "aria-pressed": c.status, className: F.default.filterButton, "data-testid": "filter-".concat(i.status, "-button"), onClick: d, selected: c.status, variant: "action", }, V().createElement(ee.Z, { id: "comments.filter.".concat(i.status) }) ) ) ), n && V().createElement( "div", { className: F.default.filterGroup }, V().createElement(Li, { className: F.default.header, variant: "subtitle2" }, V().createElement(ee.Z, { id: "comments.filter.unread.header" })), V().createElement( "div", { className: "filter-group-content filter-group-content--names" }, V().createElement( ge, { "aria-label": e({ id: "comments.arialabel.button.filter.".concat(i.unread) }), "aria-pressed": c.unread, className: F.default.filterButton, "data-testid": "filter-".concat(i.unread, "-button"), onClick: p, selected: c.unread, variant: "action", }, V().createElement(ee.Z, { id: "comments.filter.".concat(i.unread) }) ) ) ) ); }, ls = function () { return V().createElement("div", { className: I.default.subview }, V().createElement("div", { className: I.default.filter }, V().createElement(cs, null))); }; function us(e, t) { var n = Object.keys(e); if (Object.getOwnPropertySymbols) { var r = Object.getOwnPropertySymbols(e); t && (r = r.filter(function (t) { return Object.getOwnPropertyDescriptor(e, t).enumerable; })), n.push.apply(n, r); } return n; } function ds(e) { for (var t = 1; t < arguments.length; t++) { var n = null != arguments[t] ? arguments[t] : {}; t % 2 ? us(Object(n), !0).forEach(function (t) { ps(e, t, n[t]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : us(Object(n)).forEach(function (t) { Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t)); }); } return e; } function ps(e, t, n) { return t in e ? Object.defineProperty(e, t, { value: n, enumerable: !0, configurable: !0, writable: !0 }) : (e[t] = n), e; } function fs(e, t) { (null == t || t > e.length) && (t = e.length); for (var n = 0, r = new Array(t); n < t; n++) r[n] = e[n]; return r; } var ms = function (e) { var t, n, r, o = e.focusIfTextPresent, a = e.parentComment, i = ar(), s = i.isFullscreen, c = i.setIsFullscreen, l = i.mentionListShown, u = (0, z.useRef)(), d = ((n = (0, z.useState)(!1)), (r = 2), (function (e) { if (Array.isArray(e)) return e; })(n) || (function (e, t) { var n = null == e ? null : ("undefined" != typeof Symbol && e[Symbol.iterator]) || e["@@iterator"]; if (null != n) { var r, o, a = [], i = !0, s = !1; try { for (n = n.call(e); !(i = (r = n.next()).done) && (a.push(r.value), !t || a.length !== t); i = !0); } catch (e) { (s = !0), (o = e); } finally { try { i || null == n.return || n.return(); } finally { if (s) throw o; } } return a; } })(n, r) || (function (e, t) { if (e) { if ("string" == typeof e) return fs(e, t); var n = Object.prototype.toString.call(e).slice(8, -1); return "Object" === n && e.constructor && (n = e.constructor.name), "Map" === n || "Set" === n ? Array.from(e) : "Arguments" === n || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n) ? fs(e, t) : void 0; } })(n, r) || (function () { throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); })()), p = d[0], f = d[1], m = (0, z.useMemo)( function () { var e; return null == a || null === (e = a.replies) || void 0 === e ? void 0 : e.reduce(function (e, t) { return (e[t.id] = V().createRef()), e; }, {}); }, [a] ), h = (0, z.useCallback)( function (e) { var t = arguments.length > 1 && void 0 !== arguments[1] ? arguments[1] : { behavior: "smooth", block: "center" }, n = m[e]; n && n.current && (0, Ae.Z)(n.current, ds(ds({}, t), {}, { scrollMode: "if-needed" })); }, [m] ), v = (0, z.useCallback)( function () { c(!1), f(!1); }, [c, f] ); return a ? V().createElement( "div", { className: I.default.subview }, !l && V().createElement( Oe, null, V().createElement( "ul", { className: X()(I.default.replyThread, ps({}, I.default.hidden, s)) }, V().createElement(_o, { ref: u, comment: a, hideFooter: !0 }), V().createElement( "ul", { className: I.default.replies }, null === (t = a.replies) || void 0 === t ? void 0 : t.map(function (e) { return V().createElement(_o, { comment: e, key: e.id, onScrollToComment: h, parentCommentId: a.id, ref: m[e.id] }); }) ) ) ), "resolved" !== a.status && V().createElement(os, { focusIfTextPresent: o, hideTools: !p, onFocus: function () { return f(!0); }, onSubmit: v, parentComment: a, placeholder: "comments.item.reply_placeholder", }) ) : null; }; ms.propTypes = { focusIfTextPresent: G().bool, parentComment: G().object }; const hs = ms; var vs = ["guestLoginToast", "landscape", "showResolvedComments"]; function ys() { return ( (ys = Object.assign ? Object.assign.bind() : function (e) { for (var t = 1; t < arguments.length; t++) { var n = arguments[t]; for (var r in n) Object.prototype.hasOwnProperty.call(n, r) && (e[r] = n[r]); } return e; }), ys.apply(this, arguments) ); } function gs(e, t) { (null == t || t > e.length) && (t = e.length); for (var n = 0, r = new Array(t); n < t; n++) r[n] = e[n]; return r; } var bs = function (e) { var t, n, r, o = e.guestLoginToast, a = e.landscape, i = e.showResolvedComments, s = (function (e, t) { if (null == e) return {}; var n, r, o = (function (e, t) { if (null == e) return {}; var n, r, o = {}, a = Object.keys(e); for (r = 0; r < a.length; r++) (n = a[r]), t.indexOf(n) >= 0 || (o[n] = e[n]); return o; })(e, t); if (Object.getOwnPropertySymbols) { var a = Object.getOwnPropertySymbols(e); for (r = 0; r < a.length; r++) (n = a[r]), t.indexOf(n) >= 0 || (Object.prototype.propertyIsEnumerable.call(e, n) && (o[n] = e[n])); } return o; })(e, vs), c = (0, Ve.I0)(), l = (0, Ne.Z)().formatMessage, u = ar(), d = u.mentionListShown, p = u.popSubview, f = u.pushSubview, m = u.setIsFullscreen, h = u.subview, v = u.trayHandleRef, y = (0, Fa.Z)().comments, g = ((n = (0, z.useState)("")), (r = 2), (function (e) { if (Array.isArray(e)) return e; })(n) || (function (e, t) { var n = null == e ? null : ("undefined" != typeof Symbol && e[Symbol.iterator]) || e["@@iterator"]; if (null != n) { var r, o, a = [], i = !0, s = !1; try { for (n = n.call(e); !(i = (r = n.next()).done) && (a.push(r.value), !t || a.length !== t); i = !0); } catch (e) { (s = !0), (o = e); } finally { try { i || null == n.return || n.return(); } finally { if (s) throw o; } } return a; } })(n, r) || (function (e, t) { if (e) { if ("string" == typeof e) return gs(e, t); var n = Object.prototype.toString.call(e).slice(8, -1); return "Object" === n && e.constructor && (n = e.constructor.name), "Map" === n || "Set" === n ? Array.from(e) : "Arguments" === n || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n) ? gs(e, t) : void 0; } })(n, r) || (function () { throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); })()), b = g[0], E = g[1], D = (0, z.useContext)(re.ZP).assetData, C = D.id, w = D.nodeId, S = D.validNodes, A = (0, Ve.v9)(function (e) { var t = e["".concat(An.Bq, ":mobile")].expanded; return !(0 !== y.length || t || s.hasError || s.isLoading || s.isOffline || a); }), k = (0, Ve.v9)(function (e) { return (0, Pr._X)(e, C); }), _ = k.mobileEditingCommentId, T = k.parentCommentId, I = (0, Ve.v9)(function (e) { return (0, Pr.v)(e)[T]; }), O = (0, Hn.Z)(h) !== h; (0, z.useEffect)( function () { if (h === An.p8.COMMENT) { var e, t = S.find(function (e) { return e.id === w; }); E(null !== (e = null == t ? void 0 : t.title) && void 0 !== e ? e : ""); } }, [w, h, S] ); var F = (0, sr.Z)(), N = F.isPlacingAnnotation, R = F.setShowDraftAnnotations, L = (0, z.useCallback)( function () { h === An.p8.REPLY && c((0, oe.nx)(C)), h === An.p8.EDIT && c((0, oe.Xq)(C)), m(!1), p(); }, [C, c, p, m, h] ), M = (0, z.useCallback)( function () { L(), R(!1), N && c((0, ae.V0)(!1)); }, [c, N, L, R] ), P = (0, z.useCallback)( function () { f(An.p8.FILTER); }, [f] ), j = (0, z.useCallback)( function () { c((0, ce.K8)()), R(!0), f(An.p8.COMMENT); }, [c, f, R] ); (0, z.useEffect)( function () { _ ? f(An.p8.EDIT) : T && h !== An.p8.REPLY ? f(An.p8.REPLY) : T || h !== An.p8.REPLY ? f(null) : M(); }, [_, M, T, f, h] ), (0, z.useEffect)( function () { "error" === (null == o ? void 0 : o.toastType) && M(); }, [o] ); var B, Z, U, H, G = !h && V().createElement(Xi, { onFilterClick: P }); switch (h) { case An.p8.FILTER: (G = V().createElement(ss, { onBack: M })), (B = V().createElement(ls, null)); break; case An.p8.COMMENT: G = V().createElement(Pi, { onBack: M, pageTitle: b, title: l({ id: "comments.sections.newCommentMobile" }) }); break; case An.p8.EDIT: (G = V().createElement(Pi, { onBack: M, title: l({ id: "comments.item.edit" }) })), (B = V().createElement(is, { editingCommentId: _, focusIfTextPresent: O, onSubmit: L, parentCommentId: _ !== T ? T : void 0 })); break; case An.p8.REPLY: (G = V().createElement(Pi, { onBack: M, title: l({ id: "comments.mobile.header.title.reply" }, { count: null == I || null === (t = I.replies) || void 0 === t ? void 0 : t.length }) })), (B = V().createElement(hs, { focusIfTextPresent: O, parentComment: I })); break; default: G = V().createElement(Xi, { onFilterClick: P }); } return V().createElement( "div", { className: x.default.component }, V().createElement("div", { ref: v }, !d && G), B, V().createElement( "div", { className: X()(x.default.mainView, ((Z = {}), (U = x.default.hidden), (H = !!h), U in Z ? Object.defineProperty(Z, U, { value: H, enumerable: !0, configurable: !0, writable: !0 }) : (Z[U] = H), Z)) }, !A && V().createElement(ti, ys({ guestLoginToast: o }, s)) ), !i && (!h || h === An.p8.COMMENT) && V().createElement(os, { focusIfTextPresent: !1, hideTools: !h, onFocus: j, onSubmit: L }) ); }; bs.propTypes = { clearLastResolved: G().func, guestLoginToast: G().object, hasError: G().bool, landscape: G().bool, lastResolvedCommentData: G().shape({ assetId: G().string, commentId: G().string, newStatus: G().string }), onShare: G().func, onToastClose: G().func, selectedAnnotationId: G().string, showResolvedComments: G().bool, undoLastResolvedAction: G().func, }; const Es = bs; function Ds(e) { var t = e.commentProposedForDelete, n = void 0 === t ? {} : t, r = e.onCancel, o = e.onDelete, a = n.parentCommentId, i = !!n.parentCommentId, s = (0, Ke.Z)(), c = (0, z.useRef)(); return ( (0, z.useEffect)(function () { c.current.focus(), s.fireEvent({ event: { context_guid: a, subcategory: a ? "delete-reply" : "delete-comment", subtype: "overlay", type: "render" } }); }, []), V().createElement( "div", { role: "dialog", "aria-labelledby": "delete-dialog-heading", "aria-describedby": "delete-dialog-message", ref: c, className: N.default.component, id: "comment-delete-view", onKeyDown: function (e) { switch (e.key) { case "Esc": case "Escape": r(); break; case "Tab": Fe(c.current, e); } }, tabIndex: "0", }, V().createElement( "div", { className: "delete-background" }, V().createElement( "div", { className: "delete-wrapper" }, V().createElement("h2", { id: "delete-dialog-heading", className: "delete-header" }, V().createElement(ee.Z, { id: i ? "comments.delete.header_reply" : "comments.delete.header_comment" })), V().createElement("p", { id: "delete-dialog-message", className: "delete-message" }, V().createElement(ee.Z, { id: i ? "comments.delete.message_reply" : "comments.delete.message_comment" })), V().createElement( "div", { className: "button-wrapper" }, V().createElement( ge, { variant: "secondary", onClick: function () { s.fireEvent({ event: { context_guid: a, subcategory: a ? "delete-reply" : "delete-comment", subtype: "cancel", type: "click" } }), r(); }, }, V().createElement(ee.Z, { id: "comments.delete.cancel" }) ), V().createElement( ge, { onClick: function () { s.fireEvent({ event: { context_guid: a, subcategory: a ? "delete-reply" : "delete-comment", subtype: "confirm-delete", type: "click" } }), o(); }, style: { marginLeft: "var(--spectrum-global-dimension-size-200, 16px)" }, treatment: "fill", variant: "warning", }, V().createElement(ee.Z, { id: "comments.delete.confirm_delete" }) ) ) ) ) ) ); } (Ds.defaultProps = { onCancel: function () {}, onDelete: function () {} }), (Ds.propTypes = { assetData: G().shape({ id: G().string, ownerId: G().string }), ccxIngest: G().object, commentProposedForDelete: G().object, onCancel: G().func, onDelete: G().func }); const Cs = Ds; var ws = n(67961); const Ss = (0, pe.Z)(n(42115)).default, As = (0, ue.Z)({ displayName: "FieldLabel", fallback: Ss, swcLoader: void 0, SWCWrapper: function (e) { const { className: t, label: n, necessity: r, position: o, labelFor: a, children: i } = e, s = (function (e, t) { var n = {}; for (var r in e) Object.prototype.hasOwnProperty.call(e, r) && t.indexOf(r) < 0 && (n[r] = e[r]); if (null != e && "function" == typeof Object.getOwnPropertySymbols) { var o = 0; for (r = Object.getOwnPropertySymbols(e); o < r.length; o++) t.indexOf(r[o]) < 0 && Object.prototype.propertyIsEnumerable.call(e, r[o]) && (n[r[o]] = e[r[o]]); } return n; })(e, ["className", "label", "necessity", "position", "labelFor", "children"]), c = "required" === r, l = "left" === o ? "start" : "right" === o ? "end" : void 0, u = Object.assign(Object.assign(Object.assign({}, s), (0, de.cd)({ required: c })), { "side-aligned": l, children: n, class: t, for: a }), d = (0, de.Co)("sp-field-label"); return V().createElement(V().Fragment, null, V().createElement(d, Object.assign({}, u)), i); }, tagName: "sp-field-label", }); var ks = function (e, t) { var n = {}; for (var r in e) Object.prototype.hasOwnProperty.call(e, r) && t.indexOf(r) < 0 && (n[r] = e[r]); if (null != e && "function" == typeof Object.getOwnPropertySymbols) { var o = 0; for (r = Object.getOwnPropertySymbols(e); o < r.length; o++) t.indexOf(r[o]) < 0 && Object.prototype.propertyIsEnumerable.call(e, r[o]) && (n[r[o]] = e[r[o]]); } return n; }; const _s = (0, pe.Z)(n(46081)).default, Ts = (0, ue.Z)({ displayName: "Select", fallback: (0, z.forwardRef)(function (e, t) { const { children: n } = e, r = ks(e, ["children"]); return _s ? V().createElement( _s, Object.assign(Object.assign({}, r), { ref: t }), V().Children.map(n, (e) => (V().isValidElement(e) ? V().cloneElement(e, { forceFallback: !0 }) : e)) ) : null; }), swcLoader: void 0, SWCWrapper: function (e) { const t = (0, z.useRef)(null), { defaultValue: n, className: r, value: o, quiet: a, disabled: i, placeholder: s, placement: c, invalid: l, options: u, alignRight: d, flexible: p, menuClassName: f, onChange: m, onClose: h, onOpen: v, renderItem: y } = e, g = ks(e, ["defaultValue", "className", "value", "quiet", "disabled", "placeholder", "placement", "invalid", "options", "alignRight", "flexible", "menuClassName", "onChange", "onClose", "onOpen", "renderItem"]); (0, z.useEffect)(() => { const e = t.current, n = (e) => { const t = e.target; m && m(t.value); }; return ( e && m && e.addEventListener("change", n), () => { e && m && e.removeEventListener("change", n); } ); }, [m]), (0, z.useEffect)(() => { const e = t.current, n = (e) => { h && h(e); }; return ( e && h && e.addEventListener("sp-closed", n), () => { e && h && e.removeEventListener("sp-closed", n); } ); }, [h]), (0, z.useEffect)(() => { const e = t.current, n = (e) => { v && v(e); }; return ( e && v && e.addEventListener("sp-opened", n), () => { e && v && e.removeEventListener("sp-opened", n); } ); }, [v]); const b = Object.assign({ label: s, value: n || o, placement: d ? "bottom-end" : c }, g), E = (0, de.cd)({ invalid: l, disabled: i, quiet: a }), D = u && u.map((e, t) => "divider" === e ? V().createElement(qt, { key: `divider-${t}` }) : V().createElement(Yt, { description: e.description, icon: e.icon, key: e.value, value: e.value, valueContent: e.valueContent }, y ? y(e) : e.label) ), C = (0, de.Co)("sp-picker"); return V().createElement(C, Object.assign(Object.assign({ ref: t, class: r }, b), E), D); }, tagName: "sp-picker", }), Is = (0, pe.Z)(n(56805)).default, Os = (0, ue.Z)({ displayName: "Share", fallback: Is, swcLoader: void 0, swcProps: Ot.m, tagName: "sp-icon-share" }); var Fs = n(43235), xs = n.n(Fs); function Ns(e, t) { var n = Object.keys(e); if (Object.getOwnPropertySymbols) { var r = Object.getOwnPropertySymbols(e); t && (r = r.filter(function (t) { return Object.getOwnPropertyDescriptor(e, t).enumerable; })), n.push.apply(n, r); } return n; } function Rs(e) { for (var t = 1; t < arguments.length; t++) { var n = null != arguments[t] ? arguments[t] : {}; t % 2 ? Ns(Object(n), !0).forEach(function (t) { Ls(e, t, n[t]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : Ns(Object(n)).forEach(function (t) { Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t)); }); } return e; } function Ls(e, t, n) { return t in e ? Object.defineProperty(e, t, { value: n, enumerable: !0, configurable: !0, writable: !0 }) : (e[t] = n), e; } var Ms = function (e) { var t = e.onShare, n = e.onCopy, r = (0, Ne.Z)().formatMessage, o = (0, Ke.Z)(), a = (0, z.useContext)(re.ZP), i = a.assetData, s = a.enableFrameS4R, c = a.enableReadUnread, l = a.environment, u = a.isOffline, d = a.multipleAssets, p = a.s4rEnabled, f = a.spectrumUIScale, m = a.theme, h = (0, z.useContext)(tt.ZP).onUrlOpen, v = d || {}, y = v.assets, g = v.selectedId, b = v.setAsset, E = null == y ? void 0 : y.length, D = (0, Hn.Z)(E), C = (0, ln.UP)(), w = (0, $e.Z)().hasUnreadComments, S = (0, z.useCallback)( function (e) { var t, n = y.find(function (t) { return t.id === e; }); (t = s && n.isFrameArtifact ? "Frame.io Review" : n.isArtifact ? "Artifact Review" : "Cloud Doc Review"), b(e), o.fireEvent(xs()({}, { event: Rs(Rs({}, o.events.multipleAssetsDropdownChange.event), {}, { value: w(n.id) ? "has-unread" : void 0 }), content: { category: t } })); }, [y, o, s, w, b] ), A = (0, z.useCallback)( function (e) { var t = e.target.href; e.preventDefault(), h ? h(t) : window.open(t, "_blank"), o.fireEvent(o.events.clickAssetUrl); }, [o, h] ); (0, z.useEffect)( function () { E && E !== D && o.fireEvent(o.events.multipleAssetsDropdownRender); }, [E, o] ); var k, _, T = function () { if (!i.id) return null; var e = s && i.isFrameArtifact ? i.shortUrl : (0, ws.getTargetUrl)({ assetId: i.id, environment: l, isArtifact: "artifact" === i.reviewType, mimeType: i.mimeType, useProductViewUrl: i.useProductViewUrl }), o = r({ id: "comments.arialabel.button.shareAsset" }), a = r({ id: "comments.arialabel.button.copyShareLink" }); return V().createElement( "div", { className: "url-copy-and-share-wrapper" }, V().createElement( "div", { className: "url-container" }, V().createElement("div", { className: "link-wrapper" }, V().createElement(wt, { className: "asset-link", href: e, target: "_blank", onClick: A, "data-testid": "asset-link" }, e)) ), V().createElement(Kn, { className: "url-copy-button", "data-testid": "url-copy-button", label: a, variant: "action", onClick: function () { return n(e); }, "aria-label": a, tooltip: a, }), V().createElement(Kn, { className: "asset-share-button", "data-testid": "asset-share-button", variant: "action", icon: V().createElement(Os, null), quiet: !0, onClick: function () { return t("header"); }, "aria-label": o, tooltip: o, }) ); }; return ( (k = s && i.isFrameArtifact ? "comments.multipleAssetsDropdown.frameReviewLabel" : "cloudDoc" === i.reviewType ? "comments.multipleAssetsDropdown.sourceLabel" : "comments.multipleAssetsDropdown.reviewLabel"), (_ = p ? null != y && y.length ? V().createElement( V().Fragment, null, V().createElement( "div", { className: "dropdown-wrapper" }, V().createElement( As, { label: r({ id: "comments.multipleAssetsDropdown.dropdownLabel" }) }, V().createElement(Ts, { id: "multiple-asset-dropdown", "data-testid": "multiple-asset-dropdown", onChange: S, onOpen: function () { return C.completeCurrent({ dismissType: "blur" }); }, options: y.map(function (e) { var t; return ( (t = s && e.isFrameArtifact ? r({ id: "comments.multipleAssetsDropdown.frameReviewLabel" }) : e.isArtifact ? r({ id: "comments.multipleAssetsDropdown.reviewLabel" }) : r({ id: "comments.multipleAssetsDropdown.sourceLabel" })), { label: e.name, value: e.id, subLabel: t, hasUnread: !!c && w(e.id) && e.id !== g } ); }), style: { width: "100%" }, renderItem: function (e) { var t = e.label, n = e.subLabel, r = e.hasUnread; return V().createElement( "div", { className: "".concat(R.default.dropdownItem, " ").concat(f, "-scale ").concat(m, "-theme"), "data-testid": "multiple-asset-dropdown-item" }, V().createElement("div", { className: "asset-details" }, V().createElement("div", null, t), V().createElement("div", { className: "asset-type" }, n)), r && V().createElement("span", { className: "unread-container" }, V().createElement(ro, { isOffline: u })) ); }, value: g, }) ), V().createElement(T, null) ), V().createElement(fn, null) ) : i.id && i.name ? V().createElement( V().Fragment, null, V().createElement( "div", { className: "header-wrapper", "data-testid": "asset-name-header" }, V().createElement("div", { className: "header-title" }, i.name), V().createElement("div", { className: "header-subtitle" }, V().createElement(ee.Z, { id: k })), V().createElement(T, null) ), V().createElement(fn, null) ) : null : null), V().createElement("div", { className: R.default.component }, V().createElement(ln.Py, { name: "multipleConversations", selector: "#multiple-asset-dropdown .spectrum-Dropdown-icon", placement: "bottom right" }), _) ); }; (Ms.defaultProps = {}), (Ms.propTypes = { onShare: G().func, onCopy: G().func }); const Ps = Ms; function js(e, t) { (null == t || t > e.length) && (t = e.length); for (var n = 0, r = new Array(t); n < t; n++) r[n] = e[n]; return r; } var Bs = function () { return V().createElement( "svg", { xmlns: "http://www.w3.org/2000/svg", width: "58", height: "99", viewBox: "0 0 37.943 66.219", className: "ccx-share-illustration" }, V().createElement( "g", { id: "Group_68966", "data-name": "Group 68966", transform: "translate(1.5 1.5)" }, V().createElement( "g", { id: "Group_18", "data-name": "Group 18" }, V().createElement("path", { id: "Path_33", "data-name": "Path 33", d: "M1118.438-2655.353a4.909,4.909,0,0,1,.374-2.569,8.872,8.872,0,0,1,1.4-2.127,5.386,5.386,0,0,0,1.218-3.815c-.048-.694-.948-5.764-.99-6.268a3.932,3.932,0,0,1,.365-2.557,2.333,2.333,0,0,1,.71-.628,1.365,1.365,0,0,1,2.1.837c.893,3.053,2.5,8.429,3.15,11.544a23.979,23.979,0,0,1,.514,3.412c.263,4.271-1.362,8.417-1.856,12.668l.121,2.7", transform: "translate(-1101.709 2705.306)", fill: "none", stroke: "#909090", strokeLinecap: "round", strokeLinejoin: "round", strokeWidth: "3", }), V().createElement("path", { id: "Path_34", "data-name": "Path 34", d: "M1108.448-2632.69c-.139-4.117-.653-3.5-1.834-5.785-.522-1.009-1.152-1.982-1.646-3a7.484,7.484,0,0,1-.74-3.267l.5-6.247", transform: "translate(-1095.399 2695.838)", fill: "none", stroke: "#909090", strokeLinecap: "round", strokeLinejoin: "round", strokeWidth: "3", }), V().createElement("path", { id: "Path_35", "data-name": "Path 35", d: "M1105.972-2688.688h-13.4a4.048,4.048,0,0,1-4.075-4.02v-34.772a4.047,4.047,0,0,1,4.075-4.02h20.287a4.512,4.512,0,0,1,3.174,1.3l6.1,6.032a4.392,4.392,0,0,1,1.309,3.123v28.337a4.048,4.048,0,0,1-4.075,4.02h-3.252", transform: "translate(-1088.5 2731.5)", fill: "none", stroke: "#909090", strokeLinecap: "round", strokeLinejoin: "round", strokeWidth: "3", }), V().createElement("line", { id: "Line_39", "data-name": "Line 39", x2: "21.471", transform: "translate(6.197 30.716)", fill: "none", stroke: "#909090", strokeLinecap: "round", strokeLinejoin: "round", strokeWidth: "2" }), V().createElement("line", { id: "Line_40", "data-name": "Line 40", x2: "10.445", transform: "translate(6.403 35.225)", fill: "none", stroke: "#909090", strokeLinecap: "round", strokeLinejoin: "round", strokeWidth: "2" }), V().createElement("line", { id: "Line_41", "data-name": "Line 41", x2: "2.321", transform: "translate(25.029 35.225)", fill: "none", stroke: "#909090", strokeLinecap: "round", strokeLinejoin: "round", strokeWidth: "2" }) ) ) ); }; const Zs = function () { var e, t, n; return ( ((t = (0, z.useState)(!1)), (n = 2), (function (e) { if (Array.isArray(e)) return e; })(t) || (function (e, t) { var n = null == e ? null : ("undefined" != typeof Symbol && e[Symbol.iterator]) || e["@@iterator"]; if (null != n) { var r, o, a = [], i = !0, s = !1; try { for (n = n.call(e); !(i = (r = n.next()).done) && (a.push(r.value), !t || a.length !== t); i = !0); } catch (e) { (s = !0), (o = e); } finally { try { i || null == n.return || n.return(); } finally { if (s) throw o; } } return a; } })(t, n) || (function (e, t) { if (e) { if ("string" == typeof e) return js(e, t); var n = Object.prototype.toString.call(e).slice(8, -1); return "Object" === n && e.constructor && (n = e.constructor.name), "Map" === n || "Set" === n ? Array.from(e) : "Arguments" === n || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n) ? js(e, t) : void 0; } })(t, n) || (function () { throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); })())[1], (0, z.useEffect)(function () {}, []), null !== (e = window.customElements) && void 0 !== e && e.get("ccx-comments-icon-share-illustration") ? V().createElement("ccx-comments-icon-share-illustration", null) : V().createElement(Bs, null) ); }; function Us(e, t) { (null == t || t > e.length) && (t = e.length); for (var n = 0, r = new Array(t); n < t; n++) r[n] = e[n]; return r; } var zs = function () { return V().createElement( "svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 118 78", height: "79", width: "120" }, V().createElement( "g", null, V().createElement( "g", null, V().createElement( "g", null, V().createElement( "g", null, V().createElement("path", { d: "M81.67285,64.7002l-13.125-.001a1,1,0,0,1,0-2h0l13.125.001c3.90527,0,11.291-2.40918,11.291-11.5254,0-7.041-4.70508-11.875-12.28028-12.61523a.99979.99979,0,0,1-.88281-1.19238,13.22089,13.22089,0,0,0-2.45215-10.35694,1.00015,1.00015,0,0,1,1.61328-1.18261,15.362,15.362,0,0,1,2.97071,10.87158c7.9541,1.188,13.03125,6.77441,13.03125,14.47558C94.96387,61.09863,87.01562,64.7002,81.67285,64.7002Z", }), V().createElement("path", { d: "M50.36133,64.69922h0l-17.46094-.001c-6.77734,0-9.86426-4.76269-9.86426-9.1875a10.19482,10.19482,0,0,1,3.3291-6.97851,8.78238,8.78238,0,0,1,5.043-2.39258C30.169,40.49414,33.60645,34.49121,39.709,32.04053a1.00038,1.00038,0,0,1,.7461,1.85644c-5.57813,2.23926-8.55957,7.897-6.78809,12.8794a1.00034,1.00034,0,0,1-1.01269,1.332,6.61077,6.61077,0,0,0-4.92481,1.88672,8.23622,8.23622,0,0,0-2.69336,5.51562c0,2.66992,1.65625,7.1875,7.86426,7.1875l17.46094.001a1,1,0,1,1,0,2Z", }) ) ), V().createElement( "g", null, V().createElement("path", { d: "M59.32227,74.68555a.99942.99942,0,0,1-1-1V47.88867a1,1,0,1,1,2,0V73.68555A.99943.99943,0,0,1,59.32227,74.68555Z" }), V().createElement("path", { d: "M52.377,55.37891a1,1,0,0,1-.706-1.708l6.46777-6.44531a1.68042,1.68042,0,0,1,2.36914,0L66.97363,53.669a.99989.99989,0,1,1-1.41211,1.416l-6.23828-6.2168L53.083,55.08691A.99926.99926,0,0,1,52.377,55.37891Z", }) ), V().createElement("path", { d: "M67.54785,34.72119H51.36133a.75.75,0,0,1,0-1.5H67.54785a.75.75,0,0,1,0,1.5Z" }), V().createElement("path", { d: "M67.54785,29.09131H51.36133a.75.75,0,0,1,0-1.5H67.54785a.75.75,0,0,1,0,1.5Z" }), V().createElement("path", { d: "M70.01953,41.08105H48.83105a3.93876,3.93876,0,0,1-3.94238-3.92626V8.97119a3.93866,3.93866,0,0,1,3.94238-3.92578H65.02539a3.97265,3.97265,0,0,1,2.79,1.15283l4.99414,4.98194a3.89031,3.89031,0,0,1,1.15234,2.77294V37.15479A3.93875,3.93875,0,0,1,70.01953,41.08105ZM48.83105,7.04541a1.93608,1.93608,0,0,0-1.94238,1.92578v28.1836a1.93649,1.93649,0,0,0,1.94238,1.92626H70.01953a1.93648,1.93648,0,0,0,1.94238-1.92626V13.95312a1.90415,1.90415,0,0,0-.56445-1.35693L66.40332,7.61377a1.96388,1.96388,0,0,0-1.37793-.56836Z", }) ) ) ); }; const Vs = function () { var e, t, n; return ( ((t = (0, z.useState)(!1)), (n = 2), (function (e) { if (Array.isArray(e)) return e; })(t) || (function (e, t) { var n = null == e ? null : ("undefined" != typeof Symbol && e[Symbol.iterator]) || e["@@iterator"]; if (null != n) { var r, o, a = [], i = !0, s = !1; try { for (n = n.call(e); !(i = (r = n.next()).done) && (a.push(r.value), !t || a.length !== t); i = !0); } catch (e) { (s = !0), (o = e); } finally { try { i || null == n.return || n.return(); } finally { if (s) throw o; } } return a; } })(t, n) || (function (e, t) { if (e) { if ("string" == typeof e) return Us(e, t); var n = Object.prototype.toString.call(e).slice(8, -1); return "Object" === n && e.constructor && (n = e.constructor.name), "Map" === n || "Set" === n ? Array.from(e) : "Arguments" === n || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n) ? Us(e, t) : void 0; } })(t, n) || (function () { throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); })())[1], (0, z.useEffect)(function () {}, []), null !== (e = window.customElements) && void 0 !== e && e.get("ccx-comments-icon-unsaved-illustration") ? V().createElement("ccx-comments-icon-unsaved-illustration", null) : V().createElement(zs, null) ); }; var Hs = function (e) { var t, n, r, o, a, i, s = e.documentState, c = e.isDocumentSupported, l = e.isOffline, u = e.onShare, d = e.onCloudSave, p = e.onCreateReviewLink, f = e.reviewType, m = (0, z.useContext)(re.ZP), h = m.s4rEnabled, v = m.cloudDocSupported, y = (0, z.useCallback)( function () { u(); }, [u] ); if ("noDocument" === s) return V().createElement(Vo, { testId: "no-documents-active" }); if ("documentLoading" === s) return V().createElement(Vo, { testId: "no-documents-active" }, V().createElement(ka, { testId: "loading" }, V().createElement(ee.Z, { id: "comments.list.loading" }))); var g = !!u, b = y; return ( c ? h ? ((t = "comments.asset-empty-state.s4r.artifact.share-title"), (n = "comments.asset-empty-state.s4r.artifact.share-subtitle"), (r = "comments.asset-empty-state.s4r.artifact.share"), (o = V().createElement(Wo, null)), (a = "cta"), (i = "empty-state-s4r-unpublished-artifact"), (b = p)) : "cloudDoc" === f ? ((t = "comments.asset-empty-state.cloud-doc.save-title"), (n = "comments.asset-empty-state.cloud-doc.save-subtitle"), (r = "comments.asset-empty-state.cloud-doc.save"), (o = V().createElement(Vs, null)), (a = "primary"), (i = "empty-state-unsaved-cloud")) : ((t = "comments.asset-empty-state.artifact.share-title"), (n = "comments.asset-empty-state.artifact.share-subtitle"), (r = "comments.asset-empty-state.artifact.share"), (o = V().createElement(Zs, null)), (a = "cta"), (i = "empty-state-unpublished-artifact")) : ((t = "comments.asset-empty-state.unsupported.title"), (o = V().createElement(Ea, null)), (i = "unsupported-document"), (g = !1)), V().createElement( Vo, { testId: i }, V().createElement(Vo.Illustration, null, o), t ? V().createElement(Vo.Title, null, V().createElement(ee.Z, { id: t })) : null, n ? V().createElement(Vo.Subtitle, null, V().createElement(ee.Z, { id: n })) : null, g && V().createElement(ge, { className: L.default.commentsShareForReviewBtn, "data-testid": "empty-state-cta", disabled: l, variant: a, onClick: b }, r ? V().createElement(ee.Z, { id: r }) : null), h && v && V().createElement( "div", { className: L.default.saveToCloudWrapper }, V().createElement(fn, null), V().createElement("div", { className: L.default.alternateActionSubtitle }, V().createElement(ee.Z, { id: "comments.asset-empty-state.s4r.artifact.share-alternate-action-subtitle" })), V().createElement( ge, { className: L.default.alternateActionButton, "data-testid": "empty-state-cta-cloud-save", disabled: l, variant: "primary", onClick: d }, V().createElement(ee.Z, { id: "comments.asset-empty-state.cloud-doc.save-title" }) ) ), V().createElement("div", { className: L.default.toastContainer }, V().createElement(Ha, { isOffline: l })) ) ); }; (Hs.defaultProps = { documentState: "documentOpen", isDocumentSupported: !0, onShare: void 0, onCloudSave: function () {}, onCreateReviewLink: function () {}, reviewType: "artifact" }), (Hs.propTypes = { documentState: G().oneOf(["documentOpen", "noDocument", "documentLoading"]), isDocumentSupported: G().bool, isOffline: G().bool, onShare: G().func, onCloudSave: G().func, onCreateReviewLink: G().func, reviewType: G().oneOf(["artifact", "cloudDoc"]), }); const Gs = Hs; var Ws; function Qs(e, t, n) { return t in e ? Object.defineProperty(e, t, { value: n, enumerable: !0, configurable: !0, writable: !0 }) : (e[t] = n), e; } var Js = (Qs((Ws = {}), An.Ov.ERROR, "comments.error.load"), Qs(Ws, An.Al.ERROR, "comments.error.edit"), Qs(Ws, An.Tf.ERROR, "comments.error.edit"), Qs(Ws, An.b$.ERROR, "comments.error.edit"), Qs(Ws, An.xH.ERROR, "comments.error.edit"), Qs(Ws, "".concat(An.eE.ERROR, "_ROOT"), "comments.error.post"), Qs(Ws, "".concat(An.fj.ERROR, "_REPLY"), "comments.error.reply"), Qs(Ws, "".concat(An.eE.ERROR, "_MAX_COMMENTS"), { artifact: "comments.error.post.max.comments.artifact", cloudDoc: "comments.error.post.max.comments.cloudDoc" }), Ws), Ys = function (e) { var t = e.onClose, n = e.errorLocation, r = e.errorType, o = e.reviewType, a = (0, z.useCallback)( function () { t(n); }, [t, n] ); if ("list" === n || !Js[r]) return null; var i, s = Js[r]; return ( (i = r === "".concat(An.eE.ERROR, "_MAX_COMMENTS") ? ("artifact" === o ? s.artifact : s.cloudDoc) : s), V().createElement(Ee, { className: "comments-error", closable: !0, onClose: a, variant: "error" }, V().createElement(ee.Z, { id: i })) ); }; (Ys.defaultProps = { onClose: function () {} }), (Ys.propTypes = { children: G().node, errorLocation: G().string.isRequired, errorType: G().string.isRequired, onClose: G().func, reviewType: G().oneOf(["artifact", "cloudDoc"]) }); const qs = Ys; var Xs = function (e) { var t = e.assetId, n = e.errors, r = void 0 === n ? {} : n, o = e.reviewType, a = (0, Ve.I0)(), i = (0, z.useCallback)( function (e) { return a((0, oe.H6)(t, e)); }, [a, t] ); return V().createElement( "div", { className: M.default.component }, Object.keys(r).map(function (e) { return V().createElement(qs, { onClose: i, errorLocation: e, errorType: r[e], key: e, reviewType: o }); }) ); }; Xs.propTypes = { assetId: G().string, errors: G().object, reviewType: G().oneOf(["artifact", "cloudDoc"]) }; const Ks = Xs; const $s = (0, pe.Z)(n(866)).default, ec = (0, ue.Z)({ displayName: "Switch", fallback: $s, swcLoader: void 0, SWCWrapper: (e) => { const t = (0, z.useRef)(null), { renderLabel: n = !0, label: r, className: o, checked: a, defaultChecked: i, disabled: s, children: c, quiet: l, onChange: u } = e, d = (function (e, t) { var n = {}; for (var r in e) Object.prototype.hasOwnProperty.call(e, r) && t.indexOf(r) < 0 && (n[r] = e[r]); if (null != e && "function" == typeof Object.getOwnPropertySymbols) { var o = 0; for (r = Object.getOwnPropertySymbols(e); o < r.length; o++) t.indexOf(r[o]) < 0 && Object.prototype.propertyIsEnumerable.call(e, r[o]) && (n[r[o]] = e[r[o]]); } return n; })(e, ["renderLabel", "label", "className", "checked", "defaultChecked", "disabled", "children", "quiet", "onChange"]); (0, z.useEffect)(() => { const e = t.current, n = (e) => { const t = e.target; null == u || u(t.checked, e); }; return ( e && u && e.addEventListener("change", n), () => { e && u && e.removeEventListener("change", n); } ); }, [u]); const p = (0, de.Co)("sp-switch"); return V().createElement(p, Object.assign(Object.assign(Object.assign({}, d), (0, de.cd)({ checked: null != a ? a : i, disabled: s, emphasized: !l })), { class: o, ref: t }), n ? r : "", c); }, tagName: "sp-switch", }); var tc = function (e) { var t = e.visible, n = e.defaultChecked, r = e.onToggle, o = e.disable, a = e.globalCommentsMode, i = (0, Ke.Z)(), s = (0, z.useCallback)( function (e) { r(e), a ? i.fireEvent(i.events.showNonGlobal) : i.fireEvent(i.events.showGlobal); }, [i, a, r] ); return t ? V().createElement( "div", { className: "view-switch-wrapper" }, V().createElement( ec, { defaultChecked: n, disabled: o, id: "ccx-comments-switch-view", onChange: s }, V().createElement("label", { className: "switch-label", htmlFor: "ccx-comments-switch-view" }, V().createElement(ee.Z, { id: "comments.filter.all_screens" })) ) ) : null; }; (tc.defaultProps = { disable: !1 }), (tc.propTypes = { defaultChecked: G().bool.isRequired, disable: G().bool, globalCommentsMode: G().bool.isRequired, onToggle: G().func.isRequired, visible: G().bool.isRequired }); const nc = tc, rc = (0, pe.Z)(n(95190)).default, oc = (0, ue.Z)({ displayName: "CloudDisconnected", fallback: rc, swcLoader: void 0, swcProps: Ot.m, tagName: "sp-icon-cloud-disconnected" }), ac = (0, pe.Z)(n(60922)).default, ic = (0, ue.Z)({ displayName: "Cloud", fallback: ac, swcLoader: void 0, swcProps: Ot.m, tagName: "sp-icon-cloud" }), sc = ({ className: e, isOffline: t, tooltipDirection: n, touchControls: r }) => { const { formatMessage: o } = (0, Ne.Z)(); let a, i; t ? ((a = V().createElement(oc, { className: "network-status-icon", size: "M" })), (i = "comments.network.status.offline")) : ((a = V().createElement(ic, { className: "network-status-icon", size: "M" })), (i = "comments.network.status.online")); const s = o({ id: i }), c = o({ id: "comments.arialabel.button.networkIndicator" }), l = o({ id: "comments.network.status." + (t ? "offline" : "online") }); let u = V().createElement(ge, { "aria-disabled": !0, "aria-label": `${c} ${l}`, className: e, "data-test": "network-icon", icon: a, variant: "tool" }); return r || (u = V().createElement(_t, { placement: "right" === n ? "right" : "left", trigger: "hover" }, u, V().createElement(It, { style: { alignItems: "stretch" } }, s))), u; }; (sc.defaultProps = { className: "", isOffline: !1, tooltipDirection: "right", touchControls: !1 }), (sc.propTypes = { className: G().string, isOffline: G().bool, tooltipDirection: G().oneOf(["right", "left"]), touchControls: G().bool }); const cc = sc; function lc(e, t) { (null == t || t > e.length) && (t = e.length); for (var n = 0, r = new Array(t); n < t; n++) r[n] = e[n]; return r; } var uc = function (e, t) { var n = e.showUnreadFilter, r = e.environment, o = e.filteredCommentsCount, a = e.intl, i = e.touchControls, s = e.users, c = e.onFilterChange, l = e.onFilterClear, u = e.selectedFilters, d = (0, z.useCallback)( function (e) { return c("user", e); }, [c] ), p = (0, z.useCallback)( function (e) { return c("time", e); }, [c] ), f = (0, z.useCallback)( function () { return c("status"); }, [c] ), m = (0, z.useCallback)( function () { return c("unread"); }, [c] ), h = (0, z.useRef)(), v = (0, z.useRef)(); (0, z.useImperativeHandle)(t, function () { return { firstReviewerBtn: h.current, filterContainer: v.current }; }); var y = (0, z.useMemo)( function () { return s.reduce(function (e, t) { return e || (!t.email && t.affiliation === An.Kx && !t.name); }, !1); }, [s] ), g = (0, z.useMemo)( function () { return (y ? [].concat( ((e = s), (function (e) { if (Array.isArray(e)) return lc(e); })(e) || (function (e) { if (("undefined" != typeof Symbol && null != e[Symbol.iterator]) || null != e["@@iterator"]) return Array.from(e); })(e) || (function (e, t) { if (e) { if ("string" == typeof e) return lc(e, t); var n = Object.prototype.toString.call(e).slice(8, -1); return "Object" === n && e.constructor && (n = e.constructor.name), "Map" === n || "Set" === n ? Array.from(e) : "Arguments" === n || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n) ? lc(e, t) : void 0; } })(e) || (function () { throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); })()), [{ name: a.formatMessage({ id: "comments.filter.guests" }), id: "guest-filter" }] ) : s ).filter(function (e) { return !!e.name; }); var e; }, [y, a, s] ); return V().createElement( "div", { className: "filters-wrapper", ref: v, style: { outline: "none" }, tabIndex: 0 }, V().createElement( "div", { style: { paddingRight: "calc(var(--ccx-comments-margin-xxs) + var(--ccx-comments-margin-lg))", maxHeight: "var(--ccx-comments-filter-panel-max-height)", overflow: "hidden auto", paddingBottom: "var(--ccx-comments-margin-xs)", paddingLeft: "var(--ccx-comments-margin-xs)", }, }, V().createElement( "div", { className: "filter-group" }, V().createElement(Li, { className: "filter-group-header", id: "ccx-filter--reviewer", variant: "subtitle2" }, a.formatMessage({ id: "comments.filter.reviewers" })), V().createElement( "div", { className: "filter-group-content filter-group-content--names" }, V().createElement( Ir, { "aria-labelledby": "ccx-filter--reviewer", "data-testid": "filter-users-group", multiple: !0, onChange: d, selects: "multiple", style: { display: "flow-root" }, value: u.user }, g.map(function (e, t) { return i ? e.name : V().createElement( _t, { key: e.id, placement: "top", style: { maxWidth: "100%", margin: "0 var(--ccx-comments-margin-sm) var(--ccx-comments-margin-sm) 0" }, trigger: "hover", value: e.id }, V().createElement(ge, { key: e.id, ref: 0 === t ? h : null, style: { maxWidth: "100%" }, value: e.id, variant: "action" }, e.name), V().createElement(Ln, { placement: "bottom" }, V().createElement(Un, { environment: r, user: e })) ); }) ) ) ), V().createElement( "div", { className: "filter-group" }, V().createElement(Li, { className: "filter-group-header", id: "ccx-filter--time", variant: "subtitle2" }, a.formatMessage({ id: "comments.filter.time" })), V().createElement( "div", { className: "filter-group-content filter-group-content--names" }, V().createElement( Ir, { "aria-labelledby": "ccx-filter--time", "data-testid": "filter-time-group", multiple: !0, onChange: p, style: { display: "block" }, value: u.time }, V().createElement( ge, { "aria-label": a.formatMessage({ id: "comments.arialabel.button.filter.today" }), style: { margin: "0 var(--ccx-comments-margin-sm) var(--ccx-comments-margin-sm) 0", maxWidth: "100%" }, value: "today", variant: "action", }, a.formatMessage({ id: "comments.filter.today" }) ), V().createElement( ge, { "aria-label": a.formatMessage({ id: "comments.arialabel.button.filter.yesterday" }), style: { margin: "0 var(--ccx-comments-margin-sm) var(--ccx-comments-margin-sm) 0", maxWidth: "100%" }, value: "yesterday", variant: "action", }, a.formatMessage({ id: "comments.filter.yesterday" }) ), V().createElement( ge, { "aria-label": a.formatMessage({ id: "comments.arialabel.button.filter.last7Days" }), style: { margin: "0 var(--ccx-comments-margin-sm) var(--ccx-comments-margin-sm) 0", maxWidth: "100%" }, value: "last7Days", variant: "action", }, a.formatMessage({ id: "comments.filter.last7Days" }) ), V().createElement( ge, { "aria-label": a.formatMessage({ id: "comments.arialabel.button.filter.older" }), style: { margin: "0 var(--ccx-comments-margin-sm) var(--ccx-comments-margin-sm) 0", maxWidth: "100%" }, value: "older", variant: "action", }, a.formatMessage({ id: "comments.filter.older" }) ) ) ) ), V().createElement( "div", { className: "filter-group" }, V().createElement(Li, { className: "filter-group-header", variant: "subtitle2" }, a.formatMessage({ id: "comments.filter.status" })), V().createElement( "div", { className: "filter-group-content filter-group-content--names" }, V().createElement( ge, { "aria-label": a.formatMessage({ id: "comments.arialabel.button.filter.resolved" }), "aria-pressed": u.status, className: "filter-resolved", "data-testid": "filter-resolved-button", onClick: f, selected: u.status, variant: "action", }, a.formatMessage({ id: "comments.filter.resolved" }) ) ) ), n && V().createElement( "div", { className: "filter-group" }, V().createElement(Li, { className: "filter-group-header", variant: "subtitle2" }, a.formatMessage({ id: "comments.filter.unread.header" })), V().createElement( "div", { className: "filter-group-content filter-group-content--names" }, V().createElement( ge, { "aria-label": a.formatMessage({ id: "comments.arialabel.button.filter.unread" }), "aria-pressed": u.unread, className: "filter-unread", "data-testid": "filter-unread-button", onClick: m, selected: u.unread, variant: "action", }, a.formatMessage({ id: "comments.filter.unread" }) ) ) ) ), V().createElement( "div", { className: "filter-footer", style: { marginTop: "var(--ccx-comments-margin-md)" } }, V().createElement( ge, { "aria-label": a.formatMessage({ id: "comments.arialabel.button.filterClear" }), className: "float-right filter-clear", "data-testid": "filter-clear-button", onClick: l, quiet: !0 }, a.formatMessage({ id: "comments.filter.clear" }) ) ), V().createElement(we, { "aria-live": "polite" }, a.formatMessage({ id: "comments.ariaLive.filterResult" }, { count: o })) ); }; (uc.displayName = "FilterPopover"), (uc.defaultProps = { environment: void 0, onFilterChange: function () {}, onFilterClear: function () {}, selectedFilters: { time: [], user: [], status: !1 }, showUnreadFilter: !1, users: [] }), (uc.propTypes = { environment: G().string, filteredCommentsCount: G().number.isRequired, intl: G().object.isRequired, onFilterChange: G().func, onFilterClear: G().func, selectedFilters: G().shape({ time: G().array, user: G().array, status: G().bool, unread: G().bool }), showUnreadFilter: G().bool, touchControls: G().bool.isRequired, users: G().array, }); const dc = V().forwardRef(uc); function pc(e, t) { return ( (function (e) { if (Array.isArray(e)) return e; })(e) || (function (e, t) { var n = null == e ? null : ("undefined" != typeof Symbol && e[Symbol.iterator]) || e["@@iterator"]; if (null != n) { var r, o, a = [], i = !0, s = !1; try { for (n = n.call(e); !(i = (r = n.next()).done) && (a.push(r.value), !t || a.length !== t); i = !0); } catch (e) { (s = !0), (o = e); } finally { try { i || null == n.return || n.return(); } finally { if (s) throw o; } } return a; } })(e, t) || (function (e, t) { if (e) { if ("string" == typeof e) return fc(e, t); var n = Object.prototype.toString.call(e).slice(8, -1); return "Object" === n && e.constructor && (n = e.constructor.name), "Map" === n || "Set" === n ? Array.from(e) : "Arguments" === n || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n) ? fc(e, t) : void 0; } })(e, t) || (function () { throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); })() ); } function fc(e, t) { (null == t || t > e.length) && (t = e.length); for (var n = 0, r = new Array(t); n < t; n++) r[n] = e[n]; return r; } var mc = function (e) { var t, n, r, o = e.disable, a = e.filteredCommentsCount, i = e.touchControls, s = e.visible, c = pc((0, z.useState)(!1), 2), l = c[0], u = c[1], d = (0, Ne.Z)(), p = (0, Ke.Z)(), f = xa(), m = f.filterOptions, h = f.isFilterApplied, v = f.onFilterChange, y = f.onFilterClear, g = f.selectedFilters, b = (0, z.useContext)(re.ZP), E = b.enableReadUnread, D = b.environment, C = (0, cn.cs)(), w = (0, ln.UP)(), S = d.formatMessage, A = S({ id: "comments.arialabel.button.filter" }), k = S({ id: "comments.arialabel.status.".concat(h ? "filterApplied" : "filterNotApplied") }), _ = S({ id: "comments.filter.tooltip" }), T = (0, z.useRef)(null === (t = document) || void 0 === t || null === (n = t.documentElement) || void 0 === n || null === (r = n.style) || void 0 === r ? void 0 : r.overflow), I = (0, z.useRef)(), O = pc((0, z.useState)(!1), 2), F = O[0], x = O[1]; (0, z.useEffect)( function () { var e, t; null !== (e = document) && void 0 !== e && null !== (t = e.documentElement) && void 0 !== t && t.style && (document.documentElement.style.overflow = l ? "hidden" : T.current); }, [l] ); var N = (0, z.useCallback)( function (e, t) { v(e, t); }, [v] ), R = (0, z.useCallback)( function () { u(!1), p.fireEvent(p.events.filterHide); }, [p] ), L = (0, z.useCallback)( function (e) { C.completeCurrentOrResumeCoachMarks({ dismissType: "blur" }), w.completeCurrent({ dismissType: "blur" }), x(0 === e.screenX && 0 === e.screenY); }, [w, C] ), M = (0, z.useCallback)( function () { u(!0), requestAnimationFrame(function () { var e, t, n, r; F ? null == I || null === (e = I.current) || void 0 === e || null === (t = e.firstReviewerBtn) || void 0 === t || t.focus() : null == I || null === (n = I.current) || void 0 === n || null === (r = n.filterContainer) || void 0 === r || r.focus(); }), p.fireEvent(p.events.filterShow); }, [p, F] ), j = (0, z.useCallback)(function (e) { e.preventDefault(); }, []), B = V().createElement( "div", null, V().createElement( _t, { crossOffset: -1e3, "data-testid": "filter-popover-overlay", onHide: R, onShow: M, placement: "top", trigger: "click" }, V().createElement( "div", null, V().createElement(ge, { "aria-expanded": l, "aria-label": "".concat(A, " ").concat(k), "data-testid": "ccx-comments-filter-button", disabled: o, icon: h ? V().createElement(Yi, { className: "filter-icon--applied", size: i ? "M" : "S" }) : V().createElement(Ti, { className: "filter-icon", size: i ? "M" : "S" }), id: "ccx-filter-button", onClick: L, selected: l, variant: "tool", }) ), V().createElement( Ht, { "aria-labelledby": "ccx-filter-button", className: P.default.filterPopover, enablePortaling: !0, onMouseDown: j, placement: "top", style: { "--ccx-comments-filter-panel-max-height": "50vh", "--ccx-comments-margin-xxs": "2px", "--ccx-comments-margin-xs": "4px", "--ccx-comments-margin-sm": "8px", "--ccx-comments-margin-md": "12px", "--ccx-comments-margin-lg": "16px", "--ccx-comments-margin-xl": "20px", "--spectrum-popover-dialog-padding": "var(--ccx-comments-margin-lg) 0 var(--ccx-comments-margin-md) var(--ccx-comments-margin-lg)", width: "calc(var(--ccx-comments-panel-width) - var(--ccx-comments-margin-xl)", }, title: null, }, V().createElement(dc, { environment: D, filteredCommentsCount: a, intl: d, onFilterChange: N, onFilterClear: y, ref: I, selectedFilters: g, showUnreadFilter: E, touchControls: i, users: m.users }) ) ), V().createElement(cn.SF, { name: "viewResolvedComments", placement: "top right", selector: "#ccx-filter-button" }), V().createElement(ln.Py, { name: "viewResolvedComments", placement: "top right", selector: "#ccx-filter-button" }) ); return i || (B = V().createElement(_t, { "data-testid": "ccx-comments-tooltip-overlay", disabled: o || null, placement: "left", trigger: "hover" }, B, V().createElement(It, null, _))), s ? B : null; }; (mc.defaultProps = { disable: !1, filteredCommentsCount: 0, touchControls: !1, users: [], visible: !1 }), (mc.propTypes = { disable: G().bool, filteredCommentsCount: G().number, touchControls: G().bool, users: G().array, visible: G().bool }); const hc = mc; var vc = (0, Pr.K)(), yc = (0, Pr.$E)(), gc = function (e) { var t = e.assetData, n = e.annotationToggleDisabled, r = e.commentsSetShowAnnotations, o = e.disableFooterControls, a = e.canFilterComments, i = e.filteredCommentsCount, s = e.isAnnotationsVisible, c = e.multiPageAsset, l = e.showGlobalCommentsToggle, u = e.visible, d = e.isOffline, p = e.isMapping, f = (0, z.useContext)(tt.ZP).onAnnotationToggle, m = (0, z.useContext)(re.ZP), h = m.annotationsEnabled, v = m.annotationsMultiPageEnabled, y = m.enableFrameS4R, g = m.compactLayout, b = m.touchControls, E = m.disableNetworkIndicator, D = m.globalCommentsToggle, C = m.globalCommentsViewAll, w = a && h, S = l && !v && C, A = Boolean(c && D.isActive); return u ? V().createElement( "footer", { "aria-labelledby": "footer-heading", className: P.default.component, id: "ccx-comments-filter" }, V().createElement("h2", { className: "visually-hidden", id: "footer-heading" }, V().createElement(ee.Z, { id: "comments.sections.commentListFooter" })), V().createElement( "div", { className: "filter-container" }, V().createElement(nc, { defaultChecked: D.isActive, disable: o, globalCommentsMode: A, onToggle: D.onToggle, visible: S }), S || g || E ? null : V().createElement(cc, { className: "network-indicator-left-column", isOffline: d, touchControls: b }), V().createElement( "div", { className: "toggle-right-container" }, p ? V().createElement("div", { className: "mapping-indicator" }, V().createElement(Sa, { size: "S" })) : V().createElement(Qi, { commentsSetShowAnnotations: r, disable: o || n, isAnnotationsVisible: s, onAnnotationToggle: f, touchControls: b, visible: w }), V().createElement(hc, { disable: o || (t.isFrameArtifact && y), filteredCommentsCount: i, touchControls: b, visible: a }), S && !E ? V().createElement(cc, { isOffline: d, tooltipDirection: "left", touchControls: b }) : null ) ) ) : null; }; (gc.defaultProps = { annotationToggleDisabled: !1, assetData: { isFrameArtifact: !1 }, disableFooterControls: !1, filteredCommentsCount: 0, isMapping: !1, isOffline: !1 }), (gc.propTypes = { annotationToggleDisabled: G().bool, assetData: G().shape({ isFrameArtifact: G().bool }), canFilterComments: G().bool.isRequired, commentsSetShowAnnotations: G().func.isRequired, disableFooterControls: G().bool, filteredCommentsCount: G().number, isAnnotationsVisible: G().bool.isRequired, isMapping: G().bool, isOffline: G().bool, multiPageAsset: G().bool.isRequired, showGlobalCommentsToggle: G().bool.isRequired, visible: G().bool.isRequired, }); const bc = (0, K.$j)( function (e, t) { var n = t.compactLayout, r = t.isOffline, o = t.isMapping, a = t.assetData, i = yc(e, t), s = !n, c = n ? Q()(e, "".concat(An.Bq, ":context.focusedInputInfo")) : void 0, l = !n && Q()(e, "".concat(An.Bq, ":annotation.showAnnotations")), u = vc(e, t), d = Boolean(Q()(u, "allNodes.".concat(An.Qy))), p = Boolean(a.validNodes.length > 1 || d), f = Boolean(p), m = (s || f) && (!n || !c), h = 0 === u.total.total; return { annotationToggleDisabled: !(0, Pr.Wm)(e, a.id), disableFooterControls: h, canFilterComments: s, filteredCommentsCount: i ? i.length : 0, isAnnotationsVisible: l, multiPageAsset: p, showGlobalCommentsToggle: f, visible: m, isOffline: r, isMapping: o, }; }, function (e) { return (0, $.DE)({ commentsSetShowAnnotations: ce.xD }, e); }, void 0, { context: Ve.no } )(gc); function Ec(e) { return ( (Ec = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (e) { return typeof e; } : function (e) { return e && "function" == typeof Symbol && e.constructor === Symbol && e !== Symbol.prototype ? "symbol" : typeof e; }), Ec(e) ); } function Dc(e, t) { for (var n = 0; n < t.length; n++) { var r = t[n]; (r.enumerable = r.enumerable || !1), (r.configurable = !0), "value" in r && (r.writable = !0), Object.defineProperty(e, r.key, r); } } function Cc(e, t) { return ( (Cc = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function (e, t) { return (e.__proto__ = t), e; }), Cc(e, t) ); } function wc(e) { return ( (wc = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function (e) { return e.__proto__ || Object.getPrototypeOf(e); }), wc(e) ); } var Sc = (function (e) { !(function (e, t) { if ("function" != typeof t && null !== t) throw new TypeError("Super expression must either be null or a function"); (e.prototype = Object.create(t && t.prototype, { constructor: { value: e, writable: !0, configurable: !0 } })), Object.defineProperty(e, "prototype", { writable: !1 }), t && Cc(e, t); })(i, e); var t, n, r, o, a = ((r = i), (o = (function () { if ("undefined" == typeof Reflect || !Reflect.construct) return !1; if (Reflect.construct.sham) return !1; if ("function" == typeof Proxy) return !0; try { return Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})), !0; } catch (e) { return !1; } })()), function () { var e, t = wc(r); if (o) { var n = wc(this).constructor; e = Reflect.construct(t, arguments, n); } else e = t.apply(this, arguments); return (function (e, t) { if (t && ("object" === Ec(t) || "function" == typeof t)) return t; if (void 0 !== t) throw new TypeError("Derived constructors may only return object or undefined"); return (function (e) { if (void 0 === e) throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); return e; })(e); })(this, e); }); function i() { return ( (function (e, t) { if (!(e instanceof t)) throw new TypeError("Cannot call a class as a function"); })(this, i), a.apply(this, arguments) ); } return ( (t = i), (n = [ { key: "render", value: function () { var e = this.props, t = e.imageData, n = e.width, r = e.height; return t ? V().createElement( "div", { className: j.default.component }, V().createElement("span", { className: "preview-text" }, V().createElement("b", null, "Image Preview:")), V().createElement("span", { className: "img-container" }, V().createElement("img", { src: t, id: "image-preview", width: n, height: r })) ) : null; }, }, ]) && Dc(t.prototype, n), Object.defineProperty(t, "prototype", { writable: !1 }), i ); })(V().Component); function Ac(e, t) { (null == t || t > e.length) && (t = e.length); for (var n = 0, r = new Array(t); n < t; n++) r[n] = e[n]; return r; } Sc.propTypes = { imageData: G().string, width: G().number, height: G().number }; var kc = function () { return V().createElement( "svg", { id: "Layer_1", "data-name": "Layer 1", xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 150 110", width: "120", className: "ccx-no-access-illustration" }, V().createElement( "g", { id: "chat_sm", "data-name": "chat sm" }, V().createElement("line", { fill: "none", stroke: "#b3b3b3", strokeLinecap: "round", strokeLinejoin: "round", strokeWidth: "2px", x1: "77.76", y1: "33.32", x2: "31.41", y2: "33.32" }), V().createElement("line", { fill: "none", stroke: "#b3b3b3", strokeLinecap: "round", strokeLinejoin: "round", strokeWidth: "2px", x1: "31.41", y1: "44.23", x2: "59.21", y2: "44.23" }), V().createElement("path", { fill: "none", stroke: "#b3b3b3", strokeLinecap: "round", strokeLinejoin: "round", strokeWidth: "2px", d: "M22.12,14.91H87a7.42,7.42,0,0,1,7.42,7.42V55.72A7.42,7.42,0,0,1,87,63.13H56.75L40.16,80.66A1.86,1.86,0,0,1,37,79.39V63.13H22.12a7.42,7.42,0,0,1-7.42-7.41V22.33A7.42,7.42,0,0,1,22.12,14.91Z", }), V().createElement("path", { fill: "none", stroke: "#b3b3b3", strokeLinecap: "round", strokeLinejoin: "round", strokeWidth: "2px", d: "M113,47.38V44.59a7.42,7.42,0,0,0-7.41-7.42H100" }), V().createElement("path", { fill: "none", stroke: "#b3b3b3", strokeLinecap: "round", strokeLinejoin: "round", strokeWidth: "2px", d: "M51.79,77.34A11.12,11.12,0,0,0,55.5,78H72L83.81,90.75A1.85,1.85,0,0,0,87,89.5V78h3.56" }) ), V().createElement("circle", { fill: "none", stroke: "#b3b3b3", strokeLinecap: "round", strokeLinejoin: "round", strokeWidth: "2px", cx: "117.44", cy: "73.01", r: "20.46" }), V().createElement("line", { fill: "none", stroke: "#b3b3b3", strokeLinecap: "round", strokeLinejoin: "round", strokeWidth: "2px", x1: "103.46", y1: "58.49", x2: "131.17", y2: "86.2" }) ); }; const _c = function () { var e, t, n; return ( ((t = (0, z.useState)(!1)), (n = 2), (function (e) { if (Array.isArray(e)) return e; })(t) || (function (e, t) { var n = null == e ? null : ("undefined" != typeof Symbol && e[Symbol.iterator]) || e["@@iterator"]; if (null != n) { var r, o, a = [], i = !0, s = !1; try { for (n = n.call(e); !(i = (r = n.next()).done) && (a.push(r.value), !t || a.length !== t); i = !0); } catch (e) { (s = !0), (o = e); } finally { try { i || null == n.return || n.return(); } finally { if (s) throw o; } } return a; } })(t, n) || (function (e, t) { if (e) { if ("string" == typeof e) return Ac(e, t); var n = Object.prototype.toString.call(e).slice(8, -1); return "Object" === n && e.constructor && (n = e.constructor.name), "Map" === n || "Set" === n ? Array.from(e) : "Arguments" === n || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n) ? Ac(e, t) : void 0; } })(t, n) || (function () { throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); })())[1], (0, z.useEffect)(function () {}, []), null !== (e = window.customElements) && void 0 !== e && e.get("ccx-comments-icon-no-access-illustration") ? V().createElement("ccx-comments-icon-no-access-illustration", null) : V().createElement(kc, null) ); }, Tc = function () { var e = (0, Ke.Z)(); return ( (0, z.useEffect)(function () { e.fireEvent(e.events.commentsRenderEvent("noReviewAccess")); }, []), V().createElement( Vo, { testId: "no-review-access-empty-state" }, V().createElement(Vo.Illustration, null, V().createElement(_c, null)), V().createElement(Vo.Title, null, V().createElement(ee.Z, { id: "comments.no-access-empty-state.title" })), V().createElement(Vo.Subtitle, null, V().createElement(ee.Z, { id: "comments.no-access-empty-state.subtitle" })) ) ); }; const Ic = (0, pe.Z)(n(61298)).default, Oc = (0, ue.Z)({ displayName: "Dialog", fallback: Ic, swcLoader: void 0, SWCWrapper: function (e) { var t; const n = (0, z.useRef)(null), { backdropClickable: r, cancelLabel: o, children: a, className: i, confirmLabel: s, isDismissible: c, onCancel: l, onClose: u, onConfirm: d, open: p, secondaryLabel: f, title: m, underlay: h } = e, v = (function (e, t) { var n = {}; for (var r in e) Object.prototype.hasOwnProperty.call(e, r) && t.indexOf(r) < 0 && (n[r] = e[r]); if (null != e && "function" == typeof Object.getOwnPropertySymbols) { var o = 0; for (r = Object.getOwnPropertySymbols(e); o < r.length; o++) t.indexOf(r[o]) < 0 && Object.prototype.propertyIsEnumerable.call(e, r[o]) && (n[r[o]] = e[r[o]]); } return n; })(e, ["backdropClickable", "cancelLabel", "children", "className", "confirmLabel", "isDismissible", "onCancel", "onClose", "onConfirm", "open", "secondaryLabel", "title", "underlay"]); (0, z.useEffect)(() => { const e = null == n ? void 0 : n.current; return ( e && u && e.addEventListener("close", u), () => { e && u && e.removeEventListener("close", u); } ); }, [u]), (0, z.useEffect)(() => { const e = null == n ? void 0 : n.current, t = (t) => { null == d || d(t.type, t), e && (e.open = !1); }; return ( e && d && (e.addEventListener("confirm", t), e.addEventListener("secondary", t)), () => { e && d && (e.removeEventListener("confirm", t), e.removeEventListener("secondary", t)); } ); }, [d]), (0, z.useEffect)(() => { const e = null == n ? void 0 : n.current, t = () => { null == l || l(), e && (e.open = !1); }; return ( e && l && e.addEventListener("cancel", t), () => { e && l && e.removeEventListener("cancel", t); } ); }, [l]); const y = (0, z.useRef)(null), [, g] = (0, z.useState)(!1); (0, z.useEffect)(() => { g(!0); }, []); const b = (0, de.Co)("sp-dialog-wrapper"); return V().createElement( V().Fragment, null, V().createElement( b, Object.assign(Object.assign(Object.assign({}, v), (0, de.cd)({ dismissable: c, open: p, underlay: null === (t = h || r || p) || void 0 === t || t })), { ref: n, class: i, headline: m, "confirm-label": s, "cancel-label": o, "secondary-label": f, }), V().createElement("div", { ref: y }) ), y.current && (0, jt.createPortal)(a, y.current) ); }, tagName: "sp-dialog-wrapper", }); var Fc = n(57568); const xc = (0, pe.Z)(n(6750)).default, Nc = (0, z.forwardRef)(function (e, t) { const n = (0, z.useRef)(null), { onChange: r } = e; (0, z.useEffect)(() => { const { current: e } = n, t = (e) => { const t = e.target; null == r || r(t.value, e); }; return ( e && r && e.addEventListener("input", t), () => { e && r && e.removeEventListener("input", t); } ); }, [r]); const o = (0, de.Co)("sp-textfield"); return V().createElement( o, Object.assign( { ref: Gt([t, n]) }, (function (e) { const { autoFocus: t, className: n, disabled: r, invalid: o, maxLength: a, multiLine: i, quiet: s, readOnly: c, required: l, spellCheck: u, disableOnOverlay: d, validationState: p, onChange: f } = e, m = (function (e, t) { var n = {}; for (var r in e) Object.prototype.hasOwnProperty.call(e, r) && t.indexOf(r) < 0 && (n[r] = e[r]); if (null != e && "function" == typeof Object.getOwnPropertySymbols) { var o = 0; for (r = Object.getOwnPropertySymbols(e); o < r.length; o++) t.indexOf(r[o]) < 0 && Object.prototype.propertyIsEnumerable.call(e, r[o]) && (n[r[o]] = e[r[o]]); } return n; })(e, ["autoFocus", "className", "disabled", "invalid", "maxLength", "multiLine", "quiet", "readOnly", "required", "spellCheck", "disableOnOverlay", "validationState", "onChange"]); return Object.assign(Object.assign(Object.assign({}, m), (0, de.cd)({ autofocus: t, disabled: r, invalid: "invalid" === p || o, multiline: i, quiet: s, readonly: c, required: l, valid: "valid" === p })), { class: n, maxlength: a, spellcheck: "false" !== u, }); })(e) ) ); }), Rc = (0, ue.Z)({ displayName: "Textfield", fallback: xc, swcLoader: void 0, SWCWrapper: (0, z.forwardRef)(function (e, t) { return V().createElement(Nc, Object.assign(Object.assign({}, e), { ref: t })); }), tagName: "sp-textfield", }); function Lc(e, t) { (null == t || t > e.length) && (t = e.length); for (var n = 0, r = new Array(t); n < t; n++) r[n] = e[n]; return r; } var Mc = function () { return V().createElement( "svg", { width: "50", height: "50", viewBox: "0 0 52 52" }, V().createElement("path", { d: "M26,2h0c13.25484,0,24,10.74517,24,24h0c0,13.25484-10.74516,24-24,24h0c-13.25483,0-24-10.74516-24-24h0C2,12.74517,12.74517,2,26,2Z", fill: "#ffffff" }), V().createElement("path", { d: "M26,52C11.66357,52,0,40.33643,0,26S11.66357,0,26,0s26,11.66357,26,26-11.66357,26-26,26Zm0-50C12.7666,2,2,12.7666,2,26s10.7666,24,24,24,24-10.7666,24-24S39.2334,2,26,2Z", fill: "#cacaca" }), V().createElement("path", { d: "M30.30363,32.08179c-1.07454,.72005-2.44906,1.14551-4.06364,1.14551-3.12549,0-5.77091-2.11092-6.71452-4.94735l-4.00911,3.10913c1.97453,3.92188,6.03271,6.61092,10.72363,6.61092,3.23999,0,5.95638-1.07454,7.94181-2.90731l-3.87817-3.0109Z", fill: "#32a753", fillRule: "evenodd", }), V().createElement("path", { d: "M37.54183,23.8182h-11.30184v4.64176h6.45817c-.27816,1.5-1.12362,2.771-2.39453,3.62183l3.87817,3.0109c2.26912-2.08911,3.57821-5.16536,3.57821-8.81999,0-.85091-.07633-1.66911-.21818-2.45451Z", fill: "#3e82f1", fillRule: "evenodd", }), V().createElement("path", { d: "M26.24002,18.77273c1.7618,0,3.34363,.60547,4.58728,1.79456l3.44177-3.44181c-2.07817-1.93636-4.79451-3.12549-8.02905-3.12549-4.69096,0-8.7491,2.68913-10.72363,6.61096l4.00907,3.10905c.9436-2.83639,3.58907-4.94727,6.71456-4.94727h0Zm0,0", fill: "#e74235", fillRule: "evenodd", }), V().createElement("path", { d: "M15.51636,20.61092c-.81274,1.62004-1.27637,3.45272-1.27637,5.38908s.46362,3.76912,1.27637,5.38908l4.00911-3.10913c-.24007-.71997-.37638-1.48901-.37638-2.27995s.13631-1.55998,.37638-2.28003l-4.00911-3.10905Z", fill: "#f9bb00", fillRule: "evenodd", }) ); }, Pc = function () { var e, t, n; return ( ((t = (0, z.useState)(!1)), (n = 2), (function (e) { if (Array.isArray(e)) return e; })(t) || (function (e, t) { var n = null == e ? null : ("undefined" != typeof Symbol && e[Symbol.iterator]) || e["@@iterator"]; if (null != n) { var r, o, a = [], i = !0, s = !1; try { for (n = n.call(e); !(i = (r = n.next()).done) && (a.push(r.value), !t || a.length !== t); i = !0); } catch (e) { (s = !0), (o = e); } finally { try { i || null == n.return || n.return(); } finally { if (s) throw o; } } return a; } })(t, n) || (function (e, t) { if (e) { if ("string" == typeof e) return Lc(e, t); var n = Object.prototype.toString.call(e).slice(8, -1); return "Object" === n && e.constructor && (n = e.constructor.name), "Map" === n || "Set" === n ? Array.from(e) : "Arguments" === n || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n) ? Lc(e, t) : void 0; } })(t, n) || (function () { throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); })())[1], (0, z.useEffect)(function () {}, []), null !== (e = window.customElements) && void 0 !== e && e.get("ccx-comments-icon-google") ? V().createElement("ccx-comments-icon-google", null) : V().createElement(Mc, null) ); }; Pc.displayName = "Google"; const jc = Pc; function Bc(e, t) { (null == t || t > e.length) && (t = e.length); for (var n = 0, r = new Array(t); n < t; n++) r[n] = e[n]; return r; } var Zc = function () { return V().createElement( "svg", { width: "50", height: "50", viewBox: "0 0 52 52" }, V().createElement("path", { d: "M26,2h0c13.25484,0,24,10.74517,24,24h0c0,13.25484-10.74516,24-24,24h0c-13.25483,0-24-10.74516-24-24h0C2,12.74517,12.74517,2,26,2Z", fill: "#1877f2" }), V().createElement("path", { d: "M26,52C11.66357,52,0,40.33643,0,26S11.66357,0,26,0s26,11.66357,26,26-11.66357,26-26,26Zm0-50C12.7666,2,2,12.7666,2,26s10.7666,24,24,24,24-10.7666,24-24S39.2334,2,26,2Z", fill: "#1877f2" }), V().createElement("path", { d: "M38,26c0-6.62742-5.37258-12-12-12s-12,5.37258-12,12c0,5.98955,4.38823,10.95399,10.12499,11.85417v-8.38542h-3.04687v-3.46875h3.04687v-2.64375c0-3.0075,1.79153-4.66875,4.53257-4.66875,1.31293,0,2.68619,.23438,2.68619,.23438v2.95312h-1.51319c-1.49067,0-1.95556,.925-1.95556,1.874v2.251h3.32813l-.53203,3.46875h-2.7961v8.38542c5.73678-.90018,10.12501-5.86462,10.12501-11.85417Z", fill: "#ffffff", }) ); }, Uc = function () { var e, t, n; return ( ((t = (0, z.useState)(!1)), (n = 2), (function (e) { if (Array.isArray(e)) return e; })(t) || (function (e, t) { var n = null == e ? null : ("undefined" != typeof Symbol && e[Symbol.iterator]) || e["@@iterator"]; if (null != n) { var r, o, a = [], i = !0, s = !1; try { for (n = n.call(e); !(i = (r = n.next()).done) && (a.push(r.value), !t || a.length !== t); i = !0); } catch (e) { (s = !0), (o = e); } finally { try { i || null == n.return || n.return(); } finally { if (s) throw o; } } return a; } })(t, n) || (function (e, t) { if (e) { if ("string" == typeof e) return Bc(e, t); var n = Object.prototype.toString.call(e).slice(8, -1); return "Object" === n && e.constructor && (n = e.constructor.name), "Map" === n || "Set" === n ? Array.from(e) : "Arguments" === n || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n) ? Bc(e, t) : void 0; } })(t, n) || (function () { throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); })())[1], (0, z.useEffect)(function () {}, []), null !== (e = window.customElements) && void 0 !== e && e.get("ccx-comments-icon-facebook") ? V().createElement("ccx-comments-icon-facebook", null) : V().createElement(Zc, null) ); }; Uc.displayName = "Facebook"; const zc = Uc; function Vc(e, t) { (null == t || t > e.length) && (t = e.length); for (var n = 0, r = new Array(t); n < t; n++) r[n] = e[n]; return r; } var Hc = function () { return V().createElement( "svg", { width: "50", height: "50", viewBox: "0 0 52 52" }, V().createElement("path", { d: "M26,2h0c13.25484,0,24,10.74517,24,24h0c0,13.25484-10.74516,24-24,24h0c-13.25483,0-24-10.74516-24-24h0C2,12.74517,12.74517,2,26,2Z", fill: "#000000" }), V().createElement("path", { d: "M26,52C11.66357,52,0,40.33643,0,26S11.66357,0,26,0s26,11.66357,26,26-11.66357,26-26,26Zm0-50C12.7666,2,2,12.7666,2,26s10.7666,24,24,24,24-10.7666,24-24S39.2334,2,26,2Z", fill: "#000000" }), V().createElement("path", { d: "M35.78982,32.42893c-.37703,.87103-.82331,1.6728-1.34039,2.40994-.70482,1.00491-1.28191,1.7005-1.72666,2.08677-.68943,.63403-1.42811,.95874-2.21911,.97721-.56786,0-1.25267-.16159-2.04983-.48937-.79977-.32625-1.53476-.48784-2.2068-.48784-.70482,0-1.46074,.16159-2.26928,.48784-.80978,.32779-1.46212,.49861-1.96088,.51554-.75853,.03232-1.5146-.30163-2.26928-1.00337-.48168-.42012-1.08416-1.14033-1.80591-2.16063-.77438-1.08955-1.41103-2.353-1.90979-3.79342-.53416-1.55584-.80193-3.06244-.80193-4.52102,0-1.6708,.36103-3.11184,1.08416-4.31942,.56832-.96998,1.32439-1.73512,2.27067-2.29683s1.96873-.84794,3.06982-.86625c.60248,0,1.39256,.18636,2.37439,.55262,.97906,.36749,1.6077,.55385,1.88332,.55385,.20606,0,.90442-.21791,2.0883-.65234,1.11956-.40289,2.06445-.56971,2.83852-.50399,2.09754,.16928,3.67338,.99614,4.72138,2.48581-1.87593,1.13664-2.8039,2.72865-2.78543,4.77094,.01693,1.59077,.59402,2.91455,1.7282,3.96562,.514,.48784,1.08801,.86487,1.72666,1.13264-.1385,.40166-.2847,.78638-.44013,1.15572Zm-4.81064-18.93018c0,1.24684-.45552,2.41103-1.36348,3.48858-1.09571,1.28099-2.42102,2.02121-3.85821,1.9044-.01831-.14958-.02893-.30701-.02893-.47245,0-1.19697,.52108-2.47796,1.44642-3.52534,.46198-.53031,1.04954-.97125,1.76205-1.323,.71098-.3465,1.38348-.53813,2.01598-.57094,.01847,.16668,.02616,.33337,.02616,.49875Z", fill: "#ffffff", }) ); }, Gc = function () { var e, t, n; return ( ((t = (0, z.useState)(!1)), (n = 2), (function (e) { if (Array.isArray(e)) return e; })(t) || (function (e, t) { var n = null == e ? null : ("undefined" != typeof Symbol && e[Symbol.iterator]) || e["@@iterator"]; if (null != n) { var r, o, a = [], i = !0, s = !1; try { for (n = n.call(e); !(i = (r = n.next()).done) && (a.push(r.value), !t || a.length !== t); i = !0); } catch (e) { (s = !0), (o = e); } finally { try { i || null == n.return || n.return(); } finally { if (s) throw o; } } return a; } })(t, n) || (function (e, t) { if (e) { if ("string" == typeof e) return Vc(e, t); var n = Object.prototype.toString.call(e).slice(8, -1); return "Object" === n && e.constructor && (n = e.constructor.name), "Map" === n || "Set" === n ? Array.from(e) : "Arguments" === n || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n) ? Vc(e, t) : void 0; } })(t, n) || (function () { throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); })())[1], (0, z.useEffect)(function () {}, []), null !== (e = window.customElements) && void 0 !== e && e.get("ccx-comments-icon-apple") ? V().createElement("ccx-comments-icon-apple", null) : V().createElement(Hc, null) ); }; Gc.displayName = "Apple"; const Wc = Gc; function Qc(e, t) { (null == t || t > e.length) && (t = e.length); for (var n = 0, r = new Array(t); n < t; n++) r[n] = e[n]; return r; } var Jc = function () { return V().createElement( "svg", { viewBox: "0 0 48 48", height: "15", width: "15", focusable: "false", "aria-hidden": "true", role: "img", fill: "#fff", display: "flex" }, V().createElement("path", { d: "M29.219 6H44v36L29.219 6zM18.798 6H4v36L18.798 6zm5.207 13.265l9.422 22.733h-6.173l-2.823-7.24h-6.896l6.47-15.493z" }) ); }, Yc = function () { var e, t, n; return ( ((t = (0, z.useState)(!1)), (n = 2), (function (e) { if (Array.isArray(e)) return e; })(t) || (function (e, t) { var n = null == e ? null : ("undefined" != typeof Symbol && e[Symbol.iterator]) || e["@@iterator"]; if (null != n) { var r, o, a = [], i = !0, s = !1; try { for (n = n.call(e); !(i = (r = n.next()).done) && (a.push(r.value), !t || a.length !== t); i = !0); } catch (e) { (s = !0), (o = e); } finally { try { i || null == n.return || n.return(); } finally { if (s) throw o; } } return a; } })(t, n) || (function (e, t) { if (e) { if ("string" == typeof e) return Qc(e, t); var n = Object.prototype.toString.call(e).slice(8, -1); return "Object" === n && e.constructor && (n = e.constructor.name), "Map" === n || "Set" === n ? Array.from(e) : "Arguments" === n || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n) ? Qc(e, t) : void 0; } })(t, n) || (function () { throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); })())[1], (0, z.useEffect)(function () {}, []), null !== (e = window.customElements) && void 0 !== e && e.get("ccx-comments-icon-adobe") ? V().createElement("ccx-comments-icon-adobe", null) : V().createElement(Jc, null) ); }; Yc.displayName = "Adobe"; const qc = Yc; function Xc() { return ( (Xc = Object.assign ? Object.assign.bind() : function (e) { for (var t = 1; t < arguments.length; t++) { var n = arguments[t]; for (var r in n) Object.prototype.hasOwnProperty.call(n, r) && (e[r] = n[r]); } return e; }), Xc.apply(this, arguments) ); } function Kc(e, t) { (null == t || t > e.length) && (t = e.length); for (var n = 0, r = new Array(t); n < t; n++) r[n] = e[n]; return r; } var $c = function (e) { var t, n, r = e.autoFocus, o = e.compactView, a = e.executeRecaptcha, i = e.fireIngestEvent, s = e.guestCommentingAutomationMode, c = e.guestName, l = void 0 === c ? "" : c, u = e.intl, d = e.isShowing, p = void 0 !== d && d, f = e.onChange, m = void 0 === f ? function () {} : f, h = e.onGuestLogin, v = e.onLogin, y = e.onSignUp, g = e.onSocialSignIn, b = e.reCaptchaSiteKey, E = e.socialSignIn, D = void 0 !== E && E, C = ((t = V().useState(l)), (n = 2), (function (e) { if (Array.isArray(e)) return e; })(t) || (function (e, t) { var n = null == e ? null : ("undefined" != typeof Symbol && e[Symbol.iterator]) || e["@@iterator"]; if (null != n) { var r, o, a = [], i = !0, s = !1; try { for (n = n.call(e); !(i = (r = n.next()).done) && (a.push(r.value), !t || a.length !== t); i = !0); } catch (e) { (s = !0), (o = e); } finally { try { i || null == n.return || n.return(); } finally { if (s) throw o; } } return a; } })(t, n) || (function (e, t) { if (e) { if ("string" == typeof e) return Kc(e, t); var n = Object.prototype.toString.call(e).slice(8, -1); return "Object" === n && e.constructor && (n = e.constructor.name), "Map" === n || "Set" === n ? Array.from(e) : "Arguments" === n || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n) ? Kc(e, t) : void 0; } })(t, n) || (function () { throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); })()), w = C[0], S = C[1], A = u.formatMessage, k = u.locale, _ = (0, z.useCallback)( function (e) { var t = dr().sanitize(e, { RETURN_DOM_FRAGMENT: !0 }).textContent; S(t), m(t); }, [m] ), T = (0, z.useCallback)( function (e) { var t = { captchaSiteKey: b, captchaResponseCode: e, userName: null == w ? void 0 : w.trim() }; h(t); }, [w, h, b] ), I = (0, z.useCallback)( function () { null == a || a() .then(function (e) { T(e); }) .catch(function () {}); }, [a, T] ), O = function () { w && !s ? I() : T("randomString"); }; (0, z.useEffect)( function () { p && i({ event: { subcategory: "sign-in", subtype: "sign-in", type: "render" } }); }, [i, p] ), (0, z.useEffect)( function () { S(l); }, [l] ); var F = An.MF - w.length, x = function (e) { return V().createElement("div", Xc({}, e, { className: "adobe-logo-container" }), V().createElement(qc, { className: "adobe-logo" })); }; x.displayName = "AdobeIcon"; var N = A({ id: "comments.login.guest.adobe-tou-url" }), R = A({ id: "comments.login.guest.adobe-privacy-url" }); return V().createElement( "div", { className: "form-wrapper" }, V().createElement("h2", { className: X()("dialog-header", !o && "dialog-header-medium") }, u.formatMessage({ id: "comments.login.title" })), V().createElement("h3", { className: "guest-header" }, u.formatMessage({ id: "comments.login.guest.header" })), V().createElement( "div", { className: "sign-in-as-guest" }, V().createElement( As, { label: u.formatMessage({ id: "comments.login.guest.label" }) }, F <= 10 && V().createElement("span", { className: X()("guest-input-length", { "characters-remaining": F >= 0 }), "data-testid": "ccx-comments-guest-input-remaining-characters" }, F), V().createElement(Rc, { autoFocus: r, id: "ccx-comments-login-guest-input", invalid: w.length > An.MF, onChange: _, onClick: function () { i({ event: { subcategory: "sign-in-guest", subtype: "textbox", type: "click" } }); }, onKeyUp: function (e) { e.keyCode === An.nx.ENTER && !e.shiftKey && w.trim() && w.length <= An.MF && O(); }, value: w, }), w.length > An.MF && V().createElement("span", { className: "guest-input-error-message", "data-testid": "ccx-comments-guest-input-error-message" }, A({ id: "comments.login.guest.error" })) ), V().createElement( "div", { className: "legal-container" }, V().createElement( "span", { id: "ccx-comments-login-adobe-tou", className: X()(!o && "legal-copy-block") }, A( { id: "comments.login.guest.adobe-tou" }, { tou: function (e) { return V().createElement(wt, { variant: "quiet", href: N, target: "_blank", rel: "noreferrer" }, e); }, privacy: function (e) { return V().createElement(wt, { variant: "quiet", href: R, target: "_blank", rel: "noreferrer" }, e); }, } ) ) ), V().createElement( "div", { className: "login-btn-container" }, V().createElement(ge, { disabled: !w || (null == w ? void 0 : w.length) > An.MF || !w.trim(), id: "ccx-comments-login-guest-submit", "data-testid": "ccx-comments-login-guest-submit", label: A({ id: "comments.login.guest.submit" }), onClick: O, variant: "cta", }) ) ), V().createElement( "div", { className: "ccx-comments-login-rule" }, V().createElement("span", { className: "line" }, V().createElement(Ut, { variant: "medium" })), V().createElement("span", { className: "ccx-comments-login-rule-text" }, A({ id: "comments.login.rule" })), V().createElement("span", { className: "line" }, V().createElement(Ut, { variant: "medium" })) ), V().createElement("p", { className: "login-dialog-description" }, A({ id: "comments.login.description" })), D && V().createElement( "div", { className: "social-sign-in-icons" }, V().createElement( Ir, { size: "xl" }, V().createElement(ge, { className: "icon-container google-container", "aria-label": A({ id: "comments.login.social.google" }), onClick: function () { return g("google"); }, icon: V().createElement(jc, null), variant: "tool", style: { "--spectrum-actionbutton-icon-size": "50px" }, }), V().createElement(ge, { className: "icon-container facebook-container", "aria-label": A({ id: "comments.login.social.facebook" }), onClick: function () { return g("facebook"); }, icon: V().createElement(zc, null), variant: "tool", style: { "--spectrum-actionbutton-icon-size": "50px" }, }), V().createElement(ge, { className: "icon-container apple-container", "aria-label": A({ id: "comments.login.social.apple" }), onClick: function () { return g("apple"); }, icon: V().createElement(Wc, null), variant: "tool", style: { "--spectrum-actionbutton-icon-size": "50px" }, }) ) ), V().createElement( "div", { className: "adobe-sign-in-container" }, V().createElement(ge, { icon: V().createElement(x, null), id: "ccx-comments-login-signin", onClick: v, label: A({ id: "comments.login.sign_in" }), variant: "action", style: { borderColor: "var(--ccx-comments-border-color-1)" }, }) ), V().createElement( "div", { className: "adobe-sign-up" }, V().createElement( "span", null, A( { id: "comments.login.sign_up" }, { signUp: function (e) { return V().createElement(wt, { onClick: y, target: "_blank", rel: "noreferrer", href: "#" }, e); }, } ) ) ), V().createElement( "div", { className: "legal-container" }, V().createElement( "span", { id: "ccx-comments-login-google-tou", className: X()(!o && "legal-copy-block") }, A( { id: "comments.login.guest.google-tou" }, { tou: function (e) { return V().createElement(wt, { variant: "quiet", href: "https://policies.google.com/terms?hl=".concat(k), target: "_blank", rel: "noreferrer" }, e); }, privacy: function (e) { return V().createElement(wt, { variant: "quiet", href: "https://policies.google.com/privacy?hl=".concat(k), target: "_blank", rel: "noreferrer" }, e); }, } ) ) ) ); }; $c.propTypes = { autoFocus: G().bool, compactView: G().bool, executeRecaptcha: G().func, fireIngestEvent: G().func, guestCommentingAutomationMode: G().bool, guestName: G().string, intl: G().shape({ formatMessage: G().func, locale: G().string }).isRequired, isShowing: G().bool, onChange: G().func, onGuestLogin: G().func.isRequired, onLogin: G().func.isRequired, onSignUp: G().func.isRequired, onSocialSignIn: G().func.isRequired, reCaptchaSiteKey: G().string, socialSignIn: G().bool, }; const el = $c; const tl = (0, pe.Z)(n(54209)).default, nl = (e, t) => { var n; return (0, z.cloneElement)(e, Object.assign(Object.assign({}, t), { onClick: (0, de.tS)(null === (n = null == e ? void 0 : e.props) || void 0 === n ? void 0 : n.onClick, null == t ? void 0 : t.onClick) })); }, rl = (0, ue.Z)({ displayName: "ModalTrigger", fallback: tl, swcLoader: void 0, swcProps: (e) => { const { children: t, className: n } = e, r = (function (e, t) { var n = {}; for (var r in e) Object.prototype.hasOwnProperty.call(e, r) && t.indexOf(r) < 0 && (n[r] = e[r]); if (null != e && "function" == typeof Object.getOwnPropertySymbols) { var o = 0; for (r = Object.getOwnPropertySymbols(e); o < r.length; o++) t.indexOf(r[o]) < 0 && Object.prototype.propertyIsEnumerable.call(e, r[o]) && (n[r[o]] = e[r[o]]); } return n; })(e, ["children", "className"]), o = ((e, t) => { if ( e.find((e) => { var t; return "trigger" === (null === (t = e.props) || void 0 === t ? void 0 : t.slot); }) && e.find((e) => { var t; return "click-content" === (null === (t = e.props) || void 0 === t ? void 0 : t.slot); }) ) return e.map((e) => { var n; return "trigger" === (null === (n = e.props) || void 0 === n ? void 0 : n.slot) ? nl(e, t) : e; }); const n = e.find((e) => { var t; return null === (t = e.props) || void 0 === t ? void 0 : t.modalTrigger; }) || e[0], r = e.find((e) => { var t; return null === (t = e.props) || void 0 === t ? void 0 : t.modalContent; }) || e[1]; return e.map((e) => (e === n ? nl(e, Object.assign(Object.assign({}, t), { slot: "trigger" })) : e === r ? nl(e, Object.assign(Object.assign({}, t), { slot: "click-content" })) : e)); })(V().Children.toArray(t), r); return Object.assign(Object.assign({}, r), { children: o, class: n, type: "modal" }); }, tagName: "overlay-trigger", }); var ol = function (e) { var t = e.isShowing, n = e.children, r = e.dismissed, o = (0, z.useRef)(null), a = (0, z.useRef)(null), i = (0, Hn.Z)(t); return ( (0, z.useEffect)( function () { if (i !== t) if (t) a.current.click(); else if (void 0 !== i && !r) { var e, n; null !== (e = o.current) && void 0 !== e && e.hide ? o.current.hide() : null === (n = a.current) || void 0 === n || n.click(); } }, [t, i, r] ), V().createElement(rl, { ref: o }, V().createElement("button", { ref: a, style: { display: "none" }, "aria-hidden": "true", modaltrigger: t.toString() }), n) ); }; ol.propTypes = { isShowing: G().bool, children: G().node.isRequired, dismissed: G().bool }; const al = ol; function il(e, t) { (null == t || t > e.length) && (t = e.length); for (var n = 0, r = new Array(t); n < t; n++) r[n] = e[n]; return r; } const sl = function () { var e, t, n, r = "screen and (min-width: 1280px)", o = "screen and (max-width: 1279px) and (min-width: 510px)", a = "screen and (max-width: 509px)", i = ((t = (0, z.useState)({ large: window.matchMedia(r).matches, medium: window.matchMedia(o).matches, small: window.matchMedia(a).matches, landscape: null === (e = window.screen.orientation) || void 0 === e ? void 0 : e.type.includes("landscape"), })), (n = 2), (function (e) { if (Array.isArray(e)) return e; })(t) || (function (e, t) { var n = null == e ? null : ("undefined" != typeof Symbol && e[Symbol.iterator]) || e["@@iterator"]; if (null != n) { var r, o, a = [], i = !0, s = !1; try { for (n = n.call(e); !(i = (r = n.next()).done) && (a.push(r.value), !t || a.length !== t); i = !0); } catch (e) { (s = !0), (o = e); } finally { try { i || null == n.return || n.return(); } finally { if (s) throw o; } } return a; } })(t, n) || (function (e, t) { if (e) { if ("string" == typeof e) return il(e, t); var n = Object.prototype.toString.call(e).slice(8, -1); return "Object" === n && e.constructor && (n = e.constructor.name), "Map" === n || "Set" === n ? Array.from(e) : "Arguments" === n || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n) ? il(e, t) : void 0; } })(t, n) || (function () { throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); })()), s = i[0], c = i[1]; return ( (0, z.useEffect)(function () { var e, t, n, i, s = window.matchMedia(r), l = window.matchMedia(o), u = window.matchMedia(a), d = function () { var e; return c({ large: s.matches, medium: l.matches, small: u.matches, landscape: null === (e = window.screen.orientation) || void 0 === e ? void 0 : e.type.includes("landscape") }); }; return ( null === (e = s.addEventListener) || void 0 === e || e.call(s, "change", d), null === (t = l.addEventListener) || void 0 === t || t.call(l, "change", d), null === (n = u.addEventListener) || void 0 === n || n.call(u, "change", d), null === (i = window.screen.orientation) || void 0 === i || i.addEventListener("change", d), function () { var e, t, n, r; null === (e = s.removeEventListener) || void 0 === e || e.call(s, "change", d), null === (t = l.removeEventListener) || void 0 === t || t.call(l, "change", d), null === (n = u.removeEventListener) || void 0 === n || n.call(u, "change", d), null === (r = window.screen.orientation) || void 0 === r || r.removeEventListener("change", d); } ); }), s ); }; function cl(e, t) { var n = Object.keys(e); if (Object.getOwnPropertySymbols) { var r = Object.getOwnPropertySymbols(e); t && (r = r.filter(function (t) { return Object.getOwnPropertyDescriptor(e, t).enumerable; })), n.push.apply(n, r); } return n; } function ll(e) { for (var t = 1; t < arguments.length; t++) { var n = null != arguments[t] ? arguments[t] : {}; t % 2 ? cl(Object(n), !0).forEach(function (t) { ul(e, t, n[t]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : cl(Object(n)).forEach(function (t) { Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t)); }); } return e; } function ul(e, t, n) { return t in e ? Object.defineProperty(e, t, { value: n, enumerable: !0, configurable: !0, writable: !0 }) : (e[t] = n), e; } function dl(e, t) { return ( (function (e) { if (Array.isArray(e)) return e; })(e) || (function (e, t) { var n = null == e ? null : ("undefined" != typeof Symbol && e[Symbol.iterator]) || e["@@iterator"]; if (null != n) { var r, o, a = [], i = !0, s = !1; try { for (n = n.call(e); !(i = (r = n.next()).done) && (a.push(r.value), !t || a.length !== t); i = !0); } catch (e) { (s = !0), (o = e); } finally { try { i || null == n.return || n.return(); } finally { if (s) throw o; } } return a; } })(e, t) || (function (e, t) { if (e) { if ("string" == typeof e) return pl(e, t); var n = Object.prototype.toString.call(e).slice(8, -1); return "Object" === n && e.constructor && (n = e.constructor.name), "Map" === n || "Set" === n ? Array.from(e) : "Arguments" === n || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n) ? pl(e, t) : void 0; } })(e, t) || (function () { throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); })() ); } function pl(e, t) { (null == t || t > e.length) && (t = e.length); for (var n = 0, r = new Array(t); n < t; n++) r[n] = e[n]; return r; } var fl = function (e) { var t = e.createGuestUserSession, n = e.guestSessionState, r = e.intl, o = e.onGuestLogin, a = e.onLoginCancel, i = e.guestCommentingAutomationMode, s = e.reCaptchaSiteKey, c = e.resetGuestUserSession, l = e.setGuestUserLoginToast, u = e.show, d = e.spectrumUIScale, p = e.theme, f = (0, Ke.Z)().fireEvent, m = (0, z.useContext)(re.ZP), h = m.compactLayout, v = m.imsData, y = m.socialSignIn, g = m.touchControls, b = (0, z.useContext)(tt.ZP), E = b.onGuestSession, D = b.onAdobeIMS, C = dl((0, z.useState)(""), 2), w = C[0], S = C[1], A = dl((0, z.useState)(""), 2), k = A[0], _ = A[1], T = dl((0, z.useState)(!1), 2), I = T[0], O = T[1], F = sl(), x = (0, Fc.xX)().executeRecaptcha, N = (0, z.useCallback)( function (e, t) { var r = ll({}, e); return ("expires-soon" !== n && "expired" !== n) || xs()(r, { user: { service_code: "guest", service_level: "expires-soon" === n ? "restore-guest" : "expired-guest" } }), f(r, t); }, [f, n] ), R = (0, z.useCallback)( function () { a(), S(""), O(!0), "expires-soon" === n && (c(), E("destroy", v)); }, [a, n, c, E, v] ), L = function (e) { ("ArrowLeft" !== e.key && "ArrowRight" !== e.key) || e.stopPropagation(); }; (0, z.useEffect)( function () { u && O(!1); }, [u] ), (0, z.useEffect)( function () { "expired" === n && E("destroy", v); }, [n, E, v] ), (0, z.useEffect)(function () { return ( window.addEventListener("keydown", L, !0), function () { return window.removeEventListener("keydown", L, !0); } ); }, []), (0, z.useEffect)( function () { u && S("expires-soon" === n || "expired" === n ? k : ""); }, [k, n, u] ); var M = V().createElement(el, { autoFocus: !g, compactView: h && F.small, fireIngestEvent: N, executeRecaptcha: x, guestCommentingAutomationMode: i, guestName: w, guestSessionState: n, intl: r, isShowing: u, onChange: S, onGuestLogin: function (e) { var r = "expires-soon" === n && k === e.userName; t(e, r) .then(function (t) { N({ event: { subcategory: "sign-in-guest", subtype: "sign-in", type: "click" } }), E("create", ll(ll({}, t), {}, { name: e.userName })), o(!n), r || (_(e.userName), l({ toastType: "success", toastMessageId: "comments.submit.comment_as_guest_login_success", guestInfo: ll(ll({}, t), {}, { name: e.userName }) })); }) .catch(function (e) { N({ event: { subcategory: "sign-in-guest", subtype: "sign-in", type: "click", error_code: e.status, error_type: e.message, error_desc: "failed-to-create-guest-session" } }), o(!0), l({ toastType: "error", toastMessageId: "comments.submit.comment_as_guest_login_error" }), c(); }); }, onLogin: function () { N({ event: { subcategory: "sign-in", subtype: "sign-in", type: "click" } }, !0) .then(function () { return D({ method: "signIn" }); }) .catch(function () { return D({ method: "signIn" }); }); }, onSignUp: function () { return D({ method: "signUp" }); }, onSocialSignIn: function (e) { N({ event: { event: { subcategory: "sign-in", subtype: e, type: "click" } } }, !0) .then(function () { return D({ method: "signInWithSocialProvider", providerName: e }); }) .catch(function () { return D({ method: "signInWithSocialProvider", providerName: e }); }); }, reCaptchaSiteKey: s, socialSignIn: y, }); return V().createElement( al, { isShowing: u, dismissed: I }, V().createElement( Oc, { id: "login-dialog", className: X()(Z.default.component, "".concat(p, "-theme"), "".concat(d, "-scale"), { compact: h }), backdropClickable: !0, isDismissible: !0, modalContent: !0, role: "dialog", onClose: R, mode: h && F.small ? "fullscreenTakeover" : void 0, trapFocus: !0, title: " ", "no-divider": !0, }, M ) ); }; (fl.defaultProps = { onGuestLogin: function () {}, onLoginCancel: function () {}, show: !1, spectrumUIScale: "medium", theme: "light" }), (fl.propTypes = { createGuestUserSession: G().func.isRequired, guestCommentingAutomationMode: G().bool, guestSessionState: G().string, intl: G().object, onGuestLogin: G().func, onLoginCancel: G().func, reCaptchaSiteKey: G().string, resetGuestUserSession: G().func, setGuestUserLoginToast: G().func.isRequired, show: G().bool, spectrumUIScale: G().oneOf(["medium", "large"]), theme: G().oneOf(["light", "lightest", "dark", "darkest"]), }); var ml = { createGuestUserSession: ae.Om, resetGuestUserSession: ae.I3, setGuestUserLoginToast: ae.Fu }, hl = (0, gt.ZP)(fl); const vl = (0, K.$j)( function (e) { return { guestSessionState: Q()(e, "".concat(An.Bq, ":context.guestSessionState")) }; }, ml, void 0, { context: Ve.no } )(hl); var yl = n(48699), gl = n.n(yl); const bl = { toVector: (e, t) => (void 0 === e && (e = t), Array.isArray(e) ? e : [e, e]), add: (e, t) => [e[0] + t[0], e[1] + t[1]], sub: (e, t) => [e[0] - t[0], e[1] - t[1]], addTo(e, t) { (e[0] += t[0]), (e[1] += t[1]); }, subTo(e, t) { (e[0] -= t[0]), (e[1] -= t[1]); }, }; function El(e, t, n) { return 0 === t || Math.abs(t) === 1 / 0 ? Math.pow(e, 5 * n) : (e * t * n) / (t + n * e); } function Dl(e, t, n, r = 0.15) { return 0 === r ? (function (e, t, n) { return Math.max(t, Math.min(e, n)); })(e, t, n) : e < t ? -El(t - e, n - t, r) + t : e > n ? +El(e - n, n - t, r) + n : e; } function Cl(e, t, n) { return ( (t = (function (e) { var t = (function (e, t) { if ("object" != typeof e || null === e) return e; var n = e[Symbol.toPrimitive]; if (void 0 !== n) { var r = n.call(e, "string"); if ("object" != typeof r) return r; throw new TypeError("@@toPrimitive must return a primitive value."); } return String(e); })(e); return "symbol" == typeof t ? t : String(t); })(t)) in e ? Object.defineProperty(e, t, { value: n, enumerable: !0, configurable: !0, writable: !0 }) : (e[t] = n), e ); } function wl(e, t) { var n = Object.keys(e); if (Object.getOwnPropertySymbols) { var r = Object.getOwnPropertySymbols(e); t && (r = r.filter(function (t) { return Object.getOwnPropertyDescriptor(e, t).enumerable; })), n.push.apply(n, r); } return n; } function Sl(e) { for (var t = 1; t < arguments.length; t++) { var n = null != arguments[t] ? arguments[t] : {}; t % 2 ? wl(Object(n), !0).forEach(function (t) { Cl(e, t, n[t]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : wl(Object(n)).forEach(function (t) { Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t)); }); } return e; } const Al = { pointer: { start: "down", change: "move", end: "up" }, mouse: { start: "down", change: "move", end: "up" }, touch: { start: "start", change: "move", end: "end" }, gesture: { start: "start", change: "change", end: "end" }, }; function kl(e) { return e ? e[0].toUpperCase() + e.slice(1) : ""; } const _l = ["enter", "leave"]; const Tl = ["gotpointercapture", "lostpointercapture"]; function Il(e) { let t = e.substring(2).toLowerCase(); const n = !!~t.indexOf("passive"); n && (t = t.replace("passive", "")); const r = Tl.includes(t) ? "capturecapture" : "capture", o = !!~t.indexOf(r); return o && (t = t.replace("capture", "")), { device: t, capture: o, passive: n }; } function Ol(e) { return "touches" in e; } function Fl(e) { return Ol(e) ? "touch" : "pointerType" in e ? e.pointerType : "mouse"; } function xl(e) { return Ol(e) ? (function (e) { return "touchend" === e.type || "touchcancel" === e.type ? e.changedTouches : e.targetTouches; })(e)[0] : e; } function Nl(e) { const t = xl(e); return Ol(e) ? t.identifier : t.pointerId; } function Rl(e) { const t = xl(e); return [t.clientX, t.clientY]; } function Ll(e, ...t) { return "function" == typeof e ? e(...t) : e; } function Ml() {} function Pl(...e) { return 0 === e.length ? Ml : 1 === e.length ? e[0] : function () { let t; for (const n of e) t = n.apply(this, arguments) || t; return t; }; } function jl(e, t) { return Object.assign({}, t, e || {}); } class Bl { constructor(e, t, n) { (this.ctrl = e), (this.args = t), (this.key = n), this.state || ((this.state = {}), this.computeValues([0, 0]), this.computeInitial(), this.init && this.init(), this.reset()); } get state() { return this.ctrl.state[this.key]; } set state(e) { this.ctrl.state[this.key] = e; } get shared() { return this.ctrl.state.shared; } get eventStore() { return this.ctrl.gestureEventStores[this.key]; } get timeoutStore() { return this.ctrl.gestureTimeoutStores[this.key]; } get config() { return this.ctrl.config[this.key]; } get sharedConfig() { return this.ctrl.config.shared; } get handler() { return this.ctrl.handlers[this.key]; } reset() { const { state: e, shared: t, ingKey: n, args: r } = this; (t[n] = e._active = e.active = e._blocked = e._force = !1), (e._step = [!1, !1]), (e.intentional = !1), (e._movement = [0, 0]), (e._distance = [0, 0]), (e._direction = [0, 0]), (e._delta = [0, 0]), (e._bounds = [ [-1 / 0, 1 / 0], [-1 / 0, 1 / 0], ]), (e.args = r), (e.axis = void 0), (e.memo = void 0), (e.elapsedTime = e.timeDelta = 0), (e.direction = [0, 0]), (e.distance = [0, 0]), (e.overflow = [0, 0]), (e._movementBound = [!1, !1]), (e.velocity = [0, 0]), (e.movement = [0, 0]), (e.delta = [0, 0]), (e.timeStamp = 0); } start(e) { const t = this.state, n = this.config; t._active || (this.reset(), this.computeInitial(), (t._active = !0), (t.target = e.target), (t.currentTarget = e.currentTarget), (t.lastOffset = n.from ? Ll(n.from, t) : t.offset), (t.offset = t.lastOffset), (t.startTime = t.timeStamp = e.timeStamp)); } computeValues(e) { const t = this.state; (t._values = e), (t.values = this.config.transform(e)); } computeInitial() { const e = this.state; (e._initial = e._values), (e.initial = e.values); } compute(e) { const { state: t, config: n, shared: r } = this; t.args = this.args; let o = 0; if ( (e && ((t.event = e), n.preventDefault && e.cancelable && t.event.preventDefault(), (t.type = e.type), (r.touches = this.ctrl.pointerIds.size || this.ctrl.touchIds.size), (r.locked = !!document.pointerLockElement), Object.assign( r, (function (e) { const t = {}; if (("buttons" in e && (t.buttons = e.buttons), "shiftKey" in e)) { const { shiftKey: n, altKey: r, metaKey: o, ctrlKey: a } = e; Object.assign(t, { shiftKey: n, altKey: r, metaKey: o, ctrlKey: a }); } return t; })(e) ), (r.down = r.pressed = r.buttons % 2 == 1 || r.touches > 0), (o = e.timeStamp - t.timeStamp), (t.timeStamp = e.timeStamp), (t.elapsedTime = t.timeStamp - t.startTime)), t._active) ) { const e = t._delta.map(Math.abs); bl.addTo(t._distance, e); } this.axisIntent && this.axisIntent(e); const [a, i] = t._movement, [s, c] = n.threshold, { _step: l, values: u } = t; if ( (n.hasCustomTransform ? (!1 === l[0] && (l[0] = Math.abs(a) >= s && u[0]), !1 === l[1] && (l[1] = Math.abs(i) >= c && u[1])) : (!1 === l[0] && (l[0] = Math.abs(a) >= s && Math.sign(a) * s), !1 === l[1] && (l[1] = Math.abs(i) >= c && Math.sign(i) * c)), (t.intentional = !1 !== l[0] || !1 !== l[1]), !t.intentional) ) return; const d = [0, 0]; if (n.hasCustomTransform) { const [e, t] = u; (d[0] = !1 !== l[0] ? e - l[0] : 0), (d[1] = !1 !== l[1] ? t - l[1] : 0); } else (d[0] = !1 !== l[0] ? a - l[0] : 0), (d[1] = !1 !== l[1] ? i - l[1] : 0); this.restrictToAxis && !t._blocked && this.restrictToAxis(d); const p = t.offset, f = (t._active && !t._blocked) || t.active; f && ((t.first = t._active && !t.active), (t.last = !t._active && t.active), (t.active = r[this.ingKey] = t._active), e && (t.first && ("bounds" in n && (t._bounds = Ll(n.bounds, t)), this.setup && this.setup()), (t.movement = d), this.computeOffset())); const [m, h] = t.offset, [[v, y], [g, b]] = t._bounds; (t.overflow = [m < v ? -1 : m > y ? 1 : 0, h < g ? -1 : h > b ? 1 : 0]), (t._movementBound[0] = !!t.overflow[0] && (!1 === t._movementBound[0] ? t._movement[0] : t._movementBound[0])), (t._movementBound[1] = !!t.overflow[1] && (!1 === t._movementBound[1] ? t._movement[1] : t._movementBound[1])); const E = (t._active && n.rubberband) || [0, 0]; if ( ((t.offset = (function (e, [t, n], [r, o]) { const [[a, i], [s, c]] = e; return [Dl(t, a, i, r), Dl(n, s, c, o)]; })(t._bounds, t.offset, E)), (t.delta = bl.sub(t.offset, p)), this.computeMovement(), f && (!t.last || o > 32)) ) { t.delta = bl.sub(t.offset, p); const e = t.delta.map(Math.abs); bl.addTo(t.distance, e), (t.direction = t.delta.map(Math.sign)), (t._direction = t._delta.map(Math.sign)), !t.first && o > 0 && ((t.velocity = [e[0] / o, e[1] / o]), (t.timeDelta = o)); } } emit() { const e = this.state, t = this.shared, n = this.config; if ((e._active || this.clean(), (e._blocked || !e.intentional) && !e._force && !n.triggerAllEvents)) return; const r = this.handler(Sl(Sl(Sl({}, t), e), {}, { [this.aliasKey]: e.values })); void 0 !== r && (e.memo = r); } clean() { this.eventStore.clean(), this.timeoutStore.clean(); } } class Zl extends Bl { constructor(...e) { super(...e), Cl(this, "aliasKey", "xy"); } reset() { super.reset(), (this.state.axis = void 0); } init() { (this.state.offset = [0, 0]), (this.state.lastOffset = [0, 0]); } computeOffset() { this.state.offset = bl.add(this.state.lastOffset, this.state.movement); } computeMovement() { this.state.movement = bl.sub(this.state.offset, this.state.lastOffset); } axisIntent(e) { const t = this.state, n = this.config; if (!t.axis && e) { const r = "object" == typeof n.axisThreshold ? n.axisThreshold[Fl(e)] : n.axisThreshold; t.axis = (function ([e, t], n) { const r = Math.abs(e), o = Math.abs(t); return r > o && r > n ? "x" : o > r && o > n ? "y" : void 0; })(t._movement, r); } t._blocked = ((n.lockDirection || !!n.axis) && !t.axis) || (!!n.axis && n.axis !== t.axis); } restrictToAxis(e) { if (this.config.axis || this.config.lockDirection) switch (this.state.axis) { case "x": e[1] = 0; break; case "y": e[0] = 0; } } } const Ul = (e) => e, zl = { enabled: (e = !0) => e, eventOptions: (e, t, n) => Sl(Sl({}, n.shared.eventOptions), e), preventDefault: (e = !1) => e, triggerAllEvents: (e = !1) => e, rubberband(e = 0) { switch (e) { case !0: return [0.15, 0.15]; case !1: return [0, 0]; default: return bl.toVector(e); } }, from: (e) => ("function" == typeof e ? e : null != e ? bl.toVector(e) : void 0), transform(e, t, n) { const r = e || n.shared.transform; return (this.hasCustomTransform = !!r), r || Ul; }, threshold: (e) => bl.toVector(e, 0), }, Vl = Sl( Sl({}, zl), {}, { axis(e, t, { axis: n }) { if (((this.lockDirection = "lock" === n), !this.lockDirection)) return n; }, axisThreshold: (e = 0) => e, bounds(e = {}) { if ("function" == typeof e) return (t) => Vl.bounds(e(t)); if ("current" in e) return () => e.current; if ("function" == typeof HTMLElement && e instanceof HTMLElement) return e; const { left: t = -1 / 0, right: n = 1 / 0, top: r = -1 / 0, bottom: o = 1 / 0 } = e; return [ [t, n], [r, o], ]; }, } ), Hl = { ArrowRight: (e, t = 1) => [e * t, 0], ArrowLeft: (e, t = 1) => [-1 * e * t, 0], ArrowUp: (e, t = 1) => [0, -1 * e * t], ArrowDown: (e, t = 1) => [0, e * t] }, Gl = "undefined" != typeof window && window.document && window.document.createElement; function Wl() { return Gl && "ontouchstart" in window; } const Ql = { isBrowser: Gl, gesture: (function () { try { return "constructor" in GestureEvent; } catch (e) { return !1; } })(), touch: Wl(), touchscreen: Wl() || (Gl && window.navigator.maxTouchPoints > 1), pointer: Gl && "onpointerdown" in window, pointerLock: Gl && "exitPointerLock" in window.document, }, Jl = { mouse: 0, touch: 0, pen: 8 }, Yl = Sl( Sl({}, Vl), {}, { device(e, t, { pointer: { touch: n = !1, lock: r = !1, mouse: o = !1 } = {} }) { return (this.pointerLock = r && Ql.pointerLock), Ql.touch && n ? "touch" : this.pointerLock ? "mouse" : Ql.pointer && !o ? "pointer" : Ql.touch ? "touch" : "mouse"; }, preventScrollAxis(e, t, { preventScroll: n }) { if (((this.preventScrollDelay = "number" == typeof n ? n : n || (void 0 === n && e) ? 250 : void 0), Ql.touchscreen && !1 !== n)) return e || (void 0 !== n ? "y" : void 0); }, pointerCapture(e, t, { pointer: { capture: n = !0, buttons: r = 1, keys: o = !0 } = {} }) { return (this.pointerButtons = r), (this.keys = o), !this.pointerLock && "pointer" === this.device && n; }, threshold(e, t, { filterTaps: n = !1, tapsThreshold: r = 3, axis: o }) { const a = bl.toVector(e, n ? r : o ? 1 : 0); return (this.filterTaps = n), (this.tapsThreshold = r), a; }, swipe({ velocity: e = 0.5, distance: t = 50, duration: n = 250 } = {}) { return { velocity: this.transform(bl.toVector(e)), distance: this.transform(bl.toVector(t)), duration: n }; }, delay(e = 0) { switch (e) { case !0: return 180; case !1: return 0; default: return e; } }, axisThreshold: (e) => (e ? Sl(Sl({}, Jl), e) : Jl), keyboardDisplacement: (e = 10) => e, } ); Sl( Sl({}, zl), {}, { device(e, t, { shared: n, pointer: { touch: r = !1 } = {} }) { if (n.target && !Ql.touch && Ql.gesture) return "gesture"; if (Ql.touch && r) return "touch"; if (Ql.touchscreen) { if (Ql.pointer) return "pointer"; if (Ql.touch) return "touch"; } }, bounds(e, t, { scaleBounds: n = {}, angleBounds: r = {} }) { const o = (e) => { const t = jl(Ll(n, e), { min: -1 / 0, max: 1 / 0 }); return [t.min, t.max]; }, a = (e) => { const t = jl(Ll(r, e), { min: -1 / 0, max: 1 / 0 }); return [t.min, t.max]; }; return "function" != typeof n && "function" != typeof r ? [o(), a()] : (e) => [o(e), a(e)]; }, threshold(e, t, n) { return (this.lockDirection = "lock" === n.axis), bl.toVector(e, this.lockDirection ? [0.1, 3] : 0); }, modifierKey: (e) => (void 0 === e ? "ctrlKey" : e), pinchOnWheel: (e = !0) => e, } ), Sl(Sl({}, Vl), {}, { mouseOnly: (e = !0) => e }), Sl(Sl({}, Vl), {}, { mouseOnly: (e = !0) => e }); const ql = new Map(), Xl = new Map(), Kl = { key: "drag", engine: class extends Zl { constructor(...e) { super(...e), Cl(this, "ingKey", "dragging"); } reset() { super.reset(); const e = this.state; (e._pointerId = void 0), (e._pointerActive = !1), (e._keyboardActive = !1), (e._preventScroll = !1), (e._delayed = !1), (e.swipe = [0, 0]), (e.tap = !1), (e.canceled = !1), (e.cancel = this.cancel.bind(this)); } setup() { const e = this.state; if (e._bounds instanceof HTMLElement) { const t = e._bounds.getBoundingClientRect(), n = e.currentTarget.getBoundingClientRect(), r = { left: t.left - n.left + e.offset[0], right: t.right - n.right + e.offset[0], top: t.top - n.top + e.offset[1], bottom: t.bottom - n.bottom + e.offset[1] }; e._bounds = Vl.bounds(r); } } cancel() { const e = this.state; e.canceled || ((e.canceled = !0), (e._active = !1), setTimeout(() => { this.compute(), this.emit(); }, 0)); } setActive() { this.state._active = this.state._pointerActive || this.state._keyboardActive; } clean() { this.pointerClean(), (this.state._pointerActive = !1), (this.state._keyboardActive = !1), super.clean(); } pointerDown(e) { const t = this.config, n = this.state; if (null != e.buttons && (Array.isArray(t.pointerButtons) ? !t.pointerButtons.includes(e.buttons) : -1 !== t.pointerButtons && t.pointerButtons !== e.buttons)) return; const r = this.ctrl.setEventIds(e); t.pointerCapture && e.target.setPointerCapture(e.pointerId), (r && r.size > 1 && n._pointerActive) || (this.start(e), this.setupPointer(e), (n._pointerId = Nl(e)), (n._pointerActive = !0), this.computeValues(Rl(e)), this.computeInitial(), t.preventScrollAxis && "mouse" !== Fl(e) ? ((n._active = !1), this.setupScrollPrevention(e)) : t.delay > 0 ? (this.setupDelayTrigger(e), t.triggerAllEvents && (this.compute(e), this.emit())) : this.startPointerDrag(e)); } startPointerDrag(e) { const t = this.state; (t._active = !0), (t._preventScroll = !0), (t._delayed = !1), this.compute(e), this.emit(); } pointerMove(e) { const t = this.state, n = this.config; if (!t._pointerActive) return; const r = Nl(e); if (void 0 !== t._pointerId && r !== t._pointerId) return; const o = Rl(e); return ( document.pointerLockElement === e.target ? (t._delta = [e.movementX, e.movementY]) : ((t._delta = bl.sub(o, t._values)), this.computeValues(o)), bl.addTo(t._movement, t._delta), this.compute(e), t._delayed && t.intentional ? (this.timeoutStore.remove("dragDelay"), (t.active = !1), void this.startPointerDrag(e)) : n.preventScrollAxis && !t._preventScroll ? t.axis ? t.axis === n.preventScrollAxis || "xy" === n.preventScrollAxis ? ((t._active = !1), void this.clean()) : (this.timeoutStore.remove("startPointerDrag"), void this.startPointerDrag(e)) : void 0 : void this.emit() ); } pointerUp(e) { this.ctrl.setEventIds(e); try { this.config.pointerCapture && e.target.hasPointerCapture(e.pointerId) && e.target.releasePointerCapture(e.pointerId); } catch (e) {} const t = this.state, n = this.config; if (!t._active || !t._pointerActive) return; const r = Nl(e); if (void 0 !== t._pointerId && r !== t._pointerId) return; (this.state._pointerActive = !1), this.setActive(), this.compute(e); const [o, a] = t._distance; if (((t.tap = o <= n.tapsThreshold && a <= n.tapsThreshold), t.tap && n.filterTaps)) t._force = !0; else { const [e, r] = t._delta, [o, a] = t._movement, [i, s] = n.swipe.velocity, [c, l] = n.swipe.distance, u = n.swipe.duration; if (t.elapsedTime < u) { const n = Math.abs(e / t.timeDelta), u = Math.abs(r / t.timeDelta); n > i && Math.abs(o) > c && (t.swipe[0] = Math.sign(e)), u > s && Math.abs(a) > l && (t.swipe[1] = Math.sign(r)); } } this.emit(); } pointerClick(e) { !this.state.tap && e.detail > 0 && (e.preventDefault(), e.stopPropagation()); } setupPointer(e) { const t = this.config, n = t.device; t.pointerLock && e.currentTarget.requestPointerLock(), t.pointerCapture || (this.eventStore.add(this.sharedConfig.window, n, "change", this.pointerMove.bind(this)), this.eventStore.add(this.sharedConfig.window, n, "end", this.pointerUp.bind(this)), this.eventStore.add(this.sharedConfig.window, n, "cancel", this.pointerUp.bind(this))); } pointerClean() { this.config.pointerLock && document.pointerLockElement === this.state.currentTarget && document.exitPointerLock(); } preventScroll(e) { this.state._preventScroll && e.cancelable && e.preventDefault(); } setupScrollPrevention(e) { (this.state._preventScroll = !1), (function (e) { "persist" in e && "function" == typeof e.persist && e.persist(); })(e); const t = this.eventStore.add(this.sharedConfig.window, "touch", "change", this.preventScroll.bind(this), { passive: !1 }); this.eventStore.add(this.sharedConfig.window, "touch", "end", t), this.eventStore.add(this.sharedConfig.window, "touch", "cancel", t), this.timeoutStore.add("startPointerDrag", this.startPointerDrag.bind(this), this.config.preventScrollDelay, e); } setupDelayTrigger(e) { (this.state._delayed = !0), this.timeoutStore.add( "dragDelay", () => { (this.state._step = [0, 0]), this.startPointerDrag(e); }, this.config.delay ); } keyDown(e) { const t = Hl[e.key]; if (t) { const n = this.state, r = e.shiftKey ? 10 : e.altKey ? 0.1 : 1; this.start(e), (n._delta = t(this.config.keyboardDisplacement, r)), (n._keyboardActive = !0), bl.addTo(n._movement, n._delta), this.compute(e), this.emit(); } } keyUp(e) { e.key in Hl && ((this.state._keyboardActive = !1), this.setActive(), this.compute(e), this.emit()); } bind(e) { const t = this.config.device; e(t, "start", this.pointerDown.bind(this)), this.config.pointerCapture && (e(t, "change", this.pointerMove.bind(this)), e(t, "end", this.pointerUp.bind(this)), e(t, "cancel", this.pointerUp.bind(this)), e("lostPointerCapture", "", this.pointerUp.bind(this))), this.config.keys && (e("key", "down", this.keyDown.bind(this)), e("key", "up", this.keyUp.bind(this))), this.config.filterTaps && e("click", "", this.pointerClick.bind(this), { capture: !0, passive: !1 }); } }, resolver: Yl, }; const $l = { target(e) { if (e) return () => ("current" in e ? e.current : e); }, enabled: (e = !0) => e, window: (e = Ql.isBrowser ? window : void 0) => e, eventOptions: ({ passive: e = !0, capture: t = !1 } = {}) => ({ passive: e, capture: t }), transform: (e) => e, }, eu = ["target", "eventOptions", "window", "enabled", "transform"]; function tu(e = {}, t) { const n = {}; for (const [r, o] of Object.entries(t)) switch (typeof o) { case "function": n[r] = o.call(n, e[r], r, e); break; case "object": n[r] = tu(e[r], o); break; case "boolean": o && (n[r] = e[r]); } return n; } class nu { constructor(e, t) { Cl(this, "_listeners", new Set()), (this._ctrl = e), (this._gestureKey = t); } add(e, t, n, r, o) { const a = this._listeners, i = (function (e, t = "") { const n = Al[e]; return e + ((n && n[t]) || t); })(t, n), s = Sl(Sl({}, this._gestureKey ? this._ctrl.config[this._gestureKey].eventOptions : {}), o); e.addEventListener(i, r, s); const c = () => { e.removeEventListener(i, r, s), a.delete(c); }; return a.add(c), c; } clean() { this._listeners.forEach((e) => e()), this._listeners.clear(); } } class ru { constructor() { Cl(this, "_timeouts", new Map()); } add(e, t, n = 140, ...r) { this.remove(e), this._timeouts.set(e, window.setTimeout(t, n, ...r)); } remove(e) { const t = this._timeouts.get(e); t && window.clearTimeout(t); } clean() { this._timeouts.forEach((e) => { window.clearTimeout(e); }), this._timeouts.clear(); } } class ou { constructor(e) { var t, n; Cl(this, "gestures", new Set()), Cl(this, "_targetEventStore", new nu(this)), Cl(this, "gestureEventStores", {}), Cl(this, "gestureTimeoutStores", {}), Cl(this, "handlers", {}), Cl(this, "config", {}), Cl(this, "pointerIds", new Set()), Cl(this, "touchIds", new Set()), Cl(this, "state", { shared: { shiftKey: !1, metaKey: !1, ctrlKey: !1, altKey: !1 } }), (t = this), (n = e).drag && au(t, "drag"), n.wheel && au(t, "wheel"), n.scroll && au(t, "scroll"), n.move && au(t, "move"), n.pinch && au(t, "pinch"), n.hover && au(t, "hover"); } setEventIds(e) { return Ol(e) ? ((this.touchIds = new Set( (function (e) { return (function (e) { return Array.from(e.touches).filter((t) => { var n, r; return t.target === e.currentTarget || (null === (n = e.currentTarget) || void 0 === n || null === (r = n.contains) || void 0 === r ? void 0 : r.call(n, t.target)); }); })(e).map((e) => e.identifier); })(e) )), this.touchIds) : "pointerId" in e ? ("pointerup" === e.type || "pointercancel" === e.type ? this.pointerIds.delete(e.pointerId) : "pointerdown" === e.type && this.pointerIds.add(e.pointerId), this.pointerIds) : void 0; } applyHandlers(e, t) { (this.handlers = e), (this.nativeHandlers = t); } applyConfig(e, t) { this.config = (function (e, t, n = {}) { const r = e, { target: o, eventOptions: a, window: i, enabled: s, transform: c } = r, l = (function (e, t) { if (null == e) return {}; var n, r, o = (function (e, t) { if (null == e) return {}; var n, r, o = {}, a = Object.keys(e); for (r = 0; r < a.length; r++) (n = a[r]), t.indexOf(n) >= 0 || (o[n] = e[n]); return o; })(e, t); if (Object.getOwnPropertySymbols) { var a = Object.getOwnPropertySymbols(e); for (r = 0; r < a.length; r++) (n = a[r]), t.indexOf(n) >= 0 || (Object.prototype.propertyIsEnumerable.call(e, n) && (o[n] = e[n])); } return o; })(r, eu); if (((n.shared = tu({ target: o, eventOptions: a, window: i, enabled: s, transform: c }, $l)), t)) { const e = Xl.get(t); n[t] = tu(Sl({ shared: n.shared }, l), e); } else for (const e in l) { const t = Xl.get(e); t && (n[e] = tu(Sl({ shared: n.shared }, l[e]), t)); } return n; })(e, t, this.config); } clean() { this._targetEventStore.clean(); for (const e of this.gestures) this.gestureEventStores[e].clean(), this.gestureTimeoutStores[e].clean(); } effect() { return this.config.shared.target && this.bind(), () => this._targetEventStore.clean(); } bind(...e) { const t = this.config.shared, n = {}; let r; if (!t.target || ((r = t.target()), r)) { if (t.enabled) { for (const t of this.gestures) { const o = this.config[t], a = iu(n, o.eventOptions, !!r); o.enabled && new (ql.get(t))(this, e, t).bind(a); } const o = iu(n, t.eventOptions, !!r); for (const t in this.nativeHandlers) o(t, "", (n) => this.nativeHandlers[t](Sl(Sl({}, this.state.shared), {}, { event: n, args: e })), void 0, !0); } for (const e in n) n[e] = Pl(...n[e]); if (!r) return n; for (const e in n) { const { device: t, capture: o, passive: a } = Il(e); this._targetEventStore.add(r, t, "", n[e], { capture: o, passive: a }); } } } } function au(e, t) { e.gestures.add(t), (e.gestureEventStores[t] = new nu(e, t)), (e.gestureTimeoutStores[t] = new ru()); } const iu = (e, t, n) => (r, o, a, i = {}, s = !1) => { var c, l; const u = null !== (c = i.capture) && void 0 !== c ? c : t.capture, d = null !== (l = i.passive) && void 0 !== l ? l : t.passive; let p = s ? r : (function (e, t = "", n = !1) { const r = Al[e], o = (r && r[t]) || t; return ( "on" + kl(e) + kl(o) + ((function (e = !1, t) { return e && !_l.includes(t); })(n, o) ? "Capture" : "") ); })(r, o, u); n && d && (p += "Passive"), (e[p] = e[p] || []), e[p].push(a); }; function su(e, t) { var n; return ( (n = Kl), ql.set(n.key, n.engine), Xl.set(n.key, n.resolver), (function (e, t = {}, n, r) { const o = V().useMemo(() => new ou(e), []); if ((o.applyHandlers(e, r), o.applyConfig(t, n), V().useEffect(o.effect.bind(o)), V().useEffect(() => o.clean.bind(o), []), void 0 === t.target)) return o.bind.bind(o); })({ drag: e }, t || {}, "drag") ); } var cu = Object.defineProperty, lu = {}; ((e, t) => { for (var n in t) cu(e, n, { get: t[n], enumerable: !0 }); })(lu, { assign: () => zu, colors: () => Bu, createStringInterpolator: () => Lu, skipAnimation: () => Zu, to: () => Mu, willAdvance: () => Uu }); var uu = ku(), du = (e) => Cu(e, uu), pu = ku(); du.write = (e) => Cu(e, pu); var fu = ku(); du.onStart = (e) => Cu(e, fu); var mu = ku(); du.onFrame = (e) => Cu(e, mu); var hu = ku(); du.onFinish = (e) => Cu(e, hu); var vu = []; du.setTimeout = (e, t) => { const n = du.now() + t, r = () => { const e = vu.findIndex((e) => e.cancel == r); ~e && vu.splice(e, 1), (Eu -= ~e ? 1 : 0); }, o = { time: n, handler: e, cancel: r }; return vu.splice(yu(n), 0, o), (Eu += 1), wu(), o; }; var yu = (e) => ~(~vu.findIndex((t) => t.time > e) || ~vu.length); (du.cancel = (e) => { fu.delete(e), mu.delete(e), hu.delete(e), uu.delete(e), pu.delete(e); }), (du.sync = (e) => { (Du = !0), du.batchedUpdates(e), (Du = !1); }), (du.throttle = (e) => { let t; function n() { try { e(...t); } finally { t = null; } } function r(...e) { (t = e), du.onStart(n); } return ( (r.handler = e), (r.cancel = () => { fu.delete(n), (t = null); }), r ); }); var gu = "undefined" != typeof window ? window.requestAnimationFrame : () => {}; (du.use = (e) => (gu = e)), (du.now = "undefined" != typeof performance ? () => performance.now() : Date.now), (du.batchedUpdates = (e) => e()), (du.catch = console.error), (du.frameLoop = "always"), (du.advance = () => { "demand" !== du.frameLoop ? console.warn("Cannot call the manual advancement of rafz whilst frameLoop is not set as demand") : Au(); }); var bu = -1, Eu = 0, Du = !1; function Cu(e, t) { Du ? (t.delete(e), e(0)) : (t.add(e), wu()); } function wu() { bu < 0 && ((bu = 0), "demand" !== du.frameLoop && gu(Su)); } function Su() { ~bu && (gu(Su), du.batchedUpdates(Au)); } function Au() { const e = bu; bu = du.now(); const t = yu(bu); t && (_u(vu.splice(0, t), (e) => e.handler()), (Eu -= t)), Eu ? (fu.flush(), uu.flush(e ? Math.min(64, bu - e) : 16.667), mu.flush(), pu.flush(), hu.flush()) : (bu = -1); } function ku() { let e = new Set(), t = e; return { add(n) { (Eu += t != e || e.has(n) ? 0 : 1), e.add(n); }, delete: (n) => ((Eu -= t == e && e.has(n) ? 1 : 0), e.delete(n)), flush(n) { t.size && ((e = new Set()), (Eu -= t.size), _u(t, (t) => t(n) && e.add(t)), (Eu += e.size), (t = e)); }, }; } function _u(e, t) { e.forEach((e) => { try { t(e); } catch (e) { du.catch(e); } }); } function Tu() {} var Iu = { arr: Array.isArray, obj: (e) => !!e && "Object" === e.constructor.name, fun: (e) => "function" == typeof e, str: (e) => "string" == typeof e, num: (e) => "number" == typeof e, und: (e) => void 0 === e }; function Ou(e, t) { if (Iu.arr(e)) { if (!Iu.arr(t) || e.length !== t.length) return !1; for (let n = 0; n < e.length; n++) if (e[n] !== t[n]) return !1; return !0; } return e === t; } var Fu = (e, t) => e.forEach(t); function xu(e, t, n) { if (Iu.arr(e)) for (let r = 0; r < e.length; r++) t.call(n, e[r], `${r}`); else for (const r in e) e.hasOwnProperty(r) && t.call(n, e[r], r); } var Nu = (e) => (Iu.und(e) ? [] : Iu.arr(e) ? e : [e]); function Ru(e, t) { if (e.size) { const n = Array.from(e); e.clear(), Fu(n, t); } } var Lu, Mu, Pu = (e, ...t) => Ru(e, (e) => e(...t)), ju = () => "undefined" == typeof window || !window.navigator || /ServerSideRendering|^Deno\//.test(window.navigator.userAgent), Bu = null, Zu = !1, Uu = Tu, zu = (e) => { e.to && (Mu = e.to), e.now && (du.now = e.now), void 0 !== e.colors && (Bu = e.colors), null != e.skipAnimation && (Zu = e.skipAnimation), e.createStringInterpolator && (Lu = e.createStringInterpolator), e.requestAnimationFrame && du.use(e.requestAnimationFrame), e.batchedUpdates && (du.batchedUpdates = e.batchedUpdates), e.willAdvance && (Uu = e.willAdvance), e.frameLoop && (du.frameLoop = e.frameLoop); }, Vu = new Set(), Hu = [], Gu = [], Wu = 0, Qu = { get idle() { return !Vu.size && !Hu.length; }, start(e) { Wu > e.priority ? (Vu.add(e), du.onStart(Ju)) : (Yu(e), du(Xu)); }, advance: Xu, sort(e) { if (Wu) du.onFrame(() => Qu.sort(e)); else { const t = Hu.indexOf(e); ~t && (Hu.splice(t, 1), qu(e)); } }, clear() { (Hu = []), Vu.clear(); }, }; function Ju() { Vu.forEach(Yu), Vu.clear(), du(Xu); } function Yu(e) { Hu.includes(e) || qu(e); } function qu(e) { Hu.splice( (function (t, n) { const r = t.findIndex((t) => t.priority > e.priority); return r < 0 ? t.length : r; })(Hu), 0, e ); } function Xu(e) { const t = Gu; for (let n = 0; n < Hu.length; n++) { const r = Hu[n]; (Wu = r.priority), r.idle || (Uu(r), r.advance(e), r.idle || t.push(r)); } return (Wu = 0), ((Gu = Hu).length = 0), (Hu = t).length > 0; } var Ku = "[-+]?\\d*\\.?\\d+", $u = Ku + "%"; function ed(...e) { return "\\(\\s*(" + e.join(")\\s*,\\s*(") + ")\\s*\\)"; } var td = new RegExp("rgb" + ed(Ku, Ku, Ku)), nd = new RegExp("rgba" + ed(Ku, Ku, Ku, Ku)), rd = new RegExp("hsl" + ed(Ku, $u, $u)), od = new RegExp("hsla" + ed(Ku, $u, $u, Ku)), ad = /^#([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/, id = /^#([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/, sd = /^#([0-9a-fA-F]{6})$/, cd = /^#([0-9a-fA-F]{8})$/; function ld(e, t, n) { return n < 0 && (n += 1), n > 1 && (n -= 1), n < 1 / 6 ? e + 6 * (t - e) * n : n < 0.5 ? t : n < 2 / 3 ? e + (t - e) * (2 / 3 - n) * 6 : e; } function ud(e, t, n) { const r = n < 0.5 ? n * (1 + t) : n + t - n * t, o = 2 * n - r, a = ld(o, r, e + 1 / 3), i = ld(o, r, e), s = ld(o, r, e - 1 / 3); return (Math.round(255 * a) << 24) | (Math.round(255 * i) << 16) | (Math.round(255 * s) << 8); } function dd(e) { const t = parseInt(e, 10); return t < 0 ? 0 : t > 255 ? 255 : t; } function pd(e) { return (((parseFloat(e) % 360) + 360) % 360) / 360; } function fd(e) { const t = parseFloat(e); return t < 0 ? 0 : t > 1 ? 255 : Math.round(255 * t); } function md(e) { const t = parseFloat(e); return t < 0 ? 0 : t > 100 ? 1 : t / 100; } function hd(e) { let t = (function (e) { let t; return "number" == typeof e ? e >>> 0 === e && e >= 0 && e <= 4294967295 ? e : null : (t = sd.exec(e)) ? parseInt(t[1] + "ff", 16) >>> 0 : Bu && void 0 !== Bu[e] ? Bu[e] : (t = td.exec(e)) ? ((dd(t[1]) << 24) | (dd(t[2]) << 16) | (dd(t[3]) << 8) | 255) >>> 0 : (t = nd.exec(e)) ? ((dd(t[1]) << 24) | (dd(t[2]) << 16) | (dd(t[3]) << 8) | fd(t[4])) >>> 0 : (t = ad.exec(e)) ? parseInt(t[1] + t[1] + t[2] + t[2] + t[3] + t[3] + "ff", 16) >>> 0 : (t = cd.exec(e)) ? parseInt(t[1], 16) >>> 0 : (t = id.exec(e)) ? parseInt(t[1] + t[1] + t[2] + t[2] + t[3] + t[3] + t[4] + t[4], 16) >>> 0 : (t = rd.exec(e)) ? (255 | ud(pd(t[1]), md(t[2]), md(t[3]))) >>> 0 : (t = od.exec(e)) ? (ud(pd(t[1]), md(t[2]), md(t[3])) | fd(t[4])) >>> 0 : null; })(e); return null === t ? e : ((t = t || 0), `rgba(${(4278190080 & t) >>> 24}, ${(16711680 & t) >>> 16}, ${(65280 & t) >>> 8}, ${(255 & t) / 255})`); } var vd = (e, t, n) => { if (Iu.fun(e)) return e; if (Iu.arr(e)) return vd({ range: e, output: t, extrapolate: n }); if (Iu.str(e.output[0])) return Lu(e); const r = e, o = r.output, a = r.range || [0, 1], i = r.extrapolateLeft || r.extrapolate || "extend", s = r.extrapolateRight || r.extrapolate || "extend", c = r.easing || ((e) => e); return (e) => { const t = (function (e, t) { for (var n = 1; n < t.length - 1 && !(t[n] >= e); ++n); return n - 1; })(e, a); return (function (e, t, n, r, o, a, i, s, c) { let l = c ? c(e) : e; if (l < t) { if ("identity" === i) return l; "clamp" === i && (l = t); } if (l > n) { if ("identity" === s) return l; "clamp" === s && (l = n); } return r === o ? r : t === n ? (e <= t ? r : o) : (t === -1 / 0 ? (l = -l) : n === 1 / 0 ? (l -= t) : (l = (l - t) / (n - t)), (l = a(l)), r === -1 / 0 ? (l = -l) : o === 1 / 0 ? (l += r) : (l = l * (o - r) + r), l); })(e, a[t], a[t + 1], o[t], o[t + 1], c, i, s, r.map); }; }, yd = 1.70158, gd = 1.525 * yd, bd = yd + 1, Ed = (2 * Math.PI) / 3, Dd = (2 * Math.PI) / 4.5, Cd = (e) => { const t = 7.5625, n = 2.75; return e < 1 / n ? t * e * e : e < 2 / n ? t * (e -= 1.5 / n) * e + 0.75 : e < 2.5 / n ? t * (e -= 2.25 / n) * e + 0.9375 : t * (e -= 2.625 / n) * e + 0.984375; }, wd = { linear: (e) => e, easeInQuad: (e) => e * e, easeOutQuad: (e) => 1 - (1 - e) * (1 - e), easeInOutQuad: (e) => (e < 0.5 ? 2 * e * e : 1 - Math.pow(-2 * e + 2, 2) / 2), easeInCubic: (e) => e * e * e, easeOutCubic: (e) => 1 - Math.pow(1 - e, 3), easeInOutCubic: (e) => (e < 0.5 ? 4 * e * e * e : 1 - Math.pow(-2 * e + 2, 3) / 2), easeInQuart: (e) => e * e * e * e, easeOutQuart: (e) => 1 - Math.pow(1 - e, 4), easeInOutQuart: (e) => (e < 0.5 ? 8 * e * e * e * e : 1 - Math.pow(-2 * e + 2, 4) / 2), easeInQuint: (e) => e * e * e * e * e, easeOutQuint: (e) => 1 - Math.pow(1 - e, 5), easeInOutQuint: (e) => (e < 0.5 ? 16 * e * e * e * e * e : 1 - Math.pow(-2 * e + 2, 5) / 2), easeInSine: (e) => 1 - Math.cos((e * Math.PI) / 2), easeOutSine: (e) => Math.sin((e * Math.PI) / 2), easeInOutSine: (e) => -(Math.cos(Math.PI * e) - 1) / 2, easeInExpo: (e) => (0 === e ? 0 : Math.pow(2, 10 * e - 10)), easeOutExpo: (e) => (1 === e ? 1 : 1 - Math.pow(2, -10 * e)), easeInOutExpo: (e) => (0 === e ? 0 : 1 === e ? 1 : e < 0.5 ? Math.pow(2, 20 * e - 10) / 2 : (2 - Math.pow(2, -20 * e + 10)) / 2), easeInCirc: (e) => 1 - Math.sqrt(1 - Math.pow(e, 2)), easeOutCirc: (e) => Math.sqrt(1 - Math.pow(e - 1, 2)), easeInOutCirc: (e) => (e < 0.5 ? (1 - Math.sqrt(1 - Math.pow(2 * e, 2))) / 2 : (Math.sqrt(1 - Math.pow(-2 * e + 2, 2)) + 1) / 2), easeInBack: (e) => bd * e * e * e - yd * e * e, easeOutBack: (e) => 1 + bd * Math.pow(e - 1, 3) + yd * Math.pow(e - 1, 2), easeInOutBack: (e) => (e < 0.5 ? (Math.pow(2 * e, 2) * (7.189819 * e - gd)) / 2 : (Math.pow(2 * e - 2, 2) * ((gd + 1) * (2 * e - 2) + gd) + 2) / 2), easeInElastic: (e) => (0 === e ? 0 : 1 === e ? 1 : -Math.pow(2, 10 * e - 10) * Math.sin((10 * e - 10.75) * Ed)), easeOutElastic: (e) => (0 === e ? 0 : 1 === e ? 1 : Math.pow(2, -10 * e) * Math.sin((10 * e - 0.75) * Ed) + 1), easeInOutElastic: (e) => (0 === e ? 0 : 1 === e ? 1 : e < 0.5 ? (-Math.pow(2, 20 * e - 10) * Math.sin((20 * e - 11.125) * Dd)) / 2 : (Math.pow(2, -20 * e + 10) * Math.sin((20 * e - 11.125) * Dd)) / 2 + 1), easeInBounce: (e) => 1 - Cd(1 - e), easeOutBounce: Cd, easeInOutBounce: (e) => (e < 0.5 ? (1 - Cd(1 - 2 * e)) / 2 : (1 + Cd(2 * e - 1)) / 2), steps: (e, t = "end") => (n) => { const r = (n = "end" === t ? Math.min(n, 0.999) : Math.max(n, 0.001)) * e; return 0, 1, (o = ("end" === t ? Math.floor(r) : Math.ceil(r)) / e), Math.min(Math.max(o, 0), 1); var o; }, }, Sd = Symbol.for("FluidValue.get"), Ad = Symbol.for("FluidValue.observers"), kd = (e) => Boolean(e && e[Sd]), _d = (e) => (e && e[Sd] ? e[Sd]() : e), Td = (e) => e[Ad] || null; function Id(e, t) { const n = e[Ad]; n && n.forEach((e) => { !(function (e, t) { e.eventObserved ? e.eventObserved(t) : e(t); })(e, t); }); } var Od = class { constructor(e) { if (!e && !(e = this.get)) throw Error("Unknown getter"); Fd(this, e); } }, Fd = (e, t) => Ld(e, Sd, t); function xd(e, t) { if (e[Sd]) { let n = e[Ad]; n || Ld(e, Ad, (n = new Set())), n.has(t) || (n.add(t), e.observerAdded && e.observerAdded(n.size, t)); } return t; } function Nd(e, t) { const n = e[Ad]; if (n && n.has(t)) { const r = n.size - 1; r ? n.delete(t) : (e[Ad] = null), e.observerRemoved && e.observerRemoved(r, t); } } var Rd, Ld = (e, t, n) => Object.defineProperty(e, t, { value: n, writable: !0, configurable: !0 }), Md = /[+\-]?(?:0|[1-9]\d*)(?:\.\d*)?(?:[eE][+\-]?\d+)?/g, Pd = /(#(?:[0-9a-f]{2}){2,4}|(#[0-9a-f]{3})|(rgb|hsl)a?\((-?\d+%?[,\s]+){2,3}\s*[\d\.]+%?\))/gi, jd = new RegExp(`(${Md.source})(%|[a-z]+)`, "i"), Bd = /rgba\(([0-9\.-]+), ([0-9\.-]+), ([0-9\.-]+), ([0-9\.-]+)\)/gi, Zd = /var\((--[a-zA-Z0-9-_]+),? ?([a-zA-Z0-9 ()%#.,-]+)?\)/, Ud = (e) => { const [t, n] = zd(e); if (!t || ju()) return e; const r = window.getComputedStyle(document.documentElement).getPropertyValue(t); if (r) return r.trim(); if (n && n.startsWith("--")) { return window.getComputedStyle(document.documentElement).getPropertyValue(n) || e; } return n && Zd.test(n) ? Ud(n) : n || e; }, zd = (e) => { const t = Zd.exec(e); if (!t) return [,]; const [, n, r] = t; return [n, r]; }, Vd = (e, t, n, r, o) => `rgba(${Math.round(t)}, ${Math.round(n)}, ${Math.round(r)}, ${o})`, Hd = (e) => { Rd || (Rd = Bu ? new RegExp(`(${Object.keys(Bu).join("|")})(?!\\w)`, "g") : /^\b$/); const t = e.output.map((e) => _d(e).replace(Zd, Ud).replace(Pd, hd).replace(Rd, hd)), n = t.map((e) => e.match(Md).map(Number)), r = n[0] .map((e, t) => n.map((e) => { if (!(t in e)) throw Error('The arity of each "output" value must be equal'); return e[t]; }) ) .map((t) => vd({ ...e, output: t })); return (e) => { const n = !jd.test(t[0]) && t.find((e) => jd.test(e))?.replace(Md, ""); let o = 0; return t[0].replace(Md, () => `${r[o++](e)}${n || ""}`).replace(Bd, Vd); }; }, Gd = "react-spring: ", Wd = (e) => { const t = e; let n = !1; if ("function" != typeof t) throw new TypeError(`${Gd}once requires a function parameter`); return (...e) => { n || (t(...e), (n = !0)); }; }, Qd = Wd(console.warn), Jd = Wd(console.warn); function Yd(e) { return Iu.str(e) && ("#" == e[0] || /\d/.test(e) || (!ju() && Zd.test(e)) || e in (Bu || {})); } var qd = ju() ? z.useEffect : z.useLayoutEffect, Xd = () => { const e = (0, z.useRef)(!1); return ( qd( () => ( (e.current = !0), () => { e.current = !1; } ), [] ), e ); }; function Kd() { const e = (0, z.useState)()[1], t = Xd(); return () => { t.current && e(Math.random()); }; } var $d = (e) => (0, z.useEffect)(e, ep), ep = []; function tp(e) { const t = (0, z.useRef)(); return ( (0, z.useEffect)(() => { t.current = e; }), t.current ); } var np = Symbol.for("Animated:node"), rp = (e) => e && e[np], op = (e, t) => { return (n = e), (r = np), (o = t), Object.defineProperty(n, r, { value: o, writable: !0, configurable: !0 }); var n, r, o; }, ap = (e) => e && e[np] && e[np].getPayload(), ip = class { constructor() { op(this, this); } getPayload() { return this.payload || []; } }, sp = class extends ip { constructor(e) { super(), (this._value = e), (this.done = !0), (this.durationProgress = 0), Iu.num(this._value) && (this.lastPosition = this._value); } static create(e) { return new sp(e); } getPayload() { return [this]; } getValue() { return this._value; } setValue(e, t) { return Iu.num(e) && ((this.lastPosition = e), t && ((e = Math.round(e / t) * t), this.done && (this.lastPosition = e))), this._value !== e && ((this._value = e), !0); } reset() { const { done: e } = this; (this.done = !1), Iu.num(this._value) && ((this.elapsedTime = 0), (this.durationProgress = 0), (this.lastPosition = this._value), e && (this.lastVelocity = null), (this.v0 = null)); } }, cp = class extends sp { constructor(e) { super(0), (this._string = null), (this._toString = vd({ output: [e, e] })); } static create(e) { return new cp(e); } getValue() { const e = this._string; return null == e ? (this._string = this._toString(this._value)) : e; } setValue(e) { if (Iu.str(e)) { if (e == this._string) return !1; (this._string = e), (this._value = 1); } else { if (!super.setValue(e)) return !1; this._string = null; } return !0; } reset(e) { e && (this._toString = vd({ output: [this.getValue(), e] })), (this._value = 0), super.reset(); } }, lp = { dependencies: null }, up = class extends ip { constructor(e) { super(), (this.source = e), this.setValue(e); } getValue(e) { const t = {}; return ( xu(this.source, (n, r) => { var o; (o = n) && o[np] === o ? (t[r] = n.getValue(e)) : kd(n) ? (t[r] = _d(n)) : e || (t[r] = n); }), t ); } setValue(e) { (this.source = e), (this.payload = this._makePayload(e)); } reset() { this.payload && Fu(this.payload, (e) => e.reset()); } _makePayload(e) { if (e) { const t = new Set(); return xu(e, this._addToPayload, t), Array.from(t); } } _addToPayload(e) { lp.dependencies && kd(e) && lp.dependencies.add(e); const t = ap(e); t && Fu(t, (e) => this.add(e)); } }, dp = class extends up { constructor(e) { super(e); } static create(e) { return new dp(e); } getValue() { return this.source.map((e) => e.getValue()); } setValue(e) { const t = this.getPayload(); return e.length == t.length ? t.map((t, n) => t.setValue(e[n])).some(Boolean) : (super.setValue(e.map(pp)), !0); } }; function pp(e) { return (Yd(e) ? cp : sp).create(e); } function fp(e) { const t = rp(e); return t ? t.constructor : Iu.arr(e) ? dp : Yd(e) ? cp : sp; } var mp = (e, t) => { const n = !Iu.fun(e) || (e.prototype && e.prototype.isReactComponent); return (0, z.forwardRef)((r, o) => { const a = (0, z.useRef)(null), i = n && (0, z.useCallback)( (e) => { a.current = (function (e, t) { return e && (Iu.fun(e) ? e(t) : (e.current = t)), t; })(o, e); }, [o] ), [s, c] = (function (e, t) { const n = new Set(); return (lp.dependencies = n), e.style && (e = { ...e, style: t.createAnimatedStyle(e.style) }), (e = new up(e)), (lp.dependencies = null), [e, n]; })(r, t), l = Kd(), u = () => { const e = a.current; (n && !e) || (!1 === (!!e && t.applyAnimatedValues(e, s.getValue(!0))) && l()); }, d = new hp(u, c), p = (0, z.useRef)(); qd( () => ( (p.current = d), Fu(c, (e) => xd(e, d)), () => { p.current && (Fu(p.current.deps, (e) => Nd(e, p.current)), du.cancel(p.current.update)); } ) ), (0, z.useEffect)(u, []), $d(() => () => { const e = p.current; Fu(e.deps, (t) => Nd(t, e)); }); const f = t.getComponentProps(s.getValue()); return z.createElement(e, { ...f, ref: i }); }); }, hp = class { constructor(e, t) { (this.update = e), (this.deps = t); } eventObserved(e) { "change" == e.type && du.write(this.update); } }, vp = Symbol.for("AnimatedComponent"), yp = (e) => (Iu.str(e) ? e : e && Iu.str(e.displayName) ? e.displayName : (Iu.fun(e) && e.name) || null); function gp(e, ...t) { return Iu.fun(e) ? e(...t) : e; } var bp = (e, t) => !0 === e || !!(t && e && (Iu.fun(e) ? e(t) : Nu(e).includes(t))), Ep = (e, t) => (Iu.obj(e) ? t && e[t] : e), Dp = (e, t) => (!0 === e.default ? e[t] : e.default ? e.default[t] : void 0), Cp = (e) => e, wp = (e, t = Cp) => { let n = Sp; e.default && !0 !== e.default && ((e = e.default), (n = Object.keys(e))); const r = {}; for (const o of n) { const n = t(e[o], o); Iu.und(n) || (r[o] = n); } return r; }, Sp = ["config", "onProps", "onStart", "onChange", "onPause", "onResume", "onRest"], Ap = { config: 1, from: 1, to: 1, ref: 1, loop: 1, reset: 1, pause: 1, cancel: 1, reverse: 1, immediate: 1, default: 1, delay: 1, onProps: 1, onStart: 1, onChange: 1, onPause: 1, onResume: 1, onRest: 1, onResolve: 1, items: 1, trail: 1, sort: 1, expires: 1, initial: 1, enter: 1, update: 1, leave: 1, children: 1, onDestroyed: 1, keys: 1, callId: 1, parentId: 1, }; function kp(e) { const t = (function (e) { const t = {}; let n = 0; if ( (xu(e, (e, r) => { Ap[r] || ((t[r] = e), n++); }), n) ) return t; })(e); if (t) { const n = { to: t }; return xu(e, (e, r) => r in t || (n[r] = e)), n; } return { ...e }; } function _p(e) { return (e = _d(e)), Iu.arr(e) ? e.map(_p) : Yd(e) ? lu.createStringInterpolator({ range: [0, 1], output: [e, e] })(1) : e; } function Tp(e) { return Iu.fun(e) || (Iu.arr(e) && Iu.obj(e[0])); } var Ip = { default: { tension: 170, friction: 26 }, gentle: { tension: 120, friction: 14 }, wobbly: { tension: 180, friction: 12 }, stiff: { tension: 210, friction: 20 }, slow: { tension: 280, friction: 60 }, molasses: { tension: 280, friction: 120 }, }, Op = { ...Ip.default, mass: 1, damping: 1, easing: wd.linear, clamp: !1 }, Fp = class { constructor() { (this.velocity = 0), Object.assign(this, Op); } }; function xp(e, t) { if (Iu.und(t.decay)) { const n = !Iu.und(t.tension) || !Iu.und(t.friction); (!n && Iu.und(t.frequency) && Iu.und(t.damping) && Iu.und(t.mass)) || ((e.duration = void 0), (e.decay = void 0)), n && (e.frequency = void 0); } else e.duration = void 0; } var Np = [], Rp = class { constructor() { (this.changed = !1), (this.values = Np), (this.toValues = null), (this.fromValues = Np), (this.config = new Fp()), (this.immediate = !1); } }; function Lp(e, { key: t, props: n, defaultProps: r, state: o, actions: a }) { return new Promise((i, s) => { let c, l, u = bp(n.cancel ?? r?.cancel, t); if (u) f(); else { Iu.und(n.pause) || (o.paused = bp(n.pause, t)); let e = r?.pause; !0 !== e && (e = o.paused || bp(e, t)), (c = gp(n.delay || 0, t)), e ? (o.resumeQueue.add(p), a.pause()) : (a.resume(), p()); } function d() { o.resumeQueue.add(p), o.timeouts.delete(l), l.cancel(), (c = l.time - du.now()); } function p() { c > 0 && !lu.skipAnimation ? ((o.delayed = !0), (l = du.setTimeout(f, c)), o.pauseQueue.add(d), o.timeouts.add(l)) : f(); } function f() { o.delayed && (o.delayed = !1), o.pauseQueue.delete(d), o.timeouts.delete(l), e <= (o.cancelId || 0) && (u = !0); try { a.start({ ...n, callId: e, cancel: u }, i); } catch (e) { s(e); } } }); } var Mp = (e, t) => 1 == t.length ? t[0] : t.some((e) => e.cancelled) ? Bp(e.get()) : t.every((e) => e.noop) ? Pp(e.get()) : jp( e.get(), t.every((e) => e.finished) ), Pp = (e) => ({ value: e, noop: !0, finished: !0, cancelled: !1 }), jp = (e, t, n = !1) => ({ value: e, finished: t, cancelled: n }), Bp = (e) => ({ value: e, cancelled: !0, finished: !1 }); function Zp(e, t, n, r) { const { callId: o, parentId: a, onRest: i } = t, { asyncTo: s, promise: c } = n; return a || e !== s || t.reset ? (n.promise = (async () => { (n.asyncId = o), (n.asyncTo = e); const l = wp(t, (e, t) => ("onRest" === t ? void 0 : e)); let u, d; const p = new Promise((e, t) => ((u = e), (d = t))), f = (e) => { const t = (o <= (n.cancelId || 0) && Bp(r)) || (o !== n.asyncId && jp(r, !1)); if (t) throw ((e.result = t), d(e), e); }, m = (e, t) => { const a = new zp(), i = new Vp(); return (async () => { if (lu.skipAnimation) throw (Up(n), (i.result = jp(r, !1)), d(i), i); f(a); const s = Iu.obj(e) ? { ...e } : { ...t, to: e }; (s.parentId = o), xu(l, (e, t) => { Iu.und(s[t]) && (s[t] = e); }); const c = await r.start(s); return ( f(a), n.paused && (await new Promise((e) => { n.resumeQueue.add(e); })), c ); })(); }; let h; if (lu.skipAnimation) return Up(n), jp(r, !1); try { let t; (t = Iu.arr(e) ? (async (e) => { for (const t of e) await m(t); })(e) : Promise.resolve(e(m, r.stop.bind(r)))), await Promise.all([t.then(u), p]), (h = jp(r.get(), !0, !1)); } catch (e) { if (e instanceof zp) h = e.result; else { if (!(e instanceof Vp)) throw e; h = e.result; } } finally { o == n.asyncId && ((n.asyncId = a), (n.asyncTo = a ? s : void 0), (n.promise = a ? c : void 0)); } return ( Iu.fun(i) && du.batchedUpdates(() => { i(h, r, r.item); }), h ); })()) : c; } function Up(e, t) { Ru(e.timeouts, (e) => e.cancel()), e.pauseQueue.clear(), e.resumeQueue.clear(), (e.asyncId = e.asyncTo = e.promise = void 0), t && (e.cancelId = t); } var zp = class extends Error { constructor() { super("An async animation has been interrupted. You see this error because you forgot to use `await` or `.catch(...)` on its returned promise."); } }, Vp = class extends Error { constructor() { super("SkipAnimationSignal"); } }, Hp = (e) => e instanceof Wp, Gp = 1, Wp = class extends Od { constructor() { super(...arguments), (this.id = Gp++), (this._priority = 0); } get priority() { return this._priority; } set priority(e) { this._priority != e && ((this._priority = e), this._onPriorityChange(e)); } get() { const e = rp(this); return e && e.getValue(); } to(...e) { return lu.to(this, e); } interpolate(...e) { return Qd(`${Gd}The "interpolate" function is deprecated in v9 (use "to" instead)`), lu.to(this, e); } toJSON() { return this.get(); } observerAdded(e) { 1 == e && this._attach(); } observerRemoved(e) { 0 == e && this._detach(); } _attach() {} _detach() {} _onChange(e, t = !1) { Id(this, { type: "change", parent: this, value: e, idle: t }); } _onPriorityChange(e) { this.idle || Qu.sort(this), Id(this, { type: "priority", parent: this, priority: e }); } }, Qp = Symbol.for("SpringPhase"), Jp = (e) => (1 & e[Qp]) > 0, Yp = (e) => (2 & e[Qp]) > 0, qp = (e) => (4 & e[Qp]) > 0, Xp = (e, t) => (t ? (e[Qp] |= 3) : (e[Qp] &= -3)), Kp = (e, t) => (t ? (e[Qp] |= 4) : (e[Qp] &= -5)), $p = class extends Wp { constructor(e, t) { if ( (super(), (this.animation = new Rp()), (this.defaultProps = {}), (this._state = { paused: !1, delayed: !1, pauseQueue: new Set(), resumeQueue: new Set(), timeouts: new Set() }), (this._pendingCalls = new Set()), (this._lastCallId = 0), (this._lastToId = 0), (this._memoizedDuration = 0), !Iu.und(e) || !Iu.und(t)) ) { const n = Iu.obj(e) ? { ...e } : { ...t, from: e }; Iu.und(n.default) && (n.default = !0), this.start(n); } } get idle() { return !(Yp(this) || this._state.asyncTo) || qp(this); } get goal() { return _d(this.animation.to); } get velocity() { const e = rp(this); return e instanceof sp ? e.lastVelocity || 0 : e.getPayload().map((e) => e.lastVelocity || 0); } get hasAnimated() { return Jp(this); } get isAnimating() { return Yp(this); } get isPaused() { return qp(this); } get isDelayed() { return this._state.delayed; } advance(e) { let t = !0, n = !1; const r = this.animation; let { toValues: o } = r; const { config: a } = r, i = ap(r.to); !i && kd(r.to) && (o = Nu(_d(r.to))), r.values.forEach((s, c) => { if (s.done) return; const l = s.constructor == cp ? 1 : i ? i[c].lastPosition : o[c]; let u = r.immediate, d = l; if (!u) { if (((d = s.lastPosition), a.tension <= 0)) return void (s.done = !0); let t = (s.elapsedTime += e); const n = r.fromValues[c], o = null != s.v0 ? s.v0 : (s.v0 = Iu.arr(a.velocity) ? a.velocity[c] : a.velocity); let i; const p = a.precision || (n == l ? 0.005 : Math.min(1, 0.001 * Math.abs(l - n))); if (Iu.und(a.duration)) if (a.decay) { const e = !0 === a.decay ? 0.998 : a.decay, r = Math.exp(-(1 - e) * t); (d = n + (o / (1 - e)) * (1 - r)), (u = Math.abs(s.lastPosition - d) <= p), (i = o * r); } else { i = null == s.lastVelocity ? o : s.lastVelocity; const t = a.restVelocity || p / 10, r = a.clamp ? 0 : a.bounce, c = !Iu.und(r), f = n == l ? s.v0 > 0 : n < l; let m, h = !1; const v = 1, y = Math.ceil(e / v); for (let e = 0; e < y && ((m = Math.abs(i) > t), m || ((u = Math.abs(l - d) <= p), !u)); ++e) c && ((h = d == l || d > l == f), h && ((i = -i * r), (d = l))), (i += ((1e-6 * -a.tension * (d - l) + 0.001 * -a.friction * i) / a.mass) * v), (d += i * v); } else { let r = 1; a.duration > 0 && (this._memoizedDuration !== a.duration && ((this._memoizedDuration = a.duration), s.durationProgress > 0 && ((s.elapsedTime = a.duration * s.durationProgress), (t = s.elapsedTime += e))), (r = (a.progress || 0) + t / this._memoizedDuration), (r = r > 1 ? 1 : r < 0 ? 0 : r), (s.durationProgress = r)), (d = n + a.easing(r) * (l - n)), (i = (d - s.lastPosition) / e), (u = 1 == r); } (s.lastVelocity = i), Number.isNaN(d) && (console.warn("Got NaN while animating:", this), (u = !0)); } i && !i[c].done && (u = !1), u ? (s.done = !0) : (t = !1), s.setValue(d, a.round) && (n = !0); }); const s = rp(this), c = s.getValue(); if (t) { const e = _d(r.to); (c === e && !n) || a.decay ? n && a.decay && this._onChange(c) : (s.setValue(e), this._onChange(e)), this._stop(); } else n && this._onChange(c); } set(e) { return ( du.batchedUpdates(() => { this._stop(), this._focus(e), this._set(e); }), this ); } pause() { this._update({ pause: !0 }); } resume() { this._update({ pause: !1 }); } finish() { if (Yp(this)) { const { to: e, config: t } = this.animation; du.batchedUpdates(() => { this._onStart(), t.decay || this._set(e, !1), this._stop(); }); } return this; } update(e) { return (this.queue || (this.queue = [])).push(e), this; } start(e, t) { let n; return Iu.und(e) ? ((n = this.queue || []), (this.queue = [])) : (n = [Iu.obj(e) ? e : { ...t, to: e }]), Promise.all(n.map((e) => this._update(e))).then((e) => Mp(this, e)); } stop(e) { const { to: t } = this.animation; return this._focus(this.get()), Up(this._state, e && this._lastCallId), du.batchedUpdates(() => this._stop(t, e)), this; } reset() { this._update({ reset: !0 }); } eventObserved(e) { "change" == e.type ? this._start() : "priority" == e.type && (this.priority = e.priority + 1); } _prepareNode(e) { const t = this.key || ""; let { to: n, from: r } = e; (n = Iu.obj(n) ? n[t] : n), (null == n || Tp(n)) && (n = void 0), (r = Iu.obj(r) ? r[t] : r), null == r && (r = void 0); const o = { to: n, from: r }; return Jp(this) || (e.reverse && ([n, r] = [r, n]), (r = _d(r)), Iu.und(r) ? rp(this) || this._set(n) : this._set(r)), o; } _update({ ...e }, t) { const { key: n, defaultProps: r } = this; e.default && Object.assign( r, wp(e, (e, t) => (/^on/.test(t) ? Ep(e, n) : e)) ), sf(this, e, "onProps"), cf(this, "onProps", e, this); const o = this._prepareNode(e); if (Object.isFrozen(this)) throw Error("Cannot animate a `SpringValue` object that is frozen. Did you forget to pass your component to `animated(...)` before animating its props?"); const a = this._state; return Lp(++this._lastCallId, { key: n, props: e, defaultProps: r, state: a, actions: { pause: () => { qp(this) || (Kp(this, !0), Pu(a.pauseQueue), cf(this, "onPause", jp(this, ef(this, this.animation.to)), this)); }, resume: () => { qp(this) && (Kp(this, !1), Yp(this) && this._resume(), Pu(a.resumeQueue), cf(this, "onResume", jp(this, ef(this, this.animation.to)), this)); }, start: this._merge.bind(this, o), }, }).then((n) => { if (e.loop && n.finished && (!t || !n.noop)) { const t = tf(e); if (t) return this._update(t, !0); } return n; }); } _merge(e, t, n) { if (t.cancel) return this.stop(!0), n(Bp(this)); const r = !Iu.und(e.to), o = !Iu.und(e.from); if (r || o) { if (!(t.callId > this._lastToId)) return n(Bp(this)); this._lastToId = t.callId; } const { key: a, defaultProps: i, animation: s } = this, { to: c, from: l } = s; let { to: u = c, from: d = l } = e; !o || r || (t.default && !Iu.und(u)) || (u = d), t.reverse && ([u, d] = [d, u]); const p = !Ou(d, l); p && (s.from = d), (d = _d(d)); const f = !Ou(u, c); f && this._focus(u); const m = Tp(t.to), { config: h } = s, { decay: v, velocity: y } = h; (r || o) && (h.velocity = 0), t.config && !m && (function (e, t, n) { n && (xp((n = { ...n }), t), (t = { ...n, ...t })), xp(e, t), Object.assign(e, t); for (const t in Op) null == e[t] && (e[t] = Op[t]); let { frequency: r, damping: o } = e; const { mass: a } = e; Iu.und(r) || (r < 0.01 && (r = 0.01), o < 0 && (o = 0), (e.tension = Math.pow((2 * Math.PI) / r, 2) * a), (e.friction = (4 * Math.PI * o * a) / r)); })(h, gp(t.config, a), t.config !== i.config ? gp(i.config, a) : void 0); let g = rp(this); if (!g || Iu.und(u)) return n(jp(this, !0)); const b = Iu.und(t.reset) ? o && !t.default : !Iu.und(d) && bp(t.reset, a), E = b ? d : this.get(), D = _p(u), C = Iu.num(D) || Iu.arr(D) || Yd(D), w = !m && (!C || bp(i.immediate || t.immediate, a)); if (f) { const e = fp(u); if (e !== g.constructor) { if (!w) throw Error(`Cannot animate between ${g.constructor.name} and ${e.name}, as the "to" prop suggests`); g = this._set(D); } } const S = g.constructor; let A = kd(u), k = !1; if (!A) { const e = b || (!Jp(this) && p); (f || e) && ((k = Ou(_p(E), D)), (A = !k)), ((Ou(s.immediate, w) || w) && Ou(h.decay, v) && Ou(h.velocity, y)) || (A = !0); } if ( (k && Yp(this) && (s.changed && !b ? (A = !0) : A || this._stop(c)), !m && ((A || kd(c)) && ((s.values = g.getPayload()), (s.toValues = kd(u) ? null : S == cp ? [1] : Nu(D))), s.immediate != w && ((s.immediate = w), w || b || this._set(c)), A)) ) { const { onRest: e } = s; Fu(af, (e) => sf(this, t, e)); const r = jp(this, ef(this, c)); Pu(this._pendingCalls, r), this._pendingCalls.add(n), s.changed && du.batchedUpdates(() => { (s.changed = !b), e?.(r, this), b ? gp(i.onRest, r) : s.onStart?.(r, this); }); } b && this._set(E), m ? n(Zp(t.to, t, this._state, this)) : A ? this._start() : Yp(this) && !f ? this._pendingCalls.add(n) : n(Pp(E)); } _focus(e) { const t = this.animation; e !== t.to && (Td(this) && this._detach(), (t.to = e), Td(this) && this._attach()); } _attach() { let e = 0; const { to: t } = this.animation; kd(t) && (xd(t, this), Hp(t) && (e = t.priority + 1)), (this.priority = e); } _detach() { const { to: e } = this.animation; kd(e) && Nd(e, this); } _set(e, t = !0) { const n = _d(e); if (!Iu.und(n)) { const e = rp(this); if (!e || !Ou(n, e.getValue())) { const r = fp(n); e && e.constructor == r ? e.setValue(n) : op(this, r.create(n)), e && du.batchedUpdates(() => { this._onChange(n, t); }); } } return rp(this); } _onStart() { const e = this.animation; e.changed || ((e.changed = !0), cf(this, "onStart", jp(this, ef(this, e.to)), this)); } _onChange(e, t) { t || (this._onStart(), gp(this.animation.onChange, e, this)), gp(this.defaultProps.onChange, e, this), super._onChange(e, t); } _start() { const e = this.animation; rp(this).reset(_d(e.to)), e.immediate || (e.fromValues = e.values.map((e) => e.lastPosition)), Yp(this) || (Xp(this, !0), qp(this) || this._resume()); } _resume() { lu.skipAnimation ? this.finish() : Qu.start(this); } _stop(e, t) { if (Yp(this)) { Xp(this, !1); const n = this.animation; Fu(n.values, (e) => { e.done = !0; }), n.toValues && (n.onChange = n.onPause = n.onResume = void 0), Id(this, { type: "idle", parent: this }); const r = t ? Bp(this.get()) : jp(this.get(), ef(this, e ?? n.to)); Pu(this._pendingCalls, r), n.changed && ((n.changed = !1), cf(this, "onRest", r, this)); } } }; function ef(e, t) { const n = _p(t); return Ou(_p(e.get()), n); } function tf(e, t = e.loop, n = e.to) { const r = gp(t); if (r) { const o = !0 !== r && kp(r), a = (o || e).reverse, i = !o || o.reset; return nf({ ...e, loop: t, default: !1, pause: void 0, to: !a || Tp(n) ? n : void 0, from: i ? e.from : void 0, reset: i, ...o }); } } function nf(e) { const { to: t, from: n } = (e = kp(e)), r = new Set(); return Iu.obj(t) && of(t, r), Iu.obj(n) && of(n, r), (e.keys = r.size ? Array.from(r) : null), e; } function rf(e) { const t = nf(e); return Iu.und(t.default) && (t.default = wp(t)), t; } function of(e, t) { xu(e, (e, n) => null != e && t.add(n)); } var af = ["onStart", "onRest", "onChange", "onPause", "onResume"]; function sf(e, t, n) { e.animation[n] = t[n] !== Dp(t, n) ? Ep(t[n], e.key) : void 0; } function cf(e, t, ...n) { e.animation[t]?.(...n), e.defaultProps[t]?.(...n); } var lf = ["onStart", "onChange", "onRest"], uf = 1, df = class { constructor(e, t) { (this.id = uf++), (this.springs = {}), (this.queue = []), (this._lastAsyncId = 0), (this._active = new Set()), (this._changed = new Set()), (this._started = !1), (this._state = { paused: !1, pauseQueue: new Set(), resumeQueue: new Set(), timeouts: new Set() }), (this._events = { onStart: new Map(), onChange: new Map(), onRest: new Map() }), (this._onFrame = this._onFrame.bind(this)), t && (this._flush = t), e && this.start({ default: !0, ...e }); } get idle() { return !this._state.asyncTo && Object.values(this.springs).every((e) => e.idle && !e.isDelayed && !e.isPaused); } get item() { return this._item; } set item(e) { this._item = e; } get() { const e = {}; return this.each((t, n) => (e[n] = t.get())), e; } set(e) { for (const t in e) { const n = e[t]; Iu.und(n) || this.springs[t].set(n); } } update(e) { return e && this.queue.push(nf(e)), this; } start(e) { let { queue: t } = this; return e ? (t = Nu(e).map(nf)) : (this.queue = []), this._flush ? this._flush(this, t) : (gf(this, t), pf(this, t)); } stop(e, t) { if ((e !== !!e && (t = e), t)) { const n = this.springs; Fu(Nu(t), (t) => n[t].stop(!!e)); } else Up(this._state, this._lastAsyncId), this.each((t) => t.stop(!!e)); return this; } pause(e) { if (Iu.und(e)) this.start({ pause: !0 }); else { const t = this.springs; Fu(Nu(e), (e) => t[e].pause()); } return this; } resume(e) { if (Iu.und(e)) this.start({ pause: !1 }); else { const t = this.springs; Fu(Nu(e), (e) => t[e].resume()); } return this; } each(e) { xu(this.springs, e); } _onFrame() { const { onStart: e, onChange: t, onRest: n } = this._events, r = this._active.size > 0, o = this._changed.size > 0; ((r && !this._started) || (o && !this._started)) && ((this._started = !0), Ru(e, ([e, t]) => { (t.value = this.get()), e(t, this, this._item); })); const a = !r && this._started, i = o || (a && n.size) ? this.get() : null; o && t.size && Ru(t, ([e, t]) => { (t.value = i), e(t, this, this._item); }), a && ((this._started = !1), Ru(n, ([e, t]) => { (t.value = i), e(t, this, this._item); })); } eventObserved(e) { if ("change" == e.type) this._changed.add(e.parent), e.idle || this._active.add(e.parent); else { if ("idle" != e.type) return; this._active.delete(e.parent); } du.onFrame(this._onFrame); } }; function pf(e, t) { return Promise.all(t.map((t) => ff(e, t))).then((t) => Mp(e, t)); } async function ff(e, t, n) { const { keys: r, to: o, from: a, loop: i, onRest: s, onResolve: c } = t, l = Iu.obj(t.default) && t.default; i && (t.loop = !1), !1 === o && (t.to = null), !1 === a && (t.from = null); const u = Iu.arr(o) || Iu.fun(o) ? o : void 0; u ? ((t.to = void 0), (t.onRest = void 0), l && (l.onRest = void 0)) : Fu(lf, (n) => { const r = t[n]; if (Iu.fun(r)) { const o = e._events[n]; (t[n] = ({ finished: e, cancelled: t }) => { const n = o.get(r); n ? (e || (n.finished = !1), t && (n.cancelled = !0)) : o.set(r, { value: null, finished: e || !1, cancelled: t || !1 }); }), l && (l[n] = t[n]); } }); const d = e._state; t.pause === !d.paused ? ((d.paused = t.pause), Pu(t.pause ? d.pauseQueue : d.resumeQueue)) : d.paused && (t.pause = !0); const p = (r || Object.keys(e.springs)).map((n) => e.springs[n].start(t)), f = !0 === t.cancel || !0 === Dp(t, "cancel"); (u || (f && d.asyncId)) && p.push( Lp(++e._lastAsyncId, { props: t, state: d, actions: { pause: Tu, resume: Tu, start(t, n) { f ? (Up(d, e._lastAsyncId), n(Bp(e))) : ((t.onRest = s), n(Zp(u, t, d, e))); }, }, }) ), d.paused && (await new Promise((e) => { d.resumeQueue.add(e); })); const m = Mp(e, await Promise.all(p)); if (i && m.finished && (!n || !m.noop)) { const n = tf(t, i, o); if (n) return gf(e, [n]), ff(e, n, !0); } return c && du.batchedUpdates(() => c(m, e, e.item)), m; } function mf(e, t) { const n = { ...e.springs }; return ( t && Fu(Nu(t), (e) => { Iu.und(e.keys) && (e = nf(e)), Iu.obj(e.to) || (e = { ...e, to: void 0 }), yf(n, e, (e) => vf(e)); }), hf(e, n), n ); } function hf(e, t) { xu(t, (t, n) => { e.springs[n] || ((e.springs[n] = t), xd(t, e)); }); } function vf(e, t) { const n = new $p(); return (n.key = e), t && xd(n, t), n; } function yf(e, t, n) { t.keys && Fu(t.keys, (r) => { (e[r] || (e[r] = n(r)))._prepareNode(t); }); } function gf(e, t) { Fu(t, (t) => { yf(e.springs, t, (t) => vf(t, e)); }); } var bf, Ef, Df = ({ children: e, ...t }) => { const n = (0, z.useContext)(Cf), r = t.pause || !!n.pause, o = t.immediate || !!n.immediate; t = (function (e, t) { const [n] = (0, z.useState)(() => ({ inputs: t, result: e() })), r = (0, z.useRef)(), o = r.current; let a = o; return ( a ? Boolean( t && a.inputs && (function (e, t) { if (e.length !== t.length) return !1; for (let n = 0; n < e.length; n++) if (e[n] !== t[n]) return !1; return !0; })(t, a.inputs) ) || (a = { inputs: t, result: e() }) : (a = n), (0, z.useEffect)(() => { (r.current = a), o == n && (n.inputs = n.result = void 0); }, [a]), a.result ); })(() => ({ pause: r, immediate: o }), [r, o]); const { Provider: a } = Cf; return z.createElement(a, { value: t }, e); }, Cf = ((bf = Df), (Ef = {}), Object.assign(bf, z.createContext(Ef)), (bf.Provider._context = bf), (bf.Consumer._context = bf), bf); (Df.Provider = Cf.Provider), (Df.Consumer = Cf.Consumer); var wf = () => { const e = [], t = function (t) { Jd(`${Gd}Directly calling start instead of using the api object is deprecated in v9 (use ".start" instead), this will be removed in later 0.X.0 versions`); const r = []; return ( Fu(e, (e, o) => { if (Iu.und(t)) r.push(e.start()); else { const a = n(t, e, o); a && r.push(e.start(a)); } }), r ); }; (t.current = e), (t.add = function (t) { e.includes(t) || e.push(t); }), (t.delete = function (t) { const n = e.indexOf(t); ~n && e.splice(n, 1); }), (t.pause = function () { return Fu(e, (e) => e.pause(...arguments)), this; }), (t.resume = function () { return Fu(e, (e) => e.resume(...arguments)), this; }), (t.set = function (t) { Fu(e, (e, n) => { const r = Iu.fun(t) ? t(n, e) : t; r && e.set(r); }); }), (t.start = function (t) { const n = []; return ( Fu(e, (e, r) => { if (Iu.und(t)) n.push(e.start()); else { const o = this._getProps(t, e, r); o && n.push(e.start(o)); } }), n ); }), (t.stop = function () { return Fu(e, (e) => e.stop(...arguments)), this; }), (t.update = function (t) { return Fu(e, (e, n) => e.update(this._getProps(t, e, n))), this; }); const n = function (e, t, n) { return Iu.fun(e) ? e(n, t) : e; }; return (t._getProps = n), t; }; function Sf(e, t) { const n = Iu.fun(e), [[r], o] = (function (e, t, n) { const r = Iu.fun(t) && t; r && !n && (n = []); const o = (0, z.useMemo)(() => (r || 3 == arguments.length ? wf() : void 0), []), a = (0, z.useRef)(0), i = Kd(), s = (0, z.useMemo)( () => ({ ctrls: [], queue: [], flush(e, t) { const n = mf(e, t); return a.current > 0 && !s.queue.length && !Object.keys(n).some((t) => !e.springs[t]) ? pf(e, t) : new Promise((r) => { hf(e, n), s.queue.push(() => { r(pf(e, t)); }), i(); }); }, }), [] ), c = (0, z.useRef)([...s.ctrls]), l = [], u = tp(e) || 0; function d(e, n) { for (let o = e; o < n; o++) { const e = c.current[o] || (c.current[o] = new df(null, s.flush)), n = r ? r(o, e) : t[o]; n && (l[o] = rf(n)); } } (0, z.useMemo)(() => { Fu(c.current.slice(e, u), (e) => { (function (e, t) { e.ref?.delete(e), t?.delete(e); })(e, o), e.stop(!0); }), (c.current.length = e), d(u, e); }, [e]), (0, z.useMemo)(() => { d(0, Math.min(u, e)); }, n); const p = c.current.map((e, t) => mf(e, l[t])), f = (0, z.useContext)(Df), m = tp(f), h = f !== m && (function (e) { for (const t in e) return !0; return !1; })(f); qd(() => { a.current++, (s.ctrls = c.current); const { queue: e } = s; e.length && ((s.queue = []), Fu(e, (e) => e())), Fu(c.current, (e, t) => { o?.add(e), h && e.start({ default: f }); const n = l[t]; n && ((function (e, t) { t && e.ref !== t && (e.ref?.delete(e), t.add(e), (e.ref = t)); })(e, n.ref), e.ref ? e.queue.push(n) : e.start(n)); }); }), $d(() => () => { Fu(s.ctrls, (e) => e.stop(!0)); }); const v = p.map((e) => ({ ...e })); return o ? [v, o] : v; })(1, n ? e : [e], n ? t || [] : t); return n || 2 == arguments.length ? [r, o] : r; } var Af = class extends Wp { constructor(e, t) { super(), (this.source = e), (this.idle = !0), (this._active = new Set()), (this.calc = vd(...t)); const n = this._get(), r = fp(n); op(this, r.create(n)); } advance(e) { const t = this._get(); Ou(t, this.get()) || (rp(this).setValue(t), this._onChange(t, this.idle)), !this.idle && _f(this._active) && Tf(this); } _get() { const e = Iu.arr(this.source) ? this.source.map(_d) : Nu(_d(this.source)); return this.calc(...e); } _start() { this.idle && !_f(this._active) && ((this.idle = !1), Fu(ap(this), (e) => { e.done = !1; }), lu.skipAnimation ? (du.batchedUpdates(() => this.advance()), Tf(this)) : Qu.start(this)); } _attach() { let e = 1; Fu(Nu(this.source), (t) => { kd(t) && xd(t, this), Hp(t) && (t.idle || this._active.add(t), (e = Math.max(e, t.priority + 1))); }), (this.priority = e), this._start(); } _detach() { Fu(Nu(this.source), (e) => { kd(e) && Nd(e, this); }), this._active.clear(), Tf(this); } eventObserved(e) { "change" == e.type ? e.idle ? this.advance() : (this._active.add(e.parent), this._start()) : "idle" == e.type ? this._active.delete(e.parent) : "priority" == e.type && (this.priority = Nu(this.source).reduce((e, t) => Math.max(e, (Hp(t) ? t.priority : 0) + 1), 0)); } }; function kf(e) { return !1 !== e.idle; } function _f(e) { return !e.size || Array.from(e).every(kf); } function Tf(e) { e.idle || ((e.idle = !0), Fu(ap(e), (e) => { e.done = !0; }), Id(e, { type: "idle", parent: e })); } lu.assign({ createStringInterpolator: Hd, to: (e, t) => new Af(e, t) }), Qu.advance; var If = /^--/; function Of(e, t) { return null == t || "boolean" == typeof t || "" === t ? "" : "number" != typeof t || 0 === t || If.test(e) || (xf.hasOwnProperty(e) && xf[e]) ? ("" + t).trim() : t + "px"; } var Ff = {}, xf = { animationIterationCount: !0, borderImageOutset: !0, borderImageSlice: !0, borderImageWidth: !0, boxFlex: !0, boxFlexGroup: !0, boxOrdinalGroup: !0, columnCount: !0, columns: !0, flex: !0, flexGrow: !0, flexPositive: !0, flexShrink: !0, flexNegative: !0, flexOrder: !0, gridRow: !0, gridRowEnd: !0, gridRowSpan: !0, gridRowStart: !0, gridColumn: !0, gridColumnEnd: !0, gridColumnSpan: !0, gridColumnStart: !0, fontWeight: !0, lineClamp: !0, lineHeight: !0, opacity: !0, order: !0, orphans: !0, tabSize: !0, widows: !0, zIndex: !0, zoom: !0, fillOpacity: !0, floodOpacity: !0, stopOpacity: !0, strokeDasharray: !0, strokeDashoffset: !0, strokeMiterlimit: !0, strokeOpacity: !0, strokeWidth: !0, }, Nf = ["Webkit", "Ms", "Moz", "O"]; xf = Object.keys(xf).reduce((e, t) => (Nf.forEach((n) => (e[((e, t) => e + t.charAt(0).toUpperCase() + t.substring(1))(n, t)] = e[t])), e), xf); var Rf = /^(matrix|translate|scale|rotate|skew)/, Lf = /^(translate)/, Mf = /^(rotate|skew)/, Pf = (e, t) => (Iu.num(e) && 0 !== e ? e + t : e), jf = (e, t) => (Iu.arr(e) ? e.every((e) => jf(e, t)) : Iu.num(e) ? e === t : parseFloat(e) === t), Bf = class extends up { constructor({ x: e, y: t, z: n, ...r }) { const o = [], a = []; (e || t || n) && (o.push([e || 0, t || 0, n || 0]), a.push((e) => [`translate3d(${e.map((e) => Pf(e, "px")).join(",")})`, jf(e, 0)])), xu(r, (e, t) => { if ("transform" === t) o.push([e || ""]), a.push((e) => [e, "" === e]); else if (Rf.test(t)) { if ((delete r[t], Iu.und(e))) return; const n = Lf.test(t) ? "px" : Mf.test(t) ? "deg" : ""; o.push(Nu(e)), a.push("rotate3d" === t ? ([e, t, r, o]) => [`rotate3d(${e},${t},${r},${Pf(o, n)})`, jf(o, 0)] : (e) => [`${t}(${e.map((e) => Pf(e, n)).join(",")})`, jf(e, t.startsWith("scale") ? 1 : 0)]); } }), o.length && (r.transform = new Zf(o, a)), super(r); } }, Zf = class extends Od { constructor(e, t) { super(), (this.inputs = e), (this.transforms = t), (this._value = null); } get() { return this._value || (this._value = this._get()); } _get() { let e = "", t = !0; return ( Fu(this.inputs, (n, r) => { const o = _d(n[0]), [a, i] = this.transforms[r](Iu.arr(o) ? o : n.map(_d)); (e += " " + a), (t = t && i); }), t ? "none" : e ); } observerAdded(e) { 1 == e && Fu(this.inputs, (e) => Fu(e, (e) => kd(e) && xd(e, this))); } observerRemoved(e) { 0 == e && Fu(this.inputs, (e) => Fu(e, (e) => kd(e) && Nd(e, this))); } eventObserved(e) { "change" == e.type && (this._value = null), Id(this, e); } }; lu.assign({ batchedUpdates: jt.unstable_batchedUpdates, createStringInterpolator: Hd, colors: { transparent: 0, aliceblue: 4042850303, antiquewhite: 4209760255, aqua: 16777215, aquamarine: 2147472639, azure: 4043309055, beige: 4126530815, bisque: 4293182719, black: 255, blanchedalmond: 4293643775, blue: 65535, blueviolet: 2318131967, brown: 2771004159, burlywood: 3736635391, burntsienna: 3934150143, cadetblue: 1604231423, chartreuse: 2147418367, chocolate: 3530104575, coral: 4286533887, cornflowerblue: 1687547391, cornsilk: 4294499583, crimson: 3692313855, cyan: 16777215, darkblue: 35839, darkcyan: 9145343, darkgoldenrod: 3095792639, darkgray: 2846468607, darkgreen: 6553855, darkgrey: 2846468607, darkkhaki: 3182914559, darkmagenta: 2332068863, darkolivegreen: 1433087999, darkorange: 4287365375, darkorchid: 2570243327, darkred: 2332033279, darksalmon: 3918953215, darkseagreen: 2411499519, darkslateblue: 1211993087, darkslategray: 793726975, darkslategrey: 793726975, darkturquoise: 13554175, darkviolet: 2483082239, deeppink: 4279538687, deepskyblue: 12582911, dimgray: 1768516095, dimgrey: 1768516095, dodgerblue: 512819199, firebrick: 2988581631, floralwhite: 4294635775, forestgreen: 579543807, fuchsia: 4278255615, gainsboro: 3705462015, ghostwhite: 4177068031, gold: 4292280575, goldenrod: 3668254975, gray: 2155905279, green: 8388863, greenyellow: 2919182335, grey: 2155905279, honeydew: 4043305215, hotpink: 4285117695, indianred: 3445382399, indigo: 1258324735, ivory: 4294963455, khaki: 4041641215, lavender: 3873897215, lavenderblush: 4293981695, lawngreen: 2096890111, lemonchiffon: 4294626815, lightblue: 2916673279, lightcoral: 4034953471, lightcyan: 3774873599, lightgoldenrodyellow: 4210742015, lightgray: 3553874943, lightgreen: 2431553791, lightgrey: 3553874943, lightpink: 4290167295, lightsalmon: 4288707327, lightseagreen: 548580095, lightskyblue: 2278488831, lightslategray: 2005441023, lightslategrey: 2005441023, lightsteelblue: 2965692159, lightyellow: 4294959359, lime: 16711935, limegreen: 852308735, linen: 4210091775, magenta: 4278255615, maroon: 2147483903, mediumaquamarine: 1724754687, mediumblue: 52735, mediumorchid: 3126187007, mediumpurple: 2473647103, mediumseagreen: 1018393087, mediumslateblue: 2070474495, mediumspringgreen: 16423679, mediumturquoise: 1221709055, mediumvioletred: 3340076543, midnightblue: 421097727, mintcream: 4127193855, mistyrose: 4293190143, moccasin: 4293178879, navajowhite: 4292783615, navy: 33023, oldlace: 4260751103, olive: 2155872511, olivedrab: 1804477439, orange: 4289003775, orangered: 4282712319, orchid: 3664828159, palegoldenrod: 4008225535, palegreen: 2566625535, paleturquoise: 2951671551, palevioletred: 3681588223, papayawhip: 4293907967, peachpuff: 4292524543, peru: 3448061951, pink: 4290825215, plum: 3718307327, powderblue: 2967529215, purple: 2147516671, rebeccapurple: 1714657791, red: 4278190335, rosybrown: 3163525119, royalblue: 1097458175, saddlebrown: 2336560127, salmon: 4202722047, sandybrown: 4104413439, seagreen: 780883967, seashell: 4294307583, sienna: 2689740287, silver: 3233857791, skyblue: 2278484991, slateblue: 1784335871, slategray: 1887473919, slategrey: 1887473919, snow: 4294638335, springgreen: 16744447, steelblue: 1182971135, tan: 3535047935, teal: 8421631, thistle: 3636451583, tomato: 4284696575, turquoise: 1088475391, violet: 4001558271, wheat: 4125012991, white: 4294967295, whitesmoke: 4126537215, yellow: 4294902015, yellowgreen: 2597139199, }, }); var Uf = ((e, { applyAnimatedValues: t = () => !1, createAnimatedStyle: n = (e) => new up(e), getComponentProps: r = (e) => e } = {}) => { const o = { applyAnimatedValues: t, createAnimatedStyle: n, getComponentProps: r }, a = (e) => { const t = yp(e) || "Anonymous"; return ((e = Iu.str(e) ? a[e] || (a[e] = mp(e, o)) : e[vp] || (e[vp] = mp(e, o))).displayName = `Animated(${t})`), e; }; return ( xu(e, (t, n) => { Iu.arr(e) && (n = yp(t)), (a[n] = a(t)); }), { animated: a } ); })( [ "a", "abbr", "address", "area", "article", "aside", "audio", "b", "base", "bdi", "bdo", "big", "blockquote", "body", "br", "button", "canvas", "caption", "cite", "code", "col", "colgroup", "data", "datalist", "dd", "del", "details", "dfn", "dialog", "div", "dl", "dt", "em", "embed", "fieldset", "figcaption", "figure", "footer", "form", "h1", "h2", "h3", "h4", "h5", "h6", "head", "header", "hgroup", "hr", "html", "i", "iframe", "img", "input", "ins", "kbd", "keygen", "label", "legend", "li", "link", "main", "map", "mark", "menu", "menuitem", "meta", "meter", "nav", "noscript", "object", "ol", "optgroup", "option", "output", "p", "param", "picture", "pre", "progress", "q", "rp", "rt", "ruby", "s", "samp", "script", "section", "select", "small", "source", "span", "strong", "style", "sub", "summary", "sup", "table", "tbody", "td", "textarea", "tfoot", "th", "thead", "time", "title", "tr", "track", "u", "ul", "var", "video", "wbr", "circle", "clipPath", "defs", "ellipse", "foreignObject", "g", "image", "line", "linearGradient", "mask", "path", "pattern", "polygon", "polyline", "radialGradient", "rect", "stop", "svg", "text", "tspan", ], { applyAnimatedValues: function (e, t) { if (!e.nodeType || !e.setAttribute) return !1; const n = "filter" === e.nodeName || (e.parentNode && "filter" === e.parentNode.nodeName), { style: r, children: o, scrollTop: a, scrollLeft: i, viewBox: s, ...c } = t, l = Object.values(c), u = Object.keys(c).map((t) => (n || e.hasAttribute(t) ? t : Ff[t] || (Ff[t] = t.replace(/([A-Z])/g, (e) => "-" + e.toLowerCase())))); void 0 !== o && (e.textContent = o); for (const t in r) if (r.hasOwnProperty(t)) { const n = Of(t, r[t]); If.test(t) ? e.style.setProperty(t, n) : (e.style[t] = n); } u.forEach((t, n) => { e.setAttribute(t, l[n]); }), void 0 !== a && (e.scrollTop = a), void 0 !== i && (e.scrollLeft = i), void 0 !== s && e.setAttribute("viewBox", s); }, createAnimatedStyle: (e) => new Bf(e), getComponentProps: ({ scrollTop: e, scrollLeft: t, ...n }) => n, } ), zf = Uf.animated; function Vf(e, t) { (null == t || t > e.length) && (t = e.length); for (var n = 0, r = new Array(t); n < t; n++) r[n] = e[n]; return r; } const Hf = function (e) { var t, n, r = ((t = (0, z.useState)({})), (n = 2), (function (e) { if (Array.isArray(e)) return e; })(t) || (function (e, t) { var n = null == e ? null : ("undefined" != typeof Symbol && e[Symbol.iterator]) || e["@@iterator"]; if (null != n) { var r, o, a = [], i = !0, s = !1; try { for (n = n.call(e); !(i = (r = n.next()).done) && (a.push(r.value), !t || a.length !== t); i = !0); } catch (e) { (s = !0), (o = e); } finally { try { i || null == n.return || n.return(); } finally { if (s) throw o; } } return a; } })(t, n) || (function (e, t) { if (e) { if ("string" == typeof e) return Vf(e, t); var n = Object.prototype.toString.call(e).slice(8, -1); return "Object" === n && e.constructor && (n = e.constructor.name), "Map" === n || "Set" === n ? Array.from(e) : "Arguments" === n || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n) ? Vf(e, t) : void 0; } })(t, n) || (function () { throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); })()), o = r[0], a = r[1], i = (0, z.useRef)(null); return ( (0, z.useEffect)( function () { return ( (function (t) { (i.current = new t(function (e) { var t = e[0].contentRect, n = t.width, r = t.height, o = t.top, i = t.right, s = t.bottom, c = t.left, l = e[0].target.offsetHeight; a({ width: n, height: r, top: o, right: i, bottom: s, left: c, offsetHeight: l }); })), e.current && i.current.observe(e.current); })(ResizeObserver), function () { i.current && i.current.disconnect(); } ); }, [e] ), o ); }; var Gf = ["y"]; function Wf(e, t) { var n = Object.keys(e); if (Object.getOwnPropertySymbols) { var r = Object.getOwnPropertySymbols(e); t && (r = r.filter(function (t) { return Object.getOwnPropertyDescriptor(e, t).enumerable; })), n.push.apply(n, r); } return n; } function Qf(e) { for (var t = 1; t < arguments.length; t++) { var n = null != arguments[t] ? arguments[t] : {}; t % 2 ? Wf(Object(n), !0).forEach(function (t) { Jf(e, t, n[t]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : Wf(Object(n)).forEach(function (t) { Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t)); }); } return e; } function Jf(e, t, n) { return t in e ? Object.defineProperty(e, t, { value: n, enumerable: !0, configurable: !0, writable: !0 }) : (e[t] = n), e; } function Yf(e, t) { return ( (function (e) { if (Array.isArray(e)) return e; })(e) || (function (e, t) { var n = null == e ? null : ("undefined" != typeof Symbol && e[Symbol.iterator]) || e["@@iterator"]; if (null != n) { var r, o, a = [], i = !0, s = !1; try { for (n = n.call(e); !(i = (r = n.next()).done) && (a.push(r.value), !t || a.length !== t); i = !0); } catch (e) { (s = !0), (o = e); } finally { try { i || null == n.return || n.return(); } finally { if (s) throw o; } } return a; } })(e, t) || (function (e, t) { if (e) { if ("string" == typeof e) return qf(e, t); var n = Object.prototype.toString.call(e).slice(8, -1); return "Object" === n && e.constructor && (n = e.constructor.name), "Map" === n || "Set" === n ? Array.from(e) : "Arguments" === n || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n) ? qf(e, t) : void 0; } })(e, t) || (function () { throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); })() ); } function qf(e, t) { (null == t || t > e.length) && (t = e.length); for (var n = 0, r = new Array(t); n < t; n++) r[n] = e[n]; return r; } var Xf = function () {}, Kf = (0, z.forwardRef)(function (e, t) { var n = e.children, r = e.collapsedHeight, o = void 0 === r ? 0 : r, a = e.defaultHeight, i = void 0 === a ? "auto" : a, s = e.expandedMaxHeight, c = void 0 === s ? "calc(100% - 64px)" : s, l = e.fullscreen, u = e.inputFocused, d = e.landscape, p = e.maxHeight, f = void 0 === p ? "60vh" : p, m = e.onClose, h = void 0 === m ? function () {} : m, v = e.onCollapse, y = void 0 === v ? function () {} : v, g = e.onExpand, b = void 0 === g ? function () {} : g, E = e.onRestore, D = void 0 === E ? function () {} : E, C = e.trayHandleRef, w = Yf((0, z.useState)(!1), 2), S = w[0], A = w[1], k = Yf((0, z.useState)(!1), 2), _ = k[0], T = k[1], I = Yf((0, z.useState)(!1), 2), O = I[0], F = I[1], x = (0, z.useRef)(), N = (0, z.useRef)(), R = (0, z.useRef)(), L = (0, z.useRef)(document.documentElement.clientHeight), M = (0, z.useRef)(!1), P = Hf(x).offsetHeight, j = Yf( Sf(function () { return { y: 0, height: i, maxHeight: f, touchAction: "none", zIndex: 999 }; }), 2 ), B = j[0], Z = B.y, H = (function (e, t) { if (null == e) return {}; var n, r, o = (function (e, t) { if (null == e) return {}; var n, r, o = {}, a = Object.keys(e); for (r = 0; r < a.length; r++) (n = a[r]), t.indexOf(n) >= 0 || (o[n] = e[n]); return o; })(e, t); if (Object.getOwnPropertySymbols) { var a = Object.getOwnPropertySymbols(e); for (r = 0; r < a.length; r++) (n = a[r]), t.indexOf(n) >= 0 || (Object.prototype.propertyIsEnumerable.call(e, n) && (o[n] = e[n])); } return o; })(B, Gf), G = j[1], W = (0, Hn.Z)(P), Q = (0, z.useMemo)( function () { return { bounds: { top: 0 }, filterTaps: !0, from: function () { return [0, Z.get()]; }, rubberband: !0, pointer: { mouse: !0 }, }; }, [Z] ); W !== P && S && G.set({ y: P - R.current }), (0, z.useEffect)( function () { d || ((R.current = N.current.clientHeight + o), S && G.set({ y: P - R.current })); }, [o, d] ); var J = (0, z.useCallback)( gl()(function () { M.current = !0; }, 1e3), [] ); (0, z.useEffect)( function () { (M.current = !1), J.cancel(), (L.current = document.documentElement.clientHeight); }, [d, J] ), (0, z.useEffect)( function () { F(u), u || (T(!1), (M.current = !1), J.cancel()); }, [u, J] ), (0, z.useEffect)( function () { var e = function () { L.current - window.visualViewport.height > 0 && u && !M.current && (G.set({ maxHeight: window.visualViewport.height }), (document.documentElement.scrollTop = L.current - window.visualViewport.height), requestAnimationFrame(nr), J()); }; return ( window.visualViewport.addEventListener("resize", e), function () { return window.visualViewport.removeEventListener("resize", e); } ); }, [G, u, J] ), (0, z.useEffect)( function () { O || G.set({ maxHeight: _ ? c : f }); }, [G, _, c, O, f] ), (0, z.useEffect)( function () { G.set({ height: _ ? "100%" : i }); }, [G, i, _] ); var Y = function () { var e = arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : 0; G.start({ y: 0, immediate: !1, config: Qf(Qf({}, Ip.stiff), {}, { velocity: e }) }), A(!1), T(!0), b(); }, q = function () { var e = arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : 0; if (l) G.start({ y: 0, immediate: !1, config: Qf(Qf({}, Ip.stiff), {}, { velocity: e }) }); else { G.start({ y: P - R.current, immediate: !1, config: Qf(Qf({}, Ip.stiff), {}, { velocity: e }) }), A(!0); var t = document.activeElement; x.current.contains(t) && t.classList.contains("textarea") && t.blur(); } y(); }, K = (0, z.useCallback)( function () { var e = (arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : {}).canceled; G.start({ y: 0, immediate: !1, config: e ? Ip.wobbly : Ip.stiff }), A(!1), T(!1), D(); }, [G, D] ), $ = (0, z.useCallback)( function (e) { var t = e.cancel, n = e.canceled, r = Yf(e.direction, 2)[1], o = e.intentional, a = e.last, i = e.lastOffset, s = Yf(e.movement, 2)[1], c = Yf(e.swipe, 2)[1], l = Yf(e.velocity, 2)[1]; o && (!S && !_ && s < -70 && t(), a ? S || _ ? (S && (r >= 0 && s > 0 ? s >= R.current || l > 0.5 ? (function () { var e = arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : 0; G.start({ y: R.current, immediate: !1, config: Qf(Qf({}, Ip.stiff), {}, { velocity: e }) }), h(); })(l) : q(l) : K({ canceled: n })), _ && (c <= 0 && s <= 0 ? Y(l) : K({ canceled: n }))) : s > 0.5 * P || c > 0 ? q(l) : s <= 0 || (l > 0.5 && c < 0) ? Y(l) : K({ canceled: n }) : G.start({ y: s + i[1], immediate: !0 })); }, [G, S, _, Y, P, K] ); return ( su($, Qf(Qf({}, Q), {}, { target: N.current })), su($, Qf(Qf({}, Q), {}, { target: null == C ? void 0 : C.current })), (0, z.useImperativeHandle)( t, function () { return { restore: d ? Xf : K, isCollapsed: d ? Xf : function () { return S; }, }; }, [S, d, K] ), V().createElement( zf.div, { ref: x, "data-testid": "ccx-comments-tray", className: X()(U.default.component, { landscape: d }), style: d ? { touchAction: "none" } : Qf({ y: Z }, H) }, !d && V().createElement( "div", { ref: N, className: "resize-handle" }, V().createElement("svg", { xmlns: "http://www.w3.org/2000/svg", width: "42", height: "4", viewBox: "0 0 42 4" }, V().createElement("rect", { className: "tray-handle", width: "42", height: "4", rx: "2" })) ), V().createElement("div", { className: "content-container" }, n) ) ); }); (Kf.propTypes = { children: G().node.isRequired, collapsedHeight: G().number, defaultHeight: G().oneOf([G().string, G().number]), expandedMaxHeight: G().oneOf([G().string, G().number]), fullscreen: G().bool, inputFocused: G().bool, landscape: G().bool, maxHeight: G().oneOf([G().string, G().number]), onClose: G().func, onCollapse: G().func, onExpand: G().func, onRestore: G().func, trayHandleRef: G().shape({ current: G().object }), }), (Kf.displayName = "Tray"); const $f = Kf; function em() { return ( (em = Object.assign ? Object.assign.bind() : function (e) { for (var t = 1; t < arguments.length; t++) { var n = arguments[t]; for (var r in n) Object.prototype.hasOwnProperty.call(n, r) && (e[r] = n[r]); } return e; }), em.apply(this, arguments) ); } function tm(e, t) { return ( (function (e) { if (Array.isArray(e)) return e; })(e) || (function (e, t) { var n = null == e ? null : ("undefined" != typeof Symbol && e[Symbol.iterator]) || e["@@iterator"]; if (null != n) { var r, o, a = [], i = !0, s = !1; try { for (n = n.call(e); !(i = (r = n.next()).done) && (a.push(r.value), !t || a.length !== t); i = !0); } catch (e) { (s = !0), (o = e); } finally { try { i || null == n.return || n.return(); } finally { if (s) throw o; } } return a; } })(e, t) || (function (e, t) { if (e) { if ("string" == typeof e) return nm(e, t); var n = Object.prototype.toString.call(e).slice(8, -1); return "Object" === n && e.constructor && (n = e.constructor.name), "Map" === n || "Set" === n ? Array.from(e) : "Arguments" === n || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n) ? nm(e, t) : void 0; } })(e, t) || (function () { throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); })() ); } function nm(e, t) { (null == t || t > e.length) && (t = e.length); for (var n = 0, r = new Array(t); n < t; n++) r[n] = e[n]; return r; } var rm = function (e) { var t = e.assetData, n = e.cacheComments, r = e.clearLastResolved, o = e.commentCancelForDelete, a = e.commentProposedForDelete, i = e.commentsListMinimized, s = e.compactLayout, c = e.contextSetGuestUserLoginToastInfo, l = e.contextSetLoginVisibility, u = e.disableCommentCreation, d = e.documentState, p = e.environment, f = e.errors, m = e.focusedInputInfo, h = e.globalCommentsToggle, v = e.groupBy, y = e.guestCommentingAutomationMode, g = e.guestUserLoginToastInfo, b = e.hasAnnotationLocation, E = e.hasReviewAccess, D = e.imageCapture, C = e.imageContextData, w = e.imsData, S = e.isDocumentSupported, A = e.isFetching, k = e.isLoginVisible, _ = e.isMapping, T = e.isOffline, I = e.isTrayExpanded, O = e.lastResolvedCommentData, F = e.latestMobileEnabled, x = e.localeStringOverrides, N = e.onInvokeLogin, R = e.reCaptchaSiteKey, L = e.registeredSectionIds, M = e.resetGuestUserSession, P = e.selectedAnnotationId, j = e.setTrayExpanded, Z = e.showResolvedComments, U = e.spectrumUIScale, H = e.style, G = e.theme, W = e.themeType, Q = e.touchControls, J = e.unhighlightComment, q = (0, z.useContext)(tt.ZP), K = (0, Ke.Z)(), $ = (0, et.Z)(), te = $.confirmDeleteComment, oe = $.postComment, ae = $.undoResolveComment, ie = tm((0, z.useState)(!1), 2), se = ie[0], ce = ie[1], ue = tm((0, z.useState)(void 0), 2), de = ue[0], pe = ue[1], fe = tm((0, z.useState)(0), 2), me = fe[0], he = fe[1], ve = tm((0, z.useState)(!1), 2), ye = ve[0], ge = ve[1], be = ar(), Ee = be.inputFocused, De = be.isFullscreen, Ce = be.onTrayClose, we = be.onTrayCollapse, Se = be.onTrayExpand, Ae = be.onTrayRestore, ke = be.subview, _e = be.trayHandleRef, Te = (0, cn.cs)(), Ie = (0, ln.UP)(), Oe = Ra("(orientation: landscape)"), Fe = (0, z.useContext)(re.ZP), xe = Fe.locale, Ne = Fe.enableFrameS4R, Re = (0, z.useCallback)( function () { return Y()(pe, 300, { leading: !1 }); }, [pe] ), Le = (0, z.useRef)(), Me = (0, z.useRef)(), Pe = q.onShare, je = Hf(Le).width, Be = (0, z.useCallback)( function () { j(!0), Se(); }, [Se, j] ), Ze = (0, z.useCallback)( function () { j(!1), Ae(); }, [Ae, j] ), Ue = (0, z.useCallback)( function () { var e = q.onMobileCommentsListHeightChange; if ("function" == typeof e) { var t = Le.current && Le.current.clientHeight; de !== t && (Re(t), e(t)); } }, [q, de, Re] ), ze = (0, z.useCallback)( function (e) { K.fireEvent(K.events.generalError(p, e)), ce(!0); }, [ce, K, p] ), Ve = (0, z.useCallback)( function () { k && l(!1); }, [l, k] ), He = (0, z.useCallback)( function () { k && (l(!1), (0, wn.F_)(An.uX), (0, wn.F_)(An.oi)); }, [k, l] ), Ge = (0, z.useCallback)( function () { return c(); }, [c] ), We = (0, z.useCallback)( function (e) { var n; Pe(t.reviewType), (n = t.id || "artifact" === t.reviewType ? "share-link" : "save-doc"), e && (n += "-".concat(e)), K.fireEvent(K.events.shareAssetUrl(n)); }, [t, K, Pe] ), Qe = (0, z.useCallback)( function () { Pe("artifact"), K.fireEvent({ event: { subcategory: "navigation", subtype: "create-review", type: "click" } }); }, [K, Pe] ), Je = (0, z.useCallback)( function () { Pe("cloudDoc"), K.fireEvent({ event: { subcategory: "navigation", subtype: "save-doc", type: "click" } }); }, [K, Pe] ), Ye = (0, z.useCallback)( function () { Te.undoCommentResolved(), Ie.undoCommentResolved(), ae(); }, [Te, Ie, ae] ), qe = (0, z.useCallback)( function () { var e = arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : ""; navigator.clipboard .writeText(e) .then(function () { ge(!0), K.fireEvent(K.events.copyAssetUrl); }) .catch(function () {}); }, [K] ); (0, z.useEffect)(function () { return function () { null == l || l(!1), J(); }; }, []), (0, z.useEffect)( function () { var e; document.documentElement.style.setProperty("--ccx-comments-panel-width", "".concat(null === (e = Le.current) || void 0 === e ? void 0 : e.clientWidth, "px")); }, [je] ), (0, z.useEffect)( function () { var e; F && (!I || De || (ke !== An.p8.COMMENT && ke !== An.p8.EDIT) || null === (e = Me.current) || void 0 === e || e.restore()); }, [De, I, F, ke] ), (0, z.useEffect)( function () { var e, t; F && P && null !== (e = Me.current) && void 0 !== e && e.isCollapsed() && (null === (t = Me.current) || void 0 === t || t.restore()); }, [F, P] ), (0, z.useEffect)( function () { if (F) { var e = new ResizeObserver(function (e) { he(e[0].target.clientHeight); }); return ( e.observe(_e.current), function () { return e.disconnect(); } ); } }, [F, _e] ), (0, z.useEffect)( function () { if (!F) return ( s && Ue(), function () { if (s) { var e = q.onMobileCommentsListHeightChange; "function" == typeof e && e(0); } } ); }, [q, s, Ue, F] ); var Xe, $e = b && C ? C.base64Data : ""; if (se) return null; Z || u || (t.isFrameArtifact && Ne) || (Xe = V().createElement(Si, em({}, e, { isReadyToAnnotate: L.length > 0, onHeightChange: Ue, cacheComments: n, postComment: oe }))); var nt, rt = "root" === (null == m ? void 0 : m.itemType); nt = E ? t.isSaving ? V().createElement(ka, { testId: "saving" }, V().createElement(ee.Z, { id: "comments.list.saving" })) : t.id && "documentOpen" === d && S ? V().createElement( "div", { className: X()("flex-flow-wrapper", { fullscreen: De }) }, V().createElement(Ks, { assetId: t.id, errors: f, reviewType: t.reviewType }), F ? V().createElement(Es, { clearLastResolved: r, guestLoginToast: g, hasError: f && Boolean(f.list), isLoading: A || "unknown" === (null == t ? void 0 : t.shareStatus), isOffline: T, landscape: Oe, lastResolvedCommentData: O, onShare: Pe ? We : void 0, onToastClose: Ge, selectedAnnotationId: P, showResolvedComments: Z, undoLastResolvedAction: Ye, }) : V().createElement( V().Fragment, null, V().createElement(Ps, { onShare: Pe ? We : void 0, onCopy: qe }), Xe, D && C && b && V().createElement(Sc, { imageData: $e, width: 100, height: 100 }), V().createElement(ti, { activeSectionInputFocused: Boolean(null == m ? void 0 : m.id), assetData: t, clearLastResolved: r, commentListMinimized: i || rt, enableFrameS4R: Ne, guestLoginToast: g, hasError: f && Boolean(f.list), isLoading: A || "unknown" === (null == t ? void 0 : t.shareStatus), isOffline: T, lastResolvedCommentData: O, onHeightChange: Ue, onShare: Pe ? We : void 0, onToastClose: Ge, selectedAnnotationId: P, undoLastResolvedAction: Ye, urlCopied: ye, setUrlCopied: ge, }), V().createElement(fn, null), V().createElement(bc, { globalCommentsToggle: h, assetData: t, compactLayout: s, isMapping: _, isOffline: T, groupBy: v }) ) ) : V().createElement(Gs, { documentState: d, isDocumentSupported: S, isOffline: T, onShare: Pe ? We : void 0, onCloudSave: Pe ? Je : void 0, onCreateReviewLink: Pe ? Qe : void 0, reviewType: t.reviewType }) : V().createElement(Tc, null); var ot, at = X()("comments-list-wrapper", { touch: Q, compact: s, "focused-input": ((s && m) || i) && !F }); N || (ot = V().createElement(vl, { guestCommentingAutomationMode: y, onGuestLogin: Ve, onLoginCancel: He, reCaptchaSiteKey: R, show: k, spectrumUIScale: U, theme: G, themeType: W })); var it = V().createElement( "div", { ref: Le, className: at }, nt, a && V().createElement(Cs, { commentProposedForDelete: a, onCancel: function () { return o(t.id); }, onDelete: function () { var e = a.parentCommentId, t = q.onGuestSession; return te() .then(function () { K.fireEvent({ event: { context_guid: e, subcategory: e ? "delete-reply" : "delete-comment", subtype: "fade-out", type: "render" } }); }) .catch(function (n) { K.fireEvent({ event: { context_guid: e, subcategory: e ? "delete-reply" : "delete-comment", subtype: "error", type: "render", error_code: n.status, error_type: n.message, error_desc: "comment-failed-to-delete" } }), w.token.includes("AnonBearer") && 401 === n.status && (M(), t("destroy", w)); }); }, }), ot ); return V().createElement( ne.Z, { onError: ze }, V().createElement( "div", { className: X()(B.default.component, "".concat(G, "-theme"), "".concat(U, "-scale"), { compact: s, landscape: Oe, "latest-mobile": F }), "data-lang": xe, id: An.WJ, style: H }, V().createElement( le.Z, { localeStringOverrides: x }, F ? V().createElement($f, { ref: Me, collapsedHeight: me, fullscreen: De, inputFocused: Ee, landscape: Oe, onClose: Ce, onCollapse: we, onExpand: Be, onRestore: Ze, trayHandleRef: _e }, it) : it ) ) ); }; (rm.propTypes = { annotatingItmId: G().string, annotationsEnabled: G().bool, assetData: G().shape({ id: G().string, documentId: G().string, isSaving: G().bool, nodeId: G().oneOfType([G().string, G().number]), ownerId: G().string, reviewType: G().string, shareStatus: G().oneOf(["public", "orgShared", "shared", "unshared", "unknown"]), isFrameArtifact: G().bool, }), cacheComments: G().bool, clearLastResolved: G().func, commentCancelForDelete: G().func, commentProposedForDelete: G().object, comments: G().array, commentsSetDirtyComment: G().func, commentsListMinimized: G().bool, commentsOpen: G().func, commentsResolve: G().func, commentsToggleReply: G().func, compactLayout: G().bool, contextCreateGuestUserSession: G().func, contextSaveFrameData: G().func, contextSetCommentsListMinimized: G().func, contextSetGuestUserLoginToastInfo: G().func, contextSetLoginVisibility: G().func, disableCommentCreation: G().bool, documentState: G().oneOf(["documentOpen", "noDocument", "documentLoading"]), environment: G().string, errors: G().object, focusedInputInfo: G().object, globalCommentsToggle: G().shape({ isActive: G().bool.isRequired, onToggle: G().func.isRequired }).isRequired, groupBy: G().oneOf(["node", "none"]), guestCommentingAutomationMode: G().bool, guestUserLoginToastInfo: G().object, hasAnnotationLocation: G().bool, hasReviewAccess: G().bool, imageCapture: G().bool, imageContextData: G().object, imsData: G().shape({ id: G().string, token: G().string }), isDocumentSupported: G().bool, isFetching: G().bool, isLoginVisible: G().bool, isMapping: G().bool, isOffline: G().bool, isTrayExpanded: G().bool, lastResolvedCommentData: G().shape({ assetId: G().string, commentId: G().string, newStatus: G().string }), latestMobileEnabled: G().bool, localeStringOverrides: G().object, onInvokeLogin: G().func, reCaptchaEnabled: G().bool, reCaptchaSiteKey: G().string, registeredSectionIds: G().array, resetGuestUserSession: G().func, saveFocusedInputInfo: G().func, selectedAnnotationId: G().string, setTrayExpanded: G().func, showResolvedComments: G().bool, spectrumUIScale: G().oneOf(["medium", "large"]), style: G().object, theme: G().oneOf(["light", "lightest", "dark", "darkest"]), themeType: G().oneOf(["spectrum", "express"]), touchControls: G().bool, unhighlightComment: G().func, }), (rm.defaultProps = { assetData: { reviewType: "artifact", validNodes: [], isFrameArtifact: !1 }, commentProposedForDelete: null, comments: [], errors: {}, imsData: {}, isLoading: !1, isLoginVisible: !1, onInvokeLogin: void 0, registeredSectionIds: [], users: [], selectedAnnotationId: void 0, }); const om = (0, $.qC)( re.HJ, (0, K.$j)( function (e, t) { var n = t.compactLayout, r = t.assetData, o = t.annotationsEnabled, a = t.latestMobileEnabled, i = (0, Pr._X)(e, r.id), s = i.commentProposedForDelete, c = i.dirtyComments, l = i.errors, u = i.fetching, d = i.lastResolvedCommentData, p = !(n && !a) && Q()(e, "".concat(An.Bq, ":filter.showResolvedComments")), f = n ? Q()(e, "".concat(An.Bq, ":context.focusedInputInfo")) : void 0; return { annotatingItmId: Q()(e, "".concat(An.Bq, ":context.annotatingItmId")), annotationColor: Q()(e, "".concat(An.Bq, ":context.annotationColor")), annotationLocationNodeId: (0, te.yU)(e), annotationsEnabled: o, assetData: r, clickedAnnotation: Q()(e, "".concat(An.Bq, ":context.clickedAnnotation")), commentProposedForDelete: s, commentsListMinimized: Q()(e, "".concat(An.Bq, ":context.commentsListMinimized")), dirtyComments: c, errors: l, focusedInputInfo: f, guestUserLoginToastInfo: Q()(e, "".concat(An.Bq, ":context.guestUserLoginToastInfo")), hasAnnotationLocation: (0, te.Qx)(e), isFetching: u, isLoginVisible: Q()(e, "".concat(An.Bq, ":context.isLoginVisible")), isPlacingAnnotation: Q()(e, "".concat(An.Bq, ":context.isPlacingAnnotation")), isTrayExpanded: Q()(e, "".concat(An.Bq, ":mobile.expanded")), lastResolvedCommentData: d, newAnnotationType: Q()(e, "".concat(An.Bq, ":context.newAnnotationType")), registeredSectionIds: Q()(e, "".concat(An.Bq, ":context.registeredSectionIds")), showCommentId: Q()(e, "".concat(An.Bq, ":context.showCommentId")), selectedAnnotationId: e["".concat(An.Bq, ":annotation")].selectedAnnotationId, showResolvedComments: p, }; }, function (e) { return (0, $.DE)( { clearLastResolved: oe.IK, commentCancelForDelete: oe.bi, commentDeletePropose: oe.e1, commentsSetDirtyComment: oe.Gt, filterClear: se.ER, commentsOpen: oe.Gv, commentsResolve: oe.fx, commentsToggleReply: oe.jT, contextCreateGuestUserSession: ae.Om, contextSaveFrameData: ae.eP, contextSetCommentsListMinimized: ae.XH, contextSetLoginVisibility: ae.Sp, contextSetGuestUserLoginToastInfo: ae.Fu, resetGuestUserSession: ae.I3, saveAnnotationColor: ae.Iz, saveAnnotationLocation: ae.yC, saveFocusedInputInfo: ae.PM, setAnnotationMode: ae.V0, setTrayExpanded: ie.YT, unhighlightComment: ce.K8, }, e ); }, void 0, { context: Ve.no } ) )(rm); }, 24681: (e, t, n) => { "use strict"; n.d(t, { Z: () => yn }); var r = n(23469), o = n.n(r), a = n(47776), i = n.n(a), s = n(13795), c = n(69050), l = n(53268), u = n(85767), d = n(56160), p = n(11425); function f(e, t) { return Object.keys(e).reduce(function (n, r) { return (n[r] = (0, s.__assign)({ timeZone: t }, e[r])), n; }, {}); } function m(e, t) { return Object.keys((0, s.__assign)((0, s.__assign)({}, e), t)).reduce(function (n, r) { return (n[r] = (0, s.__assign)((0, s.__assign)({}, e[r] || {}), t[r] || {})), n; }, {}); } function h(e, t) { if (!t) return e; var n = u.C.formats; return (0, s.__assign)((0, s.__assign)((0, s.__assign)({}, n), e), { date: m(f(n.date, t), f(e.date || {}, t)), time: m(f(n.time, t), f(e.time || {}, t)) }); } function v(e, t, n, r, o) { var a = e.locale, i = e.formats, c = e.messages, l = e.defaultLocale, u = e.defaultFormats, f = e.fallbackOnEmptyString, m = e.onError, v = e.timeZone, y = e.defaultRichTextElements; void 0 === n && (n = { id: "" }); var g = n.id, b = n.defaultMessage; !(function (e, t, n) { if ((void 0 === n && (n = Error), !e)) throw new n( "[@formatjs/intl] An `id` must be provided to format a message. You can either:\n1. Configure your build toolchain with [babel-plugin-formatjs](https://formatjs.io/docs/tooling/babel-plugin)\nor [@formatjs/ts-transformer](https://formatjs.io/docs/tooling/ts-transformer) OR\n2. Configure your `eslint` config to include [eslint-plugin-formatjs](https://formatjs.io/docs/tooling/linter#enforce-id)\nto autofix this issue" ); })(!!g); var E = String(g), D = c && Object.prototype.hasOwnProperty.call(c, E) && c[E]; if (Array.isArray(D) && 1 === D.length && D[0].type === p.wD.literal) return D[0].value; if (!r && D && "string" == typeof D && !y) return D.replace(/'\{(.*?)\}'/gi, "{$1}"); if (((r = (0, s.__assign)((0, s.__assign)({}, y), r || {})), (i = h(i, v)), (u = h(u, v)), !D)) { if (!1 === f && "" === D) return D; if (((!b || (a && a.toLowerCase() !== l.toLowerCase())) && m(new d.$6(n, a)), b)) try { return t.getMessageFormat(b, l, u, o).format(r); } catch (e) { return m(new d.X9('Error formatting default message for: "'.concat(E, '", rendering default message verbatim'), a, n, e)), "string" == typeof b ? b : E; } return E; } try { return t.getMessageFormat(D, a, i, (0, s.__assign)({ formatters: t }, o || {})).format(r); } catch (e) { m(new d.X9('Error formatting message: "'.concat(E, '", using ').concat(b ? "default message" : "id", " as fallback."), a, n, e)); } if (b) try { return t.getMessageFormat(b, l, u, o).format(r); } catch (e) { m(new d.X9('Error formatting the default message for: "'.concat(E, '", rendering message verbatim'), a, n, e)); } return "string" == typeof D ? D : "string" == typeof b ? b : E; } var y = n(956), g = [ "localeMatcher", "style", "currency", "currencyDisplay", "unit", "unitDisplay", "useGrouping", "minimumIntegerDigits", "minimumFractionDigits", "maximumFractionDigits", "minimumSignificantDigits", "maximumSignificantDigits", "compactDisplay", "currencyDisplay", "currencySign", "notation", "signDisplay", "unit", "unitDisplay", "numberingSystem", ]; function b(e, t, n) { var r = e.locale, o = e.formats, a = e.onError; void 0 === n && (n = {}); var i = n.format, s = (i && (0, y.TB)(o, "number", i, a)) || {}; return t(r, (0, y.L6)(n, g, s)); } function E(e, t, n, r) { void 0 === r && (r = {}); try { return b(e, t, r).format(n); } catch (t) { e.onError(new d.Rw(d.bc.FORMAT_ERROR, "Error formatting number.", t)); } return String(n); } function D(e, t, n, r) { void 0 === r && (r = {}); try { return b(e, t, r).formatToParts(n); } catch (t) { e.onError(new d.Rw(d.bc.FORMAT_ERROR, "Error formatting number.", t)); } return []; } var C = n(91842), w = ["numeric", "style"]; function S(e, t, n, r, o) { void 0 === o && (o = {}), r || (r = "second"), Intl.RelativeTimeFormat || e.onError(new C.u_('Intl.RelativeTimeFormat is not available in this environment.\nTry polyfilling it using "@formatjs/intl-relativetimeformat"\n', C.jK.MISSING_INTL_API)); try { return (function (e, t, n) { var r = e.locale, o = e.formats, a = e.onError; void 0 === n && (n = {}); var i = n.format, s = (!!i && (0, y.TB)(o, "relative", i, a)) || {}; return t(r, (0, y.L6)(n, w, s)); })(e, t, o).format(n, r); } catch (t) { e.onError(new d.Qe("Error formatting relative time.", e.locale, t)); } return String(n); } var A = ["localeMatcher", "formatMatcher", "timeZone", "hour12", "weekday", "era", "year", "month", "day", "hour", "minute", "second", "timeZoneName", "hourCycle", "dateStyle", "timeStyle", "calendar", "numberingSystem"]; function k(e, t, n, r) { var o = e.locale, a = e.formats, i = e.onError, c = e.timeZone; void 0 === r && (r = {}); var l = r.format, u = (0, s.__assign)((0, s.__assign)({}, c && { timeZone: c }), l && (0, y.TB)(a, t, l, i)), d = (0, y.L6)(r, A, u); return "time" !== t || d.hour || d.minute || d.second || d.timeStyle || d.dateStyle || (d = (0, s.__assign)((0, s.__assign)({}, d), { hour: "numeric", minute: "numeric" })), n(o, d); } function _(e, t) { for (var n = [], r = 2; r < arguments.length; r++) n[r - 2] = arguments[r]; var o = n[0], a = n[1], i = void 0 === a ? {} : a, s = "string" == typeof o ? new Date(o || 0) : o; try { return k(e, "date", t, i).format(s); } catch (t) { e.onError(new d.Rw(d.bc.FORMAT_ERROR, "Error formatting date.", t)); } return String(s); } function T(e, t) { for (var n = [], r = 2; r < arguments.length; r++) n[r - 2] = arguments[r]; var o = n[0], a = n[1], i = void 0 === a ? {} : a, s = "string" == typeof o ? new Date(o || 0) : o; try { return k(e, "time", t, i).format(s); } catch (t) { e.onError(new d.Rw(d.bc.FORMAT_ERROR, "Error formatting time.", t)); } return String(s); } function I(e, t) { for (var n = [], r = 2; r < arguments.length; r++) n[r - 2] = arguments[r]; var o = n[0], a = n[1], i = n[2], s = void 0 === i ? {} : i, c = e.timeZone, l = e.locale, u = e.onError, p = (0, y.L6)(s, A, c ? { timeZone: c } : {}); try { return t(l, p).formatRange(o, a); } catch (e) { u(new d.Rw(d.bc.FORMAT_ERROR, "Error formatting date time range.", e)); } return String(o); } function O(e, t) { for (var n = [], r = 2; r < arguments.length; r++) n[r - 2] = arguments[r]; var o = n[0], a = n[1], i = void 0 === a ? {} : a, s = "string" == typeof o ? new Date(o || 0) : o; try { return k(e, "date", t, i).formatToParts(s); } catch (t) { e.onError(new d.Rw(d.bc.FORMAT_ERROR, "Error formatting date.", t)); } return []; } function F(e, t) { for (var n = [], r = 2; r < arguments.length; r++) n[r - 2] = arguments[r]; var o = n[0], a = n[1], i = void 0 === a ? {} : a, s = "string" == typeof o ? new Date(o || 0) : o; try { return k(e, "time", t, i).formatToParts(s); } catch (t) { e.onError(new d.Rw(d.bc.FORMAT_ERROR, "Error formatting time.", t)); } return []; } var x = ["localeMatcher", "type"]; function N(e, t, n, r) { var o = e.locale, a = e.onError; void 0 === r && (r = {}), Intl.PluralRules || a(new C.u_('Intl.PluralRules is not available in this environment.\nTry polyfilling it using "@formatjs/intl-pluralrules"\n', C.jK.MISSING_INTL_API)); var i = (0, y.L6)(r, x); try { return t(o, i).select(n); } catch (e) { a(new d.Qe("Error formatting plural.", o, e)); } return "other"; } var R = ["localeMatcher", "type", "style"], L = Date.now(); function M(e, t, n, r) { void 0 === r && (r = {}); var o = P(e, t, n, r).reduce(function (e, t) { var n = t.value; return "string" != typeof n ? e.push(n) : "string" == typeof e[e.length - 1] ? (e[e.length - 1] += n) : e.push(n), e; }, []); return 1 === o.length ? o[0] : o; } function P(e, t, n, r) { var o = e.locale, a = e.onError; void 0 === r && (r = {}), Intl.ListFormat || a(new C.u_('Intl.ListFormat is not available in this environment.\nTry polyfilling it using "@formatjs/intl-listformat"\n', C.jK.MISSING_INTL_API)); var i = (0, y.L6)(r, R); try { var c = {}, l = n.map(function (e, t) { if ("object" == typeof e) { var n = (function (e) { return "".concat(L, "_").concat(e, "_").concat(L); })(t); return (c[n] = e), n; } return String(e); }); return t(o, i) .formatToParts(l) .map(function (e) { return "literal" === e.type ? e : (0, s.__assign)((0, s.__assign)({}, e), { value: c[e.value] || e.value }); }); } catch (e) { a(new d.Rw(d.bc.FORMAT_ERROR, "Error formatting list.", e)); } return n; } var j = ["localeMatcher", "style", "type", "fallback"]; function B(e, t, n, r) { var o = e.locale, a = e.onError; Intl.DisplayNames || a(new C.u_('Intl.DisplayNames is not available in this environment.\nTry polyfilling it using "@formatjs/intl-displaynames"\n', C.jK.MISSING_INTL_API)); var i = (0, y.L6)(r, j); try { return t(o, i).of(n); } catch (e) { a(new d.Rw(d.bc.FORMAT_ERROR, "Error formatting display name.", e)); } } var Z = n(49154); function U(e) { return { locale: e.locale, timeZone: e.timeZone, fallbackOnEmptyString: e.fallbackOnEmptyString, formats: e.formats, textComponent: e.textComponent, messages: e.messages, defaultLocale: e.defaultLocale, defaultFormats: e.defaultFormats, onError: e.onError, onWarn: e.onWarn, wrapRichTextChunksInFragment: e.wrapRichTextChunksInFragment, defaultRichTextElements: e.defaultRichTextElements, }; } function z(e) { return e ? Object.keys(e).reduce(function (t, n) { var r = e[n]; return (t[n] = (0, Z.Gt)(r) ? (0, l.dt)(r) : r), t; }, {}) : e; } var V = function (e, t, n, o) { for (var a = [], i = 4; i < arguments.length; i++) a[i - 4] = arguments[i]; var c = z(o), l = v.apply(void 0, (0, s.__spreadArray)([e, t, n, c], a, !1)); return Array.isArray(l) ? r.Children.toArray(l) : l; }, H = function (e, t) { var n = e.defaultRichTextElements, r = (0, s.__rest)(e, ["defaultRichTextElements"]), o = z(n), a = (function (e, t) { var n = (0, y.ax)(t), r = (0, s.__assign)((0, s.__assign)({}, y.Z0), e), o = r.locale, a = r.defaultLocale, i = r.onError; return ( o ? !Intl.NumberFormat.supportedLocalesOf(o).length && i ? i(new d.gb('Missing locale data for locale: "'.concat(o, '" in Intl.NumberFormat. Using default locale: "').concat(a, '" as fallback. See https://formatjs.io/docs/react-intl#runtime-requirements for more details'))) : !Intl.DateTimeFormat.supportedLocalesOf(o).length && i && i( new d.gb('Missing locale data for locale: "'.concat(o, '" in Intl.DateTimeFormat. Using default locale: "').concat(a, '" as fallback. See https://formatjs.io/docs/react-intl#runtime-requirements for more details')) ) : (i && i(new d.OV('"locale" was not configured, using "'.concat(a, '" as fallback. See https://formatjs.io/docs/react-intl/api#intlshape for more details'))), (r.locale = r.defaultLocale || "en")), (function (e) { var t; e.onWarn && e.defaultRichTextElements && "string" == typeof ((t = e.messages || {}) ? t[Object.keys(t)[0]] : void 0) && e.onWarn( '[@formatjs/intl] "defaultRichTextElements" was specified but "message" was not pre-compiled. \nPlease consider using "@formatjs/cli" to pre-compile your messages for performance.\nFor more details see https://formatjs.io/docs/getting-started/message-distribution' ); })(r), (0, s.__assign)((0, s.__assign)({}, r), { formatters: n, formatNumber: E.bind(null, r, n.getNumberFormat), formatNumberToParts: D.bind(null, r, n.getNumberFormat), formatRelativeTime: S.bind(null, r, n.getRelativeTimeFormat), formatDate: _.bind(null, r, n.getDateTimeFormat), formatDateToParts: O.bind(null, r, n.getDateTimeFormat), formatTime: T.bind(null, r, n.getDateTimeFormat), formatDateTimeRange: I.bind(null, r, n.getDateTimeFormat), formatTimeToParts: F.bind(null, r, n.getDateTimeFormat), formatPlural: N.bind(null, r, n.getPluralRules), formatMessage: v.bind(null, r, n), $t: v.bind(null, r, n), formatList: M.bind(null, r, n.getListFormat), formatListToParts: P.bind(null, r, n.getListFormat), formatDisplayName: B.bind(null, r, n.getDisplayNames), }) ); })((0, s.__assign)((0, s.__assign)((0, s.__assign)({}, l.Z0), r), { defaultRichTextElements: o }), t); return (0, s.__assign)((0, s.__assign)({}, a), { formatMessage: V.bind( null, { locale: a.locale, timeZone: a.timeZone, fallbackOnEmptyString: a.fallbackOnEmptyString, formats: a.formats, defaultLocale: a.defaultLocale, defaultFormats: a.defaultFormats, messages: a.messages, onError: a.onError, defaultRichTextElements: o, }, a.formatters ), }); }; const G = (function (e) { function t() { var t = (null !== e && e.apply(this, arguments)) || this; return (t.cache = (0, y.Sn)()), (t.state = { cache: t.cache, intl: H(U(t.props), t.cache), prevConfig: U(t.props) }), t; } return ( (0, s.__extends)(t, e), (t.getDerivedStateFromProps = function (e, t) { var n = t.prevConfig, r = t.cache, o = U(e); return (0, l.wU)(n, o) ? null : { intl: H(o, r), prevConfig: o }; }), (t.prototype.render = function () { return (0, l.lq)(this.state.intl), r.createElement(c.zt, { value: this.state.intl }, this.props.children); }), (t.displayName = "IntlProvider"), (t.defaultProps = l.Z0), t ); })(r.PureComponent); var W = n(22807), Q = n.n(W), J = (n(81123), n(23492)), Y = n(56429), q = n(70075); function X(e, t) { var n = Object.keys(e); if (Object.getOwnPropertySymbols) { var r = Object.getOwnPropertySymbols(e); t && (r = r.filter(function (t) { return Object.getOwnPropertyDescriptor(e, t).enumerable; })), n.push.apply(n, r); } return n; } function K(e) { for (var t = 1; t < arguments.length; t++) { var n = null != arguments[t] ? arguments[t] : {}; t % 2 ? X(Object(n), !0).forEach(function (t) { $(e, t, n[t]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : X(Object(n)).forEach(function (t) { Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t)); }); } return e; } function $(e, t, n) { return t in e ? Object.defineProperty(e, t, { value: n, enumerable: !0, configurable: !0, writable: !0 }) : (e[t] = n), e; } function ee(e, t) { (null == t || t > e.length) && (t = e.length); for (var n = 0, r = new Array(t); n < t; n++) r[n] = e[n]; return r; } function te(e, t, n, r, o, a, i) { try { var s = e[a](i), c = s.value; } catch (e) { return void n(e); } s.done ? t(c) : Promise.resolve(c).then(r, o); } function ne(e) { return function () { var t = this, n = arguments; return new Promise(function (r, o) { var a = e.apply(t, n); function i(e) { te(a, r, o, i, s, "next", e); } function s(e) { te(a, r, o, i, s, "throw", e); } i(void 0); }); }; } n(42059), n(12782), n(18871), n(4728), n(14211), n(90739); var re, oe, ae, ie, se, ce, le, ue, de, pe, fe, me, he, ve, ye, ge, be, Ee, De, Ce, we, Se, Ae, ke, _e, Te, Ie, Oe, Fe, xe, Ne, Re, Le, Me, Pe, je, Be, Ze, Ue, ze, Ve, He, Ge, We, Qe, Je, Ye, qe, Xe, Ke, $e, et, tt, nt, rt, ot, at, it, st, ct, lt, ut, dt, pt, ft, mt, ht, vt, yt, gt, bt, Et, Dt, Ct, wt, St, At, kt, _t, Tt, It, Ot, Ft, xt, Nt, Rt, Lt, Mt, Pt, jt, Bt, Zt, Ut, zt, Vt, Ht, Gt, Wt, Qt, Jt, Yt, qt, Xt, Kt, $t, en, tn, nn, rn, on, an, sn, cn, ln, un, dn, pn, fn = { bn: "bn-BD", cs: "cs-CZ", cy: "cy-GB", da: "da-DK", de: "de-DE", el: "el-GR", en: "en-US", es: "es-ES", fi: "fi-FI", fil: "fil-PH", fr: "fr-FR", hi: "hi-IN", hu: "hu-HU", id: "id-ID", it: "it-IT", ja: "ja-JP", ko: "ko-KR", ms: "ms-MY", nb: "nb-NO", ne: "ne-NP", nl: "nl-NL", pl: "pl-PL", pt: "pt-BR", ro: "ro-RO", ru: "ru-RU", sv: "sv-SE", ta: "ta-IN", th: "th-TH", tr: "tr-TR", uk: "uk-UA", vi: "vi-VI", zh: "zh-CN", zhhans: "zh-CN", "zh-hans": "zh-CN", "zh-hant": "zh-TW", zhhant: "zh-TW", }, mn = n(89535), hn = { bn: { pluralRules: ((pn = ne( regeneratorRuntime.mark(function e() { return regeneratorRuntime.wrap(function (e) { for (;;) switch ((e.prev = e.next)) { case 0: return e.abrupt("return", n.e(9796).then(n.t.bind(n, 33306, 23))); case 1: case "end": return e.stop(); } }, e); }) )), function () { return pn.apply(this, arguments); }), relativeTimeFormat: ((dn = ne( regeneratorRuntime.mark(function e() { return regeneratorRuntime.wrap(function (e) { for (;;) switch ((e.prev = e.next)) { case 0: return e.abrupt("return", n.e(8243).then(n.t.bind(n, 76783, 23))); case 1: case "end": return e.stop(); } }, e); }) )), function () { return dn.apply(this, arguments); }), translation: ((un = ne( regeneratorRuntime.mark(function e() { return regeneratorRuntime.wrap(function (e) { for (;;) switch ((e.prev = e.next)) { case 0: return e.abrupt("return", n.e(5817).then(n.t.bind(n, 80824, 19))); case 1: case "end": return e.stop(); } }, e); }) )), function () { return un.apply(this, arguments); }), }, cs: { pluralRules: ((ln = ne( regeneratorRuntime.mark(function e() { return regeneratorRuntime.wrap(function (e) { for (;;) switch ((e.prev = e.next)) { case 0: return e.abrupt("return", n.e(9466).then(n.t.bind(n, 65434, 23))); case 1: case "end": return e.stop(); } }, e); }) )), function () { return ln.apply(this, arguments); }), relativeTimeFormat: ((cn = ne( regeneratorRuntime.mark(function e() { return regeneratorRuntime.wrap(function (e) { for (;;) switch ((e.prev = e.next)) { case 0: return e.abrupt("return", n.e(6707).then(n.t.bind(n, 99856, 23))); case 1: case "end": return e.stop(); } }, e); }) )), function () { return cn.apply(this, arguments); }), translation: ((sn = ne( regeneratorRuntime.mark(function e() { return regeneratorRuntime.wrap(function (e) { for (;;) switch ((e.prev = e.next)) { case 0: return e.abrupt("return", n.e(1308).then(n.t.bind(n, 16524, 19))); case 1: case "end": return e.stop(); } }, e); }) )), function () { return sn.apply(this, arguments); }), }, cy: { pluralRules: ((an = ne( regeneratorRuntime.mark(function e() { return regeneratorRuntime.wrap(function (e) { for (;;) switch ((e.prev = e.next)) { case 0: return e.abrupt("return", n.e(582).then(n.t.bind(n, 30993, 23))); case 1: case "end": return e.stop(); } }, e); }) )), function () { return an.apply(this, arguments); }), relativeTimeFormat: ((on = ne( regeneratorRuntime.mark(function e() { return regeneratorRuntime.wrap(function (e) { for (;;) switch ((e.prev = e.next)) { case 0: return e.abrupt("return", n.e(7112).then(n.t.bind(n, 80644, 23))); case 1: case "end": return e.stop(); } }, e); }) )), function () { return on.apply(this, arguments); }), translation: ((rn = ne( regeneratorRuntime.mark(function e() { return regeneratorRuntime.wrap(function (e) { for (;;) switch ((e.prev = e.next)) { case 0: return e.abrupt("return", n.e(527).then(n.t.bind(n, 33063, 19))); case 1: case "end": return e.stop(); } }, e); }) )), function () { return rn.apply(this, arguments); }), }, da: { pluralRules: ((nn = ne( regeneratorRuntime.mark(function e() { return regeneratorRuntime.wrap(function (e) { for (;;) switch ((e.prev = e.next)) { case 0: return e.abrupt("return", n.e(7879).then(n.t.bind(n, 93199, 23))); case 1: case "end": return e.stop(); } }, e); }) )), function () { return nn.apply(this, arguments); }), relativeTimeFormat: ((tn = ne( regeneratorRuntime.mark(function e() { return regeneratorRuntime.wrap(function (e) { for (;;) switch ((e.prev = e.next)) { case 0: return e.abrupt("return", n.e(9670).then(n.t.bind(n, 15225, 23))); case 1: case "end": return e.stop(); } }, e); }) )), function () { return tn.apply(this, arguments); }), translation: ((en = ne( regeneratorRuntime.mark(function e() { return regeneratorRuntime.wrap(function (e) { for (;;) switch ((e.prev = e.next)) { case 0: return e.abrupt("return", n.e(3250).then(n.t.bind(n, 47116, 19))); case 1: case "end": return e.stop(); } }, e); }) )), function () { return en.apply(this, arguments); }), }, de: { pluralRules: (($t = ne( regeneratorRuntime.mark(function e() { return regeneratorRuntime.wrap(function (e) { for (;;) switch ((e.prev = e.next)) { case 0: return e.abrupt("return", n.e(3284).then(n.t.bind(n, 40869, 23))); case 1: case "end": return e.stop(); } }, e); }) )), function () { return $t.apply(this, arguments); }), relativeTimeFormat: ((Kt = ne( regeneratorRuntime.mark(function e() { return regeneratorRuntime.wrap(function (e) { for (;;) switch ((e.prev = e.next)) { case 0: return e.abrupt("return", n.e(7954).then(n.t.bind(n, 46938, 23))); case 1: case "end": return e.stop(); } }, e); }) )), function () { return Kt.apply(this, arguments); }), translation: ((Xt = ne( regeneratorRuntime.mark(function e() { return regeneratorRuntime.wrap(function (e) { for (;;) switch ((e.prev = e.next)) { case 0: return e.abrupt("return", n.e(9084).then(n.t.bind(n, 55946, 19))); case 1: case "end": return e.stop(); } }, e); }) )), function () { return Xt.apply(this, arguments); }), }, el: { pluralRules: ((qt = ne( regeneratorRuntime.mark(function e() { return regeneratorRuntime.wrap(function (e) { for (;;) switch ((e.prev = e.next)) { case 0: return e.abrupt("return", n.e(9513).then(n.t.bind(n, 81833, 23))); case 1: case "end": return e.stop(); } }, e); }) )), function () { return qt.apply(this, arguments); }), relativeTimeFormat: ((Yt = ne( regeneratorRuntime.mark(function e() { return regeneratorRuntime.wrap(function (e) { for (;;) switch ((e.prev = e.next)) { case 0: return e.abrupt("return", n.e(4803).then(n.t.bind(n, 23156, 23))); case 1: case "end": return e.stop(); } }, e); }) )), function () { return Yt.apply(this, arguments); }), translation: ((Jt = ne( regeneratorRuntime.mark(function e() { return regeneratorRuntime.wrap(function (e) { for (;;) switch ((e.prev = e.next)) { case 0: return e.abrupt("return", n.e(5081).then(n.t.bind(n, 73242, 19))); case 1: case "end": return e.stop(); } }, e); }) )), function () { return Jt.apply(this, arguments); }), }, es: { pluralRules: ((Qt = ne( regeneratorRuntime.mark(function e() { return regeneratorRuntime.wrap(function (e) { for (;;) switch ((e.prev = e.next)) { case 0: return e.abrupt("return", n.e(4262).then(n.t.bind(n, 55467, 23))); case 1: case "end": return e.stop(); } }, e); }) )), function () { return Qt.apply(this, arguments); }), relativeTimeFormat: ((Wt = ne( regeneratorRuntime.mark(function e() { return regeneratorRuntime.wrap(function (e) { for (;;) switch ((e.prev = e.next)) { case 0: return e.abrupt("return", n.e(5978).then(n.t.bind(n, 39952, 23))); case 1: case "end": return e.stop(); } }, e); }) )), function () { return Wt.apply(this, arguments); }), translation: ((Gt = ne( regeneratorRuntime.mark(function e() { return regeneratorRuntime.wrap(function (e) { for (;;) switch ((e.prev = e.next)) { case 0: return e.abrupt("return", n.e(5002).then(n.t.bind(n, 64013, 19))); case 1: case "end": return e.stop(); } }, e); }) )), function () { return Gt.apply(this, arguments); }), }, fi: { pluralRules: ((Ht = ne( regeneratorRuntime.mark(function e() { return regeneratorRuntime.wrap(function (e) { for (;;) switch ((e.prev = e.next)) { case 0: return e.abrupt("return", n.e(2406).then(n.t.bind(n, 25395, 23))); case 1: case "end": return e.stop(); } }, e); }) )), function () { return Ht.apply(this, arguments); }), relativeTimeFormat: ((Vt = ne( regeneratorRuntime.mark(function e() { return regeneratorRuntime.wrap(function (e) { for (;;) switch ((e.prev = e.next)) { case 0: return e.abrupt("return", n.e(6970).then(n.t.bind(n, 93918, 23))); case 1: case "end": return e.stop(); } }, e); }) )), function () { return Vt.apply(this, arguments); }), translation: ((zt = ne( regeneratorRuntime.mark(function e() { return regeneratorRuntime.wrap(function (e) { for (;;) switch ((e.prev = e.next)) { case 0: return e.abrupt("return", n.e(4707).then(n.t.bind(n, 8828, 19))); case 1: case "end": return e.stop(); } }, e); }) )), function () { return zt.apply(this, arguments); }), }, fil: { pluralRules: ((Ut = ne( regeneratorRuntime.mark(function e() { return regeneratorRuntime.wrap(function (e) { for (;;) switch ((e.prev = e.next)) { case 0: return e.abrupt("return", n.e(1525).then(n.t.bind(n, 78253, 23))); case 1: case "end": return e.stop(); } }, e); }) )), function () { return Ut.apply(this, arguments); }), relativeTimeFormat: ((Zt = ne( regeneratorRuntime.mark(function e() { return regeneratorRuntime.wrap(function (e) { for (;;) switch ((e.prev = e.next)) { case 0: return e.abrupt("return", n.e(4974).then(n.t.bind(n, 7039, 23))); case 1: case "end": return e.stop(); } }, e); }) )), function () { return Zt.apply(this, arguments); }), translation: ((Bt = ne( regeneratorRuntime.mark(function e() { return regeneratorRuntime.wrap(function (e) { for (;;) switch ((e.prev = e.next)) { case 0: return e.abrupt("return", n.e(9700).then(n.t.bind(n, 11402, 19))); case 1: case "end": return e.stop(); } }, e); }) )), function () { return Bt.apply(this, arguments); }), }, fr: { pluralRules: ((jt = ne( regeneratorRuntime.mark(function e() { return regeneratorRuntime.wrap(function (e) { for (;;) switch ((e.prev = e.next)) { case 0: return e.abrupt("return", n.e(9877).then(n.t.bind(n, 90327, 23))); case 1: case "end": return e.stop(); } }, e); }) )), function () { return jt.apply(this, arguments); }), relativeTimeFormat: ((Pt = ne( regeneratorRuntime.mark(function e() { return regeneratorRuntime.wrap(function (e) { for (;;) switch ((e.prev = e.next)) { case 0: return e.abrupt("return", n.e(7181).then(n.t.bind(n, 42011, 23))); case 1: case "end": return e.stop(); } }, e); }) )), function () { return Pt.apply(this, arguments); }), translation: ((Mt = ne( regeneratorRuntime.mark(function e() { return regeneratorRuntime.wrap(function (e) { for (;;) switch ((e.prev = e.next)) { case 0: return e.abrupt("return", n.e(7059).then(n.t.bind(n, 36868, 19))); case 1: case "end": return e.stop(); } }, e); }) )), function () { return Mt.apply(this, arguments); }), }, hi: { pluralRules: ((Lt = ne( regeneratorRuntime.mark(function e() { return regeneratorRuntime.wrap(function (e) { for (;;) switch ((e.prev = e.next)) { case 0: return e.abrupt("return", n.e(9789).then(n.t.bind(n, 56153, 23))); case 1: case "end": return e.stop(); } }, e); }) )), function () { return Lt.apply(this, arguments); }), relativeTimeFormat: ((Rt = ne( regeneratorRuntime.mark(function e() { return regeneratorRuntime.wrap(function (e) { for (;;) switch ((e.prev = e.next)) { case 0: return e.abrupt("return", n.e(5339).then(n.t.bind(n, 30328, 23))); case 1: case "end": return e.stop(); } }, e); }) )), function () { return Rt.apply(this, arguments); }), translation: ((Nt = ne( regeneratorRuntime.mark(function e() { return regeneratorRuntime.wrap(function (e) { for (;;) switch ((e.prev = e.next)) { case 0: return e.abrupt("return", n.e(8661).then(n.t.bind(n, 85717, 19))); case 1: case "end": return e.stop(); } }, e); }) )), function () { return Nt.apply(this, arguments); }), }, hu: { pluralRules: ((xt = ne( regeneratorRuntime.mark(function e() { return regeneratorRuntime.wrap(function (e) { for (;;) switch ((e.prev = e.next)) { case 0: return e.abrupt("return", n.e(4591).then(n.t.bind(n, 97387, 23))); case 1: case "end": return e.stop(); } }, e); }) )), function () { return xt.apply(this, arguments); }), relativeTimeFormat: ((Ft = ne( regeneratorRuntime.mark(function e() { return regeneratorRuntime.wrap(function (e) { for (;;) switch ((e.prev = e.next)) { case 0: return e.abrupt("return", n.e(3364).then(n.t.bind(n, 91919, 23))); case 1: case "end": return e.stop(); } }, e); }) )), function () { return Ft.apply(this, arguments); }), translation: ((Ot = ne( regeneratorRuntime.mark(function e() { return regeneratorRuntime.wrap(function (e) { for (;;) switch ((e.prev = e.next)) { case 0: return e.abrupt("return", n.e(5910).then(n.t.bind(n, 46043, 19))); case 1: case "end": return e.stop(); } }, e); }) )), function () { return Ot.apply(this, arguments); }), }, id: { pluralRules: ((It = ne( regeneratorRuntime.mark(function e() { return regeneratorRuntime.wrap(function (e) { for (;;) switch ((e.prev = e.next)) { case 0: return e.abrupt("return", n.e(4472).then(n.t.bind(n, 32861, 23))); case 1: case "end": return e.stop(); } }, e); }) )), function () { return It.apply(this, arguments); }), relativeTimeFormat: ((Tt = ne( regeneratorRuntime.mark(function e() { return regeneratorRuntime.wrap(function (e) { for (;;) switch ((e.prev = e.next)) { case 0: return e.abrupt("return", n.e(1888).then(n.t.bind(n, 95724, 23))); case 1: case "end": return e.stop(); } }, e); }) )), function () { return Tt.apply(this, arguments); }), translation: ((_t = ne( regeneratorRuntime.mark(function e() { return regeneratorRuntime.wrap(function (e) { for (;;) switch ((e.prev = e.next)) { case 0: return e.abrupt("return", n.e(5066).then(n.t.bind(n, 91, 19))); case 1: case "end": return e.stop(); } }, e); }) )), function () { return _t.apply(this, arguments); }), }, it: { pluralRules: ((kt = ne( regeneratorRuntime.mark(function e() { return regeneratorRuntime.wrap(function (e) { for (;;) switch ((e.prev = e.next)) { case 0: return e.abrupt("return", n.e(9563).then(n.t.bind(n, 8935, 23))); case 1: case "end": return e.stop(); } }, e); }) )), function () { return kt.apply(this, arguments); }), relativeTimeFormat: ((At = ne( regeneratorRuntime.mark(function e() { return regeneratorRuntime.wrap(function (e) { for (;;) switch ((e.prev = e.next)) { case 0: return e.abrupt("return", n.e(6138).then(n.t.bind(n, 87386, 23))); case 1: case "end": return e.stop(); } }, e); }) )), function () { return At.apply(this, arguments); }), translation: ((St = ne( regeneratorRuntime.mark(function e() { return regeneratorRuntime.wrap(function (e) { for (;;) switch ((e.prev = e.next)) { case 0: return e.abrupt("return", n.e(7201).then(n.t.bind(n, 47007, 19))); case 1: case "end": return e.stop(); } }, e); }) )), function () { return St.apply(this, arguments); }), }, ja: { pluralRules: ((wt = ne( regeneratorRuntime.mark(function e() { return regeneratorRuntime.wrap(function (e) { for (;;) switch ((e.prev = e.next)) { case 0: return e.abrupt("return", n.e(7864).then(n.t.bind(n, 67987, 23))); case 1: case "end": return e.stop(); } }, e); }) )), function () { return wt.apply(this, arguments); }), relativeTimeFormat: ((Ct = ne( regeneratorRuntime.mark(function e() { return regeneratorRuntime.wrap(function (e) { for (;;) switch ((e.prev = e.next)) { case 0: return e.abrupt("return", n.e(9495).then(n.t.bind(n, 93057, 23))); case 1: case "end": return e.stop(); } }, e); }) )), function () { return Ct.apply(this, arguments); }), translation: ((Dt = ne( regeneratorRuntime.mark(function e() { return regeneratorRuntime.wrap(function (e) { for (;;) switch ((e.prev = e.next)) { case 0: return e.abrupt("return", n.e(9455).then(n.t.bind(n, 66884, 19))); case 1: case "end": return e.stop(); } }, e); }) )), function () { return Dt.apply(this, arguments); }), }, ko: { pluralRules: ((Et = ne( regeneratorRuntime.mark(function e() { return regeneratorRuntime.wrap(function (e) { for (;;) switch ((e.prev = e.next)) { case 0: return e.abrupt("return", n.e(5792).then(n.t.bind(n, 5871, 23))); case 1: case "end": return e.stop(); } }, e); }) )), function () { return Et.apply(this, arguments); }), relativeTimeFormat: ((bt = ne( regeneratorRuntime.mark(function e() { return regeneratorRuntime.wrap(function (e) { for (;;) switch ((e.prev = e.next)) { case 0: return e.abrupt("return", n.e(8752).then(n.t.bind(n, 71609, 23))); case 1: case "end": return e.stop(); } }, e); }) )), function () { return bt.apply(this, arguments); }), translation: ((gt = ne( regeneratorRuntime.mark(function e() { return regeneratorRuntime.wrap(function (e) { for (;;) switch ((e.prev = e.next)) { case 0: return e.abrupt("return", n.e(7216).then(n.t.bind(n, 58796, 19))); case 1: case "end": return e.stop(); } }, e); }) )), function () { return gt.apply(this, arguments); }), }, ms: { pluralRules: ((yt = ne( regeneratorRuntime.mark(function e() { return regeneratorRuntime.wrap(function (e) { for (;;) switch ((e.prev = e.next)) { case 0: return e.abrupt("return", n.e(7384).then(n.t.bind(n, 64793, 23))); case 1: case "end": return e.stop(); } }, e); }) )), function () { return yt.apply(this, arguments); }), relativeTimeFormat: ((vt = ne( regeneratorRuntime.mark(function e() { return regeneratorRuntime.wrap(function (e) { for (;;) switch ((e.prev = e.next)) { case 0: return e.abrupt("return", n.e(5566).then(n.t.bind(n, 82064, 23))); case 1: case "end": return e.stop(); } }, e); }) )), function () { return vt.apply(this, arguments); }), translation: ((ht = ne( regeneratorRuntime.mark(function e() { return regeneratorRuntime.wrap(function (e) { for (;;) switch ((e.prev = e.next)) { case 0: return e.abrupt("return", n.e(9051).then(n.t.bind(n, 8167, 19))); case 1: case "end": return e.stop(); } }, e); }) )), function () { return ht.apply(this, arguments); }), }, nb: { pluralRules: ((mt = ne( regeneratorRuntime.mark(function e() { return regeneratorRuntime.wrap(function (e) { for (;;) switch ((e.prev = e.next)) { case 0: return e.abrupt("return", n.e(7667).then(n.t.bind(n, 35400, 23))); case 1: case "end": return e.stop(); } }, e); }) )), function () { return mt.apply(this, arguments); }), relativeTimeFormat: ((ft = ne( regeneratorRuntime.mark(function e() { return regeneratorRuntime.wrap(function (e) { for (;;) switch ((e.prev = e.next)) { case 0: return e.abrupt("return", n.e(4251).then(n.t.bind(n, 54494, 23))); case 1: case "end": return e.stop(); } }, e); }) )), function () { return ft.apply(this, arguments); }), translation: ((pt = ne( regeneratorRuntime.mark(function e() { return regeneratorRuntime.wrap(function (e) { for (;;) switch ((e.prev = e.next)) { case 0: return e.abrupt("return", n.e(9965).then(n.t.bind(n, 41945, 19))); case 1: case "end": return e.stop(); } }, e); }) )), function () { return pt.apply(this, arguments); }), }, ne: { pluralRules: ((dt = ne( regeneratorRuntime.mark(function e() { return regeneratorRuntime.wrap(function (e) { for (;;) switch ((e.prev = e.next)) { case 0: return e.abrupt("return", n.e(8676).then(n.t.bind(n, 83354, 23))); case 1: case "end": return e.stop(); } }, e); }) )), function () { return dt.apply(this, arguments); }), relativeTimeFormat: ((ut = ne( regeneratorRuntime.mark(function e() { return regeneratorRuntime.wrap(function (e) { for (;;) switch ((e.prev = e.next)) { case 0: return e.abrupt("return", n.e(1703).then(n.t.bind(n, 18673, 23))); case 1: case "end": return e.stop(); } }, e); }) )), function () { return ut.apply(this, arguments); }), translation: ((lt = ne( regeneratorRuntime.mark(function e() { return regeneratorRuntime.wrap(function (e) { for (;;) switch ((e.prev = e.next)) { case 0: return e.abrupt("return", n.e(9464).then(n.t.bind(n, 36862, 19))); case 1: case "end": return e.stop(); } }, e); }) )), function () { return lt.apply(this, arguments); }), }, nl: { pluralRules: ((ct = ne( regeneratorRuntime.mark(function e() { return regeneratorRuntime.wrap(function (e) { for (;;) switch ((e.prev = e.next)) { case 0: return e.abrupt("return", n.e(8683).then(n.t.bind(n, 64279, 23))); case 1: case "end": return e.stop(); } }, e); }) )), function () { return ct.apply(this, arguments); }), relativeTimeFormat: ((st = ne( regeneratorRuntime.mark(function e() { return regeneratorRuntime.wrap(function (e) { for (;;) switch ((e.prev = e.next)) { case 0: return e.abrupt("return", n.e(1834).then(n.t.bind(n, 40551, 23))); case 1: case "end": return e.stop(); } }, e); }) )), function () { return st.apply(this, arguments); }), translation: ((it = ne( regeneratorRuntime.mark(function e() { return regeneratorRuntime.wrap(function (e) { for (;;) switch ((e.prev = e.next)) { case 0: return e.abrupt("return", n.e(763).then(n.t.bind(n, 35538, 19))); case 1: case "end": return e.stop(); } }, e); }) )), function () { return it.apply(this, arguments); }), }, pl: { pluralRules: ((at = ne( regeneratorRuntime.mark(function e() { return regeneratorRuntime.wrap(function (e) { for (;;) switch ((e.prev = e.next)) { case 0: return e.abrupt("return", n.e(6070).then(n.t.bind(n, 10072, 23))); case 1: case "end": return e.stop(); } }, e); }) )), function () { return at.apply(this, arguments); }), relativeTimeFormat: ((ot = ne( regeneratorRuntime.mark(function e() { return regeneratorRuntime.wrap(function (e) { for (;;) switch ((e.prev = e.next)) { case 0: return e.abrupt("return", n.e(6284).then(n.t.bind(n, 47051, 23))); case 1: case "end": return e.stop(); } }, e); }) )), function () { return ot.apply(this, arguments); }), translation: ((rt = ne( regeneratorRuntime.mark(function e() { return regeneratorRuntime.wrap(function (e) { for (;;) switch ((e.prev = e.next)) { case 0: return e.abrupt("return", n.e(162).then(n.t.bind(n, 17826, 19))); case 1: case "end": return e.stop(); } }, e); }) )), function () { return rt.apply(this, arguments); }), }, pt: { pluralRules: ((nt = ne( regeneratorRuntime.mark(function e() { return regeneratorRuntime.wrap(function (e) { for (;;) switch ((e.prev = e.next)) { case 0: return e.abrupt("return", n.e(316).then(n.t.bind(n, 64224, 23))); case 1: case "end": return e.stop(); } }, e); }) )), function () { return nt.apply(this, arguments); }), relativeTimeFormat: ((tt = ne( regeneratorRuntime.mark(function e() { return regeneratorRuntime.wrap(function (e) { for (;;) switch ((e.prev = e.next)) { case 0: return e.abrupt("return", n.e(9331).then(n.t.bind(n, 84197, 23))); case 1: case "end": return e.stop(); } }, e); }) )), function () { return tt.apply(this, arguments); }), translation: ((et = ne( regeneratorRuntime.mark(function e() { return regeneratorRuntime.wrap(function (e) { for (;;) switch ((e.prev = e.next)) { case 0: return e.abrupt("return", n.e(2430).then(n.t.bind(n, 88744, 19))); case 1: case "end": return e.stop(); } }, e); }) )), function () { return et.apply(this, arguments); }), }, ro: { pluralRules: (($e = ne( regeneratorRuntime.mark(function e() { return regeneratorRuntime.wrap(function (e) { for (;;) switch ((e.prev = e.next)) { case 0: return e.abrupt("return", n.e(1516).then(n.t.bind(n, 77500, 23))); case 1: case "end": return e.stop(); } }, e); }) )), function () { return $e.apply(this, arguments); }), relativeTimeFormat: ((Ke = ne( regeneratorRuntime.mark(function e() { return regeneratorRuntime.wrap(function (e) { for (;;) switch ((e.prev = e.next)) { case 0: return e.abrupt("return", n.e(789).then(n.t.bind(n, 79285, 23))); case 1: case "end": return e.stop(); } }, e); }) )), function () { return Ke.apply(this, arguments); }), translation: ((Xe = ne( regeneratorRuntime.mark(function e() { return regeneratorRuntime.wrap(function (e) { for (;;) switch ((e.prev = e.next)) { case 0: return e.abrupt("return", n.e(7645).then(n.t.bind(n, 29807, 19))); case 1: case "end": return e.stop(); } }, e); }) )), function () { return Xe.apply(this, arguments); }), }, ru: { pluralRules: ((qe = ne( regeneratorRuntime.mark(function e() { return regeneratorRuntime.wrap(function (e) { for (;;) switch ((e.prev = e.next)) { case 0: return e.abrupt("return", n.e(5855).then(n.t.bind(n, 2838, 23))); case 1: case "end": return e.stop(); } }, e); }) )), function () { return qe.apply(this, arguments); }), relativeTimeFormat: ((Ye = ne( regeneratorRuntime.mark(function e() { return regeneratorRuntime.wrap(function (e) { for (;;) switch ((e.prev = e.next)) { case 0: return e.abrupt("return", n.e(6496).then(n.t.bind(n, 41865, 23))); case 1: case "end": return e.stop(); } }, e); }) )), function () { return Ye.apply(this, arguments); }), translation: ((Je = ne( regeneratorRuntime.mark(function e() { return regeneratorRuntime.wrap(function (e) { for (;;) switch ((e.prev = e.next)) { case 0: return e.abrupt("return", n.e(9618).then(n.t.bind(n, 48672, 19))); case 1: case "end": return e.stop(); } }, e); }) )), function () { return Je.apply(this, arguments); }), }, sv: { pluralRules: ((Qe = ne( regeneratorRuntime.mark(function e() { return regeneratorRuntime.wrap(function (e) { for (;;) switch ((e.prev = e.next)) { case 0: return e.abrupt("return", n.e(8718).then(n.t.bind(n, 32424, 23))); case 1: case "end": return e.stop(); } }, e); }) )), function () { return Qe.apply(this, arguments); }), relativeTimeFormat: ((We = ne( regeneratorRuntime.mark(function e() { return regeneratorRuntime.wrap(function (e) { for (;;) switch ((e.prev = e.next)) { case 0: return e.abrupt("return", n.e(450).then(n.t.bind(n, 79996, 23))); case 1: case "end": return e.stop(); } }, e); }) )), function () { return We.apply(this, arguments); }), translation: ((Ge = ne( regeneratorRuntime.mark(function e() { return regeneratorRuntime.wrap(function (e) { for (;;) switch ((e.prev = e.next)) { case 0: return e.abrupt("return", n.e(3265).then(n.t.bind(n, 33452, 19))); case 1: case "end": return e.stop(); } }, e); }) )), function () { return Ge.apply(this, arguments); }), }, ta: { pluralRules: ((He = ne( regeneratorRuntime.mark(function e() { return regeneratorRuntime.wrap(function (e) { for (;;) switch ((e.prev = e.next)) { case 0: return e.abrupt("return", n.e(1193).then(n.t.bind(n, 1574, 23))); case 1: case "end": return e.stop(); } }, e); }) )), function () { return He.apply(this, arguments); }), relativeTimeFormat: ((Ve = ne( regeneratorRuntime.mark(function e() { return regeneratorRuntime.wrap(function (e) { for (;;) switch ((e.prev = e.next)) { case 0: return e.abrupt("return", n.e(6957).then(n.t.bind(n, 85326, 23))); case 1: case "end": return e.stop(); } }, e); }) )), function () { return Ve.apply(this, arguments); }), translation: ((ze = ne( regeneratorRuntime.mark(function e() { return regeneratorRuntime.wrap(function (e) { for (;;) switch ((e.prev = e.next)) { case 0: return e.abrupt("return", n.e(4932).then(n.t.bind(n, 9494, 19))); case 1: case "end": return e.stop(); } }, e); }) )), function () { return ze.apply(this, arguments); }), }, th: { pluralRules: ((Ue = ne( regeneratorRuntime.mark(function e() { return regeneratorRuntime.wrap(function (e) { for (;;) switch ((e.prev = e.next)) { case 0: return e.abrupt("return", n.e(4037).then(n.t.bind(n, 18112, 23))); case 1: case "end": return e.stop(); } }, e); }) )), function () { return Ue.apply(this, arguments); }), relativeTimeFormat: ((Ze = ne( regeneratorRuntime.mark(function e() { return regeneratorRuntime.wrap(function (e) { for (;;) switch ((e.prev = e.next)) { case 0: return e.abrupt("return", n.e(2047).then(n.t.bind(n, 85957, 23))); case 1: case "end": return e.stop(); } }, e); }) )), function () { return Ze.apply(this, arguments); }), translation: ((Be = ne( regeneratorRuntime.mark(function e() { return regeneratorRuntime.wrap(function (e) { for (;;) switch ((e.prev = e.next)) { case 0: return e.abrupt("return", n.e(5245).then(n.t.bind(n, 96575, 19))); case 1: case "end": return e.stop(); } }, e); }) )), function () { return Be.apply(this, arguments); }), }, tr: { pluralRules: ((je = ne( regeneratorRuntime.mark(function e() { return regeneratorRuntime.wrap(function (e) { for (;;) switch ((e.prev = e.next)) { case 0: return e.abrupt("return", n.e(3342).then(n.t.bind(n, 97329, 23))); case 1: case "end": return e.stop(); } }, e); }) )), function () { return je.apply(this, arguments); }), relativeTimeFormat: ((Pe = ne( regeneratorRuntime.mark(function e() { return regeneratorRuntime.wrap(function (e) { for (;;) switch ((e.prev = e.next)) { case 0: return e.abrupt("return", n.e(3501).then(n.t.bind(n, 16454, 23))); case 1: case "end": return e.stop(); } }, e); }) )), function () { return Pe.apply(this, arguments); }), translation: ((Me = ne( regeneratorRuntime.mark(function e() { return regeneratorRuntime.wrap(function (e) { for (;;) switch ((e.prev = e.next)) { case 0: return e.abrupt("return", n.e(9330).then(n.t.bind(n, 39030, 19))); case 1: case "end": return e.stop(); } }, e); }) )), function () { return Me.apply(this, arguments); }), }, uk: { pluralRules: ((Le = ne( regeneratorRuntime.mark(function e() { return regeneratorRuntime.wrap(function (e) { for (;;) switch ((e.prev = e.next)) { case 0: return e.abrupt("return", n.e(3565).then(n.t.bind(n, 72918, 23))); case 1: case "end": return e.stop(); } }, e); }) )), function () { return Le.apply(this, arguments); }), relativeTimeFormat: ((Re = ne( regeneratorRuntime.mark(function e() { return regeneratorRuntime.wrap(function (e) { for (;;) switch ((e.prev = e.next)) { case 0: return e.abrupt("return", n.e(8726).then(n.t.bind(n, 38396, 23))); case 1: case "end": return e.stop(); } }, e); }) )), function () { return Re.apply(this, arguments); }), translation: ((Ne = ne( regeneratorRuntime.mark(function e() { return regeneratorRuntime.wrap(function (e) { for (;;) switch ((e.prev = e.next)) { case 0: return e.abrupt("return", n.e(7063).then(n.t.bind(n, 45901, 19))); case 1: case "end": return e.stop(); } }, e); }) )), function () { return Ne.apply(this, arguments); }), }, vi: { pluralRules: ((xe = ne( regeneratorRuntime.mark(function e() { return regeneratorRuntime.wrap(function (e) { for (;;) switch ((e.prev = e.next)) { case 0: return e.abrupt("return", n.e(3363).then(n.t.bind(n, 90408, 23))); case 1: case "end": return e.stop(); } }, e); }) )), function () { return xe.apply(this, arguments); }), relativeTimeFormat: ((Fe = ne( regeneratorRuntime.mark(function e() { return regeneratorRuntime.wrap(function (e) { for (;;) switch ((e.prev = e.next)) { case 0: return e.abrupt("return", n.e(6854).then(n.t.bind(n, 71614, 23))); case 1: case "end": return e.stop(); } }, e); }) )), function () { return Fe.apply(this, arguments); }), translation: ((Oe = ne( regeneratorRuntime.mark(function e() { return regeneratorRuntime.wrap(function (e) { for (;;) switch ((e.prev = e.next)) { case 0: return e.abrupt("return", n.e(2082).then(n.t.bind(n, 95295, 19))); case 1: case "end": return e.stop(); } }, e); }) )), function () { return Oe.apply(this, arguments); }), }, zh: { pluralRules: ((Ie = ne( regeneratorRuntime.mark(function e() { return regeneratorRuntime.wrap(function (e) { for (;;) switch ((e.prev = e.next)) { case 0: return e.abrupt("return", n.e(906).then(n.t.bind(n, 56786, 23))); case 1: case "end": return e.stop(); } }, e); }) )), function () { return Ie.apply(this, arguments); }), relativeTimeFormat: ((Te = ne( regeneratorRuntime.mark(function e() { return regeneratorRuntime.wrap(function (e) { for (;;) switch ((e.prev = e.next)) { case 0: return e.abrupt("return", n.e(2977).then(n.t.bind(n, 10136, 23))); case 1: case "end": return e.stop(); } }, e); }) )), function () { return Te.apply(this, arguments); }), translation: ((_e = ne( regeneratorRuntime.mark(function e() { return regeneratorRuntime.wrap(function (e) { for (;;) switch ((e.prev = e.next)) { case 0: return e.abrupt("return", n.e(5586).then(n.t.bind(n, 55996, 19))); case 1: case "end": return e.stop(); } }, e); }) )), function () { return _e.apply(this, arguments); }), }, "zh-hans": { pluralRules: ((ke = ne( regeneratorRuntime.mark(function e() { return regeneratorRuntime.wrap(function (e) { for (;;) switch ((e.prev = e.next)) { case 0: return e.abrupt("return", n.e(906).then(n.t.bind(n, 56786, 23))); case 1: case "end": return e.stop(); } }, e); }) )), function () { return ke.apply(this, arguments); }), relativeTimeFormat: ((Ae = ne( regeneratorRuntime.mark(function e() { return regeneratorRuntime.wrap(function (e) { for (;;) switch ((e.prev = e.next)) { case 0: return e.abrupt("return", n.e(2977).then(n.t.bind(n, 10136, 23))); case 1: case "end": return e.stop(); } }, e); }) )), function () { return Ae.apply(this, arguments); }), translation: ((Se = ne( regeneratorRuntime.mark(function e() { return regeneratorRuntime.wrap(function (e) { for (;;) switch ((e.prev = e.next)) { case 0: return e.abrupt("return", n.e(5586).then(n.t.bind(n, 55996, 19))); case 1: case "end": return e.stop(); } }, e); }) )), function () { return Se.apply(this, arguments); }), }, "zh-cn": { pluralRules: ((we = ne( regeneratorRuntime.mark(function e() { return regeneratorRuntime.wrap(function (e) { for (;;) switch ((e.prev = e.next)) { case 0: return e.abrupt("return", n.e(906).then(n.t.bind(n, 56786, 23))); case 1: case "end": return e.stop(); } }, e); }) )), function () { return we.apply(this, arguments); }), relativeTimeFormat: ((Ce = ne( regeneratorRuntime.mark(function e() { return regeneratorRuntime.wrap(function (e) { for (;;) switch ((e.prev = e.next)) { case 0: return e.abrupt("return", n.e(2977).then(n.t.bind(n, 10136, 23))); case 1: case "end": return e.stop(); } }, e); }) )), function () { return Ce.apply(this, arguments); }), translation: ((De = ne( regeneratorRuntime.mark(function e() { return regeneratorRuntime.wrap(function (e) { for (;;) switch ((e.prev = e.next)) { case 0: return e.abrupt("return", n.e(5586).then(n.t.bind(n, 55996, 19))); case 1: case "end": return e.stop(); } }, e); }) )), function () { return De.apply(this, arguments); }), }, "zh-hant": { pluralRules: ((Ee = ne( regeneratorRuntime.mark(function e() { return regeneratorRuntime.wrap(function (e) { for (;;) switch ((e.prev = e.next)) { case 0: return e.abrupt("return", n.e(906).then(n.t.bind(n, 56786, 23))); case 1: case "end": return e.stop(); } }, e); }) )), function () { return Ee.apply(this, arguments); }), relativeTimeFormat: ((be = ne( regeneratorRuntime.mark(function e() { return regeneratorRuntime.wrap(function (e) { for (;;) switch ((e.prev = e.next)) { case 0: return e.abrupt("return", n.e(2977).then(n.t.bind(n, 10136, 23))); case 1: case "end": return e.stop(); } }, e); }) )), function () { return be.apply(this, arguments); }), translation: ((ge = ne( regeneratorRuntime.mark(function e() { return regeneratorRuntime.wrap(function (e) { for (;;) switch ((e.prev = e.next)) { case 0: return e.abrupt("return", n.e(4544).then(n.t.bind(n, 53575, 19))); case 1: case "end": return e.stop(); } }, e); }) )), function () { return ge.apply(this, arguments); }), }, "zh-tw": { pluralRules: ((ye = ne( regeneratorRuntime.mark(function e() { return regeneratorRuntime.wrap(function (e) { for (;;) switch ((e.prev = e.next)) { case 0: return e.abrupt("return", n.e(906).then(n.t.bind(n, 56786, 23))); case 1: case "end": return e.stop(); } }, e); }) )), function () { return ye.apply(this, arguments); }), relativeTimeFormat: ((ve = ne( regeneratorRuntime.mark(function e() { return regeneratorRuntime.wrap(function (e) { for (;;) switch ((e.prev = e.next)) { case 0: return e.abrupt("return", n.e(2977).then(n.t.bind(n, 10136, 23))); case 1: case "end": return e.stop(); } }, e); }) )), function () { return ve.apply(this, arguments); }), translation: ((he = ne( regeneratorRuntime.mark(function e() { return regeneratorRuntime.wrap(function (e) { for (;;) switch ((e.prev = e.next)) { case 0: return e.abrupt("return", n.e(4544).then(n.t.bind(n, 53575, 19))); case 1: case "end": return e.stop(); } }, e); }) )), function () { return he.apply(this, arguments); }), }, zz: { pluralRules: ((me = ne( regeneratorRuntime.mark(function e() { return regeneratorRuntime.wrap(function (e) { for (;;) switch ((e.prev = e.next)) { case 0: return e.abrupt("return", n.e(906).then(n.t.bind(n, 56786, 23))); case 1: case "end": return e.stop(); } }, e); }) )), function () { return me.apply(this, arguments); }), relativeTimeFormat: ((fe = ne( regeneratorRuntime.mark(function e() { return regeneratorRuntime.wrap(function (e) { for (;;) switch ((e.prev = e.next)) { case 0: return e.abrupt("return", n.e(2977).then(n.t.bind(n, 10136, 23))); case 1: case "end": return e.stop(); } }, e); }) )), function () { return fe.apply(this, arguments); }), translation: ((pe = ne( regeneratorRuntime.mark(function e() { return regeneratorRuntime.wrap(function (e) { for (;;) switch ((e.prev = e.next)) { case 0: return e.abrupt("return", n.e(4360).then(n.t.bind(n, 68407, 19))); case 1: case "end": return e.stop(); } }, e); }) )), function () { return pe.apply(this, arguments); }), }, "zz-zz": { pluralRules: ((de = ne( regeneratorRuntime.mark(function e() { return regeneratorRuntime.wrap(function (e) { for (;;) switch ((e.prev = e.next)) { case 0: return e.abrupt("return", n.e(906).then(n.t.bind(n, 56786, 23))); case 1: case "end": return e.stop(); } }, e); }) )), function () { return de.apply(this, arguments); }), relativeTimeFormat: ((ue = ne( regeneratorRuntime.mark(function e() { return regeneratorRuntime.wrap(function (e) { for (;;) switch ((e.prev = e.next)) { case 0: return e.abrupt("return", n.e(2977).then(n.t.bind(n, 10136, 23))); case 1: case "end": return e.stop(); } }, e); }) )), function () { return ue.apply(this, arguments); }), translation: ((le = ne( regeneratorRuntime.mark(function e() { return regeneratorRuntime.wrap(function (e) { for (;;) switch ((e.prev = e.next)) { case 0: return e.abrupt("return", n.e(4360).then(n.t.bind(n, 68407, 19))); case 1: case "end": return e.stop(); } }, e); }) )), function () { return le.apply(this, arguments); }), }, zu: { pluralRules: ((ce = ne( regeneratorRuntime.mark(function e() { return regeneratorRuntime.wrap(function (e) { for (;;) switch ((e.prev = e.next)) { case 0: return e.abrupt("return", n.e(906).then(n.t.bind(n, 56786, 23))); case 1: case "end": return e.stop(); } }, e); }) )), function () { return ce.apply(this, arguments); }), relativeTimeFormat: ((se = ne( regeneratorRuntime.mark(function e() { return regeneratorRuntime.wrap(function (e) { for (;;) switch ((e.prev = e.next)) { case 0: return e.abrupt("return", n.e(2977).then(n.t.bind(n, 10136, 23))); case 1: case "end": return e.stop(); } }, e); }) )), function () { return se.apply(this, arguments); }), translation: ((ie = ne( regeneratorRuntime.mark(function e() { return regeneratorRuntime.wrap(function (e) { for (;;) switch ((e.prev = e.next)) { case 0: return e.abrupt("return", n.e(4360).then(n.t.bind(n, 68407, 19))); case 1: case "end": return e.stop(); } }, e); }) )), function () { return ie.apply(this, arguments); }), }, "zu-zu": { pluralRules: ((ae = ne( regeneratorRuntime.mark(function e() { return regeneratorRuntime.wrap(function (e) { for (;;) switch ((e.prev = e.next)) { case 0: return e.abrupt("return", n.e(906).then(n.t.bind(n, 56786, 23))); case 1: case "end": return e.stop(); } }, e); }) )), function () { return ae.apply(this, arguments); }), relativeTimeFormat: ((oe = ne( regeneratorRuntime.mark(function e() { return regeneratorRuntime.wrap(function (e) { for (;;) switch ((e.prev = e.next)) { case 0: return e.abrupt("return", n.e(2977).then(n.t.bind(n, 10136, 23))); case 1: case "end": return e.stop(); } }, e); }) )), function () { return oe.apply(this, arguments); }), translation: ((re = ne( regeneratorRuntime.mark(function e() { return regeneratorRuntime.wrap(function (e) { for (;;) switch ((e.prev = e.next)) { case 0: return e.abrupt("return", n.e(4360).then(n.t.bind(n, 68407, 19))); case 1: case "end": return e.stop(); } }, e); }) )), function () { return re.apply(this, arguments); }), }, }, vn = function (e) { var t = (0, r.useContext)(J.ZP), a = t.typekitId, i = t.locale, s = t.theme, c = t.spectrumUIScale, l = (t.themeType, e.addSpectrum), u = e.children, d = e.style, p = e.localeStringOverrides, f = i.toLowerCase(); hn[f] || (f = "fil-ph" === f ? "fil" : hn[f.substring(0, 2)] ? f.substring(0, 2) : "en"); var m, h, v = ((m = (0, r.useState)(mn)), (h = 2), (function (e) { if (Array.isArray(e)) return e; })(m) || (function (e, t) { var n = null == e ? null : ("undefined" != typeof Symbol && e[Symbol.iterator]) || e["@@iterator"]; if (null != n) { var r, o, a = [], i = !0, s = !1; try { for (n = n.call(e); !(i = (r = n.next()).done) && (a.push(r.value), !t || a.length !== t); i = !0); } catch (e) { (s = !0), (o = e); } finally { try { i || null == n.return || n.return(); } finally { if (s) throw o; } } return a; } })(m, h) || (function (e, t) { if (e) { if ("string" == typeof e) return ee(e, t); var n = Object.prototype.toString.call(e).slice(8, -1); return "Object" === n && e.constructor && (n = e.constructor.name), "Map" === n || "Set" === n ? Array.from(e) : "Arguments" === n || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n) ? ee(e, t) : void 0; } })(m, h) || (function () { throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); })()), y = v[0], g = v[1]; (0, r.useEffect)( function () { var e = (function () { var e = ne( regeneratorRuntime.mark(function e(t) { var r, o; return regeneratorRuntime.wrap(function (e) { for (;;) switch ((e.prev = e.next)) { case 0: if (((r = (0, q.shouldPolyfill)(t)), (o = (0, Y.shouldPolyfill)(t)), !r)) { e.next = 7; break; } return (e.next = 5), n.e(5223).then(n.bind(n, 85223)); case 5: return (e.next = 7), hn[t].pluralRules(); case 7: if (!o) { e.next = 12; break; } return (e.next = 10), n.e(3784).then(n.bind(n, 43784)); case 10: return (e.next = 12), hn[t].relativeTimeFormat(); case 12: case "end": return e.stop(); } }, e); }) ); return function (t) { return e.apply(this, arguments); }; })(), t = (function () { var e = ne( regeneratorRuntime.mark(function e(t) { var n; return regeneratorRuntime.wrap(function (e) { for (;;) switch ((e.prev = e.next)) { case 0: return (e.next = 2), hn[t].translation(); case 2: (n = e.sent), g(n); case 4: case "end": return e.stop(); } }, e); }) ); return function (t) { return e.apply(this, arguments); }; })(); "en" === f ? g(mn) : (e(f), t(f)); }, [f] ); var b = (0, r.useMemo)( function () { return K({ height: "100%" }, d); }, [d] ), E = (0, r.useMemo)( function () { return K(K({}, y), p[f]); }, [p, f, y] ), D = u; return l && (D = o().createElement(Q(), { locale: fn[f], scale: c, style: b, theme: s, typekitId: a }, D)), o().createElement(G, { key: f, locale: f, messages: E }, D); }; (vn.propTypes = { addSpectrum: i().bool, children: i().node, style: i().object, localeStringOverrides: i().object }), (vn.defaultProps = { addSpectrum: !0, localeStringOverrides: {} }); const yn = vn; }, 47107: (e, t, n) => { "use strict"; function r(e) { return ( (r = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (e) { return typeof e; } : function (e) { return e && "function" == typeof Symbol && e.constructor === Symbol && e !== Symbol.prototype ? "symbol" : typeof e; }), r(e) ); } t.Z = void 0; var o = (function (e) { if (e && e.__esModule) return e; if (null === e || ("object" !== r(e) && "function" != typeof e)) return { default: e }; var t = l(); if (t && t.has(e)) return t.get(e); var n = {}, o = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var a in e) if (Object.prototype.hasOwnProperty.call(e, a)) { var i = o ? Object.getOwnPropertyDescriptor(e, a) : null; i && (i.get || i.set) ? Object.defineProperty(n, a, i) : (n[a] = e[a]); } return (n.default = e), t && t.set(e, n), n; })(n(23469)), a = c(n(47776)), i = c(n(7846)), s = n(2589); function c(e) { return e && e.__esModule ? e : { default: e }; } function l() { if ("function" != typeof WeakMap) return null; var e = new WeakMap(); return ( (l = function () { return e; }), e ); } function u(e, t) { var n = Object.keys(e); if (Object.getOwnPropertySymbols) { var r = Object.getOwnPropertySymbols(e); t && (r = r.filter(function (t) { return Object.getOwnPropertyDescriptor(e, t).enumerable; })), n.push.apply(n, r); } return n; } function d(e) { for (var t = 1; t < arguments.length; t++) { var n = null != arguments[t] ? arguments[t] : {}; t % 2 ? u(Object(n), !0).forEach(function (t) { p(e, t, n[t]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : u(Object(n)).forEach(function (t) { Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t)); }); } return e; } function p(e, t, n) { return t in e ? Object.defineProperty(e, t, { value: n, enumerable: !0, configurable: !0, writable: !0 }) : (e[t] = n), e; } var f = function (e) { var t = !0; if ( (e.disabled && (t = !1), "prod" !== e.env && "production" !== e.env && (e.project || (console.error("When instantiated the Ingest Provider component must be given a project prop."), (t = !1)), e.apiKey || (console.error("When instantiated the Ingest Provider component must be given an apiKey prop."), (t = !1)), e.token || e.allowNoToken || (console.error("When instantiated the Ingest Provider component must be given a token prop."), (t = !1))), t) ) return (0, i.default)(e); }, m = o.default.forwardRef(function (e, t) { var n = (0, o.useContext)(s.IngestContext) || {}, r = f(e), a = (0, o.useMemo)( function () { return r ? d({}, n, p({}, e.project, r)) : d({}, n); }, [r] ); return ( (0, o.useEffect)( function () { return function () { var t = f(e); (t || (e.disabled && t)) && t.delete(); }; }, [e.project, e.disabled] ), (0, o.useImperativeHandle)( t, function () { return { getController: function () { return a[e.project]; }, }; }, [a] ), o.default.createElement(s.IngestContext.Provider, { value: a }, e.children) ); }); (m.displayName = "IngestProvider"), (m.defaultProps = { disabled: !1, env: "stage" }), (m.propTypes = { allowNoToken: a.default.bool, apiKey: a.default.string.isRequired, data: a.default.object, debounce: a.default.number, disabled: a.default.bool, children: a.default.node, env: a.default.string, ingestType: a.default.string, maQueuedEvents: a.default.number, onLog: a.default.func, product: a.default.string, productLocation: a.default.string, project: a.default.string.isRequired, timestampPropertyName: a.default.string, token: a.default.string, userRegion: a.default.string, }); var h = m; t.Z = h; }, 2589: (e, t, n) => { "use strict"; var r; Object.defineProperty(t, "__esModule", { value: !0 }), (t.IngestContext = void 0); var o = ((r = n(23469)) && r.__esModule ? r : { default: r }).default.createContext({ fireEvent: function () { return new Promise(function (e) { return e(); }); }, }); t.IngestContext = o; }, 7846: (e, t, n) => { "use strict"; Object.defineProperty(t, "__esModule", { value: !0 }), (t.default = void 0); var r = i(n(43235)), o = i(n(69611)), a = i(n(21429)); function i(e) { return e && e.__esModule ? e : { default: e }; } function s(e) { return ( (s = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (e) { return typeof e; } : function (e) { return e && "function" == typeof Symbol && e.constructor === Symbol && e !== Symbol.prototype ? "symbol" : typeof e; }), s(e) ); } function c(e, t) { for (var n = 0; n < t.length; n++) { var r = t[n]; (r.enumerable = r.enumerable || !1), (r.configurable = !0), "value" in r && (r.writable = !0), Object.defineProperty(e, r.key, r); } } var l = { fireEvent: function () { return Promise.resolve(); }, flush: function () { return Promise.resolve(); }, }, u = (function () { function e(t) { !(function (e, t) { if (!(e instanceof t)) throw new TypeError("Cannot call a class as a function"); })(this, e), this.configure(t), (this.offlineQueue = []), (this.fireEvent = this.fireEvent.bind(this)), (this.fireQueuedEvents = this.fireQueuedEvents.bind(this)), (this._sessionGuid = (0, o.default)()), window.addEventListener("online", this.fireQueuedEvents); } var t, n; return ( (t = e), (n = [ { key: "configure", value: function (e) { var t = e.token, n = e.onLog; if (e.apiInstance) this._ingestApi = e.apiInstance; else { var r = { getAccessToken: function (e) { e(null, t); }, log: function (e) { n && n(e); }, }, o = { ENVIRONMENT: e.env, ALLOW_NO_TOKEN: e.allowNoToken, ANALYTICS_API_KEY: e.apiKey, ANALYTICS_PROJECT: e.project, ANALYTICS_X_PRODUCT: e.product, ANALYTICS_X_PRODUCT_LOCATION: e.productLocation, ANALYTICS_MAX_QUEUED_EVENTS: e.maxQueuedEvents, ANALYTICS_DEBOUNCE: e.debounce, ANALYTICS_USER_REGION: e.userRegion, ANALYTICS_INGEST_TYPE: e.ingestType, TIMESTAMP_PROPERTY_NAME: e.timestampPropertyName, }, i = new a.default(r, o); i.enable(!0), (this._ingestApi = i); } this.updateData(e.data), (this.project = e.project), (this.fireEventCb = e.fireEventCallback || function () {}); }, }, { key: "updateData", value: function (e) { this._baseData = e; }, }, { key: "_flattenObj", value: function (e, t, n) { var r = this; return ( Object.keys(e).forEach(function (o) { var a = e[o], i = n ? "".concat(n, ".").concat(o) : o; !a || "object" !== s(a) || a instanceof Date ? (t[i] = a) : r._flattenObj(a, t, i); }), t ); }, }, { key: "fireQueuedEvents", value: function () { var e = this; this.offlineQueue.forEach(function (t) { var n = t.augmentedData, r = t.fireImmediately, o = t.options, a = t.mergeBaseData; e.fireEvent(n, r, o, a); }), (this.offlineQueue = []); }, }, { key: "fireEvent", value: function () { var e = this, t = arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : {}, n = arguments.length > 1 ? arguments[1] : void 0, a = arguments.length > 2 ? arguments[2] : void 0, i = !(arguments.length > 3 && void 0 !== arguments[3]) || arguments[3]; return new Promise(function (s, c) { var l = {}; if (i) { var u, d, p, f = (0, r.default)({}, e._baseData) || {}; f.event || (f.event = {}), (f.event.session_guid = null !== (u = f.event.session_guid) && void 0 !== u ? u : e._sessionGuid), (f.event.guid = null !== (d = f.event.guid) && void 0 !== d ? d : (0, o.default)()), (f.event.offline = null !== (p = f.event.offline) && void 0 !== p ? p : (!navigator.onLine).toString()), (0, r.default)(l, f, t); } else l = t; var m = e._flattenObj(l, {}), h = function (t) { t ? c(t) : (e.fireEventCb(l), s(m)); }; navigator.onLine ? (e._ingestApi.postEvent(m, n ? void 0 : h, a), n && e._ingestApi.flush(!0, h)) : (s(m), e.offlineQueue.push({ augmentedData: l, fireImmediately: n, options: a, mergeBaseData: !1 })); }); }, }, { key: "flush", value: function () { var e = this; return new Promise(function (t, n) { e._ingestApi.flush(!0, function (e) { e ? n(e) : t(); }); }); }, }, { key: "delete", value: function () { window.removeEventListener("online", this.fireQueuedEvents), (this.offlineQueue = []), delete l[this.project]; }, }, ]), n && c(t.prototype, n), e ); })(); function d(e) { var t; return l[e.project] ? (t = l[e.project]).configure(e) : ((t = new u(e)), (l[e.project] = t)), t; } d.getInstance = function (e) { return l[e] || l; }; var p = d; t.default = p; }, 79883: (e, t, n) => { "use strict"; t.default = function (e) { return function (t) { return (function (n) { function r(e) { var t; return ( (function (e, t) { if (!(e instanceof t)) throw new TypeError("Cannot call a class as a function"); })(this, r), ((t = (function (e, t) { return !t || ("object" !== i(t) && "function" != typeof t) ? u(e) : t; })(this, l(r).call(this, e))).handleWrappedRef = t.handleWrappedRef.bind(u(t))), t ); } return ( (function (e, t) { if ("function" != typeof t && null !== t) throw new TypeError("Super expression must either be null or a function"); (e.prototype = Object.create(t && t.prototype, { constructor: { value: e, writable: !0, configurable: !0 } })), t && d(e, t); })(r, n), (p = r), (f = [ { key: "getWrappedInstance", value: function () { return this._wrappedRef; }, }, { key: "handleWrappedRef", value: function (e) { this._wrappedRef = e; }, }, { key: "render", value: function () { var n = this; return o.default.createElement(a.IngestContext.Consumer, null, function (r) { var a; return (a = e && r && r[e] ? r[e] : r), o.default.createElement(t, s({ ref: n.handleWrappedRef }, n.props, { ccxIngest: a })); }); }, }, ]) && c(p.prototype, f), r ); var p, f; })(o.default.Component); }; }; var r, o = (r = n(23469)) && r.__esModule ? r : { default: r }, a = n(2589); function i(e) { return ( (i = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (e) { return typeof e; } : function (e) { return e && "function" == typeof Symbol && e.constructor === Symbol && e !== Symbol.prototype ? "symbol" : typeof e; }), i(e) ); } function s() { return ( (s = Object.assign || function (e) { for (var t = 1; t < arguments.length; t++) { var n = arguments[t]; for (var r in n) Object.prototype.hasOwnProperty.call(n, r) && (e[r] = n[r]); } return e; }), s.apply(this, arguments) ); } function c(e, t) { for (var n = 0; n < t.length; n++) { var r = t[n]; (r.enumerable = r.enumerable || !1), (r.configurable = !0), "value" in r && (r.writable = !0), Object.defineProperty(e, r.key, r); } } function l(e) { return ( (l = Object.setPrototypeOf ? Object.getPrototypeOf : function (e) { return e.__proto__ || Object.getPrototypeOf(e); }), l(e) ); } function u(e) { if (void 0 === e) throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); return e; } function d(e, t) { return ( (d = Object.setPrototypeOf || function (e, t) { return (e.__proto__ = t), e; }), d(e, t) ); } }, 48422: (e, t, n) => { "use strict"; t.default = void 0; var r = n(23469), o = n(2589); t.default = function (e) { var t = (0, r.useContext)(o.IngestContext); return t[e] || t; }; }, 94055: (e, t, n) => { n(47107).Z, (t.ccxController = n(7846).default), (t.ccxIngest = n(79883).default), n(2589).IngestContext, (t.useCCXIngest = n(48422).default); }, 99682: (e, t, n) => { "use strict"; var r = n(86633); t.Z = void 0; var o = r(n(17555)), a = r(n(2400)), i = r(n(80034)), s = r(n(15270)), c = r(n(19854)), l = r(n(33470)), u = r(n(69892)), d = n(12434); function p(e, t) { var n = Object.keys(e); if (Object.getOwnPropertySymbols) { var r = Object.getOwnPropertySymbols(e); t && (r = r.filter(function (t) { return Object.getOwnPropertyDescriptor(e, t).enumerable; })), n.push.apply(n, r); } return n; } function f(e) { for (var t = 1; t < arguments.length; t++) { var n = null != arguments[t] ? arguments[t] : {}; t % 2 ? p(Object(n), !0).forEach(function (t) { (0, o.default)(e, t, n[t]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : p(Object(n)).forEach(function (t) { Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t)); }); } return e; } var m = (function (e) { (0, s.default)(o, e); var t, n, r = ((t = o), (n = (function () { if ("undefined" == typeof Reflect || !Reflect.construct) return !1; if (Reflect.construct.sham) return !1; if ("function" == typeof Proxy) return !0; try { return Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})), !0; } catch (e) { return !1; } })()), function () { var e, r = (0, l.default)(t); if (n) { var o = (0, l.default)(this).constructor; e = Reflect.construct(r, arguments, o); } else e = r.apply(this, arguments); return (0, c.default)(this, e); }); function o() { return (0, a.default)(this, o), r.apply(this, arguments); } return ( (0, i.default)(o, [ { key: "_createUrl", value: function (e) { return "v4" === this.apiVersion.toLowerCase() ? "".concat(this._endpoint, "/accessrequests/").concat(e) : "".concat(this._endpoint, "/accessrequests"); }, }, { key: "get", value: function (e) { var t = e.orderBy, n = void 0 === t ? "-requesttime" : t, r = e.types, o = void 0 === r ? [] : r, a = e.limit, i = void 0 === a ? 10 : a, s = e.resourceUrn, c = { limit: i, orderBy: n, resourceUrn: void 0, types: o }, l = this._createUrl(s); return "V3" === this.apiVersion.toUpperCase() && (c.resourceUrn = s), this.getRequest({ params: c, url: l }); }, }, { key: "getNextPage", value: function (e) { return this.getRequest({ url: e }); }, }, { key: "request", value: function (e) { var t = e.canComment, n = e.canShare, r = e.locale, o = void 0 === r ? "EN_US" : r, a = e.message, i = e.notifyCollaborators, s = e.resourceUrn, c = e.role, l = e.targetUrl, u = e.templateName; if (s && u) { var d = { email: { locale: o, templateName: u }, notifyCollaborators: i, parameters: { message: a, targetUrl: l } }, p = c ? { notification: d, requestedPermissions: { canComment: t, canShare: n, role: c }, resourceUrn: s } : { notification: d, resourceUrn: s }, f = "".concat(this._endpoint, "/accessrequests"); return this.postRequest({ params: p, url: f }); } throw new Error("Access Requests create failed."); }, }, { key: "respond", value: function () { var e = arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : {}, t = e.action, n = e.canComment, r = e.canShare, o = e.locale, a = void 0 === o ? "EN_US" : o, i = e.message, s = e.requesterId, c = e.targetUrl, l = e.resourceUrn, u = e.role, d = e.templateName, p = e.useMounts; if (l && s && t && d && (("grant" === t && u) || "reject" === t)) { var m = { action: t, role: u, requesterId: s, resourceUrn: l, notification: { email: { templateName: d, locale: a }, parameters: { targetUrl: c, message: i } }, useMounts: p }, h = "".concat(this._endpoint, "/accessrequests/ops"); if ("grant" === t) { var v = f(f({}, m), {}, { canComment: n, canShare: r }); return this.postRequest({ params: v, url: h }); } return this.postRequest({ params: m, url: h }); } throw new Error("accessrequests.respond failed"); }, }, { key: "grant", value: function (e) { var t = f(f({}, e), {}, { action: "grant" }); return this.respond(t); }, }, { key: "reject", value: function (e) { var t = f(f({}, e), {}, { action: "reject" }); return this.respond(t); }, }, ]), o ); })(u.default), h = (0, d.InstanceCreator)(m, {}); t.Z = h; }, 52081: (e, t, n) => { "use strict"; var r = n(86633); t.Z = void 0; var o = r(n(2400)), a = r(n(80034)), i = r(n(15270)), s = r(n(19854)), c = r(n(33470)), l = r(n(22779)), u = r(n(69892)), d = n(12434); var p = (function (e) { (0, i.default)(u, e); var t, n, r = ((t = u), (n = (function () { if ("undefined" == typeof Reflect || !Reflect.construct) return !1; if (Reflect.construct.sham) return !1; if ("function" == typeof Proxy) return !0; try { return Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})), !0; } catch (e) { return !1; } })()), function () { var e, r = (0, c.default)(t); if (n) { var o = (0, c.default)(this).constructor; e = Reflect.construct(r, arguments, o); } else e = r.apply(this, arguments); return (0, s.default)(this, e); }); function u() { return (0, o.default)(this, u), r.apply(this, arguments); } return ( (0, a.default)(u, [ { key: "_createUrl", value: function (e) { if (!e && "V4" === this.apiVersion.toUpperCase()) throw new Error("Missing Resource URN"); if (e) return "V4" === this.apiVersion.toUpperCase() ? "".concat(this.endpoint, "/auth/").concat(encodeURIComponent(e)) : "".concat(this.endpoint, "/auth/urn/").concat(encodeURIComponent(e)); }, }, { key: "get", value: function () { var e = arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : {}, t = e.cdnAcceleration, n = void 0 !== t && t, r = e.resourceUrn, o = e.sharingPassword, a = this._createUrl(r), i = { cdnAcceleration: n }, s = o || this.sharingPassword, c = s ? { "X-Sharing-Password": (0, l.default)(s) } : null; if (!r) throw new Error("Missing Resource Urn"); return this.getRequest({ url: a, headers: c, params: i }); }, }, ]), u ); })(u.default), f = (0, d.InstanceCreator)(p, {}); t.Z = f; }, 6650: (e, t, n) => { "use strict"; var r = n(86633); t.Z = void 0; var o = r(n(2400)), a = r(n(80034)), i = r(n(15270)), s = r(n(19854)), c = r(n(33470)), l = r(n(69892)), u = n(12434); var d = (function (e) { (0, i.default)(l, e); var t, n, r = ((t = l), (n = (function () { if ("undefined" == typeof Reflect || !Reflect.construct) return !1; if (Reflect.construct.sham) return !1; if ("function" == typeof Proxy) return !0; try { return Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})), !0; } catch (e) { return !1; } })()), function () { var e, r = (0, c.default)(t); if (n) { var o = (0, c.default)(this).constructor; e = Reflect.construct(r, arguments, o); } else e = r.apply(this, arguments); return (0, s.default)(this, e); }); function l() { return (0, o.default)(this, l), r.apply(this, arguments); } return ( (0, a.default)(l, [ { key: "_createUrl", value: function (e, t) { var n = (0, u.getUrn)(e); if (!n && "V4" === this.apiVersion.toUpperCase()) throw new Error("Missing Resource URN"); return n ? "V4" === this.apiVersion.toUpperCase() ? "".concat(this.endpoint, "/capabilities/").concat(t ? n : encodeURIComponent(n)) : "".concat(this.endpoint, "/capabilities/urn/").concat(t ? n : encodeURIComponent(n)) : "".concat(this.endpoint, "/capabilities/").concat(t ? (0, u.getUrlPath)(e) : (0, u.encodeURIComponentEachSubdomain)((0, u.getUrlPath)(e))); }, }, { key: "get", value: function (e) { var t = e || {}, n = t.resourceUrl, r = t.skipUriEncoding, o = t.params, a = void 0 === o ? { extraFeatures: "orgEverybody" } : o; if (!n) throw new Error("Missing Resource Path"); return this.getRequest({ params: a, url: this._createUrl(n, r) }); }, }, ]), l ); })(l.default), p = (0, u.InstanceCreator)(d, {}); t.Z = p; }, 99533: (e, t, n) => { "use strict"; var r = n(86633); t.ZP = void 0; var o = r(n(2400)), a = r(n(80034)), i = r(n(15270)), s = r(n(19854)), c = r(n(33470)), l = r(n(69892)), u = n(12434); var d = { stage: "https://platform-cs-stage.adobe.io/index", prod: "https://platform-cs.adobe.io/index" }, p = (function (e) { (0, i.default)(l, e); var t, n, r = ((t = l), (n = (function () { if ("undefined" == typeof Reflect || !Reflect.construct) return !1; if (Reflect.construct.sham) return !1; if ("function" == typeof Proxy) return !0; try { return Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})), !0; } catch (e) { return !1; } })()), function () { var e, r = (0, c.default)(t); if (n) { var o = (0, c.default)(this).constructor; e = Reflect.construct(r, arguments, o); } else e = r.apply(this, arguments); return (0, s.default)(this, e); }); function l() { return (0, o.default)(this, l), r.apply(this, arguments); } return ( (0, a.default)(l, [ { key: "get", value: function () { var e = d[this.environment]; return this.getRequest({ url: e }); }, }, ]), l ); })(l.default), f = (0, u.InstanceCreator)(p, {}); t.ZP = f; }, 56415: (e, t, n) => { "use strict"; var r = n(86633); t.Z = void 0; var o = r(n(2400)), a = r(n(80034)), i = r(n(15270)), s = r(n(19854)), c = r(n(33470)), l = r(n(69892)), u = n(12434); var d = (function (e) { (0, i.default)(l, e); var t, n, r = ((t = l), (n = (function () { if ("undefined" == typeof Reflect || !Reflect.construct) return !1; if (Reflect.construct.sham) return !1; if ("function" == typeof Proxy) return !0; try { return Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})), !0; } catch (e) { return !1; } })()), function () { var e, r = (0, c.default)(t); if (n) { var o = (0, c.default)(this).constructor; e = Reflect.construct(r, arguments, o); } else e = r.apply(this, arguments); return (0, s.default)(this, e); }); function l() { return (0, o.default)(this, l), r.apply(this, arguments); } return ( (0, a.default)(l, [ { key: "create", value: function () { var e = arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : {}, t = "".concat(this._endpoint, "/invitations"), n = e.resourceUrl, r = e.recipients, o = e.role, a = e.useMounts, i = e.acceptanceRequired, s = e.ansNotification, c = e.emailNotification, l = e.message, u = { acceptanceRequired: i, captcha: e.recaptcha, notification: { ans: s, email: c, parameters: { message: l, resourceViewUrl: e.resourceViewUrl } }, recipients: r, resourceUrl: n, role: o, useMounts: a }; return this.postRequest({ url: t, params: u }); }, }, ]), l ); })(l.default), p = (0, u.InstanceCreator)(d, {}); t.Z = p; }, 50307: (e, t, n) => { "use strict"; var r = n(86633); t.Z = void 0; var o = r(n(2400)), a = r(n(80034)), i = r(n(15270)), s = r(n(19854)), c = r(n(33470)), l = r(n(69892)), u = n(12434); var d = (function (e) { (0, i.default)(l, e); var t, n, r = ((t = l), (n = (function () { if ("undefined" == typeof Reflect || !Reflect.construct) return !1; if (Reflect.construct.sham) return !1; if ("function" == typeof Proxy) return !0; try { return Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})), !0; } catch (e) { return !1; } })()), function () { var e, r = (0, c.default)(t); if (n) { var o = (0, c.default)(this).constructor; e = Reflect.construct(r, arguments, o); } else e = r.apply(this, arguments); return (0, s.default)(this, e); }); function l() { return (0, o.default)(this, l), r.apply(this, arguments); } return ( (0, a.default)(l, [ { key: "get", value: function () { var e = arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : {}, t = e.orderBy, n = void 0 === t ? "+sharedate" : t, r = e.types, o = void 0 === r ? [] : r, a = e.limit, i = void 0 === a ? 10 : a, s = "" .concat(this.endpoint, "/resources?orderBy=") .concat(encodeURIComponent(n), "&type=") .concat(encodeURIComponent(o.join(",")), "&limit=") .concat(i); return this.getRequest({ url: s }); }, }, { key: "getNextPage", value: function (e) { return this.getRequest({ url: e }); }, }, ]), l ); })(l.default), p = (0, u.InstanceCreator)(d, {}); t.Z = p; }, 84626: (e, t, n) => { "use strict"; var r = n(86633); t.Z = void 0; var o = r(n(2400)), a = r(n(80034)), i = r(n(15270)), s = r(n(19854)), c = r(n(33470)), l = r(n(69892)), u = n(12434); var d = (function (e) { (0, i.default)(l, e); var t, n, r = ((t = l), (n = (function () { if ("undefined" == typeof Reflect || !Reflect.construct) return !1; if (Reflect.construct.sham) return !1; if ("function" == typeof Proxy) return !0; try { return Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})), !0; } catch (e) { return !1; } })()), function () { var e, r = (0, c.default)(t); if (n) { var o = (0, c.default)(this).constructor; e = Reflect.construct(r, arguments, o); } else e = r.apply(this, arguments); return (0, s.default)(this, e); }); function l() { return (0, o.default)(this, l), r.apply(this, arguments); } return ( (0, a.default)(l, [ { key: "get", value: function (e) { var t = arguments.length > 1 && void 0 !== arguments[1] && arguments[1], n = "".concat(this._endpoint, "/share/urn/").concat(e), r = { cdnAcceleration: t }, o = { "x-sharing-password": btoa(this.sharingPassword) }; return this.getRequest({ url: n, headers: o, params: r }); }, }, ]), l ); })(l.default), p = (0, u.InstanceCreator)(d, {}); t.Z = p; }, 30658: (e, t, n) => { "use strict"; var r = n(86633); t.Z = void 0; var o = r(n(2400)), a = r(n(80034)), i = r(n(15270)), s = r(n(19854)), c = r(n(33470)), l = r(n(20097)), u = r(n(69892)), d = n(12434); var p = (function (e) { (0, i.default)(u, e); var t, n, r = ((t = u), (n = (function () { if ("undefined" == typeof Reflect || !Reflect.construct) return !1; if (Reflect.construct.sham) return !1; if ("function" == typeof Proxy) return !0; try { return Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})), !0; } catch (e) { return !1; } })()), function () { var e, r = (0, c.default)(t); if (n) { var o = (0, c.default)(this).constructor; e = Reflect.construct(r, arguments, o); } else e = r.apply(this, arguments); return (0, s.default)(this, e); }); function u() { return (0, o.default)(this, u), r.apply(this, arguments); } return ( (0, a.default)(u, [ { key: "_createUrl", value: function (e) { var t = (0, d.getUrn)(e); if (!t && "V4" === this.apiVersion.toUpperCase()) throw new Error("Missing Resource URN"); return t ? "V4" === this.apiVersion.toUpperCase() ? "".concat(this.endpoint, "/share/").concat(encodeURIComponent(t)) : "".concat(this.endpoint, "/share/urn/").concat(encodeURIComponent(t)) : "".concat(this.endpoint, "/share/").concat((0, d.encodeURIComponentEachSubdomain)((0, d.getUrlPath)(e))); }, }, { key: "get", value: function (e) { var t = e || {}, n = t.params, r = void 0 === n ? { fields: "descendants", extraFeatures: "orgEverybody" } : n, o = t.resourceUrl; if (!o) throw new Error("Missing Resource resource Url"); return this.getRequest({ url: this._createUrl(o), params: r }); }, }, { key: "patch", value: function (e) { var t = e || { request: {} }, n = t.direct, r = t.request, o = void 0 === r ? {} : r, a = t.resourceUrl; if (!a || (0, l.default)(o) < 1) throw new Error("Missing Resource Path or Request paramaters"); var i = n ? "".concat(this._createUrl(a), "?mode=direct_acl") : this._createUrl(a); return this.patchRequest({ url: i, params: o }); }, }, { key: "post", value: function (e) { var t = e || { request: {} }, n = t.direct, r = t.request, o = void 0 === r ? {} : r, a = t.resourceUrl; if (!a || (0, l.default)(o) < 1) throw new Error("Missing Resource Path or Request paramaters"); var i = n ? "".concat(this._createUrl(a), "?mode=direct_acl") : this._createUrl(a); return this.postRequest({ url: i, params: o }); }, }, ]), u ); })(u.default), f = (0, d.InstanceCreator)(p, {}); t.Z = f; }, 79027: (e, t, n) => { "use strict"; var r = n(86633); t.ZP = void 0; var o = r(n(17555)), a = r(n(2400)), i = r(n(80034)), s = r(n(15270)), c = r(n(19854)), l = r(n(33470)), u = r(n(20097)), d = r(n(69892)), p = n(12434); function f(e, t) { var n = Object.keys(e); if (Object.getOwnPropertySymbols) { var r = Object.getOwnPropertySymbols(e); t && (r = r.filter(function (t) { return Object.getOwnPropertyDescriptor(e, t).enumerable; })), n.push.apply(n, r); } return n; } function m(e) { for (var t = 1; t < arguments.length; t++) { var n = null != arguments[t] ? arguments[t] : {}; t % 2 ? f(Object(n), !0).forEach(function (t) { (0, o.default)(e, t, n[t]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : f(Object(n)).forEach(function (t) { Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t)); }); } return e; } var h = { stage: "https://platform-cs-stage.adobe.io/content", prod: "https://platform-cs.adobe.io/content" }, v = (function (e) { (0, s.default)(o, e); var t, n, r = ((t = o), (n = (function () { if ("undefined" == typeof Reflect || !Reflect.construct) return !1; if (Reflect.construct.sham) return !1; if ("function" == typeof Proxy) return !0; try { return Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})), !0; } catch (e) { return !1; } })()), function () { var e, r = (0, l.default)(t); if (n) { var o = (0, l.default)(this).constructor; e = Reflect.construct(r, arguments, o); } else e = r.apply(this, arguments); return (0, c.default)(this, e); }); function o() { return (0, a.default)(this, o), r.apply(this, arguments); } return ( (0, i.default)(o, [ { key: "get", value: function (e, t, n) { var r = m(m({}, n), t && { etag: t }); if (!e) throw new Error("Missing request paramaters url"); return this.getRequest({ headers: r, url: e }); }, }, { key: "head", value: function (e) { var t = "".concat(h[this.environment], "/directory/resolve?id=").concat(e); if (!e) throw new Error("Missing request id"); return this.headRequest({ headers: { "content-type": "application/vnd.adobecloud.accesscontrolpolicy+json" }, url: t }); }, }, { key: "patch", value: function (e, t, n) { var r = { "content-type": "application/json-patch+json", "If-Match": n }; if (!e || (0, u.default)(t) < 1 || !n) throw new Error("Missing request paramaters"); return this.patchRequest({ headers: r, params: t, url: e }); }, }, { key: "put", value: function (e, t, n) { var r = { etag: n }; if (!e || (0, u.default)(t) < 1 || !n) throw new Error("Missing request paramaters"); return this.putRequest({ headers: r, params: t, url: e }); }, }, ]), o ); })(d.default), y = (0, p.InstanceCreator)(v, {}); t.ZP = y; }, 69892: (e, t, n) => { "use strict"; var r = n(86633); Object.defineProperty(t, "__esModule", { value: !0 }), (t.NormalizeApiResponseException = m), (t.default = void 0); var o = r(n(20578)), a = r(n(8012)), i = r(n(2400)), s = r(n(80034)), c = r(n(17555)), l = r(n(20097)), u = r(n(47169)), d = n(12434); function p(e, t) { var n = Object.keys(e); if (Object.getOwnPropertySymbols) { var r = Object.getOwnPropertySymbols(e); t && (r = r.filter(function (t) { return Object.getOwnPropertyDescriptor(e, t).enumerable; })), n.push.apply(n, r); } return n; } function f(e) { for (var t = 1; t < arguments.length; t++) { var n = null != arguments[t] ? arguments[t] : {}; t % 2 ? p(Object(n), !0).forEach(function (t) { (0, c.default)(e, t, n[t]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : p(Object(n)).forEach(function (t) { Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t)); }); } return e; } function m(e) { (this.error = e), (this.statusCode = e.status), (this.statusText = e.statusText); } var h = (function () { function e(t) { var n = this; (0, i.default)(this, e), (0, c.default)(this, "_apiKey", void 0), (0, c.default)(this, "_apiVersion", void 0), (0, c.default)(this, "_accessToken", void 0), (0, c.default)(this, "_environment", void 0), (0, c.default)(this, "_endpoint", void 0), (0, c.default)(this, "_refreshToken", void 0), (0, c.default)(this, "_sharingPassword", void 0), (0, c.default)(this, "_token", void 0), (0, c.default)(this, "normalizeApiResponse", function (e) { var t = (function () { var r = (0, a.default)( o.default.mark(function r(a) { var i, s; return o.default.wrap(function (r) { for (;;) switch ((r.prev = r.next)) { case 0: if (401 !== a.status || !n._refreshToken) { r.next = 5; break; } return (r.next = 3), n._refreshToken(); case 3: return ( (n._token = r.sent), r.abrupt( "return", e().then( function (e) { return 401 === e.status ? new m(e) : t(e); }, function (e) { return e; } ) ) ); case 5: if (a.ok) { r.next = 7; break; } throw new m(a); case 7: if ( !( a.headers && a.headers.has("content-type") && (a.headers.get("content-type").indexOf("application/json") >= 0 || a.headers.get("content-type").indexOf("application/vnd.adobecloud.repository+json") >= 0 || a.headers.get("content-type").indexOf("application/vnd.adobecloud.index+json") >= 0) ) ) { r.next = 11; break; } return ( (i = a.json()), (s = a.headers.get("etag")), r.abrupt( "return", s ? i.then(function (e) { return f(f({}, e), {}, { etag: s }); }) : i ) ); case 11: return r.abrupt("return", a); case 12: case "end": return r.stop(); } }, r); }) ); return function (e) { return r.apply(this, arguments); }; })(); return e().then(t, function (e) { return e; }); }), (0, c.default)(this, "deleteRequest", function (e) { var t = e.params, r = void 0 === t ? {} : t, o = e.url, a = void 0 === o ? "" : o; return n.normalizeApiResponse(function () { return fetch(a, { body: JSON.stringify(r), headers: n.getHeaders(), method: "DELETE" }); }); }), (0, c.default)(this, "getRequest", function (e) { var t = e.headers, r = e.headersOverride, o = e.params, a = void 0 === o ? {} : o, i = e.url, s = void 0 === i ? "" : i, c = (0, l.default)(a) ? "".concat(s, "?").concat((0, d.buildParamUrl)(a)) : s; return n.normalizeApiResponse(function () { return fetch(c, { headers: n.getHeaders(t, r), method: "GET" }); }); }), (0, c.default)(this, "headRequest", function (e) { var t = e.headers, r = e.headersOverride, o = e.params, a = void 0 === o ? {} : o, i = e.url, s = void 0 === i ? "" : i, c = (0, l.default)(a) ? "".concat(s, "?").concat((0, d.buildParamUrl)(a)) : s; return n.normalizeApiResponse(function () { return fetch(c, { headers: n.getHeaders(t, r), method: "HEAD" }); }); }), (0, c.default)(this, "optionsRequest", function (e) { var t = e.headers, r = e.params, o = void 0 === r ? {} : r, a = e.url, i = void 0 === a ? "" : a, s = (0, l.default)(o) ? "".concat(i, "?").concat((0, d.buildParamUrl)(o)) : i; return n.normalizeApiResponse(function () { return fetch(s, { body: JSON.stringify(o), headers: t || n.getHeaders(), method: "OPTIONS" }); }); }), (0, c.default)(this, "patchRequest", function (e) { var t = e.headers, r = e.headersOverride, o = e.params, a = void 0 === o ? {} : o, i = e.url, s = void 0 === i ? "" : i; return n.normalizeApiResponse(function () { return fetch(s, { body: JSON.stringify(a), headers: n.getHeaders(t, r), method: "PATCH" }); }); }), (0, c.default)(this, "postRequest", function (e) { var t = e.headers, r = e.headersOverride, o = e.params, a = void 0 === o ? {} : o, i = e.url, s = void 0 === i ? "" : i; return n.normalizeApiResponse(function () { return fetch(s, { body: JSON.stringify(a), headers: n.getHeaders(t, r), method: "POST" }); }); }), (0, c.default)(this, "putRequest", function (e) { var t = e.headers, r = e.headersOverride, o = e.params, a = void 0 === o ? {} : o, i = e.url, s = void 0 === i ? "" : i; return n.normalizeApiResponse(function () { return fetch(s, { body: JSON.stringify(a), headers: n.getHeaders(t, r), method: "PUT" }); }); }); var r = t.apiKey, s = t.accessToken, p = t.apiVersion, h = void 0 === p ? "V3" : p, v = t.environment, y = void 0 === v ? "stage" : v, g = t.refreshToken, b = t.sharingPassword, E = t.token; (this._apiKey = r), (this._accessToken = s), (this._apiVersion = h), (this._environment = y), (this._endpoint = u.default[y].INVITATIONS_SERVICE_ENDPOINT.replace("{VERSION}", h.toLowerCase())), (this._refreshToken = g), (this._sharingPassword = b), (this._token = E); } return ( (0, s.default)(e, [ { key: "apiKey", get: function () { return this._apiKey; }, set: function (e) { this._apiKey = e; }, }, { key: "accessToken", get: function () { return this._accessToken; }, set: function (e) { this._accessToken = e; }, }, { key: "apiVersion", get: function () { return this._apiVersion; }, set: function (e) { this._apiVersion = e; }, }, { key: "endpoint", get: function () { return this._endpoint; }, set: function (e) { this._endpoint = e; }, }, { key: "environment", get: function () { return this._environment; }, set: function (e) { if (!u.default[e]) throw new Error("Setting the environment to ".concat(e, " is not accepted")); (this._environment = e), (this._endpoint = u.default[e].INVITATIONS_SERVICE_ENDPOINT); }, }, { key: "sharingPassword", get: function () { return this._sharingPassword; }, set: function (e) { this._sharingPassword = e; }, }, { key: "token", get: function () { return this._token; }, set: function (e) { this._token = e; }, }, { key: "getHeaders", value: function (e, t) { var n = this.apiKey, r = this.token, o = this.accessToken, a = { "content-type": "application/json", "x-api-key": n }; return r && (a.authorization = "string" == typeof r && r.indexOf("Bearer ") > -1 ? r : "Bearer ".concat(r)), o && (a["X-Access-Token"] = o), e ? (t ? e : f(f({}, a), e)) : a; }, }, ]), e ); })(); t.default = h; }, 12434: (e, t, n) => { "use strict"; var r = n(86633); Object.defineProperty(t, "__esModule", { value: !0 }), (t.InstanceCreator = function (e, t) { function n(n) { var r = t.instance, o = t.params; if (!n && r) return r; if (n && r) return (t.params = n), (t.instance = new e(n)), t.instance; if (!o && !n) throw new Error("Service Class is not configured."); return (t.params = n || o), (t.instance = new e(t.params)), t.instance; } return ( (n.configure = function (e) { t.params = e; }), n ); }), (t.buildParamUrl = function (e) { return (0, o.default)(e) > 0 ? new URLSearchParams(e).toString() : ""; }), (t.encodeURIComponentEachSubdomain = function (e) { return e ? e.split("/").map(encodeURIComponent).join("/") : e; }), (t.getUrlPath = function (e) { if (a(e)) { var t = new URL(e).origin, n = e.substring(t.length); return "/" === n.charAt(0) ? n.substring(1) : n; } return e; }), (t.getUrn = function () { var e = arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : ""; return a(e) && e.indexOf("urn:") > -1 ? e.substring(e.indexOf("urn:")) : null; }), (t.isValidUrl = a), n(24527); var o = r(n(20097)); function a() { return /((([A-Za-z]{3,9}:(?:\/\/)?)(?:[-;:&=\+\$,\w]+@)?[A-Za-z0-9.-]+|(?:www.|[-;:&=\+\$,\w]+@)[A-Za-z0-9.-]+)((?:\/[\+~%\/.\w-_ ]*)?\??(?:[-\+=&;%@.\w_]*)#?(?:[\w]*))?)/.test( arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : "" ); } }, 47169: (e, t) => { "use strict"; Object.defineProperty(t, "__esModule", { value: !0 }), (t.default = void 0), (t.default = { mock: { INVITATIONS_SERVICE_ENDPOINT: "/api/{VERSION}" }, prod: { INVITATIONS_SERVICE_ENDPOINT: "https://invitations.adobe.io/api/{VERSION}" }, stage: { INVITATIONS_SERVICE_ENDPOINT: "https://invitations-stage.adobe.io/api/{VERSION}" }, }); }, 93387: (e, t) => { "use strict"; Object.defineProperty(t, "__esModule", { value: !0 }), (t.XD_TARGET_URL_STAGE = t.XD_TARGET_URL_PROD = t.XD_MIME_TYPES = t.XD_ARTIFACT_MIME_TYPES = t.PHOTOSHOP_TARGET_URL_STAGE = t.PHOTOSHOP_TARGET_URL_PROD = t.PHOTOSHOP_MIME_TYPES = t.LIBRARY_MIME_TYPE = t.INDESIGN_MIME_TYPES = t.ILLUSTRATOR_TARGET_URL_STAGE = t.ILLUSTRATOR_TARGET_URL_PROD = t.ILLUSTRATOR_MIME_TYPES = t.CLOUD_DOC_TYPES = t.CANVAS_TARGET_URL_STAGE = t.CANVAS_TARGET_URL_PROD = t.CANVAS_MIME_TYPES = t.ASSETS_WEB_STAGE = t.ASSETS_WEB_SPACES_URL_SUFFIX = t.ASSETS_WEB_PUBLISHED_URL_SUFFIX = t.ASSETS_WEB_PROD = t.ASSETS_WEB_FILE_URL_SUFFIX = t.ASSETS_WEB_CLOUD_DOC_URL_SUFFIX = void 0), (t.ASSETS_WEB_CLOUD_DOC_URL_SUFFIX = "?view=difile"), (t.ASSETS_WEB_FILE_URL_SUFFIX = "?view=file"), (t.ASSETS_WEB_PROD = "https://assets.adobe.com"), (t.ASSETS_WEB_PUBLISHED_URL_SUFFIX = "?view=published"), (t.ASSETS_WEB_SPACES_URL_SUFFIX = "?view=spaces"), (t.ASSETS_WEB_STAGE = "https://assets-stage.adobecc.com"), (t.CANVAS_MIME_TYPES = ["application/vnd.adobe.hz.canvas+dcx"]), (t.CANVAS_TARGET_URL_PROD = "https://canvas.adobe.com/id/"), (t.CANVAS_TARGET_URL_STAGE = "https://stage.fred.corp.adobe.com/id/"), (t.LIBRARY_MIME_TYPE = "application/vnd.adobe.library+dcx"); var n = ["document/vnd.adobe.indesign+dcx"]; t.INDESIGN_MIME_TYPES = n; var r = ["document/vnd.adobe.illustrator+dcx"]; (t.ILLUSTRATOR_MIME_TYPES = r), (t.ILLUSTRATOR_TARGET_URL_PROD = "https://illustrator.adobe.com/id/"), (t.ILLUSTRATOR_TARGET_URL_STAGE = "https://stage.illustrator.adobe.com/id/"); var o = ["document/vnd.adobe.psdc+dcx", "document/vnd.adobe.cpsd+dcx"]; (t.PHOTOSHOP_MIME_TYPES = o), (t.PHOTOSHOP_TARGET_URL_PROD = "https://photoshop.adobe.com/id/"), (t.PHOTOSHOP_TARGET_URL_STAGE = "https://stage.photoshop.adobe.com/id/"), (t.XD_TARGET_URL_PROD = "https://xd.adobe.com/view/"), (t.XD_TARGET_URL_STAGE = "https://stage.xd.adobe.com/view/"); var a = ["application/vnd.adobe.xd.cloudproject+dcx"]; (t.XD_MIME_TYPES = a), (t.XD_ARTIFACT_MIME_TYPES = ["application/vnd.adobe.xd.sharedartifact+dcx"]); var i = [].concat(o, r, n, a, ["application/vnd.adobe.gemini+dcx"]); t.CLOUD_DOC_TYPES = i; }, 98482: (e, t, n) => { "use strict"; t.Z = function (e) { var t = e.assetId, n = e.environment, o = e.isArtifact, a = e.mimeType, i = e.spaceUrn, s = e.type, c = e.useProductViewUrl, l = "stage" === n ? r.ASSETS_WEB_STAGE : r.ASSETS_WEB_PROD; return t ? c && r.PHOTOSHOP_MIME_TYPES.includes(a) ? "stage" === n ? "".concat(r.PHOTOSHOP_TARGET_URL_STAGE).concat(t) : "".concat(r.PHOTOSHOP_TARGET_URL_PROD).concat(t) : c && r.ILLUSTRATOR_MIME_TYPES.includes(a) ? "stage" === n ? "".concat(r.ILLUSTRATOR_TARGET_URL_STAGE).concat(t) : "".concat(r.ILLUSTRATOR_TARGET_URL_PROD).concat(t) : r.CANVAS_MIME_TYPES.includes(a) ? "stage" === n ? "".concat(r.CANVAS_TARGET_URL_STAGE).concat(t) : "".concat(r.CANVAS_TARGET_URL_PROD).concat(t) : r.XD_ARTIFACT_MIME_TYPES.includes(a) ? "stage" === n ? "".concat(r.XD_TARGET_URL_STAGE).concat(t) : "".concat(r.XD_TARGET_URL_PROD).concat(t) : "spaceDocument" === s ? "".concat(l, "/id/").concat(t).concat(r.ASSETS_WEB_SPACES_URL_SUFFIX) : "space" === s || (i && ("space" === s || i.toLowerCase() === t.toLowerCase())) ? "".concat(l, "/projects/").concat(t) : "team" === s ? "".concat(l, "/teams/").concat(t) : r.CLOUD_DOC_TYPES.includes(a) ? "".concat(l, "/id/").concat(t).concat(r.ASSETS_WEB_CLOUD_DOC_URL_SUFFIX) : o ? "".concat(l, "/id/").concat(t).concat(r.ASSETS_WEB_PUBLISHED_URL_SUFFIX) : "".concat(l, "/id/").concat(t).concat(r.ASSETS_WEB_FILE_URL_SUFFIX) : ""; }; var r = n(93387); }, 67961: (e, t, n) => { e.exports = { AccessRequestsService: n(99682).Z, AuthService: n(52081).Z, CapabilitiesService: n(6650).Z, getTargetUrl: n(98482).Z, IndexRepositoryService: n(99533).ZP, InvitationService: n(56415).Z, ResourcesService: n(50307).Z, ShareContentService: n(84626).Z, ShareService: n(30658).Z, StorageRepositoryService: n(79027).ZP, }; }, 89807: (e, t, n) => { "use strict"; Object.defineProperty(t, "__esModule", { value: !0 }); var r = (function () { function e(e, t) { for (var n = 0; n < t.length; n++) { var r = t[n]; (r.enumerable = r.enumerable || !1), (r.configurable = !0), "value" in r && (r.writable = !0), Object.defineProperty(e, r.key, r); } } return function (t, n, r) { return n && e(t.prototype, n), r && e(t, r), t; }; })(), o = n(95134), a = (function () { function e() { !(function (e, t) { if (!(e instanceof t)) throw new TypeError("Cannot call a class as a function"); })(this, e), (this._environment = "stage"), (this._apiKey = null); } return ( r(e, [ { key: "_validate", value: function () { if (!this._suggestionApiHref) { if (this._environment && this._endpoint && this._apiKey) return this.discover(); throw new Error("People Graph SDK has not been properly configured yet."); } return Promise.resolve(); }, }, { key: "configure", value: function (e) { var t = e.acceptHeaderVersion, n = e.accessToken, r = e.apiKey, a = e.environment, i = e.token; a && (this.setEnvironment(a), (this._endpoint = (0, o.getConfigValue)(this._environment, "PGS_ENDPOINT"))), r && (this._apiKey = r), i && (this._token = i), n && (this._accessToken = n), (this._acceptHeaderVersion = "application/vnd.adobe.people-graph." + ((t && t.toLowerCase()) || "v1") + "+json"), (this._suggestionApiHref = void 0), delete this._pendingDiscover; }, }, { key: "setEnvironment", value: function (e) { var t = ["stage", "prod"], n = ""; if ( (t.forEach(function (e, r) { var o = r + 1 === t.length ? "" : ", "; n += e + o; }), -1 === t.indexOf(e)) ) throw new Error("Setting the environment to " + e + " is not accepted. Acceptable values are " + n); (this._environment = e), (this._endpoint = (0, o.getConfigValue)(this._environment, "PGS_ENDPOINT")); }, }, { key: "discover", value: function () { var e = this; return ( this._pendingDiscover || (this._pendingDiscover = this.fetch(this._endpoint, "GET") .then(function (t) { if (!t || !t._links) throw new Error("Links not found from discovery entry point"); var n = t._links; (e._suggestionApiHref = n.suggest && n.suggest.href ? n.suggest.href : void 0), (e._acceptApiHref = n.accept && n.accept.href ? n.accept.href : void 0), (e._acceptMaxItems = n.accept && n.accept.limits && n.accept.limits.max_items ? n.accept.limits.max_items : void 0); }) .catch(function (e) { console.log(e); }) .finally(function () { return delete e._pendingDiscover; })), this._pendingDiscover ); }, }, { key: "getQuery", value: function (e, t) { var n = arguments.length > 2 && void 0 !== arguments[2] ? arguments[2] : [], r = { type: "PERSON" === t || "GROUP" === t ? [t] : ["PERSON", "GROUP"], value: e }; return n.length && (r.tags = n), r; }, }, { key: "getSuggestions", value: function () { var e = this, t = arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : {}, n = t.peopleType, r = t.relationship, a = void 0 === r ? "INVITE" : r, i = t.resourceType, s = t.resourceUrl, c = t.resourceUrn, l = t.searchText, u = void 0 === l ? "" : l, d = t.tags; if (i) { if (u.length > (0, o.getConfigValue)(this._environment, "MAX_LENGTH")) return Promise.resolve([]); var p = { resourceType: i, resourceUrn: c, resourceUrl: s, relationship: a, query: this.getQuery(u, n, d) }; return this._validate() .then(function () { return e.fetch(e._suggestionApiHref, "POST", p, { "x-ccx-workflow": !0 }); }) .then(function (e) { if (e && e._embedded && e._embedded.suggestions) return e._embedded.suggestions; throw new Error("Response did not contain suggestions."); }); } return Promise.reject("Missing resourceType. resourceType is required to get PGC suggestions."); }, }, { key: "acceptTokens", value: function (e) { var t = this, n = { tokens: e }; return this._validate() .then(function () { if (e.length > t._acceptMaxItems) return Promise.reject("Attempting to accept more tokens than the service max limit."); }) .then(function () { return t.fetch(t._acceptApiHref, "POST", n); }) .then(function (e) { if (e && e._embedded) return e._embedded; throw new Error("Response did not contain addresses"); }); }, }, { key: "fetch", value: (function (e) { function t(t, n, r, o) { return e.apply(this, arguments); } return ( (t.toString = function () { return e.toString(); }), t ); })(function (e, t, n, r) { var o = t || "GET", a = this._token; if ("GET" !== o && !a) return Promise.reject("Authorization not configured. Please set the bearer token before calling this method."); var i = Object.assign({ "Content-Type": "application/json", "X-API-Key": this._apiKey, Authorization: a ? (a.indexOf("Bearer ") > -1 ? a : "Bearer " + a) : void 0, Accept: this._acceptHeaderVersion }, r); return ( this._accessToken && (i["X-Access-Token"] = this._accessToken), fetch(e, { method: o, headers: i, body: n ? JSON.stringify(n) : void 0 }).then(function (e) { if (e.ok) return e.json(); var t = new Error(e.statusText); throw ((t.response = e), t); }) ); }), }, ]), e ); })(); (t.default = a), (e.exports = t.default); }, 95134: (e, t, n) => { "use strict"; Object.defineProperty(t, "__esModule", { value: !0 }), (t.getConfigValue = function (e, t) { return ("prod" === e ? o : r)[t]; }); var r = a(n(89923)), o = a(n(45935)); function a(e) { if (e && e.__esModule) return e; var t = {}; if (null != e) for (var n in e) Object.prototype.hasOwnProperty.call(e, n) && (t[n] = e[n]); return (t.default = e), t; } }, 45935: (e, t) => { "use strict"; Object.defineProperty(t, "__esModule", { value: !0 }), (t.PGS_ENDPOINT = "https://pgc.adobe.io/api/discovery"), (t.MAX_LENGTH = 256), (t.COLLABORATOR_TAG = "COLLABORATOR"), (t.OWNER_TAG = "OWNER"), (t.ANNOTATOR_TAG = "ANNOTATOR"); }, 89923: (e, t) => { "use strict"; Object.defineProperty(t, "__esModule", { value: !0 }), (t.PGS_ENDPOINT = "https://pgc-stage.adobe.io/api/discovery"), (t.MAX_LENGTH = 256), (t.COLLABORATOR_TAG = "COLLABORATOR"), (t.OWNER_TAG = "OWNER"), (t.ANNOTATOR_TAG = "ANNOTATOR"); }, 25343: (e, t, n) => { "use strict"; Object.defineProperty(t, "__esModule", { value: !0 }); var r, o = (r = n(89807)) && r.__esModule ? r : { default: r }; (t.default = { Client: o.default }), (e.exports = t.default); }, 67586: (e, t, n) => { "use strict"; n.d(t, { Z: () => i }), n(66084); var r = n(84514), o = n(92445); const a = (0, n(9323).Z)(n(2255)).default, i = (0, r.Z)({ displayName: "PinOff", fallback: a, swcLoader: void 0, swcProps: o.m, tagName: "sp-icon-pin-off" }); }, 64921: (e, t, n) => { "use strict"; n.d(t, { Z: () => i }), n(66084); var r = n(84514), o = n(92445); const a = (0, n(9323).Z)(n(12839)).default, i = (0, r.Z)({ displayName: "TextStrikethrough", fallback: a, swcLoader: void 0, swcProps: o.m, tagName: "sp-icon-text-strikethrough" }); }, 92445: (e, t, n) => { "use strict"; n.d(t, { m: () => a }); var r = function (e, t) { var n = {}; for (var r in e) Object.prototype.hasOwnProperty.call(e, r) && t.indexOf(r) < 0 && (n[r] = e[r]); if (null != e && "function" == typeof Object.getOwnPropertySymbols) { var o = 0; for (r = Object.getOwnPropertySymbols(e); o < r.length; o++) t.indexOf(r[o]) < 0 && Object.prototype.propertyIsEnumerable.call(e, r[o]) && (n[r[o]] = e[r[o]]); } return n; }; function o(e) { switch (e) { case "XS": return "s"; case "S": return "m"; case "M": default: return "xl"; case "L": case "XL": case "XXL": return "xxl"; } } function a(e) { const { alt: t, className: n, "aria-label": a, size: i } = e, s = r(e, ["alt", "className", "aria-label", "size"]); return Object.assign(Object.assign({}, s), { class: n, label: t || a, size: o(i) }); } }, 81123: (e, t, n) => { "use strict"; var r = n(23469), o = n.n(r), a = n(84514), i = (n(66084), n(80963)), s = n(9323), c = (n(99219), n(369)), l = function (e, t, n, r) { return new (n || (n = Promise))(function (o, a) { function i(e) { try { c(r.next(e)); } catch (e) { a(e); } } function s(e) { try { c(r.throw(e)); } catch (e) { a(e); } } function c(e) { var t; e.done ? o(e.value) : ((t = e.value), t instanceof n ? t : new n(function (e) { e(t); })).then(i, s); } c((r = r.apply(e, t || [])).next()); }); }; const u = (0, s.Z)(n(22807)).default, d = "sp-theme"; let p; function f(e) { return l(this, void 0, void 0, function* () { return e.scale, e.theme, Promise.resolve(); }); } function m(e) { return l(this, void 0, void 0, function* () { return e.color, e.theme, Promise.resolve(); }); } (0, c.I)(function (e) { const { scale: t, spectrumTheme: n, theme: r, typekitId: o } = e, a = [f({ scale: t, theme: n }), m({ color: r, theme: n }), (0, i.Yn)(o)]; return (0, i.Vc)(d) && a.push((0, i.A2)(d, e, p)), Promise.all(a); }), (0, a.Z)({ displayName: "Provider", fallback: u, swcLoader: p, SWCWrapper: function (e) { const { className: t, locale: n, scale: a, spectrumTheme: s, theme: c, typekitId: l = "ruf7eed" } = e, u = (function (e, t) { var n = {}; for (var r in e) Object.prototype.hasOwnProperty.call(e, r) && t.indexOf(r) < 0 && (n[r] = e[r]); if (null != e && "function" == typeof Object.getOwnPropertySymbols) { var o = 0; for (r = Object.getOwnPropertySymbols(e); o < r.length; o++) t.indexOf(r[o]) < 0 && Object.prototype.propertyIsEnumerable.call(e, r[o]) && (n[r[o]] = e[r[o]]); } return n; })(e, ["className", "locale", "scale", "spectrumTheme", "theme", "typekitId"]); (0, r.useEffect)(() => { f({ scale: a, theme: s }).catch(console.error); }, [a, s]), (0, r.useEffect)(() => { m({ color: c, theme: s }).catch(console.error); }, [s, c]), (0, r.useEffect)(() => { (0, i.Yn)(l).catch(console.error); }, [l]); const p = (0, i.Co)(d); return o().createElement(p, Object.assign(Object.assign({}, u), { class: t, color: c, lang: n, scale: a, theme: s })); }, tagName: d, }); }, 369: (e, t, n) => { "use strict"; n.d(t, { I: () => a, Z: () => i }); var r = n(99219); const o = []; function a(e) { o.push(e); } function i(e = {}) { const t = (0, r.V)(e), n = [...o.map((e) => e(t))]; return Promise.all(n); } }, 66084: (e, t, n) => { "use strict"; n(48181); }, 99219: (e, t, n) => { "use strict"; n.d(t, { N: () => a, V: () => o }); var r = n(23469); const o = ({ scale: e, spectrumTheme: t, theme: n, typekitId: r } = {}) => ({ scale: e || "medium", spectrumTheme: t || "spectrum", theme: n || "light", typekitId: r || "ruf7eed" }), a = n.n(r)().createContext(o()); }, 84514: (e, t, n) => { "use strict"; n.d(t, { Z: () => c }); var r = n(23469), o = n.n(r), a = n(80963), i = n(369), s = function (e, t) { var n = {}; for (var r in e) Object.prototype.hasOwnProperty.call(e, r) && t.indexOf(r) < 0 && (n[r] = e[r]); if (null != e && "function" == typeof Object.getOwnPropertySymbols) { var o = 0; for (r = Object.getOwnPropertySymbols(e); o < r.length; o++) t.indexOf(r[o]) < 0 && Object.prototype.propertyIsEnumerable.call(e, r[o]) && (n[r[o]] = e[r[o]]); } return n; }; function c(e) { (0, i.I)(e.loadSwc || ((t) => (0, a.A2)(e.tagName, t, e.swcLoader))); const t = (t, n) => { const { needsFallback: r, tagName: i } = (0, a.Lo)(e.tagName, e.swcLoader), { fallback: c, forceFallback: l } = t, u = s(t, ["fallback", "forceFallback"]); if (r || l) { const { fallback: t } = e; if (c) return o().createElement(o().Fragment, null, c); if (t) return o().createElement(t, Object.assign(Object.assign({}, u), { ref: n })); } if (e.SWCWrapper) return o().createElement(e.SWCWrapper, Object.assign(Object.assign({}, t), { ref: n })); const d = Object.assign(Object.assign({}, e.swcProps(t)), { ref: n }), p = i; return o().createElement(p, Object.assign({}, d)); }; return (t.displayName = e.displayName), (0, r.forwardRef)(t); } }, 80963: (e, t, n) => { "use strict"; n.d(t, { tS: () => C, Yn: () => w, Vc: () => v, cd: () => D, ww: () => d, A2: () => y, Co: () => b, Lo: () => E }); var r = n(23469), o = n(50813), a = n.n(o), i = n(48181), s = n(99219); const c = function () { return window.__disable_swc__ || (window.__SPECTRUM_WRAPPER_STORYBOOK_FORCE_RS2__ && "undefined" != typeof process && process.env.STORYBOOK); }, l = !1; let u = !1; try { u = !!window.require("uxp"); } catch (e) {} const d = u, p = new Map(); function f(e) { var t, n; const r = p.get(e); if (void 0 !== r) return r; let o = null === (t = window.customElements) || void 0 === t ? void 0 : t.get(e); return !o && d && l && (o = null === (n = document.createElement(e)) || void 0 === n ? void 0 : n.constructor), p.set(e, o), o; } function m(e) { const t = f(e); return !!t && t !== HTMLElement; } const h = "^0.42.0"; function v(e) { if (d || !l) return !1; if (!m(e)) return !0; const t = f(e); return !t || !t.VERSION || !a()(t.VERSION, h); } const y = (e, t, n) => (v(e) && (null == n ? void 0 : n.load(t))) || Promise.resolve(); function g(e) { return (0, r.useMemo)(() => v(e), [e]); } function b(e) { return g(e) ? (0, i.fallbackTagName)(e) : e; } function E(e, t) { const n = g(e), [, o] = (0, r.useState)(!1), a = (0, r.useRef)(!0), i = (0, r.useContext)(s.N); (0, r.useEffect)(() => { if (((a.current = !1), n)) return ( null == t || t.load(i).then( () => { a.current || o(!0); }, (t) => console.error(`Error loading fallback for ${e}`, t) ), () => { a.current = !0; } ); }, [e, t, n]); const l = c(), u = b(e); return { needsFallback: !m(u) || !!l, tagName: u }; } function D(e) { const t = {}; return ( Object.keys(e).forEach((n) => { e[n] && (t[n] = e[n]); }), t ); } function C(...e) { return (...t) => { for (const n of e) "function" == typeof n && n(...t); }; } function w(e) { return new Promise((t) => { var n; if (window.Typekit) t(null); else { const r = { kitId: e, scriptTimeout: 3e3 }, o = setTimeout(() => { t(null); }, r.scriptTimeout), a = document.createElement("script"); let i = !1; (a.src = `https://use.typekit.net/${r.kitId}.js`), (a.type = "text/javascript"), (a.async = !0), (a.onload = function () { if (i) t(null); else { (i = !0), clearTimeout(o); try { window.Typekit.load(r); } catch (e) {} t(null); } }); const s = document.getElementsByTagName("script")[0]; null === (n = null == s ? void 0 : s.parentNode) || void 0 === n || n.insertBefore(a, s); } }); } }, 9323: (e, t, n) => { "use strict"; function r(e) { return (null == e ? void 0 : e.__esModule) ? e : { default: e }; } n.d(t, { Z: () => r }); }, 26616: function (e, t, n) { "use strict"; var r = (this && this.__importDefault) || function (e) { return e && e.__esModule ? e : { default: e }; }; Object.defineProperty(t, "__esModule", { value: !0 }); const o = n(2667), a = r(n(72852)), i = r(n(50828)), s = n(67439), c = n(23150); class l { constructor(e, t) { var n; (this.basePayload = { env: { com: { name: o.COMPONENT_NAME, version: o.COMPONENT_VERSION } } }), (this.config = e), (this.basePayload = (0, a.default)({}, this.basePayload, t)), null === (n = this.basePayload.event) || void 0 === n || delete n.user_guid, delete this.basePayload.user; } sendEvent(e) { let t = Promise.resolve(); const n = (0, a.default)({}, this.basePayload, e, { event: { dts_end: this.formattedTimestamp(), guid: (0, c.v4)() } }), r = { events: [{ project: this.config.projectKey, environment: this.config.environment, time: this.formattedTimestamp(), ingesttype: o.INGEST_TYPE, data: (0, s.flatten)(n) }] }; return (t = l.axiosInstance.post((0, o.getIngestEndpoint)(this.config.environment), r, { headers: { "Content-Type": "application/json", "x-api-key": this.config.apiKey } })), t; } formattedTimestamp() { const e = new Date(), t = e.getTimezoneOffset(), n = t < 0 ? "+" : "-", r = Math.floor(Math.abs(t) / 60).toString(), o = (Math.abs(t) % 60).toString(), a = n + r.padStart(2, "0") + o.padStart(2, "0"); return e.toISOString().slice(0, -1) + a; } } (t.default = l), (l.axiosInstance = i.default.create()); }, 28235: function (e, t, n) { "use strict"; var r = (this && this.__importDefault) || function (e) { return e && e.__esModule ? e : { default: e }; }; Object.defineProperty(t, "__esModule", { value: !0 }); const o = n(2667), a = r(n(26616)); t.default = class { constructor(e, t) { this.dunamisAnalytics = new a.default({ projectKey: o.COMMENTS_PROJECT_KEY, apiKey: o.COMMENTS_API_KEY, environment: e }, t); } sendCreateCommentEvent(e) { return this.dunamisAnalytics.sendEvent({ event: { workflow: o.WORKFLOW.Collaboration, subcategory: o.SUBCATEGORY.Review, type: e, subtype: o.SUBTYPE.Comment } }); } }; }, 2667: (e, t) => { "use strict"; var n; Object.defineProperty(t, "__esModule", { value: !0 }), (t.CrudResult = t.getIngestEndpoint = t.WORKFLOW = t.VIEW_TYPE = t.TYPE = t.SUBTYPE = t.SUBCATEGORY = t.PROD_ENV = t.STAGE_ENV = t.INGEST_TYPE = t.COMMENTS_API_KEY = t.COMMENTS_PROJECT_KEY = t.SHARE_SHEET_API_KEY = t.SHARE_SHEET_PROJECT_KEY = t.COMPONENT_VERSION = t.COMPONENT_NAME = void 0), (t.COMPONENT_NAME = "Share4Review"), (t.COMPONENT_VERSION = "1.0"), (t.SHARE_SHEET_PROJECT_KEY = "ss-web-service"), (t.SHARE_SHEET_API_KEY = "ss-web-service"), (t.COMMENTS_PROJECT_KEY = "comment-service"), (t.COMMENTS_API_KEY = "CCXComments1"), (t.INGEST_TYPE = "dunamis"), (t.STAGE_ENV = "stage"), (t.PROD_ENV = "prod"), (t.SUBCATEGORY = { ShareForReview: "Share for Review", Review: "Review" }), (t.SUBTYPE = { Comment: "comment", Create: "create", InviteToView: "invite-to-view", PermanentDelete: "permanent-delete", SetPublicComments: "set-public-comments", ShareForReview: "share-for-review", UpdateLink: "update-link" }), (t.TYPE = { Error: "error", Success: "success" }), (t.VIEW_TYPE = { NewReview: "New Review" }), (t.WORKFLOW = { Collaboration: "Collaboration" }), (t.getIngestEndpoint = function (e) { switch (e) { case "stage": return "https://cc-api-data-stage.adobe.io/ingest"; case "prod": return "https://cc-api-data.adobe.io/ingest"; default: return ""; } }), ((n = t.CrudResult || (t.CrudResult = {})).Success = "success"), (n.Error = "error"); }, 73550: function (e, t, n) { "use strict"; var r = (this && this.__importDefault) || function (e) { return e && e.__esModule ? e : { default: e }; }; Object.defineProperty(t, "__esModule", { value: !0 }); const o = n(2667), a = r(n(26616)); t.default = class { constructor(e, t) { this.dunamisAnalytics = new a.default({ projectKey: o.SHARE_SHEET_PROJECT_KEY, apiKey: o.SHARE_SHEET_API_KEY, environment: e }, t); } sendCreateShareForReviewEvent(e) { return this.dunamisAnalytics.sendEvent({ event: { workflow: o.WORKFLOW.Collaboration, subcategory: o.SUBCATEGORY.ShareForReview, type: e, subtype: o.SUBTYPE.Create }, ui: { view_type: o.VIEW_TYPE.NewReview } }); } sendDeleteShareForReviewEvent(e) { return this.dunamisAnalytics.sendEvent({ event: { workflow: o.WORKFLOW.Collaboration, subcategory: o.SUBCATEGORY.ShareForReview, type: e, subtype: o.SUBTYPE.PermanentDelete } }); } sendInviteToViewEvent(e) { return this.dunamisAnalytics.sendEvent({ event: { workflow: o.WORKFLOW.Collaboration, subcategory: o.SUBCATEGORY.ShareForReview, type: e, subtype: o.SUBTYPE.InviteToView } }); } sendSetPublicCommentsEvent(e, t) { return this.dunamisAnalytics.sendEvent({ event: { workflow: o.WORKFLOW.Collaboration, subcategory: o.SUBCATEGORY.ShareForReview, type: e, subtype: o.SUBTYPE.SetPublicComments }, ui: { filter: String(t) } }); } sendUpdateLinkEvent(e) { return this.dunamisAnalytics.sendEvent({ event: { workflow: o.WORKFLOW.Collaboration, subcategory: o.SUBCATEGORY.ShareForReview, type: e, subtype: o.SUBTYPE.UpdateLink } }); } }; }, 19990: function (e, t, n) { "use strict"; var r = (this && this.__createBinding) || (Object.create ? function (e, t, n, r) { void 0 === r && (r = n); var o = Object.getOwnPropertyDescriptor(t, n); (o && !("get" in o ? !t.__esModule : o.writable || o.configurable)) || (o = { enumerable: !0, get: function () { return t[n]; }, }), Object.defineProperty(e, r, o); } : function (e, t, n, r) { void 0 === r && (r = n), (e[r] = t[n]); }), o = (this && this.__setModuleDefault) || (Object.create ? function (e, t) { Object.defineProperty(e, "default", { enumerable: !0, value: t }); } : function (e, t) { e.default = t; }), a = (this && this.__importStar) || function (e) { if (e && e.__esModule) return e; var t = {}; if (null != e) for (var n in e) "default" !== n && Object.prototype.hasOwnProperty.call(e, n) && r(t, e, n); return o(t, e), t; }, i = (this && this.__importDefault) || function (e) { return e && e.__esModule ? e : { default: e }; }; Object.defineProperty(t, "__esModule", { value: !0 }), (t.DunamisCommentsInterface = t.DunamisShareSheetInterface = t.DunamisConstants = void 0), (t.DunamisConstants = a(n(2667))); var s = n(73550); Object.defineProperty(t, "DunamisShareSheetInterface", { enumerable: !0, get: function () { return i(s).default; }, }); var c = n(28235); Object.defineProperty(t, "DunamisCommentsInterface", { enumerable: !0, get: function () { return i(c).default; }, }); }, 23150: (e, t, n) => { "use strict"; Object.defineProperty(t, "__esModule", { value: !0 }), Object.defineProperty(t, "NIL", { enumerable: !0, get: function () { return s.default; }, }), Object.defineProperty(t, "parse", { enumerable: !0, get: function () { return d.default; }, }), Object.defineProperty(t, "stringify", { enumerable: !0, get: function () { return u.default; }, }), Object.defineProperty(t, "v1", { enumerable: !0, get: function () { return r.default; }, }), Object.defineProperty(t, "v3", { enumerable: !0, get: function () { return o.default; }, }), Object.defineProperty(t, "v4", { enumerable: !0, get: function () { return a.default; }, }), Object.defineProperty(t, "v5", { enumerable: !0, get: function () { return i.default; }, }), Object.defineProperty(t, "validate", { enumerable: !0, get: function () { return l.default; }, }), Object.defineProperty(t, "version", { enumerable: !0, get: function () { return c.default; }, }); var r = p(n(34682)), o = p(n(84570)), a = p(n(85370)), i = p(n(82394)), s = p(n(97008)), c = p(n(18967)), l = p(n(30333)), u = p(n(41929)), d = p(n(65754)); function p(e) { return e && e.__esModule ? e : { default: e }; } }, 75759: (e, t) => { "use strict"; function n(e) { return 14 + (((e + 64) >>> 9) << 4) + 1; } function r(e, t) { const n = (65535 & e) + (65535 & t); return (((e >> 16) + (t >> 16) + (n >> 16)) << 16) | (65535 & n); } function o(e, t, n, o, a, i) { return r(((s = r(r(t, e), r(o, i))) << (c = a)) | (s >>> (32 - c)), n); var s, c; } function a(e, t, n, r, a, i, s) { return o((t & n) | (~t & r), e, t, a, i, s); } function i(e, t, n, r, a, i, s) { return o((t & r) | (n & ~r), e, t, a, i, s); } function s(e, t, n, r, a, i, s) { return o(t ^ n ^ r, e, t, a, i, s); } function c(e, t, n, r, a, i, s) { return o(n ^ (t | ~r), e, t, a, i, s); } Object.defineProperty(t, "__esModule", { value: !0 }), (t.default = void 0); t.default = function (e) { if ("string" == typeof e) { const t = unescape(encodeURIComponent(e)); e = new Uint8Array(t.length); for (let n = 0; n < t.length; ++n) e[n] = t.charCodeAt(n); } return (function (e) { const t = [], n = 32 * e.length, r = "0123456789abcdef"; for (let o = 0; o < n; o += 8) { const n = (e[o >> 5] >>> o % 32) & 255, a = parseInt(r.charAt((n >>> 4) & 15) + r.charAt(15 & n), 16); t.push(a); } return t; })( (function (e, t) { (e[t >> 5] |= 128 << t % 32), (e[n(t) - 1] = t); let o = 1732584193, l = -271733879, u = -1732584194, d = 271733878; for (let t = 0; t < e.length; t += 16) { const n = o, p = l, f = u, m = d; (o = a(o, l, u, d, e[t], 7, -680876936)), (d = a(d, o, l, u, e[t + 1], 12, -389564586)), (u = a(u, d, o, l, e[t + 2], 17, 606105819)), (l = a(l, u, d, o, e[t + 3], 22, -1044525330)), (o = a(o, l, u, d, e[t + 4], 7, -176418897)), (d = a(d, o, l, u, e[t + 5], 12, 1200080426)), (u = a(u, d, o, l, e[t + 6], 17, -1473231341)), (l = a(l, u, d, o, e[t + 7], 22, -45705983)), (o = a(o, l, u, d, e[t + 8], 7, 1770035416)), (d = a(d, o, l, u, e[t + 9], 12, -1958414417)), (u = a(u, d, o, l, e[t + 10], 17, -42063)), (l = a(l, u, d, o, e[t + 11], 22, -1990404162)), (o = a(o, l, u, d, e[t + 12], 7, 1804603682)), (d = a(d, o, l, u, e[t + 13], 12, -40341101)), (u = a(u, d, o, l, e[t + 14], 17, -1502002290)), (l = a(l, u, d, o, e[t + 15], 22, 1236535329)), (o = i(o, l, u, d, e[t + 1], 5, -165796510)), (d = i(d, o, l, u, e[t + 6], 9, -1069501632)), (u = i(u, d, o, l, e[t + 11], 14, 643717713)), (l = i(l, u, d, o, e[t], 20, -373897302)), (o = i(o, l, u, d, e[t + 5], 5, -701558691)), (d = i(d, o, l, u, e[t + 10], 9, 38016083)), (u = i(u, d, o, l, e[t + 15], 14, -660478335)), (l = i(l, u, d, o, e[t + 4], 20, -405537848)), (o = i(o, l, u, d, e[t + 9], 5, 568446438)), (d = i(d, o, l, u, e[t + 14], 9, -1019803690)), (u = i(u, d, o, l, e[t + 3], 14, -187363961)), (l = i(l, u, d, o, e[t + 8], 20, 1163531501)), (o = i(o, l, u, d, e[t + 13], 5, -1444681467)), (d = i(d, o, l, u, e[t + 2], 9, -51403784)), (u = i(u, d, o, l, e[t + 7], 14, 1735328473)), (l = i(l, u, d, o, e[t + 12], 20, -1926607734)), (o = s(o, l, u, d, e[t + 5], 4, -378558)), (d = s(d, o, l, u, e[t + 8], 11, -2022574463)), (u = s(u, d, o, l, e[t + 11], 16, 1839030562)), (l = s(l, u, d, o, e[t + 14], 23, -35309556)), (o = s(o, l, u, d, e[t + 1], 4, -1530992060)), (d = s(d, o, l, u, e[t + 4], 11, 1272893353)), (u = s(u, d, o, l, e[t + 7], 16, -155497632)), (l = s(l, u, d, o, e[t + 10], 23, -1094730640)), (o = s(o, l, u, d, e[t + 13], 4, 681279174)), (d = s(d, o, l, u, e[t], 11, -358537222)), (u = s(u, d, o, l, e[t + 3], 16, -722521979)), (l = s(l, u, d, o, e[t + 6], 23, 76029189)), (o = s(o, l, u, d, e[t + 9], 4, -640364487)), (d = s(d, o, l, u, e[t + 12], 11, -421815835)), (u = s(u, d, o, l, e[t + 15], 16, 530742520)), (l = s(l, u, d, o, e[t + 2], 23, -995338651)), (o = c(o, l, u, d, e[t], 6, -198630844)), (d = c(d, o, l, u, e[t + 7], 10, 1126891415)), (u = c(u, d, o, l, e[t + 14], 15, -1416354905)), (l = c(l, u, d, o, e[t + 5], 21, -57434055)), (o = c(o, l, u, d, e[t + 12], 6, 1700485571)), (d = c(d, o, l, u, e[t + 3], 10, -1894986606)), (u = c(u, d, o, l, e[t + 10], 15, -1051523)), (l = c(l, u, d, o, e[t + 1], 21, -2054922799)), (o = c(o, l, u, d, e[t + 8], 6, 1873313359)), (d = c(d, o, l, u, e[t + 15], 10, -30611744)), (u = c(u, d, o, l, e[t + 6], 15, -1560198380)), (l = c(l, u, d, o, e[t + 13], 21, 1309151649)), (o = c(o, l, u, d, e[t + 4], 6, -145523070)), (d = c(d, o, l, u, e[t + 11], 10, -1120210379)), (u = c(u, d, o, l, e[t + 2], 15, 718787259)), (l = c(l, u, d, o, e[t + 9], 21, -343485551)), (o = r(o, n)), (l = r(l, p)), (u = r(u, f)), (d = r(d, m)); } return [o, l, u, d]; })( (function (e) { if (0 === e.length) return []; const t = 8 * e.length, r = new Uint32Array(n(t)); for (let n = 0; n < t; n += 8) r[n >> 5] |= (255 & e[n / 8]) << n % 32; return r; })(e), 8 * e.length ) ); }; }, 53919: (e, t) => { "use strict"; Object.defineProperty(t, "__esModule", { value: !0 }), (t.default = void 0); var n = { randomUUID: "undefined" != typeof crypto && crypto.randomUUID && crypto.randomUUID.bind(crypto) }; t.default = n; }, 97008: (e, t) => { "use strict"; Object.defineProperty(t, "__esModule", { value: !0 }), (t.default = void 0), (t.default = "00000000-0000-0000-0000-000000000000"); }, 65754: (e, t, n) => { "use strict"; Object.defineProperty(t, "__esModule", { value: !0 }), (t.default = void 0); var r, o = (r = n(30333)) && r.__esModule ? r : { default: r }; t.default = function (e) { if (!(0, o.default)(e)) throw TypeError("Invalid UUID"); let t; const n = new Uint8Array(16); return ( (n[0] = (t = parseInt(e.slice(0, 8), 16)) >>> 24), (n[1] = (t >>> 16) & 255), (n[2] = (t >>> 8) & 255), (n[3] = 255 & t), (n[4] = (t = parseInt(e.slice(9, 13), 16)) >>> 8), (n[5] = 255 & t), (n[6] = (t = parseInt(e.slice(14, 18), 16)) >>> 8), (n[7] = 255 & t), (n[8] = (t = parseInt(e.slice(19, 23), 16)) >>> 8), (n[9] = 255 & t), (n[10] = ((t = parseInt(e.slice(24, 36), 16)) / 1099511627776) & 255), (n[11] = (t / 4294967296) & 255), (n[12] = (t >>> 24) & 255), (n[13] = (t >>> 16) & 255), (n[14] = (t >>> 8) & 255), (n[15] = 255 & t), n ); }; }, 51060: (e, t) => { "use strict"; Object.defineProperty(t, "__esModule", { value: !0 }), (t.default = void 0), (t.default = /^(?:[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}|00000000-0000-0000-0000-000000000000)$/i); }, 21862: (e, t) => { "use strict"; let n; Object.defineProperty(t, "__esModule", { value: !0 }), (t.default = function () { if (!n && ((n = "undefined" != typeof crypto && crypto.getRandomValues && crypto.getRandomValues.bind(crypto)), !n)) throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported"); return n(r); }); const r = new Uint8Array(16); }, 31963: (e, t) => { "use strict"; function n(e, t, n, r) { switch (e) { case 0: return (t & n) ^ (~t & r); case 1: case 3: return t ^ n ^ r; case 2: return (t & n) ^ (t & r) ^ (n & r); } } function r(e, t) { return (e << t) | (e >>> (32 - t)); } Object.defineProperty(t, "__esModule", { value: !0 }), (t.default = void 0); t.default = function (e) { const t = [1518500249, 1859775393, 2400959708, 3395469782], o = [1732584193, 4023233417, 2562383102, 271733878, 3285377520]; if ("string" == typeof e) { const t = unescape(encodeURIComponent(e)); e = []; for (let n = 0; n < t.length; ++n) e.push(t.charCodeAt(n)); } else Array.isArray(e) || (e = Array.prototype.slice.call(e)); e.push(128); const a = e.length / 4 + 2, i = Math.ceil(a / 16), s = new Array(i); for (let t = 0; t < i; ++t) { const n = new Uint32Array(16); for (let r = 0; r < 16; ++r) n[r] = (e[64 * t + 4 * r] << 24) | (e[64 * t + 4 * r + 1] << 16) | (e[64 * t + 4 * r + 2] << 8) | e[64 * t + 4 * r + 3]; s[t] = n; } (s[i - 1][14] = (8 * (e.length - 1)) / Math.pow(2, 32)), (s[i - 1][14] = Math.floor(s[i - 1][14])), (s[i - 1][15] = (8 * (e.length - 1)) & 4294967295); for (let e = 0; e < i; ++e) { const a = new Uint32Array(80); for (let t = 0; t < 16; ++t) a[t] = s[e][t]; for (let e = 16; e < 80; ++e) a[e] = r(a[e - 3] ^ a[e - 8] ^ a[e - 14] ^ a[e - 16], 1); let i = o[0], c = o[1], l = o[2], u = o[3], d = o[4]; for (let e = 0; e < 80; ++e) { const o = Math.floor(e / 20), s = (r(i, 5) + n(o, c, l, u) + d + t[o] + a[e]) >>> 0; (d = u), (u = l), (l = r(c, 30) >>> 0), (c = i), (i = s); } (o[0] = (o[0] + i) >>> 0), (o[1] = (o[1] + c) >>> 0), (o[2] = (o[2] + l) >>> 0), (o[3] = (o[3] + u) >>> 0), (o[4] = (o[4] + d) >>> 0); } return [ (o[0] >> 24) & 255, (o[0] >> 16) & 255, (o[0] >> 8) & 255, 255 & o[0], (o[1] >> 24) & 255, (o[1] >> 16) & 255, (o[1] >> 8) & 255, 255 & o[1], (o[2] >> 24) & 255, (o[2] >> 16) & 255, (o[2] >> 8) & 255, 255 & o[2], (o[3] >> 24) & 255, (o[3] >> 16) & 255, (o[3] >> 8) & 255, 255 & o[3], (o[4] >> 24) & 255, (o[4] >> 16) & 255, (o[4] >> 8) & 255, 255 & o[4], ]; }; }, 41929: (e, t, n) => { "use strict"; Object.defineProperty(t, "__esModule", { value: !0 }), (t.default = void 0), (t.unsafeStringify = i); var r, o = (r = n(30333)) && r.__esModule ? r : { default: r }; const a = []; for (let e = 0; e < 256; ++e) a.push((e + 256).toString(16).slice(1)); function i(e, t = 0) { return ( a[e[t + 0]] + a[e[t + 1]] + a[e[t + 2]] + a[e[t + 3]] + "-" + a[e[t + 4]] + a[e[t + 5]] + "-" + a[e[t + 6]] + a[e[t + 7]] + "-" + a[e[t + 8]] + a[e[t + 9]] + "-" + a[e[t + 10]] + a[e[t + 11]] + a[e[t + 12]] + a[e[t + 13]] + a[e[t + 14]] + a[e[t + 15]] ).toLowerCase(); } t.default = function (e, t = 0) { const n = i(e, t); if (!(0, o.default)(n)) throw TypeError("Stringified UUID is invalid"); return n; }; }, 34682: (e, t, n) => { "use strict"; Object.defineProperty(t, "__esModule", { value: !0 }), (t.default = void 0); var r, o = (r = n(21862)) && r.__esModule ? r : { default: r }, a = n(41929); let i, s, c = 0, l = 0; t.default = function (e, t, n) { let r = (t && n) || 0; const u = t || new Array(16); let d = (e = e || {}).node || i, p = void 0 !== e.clockseq ? e.clockseq : s; if (null == d || null == p) { const t = e.random || (e.rng || o.default)(); null == d && (d = i = [1 | t[0], t[1], t[2], t[3], t[4], t[5]]), null == p && (p = s = 16383 & ((t[6] << 8) | t[7])); } let f = void 0 !== e.msecs ? e.msecs : Date.now(), m = void 0 !== e.nsecs ? e.nsecs : l + 1; const h = f - c + (m - l) / 1e4; if ((h < 0 && void 0 === e.clockseq && (p = (p + 1) & 16383), (h < 0 || f > c) && void 0 === e.nsecs && (m = 0), m >= 1e4)) throw new Error("uuid.v1(): Can't create more than 10M uuids/sec"); (c = f), (l = m), (s = p), (f += 122192928e5); const v = (1e4 * (268435455 & f) + m) % 4294967296; (u[r++] = (v >>> 24) & 255), (u[r++] = (v >>> 16) & 255), (u[r++] = (v >>> 8) & 255), (u[r++] = 255 & v); const y = ((f / 4294967296) * 1e4) & 268435455; (u[r++] = (y >>> 8) & 255), (u[r++] = 255 & y), (u[r++] = ((y >>> 24) & 15) | 16), (u[r++] = (y >>> 16) & 255), (u[r++] = (p >>> 8) | 128), (u[r++] = 255 & p); for (let e = 0; e < 6; ++e) u[r + e] = d[e]; return t || (0, a.unsafeStringify)(u); }; }, 84570: (e, t, n) => { "use strict"; Object.defineProperty(t, "__esModule", { value: !0 }), (t.default = void 0); var r = a(n(75168)), o = a(n(75759)); function a(e) { return e && e.__esModule ? e : { default: e }; } var i = (0, r.default)("v3", 48, o.default); t.default = i; }, 75168: (e, t, n) => { "use strict"; Object.defineProperty(t, "__esModule", { value: !0 }), (t.URL = t.DNS = void 0), (t.default = function (e, t, n) { function r(e, r, i, s) { var c; if ( ("string" == typeof e && (e = (function (e) { e = unescape(encodeURIComponent(e)); const t = []; for (let n = 0; n < e.length; ++n) t.push(e.charCodeAt(n)); return t; })(e)), "string" == typeof r && (r = (0, a.default)(r)), 16 !== (null === (c = r) || void 0 === c ? void 0 : c.length)) ) throw TypeError("Namespace must be array-like (16 iterable integer values, 0-255)"); let l = new Uint8Array(16 + e.length); if ((l.set(r), l.set(e, r.length), (l = n(l)), (l[6] = (15 & l[6]) | t), (l[8] = (63 & l[8]) | 128), i)) { s = s || 0; for (let e = 0; e < 16; ++e) i[s + e] = l[e]; return i; } return (0, o.unsafeStringify)(l); } try { r.name = e; } catch (e) {} return (r.DNS = i), (r.URL = s), r; }); var r, o = n(41929), a = (r = n(65754)) && r.__esModule ? r : { default: r }; const i = "6ba7b810-9dad-11d1-80b4-00c04fd430c8"; t.DNS = i; const s = "6ba7b811-9dad-11d1-80b4-00c04fd430c8"; t.URL = s; }, 85370: (e, t, n) => { "use strict"; Object.defineProperty(t, "__esModule", { value: !0 }), (t.default = void 0); var r = i(n(53919)), o = i(n(21862)), a = n(41929); function i(e) { return e && e.__esModule ? e : { default: e }; } t.default = function (e, t, n) { if (r.default.randomUUID && !t && !e) return r.default.randomUUID(); const i = (e = e || {}).random || (e.rng || o.default)(); if (((i[6] = (15 & i[6]) | 64), (i[8] = (63 & i[8]) | 128), t)) { n = n || 0; for (let e = 0; e < 16; ++e) t[n + e] = i[e]; return t; } return (0, a.unsafeStringify)(i); }; }, 82394: (e, t, n) => { "use strict"; Object.defineProperty(t, "__esModule", { value: !0 }), (t.default = void 0); var r = a(n(75168)), o = a(n(31963)); function a(e) { return e && e.__esModule ? e : { default: e }; } var i = (0, r.default)("v5", 80, o.default); t.default = i; }, 30333: (e, t, n) => { "use strict"; Object.defineProperty(t, "__esModule", { value: !0 }), (t.default = void 0); var r, o = (r = n(51060)) && r.__esModule ? r : { default: r }; t.default = function (e) { return "string" == typeof e && o.default.test(e); }; }, 18967: (e, t, n) => { "use strict"; Object.defineProperty(t, "__esModule", { value: !0 }), (t.default = void 0); var r, o = (r = n(30333)) && r.__esModule ? r : { default: r }; t.default = function (e) { if (!(0, o.default)(e)) throw TypeError("Invalid UUID"); return parseInt(e.slice(14, 15), 16); }; }, 57781: (e, t, n) => { "use strict"; function r(e) { if ("symbol" == typeof e) throw TypeError("Cannot convert a Symbol value to a string"); return String(e); } function o(e) { if (void 0 === e) return NaN; if (null === e) return 0; if ("boolean" == typeof e) return e ? 1 : 0; if ("number" == typeof e) return e; if ("symbol" == typeof e || "bigint" == typeof e) throw new TypeError("Cannot convert symbol/bigint to number"); return Number(e); } function a(e) { return isFinite(e) ? Math.abs(e) > 8640000000000001 ? NaN : (function (e) { var t = o(e); if (isNaN(t) || s(t, -0)) return 0; if (isFinite(t)) return t; var n = Math.floor(Math.abs(t)); return t < 0 && (n = -n), s(n, -0) ? 0 : n; })(e) : NaN; } function i(e) { if (null == e) throw new TypeError("undefined/null cannot be converted to object"); return Object(e); } function s(e, t) { return Object.is ? Object.is(e, t) : e === t ? 0 !== e || 1 / e == 1 / t : e != e && t != t; } function c(e) { return new Array(e); } function l(e, t) { return Object.prototype.hasOwnProperty.call(e, t); } function u(e) { return null === e ? "Null" : void 0 === e ? "Undefined" : "function" == typeof e || "object" == typeof e ? "Object" : "number" == typeof e ? "Number" : "boolean" == typeof e ? "Boolean" : "string" == typeof e ? "String" : "symbol" == typeof e ? "Symbol" : "bigint" == typeof e ? "BigInt" : void 0; } n.d(t, { $i: () => E, CU: () => o, Dy: () => u, J1: () => D, Jc: () => f, Ml: () => r, My: () => g, QP: () => s, R2: () => x, TA: () => i, U6: () => c, VR: () => m, Vg: () => N, XB: () => C, XH: () => a, Zq: () => I, gL: () => h, n7: () => y, oD: () => b, py: () => O, rf: () => v, uY: () => l, xk: () => F, }); var d = 864e5; function p(e, t) { return e - Math.floor(e / t) * t; } function f(e) { return Math.floor(e / d); } function m(e) { return p(f(e) + 4, 7); } function h(e) { return Date.UTC(e, 0) / d; } function v(e) { return Date.UTC(e, 0); } function y(e) { return new Date(e).getUTCFullYear(); } function g(e) { return e % 4 != 0 ? 365 : e % 100 != 0 ? 366 : e % 400 != 0 ? 365 : 366; } function b(e) { return f(e) - h(y(e)); } function E(e) { return 365 === g(y(e)) ? 0 : 1; } function D(e) { var t = b(e), n = E(e); if (t >= 0 && t < 31) return 0; if (t < 59 + n) return 1; if (t < 90 + n) return 2; if (t < 120 + n) return 3; if (t < 151 + n) return 4; if (t < 181 + n) return 5; if (t < 212 + n) return 6; if (t < 243 + n) return 7; if (t < 273 + n) return 8; if (t < 304 + n) return 9; if (t < 334 + n) return 10; if (t < 365 + n) return 11; throw new Error("Invalid time"); } function C(e) { var t = b(e), n = D(e), r = E(e); if (0 === n) return t + 1; if (1 === n) return t - 30; if (2 === n) return t - 58 - r; if (3 === n) return t - 89 - r; if (4 === n) return t - 119 - r; if (5 === n) return t - 150 - r; if (6 === n) return t - 180 - r; if (7 === n) return t - 211 - r; if (8 === n) return t - 242 - r; if (9 === n) return t - 272 - r; if (10 === n) return t - 303 - r; if (11 === n) return t - 333 - r; throw new Error("Invalid time"); } var w = 24, S = 60, A = 60, k = 1e3, _ = k * A, T = _ * S; function I(e) { return p(Math.floor(e / T), w); } function O(e) { return p(Math.floor(e / _), S); } function F(e) { return p(Math.floor(e / k), A); } function x(e, t, n) { if ("function" != typeof e) return !1; if (null == n ? void 0 : n.boundTargetFunction) return t instanceof (null == n ? void 0 : n.boundTargetFunction); if ("object" != typeof t) return !1; var r = e.prototype; if ("object" != typeof r) throw new TypeError("OrdinaryHasInstance called on an object with an invalid prototype property."); return Object.prototype.isPrototypeOf.call(r, t); } function N(e) { return p(e, k); } }, 31850: (e, t, n) => { "use strict"; function r(e) { return Intl.getCanonicalLocales(e); } n.d(t, { L: () => r }); }, 59854: (e, t, n) => { "use strict"; function r(e, t) { var n = t.tzData, r = t.uppercaseLinks, o = e.toUpperCase(), a = Object.keys(n).reduce(function (e, t) { return (e[t.toUpperCase()] = t), e; }, {}), i = r[o] || a[o]; return "Etc/UTC" === i || "Etc/GMT" === i ? "UTC" : i; } n.d(t, { a: () => r }); }, 20875: (e, t, n) => { "use strict"; n.d(t, { U: () => o }); var r = n(57781); function o(e) { return void 0 === e ? Object.create(null) : (0, r.TA)(e); } }, 26575: (e, t, n) => { "use strict"; function r(e, t, n, r) { if (void 0 !== e) { if (((e = Number(e)), isNaN(e) || e < t || e > n)) throw new RangeError("".concat(e, " is outside of range [").concat(t, ", ").concat(n, "]")); return Math.floor(e); } return r; } n.d(t, { Q: () => r }); }, 1414: (e, t, n) => { "use strict"; n.d(t, { _: () => o }); var r = n(26575); function o(e, t, n, o, a) { var i = e[t]; return (0, r.Q)(i, n, o, a); } }, 13458: (e, t, n) => { "use strict"; n.d(t, { u: () => o }); var r = n(57781); function o(e, t, n, o, a) { if ("object" != typeof e) throw new TypeError("Options must be an object"); var i = e[t]; if (void 0 !== i) { if ("boolean" !== n && "string" !== n) throw new TypeError("invalid type"); if ( ("boolean" === n && (i = Boolean(i)), "string" === n && (i = (0, r.Ml)(i)), void 0 !== o && !o.filter(function (e) { return e == i; }).length) ) throw new RangeError("".concat(i, " is not within ").concat(o.join(", "))); return i; } return a; } }, 63481: (e, t, n) => { "use strict"; function r(e) { if (void 0 === e) return Object.create(null); if ("object" == typeof e) return e; throw new TypeError("Options must be an object"); } n.d(t, { F: () => r }); }, 70620: (e, t, n) => { "use strict"; n.d(t, { Hr: () => o, Js: () => r, UQ: () => i, oO: () => a }); var r = [ "angle-degree", "area-acre", "area-hectare", "concentr-percent", "digital-bit", "digital-byte", "digital-gigabit", "digital-gigabyte", "digital-kilobit", "digital-kilobyte", "digital-megabit", "digital-megabyte", "digital-petabyte", "digital-terabit", "digital-terabyte", "duration-day", "duration-hour", "duration-millisecond", "duration-minute", "duration-month", "duration-second", "duration-week", "duration-year", "length-centimeter", "length-foot", "length-inch", "length-kilometer", "length-meter", "length-mile-scandinavian", "length-mile", "length-millimeter", "length-yard", "mass-gram", "mass-kilogram", "mass-ounce", "mass-pound", "mass-stone", "temperature-celsius", "temperature-fahrenheit", "volume-fluid-ounce", "volume-gallon", "volume-liter", "volume-milliliter", ]; function o(e) { return e.slice(e.indexOf("-") + 1); } var a = r.map(o); function i(e) { return a.indexOf(e) > -1; } }, 96510: (e, t, n) => { "use strict"; function r(e, t) { var n = t.tzData, r = t.uppercaseLinks, o = e.toUpperCase(), a = new Set(), i = new Set(); return ( Object.keys(n) .map(function (e) { return e.toUpperCase(); }) .forEach(function (e) { return a.add(e); }), Object.keys(r).forEach(function (e) { i.add(e.toUpperCase()), a.add(r[e].toUpperCase()); }), a.has(o) || i.has(o) ); } n.d(t, { s: () => r }); }, 63210: (e, t, n) => { "use strict"; n.d(t, { K: () => o }); var r = /[^A-Z]/; function o(e) { return ( 3 === (e = e.replace(/([a-z])/g, function (e, t) { return t.toUpperCase(); })).length && !r.test(e) ); } }, 68642: (e, t, n) => { "use strict"; n.d(t, { L: () => o }); var r = n(70620); function o(e) { if ( ((e = e.replace(/([A-Z])/g, function (e, t) { return t.toLowerCase(); })), (0, r.UQ)(e)) ) return !0; var t = e.split("-per-"); if (2 !== t.length) return !1; var n = t[0], o = t[1]; return !(!(0, r.UQ)(n) || !(0, r.UQ)(o)); } }, 7011: (e, t, n) => { "use strict"; n.d(t, { V: () => i }); var r = n(85665), o = n(70993), a = n(88751); function i(e, t, n) { var i = n.getInternalSlots; if (0 === t) return [0, 0]; t < 0 && (t = -t); var s = (0, r.Tg)(t), c = (0, o.b)(e, s, { getInternalSlots: i }); t = c < 0 ? t * Math.pow(10, -c) : t / Math.pow(10, c); var l = (0, a.E)(i(e), t); return 0 === l.roundedNumber || (0, r.Tg)(l.roundedNumber) === s - c ? [c, s] : [(0, o.b)(e, s + 1, { getInternalSlots: i }), s + 1]; } }, 70993: (e, t, n) => { "use strict"; function r(e, t, n) { var r = (0, n.getInternalSlots)(e), o = r.notation, a = r.dataLocaleData, i = r.numberingSystem; switch (o) { case "standard": return 0; case "scientific": return t; case "engineering": return 3 * Math.floor(t / 3); default: var s = r.compactDisplay, c = r.style, l = r.currencyDisplay, u = void 0; if ("currency" === c && "name" !== l) u = (a.numbers.currency[i] || a.numbers.currency[a.numbers.nu[0]]).short; else { var d = a.numbers.decimal[i] || a.numbers.decimal[a.numbers.nu[0]]; u = "long" === s ? d.long : d.short; } if (!u) return 0; var p = String(Math.pow(10, t)), f = Object.keys(u); if (p < f[0]) return 0; if (p > f[f.length - 1]) return f[f.length - 1].length - 1; var m = f.indexOf(p); if (-1 === m) return 0; var h = f[m]; return "0" === u[h].other ? 0 : h.length - u[h].other.match(/0+/)[0].length; } } n.d(t, { b: () => r }); }, 76306: (e, t, n) => { "use strict"; n.d(t, { T: () => o }); var r = n(57781); function o(e, t) { var n = t.currencyDigitsData; return (0, r.uY)(n, e) ? n[e] : 2; } }, 8986: (e, t, n) => { "use strict"; n.d(t, { M: () => a }); var r = n(12264), o = n(57781); function a(e, t, n) { for (var a = (0, r.I)(e, t, n), i = (0, o.U6)(0), s = 0, c = a; s < c.length; s++) { var l = c[s]; i.push({ type: l.type, value: l.value }); } return i; } }, 88751: (e, t, n) => { "use strict"; n.d(t, { E: () => s }); var r = n(57781), o = n(74698), a = n(85665), i = n(9094); function s(e, t) { var n, s = t < 0 || (0, r.QP)(t, -0); switch ((s && (t = -t), e.roundingType)) { case "significantDigits": n = (0, o.w)(t, e.minimumSignificantDigits, e.maximumSignificantDigits); break; case "fractionDigits": n = (0, i.W)(t, e.minimumFractionDigits, e.maximumFractionDigits); break; default: (n = (0, o.w)(t, 1, 2)).integerDigitsCount > 1 && (n = (0, i.W)(t, 0, 0)); } t = n.roundedNumber; var c = n.formattedString, l = n.integerDigitsCount, u = e.minimumIntegerDigits; return l < u && (c = (0, a.rx)("0", u - l) + c), s && (t = -t), { roundedNumber: t, formattedString: c }; } }, 27647: (e, t, n) => { "use strict"; n.d(t, { o: () => d }); var r = n(31850), o = n(13458), a = n(14871), i = n(43117), s = n(76306), c = n(72288), l = n(85665), u = n(20875); function d(e, t, n, d) { var p = d.getInternalSlots, f = d.localeData, m = d.availableLocales, h = d.numberingSystemNames, v = d.getDefaultLocale, y = d.currencyDigitsData, g = (0, r.L)(t), b = (0, u.U)(n), E = Object.create(null), D = (0, o.u)(b, "localeMatcher", "string", ["lookup", "best fit"], "best fit"); E.localeMatcher = D; var C = (0, o.u)(b, "numberingSystem", "string", void 0, void 0); if (void 0 !== C && h.indexOf(C) < 0) throw RangeError("Invalid numberingSystems: ".concat(C)); E.nu = C; var w = (0, a.f)(m, g, E, ["nu"], f, v), S = f[w.dataLocale]; (0, l.kG)(!!S, "Missing locale data for ".concat(w.dataLocale)); var A = p(e); (A.locale = w.locale), (A.dataLocale = w.dataLocale), (A.numberingSystem = w.nu), (A.dataLocaleData = S), (0, i.x)(e, b, { getInternalSlots: p }); var k, _, T = A.style; if ("currency" === T) { var I = A.currency, O = (0, s.T)(I, { currencyDigitsData: y }); (k = O), (_ = O); } else (k = 0), (_ = "percent" === T ? 0 : 3); var F = (0, o.u)(b, "notation", "string", ["standard", "scientific", "engineering", "compact"], "standard"); (A.notation = F), (0, c.W)(A, b, k, _, F); var x = (0, o.u)(b, "compactDisplay", "string", ["short", "long"], "short"); "compact" === F && (A.compactDisplay = x); var N = (0, o.u)(b, "useGrouping", "boolean", void 0, !0); A.useGrouping = N; var R = (0, o.u)(b, "signDisplay", "string", ["auto", "never", "always", "exceptZero"], "auto"); return (A.signDisplay = R), e; } }, 12264: (e, t, n) => { "use strict"; n.d(t, { I: () => s }); var r = n(88751), o = n(57781), a = n(7011), i = n(23423); function s(e, t, n) { var s, c, l, u = n.getInternalSlots, d = u(e), p = d.pl, f = d.dataLocaleData, m = d.numberingSystem, h = f.numbers.symbols[m] || f.numbers.symbols[f.numbers.nu[0]], v = 0, y = 0; if (isNaN(t)) c = h.nan; else if (isFinite(t)) { "percent" === d.style && (t *= 100), (y = (s = (0, a.V)(e, t, { getInternalSlots: u }))[0]), (v = s[1]), (t = y < 0 ? t * Math.pow(10, -y) : t / Math.pow(10, y)); var g = (0, r.E)(d, t); (c = g.formattedString), (t = g.roundedNumber); } else c = h.infinity; switch (d.signDisplay) { case "never": l = 0; break; case "auto": l = (0, o.QP)(t, 0) || t > 0 || isNaN(t) ? 0 : -1; break; case "always": l = (0, o.QP)(t, 0) || t > 0 || isNaN(t) ? 1 : -1; break; default: l = 0 === t || isNaN(t) ? 0 : t > 0 ? 1 : -1; } return (0, i.Z)({ roundedNumber: t, formattedString: c, exponent: y, magnitude: v, sign: l }, d.dataLocaleData, p, d); } }, 72288: (e, t, n) => { "use strict"; n.d(t, { W: () => a }); var r = n(1414), o = n(26575); function a(e, t, n, a, i) { var s = (0, r._)(t, "minimumIntegerDigits", 1, 21, 1), c = t.minimumFractionDigits, l = t.maximumFractionDigits, u = t.minimumSignificantDigits, d = t.maximumSignificantDigits; if (((e.minimumIntegerDigits = s), void 0 !== u || void 0 !== d)) (e.roundingType = "significantDigits"), (u = (0, o.Q)(u, 1, 21, 1)), (d = (0, o.Q)(d, u, 21, 21)), (e.minimumSignificantDigits = u), (e.maximumSignificantDigits = d); else if (void 0 !== c || void 0 !== l) { (e.roundingType = "fractionDigits"), (c = (0, o.Q)(c, 0, 20, n)); var p = Math.max(c, a); (l = (0, o.Q)(l, c, 20, p)), (e.minimumFractionDigits = c), (e.maximumFractionDigits = l); } else "compact" === i ? (e.roundingType = "compactRounding") : ((e.roundingType = "fractionDigits"), (e.minimumFractionDigits = n), (e.maximumFractionDigits = a)); } }, 43117: (e, t, n) => { "use strict"; n.d(t, { x: () => i }); var r = n(13458), o = n(63210), a = n(68642); function i(e, t, n) { void 0 === t && (t = Object.create(null)); var i = (0, n.getInternalSlots)(e), s = (0, r.u)(t, "style", "string", ["decimal", "percent", "currency", "unit"], "decimal"); i.style = s; var c = (0, r.u)(t, "currency", "string", void 0, void 0); if (void 0 !== c && !(0, o.K)(c)) throw RangeError("Malformed currency code"); if ("currency" === s && void 0 === c) throw TypeError("currency cannot be undefined"); var l = (0, r.u)(t, "currencyDisplay", "string", ["code", "symbol", "narrowSymbol", "name"], "symbol"), u = (0, r.u)(t, "currencySign", "string", ["standard", "accounting"], "standard"), d = (0, r.u)(t, "unit", "string", void 0, void 0); if (void 0 !== d && !(0, a.L)(d)) throw RangeError("Invalid unit argument for Intl.NumberFormat()"); if ("unit" === s && void 0 === d) throw TypeError("unit cannot be undefined"); var p = (0, r.u)(t, "unitDisplay", "string", ["short", "narrow", "long"], "short"); "currency" === s && ((i.currency = c.toUpperCase()), (i.currencyDisplay = l), (i.currencySign = u)), "unit" === s && ((i.unit = d), (i.unitDisplay = p)); } }, 9094: (e, t, n) => { "use strict"; n.d(t, { W: () => o }); var r = n(85665); function o(e, t, n) { var o, a, i = n, s = Math.round(e * Math.pow(10, i)), c = s / Math.pow(10, i); if (s < 1e21) o = s.toString(); else { var l = (o = s.toString()).split("e"), u = l[0], d = l[1]; (o = u.replace(".", "")), (o += (0, r.rx)("0", Math.max(+d - o.length + 1, 0))); } if (0 !== i) { var p = o.length; p <= i && ((o = (0, r.rx)("0", i + 1 - p) + o), (p = i + 1)); var f = o.slice(0, p - i), m = o.slice(p - i); (o = "".concat(f, ".").concat(m)), (a = f.length); } else a = o.length; for (var h = n - t; h > 0 && "0" === o[o.length - 1]; ) (o = o.slice(0, -1)), h--; return "." === o[o.length - 1] && (o = o.slice(0, -1)), { formattedString: o, roundedNumber: c, integerDigitsCount: a }; } }, 74698: (e, t, n) => { "use strict"; n.d(t, { w: () => o }); var r = n(85665); function o(e, t, n) { var o, a, i, s, c = n; if (0 === e) (o = (0, r.rx)("0", c)), (a = 0), (i = 0); else { var l = e.toString(), u = l.indexOf("e"), d = l.split("e"), p = d[0], f = d[1], m = p.replace(".", ""); if (u >= 0 && m.length <= c) (a = +f), (o = m + (0, r.rx)("0", c - m.length)), (i = e); else { var h = (a = (0, r.Tg)(e)) - c + 1, v = Math.round(g(e, h)); g(v, c - 1) >= 10 && ((a += 1), (v = Math.floor(v / 10))), (o = v.toString()), (i = g(v, c - 1 - a)); } } if ( (a >= c - 1 ? ((o += (0, r.rx)("0", a - c + 1)), (s = a + 1)) : a >= 0 ? ((o = "".concat(o.slice(0, a + 1), ".").concat(o.slice(a + 1))), (s = a + 1)) : ((o = "0.".concat((0, r.rx)("0", -a - 1)).concat(o)), (s = 1)), o.indexOf(".") >= 0 && n > t) ) { for (var y = n - t; y > 0 && "0" === o[o.length - 1]; ) (o = o.slice(0, -1)), y--; "." === o[o.length - 1] && (o = o.slice(0, -1)); } return { formattedString: o, roundedNumber: i, integerDigitsCount: s }; function g(e, t) { return t < 0 ? e * Math.pow(10, -t) : e / Math.pow(10, t); } } }, 23423: (e, t, n) => { "use strict"; n.d(t, { Z: () => l }); var r = n(9094), o = { adlm: ["𞥐", "𞥑", "𞥒", "𞥓", "𞥔", "𞥕", "𞥖", "𞥗", "𞥘", "𞥙"], ahom: ["𑜰", "𑜱", "𑜲", "𑜳", "𑜴", "𑜵", "𑜶", "𑜷", "𑜸", "𑜹"], arab: ["٠", "١", "٢", "٣", "٤", "٥", "٦", "٧", "٨", "٩"], arabext: ["۰", "۱", "۲", "۳", "۴", "۵", "۶", "۷", "۸", "۹"], bali: ["᭐", "᭑", "᭒", "᭓", "᭔", "᭕", "᭖", "᭗", "᭘", "᭙"], beng: ["০", "১", "২", "৩", "৪", "৫", "৬", "৭", "৮", "৯"], bhks: ["𑱐", "𑱑", "𑱒", "𑱓", "𑱔", "𑱕", "𑱖", "𑱗", "𑱘", "𑱙"], brah: ["𑁦", "𑁧", "𑁨", "𑁩", "𑁪", "𑁫", "𑁬", "𑁭", "𑁮", "𑁯"], cakm: ["𑄶", "𑄷", "𑄸", "𑄹", "𑄺", "𑄻", "𑄼", "𑄽", "𑄾", "𑄿"], cham: ["꩐", "꩑", "꩒", "꩓", "꩔", "꩕", "꩖", "꩗", "꩘", "꩙"], deva: ["०", "१", "२", "३", "४", "५", "६", "७", "८", "९"], diak: ["𑥐", "𑥑", "𑥒", "𑥓", "𑥔", "𑥕", "𑥖", "𑥗", "𑥘", "𑥙"], fullwide: ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], gong: ["𑶠", "𑶡", "𑶢", "𑶣", "𑶤", "𑶥", "𑶦", "𑶧", "𑶨", "𑶩"], gonm: ["𑵐", "𑵑", "𑵒", "𑵓", "𑵔", "𑵕", "𑵖", "𑵗", "𑵘", "𑵙"], gujr: ["૦", "૧", "૨", "૩", "૪", "૫", "૬", "૭", "૮", "૯"], guru: ["੦", "੧", "੨", "੩", "੪", "੫", "੬", "੭", "੮", "੯"], hanidec: ["〇", "一", "二", "三", "四", "五", "六", "七", "八", "九"], hmng: ["𖭐", "𖭑", "𖭒", "𖭓", "𖭔", "𖭕", "𖭖", "𖭗", "𖭘", "𖭙"], hmnp: ["𞅀", "𞅁", "𞅂", "𞅃", "𞅄", "𞅅", "𞅆", "𞅇", "𞅈", "𞅉"], java: ["꧐", "꧑", "꧒", "꧓", "꧔", "꧕", "꧖", "꧗", "꧘", "꧙"], kali: ["꤀", "꤁", "꤂", "꤃", "꤄", "꤅", "꤆", "꤇", "꤈", "꤉"], khmr: ["០", "១", "២", "៣", "៤", "៥", "៦", "៧", "៨", "៩"], knda: ["೦", "೧", "೨", "೩", "೪", "೫", "೬", "೭", "೮", "೯"], lana: ["᪀", "᪁", "᪂", "᪃", "᪄", "᪅", "᪆", "᪇", "᪈", "᪉"], lanatham: ["᪐", "᪑", "᪒", "᪓", "᪔", "᪕", "᪖", "᪗", "᪘", "᪙"], laoo: ["໐", "໑", "໒", "໓", "໔", "໕", "໖", "໗", "໘", "໙"], lepc: ["᪐", "᪑", "᪒", "᪓", "᪔", "᪕", "᪖", "᪗", "᪘", "᪙"], limb: ["᥆", "᥇", "᥈", "᥉", "᥊", "᥋", "᥌", "᥍", "᥎", "᥏"], mathbold: ["𝟎", "𝟏", "𝟐", "𝟑", "𝟒", "𝟓", "𝟔", "𝟕", "𝟖", "𝟗"], mathdbl: ["𝟘", "𝟙", "𝟚", "𝟛", "𝟜", "𝟝", "𝟞", "𝟟", "𝟠", "𝟡"], mathmono: ["𝟶", "𝟷", "𝟸", "𝟹", "𝟺", "𝟻", "𝟼", "𝟽", "𝟾", "𝟿"], mathsanb: ["𝟬", "𝟭", "𝟮", "𝟯", "𝟰", "𝟱", "𝟲", "𝟳", "𝟴", "𝟵"], mathsans: ["𝟢", "𝟣", "𝟤", "𝟥", "𝟦", "𝟧", "𝟨", "𝟩", "𝟪", "𝟫"], mlym: ["൦", "൧", "൨", "൩", "൪", "൫", "൬", "൭", "൮", "൯"], modi: ["𑙐", "𑙑", "𑙒", "𑙓", "𑙔", "𑙕", "𑙖", "𑙗", "𑙘", "𑙙"], mong: ["᠐", "᠑", "᠒", "᠓", "᠔", "᠕", "᠖", "᠗", "᠘", "᠙"], mroo: ["𖩠", "𖩡", "𖩢", "𖩣", "𖩤", "𖩥", "𖩦", "𖩧", "𖩨", "𖩩"], mtei: ["꯰", "꯱", "꯲", "꯳", "꯴", "꯵", "꯶", "꯷", "꯸", "꯹"], mymr: ["၀", "၁", "၂", "၃", "၄", "၅", "၆", "၇", "၈", "၉"], mymrshan: ["႐", "႑", "႒", "႓", "႔", "႕", "႖", "႗", "႘", "႙"], mymrtlng: ["꧰", "꧱", "꧲", "꧳", "꧴", "꧵", "꧶", "꧷", "꧸", "꧹"], newa: ["𑑐", "𑑑", "𑑒", "𑑓", "𑑔", "𑑕", "𑑖", "𑑗", "𑑘", "𑑙"], nkoo: ["߀", "߁", "߂", "߃", "߄", "߅", "߆", "߇", "߈", "߉"], olck: ["᱐", "᱑", "᱒", "᱓", "᱔", "᱕", "᱖", "᱗", "᱘", "᱙"], orya: ["୦", "୧", "୨", "୩", "୪", "୫", "୬", "୭", "୮", "୯"], osma: ["𐒠", "𐒡", "𐒢", "𐒣", "𐒤", "𐒥", "𐒦", "𐒧", "𐒨", "𐒩"], rohg: ["𐴰", "𐴱", "𐴲", "𐴳", "𐴴", "𐴵", "𐴶", "𐴷", "𐴸", "𐴹"], saur: ["꣐", "꣑", "꣒", "꣓", "꣔", "꣕", "꣖", "꣗", "꣘", "꣙"], segment: ["🯰", "🯱", "🯲", "🯳", "🯴", "🯵", "🯶", "🯷", "🯸", "🯹"], shrd: ["𑇐", "𑇑", "𑇒", "𑇓", "𑇔", "𑇕", "𑇖", "𑇗", "𑇘", "𑇙"], sind: ["𑋰", "𑋱", "𑋲", "𑋳", "𑋴", "𑋵", "𑋶", "𑋷", "𑋸", "𑋹"], sinh: ["෦", "෧", "෨", "෩", "෪", "෫", "෬", "෭", "෮", "෯"], sora: ["𑃰", "𑃱", "𑃲", "𑃳", "𑃴", "𑃵", "𑃶", "𑃷", "𑃸", "𑃹"], sund: ["᮰", "᮱", "᮲", "᮳", "᮴", "᮵", "᮶", "᮷", "᮸", "᮹"], takr: ["𑛀", "𑛁", "𑛂", "𑛃", "𑛄", "𑛅", "𑛆", "𑛇", "𑛈", "𑛉"], talu: ["᧐", "᧑", "᧒", "᧓", "᧔", "᧕", "᧖", "᧗", "᧘", "᧙"], tamldec: ["௦", "௧", "௨", "௩", "௪", "௫", "௬", "௭", "௮", "௯"], telu: ["౦", "౧", "౨", "౩", "౪", "౫", "౬", "౭", "౮", "౯"], thai: ["๐", "๑", "๒", "๓", "๔", "๕", "๖", "๗", "๘", "๙"], tibt: ["༠", "༡", "༢", "༣", "༤", "༥", "༦", "༧", "༨", "༩"], tirh: ["𑓐", "𑓑", "𑓒", "𑓓", "𑓔", "𑓕", "𑓖", "𑓗", "𑓘", "𑓙"], vaii: ["ᘠ", "ᘡ", "ᘢ", "ᘣ", "ᘤ", "ᘥ", "ᘦ", "ᘧ", "ᘨ", "ᘩ"], wara: ["𑣠", "𑣡", "𑣢", "𑣣", "𑣤", "𑣥", "𑣦", "𑣧", "𑣨", "𑣩"], wcho: ["𞋰", "𞋱", "𞋲", "𞋳", "𞋴", "𞋵", "𞋶", "𞋷", "𞋸", "𞋹"], }, a = /[\$\+<->\^`\|~\xA2-\xA6\xA8\xA9\xAC\xAE-\xB1\xB4\xB8\xD7\xF7\u02C2-\u02C5\u02D2-\u02DF\u02E5-\u02EB\u02ED\u02EF-\u02FF\u0375\u0384\u0385\u03F6\u0482\u058D-\u058F\u0606-\u0608\u060B\u060E\u060F\u06DE\u06E9\u06FD\u06FE\u07F6\u07FE\u07FF\u09F2\u09F3\u09FA\u09FB\u0AF1\u0B70\u0BF3-\u0BFA\u0C7F\u0D4F\u0D79\u0E3F\u0F01-\u0F03\u0F13\u0F15-\u0F17\u0F1A-\u0F1F\u0F34\u0F36\u0F38\u0FBE-\u0FC5\u0FC7-\u0FCC\u0FCE\u0FCF\u0FD5-\u0FD8\u109E\u109F\u1390-\u1399\u166D\u17DB\u1940\u19DE-\u19FF\u1B61-\u1B6A\u1B74-\u1B7C\u1FBD\u1FBF-\u1FC1\u1FCD-\u1FCF\u1FDD-\u1FDF\u1FED-\u1FEF\u1FFD\u1FFE\u2044\u2052\u207A-\u207C\u208A-\u208C\u20A0-\u20BF\u2100\u2101\u2103-\u2106\u2108\u2109\u2114\u2116-\u2118\u211E-\u2123\u2125\u2127\u2129\u212E\u213A\u213B\u2140-\u2144\u214A-\u214D\u214F\u218A\u218B\u2190-\u2307\u230C-\u2328\u232B-\u2426\u2440-\u244A\u249C-\u24E9\u2500-\u2767\u2794-\u27C4\u27C7-\u27E5\u27F0-\u2982\u2999-\u29D7\u29DC-\u29FB\u29FE-\u2B73\u2B76-\u2B95\u2B97-\u2BFF\u2CE5-\u2CEA\u2E50\u2E51\u2E80-\u2E99\u2E9B-\u2EF3\u2F00-\u2FD5\u2FF0-\u2FFB\u3004\u3012\u3013\u3020\u3036\u3037\u303E\u303F\u309B\u309C\u3190\u3191\u3196-\u319F\u31C0-\u31E3\u3200-\u321E\u322A-\u3247\u3250\u3260-\u327F\u328A-\u32B0\u32C0-\u33FF\u4DC0-\u4DFF\uA490-\uA4C6\uA700-\uA716\uA720\uA721\uA789\uA78A\uA828-\uA82B\uA836-\uA839\uAA77-\uAA79\uAB5B\uAB6A\uAB6B\uFB29\uFBB2-\uFBC1\uFDFC\uFDFD\uFE62\uFE64-\uFE66\uFE69\uFF04\uFF0B\uFF1C-\uFF1E\uFF3E\uFF40\uFF5C\uFF5E\uFFE0-\uFFE6\uFFE8-\uFFEE\uFFFC\uFFFD]|\uD800[\uDD37-\uDD3F\uDD79-\uDD89\uDD8C-\uDD8E\uDD90-\uDD9C\uDDA0\uDDD0-\uDDFC]|\uD802[\uDC77\uDC78\uDEC8]|\uD805\uDF3F|\uD807[\uDFD5-\uDFF1]|\uD81A[\uDF3C-\uDF3F\uDF45]|\uD82F\uDC9C|\uD834[\uDC00-\uDCF5\uDD00-\uDD26\uDD29-\uDD64\uDD6A-\uDD6C\uDD83\uDD84\uDD8C-\uDDA9\uDDAE-\uDDE8\uDE00-\uDE41\uDE45\uDF00-\uDF56]|\uD835[\uDEC1\uDEDB\uDEFB\uDF15\uDF35\uDF4F\uDF6F\uDF89\uDFA9\uDFC3]|\uD836[\uDC00-\uDDFF\uDE37-\uDE3A\uDE6D-\uDE74\uDE76-\uDE83\uDE85\uDE86]|\uD838[\uDD4F\uDEFF]|\uD83B[\uDCAC\uDCB0\uDD2E\uDEF0\uDEF1]|\uD83C[\uDC00-\uDC2B\uDC30-\uDC93\uDCA0-\uDCAE\uDCB1-\uDCBF\uDCC1-\uDCCF\uDCD1-\uDCF5\uDD0D-\uDDAD\uDDE6-\uDE02\uDE10-\uDE3B\uDE40-\uDE48\uDE50\uDE51\uDE60-\uDE65\uDF00-\uDFFF]|\uD83D[\uDC00-\uDED7\uDEE0-\uDEEC\uDEF0-\uDEFC\uDF00-\uDF73\uDF80-\uDFD8\uDFE0-\uDFEB]|\uD83E[\uDC00-\uDC0B\uDC10-\uDC47\uDC50-\uDC59\uDC60-\uDC87\uDC90-\uDCAD\uDCB0\uDCB1\uDD00-\uDD78\uDD7A-\uDDCB\uDDCD-\uDE53\uDE60-\uDE6D\uDE70-\uDE74\uDE78-\uDE7A\uDE80-\uDE86\uDE90-\uDEA8\uDEB0-\uDEB6\uDEC0-\uDEC2\uDED0-\uDED6\uDF00-\uDF92\uDF94-\uDFCA]/, i = new RegExp("^".concat(a.source)), s = new RegExp("".concat(a.source, "$")), c = /[#0](?:[\.,][#0]+)*/g; function l(e, t, n, r) { var o, a, l = e.sign, f = e.exponent, m = e.magnitude, h = r.notation, v = r.style, y = r.numberingSystem, g = t.numbers.nu[0], b = null; if ( ("compact" === h && m && (b = (function (e, t, n, r, o, a, i) { var s, c, l = e.roundedNumber, u = e.sign, f = e.magnitude, m = String(Math.pow(10, f)), h = n.numbers.nu[0]; if ("currency" === r && "name" !== a) { var v = null === (s = ((y = n.numbers.currency)[i] || y[h]).short) || void 0 === s ? void 0 : s[m]; if (!v) return null; c = p(t, l, v); } else { var y, g = ((y = n.numbers.decimal)[i] || y[h])[o][m]; if (!g) return null; c = p(t, l, g); } return "0" === c ? null : (c = d(c, u) .replace(/([^\s;\-\+\d¤]+)/g, "{c:$1}") .replace(/0+/, "0")); })(e, n, t, v, r.compactDisplay, r.currencyDisplay, y)), "currency" === v && "name" !== r.currencyDisplay) ) { var E = t.currencies[r.currency]; if (E) switch (r.currencyDisplay) { case "code": o = r.currency; break; case "symbol": o = E.symbol; break; default: o = E.narrow; } else o = r.currency; } a = b || ("decimal" === v || "unit" === v || ("currency" === v && "name" === r.currencyDisplay) ? d((t.numbers.decimal[y] || t.numbers.decimal[g]).standard, l) : d("currency" === v ? (C = t.numbers.currency[y] || t.numbers.currency[g])[r.currencySign] : t.numbers.percent[y] || t.numbers.percent[g], l)); var D = c.exec(a)[0]; if (((a = a.replace(c, "{0}").replace(/'(.)'/g, "$1")), "currency" === v && "name" !== r.currencyDisplay)) { var C, w = (C = t.numbers.currency[y] || t.numbers.currency[g]).currencySpacing.afterInsertBetween; w && !s.test(o) && (a = a.replace("¤{0}", "¤".concat(w, "{0}"))); var S = C.currencySpacing.beforeInsertBetween; S && !i.test(o) && (a = a.replace("{0}¤", "{0}".concat(S, "¤"))); } for (var A = a.split(/({c:[^}]+}|\{0\}|[¤%\-\+])/g), k = [], _ = t.numbers.symbols[y] || t.numbers.symbols[g], T = 0, I = A; T < I.length; T++) if ((J = I[T])) switch (J) { case "{0}": k.push.apply(k, u(_, e, h, f, y, !b && r.useGrouping, D)); break; case "-": k.push({ type: "minusSign", value: _.minusSign }); break; case "+": k.push({ type: "plusSign", value: _.plusSign }); break; case "%": k.push({ type: "percentSign", value: _.percentSign }); break; case "¤": k.push({ type: "currency", value: o }); break; default: /^\{c:/.test(J) ? k.push({ type: "compact", value: J.substring(3, J.length - 1) }) : k.push({ type: "literal", value: J }); } switch (v) { case "currency": if ("name" === r.currencyDisplay) { var O, F = (t.numbers.currency[y] || t.numbers.currency[g]).unitPattern, x = t.currencies[r.currency]; O = x ? p(n, e.roundedNumber * Math.pow(10, f), x.displayName) : r.currency; for (var N = [], R = 0, L = F.split(/(\{[01]\})/g); R < L.length; R++) switch ((J = L[R])) { case "{0}": N.push.apply(N, k); break; case "{1}": N.push({ type: "currency", value: O }); break; default: J && N.push({ type: "literal", value: J }); } return N; } return k; case "unit": var M = r.unit, P = r.unitDisplay, j = t.units.simple[M]; if (((F = void 0), j)) F = p(n, e.roundedNumber * Math.pow(10, f), t.units.simple[M][P]); else { var B = M.split("-per-"), Z = B[0], U = B[1]; j = t.units.simple[Z]; var z = p(n, e.roundedNumber * Math.pow(10, f), t.units.simple[Z][P]), V = t.units.simple[U].perUnit[P]; if (V) F = V.replace("{0}", z); else { var H = t.units.compound.per[P], G = p(n, 1, t.units.simple[U][P]); F = F = H.replace("{0}", z).replace("{1}", G.replace("{0}", "")); } } N = []; for (var W = 0, Q = F.split(/(\s*\{0\}\s*)/); W < Q.length; W++) { var J = Q[W], Y = /^(\s*)\{0\}(\s*)$/.exec(J); Y ? (Y[1] && N.push({ type: "literal", value: Y[1] }), N.push.apply(N, k), Y[2] && N.push({ type: "literal", value: Y[2] })) : J && N.push({ type: "unit", value: J }); } return N; default: return k; } } function u(e, t, n, a, i, s, c) { var l = [], u = t.formattedString, d = t.roundedNumber; if (isNaN(d)) return [{ type: "nan", value: u }]; if (!isFinite(d)) return [{ type: "infinity", value: u }]; var p = o[i]; p && (u = u.replace(/\d/g, function (e) { return p[+e] || e; })); var f, m, h = u.indexOf("."); if ((h > 0 ? ((f = u.slice(0, h)), (m = u.slice(h + 1))) : (f = u), s && ("compact" !== n || d >= 1e4))) { var v = e.group, y = [], g = c.split(".")[0].split(","), b = 3, E = 3; g.length > 1 && (b = g[g.length - 1].length), g.length > 2 && (E = g[g.length - 2].length); var D = f.length - b; if (D > 0) { for (y.push(f.slice(D, D + b)), D -= E; D > 0; D -= E) y.push(f.slice(D, D + E)); y.push(f.slice(0, D + E)); } else y.push(f); for (; y.length > 0; ) { var C = y.pop(); l.push({ type: "integer", value: C }), y.length > 0 && l.push({ type: "group", value: v }); } } else l.push({ type: "integer", value: f }); if ((void 0 !== m && l.push({ type: "decimal", value: e.decimal }, { type: "fraction", value: m }), ("scientific" === n || "engineering" === n) && isFinite(d))) { l.push({ type: "exponentSeparator", value: e.exponential }), a < 0 && (l.push({ type: "exponentMinusSign", value: e.minusSign }), (a = -a)); var w = (0, r.W)(a, 0, 0); l.push({ type: "exponentInteger", value: w.formattedString }); } return l; } function d(e, t) { e.indexOf(";") < 0 && (e = "".concat(e, ";-").concat(e)); var n = e.split(";"), r = n[0], o = n[1]; switch (t) { case 0: return r; case -1: return o; default: return o.indexOf("-") >= 0 ? o.replace(/-/g, "+") : "+".concat(r); } } function p(e, t, n) { return n[e.select(t)] || n.other; } }, 56081: (e, t, n) => { "use strict"; n.d(t, { i: () => o }); var r = n(85665); function o(e) { for (var t = [], n = e.indexOf("{"), o = 0, a = 0, i = e.length; n < e.length && n > -1; ) (o = e.indexOf("}", n)), (0, r.kG)(o > n, "Invalid pattern ".concat(e)), n > a && t.push({ type: "literal", value: e.substring(a, n) }), t.push({ type: e.substring(n + 1, o), value: void 0 }), (a = o + 1), (n = e.indexOf("{", a)); return a < i && t.push({ type: "literal", value: e.substring(a, i) }), t; } }, 3056: (e, t, n) => { "use strict"; n.d(t, { Q: () => i }); var r = n(57781), o = n(13458), a = n(14871); function i(e, t, n) { return void 0 !== n && ((n = (0, r.TA)(n)), (0, o.u)(n, "localeMatcher", "string", ["lookup", "best fit"], "best fit")), (0, a.Tm)(e, t); } }, 34306: (e, t, n) => { "use strict"; n.d(t, { N: () => a }); var r, o = n(13795); function a(e) { return "MISSING_LOCALE_DATA" === e.type; } (r = Error), (0, o.__extends)(function () { var e = (null !== r && r.apply(this, arguments)) || this; return (e.type = "MISSING_LOCALE_DATA"), e; }, r); }, 95489: (e, t, n) => { "use strict"; n.r(t), n.d(t, { ArrayCreate: () => M.U6, CanonicalizeLocaleList: () => r.L, CanonicalizeTimeZoneName: () => o.a, CoerceOptionsToObject: () => a.U, ComputeExponent: () => f.V, ComputeExponentForMagnitude: () => m.b, CurrencyDigits: () => h.T, DateFromTime: () => M.XB, Day: () => M.Jc, DayFromYear: () => M.gL, DayWithinYear: () => M.oD, DaysInYear: () => M.My, FormatNumericToParts: () => v.M, FormatNumericToString: () => y.E, GetNumberOption: () => i._, GetOption: () => s.u, GetOptionsObject: () => c.F, HasOwnProperty: () => M.uY, HourFromTime: () => M.Zq, InLeapYear: () => M.$i, InitializeNumberFormat: () => g.o, IsSanctionedSimpleUnitIdentifier: () => l.UQ, IsValidTimeZoneName: () => u.s, IsWellFormedCurrencyCode: () => d.K, IsWellFormedUnitIdentifier: () => p.L, MinFromTime: () => M.py, MonthFromTime: () => M.J1, OrdinaryHasInstance: () => M.R2, PartitionNumberPattern: () => b.I, PartitionPattern: () => A.i, RangePatternType: () => F._, SANCTIONED_UNITS: () => l.Js, SIMPLE_UNITS: () => l.oO, SameValue: () => M.QP, SecFromTime: () => M.xk, SetNumberFormatDigitOptions: () => E.W, SetNumberFormatUnitOptions: () => D.x, SupportedLocales: () => k.Q, TimeClip: () => M.XH, TimeFromYear: () => M.rf, ToNumber: () => M.CU, ToObject: () => M.TA, ToRawFixed: () => C.W, ToRawPrecision: () => w.w, ToString: () => M.Ml, Type: () => M.Dy, WeekDay: () => M.VR, YearFromTime: () => M.n7, _formatToParts: () => S.Z, defineProperty: () => _._x, getInternalSlot: () => _.q, getMagnitude: () => _.Tg, getMultiInternalSlots: () => _.$0, invariant: () => _.kG, isLiteralPart: () => _.eY, isMissingLocaleDataError: () => T.N, msFromTime: () => M.Vg, removeUnitNamespace: () => l.Hr, setInternalSlot: () => _.LS, setMultiInternalSlots: () => _.e7, }); var r = n(31850), o = n(59854), a = n(20875), i = n(1414), s = n(13458), c = n(63481), l = n(70620), u = n(96510), d = n(63210), p = n(68642), f = n(7011), m = n(70993), h = n(76306), v = n(8986), y = n(88751), g = n(27647), b = n(12264), E = n(72288), D = n(43117), C = n(9094), w = n(74698), S = n(23423), A = n(56081), k = n(3056), _ = n(85665), T = n(34306), I = n(40903), O = {}; for (const e in I) [ "default", "_formatToParts", "getInternalSlot", "getMultiInternalSlots", "isLiteralPart", "setInternalSlot", "setMultiInternalSlots", "getMagnitude", "defineProperty", "isMissingLocaleDataError", "invariant", "CanonicalizeLocaleList", "CanonicalizeTimeZoneName", "CoerceOptionsToObject", "GetNumberOption", "GetOption", "GetOptionsObject", "IsSanctionedSimpleUnitIdentifier", "SANCTIONED_UNITS", "SIMPLE_UNITS", "removeUnitNamespace", "IsValidTimeZoneName", "IsWellFormedCurrencyCode", "IsWellFormedUnitIdentifier", "ComputeExponent", "ComputeExponentForMagnitude", "CurrencyDigits", "FormatNumericToParts", "FormatNumericToString", "InitializeNumberFormat", "PartitionNumberPattern", "SetNumberFormatDigitOptions", "SetNumberFormatUnitOptions", "ToRawFixed", "ToRawPrecision", "PartitionPattern", "SupportedLocales", ].indexOf(e) < 0 && (O[e] = () => I[e]); n.d(t, O); var F = n(63325), x = n(54406); O = {}; for (const e in x) [ "default", "_formatToParts", "getInternalSlot", "getMultiInternalSlots", "isLiteralPart", "setInternalSlot", "setMultiInternalSlots", "getMagnitude", "defineProperty", "isMissingLocaleDataError", "invariant", "CanonicalizeLocaleList", "CanonicalizeTimeZoneName", "CoerceOptionsToObject", "GetNumberOption", "GetOption", "GetOptionsObject", "IsSanctionedSimpleUnitIdentifier", "SANCTIONED_UNITS", "SIMPLE_UNITS", "removeUnitNamespace", "IsValidTimeZoneName", "IsWellFormedCurrencyCode", "IsWellFormedUnitIdentifier", "ComputeExponent", "ComputeExponentForMagnitude", "CurrencyDigits", "FormatNumericToParts", "FormatNumericToString", "InitializeNumberFormat", "PartitionNumberPattern", "SetNumberFormatDigitOptions", "SetNumberFormatUnitOptions", "ToRawFixed", "ToRawPrecision", "PartitionPattern", "SupportedLocales", "RangePatternType", ].indexOf(e) < 0 && (O[e] = () => x[e]); n.d(t, O); var N = n(52169); O = {}; for (const e in N) [ "default", "_formatToParts", "getInternalSlot", "getMultiInternalSlots", "isLiteralPart", "setInternalSlot", "setMultiInternalSlots", "getMagnitude", "defineProperty", "isMissingLocaleDataError", "invariant", "CanonicalizeLocaleList", "CanonicalizeTimeZoneName", "CoerceOptionsToObject", "GetNumberOption", "GetOption", "GetOptionsObject", "IsSanctionedSimpleUnitIdentifier", "SANCTIONED_UNITS", "SIMPLE_UNITS", "removeUnitNamespace", "IsValidTimeZoneName", "IsWellFormedCurrencyCode", "IsWellFormedUnitIdentifier", "ComputeExponent", "ComputeExponentForMagnitude", "CurrencyDigits", "FormatNumericToParts", "FormatNumericToString", "InitializeNumberFormat", "PartitionNumberPattern", "SetNumberFormatDigitOptions", "SetNumberFormatUnitOptions", "ToRawFixed", "ToRawPrecision", "PartitionPattern", "SupportedLocales", "RangePatternType", ].indexOf(e) < 0 && (O[e] = () => N[e]); n.d(t, O); var R = n(46249); O = {}; for (const e in R) [ "default", "_formatToParts", "getInternalSlot", "getMultiInternalSlots", "isLiteralPart", "setInternalSlot", "setMultiInternalSlots", "getMagnitude", "defineProperty", "isMissingLocaleDataError", "invariant", "CanonicalizeLocaleList", "CanonicalizeTimeZoneName", "CoerceOptionsToObject", "GetNumberOption", "GetOption", "GetOptionsObject", "IsSanctionedSimpleUnitIdentifier", "SANCTIONED_UNITS", "SIMPLE_UNITS", "removeUnitNamespace", "IsValidTimeZoneName", "IsWellFormedCurrencyCode", "IsWellFormedUnitIdentifier", "ComputeExponent", "ComputeExponentForMagnitude", "CurrencyDigits", "FormatNumericToParts", "FormatNumericToString", "InitializeNumberFormat", "PartitionNumberPattern", "SetNumberFormatDigitOptions", "SetNumberFormatUnitOptions", "ToRawFixed", "ToRawPrecision", "PartitionPattern", "SupportedLocales", "RangePatternType", ].indexOf(e) < 0 && (O[e] = () => R[e]); n.d(t, O); var L = n(82656); O = {}; for (const e in L) [ "default", "_formatToParts", "getInternalSlot", "getMultiInternalSlots", "isLiteralPart", "setInternalSlot", "setMultiInternalSlots", "getMagnitude", "defineProperty", "isMissingLocaleDataError", "invariant", "CanonicalizeLocaleList", "CanonicalizeTimeZoneName", "CoerceOptionsToObject", "GetNumberOption", "GetOption", "GetOptionsObject", "IsSanctionedSimpleUnitIdentifier", "SANCTIONED_UNITS", "SIMPLE_UNITS", "removeUnitNamespace", "IsValidTimeZoneName", "IsWellFormedCurrencyCode", "IsWellFormedUnitIdentifier", "ComputeExponent", "ComputeExponentForMagnitude", "CurrencyDigits", "FormatNumericToParts", "FormatNumericToString", "InitializeNumberFormat", "PartitionNumberPattern", "SetNumberFormatDigitOptions", "SetNumberFormatUnitOptions", "ToRawFixed", "ToRawPrecision", "PartitionPattern", "SupportedLocales", "RangePatternType", ].indexOf(e) < 0 && (O[e] = () => L[e]); n.d(t, O); var M = n(57781); }, 63325: (e, t, n) => { "use strict"; var r; n.d(t, { _: () => r }), (function (e) { (e.startRange = "startRange"), (e.shared = "shared"), (e.endRange = "endRange"); })(r || (r = {})); }, 82656: () => {}, 54406: () => {}, 46249: () => {}, 52169: () => {}, 40903: () => {}, 85665: (e, t, n) => { "use strict"; function r(e) { return Math.floor(Math.log(e) * Math.LOG10E); } function o(e, t) { if ("function" == typeof e.repeat) return e.repeat(t); for (var n = new Array(t), r = 0; r < n.length; r++) n[r] = e; return n.join(""); } function a(e, t, n, r) { e.get(t) || e.set(t, Object.create(null)), (e.get(t)[n] = r); } function i(e, t, n) { for (var r = 0, o = Object.keys(n); r < o.length; r++) { var i = o[r]; a(e, t, i, n[i]); } } function s(e, t, n) { return c(e, t, n)[n]; } function c(e, t) { for (var n = [], r = 2; r < arguments.length; r++) n[r - 2] = arguments[r]; var o = e.get(t); if (!o) throw new TypeError("".concat(t, " InternalSlot has not been initialized")); return n.reduce(function (e, t) { return (e[t] = o[t]), e; }, Object.create(null)); } function l(e) { return "literal" === e.type; } function u(e, t, n) { var r = n.value; Object.defineProperty(e, t, { configurable: !0, enumerable: !1, writable: !0, value: r }); } function d(e, t, n) { if ((void 0 === n && (n = Error), !e)) throw new n(t); } n.d(t, { $0: () => c, LS: () => a, Tg: () => r, _x: () => u, e7: () => i, eY: () => l, kG: () => d, q: () => s, rx: () => o }); }, 17618: (e, t, n) => { "use strict"; function r(e, t) { var n = t && t.cache ? t.cache : u, r = t && t.serializer ? t.serializer : c; return (t && t.strategy ? t.strategy : s)(e, { cache: n, serializer: r }); } function o(e, t, n, r) { var o, a = null == (o = r) || "number" == typeof o || "boolean" == typeof o ? r : n(r), i = t.get(a); return void 0 === i && ((i = e.call(this, r)), t.set(a, i)), i; } function a(e, t, n) { var r = Array.prototype.slice.call(arguments, 3), o = n(r), a = t.get(o); return void 0 === a && ((a = e.apply(this, r)), t.set(o, a)), a; } function i(e, t, n, r, o) { return n.bind(t, e, r, o); } function s(e, t) { return i(e, this, 1 === e.length ? o : a, t.cache.create(), t.serializer); } n.d(t, { A: () => d, Z: () => r }); var c = function () { return JSON.stringify(arguments); }; function l() { this.cache = Object.create(null); } (l.prototype.get = function (e) { return this.cache[e]; }), (l.prototype.set = function (e, t) { this.cache[e] = t; }); var u = { create: function () { return new l(); }, }, d = { variadic: function (e, t) { return i(e, this, a, t.cache.create(), t.serializer); }, monadic: function (e, t) { return i(e, this, o, t.cache.create(), t.serializer); }, }; }, 11425: (e, t, n) => { "use strict"; n.d(t, { wD: () => o, VG: () => c, rp: () => u, Ii: () => y, O4: () => s, uf: () => l, Wh: () => v, Jo: () => f, yx: () => m, Wi: () => p, HI: () => h, pe: () => d, Qc: () => ae }); var r, o, a, i = n(13795); function s(e) { return e.type === o.literal; } function c(e) { return e.type === o.argument; } function l(e) { return e.type === o.number; } function u(e) { return e.type === o.date; } function d(e) { return e.type === o.time; } function p(e) { return e.type === o.select; } function f(e) { return e.type === o.plural; } function m(e) { return e.type === o.pound; } function h(e) { return e.type === o.tag; } function v(e) { return !(!e || "object" != typeof e || e.type !== a.number); } function y(e) { return !(!e || "object" != typeof e || e.type !== a.dateTime); } !(function (e) { (e[(e.EXPECT_ARGUMENT_CLOSING_BRACE = 1)] = "EXPECT_ARGUMENT_CLOSING_BRACE"), (e[(e.EMPTY_ARGUMENT = 2)] = "EMPTY_ARGUMENT"), (e[(e.MALFORMED_ARGUMENT = 3)] = "MALFORMED_ARGUMENT"), (e[(e.EXPECT_ARGUMENT_TYPE = 4)] = "EXPECT_ARGUMENT_TYPE"), (e[(e.INVALID_ARGUMENT_TYPE = 5)] = "INVALID_ARGUMENT_TYPE"), (e[(e.EXPECT_ARGUMENT_STYLE = 6)] = "EXPECT_ARGUMENT_STYLE"), (e[(e.INVALID_NUMBER_SKELETON = 7)] = "INVALID_NUMBER_SKELETON"), (e[(e.INVALID_DATE_TIME_SKELETON = 8)] = "INVALID_DATE_TIME_SKELETON"), (e[(e.EXPECT_NUMBER_SKELETON = 9)] = "EXPECT_NUMBER_SKELETON"), (e[(e.EXPECT_DATE_TIME_SKELETON = 10)] = "EXPECT_DATE_TIME_SKELETON"), (e[(e.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE = 11)] = "UNCLOSED_QUOTE_IN_ARGUMENT_STYLE"), (e[(e.EXPECT_SELECT_ARGUMENT_OPTIONS = 12)] = "EXPECT_SELECT_ARGUMENT_OPTIONS"), (e[(e.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE = 13)] = "EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE"), (e[(e.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE = 14)] = "INVALID_PLURAL_ARGUMENT_OFFSET_VALUE"), (e[(e.EXPECT_SELECT_ARGUMENT_SELECTOR = 15)] = "EXPECT_SELECT_ARGUMENT_SELECTOR"), (e[(e.EXPECT_PLURAL_ARGUMENT_SELECTOR = 16)] = "EXPECT_PLURAL_ARGUMENT_SELECTOR"), (e[(e.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT = 17)] = "EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT"), (e[(e.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT = 18)] = "EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT"), (e[(e.INVALID_PLURAL_ARGUMENT_SELECTOR = 19)] = "INVALID_PLURAL_ARGUMENT_SELECTOR"), (e[(e.DUPLICATE_PLURAL_ARGUMENT_SELECTOR = 20)] = "DUPLICATE_PLURAL_ARGUMENT_SELECTOR"), (e[(e.DUPLICATE_SELECT_ARGUMENT_SELECTOR = 21)] = "DUPLICATE_SELECT_ARGUMENT_SELECTOR"), (e[(e.MISSING_OTHER_CLAUSE = 22)] = "MISSING_OTHER_CLAUSE"), (e[(e.INVALID_TAG = 23)] = "INVALID_TAG"), (e[(e.INVALID_TAG_NAME = 25)] = "INVALID_TAG_NAME"), (e[(e.UNMATCHED_CLOSING_TAG = 26)] = "UNMATCHED_CLOSING_TAG"), (e[(e.UNCLOSED_TAG = 27)] = "UNCLOSED_TAG"); })(r || (r = {})), (function (e) { (e[(e.literal = 0)] = "literal"), (e[(e.argument = 1)] = "argument"), (e[(e.number = 2)] = "number"), (e[(e.date = 3)] = "date"), (e[(e.time = 4)] = "time"), (e[(e.select = 5)] = "select"), (e[(e.plural = 6)] = "plural"), (e[(e.pound = 7)] = "pound"), (e[(e.tag = 8)] = "tag"); })(o || (o = {})), (function (e) { (e[(e.number = 0)] = "number"), (e[(e.dateTime = 1)] = "dateTime"); })(a || (a = {})); var g = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, b = /(?:[Eec]{1,6}|G{1,5}|[Qq]{1,5}|(?:[yYur]+|U{1,5})|[ML]{1,5}|d{1,2}|D{1,3}|F{1}|[abB]{1,5}|[hkHK]{1,2}|w{1,2}|W{1}|m{1,2}|s{1,2}|[zZOvVxX]{1,4})(?=([^']*'[^']*')*[^']*$)/g; function E(e) { var t = {}; return ( e.replace(b, function (e) { var n = e.length; switch (e[0]) { case "G": t.era = 4 === n ? "long" : 5 === n ? "narrow" : "short"; break; case "y": t.year = 2 === n ? "2-digit" : "numeric"; break; case "Y": case "u": case "U": case "r": throw new RangeError("`Y/u/U/r` (year) patterns are not supported, use `y` instead"); case "q": case "Q": throw new RangeError("`q/Q` (quarter) patterns are not supported"); case "M": case "L": t.month = ["numeric", "2-digit", "short", "long", "narrow"][n - 1]; break; case "w": case "W": throw new RangeError("`w/W` (week) patterns are not supported"); case "d": t.day = ["numeric", "2-digit"][n - 1]; break; case "D": case "F": case "g": throw new RangeError("`D/F/g` (day) patterns are not supported, use `d` instead"); case "E": t.weekday = 4 === n ? "short" : 5 === n ? "narrow" : "short"; break; case "e": if (n < 4) throw new RangeError("`e..eee` (weekday) patterns are not supported"); t.weekday = ["short", "long", "narrow", "short"][n - 4]; break; case "c": if (n < 4) throw new RangeError("`c..ccc` (weekday) patterns are not supported"); t.weekday = ["short", "long", "narrow", "short"][n - 4]; break; case "a": t.hour12 = !0; break; case "b": case "B": throw new RangeError("`b/B` (period) patterns are not supported, use `a` instead"); case "h": (t.hourCycle = "h12"), (t.hour = ["numeric", "2-digit"][n - 1]); break; case "H": (t.hourCycle = "h23"), (t.hour = ["numeric", "2-digit"][n - 1]); break; case "K": (t.hourCycle = "h11"), (t.hour = ["numeric", "2-digit"][n - 1]); break; case "k": (t.hourCycle = "h24"), (t.hour = ["numeric", "2-digit"][n - 1]); break; case "j": case "J": case "C": throw new RangeError("`j/J/C` (hour) patterns are not supported, use `h/H/K/k` instead"); case "m": t.minute = ["numeric", "2-digit"][n - 1]; break; case "s": t.second = ["numeric", "2-digit"][n - 1]; break; case "S": case "A": throw new RangeError("`S/A` (second) patterns are not supported, use `s` instead"); case "z": t.timeZoneName = n < 4 ? "short" : "long"; break; case "Z": case "O": case "v": case "V": case "X": case "x": throw new RangeError("`Z/O/v/V/X/x` (timeZone) patterns are not supported, use `z` instead"); } return ""; }), t ); } var D = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i, C = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, w = /^(@+)?(\+|#+)?[rs]?$/g, S = /(\*)(0+)|(#+)(0+)|(0+)/g, A = /^(0+)$/; function k(e) { var t = {}; return ( "r" === e[e.length - 1] ? (t.roundingPriority = "morePrecision") : "s" === e[e.length - 1] && (t.roundingPriority = "lessPrecision"), e.replace(w, function (e, n, r) { return ( "string" != typeof r ? ((t.minimumSignificantDigits = n.length), (t.maximumSignificantDigits = n.length)) : "+" === r ? (t.minimumSignificantDigits = n.length) : "#" === n[0] ? (t.maximumSignificantDigits = n.length) : ((t.minimumSignificantDigits = n.length), (t.maximumSignificantDigits = n.length + ("string" == typeof r ? r.length : 0))), "" ); }), t ); } function _(e) { switch (e) { case "sign-auto": return { signDisplay: "auto" }; case "sign-accounting": case "()": return { currencySign: "accounting" }; case "sign-always": case "+!": return { signDisplay: "always" }; case "sign-accounting-always": case "()!": return { signDisplay: "always", currencySign: "accounting" }; case "sign-except-zero": case "+?": return { signDisplay: "exceptZero" }; case "sign-accounting-except-zero": case "()?": return { signDisplay: "exceptZero", currencySign: "accounting" }; case "sign-never": case "+_": return { signDisplay: "never" }; } } function T(e) { var t; if (("E" === e[0] && "E" === e[1] ? ((t = { notation: "engineering" }), (e = e.slice(2))) : "E" === e[0] && ((t = { notation: "scientific" }), (e = e.slice(1))), t)) { var n = e.slice(0, 2); if (("+!" === n ? ((t.signDisplay = "always"), (e = e.slice(2))) : "+?" === n && ((t.signDisplay = "exceptZero"), (e = e.slice(2))), !A.test(e))) throw new Error("Malformed concise eng/scientific notation"); t.minimumIntegerDigits = e.length; } return t; } function I(e) { return _(e) || {}; } function O(e) { for (var t = {}, n = 0, r = e; n < r.length; n++) { var o = r[n]; switch (o.stem) { case "percent": case "%": t.style = "percent"; continue; case "%x100": (t.style = "percent"), (t.scale = 100); continue; case "currency": (t.style = "currency"), (t.currency = o.options[0]); continue; case "group-off": case ",_": t.useGrouping = !1; continue; case "precision-integer": case ".": t.maximumFractionDigits = 0; continue; case "measure-unit": case "unit": (t.style = "unit"), (t.unit = o.options[0].replace(/^(.*?)-/, "")); continue; case "compact-short": case "K": (t.notation = "compact"), (t.compactDisplay = "short"); continue; case "compact-long": case "KK": (t.notation = "compact"), (t.compactDisplay = "long"); continue; case "scientific": t = (0, i.__assign)( (0, i.__assign)((0, i.__assign)({}, t), { notation: "scientific" }), o.options.reduce(function (e, t) { return (0, i.__assign)((0, i.__assign)({}, e), I(t)); }, {}) ); continue; case "engineering": t = (0, i.__assign)( (0, i.__assign)((0, i.__assign)({}, t), { notation: "engineering" }), o.options.reduce(function (e, t) { return (0, i.__assign)((0, i.__assign)({}, e), I(t)); }, {}) ); continue; case "notation-simple": t.notation = "standard"; continue; case "unit-width-narrow": (t.currencyDisplay = "narrowSymbol"), (t.unitDisplay = "narrow"); continue; case "unit-width-short": (t.currencyDisplay = "code"), (t.unitDisplay = "short"); continue; case "unit-width-full-name": (t.currencyDisplay = "name"), (t.unitDisplay = "long"); continue; case "unit-width-iso-code": t.currencyDisplay = "symbol"; continue; case "scale": t.scale = parseFloat(o.options[0]); continue; case "integer-width": if (o.options.length > 1) throw new RangeError("integer-width stems only accept a single optional option"); o.options[0].replace(S, function (e, n, r, o, a, i) { if (n) t.minimumIntegerDigits = r.length; else { if (o && a) throw new Error("We currently do not support maximum integer digits"); if (i) throw new Error("We currently do not support exact integer digits"); } return ""; }); continue; } if (A.test(o.stem)) t.minimumIntegerDigits = o.stem.length; else if (C.test(o.stem)) { if (o.options.length > 1) throw new RangeError("Fraction-precision stems only accept a single optional option"); o.stem.replace(C, function (e, n, r, o, a, i) { return ( "*" === r ? (t.minimumFractionDigits = n.length) : o && "#" === o[0] ? (t.maximumFractionDigits = o.length) : a && i ? ((t.minimumFractionDigits = a.length), (t.maximumFractionDigits = a.length + i.length)) : ((t.minimumFractionDigits = n.length), (t.maximumFractionDigits = n.length)), "" ); }); var a = o.options[0]; "w" === a ? (t = (0, i.__assign)((0, i.__assign)({}, t), { trailingZeroDisplay: "stripIfInteger" })) : a && (t = (0, i.__assign)((0, i.__assign)({}, t), k(a))); } else if (w.test(o.stem)) t = (0, i.__assign)((0, i.__assign)({}, t), k(o.stem)); else { var s = _(o.stem); s && (t = (0, i.__assign)((0, i.__assign)({}, t), s)); var c = T(o.stem); c && (t = (0, i.__assign)((0, i.__assign)({}, t), c)); } } return t; } var F, x = { AX: ["H"], BQ: ["H"], CP: ["H"], CZ: ["H"], DK: ["H"], FI: ["H"], ID: ["H"], IS: ["H"], ML: ["H"], NE: ["H"], RU: ["H"], SE: ["H"], SJ: ["H"], SK: ["H"], AS: ["h", "H"], BT: ["h", "H"], DJ: ["h", "H"], ER: ["h", "H"], GH: ["h", "H"], IN: ["h", "H"], LS: ["h", "H"], PG: ["h", "H"], PW: ["h", "H"], SO: ["h", "H"], TO: ["h", "H"], VU: ["h", "H"], WS: ["h", "H"], "001": ["H", "h"], AL: ["h", "H", "hB"], TD: ["h", "H", "hB"], "ca-ES": ["H", "h", "hB"], CF: ["H", "h", "hB"], CM: ["H", "h", "hB"], "fr-CA": ["H", "h", "hB"], "gl-ES": ["H", "h", "hB"], "it-CH": ["H", "h", "hB"], "it-IT": ["H", "h", "hB"], LU: ["H", "h", "hB"], NP: ["H", "h", "hB"], PF: ["H", "h", "hB"], SC: ["H", "h", "hB"], SM: ["H", "h", "hB"], SN: ["H", "h", "hB"], TF: ["H", "h", "hB"], VA: ["H", "h", "hB"], CY: ["h", "H", "hb", "hB"], GR: ["h", "H", "hb", "hB"], CO: ["h", "H", "hB", "hb"], DO: ["h", "H", "hB", "hb"], KP: ["h", "H", "hB", "hb"], KR: ["h", "H", "hB", "hb"], NA: ["h", "H", "hB", "hb"], PA: ["h", "H", "hB", "hb"], PR: ["h", "H", "hB", "hb"], VE: ["h", "H", "hB", "hb"], AC: ["H", "h", "hb", "hB"], AI: ["H", "h", "hb", "hB"], BW: ["H", "h", "hb", "hB"], BZ: ["H", "h", "hb", "hB"], CC: ["H", "h", "hb", "hB"], CK: ["H", "h", "hb", "hB"], CX: ["H", "h", "hb", "hB"], DG: ["H", "h", "hb", "hB"], FK: ["H", "h", "hb", "hB"], GB: ["H", "h", "hb", "hB"], GG: ["H", "h", "hb", "hB"], GI: ["H", "h", "hb", "hB"], IE: ["H", "h", "hb", "hB"], IM: ["H", "h", "hb", "hB"], IO: ["H", "h", "hb", "hB"], JE: ["H", "h", "hb", "hB"], LT: ["H", "h", "hb", "hB"], MK: ["H", "h", "hb", "hB"], MN: ["H", "h", "hb", "hB"], MS: ["H", "h", "hb", "hB"], NF: ["H", "h", "hb", "hB"], NG: ["H", "h", "hb", "hB"], NR: ["H", "h", "hb", "hB"], NU: ["H", "h", "hb", "hB"], PN: ["H", "h", "hb", "hB"], SH: ["H", "h", "hb", "hB"], SX: ["H", "h", "hb", "hB"], TA: ["H", "h", "hb", "hB"], ZA: ["H", "h", "hb", "hB"], "af-ZA": ["H", "h", "hB", "hb"], AR: ["H", "h", "hB", "hb"], CL: ["H", "h", "hB", "hb"], CR: ["H", "h", "hB", "hb"], CU: ["H", "h", "hB", "hb"], EA: ["H", "h", "hB", "hb"], "es-BO": ["H", "h", "hB", "hb"], "es-BR": ["H", "h", "hB", "hb"], "es-EC": ["H", "h", "hB", "hb"], "es-ES": ["H", "h", "hB", "hb"], "es-GQ": ["H", "h", "hB", "hb"], "es-PE": ["H", "h", "hB", "hb"], GT: ["H", "h", "hB", "hb"], HN: ["H", "h", "hB", "hb"], IC: ["H", "h", "hB", "hb"], KG: ["H", "h", "hB", "hb"], KM: ["H", "h", "hB", "hb"], LK: ["H", "h", "hB", "hb"], MA: ["H", "h", "hB", "hb"], MX: ["H", "h", "hB", "hb"], NI: ["H", "h", "hB", "hb"], PY: ["H", "h", "hB", "hb"], SV: ["H", "h", "hB", "hb"], UY: ["H", "h", "hB", "hb"], JP: ["H", "h", "K"], AD: ["H", "hB"], AM: ["H", "hB"], AO: ["H", "hB"], AT: ["H", "hB"], AW: ["H", "hB"], BE: ["H", "hB"], BF: ["H", "hB"], BJ: ["H", "hB"], BL: ["H", "hB"], BR: ["H", "hB"], CG: ["H", "hB"], CI: ["H", "hB"], CV: ["H", "hB"], DE: ["H", "hB"], EE: ["H", "hB"], FR: ["H", "hB"], GA: ["H", "hB"], GF: ["H", "hB"], GN: ["H", "hB"], GP: ["H", "hB"], GW: ["H", "hB"], HR: ["H", "hB"], IL: ["H", "hB"], IT: ["H", "hB"], KZ: ["H", "hB"], MC: ["H", "hB"], MD: ["H", "hB"], MF: ["H", "hB"], MQ: ["H", "hB"], MZ: ["H", "hB"], NC: ["H", "hB"], NL: ["H", "hB"], PM: ["H", "hB"], PT: ["H", "hB"], RE: ["H", "hB"], RO: ["H", "hB"], SI: ["H", "hB"], SR: ["H", "hB"], ST: ["H", "hB"], TG: ["H", "hB"], TR: ["H", "hB"], WF: ["H", "hB"], YT: ["H", "hB"], BD: ["h", "hB", "H"], PK: ["h", "hB", "H"], AZ: ["H", "hB", "h"], BA: ["H", "hB", "h"], BG: ["H", "hB", "h"], CH: ["H", "hB", "h"], GE: ["H", "hB", "h"], LI: ["H", "hB", "h"], ME: ["H", "hB", "h"], RS: ["H", "hB", "h"], UA: ["H", "hB", "h"], UZ: ["H", "hB", "h"], XK: ["H", "hB", "h"], AG: ["h", "hb", "H", "hB"], AU: ["h", "hb", "H", "hB"], BB: ["h", "hb", "H", "hB"], BM: ["h", "hb", "H", "hB"], BS: ["h", "hb", "H", "hB"], CA: ["h", "hb", "H", "hB"], DM: ["h", "hb", "H", "hB"], "en-001": ["h", "hb", "H", "hB"], FJ: ["h", "hb", "H", "hB"], FM: ["h", "hb", "H", "hB"], GD: ["h", "hb", "H", "hB"], GM: ["h", "hb", "H", "hB"], GU: ["h", "hb", "H", "hB"], GY: ["h", "hb", "H", "hB"], JM: ["h", "hb", "H", "hB"], KI: ["h", "hb", "H", "hB"], KN: ["h", "hb", "H", "hB"], KY: ["h", "hb", "H", "hB"], LC: ["h", "hb", "H", "hB"], LR: ["h", "hb", "H", "hB"], MH: ["h", "hb", "H", "hB"], MP: ["h", "hb", "H", "hB"], MW: ["h", "hb", "H", "hB"], NZ: ["h", "hb", "H", "hB"], SB: ["h", "hb", "H", "hB"], SG: ["h", "hb", "H", "hB"], SL: ["h", "hb", "H", "hB"], SS: ["h", "hb", "H", "hB"], SZ: ["h", "hb", "H", "hB"], TC: ["h", "hb", "H", "hB"], TT: ["h", "hb", "H", "hB"], UM: ["h", "hb", "H", "hB"], US: ["h", "hb", "H", "hB"], VC: ["h", "hb", "H", "hB"], VG: ["h", "hb", "H", "hB"], VI: ["h", "hb", "H", "hB"], ZM: ["h", "hb", "H", "hB"], BO: ["H", "hB", "h", "hb"], EC: ["H", "hB", "h", "hb"], ES: ["H", "hB", "h", "hb"], GQ: ["H", "hB", "h", "hb"], PE: ["H", "hB", "h", "hb"], AE: ["h", "hB", "hb", "H"], "ar-001": ["h", "hB", "hb", "H"], BH: ["h", "hB", "hb", "H"], DZ: ["h", "hB", "hb", "H"], EG: ["h", "hB", "hb", "H"], EH: ["h", "hB", "hb", "H"], HK: ["h", "hB", "hb", "H"], IQ: ["h", "hB", "hb", "H"], JO: ["h", "hB", "hb", "H"], KW: ["h", "hB", "hb", "H"], LB: ["h", "hB", "hb", "H"], LY: ["h", "hB", "hb", "H"], MO: ["h", "hB", "hb", "H"], MR: ["h", "hB", "hb", "H"], OM: ["h", "hB", "hb", "H"], PH: ["h", "hB", "hb", "H"], PS: ["h", "hB", "hb", "H"], QA: ["h", "hB", "hb", "H"], SA: ["h", "hB", "hb", "H"], SD: ["h", "hB", "hb", "H"], SY: ["h", "hB", "hb", "H"], TN: ["h", "hB", "hb", "H"], YE: ["h", "hB", "hb", "H"], AF: ["H", "hb", "hB", "h"], LA: ["H", "hb", "hB", "h"], CN: ["H", "hB", "hb", "h"], LV: ["H", "hB", "hb", "h"], TL: ["H", "hB", "hb", "h"], "zu-ZA": ["H", "hB", "hb", "h"], CD: ["hB", "H"], IR: ["hB", "H"], "hi-IN": ["hB", "h", "H"], "kn-IN": ["hB", "h", "H"], "ml-IN": ["hB", "h", "H"], "te-IN": ["hB", "h", "H"], KH: ["hB", "h", "H", "hb"], "ta-IN": ["hB", "h", "hb", "H"], BN: ["hb", "hB", "h", "H"], MY: ["hb", "hB", "h", "H"], ET: ["hB", "hb", "h", "H"], "gu-IN": ["hB", "hb", "h", "H"], "mr-IN": ["hB", "hb", "h", "H"], "pa-IN": ["hB", "hb", "h", "H"], TW: ["hB", "hb", "h", "H"], KE: ["hB", "hb", "H", "h"], MM: ["hB", "hb", "H", "h"], TZ: ["hB", "hb", "H", "h"], UG: ["hB", "hb", "H", "h"], }; function N(e) { var t = e.hourCycle; if ((void 0 === t && e.hourCycles && e.hourCycles.length && (t = e.hourCycles[0]), t)) switch (t) { case "h24": return "k"; case "h23": return "H"; case "h12": return "h"; case "h11": return "K"; default: throw new Error("Invalid hourCycle"); } var n, r = e.language; return "root" !== r && (n = e.maximize().region), (x[n || ""] || x[r || ""] || x["".concat(r, "-001")] || x["001"])[0]; } var R = new RegExp("^".concat(g.source, "*")), L = new RegExp("".concat(g.source, "*$")); function M(e, t) { return { start: e, end: t }; } var P = !!String.prototype.startsWith, j = !!String.fromCodePoint, B = !!Object.fromEntries, Z = !!String.prototype.codePointAt, U = !!String.prototype.trimStart, z = !!String.prototype.trimEnd, V = Number.isSafeInteger ? Number.isSafeInteger : function (e) { return "number" == typeof e && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991; }, H = !0; try { H = "a" === (null === (F = K("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu").exec("a")) || void 0 === F ? void 0 : F[0]); } catch (e) { H = !1; } var G, W = P ? function (e, t, n) { return e.startsWith(t, n); } : function (e, t, n) { return e.slice(n, n + t.length) === t; }, Q = j ? String.fromCodePoint : function () { for (var e = [], t = 0; t < arguments.length; t++) e[t] = arguments[t]; for (var n, r = "", o = e.length, a = 0; o > a; ) { if ((n = e[a++]) > 1114111) throw RangeError(n + " is not a valid code point"); r += n < 65536 ? String.fromCharCode(n) : String.fromCharCode(55296 + ((n -= 65536) >> 10), (n % 1024) + 56320); } return r; }, J = B ? Object.fromEntries : function (e) { for (var t = {}, n = 0, r = e; n < r.length; n++) { var o = r[n], a = o[0], i = o[1]; t[a] = i; } return t; }, Y = Z ? function (e, t) { return e.codePointAt(t); } : function (e, t) { var n = e.length; if (!(t < 0 || t >= n)) { var r, o = e.charCodeAt(t); return o < 55296 || o > 56319 || t + 1 === n || (r = e.charCodeAt(t + 1)) < 56320 || r > 57343 ? o : r - 56320 + ((o - 55296) << 10) + 65536; } }, q = U ? function (e) { return e.trimStart(); } : function (e) { return e.replace(R, ""); }, X = z ? function (e) { return e.trimEnd(); } : function (e) { return e.replace(L, ""); }; function K(e, t) { return new RegExp(e, t); } if (H) { var $ = K("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu"); G = function (e, t) { var n; return ($.lastIndex = t), null !== (n = $.exec(e)[1]) && void 0 !== n ? n : ""; }; } else G = function (e, t) { for (var n = []; ; ) { var r = Y(e, t); if (void 0 === r || ne(r) || re(r)) break; n.push(r), (t += r >= 65536 ? 2 : 1); } return Q.apply(void 0, n); }; var ee = (function () { function e(e, t) { void 0 === t && (t = {}), (this.message = e), (this.position = { offset: 0, line: 1, column: 1 }), (this.ignoreTag = !!t.ignoreTag), (this.locale = t.locale), (this.requiresOtherClause = !!t.requiresOtherClause), (this.shouldParseSkeletons = !!t.shouldParseSkeletons); } return ( (e.prototype.parse = function () { if (0 !== this.offset()) throw Error("parser can only be used once"); return this.parseMessage(0, "", !1); }), (e.prototype.parseMessage = function (e, t, n) { for (var a = []; !this.isEOF(); ) { var i = this.char(); if (123 === i) { if ((s = this.parseArgument(e, n)).err) return s; a.push(s.val); } else { if (125 === i && e > 0) break; if (35 !== i || ("plural" !== t && "selectordinal" !== t)) { if (60 === i && !this.ignoreTag && 47 === this.peek()) { if (n) break; return this.error(r.UNMATCHED_CLOSING_TAG, M(this.clonePosition(), this.clonePosition())); } if (60 === i && !this.ignoreTag && te(this.peek() || 0)) { if ((s = this.parseTag(e, t)).err) return s; a.push(s.val); } else { var s; if ((s = this.parseLiteral(e, t)).err) return s; a.push(s.val); } } else { var c = this.clonePosition(); this.bump(), a.push({ type: o.pound, location: M(c, this.clonePosition()) }); } } } return { val: a, err: null }; }), (e.prototype.parseTag = function (e, t) { var n = this.clonePosition(); this.bump(); var a = this.parseTagName(); if ((this.bumpSpace(), this.bumpIf("/>"))) return { val: { type: o.literal, value: "<".concat(a, "/>"), location: M(n, this.clonePosition()) }, err: null }; if (this.bumpIf(">")) { var i = this.parseMessage(e + 1, t, !0); if (i.err) return i; var s = i.val, c = this.clonePosition(); if (this.bumpIf("") ? { val: { type: o.tag, value: a, children: s, location: M(n, this.clonePosition()) }, err: null } : this.error(r.INVALID_TAG, M(c, this.clonePosition()))); } return this.error(r.UNCLOSED_TAG, M(n, this.clonePosition())); } return this.error(r.INVALID_TAG, M(n, this.clonePosition())); }), (e.prototype.parseTagName = function () { var e, t = this.offset(); for ( this.bump(); !this.isEOF() && (45 === (e = this.char()) || 46 === e || (e >= 48 && e <= 57) || 95 === e || (e >= 97 && e <= 122) || (e >= 65 && e <= 90) || 183 == e || (e >= 192 && e <= 214) || (e >= 216 && e <= 246) || (e >= 248 && e <= 893) || (e >= 895 && e <= 8191) || (e >= 8204 && e <= 8205) || (e >= 8255 && e <= 8256) || (e >= 8304 && e <= 8591) || (e >= 11264 && e <= 12271) || (e >= 12289 && e <= 55295) || (e >= 63744 && e <= 64975) || (e >= 65008 && e <= 65533) || (e >= 65536 && e <= 983039)); ) this.bump(); return this.message.slice(t, this.offset()); }), (e.prototype.parseLiteral = function (e, t) { for (var n = this.clonePosition(), r = ""; ; ) { var a = this.tryParseQuote(t); if (a) r += a; else { var i = this.tryParseUnquoted(e, t); if (i) r += i; else { var s = this.tryParseLeftAngleBracket(); if (!s) break; r += s; } } } var c = M(n, this.clonePosition()); return { val: { type: o.literal, value: r, location: c }, err: null }; }), (e.prototype.tryParseLeftAngleBracket = function () { return this.isEOF() || 60 !== this.char() || (!this.ignoreTag && (te((e = this.peek() || 0)) || 47 === e)) ? null : (this.bump(), "<"); var e; }), (e.prototype.tryParseQuote = function (e) { if (this.isEOF() || 39 !== this.char()) return null; switch (this.peek()) { case 39: return this.bump(), this.bump(), "'"; case 123: case 60: case 62: case 125: break; case 35: if ("plural" === e || "selectordinal" === e) break; return null; default: return null; } this.bump(); var t = [this.char()]; for (this.bump(); !this.isEOF(); ) { var n = this.char(); if (39 === n) { if (39 !== this.peek()) { this.bump(); break; } t.push(39), this.bump(); } else t.push(n); this.bump(); } return Q.apply(void 0, t); }), (e.prototype.tryParseUnquoted = function (e, t) { if (this.isEOF()) return null; var n = this.char(); return 60 === n || 123 === n || (35 === n && ("plural" === t || "selectordinal" === t)) || (125 === n && e > 0) ? null : (this.bump(), Q(n)); }), (e.prototype.parseArgument = function (e, t) { var n = this.clonePosition(); if ((this.bump(), this.bumpSpace(), this.isEOF())) return this.error(r.EXPECT_ARGUMENT_CLOSING_BRACE, M(n, this.clonePosition())); if (125 === this.char()) return this.bump(), this.error(r.EMPTY_ARGUMENT, M(n, this.clonePosition())); var a = this.parseIdentifierIfPossible().value; if (!a) return this.error(r.MALFORMED_ARGUMENT, M(n, this.clonePosition())); if ((this.bumpSpace(), this.isEOF())) return this.error(r.EXPECT_ARGUMENT_CLOSING_BRACE, M(n, this.clonePosition())); switch (this.char()) { case 125: return this.bump(), { val: { type: o.argument, value: a, location: M(n, this.clonePosition()) }, err: null }; case 44: return this.bump(), this.bumpSpace(), this.isEOF() ? this.error(r.EXPECT_ARGUMENT_CLOSING_BRACE, M(n, this.clonePosition())) : this.parseArgumentOptions(e, t, a, n); default: return this.error(r.MALFORMED_ARGUMENT, M(n, this.clonePosition())); } }), (e.prototype.parseIdentifierIfPossible = function () { var e = this.clonePosition(), t = this.offset(), n = G(this.message, t), r = t + n.length; return this.bumpTo(r), { value: n, location: M(e, this.clonePosition()) }; }), (e.prototype.parseArgumentOptions = function (e, t, n, s) { var c, l = this.clonePosition(), u = this.parseIdentifierIfPossible().value, d = this.clonePosition(); switch (u) { case "": return this.error(r.EXPECT_ARGUMENT_TYPE, M(l, d)); case "number": case "date": case "time": this.bumpSpace(); var p = null; if (this.bumpIf(",")) { this.bumpSpace(); var f = this.clonePosition(); if ((C = this.parseSimpleArgStyleIfPossible()).err) return C; if (0 === (y = X(C.val)).length) return this.error(r.EXPECT_ARGUMENT_STYLE, M(this.clonePosition(), this.clonePosition())); p = { style: y, styleLocation: M(f, this.clonePosition()) }; } if ((w = this.tryParseArgumentClose(s)).err) return w; var m = M(s, this.clonePosition()); if (p && W(null == p ? void 0 : p.style, "::", 0)) { var h = q(p.style.slice(2)); if ("number" === u) return (C = this.parseNumberSkeletonFromString(h, p.styleLocation)).err ? C : { val: { type: o.number, value: n, location: m, style: C.val }, err: null }; if (0 === h.length) return this.error(r.EXPECT_DATE_TIME_SKELETON, m); var v = h; this.locale && (v = (function (e, t) { for (var n = "", r = 0; r < e.length; r++) { var o = e.charAt(r); if ("j" === o) { for (var a = 0; r + 1 < e.length && e.charAt(r + 1) === o; ) a++, r++; var i = 1 + (1 & a), s = a < 2 ? 1 : 3 + (a >> 1), c = N(t); for (("H" != c && "k" != c) || (s = 0); s-- > 0; ) n += "a"; for (; i-- > 0; ) n = c + n; } else n += "J" === o ? "H" : o; } return n; })(h, this.locale)); var y = { type: a.dateTime, pattern: v, location: p.styleLocation, parsedOptions: this.shouldParseSkeletons ? E(v) : {} }; return { val: { type: "date" === u ? o.date : o.time, value: n, location: m, style: y }, err: null }; } return { val: { type: "number" === u ? o.number : "date" === u ? o.date : o.time, value: n, location: m, style: null !== (c = null == p ? void 0 : p.style) && void 0 !== c ? c : null }, err: null }; case "plural": case "selectordinal": case "select": var g = this.clonePosition(); if ((this.bumpSpace(), !this.bumpIf(","))) return this.error(r.EXPECT_SELECT_ARGUMENT_OPTIONS, M(g, (0, i.__assign)({}, g))); this.bumpSpace(); var b = this.parseIdentifierIfPossible(), D = 0; if ("select" !== u && "offset" === b.value) { if (!this.bumpIf(":")) return this.error(r.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, M(this.clonePosition(), this.clonePosition())); var C; if ((this.bumpSpace(), (C = this.tryParseDecimalInteger(r.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, r.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE)).err)) return C; this.bumpSpace(), (b = this.parseIdentifierIfPossible()), (D = C.val); } var w, S = this.tryParsePluralOrSelectOptions(e, u, t, b); if (S.err) return S; if ((w = this.tryParseArgumentClose(s)).err) return w; var A = M(s, this.clonePosition()); return "select" === u ? { val: { type: o.select, value: n, options: J(S.val), location: A }, err: null } : { val: { type: o.plural, value: n, options: J(S.val), offset: D, pluralType: "plural" === u ? "cardinal" : "ordinal", location: A }, err: null }; default: return this.error(r.INVALID_ARGUMENT_TYPE, M(l, d)); } }), (e.prototype.tryParseArgumentClose = function (e) { return this.isEOF() || 125 !== this.char() ? this.error(r.EXPECT_ARGUMENT_CLOSING_BRACE, M(e, this.clonePosition())) : (this.bump(), { val: !0, err: null }); }), (e.prototype.parseSimpleArgStyleIfPossible = function () { for (var e = 0, t = this.clonePosition(); !this.isEOF(); ) switch (this.char()) { case 39: this.bump(); var n = this.clonePosition(); if (!this.bumpUntil("'")) return this.error(r.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE, M(n, this.clonePosition())); this.bump(); break; case 123: (e += 1), this.bump(); break; case 125: if (!(e > 0)) return { val: this.message.slice(t.offset, this.offset()), err: null }; e -= 1; break; default: this.bump(); } return { val: this.message.slice(t.offset, this.offset()), err: null }; }), (e.prototype.parseNumberSkeletonFromString = function (e, t) { var n = []; try { n = (function (e) { if (0 === e.length) throw new Error("Number skeleton cannot be empty"); for ( var t = [], n = 0, r = e.split(D).filter(function (e) { return e.length > 0; }); n < r.length; n++ ) { var o = r[n].split("/"); if (0 === o.length) throw new Error("Invalid number skeleton"); for (var a = o[0], i = o.slice(1), s = 0, c = i; s < c.length; s++) if (0 === c[s].length) throw new Error("Invalid number skeleton"); t.push({ stem: a, options: i }); } return t; })(e); } catch (e) { return this.error(r.INVALID_NUMBER_SKELETON, t); } return { val: { type: a.number, tokens: n, location: t, parsedOptions: this.shouldParseSkeletons ? O(n) : {} }, err: null }; }), (e.prototype.tryParsePluralOrSelectOptions = function (e, t, n, o) { for (var a, i = !1, s = [], c = new Set(), l = o.value, u = o.location; ; ) { if (0 === l.length) { var d = this.clonePosition(); if ("select" === t || !this.bumpIf("=")) break; var p = this.tryParseDecimalInteger(r.EXPECT_PLURAL_ARGUMENT_SELECTOR, r.INVALID_PLURAL_ARGUMENT_SELECTOR); if (p.err) return p; (u = M(d, this.clonePosition())), (l = this.message.slice(d.offset, this.offset())); } if (c.has(l)) return this.error("select" === t ? r.DUPLICATE_SELECT_ARGUMENT_SELECTOR : r.DUPLICATE_PLURAL_ARGUMENT_SELECTOR, u); "other" === l && (i = !0), this.bumpSpace(); var f = this.clonePosition(); if (!this.bumpIf("{")) return this.error("select" === t ? r.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : r.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, M(this.clonePosition(), this.clonePosition())); var m = this.parseMessage(e + 1, t, n); if (m.err) return m; var h = this.tryParseArgumentClose(f); if (h.err) return h; s.push([l, { value: m.val, location: M(f, this.clonePosition()) }]), c.add(l), this.bumpSpace(), (l = (a = this.parseIdentifierIfPossible()).value), (u = a.location); } return 0 === s.length ? this.error("select" === t ? r.EXPECT_SELECT_ARGUMENT_SELECTOR : r.EXPECT_PLURAL_ARGUMENT_SELECTOR, M(this.clonePosition(), this.clonePosition())) : this.requiresOtherClause && !i ? this.error(r.MISSING_OTHER_CLAUSE, M(this.clonePosition(), this.clonePosition())) : { val: s, err: null }; }), (e.prototype.tryParseDecimalInteger = function (e, t) { var n = 1, r = this.clonePosition(); this.bumpIf("+") || (this.bumpIf("-") && (n = -1)); for (var o = !1, a = 0; !this.isEOF(); ) { var i = this.char(); if (!(i >= 48 && i <= 57)) break; (o = !0), (a = 10 * a + (i - 48)), this.bump(); } var s = M(r, this.clonePosition()); return o ? (V((a *= n)) ? { val: a, err: null } : this.error(t, s)) : this.error(e, s); }), (e.prototype.offset = function () { return this.position.offset; }), (e.prototype.isEOF = function () { return this.offset() === this.message.length; }), (e.prototype.clonePosition = function () { return { offset: this.position.offset, line: this.position.line, column: this.position.column }; }), (e.prototype.char = function () { var e = this.position.offset; if (e >= this.message.length) throw Error("out of bound"); var t = Y(this.message, e); if (void 0 === t) throw Error("Offset ".concat(e, " is at invalid UTF-16 code unit boundary")); return t; }), (e.prototype.error = function (e, t) { return { val: null, err: { kind: e, message: this.message, location: t } }; }), (e.prototype.bump = function () { if (!this.isEOF()) { var e = this.char(); 10 === e ? ((this.position.line += 1), (this.position.column = 1), (this.position.offset += 1)) : ((this.position.column += 1), (this.position.offset += e < 65536 ? 1 : 2)); } }), (e.prototype.bumpIf = function (e) { if (W(this.message, e, this.offset())) { for (var t = 0; t < e.length; t++) this.bump(); return !0; } return !1; }), (e.prototype.bumpUntil = function (e) { var t = this.offset(), n = this.message.indexOf(e, t); return n >= 0 ? (this.bumpTo(n), !0) : (this.bumpTo(this.message.length), !1); }), (e.prototype.bumpTo = function (e) { if (this.offset() > e) throw Error("targetOffset ".concat(e, " must be greater than or equal to the current offset ").concat(this.offset())); for (e = Math.min(e, this.message.length); ; ) { var t = this.offset(); if (t === e) break; if (t > e) throw Error("targetOffset ".concat(e, " is at invalid UTF-16 code unit boundary")); if ((this.bump(), this.isEOF())) break; } }), (e.prototype.bumpSpace = function () { for (; !this.isEOF() && ne(this.char()); ) this.bump(); }), (e.prototype.peek = function () { if (this.isEOF()) return null; var e = this.char(), t = this.offset(), n = this.message.charCodeAt(t + (e >= 65536 ? 2 : 1)); return null != n ? n : null; }), e ); })(); function te(e) { return (e >= 97 && e <= 122) || (e >= 65 && e <= 90); } function ne(e) { return (e >= 9 && e <= 13) || 32 === e || 133 === e || (e >= 8206 && e <= 8207) || 8232 === e || 8233 === e; } function re(e) { return ( (e >= 33 && e <= 35) || 36 === e || (e >= 37 && e <= 39) || 40 === e || 41 === e || 42 === e || 43 === e || 44 === e || 45 === e || (e >= 46 && e <= 47) || (e >= 58 && e <= 59) || (e >= 60 && e <= 62) || (e >= 63 && e <= 64) || 91 === e || 92 === e || 93 === e || 94 === e || 96 === e || 123 === e || 124 === e || 125 === e || 126 === e || 161 === e || (e >= 162 && e <= 165) || 166 === e || 167 === e || 169 === e || 171 === e || 172 === e || 174 === e || 176 === e || 177 === e || 182 === e || 187 === e || 191 === e || 215 === e || 247 === e || (e >= 8208 && e <= 8213) || (e >= 8214 && e <= 8215) || 8216 === e || 8217 === e || 8218 === e || (e >= 8219 && e <= 8220) || 8221 === e || 8222 === e || 8223 === e || (e >= 8224 && e <= 8231) || (e >= 8240 && e <= 8248) || 8249 === e || 8250 === e || (e >= 8251 && e <= 8254) || (e >= 8257 && e <= 8259) || 8260 === e || 8261 === e || 8262 === e || (e >= 8263 && e <= 8273) || 8274 === e || 8275 === e || (e >= 8277 && e <= 8286) || (e >= 8592 && e <= 8596) || (e >= 8597 && e <= 8601) || (e >= 8602 && e <= 8603) || (e >= 8604 && e <= 8607) || 8608 === e || (e >= 8609 && e <= 8610) || 8611 === e || (e >= 8612 && e <= 8613) || 8614 === e || (e >= 8615 && e <= 8621) || 8622 === e || (e >= 8623 && e <= 8653) || (e >= 8654 && e <= 8655) || (e >= 8656 && e <= 8657) || 8658 === e || 8659 === e || 8660 === e || (e >= 8661 && e <= 8691) || (e >= 8692 && e <= 8959) || (e >= 8960 && e <= 8967) || 8968 === e || 8969 === e || 8970 === e || 8971 === e || (e >= 8972 && e <= 8991) || (e >= 8992 && e <= 8993) || (e >= 8994 && e <= 9e3) || 9001 === e || 9002 === e || (e >= 9003 && e <= 9083) || 9084 === e || (e >= 9085 && e <= 9114) || (e >= 9115 && e <= 9139) || (e >= 9140 && e <= 9179) || (e >= 9180 && e <= 9185) || (e >= 9186 && e <= 9254) || (e >= 9255 && e <= 9279) || (e >= 9280 && e <= 9290) || (e >= 9291 && e <= 9311) || (e >= 9472 && e <= 9654) || 9655 === e || (e >= 9656 && e <= 9664) || 9665 === e || (e >= 9666 && e <= 9719) || (e >= 9720 && e <= 9727) || (e >= 9728 && e <= 9838) || 9839 === e || (e >= 9840 && e <= 10087) || 10088 === e || 10089 === e || 10090 === e || 10091 === e || 10092 === e || 10093 === e || 10094 === e || 10095 === e || 10096 === e || 10097 === e || 10098 === e || 10099 === e || 10100 === e || 10101 === e || (e >= 10132 && e <= 10175) || (e >= 10176 && e <= 10180) || 10181 === e || 10182 === e || (e >= 10183 && e <= 10213) || 10214 === e || 10215 === e || 10216 === e || 10217 === e || 10218 === e || 10219 === e || 10220 === e || 10221 === e || 10222 === e || 10223 === e || (e >= 10224 && e <= 10239) || (e >= 10240 && e <= 10495) || (e >= 10496 && e <= 10626) || 10627 === e || 10628 === e || 10629 === e || 10630 === e || 10631 === e || 10632 === e || 10633 === e || 10634 === e || 10635 === e || 10636 === e || 10637 === e || 10638 === e || 10639 === e || 10640 === e || 10641 === e || 10642 === e || 10643 === e || 10644 === e || 10645 === e || 10646 === e || 10647 === e || 10648 === e || (e >= 10649 && e <= 10711) || 10712 === e || 10713 === e || 10714 === e || 10715 === e || (e >= 10716 && e <= 10747) || 10748 === e || 10749 === e || (e >= 10750 && e <= 11007) || (e >= 11008 && e <= 11055) || (e >= 11056 && e <= 11076) || (e >= 11077 && e <= 11078) || (e >= 11079 && e <= 11084) || (e >= 11085 && e <= 11123) || (e >= 11124 && e <= 11125) || (e >= 11126 && e <= 11157) || 11158 === e || (e >= 11159 && e <= 11263) || (e >= 11776 && e <= 11777) || 11778 === e || 11779 === e || 11780 === e || 11781 === e || (e >= 11782 && e <= 11784) || 11785 === e || 11786 === e || 11787 === e || 11788 === e || 11789 === e || (e >= 11790 && e <= 11798) || 11799 === e || (e >= 11800 && e <= 11801) || 11802 === e || 11803 === e || 11804 === e || 11805 === e || (e >= 11806 && e <= 11807) || 11808 === e || 11809 === e || 11810 === e || 11811 === e || 11812 === e || 11813 === e || 11814 === e || 11815 === e || 11816 === e || 11817 === e || (e >= 11818 && e <= 11822) || 11823 === e || (e >= 11824 && e <= 11833) || (e >= 11834 && e <= 11835) || (e >= 11836 && e <= 11839) || 11840 === e || 11841 === e || 11842 === e || (e >= 11843 && e <= 11855) || (e >= 11856 && e <= 11857) || 11858 === e || (e >= 11859 && e <= 11903) || (e >= 12289 && e <= 12291) || 12296 === e || 12297 === e || 12298 === e || 12299 === e || 12300 === e || 12301 === e || 12302 === e || 12303 === e || 12304 === e || 12305 === e || (e >= 12306 && e <= 12307) || 12308 === e || 12309 === e || 12310 === e || 12311 === e || 12312 === e || 12313 === e || 12314 === e || 12315 === e || 12316 === e || 12317 === e || (e >= 12318 && e <= 12319) || 12320 === e || 12336 === e || 64830 === e || 64831 === e || (e >= 65093 && e <= 65094) ); } function oe(e) { e.forEach(function (e) { if ((delete e.location, p(e) || f(e))) for (var t in e.options) delete e.options[t].location, oe(e.options[t].value); else (l(e) && v(e.style)) || ((u(e) || d(e)) && y(e.style)) ? delete e.style.location : h(e) && oe(e.children); }); } function ae(e, t) { void 0 === t && (t = {}), (t = (0, i.__assign)({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t)); var n = new ee(e, t).parse(); if (n.err) { var o = SyntaxError(r[n.err.kind]); throw ((o.location = n.err.location), (o.originalMessage = n.err.message), o); } return (null == t ? void 0 : t.captureLocation) || oe(n.val), n.val; } }, 28627: (e, t) => { "use strict"; Object.defineProperty(t, "__esModule", { value: !0 }); var n = new WeakMap(); t.default = function (e) { var t = n.get(e); return t || ((t = Object.create(null)), n.set(e, t)), t; }; }, 73481: (e, t, n) => { "use strict"; Object.defineProperty(t, "__esModule", { value: !0 }), (t.Locale = void 0); var r = n(13795), o = n(95489), a = n(26295), i = (0, r.__importDefault)(n(28627)), s = ["ca", "co", "hc", "kf", "kn", "nu"], c = /^[a-z0-9]{3,8}(-[a-z0-9]{3,8})*$/i; function l(e, t, n, o, a) { return ( void 0 === o && (o = []), a ? { lang: e && "und" !== e ? e : a.lang, script: t || a.script, region: n || a.region, variants: (0, r.__spreadArray)((0, r.__spreadArray)([], o, !0), a.variants, !0) } : { lang: e || "und", script: t, region: n, variants: o } ); } function u(e) { var t = (0, a.parseUnicodeLocaleId)(e), n = t.lang, r = n.lang, o = n.script, i = n.region, s = n.variants; if (o && i) { var c = a.likelySubtags[(0, a.emitUnicodeLanguageId)({ lang: r, script: o, region: i, variants: [] })]; if (c) { var u = (0, a.parseUnicodeLanguageId)(c); return (t.lang = l(void 0, void 0, void 0, s, u)), (0, a.emitUnicodeLocaleId)(t); } } if (o) { var d = a.likelySubtags[(0, a.emitUnicodeLanguageId)({ lang: r, script: o, variants: [] })]; if (d) { var p = (0, a.parseUnicodeLanguageId)(d); return (t.lang = l(void 0, void 0, i, s, p)), (0, a.emitUnicodeLocaleId)(t); } } if (i) { var f = a.likelySubtags[(0, a.emitUnicodeLanguageId)({ lang: r, region: i, variants: [] })]; if (f) { var m = (0, a.parseUnicodeLanguageId)(f); return (t.lang = l(void 0, o, void 0, s, m)), (0, a.emitUnicodeLocaleId)(t); } } var h = a.likelySubtags[r] || a.likelySubtags[(0, a.emitUnicodeLanguageId)({ lang: "und", script: o, variants: [] })]; if (!h) throw new Error("No match for addLikelySubtags"); var v = (0, a.parseUnicodeLanguageId)(h); return (t.lang = l(void 0, o, i, s, v)), (0, a.emitUnicodeLocaleId)(t); } var d = (function () { function e(t, n) { if (!(this && this instanceof e ? this.constructor : void 0)) throw new TypeError("Intl.Locale must be called with 'new'"); var s, l = e.relevantExtensionKeys, u = ["initializedLocale", "locale", "calendar", "collation", "hourCycle", "numberingSystem"]; if ((l.indexOf("kf") > -1 && u.push("caseFirst"), l.indexOf("kn") > -1 && u.push("numeric"), void 0 === t)) throw new TypeError("First argument to Intl.Locale constructor can't be empty or missing"); if ("string" != typeof t && "object" != typeof t) throw new TypeError("tag must be a string or object"); (t = "object" == typeof t && (s = (0, i.default)(t)) && s.initializedLocale ? s.locale : t.toString()), (s = (0, i.default)(this)); var d = (0, o.CoerceOptionsToObject)(n); t = (function (e, t) { (0, o.invariant)("string" == typeof e, "language tag must be a string"), (0, o.invariant)((0, a.isStructurallyValidLanguageTag)(e), "malformed language tag", RangeError); var n = (0, o.GetOption)(t, "language", "string", void 0, void 0); void 0 !== n && (0, o.invariant)((0, a.isUnicodeLanguageSubtag)(n), "Malformed unicode_language_subtag", RangeError); var i = (0, o.GetOption)(t, "script", "string", void 0, void 0); void 0 !== i && (0, o.invariant)((0, a.isUnicodeScriptSubtag)(i), "Malformed unicode_script_subtag", RangeError); var s = (0, o.GetOption)(t, "region", "string", void 0, void 0); void 0 !== s && (0, o.invariant)((0, a.isUnicodeRegionSubtag)(s), "Malformed unicode_region_subtag", RangeError); var c = (0, a.parseUnicodeLanguageId)(e); return ( void 0 !== n && (c.lang = n), void 0 !== i && (c.script = i), void 0 !== s && (c.region = s), Intl.getCanonicalLocales((0, a.emitUnicodeLocaleId)((0, r.__assign)((0, r.__assign)({}, (0, a.parseUnicodeLocaleId)(e)), { lang: c })))[0] ); })(t, d); var p = Object.create(null), f = (0, o.GetOption)(d, "calendar", "string", void 0, void 0); if (void 0 !== f && !c.test(f)) throw new RangeError("invalid calendar"); p.ca = f; var m = (0, o.GetOption)(d, "collation", "string", void 0, void 0); if (void 0 !== m && !c.test(m)) throw new RangeError("invalid collation"); p.co = m; var h = (0, o.GetOption)(d, "hourCycle", "string", ["h11", "h12", "h23", "h24"], void 0); p.hc = h; var v = (0, o.GetOption)(d, "caseFirst", "string", ["upper", "lower", "false"], void 0); p.kf = v; var y, g = (0, o.GetOption)(d, "numeric", "boolean", void 0, void 0); void 0 !== g && (y = String(g)), (p.kn = y); var b = (0, o.GetOption)(d, "numberingSystem", "string", void 0, void 0); if (void 0 !== b && !c.test(b)) throw new RangeError("Invalid numberingSystem"); p.nu = b; var E = (function (e, t, n) { for (var r, i = [], s = (0, a.parseUnicodeLocaleId)(e), c = 0, l = s.extensions; c < l.length; c++) { var u = l[c]; "u" === u.type && ((r = u), Array.isArray(u.keywords) && (i = u.keywords)); } for (var d = Object.create(null), p = 0, f = n; p < f.length; p++) { for (var m = f[p], h = void 0, v = void 0, y = 0, g = i; y < g.length; y++) { var b = g[y]; b[0] === m && (h = (v = b)[1]); } (0, o.invariant)(m in t, "".concat(m, " must be in options")); var E = t[m]; void 0 !== E && ((0, o.invariant)("string" == typeof E, "Value for ".concat(m, " must be a string")), (h = E), v ? (v[1] = h) : i.push([m, h])), (d[m] = h); } return r ? (r.keywords = i) : i.length && s.extensions.push({ type: "u", keywords: i, attributes: [] }), (d.locale = Intl.getCanonicalLocales((0, a.emitUnicodeLocaleId)(s))[0]), d; })(t, p, l); (s.locale = E.locale), (s.calendar = E.ca), (s.collation = E.co), (s.hourCycle = E.hc), l.indexOf("kf") > -1 && (s.caseFirst = E.kf), l.indexOf("kn") > -1 && (s.numeric = (0, o.SameValue)(E.kn, "true")), (s.numberingSystem = E.nu); } return ( (e.prototype.maximize = function () { var t = (0, i.default)(this).locale; try { return new e(u(t)); } catch (n) { return new e(t); } }), (e.prototype.minimize = function () { var t = (0, i.default)(this).locale; try { return new e( (function (e) { var t = u(e); if (!t) return e; t = (0, a.emitUnicodeLanguageId)((0, r.__assign)((0, r.__assign)({}, (0, a.parseUnicodeLanguageId)(t)), { variants: [] })); var n = (0, a.parseUnicodeLocaleId)(e), o = n.lang, i = o.lang, s = o.script, c = o.region, d = o.variants; return u((0, a.emitUnicodeLanguageId)({ lang: i, variants: [] })) === t ? (0, a.emitUnicodeLocaleId)((0, r.__assign)((0, r.__assign)({}, n), { lang: l(i, void 0, void 0, d) })) : c && u((0, a.emitUnicodeLanguageId)({ lang: i, region: c, variants: [] })) === t ? (0, a.emitUnicodeLocaleId)((0, r.__assign)((0, r.__assign)({}, n), { lang: l(i, void 0, c, d) })) : s && u((0, a.emitUnicodeLanguageId)({ lang: i, script: s, variants: [] })) === t ? (0, a.emitUnicodeLocaleId)((0, r.__assign)((0, r.__assign)({}, n), { lang: l(i, s, void 0, d) })) : e; })(t) ); } catch (n) { return new e(t); } }), (e.prototype.toString = function () { return (0, i.default)(this).locale; }), Object.defineProperty(e.prototype, "baseName", { get: function () { var e = (0, i.default)(this).locale; return (0, a.emitUnicodeLanguageId)((0, a.parseUnicodeLanguageId)(e)); }, enumerable: !1, configurable: !0, }), Object.defineProperty(e.prototype, "calendar", { get: function () { return (0, i.default)(this).calendar; }, enumerable: !1, configurable: !0, }), Object.defineProperty(e.prototype, "collation", { get: function () { return (0, i.default)(this).collation; }, enumerable: !1, configurable: !0, }), Object.defineProperty(e.prototype, "hourCycle", { get: function () { return (0, i.default)(this).hourCycle; }, enumerable: !1, configurable: !0, }), Object.defineProperty(e.prototype, "caseFirst", { get: function () { return (0, i.default)(this).caseFirst; }, enumerable: !1, configurable: !0, }), Object.defineProperty(e.prototype, "numeric", { get: function () { return (0, i.default)(this).numeric; }, enumerable: !1, configurable: !0, }), Object.defineProperty(e.prototype, "numberingSystem", { get: function () { return (0, i.default)(this).numberingSystem; }, enumerable: !1, configurable: !0, }), Object.defineProperty(e.prototype, "language", { get: function () { var e = (0, i.default)(this).locale; return (0, a.parseUnicodeLanguageId)(e).lang; }, enumerable: !1, configurable: !0, }), Object.defineProperty(e.prototype, "script", { get: function () { var e = (0, i.default)(this).locale; return (0, a.parseUnicodeLanguageId)(e).script; }, enumerable: !1, configurable: !0, }), Object.defineProperty(e.prototype, "region", { get: function () { var e = (0, i.default)(this).locale; return (0, a.parseUnicodeLanguageId)(e).region; }, enumerable: !1, configurable: !0, }), (e.relevantExtensionKeys = s), e ); })(); t.Locale = d; try { "undefined" != typeof Symbol && Object.defineProperty(d.prototype, Symbol.toStringTag, { value: "Intl.Locale", writable: !1, enumerable: !1, configurable: !0 }), Object.defineProperty(d.prototype.constructor, "length", { value: 1, writable: !1, enumerable: !1, configurable: !0 }); } catch (e) {} t.default = d; }, 42059: (e, t, n) => { "use strict"; var r = n(73481); (0, n(66040).shouldPolyfill)() && Object.defineProperty(Intl, "Locale", { value: r.Locale, writable: !0, enumerable: !1, configurable: !0 }); }, 66040: (e, t) => { "use strict"; Object.defineProperty(t, "__esModule", { value: !0 }), (t.shouldPolyfill = void 0), (t.shouldPolyfill = function () { return ( !("Locale" in Intl) || (function () { try { return "x-private" === new Intl.Locale("und-x-private").toString(); } catch (e) { return !0; } })() ); }); }, 61395: (e, t) => { "use strict"; Object.defineProperty(t, "__esModule", { value: !0 }), (t.BestAvailableLocale = void 0), (t.BestAvailableLocale = function (e, t) { for (var n = t; ; ) { if (e.has(n)) return n; var r = n.lastIndexOf("-"); if (!~r) return; r >= 2 && "-" === n[r - 2] && (r -= 2), (n = n.slice(0, r)); } }); }, 36343: (e, t, n) => { "use strict"; Object.defineProperty(t, "__esModule", { value: !0 }), (t.BestFitMatcher = void 0); var r = n(61395), o = n(51417); t.BestFitMatcher = function (e, t, n) { var a, i = {}, s = {}, c = {}, l = new Set(); e.forEach(function (e) { var t = new Intl.Locale(e).minimize().toString(), n = Intl.getCanonicalLocales(e)[0] || e; (i[t] = e), (s[e] = e), (c[n] = e), l.add(t), l.add(e), l.add(n); }); for (var u = 0, d = t; u < d.length; u++) { var p = d[u]; if (a) break; var f = p.replace(o.UNICODE_EXTENSION_SEQUENCE_REGEX, ""); if (e.has(f)) { a = f; break; } if (l.has(f)) { a = f; break; } var m = new Intl.Locale(f), h = m.maximize().toString(), v = m.minimize().toString(); if (l.has(v)) { a = v; break; } a = (0, r.BestAvailableLocale)(l, h); } return a ? { locale: s[a] || c[a] || i[a] || a } : { locale: n() }; }; }, 64901: (e, t) => { "use strict"; Object.defineProperty(t, "__esModule", { value: !0 }), (t.CanonicalizeLocaleList = void 0), (t.CanonicalizeLocaleList = function (e) { return Intl.getCanonicalLocales(e); }); }, 40946: (e, t, n) => { "use strict"; Object.defineProperty(t, "__esModule", { value: !0 }), (t.LookupMatcher = void 0); var r = n(51417), o = n(61395); t.LookupMatcher = function (e, t, n) { for (var a = { locale: "" }, i = 0, s = t; i < s.length; i++) { var c = s[i], l = c.replace(r.UNICODE_EXTENSION_SEQUENCE_REGEX, ""), u = (0, o.BestAvailableLocale)(e, l); if (u) return (a.locale = u), c !== l && (a.extension = c.slice(l.length + 1, c.length)), a; } return (a.locale = n()), a; }; }, 12453: (e, t, n) => { "use strict"; Object.defineProperty(t, "__esModule", { value: !0 }), (t.LookupSupportedLocales = void 0); var r = n(51417), o = n(61395); t.LookupSupportedLocales = function (e, t) { for (var n = [], a = 0, i = t; a < i.length; a++) { var s = i[a].replace(r.UNICODE_EXTENSION_SEQUENCE_REGEX, ""), c = (0, o.BestAvailableLocale)(e, s); c && n.push(c); } return n; }; }, 66991: (e, t, n) => { "use strict"; Object.defineProperty(t, "__esModule", { value: !0 }), (t.ResolveLocale = void 0); var r = n(40946), o = n(36343), a = n(51417), i = n(99446); t.ResolveLocale = function (e, t, n, s, c, l) { for (var u, d = (u = "lookup" === n.localeMatcher ? (0, r.LookupMatcher)(e, t, l) : (0, o.BestFitMatcher)(e, t, l)).locale, p = { locale: "", dataLocale: d }, f = "-u", m = 0, h = s; m < h.length; m++) { var v = h[m]; (0, a.invariant)(d in c, "Missing locale data for ".concat(d)); var y = c[d]; (0, a.invariant)("object" == typeof y && null !== y, "locale data ".concat(v, " must be an object")); var g = y[v]; (0, a.invariant)(Array.isArray(g), "keyLocaleData for ".concat(v, " must be an array")); var b = g[0]; (0, a.invariant)("string" == typeof b || null === b, "value must be string or null but got ".concat(typeof b, " in key ").concat(v)); var E = ""; if (u.extension) { var D = (0, i.UnicodeExtensionValue)(u.extension, v); void 0 !== D && ("" !== D ? ~g.indexOf(D) && ((b = D), (E = "-".concat(v, "-").concat(b))) : ~D.indexOf("true") && ((b = "true"), (E = "-".concat(v)))); } if (v in n) { var C = n[v]; (0, a.invariant)("string" == typeof C || null == C, "optionsValue must be String, Undefined or Null"), ~g.indexOf(C) && C !== b && ((b = C), (E = "")); } (p[v] = b), (f += E); } if (f.length > 2) { var w = d.indexOf("-x-"); if (-1 === w) d += f; else { var S = d.slice(0, w), A = d.slice(w, d.length); d = S + f + A; } d = Intl.getCanonicalLocales(d)[0]; } return (p.locale = d), p; }; }, 99446: (e, t, n) => { "use strict"; Object.defineProperty(t, "__esModule", { value: !0 }), (t.UnicodeExtensionValue = void 0); var r = n(51417); t.UnicodeExtensionValue = function (e, t) { (0, r.invariant)(2 === t.length, "key must have 2 elements"); var n = e.length, o = "-".concat(t, "-"), a = e.indexOf(o); if (-1 !== a) { for (var i = a + 4, s = i, c = i, l = !1; !l; ) { var u = e.indexOf("-", c); 2 == (-1 === u ? n - c : u - c) ? (l = !0) : -1 === u ? ((s = n), (l = !0)) : ((s = u), (c = u + 1)); } return e.slice(i, s); } if (((o = "-".concat(t)), -1 !== (a = e.indexOf(o)) && a + 3 === n)) return ""; }; }, 51417: (e, t) => { "use strict"; Object.defineProperty(t, "__esModule", { value: !0 }), (t.invariant = t.UNICODE_EXTENSION_SEQUENCE_REGEX = void 0), (t.UNICODE_EXTENSION_SEQUENCE_REGEX = /-u(?:-[0-9a-z]{2,8})+/gi), (t.invariant = function (e, t, n) { if ((void 0 === n && (n = Error), !e)) throw new n(t); }); }, 14871: (e, t, n) => { "use strict"; t.f = t.Tm = void 0; n(64901), n(66991); var r = n(12453); Object.defineProperty(t, "Tm", { enumerable: !0, get: function () { return r.LookupSupportedLocales; }, }); var o = n(66991); Object.defineProperty(t, "f", { enumerable: !0, get: function () { return o.ResolveLocale; }, }); }, 56677: (e, t) => { "use strict"; Object.defineProperty(t, "__esModule", { value: !0 }); var n = new WeakMap(); t.default = function (e) { var t = n.get(e); return t || ((t = Object.create(null)), n.set(e, t)), t; }; }, 62553: (e, t, n) => { "use strict"; Object.defineProperty(t, "__esModule", { value: !0 }); var r = n(13795), o = n(50044), a = r.__importDefault(n(56677)), i = (function () { function e(t, n) { if (!(this && this instanceof e ? this.constructor : void 0)) throw new TypeError("Intl.RelativeTimeFormat must be called with 'new'"); return o.InitializeRelativeTimeFormat(this, t, n, { getInternalSlots: a.default, availableLocales: e.availableLocales, relevantExtensionKeys: e.relevantExtensionKeys, localeData: e.localeData, getDefaultLocale: e.getDefaultLocale, }); } return ( (e.prototype.format = function (e, t) { if ("object" != typeof this) throw new TypeError("format was called on a non-object"); if (!a.default(this).initializedRelativeTimeFormat) throw new TypeError("format was called on a invalid context"); return o .PartitionRelativeTimePattern(this, Number(e), o.ToString(t), { getInternalSlots: a.default }) .map(function (e) { return e.value; }) .join(""); }), (e.prototype.formatToParts = function (e, t) { if ("object" != typeof this) throw new TypeError("formatToParts was called on a non-object"); if (!a.default(this).initializedRelativeTimeFormat) throw new TypeError("formatToParts was called on a invalid context"); return o.PartitionRelativeTimePattern(this, Number(e), o.ToString(t), { getInternalSlots: a.default }); }), (e.prototype.resolvedOptions = function () { if ("object" != typeof this) throw new TypeError("resolvedOptions was called on a non-object"); var e = a.default(this); if (!e.initializedRelativeTimeFormat) throw new TypeError("resolvedOptions was called on a invalid context"); return { locale: e.locale, style: e.style, numeric: e.numeric, numberingSystem: e.numberingSystem }; }), (e.supportedLocalesOf = function (t, n) { return o.SupportedLocales(e.availableLocales, o.CanonicalizeLocaleList(t), n); }), (e.__addLocaleData = function () { for (var t = [], n = 0; n < arguments.length; n++) t[n] = arguments[n]; for (var r = 0, o = t; r < o.length; r++) { var a = o[r], i = a.data, s = a.locale, c = new Intl.Locale(s).minimize().toString(); (e.localeData[s] = e.localeData[c] = i), e.availableLocales.add(c), e.availableLocales.add(s), e.__defaultLocale || (e.__defaultLocale = c); } }), (e.getDefaultLocale = function () { return e.__defaultLocale; }), (e.localeData = {}), (e.availableLocales = new Set()), (e.__defaultLocale = ""), (e.relevantExtensionKeys = ["nu"]), (e.polyfilled = !0), e ); })(); t.default = i; try { "undefined" != typeof Symbol && Object.defineProperty(i.prototype, Symbol.toStringTag, { value: "Intl.RelativeTimeFormat", writable: !1, enumerable: !1, configurable: !0 }), Object.defineProperty(i.prototype.constructor, "length", { value: 0, writable: !1, enumerable: !1, configurable: !0 }), Object.defineProperty(i.supportedLocalesOf, "length", { value: 1, writable: !1, enumerable: !1, configurable: !0 }); } catch (e) {} }, 90739: () => { Intl.RelativeTimeFormat && "function" == typeof Intl.RelativeTimeFormat.__addLocaleData && Intl.RelativeTimeFormat.__addLocaleData({ data: { nu: ["latn"], year: { 0: "this year", 1: "next year", future: { one: "in {0} year", other: "in {0} years" }, past: { one: "{0} year ago", other: "{0} years ago" }, "-1": "last year" }, "year-short": { 0: "this yr.", 1: "next yr.", future: { one: "in {0} yr.", other: "in {0} yr." }, past: { one: "{0} yr. ago", other: "{0} yr. ago" }, "-1": "last yr." }, "year-narrow": { 0: "this yr.", 1: "next yr.", future: { one: "in {0} yr.", other: "in {0} yr." }, past: { one: "{0} yr. ago", other: "{0} yr. ago" }, "-1": "last yr." }, quarter: { 0: "this quarter", 1: "next quarter", future: { one: "in {0} quarter", other: "in {0} quarters" }, past: { one: "{0} quarter ago", other: "{0} quarters ago" }, "-1": "last quarter" }, "quarter-short": { 0: "this qtr.", 1: "next qtr.", future: { one: "in {0} qtr.", other: "in {0} qtrs." }, past: { one: "{0} qtr. ago", other: "{0} qtrs. ago" }, "-1": "last qtr." }, "quarter-narrow": { 0: "this qtr.", 1: "next qtr.", future: { one: "in {0} qtr.", other: "in {0} qtrs." }, past: { one: "{0} qtr. ago", other: "{0} qtrs. ago" }, "-1": "last qtr." }, month: { 0: "this month", 1: "next month", future: { one: "in {0} month", other: "in {0} months" }, past: { one: "{0} month ago", other: "{0} months ago" }, "-1": "last month" }, "month-short": { 0: "this mo.", 1: "next mo.", future: { one: "in {0} mo.", other: "in {0} mo." }, past: { one: "{0} mo. ago", other: "{0} mo. ago" }, "-1": "last mo." }, "month-narrow": { 0: "this mo.", 1: "next mo.", future: { one: "in {0} mo.", other: "in {0} mo." }, past: { one: "{0} mo. ago", other: "{0} mo. ago" }, "-1": "last mo." }, week: { 0: "this week", 1: "next week", future: { one: "in {0} week", other: "in {0} weeks" }, past: { one: "{0} week ago", other: "{0} weeks ago" }, "-1": "last week" }, "week-short": { 0: "this wk.", 1: "next wk.", future: { one: "in {0} wk.", other: "in {0} wk." }, past: { one: "{0} wk. ago", other: "{0} wk. ago" }, "-1": "last wk." }, "week-narrow": { 0: "this wk.", 1: "next wk.", future: { one: "in {0} wk.", other: "in {0} wk." }, past: { one: "{0} wk. ago", other: "{0} wk. ago" }, "-1": "last wk." }, day: { 0: "today", 1: "tomorrow", future: { one: "in {0} day", other: "in {0} days" }, past: { one: "{0} day ago", other: "{0} days ago" }, "-1": "yesterday" }, "day-short": { 0: "today", 1: "tomorrow", future: { one: "in {0} day", other: "in {0} days" }, past: { one: "{0} day ago", other: "{0} days ago" }, "-1": "yesterday" }, "day-narrow": { 0: "today", 1: "tomorrow", future: { one: "in {0} day", other: "in {0} days" }, past: { one: "{0} day ago", other: "{0} days ago" }, "-1": "yesterday" }, hour: { 0: "this hour", future: { one: "in {0} hour", other: "in {0} hours" }, past: { one: "{0} hour ago", other: "{0} hours ago" } }, "hour-short": { 0: "this hour", future: { one: "in {0} hr.", other: "in {0} hr." }, past: { one: "{0} hr. ago", other: "{0} hr. ago" } }, "hour-narrow": { 0: "this hour", future: { one: "in {0} hr.", other: "in {0} hr." }, past: { one: "{0} hr. ago", other: "{0} hr. ago" } }, minute: { 0: "this minute", future: { one: "in {0} minute", other: "in {0} minutes" }, past: { one: "{0} minute ago", other: "{0} minutes ago" } }, "minute-short": { 0: "this minute", future: { one: "in {0} min.", other: "in {0} min." }, past: { one: "{0} min. ago", other: "{0} min. ago" } }, "minute-narrow": { 0: "this minute", future: { one: "in {0} min.", other: "in {0} min." }, past: { one: "{0} min. ago", other: "{0} min. ago" } }, second: { 0: "now", future: { one: "in {0} second", other: "in {0} seconds" }, past: { one: "{0} second ago", other: "{0} seconds ago" } }, "second-short": { 0: "now", future: { one: "in {0} sec.", other: "in {0} sec." }, past: { one: "{0} sec. ago", other: "{0} sec. ago" } }, "second-narrow": { 0: "now", future: { one: "in {0} sec.", other: "in {0} sec." }, past: { one: "{0} sec. ago", other: "{0} sec. ago" } }, }, locale: "en", }); }, 39514: (e, t, n) => { "use strict"; function r(e) { if ("symbol" == typeof e) throw TypeError("Cannot convert a Symbol value to a string"); return String(e); } function o(e) { if (void 0 === e) return NaN; if (null === e) return 0; if ("boolean" == typeof e) return e ? 1 : 0; if ("number" == typeof e) return e; if ("symbol" == typeof e || "bigint" == typeof e) throw new TypeError("Cannot convert symbol/bigint to number"); return Number(e); } function a(e) { return isFinite(e) ? Math.abs(e) > 8640000000000001 ? NaN : (function (e) { var t = o(e); if (isNaN(t) || s(t, -0)) return 0; if (isFinite(t)) return t; var n = Math.floor(Math.abs(t)); return t < 0 && (n = -n), s(n, -0) ? 0 : n; })(e) : NaN; } function i(e) { if (null == e) throw new TypeError("undefined/null cannot be converted to object"); return Object(e); } function s(e, t) { return Object.is ? Object.is(e, t) : e === t ? 0 !== e || 1 / e == 1 / t : e != e && t != t; } function c(e) { return new Array(e); } function l(e, t) { return Object.prototype.hasOwnProperty.call(e, t); } function u(e) { return null === e ? "Null" : void 0 === e ? "Undefined" : "function" == typeof e || "object" == typeof e ? "Object" : "number" == typeof e ? "Number" : "boolean" == typeof e ? "Boolean" : "string" == typeof e ? "String" : "symbol" == typeof e ? "Symbol" : "bigint" == typeof e ? "BigInt" : void 0; } n.d(t, { $i: () => E, CU: () => o, Dy: () => u, J1: () => D, Jc: () => f, Ml: () => r, My: () => g, QP: () => s, R2: () => x, TA: () => i, U6: () => c, VR: () => m, Vg: () => N, XB: () => C, XH: () => a, Zq: () => I, gL: () => h, n7: () => y, oD: () => b, py: () => O, rf: () => v, uY: () => l, xk: () => F, }); var d = 864e5; function p(e, t) { return e - Math.floor(e / t) * t; } function f(e) { return Math.floor(e / d); } function m(e) { return p(f(e) + 4, 7); } function h(e) { return Date.UTC(e, 0) / d; } function v(e) { return Date.UTC(e, 0); } function y(e) { return new Date(e).getUTCFullYear(); } function g(e) { return e % 4 != 0 ? 365 : e % 100 != 0 ? 366 : e % 400 != 0 ? 365 : 366; } function b(e) { return f(e) - h(y(e)); } function E(e) { return 365 === g(y(e)) ? 0 : 1; } function D(e) { var t = b(e), n = E(e); if (t >= 0 && t < 31) return 0; if (t < 59 + n) return 1; if (t < 90 + n) return 2; if (t < 120 + n) return 3; if (t < 151 + n) return 4; if (t < 181 + n) return 5; if (t < 212 + n) return 6; if (t < 243 + n) return 7; if (t < 273 + n) return 8; if (t < 304 + n) return 9; if (t < 334 + n) return 10; if (t < 365 + n) return 11; throw new Error("Invalid time"); } function C(e) { var t = b(e), n = D(e), r = E(e); if (0 === n) return t + 1; if (1 === n) return t - 30; if (2 === n) return t - 58 - r; if (3 === n) return t - 89 - r; if (4 === n) return t - 119 - r; if (5 === n) return t - 150 - r; if (6 === n) return t - 180 - r; if (7 === n) return t - 211 - r; if (8 === n) return t - 242 - r; if (9 === n) return t - 272 - r; if (10 === n) return t - 303 - r; if (11 === n) return t - 333 - r; throw new Error("Invalid time"); } var w = 24, S = 60, A = 60, k = 1e3, _ = k * A, T = _ * S; function I(e) { return p(Math.floor(e / T), w); } function O(e) { return p(Math.floor(e / _), S); } function F(e) { return p(Math.floor(e / k), A); } function x(e, t, n) { if ("function" != typeof e) return !1; if (null == n ? void 0 : n.boundTargetFunction) return t instanceof (null == n ? void 0 : n.boundTargetFunction); if ("object" != typeof t) return !1; var r = e.prototype; if ("object" != typeof r) throw new TypeError("OrdinaryHasInstance called on an object with an invalid prototype property."); return Object.prototype.isPrototypeOf.call(r, t); } function N(e) { return p(e, k); } }, 33305: (e, t, n) => { "use strict"; function r(e, t) { for (var n = t; ; ) { if (e.has(n)) return n; var r = n.lastIndexOf("-"); if (!~r) return; r >= 2 && "-" === n[r - 2] && (r -= 2), (n = n.slice(0, r)); } } n.d(t, { t: () => r }); }, 94855: (e, t, n) => { "use strict"; function r(e) { return Intl.getCanonicalLocales(e); } n.d(t, { L: () => r }); }, 11679: (e, t, n) => { "use strict"; function r(e, t) { var n = t.tzData, r = t.uppercaseLinks, o = e.toUpperCase(), a = Object.keys(n).reduce(function (e, t) { return (e[t.toUpperCase()] = t), e; }, {}), i = r[o] || a[o]; return "Etc/UTC" === i || "Etc/GMT" === i ? "UTC" : i; } n.d(t, { a: () => r }); }, 73257: (e, t, n) => { "use strict"; n.d(t, { U: () => o }); var r = n(39514); function o(e) { return void 0 === e ? Object.create(null) : (0, r.TA)(e); } }, 56900: (e, t, n) => { "use strict"; n.d(t, { k: () => i }); var r = n(13795), o = n(71089), a = n(82316); function i(e, t) { var n = -1 / 0, i = t[0]; (0, o.kG)(Array.isArray(t), "formats should be a list of things"); for (var s = 0, c = t; s < c.length; s++) { for (var l = c[s], u = 0, d = 0, p = a.ll; d < p.length; d++) { var f = p[d], m = e[f], h = l[f]; if (void 0 === m && void 0 !== h) u -= a.wQ; else if (void 0 !== m && void 0 === h) u -= a.H0; else if (m !== h) { var v = void 0, y = (v = "fractionalSecondDigits" === f ? [1, 2, 3] : ["2-digit", "numeric", "narrow", "short", "long"]).indexOf(m), g = v.indexOf(h), b = Math.max(-2, Math.min(g - y, 2)); 2 === b ? (u -= a.Nt) : 1 === b ? (u -= a.Q7) : -1 === b ? (u -= a.bu) : -2 === b && (u -= a.N4); } } u > n && ((n = u), (i = l)); } return (0, r.__assign)({}, i); } }, 57529: (e, t, n) => { "use strict"; n.d(t, { S: () => l }); var r = n(13795), o = n(71089), a = n(82316), i = n(10015); function s(e) { return "numeric" === e || "2-digit" === e; } function c(e, t) { var n = 0; e.hour12 && !t.hour12 ? (n -= a.H0) : !e.hour12 && t.hour12 && (n -= a.wQ); for (var r = 0, o = a.ll; r < o.length; r++) { var i = o[r], c = e[i], l = t[i]; if (void 0 === c && void 0 !== l) n -= a.wQ; else if (void 0 !== c && void 0 === l) n -= a.H0; else if (c !== l) if (s(c) !== s(l)) n -= a.zY; else { var u = ["2-digit", "numeric", "narrow", "short", "long"], d = u.indexOf(c), p = u.indexOf(l), f = Math.max(-2, Math.min(p - d, 2)); 2 === f ? (n -= a.Nt) : 1 === f ? (n -= a.Q7) : -1 === f ? (n -= a.bu) : -2 === f && (n -= a.N4); } } return n; } function l(e, t) { var n = -1 / 0, a = t[0]; (0, o.kG)(Array.isArray(t), "formats should be a list of things"); for (var l = 0, u = t; l < u.length; l++) { var d = u[l], p = c(e, d); p > n && ((n = p), (a = d)); } var f = (0, r.__assign)({}, a), m = { rawPattern: a.rawPattern }; for (var h in ((0, i.aK)(a.rawPattern, m), f)) { var v = f[h], y = m[h], g = e[h]; "minute" !== h && "second" !== h && g && ((s(y) && !s(g)) || (v !== g && (m[h] = g))); } return (m.pattern = f.pattern), (m.pattern12 = f.pattern12), (m.skeleton = f.skeleton), (m.rangePatterns = f.rangePatterns), (m.rangePatterns12 = f.rangePatterns12), m; } }, 4603: (e, t, n) => { "use strict"; n.d(t, { R: () => o }); var r = n(71089); function o(e, t, n) { var o, a; if ( (void 0 !== t && ((0, r.kG)("full" === t || "long" === t || "medium" === t || "short" === t, "invalid timeStyle"), (a = n.timeFormat[t])), void 0 !== e && ((0, r.kG)("full" === e || "long" === e || "medium" === e || "short" === e, "invalid dateStyle"), (o = n.dateFormat[e])), void 0 !== e && void 0 !== t) ) { var i = {}; for (var s in o) "pattern" !== s && (i[s] = o[s]); for (var s in a) "pattern" !== s && "pattern12" !== s && (i[s] = a[s]); var c = n.dateTimeFormat[e], l = c.replace("{0}", a.pattern).replace("{1}", o.pattern); if (((i.pattern = l), "pattern12" in a)) { var u = c.replace("{0}", a.pattern12).replace("{1}", o.pattern); i.pattern12 = u; } return i; } return void 0 !== t ? a : ((0, r.kG)(void 0 !== e, "dateStyle should not be undefined"), o); } }, 45902: (e, t, n) => { "use strict"; n.d(t, { J: () => o }); var r = n(87147); function o(e, t, n) { for (var o = "", a = 0, i = (0, r.b)(e, t, n); a < i.length; a++) o += i[a].value; return o; } }, 88271: (e, t, n) => { "use strict"; n.d(t, { T: () => c }); var r = n(82316), o = n(87054), a = n(39514); function i(e) { return e < 10 ? "0" + e : String(e); } function s(e, t, n, r) { var o = Math.floor(n / 6e4), a = Math.abs(o) % 60, s = Math.floor(Math.abs(o) / 60), c = t.split(";"), l = c[0], u = c[1], d = "", p = n < 0 ? u : l; return ( "long" === r ? (d = p.replace("HH", i(s)).replace("H", String(s)).replace("mm", i(a)).replace("m", String(a))) : (a || s) && (a || (p = p.replace(/:?m+/, "")), (d = p.replace(/H+/, String(s)).replace(/m+/, String(a)))), e.replace("{0}", d) ); } function c(e, t, n, i) { var c = i.getInternalSlots, l = i.localeData, u = i.getDefaultTimeZone, d = i.tzData; n = (0, a.XH)(n); var p = c(e), f = l[p.dataLocale], m = p.locale, h = Object.create(null); h.useGrouping = !1; var v = new Intl.NumberFormat(m, h), y = Object.create(null); (y.minimumIntegerDigits = 2), (y.useGrouping = !1); var g, b = new Intl.NumberFormat(m, y), E = p.fractionalSecondDigits; if (void 0 !== E) { var D = Object.create(null); (D.minimumIntegerDigits = E), (D.useGrouping = !1), (g = new Intl.NumberFormat(m, D)); } for (var C = (0, o.K)(n, p.calendar, p.timeZone, { tzData: d }), w = [], S = 0, A = t; S < A.length; S++) { var k = A[S], _ = k.type; if ("literal" === _) w.push({ type: "literal", value: k.value }); else if ("fractionalSecondDigits" === _) { var T = Math.floor(C.millisecond * Math.pow(10, (E || 0) - 3)); w.push({ type: "fractionalSecond", value: g.format(T) }); } else if (r.ll.indexOf(_) > -1) { var I = "", O = p[_]; (T = C[_]), "year" === _ && T <= 0 && (T = 1 - T), "month" === _ && T++; var F = p.hourCycle; if (("hour" !== _ || ("h11" !== F && "h12" !== F) || (0 == (T %= 12) && "h12" === F && (T = 12)), "hour" === _ && "h24" === F && 0 === T && (T = 24), "numeric" === O)) I = v.format(T); else if ("2-digit" === O) (I = b.format(T)).length > 2 && (I = I.slice(I.length - 2, I.length)); else if ("narrow" === O || "short" === O || "long" === O) if ("era" === _) I = f[_][O][T]; else if ("timeZoneName" === _) { var x = f.timeZoneName, N = f.gmtFormat, R = f.hourFormat, L = x[p.timeZone || u()]; I = L && L[O] ? L[O][+C.inDST] : s(N, R, C.timeZoneOffset, O); } else I = "month" === _ ? f.month[O][T - 1] : f[_][O][T]; w.push({ type: _, value: I }); } else "ampm" === _ ? ((I = void 0), (I = (T = C.hour) > 11 ? f.pm : f.am), w.push({ type: "dayPeriod", value: I })) : "relatedYear" === _ ? ((T = C.relatedYear), (I = v.format(T)), w.push({ type: "relatedYear", value: I })) : "yearName" === _ && ((T = C.yearName), (I = v.format(T)), w.push({ type: "yearName", value: I })); } return w; } }, 39366: (e, t, n) => { "use strict"; n.d(t, { a: () => o }); var r = n(59736); function o(e, t, n, o) { for (var a = "", i = 0, s = (0, r.l)(e, t, n, o); i < s.length; i++) a += s[i].value; return a; } }, 45310: (e, t, n) => { "use strict"; n.d(t, { P: () => o }); var r = n(59736); function o(e, t, n, o) { for (var a = (0, r.l)(e, t, n, o), i = new Array(0), s = 0, c = a; s < c.length; s++) { var l = c[s]; i.push({ type: l.type, value: l.value, source: l.source }); } return i; } }, 36352: (e, t, n) => { "use strict"; n.d(t, { Z: () => a }); var r = n(87147), o = n(39514); function a(e, t, n) { for (var a = (0, r.b)(e, t, n), i = (0, o.U6)(0), s = 0, c = a; s < c.length; s++) { var l = c[s]; i.push({ type: l.type, value: l.value }); } return i; } }, 39504: (e, t, n) => { "use strict"; n.d(t, { h: () => y }); var r = n(94855), o = n(50961), a = n(8831), i = n(42184), s = n(58281), c = n(11679), l = n(56900), u = n(57529), d = n(71089), p = n(82316), f = n(4603), m = n(79568); function h(e, t, n) { return null == e && (e = t), void 0 !== n && (n ? (e = "h11" === t || "h23" === t ? "h11" : "h12") : ((0, d.kG)(!n, "hour12 must not be set"), (e = "h11" === t || "h23" === t ? "h23" : "h24"))), e; } var v = /^[a-z0-9]{3,8}$/i; function y(e, t, n, y) { var g = y.getInternalSlots, b = y.availableLocales, E = y.localeData, D = y.getDefaultLocale, C = y.getDefaultTimeZone, w = y.relevantExtensionKeys, S = y.tzData, A = y.uppercaseLinks, k = (0, r.L)(t), _ = (0, o.W)(n, "any", "date"), T = Object.create(null), I = (0, a.u)(_, "localeMatcher", "string", ["lookup", "best fit"], "best fit"); T.localeMatcher = I; var O = (0, a.u)(_, "calendar", "string", void 0, void 0); if (void 0 !== O && !v.test(O)) throw new RangeError("Malformed calendar"); var F = g(e); T.ca = O; var x = (0, a.u)(_, "numberingSystem", "string", void 0, void 0); if (void 0 !== x && !v.test(x)) throw new RangeError("Malformed numbering system"); T.nu = x; var N = (0, a.u)(_, "hour12", "boolean", void 0, void 0), R = (0, a.u)(_, "hourCycle", "string", ["h11", "h12", "h23", "h24"], void 0); void 0 !== N && (R = null), (T.hc = R); var L = (0, i.f)(b, k, T, w, E, D); (F.locale = L.locale), (O = L.ca), (F.calendar = O), (F.hourCycle = L.hc), (F.numberingSystem = L.nu); var M = L.dataLocale; F.dataLocale = M; var P = _.timeZone; if (void 0 !== P) { if (((P = String(P)), !(0, s.s)(P, { tzData: S, uppercaseLinks: A }))) throw new RangeError("Invalid timeZoneName"); P = (0, c.a)(P, { tzData: S, uppercaseLinks: A }); } else P = C(); (F.timeZone = P), ((T = Object.create(null)).weekday = (0, a.u)(_, "weekday", "string", ["narrow", "short", "long"], void 0)), (T.era = (0, a.u)(_, "era", "string", ["narrow", "short", "long"], void 0)), (T.year = (0, a.u)(_, "year", "string", ["2-digit", "numeric"], void 0)), (T.month = (0, a.u)(_, "month", "string", ["2-digit", "numeric", "narrow", "short", "long"], void 0)), (T.day = (0, a.u)(_, "day", "string", ["2-digit", "numeric"], void 0)), (T.hour = (0, a.u)(_, "hour", "string", ["2-digit", "numeric"], void 0)), (T.minute = (0, a.u)(_, "minute", "string", ["2-digit", "numeric"], void 0)), (T.second = (0, a.u)(_, "second", "string", ["2-digit", "numeric"], void 0)), (T.timeZoneName = (0, a.u)(_, "timeZoneName", "string", ["short", "long"], void 0)), (T.fractionalSecondDigits = (0, m._)(_, "fractionalSecondDigits", 1, 3, void 0)); var j = E[M]; (0, d.kG)(!!j, "Missing locale data for " + M); var B = j.formats[O]; if (!B) throw new RangeError('Calendar "' + O + '" is not supported. Try setting "calendar" to 1 of the following: ' + Object.keys(j.formats).join(", ")); var Z = (0, a.u)(_, "formatMatcher", "string", ["basic", "best fit"], "best fit"), U = (0, a.u)(_, "dateStyle", "string", ["full", "long", "medium", "short"], void 0); F.dateStyle = U; var z, V, H, G = (0, a.u)(_, "timeStyle", "string", ["full", "long", "medium", "short"], void 0); if (((F.timeStyle = G), void 0 === U && void 0 === G)) if ("basic" === Z) z = (0, l.k)(T, B); else { if ( (function (e) { for (var t = 0, n = ["hour", "minute", "second"]; t < n.length; t++) if (void 0 !== e[n[t]]) return !0; return !1; })(T) ) { var W = h(F.hourCycle, j.hourCycle, N); T.hour12 = "h11" === W || "h12" === W; } z = (0, u.S)(T, B); } else { for (var Q = 0, J = p.ll; Q < J.length; Q++) if (void 0 !== (q = T[(Y = J[Q])])) throw new TypeError("Intl.DateTimeFormat can't set option " + Y + " when " + (U ? "dateStyle" : "timeStyle") + " is used"); z = (0, f.R)(U, G, j); } for (var Y in ((F.format = z), T)) { var q; void 0 !== (q = z[Y]) && (F[Y] = q); } return ( void 0 !== F.hour ? ((W = h(F.hourCycle, j.hourCycle, N)), (F.hourCycle = W), "h11" === W || "h12" === W ? ((V = z.pattern12), (H = z.rangePatterns12)) : ((V = z.pattern), (H = z.rangePatterns))) : ((F.hourCycle = void 0), (V = z.pattern), (H = z.rangePatterns)), (F.pattern = V), (F.rangePatterns = H), e ); } }, 87147: (e, t, n) => { "use strict"; n.d(t, { b: () => i }); var r = n(39514), o = n(88271), a = n(65587); function i(e, t, n) { if (((t = (0, r.XH)(t)), isNaN(t))) throw new RangeError("invalid time"); var i = (0, n.getInternalSlots)(e).pattern; return (0, o.T)(e, (0, a.i)(i), t, n); } }, 59736: (e, t, n) => { "use strict"; n.d(t, { l: () => l }); var r = n(30180), o = n(39514), a = n(87054), i = n(88271), s = n(65587), c = ["era", "year", "month", "day", "ampm", "hour", "minute", "second", "fractionalSecondDigits"]; function l(e, t, n, l) { if (((t = (0, o.XH)(t)), isNaN(t))) throw new RangeError("Invalid start time"); if (((n = (0, o.XH)(n)), isNaN(n))) throw new RangeError("Invalid end time"); for ( var u, d = l.getInternalSlots, p = l.tzData, f = d(e), m = (0, a.K)(t, f.calendar, f.timeZone, { tzData: p }), h = (0, a.K)(n, f.calendar, f.timeZone, { tzData: p }), v = f.pattern, y = f.rangePatterns, g = !0, b = !1, E = 0, D = c; E < D.length; E++ ) { var C = D[E]; if (g && !b) if ("ampm" === C) { var w = y.ampm; if (void 0 !== u && void 0 === w) b = !0; else { var S = m.hour, A = h.hour; ((S > 11 && A < 11) || (S < 11 && A > 11)) && (g = !1), (u = w); } } else if ("fractionalSecondDigits" === C) { var k = f.fractionalSecondDigits; void 0 === k && (k = 3), (S = Math.floor(m.millisecond * Math.pow(10, k - 3))) !== (A = Math.floor(h.millisecond * Math.pow(10, k - 3))) && (g = !1); } else (w = y[C]), void 0 !== u && void 0 === w ? (b = !0) : ((S = m[C]), (A = h[C]), (0, o.QP)(S, A) || (g = !1), (u = w)); } if (g) { for (var _ = (0, i.T)(e, (0, s.i)(v), t, l), T = 0, I = _; T < I.length; T++) I[T].source = r._.shared; return _; } var O = []; if (void 0 === u) for (var F = 0, x = (u = y.default).patternParts; F < x.length; F++) { var N = x[F]; ("{0}" !== N.pattern && "{1}" !== N.pattern) || (N.pattern = v); } for (var R = 0, L = u.patternParts; R < L.length; R++) { var M, P = L[R], j = P.source, B = P.pattern; M = j === r._.startRange || j === r._.shared ? t : n; for (var Z = (0, s.i)(B), U = (0, i.T)(e, Z, M, l), z = 0, V = U; z < V.length; z++) V[z].source = j; O = O.concat(U); } return O; } }, 50961: (e, t, n) => { "use strict"; n.d(t, { W: () => o }); var r = n(39514); function o(e, t, n) { (e = void 0 === e ? null : (0, r.TA)(e)), (e = Object.create(e)); var o = !0; if ("date" === t || "any" === t) for (var a = 0, i = ["weekday", "year", "month", "day"]; a < i.length; a++) void 0 !== e[i[a]] && (o = !1); if ("time" === t || "any" === t) for (var s = 0, c = ["dayPeriod", "hour", "minute", "second", "fractionalSecondDigits"]; s < c.length; s++) void 0 !== e[c[s]] && (o = !1); if (((void 0 === e.dateStyle && void 0 === e.timeStyle) || (o = !1), "date" === t && e.timeStyle)) throw new TypeError("Intl.DateTimeFormat date was required but timeStyle was included"); if ("time" === t && e.dateStyle) throw new TypeError("Intl.DateTimeFormat time was required but dateStyle was included"); if (o && ("date" === n || "all" === n)) for (var l = 0, u = ["year", "month", "day"]; l < u.length; l++) e[u[l]] = "numeric"; if (o && ("time" === n || "all" === n)) for (var d = 0, p = ["hour", "minute", "second"]; d < p.length; d++) e[p[d]] = "numeric"; return e; } }, 87054: (e, t, n) => { "use strict"; n.d(t, { K: () => a }); var r = n(71089), o = n(39514); function a(e, t, n, a) { var i = a.tzData; (0, r.kG)("Number" === (0, o.Dy)(e), "invalid time"), (0, r.kG)("gregory" === t, "We only support Gregory calendar right now"); var s = (function (e, t, n) { var r, o = n[t]; if (!o) return [0, !1]; for (var a = 0, i = 0, s = !1; a <= o.length; a++) if (a === o.length || 1e3 * o[a][0] > e) { (i = (r = o[a - 1])[2]), (s = r[3]); break; } return [1e3 * i, s]; })(e, n, i), c = s[0], l = s[1], u = e + c, d = (0, o.n7)(u); return { weekday: (0, o.VR)(u), era: d < 0 ? "BC" : "AD", year: d, relatedYear: void 0, yearName: void 0, month: (0, o.J1)(u), day: (0, o.XB)(u), hour: (0, o.Zq)(u), minute: (0, o.py)(u), second: (0, o.xk)(u), millisecond: (0, o.Vg)(u), inDST: l, timeZoneOffset: c, }; } }, 10015: (e, t, n) => { "use strict"; n.d(t, { TE: () => u, aK: () => l }); var r = n(13795), o = n(30180), a = /(?:[Eec]{1,6}|G{1,5}|[Qq]{1,5}|(?:[yYur]+|U{1,5})|[ML]{1,5}|d{1,2}|D{1,3}|F{1}|[abB]{1,5}|[hkHK]{1,2}|w{1,2}|W{1}|m{1,2}|s{1,2}|[zZOvVxX]{1,4})(?=([^']*'[^']*')*[^']*$)/g, i = /^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g; function s(e, t) { var n = e.length; switch (e[0]) { case "G": return (t.era = 4 === n ? "long" : 5 === n ? "narrow" : "short"), "{era}"; case "y": case "Y": case "u": case "U": case "r": return (t.year = 2 === n ? "2-digit" : "numeric"), "{year}"; case "q": case "Q": throw new RangeError("`w/Q` (quarter) patterns are not supported"); case "M": case "L": return (t.month = ["numeric", "2-digit", "short", "long", "narrow"][n - 1]), "{month}"; case "w": case "W": throw new RangeError("`w/W` (week of year) patterns are not supported"); case "d": return (t.day = ["numeric", "2-digit"][n - 1]), "{day}"; case "D": case "F": case "g": return (t.day = "numeric"), "{day}"; case "E": return (t.weekday = 4 === n ? "long" : 5 === n ? "narrow" : "short"), "{weekday}"; case "e": case "c": return (t.weekday = [void 0, void 0, "short", "long", "narrow", "short"][n - 1]), "{weekday}"; case "a": case "b": case "B": return (t.hour12 = !0), "{ampm}"; case "h": case "K": return (t.hour = ["numeric", "2-digit"][n - 1]), (t.hour12 = !0), "{hour}"; case "H": case "k": return (t.hour = ["numeric", "2-digit"][n - 1]), "{hour}"; case "j": case "J": case "C": throw new RangeError("`j/J/C` (hour) patterns are not supported, use `h/H/K/k` instead"); case "m": return (t.minute = ["numeric", "2-digit"][n - 1]), "{minute}"; case "s": return (t.second = ["numeric", "2-digit"][n - 1]), "{second}"; case "S": case "A": return (t.second = "numeric"), "{second}"; case "z": case "Z": case "O": case "v": case "V": case "X": case "x": return (t.timeZoneName = n < 4 ? "short" : "long"), "{timeZoneName}"; } return ""; } function c(e) { switch (e) { case "G": return "era"; case "y": case "Y": case "u": case "U": case "r": return "year"; case "M": case "L": return "month"; case "d": case "D": case "F": case "g": return "day"; case "a": case "b": case "B": return "ampm"; case "h": case "H": case "K": case "k": return "hour"; case "m": return "minute"; case "s": case "S": case "A": return "second"; default: throw new RangeError("Invalid range pattern token"); } } function l(e, t) { var n = [], r = e .replace(/'{2}/g, "{apostrophe}") .replace(/'(.*?)'/g, function (e, t) { return n.push(t), "$$" + (n.length - 1) + "$$"; }) .replace(a, function (e) { return s(e, t || {}); }); return ( n.length && (r = r .replace(/\$\$(\d+)\$\$/g, function (e, t) { return n[+t]; }) .replace(/\{apostrophe\}/g, "'")), [ r .replace(/([\s\uFEFF\xA0])\{ampm\}([\s\uFEFF\xA0])/, "$1") .replace("{ampm}", "") .replace(i, ""), r, ] ); } function u(e, t, n, i) { void 0 === t && (t = e); var u = { pattern: "", pattern12: "", skeleton: e, rawPattern: t, rangePatterns: {}, rangePatterns12: {} }; if (n) for (var p in n) { var f = c(p), m = { patternParts: [] }, h = l(n[p], m), v = h[0], y = h[1]; (u.rangePatterns[f] = (0, r.__assign)((0, r.__assign)({}, m), { patternParts: d(v) })), (u.rangePatterns12[f] = (0, r.__assign)((0, r.__assign)({}, m), { patternParts: d(y) })); } else if (i) { var g = (function (e) { return e .split(/(\{[0|1]\})/g) .filter(Boolean) .map(function (e) { switch (e) { case "{0}": return { source: o._.startRange, pattern: e }; case "{1}": return { source: o._.endRange, pattern: e }; default: return { source: o._.shared, pattern: e }; } }); })(i); (u.rangePatterns.default = { patternParts: g }), (u.rangePatterns12.default = { patternParts: g }); } e.replace(a, function (e) { return s(e, u); }); var b = l(t), E = b[0], D = b[1]; return (u.pattern = E), (u.pattern12 = D), u; } function d(e) { for (var t, n = /\{(.*?)\}/g, r = {}, a = 0; (t = n.exec(e)); ) { if (t[0] in r) { a = t.index; break; } r[t[0]] = t.index; } return a ? [ { source: o._.startRange, pattern: e.slice(0, a) }, { source: o._.endRange, pattern: e.slice(a) }, ] : [{ source: o._.startRange, pattern: e }]; } }, 82316: (e, t, n) => { "use strict"; n.d(t, { H0: () => o, N4: () => s, Nt: () => c, Q7: () => u, bu: () => l, ll: () => r, wQ: () => a, zY: () => i }); var r = ["weekday", "era", "year", "month", "day", "hour", "minute", "second", "timeZoneName"], o = 120, a = 20, i = 15, s = 8, c = 6, l = 6, u = 3; }, 81425: (e, t, n) => { "use strict"; function r(e, t, n, r) { if (void 0 !== e) { if (((e = Number(e)), isNaN(e) || e < t || e > n)) throw new RangeError(e + " is outside of range [" + t + ", " + n + "]"); return Math.floor(e); } return r; } n.d(t, { Q: () => r }); }, 72011: (e, t, n) => { "use strict"; n.d(t, { A: () => c }); var r = n(94855), o = n(71089), a = n(54595), i = /^([a-z]{2}|[0-9]{3})$/i, s = /^[a-z]{4}$/i; function c(e, t) { if ("language" === e) return (0, r.L)([t])[0]; if ("region" === e) { if (((n = t), !i.test(n))) throw RangeError("invalid region"); return t.toUpperCase(); } var n, c; if ("script" === e) { if (((c = t), !s.test(c))) throw RangeError("invalid script"); return "" + t[0].toUpperCase() + t.slice(1).toLowerCase(); } if (((0, o.kG)("currency" === e, "invalid type"), !(0, a.K)(t))) throw RangeError("invalid currency"); return t.toUpperCase(); } }, 79568: (e, t, n) => { "use strict"; n.d(t, { _: () => o }); var r = n(81425); function o(e, t, n, o, a) { var i = e[t]; return (0, r.Q)(i, n, o, a); } }, 8831: (e, t, n) => { "use strict"; n.d(t, { u: () => o }); var r = n(39514); function o(e, t, n, o, a) { if ("object" != typeof e) throw new TypeError("Options must be an object"); var i = e[t]; if (void 0 !== i) { if ("boolean" !== n && "string" !== n) throw new TypeError("invalid type"); if ( ("boolean" === n && (i = Boolean(i)), "string" === n && (i = (0, r.Ml)(i)), void 0 !== o && !o.filter(function (e) { return e == i; }).length) ) throw new RangeError(i + " is not within " + o.join(", ")); return i; } return a; } }, 90160: (e, t, n) => { "use strict"; function r(e) { if (void 0 === e) return Object.create(null); if ("object" == typeof e) return e; throw new TypeError("Options must be an object"); } n.d(t, { F: () => r }); }, 67152: (e, t, n) => { "use strict"; n.d(t, { Hr: () => o, Js: () => r, UQ: () => i, oO: () => a }); var r = [ "angle-degree", "area-acre", "area-hectare", "concentr-percent", "digital-bit", "digital-byte", "digital-gigabit", "digital-gigabyte", "digital-kilobit", "digital-kilobyte", "digital-megabit", "digital-megabyte", "digital-petabyte", "digital-terabit", "digital-terabyte", "duration-day", "duration-hour", "duration-millisecond", "duration-minute", "duration-month", "duration-second", "duration-week", "duration-year", "length-centimeter", "length-foot", "length-inch", "length-kilometer", "length-meter", "length-mile-scandinavian", "length-mile", "length-millimeter", "length-yard", "mass-gram", "mass-kilogram", "mass-ounce", "mass-pound", "mass-stone", "temperature-celsius", "temperature-fahrenheit", "volume-fluid-ounce", "volume-gallon", "volume-liter", "volume-milliliter", ]; function o(e) { return e.slice(e.indexOf("-") + 1); } var a = r.map(o); function i(e) { return a.indexOf(e) > -1; } }, 58281: (e, t, n) => { "use strict"; function r(e, t) { var n = t.tzData, r = t.uppercaseLinks, o = e.toUpperCase(), a = new Set(); return ( Object.keys(n) .map(function (e) { return e.toUpperCase(); }) .forEach(function (e) { return a.add(e); }), a.has(o) || o in r ); } n.d(t, { s: () => r }); }, 54595: (e, t, n) => { "use strict"; n.d(t, { K: () => o }); var r = /[^A-Z]/; function o(e) { return ( 3 === (e = e.replace(/([a-z])/g, function (e, t) { return t.toUpperCase(); })).length && !r.test(e) ); } }, 98769: (e, t, n) => { "use strict"; n.d(t, { L: () => o }); var r = n(67152); function o(e) { if ( ((e = e.replace(/([A-Z])/g, function (e, t) { return t.toLowerCase(); })), (0, r.UQ)(e)) ) return !0; var t = e.split("-per-"); if (2 !== t.length) return !1; var n = t[0], o = t[1]; return !(!(0, r.UQ)(n) || !(0, r.UQ)(o)); } }, 83774: (e, t, n) => { "use strict"; n.d(t, { V: () => i }); var r = n(71089), o = n(65821), a = n(10516); function i(e, t, n) { var i = n.getInternalSlots; if (0 === t) return [0, 0]; t < 0 && (t = -t); var s = (0, r.Tg)(t), c = (0, o.b)(e, s, { getInternalSlots: i }); t = c < 0 ? t * Math.pow(10, -c) : t / Math.pow(10, c); var l = (0, a.E)(i(e), t); return 0 === l.roundedNumber || (0, r.Tg)(l.roundedNumber) === s - c ? [c, s] : [(0, o.b)(e, s + 1, { getInternalSlots: i }), s + 1]; } }, 65821: (e, t, n) => { "use strict"; function r(e, t, n) { var r = (0, n.getInternalSlots)(e), o = r.notation, a = r.dataLocaleData, i = r.numberingSystem; switch (o) { case "standard": return 0; case "scientific": return t; case "engineering": return 3 * Math.floor(t / 3); default: var s = r.compactDisplay, c = r.style, l = r.currencyDisplay, u = void 0; if ("currency" === c && "name" !== l) u = (a.numbers.currency[i] || a.numbers.currency[a.numbers.nu[0]]).short; else { var d = a.numbers.decimal[i] || a.numbers.decimal[a.numbers.nu[0]]; u = "long" === s ? d.long : d.short; } if (!u) return 0; var p = String(Math.pow(10, t)), f = Object.keys(u); if (p < f[0]) return 0; if (p > f[f.length - 1]) return f[f.length - 1].length - 1; var m = f.indexOf(p); if (-1 === m) return 0; var h = f[m]; return "0" === u[h].other ? 0 : h.length - u[h].other.match(/0+/)[0].length; } } n.d(t, { b: () => r }); }, 2139: (e, t, n) => { "use strict"; n.d(t, { T: () => o }); var r = n(39514); function o(e, t) { var n = t.currencyDigitsData; return (0, r.uY)(n, e) ? n[e] : 2; } }, 26724: (e, t, n) => { "use strict"; n.d(t, { M: () => a }); var r = n(32536), o = n(39514); function a(e, t, n) { for (var a = (0, r.I)(e, t, n), i = (0, o.U6)(0), s = 0, c = a; s < c.length; s++) { var l = c[s]; i.push({ type: l.type, value: l.value }); } return i; } }, 10516: (e, t, n) => { "use strict"; n.d(t, { E: () => s }); var r = n(39514), o = n(78151), a = n(71089), i = n(32452); function s(e, t) { var n, s = t < 0 || (0, r.QP)(t, -0); switch ((s && (t = -t), e.roundingType)) { case "significantDigits": n = (0, o.w)(t, e.minimumSignificantDigits, e.maximumSignificantDigits); break; case "fractionDigits": n = (0, i.W)(t, e.minimumFractionDigits, e.maximumFractionDigits); break; default: (n = (0, o.w)(t, 1, 2)).integerDigitsCount > 1 && (n = (0, i.W)(t, 0, 0)); } t = n.roundedNumber; var c = n.formattedString, l = n.integerDigitsCount, u = e.minimumIntegerDigits; return l < u && (c = (0, a.rx)("0", u - l) + c), s && (t = -t), { roundedNumber: t, formattedString: c }; } }, 12448: (e, t, n) => { "use strict"; n.d(t, { o: () => d }); var r = n(94855), o = n(8831), a = n(42184), i = n(90287), s = n(2139), c = n(64269), l = n(71089), u = n(73257); function d(e, t, n, d) { var p = d.getInternalSlots, f = d.localeData, m = d.availableLocales, h = d.numberingSystemNames, v = d.getDefaultLocale, y = d.currencyDigitsData, g = (0, r.L)(t), b = (0, u.U)(n), E = Object.create(null), D = (0, o.u)(b, "localeMatcher", "string", ["lookup", "best fit"], "best fit"); E.localeMatcher = D; var C = (0, o.u)(b, "numberingSystem", "string", void 0, void 0); if (void 0 !== C && h.indexOf(C) < 0) throw RangeError("Invalid numberingSystems: " + C); E.nu = C; var w = (0, a.f)(m, g, E, ["nu"], f, v), S = f[w.dataLocale]; (0, l.kG)(!!S, "Missing locale data for " + w.dataLocale); var A = p(e); (A.locale = w.locale), (A.dataLocale = w.dataLocale), (A.numberingSystem = w.nu), (A.dataLocaleData = S), (0, i.x)(e, b, { getInternalSlots: p }); var k, _, T = A.style; if ("currency" === T) { var I = A.currency, O = (0, s.T)(I, { currencyDigitsData: y }); (k = O), (_ = O); } else (k = 0), (_ = "percent" === T ? 0 : 3); var F = (0, o.u)(b, "notation", "string", ["standard", "scientific", "engineering", "compact"], "standard"); (A.notation = F), (0, c.W)(A, b, k, _, F); var x = (0, o.u)(b, "compactDisplay", "string", ["short", "long"], "short"); "compact" === F && (A.compactDisplay = x); var N = (0, o.u)(b, "useGrouping", "boolean", void 0, !0); A.useGrouping = N; var R = (0, o.u)(b, "signDisplay", "string", ["auto", "never", "always", "exceptZero"], "auto"); return (A.signDisplay = R), e; } }, 32536: (e, t, n) => { "use strict"; n.d(t, { I: () => s }); var r = n(10516), o = n(39514), a = n(83774), i = n(57715); function s(e, t, n) { var s, c, l, u = n.getInternalSlots, d = u(e), p = d.pl, f = d.dataLocaleData, m = d.numberingSystem, h = f.numbers.symbols[m] || f.numbers.symbols[f.numbers.nu[0]], v = 0, y = 0; if (isNaN(t)) c = h.nan; else if (isFinite(t)) { "percent" === d.style && (t *= 100), (y = (s = (0, a.V)(e, t, { getInternalSlots: u }))[0]), (v = s[1]), (t = y < 0 ? t * Math.pow(10, -y) : t / Math.pow(10, y)); var g = (0, r.E)(d, t); (c = g.formattedString), (t = g.roundedNumber); } else c = h.infinity; switch (d.signDisplay) { case "never": l = 0; break; case "auto": l = (0, o.QP)(t, 0) || t > 0 || isNaN(t) ? 0 : -1; break; case "always": l = (0, o.QP)(t, 0) || t > 0 || isNaN(t) ? 1 : -1; break; default: l = 0 === t || isNaN(t) ? 0 : t > 0 ? 1 : -1; } return (0, i.Z)({ roundedNumber: t, formattedString: c, exponent: y, magnitude: v, sign: l }, d.dataLocaleData, p, d); } }, 64269: (e, t, n) => { "use strict"; n.d(t, { W: () => a }); var r = n(79568), o = n(81425); function a(e, t, n, a, i) { var s = (0, r._)(t, "minimumIntegerDigits", 1, 21, 1), c = t.minimumFractionDigits, l = t.maximumFractionDigits, u = t.minimumSignificantDigits, d = t.maximumSignificantDigits; if (((e.minimumIntegerDigits = s), void 0 !== u || void 0 !== d)) (e.roundingType = "significantDigits"), (u = (0, o.Q)(u, 1, 21, 1)), (d = (0, o.Q)(d, u, 21, 21)), (e.minimumSignificantDigits = u), (e.maximumSignificantDigits = d); else if (void 0 !== c || void 0 !== l) { (e.roundingType = "fractionDigits"), (c = (0, o.Q)(c, 0, 20, n)); var p = Math.max(c, a); (l = (0, o.Q)(l, c, 20, p)), (e.minimumFractionDigits = c), (e.maximumFractionDigits = l); } else "compact" === i ? (e.roundingType = "compactRounding") : ((e.roundingType = "fractionDigits"), (e.minimumFractionDigits = n), (e.maximumFractionDigits = a)); } }, 90287: (e, t, n) => { "use strict"; n.d(t, { x: () => i }); var r = n(8831), o = n(54595), a = n(98769); function i(e, t, n) { void 0 === t && (t = Object.create(null)); var i = (0, n.getInternalSlots)(e), s = (0, r.u)(t, "style", "string", ["decimal", "percent", "currency", "unit"], "decimal"); i.style = s; var c = (0, r.u)(t, "currency", "string", void 0, void 0); if (void 0 !== c && !(0, o.K)(c)) throw RangeError("Malformed currency code"); if ("currency" === s && void 0 === c) throw TypeError("currency cannot be undefined"); var l = (0, r.u)(t, "currencyDisplay", "string", ["code", "symbol", "narrowSymbol", "name"], "symbol"), u = (0, r.u)(t, "currencySign", "string", ["standard", "accounting"], "standard"), d = (0, r.u)(t, "unit", "string", void 0, void 0); if (void 0 !== d && !(0, a.L)(d)) throw RangeError("Invalid unit argument for Intl.NumberFormat()"); if ("unit" === s && void 0 === d) throw TypeError("unit cannot be undefined"); var p = (0, r.u)(t, "unitDisplay", "string", ["short", "narrow", "long"], "short"); "currency" === s && ((i.currency = c.toUpperCase()), (i.currencyDisplay = l), (i.currencySign = u)), "unit" === s && ((i.unit = d), (i.unitDisplay = p)); } }, 32452: (e, t, n) => { "use strict"; n.d(t, { W: () => o }); var r = n(71089); function o(e, t, n) { var o, a, i = n, s = Math.round(e * Math.pow(10, i)), c = s / Math.pow(10, i); if (s < 1e21) o = s.toString(); else { var l = (o = s.toString()).split("e"), u = l[0], d = l[1]; (o = u.replace(".", "")), (o += (0, r.rx)("0", Math.max(+d - o.length + 1, 0))); } if (0 !== i) { var p = o.length; p <= i && ((o = (0, r.rx)("0", i + 1 - p) + o), (p = i + 1)); var f = o.slice(0, p - i), m = o.slice(p - i); (o = f + "." + m), (a = f.length); } else a = o.length; for (var h = n - t; h > 0 && "0" === o[o.length - 1]; ) (o = o.slice(0, -1)), h--; return "." === o[o.length - 1] && (o = o.slice(0, -1)), { formattedString: o, roundedNumber: c, integerDigitsCount: a }; } }, 78151: (e, t, n) => { "use strict"; n.d(t, { w: () => o }); var r = n(71089); function o(e, t, n) { var o, a, i, s, c = n; if (0 === e) (o = (0, r.rx)("0", c)), (a = 0), (i = 0); else { var l = e.toString(), u = l.indexOf("e"), d = l.split("e"), p = d[0], f = d[1], m = p.replace(".", ""); if (u >= 0 && m.length <= c) (a = +f), (o = m + (0, r.rx)("0", c - m.length)), (i = e); else { var h = (a = (0, r.Tg)(e)) - c + 1, v = Math.round(g(e, h)); g(v, c - 1) >= 10 && ((a += 1), (v = Math.floor(v / 10))), (o = v.toString()), (i = g(v, c - 1 - a)); } } if ((a >= c - 1 ? ((o += (0, r.rx)("0", a - c + 1)), (s = a + 1)) : a >= 0 ? ((o = o.slice(0, a + 1) + "." + o.slice(a + 1)), (s = a + 1)) : ((o = "0." + (0, r.rx)("0", -a - 1) + o), (s = 1)), o.indexOf(".") >= 0 && n > t)) { for (var y = n - t; y > 0 && "0" === o[o.length - 1]; ) (o = o.slice(0, -1)), y--; "." === o[o.length - 1] && (o = o.slice(0, -1)); } return { formattedString: o, roundedNumber: i, integerDigitsCount: s }; function g(e, t) { return t < 0 ? e * Math.pow(10, -t) : e / Math.pow(10, t); } } }, 57715: (e, t, n) => { "use strict"; n.d(t, { Z: () => u }); var r = n(32452); const o = JSON.parse( '{"adlm":["𞥐","𞥑","𞥒","𞥓","𞥔","𞥕","𞥖","𞥗","𞥘","𞥙"],"ahom":["𑜰","𑜱","𑜲","𑜳","𑜴","𑜵","𑜶","𑜷","𑜸","𑜹"],"arab":["٠","١","٢","٣","٤","٥","٦","٧","٨","٩"],"arabext":["۰","۱","۲","۳","۴","۵","۶","۷","۸","۹"],"bali":["᭐","᭑","᭒","᭓","᭔","᭕","᭖","᭗","᭘","᭙"],"beng":["০","১","২","৩","৪","৫","৬","৭","৮","৯"],"bhks":["𑱐","𑱑","𑱒","𑱓","𑱔","𑱕","𑱖","𑱗","𑱘","𑱙"],"brah":["𑁦","𑁧","𑁨","𑁩","𑁪","𑁫","𑁬","𑁭","𑁮","𑁯"],"cakm":["𑄶","𑄷","𑄸","𑄹","𑄺","𑄻","𑄼","𑄽","𑄾","𑄿"],"cham":["꩐","꩑","꩒","꩓","꩔","꩕","꩖","꩗","꩘","꩙"],"deva":["०","१","२","३","४","५","६","७","८","९"],"diak":["𑥐","𑥑","𑥒","𑥓","𑥔","𑥕","𑥖","𑥗","𑥘","𑥙"],"fullwide":["0","1","2","3","4","5","6","7","8","9"],"gong":["𑶠","𑶡","𑶢","𑶣","𑶤","𑶥","𑶦","𑶧","𑶨","𑶩"],"gonm":["𑵐","𑵑","𑵒","𑵓","𑵔","𑵕","𑵖","𑵗","𑵘","𑵙"],"gujr":["૦","૧","૨","૩","૪","૫","૬","૭","૮","૯"],"guru":["੦","੧","੨","੩","੪","੫","੬","੭","੮","੯"],"hanidec":["〇","一","二","三","四","五","六","七","八","九"],"hmng":["𖭐","𖭑","𖭒","𖭓","𖭔","𖭕","𖭖","𖭗","𖭘","𖭙"],"hmnp":["𞅀","𞅁","𞅂","𞅃","𞅄","𞅅","𞅆","𞅇","𞅈","𞅉"],"java":["꧐","꧑","꧒","꧓","꧔","꧕","꧖","꧗","꧘","꧙"],"kali":["꤀","꤁","꤂","꤃","꤄","꤅","꤆","꤇","꤈","꤉"],"khmr":["០","១","២","៣","៤","៥","៦","៧","៨","៩"],"knda":["೦","೧","೨","೩","೪","೫","೬","೭","೮","೯"],"lana":["᪀","᪁","᪂","᪃","᪄","᪅","᪆","᪇","᪈","᪉"],"lanatham":["᪐","᪑","᪒","᪓","᪔","᪕","᪖","᪗","᪘","᪙"],"laoo":["໐","໑","໒","໓","໔","໕","໖","໗","໘","໙"],"lepc":["᪐","᪑","᪒","᪓","᪔","᪕","᪖","᪗","᪘","᪙"],"limb":["᥆","᥇","᥈","᥉","᥊","᥋","᥌","᥍","᥎","᥏"],"mathbold":["𝟎","𝟏","𝟐","𝟑","𝟒","𝟓","𝟔","𝟕","𝟖","𝟗"],"mathdbl":["𝟘","𝟙","𝟚","𝟛","𝟜","𝟝","𝟞","𝟟","𝟠","𝟡"],"mathmono":["𝟶","𝟷","𝟸","𝟹","𝟺","𝟻","𝟼","𝟽","𝟾","𝟿"],"mathsanb":["𝟬","𝟭","𝟮","𝟯","𝟰","𝟱","𝟲","𝟳","𝟴","𝟵"],"mathsans":["𝟢","𝟣","𝟤","𝟥","𝟦","𝟧","𝟨","𝟩","𝟪","𝟫"],"mlym":["൦","൧","൨","൩","൪","൫","൬","൭","൮","൯"],"modi":["𑙐","𑙑","𑙒","𑙓","𑙔","𑙕","𑙖","𑙗","𑙘","𑙙"],"mong":["᠐","᠑","᠒","᠓","᠔","᠕","᠖","᠗","᠘","᠙"],"mroo":["𖩠","𖩡","𖩢","𖩣","𖩤","𖩥","𖩦","𖩧","𖩨","𖩩"],"mtei":["꯰","꯱","꯲","꯳","꯴","꯵","꯶","꯷","꯸","꯹"],"mymr":["၀","၁","၂","၃","၄","၅","၆","၇","၈","၉"],"mymrshan":["႐","႑","႒","႓","႔","႕","႖","႗","႘","႙"],"mymrtlng":["꧰","꧱","꧲","꧳","꧴","꧵","꧶","꧷","꧸","꧹"],"newa":["𑑐","𑑑","𑑒","𑑓","𑑔","𑑕","𑑖","𑑗","𑑘","𑑙"],"nkoo":["߀","߁","߂","߃","߄","߅","߆","߇","߈","߉"],"olck":["᱐","᱑","᱒","᱓","᱔","᱕","᱖","᱗","᱘","᱙"],"orya":["୦","୧","୨","୩","୪","୫","୬","୭","୮","୯"],"osma":["𐒠","𐒡","𐒢","𐒣","𐒤","𐒥","𐒦","𐒧","𐒨","𐒩"],"rohg":["𐴰","𐴱","𐴲","𐴳","𐴴","𐴵","𐴶","𐴷","𐴸","𐴹"],"saur":["꣐","꣑","꣒","꣓","꣔","꣕","꣖","꣗","꣘","꣙"],"segment":["🯰","🯱","🯲","🯳","🯴","🯵","🯶","🯷","🯸","🯹"],"shrd":["𑇐","𑇑","𑇒","𑇓","𑇔","𑇕","𑇖","𑇗","𑇘","𑇙"],"sind":["𑋰","𑋱","𑋲","𑋳","𑋴","𑋵","𑋶","𑋷","𑋸","𑋹"],"sinh":["෦","෧","෨","෩","෪","෫","෬","෭","෮","෯"],"sora":["𑃰","𑃱","𑃲","𑃳","𑃴","𑃵","𑃶","𑃷","𑃸","𑃹"],"sund":["᮰","᮱","᮲","᮳","᮴","᮵","᮶","᮷","᮸","᮹"],"takr":["𑛀","𑛁","𑛂","𑛃","𑛄","𑛅","𑛆","𑛇","𑛈","𑛉"],"talu":["᧐","᧑","᧒","᧓","᧔","᧕","᧖","᧗","᧘","᧙"],"tamldec":["௦","௧","௨","௩","௪","௫","௬","௭","௮","௯"],"telu":["౦","౧","౨","౩","౪","౫","౬","౭","౮","౯"],"thai":["๐","๑","๒","๓","๔","๕","๖","๗","๘","๙"],"tibt":["༠","༡","༢","༣","༤","༥","༦","༧","༨","༩"],"tirh":["𑓐","𑓑","𑓒","𑓓","𑓔","𑓕","𑓖","𑓗","𑓘","𑓙"],"vaii":["ᘠ","ᘡ","ᘢ","ᘣ","ᘤ","ᘥ","ᘦ","ᘧ","ᘨ","ᘩ"],"wara":["𑣠","𑣡","𑣢","𑣣","𑣤","𑣥","𑣦","𑣧","𑣨","𑣩"],"wcho":["𞋰","𞋱","𞋲","𞋳","𞋴","𞋵","𞋶","𞋷","𞋸","𞋹"]}' ); var a = n.t(o, 2), i = /[\$\+<->\^`\|~\xA2-\xA6\xA8\xA9\xAC\xAE-\xB1\xB4\xB8\xD7\xF7\u02C2-\u02C5\u02D2-\u02DF\u02E5-\u02EB\u02ED\u02EF-\u02FF\u0375\u0384\u0385\u03F6\u0482\u058D-\u058F\u0606-\u0608\u060B\u060E\u060F\u06DE\u06E9\u06FD\u06FE\u07F6\u07FE\u07FF\u09F2\u09F3\u09FA\u09FB\u0AF1\u0B70\u0BF3-\u0BFA\u0C7F\u0D4F\u0D79\u0E3F\u0F01-\u0F03\u0F13\u0F15-\u0F17\u0F1A-\u0F1F\u0F34\u0F36\u0F38\u0FBE-\u0FC5\u0FC7-\u0FCC\u0FCE\u0FCF\u0FD5-\u0FD8\u109E\u109F\u1390-\u1399\u166D\u17DB\u1940\u19DE-\u19FF\u1B61-\u1B6A\u1B74-\u1B7C\u1FBD\u1FBF-\u1FC1\u1FCD-\u1FCF\u1FDD-\u1FDF\u1FED-\u1FEF\u1FFD\u1FFE\u2044\u2052\u207A-\u207C\u208A-\u208C\u20A0-\u20BF\u2100\u2101\u2103-\u2106\u2108\u2109\u2114\u2116-\u2118\u211E-\u2123\u2125\u2127\u2129\u212E\u213A\u213B\u2140-\u2144\u214A-\u214D\u214F\u218A\u218B\u2190-\u2307\u230C-\u2328\u232B-\u2426\u2440-\u244A\u249C-\u24E9\u2500-\u2767\u2794-\u27C4\u27C7-\u27E5\u27F0-\u2982\u2999-\u29D7\u29DC-\u29FB\u29FE-\u2B73\u2B76-\u2B95\u2B98-\u2BFF\u2CE5-\u2CEA\u2E80-\u2E99\u2E9B-\u2EF3\u2F00-\u2FD5\u2FF0-\u2FFB\u3004\u3012\u3013\u3020\u3036\u3037\u303E\u303F\u309B\u309C\u3190\u3191\u3196-\u319F\u31C0-\u31E3\u3200-\u321E\u322A-\u3247\u3250\u3260-\u327F\u328A-\u32B0\u32C0-\u33FF\u4DC0-\u4DFF\uA490-\uA4C6\uA700-\uA716\uA720\uA721\uA789\uA78A\uA828-\uA82B\uA836-\uA839\uAA77-\uAA79\uAB5B\uFB29\uFBB2-\uFBC1\uFDFC\uFDFD\uFE62\uFE64-\uFE66\uFE69\uFF04\uFF0B\uFF1C-\uFF1E\uFF3E\uFF40\uFF5C\uFF5E\uFFE0-\uFFE6\uFFE8-\uFFEE\uFFFC\uFFFD]|\uD800[\uDD37-\uDD3F\uDD79-\uDD89\uDD8C-\uDD8E\uDD90-\uDD9B\uDDA0\uDDD0-\uDDFC]|\uD802[\uDC77\uDC78\uDEC8]|\uD805\uDF3F|\uD807[\uDFD5-\uDFF1]|\uD81A[\uDF3C-\uDF3F\uDF45]|\uD82F\uDC9C|\uD834[\uDC00-\uDCF5\uDD00-\uDD26\uDD29-\uDD64\uDD6A-\uDD6C\uDD83\uDD84\uDD8C-\uDDA9\uDDAE-\uDDE8\uDE00-\uDE41\uDE45\uDF00-\uDF56]|\uD835[\uDEC1\uDEDB\uDEFB\uDF15\uDF35\uDF4F\uDF6F\uDF89\uDFA9\uDFC3]|\uD836[\uDC00-\uDDFF\uDE37-\uDE3A\uDE6D-\uDE74\uDE76-\uDE83\uDE85\uDE86]|\uD838[\uDD4F\uDEFF]|\uD83B[\uDCAC\uDCB0\uDD2E\uDEF0\uDEF1]|\uD83C[\uDC00-\uDC2B\uDC30-\uDC93\uDCA0-\uDCAE\uDCB1-\uDCBF\uDCC1-\uDCCF\uDCD1-\uDCF5\uDD10-\uDD6C\uDD70-\uDDAC\uDDE6-\uDE02\uDE10-\uDE3B\uDE40-\uDE48\uDE50\uDE51\uDE60-\uDE65\uDF00-\uDFFF]|\uD83D[\uDC00-\uDED5\uDEE0-\uDEEC\uDEF0-\uDEFA\uDF00-\uDF73\uDF80-\uDFD8\uDFE0-\uDFEB]|\uD83E[\uDC00-\uDC0B\uDC10-\uDC47\uDC50-\uDC59\uDC60-\uDC87\uDC90-\uDCAD\uDD00-\uDD0B\uDD0D-\uDD71\uDD73-\uDD76\uDD7A-\uDDA2\uDDA5-\uDDAA\uDDAE-\uDDCA\uDDCD-\uDE53\uDE60-\uDE6D\uDE70-\uDE73\uDE78-\uDE7A\uDE80-\uDE82\uDE90-\uDE95]/, s = new RegExp("^" + i.source), c = new RegExp(i.source + "$"), l = /[#0](?:[\.,][#0]+)*/g; function u(e, t, n, r) { var o, a, i = e.sign, u = e.exponent, m = e.magnitude, h = r.notation, v = r.style, y = r.numberingSystem, g = t.numbers.nu[0], b = null; if ( ("compact" === h && m && (b = (function (e, t, n, r, o, a, i) { var s, c, l = e.roundedNumber, u = e.sign, d = e.magnitude, m = String(Math.pow(10, d)), h = n.numbers.nu[0]; if ("currency" === r && "name" !== a) { var v = null === (s = ((y = n.numbers.currency)[i] || y[h]).short) || void 0 === s ? void 0 : s[m]; if (!v) return null; c = f(t, l, v); } else { var y, g = ((y = n.numbers.decimal)[i] || y[h])[o][m]; if (!g) return null; c = f(t, l, g); } return "0" === c ? null : (c = p(c, u) .replace(/([^\s;\-\+\d¤]+)/g, "{c:$1}") .replace(/0+/, "0")); })(e, n, t, v, r.compactDisplay, r.currencyDisplay, y)), "currency" === v && "name" !== r.currencyDisplay) ) { var E = t.currencies[r.currency]; if (E) switch (r.currencyDisplay) { case "code": o = r.currency; break; case "symbol": o = E.symbol; break; default: o = E.narrow; } else o = r.currency; } a = b || ("decimal" === v || "unit" === v || ("currency" === v && "name" === r.currencyDisplay) ? p((t.numbers.decimal[y] || t.numbers.decimal[g]).standard, i) : p("currency" === v ? (C = t.numbers.currency[y] || t.numbers.currency[g])[r.currencySign] : t.numbers.percent[y] || t.numbers.percent[g], i)); var D = l.exec(a)[0]; if (((a = a.replace(l, "{0}").replace(/'(.)'/g, "$1")), "currency" === v && "name" !== r.currencyDisplay)) { var C, w = (C = t.numbers.currency[y] || t.numbers.currency[g]).currencySpacing.afterInsertBetween; w && !c.test(o) && (a = a.replace("¤{0}", "¤" + w + "{0}")); var S = C.currencySpacing.beforeInsertBetween; S && !s.test(o) && (a = a.replace("{0}¤", "{0}" + S + "¤")); } for (var A = a.split(/({c:[^}]+}|\{0\}|[¤%\-\+])/g), k = [], _ = t.numbers.symbols[y] || t.numbers.symbols[g], T = 0, I = A; T < I.length; T++) if ((J = I[T])) switch (J) { case "{0}": k.push.apply(k, d(_, e, h, u, y, !b && r.useGrouping, D)); break; case "-": k.push({ type: "minusSign", value: _.minusSign }); break; case "+": k.push({ type: "plusSign", value: _.plusSign }); break; case "%": k.push({ type: "percentSign", value: _.percentSign }); break; case "¤": k.push({ type: "currency", value: o }); break; default: /^\{c:/.test(J) ? k.push({ type: "compact", value: J.substring(3, J.length - 1) }) : k.push({ type: "literal", value: J }); } switch (v) { case "currency": if ("name" === r.currencyDisplay) { var O, F = (t.numbers.currency[y] || t.numbers.currency[g]).unitPattern, x = t.currencies[r.currency]; O = x ? f(n, e.roundedNumber * Math.pow(10, u), x.displayName) : r.currency; for (var N = [], R = 0, L = F.split(/(\{[01]\})/g); R < L.length; R++) switch ((J = L[R])) { case "{0}": N.push.apply(N, k); break; case "{1}": N.push({ type: "currency", value: O }); break; default: J && N.push({ type: "literal", value: J }); } return N; } return k; case "unit": var M = r.unit, P = r.unitDisplay, j = t.units.simple[M]; if (((F = void 0), j)) F = f(n, e.roundedNumber * Math.pow(10, u), t.units.simple[M][P]); else { var B = M.split("-per-"), Z = B[0], U = B[1]; j = t.units.simple[Z]; var z = f(n, e.roundedNumber * Math.pow(10, u), t.units.simple[Z][P]), V = t.units.simple[U].perUnit[P]; if (V) F = V.replace("{0}", z); else { var H = t.units.compound.per[P], G = f(n, 1, t.units.simple[U][P]); F = F = H.replace("{0}", z).replace("{1}", G.replace("{0}", "")); } } N = []; for (var W = 0, Q = F.split(/(\s*\{0\}\s*)/); W < Q.length; W++) { var J = Q[W], Y = /^(\s*)\{0\}(\s*)$/.exec(J); Y ? (Y[1] && N.push({ type: "literal", value: Y[1] }), N.push.apply(N, k), Y[2] && N.push({ type: "literal", value: Y[2] })) : J && N.push({ type: "unit", value: J }); } return N; default: return k; } } function d(e, t, n, o, i, s, c) { var l = [], u = t.formattedString, d = t.roundedNumber; if (isNaN(d)) return [{ type: "nan", value: u }]; if (!isFinite(d)) return [{ type: "infinity", value: u }]; var p = a[i]; p && (u = u.replace(/\d/g, function (e) { return p[+e] || e; })); var f, m, h = u.indexOf("."); if ((h > 0 ? ((f = u.slice(0, h)), (m = u.slice(h + 1))) : (f = u), s && ("compact" !== n || d >= 1e4))) { var v = e.group, y = [], g = c.split(".")[0].split(","), b = 3, E = 3; g.length > 1 && (b = g[g.length - 1].length), g.length > 2 && (E = g[g.length - 2].length); var D = f.length - b; if (D > 0) { for (y.push(f.slice(D, D + b)), D -= E; D > 0; D -= E) y.push(f.slice(D, D + E)); y.push(f.slice(0, D + E)); } else y.push(f); for (; y.length > 0; ) { var C = y.pop(); l.push({ type: "integer", value: C }), y.length > 0 && l.push({ type: "group", value: v }); } } else l.push({ type: "integer", value: f }); if ((void 0 !== m && l.push({ type: "decimal", value: e.decimal }, { type: "fraction", value: m }), ("scientific" === n || "engineering" === n) && isFinite(d))) { l.push({ type: "exponentSeparator", value: e.exponential }), o < 0 && (l.push({ type: "exponentMinusSign", value: e.minusSign }), (o = -o)); var w = (0, r.W)(o, 0, 0); l.push({ type: "exponentInteger", value: w.formattedString }); } return l; } function p(e, t) { e.indexOf(";") < 0 && (e = e + ";-" + e); var n = e.split(";"), r = n[0], o = n[1]; switch (t) { case 0: return r; case -1: return o; default: return o.indexOf("-") >= 0 ? o.replace(/-/g, "+") : "+" + r; } } function f(e, t, n) { return n[e.select(t)] || n.other; } }, 65587: (e, t, n) => { "use strict"; n.d(t, { i: () => o }); var r = n(71089); function o(e) { for (var t = [], n = e.indexOf("{"), o = 0, a = 0, i = e.length; n < e.length && n > -1; ) (o = e.indexOf("}", n)), (0, r.kG)(o > n, "Invalid pattern " + e), n > a && t.push({ type: "literal", value: e.substring(a, n) }), t.push({ type: e.substring(n + 1, o), value: void 0 }), (a = o + 1), (n = e.indexOf("{", a)); return a < i && t.push({ type: "literal", value: e.substring(a, i) }), t; } }, 61232: (e, t, n) => { "use strict"; n.d(t, { F: () => a }); var r = n(71089), o = n(39514); function a(e) { (0, r.kG)("string" == typeof e, "GetOperands should have been called with a string"); var t = (0, o.CU)(e); (0, r.kG)(isFinite(t), "n should be finite"); var n, a, i, s = e.indexOf("."), c = ""; -1 === s ? ((n = t), (a = 0), (i = 0)) : ((n = e.slice(0, s)), (c = e.slice(s, e.length)), (a = (0, o.CU)(c)), (i = c.length)); var l, u, d = Math.abs((0, o.CU)(n)); if (0 !== a) { var p = c.replace(/0+$/, ""); (l = p.length), (u = (0, o.CU)(p)); } else (l = 0), (u = 0); return { Number: t, IntegerDigits: d, NumberOfFractionDigits: i, NumberOfFractionDigitsWithoutTrailing: l, FractionDigits: a, FractionDigitsWithoutTrailing: u }; } }, 25739: (e, t, n) => { "use strict"; n.d(t, { q: () => c }); var r = n(94855), o = n(8831), a = n(64269), i = n(42184), s = n(73257); function c(e, t, n, c) { var l = c.availableLocales, u = c.relevantExtensionKeys, d = c.localeData, p = c.getDefaultLocale, f = c.getInternalSlots, m = (0, r.L)(t), h = Object.create(null), v = (0, s.U)(n), y = f(e); y.initializedPluralRules = !0; var g = (0, o.u)(v, "localeMatcher", "string", ["best fit", "lookup"], "best fit"); (h.localeMatcher = g), (y.type = (0, o.u)(v, "type", "string", ["cardinal", "ordinal"], "cardinal")), (0, a.W)(y, v, 0, 3, "standard"); var b = (0, i.f)(l, m, h, u, d, p); return (y.locale = b.locale), e; } }, 94752: (e, t, n) => { "use strict"; n.d(t, { j: () => s }); var r = n(71089), o = n(39514), a = n(10516), i = n(61232); function s(e, t, n) { var s = n.getInternalSlots, c = n.PluralRuleSelect, l = s(e); if (((0, r.kG)("Object" === (0, o.Dy)(l), "pl has to be an object"), (0, r.kG)("initializedPluralRules" in l, "pluralrules must be initialized"), (0, r.kG)("Number" === (0, o.Dy)(t), "n must be a number"), !isFinite(t))) return "other"; var u = l.locale, d = l.type, p = (0, a.E)(l, t).formattedString; return c(u, d, t, (0, i.F)(p)); } }, 24830: (e, t, n) => { "use strict"; n.d(t, { e: () => o }); var r = n(84112); function o(e, t, n, o) { for (var a = "", i = 0, s = (0, r.J)(e, t, n, o); i < s.length; i++) a += s[i].value; return a; } }, 404: (e, t, n) => { "use strict"; n.d(t, { p: () => a }); var r = n(84112), o = n(39514); function a(e, t, n, a) { for (var i = (0, r.J)(e, t, n, a), s = (0, o.U6)(0), c = 0, l = i; c < l.length; c++) { var u = l[c], d = { type: u.type, value: u.value }; "unit" in u && (d.unit = u.unit), s.push(d); } return s; } }, 23868: (e, t, n) => { "use strict"; n.d(t, { Q: () => l }); var r = n(94855), o = n(8831), a = n(42184), i = n(71089), s = n(73257), c = /^[a-z0-9]{3,8}(-[a-z0-9]{3,8})*$/i; function l(e, t, n, l) { var u = l.getInternalSlots, d = l.availableLocales, p = l.relevantExtensionKeys, f = l.localeData, m = l.getDefaultLocale, h = u(e); h.initializedRelativeTimeFormat = !0; var v = (0, r.L)(t), y = Object.create(null), g = (0, s.U)(n), b = (0, o.u)(g, "localeMatcher", "string", ["best fit", "lookup"], "best fit"); y.localeMatcher = b; var E = (0, o.u)(g, "numberingSystem", "string", void 0, void 0); if (void 0 !== E && !c.test(E)) throw new RangeError("Invalid numbering system " + E); y.nu = E; var D = (0, a.f)(d, v, y, p, f, m), C = D.locale, w = D.nu; (h.locale = C), (h.style = (0, o.u)(g, "style", "string", ["long", "narrow", "short"], "long")), (h.numeric = (0, o.u)(g, "numeric", "string", ["always", "auto"], "always")); var S = f[D.dataLocale]; return (0, i.kG)(!!S, "Missing locale data for " + D.dataLocale), (h.fields = S), (h.numberFormat = new Intl.NumberFormat(t)), (h.pluralRules = new Intl.PluralRules(t)), (h.numberingSystem = w), e; } }, 44755: (e, t, n) => { "use strict"; n.d(t, { W: () => a }); var r = n(65587), o = n(71089); function a(e, t, n) { for (var a = [], i = 0, s = (0, r.i)(e); i < s.length; i++) { var c = s[i]; if ("literal" === c.type) a.push({ type: "literal", value: c.value }); else { (0, o.kG)("0" === c.type, "Malformed pattern " + e); for (var l = 0, u = n; l < u.length; l++) { var d = u[l]; a.push({ type: d.type, value: d.value, unit: t }); } } } return a; } }, 84112: (e, t, n) => { "use strict"; n.d(t, { J: () => s }); var r = n(71089), o = n(6777), a = n(44755), i = n(39514); function s(e, t, n, s) { var c = s.getInternalSlots; if (((0, r.kG)("Number" === (0, i.Dy)(t), "value must be number, instead got " + typeof t, TypeError), (0, r.kG)("String" === (0, i.Dy)(n), "unit must be number, instead got " + typeof t, TypeError), isNaN(t) || !isFinite(t))) throw new RangeError("Invalid value " + t); var l = (0, o.Y)(n), u = c(e), d = u.fields, p = u.style, f = u.numeric, m = u.pluralRules, h = u.numberFormat, v = l; "short" === p ? (v = l + "-short") : "narrow" === p && (v = l + "-narrow"), v in d || (v = l); var y = d[v]; if ("auto" === f && (0, i.Ml)(t) in y) return [{ type: "literal", value: y[(0, i.Ml)(t)] }]; var g = "future"; ((0, i.QP)(t, -0) || t < 0) && (g = "past"); var b = y[g], E = "function" == typeof h.formatToParts ? h.formatToParts(Math.abs(t)) : [{ type: "literal", value: h.format(Math.abs(t)), unit: n }], D = b[m.select(t)]; return (0, a.W)(D, l, E); } }, 6777: (e, t, n) => { "use strict"; n.d(t, { Y: () => a }); var r = n(71089), o = n(39514); function a(e) { if (((0, r.kG)("String" === (0, o.Dy)(e), "unit must be a string"), "seconds" === e)) return "second"; if ("minutes" === e) return "minute"; if ("hours" === e) return "hour"; if ("days" === e) return "day"; if ("weeks" === e) return "week"; if ("months" === e) return "month"; if ("quarters" === e) return "quarter"; if ("years" === e) return "year"; if ("second" !== e && "minute" !== e && "hour" !== e && "day" !== e && "week" !== e && "month" !== e && "quarter" !== e && "year" !== e) throw new RangeError("invalid unit"); return e; } }, 42184: (e, t, n) => { "use strict"; n.d(t, { f: () => i }); var r = n(71089), o = n(33305); function a(e, t) { (0, r.kG)(2 === t.length, "key must have 2 elements"); var n = e.length, o = "-" + t + "-", a = e.indexOf(o); if (-1 !== a) { for (var i = a + 4, s = i, c = i, l = !1; !l; ) { var u = e.indexOf("-", c); 2 == (-1 === u ? n - c : u - c) ? (l = !0) : -1 === u ? ((s = n), (l = !0)) : ((s = u), (c = u + 1)); } return e.slice(i, s); } if (((o = "-" + t), -1 !== (a = e.indexOf(o)) && a + 3 === n)) return ""; } function i(e, t, n, i, s, c) { var l; l = "lookup" === n.localeMatcher ? (function (e, t, n) { for (var a = { locale: "" }, i = 0, s = t; i < s.length; i++) { var c = s[i], l = c.replace(r.pk, ""), u = (0, o.t)(e, l); if (u) return (a.locale = u), c !== l && (a.extension = c.slice(l.length + 1, c.length)), a; } return (a.locale = n()), a; })(e, t, c) : (function (e, t, n) { var a, i = {}, s = new Set(); e.forEach(function (e) { var t = new Intl.Locale(e).minimize().toString(); (i[t] = e), s.add(t); }); for (var c = 0, l = t; c < l.length; c++) { var u = l[c]; if (a) break; var d = u.replace(r.pk, ""); if (e.has(d)) { a = d; break; } if (s.has(d)) { a = i[d]; break; } var p = new Intl.Locale(d), f = p.maximize().toString(), m = p.minimize().toString(); if (s.has(m)) { a = i[m]; break; } a = (0, o.t)(s, f); } return { locale: a || n() }; })(e, t, c); for (var u = l.locale, d = { locale: "", dataLocale: u }, p = "-u", f = 0, m = i; f < m.length; f++) { var h = m[f]; (0, r.kG)(u in s, "Missing locale data for " + u); var v = s[u]; (0, r.kG)("object" == typeof v && null !== v, "locale data " + h + " must be an object"); var y = v[h]; (0, r.kG)(Array.isArray(y), "keyLocaleData for " + h + " must be an array"); var g = y[0]; (0, r.kG)("string" == typeof g || null === g, "value must be string or null but got " + typeof g + " in key " + h); var b = ""; if (l.extension) { var E = a(l.extension, h); void 0 !== E && ("" !== E ? ~y.indexOf(E) && (b = "-" + h + "-" + (g = E)) : ~E.indexOf("true") && ((g = "true"), (b = "-" + h))); } if (h in n) { var D = n[h]; (0, r.kG)("string" == typeof D || null == D, "optionsValue must be String, Undefined or Null"), ~y.indexOf(D) && D !== g && ((g = D), (b = "")); } (d[h] = g), (p += b); } if (p.length > 2) { var C = u.indexOf("-x-"); if (-1 === C) u += p; else { var w = u.slice(0, C), S = u.slice(C, u.length); u = w + p + S; } u = Intl.getCanonicalLocales(u)[0]; } return (d.locale = u), d; } }, 1657: (e, t, n) => { "use strict"; n.d(t, { Q: () => s }); var r = n(39514), o = n(8831), a = n(71089), i = n(33305); function s(e, t, n) { return ( void 0 !== n && ((n = (0, r.TA)(n)), (0, o.u)(n, "localeMatcher", "string", ["lookup", "best fit"], "best fit")), (function (e, t) { for (var n = [], r = 0, o = t; r < o.length; r++) { var s = o[r].replace(a.pk, ""), c = (0, i.t)(e, s); c && n.push(c); } return n; })(e, t) ); } }, 581: (e, t, n) => { "use strict"; n.d(t, { N: () => a }); var r, o = n(13795); function a(e) { return "MISSING_LOCALE_DATA" === e.type; } (r = Error), (0, o.__extends)(function () { var e = (null !== r && r.apply(this, arguments)) || this; return (e.type = "MISSING_LOCALE_DATA"), e; }, r); }, 50044: (e, t, n) => { "use strict"; n.r(t), n.d(t, { ArrayCreate: () => ae.U6, BasicFormatMatcher: () => s.k, BestFitFormatMatcher: () => r.S, CanonicalCodeForDisplayNames: () => v.A, CanonicalizeLocaleList: () => o.L, CanonicalizeTimeZoneName: () => a.a, CoerceOptionsToObject: () => i.U, ComputeExponent: () => S.V, ComputeExponentForMagnitude: () => A.b, CurrencyDigits: () => k.T, DATE_TIME_PROPS: () => J.ll, DateFromTime: () => ae.XB, DateTimeStyleFormat: () => c.R, Day: () => ae.Jc, DayFromYear: () => ae.gL, DayWithinYear: () => ae.oD, DaysInYear: () => ae.My, FormatDateTime: () => l.J, FormatDateTimeRange: () => u.a, FormatDateTimeRangeToParts: () => d.P, FormatDateTimeToParts: () => p.Z, FormatNumericToParts: () => _.M, FormatNumericToString: () => T.E, FormatRelativeTime: () => B.e, FormatRelativeTimeToParts: () => Z.p, GetNumberOption: () => y._, GetOperands: () => M.F, GetOption: () => g.u, GetOptionsObject: () => b.F, HasOwnProperty: () => ae.uY, HourFromTime: () => ae.Zq, InLeapYear: () => ae.$i, InitializeDateTimeFormat: () => f.h, InitializeNumberFormat: () => I.o, InitializePluralRules: () => P.q, InitializeRelativeTimeFormat: () => U.Q, IsSanctionedSimpleUnitIdentifier: () => E.UQ, IsValidTimeZoneName: () => D.s, IsWellFormedCurrencyCode: () => C.K, IsWellFormedUnitIdentifier: () => w.L, MakePartsList: () => z.W, MinFromTime: () => ae.py, MonthFromTime: () => ae.J1, OrdinaryHasInstance: () => ae.R2, PartitionDateTimePattern: () => m.b, PartitionNumberPattern: () => O.I, PartitionPattern: () => L.i, PartitionRelativeTimePattern: () => V.J, RangePatternType: () => ee._, ResolveLocale: () => G.f, ResolvePlural: () => j.j, SANCTIONED_UNITS: () => E.Js, SIMPLE_UNITS: () => E.oO, SameValue: () => ae.QP, SecFromTime: () => ae.xk, SetNumberFormatDigitOptions: () => F.W, SetNumberFormatUnitOptions: () => x.x, SingularRelativeTimeUnit: () => H.Y, SupportedLocales: () => W.Q, TimeClip: () => ae.XH, TimeFromYear: () => ae.rf, ToDateTimeOptions: () => h.W, ToNumber: () => ae.CU, ToObject: () => ae.TA, ToRawFixed: () => N.W, ToRawPrecision: () => R.w, ToString: () => ae.Ml, Type: () => ae.Dy, WeekDay: () => ae.VR, YearFromTime: () => ae.n7, _formatToParts: () => Q.Z, defineProperty: () => q._x, getInternalSlot: () => q.q, getMagnitude: () => q.Tg, getMultiInternalSlots: () => q.$0, invariant: () => q.kG, isLiteralPart: () => q.eY, isMissingLocaleDataError: () => X.N, msFromTime: () => ae.Vg, parseDateTimeSkeleton: () => Y.TE, removeUnitNamespace: () => E.Hr, setInternalSlot: () => q.LS, setMultiInternalSlots: () => q.e7, }); var r = n(57529), o = n(94855), a = n(11679), i = n(73257), s = n(56900), c = n(4603), l = n(45902), u = n(39366), d = n(45310), p = n(36352), f = n(39504), m = n(87147), h = n(50961), v = n(72011), y = n(79568), g = n(8831), b = n(90160), E = n(67152), D = n(58281), C = n(54595), w = n(98769), S = n(83774), A = n(65821), k = n(2139), _ = n(26724), T = n(10516), I = n(12448), O = n(32536), F = n(64269), x = n(90287), N = n(32452), R = n(78151), L = n(65587), M = n(61232), P = n(25739), j = n(94752), B = n(24830), Z = n(404), U = n(23868), z = n(44755), V = n(84112), H = n(6777), G = n(42184), W = n(1657), Q = n(57715), J = n(82316), Y = n(10015), q = n(71089), X = n(581), K = n(62690), $ = {}; for (const e in K) [ "default", "BestFitFormatMatcher", "_formatToParts", "DATE_TIME_PROPS", "parseDateTimeSkeleton", "getInternalSlot", "getMultiInternalSlots", "isLiteralPart", "setInternalSlot", "setMultiInternalSlots", "getMagnitude", "defineProperty", "isMissingLocaleDataError", "invariant", "CanonicalizeLocaleList", "CanonicalizeTimeZoneName", "CoerceOptionsToObject", "BasicFormatMatcher", "DateTimeStyleFormat", "FormatDateTime", "FormatDateTimeRange", "FormatDateTimeRangeToParts", "FormatDateTimeToParts", "InitializeDateTimeFormat", "PartitionDateTimePattern", "ToDateTimeOptions", "CanonicalCodeForDisplayNames", "GetNumberOption", "GetOption", "GetOptionsObject", "IsSanctionedSimpleUnitIdentifier", "SANCTIONED_UNITS", "SIMPLE_UNITS", "removeUnitNamespace", "IsValidTimeZoneName", "IsWellFormedCurrencyCode", "IsWellFormedUnitIdentifier", "ComputeExponent", "ComputeExponentForMagnitude", "CurrencyDigits", "FormatNumericToParts", "FormatNumericToString", "InitializeNumberFormat", "PartitionNumberPattern", "SetNumberFormatDigitOptions", "SetNumberFormatUnitOptions", "ToRawFixed", "ToRawPrecision", "PartitionPattern", "GetOperands", "InitializePluralRules", "ResolvePlural", "FormatRelativeTime", "FormatRelativeTimeToParts", "InitializeRelativeTimeFormat", "MakePartsList", "PartitionRelativeTimePattern", "SingularRelativeTimeUnit", "ResolveLocale", "SupportedLocales", ].indexOf(e) < 0 && ($[e] = () => K[e]); n.d(t, $); var ee = n(30180), te = n(81812); $ = {}; for (const e in te) [ "default", "BestFitFormatMatcher", "_formatToParts", "DATE_TIME_PROPS", "parseDateTimeSkeleton", "getInternalSlot", "getMultiInternalSlots", "isLiteralPart", "setInternalSlot", "setMultiInternalSlots", "getMagnitude", "defineProperty", "isMissingLocaleDataError", "invariant", "CanonicalizeLocaleList", "CanonicalizeTimeZoneName", "CoerceOptionsToObject", "BasicFormatMatcher", "DateTimeStyleFormat", "FormatDateTime", "FormatDateTimeRange", "FormatDateTimeRangeToParts", "FormatDateTimeToParts", "InitializeDateTimeFormat", "PartitionDateTimePattern", "ToDateTimeOptions", "CanonicalCodeForDisplayNames", "GetNumberOption", "GetOption", "GetOptionsObject", "IsSanctionedSimpleUnitIdentifier", "SANCTIONED_UNITS", "SIMPLE_UNITS", "removeUnitNamespace", "IsValidTimeZoneName", "IsWellFormedCurrencyCode", "IsWellFormedUnitIdentifier", "ComputeExponent", "ComputeExponentForMagnitude", "CurrencyDigits", "FormatNumericToParts", "FormatNumericToString", "InitializeNumberFormat", "PartitionNumberPattern", "SetNumberFormatDigitOptions", "SetNumberFormatUnitOptions", "ToRawFixed", "ToRawPrecision", "PartitionPattern", "GetOperands", "InitializePluralRules", "ResolvePlural", "FormatRelativeTime", "FormatRelativeTimeToParts", "InitializeRelativeTimeFormat", "MakePartsList", "PartitionRelativeTimePattern", "SingularRelativeTimeUnit", "ResolveLocale", "SupportedLocales", "RangePatternType", ].indexOf(e) < 0 && ($[e] = () => te[e]); n.d(t, $); var ne = n(56566); $ = {}; for (const e in ne) [ "default", "BestFitFormatMatcher", "_formatToParts", "DATE_TIME_PROPS", "parseDateTimeSkeleton", "getInternalSlot", "getMultiInternalSlots", "isLiteralPart", "setInternalSlot", "setMultiInternalSlots", "getMagnitude", "defineProperty", "isMissingLocaleDataError", "invariant", "CanonicalizeLocaleList", "CanonicalizeTimeZoneName", "CoerceOptionsToObject", "BasicFormatMatcher", "DateTimeStyleFormat", "FormatDateTime", "FormatDateTimeRange", "FormatDateTimeRangeToParts", "FormatDateTimeToParts", "InitializeDateTimeFormat", "PartitionDateTimePattern", "ToDateTimeOptions", "CanonicalCodeForDisplayNames", "GetNumberOption", "GetOption", "GetOptionsObject", "IsSanctionedSimpleUnitIdentifier", "SANCTIONED_UNITS", "SIMPLE_UNITS", "removeUnitNamespace", "IsValidTimeZoneName", "IsWellFormedCurrencyCode", "IsWellFormedUnitIdentifier", "ComputeExponent", "ComputeExponentForMagnitude", "CurrencyDigits", "FormatNumericToParts", "FormatNumericToString", "InitializeNumberFormat", "PartitionNumberPattern", "SetNumberFormatDigitOptions", "SetNumberFormatUnitOptions", "ToRawFixed", "ToRawPrecision", "PartitionPattern", "GetOperands", "InitializePluralRules", "ResolvePlural", "FormatRelativeTime", "FormatRelativeTimeToParts", "InitializeRelativeTimeFormat", "MakePartsList", "PartitionRelativeTimePattern", "SingularRelativeTimeUnit", "ResolveLocale", "SupportedLocales", "RangePatternType", ].indexOf(e) < 0 && ($[e] = () => ne[e]); n.d(t, $); var re = n(13540); $ = {}; for (const e in re) [ "default", "BestFitFormatMatcher", "_formatToParts", "DATE_TIME_PROPS", "parseDateTimeSkeleton", "getInternalSlot", "getMultiInternalSlots", "isLiteralPart", "setInternalSlot", "setMultiInternalSlots", "getMagnitude", "defineProperty", "isMissingLocaleDataError", "invariant", "CanonicalizeLocaleList", "CanonicalizeTimeZoneName", "CoerceOptionsToObject", "BasicFormatMatcher", "DateTimeStyleFormat", "FormatDateTime", "FormatDateTimeRange", "FormatDateTimeRangeToParts", "FormatDateTimeToParts", "InitializeDateTimeFormat", "PartitionDateTimePattern", "ToDateTimeOptions", "CanonicalCodeForDisplayNames", "GetNumberOption", "GetOption", "GetOptionsObject", "IsSanctionedSimpleUnitIdentifier", "SANCTIONED_UNITS", "SIMPLE_UNITS", "removeUnitNamespace", "IsValidTimeZoneName", "IsWellFormedCurrencyCode", "IsWellFormedUnitIdentifier", "ComputeExponent", "ComputeExponentForMagnitude", "CurrencyDigits", "FormatNumericToParts", "FormatNumericToString", "InitializeNumberFormat", "PartitionNumberPattern", "SetNumberFormatDigitOptions", "SetNumberFormatUnitOptions", "ToRawFixed", "ToRawPrecision", "PartitionPattern", "GetOperands", "InitializePluralRules", "ResolvePlural", "FormatRelativeTime", "FormatRelativeTimeToParts", "InitializeRelativeTimeFormat", "MakePartsList", "PartitionRelativeTimePattern", "SingularRelativeTimeUnit", "ResolveLocale", "SupportedLocales", "RangePatternType", ].indexOf(e) < 0 && ($[e] = () => re[e]); n.d(t, $); var oe = n(61511); $ = {}; for (const e in oe) [ "default", "BestFitFormatMatcher", "_formatToParts", "DATE_TIME_PROPS", "parseDateTimeSkeleton", "getInternalSlot", "getMultiInternalSlots", "isLiteralPart", "setInternalSlot", "setMultiInternalSlots", "getMagnitude", "defineProperty", "isMissingLocaleDataError", "invariant", "CanonicalizeLocaleList", "CanonicalizeTimeZoneName", "CoerceOptionsToObject", "BasicFormatMatcher", "DateTimeStyleFormat", "FormatDateTime", "FormatDateTimeRange", "FormatDateTimeRangeToParts", "FormatDateTimeToParts", "InitializeDateTimeFormat", "PartitionDateTimePattern", "ToDateTimeOptions", "CanonicalCodeForDisplayNames", "GetNumberOption", "GetOption", "GetOptionsObject", "IsSanctionedSimpleUnitIdentifier", "SANCTIONED_UNITS", "SIMPLE_UNITS", "removeUnitNamespace", "IsValidTimeZoneName", "IsWellFormedCurrencyCode", "IsWellFormedUnitIdentifier", "ComputeExponent", "ComputeExponentForMagnitude", "CurrencyDigits", "FormatNumericToParts", "FormatNumericToString", "InitializeNumberFormat", "PartitionNumberPattern", "SetNumberFormatDigitOptions", "SetNumberFormatUnitOptions", "ToRawFixed", "ToRawPrecision", "PartitionPattern", "GetOperands", "InitializePluralRules", "ResolvePlural", "FormatRelativeTime", "FormatRelativeTimeToParts", "InitializeRelativeTimeFormat", "MakePartsList", "PartitionRelativeTimePattern", "SingularRelativeTimeUnit", "ResolveLocale", "SupportedLocales", "RangePatternType", ].indexOf(e) < 0 && ($[e] = () => oe[e]); n.d(t, $); var ae = n(39514); }, 30180: (e, t, n) => { "use strict"; var r; n.d(t, { _: () => r }), (function (e) { (e.startRange = "startRange"), (e.shared = "shared"), (e.endRange = "endRange"); })(r || (r = {})); }, 61511: () => {}, 81812: () => {}, 13540: () => {}, 56566: () => {}, 62690: () => {}, 71089: (e, t, n) => { "use strict"; function r(e) { return Math.floor(Math.log(e) * Math.LOG10E); } function o(e, t) { if ("function" == typeof e.repeat) return e.repeat(t); for (var n = new Array(t), r = 0; r < n.length; r++) n[r] = e; return n.join(""); } function a(e, t, n, r) { e.get(t) || e.set(t, Object.create(null)), (e.get(t)[n] = r); } function i(e, t, n) { for (var r = 0, o = Object.keys(n); r < o.length; r++) { var i = o[r]; a(e, t, i, n[i]); } } function s(e, t, n) { return c(e, t, n)[n]; } function c(e, t) { for (var n = [], r = 2; r < arguments.length; r++) n[r - 2] = arguments[r]; var o = e.get(t); if (!o) throw new TypeError(t + " InternalSlot has not been initialized"); return n.reduce(function (e, t) { return (e[t] = o[t]), e; }, Object.create(null)); } function l(e) { return "literal" === e.type; } function u(e, t, n) { var r = n.value; Object.defineProperty(e, t, { configurable: !0, enumerable: !1, writable: !0, value: r }); } n.d(t, { $0: () => c, LS: () => a, Tg: () => r, _x: () => u, e7: () => i, eY: () => l, kG: () => p, pk: () => d, q: () => s, rx: () => o }); var d = /-u(?:-[0-9a-z]{2,8})+/gi; function p(e, t, n) { if ((void 0 === n && (n = Error), !e)) throw new n(t); } }, 14211: (e, t, n) => { "use strict"; var r = n(13795).__importDefault(n(62553)); n(56429).shouldPolyfill() && Object.defineProperty(Intl, "RelativeTimeFormat", { value: r.default, writable: !0, enumerable: !1, configurable: !0 }); }, 56429: (e, t) => { "use strict"; Object.defineProperty(t, "__esModule", { value: !0 }), (t.shouldPolyfill = void 0), (t.shouldPolyfill = function () { return "undefined" == typeof Intl || !("RelativeTimeFormat" in Intl); }); }, 56160: (e, t, n) => { "use strict"; n.d(t, { $6: () => d, OV: () => s, Qe: () => l, Rw: () => a, X9: () => u, bc: () => r, gb: () => c, wI: () => i }); var r, o = n(13795); !(function (e) { (e.FORMAT_ERROR = "FORMAT_ERROR"), (e.UNSUPPORTED_FORMATTER = "UNSUPPORTED_FORMATTER"), (e.INVALID_CONFIG = "INVALID_CONFIG"), (e.MISSING_DATA = "MISSING_DATA"), (e.MISSING_TRANSLATION = "MISSING_TRANSLATION"); })(r || (r = {})); var a = (function (e) { function t(n, r, o) { var a = this, i = o ? (o instanceof Error ? o : new Error(String(o))) : void 0; return ( ((a = e.call( this, "[@formatjs/intl Error " .concat(n, "] ") .concat(r, " \n") .concat(i ? "\n".concat(i.message, "\n").concat(i.stack) : "") ) || this).code = n), "function" == typeof Error.captureStackTrace && Error.captureStackTrace(a, t), a ); } return (0, o.__extends)(t, e), t; })(Error), i = (function (e) { function t(t, n) { return e.call(this, r.UNSUPPORTED_FORMATTER, t, n) || this; } return (0, o.__extends)(t, e), t; })(a), s = (function (e) { function t(t, n) { return e.call(this, r.INVALID_CONFIG, t, n) || this; } return (0, o.__extends)(t, e), t; })(a), c = (function (e) { function t(t, n) { return e.call(this, r.MISSING_DATA, t, n) || this; } return (0, o.__extends)(t, e), t; })(a), l = (function (e) { function t(t, n, o) { return e.call(this, r.FORMAT_ERROR, "".concat(t, " \nLocale: ").concat(n, "\n"), o) || this; } return (0, o.__extends)(t, e), t; })(a), u = (function (e) { function t(t, n, r, o) { var a = e.call( this, "" .concat(t, " \nMessageID: ") .concat(null == r ? void 0 : r.id, "\nDefault Message: ") .concat(null == r ? void 0 : r.defaultMessage, "\nDescription: ") .concat(null == r ? void 0 : r.description, " \n"), n, o ) || this; return (a.descriptor = r), a; } return (0, o.__extends)(t, e), t; })(l), d = (function (e) { function t(t, n) { var o = e.call( this, r.MISSING_TRANSLATION, 'Missing message: "' .concat(t.id, '" for locale "') .concat(n, '", using ') .concat(t.defaultMessage ? "default message" : "id", " as fallback.") ) || this; return (o.descriptor = t), o; } return (0, o.__extends)(t, e), t; })(a); }, 956: (e, t, n) => { "use strict"; n.d(t, { L6: () => s, Sn: () => l, TB: () => p, Z0: () => c, ax: () => d }); var r = n(13795), o = n(85767), a = n(17618), i = n(56160); function s(e, t, n) { return ( void 0 === n && (n = {}), t.reduce(function (t, r) { return r in e ? (t[r] = e[r]) : r in n && (t[r] = n[r]), t; }, {}) ); } var c = { formats: {}, messages: {}, timeZone: void 0, defaultLocale: "en", defaultFormats: {}, fallbackOnEmptyString: !0, onError: function (e) {}, onWarn: function (e) {} }; function l() { return { dateTime: {}, number: {}, message: {}, relativeTime: {}, pluralRules: {}, list: {}, displayNames: {} }; } function u(e) { return { create: function () { return { get: function (t) { return e[t]; }, set: function (t, n) { e[t] = n; }, }; }, }; } function d(e) { void 0 === e && (e = { dateTime: {}, number: {}, message: {}, relativeTime: {}, pluralRules: {}, list: {}, displayNames: {} }); var t = Intl.RelativeTimeFormat, n = Intl.ListFormat, i = Intl.DisplayNames, s = (0, a.Z)( function () { for (var e, t = [], n = 0; n < arguments.length; n++) t[n] = arguments[n]; return new ((e = Intl.DateTimeFormat).bind.apply(e, (0, r.__spreadArray)([void 0], t, !1)))(); }, { cache: u(e.dateTime), strategy: a.A.variadic } ), c = (0, a.Z)( function () { for (var e, t = [], n = 0; n < arguments.length; n++) t[n] = arguments[n]; return new ((e = Intl.NumberFormat).bind.apply(e, (0, r.__spreadArray)([void 0], t, !1)))(); }, { cache: u(e.number), strategy: a.A.variadic } ), l = (0, a.Z)( function () { for (var e, t = [], n = 0; n < arguments.length; n++) t[n] = arguments[n]; return new ((e = Intl.PluralRules).bind.apply(e, (0, r.__spreadArray)([void 0], t, !1)))(); }, { cache: u(e.pluralRules), strategy: a.A.variadic } ); return { getDateTimeFormat: s, getNumberFormat: c, getMessageFormat: (0, a.Z)( function (e, t, n, a) { return new o.C(e, t, n, (0, r.__assign)({ formatters: { getNumberFormat: c, getDateTimeFormat: s, getPluralRules: l } }, a || {})); }, { cache: u(e.message), strategy: a.A.variadic } ), getRelativeTimeFormat: (0, a.Z)( function () { for (var e = [], n = 0; n < arguments.length; n++) e[n] = arguments[n]; return new (t.bind.apply(t, (0, r.__spreadArray)([void 0], e, !1)))(); }, { cache: u(e.relativeTime), strategy: a.A.variadic } ), getPluralRules: l, getListFormat: (0, a.Z)( function () { for (var e = [], t = 0; t < arguments.length; t++) e[t] = arguments[t]; return new (n.bind.apply(n, (0, r.__spreadArray)([void 0], e, !1)))(); }, { cache: u(e.list), strategy: a.A.variadic } ), getDisplayNames: (0, a.Z)( function () { for (var e = [], t = 0; t < arguments.length; t++) e[t] = arguments[t]; return new (i.bind.apply(i, (0, r.__spreadArray)([void 0], e, !1)))(); }, { cache: u(e.displayNames), strategy: a.A.variadic } ), }; } function p(e, t, n, r) { var o, a = e && e[t]; if ((a && (o = a[n]), o)) return o; r(new i.wI("No ".concat(t, " format named: ").concat(n))); } }, 50828: (e, t, n) => { e.exports = n(31178); }, 13544: (e, t, n) => { "use strict"; var r = n(44952), o = n(89083), a = n(77491), i = n(82470), s = n(26423), c = n(17462), l = n(943), u = n(89750), d = n(87597), p = n(17488); e.exports = function (e) { return new Promise(function (t, n) { var f, m = e.data, h = e.headers, v = e.responseType; function y() { e.cancelToken && e.cancelToken.unsubscribe(f), e.signal && e.signal.removeEventListener("abort", f); } r.isFormData(m) && delete h["Content-Type"]; var g = new XMLHttpRequest(); if (e.auth) { var b = e.auth.username || "", E = e.auth.password ? unescape(encodeURIComponent(e.auth.password)) : ""; h.Authorization = "Basic " + btoa(b + ":" + E); } var D = s(e.baseURL, e.url); function C() { if (g) { var r = "getAllResponseHeaders" in g ? c(g.getAllResponseHeaders()) : null, a = { data: v && "text" !== v && "json" !== v ? g.response : g.responseText, status: g.status, statusText: g.statusText, headers: r, config: e, request: g }; o( function (e) { t(e), y(); }, function (e) { n(e), y(); }, a ), (g = null); } } if ( (g.open(e.method.toUpperCase(), i(D, e.params, e.paramsSerializer), !0), (g.timeout = e.timeout), "onloadend" in g ? (g.onloadend = C) : (g.onreadystatechange = function () { g && 4 === g.readyState && (0 !== g.status || (g.responseURL && 0 === g.responseURL.indexOf("file:"))) && setTimeout(C); }), (g.onabort = function () { g && (n(u("Request aborted", e, "ECONNABORTED", g)), (g = null)); }), (g.onerror = function () { n(u("Network Error", e, null, g)), (g = null); }), (g.ontimeout = function () { var t = e.timeout ? "timeout of " + e.timeout + "ms exceeded" : "timeout exceeded", r = e.transitional || d; e.timeoutErrorMessage && (t = e.timeoutErrorMessage), n(u(t, e, r.clarifyTimeoutError ? "ETIMEDOUT" : "ECONNABORTED", g)), (g = null); }), r.isStandardBrowserEnv()) ) { var w = (e.withCredentials || l(D)) && e.xsrfCookieName ? a.read(e.xsrfCookieName) : void 0; w && (h[e.xsrfHeaderName] = w); } "setRequestHeader" in g && r.forEach(h, function (e, t) { void 0 === m && "content-type" === t.toLowerCase() ? delete h[t] : g.setRequestHeader(t, e); }), r.isUndefined(e.withCredentials) || (g.withCredentials = !!e.withCredentials), v && "json" !== v && (g.responseType = e.responseType), "function" == typeof e.onDownloadProgress && g.addEventListener("progress", e.onDownloadProgress), "function" == typeof e.onUploadProgress && g.upload && g.upload.addEventListener("progress", e.onUploadProgress), (e.cancelToken || e.signal) && ((f = function (e) { g && (n(!e || (e && e.type) ? new p("canceled") : e), g.abort(), (g = null)); }), e.cancelToken && e.cancelToken.subscribe(f), e.signal && (e.signal.aborted ? f() : e.signal.addEventListener("abort", f))), m || (m = null), g.send(m); }); }; }, 31178: (e, t, n) => { "use strict"; var r = n(44952), o = n(44893), a = n(835), i = n(52226), s = (function e(t) { var n = new a(t), s = o(a.prototype.request, n); return ( r.extend(s, a.prototype, n), r.extend(s, n), (s.create = function (n) { return e(i(t, n)); }), s ); })(n(4576)); (s.Axios = a), (s.Cancel = n(17488)), (s.CancelToken = n(99167)), (s.isCancel = n(11707)), (s.VERSION = n(50120).version), (s.all = function (e) { return Promise.all(e); }), (s.spread = n(17885)), (s.isAxiosError = n(34319)), (e.exports = s), (e.exports.default = s); }, 17488: (e) => { "use strict"; function t(e) { this.message = e; } (t.prototype.toString = function () { return "Cancel" + (this.message ? ": " + this.message : ""); }), (t.prototype.__CANCEL__ = !0), (e.exports = t); }, 99167: (e, t, n) => { "use strict"; var r = n(17488); function o(e) { if ("function" != typeof e) throw new TypeError("executor must be a function."); var t; this.promise = new Promise(function (e) { t = e; }); var n = this; this.promise.then(function (e) { if (n._listeners) { var t, r = n._listeners.length; for (t = 0; t < r; t++) n._listeners[t](e); n._listeners = null; } }), (this.promise.then = function (e) { var t, r = new Promise(function (e) { n.subscribe(e), (t = e); }).then(e); return ( (r.cancel = function () { n.unsubscribe(t); }), r ); }), e(function (e) { n.reason || ((n.reason = new r(e)), t(n.reason)); }); } (o.prototype.throwIfRequested = function () { if (this.reason) throw this.reason; }), (o.prototype.subscribe = function (e) { this.reason ? e(this.reason) : this._listeners ? this._listeners.push(e) : (this._listeners = [e]); }), (o.prototype.unsubscribe = function (e) { if (this._listeners) { var t = this._listeners.indexOf(e); -1 !== t && this._listeners.splice(t, 1); } }), (o.source = function () { var e; return { token: new o(function (t) { e = t; }), cancel: e, }; }), (e.exports = o); }, 11707: (e) => { "use strict"; e.exports = function (e) { return !(!e || !e.__CANCEL__); }; }, 835: (e, t, n) => { "use strict"; var r = n(44952), o = n(82470), a = n(74538), i = n(22058), s = n(52226), c = n(72298), l = c.validators; function u(e) { (this.defaults = e), (this.interceptors = { request: new a(), response: new a() }); } (u.prototype.request = function (e, t) { "string" == typeof e ? ((t = t || {}).url = e) : (t = e || {}), (t = s(this.defaults, t)).method ? (t.method = t.method.toLowerCase()) : this.defaults.method ? (t.method = this.defaults.method.toLowerCase()) : (t.method = "get"); var n = t.transitional; void 0 !== n && c.assertOptions(n, { silentJSONParsing: l.transitional(l.boolean), forcedJSONParsing: l.transitional(l.boolean), clarifyTimeoutError: l.transitional(l.boolean) }, !1); var r = [], o = !0; this.interceptors.request.forEach(function (e) { ("function" == typeof e.runWhen && !1 === e.runWhen(t)) || ((o = o && e.synchronous), r.unshift(e.fulfilled, e.rejected)); }); var a, u = []; if ( (this.interceptors.response.forEach(function (e) { u.push(e.fulfilled, e.rejected); }), !o) ) { var d = [i, void 0]; for (Array.prototype.unshift.apply(d, r), d = d.concat(u), a = Promise.resolve(t); d.length; ) a = a.then(d.shift(), d.shift()); return a; } for (var p = t; r.length; ) { var f = r.shift(), m = r.shift(); try { p = f(p); } catch (e) { m(e); break; } } try { a = i(p); } catch (e) { return Promise.reject(e); } for (; u.length; ) a = a.then(u.shift(), u.shift()); return a; }), (u.prototype.getUri = function (e) { return (e = s(this.defaults, e)), o(e.url, e.params, e.paramsSerializer).replace(/^\?/, ""); }), r.forEach(["delete", "get", "head", "options"], function (e) { u.prototype[e] = function (t, n) { return this.request(s(n || {}, { method: e, url: t, data: (n || {}).data })); }; }), r.forEach(["post", "put", "patch"], function (e) { u.prototype[e] = function (t, n, r) { return this.request(s(r || {}, { method: e, url: t, data: n })); }; }), (e.exports = u); }, 74538: (e, t, n) => { "use strict"; var r = n(44952); function o() { this.handlers = []; } (o.prototype.use = function (e, t, n) { return this.handlers.push({ fulfilled: e, rejected: t, synchronous: !!n && n.synchronous, runWhen: n ? n.runWhen : null }), this.handlers.length - 1; }), (o.prototype.eject = function (e) { this.handlers[e] && (this.handlers[e] = null); }), (o.prototype.forEach = function (e) { r.forEach(this.handlers, function (t) { null !== t && e(t); }); }), (e.exports = o); }, 26423: (e, t, n) => { "use strict"; var r = n(57451), o = n(99310); e.exports = function (e, t) { return e && !r(t) ? o(e, t) : t; }; }, 89750: (e, t, n) => { "use strict"; var r = n(65194); e.exports = function (e, t, n, o, a) { var i = new Error(e); return r(i, t, n, o, a); }; }, 22058: (e, t, n) => { "use strict"; var r = n(44952), o = n(69837), a = n(11707), i = n(4576), s = n(17488); function c(e) { if ((e.cancelToken && e.cancelToken.throwIfRequested(), e.signal && e.signal.aborted)) throw new s("canceled"); } e.exports = function (e) { return ( c(e), (e.headers = e.headers || {}), (e.data = o.call(e, e.data, e.headers, e.transformRequest)), (e.headers = r.merge(e.headers.common || {}, e.headers[e.method] || {}, e.headers)), r.forEach(["delete", "get", "head", "post", "put", "patch", "common"], function (t) { delete e.headers[t]; }), (e.adapter || i.adapter)(e).then( function (t) { return c(e), (t.data = o.call(e, t.data, t.headers, e.transformResponse)), t; }, function (t) { return a(t) || (c(e), t && t.response && (t.response.data = o.call(e, t.response.data, t.response.headers, e.transformResponse))), Promise.reject(t); } ) ); }; }, 65194: (e) => { "use strict"; e.exports = function (e, t, n, r, o) { return ( (e.config = t), n && (e.code = n), (e.request = r), (e.response = o), (e.isAxiosError = !0), (e.toJSON = function () { return { message: this.message, name: this.name, description: this.description, number: this.number, fileName: this.fileName, lineNumber: this.lineNumber, columnNumber: this.columnNumber, stack: this.stack, config: this.config, code: this.code, status: this.response && this.response.status ? this.response.status : null, }; }), e ); }; }, 52226: (e, t, n) => { "use strict"; var r = n(44952); e.exports = function (e, t) { t = t || {}; var n = {}; function o(e, t) { return r.isPlainObject(e) && r.isPlainObject(t) ? r.merge(e, t) : r.isPlainObject(t) ? r.merge({}, t) : r.isArray(t) ? t.slice() : t; } function a(n) { return r.isUndefined(t[n]) ? (r.isUndefined(e[n]) ? void 0 : o(void 0, e[n])) : o(e[n], t[n]); } function i(e) { if (!r.isUndefined(t[e])) return o(void 0, t[e]); } function s(n) { return r.isUndefined(t[n]) ? (r.isUndefined(e[n]) ? void 0 : o(void 0, e[n])) : o(void 0, t[n]); } function c(n) { return n in t ? o(e[n], t[n]) : n in e ? o(void 0, e[n]) : void 0; } var l = { url: i, method: i, data: i, baseURL: s, transformRequest: s, transformResponse: s, paramsSerializer: s, timeout: s, timeoutMessage: s, withCredentials: s, adapter: s, responseType: s, xsrfCookieName: s, xsrfHeaderName: s, onUploadProgress: s, onDownloadProgress: s, decompress: s, maxContentLength: s, maxBodyLength: s, transport: s, httpAgent: s, httpsAgent: s, cancelToken: s, socketPath: s, responseEncoding: s, validateStatus: c, }; return ( r.forEach(Object.keys(e).concat(Object.keys(t)), function (e) { var t = l[e] || a, o = t(e); (r.isUndefined(o) && t !== c) || (n[e] = o); }), n ); }; }, 89083: (e, t, n) => { "use strict"; var r = n(89750); e.exports = function (e, t, n) { var o = n.config.validateStatus; n.status && o && !o(n.status) ? t(r("Request failed with status code " + n.status, n.config, null, n.request, n)) : e(n); }; }, 69837: (e, t, n) => { "use strict"; var r = n(44952), o = n(4576); e.exports = function (e, t, n) { var a = this || o; return ( r.forEach(n, function (n) { e = n.call(a, e, t); }), e ); }; }, 4576: (e, t, n) => { "use strict"; var r = n(44952), o = n(54218), a = n(65194), i = n(87597), s = { "Content-Type": "application/x-www-form-urlencoded" }; function c(e, t) { !r.isUndefined(e) && r.isUndefined(e["Content-Type"]) && (e["Content-Type"] = t); } var l, u = { transitional: i, adapter: (("undefined" != typeof XMLHttpRequest || ("undefined" != typeof process && "[object process]" === Object.prototype.toString.call(process))) && (l = n(13544)), l), transformRequest: [ function (e, t) { return ( o(t, "Accept"), o(t, "Content-Type"), r.isFormData(e) || r.isArrayBuffer(e) || r.isBuffer(e) || r.isStream(e) || r.isFile(e) || r.isBlob(e) ? e : r.isArrayBufferView(e) ? e.buffer : r.isURLSearchParams(e) ? (c(t, "application/x-www-form-urlencoded;charset=utf-8"), e.toString()) : r.isObject(e) || (t && "application/json" === t["Content-Type"]) ? (c(t, "application/json"), (function (e, t, n) { if (r.isString(e)) try { return (0, JSON.parse)(e), r.trim(e); } catch (e) { if ("SyntaxError" !== e.name) throw e; } return (0, JSON.stringify)(e); })(e)) : e ); }, ], transformResponse: [ function (e) { var t = this.transitional || u.transitional, n = t && t.silentJSONParsing, o = t && t.forcedJSONParsing, i = !n && "json" === this.responseType; if (i || (o && r.isString(e) && e.length)) try { return JSON.parse(e); } catch (e) { if (i) { if ("SyntaxError" === e.name) throw a(e, this, "E_JSON_PARSE"); throw e; } } return e; }, ], timeout: 0, xsrfCookieName: "XSRF-TOKEN", xsrfHeaderName: "X-XSRF-TOKEN", maxContentLength: -1, maxBodyLength: -1, validateStatus: function (e) { return e >= 200 && e < 300; }, headers: { common: { Accept: "application/json, text/plain, */*" } }, }; r.forEach(["delete", "get", "head"], function (e) { u.headers[e] = {}; }), r.forEach(["post", "put", "patch"], function (e) { u.headers[e] = r.merge(s); }), (e.exports = u); }, 87597: (e) => { "use strict"; e.exports = { silentJSONParsing: !0, forcedJSONParsing: !0, clarifyTimeoutError: !1 }; }, 50120: (e) => { e.exports = { version: "0.26.1" }; }, 44893: (e) => { "use strict"; e.exports = function (e, t) { return function () { for (var n = new Array(arguments.length), r = 0; r < n.length; r++) n[r] = arguments[r]; return e.apply(t, n); }; }; }, 82470: (e, t, n) => { "use strict"; var r = n(44952); function o(e) { return encodeURIComponent(e).replace(/%3A/gi, ":").replace(/%24/g, "$").replace(/%2C/gi, ",").replace(/%20/g, "+").replace(/%5B/gi, "[").replace(/%5D/gi, "]"); } e.exports = function (e, t, n) { if (!t) return e; var a; if (n) a = n(t); else if (r.isURLSearchParams(t)) a = t.toString(); else { var i = []; r.forEach(t, function (e, t) { null != e && (r.isArray(e) ? (t += "[]") : (e = [e]), r.forEach(e, function (e) { r.isDate(e) ? (e = e.toISOString()) : r.isObject(e) && (e = JSON.stringify(e)), i.push(o(t) + "=" + o(e)); })); }), (a = i.join("&")); } if (a) { var s = e.indexOf("#"); -1 !== s && (e = e.slice(0, s)), (e += (-1 === e.indexOf("?") ? "?" : "&") + a); } return e; }; }, 99310: (e) => { "use strict"; e.exports = function (e, t) { return t ? e.replace(/\/+$/, "") + "/" + t.replace(/^\/+/, "") : e; }; }, 77491: (e, t, n) => { "use strict"; var r = n(44952); e.exports = r.isStandardBrowserEnv() ? { write: function (e, t, n, o, a, i) { var s = []; s.push(e + "=" + encodeURIComponent(t)), r.isNumber(n) && s.push("expires=" + new Date(n).toGMTString()), r.isString(o) && s.push("path=" + o), r.isString(a) && s.push("domain=" + a), !0 === i && s.push("secure"), (document.cookie = s.join("; ")); }, read: function (e) { var t = document.cookie.match(new RegExp("(^|;\\s*)(" + e + ")=([^;]*)")); return t ? decodeURIComponent(t[3]) : null; }, remove: function (e) { this.write(e, "", Date.now() - 864e5); }, } : { write: function () {}, read: function () { return null; }, remove: function () {}, }; }, 57451: (e) => { "use strict"; e.exports = function (e) { return /^([a-z][a-z\d+\-.]*:)?\/\//i.test(e); }; }, 34319: (e, t, n) => { "use strict"; var r = n(44952); e.exports = function (e) { return r.isObject(e) && !0 === e.isAxiosError; }; }, 943: (e, t, n) => { "use strict"; var r = n(44952); e.exports = r.isStandardBrowserEnv() ? (function () { var e, t = /(msie|trident)/i.test(navigator.userAgent), n = document.createElement("a"); function o(e) { var r = e; return ( t && (n.setAttribute("href", r), (r = n.href)), n.setAttribute("href", r), { href: n.href, protocol: n.protocol ? n.protocol.replace(/:$/, "") : "", host: n.host, search: n.search ? n.search.replace(/^\?/, "") : "", hash: n.hash ? n.hash.replace(/^#/, "") : "", hostname: n.hostname, port: n.port, pathname: "/" === n.pathname.charAt(0) ? n.pathname : "/" + n.pathname, } ); } return ( (e = o(window.location.href)), function (t) { var n = r.isString(t) ? o(t) : t; return n.protocol === e.protocol && n.host === e.host; } ); })() : function () { return !0; }; }, 54218: (e, t, n) => { "use strict"; var r = n(44952); e.exports = function (e, t) { r.forEach(e, function (n, r) { r !== t && r.toUpperCase() === t.toUpperCase() && ((e[t] = n), delete e[r]); }); }; }, 17462: (e, t, n) => { "use strict"; var r = n(44952), o = [ "age", "authorization", "content-length", "content-type", "etag", "expires", "from", "host", "if-modified-since", "if-unmodified-since", "last-modified", "location", "max-forwards", "proxy-authorization", "referer", "retry-after", "user-agent", ]; e.exports = function (e) { var t, n, a, i = {}; return e ? (r.forEach(e.split("\n"), function (e) { if (((a = e.indexOf(":")), (t = r.trim(e.substr(0, a)).toLowerCase()), (n = r.trim(e.substr(a + 1))), t)) { if (i[t] && o.indexOf(t) >= 0) return; i[t] = "set-cookie" === t ? (i[t] ? i[t] : []).concat([n]) : i[t] ? i[t] + ", " + n : n; } }), i) : i; }; }, 17885: (e) => { "use strict"; e.exports = function (e) { return function (t) { return e.apply(null, t); }; }; }, 72298: (e, t, n) => { "use strict"; var r = n(50120).version, o = {}; ["object", "boolean", "number", "function", "string", "symbol"].forEach(function (e, t) { o[e] = function (n) { return typeof n === e || "a" + (t < 1 ? "n " : " ") + e; }; }); var a = {}; (o.transitional = function (e, t, n) { function o(e, t) { return "[Axios v" + r + "] Transitional option '" + e + "'" + t + (n ? ". " + n : ""); } return function (n, r, i) { if (!1 === e) throw new Error(o(r, " has been removed" + (t ? " in " + t : ""))); return t && !a[r] && ((a[r] = !0), console.warn(o(r, " has been deprecated since v" + t + " and will be removed in the near future"))), !e || e(n, r, i); }; }), (e.exports = { assertOptions: function (e, t, n) { if ("object" != typeof e) throw new TypeError("options must be an object"); for (var r = Object.keys(e), o = r.length; o-- > 0; ) { var a = r[o], i = t[a]; if (i) { var s = e[a], c = void 0 === s || i(s, a, e); if (!0 !== c) throw new TypeError("option " + a + " must be " + c); } else if (!0 !== n) throw Error("Unknown option " + a); } }, validators: o, }); }, 44952: (e, t, n) => { "use strict"; var r = n(44893), o = Object.prototype.toString; function a(e) { return Array.isArray(e); } function i(e) { return void 0 === e; } function s(e) { return "[object ArrayBuffer]" === o.call(e); } function c(e) { return null !== e && "object" == typeof e; } function l(e) { if ("[object Object]" !== o.call(e)) return !1; var t = Object.getPrototypeOf(e); return null === t || t === Object.prototype; } function u(e) { return "[object Function]" === o.call(e); } function d(e, t) { if (null != e) if (("object" != typeof e && (e = [e]), a(e))) for (var n = 0, r = e.length; n < r; n++) t.call(null, e[n], n, e); else for (var o in e) Object.prototype.hasOwnProperty.call(e, o) && t.call(null, e[o], o, e); } e.exports = { isArray: a, isArrayBuffer: s, isBuffer: function (e) { return null !== e && !i(e) && null !== e.constructor && !i(e.constructor) && "function" == typeof e.constructor.isBuffer && e.constructor.isBuffer(e); }, isFormData: function (e) { return "[object FormData]" === o.call(e); }, isArrayBufferView: function (e) { return "undefined" != typeof ArrayBuffer && ArrayBuffer.isView ? ArrayBuffer.isView(e) : e && e.buffer && s(e.buffer); }, isString: function (e) { return "string" == typeof e; }, isNumber: function (e) { return "number" == typeof e; }, isObject: c, isPlainObject: l, isUndefined: i, isDate: function (e) { return "[object Date]" === o.call(e); }, isFile: function (e) { return "[object File]" === o.call(e); }, isBlob: function (e) { return "[object Blob]" === o.call(e); }, isFunction: u, isStream: function (e) { return c(e) && u(e.pipe); }, isURLSearchParams: function (e) { return "[object URLSearchParams]" === o.call(e); }, isStandardBrowserEnv: function () { return ("undefined" == typeof navigator || ("ReactNative" !== navigator.product && "NativeScript" !== navigator.product && "NS" !== navigator.product)) && "undefined" != typeof window && "undefined" != typeof document; }, forEach: d, merge: function e() { var t = {}; function n(n, r) { l(t[r]) && l(n) ? (t[r] = e(t[r], n)) : l(n) ? (t[r] = e({}, n)) : a(n) ? (t[r] = n.slice()) : (t[r] = n); } for (var r = 0, o = arguments.length; r < o; r++) d(arguments[r], n); return t; }, extend: function (e, t, n) { return ( d(t, function (t, o) { e[o] = n && "function" == typeof t ? r(t, n) : t; }), e ); }, trim: function (e) { return e.trim ? e.trim() : e.replace(/^\s+|\s+$/g, ""); }, stripBOM: function (e) { return 65279 === e.charCodeAt(0) && (e = e.slice(1)), e; }, }; }, 85767: (e, t, n) => { "use strict"; n.d(t, { C: () => c }); var r = n(13795), o = n(11425), a = n(17618), i = n(49154); function s(e) { return { create: function () { return { get: function (t) { return e[t]; }, set: function (t, n) { e[t] = n; }, }; }, }; } var c = (function () { function e(t, n, o, c) { var l, u, d, p = this; if ( (void 0 === n && (n = e.defaultLocale), (this.formatterCache = { number: {}, dateTime: {}, pluralRules: {} }), (this.format = function (e) { var t = p.formatToParts(e); if (1 === t.length) return t[0].value; var n = t.reduce(function (e, t) { return e.length && t.type === i.du.literal && "string" == typeof e[e.length - 1] ? (e[e.length - 1] += t.value) : e.push(t.value), e; }, []); return n.length <= 1 ? n[0] || "" : n; }), (this.formatToParts = function (e) { return (0, i.FK)(p.ast, p.locales, p.formatters, p.formats, e, void 0, p.message); }), (this.resolvedOptions = function () { return { locale: p.resolvedLocale.toString() }; }), (this.getAst = function () { return p.ast; }), (this.locales = n), (this.resolvedLocale = e.resolveLocale(n)), "string" == typeof t) ) { if (((this.message = t), !e.__parse)) throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`"); this.ast = e.__parse(t, { ignoreTag: null == c ? void 0 : c.ignoreTag, locale: this.resolvedLocale }); } else this.ast = t; if (!Array.isArray(this.ast)) throw new TypeError("A message must be provided as a String or AST."); (this.formats = ((u = e.formats), (d = o) ? Object.keys(u).reduce(function (e, t) { var n, o; return ( (e[t] = ((n = u[t]), (o = d[t]) ? (0, r.__assign)( (0, r.__assign)((0, r.__assign)({}, n || {}), o || {}), Object.keys(n).reduce(function (e, t) { return (e[t] = (0, r.__assign)((0, r.__assign)({}, n[t]), o[t] || {})), e; }, {}) ) : n)), e ); }, (0, r.__assign)({}, u)) : u)), (this.formatters = (c && c.formatters) || (void 0 === (l = this.formatterCache) && (l = { number: {}, dateTime: {}, pluralRules: {} }), { getNumberFormat: (0, a.Z)( function () { for (var e, t = [], n = 0; n < arguments.length; n++) t[n] = arguments[n]; return new ((e = Intl.NumberFormat).bind.apply(e, (0, r.__spreadArray)([void 0], t, !1)))(); }, { cache: s(l.number), strategy: a.A.variadic } ), getDateTimeFormat: (0, a.Z)( function () { for (var e, t = [], n = 0; n < arguments.length; n++) t[n] = arguments[n]; return new ((e = Intl.DateTimeFormat).bind.apply(e, (0, r.__spreadArray)([void 0], t, !1)))(); }, { cache: s(l.dateTime), strategy: a.A.variadic } ), getPluralRules: (0, a.Z)( function () { for (var e, t = [], n = 0; n < arguments.length; n++) t[n] = arguments[n]; return new ((e = Intl.PluralRules).bind.apply(e, (0, r.__spreadArray)([void 0], t, !1)))(); }, { cache: s(l.pluralRules), strategy: a.A.variadic } ), })); } return ( Object.defineProperty(e, "defaultLocale", { get: function () { return e.memoizedDefaultLocale || (e.memoizedDefaultLocale = new Intl.NumberFormat().resolvedOptions().locale), e.memoizedDefaultLocale; }, enumerable: !1, configurable: !0, }), (e.memoizedDefaultLocale = null), (e.resolveLocale = function (e) { var t = Intl.NumberFormat.supportedLocalesOf(e); return t.length > 0 ? new Intl.Locale(t[0]) : new Intl.Locale("string" == typeof e ? e : e[0]); }), (e.__parse = o.Qc), (e.formats = { number: { integer: { maximumFractionDigits: 0 }, currency: { style: "currency" }, percent: { style: "percent" } }, date: { short: { month: "numeric", day: "numeric", year: "2-digit" }, medium: { month: "short", day: "numeric", year: "numeric" }, long: { month: "long", day: "numeric", year: "numeric" }, full: { weekday: "long", month: "long", day: "numeric", year: "numeric" }, }, time: { short: { hour: "numeric", minute: "numeric" }, medium: { hour: "numeric", minute: "numeric", second: "numeric" }, long: { hour: "numeric", minute: "numeric", second: "numeric", timeZoneName: "short" }, full: { hour: "numeric", minute: "numeric", second: "numeric", timeZoneName: "short" }, }, }), e ); })(); }, 91842: (e, t, n) => { "use strict"; n.d(t, { C8: () => i, HR: () => c, YR: () => s, jK: () => r, u_: () => a }); var r, o = n(13795); !(function (e) { (e.MISSING_VALUE = "MISSING_VALUE"), (e.INVALID_VALUE = "INVALID_VALUE"), (e.MISSING_INTL_API = "MISSING_INTL_API"); })(r || (r = {})); var a = (function (e) { function t(t, n, r) { var o = e.call(this, t) || this; return (o.code = n), (o.originalMessage = r), o; } return ( (0, o.__extends)(t, e), (t.prototype.toString = function () { return "[formatjs Error: ".concat(this.code, "] ").concat(this.message); }), t ); })(Error), i = (function (e) { function t(t, n, o, a) { return e.call(this, 'Invalid values for "'.concat(t, '": "').concat(n, '". Options are "').concat(Object.keys(o).join('", "'), '"'), r.INVALID_VALUE, a) || this; } return (0, o.__extends)(t, e), t; })(a), s = (function (e) { function t(t, n, o) { return e.call(this, 'Value for "'.concat(t, '" must be of type ').concat(n), r.INVALID_VALUE, o) || this; } return (0, o.__extends)(t, e), t; })(a), c = (function (e) { function t(t, n) { return e.call(this, 'The intl string context variable "'.concat(t, '" was not provided to the string "').concat(n, '"'), r.MISSING_VALUE, n) || this; } return (0, o.__extends)(t, e), t; })(a); }, 49154: (e, t, n) => { "use strict"; n.d(t, { FK: () => s, Gt: () => i, du: () => r }); var r, o = n(11425), a = n(91842); function i(e) { return "function" == typeof e; } function s(e, t, n, c, l, u, d) { if (1 === e.length && (0, o.O4)(e[0])) return [{ type: r.literal, value: e[0].value }]; for (var p = [], f = 0, m = e; f < m.length; f++) { var h = m[f]; if ((0, o.O4)(h)) p.push({ type: r.literal, value: h.value }); else if ((0, o.yx)(h)) "number" == typeof u && p.push({ type: r.literal, value: n.getNumberFormat(t).format(u) }); else { var v = h.value; if (!l || !(v in l)) throw new a.HR(v, d); var y = l[v]; if ((0, o.VG)(h)) (y && "string" != typeof y && "number" != typeof y) || (y = "string" == typeof y || "number" == typeof y ? String(y) : ""), p.push({ type: "string" == typeof y ? r.literal : r.object, value: y }); else if ((0, o.rp)(h)) { var g = "string" == typeof h.style ? c.date[h.style] : (0, o.Ii)(h.style) ? h.style.parsedOptions : void 0; p.push({ type: r.literal, value: n.getDateTimeFormat(t, g).format(y) }); } else if ((0, o.pe)(h)) (g = "string" == typeof h.style ? c.time[h.style] : (0, o.Ii)(h.style) ? h.style.parsedOptions : c.time.medium), p.push({ type: r.literal, value: n.getDateTimeFormat(t, g).format(y) }); else if ((0, o.uf)(h)) (g = "string" == typeof h.style ? c.number[h.style] : (0, o.Wh)(h.style) ? h.style.parsedOptions : void 0) && g.scale && (y *= g.scale || 1), p.push({ type: r.literal, value: n.getNumberFormat(t, g).format(y) }); else { if ((0, o.HI)(h)) { var b = h.children, E = h.value, D = l[E]; if (!i(D)) throw new a.YR(E, "function", d); var C = D( s(b, t, n, c, l, u).map(function (e) { return e.value; }) ); Array.isArray(C) || (C = [C]), p.push.apply( p, C.map(function (e) { return { type: "string" == typeof e ? r.literal : r.object, value: e }; }) ); } if ((0, o.Wi)(h)) { if (!(w = h.options[y] || h.options.other)) throw new a.C8(h.value, y, Object.keys(h.options), d); p.push.apply(p, s(w.value, t, n, c, l)); } else if ((0, o.Jo)(h)) { var w; if (!(w = h.options["=".concat(y)])) { if (!Intl.PluralRules) throw new a.u_('Intl.PluralRules is not available in this environment.\nTry polyfilling it using "@formatjs/intl-pluralrules"\n', a.jK.MISSING_INTL_API, d); var S = n.getPluralRules(t, { type: h.pluralType }).select(y - (h.offset || 0)); w = h.options[S] || h.options.other; } if (!w) throw new a.C8(h.value, y, Object.keys(h.options), d); p.push.apply(p, s(w.value, t, n, c, l, y - (h.offset || 0))); } } } } return (A = p).length < 2 ? A : A.reduce(function (e, t) { var n = e[e.length - 1]; return n && n.type === r.literal && t.type === r.literal ? (n.value += t.value) : e.push(t), e; }, []); var A; } !(function (e) { (e[(e.literal = 0)] = "literal"), (e[(e.object = 1)] = "object"); })(r || (r = {})); }, 69050: (e, t, n) => { "use strict"; n.d(t, { ZP: () => p, _y: () => d, zt: () => u }); var r = n(13795), o = n(23469), a = n(608), i = n.n(a), s = n(53268), c = o.createContext(null), l = c.Consumer, u = c.Provider, d = c; function p(e, t) { var n, a = t || {}, c = a.intlPropName, u = void 0 === c ? "intl" : c, d = a.forwardRef, p = void 0 !== d && d, f = a.enforceContext, m = void 0 === f || f, h = function (t) { return o.createElement(l, null, function (n) { var a; m && (0, s.lq)(n); var i = (((a = {})[u] = n), a); return o.createElement(e, (0, r.__assign)({}, t, i, { ref: p ? t.forwardedRef : null })); }); }; return ( (h.displayName = "injectIntl(".concat((n = e).displayName || n.name || "Component", ")")), (h.WrappedComponent = e), p ? i()( o.forwardRef(function (e, t) { return o.createElement(h, (0, r.__assign)({}, e, { forwardedRef: t })); }), e ) : i()(h, e) ); } }, 28386: (e, t, n) => { "use strict"; n.d(t, { Z: () => l }); var r = n(13795), o = n(23469), a = n(76951), i = n(53268); function s(e) { var t = (0, a.Z)(), n = t.formatMessage, r = t.textComponent, i = void 0 === r ? o.Fragment : r, s = e.id, c = e.description, l = e.defaultMessage, u = e.values, d = e.children, p = e.tagName, f = void 0 === p ? i : p, m = n({ id: s, description: c, defaultMessage: l }, u, { ignoreTag: e.ignoreTag }); return "function" == typeof d ? d(Array.isArray(m) ? m : [m]) : f ? o.createElement(f, null, o.Children.toArray(m)) : o.createElement(o.Fragment, null, m); } s.displayName = "FormattedMessage"; var c = o.memo(s, function (e, t) { var n = e.values, o = (0, r.__rest)(e, ["values"]), a = t.values, s = (0, r.__rest)(t, ["values"]); return (0, i.wU)(a, n) && (0, i.wU)(o, s); }); c.displayName = "MemoizedFormattedMessage"; const l = c; }, 76951: (e, t, n) => { "use strict"; n.d(t, { Z: () => i }); var r = n(23469), o = n(69050), a = n(53268); function i() { var e = r.useContext(o._y); return (0, a.lq)(e), e; } }, 53268: (e, t, n) => { "use strict"; n.d(t, { Z0: () => c, dt: () => l, lq: () => s, wU: () => u }); var r = n(13795), o = n(23469), a = n(52167), i = n(956); function s(e) { (0, a.kG)(e, "[React Intl] Could not find required `intl` object. needs to exist in the component ancestry."); } var c = (0, r.__assign)((0, r.__assign)({}, i.Z0), { textComponent: o.Fragment }); function l(e) { return function (t) { return e(o.Children.toArray(t)); }; } function u(e, t) { if (e === t) return !0; if (!e || !t) return !1; var n = Object.keys(e), r = Object.keys(t), o = n.length; if (r.length !== o) return !1; for (var a = 0; a < o; a++) { var i = n[a]; if (e[i] !== t[i] || !Object.prototype.hasOwnProperty.call(t, i)) return !1; } return !0; } }, 52167: (e, t, n) => { "use strict"; function r(e, t, n) { if ((void 0 === n && (n = Error), !e)) throw new n(t); } n.d(t, { kG: () => r }); }, 23840: (e, t) => { "use strict"; var n = 60103, r = 60106, o = 60107, a = 60108, i = 60114, s = 60109, c = 60110, l = 60112, u = 60113, d = 60120, p = 60115, f = 60116; if ("function" == typeof Symbol && Symbol.for) { var m = Symbol.for; (n = m("react.element")), (r = m("react.portal")), (o = m("react.fragment")), (a = m("react.strict_mode")), (i = m("react.profiler")), (s = m("react.provider")), (c = m("react.context")), (l = m("react.forward_ref")), (u = m("react.suspense")), (d = m("react.suspense_list")), (p = m("react.memo")), (f = m("react.lazy")), m("react.block"), m("react.server.block"), m("react.fundamental"), m("react.debug_trace_mode"), m("react.legacy_hidden"); } t.isContextConsumer = function (e) { return ( (function (e) { if ("object" == typeof e && null !== e) { var t = e.$$typeof; switch (t) { case n: switch ((e = e.type)) { case o: case i: case a: case u: case d: return e; default: switch ((e = e && e.$$typeof)) { case c: case l: case f: case p: case s: return e; default: return t; } } case r: return t; } } })(e) === c ); }; }, 49718: (e, t, n) => { "use strict"; e.exports = n(23840); }, 2442: (e, t, n) => { "use strict"; n.d(t, { zt: () => d, dC: () => K.unstable_batchedUpdates, $j: () => H, AS: () => J, gR: () => q, fw: () => W }); var r = n(23469), o = n.n(r), a = (n(47776), o().createContext(null)), i = function (e) { e(); }, s = function () { return i; }, c = { notify: function () {}, get: function () { return []; }, }; function l(e, t) { var n, r = c; function o() { i.onStateChange && i.onStateChange(); } function a() { n || ((n = t ? t.addNestedSub(o) : e.subscribe(o)), (r = (function () { var e = s(), t = null, n = null; return { clear: function () { (t = null), (n = null); }, notify: function () { e(function () { for (var e = t; e; ) e.callback(), (e = e.next); }); }, get: function () { for (var e = [], n = t; n; ) e.push(n), (n = n.next); return e; }, subscribe: function (e) { var r = !0, o = (n = { callback: e, next: null, prev: n }); return ( o.prev ? (o.prev.next = o) : (t = o), function () { r && null !== t && ((r = !1), o.next ? (o.next.prev = o.prev) : (n = o.prev), o.prev ? (o.prev.next = o.next) : (t = o.next)); } ); }, }; })())); } var i = { addNestedSub: function (e) { return a(), r.subscribe(e); }, notifyNestedSubs: function () { r.notify(); }, handleChangeWrapper: o, isSubscribed: function () { return Boolean(n); }, trySubscribe: a, tryUnsubscribe: function () { n && (n(), (n = void 0), r.clear(), (r = c)); }, getListeners: function () { return r; }, }; return i; } var u = "undefined" != typeof window && void 0 !== window.document && void 0 !== window.document.createElement ? r.useLayoutEffect : r.useEffect; const d = function (e) { var t = e.store, n = e.context, i = e.children, s = (0, r.useMemo)( function () { var e = l(t); return (e.onStateChange = e.notifyNestedSubs), { store: t, subscription: e }; }, [t] ), c = (0, r.useMemo)( function () { return t.getState(); }, [t] ); u( function () { var e = s.subscription; return ( e.trySubscribe(), c !== t.getState() && e.notifyNestedSubs(), function () { e.tryUnsubscribe(), (e.onStateChange = null); } ); }, [s, c] ); var d = n || a; return o().createElement(d.Provider, { value: s }, i); }; function p() { return ( (p = Object.assign || function (e) { for (var t = 1; t < arguments.length; t++) { var n = arguments[t]; for (var r in n) Object.prototype.hasOwnProperty.call(n, r) && (e[r] = n[r]); } return e; }), p.apply(this, arguments) ); } function f(e, t) { if (null == e) return {}; var n, r, o = {}, a = Object.keys(e); for (r = 0; r < a.length; r++) (n = a[r]), t.indexOf(n) >= 0 || (o[n] = e[n]); return o; } var m = n(608), h = n.n(m), v = n(49718), y = ["getDisplayName", "methodName", "renderCountProp", "shouldHandleStateChanges", "storeKey", "withRef", "forwardRef", "context"], g = ["reactReduxForwardedRef"], b = [], E = [null, null]; function D(e, t) { var n = e[1]; return [t.payload, n + 1]; } function C(e, t, n) { u(function () { return e.apply(void 0, t); }, n); } function w(e, t, n, r, o, a, i) { (e.current = r), (t.current = o), (n.current = !1), a.current && ((a.current = null), i()); } function S(e, t, n, r, o, a, i, s, c, l) { if (e) { var u = !1, d = null, p = function () { if (!u) { var e, n, p = t.getState(); try { e = r(p, o.current); } catch (e) { (n = e), (d = e); } n || (d = null), e === a.current ? i.current || c() : ((a.current = e), (s.current = e), (i.current = !0), l({ type: "STORE_UPDATED", payload: { error: n } })); } }; return ( (n.onStateChange = p), n.trySubscribe(), p(), function () { if (((u = !0), n.tryUnsubscribe(), (n.onStateChange = null), d)) throw d; } ); } } var A = function () { return [null, 0]; }; function k(e, t) { void 0 === t && (t = {}); var n = t, i = n.getDisplayName, s = void 0 === i ? function (e) { return "ConnectAdvanced(" + e + ")"; } : i, c = n.methodName, u = void 0 === c ? "connectAdvanced" : c, d = n.renderCountProp, m = void 0 === d ? void 0 : d, k = n.shouldHandleStateChanges, _ = void 0 === k || k, T = n.storeKey, I = void 0 === T ? "store" : T, O = (n.withRef, n.forwardRef), F = void 0 !== O && O, x = n.context, N = void 0 === x ? a : x, R = f(n, y), L = N; return function (t) { var n = t.displayName || t.name || "Component", a = s(n), i = p({}, R, { getDisplayName: s, methodName: u, renderCountProp: m, shouldHandleStateChanges: _, storeKey: I, displayName: a, wrappedComponentName: n, WrappedComponent: t }), c = R.pure, d = c ? r.useMemo : function (e) { return e(); }; function y(n) { var a = (0, r.useMemo)( function () { var e = n.reactReduxForwardedRef, t = f(n, g); return [n.context, e, t]; }, [n] ), s = a[0], c = a[1], u = a[2], m = (0, r.useMemo)( function () { return s && s.Consumer && (0, v.isContextConsumer)(o().createElement(s.Consumer, null)) ? s : L; }, [s, L] ), h = (0, r.useContext)(m), y = Boolean(n.store) && Boolean(n.store.getState) && Boolean(n.store.dispatch); Boolean(h) && Boolean(h.store); var k = y ? n.store : h.store, T = (0, r.useMemo)( function () { return (function (t) { return e(t.dispatch, i); })(k); }, [k] ), I = (0, r.useMemo)( function () { if (!_) return E; var e = l(k, y ? null : h.subscription), t = e.notifyNestedSubs.bind(e); return [e, t]; }, [k, y, h] ), O = I[0], F = I[1], x = (0, r.useMemo)( function () { return y ? h : p({}, h, { subscription: O }); }, [y, h, O] ), N = (0, r.useReducer)(D, b, A), R = N[0][0], M = N[1]; if (R && R.error) throw R.error; var P = (0, r.useRef)(), j = (0, r.useRef)(u), B = (0, r.useRef)(), Z = (0, r.useRef)(!1), U = d( function () { return B.current && u === j.current ? B.current : T(k.getState(), u); }, [k, R, u] ); C(w, [j, P, Z, u, U, B, F]), C(S, [_, k, O, T, j, P, Z, B, F, M], [k, O, T]); var z = (0, r.useMemo)( function () { return o().createElement(t, p({}, U, { ref: c })); }, [c, t, U] ); return (0, r.useMemo)( function () { return _ ? o().createElement(m.Provider, { value: x }, z) : z; }, [m, z, x] ); } var k = c ? o().memo(y) : y; if (((k.WrappedComponent = t), (k.displayName = y.displayName = a), F)) { var T = o().forwardRef(function (e, t) { return o().createElement(k, p({}, e, { reactReduxForwardedRef: t })); }); return (T.displayName = a), (T.WrappedComponent = t), h()(T, t); } return h()(k, t); }; } function _(e, t) { return e === t ? 0 !== e || 0 !== t || 1 / e == 1 / t : e != e && t != t; } function T(e, t) { if (_(e, t)) return !0; if ("object" != typeof e || null === e || "object" != typeof t || null === t) return !1; var n = Object.keys(e), r = Object.keys(t); if (n.length !== r.length) return !1; for (var o = 0; o < n.length; o++) if (!Object.prototype.hasOwnProperty.call(t, n[o]) || !_(e[n[o]], t[n[o]])) return !1; return !0; } function I(e) { return function (t, n) { var r = e(t, n); function o() { return r; } return (o.dependsOnOwnProps = !1), o; }; } function O(e) { return null !== e.dependsOnOwnProps && void 0 !== e.dependsOnOwnProps ? Boolean(e.dependsOnOwnProps) : 1 !== e.length; } function F(e, t) { return function (t, n) { n.displayName; var r = function (e, t) { return r.dependsOnOwnProps ? r.mapToProps(e, t) : r.mapToProps(e); }; return ( (r.dependsOnOwnProps = !0), (r.mapToProps = function (t, n) { (r.mapToProps = e), (r.dependsOnOwnProps = O(e)); var o = r(t, n); return "function" == typeof o && ((r.mapToProps = o), (r.dependsOnOwnProps = O(o)), (o = r(t, n))), o; }), r ); }; } const x = [ function (e) { return "function" == typeof e ? F(e) : void 0; }, function (e) { return e ? void 0 : I(function (e) { return { dispatch: e }; }); }, function (e) { return e && "object" == typeof e ? I(function (t) { return (function (e, t) { var n = {}, r = function (r) { var o = e[r]; "function" == typeof o && (n[r] = function () { return t(o.apply(void 0, arguments)); }); }; for (var o in e) r(o); return n; })(e, t); }) : void 0; }, ], N = [ function (e) { return "function" == typeof e ? F(e) : void 0; }, function (e) { return e ? void 0 : I(function () { return {}; }); }, ]; function R(e, t, n) { return p({}, n, e, t); } const L = [ function (e) { return "function" == typeof e ? (function (e) { return function (t, n) { n.displayName; var r, o = n.pure, a = n.areMergedPropsEqual, i = !1; return function (t, n, s) { var c = e(t, n, s); return i ? (o && a(c, r)) || (r = c) : ((i = !0), (r = c)), r; }; }; })(e) : void 0; }, function (e) { return e ? void 0 : function () { return R; }; }, ]; var M = ["initMapStateToProps", "initMapDispatchToProps", "initMergeProps"]; function P(e, t, n, r) { return function (o, a) { return n(e(o, a), t(r, a), a); }; } function j(e, t, n, r, o) { var a, i, s, c, l, u = o.areStatesEqual, d = o.areOwnPropsEqual, p = o.areStatePropsEqual, f = !1; return function (o, m) { return f ? (function (o, f) { var m, h, v = !d(f, i), y = !u(o, a); return ( (a = o), (i = f), v && y ? ((s = e(a, i)), t.dependsOnOwnProps && (c = t(r, i)), (l = n(s, c, i))) : v ? (e.dependsOnOwnProps && (s = e(a, i)), t.dependsOnOwnProps && (c = t(r, i)), (l = n(s, c, i))) : y ? ((m = e(a, i)), (h = !p(m, s)), (s = m), h && (l = n(s, c, i)), l) : l ); })(o, m) : ((s = e((a = o), (i = m))), (c = t(r, i)), (l = n(s, c, i)), (f = !0), l); }; } function B(e, t) { var n = t.initMapStateToProps, r = t.initMapDispatchToProps, o = t.initMergeProps, a = f(t, M), i = n(e, a), s = r(e, a), c = o(e, a); return (a.pure ? j : P)(i, s, c, e, a); } var Z = ["pure", "areStatesEqual", "areOwnPropsEqual", "areStatePropsEqual", "areMergedPropsEqual"]; function U(e, t, n) { for (var r = t.length - 1; r >= 0; r--) { var o = t[r](e); if (o) return o; } return function (t, r) { throw new Error("Invalid value of type " + typeof e + " for " + n + " argument when connecting component " + r.wrappedComponentName + "."); }; } function z(e, t) { return e === t; } function V(e) { var t = void 0 === e ? {} : e, n = t.connectHOC, r = void 0 === n ? k : n, o = t.mapStateToPropsFactories, a = void 0 === o ? N : o, i = t.mapDispatchToPropsFactories, s = void 0 === i ? x : i, c = t.mergePropsFactories, l = void 0 === c ? L : c, u = t.selectorFactory, d = void 0 === u ? B : u; return function (e, t, n, o) { void 0 === o && (o = {}); var i = o, c = i.pure, u = void 0 === c || c, m = i.areStatesEqual, h = void 0 === m ? z : m, v = i.areOwnPropsEqual, y = void 0 === v ? T : v, g = i.areStatePropsEqual, b = void 0 === g ? T : g, E = i.areMergedPropsEqual, D = void 0 === E ? T : E, C = f(i, Z), w = U(e, a, "mapStateToProps"), S = U(t, s, "mapDispatchToProps"), A = U(n, l, "mergeProps"); return r( d, p( { methodName: "connect", getDisplayName: function (e) { return "Connect(" + e + ")"; }, shouldHandleStateChanges: Boolean(e), initMapStateToProps: w, initMapDispatchToProps: S, initMergeProps: A, pure: u, areStatesEqual: h, areOwnPropsEqual: y, areStatePropsEqual: b, areMergedPropsEqual: D, }, C ) ); }; } const H = V(); function G() { return (0, r.useContext)(a); } function W(e) { void 0 === e && (e = a); var t = e === a ? G : function () { return (0, r.useContext)(e); }; return function () { return t().store; }; } var Q = W(); function J(e) { void 0 === e && (e = a); var t = e === a ? Q : W(e); return function () { return t().dispatch; }; } var Y = function (e, t) { return e === t; }; function q(e) { void 0 === e && (e = a); var t = e === a ? G : function () { return (0, r.useContext)(e); }; return function (e, n) { void 0 === n && (n = Y); var o = t(), a = (function (e, t, n, o) { var a, i = (0, r.useReducer)(function (e) { return e + 1; }, 0)[1], s = (0, r.useMemo)( function () { return l(n, o); }, [n, o] ), c = (0, r.useRef)(), d = (0, r.useRef)(), p = (0, r.useRef)(), f = (0, r.useRef)(), m = n.getState(); try { if (e !== d.current || m !== p.current || c.current) { var h = e(m); a = void 0 !== f.current && t(h, f.current) ? f.current : h; } else a = f.current; } catch (e) { throw (c.current && (e.message += "\nThe error may be correlated with this previous error:\n" + c.current.stack + "\n\n"), e); } return ( u(function () { (d.current = e), (p.current = m), (f.current = a), (c.current = void 0); }), u( function () { function e() { try { var e = n.getState(); if (e === p.current) return; var r = d.current(e); if (t(r, f.current)) return; (f.current = r), (p.current = e); } catch (e) { c.current = e; } i(); } return ( (s.onStateChange = e), s.trySubscribe(), e(), function () { return s.tryUnsubscribe(); } ); }, [n, s] ), a ); })(e, n, o.store, o.subscription); return (0, r.useDebugValue)(a), a; }; } var X, K = n(23613); (X = K.unstable_batchedUpdates), (i = X); }, 81606: (e) => { var t = (function (e) { "use strict"; var t, n = Object.prototype, r = n.hasOwnProperty, o = "function" == typeof Symbol ? Symbol : {}, a = o.iterator || "@@iterator", i = o.asyncIterator || "@@asyncIterator", s = o.toStringTag || "@@toStringTag"; function c(e, t, n) { return Object.defineProperty(e, t, { value: n, enumerable: !0, configurable: !0, writable: !0 }), e[t]; } try { c({}, ""); } catch (e) { c = function (e, t, n) { return (e[t] = n); }; } function l(e, t, n, r) { var o = t && t.prototype instanceof v ? t : v, a = Object.create(o.prototype), i = new T(r || []); return ( (a._invoke = (function (e, t, n) { var r = d; return function (o, a) { if (r === f) throw new Error("Generator is already running"); if (r === m) { if ("throw" === o) throw a; return O(); } for (n.method = o, n.arg = a; ; ) { var i = n.delegate; if (i) { var s = A(i, n); if (s) { if (s === h) continue; return s; } } if ("next" === n.method) n.sent = n._sent = n.arg; else if ("throw" === n.method) { if (r === d) throw ((r = m), n.arg); n.dispatchException(n.arg); } else "return" === n.method && n.abrupt("return", n.arg); r = f; var c = u(e, t, n); if ("normal" === c.type) { if (((r = n.done ? m : p), c.arg === h)) continue; return { value: c.arg, done: n.done }; } "throw" === c.type && ((r = m), (n.method = "throw"), (n.arg = c.arg)); } }; })(e, n, i)), a ); } function u(e, t, n) { try { return { type: "normal", arg: e.call(t, n) }; } catch (e) { return { type: "throw", arg: e }; } } e.wrap = l; var d = "suspendedStart", p = "suspendedYield", f = "executing", m = "completed", h = {}; function v() {} function y() {} function g() {} var b = {}; b[a] = function () { return this; }; var E = Object.getPrototypeOf, D = E && E(E(I([]))); D && D !== n && r.call(D, a) && (b = D); var C = (g.prototype = v.prototype = Object.create(b)); function w(e) { ["next", "throw", "return"].forEach(function (t) { c(e, t, function (e) { return this._invoke(t, e); }); }); } function S(e, t) { function n(o, a, i, s) { var c = u(e[o], e, a); if ("throw" !== c.type) { var l = c.arg, d = l.value; return d && "object" == typeof d && r.call(d, "__await") ? t.resolve(d.__await).then( function (e) { n("next", e, i, s); }, function (e) { n("throw", e, i, s); } ) : t.resolve(d).then( function (e) { (l.value = e), i(l); }, function (e) { return n("throw", e, i, s); } ); } s(c.arg); } var o; this._invoke = function (e, r) { function a() { return new t(function (t, o) { n(e, r, t, o); }); } return (o = o ? o.then(a, a) : a()); }; } function A(e, n) { var r = e.iterator[n.method]; if (r === t) { if (((n.delegate = null), "throw" === n.method)) { if (e.iterator.return && ((n.method = "return"), (n.arg = t), A(e, n), "throw" === n.method)) return h; (n.method = "throw"), (n.arg = new TypeError("The iterator does not provide a 'throw' method")); } return h; } var o = u(r, e.iterator, n.arg); if ("throw" === o.type) return (n.method = "throw"), (n.arg = o.arg), (n.delegate = null), h; var a = o.arg; return a ? a.done ? ((n[e.resultName] = a.value), (n.next = e.nextLoc), "return" !== n.method && ((n.method = "next"), (n.arg = t)), (n.delegate = null), h) : a : ((n.method = "throw"), (n.arg = new TypeError("iterator result is not an object")), (n.delegate = null), h); } function k(e) { var t = { tryLoc: e[0] }; 1 in e && (t.catchLoc = e[1]), 2 in e && ((t.finallyLoc = e[2]), (t.afterLoc = e[3])), this.tryEntries.push(t); } function _(e) { var t = e.completion || {}; (t.type = "normal"), delete t.arg, (e.completion = t); } function T(e) { (this.tryEntries = [{ tryLoc: "root" }]), e.forEach(k, this), this.reset(!0); } function I(e) { if (e) { var n = e[a]; if (n) return n.call(e); if ("function" == typeof e.next) return e; if (!isNaN(e.length)) { var o = -1, i = function n() { for (; ++o < e.length; ) if (r.call(e, o)) return (n.value = e[o]), (n.done = !1), n; return (n.value = t), (n.done = !0), n; }; return (i.next = i); } } return { next: O }; } function O() { return { value: t, done: !0 }; } return ( (y.prototype = C.constructor = g), (g.constructor = y), (y.displayName = c(g, s, "GeneratorFunction")), (e.isGeneratorFunction = function (e) { var t = "function" == typeof e && e.constructor; return !!t && (t === y || "GeneratorFunction" === (t.displayName || t.name)); }), (e.mark = function (e) { return Object.setPrototypeOf ? Object.setPrototypeOf(e, g) : ((e.__proto__ = g), c(e, s, "GeneratorFunction")), (e.prototype = Object.create(C)), e; }), (e.awrap = function (e) { return { __await: e }; }), w(S.prototype), (S.prototype[i] = function () { return this; }), (e.AsyncIterator = S), (e.async = function (t, n, r, o, a) { void 0 === a && (a = Promise); var i = new S(l(t, n, r, o), a); return e.isGeneratorFunction(n) ? i : i.next().then(function (e) { return e.done ? e.value : i.next(); }); }), w(C), c(C, s, "Generator"), (C[a] = function () { return this; }), (C.toString = function () { return "[object Generator]"; }), (e.keys = function (e) { var t = []; for (var n in e) t.push(n); return ( t.reverse(), function n() { for (; t.length; ) { var r = t.pop(); if (r in e) return (n.value = r), (n.done = !1), n; } return (n.done = !0), n; } ); }), (e.values = I), (T.prototype = { constructor: T, reset: function (e) { if (((this.prev = 0), (this.next = 0), (this.sent = this._sent = t), (this.done = !1), (this.delegate = null), (this.method = "next"), (this.arg = t), this.tryEntries.forEach(_), !e)) for (var n in this) "t" === n.charAt(0) && r.call(this, n) && !isNaN(+n.slice(1)) && (this[n] = t); }, stop: function () { this.done = !0; var e = this.tryEntries[0].completion; if ("throw" === e.type) throw e.arg; return this.rval; }, dispatchException: function (e) { if (this.done) throw e; var n = this; function o(r, o) { return (s.type = "throw"), (s.arg = e), (n.next = r), o && ((n.method = "next"), (n.arg = t)), !!o; } for (var a = this.tryEntries.length - 1; a >= 0; --a) { var i = this.tryEntries[a], s = i.completion; if ("root" === i.tryLoc) return o("end"); if (i.tryLoc <= this.prev) { var c = r.call(i, "catchLoc"), l = r.call(i, "finallyLoc"); if (c && l) { if (this.prev < i.catchLoc) return o(i.catchLoc, !0); if (this.prev < i.finallyLoc) return o(i.finallyLoc); } else if (c) { if (this.prev < i.catchLoc) return o(i.catchLoc, !0); } else { if (!l) throw new Error("try statement without catch or finally"); if (this.prev < i.finallyLoc) return o(i.finallyLoc); } } } }, abrupt: function (e, t) { for (var n = this.tryEntries.length - 1; n >= 0; --n) { var o = this.tryEntries[n]; if (o.tryLoc <= this.prev && r.call(o, "finallyLoc") && this.prev < o.finallyLoc) { var a = o; break; } } a && ("break" === e || "continue" === e) && a.tryLoc <= t && t <= a.finallyLoc && (a = null); var i = a ? a.completion : {}; return (i.type = e), (i.arg = t), a ? ((this.method = "next"), (this.next = a.finallyLoc), h) : this.complete(i); }, complete: function (e, t) { if ("throw" === e.type) throw e.arg; return ( "break" === e.type || "continue" === e.type ? (this.next = e.arg) : "return" === e.type ? ((this.rval = this.arg = e.arg), (this.method = "return"), (this.next = "end")) : "normal" === e.type && t && (this.next = t), h ); }, finish: function (e) { for (var t = this.tryEntries.length - 1; t >= 0; --t) { var n = this.tryEntries[t]; if (n.finallyLoc === e) return this.complete(n.completion, n.afterLoc), _(n), h; } }, catch: function (e) { for (var t = this.tryEntries.length - 1; t >= 0; --t) { var n = this.tryEntries[t]; if (n.tryLoc === e) { var r = n.completion; if ("throw" === r.type) { var o = r.arg; _(n); } return o; } } throw new Error("illegal catch attempt"); }, delegateYield: function (e, n, r) { return (this.delegate = { iterator: I(e), resultName: n, nextLoc: r }), "next" === this.method && (this.arg = t), h; }, }), e ); })(e.exports); try { regeneratorRuntime = t; } catch (e) { Function("r", "regeneratorRuntime = r")(t); } }, 633: (e, t, n) => { "use strict"; n.d(t, { Z: () => a }); var r = n(22086); function o(e) { return e === Object(e) && 0 !== Object.keys(e).length; } const a = function (e, t) { if (o(t) && "function" == typeof t.behavior) return t.behavior((0, r.Z)(e, t)); var n = (function (e) { return !1 === e ? { block: "end", inline: "nearest" } : o(e) ? e : { block: "start", inline: "nearest" }; })(t); return (function (e, t) { void 0 === t && (t = "auto"); var n = "scrollBehavior" in document.body.style; e.forEach(function (e) { var r = e.el, o = e.top, a = e.left; r.scroll && n ? r.scroll({ top: o, left: a, behavior: t }) : ((r.scrollTop = o), (r.scrollLeft = a)); }); })((0, r.Z)(e, n), n.behavior); }; }, 34171: (e, t, n) => { const r = Symbol("SemVer ANY"); class o { static get ANY() { return r; } constructor(e, t) { if (((t = a(t)), e instanceof o)) { if (e.loose === !!t.loose) return e; e = e.value; } (e = e.trim().split(/\s+/).join(" ")), l("comparator", e, t), (this.options = t), (this.loose = !!t.loose), this.parse(e), this.semver === r ? (this.value = "") : (this.value = this.operator + this.semver.version), l("comp", this); } parse(e) { const t = this.options.loose ? i[s.COMPARATORLOOSE] : i[s.COMPARATOR], n = e.match(t); if (!n) throw new TypeError(`Invalid comparator: ${e}`); (this.operator = void 0 !== n[1] ? n[1] : ""), "=" === this.operator && (this.operator = ""), n[2] ? (this.semver = new u(n[2], this.options.loose)) : (this.semver = r); } toString() { return this.value; } test(e) { if ((l("Comparator.test", e, this.options.loose), this.semver === r || e === r)) return !0; if ("string" == typeof e) try { e = new u(e, this.options); } catch (e) { return !1; } return c(e, this.operator, this.semver, this.options); } intersects(e, t) { if (!(e instanceof o)) throw new TypeError("a Comparator is required"); return "" === this.operator ? "" === this.value || new d(e.value, t).test(this.value) : "" === e.operator ? "" === e.value || new d(this.value, t).test(e.semver) : !( ((t = a(t)).includePrerelease && ("<0.0.0-0" === this.value || "<0.0.0-0" === e.value)) || (!t.includePrerelease && (this.value.startsWith("<0.0.0") || e.value.startsWith("<0.0.0"))) || ((!this.operator.startsWith(">") || !e.operator.startsWith(">")) && (!this.operator.startsWith("<") || !e.operator.startsWith("<")) && (this.semver.version !== e.semver.version || !this.operator.includes("=") || !e.operator.includes("=")) && !(c(this.semver, "<", e.semver, t) && this.operator.startsWith(">") && e.operator.startsWith("<")) && !(c(this.semver, ">", e.semver, t) && this.operator.startsWith("<") && e.operator.startsWith(">"))) ); } } e.exports = o; const a = n(36325), { safeRe: i, t: s } = n(73994), c = n(94769), l = n(50743), u = n(25659), d = n(70445); }, 70445: (e, t, n) => { class r { constructor(e, t) { if (((t = a(t)), e instanceof r)) return e.loose === !!t.loose && e.includePrerelease === !!t.includePrerelease ? e : new r(e.raw, t); if (e instanceof i) return (this.raw = e.value), (this.set = [[e]]), this.format(), this; if ( ((this.options = t), (this.loose = !!t.loose), (this.includePrerelease = !!t.includePrerelease), (this.raw = e.trim().split(/\s+/).join(" ")), (this.set = this.raw .split("||") .map((e) => this.parseRange(e.trim())) .filter((e) => e.length)), !this.set.length) ) throw new TypeError(`Invalid SemVer Range: ${this.raw}`); if (this.set.length > 1) { const e = this.set[0]; if (((this.set = this.set.filter((e) => !v(e[0]))), 0 === this.set.length)) this.set = [e]; else if (this.set.length > 1) for (const e of this.set) if (1 === e.length && y(e[0])) { this.set = [e]; break; } } this.format(); } format() { return ( (this.range = this.set .map((e) => e.join(" ").trim()) .join("||") .trim()), this.range ); } toString() { return this.range; } parseRange(e) { const t = ((this.options.includePrerelease && m) | (this.options.loose && h)) + ":" + e, n = o.get(t); if (n) return n; const r = this.options.loose, a = r ? l[u.HYPHENRANGELOOSE] : l[u.HYPHENRANGE]; (e = e.replace(a, I(this.options.includePrerelease))), s("hyphen replace", e), (e = e.replace(l[u.COMPARATORTRIM], d)), s("comparator trim", e), (e = e.replace(l[u.TILDETRIM], p)), s("tilde trim", e), (e = e.replace(l[u.CARETTRIM], f)), s("caret trim", e); let c = e .split(" ") .map((e) => b(e, this.options)) .join(" ") .split(/\s+/) .map((e) => T(e, this.options)); r && (c = c.filter((e) => (s("loose invalid filter", e, this.options), !!e.match(l[u.COMPARATORLOOSE])))), s("range list", c); const y = new Map(), g = c.map((e) => new i(e, this.options)); for (const e of g) { if (v(e)) return [e]; y.set(e.value, e); } y.size > 1 && y.has("") && y.delete(""); const E = [...y.values()]; return o.set(t, E), E; } intersects(e, t) { if (!(e instanceof r)) throw new TypeError("a Range is required"); return this.set.some((n) => g(n, t) && e.set.some((e) => g(e, t) && n.every((n) => e.every((e) => n.intersects(e, t))))); } test(e) { if (!e) return !1; if ("string" == typeof e) try { e = new c(e, this.options); } catch (e) { return !1; } for (let t = 0; t < this.set.length; t++) if (O(this.set[t], e, this.options)) return !0; return !1; } } e.exports = r; const o = new (n(58402))(), a = n(36325), i = n(34171), s = n(50743), c = n(25659), { safeRe: l, t: u, comparatorTrimReplace: d, tildeTrimReplace: p, caretTrimReplace: f } = n(73994), { FLAG_INCLUDE_PRERELEASE: m, FLAG_LOOSE: h } = n(34380), v = (e) => "<0.0.0-0" === e.value, y = (e) => "" === e.value, g = (e, t) => { let n = !0; const r = e.slice(); let o = r.pop(); for (; n && r.length; ) (n = r.every((e) => o.intersects(e, t))), (o = r.pop()); return n; }, b = (e, t) => (s("comp", e, t), (e = w(e, t)), s("caret", e), (e = D(e, t)), s("tildes", e), (e = A(e, t)), s("xrange", e), (e = _(e, t)), s("stars", e), e), E = (e) => !e || "x" === e.toLowerCase() || "*" === e, D = (e, t) => e .trim() .split(/\s+/) .map((e) => C(e, t)) .join(" "), C = (e, t) => { const n = t.loose ? l[u.TILDELOOSE] : l[u.TILDE]; return e.replace(n, (t, n, r, o, a) => { let i; return ( s("tilde", e, t, n, r, o, a), E(n) ? (i = "") : E(r) ? (i = `>=${n}.0.0 <${+n + 1}.0.0-0`) : E(o) ? (i = `>=${n}.${r}.0 <${n}.${+r + 1}.0-0`) : a ? (s("replaceTilde pr", a), (i = `>=${n}.${r}.${o}-${a} <${n}.${+r + 1}.0-0`)) : (i = `>=${n}.${r}.${o} <${n}.${+r + 1}.0-0`), s("tilde return", i), i ); }); }, w = (e, t) => e .trim() .split(/\s+/) .map((e) => S(e, t)) .join(" "), S = (e, t) => { s("caret", e, t); const n = t.loose ? l[u.CARETLOOSE] : l[u.CARET], r = t.includePrerelease ? "-0" : ""; return e.replace(n, (t, n, o, a, i) => { let c; return ( s("caret", e, t, n, o, a, i), E(n) ? (c = "") : E(o) ? (c = `>=${n}.0.0${r} <${+n + 1}.0.0-0`) : E(a) ? (c = "0" === n ? `>=${n}.${o}.0${r} <${n}.${+o + 1}.0-0` : `>=${n}.${o}.0${r} <${+n + 1}.0.0-0`) : i ? (s("replaceCaret pr", i), (c = "0" === n ? ("0" === o ? `>=${n}.${o}.${a}-${i} <${n}.${o}.${+a + 1}-0` : `>=${n}.${o}.${a}-${i} <${n}.${+o + 1}.0-0`) : `>=${n}.${o}.${a}-${i} <${+n + 1}.0.0-0`)) : (s("no pr"), (c = "0" === n ? ("0" === o ? `>=${n}.${o}.${a}${r} <${n}.${o}.${+a + 1}-0` : `>=${n}.${o}.${a}${r} <${n}.${+o + 1}.0-0`) : `>=${n}.${o}.${a} <${+n + 1}.0.0-0`)), s("caret return", c), c ); }); }, A = (e, t) => ( s("replaceXRanges", e, t), e .split(/\s+/) .map((e) => k(e, t)) .join(" ") ), k = (e, t) => { e = e.trim(); const n = t.loose ? l[u.XRANGELOOSE] : l[u.XRANGE]; return e.replace(n, (n, r, o, a, i, c) => { s("xRange", e, n, r, o, a, i, c); const l = E(o), u = l || E(a), d = u || E(i), p = d; return ( "=" === r && p && (r = ""), (c = t.includePrerelease ? "-0" : ""), l ? (n = ">" === r || "<" === r ? "<0.0.0-0" : "*") : r && p ? (u && (a = 0), (i = 0), ">" === r ? ((r = ">="), u ? ((o = +o + 1), (a = 0), (i = 0)) : ((a = +a + 1), (i = 0))) : "<=" === r && ((r = "<"), u ? (o = +o + 1) : (a = +a + 1)), "<" === r && (c = "-0"), (n = `${r + o}.${a}.${i}${c}`)) : u ? (n = `>=${o}.0.0${c} <${+o + 1}.0.0-0`) : d && (n = `>=${o}.${a}.0${c} <${o}.${+a + 1}.0-0`), s("xRange return", n), n ); }); }, _ = (e, t) => (s("replaceStars", e, t), e.trim().replace(l[u.STAR], "")), T = (e, t) => (s("replaceGTE0", e, t), e.trim().replace(l[t.includePrerelease ? u.GTE0PRE : u.GTE0], "")), I = (e) => (t, n, r, o, a, i, s, c, l, u, d, p) => `${(n = E(r) ? "" : E(o) ? `>=${r}.0.0${e ? "-0" : ""}` : E(a) ? `>=${r}.${o}.0${e ? "-0" : ""}` : i ? `>=${n}` : `>=${n}${e ? "-0" : ""}`)} ${(c = E(l) ? "" : E(u) ? `<${+l + 1}.0.0-0` : E(d) ? `<${l}.${+u + 1}.0-0` : p ? `<=${l}.${u}.${d}-${p}` : e ? `<${l}.${u}.${+d + 1}-0` : `<=${c}`)}`.trim(), O = (e, t, n) => { for (let n = 0; n < e.length; n++) if (!e[n].test(t)) return !1; if (t.prerelease.length && !n.includePrerelease) { for (let n = 0; n < e.length; n++) if ((s(e[n].semver), e[n].semver !== i.ANY && e[n].semver.prerelease.length > 0)) { const r = e[n].semver; if (r.major === t.major && r.minor === t.minor && r.patch === t.patch) return !0; } return !1; } return !0; }; }, 25659: (e, t, n) => { const r = n(50743), { MAX_LENGTH: o, MAX_SAFE_INTEGER: a } = n(34380), { safeRe: i, t: s } = n(73994), c = n(36325), { compareIdentifiers: l } = n(23919); class u { constructor(e, t) { if (((t = c(t)), e instanceof u)) { if (e.loose === !!t.loose && e.includePrerelease === !!t.includePrerelease) return e; e = e.version; } else if ("string" != typeof e) throw new TypeError(`Invalid version. Must be a string. Got type "${typeof e}".`); if (e.length > o) throw new TypeError(`version is longer than ${o} characters`); r("SemVer", e, t), (this.options = t), (this.loose = !!t.loose), (this.includePrerelease = !!t.includePrerelease); const n = e.trim().match(t.loose ? i[s.LOOSE] : i[s.FULL]); if (!n) throw new TypeError(`Invalid Version: ${e}`); if (((this.raw = e), (this.major = +n[1]), (this.minor = +n[2]), (this.patch = +n[3]), this.major > a || this.major < 0)) throw new TypeError("Invalid major version"); if (this.minor > a || this.minor < 0) throw new TypeError("Invalid minor version"); if (this.patch > a || this.patch < 0) throw new TypeError("Invalid patch version"); n[4] ? (this.prerelease = n[4].split(".").map((e) => { if (/^[0-9]+$/.test(e)) { const t = +e; if (t >= 0 && t < a) return t; } return e; })) : (this.prerelease = []), (this.build = n[5] ? n[5].split(".") : []), this.format(); } format() { return (this.version = `${this.major}.${this.minor}.${this.patch}`), this.prerelease.length && (this.version += `-${this.prerelease.join(".")}`), this.version; } toString() { return this.version; } compare(e) { if ((r("SemVer.compare", this.version, this.options, e), !(e instanceof u))) { if ("string" == typeof e && e === this.version) return 0; e = new u(e, this.options); } return e.version === this.version ? 0 : this.compareMain(e) || this.comparePre(e); } compareMain(e) { return e instanceof u || (e = new u(e, this.options)), l(this.major, e.major) || l(this.minor, e.minor) || l(this.patch, e.patch); } comparePre(e) { if ((e instanceof u || (e = new u(e, this.options)), this.prerelease.length && !e.prerelease.length)) return -1; if (!this.prerelease.length && e.prerelease.length) return 1; if (!this.prerelease.length && !e.prerelease.length) return 0; let t = 0; do { const n = this.prerelease[t], o = e.prerelease[t]; if ((r("prerelease compare", t, n, o), void 0 === n && void 0 === o)) return 0; if (void 0 === o) return 1; if (void 0 === n) return -1; if (n !== o) return l(n, o); } while (++t); } compareBuild(e) { e instanceof u || (e = new u(e, this.options)); let t = 0; do { const n = this.build[t], o = e.build[t]; if ((r("build compare", t, n, o), void 0 === n && void 0 === o)) return 0; if (void 0 === o) return 1; if (void 0 === n) return -1; if (n !== o) return l(n, o); } while (++t); } inc(e, t, n) { switch (e) { case "premajor": (this.prerelease.length = 0), (this.patch = 0), (this.minor = 0), this.major++, this.inc("pre", t, n); break; case "preminor": (this.prerelease.length = 0), (this.patch = 0), this.minor++, this.inc("pre", t, n); break; case "prepatch": (this.prerelease.length = 0), this.inc("patch", t, n), this.inc("pre", t, n); break; case "prerelease": 0 === this.prerelease.length && this.inc("patch", t, n), this.inc("pre", t, n); break; case "major": (0 === this.minor && 0 === this.patch && 0 !== this.prerelease.length) || this.major++, (this.minor = 0), (this.patch = 0), (this.prerelease = []); break; case "minor": (0 === this.patch && 0 !== this.prerelease.length) || this.minor++, (this.patch = 0), (this.prerelease = []); break; case "patch": 0 === this.prerelease.length && this.patch++, (this.prerelease = []); break; case "pre": { const e = Number(n) ? 1 : 0; if (!t && !1 === n) throw new Error("invalid increment argument: identifier is empty"); if (0 === this.prerelease.length) this.prerelease = [e]; else { let r = this.prerelease.length; for (; --r >= 0; ) "number" == typeof this.prerelease[r] && (this.prerelease[r]++, (r = -2)); if (-1 === r) { if (t === this.prerelease.join(".") && !1 === n) throw new Error("invalid increment argument: identifier already exists"); this.prerelease.push(e); } } if (t) { let r = [t, e]; !1 === n && (r = [t]), 0 === l(this.prerelease[0], t) ? isNaN(this.prerelease[1]) && (this.prerelease = r) : (this.prerelease = r); } break; } default: throw new Error(`invalid increment argument: ${e}`); } return (this.raw = this.format()), this.build.length && (this.raw += `+${this.build.join(".")}`), this; } } e.exports = u; }, 94769: (e, t, n) => { const r = n(12217), o = n(43226), a = n(99160), i = n(60637), s = n(24821), c = n(4249); e.exports = (e, t, n, l) => { switch (t) { case "===": return "object" == typeof e && (e = e.version), "object" == typeof n && (n = n.version), e === n; case "!==": return "object" == typeof e && (e = e.version), "object" == typeof n && (n = n.version), e !== n; case "": case "=": case "==": return r(e, n, l); case "!=": return o(e, n, l); case ">": return a(e, n, l); case ">=": return i(e, n, l); case "<": return s(e, n, l); case "<=": return c(e, n, l); default: throw new TypeError(`Invalid operator: ${t}`); } }; }, 19305: (e, t, n) => { const r = n(25659); e.exports = (e, t, n) => new r(e, n).compare(new r(t, n)); }, 12217: (e, t, n) => { const r = n(19305); e.exports = (e, t, n) => 0 === r(e, t, n); }, 99160: (e, t, n) => { const r = n(19305); e.exports = (e, t, n) => r(e, t, n) > 0; }, 60637: (e, t, n) => { const r = n(19305); e.exports = (e, t, n) => r(e, t, n) >= 0; }, 24821: (e, t, n) => { const r = n(19305); e.exports = (e, t, n) => r(e, t, n) < 0; }, 4249: (e, t, n) => { const r = n(19305); e.exports = (e, t, n) => r(e, t, n) <= 0; }, 43226: (e, t, n) => { const r = n(19305); e.exports = (e, t, n) => 0 !== r(e, t, n); }, 50813: (e, t, n) => { const r = n(70445); e.exports = (e, t, n) => { try { t = new r(t, n); } catch (e) { return !1; } return t.test(e); }; }, 34380: (e) => { const t = Number.MAX_SAFE_INTEGER || 9007199254740991; e.exports = { MAX_LENGTH: 256, MAX_SAFE_COMPONENT_LENGTH: 16, MAX_SAFE_BUILD_LENGTH: 250, MAX_SAFE_INTEGER: t, RELEASE_TYPES: ["major", "premajor", "minor", "preminor", "patch", "prepatch", "prerelease"], SEMVER_SPEC_VERSION: "2.0.0", FLAG_INCLUDE_PRERELEASE: 1, FLAG_LOOSE: 2, }; }, 50743: (e) => { const t = "object" == typeof process && process.env && process.env.NODE_DEBUG && /\bsemver\b/i.test(process.env.NODE_DEBUG) ? (...e) => console.error("SEMVER", ...e) : () => {}; e.exports = t; }, 23919: (e) => { const t = /^[0-9]+$/, n = (e, n) => { const r = t.test(e), o = t.test(n); return r && o && ((e = +e), (n = +n)), e === n ? 0 : r && !o ? -1 : o && !r ? 1 : e < n ? -1 : 1; }; e.exports = { compareIdentifiers: n, rcompareIdentifiers: (e, t) => n(t, e) }; }, 58402: (e) => { e.exports = class { constructor() { (this.max = 1e3), (this.map = new Map()); } get(e) { const t = this.map.get(e); return void 0 === t ? void 0 : (this.map.delete(e), this.map.set(e, t), t); } delete(e) { return this.map.delete(e); } set(e, t) { if (!this.delete(e) && void 0 !== t) { if (this.map.size >= this.max) { const e = this.map.keys().next().value; this.delete(e); } this.map.set(e, t); } return this; } }; }, 36325: (e) => { const t = Object.freeze({ loose: !0 }), n = Object.freeze({}); e.exports = (e) => (e ? ("object" != typeof e ? t : e) : n); }, 73994: (e, t, n) => { const { MAX_SAFE_COMPONENT_LENGTH: r, MAX_SAFE_BUILD_LENGTH: o, MAX_LENGTH: a } = n(34380), i = n(50743), s = ((t = e.exports = {}).re = []), c = (t.safeRe = []), l = (t.src = []), u = (t.t = {}); let d = 0; const p = "[a-zA-Z0-9-]", f = [ ["\\s", 1], ["\\d", a], [p, o], ], m = (e, t, n) => { const r = ((e) => { for (const [t, n] of f) e = e.split(`${t}*`).join(`${t}{0,${n}}`).split(`${t}+`).join(`${t}{1,${n}}`); return e; })(t), o = d++; i(e, o, t), (u[e] = o), (l[o] = t), (s[o] = new RegExp(t, n ? "g" : void 0)), (c[o] = new RegExp(r, n ? "g" : void 0)); }; m("NUMERICIDENTIFIER", "0|[1-9]\\d*"), m("NUMERICIDENTIFIERLOOSE", "\\d+"), m("NONNUMERICIDENTIFIER", `\\d*[a-zA-Z-]${p}*`), m("MAINVERSION", `(${l[u.NUMERICIDENTIFIER]})\\.(${l[u.NUMERICIDENTIFIER]})\\.(${l[u.NUMERICIDENTIFIER]})`), m("MAINVERSIONLOOSE", `(${l[u.NUMERICIDENTIFIERLOOSE]})\\.(${l[u.NUMERICIDENTIFIERLOOSE]})\\.(${l[u.NUMERICIDENTIFIERLOOSE]})`), m("PRERELEASEIDENTIFIER", `(?:${l[u.NUMERICIDENTIFIER]}|${l[u.NONNUMERICIDENTIFIER]})`), m("PRERELEASEIDENTIFIERLOOSE", `(?:${l[u.NUMERICIDENTIFIERLOOSE]}|${l[u.NONNUMERICIDENTIFIER]})`), m("PRERELEASE", `(?:-(${l[u.PRERELEASEIDENTIFIER]}(?:\\.${l[u.PRERELEASEIDENTIFIER]})*))`), m("PRERELEASELOOSE", `(?:-?(${l[u.PRERELEASEIDENTIFIERLOOSE]}(?:\\.${l[u.PRERELEASEIDENTIFIERLOOSE]})*))`), m("BUILDIDENTIFIER", `${p}+`), m("BUILD", `(?:\\+(${l[u.BUILDIDENTIFIER]}(?:\\.${l[u.BUILDIDENTIFIER]})*))`), m("FULLPLAIN", `v?${l[u.MAINVERSION]}${l[u.PRERELEASE]}?${l[u.BUILD]}?`), m("FULL", `^${l[u.FULLPLAIN]}$`), m("LOOSEPLAIN", `[v=\\s]*${l[u.MAINVERSIONLOOSE]}${l[u.PRERELEASELOOSE]}?${l[u.BUILD]}?`), m("LOOSE", `^${l[u.LOOSEPLAIN]}$`), m("GTLT", "((?:<|>)?=?)"), m("XRANGEIDENTIFIERLOOSE", `${l[u.NUMERICIDENTIFIERLOOSE]}|x|X|\\*`), m("XRANGEIDENTIFIER", `${l[u.NUMERICIDENTIFIER]}|x|X|\\*`), m("XRANGEPLAIN", `[v=\\s]*(${l[u.XRANGEIDENTIFIER]})(?:\\.(${l[u.XRANGEIDENTIFIER]})(?:\\.(${l[u.XRANGEIDENTIFIER]})(?:${l[u.PRERELEASE]})?${l[u.BUILD]}?)?)?`), m("XRANGEPLAINLOOSE", `[v=\\s]*(${l[u.XRANGEIDENTIFIERLOOSE]})(?:\\.(${l[u.XRANGEIDENTIFIERLOOSE]})(?:\\.(${l[u.XRANGEIDENTIFIERLOOSE]})(?:${l[u.PRERELEASELOOSE]})?${l[u.BUILD]}?)?)?`), m("XRANGE", `^${l[u.GTLT]}\\s*${l[u.XRANGEPLAIN]}$`), m("XRANGELOOSE", `^${l[u.GTLT]}\\s*${l[u.XRANGEPLAINLOOSE]}$`), m("COERCEPLAIN", `(^|[^\\d])(\\d{1,${r}})(?:\\.(\\d{1,${r}}))?(?:\\.(\\d{1,${r}}))?`), m("COERCE", `${l[u.COERCEPLAIN]}(?:$|[^\\d])`), m("COERCEFULL", l[u.COERCEPLAIN] + `(?:${l[u.PRERELEASE]})?` + `(?:${l[u.BUILD]})?(?:$|[^\\d])`), m("COERCERTL", l[u.COERCE], !0), m("COERCERTLFULL", l[u.COERCEFULL], !0), m("LONETILDE", "(?:~>?)"), m("TILDETRIM", `(\\s*)${l[u.LONETILDE]}\\s+`, !0), (t.tildeTrimReplace = "$1~"), m("TILDE", `^${l[u.LONETILDE]}${l[u.XRANGEPLAIN]}$`), m("TILDELOOSE", `^${l[u.LONETILDE]}${l[u.XRANGEPLAINLOOSE]}$`), m("LONECARET", "(?:\\^)"), m("CARETTRIM", `(\\s*)${l[u.LONECARET]}\\s+`, !0), (t.caretTrimReplace = "$1^"), m("CARET", `^${l[u.LONECARET]}${l[u.XRANGEPLAIN]}$`), m("CARETLOOSE", `^${l[u.LONECARET]}${l[u.XRANGEPLAINLOOSE]}$`), m("COMPARATORLOOSE", `^${l[u.GTLT]}\\s*(${l[u.LOOSEPLAIN]})$|^$`), m("COMPARATOR", `^${l[u.GTLT]}\\s*(${l[u.FULLPLAIN]})$|^$`), m("COMPARATORTRIM", `(\\s*)${l[u.GTLT]}\\s*(${l[u.LOOSEPLAIN]}|${l[u.XRANGEPLAIN]})`, !0), (t.comparatorTrimReplace = "$1$2$3"), m("HYPHENRANGE", `^\\s*(${l[u.XRANGEPLAIN]})\\s+-\\s+(${l[u.XRANGEPLAIN]})\\s*$`), m("HYPHENRANGELOOSE", `^\\s*(${l[u.XRANGEPLAINLOOSE]})\\s+-\\s+(${l[u.XRANGEPLAINLOOSE]})\\s*$`), m("STAR", "(<|>)?=?\\s*\\*"), m("GTE0", "^\\s*>=\\s*0\\.0\\.0\\s*$"), m("GTE0PRE", "^\\s*>=\\s*0\\.0\\.0-0\\s*$"); }, 54920: (e, t, n) => { "use strict"; Object.defineProperty(t, "__esModule", { value: !0 }), (t.default = void 0); var r = i(n(56155)), o = i(n(89085)), a = n(8888); function i(e) { return e && e.__esModule ? e : { default: e }; } function s(e, t) { for (var n = 0; n < t.length; n++) { var r = t[n]; (r.enumerable = r.enumerable || !1), (r.configurable = !0), "value" in r && (r.writable = !0), Object.defineProperty(e, r.key, r); } } var c = (function () { function e() { var t = arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : {}, n = arguments.length > 1 && void 0 !== arguments[1] ? arguments[1] : {}, r = n.id, o = n.useNodeIndex, a = n.validNodes; !(function (e, t) { if (!(e instanceof t)) throw new TypeError("Cannot call a class as a function"); })(this, e), (this.assetId = r), (this.annotationId = t.id), (this.annotationObject = t), (this.useNodeIndex = o), (this.validNodes = a); } var t, n; return ( (t = e), (n = [ { key: "getPathRoot", value: function () { return "assets/".concat(this.assetId, "/annots/"); }, }, { key: "get", value: function () { return o.default.instance.request(this.assetId, "annotation.get", this.annotationId, "GET", null, { "If-Match": this.annotationObject.etag }); }, }, { key: "reply", value: function (e, t) { try { var n = (0, a.getCommentPayload)(this.annotationId, e, null, null, t, a.MOTIVATIONS.REPLY, null, this.useNodeIndex); return o.default.instance.request(this.assetId, "annotation.reply", this.getPathRoot(), "POST", n, {}); } catch (e) { return Promise.reject(e); } }, }, { key: "update", value: function (e, t, n, i, s) { var c = this; try { var l = (0, r.default)(this.annotationObject); l.bodyValue = e; var u = []; return ( l.replies && ((u = l.replies), delete l.replies), n && n.length > 0 && (l.mentions = n), (l = (0, a.setTargetNode)(l, i, this.useNodeIndex)), (l = (0, a.updateCoordinates)(l, t, !0)), s && (l = (0, a.updateMediaData)(l, t, s)), new Promise(function (e, t) { o.default.instance .request(c.assetId, "annotation.update", c.annotationId, "PUT", l, { "If-Match": c.annotationObject.etag }) .then(function (t) { t.motivation === a.MOTIVATIONS.COMMENT && (t.replies = u), e(t); }) .catch(t); }) ); } catch (e) { return Promise.reject(e); } }, }, { key: "delete", value: function () { return o.default.instance.request(this.assetId, "annotation.delete", "".concat(this.annotationId, "?recursive=true"), "DELETE", null, { "If-Match": this.annotationObject.etag }); }, }, { key: "resolve", value: function () { return this._perform("annotation.resolve"); }, }, { key: "open", value: function () { return this._perform("annotation.open"); }, }, { key: "_perform", value: function (e) { var t = this; try { var n = (0, r.default)(this.annotationObject), i = []; return ( n.replies && ((i = n.replies), delete n.replies), (n.status = "annotation.resolve" === e ? a.STATUS.RESOLVED : a.STATUS.OPEN), (n = (0, a.updateCoordinates)(n, null, !0)), new Promise(function (r, s) { o.default.instance .request(t.assetId, e, t.annotationId, "PUT", n, { "If-Match": t.annotationObject.etag }) .then(function (e) { e.motivation === a.MOTIVATIONS.COMMENT && (e.replies = i), r(e); }) .catch(s); }) ); } catch (e) { return console.log(e), Promise.reject(e); } }, }, ]) && s(t.prototype, n), Object.defineProperty(t, "prototype", { writable: !1 }), e ); })(); t.default = c; }, 27357: (e, t, n) => { "use strict"; function r(e) { return ( (r = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (e) { return typeof e; } : function (e) { return e && "function" == typeof Symbol && e.constructor === Symbol && e !== Symbol.prototype ? "symbol" : typeof e; }), r(e) ); } Object.defineProperty(t, "__esModule", { value: !0 }), (t.default = void 0); var o = n(92682), a = c(n(87220)), i = c(n(89085)), s = n(8888); function c(e) { return e && e.__esModule ? e : { default: e }; } function l(e, t) { for (var n = 0; n < t.length; n++) { var r = t[n]; (r.enumerable = r.enumerable || !1), (r.configurable = !0), "value" in r && (r.writable = !0), Object.defineProperty(e, r.key, r); } } function u(e, t) { return ( (u = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function (e, t) { return (e.__proto__ = t), e; }), u(e, t) ); } function d(e) { if (void 0 === e) throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); return e; } function p(e) { return ( (p = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function (e) { return e.__proto__ || Object.getPrototypeOf(e); }), p(e) ); } var f = 3e3, m = {}, h = (function (e) { !(function (e, t) { if ("function" != typeof t && null !== t) throw new TypeError("Super expression must either be null or a function"); (e.prototype = Object.create(t && t.prototype, { constructor: { value: e, writable: !0, configurable: !0 } })), Object.defineProperty(e, "prototype", { writable: !1 }), t && u(e, t); })(y, e); var t, n, o, c, h, v = ((c = y), (h = (function () { if ("undefined" == typeof Reflect || !Reflect.construct) return !1; if (Reflect.construct.sham) return !1; if ("function" == typeof Proxy) return !0; try { return Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})), !0; } catch (e) { return !1; } })()), function () { var e, t = p(c); if (h) { var n = p(this).constructor; e = Reflect.construct(t, arguments, n); } else e = t.apply(this, arguments); return (function (e, t) { if (t && ("object" === r(t) || "function" == typeof t)) return t; if (void 0 !== t) throw new TypeError("Derived constructors may only return object or undefined"); return d(e); })(this, e); }); function y(e) { var t, n = e.commentType, r = e.id, o = e.pollForUpdates, a = e.useNodeIndex, i = e.validNodes; return ( (function (e, t) { if (!(e instanceof t)) throw new TypeError("Cannot call a class as a function"); })(this, y), ((t = v.call(this)).commentType = null == n ? void 0 : n.join()), (t.etag = null), (t.id = r), (t.pollingTimer = null), (t.pollForUpdates = o), (t.useNodeIndex = a), (t.validNodes = i), (t.fetchDelay = f), (t.checkForUpdates = t.checkForUpdates.bind(d(t))), t ); } return ( (t = y), (n = [ { key: "getPathRoot", value: function () { return "assets/".concat(this.id); }, }, { key: "getMetadata", value: function () { var e = this; return new Promise(function (t, n) { var r = "".concat(e.getPathRoot(), "?operation=").concat(s.OPERATIONS.FETCH_COMMENT_METADATA); i.default.instance .request(e.id, "asset.getMetadata", r, "GET", void 0, void 0, { useNodeIndex: e.useNodeIndex, validNodes: e.validNodes }) .then(function (e) { t(e); }) .catch(function (e) { n(e); }); }); }, }, { key: "get", value: function (e) { var t = this; return new Promise(function (n, r) { var o = "".concat(t.getPathRoot(), "/annots/?status=").concat(t.commentType), a = +new Date(), c = t.lastFetchTimestamp + t.fetchDelay; if (!t.lastFetchTimestamp || c <= a) (t.lastFetchTimestamp = a), i.default.instance .request(t.id, "asset.get", o, "GET", null, e ? { "If-None-Match": t.etag } : {}, { useNodeIndex: t.useNodeIndex, validNodes: t.validNodes }) .then(function (e) { if (((e && e.retryAfter) || t.disableUpdates(), e && e.annotations)) { t.etag = e.etag ? e.etag : null; var r = e.annotations.filter(function (e) { return e.motivation === s.MOTIVATIONS.REPLY; }), o = e.annotations .filter(function (e) { return e.motivation !== s.MOTIVATIONS.REPLY; }) .map(function (e) { var t = r.filter(function (t) { return t.target.source.includes(e.id); }); return t && (e.replies = t), e; }), a = e.retryAfter ? 1e3 * parseInt(e.retryAfter, 10) : f; (t.fetchDelay = a), t.pollForUpdates && !t.pollingTimer && ((t.pollingInterval = a), (t.pollingTimer = setInterval(t.checkForUpdates, t.pollingInterval))); var i = Object.assign({}, e); (i.annotations = o), n(i); } else if (t.pollForUpdates) { var c = e.retryAfter ? 1e3 * parseInt(e.retryAfter, 10) : f; (t.fetchDelay = c), t.pollingInterval !== c && ((t.pollingInterval = c), t.pollingTimer && (clearInterval(t.pollingTimer), (t.pollingTimer = null))), t.pollingTimer || void 0 === t.pollingInterval || (t.pollingTimer = setInterval(t.checkForUpdates, t.pollingInterval)), n(null); } else n(null); }) .catch(function (e) { t.disableUpdates(), r(e); }); else if (t.pendingRequestTimer || t.pollingInterval) n(null); else { var l = c - a; (t.pendingRequestTimer = setTimeout(function () { t.checkForUpdates(), (t.pendingRequestTimer = void 0); }, l)), n(null); } }); }, }, { key: "checkForUpdates", value: function () { var e = this; i.default.instance.fetchInProgressMap["asset.get"][this.id] || this.get(!0) .then(function (t) { !i.default.instance.fetchInProgressMap["asset.get"][e.id] && t && e.emit("update", t); }) .catch(function (t) { e.emit("update-error", t); }); }, }, { key: "disableUpdates", value: function () { clearInterval(this.pollingTimer), (this.pollingTimer = null); }, }, { key: "comment", value: function (e, t, n, r, o) { try { var a = (0, s.getCommentPayload)(this.id, e, t, n, r, s.MOTIVATIONS.COMMENT, o, this.useNodeIndex); return i.default.instance.request(this.id, "asset.comment", "".concat(this.getPathRoot(), "/annots/"), "POST", a, {}, { useNodeIndex: this.useNodeIndex, validNodes: this.validNodes }); } catch (e) { return Promise.reject(e); } }, }, { key: "remap", value: function (e) { var t = { requests: [] }; if (e && Object.keys(e).length) { Object.keys(e).forEach(function (n) { var r = { target: e[n] }; t.requests.push({ method: "put", headers: { "X-Feature-Override": "NoNotifications,NoModificationDateUpdate", "If-Match": "*" }, body: { "x-request-id": "", id: n.split("/").pop(), content: (0, s.updateCoordinates)(r, void 0, !0) }, }); }); var n = "sync/collections/".concat(this.id, ":aec/entities/"); return i.default.instance.request(this.id, "asset.batchRemap", n, "POST", t, {}, { useNodeIndex: this.useNodeIndex, validNodes: this.validNodes }); } return Promise.reject("Invalid remap data"); }, }, { key: "batchCommentMetadataUpdate", value: function (e) { var t = arguments.length > 1 && void 0 !== arguments[1] && arguments[1]; if (e) { if (1 === Object.keys(e).length) { var n = Object.keys(e)[0]; return i.default.instance.request( this.id, "annotation.updateMetadata", "".concat(n, "/metadata?recursive=").concat(t), "PUT", { annotId: n, read: e[n].read }, { "If-Match": "*" }, { useNodeIndex: this.useNodeIndex, validNodes: this.validNodes } ); } if (Object.keys(e).length > 1) { var r = { requests: [] }; Object.keys(e).forEach(function (t) { r.requests.push({ method: "put", headers: { "X-Feature-Override": "NoNotifications,NoModificationDateUpdate", "If-Match": "*" }, body: { "x-request-id": "", id: t.split("/").pop(), content: { annotId: t, read: e[t].read } }, }); }); var o = "sync/collections/".concat(this.id, ":umec/entities/"); return i.default.instance.request(this.id, "asset.batchUpdateMetadata", o, "POST", r, {}, { useNodeIndex: this.useNodeIndex, validNodes: this.validNodes }); } } return Promise.reject("Invalid batch metadata"); }, }, ]), (o = [ { key: "getInstance", value: function (e) { var t = e.id; return (m[t] && (0, a.default)(m[t].config, e)) || (m[t] && m[t].instance.disableUpdates(), (m[t] = { instance: new y(e), config: e })), m[t].instance; }, }, { key: "removeInstance", value: function (e) { m[e] && (m[e].instance.disableUpdates(), delete m[e]); }, }, ]), n && l(t.prototype, n), o && l(t, o), Object.defineProperty(t, "prototype", { writable: !1 }), y ); })(o.EventEmitter2); t.default = h; }, 89085: (e, t, n) => { "use strict"; function r(e) { return ( (r = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (e) { return typeof e; } : function (e) { return e && "function" == typeof Symbol && e.constructor === Symbol && e !== Symbol.prototype ? "symbol" : typeof e; }), r(e) ); } Object.defineProperty(t, "__esModule", { value: !0 }), (t.default = void 0); var o = n(52839), a = n(8888), i = u(n(97740)), s = u(n(82862)), c = u(n(17683)), l = u(n(76446)); function u(e) { return e && e.__esModule ? e : { default: e }; } function d(e, t) { for (var n = 0; n < t.length; n++) { var r = t[n]; (r.enumerable = r.enumerable || !1), (r.configurable = !0), "value" in r && (r.writable = !0), Object.defineProperty(e, r.key, r); } } function p(e, t, n) { return t && d(e.prototype, t), n && d(e, n), Object.defineProperty(e, "prototype", { writable: !1 }), e; } function f(e, t) { if (!(e instanceof t)) throw new TypeError("Cannot call a class as a function"); } function m(e) { var t = "function" == typeof Map ? new Map() : void 0; return ( (m = function (e) { if (null === e || ((n = e), -1 === Function.toString.call(n).indexOf("[native code]"))) return e; var n; if ("function" != typeof e) throw new TypeError("Super expression must either be null or a function"); if (void 0 !== t) { if (t.has(e)) return t.get(e); t.set(e, r); } function r() { return h(e, arguments, g(this).constructor); } return (r.prototype = Object.create(e.prototype, { constructor: { value: r, enumerable: !1, writable: !0, configurable: !0 } })), y(r, e); }), m(e) ); } function h(e, t, n) { return ( (h = v() ? Reflect.construct.bind() : function (e, t, n) { var r = [null]; r.push.apply(r, t); var o = new (Function.bind.apply(e, r))(); return n && y(o, n.prototype), o; }), h.apply(null, arguments) ); } function v() { if ("undefined" == typeof Reflect || !Reflect.construct) return !1; if (Reflect.construct.sham) return !1; if ("function" == typeof Proxy) return !0; try { return Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})), !0; } catch (e) { return !1; } } function y(e, t) { return ( (y = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function (e, t) { return (e.__proto__ = t), e; }), y(e, t) ); } function g(e) { return ( (g = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function (e) { return e.__proto__ || Object.getPrototypeOf(e); }), g(e) ); } var b = Symbol("client"), E = Symbol("client-enforcer"), D = 'application/ld+json; profile="https://www.w3.org/ns/anno.jsonld"', C = 'application/json; profile="https://comments.adobe.io/schemas/bulk_entity_v1.json"', w = 'application/vnd.adobe.dc+json;profile="https://comments.adobe.io/schemas/annots_metadata.jsonld"', S = (function (e) { !(function (e, t) { if ("function" != typeof t && null !== t) throw new TypeError("Super expression must either be null or a function"); (e.prototype = Object.create(t && t.prototype, { constructor: { value: e, writable: !0, configurable: !0 } })), Object.defineProperty(e, "prototype", { writable: !1 }), t && y(e, t); })(a, e); var t, n, o = ((t = a), (n = v()), function () { var e, o = g(t); if (n) { var a = g(this).constructor; e = Reflect.construct(o, arguments, a); } else e = o.apply(this, arguments); return (function (e, t) { if (t && ("object" === r(t) || "function" == typeof t)) return t; if (void 0 !== t) throw new TypeError("Derived constructors may only return object or undefined"); return (function (e) { if (void 0 === e) throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); return e; })(e); })(this, e); }); function a(e, t) { var n; return f(this, a), ((n = o.call(this, e)).status = t), n; } return p(a); })(m(Error)), A = (function () { function e(t) { if ( (f(this, e), (this.appKey = ""), (this.appName = ""), (this.commentsApiUrl = ""), (this.disableGetAuthorization = !1), (this.environment = "dev"), (this.fetchInProgressMap = { "asset.get": {}, "asset.getMetadata": {} }), (this.invitationServiceAccessToken = ""), (this.token = ""), (this.userId = ""), t !== E) ) throw new Error("Cannot create singleton"); } return ( p( e, [ { key: "configure", value: function (e) { var t = e.appKey, n = void 0 === t ? "" : t, r = e.appName, o = void 0 === r ? "" : r, a = e.disableGetAuthorization, i = void 0 !== a && a, s = e.environment, c = void 0 === s ? "dev" : s, l = e.invitationServiceAccessToken, u = void 0 === l ? "" : l, d = e.token, p = void 0 === d ? "" : d, f = e.userId, m = void 0 === f ? "" : f; (this.appKey = n), (this.appName = o), (this.disableGetAuthorization = i), (this.environment = c), (this.invitationServiceAccessToken = u), (this.token = p), (this.userId = m), this.environment.startsWith("st") ? (this.commentsApiUrl = "https://comments-stage.adobe.io/") : this.environment.startsWith("pr") ? (this.commentsApiUrl = "https://comments.adobe.io/") : (this.commentsApiUrl = "https://comments-dev.adobe.io/"); }, }, { key: "_transformResponse", value: function (e, t, n) { var r = t.data, o = t.headers, u = null; if (!r.type) { if (r.responses && r.responses.length) { var d = r.responses; return ( (u = {}), d.forEach(function (t) { var r = t.body.id; if (200 === t.status) { var s = t.body.content.annotId; e.includes(a.OPERATIONS.BATCH_UPDATE_COMMENT) ? (u[r] = new i.default(t.body.content, n)) : e.includes(a.OPERATIONS.BATCH_UPDATE_COMMENT_METADATA) && (u[s.toLowerCase()] = new c.default(t.body.content, o, n)); } else u[r] = t.body.msg; }), u ); } if (e.includes(a.OPERATIONS.FETCH_COMMENT_METADATA)) return new l.default(r); if (e.includes(a.OPERATIONS.UPDATE_COMMENT_METADATA)) { u = {}; var p = new c.default(r); return (u[p.id.toLowerCase()] = p), u; } throw new Error("unknown result type"); } switch (r.type) { case "AnnotationCollection": return (u = new s.default(r, o, n)); case "Annotation": return (u = new i.default(r, n)); default: throw new Error("unknown result type"); } }, }, { key: "request", value: function (e, t, n, r, o, a, i) { var s, c = this; return (null !== (s = this.fetchInProgressMap[t]) && void 0 !== s && s[e] ? this.fetchInProgressMap[t][e] : this.fetch(e, t, n, r, o, a)) .then(function (e) { return e ? (e.data ? c._transformResponse(n, e, i) : e) : null; }) .catch(function (e) { return Promise.reject(e); }); }, }, { key: "formatAuthorizationToken", value: function () { return this.token ? (this.token.includes("Bearer ") ? this.token : "Bearer ".concat(this.token)) : ""; }, }, { key: "joinPath", value: function (e, t) { return e && e.endsWith("/") ? (t.startsWith("/") ? "".concat(e).concat(t.substring(1)) : "".concat(e).concat(t)) : t.startsWith("/") ? "".concat(e).concat(t) : "".concat(e, "/").concat(t); }, }, { key: "fetch", value: (function (e) { function t(t, n, r, o, a) { return e.apply(this, arguments); } return ( (t.toString = function () { return e.toString(); }), t ); })(function (e, t, n, r, a) { var i = this, s = arguments.length > 5 && void 0 !== arguments[5] ? arguments[5] : {}, c = { "x-ccx-workflow": !0 }; if ( ("asset.batchRemap" === t || "asset.batchUpdateMetadata" === t ? ((c["Content-Type"] = C), (c.Accept = C)) : "asset.getMetadata" === t ? (c.Accept = 'application/vnd.adobe.dc+json; profile="https://comments.adobe.io/schemas/user_comment_metadata_result_v1.json"') : "annotation.updateMetadata" === t ? ((c["Content-Type"] = w), (c.Accept = w)) : ((c["Content-Type"] = D), (c.Accept = n.indexOf("annots/acl") > -1 ? 'application/vnd.adobe.dc+json;profile="https://comments.acrobat.com/schemas/acl_v1.json"' : D), (c.Prefer = 'return=representation;include="https://www.w3.org/ns/oa#PreferContainedDescriptions"')), this.token && (c.Authorization = this.formatAuthorizationToken()), "asset.get" === t && this.disableGetAuthorization && (c.Authorization = null), s["If-None-Match"] ? (c["If-None-Match"] = s["If-None-Match"]) : s["If-Match"] && (c["If-Match"] = s["If-Match"]), s.Accept && (c.Accept = s.Accept), s["Content-Type"] && (c["Content-Type"] = s["Content-Type"]), this.appKey && ((c["x-api-key"] = this.appKey), (c["x-mentions"] = !0)), this.appName && (c["x-api-app-info"] = this.appName), "string" != typeof r) ) throw new Error("method must be defined"); if ("GET" !== r && !this.token) throw new Error("Authorization not configured. Please set the bearer token before calling this method."); this.invitationServiceAccessToken && ((c["X-Access-Token"] = this.invitationServiceAccessToken), (c["X-Feature-Override"] = "ValidateCapabilitiesPassword")); var l = (0, o.v4)(); c["x-request-id"] = s["x-request-id"] || l; var u = fetch(this.joinPath(this.commentsApiUrl, n), { method: r, headers: c, body: a ? JSON.stringify(a) : void 0, keepalive: "annotation.updateMetadata" === t || "asset.batchUpdateMetadata" === t }) .then(function (e) { return (function (e) { if (e.status >= 200 && e.status < 300) return e; var t = e.headers.get("x-request-id"); throw new S("".concat(e.status, " - ").concat(e.statusText, " x-request-id [").concat(t, "] on URL [").concat(e.url, "]"), e.status); })(e); }) .then(function (e) { return ( (n = (t = e).headers.get("ETag")), (r = t.headers.get("Retry-After")), (o = t.headers.get("Link")), new Promise(function (e, a) { [204, 208, 304, 429].indexOf(t.status) > -1 ? t .text() .then(function () { e({ retryAfter: r }); }) .catch(function () { return a(); }) : t .json() .then(function (t) { e({ data: t, headers: { etag: n, retryAfter: r, link: o } }); }) .catch(function () { return a(); }); }) ); var t, n, r, o; }) .catch(function (e) { return (e.message = "".concat(e.message, " - x-request-id [").concat(l, "]")), Promise.reject(e); }) .finally(function () { i.fetchInProgressMap[t] && delete i.fetchInProgressMap[t][e]; }); return this.fetchInProgressMap[t] && (this.fetchInProgressMap[t][e] = u), u; }), }, { key: "createAnonymousSession", value: function (e, t) { var n = (0, o.v4)(), r = { "Content-Type": 'application/vnd.adobe.dc+json;profile="https://comments.acrobat.com/schemas/anon_session_req_v1.json"', Accept: 'application/vnd.adobe.dc+json;profile="https://comments.acrobat.com/schemas/anon_session_res_v1.json"', "x-request-id": n, }; this.appKey && (r["x-api-key"] = this.appKey), this.appName && (r["x-api-app-info"] = this.appName), t && ((r.Authorization = this.formatAuthorizationToken()), delete e.userName); var a = "".concat(this.commentsApiUrl).concat(t ? "refresh_anonymous_session" : "create_anonymous_session"); if (!e || (!e.userName && !t)) throw new Error("Guest username not provided. Please provide a username before calling this method."); if (!e.captchaSiteKey) throw new Error("reCaptcha site key not provided. Please provide a reCaptcha site key before calling this method."); if (!e.captchaResponseCode) throw new Error("reCaptcha response code not provided. Please provide a reCaptcha response code before calling this method."); var i = function (e) { return new Promise(function (t, r) { if (201 === e.status) e.json() .then(function (n) { n.ticket && n.id ? t({ token: "AnonBearer ".concat(n.ticket), id: n.id, expires: e.headers.get("expires") }) : r(new Error("missing data.ticket or data.id")); }) .catch(function () { return r(); }); else { var o = e.statusText ? "".concat(e.status, " - ").concat(e.statusText, " x-request-id [").concat(n, "] on URL [").concat(e.url, "]") : e; r(new S(o, e.status)); } }); }; return fetch(a, { method: "POST", headers: r, body: JSON.stringify(e) }) .then(i) .catch(i); }, }, ], [ { key: "instance", get: function () { return this[b] || (this[b] = new e(E)), this[b]; }, }, ] ), e ); })(); t.default = A; }, 8888: (e, t, n) => { "use strict"; Object.defineProperty(t, "__esModule", { value: !0 }), (t.STATUS = t.OPERATIONS = t.MOTIVATIONS = void 0), (t.getCommentPayload = function (e, t, n, r, o, a, i, s) { var c = { "@context": ["https://www.w3.org/ns/anno.jsonld", "https://comments.acrobat.com/ns/anno.jsonld"], type: "Annotation", bodyValue: t, motivation: a, target: { source: e } }; return o && (c.mentions = o), d(n) && (p(c, n, s, !(null == r || !r["3dData"])), r && v(c, r, !1), i && (c = h(c, r, i))), c; }), (t.setTargetNode = p), (t.updateCoordinates = v), (t.updateMediaData = h); var r = i(n(57305)), o = i(n(56155)), a = i(n(89085)); function i(e) { return e && e.__esModule ? e : { default: e }; } function s(e, t) { var n = Object.keys(e); if (Object.getOwnPropertySymbols) { var r = Object.getOwnPropertySymbols(e); t && (r = r.filter(function (t) { return Object.getOwnPropertyDescriptor(e, t).enumerable; })), n.push.apply(n, r); } return n; } function c(e) { for (var t = 1; t < arguments.length; t++) { var n = null != arguments[t] ? arguments[t] : {}; t % 2 ? s(Object(n), !0).forEach(function (t) { l(e, t, n[t]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : s(Object(n)).forEach(function (t) { Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t)); }); } return e; } function l(e, t, n) { return t in e ? Object.defineProperty(e, t, { value: n, enumerable: !0, configurable: !0, writable: !0 }) : (e[t] = n), e; } var u = { COMMENT: "commenting", REPLY: "replying" }; (t.MOTIVATIONS = u), (t.STATUS = { OPEN: "open", RESOLVED: "resolved" }), (t.OPERATIONS = { FETCH_COMMENT_METADATA: "fetch_user_comment_metadata", UPDATE_COMMENT_METADATA: "metadata", BATCH_UPDATE_COMMENT_METADATA: ":umec/entities/", BATCH_UPDATE_COMMENT: ":aec/entities/" }); var d = function (e) { return null != e; }; function p(e, t, n, r) { if (d(t) && e) { var o = {}; n ? (o.index = t) : (o.id = t), (e.target = r ? { selector: { type: "AdobeMultiDimensionSelector", subtype: "note", node: o } } : { selector: { type: "AdobeAnnoSelector", subtype: "node", node: o } }); } return e; } function f(e) { var t = []; return ( e.inkList.forEach(function (e) { if (e.length) { var n = []; e.forEach(function (e) { n.push(e.x, e.y); }), t.push(n); } }), t ); } function m(e) { var t = []; return ( e.inkList.forEach(function (e) { if (e.length) { var n = e.reduce(function (e, t) { return e.concat(t.x, t.y); }, []); t = t.concat(n); } }), t ); } function h(e, t, n) { var r = (0, o.default)(e), a = { type: "AdobeTemporalSelector", unit: n.unit || "frame", frameRateRatio: { num: 3e4, denom: 1001 }, start: n.frameRange.start, end: n.frameRange.end }; return t && (r.target.selector.refinedBy = a), r; } function v(e, t, n) { if (n) { if (e.motivation === u.REPLY) return e; var i = (0, r.default)(e, "target.selector.subtype"), s = (0, r.default)(e, "target.selector.sectionId"); if ("highlight" === i || "replace" === i || "strikethrough" === i) delete e.target.selector.inkList, "strikethrough" === i && (e.target.selector.subtype = "strikeout"), s && ((e.target.selector.refinedBy = { type: "AdobeDynamicViewSelector", startStructId: s }), delete e.target.selector.sectionId); else if ("shape" === i) (e.target.selector.inkList = f(e.target.selector)), s && ((e.target.selector.refinedBy = { type: "AdobeDynamicViewSelector", startStructId: s }), delete e.target.selector.sectionId); else if ("note" === i) if (s) { var l = (0, r.default)(e, "target.selector.noteX"), d = (0, r.default)(e, "target.selector.noteY"); (e.target.selector.refinedBy = { type: "AdobeDynamicViewSelector", leftOffset: l, topOffset: d, startStructId: s }), delete e.target.selector.noteX, delete e.target.selector.noteY, delete e.target.selector.sectionId; } else (0, r.default)(e, "target.selector.pinModelRootPosition") ? delete e.target.selector.subtype : (e.target.selector.refinedBy = null); if ( ((0, r.default)(e, "target.selector.node.clientAddedNode") && (delete e.target.selector.node.clientAddedNode, -1 === e.creator.id.indexOf(a.default.instance.userId) && delete e.target.selector), (0, r.default)(e, "target.selector.node.clientAdjustedIndexToId")) ) { var p = e.target.selector.node.id; if ( ((e.target.selector.node.index = p), delete e.target.selector.node.id, delete e.target.selector.node.clientAdjustedIndexToId, ("highlight" === i || "replace" === i || "strikethrough" === i) && e.target.selector.node.indices && e.target.selector.node.indices.length) ) { var h = (0, o.default)(e.target.selector.node.indices); e.target.selector.node.indices = h.map(function (e) { return (e.index = p), e; }); } } } if (t) if ("highlight" === t.subtype || "strikethrough" === t.subtype) (e.target.selector = Object.assign({}, e.target.selector, { subtype: "highlight" === t.subtype ? "highlight" : "strikeout", opacity: t.opacity || 0.4, strokeColor: t.strokeColor || "#000000", boundingBox: t.boundingBox })), (e.target.selector.quadPoints = m(t)), t.sectionId && (e.target.selector.refinedBy = { type: "AdobeDynamicViewSelector", startStructId: t.sectionId }); else if ("replace" === t.subtype) (e.target.selector = Object.assign({}, e.target.selector, { subtype: "replace", opacity: t.opacity || 0.4, strokeColor: t.strokeColor || "#000000", boundingBox: t.boundingBox, rect: t.boundingBox })), (e.target.selector.quadPoints = m(t)), t.sectionId && (e.target.selector.refinedBy = { type: "AdobeDynamicViewSelector", startStructId: t.sectionId }); else if ("shape" === t.subtype) (e.target.selector = Object.assign({}, e.target.selector, { subtype: "shape", opacity: t.opacity || 1, strokeWidth: t.strokeWidth || 5, strokeColor: t.strokeColor || "#000000", boundingBox: t.boundingBox })), (e.target.selector.inkList = f(t)), t.sectionId && (e.target.selector.refinedBy = { type: "AdobeDynamicViewSelector", startStructId: t.sectionId }); else if ("insert" === t.subtype) e.target.selector = Object.assign({}, e.target.selector, { subtype: "insert", boundingBox: t.boundingBox, rect: t.boundingBox, strokeColor: t.strokeColor || "#000000", noteX: t.noteX, noteY: t.noteY }); else { var v = t["3dData"]; (e.target.selector.subtype = "note"), null != v && v.pinModelRootPosition ? ((e.target.selector.subtype = void 0), (e.target.selector = Object.assign({}, e.target.selector, c(c({}, v), {}, { "3dContext": "PIN" })))) : t.sectionId ? ((e.target.selector.refinedBy = { type: "AdobeDynamicViewSelector", leftOffset: t.noteX, topOffset: t.noteY, startStructId: t.sectionId }), (e.target.selector.strokeColor = t.strokeColor)) : ((e.target.selector.noteX = t.noteX), (e.target.selector.noteY = t.noteY), (e.target.selector.strokeColor = t.strokeColor)); } return e; } }, 19212: (e, t, n) => { "use strict"; Object.defineProperty(t, "q6", { enumerable: !0, get: function () { return a.default; }, }), Object.defineProperty(t, "xR", { enumerable: !0, get: function () { return o.default; }, }), Object.defineProperty(t, "KU", { enumerable: !0, get: function () { return r.default; }, }); var r = i(n(89085)), o = i(n(27357)), a = i(n(54920)); function i(e) { return e && e.__esModule ? e : { default: e }; } }, 97740: (e, t, n) => { "use strict"; Object.defineProperty(t, "__esModule", { value: !0 }), (t.default = void 0); var r = i(n(57305)), o = i(n(43235)), a = i(n(89085)); function i(e) { return e && e.__esModule ? e : { default: e }; } function s(e, t) { for (var n = 0; n < t.length; n++) { var r = t[n]; (r.enumerable = r.enumerable || !1), (r.configurable = !0), "value" in r && (r.writable = !0), Object.defineProperty(e, r.key, r); } } function c(e, t, n) { return t && s(e.prototype, t), n && s(e, n), Object.defineProperty(e, "prototype", { writable: !1 }), e; } var l = c(function e() { var t = arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : {}, n = arguments.length > 1 && void 0 !== arguments[1] ? arguments[1] : {}, i = n.useNodeIndex, s = n.validNodes; if ( ((function (e, t) { if (!(e instanceof t)) throw new TypeError("Cannot call a class as a function"); })(this, e), (this["@context"] = t["@context"]), (this.type = t.type), (this.id = t.id), (this.bodyValue = t.bodyValue), (this.motivation = t.motivation), (this.target = t.target), (this.creator = t.creator), (this.created = t.created), (this.modified = t.modified), (this.status = t.status), (this.etag = t.etag), (this.mentions = t.mentions), t.url && (this.url = t.url), "replying" !== this.motivation) ) { var c, l, u, d, p, f, m; if (s && s.length) { var h = (0, r.default)(this, "target.selector.node.id"), v = (0, r.default)(this, "target.selector.node.index"); if (void 0 === h && void 0 === v) { var y = { clientAddedNode: !0 }; i ? (y.index = 0) : (y.id = (0, r.default)(a.default, "instance.validNodes[0].id")), (this.target = (0, o.default)(this.target, { selector: { node: y, subtype: "node", type: "AdobeAnnoSelector" } })); } } if ( (void 0 !== (0, r.default)(this.target, "selector.node.index") && ((this.target.selector.node.id = (0, r.default)(this.target, "selector.node.index")), (this.target.selector.node.clientAdjustedIndexToId = !0)), null !== (c = this.target) && void 0 !== c && null !== (l = c.selector) && void 0 !== l && l.refinedBy && "AdobeTemporalSelector" !== this.target.selector.refinedBy.type && ((this.target.selector.noteX = this.target.selector.refinedBy.leftOffset), (this.target.selector.noteY = this.target.selector.refinedBy.topOffset), (this.target.selector.sectionId = this.target.selector.refinedBy.startStructId), delete this.target.selector.refinedBy), "shape" === (null === (u = this.target) || void 0 === u || null === (d = u.selector) || void 0 === d ? void 0 : d.subtype)) ) { var g = []; this.target.selector.inkList.forEach(function (e) { if (e.length) { for (var t = [], n = 0; n < e.length; n += 2) t.push({ x: e[n], y: e[n + 1] }); g.push(t); } }), (this.target.selector.inkList = g); } else if (null !== (p = this.target) && void 0 !== p && null !== (f = p.selector) && void 0 !== f && f.pinModelRootPosition) this.target.selector.subtype = "note"; else if (null !== (m = this.target) && void 0 !== m && m.selector && ("highlight" === this.target.selector.subtype || "replace" === this.target.selector.subtype || "strikeout" === this.target.selector.subtype)) { var b = this.target.selector.quadPoints, E = []; if (b && b.length) { for (var D = 0; D < b.length; D += 8) { var C = []; C.push({ x: b[D], y: b[D + 1] }), C.push({ x: b[D + 2], y: b[D + 3] }), C.push({ x: b[D + 4], y: b[D + 5] }), C.push({ x: b[D + 6], y: b[D + 7] }), E.push(C); } (this.target.selector.inkList = E), "strikeout" === this.target.selector.subtype && (this.target.selector.subtype = "strikethrough"); } } } }); t.default = l; }, 82862: (e, t, n) => { "use strict"; Object.defineProperty(t, "__esModule", { value: !0 }), (t.default = void 0); var r = a(n(97740)), o = a(n(22344)); function a(e) { return e && e.__esModule ? e : { default: e }; } function i(e, t) { for (var n = 0; n < t.length; n++) { var r = t[n]; (r.enumerable = r.enumerable || !1), (r.configurable = !0), "value" in r && (r.writable = !0), Object.defineProperty(e, r.key, r); } } function s(e, t, n) { return t && i(e.prototype, t), n && i(e, n), Object.defineProperty(e, "prototype", { writable: !1 }), e; } var c = s(function e() { var t = arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : {}, n = arguments.length > 1 && void 0 !== arguments[1] ? arguments[1] : {}, a = arguments.length > 2 && void 0 !== arguments[2] ? arguments[2] : {}; !(function (e, t) { if (!(e instanceof t)) throw new TypeError("Cannot call a class as a function"); })(this, e), (this.type = t.type), (this.id = t.id), (this.count = t.total), (this.annotations = t.first.items.map(function (e) { return new r.default(e, a); })), (this.etag = n.etag), (this.retryAfter = n.retryAfter); var i = t["adobe:annotCollectionMetadata"] && t["adobe:annotCollectionMetadata"]["adobe:userInfo"]; if (i) { var s = []; Object.keys(i).forEach(function (e) { s.push(new o.default(i[e], e)); }), (this.commenters = s); } }); t.default = c; }, 17683: (e, t) => { "use strict"; function n(e, t) { for (var n = 0; n < t.length; n++) { var r = t[n]; (r.enumerable = r.enumerable || !1), (r.configurable = !0), "value" in r && (r.writable = !0), Object.defineProperty(e, r.key, r); } } function r(e, t, r) { return t && n(e.prototype, t), r && n(e, r), Object.defineProperty(e, "prototype", { writable: !1 }), e; } Object.defineProperty(t, "__esModule", { value: !0 }), (t.default = void 0); var o = r(function e() { var t = arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : {}; !(function (e, t) { if (!(e instanceof t)) throw new TypeError("Cannot call a class as a function"); })(this, e), (this.id = t.annotId.toLowerCase()), (this.read = t.read), (this.etag = t.etag), (this.creationId = t.creationId), (this.requestId = t["x-request-id"]); }); t.default = o; }, 76446: (e, t, n) => { "use strict"; Object.defineProperty(t, "__esModule", { value: !0 }), (t.default = void 0); var r, o = (r = n(17683)) && r.__esModule ? r : { default: r }; function a(e, t) { for (var n = 0; n < t.length; n++) { var r = t[n]; (r.enumerable = r.enumerable || !1), (r.configurable = !0), "value" in r && (r.writable = !0), Object.defineProperty(e, r.key, r); } } function i(e, t, n) { return t && a(e.prototype, t), n && a(e, n), Object.defineProperty(e, "prototype", { writable: !1 }), e; } var s = i(function e() { var t = arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : {}; !(function (e, t) { if (!(e instanceof t)) throw new TypeError("Cannot call a class as a function"); })(this, e); var n = {}; t .map(function (e) { return new o.default(e); }) .forEach(function (e) { n[e.id.toLowerCase()] = e; }), (this.metadataCollection = n); }); t.default = s; }, 22344: (e, t) => { "use strict"; function n(e, t) { for (var n = 0; n < t.length; n++) { var r = t[n]; (r.enumerable = r.enumerable || !1), (r.configurable = !0), "value" in r && (r.writable = !0), Object.defineProperty(e, r.key, r); } } function r(e, t, r) { return t && n(e.prototype, t), r && n(e, r), Object.defineProperty(e, "prototype", { writable: !1 }), e; } Object.defineProperty(t, "__esModule", { value: !0 }), (t.default = void 0); var o = r(function e() { var t = arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : {}, n = arguments.length > 1 && void 0 !== arguments[1] ? arguments[1] : ""; !(function (e, t) { if (!(e instanceof t)) throw new TypeError("Cannot call a class as a function"); })(this, e), (this.id = n), (this.type = t.type), (this.name = t.name), (this.email = t.email), (this.isGuest = !t.email || "None" === t.email); }); t.default = o; }, 92682: (e, t, n) => { var r; !(function (o) { var a = Array.isArray ? Array.isArray : function (e) { return "[object Array]" === Object.prototype.toString.call(e); }, i = 10; function s() { (this._events = {}), this._conf && c.call(this, this._conf); } function c(e) { e ? ((this._conf = e), e.delimiter && (this.delimiter = e.delimiter), (this._events.maxListeners = e.maxListeners !== o ? e.maxListeners : i), e.wildcard && (this.wildcard = e.wildcard), e.newListener && (this.newListener = e.newListener), e.verboseMemoryLeak && (this.verboseMemoryLeak = e.verboseMemoryLeak), this.wildcard && (this.listenerTree = {})) : (this._events.maxListeners = i); } function l(e, t) { var n = "(node) warning: possible EventEmitter memory leak detected. %d listeners added. Use emitter.setMaxListeners() to increase limit."; this.verboseMemoryLeak ? ((n += " Event name: %s."), console.error(n, e, t)) : console.error(n, e), console.trace && console.trace(); } function u(e) { (this._events = {}), (this.newListener = !1), (this.verboseMemoryLeak = !1), c.call(this, e); } function d(e, t, n, r) { if (!n) return []; var o, a, i, s, c, l, u, p = [], f = t.length, m = t[r], h = t[r + 1]; if (r === f && n._listeners) { if ("function" == typeof n._listeners) return e && e.push(n._listeners), [n]; for (o = 0, a = n._listeners.length; o < a; o++) e && e.push(n._listeners[o]); return [n]; } if ("*" === m || "**" === m || n[m]) { if ("*" === m) { for (i in n) "_listeners" !== i && n.hasOwnProperty(i) && (p = p.concat(d(e, t, n[i], r + 1))); return p; } if ("**" === m) { for (i in ((u = r + 1 === f || (r + 2 === f && "*" === h)) && n._listeners && (p = p.concat(d(e, t, n, f))), n)) "_listeners" !== i && n.hasOwnProperty(i) && ("*" === i || "**" === i ? (n[i]._listeners && !u && (p = p.concat(d(e, t, n[i], f))), (p = p.concat(d(e, t, n[i], r)))) : (p = i === h ? p.concat(d(e, t, n[i], r + 2)) : p.concat(d(e, t, n[i], r)))); return p; } p = p.concat(d(e, t, n[m], r + 1)); } if (((s = n["*"]) && d(e, t, s, r + 1), (c = n["**"]))) if (r < f) for (i in (c._listeners && d(e, t, c, f), c)) "_listeners" !== i && c.hasOwnProperty(i) && (i === h ? d(e, t, c[i], r + 2) : i === m ? d(e, t, c[i], r + 1) : (((l = {})[i] = c[i]), d(e, t, { "**": l }, r + 1))); else c._listeners ? d(e, t, c, f) : c["*"] && c["*"]._listeners && d(e, t, c["*"], f); return p; } function p(e, t) { for (var n = 0, r = (e = "string" == typeof e ? e.split(this.delimiter) : e.slice()).length; n + 1 < r; n++) if ("**" === e[n] && "**" === e[n + 1]) return; for (var a = this.listenerTree, i = e.shift(); i !== o; ) { if ((a[i] || (a[i] = {}), (a = a[i]), 0 === e.length)) return ( a._listeners ? ("function" == typeof a._listeners && (a._listeners = [a._listeners]), a._listeners.push(t), !a._listeners.warned && this._events.maxListeners > 0 && a._listeners.length > this._events.maxListeners && ((a._listeners.warned = !0), l.call(this, a._listeners.length, i))) : (a._listeners = t), !0 ); i = e.shift(); } return !0; } (u.EventEmitter2 = u), (u.prototype.delimiter = "."), (u.prototype.setMaxListeners = function (e) { e !== o && (this._events || s.call(this), (this._events.maxListeners = e), this._conf || (this._conf = {}), (this._conf.maxListeners = e)); }), (u.prototype.event = ""), (u.prototype.once = function (e, t) { return this.many(e, 1, t), this; }), (u.prototype.many = function (e, t, n) { var r = this; if ("function" != typeof n) throw new Error("many only accepts instances of Function"); function o() { 0 == --t && r.off(e, o), n.apply(this, arguments); } return (o._origin = n), this.on(e, o), r; }), (u.prototype.emit = function () { this._events || s.call(this); var e = arguments[0]; if ("newListener" === e && !this.newListener && !this._events.newListener) return !1; var t, n, r, o, a, i = arguments.length; if (this._all && this._all.length) { if (((a = this._all.slice()), i > 3)) for (t = new Array(i), o = 0; o < i; o++) t[o] = arguments[o]; for (r = 0, n = a.length; r < n; r++) switch (((this.event = e), i)) { case 1: a[r].call(this, e); break; case 2: a[r].call(this, e, arguments[1]); break; case 3: a[r].call(this, e, arguments[1], arguments[2]); break; default: a[r].apply(this, t); } } if (this.wildcard) { a = []; var c = "string" == typeof e ? e.split(this.delimiter) : e.slice(); d.call(this, a, c, this.listenerTree, 0); } else { if ("function" == typeof (a = this._events[e])) { switch (((this.event = e), i)) { case 1: a.call(this); break; case 2: a.call(this, arguments[1]); break; case 3: a.call(this, arguments[1], arguments[2]); break; default: for (t = new Array(i - 1), o = 1; o < i; o++) t[o - 1] = arguments[o]; a.apply(this, t); } return !0; } a && (a = a.slice()); } if (a && a.length) { if (i > 3) for (t = new Array(i - 1), o = 1; o < i; o++) t[o - 1] = arguments[o]; for (r = 0, n = a.length; r < n; r++) switch (((this.event = e), i)) { case 1: a[r].call(this); break; case 2: a[r].call(this, arguments[1]); break; case 3: a[r].call(this, arguments[1], arguments[2]); break; default: a[r].apply(this, t); } return !0; } if (!this._all && "error" === e) throw arguments[1] instanceof Error ? arguments[1] : new Error("Uncaught, unspecified 'error' event."); return !!this._all; }), (u.prototype.emitAsync = function () { this._events || s.call(this); var e = arguments[0]; if ("newListener" === e && !this.newListener && !this._events.newListener) return Promise.resolve([!1]); var t, n, r, o, a, i = [], c = arguments.length; if (this._all) { if (c > 3) for (t = new Array(c), o = 1; o < c; o++) t[o] = arguments[o]; for (r = 0, n = this._all.length; r < n; r++) switch (((this.event = e), c)) { case 1: i.push(this._all[r].call(this, e)); break; case 2: i.push(this._all[r].call(this, e, arguments[1])); break; case 3: i.push(this._all[r].call(this, e, arguments[1], arguments[2])); break; default: i.push(this._all[r].apply(this, t)); } } if (this.wildcard) { a = []; var l = "string" == typeof e ? e.split(this.delimiter) : e.slice(); d.call(this, a, l, this.listenerTree, 0); } else a = this._events[e]; if ("function" == typeof a) switch (((this.event = e), c)) { case 1: i.push(a.call(this)); break; case 2: i.push(a.call(this, arguments[1])); break; case 3: i.push(a.call(this, arguments[1], arguments[2])); break; default: for (t = new Array(c - 1), o = 1; o < c; o++) t[o - 1] = arguments[o]; i.push(a.apply(this, t)); } else if (a && a.length) { if (c > 3) for (t = new Array(c - 1), o = 1; o < c; o++) t[o - 1] = arguments[o]; for (r = 0, n = a.length; r < n; r++) switch (((this.event = e), c)) { case 1: i.push(a[r].call(this)); break; case 2: i.push(a[r].call(this, arguments[1])); break; case 3: i.push(a[r].call(this, arguments[1], arguments[2])); break; default: i.push(a[r].apply(this, t)); } } else if (!this._all && "error" === e) return arguments[1] instanceof Error ? Promise.reject(arguments[1]) : Promise.reject("Uncaught, unspecified 'error' event."); return Promise.all(i); }), (u.prototype.on = function (e, t) { if ("function" == typeof e) return this.onAny(e), this; if ("function" != typeof t) throw new Error("on only accepts instances of Function"); return ( this._events || s.call(this), this.emit("newListener", e, t), this.wildcard ? (p.call(this, e, t), this) : (this._events[e] ? ("function" == typeof this._events[e] && (this._events[e] = [this._events[e]]), this._events[e].push(t), !this._events[e].warned && this._events.maxListeners > 0 && this._events[e].length > this._events.maxListeners && ((this._events[e].warned = !0), l.call(this, this._events[e].length, e))) : (this._events[e] = t), this) ); }), (u.prototype.onAny = function (e) { if ("function" != typeof e) throw new Error("onAny only accepts instances of Function"); return this._all || (this._all = []), this._all.push(e), this; }), (u.prototype.addListener = u.prototype.on), (u.prototype.off = function (e, t) { if ("function" != typeof t) throw new Error("removeListener only takes instances of Function"); var n, r = []; if (this.wildcard) { var i = "string" == typeof e ? e.split(this.delimiter) : e.slice(); r = d.call(this, null, i, this.listenerTree, 0); } else { if (!this._events[e]) return this; (n = this._events[e]), r.push({ _listeners: n }); } for (var s = 0; s < r.length; s++) { var c = r[s]; if (((n = c._listeners), a(n))) { for (var l = -1, u = 0, p = n.length; u < p; u++) if (n[u] === t || (n[u].listener && n[u].listener === t) || (n[u]._origin && n[u]._origin === t)) { l = u; break; } if (l < 0) continue; return this.wildcard ? c._listeners.splice(l, 1) : this._events[e].splice(l, 1), 0 === n.length && (this.wildcard ? delete c._listeners : delete this._events[e]), this.emit("removeListener", e, t), this; } (n === t || (n.listener && n.listener === t) || (n._origin && n._origin === t)) && (this.wildcard ? delete c._listeners : delete this._events[e], this.emit("removeListener", e, t)); } return ( (function e(t) { if (t !== o) { var n = Object.keys(t); for (var r in n) { var a = n[r], i = t[a]; i instanceof Function || "object" != typeof i || null === i || (Object.keys(i).length > 0 && e(t[a]), 0 === Object.keys(i).length && delete t[a]); } } })(this.listenerTree), this ); }), (u.prototype.offAny = function (e) { var t, n = 0, r = 0; if (e && this._all && this._all.length > 0) { for (n = 0, r = (t = this._all).length; n < r; n++) if (e === t[n]) return t.splice(n, 1), this.emit("removeListenerAny", e), this; } else { for (n = 0, r = (t = this._all).length; n < r; n++) this.emit("removeListenerAny", t[n]); this._all = []; } return this; }), (u.prototype.removeListener = u.prototype.off), (u.prototype.removeAllListeners = function (e) { if (0 === arguments.length) return !this._events || s.call(this), this; if (this.wildcard) for (var t = "string" == typeof e ? e.split(this.delimiter) : e.slice(), n = d.call(this, null, t, this.listenerTree, 0), r = 0; r < n.length; r++) n[r]._listeners = null; else this._events && (this._events[e] = null); return this; }), (u.prototype.listeners = function (e) { if (this.wildcard) { var t = [], n = "string" == typeof e ? e.split(this.delimiter) : e.slice(); return d.call(this, t, n, this.listenerTree, 0), t; } return this._events || s.call(this), this._events[e] || (this._events[e] = []), a(this._events[e]) || (this._events[e] = [this._events[e]]), this._events[e]; }), (u.prototype.listenerCount = function (e) { return this.listeners(e).length; }), (u.prototype.listenersAny = function () { return this._all ? this._all : []; }), (r = function () { return u; }.call(t, n, t, e)) === o || (e.exports = r); })(); }, 52839: (e, t, n) => { "use strict"; var r; n.r(t), n.d(t, { NIL: () => O, parse: () => v, stringify: () => u, v1: () => h, v3: () => A, v4: () => k, v5: () => I, validate: () => s, version: () => F }); var o = new Uint8Array(16); function a() { if ( !r && !(r = ("undefined" != typeof crypto && crypto.getRandomValues && crypto.getRandomValues.bind(crypto)) || ("undefined" != typeof msCrypto && "function" == typeof msCrypto.getRandomValues && msCrypto.getRandomValues.bind(msCrypto))) ) throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported"); return r(o); } const i = /^(?:[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}|00000000-0000-0000-0000-000000000000)$/i, s = function (e) { return "string" == typeof e && i.test(e); }; for (var c = [], l = 0; l < 256; ++l) c.push((l + 256).toString(16).substr(1)); const u = function (e) { var t = arguments.length > 1 && void 0 !== arguments[1] ? arguments[1] : 0, n = ( c[e[t + 0]] + c[e[t + 1]] + c[e[t + 2]] + c[e[t + 3]] + "-" + c[e[t + 4]] + c[e[t + 5]] + "-" + c[e[t + 6]] + c[e[t + 7]] + "-" + c[e[t + 8]] + c[e[t + 9]] + "-" + c[e[t + 10]] + c[e[t + 11]] + c[e[t + 12]] + c[e[t + 13]] + c[e[t + 14]] + c[e[t + 15]] ).toLowerCase(); if (!s(n)) throw TypeError("Stringified UUID is invalid"); return n; }; var d, p, f = 0, m = 0; const h = function (e, t, n) { var r = (t && n) || 0, o = t || new Array(16), i = (e = e || {}).node || d, s = void 0 !== e.clockseq ? e.clockseq : p; if (null == i || null == s) { var c = e.random || (e.rng || a)(); null == i && (i = d = [1 | c[0], c[1], c[2], c[3], c[4], c[5]]), null == s && (s = p = 16383 & ((c[6] << 8) | c[7])); } var l = void 0 !== e.msecs ? e.msecs : Date.now(), h = void 0 !== e.nsecs ? e.nsecs : m + 1, v = l - f + (h - m) / 1e4; if ((v < 0 && void 0 === e.clockseq && (s = (s + 1) & 16383), (v < 0 || l > f) && void 0 === e.nsecs && (h = 0), h >= 1e4)) throw new Error("uuid.v1(): Can't create more than 10M uuids/sec"); (f = l), (m = h), (p = s); var y = (1e4 * (268435455 & (l += 122192928e5)) + h) % 4294967296; (o[r++] = (y >>> 24) & 255), (o[r++] = (y >>> 16) & 255), (o[r++] = (y >>> 8) & 255), (o[r++] = 255 & y); var g = ((l / 4294967296) * 1e4) & 268435455; (o[r++] = (g >>> 8) & 255), (o[r++] = 255 & g), (o[r++] = ((g >>> 24) & 15) | 16), (o[r++] = (g >>> 16) & 255), (o[r++] = (s >>> 8) | 128), (o[r++] = 255 & s); for (var b = 0; b < 6; ++b) o[r + b] = i[b]; return t || u(o); }, v = function (e) { if (!s(e)) throw TypeError("Invalid UUID"); var t, n = new Uint8Array(16); return ( (n[0] = (t = parseInt(e.slice(0, 8), 16)) >>> 24), (n[1] = (t >>> 16) & 255), (n[2] = (t >>> 8) & 255), (n[3] = 255 & t), (n[4] = (t = parseInt(e.slice(9, 13), 16)) >>> 8), (n[5] = 255 & t), (n[6] = (t = parseInt(e.slice(14, 18), 16)) >>> 8), (n[7] = 255 & t), (n[8] = (t = parseInt(e.slice(19, 23), 16)) >>> 8), (n[9] = 255 & t), (n[10] = ((t = parseInt(e.slice(24, 36), 16)) / 1099511627776) & 255), (n[11] = (t / 4294967296) & 255), (n[12] = (t >>> 24) & 255), (n[13] = (t >>> 16) & 255), (n[14] = (t >>> 8) & 255), (n[15] = 255 & t), n ); }; function y(e, t, n) { function r(e, r, o, a) { if ( ("string" == typeof e && (e = (function (e) { e = unescape(encodeURIComponent(e)); for (var t = [], n = 0; n < e.length; ++n) t.push(e.charCodeAt(n)); return t; })(e)), "string" == typeof r && (r = v(r)), 16 !== r.length) ) throw TypeError("Namespace must be array-like (16 iterable integer values, 0-255)"); var i = new Uint8Array(16 + e.length); if ((i.set(r), i.set(e, r.length), ((i = n(i))[6] = (15 & i[6]) | t), (i[8] = (63 & i[8]) | 128), o)) { a = a || 0; for (var s = 0; s < 16; ++s) o[a + s] = i[s]; return o; } return u(i); } try { r.name = e; } catch (e) {} return (r.DNS = "6ba7b810-9dad-11d1-80b4-00c04fd430c8"), (r.URL = "6ba7b811-9dad-11d1-80b4-00c04fd430c8"), r; } function g(e) { return 14 + (((e + 64) >>> 9) << 4) + 1; } function b(e, t) { var n = (65535 & e) + (65535 & t); return (((e >> 16) + (t >> 16) + (n >> 16)) << 16) | (65535 & n); } function E(e, t, n, r, o, a) { return b(((i = b(b(t, e), b(r, a))) << (s = o)) | (i >>> (32 - s)), n); var i, s; } function D(e, t, n, r, o, a, i) { return E((t & n) | (~t & r), e, t, o, a, i); } function C(e, t, n, r, o, a, i) { return E((t & r) | (n & ~r), e, t, o, a, i); } function w(e, t, n, r, o, a, i) { return E(t ^ n ^ r, e, t, o, a, i); } function S(e, t, n, r, o, a, i) { return E(n ^ (t | ~r), e, t, o, a, i); } const A = y("v3", 48, function (e) { if ("string" == typeof e) { var t = unescape(encodeURIComponent(e)); e = new Uint8Array(t.length); for (var n = 0; n < t.length; ++n) e[n] = t.charCodeAt(n); } return (function (e) { for (var t = [], n = 32 * e.length, r = "0123456789abcdef", o = 0; o < n; o += 8) { var a = (e[o >> 5] >>> o % 32) & 255, i = parseInt(r.charAt((a >>> 4) & 15) + r.charAt(15 & a), 16); t.push(i); } return t; })( (function (e, t) { (e[t >> 5] |= 128 << t % 32), (e[g(t) - 1] = t); for (var n = 1732584193, r = -271733879, o = -1732584194, a = 271733878, i = 0; i < e.length; i += 16) { var s = n, c = r, l = o, u = a; (n = D(n, r, o, a, e[i], 7, -680876936)), (a = D(a, n, r, o, e[i + 1], 12, -389564586)), (o = D(o, a, n, r, e[i + 2], 17, 606105819)), (r = D(r, o, a, n, e[i + 3], 22, -1044525330)), (n = D(n, r, o, a, e[i + 4], 7, -176418897)), (a = D(a, n, r, o, e[i + 5], 12, 1200080426)), (o = D(o, a, n, r, e[i + 6], 17, -1473231341)), (r = D(r, o, a, n, e[i + 7], 22, -45705983)), (n = D(n, r, o, a, e[i + 8], 7, 1770035416)), (a = D(a, n, r, o, e[i + 9], 12, -1958414417)), (o = D(o, a, n, r, e[i + 10], 17, -42063)), (r = D(r, o, a, n, e[i + 11], 22, -1990404162)), (n = D(n, r, o, a, e[i + 12], 7, 1804603682)), (a = D(a, n, r, o, e[i + 13], 12, -40341101)), (o = D(o, a, n, r, e[i + 14], 17, -1502002290)), (n = C(n, (r = D(r, o, a, n, e[i + 15], 22, 1236535329)), o, a, e[i + 1], 5, -165796510)), (a = C(a, n, r, o, e[i + 6], 9, -1069501632)), (o = C(o, a, n, r, e[i + 11], 14, 643717713)), (r = C(r, o, a, n, e[i], 20, -373897302)), (n = C(n, r, o, a, e[i + 5], 5, -701558691)), (a = C(a, n, r, o, e[i + 10], 9, 38016083)), (o = C(o, a, n, r, e[i + 15], 14, -660478335)), (r = C(r, o, a, n, e[i + 4], 20, -405537848)), (n = C(n, r, o, a, e[i + 9], 5, 568446438)), (a = C(a, n, r, o, e[i + 14], 9, -1019803690)), (o = C(o, a, n, r, e[i + 3], 14, -187363961)), (r = C(r, o, a, n, e[i + 8], 20, 1163531501)), (n = C(n, r, o, a, e[i + 13], 5, -1444681467)), (a = C(a, n, r, o, e[i + 2], 9, -51403784)), (o = C(o, a, n, r, e[i + 7], 14, 1735328473)), (n = w(n, (r = C(r, o, a, n, e[i + 12], 20, -1926607734)), o, a, e[i + 5], 4, -378558)), (a = w(a, n, r, o, e[i + 8], 11, -2022574463)), (o = w(o, a, n, r, e[i + 11], 16, 1839030562)), (r = w(r, o, a, n, e[i + 14], 23, -35309556)), (n = w(n, r, o, a, e[i + 1], 4, -1530992060)), (a = w(a, n, r, o, e[i + 4], 11, 1272893353)), (o = w(o, a, n, r, e[i + 7], 16, -155497632)), (r = w(r, o, a, n, e[i + 10], 23, -1094730640)), (n = w(n, r, o, a, e[i + 13], 4, 681279174)), (a = w(a, n, r, o, e[i], 11, -358537222)), (o = w(o, a, n, r, e[i + 3], 16, -722521979)), (r = w(r, o, a, n, e[i + 6], 23, 76029189)), (n = w(n, r, o, a, e[i + 9], 4, -640364487)), (a = w(a, n, r, o, e[i + 12], 11, -421815835)), (o = w(o, a, n, r, e[i + 15], 16, 530742520)), (n = S(n, (r = w(r, o, a, n, e[i + 2], 23, -995338651)), o, a, e[i], 6, -198630844)), (a = S(a, n, r, o, e[i + 7], 10, 1126891415)), (o = S(o, a, n, r, e[i + 14], 15, -1416354905)), (r = S(r, o, a, n, e[i + 5], 21, -57434055)), (n = S(n, r, o, a, e[i + 12], 6, 1700485571)), (a = S(a, n, r, o, e[i + 3], 10, -1894986606)), (o = S(o, a, n, r, e[i + 10], 15, -1051523)), (r = S(r, o, a, n, e[i + 1], 21, -2054922799)), (n = S(n, r, o, a, e[i + 8], 6, 1873313359)), (a = S(a, n, r, o, e[i + 15], 10, -30611744)), (o = S(o, a, n, r, e[i + 6], 15, -1560198380)), (r = S(r, o, a, n, e[i + 13], 21, 1309151649)), (n = S(n, r, o, a, e[i + 4], 6, -145523070)), (a = S(a, n, r, o, e[i + 11], 10, -1120210379)), (o = S(o, a, n, r, e[i + 2], 15, 718787259)), (r = S(r, o, a, n, e[i + 9], 21, -343485551)), (n = b(n, s)), (r = b(r, c)), (o = b(o, l)), (a = b(a, u)); } return [n, r, o, a]; })( (function (e) { if (0 === e.length) return []; for (var t = 8 * e.length, n = new Uint32Array(g(t)), r = 0; r < t; r += 8) n[r >> 5] |= (255 & e[r / 8]) << r % 32; return n; })(e), 8 * e.length ) ); }), k = function (e, t, n) { var r = (e = e || {}).random || (e.rng || a)(); if (((r[6] = (15 & r[6]) | 64), (r[8] = (63 & r[8]) | 128), t)) { n = n || 0; for (var o = 0; o < 16; ++o) t[n + o] = r[o]; return t; } return u(r); }; function _(e, t, n, r) { switch (e) { case 0: return (t & n) ^ (~t & r); case 1: case 3: return t ^ n ^ r; case 2: return (t & n) ^ (t & r) ^ (n & r); } } function T(e, t) { return (e << t) | (e >>> (32 - t)); } const I = y("v5", 80, function (e) { var t = [1518500249, 1859775393, 2400959708, 3395469782], n = [1732584193, 4023233417, 2562383102, 271733878, 3285377520]; if ("string" == typeof e) { var r = unescape(encodeURIComponent(e)); e = []; for (var o = 0; o < r.length; ++o) e.push(r.charCodeAt(o)); } else Array.isArray(e) || (e = Array.prototype.slice.call(e)); e.push(128); for (var a = e.length / 4 + 2, i = Math.ceil(a / 16), s = new Array(i), c = 0; c < i; ++c) { for (var l = new Uint32Array(16), u = 0; u < 16; ++u) l[u] = (e[64 * c + 4 * u] << 24) | (e[64 * c + 4 * u + 1] << 16) | (e[64 * c + 4 * u + 2] << 8) | e[64 * c + 4 * u + 3]; s[c] = l; } (s[i - 1][14] = (8 * (e.length - 1)) / Math.pow(2, 32)), (s[i - 1][14] = Math.floor(s[i - 1][14])), (s[i - 1][15] = (8 * (e.length - 1)) & 4294967295); for (var d = 0; d < i; ++d) { for (var p = new Uint32Array(80), f = 0; f < 16; ++f) p[f] = s[d][f]; for (var m = 16; m < 80; ++m) p[m] = T(p[m - 3] ^ p[m - 8] ^ p[m - 14] ^ p[m - 16], 1); for (var h = n[0], v = n[1], y = n[2], g = n[3], b = n[4], E = 0; E < 80; ++E) { var D = Math.floor(E / 20), C = (T(h, 5) + _(D, v, y, g) + b + t[D] + p[E]) >>> 0; (b = g), (g = y), (y = T(v, 30) >>> 0), (v = h), (h = C); } (n[0] = (n[0] + h) >>> 0), (n[1] = (n[1] + v) >>> 0), (n[2] = (n[2] + y) >>> 0), (n[3] = (n[3] + g) >>> 0), (n[4] = (n[4] + b) >>> 0); } return [ (n[0] >> 24) & 255, (n[0] >> 16) & 255, (n[0] >> 8) & 255, 255 & n[0], (n[1] >> 24) & 255, (n[1] >> 16) & 255, (n[1] >> 8) & 255, 255 & n[1], (n[2] >> 24) & 255, (n[2] >> 16) & 255, (n[2] >> 8) & 255, 255 & n[2], (n[3] >> 24) & 255, (n[3] >> 16) & 255, (n[3] >> 8) & 255, 255 & n[3], (n[4] >> 24) & 255, (n[4] >> 16) & 255, (n[4] >> 8) & 255, 255 & n[4], ]; }), O = "00000000-0000-0000-0000-000000000000", F = function (e) { if (!s(e)) throw TypeError("Invalid UUID"); return parseInt(e.substr(14, 1), 16); }; }, 21429: (e) => { function t(e, t) { var n = e.toString(); if (n.length < t) { var r = []; (r.length = t - n.length + 1), (n = r.join("0") + n); } return n; } function n(e, t) { return ( Object.getOwnPropertyNames(t).forEach(function (r) { if ("object" == typeof t[r]) "object" != typeof e[r] && (e[r] = {}), n(e[r], t[r]); else { var o = Object.getOwnPropertyDescriptor(t, r); Object.defineProperty(e, r, o); } }), e ); } function r(e, t, n) { e.forEach(function (e) { setTimeout(function () { e(t, n); }); }); } var o = { prod: "cc-api-data.adobe.io", stage: "cc-api-data-stage.adobe.io", dev: "cc-api-data-dev.adobe.io" }, a = "/ingest", i = { ENVIRONMENT: "prod", ALLOW_NO_TOKEN: !1, ANALYTICS_INGEST_TYPE: "dunamis", ANALYTICS_MAX_QUEUED_EVENTS: 50, ANALYTICS_DEBOUNCE: 1e4, ANALYTICS_API_KEY: null, ANALYTICS_X_PRODUCT: null, ANALYTICS_X_PRODUCT_LOCATION: void 0, ANALYTICS_PROJECT: null, ANALYTICS_USER_REGION: "UNKNOWN", TIMESTAMP_PROPERTY_NAME: "event.dts_end", }, s = ["ANALYTICS_API_KEY", "ANALYTICS_X_PRODUCT", "ANALYTICS_PROJECT"]; function c(e, t) { (e = e || {}), (t = t || {}); var r = (e) => { throw (this._log(e), new Error("ERROR: " + e)); }; (this._queuedEvents = []), (this._queuedCallbacks = []), (this._lastSendTime = 0), (this._isEnabled = !1), (this._dependencies = n({}, e)), (e.getAccessToken && "function" == typeof e.getAccessToken) || r("Missing dependency: getAccessToken"), (this._options = {}), Object.keys(i).forEach((e) => { this._options[e] = t[e] || i[e]; }), s.forEach((e) => { this._options[e] || r("Missing option: " + e); }), "undefined" == typeof fetch && r("Ingest requires fetch - if in a node environment, set 'global.fetch = require('node-fetch');'"); } (c.prototype._log = function (e) { var t = this._dependencies.log; t && t("Ingest :: " + e); }), (c.prototype._getAgent = function (e, t) { this._dependencies.getAgent ? this._dependencies.getAgent(e, t) : t(null, {}); }), (c.prototype._getAccessToken = function (e) { this._dependencies.getAccessToken(e); }), (c.prototype._clearAccessToken = function () { this._dependencies.clearAccessToken && this._dependencies.clearAccessToken(); }), (c.prototype._getEnvironment = function () { return o[this._options.ENVIRONMENT] ? this._options.ENVIRONMENT : "prod"; }), (c.prototype._getAnalyticsHost = function () { return o[this._getEnvironment()]; }), (c.prototype._formatTimestamp = function (e) { var n = e.getFullYear(), r = t(e.getMonth() + 1, 2), o = t(e.getDate(), 2), a = t(e.getHours(), 2), i = t(e.getMinutes(), 2), s = t(e.getSeconds(), 2), c = t(e.getMilliseconds(), 3), l = e.getTimezoneOffset(), u = l < 0 ? "+" : "-", d = Math.floor(Math.abs(l) / 60), p = Math.abs(l) % 60; return n + "-" + r + "-" + o + "T" + a + ":" + i + ":" + s + "." + c + (u + t(d, 2) + t(p, 2)); }), (c.prototype._updateDebounce = function (e) { var t = e && (e["retry-after"] || e["Retry-After"]), n = 0; if (t) { var r; try { r = parseInt(t, 10); } catch (e) {} if (r) n = Math.max(0, r); else { var o = Date.parse(t); if (o) { var a = new Date().valueOf(); n = Math.max(0, o - a) / 1e3 + Math.floor(10 * Math.random()); } } } this._options.ANALYTICS_DEBOUNCE = Math.max(1e3 * n, this._options.ANALYTICS_DEBOUNCE); }), (c.prototype._queueEvent = function (e) { this._queuedEvents.length >= this._options.ANALYTICS_MAX_QUEUED_EVENTS && this._queuedEvents.shift(), this._queuedEvents.push(e); }), (c.prototype._requeueEvents = function (e) { (this._queuedEvents = e.concat(this._queuedEvents)), (this._queuedEvents = (function (e, t) { var n = e; if (e && e.length > t && t > 0) { var r = e.length - t; n = e.slice(r, e.length); } return n; })(this._queuedEvents, this._options.ANALYTICS_MAX_QUEUED_EVENTS)); }), (c.prototype._sendAnalytics = function (e, t, o) { if (((o = o || 0), t && this._queuedCallbacks.push(t), !this._isEnabled || 0 === this._queuedEvents.length)) { var i = this._queuedCallbacks; return (this._queuedCallbacks = []), void (this._isEnabled ? r(i, null, 0) : r(i, new Error("Analytics Disabled"))); } var s = this._options.ANALYTICS_DEBOUNCE; if ((e && ((s = 0), clearTimeout(this._pendingSendAnalyticsTimeout), (this._pendingSendAnalyticsTimeout = void 0)), this._sendingEvents || this._pendingSendAnalyticsTimeout)) e && (this._fastFollow = !0); else { var c = new Date().valueOf(); if (c - this._lastSendTime < s) this._pendingSendAnalyticsTimeout = setTimeout(() => { (this._pendingSendAnalyticsTimeout = void 0), this._sendAnalytics(); }, s); else { (this._lastSendTime = c), (this._sendingEvents = this._queuedEvents), (this._sendingCallbacks = this._queuedCallbacks), (this._queuedEvents = []), (this._queuedCallbacks = []); var l, u = (l = function () { return Math.floor(65536 * (1 + Math.random())) .toString(16) .substring(1); })() + l() + "-" + l() + "-" + l() + "-" + l() + "-" + l() + l() + l(), d = "[" + u + "] ", p = { events: this._sendingEvents }, f = (e) => { var t = this._queuedEvents ? this._queuedEvents.length : 0; if (this._sendingEvents) { var n = this._sendingEvents.length; e ? (this._requeueEvents(this._sendingEvents), this._log(d + "Error sending " + n + " events: " + e)) : this._log(d + "Success sending " + n + " events: " + JSON.stringify(this._sendingEvents)), delete this._sendingEvents; var o = this._sendingCallbacks; delete this._sendingCallbacks, e ? r(o, e) : r(o, null, n); } t > 0 && this._sendAnalytics(this._fastFollow), (this._fastFollow = !1); }, m = (e, t) => { if ((this._updateDebounce(t), 401 === e && 0 === o)) return ( this._clearAccessToken(), this._requeueEvents(this._sendingEvents), delete this._sendingEvents, (this._queuedCallbacks = this._sendingCallbacks.concat(this._queuedCallbacks)), delete this._sendingCallbacks, this._log(d + "Access token is expired. Retry one more time."), void this._sendAnalytics(!0, void 0, o + 1) ); 200 === e ? f() : f(new Error("Unexpected Response: " + e)); }; this._getAccessToken((e, t) => { if (e && !this._options.ALLOW_NO_TOKEN) return void f(e); if (!((t && 0 !== t.length) || this._options.ALLOW_NO_TOKEN)) return void f(new Error("No access token")); var r = "https://" + this._getAnalyticsHost(); this._log(d + "Sending analytics to " + r + a); const o = { "x-api-key": this._options.ANALYTICS_API_KEY, "X-Product": this._options.ANALYTICS_X_PRODUCT, "User-Agent": this._options.ANALYTICS_USER_AGENT || this._options.ANALYTICS_API_KEY, "X-Request-Id": u, "Content-Type": "application/json", }; t && (o.Authorization = "Bearer " + t), this._options.ANALYTICS_X_PRODUCT_LOCATION && (o["X-Product-Location"] = this._options.ANALYTICS_X_PRODUCT_LOCATION), this._getAgent(r, (e, t) => { const i = { method: "POST", headers: o, body: JSON.stringify(p) }; t && t.agent ? (i.agent = t && t.agent) : n(i, t || {}), fetch(r + a, i).then((e) => { m(e.status, e.headers); }, f); }); }); } } }), (c.prototype.enable = function (e) { (this._isEnabled = e), e && this._sendAnalytics(!0); }), (c.prototype.postEvent = function (e, t, n) { var o = n || {}, a = "event.dts_start", i = "event.coll_dts", s = o.TIMESTAMP_PROPERTY_NAME || this._options.TIMESTAMP_PROPERTY_NAME, c = o.ANALYTICS_PROJECT || this._options.ANALYTICS_PROJECT, l = o.ANALYTICS_INGEST_TYPE || this._options.ANALYTICS_INGEST_TYPE; e[i] && e[i] instanceof Date && (e[i] = this._formatTimestamp(e[i])), e[a] && e[a] instanceof Date && (e[a] = this._formatTimestamp(e[a])), e[s] || (e[s] = this._formatTimestamp(new Date())), e[s] instanceof Date && (e[s] = this._formatTimestamp(e[s])); var u = { time: e[s], project: c, environment: this._getEnvironment(), ingesttype: l, data: e }; e.simulate ? (this._log("event sim:" + JSON.stringify(u)), t && r([t], null, 0)) : (this._queueEvent(u), this._sendAnalytics(!1, t)); }), (c.prototype.flush = function (e, t) { this._sendAnalytics(e, t); }), (e.exports = c); }, 48181: (e, t, n) => { const r = "-" + n(88770).replace(/[\^~]/g, "").replace(/\./g, "-"); e.exports = { fallbackTagName: function (e) { return `${e}${r}`; }, fallbackTagNameSuffix: r, }; }, 88770: (e) => { e.exports = "1.0.89"; }, 92815: (e) => { "use strict"; var t = /^utf-?8|ascii|utf-?16-?le|ucs-?2|base-?64|latin-?1$/i, n = /^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g, r = /\s|\uFEFF|\xA0/, o = /\r?\n[\x20\x09]+/g, a = /[;,"]/, i = /[;,"]|\s/, s = /^[!#$%&'*+\-\.^_`|~\da-zA-Z]+$/; function c(e) { return e.replace(n, ""); } function l(e) { return r.test(e); } function u(e, t) { for (; l(e[t]); ) t++; return t; } function d(e) { return i.test(e) || !s.test(e); } class p { constructor(e) { (this.refs = []), e && this.parse(e); } rel(e) { for (var t = [], n = e.toLowerCase(), r = 0; r < this.refs.length; r++) this.refs[r].rel.toLowerCase() === n && t.push(this.refs[r]); return t; } get(e, t) { e = e.toLowerCase(); for (var n = [], r = 0; r < this.refs.length; r++) this.refs[r][e] === t && n.push(this.refs[r]); return n; } set(e) { return this.refs.push(e), this; } has(e, t) { e = e.toLowerCase(); for (var n = 0; n < this.refs.length; n++) if (this.refs[n][e] === t) return !0; return !1; } parse(e, t) { for (var n = 1, r = (e = c((e = (t = t || 0) ? e.slice(t) : e)).replace(o, "")).length, i = ((t = 0), null); t < r; ) if (1 === n) { if (l(e[t])) { t++; continue; } if ("<" !== e[t]) throw new Error('Unexpected character "' + e[t] + '" at offset ' + t); if ((null != i && (null != i.rel ? this.refs.push(...p.expandRelations(i)) : this.refs.push(i)), -1 === (f = e.indexOf(">", t)))) throw new Error("Expected end of URI delimiter at offset " + t); (i = { uri: e.slice(t + 1, f) }), (t = f), (n = 2), t++; } else if (2 === n) { if (l(e[t])) { t++; continue; } if (";" === e[t]) (n = 4), t++; else { if ("," !== e[t]) throw new Error('Unexpected character "' + e[t] + '" at offset ' + t); (n = 1), t++; } } else { if (4 !== n) throw new Error('Unknown parser state "' + n + '"'); if (";" === e[t] || l(e[t])) { t++; continue; } if (-1 === (f = e.indexOf("=", t))) throw new Error("Expected attribute delimiter at offset " + t); var s = c(e.slice(t, f)).toLowerCase(), d = ""; if ('"' === e[(t = u(e, (t = f + 1)))]) for (t++; t < r; ) { if ('"' === e[t]) { t++; break; } "\\" === e[t] && t++, (d += e[t]), t++; } else { for (var f = t + 1; !a.test(e[f]) && f < r; ) f++; (d = e.slice(t, f)), (t = f); } switch ( ((i[s] && p.isSingleOccurenceAttr(s)) || ("*" === s[s.length - 1] ? (i[s] = p.parseExtendedValue(d)) : ((d = "type" === s ? d.toLowerCase() : d), null != i[s] ? (Array.isArray(i[s]) ? i[s].push(d) : (i[s] = [i[s], d])) : (i[s] = d))), e[t]) ) { case ",": n = 1; break; case ";": n = 4; } t++; } return null != i && (null != i.rel ? this.refs.push(...p.expandRelations(i)) : this.refs.push(i)), (i = null), this; } toString() { for (var e = [], t = "", n = null, r = 0; r < this.refs.length; r++) (n = this.refs[r]), (t = Object.keys(this.refs[r]).reduce(function (e, t) { return "uri" === t ? e : e + "; " + p.formatAttribute(t, n[t]); }, "<" + n.uri + ">")), e.push(t); return e.join(", "); } } (p.isCompatibleEncoding = function (e) { return t.test(e); }), (p.parse = function (e, t) { return new p().parse(e, t); }), (p.isSingleOccurenceAttr = function (e) { return "rel" === e || "type" === e || "media" === e || "title" === e || "title*" === e; }), (p.isTokenAttr = function (e) { return "rel" === e || "type" === e || "anchor" === e; }), (p.escapeQuotes = function (e) { return e.replace(/"/g, '\\"'); }), (p.expandRelations = function (e) { return e.rel.split(" ").map(function (t) { var n = Object.assign({}, e); return (n.rel = t), n; }); }), (p.parseExtendedValue = function (e) { var t = /([^']+)?(?:'([^']+)')?(.+)/.exec(e); return { language: t[2].toLowerCase(), encoding: p.isCompatibleEncoding(t[1]) ? null : t[1].toLowerCase(), value: p.isCompatibleEncoding(t[1]) ? decodeURIComponent(t[3]) : t[3] }; }), (p.formatExtendedAttribute = function (e, t) { var n = (t.encoding || "utf-8").toUpperCase(); return ( e + "=" + n + "'" + (t.language || "en") + "'" + (Buffer.isBuffer(t.value) && p.isCompatibleEncoding(n) ? t.value.toString(n) : Buffer.isBuffer(t.value) ? t.value.toString("hex").replace(/[0-9a-f]{2}/gi, "%$1") : encodeURIComponent(t.value)) ); }), (p.formatAttribute = function (e, t) { return Array.isArray(t) ? t.map((t) => p.formatAttribute(e, t)).join("; ") : "*" === e[e.length - 1] || "string" != typeof t ? p.formatExtendedAttribute(e, t) : (p.isTokenAttr(e) ? (t = d(t) ? '"' + p.escapeQuotes(t) + '"' : p.escapeQuotes(t)) : d(t) && (t = '"' + (t = (t = encodeURIComponent(t)).replace(/%20/g, " ").replace(/%2C/g, ",").replace(/%3B/g, ";")) + '"'), e + "=" + t); }), (e.exports = p); }, 82318: (e, t, n) => { e.exports = n(3899); }, 3899: (e, t, n) => { "use strict"; n.d(t, { default: () => l }); var r = n(23469), o = n.n(r), a = n(93353), i = n.n(a), s = n(77249), c = n.n(s); const l = (e) => { const { size: t = "M", className: n = "", indeterminate: r = !0 } = e, a = (function (e, t) { var n = {}; for (var r in e) Object.prototype.hasOwnProperty.call(e, r) && t.indexOf(r) < 0 && (n[r] = e[r]); if (null != e && "function" == typeof Object.getOwnPropertySymbols) { var o = 0; for (r = Object.getOwnPropertySymbols(e); o < r.length; o++) t.indexOf(r[o]) < 0 && Object.prototype.propertyIsEnumerable.call(e, r[o]) && (n[r[o]] = e[r[o]]); } return n; })(e, ["size", "className", "indeterminate"]); return r ? o().createElement("div", Object.assign({ className: i()("simplified-wait", { "simplified-wait--small": "S" === t, "simplified-wait--medium": "M" === t, "simplified-wait--large": "L" === t }, n) }, a)) : o().createElement(c(), Object.assign({}, e)); }; }, 26295: (e, t, n) => { "use strict"; Object.defineProperty(t, "__esModule", { value: !0 }), (t.isUnicodeLanguageSubtag = t.isUnicodeScriptSubtag = t.isUnicodeRegionSubtag = t.isStructurallyValidLanguageTag = t.parseUnicodeLanguageId = t.parseUnicodeLocaleId = t.getCanonicalLocales = void 0); var r = n(13795), o = n(62056), a = n(50986), i = n(14927); t.getCanonicalLocales = function (e) { return (function (e) { if (void 0 === e) return []; var t = []; "string" == typeof e && (e = [e]); for (var n = 0, r = e; n < r.length; n++) { var s = r[n], c = (0, a.emitUnicodeLocaleId)((0, i.canonicalizeUnicodeLocaleId)((0, o.parseUnicodeLocaleId)(s))); t.indexOf(c) < 0 && t.push(c); } return t; })(e); }; var s = n(62056); Object.defineProperty(t, "parseUnicodeLocaleId", { enumerable: !0, get: function () { return s.parseUnicodeLocaleId; }, }), Object.defineProperty(t, "parseUnicodeLanguageId", { enumerable: !0, get: function () { return s.parseUnicodeLanguageId; }, }), Object.defineProperty(t, "isStructurallyValidLanguageTag", { enumerable: !0, get: function () { return s.isStructurallyValidLanguageTag; }, }), Object.defineProperty(t, "isUnicodeRegionSubtag", { enumerable: !0, get: function () { return s.isUnicodeRegionSubtag; }, }), Object.defineProperty(t, "isUnicodeScriptSubtag", { enumerable: !0, get: function () { return s.isUnicodeScriptSubtag; }, }), Object.defineProperty(t, "isUnicodeLanguageSubtag", { enumerable: !0, get: function () { return s.isUnicodeLanguageSubtag; }, }), (0, r.__exportStar)(n(86648), t), (0, r.__exportStar)(n(50986), t), (0, r.__exportStar)(n(28685), t); }, 12782: (e, t, n) => { "use strict"; var r = n(26295), o = n(89755); "undefined" == typeof Intl && ("undefined" != typeof window ? Object.defineProperty(window, "Intl", { value: {} }) : void 0 !== n.g && Object.defineProperty(n.g, "Intl", { value: {} })), (0, o.shouldPolyfill)() && Object.defineProperty(Intl, "getCanonicalLocales", { value: r.getCanonicalLocales, writable: !0, enumerable: !1, configurable: !0 }); }, 89755: (e, t) => { "use strict"; Object.defineProperty(t, "__esModule", { value: !0 }), (t.shouldPolyfill = void 0), (t.shouldPolyfill = function () { return "undefined" == typeof Intl || !("getCanonicalLocales" in Intl) || "x-private" === Intl.getCanonicalLocales("und-x-private")[0]; }); }, 46228: (e, t) => { "use strict"; Object.defineProperty(t, "__esModule", { value: !0 }), (t.variantAlias = t.scriptAlias = t.territoryAlias = t.languageAlias = void 0), (t.languageAlias = { "aa-saaho": "ssy", aam: "aas", aar: "aa", abk: "ab", adp: "dz", afr: "af", agp: "apf", ais: "ami", aju: "jrb", aka: "ak", alb: "sq", als: "sq", amh: "am", ara: "ar", arb: "ar", arg: "an", arm: "hy", "art-lojban": "jbo", asd: "snz", asm: "as", aue: "ktz", ava: "av", ave: "ae", aym: "ay", ayr: "ay", ayx: "nun", aze: "az", azj: "az", bak: "ba", bam: "bm", baq: "eu", baz: "nvo", bcc: "bal", bcl: "bik", bel: "be", ben: "bn", bgm: "bcg", bh: "bho", bhk: "fbl", bic: "bir", bih: "bho", bis: "bi", bjd: "drl", bjq: "bzc", bkb: "ebk", blg: "iba", bod: "bo", bos: "bs", bre: "br", btb: "beb", bul: "bg", bur: "my", bxk: "luy", bxr: "bua", cat: "ca", ccq: "rki", "cel-gaulish": "xtg", ces: "cs", cha: "ch", che: "ce", chi: "zh", chu: "cu", chv: "cv", cjr: "mom", cka: "cmr", cld: "syr", cmk: "xch", cmn: "zh", cnr: "sr-ME", cor: "kw", cos: "co", coy: "pij", cqu: "quh", cre: "cr", cwd: "cr", cym: "cy", cze: "cs", daf: "dnj", dan: "da", dap: "njz", deu: "de", dgo: "doi", dhd: "mwr", dik: "din", diq: "zza", dit: "dif", div: "dv", djl: "dze", dkl: "aqd", drh: "mn", drr: "kzk", drw: "fa-AF", dud: "uth", duj: "dwu", dut: "nl", dwl: "dbt", dzo: "dz", ekk: "et", ell: "el", elp: "amq", emk: "man", "en-GB-oed": "en-GB-oxendict", eng: "en", epo: "eo", esk: "ik", est: "et", eus: "eu", ewe: "ee", fao: "fo", fas: "fa", fat: "ak", fij: "fj", fin: "fi", fra: "fr", fre: "fr", fry: "fy", fuc: "ff", ful: "ff", gav: "dev", gaz: "om", gbc: "wny", gbo: "grb", geo: "ka", ger: "de", gfx: "vaj", ggn: "gvr", ggo: "esg", ggr: "gtu", gio: "aou", gla: "gd", gle: "ga", glg: "gl", gli: "kzk", glv: "gv", gno: "gon", gre: "el", grn: "gn", gti: "nyc", gug: "gn", guj: "gu", guv: "duz", gya: "gba", hat: "ht", hau: "ha", hbs: "sr-Latn", hdn: "hai", hea: "hmn", heb: "he", her: "hz", him: "srx", hin: "hi", hmo: "ho", hrr: "jal", hrv: "hr", hun: "hu", "hy-arevmda": "hyw", hye: "hy", "i-ami": "ami", "i-bnn": "bnn", "i-default": "en-x-i-default", "i-enochian": "und-x-i-enochian", "i-hak": "hak", "i-klingon": "tlh", "i-lux": "lb", "i-mingo": "see-x-i-mingo", "i-navajo": "nv", "i-pwn": "pwn", "i-tao": "tao", "i-tay": "tay", "i-tsu": "tsu", ibi: "opa", ibo: "ig", ice: "is", ido: "io", iii: "ii", ike: "iu", iku: "iu", ile: "ie", ill: "ilm", ilw: "gal", in: "id", ina: "ia", ind: "id", ipk: "ik", isl: "is", ita: "it", iw: "he", izi: "eza", jar: "jgk", jav: "jv", jeg: "oyb", ji: "yi", jpn: "ja", jw: "jv", kal: "kl", kan: "kn", kas: "ks", kat: "ka", kau: "kr", kaz: "kk", kdv: "zkd", kgc: "tdf", kgd: "ncq", kgh: "kml", khk: "mn", khm: "km", kik: "ki", kin: "rw", kir: "ky", kmr: "ku", knc: "kr", kng: "kg", knn: "kok", koj: "kwv", kom: "kv", kon: "kg", kor: "ko", kpp: "jkm", kpv: "kv", krm: "bmf", ktr: "dtp", kua: "kj", kur: "ku", kvs: "gdj", kwq: "yam", kxe: "tvd", kxl: "kru", kzh: "dgl", kzj: "dtp", kzt: "dtp", lao: "lo", lat: "la", lav: "lv", lbk: "bnc", leg: "enl", lii: "raq", lim: "li", lin: "ln", lit: "lt", llo: "ngt", lmm: "rmx", ltz: "lb", lub: "lu", lug: "lg", lvs: "lv", mac: "mk", mah: "mh", mal: "ml", mao: "mi", mar: "mr", may: "ms", meg: "cir", mgx: "jbk", mhr: "chm", mkd: "mk", mlg: "mg", mlt: "mt", mnk: "man", mnt: "wnn", mo: "ro", mof: "xnt", mol: "ro", mon: "mn", mri: "mi", msa: "ms", mst: "mry", mup: "raj", mwd: "dmw", mwj: "vaj", mya: "my", myd: "aog", myt: "mry", nad: "xny", nau: "na", nav: "nv", nbf: "nru", nbl: "nr", nbx: "ekc", ncp: "kdz", nde: "nd", ndo: "ng", nep: "ne", nld: "nl", nln: "azd", nlr: "nrk", nno: "nn", nns: "nbr", nnx: "ngv", "no-bok": "nb", "no-bokmal": "nb", "no-nyn": "nn", "no-nynorsk": "nn", nob: "nb", noo: "dtd", nor: "no", npi: "ne", nts: "pij", nxu: "bpp", nya: "ny", oci: "oc", ojg: "oj", oji: "oj", ori: "or", orm: "om", ory: "or", oss: "os", oun: "vaj", pan: "pa", pat: "kxr", pbu: "ps", pcr: "adx", per: "fa", pes: "fa", pli: "pi", plt: "mg", pmc: "huw", pmu: "phr", pnb: "lah", pol: "pl", por: "pt", ppa: "bfy", ppr: "lcq", prs: "fa-AF", pry: "prt", pus: "ps", puz: "pub", que: "qu", quz: "qu", rmr: "emx", rmy: "rom", roh: "rm", ron: "ro", rum: "ro", run: "rn", rus: "ru", sag: "sg", san: "sa", sap: "aqt", sca: "hle", scc: "sr", scr: "hr", sgl: "isk", "sgn-BE-FR": "sfb", "sgn-BE-NL": "vgt", "sgn-BR": "bzs", "sgn-CH-DE": "sgg", "sgn-CO": "csn", "sgn-DE": "gsg", "sgn-DK": "dsl", "sgn-ES": "ssp", "sgn-FR": "fsl", "sgn-GB": "bfi", "sgn-GR": "gss", "sgn-IE": "isg", "sgn-IT": "ise", "sgn-JP": "jsl", "sgn-MX": "mfs", "sgn-NI": "ncs", "sgn-NL": "dse", "sgn-NO": "nsi", "sgn-PT": "psr", "sgn-SE": "swl", "sgn-US": "ase", "sgn-ZA": "sfs", sh: "sr-Latn", sin: "si", skk: "oyb", slk: "sk", slo: "sk", slv: "sl", sme: "se", smo: "sm", sna: "sn", snd: "sd", som: "so", sot: "st", spa: "es", spy: "kln", sqi: "sq", src: "sc", srd: "sc", srp: "sr", ssw: "ss", sul: "sgd", sum: "ulw", sun: "su", swa: "sw", swc: "sw-CD", swe: "sv", swh: "sw", tah: "ty", tam: "ta", tat: "tt", tdu: "dtp", tel: "te", tgg: "bjp", tgk: "tg", tgl: "fil", tha: "th", thc: "tpo", thw: "ola", thx: "oyb", tib: "bo", tid: "itd", tie: "ras", tir: "ti", tkk: "twm", tl: "fil", tlw: "weo", tmp: "tyj", tne: "kak", tnf: "fa-AF", ton: "to", tsf: "taj", tsn: "tn", tso: "ts", ttq: "tmh", tuk: "tk", tur: "tr", tw: "ak", twi: "ak", uig: "ug", ukr: "uk", umu: "del", "und-aaland": "und-AX", "und-arevela": "und", "und-arevmda": "und", "und-bokmal": "und", "und-hakka": "und", "und-hepburn-heploc": "und-alalc97", "und-lojban": "und", "und-nynorsk": "und", "und-saaho": "und", "und-xiang": "und", unp: "wro", uok: "ema", urd: "ur", uzb: "uz", uzn: "uz", ven: "ve", vie: "vi", vol: "vo", wel: "cy", wgw: "wgb", wit: "nol", wiw: "nwo", wln: "wa", wol: "wo", xba: "cax", xho: "xh", xia: "acn", xkh: "waw", xpe: "kpe", xrq: "dmw", xsj: "suj", xsl: "den", ybd: "rki", ydd: "yi", yen: "ynq", yid: "yi", yiy: "yrm", yma: "lrr", ymt: "mtm", yor: "yo", yos: "zom", yuu: "yug", zai: "zap", "zh-cmn": "zh", "zh-cmn-Hans": "zh-Hans", "zh-cmn-Hant": "zh-Hant", "zh-gan": "gan", "zh-guoyu": "zh", "zh-hakka": "hak", "zh-min": "nan-x-zh-min", "zh-min-nan": "nan", "zh-wuu": "wuu", "zh-xiang": "hsn", "zh-yue": "yue", zha: "za", zho: "zh", zir: "scv", zsm: "ms", zul: "zu", zyb: "za", }), (t.territoryAlias = { 100: "BG", 104: "MM", 108: "BI", 112: "BY", 116: "KH", 120: "CM", 124: "CA", 132: "CV", 136: "KY", 140: "CF", 144: "LK", 148: "TD", 152: "CL", 156: "CN", 158: "TW", 162: "CX", 166: "CC", 170: "CO", 172: "RU AM AZ BY GE KG KZ MD TJ TM UA UZ", 174: "KM", 175: "YT", 178: "CG", 180: "CD", 184: "CK", 188: "CR", 191: "HR", 192: "CU", 196: "CY", 200: "CZ SK", 203: "CZ", 204: "BJ", 208: "DK", 212: "DM", 214: "DO", 218: "EC", 222: "SV", 226: "GQ", 230: "ET", 231: "ET", 232: "ER", 233: "EE", 234: "FO", 238: "FK", 239: "GS", 242: "FJ", 246: "FI", 248: "AX", 249: "FR", 250: "FR", 254: "GF", 258: "PF", 260: "TF", 262: "DJ", 266: "GA", 268: "GE", 270: "GM", 275: "PS", 276: "DE", 278: "DE", 280: "DE", 288: "GH", 292: "GI", 296: "KI", 300: "GR", 304: "GL", 308: "GD", 312: "GP", 316: "GU", 320: "GT", 324: "GN", 328: "GY", 332: "HT", 334: "HM", 336: "VA", 340: "HN", 344: "HK", 348: "HU", 352: "IS", 356: "IN", 360: "ID", 364: "IR", 368: "IQ", 372: "IE", 376: "IL", 380: "IT", 384: "CI", 388: "JM", 392: "JP", 398: "KZ", 400: "JO", 404: "KE", 408: "KP", 410: "KR", 414: "KW", 417: "KG", 418: "LA", 422: "LB", 426: "LS", 428: "LV", 430: "LR", 434: "LY", 438: "LI", 440: "LT", 442: "LU", 446: "MO", 450: "MG", 454: "MW", 458: "MY", 462: "MV", 466: "ML", 470: "MT", 474: "MQ", 478: "MR", 480: "MU", 484: "MX", 492: "MC", 496: "MN", 498: "MD", 499: "ME", 500: "MS", 504: "MA", 508: "MZ", 512: "OM", 516: "NA", 520: "NR", 524: "NP", 528: "NL", 530: "CW SX BQ", 531: "CW", 532: "CW SX BQ", 533: "AW", 534: "SX", 535: "BQ", 536: "SA IQ", 540: "NC", 548: "VU", 554: "NZ", 558: "NI", 562: "NE", 566: "NG", 570: "NU", 574: "NF", 578: "NO", 580: "MP", 581: "UM", 582: "FM MH MP PW", 583: "FM", 584: "MH", 585: "PW", 586: "PK", 591: "PA", 598: "PG", 600: "PY", 604: "PE", 608: "PH", 612: "PN", 616: "PL", 620: "PT", 624: "GW", 626: "TL", 630: "PR", 634: "QA", 638: "RE", 642: "RO", 643: "RU", 646: "RW", 652: "BL", 654: "SH", 659: "KN", 660: "AI", 662: "LC", 663: "MF", 666: "PM", 670: "VC", 674: "SM", 678: "ST", 682: "SA", 686: "SN", 688: "RS", 690: "SC", 694: "SL", 702: "SG", 703: "SK", 704: "VN", 705: "SI", 706: "SO", 710: "ZA", 716: "ZW", 720: "YE", 724: "ES", 728: "SS", 729: "SD", 732: "EH", 736: "SD", 740: "SR", 744: "SJ", 748: "SZ", 752: "SE", 756: "CH", 760: "SY", 762: "TJ", 764: "TH", 768: "TG", 772: "TK", 776: "TO", 780: "TT", 784: "AE", 788: "TN", 792: "TR", 795: "TM", 796: "TC", 798: "TV", 800: "UG", 804: "UA", 807: "MK", 810: "RU AM AZ BY EE GE KZ KG LV LT MD TJ TM UA UZ", 818: "EG", 826: "GB", 830: "JE GG", 831: "GG", 832: "JE", 833: "IM", 834: "TZ", 840: "US", 850: "VI", 854: "BF", 858: "UY", 860: "UZ", 862: "VE", 876: "WF", 882: "WS", 886: "YE", 887: "YE", 890: "RS ME SI HR MK BA", 891: "RS ME", 894: "ZM", 958: "AA", 959: "QM", 960: "QN", 962: "QP", 963: "QQ", 964: "QR", 965: "QS", 966: "QT", 967: "EU", 968: "QV", 969: "QW", 970: "QX", 971: "QY", 972: "QZ", 973: "XA", 974: "XB", 975: "XC", 976: "XD", 977: "XE", 978: "XF", 979: "XG", 980: "XH", 981: "XI", 982: "XJ", 983: "XK", 984: "XL", 985: "XM", 986: "XN", 987: "XO", 988: "XP", 989: "XQ", 990: "XR", 991: "XS", 992: "XT", 993: "XU", 994: "XV", 995: "XW", 996: "XX", 997: "XY", 998: "XZ", 999: "ZZ", "004": "AF", "008": "AL", "010": "AQ", "012": "DZ", "016": "AS", "020": "AD", "024": "AO", "028": "AG", "031": "AZ", "032": "AR", "036": "AU", "040": "AT", "044": "BS", "048": "BH", "050": "BD", "051": "AM", "052": "BB", "056": "BE", "060": "BM", "062": "034 143", "064": "BT", "068": "BO", "070": "BA", "072": "BW", "074": "BV", "076": "BR", "084": "BZ", "086": "IO", "090": "SB", "092": "VG", "096": "BN", AAA: "AA", ABW: "AW", AFG: "AF", AGO: "AO", AIA: "AI", ALA: "AX", ALB: "AL", AN: "CW SX BQ", AND: "AD", ANT: "CW SX BQ", ARE: "AE", ARG: "AR", ARM: "AM", ASC: "AC", ASM: "AS", ATA: "AQ", ATF: "TF", ATG: "AG", AUS: "AU", AUT: "AT", AZE: "AZ", BDI: "BI", BEL: "BE", BEN: "BJ", BES: "BQ", BFA: "BF", BGD: "BD", BGR: "BG", BHR: "BH", BHS: "BS", BIH: "BA", BLM: "BL", BLR: "BY", BLZ: "BZ", BMU: "BM", BOL: "BO", BRA: "BR", BRB: "BB", BRN: "BN", BTN: "BT", BU: "MM", BUR: "MM", BVT: "BV", BWA: "BW", CAF: "CF", CAN: "CA", CCK: "CC", CHE: "CH", CHL: "CL", CHN: "CN", CIV: "CI", CMR: "CM", COD: "CD", COG: "CG", COK: "CK", COL: "CO", COM: "KM", CPT: "CP", CPV: "CV", CRI: "CR", CS: "RS ME", CT: "KI", CUB: "CU", CUW: "CW", CXR: "CX", CYM: "KY", CYP: "CY", CZE: "CZ", DD: "DE", DDR: "DE", DEU: "DE", DGA: "DG", DJI: "DJ", DMA: "DM", DNK: "DK", DOM: "DO", DY: "BJ", DZA: "DZ", ECU: "EC", EGY: "EG", ERI: "ER", ESH: "EH", ESP: "ES", EST: "EE", ETH: "ET", FIN: "FI", FJI: "FJ", FLK: "FK", FQ: "AQ TF", FRA: "FR", FRO: "FO", FSM: "FM", FX: "FR", FXX: "FR", GAB: "GA", GBR: "GB", GEO: "GE", GGY: "GG", GHA: "GH", GIB: "GI", GIN: "GN", GLP: "GP", GMB: "GM", GNB: "GW", GNQ: "GQ", GRC: "GR", GRD: "GD", GRL: "GL", GTM: "GT", GUF: "GF", GUM: "GU", GUY: "GY", HKG: "HK", HMD: "HM", HND: "HN", HRV: "HR", HTI: "HT", HUN: "HU", HV: "BF", IDN: "ID", IMN: "IM", IND: "IN", IOT: "IO", IRL: "IE", IRN: "IR", IRQ: "IQ", ISL: "IS", ISR: "IL", ITA: "IT", JAM: "JM", JEY: "JE", JOR: "JO", JPN: "JP", JT: "UM", KAZ: "KZ", KEN: "KE", KGZ: "KG", KHM: "KH", KIR: "KI", KNA: "KN", KOR: "KR", KWT: "KW", LAO: "LA", LBN: "LB", LBR: "LR", LBY: "LY", LCA: "LC", LIE: "LI", LKA: "LK", LSO: "LS", LTU: "LT", LUX: "LU", LVA: "LV", MAC: "MO", MAF: "MF", MAR: "MA", MCO: "MC", MDA: "MD", MDG: "MG", MDV: "MV", MEX: "MX", MHL: "MH", MI: "UM", MKD: "MK", MLI: "ML", MLT: "MT", MMR: "MM", MNE: "ME", MNG: "MN", MNP: "MP", MOZ: "MZ", MRT: "MR", MSR: "MS", MTQ: "MQ", MUS: "MU", MWI: "MW", MYS: "MY", MYT: "YT", NAM: "NA", NCL: "NC", NER: "NE", NFK: "NF", NGA: "NG", NH: "VU", NIC: "NI", NIU: "NU", NLD: "NL", NOR: "NO", NPL: "NP", NQ: "AQ", NRU: "NR", NT: "SA IQ", NTZ: "SA IQ", NZL: "NZ", OMN: "OM", PAK: "PK", PAN: "PA", PC: "FM MH MP PW", PCN: "PN", PER: "PE", PHL: "PH", PLW: "PW", PNG: "PG", POL: "PL", PRI: "PR", PRK: "KP", PRT: "PT", PRY: "PY", PSE: "PS", PU: "UM", PYF: "PF", PZ: "PA", QAT: "QA", QMM: "QM", QNN: "QN", QPP: "QP", QQQ: "QQ", QRR: "QR", QSS: "QS", QTT: "QT", QU: "EU", QUU: "EU", QVV: "QV", QWW: "QW", QXX: "QX", QYY: "QY", QZZ: "QZ", REU: "RE", RH: "ZW", ROU: "RO", RUS: "RU", RWA: "RW", SAU: "SA", SCG: "RS ME", SDN: "SD", SEN: "SN", SGP: "SG", SGS: "GS", SHN: "SH", SJM: "SJ", SLB: "SB", SLE: "SL", SLV: "SV", SMR: "SM", SOM: "SO", SPM: "PM", SRB: "RS", SSD: "SS", STP: "ST", SU: "RU AM AZ BY EE GE KZ KG LV LT MD TJ TM UA UZ", SUN: "RU AM AZ BY EE GE KZ KG LV LT MD TJ TM UA UZ", SUR: "SR", SVK: "SK", SVN: "SI", SWE: "SE", SWZ: "SZ", SXM: "SX", SYC: "SC", SYR: "SY", TAA: "TA", TCA: "TC", TCD: "TD", TGO: "TG", THA: "TH", TJK: "TJ", TKL: "TK", TKM: "TM", TLS: "TL", TMP: "TL", TON: "TO", TP: "TL", TTO: "TT", TUN: "TN", TUR: "TR", TUV: "TV", TWN: "TW", TZA: "TZ", UGA: "UG", UK: "GB", UKR: "UA", UMI: "UM", URY: "UY", USA: "US", UZB: "UZ", VAT: "VA", VCT: "VC", VD: "VN", VEN: "VE", VGB: "VG", VIR: "VI", VNM: "VN", VUT: "VU", WK: "UM", WLF: "WF", WSM: "WS", XAA: "XA", XBB: "XB", XCC: "XC", XDD: "XD", XEE: "XE", XFF: "XF", XGG: "XG", XHH: "XH", XII: "XI", XJJ: "XJ", XKK: "XK", XLL: "XL", XMM: "XM", XNN: "XN", XOO: "XO", XPP: "XP", XQQ: "XQ", XRR: "XR", XSS: "XS", XTT: "XT", XUU: "XU", XVV: "XV", XWW: "XW", XXX: "XX", XYY: "XY", XZZ: "XZ", YD: "YE", YEM: "YE", YMD: "YE", YU: "RS ME", YUG: "RS ME", ZAF: "ZA", ZAR: "CD", ZMB: "ZM", ZR: "CD", ZWE: "ZW", ZZZ: "ZZ", }), (t.scriptAlias = { Qaai: "Zinh" }), (t.variantAlias = { heploc: "alalc97", polytoni: "polyton" }); }, 14927: (e, t, n) => { "use strict"; Object.defineProperty(t, "__esModule", { value: !0 }), (t.canonicalizeUnicodeLocaleId = t.canonicalizeUnicodeLanguageId = void 0); var r = n(13795), o = n(46228), a = n(62056), i = n(28685), s = n(50986); function c(e) { for (var t = {}, n = [], r = 0, o = e; r < o.length; r++) { var a = o[r]; a[0] in t || ((t[a[0]] = 1), a[1] && "true" !== a[1] ? n.push([a[0].toLowerCase(), a[1].toLowerCase()]) : n.push([a[0].toLowerCase()])); } return n.sort(l); } function l(e, t) { return e[0] < t[0] ? -1 : e[0] > t[0] ? 1 : 0; } function u(e, t) { return e.type < t.type ? -1 : e.type > t.type ? 1 : 0; } function d(e, t) { for (var n = (0, r.__spreadArray)([], e, !0), o = 0, a = t; o < a.length; o++) { var i = a[o]; e.indexOf(i) < 0 && n.push(i); } return n; } function p(e) { var t = e; if (e.variants.length) for (var n = "", r = 0, c = e.variants; r < c.length; r++) { var l = c[r]; if ((n = o.languageAlias[(0, s.emitUnicodeLanguageId)({ lang: e.lang, variants: [l] })])) { t = { lang: (f = (0, a.parseUnicodeLanguageId)(n.split(a.SEPARATOR))).lang, script: t.script || f.script, region: t.region || f.region, variants: d(t.variants, f.variants) }; break; } } if (t.script && t.region) { var u = o.languageAlias[(0, s.emitUnicodeLanguageId)({ lang: t.lang, script: t.script, region: t.region, variants: [] })]; u && (t = { lang: (f = (0, a.parseUnicodeLanguageId)(u.split(a.SEPARATOR))).lang, script: f.script, region: f.region, variants: t.variants }); } if (t.region) { var p = o.languageAlias[(0, s.emitUnicodeLanguageId)({ lang: t.lang, region: t.region, variants: [] })]; p && (t = { lang: (f = (0, a.parseUnicodeLanguageId)(p.split(a.SEPARATOR))).lang, script: t.script || f.script, region: f.region, variants: t.variants }); } var f, m = o.languageAlias[(0, s.emitUnicodeLanguageId)({ lang: t.lang, variants: [] })]; if ((m && (t = { lang: (f = (0, a.parseUnicodeLanguageId)(m.split(a.SEPARATOR))).lang, script: t.script || f.script, region: t.region || f.region, variants: t.variants }), t.region)) { var h = t.region.toUpperCase(), v = o.territoryAlias[h], y = void 0; if (v) { var g = v.split(" "); y = g[0]; var b = i.likelySubtags[(0, s.emitUnicodeLanguageId)({ lang: t.lang, script: t.script, variants: [] })]; if (b) { var E = (0, a.parseUnicodeLanguageId)(b.split(a.SEPARATOR)).region; E && g.indexOf(E) > -1 && (y = E); } } y && (t.region = y), (t.region = t.region.toUpperCase()); } if ((t.script && ((t.script = t.script[0].toUpperCase() + t.script.slice(1).toLowerCase()), o.scriptAlias[t.script] && (t.script = o.scriptAlias[t.script])), t.variants.length)) { for (var D = 0; D < t.variants.length; D++) if (((l = t.variants[D].toLowerCase()), o.variantAlias[l])) { var C = o.variantAlias[l]; (0, a.isUnicodeVariantSubtag)(C) ? (t.variants[D] = C) : (0, a.isUnicodeLanguageSubtag)(C) && (t.lang = C); } t.variants.sort(); } return t; } (t.canonicalizeUnicodeLanguageId = p), (t.canonicalizeUnicodeLocaleId = function (e) { if (((e.lang = p(e.lang)), e.extensions)) { for (var t = 0, n = e.extensions; t < n.length; t++) { var r = n[t]; switch (r.type) { case "u": (r.keywords = c(r.keywords)), r.attributes && (r.attributes = ((o = r.attributes), Object.keys( o.reduce(function (e, t) { return (e[t.toLowerCase()] = 1), e; }, {}) ).sort())); break; case "t": r.lang && (r.lang = p(r.lang)), (r.fields = c(r.fields)); break; default: r.value = r.value.toLowerCase(); } } e.extensions.sort(u); } var o; return e; }); }, 50986: (e, t, n) => { "use strict"; Object.defineProperty(t, "__esModule", { value: !0 }), (t.emitUnicodeLocaleId = t.emitUnicodeLanguageId = void 0); var r = n(13795); function o(e) { return e ? (0, r.__spreadArray)([e.lang, e.script, e.region], e.variants || [], !0) .filter(Boolean) .join("-") : ""; } (t.emitUnicodeLanguageId = o), (t.emitUnicodeLocaleId = function (e) { for (var t = e.lang, n = e.extensions, a = [o(t)], i = 0, s = n; i < s.length; i++) { var c = s[i]; switch ((a.push(c.type), c.type)) { case "u": a.push.apply( a, (0, r.__spreadArray)( (0, r.__spreadArray)([], c.attributes, !1), c.keywords.reduce(function (e, t) { return e.concat(t); }, []), !1 ) ); break; case "t": a.push.apply( a, (0, r.__spreadArray)( [o(c.lang)], c.fields.reduce(function (e, t) { return e.concat(t); }, []), !1 ) ); break; default: a.push(c.value); } } return a.filter(Boolean).join("-"); }); }, 28685: (e, t) => { "use strict"; Object.defineProperty(t, "__esModule", { value: !0 }), (t.likelySubtags = void 0), (t.likelySubtags = { aa: "aa-Latn-ET", aai: "aai-Latn-ZZ", aak: "aak-Latn-ZZ", aau: "aau-Latn-ZZ", ab: "ab-Cyrl-GE", abi: "abi-Latn-ZZ", abq: "abq-Cyrl-ZZ", abr: "abr-Latn-GH", abt: "abt-Latn-ZZ", aby: "aby-Latn-ZZ", acd: "acd-Latn-ZZ", ace: "ace-Latn-ID", ach: "ach-Latn-UG", ada: "ada-Latn-GH", ade: "ade-Latn-ZZ", adj: "adj-Latn-ZZ", adp: "adp-Tibt-BT", ady: "ady-Cyrl-RU", adz: "adz-Latn-ZZ", ae: "ae-Avst-IR", aeb: "aeb-Arab-TN", aey: "aey-Latn-ZZ", af: "af-Latn-ZA", agc: "agc-Latn-ZZ", agd: "agd-Latn-ZZ", agg: "agg-Latn-ZZ", agm: "agm-Latn-ZZ", ago: "ago-Latn-ZZ", agq: "agq-Latn-CM", aha: "aha-Latn-ZZ", ahl: "ahl-Latn-ZZ", aho: "aho-Ahom-IN", ajg: "ajg-Latn-ZZ", ak: "ak-Latn-GH", akk: "akk-Xsux-IQ", ala: "ala-Latn-ZZ", ali: "ali-Latn-ZZ", aln: "aln-Latn-XK", alt: "alt-Cyrl-RU", am: "am-Ethi-ET", amm: "amm-Latn-ZZ", amn: "amn-Latn-ZZ", amo: "amo-Latn-NG", amp: "amp-Latn-ZZ", an: "an-Latn-ES", anc: "anc-Latn-ZZ", ank: "ank-Latn-ZZ", ann: "ann-Latn-ZZ", any: "any-Latn-ZZ", aoj: "aoj-Latn-ZZ", aom: "aom-Latn-ZZ", aoz: "aoz-Latn-ID", apc: "apc-Arab-ZZ", apd: "apd-Arab-TG", ape: "ape-Latn-ZZ", apr: "apr-Latn-ZZ", aps: "aps-Latn-ZZ", apz: "apz-Latn-ZZ", ar: "ar-Arab-EG", arc: "arc-Armi-IR", "arc-Nbat": "arc-Nbat-JO", "arc-Palm": "arc-Palm-SY", arh: "arh-Latn-ZZ", arn: "arn-Latn-CL", aro: "aro-Latn-BO", arq: "arq-Arab-DZ", ars: "ars-Arab-SA", ary: "ary-Arab-MA", arz: "arz-Arab-EG", as: "as-Beng-IN", asa: "asa-Latn-TZ", ase: "ase-Sgnw-US", asg: "asg-Latn-ZZ", aso: "aso-Latn-ZZ", ast: "ast-Latn-ES", ata: "ata-Latn-ZZ", atg: "atg-Latn-ZZ", atj: "atj-Latn-CA", auy: "auy-Latn-ZZ", av: "av-Cyrl-RU", avl: "avl-Arab-ZZ", avn: "avn-Latn-ZZ", avt: "avt-Latn-ZZ", avu: "avu-Latn-ZZ", awa: "awa-Deva-IN", awb: "awb-Latn-ZZ", awo: "awo-Latn-ZZ", awx: "awx-Latn-ZZ", ay: "ay-Latn-BO", ayb: "ayb-Latn-ZZ", az: "az-Latn-AZ", "az-Arab": "az-Arab-IR", "az-IQ": "az-Arab-IQ", "az-IR": "az-Arab-IR", "az-RU": "az-Cyrl-RU", ba: "ba-Cyrl-RU", bal: "bal-Arab-PK", ban: "ban-Latn-ID", bap: "bap-Deva-NP", bar: "bar-Latn-AT", bas: "bas-Latn-CM", bav: "bav-Latn-ZZ", bax: "bax-Bamu-CM", bba: "bba-Latn-ZZ", bbb: "bbb-Latn-ZZ", bbc: "bbc-Latn-ID", bbd: "bbd-Latn-ZZ", bbj: "bbj-Latn-CM", bbp: "bbp-Latn-ZZ", bbr: "bbr-Latn-ZZ", bcf: "bcf-Latn-ZZ", bch: "bch-Latn-ZZ", bci: "bci-Latn-CI", bcm: "bcm-Latn-ZZ", bcn: "bcn-Latn-ZZ", bco: "bco-Latn-ZZ", bcq: "bcq-Ethi-ZZ", bcu: "bcu-Latn-ZZ", bdd: "bdd-Latn-ZZ", be: "be-Cyrl-BY", bef: "bef-Latn-ZZ", beh: "beh-Latn-ZZ", bej: "bej-Arab-SD", bem: "bem-Latn-ZM", bet: "bet-Latn-ZZ", bew: "bew-Latn-ID", bex: "bex-Latn-ZZ", bez: "bez-Latn-TZ", bfd: "bfd-Latn-CM", bfq: "bfq-Taml-IN", bft: "bft-Arab-PK", bfy: "bfy-Deva-IN", bg: "bg-Cyrl-BG", bgc: "bgc-Deva-IN", bgn: "bgn-Arab-PK", bgx: "bgx-Grek-TR", bhb: "bhb-Deva-IN", bhg: "bhg-Latn-ZZ", bhi: "bhi-Deva-IN", bhl: "bhl-Latn-ZZ", bho: "bho-Deva-IN", bhy: "bhy-Latn-ZZ", bi: "bi-Latn-VU", bib: "bib-Latn-ZZ", big: "big-Latn-ZZ", bik: "bik-Latn-PH", bim: "bim-Latn-ZZ", bin: "bin-Latn-NG", bio: "bio-Latn-ZZ", biq: "biq-Latn-ZZ", bjh: "bjh-Latn-ZZ", bji: "bji-Ethi-ZZ", bjj: "bjj-Deva-IN", bjn: "bjn-Latn-ID", bjo: "bjo-Latn-ZZ", bjr: "bjr-Latn-ZZ", bjt: "bjt-Latn-SN", bjz: "bjz-Latn-ZZ", bkc: "bkc-Latn-ZZ", bkm: "bkm-Latn-CM", bkq: "bkq-Latn-ZZ", bku: "bku-Latn-PH", bkv: "bkv-Latn-ZZ", blg: "blg-Latn-MY", blt: "blt-Tavt-VN", bm: "bm-Latn-ML", bmh: "bmh-Latn-ZZ", bmk: "bmk-Latn-ZZ", bmq: "bmq-Latn-ML", bmu: "bmu-Latn-ZZ", bn: "bn-Beng-BD", bng: "bng-Latn-ZZ", bnm: "bnm-Latn-ZZ", bnp: "bnp-Latn-ZZ", bo: "bo-Tibt-CN", boj: "boj-Latn-ZZ", bom: "bom-Latn-ZZ", bon: "bon-Latn-ZZ", bpy: "bpy-Beng-IN", bqc: "bqc-Latn-ZZ", bqi: "bqi-Arab-IR", bqp: "bqp-Latn-ZZ", bqv: "bqv-Latn-CI", br: "br-Latn-FR", bra: "bra-Deva-IN", brh: "brh-Arab-PK", brx: "brx-Deva-IN", brz: "brz-Latn-ZZ", bs: "bs-Latn-BA", bsj: "bsj-Latn-ZZ", bsq: "bsq-Bass-LR", bss: "bss-Latn-CM", bst: "bst-Ethi-ZZ", bto: "bto-Latn-PH", btt: "btt-Latn-ZZ", btv: "btv-Deva-PK", bua: "bua-Cyrl-RU", buc: "buc-Latn-YT", bud: "bud-Latn-ZZ", bug: "bug-Latn-ID", buk: "buk-Latn-ZZ", bum: "bum-Latn-CM", buo: "buo-Latn-ZZ", bus: "bus-Latn-ZZ", buu: "buu-Latn-ZZ", bvb: "bvb-Latn-GQ", bwd: "bwd-Latn-ZZ", bwr: "bwr-Latn-ZZ", bxh: "bxh-Latn-ZZ", bye: "bye-Latn-ZZ", byn: "byn-Ethi-ER", byr: "byr-Latn-ZZ", bys: "bys-Latn-ZZ", byv: "byv-Latn-CM", byx: "byx-Latn-ZZ", bza: "bza-Latn-ZZ", bze: "bze-Latn-ML", bzf: "bzf-Latn-ZZ", bzh: "bzh-Latn-ZZ", bzw: "bzw-Latn-ZZ", ca: "ca-Latn-ES", cad: "cad-Latn-US", can: "can-Latn-ZZ", cbj: "cbj-Latn-ZZ", cch: "cch-Latn-NG", ccp: "ccp-Cakm-BD", ce: "ce-Cyrl-RU", ceb: "ceb-Latn-PH", cfa: "cfa-Latn-ZZ", cgg: "cgg-Latn-UG", ch: "ch-Latn-GU", chk: "chk-Latn-FM", chm: "chm-Cyrl-RU", cho: "cho-Latn-US", chp: "chp-Latn-CA", chr: "chr-Cher-US", cic: "cic-Latn-US", cja: "cja-Arab-KH", cjm: "cjm-Cham-VN", cjv: "cjv-Latn-ZZ", ckb: "ckb-Arab-IQ", ckl: "ckl-Latn-ZZ", cko: "cko-Latn-ZZ", cky: "cky-Latn-ZZ", cla: "cla-Latn-ZZ", cme: "cme-Latn-ZZ", cmg: "cmg-Soyo-MN", co: "co-Latn-FR", cop: "cop-Copt-EG", cps: "cps-Latn-PH", cr: "cr-Cans-CA", crh: "crh-Cyrl-UA", crj: "crj-Cans-CA", crk: "crk-Cans-CA", crl: "crl-Cans-CA", crm: "crm-Cans-CA", crs: "crs-Latn-SC", cs: "cs-Latn-CZ", csb: "csb-Latn-PL", csw: "csw-Cans-CA", ctd: "ctd-Pauc-MM", cu: "cu-Cyrl-RU", "cu-Glag": "cu-Glag-BG", cv: "cv-Cyrl-RU", cy: "cy-Latn-GB", da: "da-Latn-DK", dad: "dad-Latn-ZZ", daf: "daf-Latn-CI", dag: "dag-Latn-ZZ", dah: "dah-Latn-ZZ", dak: "dak-Latn-US", dar: "dar-Cyrl-RU", dav: "dav-Latn-KE", dbd: "dbd-Latn-ZZ", dbq: "dbq-Latn-ZZ", dcc: "dcc-Arab-IN", ddn: "ddn-Latn-ZZ", de: "de-Latn-DE", ded: "ded-Latn-ZZ", den: "den-Latn-CA", dga: "dga-Latn-ZZ", dgh: "dgh-Latn-ZZ", dgi: "dgi-Latn-ZZ", dgl: "dgl-Arab-ZZ", dgr: "dgr-Latn-CA", dgz: "dgz-Latn-ZZ", dia: "dia-Latn-ZZ", dje: "dje-Latn-NE", dmf: "dmf-Medf-NG", dnj: "dnj-Latn-CI", dob: "dob-Latn-ZZ", doi: "doi-Deva-IN", dop: "dop-Latn-ZZ", dow: "dow-Latn-ZZ", drh: "drh-Mong-CN", dri: "dri-Latn-ZZ", drs: "drs-Ethi-ZZ", dsb: "dsb-Latn-DE", dtm: "dtm-Latn-ML", dtp: "dtp-Latn-MY", dts: "dts-Latn-ZZ", dty: "dty-Deva-NP", dua: "dua-Latn-CM", duc: "duc-Latn-ZZ", dud: "dud-Latn-ZZ", dug: "dug-Latn-ZZ", dv: "dv-Thaa-MV", dva: "dva-Latn-ZZ", dww: "dww-Latn-ZZ", dyo: "dyo-Latn-SN", dyu: "dyu-Latn-BF", dz: "dz-Tibt-BT", dzg: "dzg-Latn-ZZ", ebu: "ebu-Latn-KE", ee: "ee-Latn-GH", efi: "efi-Latn-NG", egl: "egl-Latn-IT", egy: "egy-Egyp-EG", eka: "eka-Latn-ZZ", eky: "eky-Kali-MM", el: "el-Grek-GR", ema: "ema-Latn-ZZ", emi: "emi-Latn-ZZ", en: "en-Latn-US", "en-Shaw": "en-Shaw-GB", enn: "enn-Latn-ZZ", enq: "enq-Latn-ZZ", eo: "eo-Latn-001", eri: "eri-Latn-ZZ", es: "es-Latn-ES", esg: "esg-Gonm-IN", esu: "esu-Latn-US", et: "et-Latn-EE", etr: "etr-Latn-ZZ", ett: "ett-Ital-IT", etu: "etu-Latn-ZZ", etx: "etx-Latn-ZZ", eu: "eu-Latn-ES", ewo: "ewo-Latn-CM", ext: "ext-Latn-ES", eza: "eza-Latn-ZZ", fa: "fa-Arab-IR", faa: "faa-Latn-ZZ", fab: "fab-Latn-ZZ", fag: "fag-Latn-ZZ", fai: "fai-Latn-ZZ", fan: "fan-Latn-GQ", ff: "ff-Latn-SN", "ff-Adlm": "ff-Adlm-GN", ffi: "ffi-Latn-ZZ", ffm: "ffm-Latn-ML", fi: "fi-Latn-FI", fia: "fia-Arab-SD", fil: "fil-Latn-PH", fit: "fit-Latn-SE", fj: "fj-Latn-FJ", flr: "flr-Latn-ZZ", fmp: "fmp-Latn-ZZ", fo: "fo-Latn-FO", fod: "fod-Latn-ZZ", fon: "fon-Latn-BJ", for: "for-Latn-ZZ", fpe: "fpe-Latn-ZZ", fqs: "fqs-Latn-ZZ", fr: "fr-Latn-FR", frc: "frc-Latn-US", frp: "frp-Latn-FR", frr: "frr-Latn-DE", frs: "frs-Latn-DE", fub: "fub-Arab-CM", fud: "fud-Latn-WF", fue: "fue-Latn-ZZ", fuf: "fuf-Latn-GN", fuh: "fuh-Latn-ZZ", fuq: "fuq-Latn-NE", fur: "fur-Latn-IT", fuv: "fuv-Latn-NG", fuy: "fuy-Latn-ZZ", fvr: "fvr-Latn-SD", fy: "fy-Latn-NL", ga: "ga-Latn-IE", gaa: "gaa-Latn-GH", gaf: "gaf-Latn-ZZ", gag: "gag-Latn-MD", gah: "gah-Latn-ZZ", gaj: "gaj-Latn-ZZ", gam: "gam-Latn-ZZ", gan: "gan-Hans-CN", gaw: "gaw-Latn-ZZ", gay: "gay-Latn-ID", gba: "gba-Latn-ZZ", gbf: "gbf-Latn-ZZ", gbm: "gbm-Deva-IN", gby: "gby-Latn-ZZ", gbz: "gbz-Arab-IR", gcr: "gcr-Latn-GF", gd: "gd-Latn-GB", gde: "gde-Latn-ZZ", gdn: "gdn-Latn-ZZ", gdr: "gdr-Latn-ZZ", geb: "geb-Latn-ZZ", gej: "gej-Latn-ZZ", gel: "gel-Latn-ZZ", gez: "gez-Ethi-ET", gfk: "gfk-Latn-ZZ", ggn: "ggn-Deva-NP", ghs: "ghs-Latn-ZZ", gil: "gil-Latn-KI", gim: "gim-Latn-ZZ", gjk: "gjk-Arab-PK", gjn: "gjn-Latn-ZZ", gju: "gju-Arab-PK", gkn: "gkn-Latn-ZZ", gkp: "gkp-Latn-ZZ", gl: "gl-Latn-ES", glk: "glk-Arab-IR", gmm: "gmm-Latn-ZZ", gmv: "gmv-Ethi-ZZ", gn: "gn-Latn-PY", gnd: "gnd-Latn-ZZ", gng: "gng-Latn-ZZ", god: "god-Latn-ZZ", gof: "gof-Ethi-ZZ", goi: "goi-Latn-ZZ", gom: "gom-Deva-IN", gon: "gon-Telu-IN", gor: "gor-Latn-ID", gos: "gos-Latn-NL", got: "got-Goth-UA", grb: "grb-Latn-ZZ", grc: "grc-Cprt-CY", "grc-Linb": "grc-Linb-GR", grt: "grt-Beng-IN", grw: "grw-Latn-ZZ", gsw: "gsw-Latn-CH", gu: "gu-Gujr-IN", gub: "gub-Latn-BR", guc: "guc-Latn-CO", gud: "gud-Latn-ZZ", gur: "gur-Latn-GH", guw: "guw-Latn-ZZ", gux: "gux-Latn-ZZ", guz: "guz-Latn-KE", gv: "gv-Latn-IM", gvf: "gvf-Latn-ZZ", gvr: "gvr-Deva-NP", gvs: "gvs-Latn-ZZ", gwc: "gwc-Arab-ZZ", gwi: "gwi-Latn-CA", gwt: "gwt-Arab-ZZ", gyi: "gyi-Latn-ZZ", ha: "ha-Latn-NG", "ha-CM": "ha-Arab-CM", "ha-SD": "ha-Arab-SD", hag: "hag-Latn-ZZ", hak: "hak-Hans-CN", ham: "ham-Latn-ZZ", haw: "haw-Latn-US", haz: "haz-Arab-AF", hbb: "hbb-Latn-ZZ", hdy: "hdy-Ethi-ZZ", he: "he-Hebr-IL", hhy: "hhy-Latn-ZZ", hi: "hi-Deva-IN", hia: "hia-Latn-ZZ", hif: "hif-Latn-FJ", hig: "hig-Latn-ZZ", hih: "hih-Latn-ZZ", hil: "hil-Latn-PH", hla: "hla-Latn-ZZ", hlu: "hlu-Hluw-TR", hmd: "hmd-Plrd-CN", hmt: "hmt-Latn-ZZ", hnd: "hnd-Arab-PK", hne: "hne-Deva-IN", hnj: "hnj-Hmnp-US", hnn: "hnn-Latn-PH", hno: "hno-Arab-PK", ho: "ho-Latn-PG", hoc: "hoc-Deva-IN", hoj: "hoj-Deva-IN", hot: "hot-Latn-ZZ", hr: "hr-Latn-HR", hsb: "hsb-Latn-DE", hsn: "hsn-Hans-CN", ht: "ht-Latn-HT", hu: "hu-Latn-HU", hui: "hui-Latn-ZZ", hy: "hy-Armn-AM", hz: "hz-Latn-NA", ia: "ia-Latn-001", ian: "ian-Latn-ZZ", iar: "iar-Latn-ZZ", iba: "iba-Latn-MY", ibb: "ibb-Latn-NG", iby: "iby-Latn-ZZ", ica: "ica-Latn-ZZ", ich: "ich-Latn-ZZ", id: "id-Latn-ID", idd: "idd-Latn-ZZ", idi: "idi-Latn-ZZ", idu: "idu-Latn-ZZ", ife: "ife-Latn-TG", ig: "ig-Latn-NG", igb: "igb-Latn-ZZ", ige: "ige-Latn-ZZ", ii: "ii-Yiii-CN", ijj: "ijj-Latn-ZZ", ik: "ik-Latn-US", ikk: "ikk-Latn-ZZ", ikt: "ikt-Latn-CA", ikw: "ikw-Latn-ZZ", ikx: "ikx-Latn-ZZ", ilo: "ilo-Latn-PH", imo: "imo-Latn-ZZ", in: "in-Latn-ID", inh: "inh-Cyrl-RU", io: "io-Latn-001", iou: "iou-Latn-ZZ", iri: "iri-Latn-ZZ", is: "is-Latn-IS", it: "it-Latn-IT", iu: "iu-Cans-CA", iw: "iw-Hebr-IL", iwm: "iwm-Latn-ZZ", iws: "iws-Latn-ZZ", izh: "izh-Latn-RU", izi: "izi-Latn-ZZ", ja: "ja-Jpan-JP", jab: "jab-Latn-ZZ", jam: "jam-Latn-JM", jar: "jar-Latn-ZZ", jbo: "jbo-Latn-001", jbu: "jbu-Latn-ZZ", jen: "jen-Latn-ZZ", jgk: "jgk-Latn-ZZ", jgo: "jgo-Latn-CM", ji: "ji-Hebr-UA", jib: "jib-Latn-ZZ", jmc: "jmc-Latn-TZ", jml: "jml-Deva-NP", jra: "jra-Latn-ZZ", jut: "jut-Latn-DK", jv: "jv-Latn-ID", jw: "jw-Latn-ID", ka: "ka-Geor-GE", kaa: "kaa-Cyrl-UZ", kab: "kab-Latn-DZ", kac: "kac-Latn-MM", kad: "kad-Latn-ZZ", kai: "kai-Latn-ZZ", kaj: "kaj-Latn-NG", kam: "kam-Latn-KE", kao: "kao-Latn-ML", kbd: "kbd-Cyrl-RU", kbm: "kbm-Latn-ZZ", kbp: "kbp-Latn-ZZ", kbq: "kbq-Latn-ZZ", kbx: "kbx-Latn-ZZ", kby: "kby-Arab-NE", kcg: "kcg-Latn-NG", kck: "kck-Latn-ZW", kcl: "kcl-Latn-ZZ", kct: "kct-Latn-ZZ", kde: "kde-Latn-TZ", kdh: "kdh-Latn-TG", kdl: "kdl-Latn-ZZ", kdt: "kdt-Thai-TH", kea: "kea-Latn-CV", ken: "ken-Latn-CM", kez: "kez-Latn-ZZ", kfo: "kfo-Latn-CI", kfr: "kfr-Deva-IN", kfy: "kfy-Deva-IN", kg: "kg-Latn-CD", kge: "kge-Latn-ID", kgf: "kgf-Latn-ZZ", kgp: "kgp-Latn-BR", kha: "kha-Latn-IN", khb: "khb-Talu-CN", khn: "khn-Deva-IN", khq: "khq-Latn-ML", khs: "khs-Latn-ZZ", kht: "kht-Mymr-IN", khw: "khw-Arab-PK", khz: "khz-Latn-ZZ", ki: "ki-Latn-KE", kij: "kij-Latn-ZZ", kiu: "kiu-Latn-TR", kiw: "kiw-Latn-ZZ", kj: "kj-Latn-NA", kjd: "kjd-Latn-ZZ", kjg: "kjg-Laoo-LA", kjs: "kjs-Latn-ZZ", kjy: "kjy-Latn-ZZ", kk: "kk-Cyrl-KZ", "kk-AF": "kk-Arab-AF", "kk-Arab": "kk-Arab-CN", "kk-CN": "kk-Arab-CN", "kk-IR": "kk-Arab-IR", "kk-MN": "kk-Arab-MN", kkc: "kkc-Latn-ZZ", kkj: "kkj-Latn-CM", kl: "kl-Latn-GL", kln: "kln-Latn-KE", klq: "klq-Latn-ZZ", klt: "klt-Latn-ZZ", klx: "klx-Latn-ZZ", km: "km-Khmr-KH", kmb: "kmb-Latn-AO", kmh: "kmh-Latn-ZZ", kmo: "kmo-Latn-ZZ", kms: "kms-Latn-ZZ", kmu: "kmu-Latn-ZZ", kmw: "kmw-Latn-ZZ", kn: "kn-Knda-IN", knf: "knf-Latn-GW", knp: "knp-Latn-ZZ", ko: "ko-Kore-KR", koi: "koi-Cyrl-RU", kok: "kok-Deva-IN", kol: "kol-Latn-ZZ", kos: "kos-Latn-FM", koz: "koz-Latn-ZZ", kpe: "kpe-Latn-LR", kpf: "kpf-Latn-ZZ", kpo: "kpo-Latn-ZZ", kpr: "kpr-Latn-ZZ", kpx: "kpx-Latn-ZZ", kqb: "kqb-Latn-ZZ", kqf: "kqf-Latn-ZZ", kqs: "kqs-Latn-ZZ", kqy: "kqy-Ethi-ZZ", kr: "kr-Latn-ZZ", krc: "krc-Cyrl-RU", kri: "kri-Latn-SL", krj: "krj-Latn-PH", krl: "krl-Latn-RU", krs: "krs-Latn-ZZ", kru: "kru-Deva-IN", ks: "ks-Arab-IN", ksb: "ksb-Latn-TZ", ksd: "ksd-Latn-ZZ", ksf: "ksf-Latn-CM", ksh: "ksh-Latn-DE", ksj: "ksj-Latn-ZZ", ksr: "ksr-Latn-ZZ", ktb: "ktb-Ethi-ZZ", ktm: "ktm-Latn-ZZ", kto: "kto-Latn-ZZ", ktr: "ktr-Latn-MY", ku: "ku-Latn-TR", "ku-Arab": "ku-Arab-IQ", "ku-LB": "ku-Arab-LB", "ku-Yezi": "ku-Yezi-GE", kub: "kub-Latn-ZZ", kud: "kud-Latn-ZZ", kue: "kue-Latn-ZZ", kuj: "kuj-Latn-ZZ", kum: "kum-Cyrl-RU", kun: "kun-Latn-ZZ", kup: "kup-Latn-ZZ", kus: "kus-Latn-ZZ", kv: "kv-Cyrl-RU", kvg: "kvg-Latn-ZZ", kvr: "kvr-Latn-ID", kvx: "kvx-Arab-PK", kw: "kw-Latn-GB", kwj: "kwj-Latn-ZZ", kwo: "kwo-Latn-ZZ", kwq: "kwq-Latn-ZZ", kxa: "kxa-Latn-ZZ", kxc: "kxc-Ethi-ZZ", kxe: "kxe-Latn-ZZ", kxl: "kxl-Deva-IN", kxm: "kxm-Thai-TH", kxp: "kxp-Arab-PK", kxw: "kxw-Latn-ZZ", kxz: "kxz-Latn-ZZ", ky: "ky-Cyrl-KG", "ky-Arab": "ky-Arab-CN", "ky-CN": "ky-Arab-CN", "ky-Latn": "ky-Latn-TR", "ky-TR": "ky-Latn-TR", kye: "kye-Latn-ZZ", kyx: "kyx-Latn-ZZ", kzh: "kzh-Arab-ZZ", kzj: "kzj-Latn-MY", kzr: "kzr-Latn-ZZ", kzt: "kzt-Latn-MY", la: "la-Latn-VA", lab: "lab-Lina-GR", lad: "lad-Hebr-IL", lag: "lag-Latn-TZ", lah: "lah-Arab-PK", laj: "laj-Latn-UG", las: "las-Latn-ZZ", lb: "lb-Latn-LU", lbe: "lbe-Cyrl-RU", lbu: "lbu-Latn-ZZ", lbw: "lbw-Latn-ID", lcm: "lcm-Latn-ZZ", lcp: "lcp-Thai-CN", ldb: "ldb-Latn-ZZ", led: "led-Latn-ZZ", lee: "lee-Latn-ZZ", lem: "lem-Latn-ZZ", lep: "lep-Lepc-IN", leq: "leq-Latn-ZZ", leu: "leu-Latn-ZZ", lez: "lez-Cyrl-RU", lg: "lg-Latn-UG", lgg: "lgg-Latn-ZZ", li: "li-Latn-NL", lia: "lia-Latn-ZZ", lid: "lid-Latn-ZZ", lif: "lif-Deva-NP", "lif-Limb": "lif-Limb-IN", lig: "lig-Latn-ZZ", lih: "lih-Latn-ZZ", lij: "lij-Latn-IT", lis: "lis-Lisu-CN", ljp: "ljp-Latn-ID", lki: "lki-Arab-IR", lkt: "lkt-Latn-US", lle: "lle-Latn-ZZ", lln: "lln-Latn-ZZ", lmn: "lmn-Telu-IN", lmo: "lmo-Latn-IT", lmp: "lmp-Latn-ZZ", ln: "ln-Latn-CD", lns: "lns-Latn-ZZ", lnu: "lnu-Latn-ZZ", lo: "lo-Laoo-LA", loj: "loj-Latn-ZZ", lok: "lok-Latn-ZZ", lol: "lol-Latn-CD", lor: "lor-Latn-ZZ", los: "los-Latn-ZZ", loz: "loz-Latn-ZM", lrc: "lrc-Arab-IR", lt: "lt-Latn-LT", ltg: "ltg-Latn-LV", lu: "lu-Latn-CD", lua: "lua-Latn-CD", luo: "luo-Latn-KE", luy: "luy-Latn-KE", luz: "luz-Arab-IR", lv: "lv-Latn-LV", lwl: "lwl-Thai-TH", lzh: "lzh-Hans-CN", lzz: "lzz-Latn-TR", mad: "mad-Latn-ID", maf: "maf-Latn-CM", mag: "mag-Deva-IN", mai: "mai-Deva-IN", mak: "mak-Latn-ID", man: "man-Latn-GM", "man-GN": "man-Nkoo-GN", "man-Nkoo": "man-Nkoo-GN", mas: "mas-Latn-KE", maw: "maw-Latn-ZZ", maz: "maz-Latn-MX", mbh: "mbh-Latn-ZZ", mbo: "mbo-Latn-ZZ", mbq: "mbq-Latn-ZZ", mbu: "mbu-Latn-ZZ", mbw: "mbw-Latn-ZZ", mci: "mci-Latn-ZZ", mcp: "mcp-Latn-ZZ", mcq: "mcq-Latn-ZZ", mcr: "mcr-Latn-ZZ", mcu: "mcu-Latn-ZZ", mda: "mda-Latn-ZZ", mde: "mde-Arab-ZZ", mdf: "mdf-Cyrl-RU", mdh: "mdh-Latn-PH", mdj: "mdj-Latn-ZZ", mdr: "mdr-Latn-ID", mdx: "mdx-Ethi-ZZ", med: "med-Latn-ZZ", mee: "mee-Latn-ZZ", mek: "mek-Latn-ZZ", men: "men-Latn-SL", mer: "mer-Latn-KE", met: "met-Latn-ZZ", meu: "meu-Latn-ZZ", mfa: "mfa-Arab-TH", mfe: "mfe-Latn-MU", mfn: "mfn-Latn-ZZ", mfo: "mfo-Latn-ZZ", mfq: "mfq-Latn-ZZ", mg: "mg-Latn-MG", mgh: "mgh-Latn-MZ", mgl: "mgl-Latn-ZZ", mgo: "mgo-Latn-CM", mgp: "mgp-Deva-NP", mgy: "mgy-Latn-TZ", mh: "mh-Latn-MH", mhi: "mhi-Latn-ZZ", mhl: "mhl-Latn-ZZ", mi: "mi-Latn-NZ", mif: "mif-Latn-ZZ", min: "min-Latn-ID", miw: "miw-Latn-ZZ", mk: "mk-Cyrl-MK", mki: "mki-Arab-ZZ", mkl: "mkl-Latn-ZZ", mkp: "mkp-Latn-ZZ", mkw: "mkw-Latn-ZZ", ml: "ml-Mlym-IN", mle: "mle-Latn-ZZ", mlp: "mlp-Latn-ZZ", mls: "mls-Latn-SD", mmo: "mmo-Latn-ZZ", mmu: "mmu-Latn-ZZ", mmx: "mmx-Latn-ZZ", mn: "mn-Cyrl-MN", "mn-CN": "mn-Mong-CN", "mn-Mong": "mn-Mong-CN", mna: "mna-Latn-ZZ", mnf: "mnf-Latn-ZZ", mni: "mni-Beng-IN", mnw: "mnw-Mymr-MM", mo: "mo-Latn-RO", moa: "moa-Latn-ZZ", moe: "moe-Latn-CA", moh: "moh-Latn-CA", mos: "mos-Latn-BF", mox: "mox-Latn-ZZ", mpp: "mpp-Latn-ZZ", mps: "mps-Latn-ZZ", mpt: "mpt-Latn-ZZ", mpx: "mpx-Latn-ZZ", mql: "mql-Latn-ZZ", mr: "mr-Deva-IN", mrd: "mrd-Deva-NP", mrj: "mrj-Cyrl-RU", mro: "mro-Mroo-BD", ms: "ms-Latn-MY", "ms-CC": "ms-Arab-CC", mt: "mt-Latn-MT", mtc: "mtc-Latn-ZZ", mtf: "mtf-Latn-ZZ", mti: "mti-Latn-ZZ", mtr: "mtr-Deva-IN", mua: "mua-Latn-CM", mur: "mur-Latn-ZZ", mus: "mus-Latn-US", mva: "mva-Latn-ZZ", mvn: "mvn-Latn-ZZ", mvy: "mvy-Arab-PK", mwk: "mwk-Latn-ML", mwr: "mwr-Deva-IN", mwv: "mwv-Latn-ID", mww: "mww-Hmnp-US", mxc: "mxc-Latn-ZW", mxm: "mxm-Latn-ZZ", my: "my-Mymr-MM", myk: "myk-Latn-ZZ", mym: "mym-Ethi-ZZ", myv: "myv-Cyrl-RU", myw: "myw-Latn-ZZ", myx: "myx-Latn-UG", myz: "myz-Mand-IR", mzk: "mzk-Latn-ZZ", mzm: "mzm-Latn-ZZ", mzn: "mzn-Arab-IR", mzp: "mzp-Latn-ZZ", mzw: "mzw-Latn-ZZ", mzz: "mzz-Latn-ZZ", na: "na-Latn-NR", nac: "nac-Latn-ZZ", naf: "naf-Latn-ZZ", nak: "nak-Latn-ZZ", nan: "nan-Hans-CN", nap: "nap-Latn-IT", naq: "naq-Latn-NA", nas: "nas-Latn-ZZ", nb: "nb-Latn-NO", nca: "nca-Latn-ZZ", nce: "nce-Latn-ZZ", ncf: "ncf-Latn-ZZ", nch: "nch-Latn-MX", nco: "nco-Latn-ZZ", ncu: "ncu-Latn-ZZ", nd: "nd-Latn-ZW", ndc: "ndc-Latn-MZ", nds: "nds-Latn-DE", ne: "ne-Deva-NP", neb: "neb-Latn-ZZ", new: "new-Deva-NP", nex: "nex-Latn-ZZ", nfr: "nfr-Latn-ZZ", ng: "ng-Latn-NA", nga: "nga-Latn-ZZ", ngb: "ngb-Latn-ZZ", ngl: "ngl-Latn-MZ", nhb: "nhb-Latn-ZZ", nhe: "nhe-Latn-MX", nhw: "nhw-Latn-MX", nif: "nif-Latn-ZZ", nii: "nii-Latn-ZZ", nij: "nij-Latn-ID", nin: "nin-Latn-ZZ", niu: "niu-Latn-NU", niy: "niy-Latn-ZZ", niz: "niz-Latn-ZZ", njo: "njo-Latn-IN", nkg: "nkg-Latn-ZZ", nko: "nko-Latn-ZZ", nl: "nl-Latn-NL", nmg: "nmg-Latn-CM", nmz: "nmz-Latn-ZZ", nn: "nn-Latn-NO", nnf: "nnf-Latn-ZZ", nnh: "nnh-Latn-CM", nnk: "nnk-Latn-ZZ", nnm: "nnm-Latn-ZZ", nnp: "nnp-Wcho-IN", no: "no-Latn-NO", nod: "nod-Lana-TH", noe: "noe-Deva-IN", non: "non-Runr-SE", nop: "nop-Latn-ZZ", nou: "nou-Latn-ZZ", nqo: "nqo-Nkoo-GN", nr: "nr-Latn-ZA", nrb: "nrb-Latn-ZZ", nsk: "nsk-Cans-CA", nsn: "nsn-Latn-ZZ", nso: "nso-Latn-ZA", nss: "nss-Latn-ZZ", nst: "nst-Tnsa-IN", ntm: "ntm-Latn-ZZ", ntr: "ntr-Latn-ZZ", nui: "nui-Latn-ZZ", nup: "nup-Latn-ZZ", nus: "nus-Latn-SS", nuv: "nuv-Latn-ZZ", nux: "nux-Latn-ZZ", nv: "nv-Latn-US", nwb: "nwb-Latn-ZZ", nxq: "nxq-Latn-CN", nxr: "nxr-Latn-ZZ", ny: "ny-Latn-MW", nym: "nym-Latn-TZ", nyn: "nyn-Latn-UG", nzi: "nzi-Latn-GH", oc: "oc-Latn-FR", ogc: "ogc-Latn-ZZ", okr: "okr-Latn-ZZ", okv: "okv-Latn-ZZ", om: "om-Latn-ET", ong: "ong-Latn-ZZ", onn: "onn-Latn-ZZ", ons: "ons-Latn-ZZ", opm: "opm-Latn-ZZ", or: "or-Orya-IN", oro: "oro-Latn-ZZ", oru: "oru-Arab-ZZ", os: "os-Cyrl-GE", osa: "osa-Osge-US", ota: "ota-Arab-ZZ", otk: "otk-Orkh-MN", oui: "oui-Ougr-143", ozm: "ozm-Latn-ZZ", pa: "pa-Guru-IN", "pa-Arab": "pa-Arab-PK", "pa-PK": "pa-Arab-PK", pag: "pag-Latn-PH", pal: "pal-Phli-IR", "pal-Phlp": "pal-Phlp-CN", pam: "pam-Latn-PH", pap: "pap-Latn-AW", pau: "pau-Latn-PW", pbi: "pbi-Latn-ZZ", pcd: "pcd-Latn-FR", pcm: "pcm-Latn-NG", pdc: "pdc-Latn-US", pdt: "pdt-Latn-CA", ped: "ped-Latn-ZZ", peo: "peo-Xpeo-IR", pex: "pex-Latn-ZZ", pfl: "pfl-Latn-DE", phl: "phl-Arab-ZZ", phn: "phn-Phnx-LB", pil: "pil-Latn-ZZ", pip: "pip-Latn-ZZ", pka: "pka-Brah-IN", pko: "pko-Latn-KE", pl: "pl-Latn-PL", pla: "pla-Latn-ZZ", pms: "pms-Latn-IT", png: "png-Latn-ZZ", pnn: "pnn-Latn-ZZ", pnt: "pnt-Grek-GR", pon: "pon-Latn-FM", ppa: "ppa-Deva-IN", ppo: "ppo-Latn-ZZ", pra: "pra-Khar-PK", prd: "prd-Arab-IR", prg: "prg-Latn-001", ps: "ps-Arab-AF", pss: "pss-Latn-ZZ", pt: "pt-Latn-BR", ptp: "ptp-Latn-ZZ", puu: "puu-Latn-GA", pwa: "pwa-Latn-ZZ", qu: "qu-Latn-PE", quc: "quc-Latn-GT", qug: "qug-Latn-EC", rai: "rai-Latn-ZZ", raj: "raj-Deva-IN", rao: "rao-Latn-ZZ", rcf: "rcf-Latn-RE", rej: "rej-Latn-ID", rel: "rel-Latn-ZZ", res: "res-Latn-ZZ", rgn: "rgn-Latn-IT", rhg: "rhg-Rohg-MM", ria: "ria-Latn-IN", rif: "rif-Tfng-MA", "rif-NL": "rif-Latn-NL", rjs: "rjs-Deva-NP", rkt: "rkt-Beng-BD", rm: "rm-Latn-CH", rmf: "rmf-Latn-FI", rmo: "rmo-Latn-CH", rmt: "rmt-Arab-IR", rmu: "rmu-Latn-SE", rn: "rn-Latn-BI", rna: "rna-Latn-ZZ", rng: "rng-Latn-MZ", ro: "ro-Latn-RO", rob: "rob-Latn-ID", rof: "rof-Latn-TZ", roo: "roo-Latn-ZZ", rro: "rro-Latn-ZZ", rtm: "rtm-Latn-FJ", ru: "ru-Cyrl-RU", rue: "rue-Cyrl-UA", rug: "rug-Latn-SB", rw: "rw-Latn-RW", rwk: "rwk-Latn-TZ", rwo: "rwo-Latn-ZZ", ryu: "ryu-Kana-JP", sa: "sa-Deva-IN", saf: "saf-Latn-GH", sah: "sah-Cyrl-RU", saq: "saq-Latn-KE", sas: "sas-Latn-ID", sat: "sat-Olck-IN", sav: "sav-Latn-SN", saz: "saz-Saur-IN", sba: "sba-Latn-ZZ", sbe: "sbe-Latn-ZZ", sbp: "sbp-Latn-TZ", sc: "sc-Latn-IT", sck: "sck-Deva-IN", scl: "scl-Arab-ZZ", scn: "scn-Latn-IT", sco: "sco-Latn-GB", scs: "scs-Latn-CA", sd: "sd-Arab-PK", "sd-Deva": "sd-Deva-IN", "sd-Khoj": "sd-Khoj-IN", "sd-Sind": "sd-Sind-IN", sdc: "sdc-Latn-IT", sdh: "sdh-Arab-IR", se: "se-Latn-NO", sef: "sef-Latn-CI", seh: "seh-Latn-MZ", sei: "sei-Latn-MX", ses: "ses-Latn-ML", sg: "sg-Latn-CF", sga: "sga-Ogam-IE", sgs: "sgs-Latn-LT", sgw: "sgw-Ethi-ZZ", sgz: "sgz-Latn-ZZ", shi: "shi-Tfng-MA", shk: "shk-Latn-ZZ", shn: "shn-Mymr-MM", shu: "shu-Arab-ZZ", si: "si-Sinh-LK", sid: "sid-Latn-ET", sig: "sig-Latn-ZZ", sil: "sil-Latn-ZZ", sim: "sim-Latn-ZZ", sjr: "sjr-Latn-ZZ", sk: "sk-Latn-SK", skc: "skc-Latn-ZZ", skr: "skr-Arab-PK", sks: "sks-Latn-ZZ", sl: "sl-Latn-SI", sld: "sld-Latn-ZZ", sli: "sli-Latn-PL", sll: "sll-Latn-ZZ", sly: "sly-Latn-ID", sm: "sm-Latn-WS", sma: "sma-Latn-SE", smj: "smj-Latn-SE", smn: "smn-Latn-FI", smp: "smp-Samr-IL", smq: "smq-Latn-ZZ", sms: "sms-Latn-FI", sn: "sn-Latn-ZW", snc: "snc-Latn-ZZ", snk: "snk-Latn-ML", snp: "snp-Latn-ZZ", snx: "snx-Latn-ZZ", sny: "sny-Latn-ZZ", so: "so-Latn-SO", sog: "sog-Sogd-UZ", sok: "sok-Latn-ZZ", soq: "soq-Latn-ZZ", sou: "sou-Thai-TH", soy: "soy-Latn-ZZ", spd: "spd-Latn-ZZ", spl: "spl-Latn-ZZ", sps: "sps-Latn-ZZ", sq: "sq-Latn-AL", sr: "sr-Cyrl-RS", "sr-ME": "sr-Latn-ME", "sr-RO": "sr-Latn-RO", "sr-RU": "sr-Latn-RU", "sr-TR": "sr-Latn-TR", srb: "srb-Sora-IN", srn: "srn-Latn-SR", srr: "srr-Latn-SN", srx: "srx-Deva-IN", ss: "ss-Latn-ZA", ssd: "ssd-Latn-ZZ", ssg: "ssg-Latn-ZZ", ssy: "ssy-Latn-ER", st: "st-Latn-ZA", stk: "stk-Latn-ZZ", stq: "stq-Latn-DE", su: "su-Latn-ID", sua: "sua-Latn-ZZ", sue: "sue-Latn-ZZ", suk: "suk-Latn-TZ", sur: "sur-Latn-ZZ", sus: "sus-Latn-GN", sv: "sv-Latn-SE", sw: "sw-Latn-TZ", swb: "swb-Arab-YT", swc: "swc-Latn-CD", swg: "swg-Latn-DE", swp: "swp-Latn-ZZ", swv: "swv-Deva-IN", sxn: "sxn-Latn-ID", sxw: "sxw-Latn-ZZ", syl: "syl-Beng-BD", syr: "syr-Syrc-IQ", szl: "szl-Latn-PL", ta: "ta-Taml-IN", taj: "taj-Deva-NP", tal: "tal-Latn-ZZ", tan: "tan-Latn-ZZ", taq: "taq-Latn-ZZ", tbc: "tbc-Latn-ZZ", tbd: "tbd-Latn-ZZ", tbf: "tbf-Latn-ZZ", tbg: "tbg-Latn-ZZ", tbo: "tbo-Latn-ZZ", tbw: "tbw-Latn-PH", tbz: "tbz-Latn-ZZ", tci: "tci-Latn-ZZ", tcy: "tcy-Knda-IN", tdd: "tdd-Tale-CN", tdg: "tdg-Deva-NP", tdh: "tdh-Deva-NP", tdu: "tdu-Latn-MY", te: "te-Telu-IN", ted: "ted-Latn-ZZ", tem: "tem-Latn-SL", teo: "teo-Latn-UG", tet: "tet-Latn-TL", tfi: "tfi-Latn-ZZ", tg: "tg-Cyrl-TJ", "tg-Arab": "tg-Arab-PK", "tg-PK": "tg-Arab-PK", tgc: "tgc-Latn-ZZ", tgo: "tgo-Latn-ZZ", tgu: "tgu-Latn-ZZ", th: "th-Thai-TH", thl: "thl-Deva-NP", thq: "thq-Deva-NP", thr: "thr-Deva-NP", ti: "ti-Ethi-ET", tif: "tif-Latn-ZZ", tig: "tig-Ethi-ER", tik: "tik-Latn-ZZ", tim: "tim-Latn-ZZ", tio: "tio-Latn-ZZ", tiv: "tiv-Latn-NG", tk: "tk-Latn-TM", tkl: "tkl-Latn-TK", tkr: "tkr-Latn-AZ", tkt: "tkt-Deva-NP", tl: "tl-Latn-PH", tlf: "tlf-Latn-ZZ", tlx: "tlx-Latn-ZZ", tly: "tly-Latn-AZ", tmh: "tmh-Latn-NE", tmy: "tmy-Latn-ZZ", tn: "tn-Latn-ZA", tnh: "tnh-Latn-ZZ", to: "to-Latn-TO", tof: "tof-Latn-ZZ", tog: "tog-Latn-MW", toq: "toq-Latn-ZZ", tpi: "tpi-Latn-PG", tpm: "tpm-Latn-ZZ", tpz: "tpz-Latn-ZZ", tqo: "tqo-Latn-ZZ", tr: "tr-Latn-TR", tru: "tru-Latn-TR", trv: "trv-Latn-TW", trw: "trw-Arab-PK", ts: "ts-Latn-ZA", tsd: "tsd-Grek-GR", tsf: "tsf-Deva-NP", tsg: "tsg-Latn-PH", tsj: "tsj-Tibt-BT", tsw: "tsw-Latn-ZZ", tt: "tt-Cyrl-RU", ttd: "ttd-Latn-ZZ", tte: "tte-Latn-ZZ", ttj: "ttj-Latn-UG", ttr: "ttr-Latn-ZZ", tts: "tts-Thai-TH", ttt: "ttt-Latn-AZ", tuh: "tuh-Latn-ZZ", tul: "tul-Latn-ZZ", tum: "tum-Latn-MW", tuq: "tuq-Latn-ZZ", tvd: "tvd-Latn-ZZ", tvl: "tvl-Latn-TV", tvu: "tvu-Latn-ZZ", twh: "twh-Latn-ZZ", twq: "twq-Latn-NE", txg: "txg-Tang-CN", txo: "txo-Toto-IN", ty: "ty-Latn-PF", tya: "tya-Latn-ZZ", tyv: "tyv-Cyrl-RU", tzm: "tzm-Latn-MA", ubu: "ubu-Latn-ZZ", udi: "udi-Aghb-RU", udm: "udm-Cyrl-RU", ug: "ug-Arab-CN", "ug-Cyrl": "ug-Cyrl-KZ", "ug-KZ": "ug-Cyrl-KZ", "ug-MN": "ug-Cyrl-MN", uga: "uga-Ugar-SY", uk: "uk-Cyrl-UA", uli: "uli-Latn-FM", umb: "umb-Latn-AO", und: "en-Latn-US", "und-002": "en-Latn-NG", "und-003": "en-Latn-US", "und-005": "pt-Latn-BR", "und-009": "en-Latn-AU", "und-011": "en-Latn-NG", "und-013": "es-Latn-MX", "und-014": "sw-Latn-TZ", "und-015": "ar-Arab-EG", "und-017": "sw-Latn-CD", "und-018": "en-Latn-ZA", "und-019": "en-Latn-US", "und-021": "en-Latn-US", "und-029": "es-Latn-CU", "und-030": "zh-Hans-CN", "und-034": "hi-Deva-IN", "und-035": "id-Latn-ID", "und-039": "it-Latn-IT", "und-053": "en-Latn-AU", "und-054": "en-Latn-PG", "und-057": "en-Latn-GU", "und-061": "sm-Latn-WS", "und-142": "zh-Hans-CN", "und-143": "uz-Latn-UZ", "und-145": "ar-Arab-SA", "und-150": "ru-Cyrl-RU", "und-151": "ru-Cyrl-RU", "und-154": "en-Latn-GB", "und-155": "de-Latn-DE", "und-202": "en-Latn-NG", "und-419": "es-Latn-419", "und-AD": "ca-Latn-AD", "und-Adlm": "ff-Adlm-GN", "und-AE": "ar-Arab-AE", "und-AF": "fa-Arab-AF", "und-Aghb": "udi-Aghb-RU", "und-Ahom": "aho-Ahom-IN", "und-AL": "sq-Latn-AL", "und-AM": "hy-Armn-AM", "und-AO": "pt-Latn-AO", "und-AQ": "und-Latn-AQ", "und-AR": "es-Latn-AR", "und-Arab": "ar-Arab-EG", "und-Arab-CC": "ms-Arab-CC", "und-Arab-CN": "ug-Arab-CN", "und-Arab-GB": "ks-Arab-GB", "und-Arab-ID": "ms-Arab-ID", "und-Arab-IN": "ur-Arab-IN", "und-Arab-KH": "cja-Arab-KH", "und-Arab-MM": "rhg-Arab-MM", "und-Arab-MN": "kk-Arab-MN", "und-Arab-MU": "ur-Arab-MU", "und-Arab-NG": "ha-Arab-NG", "und-Arab-PK": "ur-Arab-PK", "und-Arab-TG": "apd-Arab-TG", "und-Arab-TH": "mfa-Arab-TH", "und-Arab-TJ": "fa-Arab-TJ", "und-Arab-TR": "az-Arab-TR", "und-Arab-YT": "swb-Arab-YT", "und-Armi": "arc-Armi-IR", "und-Armn": "hy-Armn-AM", "und-AS": "sm-Latn-AS", "und-AT": "de-Latn-AT", "und-Avst": "ae-Avst-IR", "und-AW": "nl-Latn-AW", "und-AX": "sv-Latn-AX", "und-AZ": "az-Latn-AZ", "und-BA": "bs-Latn-BA", "und-Bali": "ban-Bali-ID", "und-Bamu": "bax-Bamu-CM", "und-Bass": "bsq-Bass-LR", "und-Batk": "bbc-Batk-ID", "und-BD": "bn-Beng-BD", "und-BE": "nl-Latn-BE", "und-Beng": "bn-Beng-BD", "und-BF": "fr-Latn-BF", "und-BG": "bg-Cyrl-BG", "und-BH": "ar-Arab-BH", "und-Bhks": "sa-Bhks-IN", "und-BI": "rn-Latn-BI", "und-BJ": "fr-Latn-BJ", "und-BL": "fr-Latn-BL", "und-BN": "ms-Latn-BN", "und-BO": "es-Latn-BO", "und-Bopo": "zh-Bopo-TW", "und-BQ": "pap-Latn-BQ", "und-BR": "pt-Latn-BR", "und-Brah": "pka-Brah-IN", "und-Brai": "fr-Brai-FR", "und-BT": "dz-Tibt-BT", "und-Bugi": "bug-Bugi-ID", "und-Buhd": "bku-Buhd-PH", "und-BV": "und-Latn-BV", "und-BY": "be-Cyrl-BY", "und-Cakm": "ccp-Cakm-BD", "und-Cans": "cr-Cans-CA", "und-Cari": "xcr-Cari-TR", "und-CD": "sw-Latn-CD", "und-CF": "fr-Latn-CF", "und-CG": "fr-Latn-CG", "und-CH": "de-Latn-CH", "und-Cham": "cjm-Cham-VN", "und-Cher": "chr-Cher-US", "und-Chrs": "xco-Chrs-UZ", "und-CI": "fr-Latn-CI", "und-CL": "es-Latn-CL", "und-CM": "fr-Latn-CM", "und-CN": "zh-Hans-CN", "und-CO": "es-Latn-CO", "und-Copt": "cop-Copt-EG", "und-CP": "und-Latn-CP", "und-Cpmn": "und-Cpmn-CY", "und-Cpmn-CY": "und-Cpmn-CY", "und-Cprt": "grc-Cprt-CY", "und-CR": "es-Latn-CR", "und-CU": "es-Latn-CU", "und-CV": "pt-Latn-CV", "und-CW": "pap-Latn-CW", "und-CY": "el-Grek-CY", "und-Cyrl": "ru-Cyrl-RU", "und-Cyrl-AL": "mk-Cyrl-AL", "und-Cyrl-BA": "sr-Cyrl-BA", "und-Cyrl-GE": "os-Cyrl-GE", "und-Cyrl-GR": "mk-Cyrl-GR", "und-Cyrl-MD": "uk-Cyrl-MD", "und-Cyrl-RO": "bg-Cyrl-RO", "und-Cyrl-SK": "uk-Cyrl-SK", "und-Cyrl-TR": "kbd-Cyrl-TR", "und-Cyrl-XK": "sr-Cyrl-XK", "und-CZ": "cs-Latn-CZ", "und-DE": "de-Latn-DE", "und-Deva": "hi-Deva-IN", "und-Deva-BT": "ne-Deva-BT", "und-Deva-FJ": "hif-Deva-FJ", "und-Deva-MU": "bho-Deva-MU", "und-Deva-PK": "btv-Deva-PK", "und-Diak": "dv-Diak-MV", "und-DJ": "aa-Latn-DJ", "und-DK": "da-Latn-DK", "und-DO": "es-Latn-DO", "und-Dogr": "doi-Dogr-IN", "und-Dupl": "fr-Dupl-FR", "und-DZ": "ar-Arab-DZ", "und-EA": "es-Latn-EA", "und-EC": "es-Latn-EC", "und-EE": "et-Latn-EE", "und-EG": "ar-Arab-EG", "und-Egyp": "egy-Egyp-EG", "und-EH": "ar-Arab-EH", "und-Elba": "sq-Elba-AL", "und-Elym": "arc-Elym-IR", "und-ER": "ti-Ethi-ER", "und-ES": "es-Latn-ES", "und-ET": "am-Ethi-ET", "und-Ethi": "am-Ethi-ET", "und-EU": "en-Latn-IE", "und-EZ": "de-Latn-EZ", "und-FI": "fi-Latn-FI", "und-FO": "fo-Latn-FO", "und-FR": "fr-Latn-FR", "und-GA": "fr-Latn-GA", "und-GE": "ka-Geor-GE", "und-Geor": "ka-Geor-GE", "und-GF": "fr-Latn-GF", "und-GH": "ak-Latn-GH", "und-GL": "kl-Latn-GL", "und-Glag": "cu-Glag-BG", "und-GN": "fr-Latn-GN", "und-Gong": "wsg-Gong-IN", "und-Gonm": "esg-Gonm-IN", "und-Goth": "got-Goth-UA", "und-GP": "fr-Latn-GP", "und-GQ": "es-Latn-GQ", "und-GR": "el-Grek-GR", "und-Gran": "sa-Gran-IN", "und-Grek": "el-Grek-GR", "und-Grek-TR": "bgx-Grek-TR", "und-GS": "und-Latn-GS", "und-GT": "es-Latn-GT", "und-Gujr": "gu-Gujr-IN", "und-Guru": "pa-Guru-IN", "und-GW": "pt-Latn-GW", "und-Hanb": "zh-Hanb-TW", "und-Hang": "ko-Hang-KR", "und-Hani": "zh-Hani-CN", "und-Hano": "hnn-Hano-PH", "und-Hans": "zh-Hans-CN", "und-Hant": "zh-Hant-TW", "und-Hebr": "he-Hebr-IL", "und-Hebr-CA": "yi-Hebr-CA", "und-Hebr-GB": "yi-Hebr-GB", "und-Hebr-SE": "yi-Hebr-SE", "und-Hebr-UA": "yi-Hebr-UA", "und-Hebr-US": "yi-Hebr-US", "und-Hira": "ja-Hira-JP", "und-HK": "zh-Hant-HK", "und-Hluw": "hlu-Hluw-TR", "und-HM": "und-Latn-HM", "und-Hmng": "hnj-Hmng-LA", "und-Hmnp": "hnj-Hmnp-US", "und-HN": "es-Latn-HN", "und-HR": "hr-Latn-HR", "und-HT": "ht-Latn-HT", "und-HU": "hu-Latn-HU", "und-Hung": "hu-Hung-HU", "und-IC": "es-Latn-IC", "und-ID": "id-Latn-ID", "und-IL": "he-Hebr-IL", "und-IN": "hi-Deva-IN", "und-IQ": "ar-Arab-IQ", "und-IR": "fa-Arab-IR", "und-IS": "is-Latn-IS", "und-IT": "it-Latn-IT", "und-Ital": "ett-Ital-IT", "und-Jamo": "ko-Jamo-KR", "und-Java": "jv-Java-ID", "und-JO": "ar-Arab-JO", "und-JP": "ja-Jpan-JP", "und-Jpan": "ja-Jpan-JP", "und-Kali": "eky-Kali-MM", "und-Kana": "ja-Kana-JP", "und-KE": "sw-Latn-KE", "und-KG": "ky-Cyrl-KG", "und-KH": "km-Khmr-KH", "und-Khar": "pra-Khar-PK", "und-Khmr": "km-Khmr-KH", "und-Khoj": "sd-Khoj-IN", "und-Kits": "zkt-Kits-CN", "und-KM": "ar-Arab-KM", "und-Knda": "kn-Knda-IN", "und-Kore": "ko-Kore-KR", "und-KP": "ko-Kore-KP", "und-KR": "ko-Kore-KR", "und-Kthi": "bho-Kthi-IN", "und-KW": "ar-Arab-KW", "und-KZ": "ru-Cyrl-KZ", "und-LA": "lo-Laoo-LA", "und-Lana": "nod-Lana-TH", "und-Laoo": "lo-Laoo-LA", "und-Latn-AF": "tk-Latn-AF", "und-Latn-AM": "ku-Latn-AM", "und-Latn-CN": "za-Latn-CN", "und-Latn-CY": "tr-Latn-CY", "und-Latn-DZ": "fr-Latn-DZ", "und-Latn-ET": "en-Latn-ET", "und-Latn-GE": "ku-Latn-GE", "und-Latn-IR": "tk-Latn-IR", "und-Latn-KM": "fr-Latn-KM", "und-Latn-MA": "fr-Latn-MA", "und-Latn-MK": "sq-Latn-MK", "und-Latn-MM": "kac-Latn-MM", "und-Latn-MO": "pt-Latn-MO", "und-Latn-MR": "fr-Latn-MR", "und-Latn-RU": "krl-Latn-RU", "und-Latn-SY": "fr-Latn-SY", "und-Latn-TN": "fr-Latn-TN", "und-Latn-TW": "trv-Latn-TW", "und-Latn-UA": "pl-Latn-UA", "und-LB": "ar-Arab-LB", "und-Lepc": "lep-Lepc-IN", "und-LI": "de-Latn-LI", "und-Limb": "lif-Limb-IN", "und-Lina": "lab-Lina-GR", "und-Linb": "grc-Linb-GR", "und-Lisu": "lis-Lisu-CN", "und-LK": "si-Sinh-LK", "und-LS": "st-Latn-LS", "und-LT": "lt-Latn-LT", "und-LU": "fr-Latn-LU", "und-LV": "lv-Latn-LV", "und-LY": "ar-Arab-LY", "und-Lyci": "xlc-Lyci-TR", "und-Lydi": "xld-Lydi-TR", "und-MA": "ar-Arab-MA", "und-Mahj": "hi-Mahj-IN", "und-Maka": "mak-Maka-ID", "und-Mand": "myz-Mand-IR", "und-Mani": "xmn-Mani-CN", "und-Marc": "bo-Marc-CN", "und-MC": "fr-Latn-MC", "und-MD": "ro-Latn-MD", "und-ME": "sr-Latn-ME", "und-Medf": "dmf-Medf-NG", "und-Mend": "men-Mend-SL", "und-Merc": "xmr-Merc-SD", "und-Mero": "xmr-Mero-SD", "und-MF": "fr-Latn-MF", "und-MG": "mg-Latn-MG", "und-MK": "mk-Cyrl-MK", "und-ML": "bm-Latn-ML", "und-Mlym": "ml-Mlym-IN", "und-MM": "my-Mymr-MM", "und-MN": "mn-Cyrl-MN", "und-MO": "zh-Hant-MO", "und-Modi": "mr-Modi-IN", "und-Mong": "mn-Mong-CN", "und-MQ": "fr-Latn-MQ", "und-MR": "ar-Arab-MR", "und-Mroo": "mro-Mroo-BD", "und-MT": "mt-Latn-MT", "und-Mtei": "mni-Mtei-IN", "und-MU": "mfe-Latn-MU", "und-Mult": "skr-Mult-PK", "und-MV": "dv-Thaa-MV", "und-MX": "es-Latn-MX", "und-MY": "ms-Latn-MY", "und-Mymr": "my-Mymr-MM", "und-Mymr-IN": "kht-Mymr-IN", "und-Mymr-TH": "mnw-Mymr-TH", "und-MZ": "pt-Latn-MZ", "und-NA": "af-Latn-NA", "und-Nand": "sa-Nand-IN", "und-Narb": "xna-Narb-SA", "und-Nbat": "arc-Nbat-JO", "und-NC": "fr-Latn-NC", "und-NE": "ha-Latn-NE", "und-Newa": "new-Newa-NP", "und-NI": "es-Latn-NI", "und-Nkoo": "man-Nkoo-GN", "und-NL": "nl-Latn-NL", "und-NO": "nb-Latn-NO", "und-NP": "ne-Deva-NP", "und-Nshu": "zhx-Nshu-CN", "und-Ogam": "sga-Ogam-IE", "und-Olck": "sat-Olck-IN", "und-OM": "ar-Arab-OM", "und-Orkh": "otk-Orkh-MN", "und-Orya": "or-Orya-IN", "und-Osge": "osa-Osge-US", "und-Osma": "so-Osma-SO", "und-Ougr": "oui-Ougr-143", "und-PA": "es-Latn-PA", "und-Palm": "arc-Palm-SY", "und-Pauc": "ctd-Pauc-MM", "und-PE": "es-Latn-PE", "und-Perm": "kv-Perm-RU", "und-PF": "fr-Latn-PF", "und-PG": "tpi-Latn-PG", "und-PH": "fil-Latn-PH", "und-Phag": "lzh-Phag-CN", "und-Phli": "pal-Phli-IR", "und-Phlp": "pal-Phlp-CN", "und-Phnx": "phn-Phnx-LB", "und-PK": "ur-Arab-PK", "und-PL": "pl-Latn-PL", "und-Plrd": "hmd-Plrd-CN", "und-PM": "fr-Latn-PM", "und-PR": "es-Latn-PR", "und-Prti": "xpr-Prti-IR", "und-PS": "ar-Arab-PS", "und-PT": "pt-Latn-PT", "und-PW": "pau-Latn-PW", "und-PY": "gn-Latn-PY", "und-QA": "ar-Arab-QA", "und-QO": "en-Latn-DG", "und-RE": "fr-Latn-RE", "und-Rjng": "rej-Rjng-ID", "und-RO": "ro-Latn-RO", "und-Rohg": "rhg-Rohg-MM", "und-RS": "sr-Cyrl-RS", "und-RU": "ru-Cyrl-RU", "und-Runr": "non-Runr-SE", "und-RW": "rw-Latn-RW", "und-SA": "ar-Arab-SA", "und-Samr": "smp-Samr-IL", "und-Sarb": "xsa-Sarb-YE", "und-Saur": "saz-Saur-IN", "und-SC": "fr-Latn-SC", "und-SD": "ar-Arab-SD", "und-SE": "sv-Latn-SE", "und-Sgnw": "ase-Sgnw-US", "und-Shaw": "en-Shaw-GB", "und-Shrd": "sa-Shrd-IN", "und-SI": "sl-Latn-SI", "und-Sidd": "sa-Sidd-IN", "und-Sind": "sd-Sind-IN", "und-Sinh": "si-Sinh-LK", "und-SJ": "nb-Latn-SJ", "und-SK": "sk-Latn-SK", "und-SM": "it-Latn-SM", "und-SN": "fr-Latn-SN", "und-SO": "so-Latn-SO", "und-Sogd": "sog-Sogd-UZ", "und-Sogo": "sog-Sogo-UZ", "und-Sora": "srb-Sora-IN", "und-Soyo": "cmg-Soyo-MN", "und-SR": "nl-Latn-SR", "und-ST": "pt-Latn-ST", "und-Sund": "su-Sund-ID", "und-SV": "es-Latn-SV", "und-SY": "ar-Arab-SY", "und-Sylo": "syl-Sylo-BD", "und-Syrc": "syr-Syrc-IQ", "und-Tagb": "tbw-Tagb-PH", "und-Takr": "doi-Takr-IN", "und-Tale": "tdd-Tale-CN", "und-Talu": "khb-Talu-CN", "und-Taml": "ta-Taml-IN", "und-Tang": "txg-Tang-CN", "und-Tavt": "blt-Tavt-VN", "und-TD": "fr-Latn-TD", "und-Telu": "te-Telu-IN", "und-TF": "fr-Latn-TF", "und-Tfng": "zgh-Tfng-MA", "und-TG": "fr-Latn-TG", "und-Tglg": "fil-Tglg-PH", "und-TH": "th-Thai-TH", "und-Thaa": "dv-Thaa-MV", "und-Thai": "th-Thai-TH", "und-Thai-CN": "lcp-Thai-CN", "und-Thai-KH": "kdt-Thai-KH", "und-Thai-LA": "kdt-Thai-LA", "und-Tibt": "bo-Tibt-CN", "und-Tirh": "mai-Tirh-IN", "und-TJ": "tg-Cyrl-TJ", "und-TK": "tkl-Latn-TK", "und-TL": "pt-Latn-TL", "und-TM": "tk-Latn-TM", "und-TN": "ar-Arab-TN", "und-Tnsa": "nst-Tnsa-IN", "und-TO": "to-Latn-TO", "und-Toto": "txo-Toto-IN", "und-TR": "tr-Latn-TR", "und-TV": "tvl-Latn-TV", "und-TW": "zh-Hant-TW", "und-TZ": "sw-Latn-TZ", "und-UA": "uk-Cyrl-UA", "und-UG": "sw-Latn-UG", "und-Ugar": "uga-Ugar-SY", "und-UY": "es-Latn-UY", "und-UZ": "uz-Latn-UZ", "und-VA": "it-Latn-VA", "und-Vaii": "vai-Vaii-LR", "und-VE": "es-Latn-VE", "und-Vith": "sq-Vith-AL", "und-VN": "vi-Latn-VN", "und-VU": "bi-Latn-VU", "und-Wara": "hoc-Wara-IN", "und-Wcho": "nnp-Wcho-IN", "und-WF": "fr-Latn-WF", "und-WS": "sm-Latn-WS", "und-XK": "sq-Latn-XK", "und-Xpeo": "peo-Xpeo-IR", "und-Xsux": "akk-Xsux-IQ", "und-YE": "ar-Arab-YE", "und-Yezi": "ku-Yezi-GE", "und-Yiii": "ii-Yiii-CN", "und-YT": "fr-Latn-YT", "und-Zanb": "cmg-Zanb-MN", "und-ZW": "sn-Latn-ZW", unr: "unr-Beng-IN", "unr-Deva": "unr-Deva-NP", "unr-NP": "unr-Deva-NP", unx: "unx-Beng-IN", uok: "uok-Latn-ZZ", ur: "ur-Arab-PK", uri: "uri-Latn-ZZ", urt: "urt-Latn-ZZ", urw: "urw-Latn-ZZ", usa: "usa-Latn-ZZ", uth: "uth-Latn-ZZ", utr: "utr-Latn-ZZ", uvh: "uvh-Latn-ZZ", uvl: "uvl-Latn-ZZ", uz: "uz-Latn-UZ", "uz-AF": "uz-Arab-AF", "uz-Arab": "uz-Arab-AF", "uz-CN": "uz-Cyrl-CN", vag: "vag-Latn-ZZ", vai: "vai-Vaii-LR", van: "van-Latn-ZZ", ve: "ve-Latn-ZA", vec: "vec-Latn-IT", vep: "vep-Latn-RU", vi: "vi-Latn-VN", vic: "vic-Latn-SX", viv: "viv-Latn-ZZ", vls: "vls-Latn-BE", vmf: "vmf-Latn-DE", vmw: "vmw-Latn-MZ", vo: "vo-Latn-001", vot: "vot-Latn-RU", vro: "vro-Latn-EE", vun: "vun-Latn-TZ", vut: "vut-Latn-ZZ", wa: "wa-Latn-BE", wae: "wae-Latn-CH", waj: "waj-Latn-ZZ", wal: "wal-Ethi-ET", wan: "wan-Latn-ZZ", war: "war-Latn-PH", wbp: "wbp-Latn-AU", wbq: "wbq-Telu-IN", wbr: "wbr-Deva-IN", wci: "wci-Latn-ZZ", wer: "wer-Latn-ZZ", wgi: "wgi-Latn-ZZ", whg: "whg-Latn-ZZ", wib: "wib-Latn-ZZ", wiu: "wiu-Latn-ZZ", wiv: "wiv-Latn-ZZ", wja: "wja-Latn-ZZ", wji: "wji-Latn-ZZ", wls: "wls-Latn-WF", wmo: "wmo-Latn-ZZ", wnc: "wnc-Latn-ZZ", wni: "wni-Arab-KM", wnu: "wnu-Latn-ZZ", wo: "wo-Latn-SN", wob: "wob-Latn-ZZ", wos: "wos-Latn-ZZ", wrs: "wrs-Latn-ZZ", wsg: "wsg-Gong-IN", wsk: "wsk-Latn-ZZ", wtm: "wtm-Deva-IN", wuu: "wuu-Hans-CN", wuv: "wuv-Latn-ZZ", wwa: "wwa-Latn-ZZ", xav: "xav-Latn-BR", xbi: "xbi-Latn-ZZ", xco: "xco-Chrs-UZ", xcr: "xcr-Cari-TR", xes: "xes-Latn-ZZ", xh: "xh-Latn-ZA", xla: "xla-Latn-ZZ", xlc: "xlc-Lyci-TR", xld: "xld-Lydi-TR", xmf: "xmf-Geor-GE", xmn: "xmn-Mani-CN", xmr: "xmr-Merc-SD", xna: "xna-Narb-SA", xnr: "xnr-Deva-IN", xog: "xog-Latn-UG", xon: "xon-Latn-ZZ", xpr: "xpr-Prti-IR", xrb: "xrb-Latn-ZZ", xsa: "xsa-Sarb-YE", xsi: "xsi-Latn-ZZ", xsm: "xsm-Latn-ZZ", xsr: "xsr-Deva-NP", xwe: "xwe-Latn-ZZ", yam: "yam-Latn-ZZ", yao: "yao-Latn-MZ", yap: "yap-Latn-FM", yas: "yas-Latn-ZZ", yat: "yat-Latn-ZZ", yav: "yav-Latn-CM", yay: "yay-Latn-ZZ", yaz: "yaz-Latn-ZZ", yba: "yba-Latn-ZZ", ybb: "ybb-Latn-CM", yby: "yby-Latn-ZZ", yer: "yer-Latn-ZZ", ygr: "ygr-Latn-ZZ", ygw: "ygw-Latn-ZZ", yi: "yi-Hebr-001", yko: "yko-Latn-ZZ", yle: "yle-Latn-ZZ", ylg: "ylg-Latn-ZZ", yll: "yll-Latn-ZZ", yml: "yml-Latn-ZZ", yo: "yo-Latn-NG", yon: "yon-Latn-ZZ", yrb: "yrb-Latn-ZZ", yre: "yre-Latn-ZZ", yrl: "yrl-Latn-BR", yss: "yss-Latn-ZZ", yua: "yua-Latn-MX", yue: "yue-Hant-HK", "yue-CN": "yue-Hans-CN", "yue-Hans": "yue-Hans-CN", yuj: "yuj-Latn-ZZ", yut: "yut-Latn-ZZ", yuw: "yuw-Latn-ZZ", za: "za-Latn-CN", zag: "zag-Latn-SD", zdj: "zdj-Arab-KM", zea: "zea-Latn-NL", zgh: "zgh-Tfng-MA", zh: "zh-Hans-CN", "zh-AU": "zh-Hant-AU", "zh-BN": "zh-Hant-BN", "zh-Bopo": "zh-Bopo-TW", "zh-GB": "zh-Hant-GB", "zh-GF": "zh-Hant-GF", "zh-Hanb": "zh-Hanb-TW", "zh-Hant": "zh-Hant-TW", "zh-HK": "zh-Hant-HK", "zh-ID": "zh-Hant-ID", "zh-MO": "zh-Hant-MO", "zh-PA": "zh-Hant-PA", "zh-PF": "zh-Hant-PF", "zh-PH": "zh-Hant-PH", "zh-SR": "zh-Hant-SR", "zh-TH": "zh-Hant-TH", "zh-TW": "zh-Hant-TW", "zh-US": "zh-Hant-US", "zh-VN": "zh-Hant-VN", zhx: "zhx-Nshu-CN", zia: "zia-Latn-ZZ", zkt: "zkt-Kits-CN", zlm: "zlm-Latn-TG", zmi: "zmi-Latn-MY", zne: "zne-Latn-ZZ", zu: "zu-Latn-ZA", zza: "zza-Latn-TR", }); }, 62056: (e, t, n) => { "use strict"; Object.defineProperty(t, "__esModule", { value: !0 }), (t.parseUnicodeLocaleId = t.parseUnicodeLanguageId = t.isUnicodeVariantSubtag = t.isUnicodeScriptSubtag = t.isUnicodeRegionSubtag = t.isStructurallyValidLanguageTag = t.isUnicodeLanguageSubtag = t.SEPARATOR = void 0); var r = n(13795), o = /^[a-z0-9]{1,8}$/i, a = /^[a-z0-9]{2,8}$/i, i = /^[a-z0-9]{3,8}$/i, s = /^[a-z0-9][a-z]$/i, c = /^[a-z0-9]{3,8}$/i, l = /^[a-z]{4}$/i, u = /^[0-9a-svwyz]$/i, d = /^([a-z]{2}|[0-9]{3})$/i, p = /^([a-z0-9]{5,8}|[0-9][a-z0-9]{3})$/i, f = /^([a-z]{2,3}|[a-z]{5,8})$/i, m = /^[a-z][0-9]$/i; function h(e) { return f.test(e); } function v(e) { return d.test(e); } function y(e) { return l.test(e); } function g(e) { return p.test(e); } function b(e) { "string" == typeof e && (e = e.split(t.SEPARATOR)); var n, r, o = e.shift(); if (!o) throw new RangeError("Missing unicode_language_subtag"); if ("root" === o) return { lang: "root", variants: [] }; if (!h(o)) throw new RangeError("Malformed unicode_language_subtag"); e.length && y(e[0]) && (n = e.shift()), e.length && v(e[0]) && (r = e.shift()); for (var a = {}; e.length && g(e[0]); ) { var i = e.shift(); if (i in a) throw new RangeError('Duplicate variant "'.concat(i, '"')); a[i] = 1; } return { lang: o, script: n, region: r, variants: Object.keys(a) }; } function E(e) { for (var t, n = []; e.length && (t = D(e)); ) n.push(t); if (n.length) return { type: "u", keywords: n, attributes: [] }; for (var r = []; e.length && i.test(e[0]); ) r.push(e.shift()); for (; e.length && (t = D(e)); ) n.push(t); if (n.length || r.length) return { type: "u", attributes: r, keywords: n }; throw new RangeError("Malformed unicode_extension"); } function D(e) { var n; if (s.test(e[0])) { n = e.shift(); for (var r = []; e.length && c.test(e[0]); ) r.push(e.shift()); var o = ""; return r.length && (o = r.join(t.SEPARATOR)), [n, o]; } } function C(e) { var n; try { n = b(e); } catch (e) {} for (var r = []; e.length && m.test(e[0]); ) { for (var o = e.shift(), a = []; e.length && i.test(e[0]); ) a.push(e.shift()); if (!a.length) throw new RangeError('Missing tvalue for tkey "'.concat(o, '"')); r.push([o, a.join(t.SEPARATOR)]); } if (r.length) return { type: "t", fields: r, lang: n }; throw new RangeError("Malformed transformed_extension"); } function w(e) { for (var n = []; e.length && o.test(e[0]); ) n.push(e.shift()); if (n.length) return { type: "x", value: n.join(t.SEPARATOR) }; throw new RangeError("Malformed private_use_extension"); } function S(e) { for (var n = []; e.length && a.test(e[0]); ) n.push(e.shift()); return n.length ? n.join(t.SEPARATOR) : ""; } (t.SEPARATOR = "-"), (t.isUnicodeLanguageSubtag = h), (t.isStructurallyValidLanguageTag = function (e) { try { b(e.split(t.SEPARATOR)); } catch (e) { return !1; } return !0; }), (t.isUnicodeRegionSubtag = v), (t.isUnicodeScriptSubtag = y), (t.isUnicodeVariantSubtag = g), (t.parseUnicodeLanguageId = b), (t.parseUnicodeLocaleId = function (e) { var n = e.split(t.SEPARATOR), o = b(n); return (0, r.__assign)( { lang: o }, (function (e) { if (!e.length) return { extensions: [] }; var t, n, r, o = [], a = {}; do { var i = e.shift(); switch (i) { case "u": case "U": if (t) throw new RangeError("There can only be 1 -u- extension"); (t = E(e)), o.push(t); break; case "t": case "T": if (n) throw new RangeError("There can only be 1 -t- extension"); (n = C(e)), o.push(n); break; case "x": case "X": if (r) throw new RangeError("There can only be 1 -x- extension"); (r = w(e)), o.push(r); break; default: if (!u.test(i)) throw new RangeError("Malformed extension type"); if (i in a) throw new RangeError("There can only be 1 -".concat(i, "- extension")); var s = { type: i, value: S(e) }; (a[s.type] = s), o.push(s); } } while (e.length); return { extensions: o }; })(n) ); }); }, 86648: (e, t) => { "use strict"; Object.defineProperty(t, "__esModule", { value: !0 }); }, 68990: (e, t, n) => { "use strict"; Object.defineProperty(t, "__esModule", { value: !0 }), (t.GetOperands = void 0); var r = n(52562); t.GetOperands = function (e) { r.invariant("string" == typeof e, "GetOperands should have been called with a string"); var t = r.ToNumber(e); r.invariant(isFinite(t), "n should be finite"); var n, o, a, i = e.indexOf("."), s = ""; -1 === i ? ((n = t), (o = 0), (a = 0)) : ((n = e.slice(0, i)), (s = e.slice(i, e.length)), (o = r.ToNumber(s)), (a = s.length)); var c, l, u = Math.abs(r.ToNumber(n)); if (0 !== o) { var d = s.replace(/0+$/, ""); (c = d.length), (l = r.ToNumber(d)); } else (c = 0), (l = 0); return { Number: t, IntegerDigits: u, NumberOfFractionDigits: a, NumberOfFractionDigitsWithoutTrailing: c, FractionDigits: o, FractionDigitsWithoutTrailing: l }; }; }, 82893: (e, t, n) => { "use strict"; Object.defineProperty(t, "__esModule", { value: !0 }), (t.InitializePluralRules = void 0); var r = n(52562); t.InitializePluralRules = function (e, t, n, o) { var a = o.availableLocales, i = o.relevantExtensionKeys, s = o.localeData, c = o.getDefaultLocale, l = o.getInternalSlots, u = r.CanonicalizeLocaleList(t), d = Object.create(null), p = r.CoerceOptionsToObject(n), f = l(e); f.initializedPluralRules = !0; var m = r.GetOption(p, "localeMatcher", "string", ["best fit", "lookup"], "best fit"); (d.localeMatcher = m), (f.type = r.GetOption(p, "type", "string", ["cardinal", "ordinal"], "cardinal")), r.SetNumberFormatDigitOptions(f, p, 0, 3, "standard"); var h = r.ResolveLocale(a, u, d, i, s, c); return (f.locale = h.locale), e; }; }, 43208: (e, t, n) => { "use strict"; Object.defineProperty(t, "__esModule", { value: !0 }), (t.ResolvePlural = void 0); var r = n(52562), o = n(68990); t.ResolvePlural = function (e, t, n) { var a = n.getInternalSlots, i = n.PluralRuleSelect, s = a(e); if ((r.invariant("Object" === r.Type(s), "pl has to be an object"), r.invariant("initializedPluralRules" in s, "pluralrules must be initialized"), r.invariant("Number" === r.Type(t), "n must be a number"), !isFinite(t))) return "other"; var c = s.locale, l = s.type, u = r.FormatNumericToString(s, t).formattedString; return i(c, l, t, o.GetOperands(u)); }; }, 53570: (e, t) => { "use strict"; Object.defineProperty(t, "__esModule", { value: !0 }); var n = new WeakMap(); t.default = function (e) { var t = n.get(e); return t || ((t = Object.create(null)), n.set(e, t)), t; }; }, 86988: (e, t, n) => { "use strict"; Object.defineProperty(t, "__esModule", { value: !0 }), (t.PluralRules = void 0); var r = n(13795), o = n(52562), a = n(82893), i = n(43208), s = r.__importDefault(n(53570)); function c(e, t) { if (!(e instanceof u)) throw new TypeError("Method Intl.PluralRules.prototype." + t + " called on incompatible receiver " + String(e)); } function l(e, t, n, r) { var o = r.IntegerDigits, a = r.NumberOfFractionDigits, i = r.FractionDigits; return u.localeData[e].fn(a ? o + "." + i : o, "ordinal" === t); } var u = (function () { function e(t, n) { if (!(this && this instanceof e ? this.constructor : void 0)) throw new TypeError("Intl.PluralRules must be called with 'new'"); return a.InitializePluralRules(this, t, n, { availableLocales: e.availableLocales, relevantExtensionKeys: e.relevantExtensionKeys, localeData: e.localeData, getDefaultLocale: e.getDefaultLocale, getInternalSlots: s.default }); } return ( (e.prototype.resolvedOptions = function () { c(this, "resolvedOptions"); var t = Object.create(null), n = s.default(this); return ( (t.locale = n.locale), (t.type = n.type), ["minimumIntegerDigits", "minimumFractionDigits", "maximumFractionDigits", "minimumSignificantDigits", "maximumSignificantDigits"].forEach(function (e) { var r = n[e]; void 0 !== r && (t[e] = r); }), (t.pluralCategories = r.__spreadArray([], e.localeData[t.locale].categories[t.type])), t ); }), (e.prototype.select = function (e) { c(this, "select"); var t = o.ToNumber(e); return i.ResolvePlural(this, t, { getInternalSlots: s.default, PluralRuleSelect: l }); }), (e.prototype.toString = function () { return "[object Intl.PluralRules]"; }), (e.supportedLocalesOf = function (t, n) { return o.SupportedLocales(e.availableLocales, o.CanonicalizeLocaleList(t), n); }), (e.__addLocaleData = function () { for (var t = [], n = 0; n < arguments.length; n++) t[n] = arguments[n]; for (var r = 0, o = t; r < o.length; r++) { var a = o[r], i = a.data, s = a.locale; (e.localeData[s] = i), e.availableLocales.add(s), e.__defaultLocale || (e.__defaultLocale = s); } }), (e.getDefaultLocale = function () { return e.__defaultLocale; }), (e.localeData = {}), (e.availableLocales = new Set()), (e.__defaultLocale = ""), (e.relevantExtensionKeys = []), (e.polyfilled = !0), e ); })(); t.PluralRules = u; try { "undefined" != typeof Symbol && Object.defineProperty(u.prototype, Symbol.toStringTag, { value: "Intl.PluralRules", writable: !1, enumerable: !1, configurable: !0 }); try { Object.defineProperty(u, "length", { value: 0, writable: !1, enumerable: !1, configurable: !0 }); } catch (e) {} Object.defineProperty(u.prototype.constructor, "length", { value: 0, writable: !1, enumerable: !1, configurable: !0 }), Object.defineProperty(u.supportedLocalesOf, "length", { value: 1, writable: !1, enumerable: !1, configurable: !0 }); } catch (e) {} }, 4728: () => { Intl.PluralRules && "function" == typeof Intl.PluralRules.__addLocaleData && Intl.PluralRules.__addLocaleData({ data: { categories: { cardinal: ["one", "other"], ordinal: ["one", "two", "few", "other"] }, fn: function (e, t) { var n = String(e).split("."), r = !n[1], o = Number(n[0]) == e, a = o && n[0].slice(-1), i = o && n[0].slice(-2); return t ? (1 == a && 11 != i ? "one" : 2 == a && 12 != i ? "two" : 3 == a && 13 != i ? "few" : "other") : 1 == e && r ? "one" : "other"; }, }, locale: "en", }); }, 2406: (e, t, n) => { "use strict"; function r(e) { if ("symbol" == typeof e) throw TypeError("Cannot convert a Symbol value to a string"); return String(e); } function o(e) { if (void 0 === e) return NaN; if (null === e) return 0; if ("boolean" == typeof e) return e ? 1 : 0; if ("number" == typeof e) return e; if ("symbol" == typeof e || "bigint" == typeof e) throw new TypeError("Cannot convert symbol/bigint to number"); return Number(e); } function a(e) { return isFinite(e) ? Math.abs(e) > 8640000000000001 ? NaN : (function (e) { var t = o(e); if (isNaN(t) || s(t, -0)) return 0; if (isFinite(t)) return t; var n = Math.floor(Math.abs(t)); return t < 0 && (n = -n), s(n, -0) ? 0 : n; })(e) : NaN; } function i(e) { if (null == e) throw new TypeError("undefined/null cannot be converted to object"); return Object(e); } function s(e, t) { return Object.is ? Object.is(e, t) : e === t ? 0 !== e || 1 / e == 1 / t : e != e && t != t; } function c(e) { return new Array(e); } function l(e, t) { return Object.prototype.hasOwnProperty.call(e, t); } function u(e) { return null === e ? "Null" : void 0 === e ? "Undefined" : "function" == typeof e || "object" == typeof e ? "Object" : "number" == typeof e ? "Number" : "boolean" == typeof e ? "Boolean" : "string" == typeof e ? "String" : "symbol" == typeof e ? "Symbol" : "bigint" == typeof e ? "BigInt" : void 0; } n.d(t, { $i: () => E, CU: () => o, Dy: () => u, J1: () => D, Jc: () => f, Ml: () => r, My: () => g, QP: () => s, R2: () => x, TA: () => i, U6: () => c, VR: () => m, Vg: () => N, XB: () => C, XH: () => a, Zq: () => I, gL: () => h, n7: () => y, oD: () => b, py: () => O, rf: () => v, uY: () => l, xk: () => F, }); var d = 864e5; function p(e, t) { return e - Math.floor(e / t) * t; } function f(e) { return Math.floor(e / d); } function m(e) { return p(f(e) + 4, 7); } function h(e) { return Date.UTC(e, 0) / d; } function v(e) { return Date.UTC(e, 0); } function y(e) { return new Date(e).getUTCFullYear(); } function g(e) { return e % 4 != 0 ? 365 : e % 100 != 0 ? 366 : e % 400 != 0 ? 365 : 366; } function b(e) { return f(e) - h(y(e)); } function E(e) { return 365 === g(y(e)) ? 0 : 1; } function D(e) { var t = b(e), n = E(e); if (t >= 0 && t < 31) return 0; if (t < 59 + n) return 1; if (t < 90 + n) return 2; if (t < 120 + n) return 3; if (t < 151 + n) return 4; if (t < 181 + n) return 5; if (t < 212 + n) return 6; if (t < 243 + n) return 7; if (t < 273 + n) return 8; if (t < 304 + n) return 9; if (t < 334 + n) return 10; if (t < 365 + n) return 11; throw new Error("Invalid time"); } function C(e) { var t = b(e), n = D(e), r = E(e); if (0 === n) return t + 1; if (1 === n) return t - 30; if (2 === n) return t - 58 - r; if (3 === n) return t - 89 - r; if (4 === n) return t - 119 - r; if (5 === n) return t - 150 - r; if (6 === n) return t - 180 - r; if (7 === n) return t - 211 - r; if (8 === n) return t - 242 - r; if (9 === n) return t - 272 - r; if (10 === n) return t - 303 - r; if (11 === n) return t - 333 - r; throw new Error("Invalid time"); } var w = 24, S = 60, A = 60, k = 1e3, _ = k * A, T = _ * S; function I(e) { return p(Math.floor(e / T), w); } function O(e) { return p(Math.floor(e / _), S); } function F(e) { return p(Math.floor(e / k), A); } function x(e, t, n) { if ("function" != typeof e) return !1; if (null == n ? void 0 : n.boundTargetFunction) return t instanceof (null == n ? void 0 : n.boundTargetFunction); if ("object" != typeof t) return !1; var r = e.prototype; if ("object" != typeof r) throw new TypeError("OrdinaryHasInstance called on an object with an invalid prototype property."); return Object.prototype.isPrototypeOf.call(r, t); } function N(e) { return p(e, k); } }, 63830: (e, t, n) => { "use strict"; function r(e, t) { for (var n = t; ; ) { if (e.has(n)) return n; var r = n.lastIndexOf("-"); if (!~r) return; r >= 2 && "-" === n[r - 2] && (r -= 2), (n = n.slice(0, r)); } } n.d(t, { t: () => r }); }, 58491: (e, t, n) => { "use strict"; function r(e) { return Intl.getCanonicalLocales(e); } n.d(t, { L: () => r }); }, 83437: (e, t, n) => { "use strict"; function r(e, t) { var n = t.tzData, r = t.uppercaseLinks, o = e.toUpperCase(), a = Object.keys(n).reduce(function (e, t) { return (e[t.toUpperCase()] = t), e; }, {}), i = r[o] || a[o]; return "Etc/UTC" === i || "Etc/GMT" === i ? "UTC" : i; } n.d(t, { a: () => r }); }, 41316: (e, t, n) => { "use strict"; n.d(t, { U: () => o }); var r = n(2406); function o(e) { return void 0 === e ? Object.create(null) : (0, r.TA)(e); } }, 95859: (e, t, n) => { "use strict"; function r(e, t, n, r) { if (void 0 !== e) { if (((e = Number(e)), isNaN(e) || e < t || e > n)) throw new RangeError(e + " is outside of range [" + t + ", " + n + "]"); return Math.floor(e); } return r; } n.d(t, { Q: () => r }); }, 39182: (e, t, n) => { "use strict"; n.d(t, { _: () => o }); var r = n(95859); function o(e, t, n, o, a) { var i = e[t]; return (0, r.Q)(i, n, o, a); } }, 44074: (e, t, n) => { "use strict"; n.d(t, { u: () => o }); var r = n(2406); function o(e, t, n, o, a) { if ("object" != typeof e) throw new TypeError("Options must be an object"); var i = e[t]; if (void 0 !== i) { if ("boolean" !== n && "string" !== n) throw new TypeError("invalid type"); if ( ("boolean" === n && (i = Boolean(i)), "string" === n && (i = (0, r.Ml)(i)), void 0 !== o && !o.filter(function (e) { return e == i; }).length) ) throw new RangeError(i + " is not within " + o.join(", ")); return i; } return a; } }, 28520: (e, t, n) => { "use strict"; function r(e) { if (void 0 === e) return Object.create(null); if ("object" == typeof e) return e; throw new TypeError("Options must be an object"); } n.d(t, { F: () => r }); }, 4280: (e, t, n) => { "use strict"; n.d(t, { Hr: () => o, Js: () => r, UQ: () => i, oO: () => a }); var r = [ "angle-degree", "area-acre", "area-hectare", "concentr-percent", "digital-bit", "digital-byte", "digital-gigabit", "digital-gigabyte", "digital-kilobit", "digital-kilobyte", "digital-megabit", "digital-megabyte", "digital-petabyte", "digital-terabit", "digital-terabyte", "duration-day", "duration-hour", "duration-millisecond", "duration-minute", "duration-month", "duration-second", "duration-week", "duration-year", "length-centimeter", "length-foot", "length-inch", "length-kilometer", "length-meter", "length-mile-scandinavian", "length-mile", "length-millimeter", "length-yard", "mass-gram", "mass-kilogram", "mass-ounce", "mass-pound", "mass-stone", "temperature-celsius", "temperature-fahrenheit", "volume-fluid-ounce", "volume-gallon", "volume-liter", "volume-milliliter", ]; function o(e) { return e.slice(e.indexOf("-") + 1); } var a = r.map(o); function i(e) { return a.indexOf(e) > -1; } }, 94670: (e, t, n) => { "use strict"; function r(e, t) { var n = t.tzData, r = t.uppercaseLinks, o = e.toUpperCase(), a = new Set(), i = new Set(); return ( Object.keys(n) .map(function (e) { return e.toUpperCase(); }) .forEach(function (e) { return a.add(e); }), Object.keys(r).forEach(function (e) { i.add(e.toUpperCase()), a.add(r[e].toUpperCase()); }), a.has(o) || i.has(o) ); } n.d(t, { s: () => r }); }, 75086: (e, t, n) => { "use strict"; n.d(t, { K: () => o }); var r = /[^A-Z]/; function o(e) { return ( 3 === (e = e.replace(/([a-z])/g, function (e, t) { return t.toUpperCase(); })).length && !r.test(e) ); } }, 59057: (e, t, n) => { "use strict"; n.d(t, { L: () => o }); var r = n(4280); function o(e) { if ( ((e = e.replace(/([A-Z])/g, function (e, t) { return t.toLowerCase(); })), (0, r.UQ)(e)) ) return !0; var t = e.split("-per-"); if (2 !== t.length) return !1; var n = t[0], o = t[1]; return !(!(0, r.UQ)(n) || !(0, r.UQ)(o)); } }, 58243: (e, t, n) => { "use strict"; n.d(t, { V: () => i }); var r = n(56457), o = n(81645), a = n(76206); function i(e, t, n) { var i = n.getInternalSlots; if (0 === t) return [0, 0]; t < 0 && (t = -t); var s = (0, r.Tg)(t), c = (0, o.b)(e, s, { getInternalSlots: i }); t = c < 0 ? t * Math.pow(10, -c) : t / Math.pow(10, c); var l = (0, a.E)(i(e), t); return 0 === l.roundedNumber || (0, r.Tg)(l.roundedNumber) === s - c ? [c, s] : [(0, o.b)(e, s + 1, { getInternalSlots: i }), s + 1]; } }, 81645: (e, t, n) => { "use strict"; function r(e, t, n) { var r = (0, n.getInternalSlots)(e), o = r.notation, a = r.dataLocaleData, i = r.numberingSystem; switch (o) { case "standard": return 0; case "scientific": return t; case "engineering": return 3 * Math.floor(t / 3); default: var s = r.compactDisplay, c = r.style, l = r.currencyDisplay, u = void 0; if ("currency" === c && "name" !== l) u = (a.numbers.currency[i] || a.numbers.currency[a.numbers.nu[0]]).short; else { var d = a.numbers.decimal[i] || a.numbers.decimal[a.numbers.nu[0]]; u = "long" === s ? d.long : d.short; } if (!u) return 0; var p = String(Math.pow(10, t)), f = Object.keys(u); if (p < f[0]) return 0; if (p > f[f.length - 1]) return f[f.length - 1].length - 1; var m = f.indexOf(p); if (-1 === m) return 0; var h = f[m]; return "0" === u[h].other ? 0 : h.length - u[h].other.match(/0+/)[0].length; } } n.d(t, { b: () => r }); }, 51864: (e, t, n) => { "use strict"; n.d(t, { T: () => o }); var r = n(2406); function o(e, t) { var n = t.currencyDigitsData; return (0, r.uY)(n, e) ? n[e] : 2; } }, 46392: (e, t, n) => { "use strict"; n.d(t, { M: () => a }); var r = n(82081), o = n(2406); function a(e, t, n) { for (var a = (0, r.I)(e, t, n), i = (0, o.U6)(0), s = 0, c = a; s < c.length; s++) { var l = c[s]; i.push({ type: l.type, value: l.value }); } return i; } }, 76206: (e, t, n) => { "use strict"; n.d(t, { E: () => s }); var r = n(2406), o = n(6655), a = n(56457), i = n(91069); function s(e, t) { var n, s = t < 0 || (0, r.QP)(t, -0); switch ((s && (t = -t), e.roundingType)) { case "significantDigits": n = (0, o.w)(t, e.minimumSignificantDigits, e.maximumSignificantDigits); break; case "fractionDigits": n = (0, i.W)(t, e.minimumFractionDigits, e.maximumFractionDigits); break; default: (n = (0, o.w)(t, 1, 2)).integerDigitsCount > 1 && (n = (0, i.W)(t, 0, 0)); } t = n.roundedNumber; var c = n.formattedString, l = n.integerDigitsCount, u = e.minimumIntegerDigits; return l < u && (c = (0, a.rx)("0", u - l) + c), s && (t = -t), { roundedNumber: t, formattedString: c }; } }, 49810: (e, t, n) => { "use strict"; n.d(t, { o: () => d }); var r = n(58491), o = n(44074), a = n(26320), i = n(41268), s = n(51864), c = n(9674), l = n(56457), u = n(41316); function d(e, t, n, d) { var p = d.getInternalSlots, f = d.localeData, m = d.availableLocales, h = d.numberingSystemNames, v = d.getDefaultLocale, y = d.currencyDigitsData, g = (0, r.L)(t), b = (0, u.U)(n), E = Object.create(null), D = (0, o.u)(b, "localeMatcher", "string", ["lookup", "best fit"], "best fit"); E.localeMatcher = D; var C = (0, o.u)(b, "numberingSystem", "string", void 0, void 0); if (void 0 !== C && h.indexOf(C) < 0) throw RangeError("Invalid numberingSystems: " + C); E.nu = C; var w = (0, a.f)(m, g, E, ["nu"], f, v), S = f[w.dataLocale]; (0, l.kG)(!!S, "Missing locale data for " + w.dataLocale); var A = p(e); (A.locale = w.locale), (A.dataLocale = w.dataLocale), (A.numberingSystem = w.nu), (A.dataLocaleData = S), (0, i.x)(e, b, { getInternalSlots: p }); var k, _, T = A.style; if ("currency" === T) { var I = A.currency, O = (0, s.T)(I, { currencyDigitsData: y }); (k = O), (_ = O); } else (k = 0), (_ = "percent" === T ? 0 : 3); var F = (0, o.u)(b, "notation", "string", ["standard", "scientific", "engineering", "compact"], "standard"); (A.notation = F), (0, c.W)(A, b, k, _, F); var x = (0, o.u)(b, "compactDisplay", "string", ["short", "long"], "short"); "compact" === F && (A.compactDisplay = x); var N = (0, o.u)(b, "useGrouping", "boolean", void 0, !0); A.useGrouping = N; var R = (0, o.u)(b, "signDisplay", "string", ["auto", "never", "always", "exceptZero"], "auto"); return (A.signDisplay = R), e; } }, 82081: (e, t, n) => { "use strict"; n.d(t, { I: () => s }); var r = n(76206), o = n(2406), a = n(58243), i = n(26657); function s(e, t, n) { var s, c, l, u = n.getInternalSlots, d = u(e), p = d.pl, f = d.dataLocaleData, m = d.numberingSystem, h = f.numbers.symbols[m] || f.numbers.symbols[f.numbers.nu[0]], v = 0, y = 0; if (isNaN(t)) c = h.nan; else if (isFinite(t)) { "percent" === d.style && (t *= 100), (y = (s = (0, a.V)(e, t, { getInternalSlots: u }))[0]), (v = s[1]), (t = y < 0 ? t * Math.pow(10, -y) : t / Math.pow(10, y)); var g = (0, r.E)(d, t); (c = g.formattedString), (t = g.roundedNumber); } else c = h.infinity; switch (d.signDisplay) { case "never": l = 0; break; case "auto": l = (0, o.QP)(t, 0) || t > 0 || isNaN(t) ? 0 : -1; break; case "always": l = (0, o.QP)(t, 0) || t > 0 || isNaN(t) ? 1 : -1; break; default: l = 0 === t || isNaN(t) ? 0 : t > 0 ? 1 : -1; } return (0, i.Z)({ roundedNumber: t, formattedString: c, exponent: y, magnitude: v, sign: l }, d.dataLocaleData, p, d); } }, 9674: (e, t, n) => { "use strict"; n.d(t, { W: () => a }); var r = n(39182), o = n(95859); function a(e, t, n, a, i) { var s = (0, r._)(t, "minimumIntegerDigits", 1, 21, 1), c = t.minimumFractionDigits, l = t.maximumFractionDigits, u = t.minimumSignificantDigits, d = t.maximumSignificantDigits; if (((e.minimumIntegerDigits = s), void 0 !== u || void 0 !== d)) (e.roundingType = "significantDigits"), (u = (0, o.Q)(u, 1, 21, 1)), (d = (0, o.Q)(d, u, 21, 21)), (e.minimumSignificantDigits = u), (e.maximumSignificantDigits = d); else if (void 0 !== c || void 0 !== l) { (e.roundingType = "fractionDigits"), (c = (0, o.Q)(c, 0, 20, n)); var p = Math.max(c, a); (l = (0, o.Q)(l, c, 20, p)), (e.minimumFractionDigits = c), (e.maximumFractionDigits = l); } else "compact" === i ? (e.roundingType = "compactRounding") : ((e.roundingType = "fractionDigits"), (e.minimumFractionDigits = n), (e.maximumFractionDigits = a)); } }, 41268: (e, t, n) => { "use strict"; n.d(t, { x: () => i }); var r = n(44074), o = n(75086), a = n(59057); function i(e, t, n) { void 0 === t && (t = Object.create(null)); var i = (0, n.getInternalSlots)(e), s = (0, r.u)(t, "style", "string", ["decimal", "percent", "currency", "unit"], "decimal"); i.style = s; var c = (0, r.u)(t, "currency", "string", void 0, void 0); if (void 0 !== c && !(0, o.K)(c)) throw RangeError("Malformed currency code"); if ("currency" === s && void 0 === c) throw TypeError("currency cannot be undefined"); var l = (0, r.u)(t, "currencyDisplay", "string", ["code", "symbol", "narrowSymbol", "name"], "symbol"), u = (0, r.u)(t, "currencySign", "string", ["standard", "accounting"], "standard"), d = (0, r.u)(t, "unit", "string", void 0, void 0); if (void 0 !== d && !(0, a.L)(d)) throw RangeError("Invalid unit argument for Intl.NumberFormat()"); if ("unit" === s && void 0 === d) throw TypeError("unit cannot be undefined"); var p = (0, r.u)(t, "unitDisplay", "string", ["short", "narrow", "long"], "short"); "currency" === s && ((i.currency = c.toUpperCase()), (i.currencyDisplay = l), (i.currencySign = u)), "unit" === s && ((i.unit = d), (i.unitDisplay = p)); } }, 91069: (e, t, n) => { "use strict"; n.d(t, { W: () => o }); var r = n(56457); function o(e, t, n) { var o, a, i = n, s = Math.round(e * Math.pow(10, i)), c = s / Math.pow(10, i); if (s < 1e21) o = s.toString(); else { var l = (o = s.toString()).split("e"), u = l[0], d = l[1]; (o = u.replace(".", "")), (o += (0, r.rx)("0", Math.max(+d - o.length + 1, 0))); } if (0 !== i) { var p = o.length; p <= i && ((o = (0, r.rx)("0", i + 1 - p) + o), (p = i + 1)); var f = o.slice(0, p - i), m = o.slice(p - i); (o = f + "." + m), (a = f.length); } else a = o.length; for (var h = n - t; h > 0 && "0" === o[o.length - 1]; ) (o = o.slice(0, -1)), h--; return "." === o[o.length - 1] && (o = o.slice(0, -1)), { formattedString: o, roundedNumber: c, integerDigitsCount: a }; } }, 6655: (e, t, n) => { "use strict"; n.d(t, { w: () => o }); var r = n(56457); function o(e, t, n) { var o, a, i, s, c = n; if (0 === e) (o = (0, r.rx)("0", c)), (a = 0), (i = 0); else { var l = e.toString(), u = l.indexOf("e"), d = l.split("e"), p = d[0], f = d[1], m = p.replace(".", ""); if (u >= 0 && m.length <= c) (a = +f), (o = m + (0, r.rx)("0", c - m.length)), (i = e); else { var h = (a = (0, r.Tg)(e)) - c + 1, v = Math.round(g(e, h)); g(v, c - 1) >= 10 && ((a += 1), (v = Math.floor(v / 10))), (o = v.toString()), (i = g(v, c - 1 - a)); } } if ((a >= c - 1 ? ((o += (0, r.rx)("0", a - c + 1)), (s = a + 1)) : a >= 0 ? ((o = o.slice(0, a + 1) + "." + o.slice(a + 1)), (s = a + 1)) : ((o = "0." + (0, r.rx)("0", -a - 1) + o), (s = 1)), o.indexOf(".") >= 0 && n > t)) { for (var y = n - t; y > 0 && "0" === o[o.length - 1]; ) (o = o.slice(0, -1)), y--; "." === o[o.length - 1] && (o = o.slice(0, -1)); } return { formattedString: o, roundedNumber: i, integerDigitsCount: s }; function g(e, t) { return t < 0 ? e * Math.pow(10, -t) : e / Math.pow(10, t); } } }, 26657: (e, t, n) => { "use strict"; n.d(t, { Z: () => u }); var r = n(91069); const o = JSON.parse( '{"adlm":["𞥐","𞥑","𞥒","𞥓","𞥔","𞥕","𞥖","𞥗","𞥘","𞥙"],"ahom":["𑜰","𑜱","𑜲","𑜳","𑜴","𑜵","𑜶","𑜷","𑜸","𑜹"],"arab":["٠","١","٢","٣","٤","٥","٦","٧","٨","٩"],"arabext":["۰","۱","۲","۳","۴","۵","۶","۷","۸","۹"],"bali":["᭐","᭑","᭒","᭓","᭔","᭕","᭖","᭗","᭘","᭙"],"beng":["০","১","২","৩","৪","৫","৬","৭","৮","৯"],"bhks":["𑱐","𑱑","𑱒","𑱓","𑱔","𑱕","𑱖","𑱗","𑱘","𑱙"],"brah":["𑁦","𑁧","𑁨","𑁩","𑁪","𑁫","𑁬","𑁭","𑁮","𑁯"],"cakm":["𑄶","𑄷","𑄸","𑄹","𑄺","𑄻","𑄼","𑄽","𑄾","𑄿"],"cham":["꩐","꩑","꩒","꩓","꩔","꩕","꩖","꩗","꩘","꩙"],"deva":["०","१","२","३","४","५","६","७","८","९"],"diak":["𑥐","𑥑","𑥒","𑥓","𑥔","𑥕","𑥖","𑥗","𑥘","𑥙"],"fullwide":["0","1","2","3","4","5","6","7","8","9"],"gong":["𑶠","𑶡","𑶢","𑶣","𑶤","𑶥","𑶦","𑶧","𑶨","𑶩"],"gonm":["𑵐","𑵑","𑵒","𑵓","𑵔","𑵕","𑵖","𑵗","𑵘","𑵙"],"gujr":["૦","૧","૨","૩","૪","૫","૬","૭","૮","૯"],"guru":["੦","੧","੨","੩","੪","੫","੬","੭","੮","੯"],"hanidec":["〇","一","二","三","四","五","六","七","八","九"],"hmng":["𖭐","𖭑","𖭒","𖭓","𖭔","𖭕","𖭖","𖭗","𖭘","𖭙"],"hmnp":["𞅀","𞅁","𞅂","𞅃","𞅄","𞅅","𞅆","𞅇","𞅈","𞅉"],"java":["꧐","꧑","꧒","꧓","꧔","꧕","꧖","꧗","꧘","꧙"],"kali":["꤀","꤁","꤂","꤃","꤄","꤅","꤆","꤇","꤈","꤉"],"khmr":["០","១","២","៣","៤","៥","៦","៧","៨","៩"],"knda":["೦","೧","೨","೩","೪","೫","೬","೭","೮","೯"],"lana":["᪀","᪁","᪂","᪃","᪄","᪅","᪆","᪇","᪈","᪉"],"lanatham":["᪐","᪑","᪒","᪓","᪔","᪕","᪖","᪗","᪘","᪙"],"laoo":["໐","໑","໒","໓","໔","໕","໖","໗","໘","໙"],"lepc":["᪐","᪑","᪒","᪓","᪔","᪕","᪖","᪗","᪘","᪙"],"limb":["᥆","᥇","᥈","᥉","᥊","᥋","᥌","᥍","᥎","᥏"],"mathbold":["𝟎","𝟏","𝟐","𝟑","𝟒","𝟓","𝟔","𝟕","𝟖","𝟗"],"mathdbl":["𝟘","𝟙","𝟚","𝟛","𝟜","𝟝","𝟞","𝟟","𝟠","𝟡"],"mathmono":["𝟶","𝟷","𝟸","𝟹","𝟺","𝟻","𝟼","𝟽","𝟾","𝟿"],"mathsanb":["𝟬","𝟭","𝟮","𝟯","𝟰","𝟱","𝟲","𝟳","𝟴","𝟵"],"mathsans":["𝟢","𝟣","𝟤","𝟥","𝟦","𝟧","𝟨","𝟩","𝟪","𝟫"],"mlym":["൦","൧","൨","൩","൪","൫","൬","൭","൮","൯"],"modi":["𑙐","𑙑","𑙒","𑙓","𑙔","𑙕","𑙖","𑙗","𑙘","𑙙"],"mong":["᠐","᠑","᠒","᠓","᠔","᠕","᠖","᠗","᠘","᠙"],"mroo":["𖩠","𖩡","𖩢","𖩣","𖩤","𖩥","𖩦","𖩧","𖩨","𖩩"],"mtei":["꯰","꯱","꯲","꯳","꯴","꯵","꯶","꯷","꯸","꯹"],"mymr":["၀","၁","၂","၃","၄","၅","၆","၇","၈","၉"],"mymrshan":["႐","႑","႒","႓","႔","႕","႖","႗","႘","႙"],"mymrtlng":["꧰","꧱","꧲","꧳","꧴","꧵","꧶","꧷","꧸","꧹"],"newa":["𑑐","𑑑","𑑒","𑑓","𑑔","𑑕","𑑖","𑑗","𑑘","𑑙"],"nkoo":["߀","߁","߂","߃","߄","߅","߆","߇","߈","߉"],"olck":["᱐","᱑","᱒","᱓","᱔","᱕","᱖","᱗","᱘","᱙"],"orya":["୦","୧","୨","୩","୪","୫","୬","୭","୮","୯"],"osma":["𐒠","𐒡","𐒢","𐒣","𐒤","𐒥","𐒦","𐒧","𐒨","𐒩"],"rohg":["𐴰","𐴱","𐴲","𐴳","𐴴","𐴵","𐴶","𐴷","𐴸","𐴹"],"saur":["꣐","꣑","꣒","꣓","꣔","꣕","꣖","꣗","꣘","꣙"],"segment":["🯰","🯱","🯲","🯳","🯴","🯵","🯶","🯷","🯸","🯹"],"shrd":["𑇐","𑇑","𑇒","𑇓","𑇔","𑇕","𑇖","𑇗","𑇘","𑇙"],"sind":["𑋰","𑋱","𑋲","𑋳","𑋴","𑋵","𑋶","𑋷","𑋸","𑋹"],"sinh":["෦","෧","෨","෩","෪","෫","෬","෭","෮","෯"],"sora":["𑃰","𑃱","𑃲","𑃳","𑃴","𑃵","𑃶","𑃷","𑃸","𑃹"],"sund":["᮰","᮱","᮲","᮳","᮴","᮵","᮶","᮷","᮸","᮹"],"takr":["𑛀","𑛁","𑛂","𑛃","𑛄","𑛅","𑛆","𑛇","𑛈","𑛉"],"talu":["᧐","᧑","᧒","᧓","᧔","᧕","᧖","᧗","᧘","᧙"],"tamldec":["௦","௧","௨","௩","௪","௫","௬","௭","௮","௯"],"telu":["౦","౧","౨","౩","౪","౫","౬","౭","౮","౯"],"thai":["๐","๑","๒","๓","๔","๕","๖","๗","๘","๙"],"tibt":["༠","༡","༢","༣","༤","༥","༦","༧","༨","༩"],"tirh":["𑓐","𑓑","𑓒","𑓓","𑓔","𑓕","𑓖","𑓗","𑓘","𑓙"],"vaii":["ᘠ","ᘡ","ᘢ","ᘣ","ᘤ","ᘥ","ᘦ","ᘧ","ᘨ","ᘩ"],"wara":["𑣠","𑣡","𑣢","𑣣","𑣤","𑣥","𑣦","𑣧","𑣨","𑣩"],"wcho":["𞋰","𞋱","𞋲","𞋳","𞋴","𞋵","𞋶","𞋷","𞋸","𞋹"]}' ); var a = n.t(o, 2), i = /[\$\+<->\^`\|~\xA2-\xA6\xA8\xA9\xAC\xAE-\xB1\xB4\xB8\xD7\xF7\u02C2-\u02C5\u02D2-\u02DF\u02E5-\u02EB\u02ED\u02EF-\u02FF\u0375\u0384\u0385\u03F6\u0482\u058D-\u058F\u0606-\u0608\u060B\u060E\u060F\u06DE\u06E9\u06FD\u06FE\u07F6\u07FE\u07FF\u09F2\u09F3\u09FA\u09FB\u0AF1\u0B70\u0BF3-\u0BFA\u0C7F\u0D4F\u0D79\u0E3F\u0F01-\u0F03\u0F13\u0F15-\u0F17\u0F1A-\u0F1F\u0F34\u0F36\u0F38\u0FBE-\u0FC5\u0FC7-\u0FCC\u0FCE\u0FCF\u0FD5-\u0FD8\u109E\u109F\u1390-\u1399\u166D\u17DB\u1940\u19DE-\u19FF\u1B61-\u1B6A\u1B74-\u1B7C\u1FBD\u1FBF-\u1FC1\u1FCD-\u1FCF\u1FDD-\u1FDF\u1FED-\u1FEF\u1FFD\u1FFE\u2044\u2052\u207A-\u207C\u208A-\u208C\u20A0-\u20BF\u2100\u2101\u2103-\u2106\u2108\u2109\u2114\u2116-\u2118\u211E-\u2123\u2125\u2127\u2129\u212E\u213A\u213B\u2140-\u2144\u214A-\u214D\u214F\u218A\u218B\u2190-\u2307\u230C-\u2328\u232B-\u2426\u2440-\u244A\u249C-\u24E9\u2500-\u2767\u2794-\u27C4\u27C7-\u27E5\u27F0-\u2982\u2999-\u29D7\u29DC-\u29FB\u29FE-\u2B73\u2B76-\u2B95\u2B97-\u2BFF\u2CE5-\u2CEA\u2E50\u2E51\u2E80-\u2E99\u2E9B-\u2EF3\u2F00-\u2FD5\u2FF0-\u2FFB\u3004\u3012\u3013\u3020\u3036\u3037\u303E\u303F\u309B\u309C\u3190\u3191\u3196-\u319F\u31C0-\u31E3\u3200-\u321E\u322A-\u3247\u3250\u3260-\u327F\u328A-\u32B0\u32C0-\u33FF\u4DC0-\u4DFF\uA490-\uA4C6\uA700-\uA716\uA720\uA721\uA789\uA78A\uA828-\uA82B\uA836-\uA839\uAA77-\uAA79\uAB5B\uAB6A\uAB6B\uFB29\uFBB2-\uFBC1\uFDFC\uFDFD\uFE62\uFE64-\uFE66\uFE69\uFF04\uFF0B\uFF1C-\uFF1E\uFF3E\uFF40\uFF5C\uFF5E\uFFE0-\uFFE6\uFFE8-\uFFEE\uFFFC\uFFFD]|\uD800[\uDD37-\uDD3F\uDD79-\uDD89\uDD8C-\uDD8E\uDD90-\uDD9C\uDDA0\uDDD0-\uDDFC]|\uD802[\uDC77\uDC78\uDEC8]|\uD805\uDF3F|\uD807[\uDFD5-\uDFF1]|\uD81A[\uDF3C-\uDF3F\uDF45]|\uD82F\uDC9C|\uD834[\uDC00-\uDCF5\uDD00-\uDD26\uDD29-\uDD64\uDD6A-\uDD6C\uDD83\uDD84\uDD8C-\uDDA9\uDDAE-\uDDE8\uDE00-\uDE41\uDE45\uDF00-\uDF56]|\uD835[\uDEC1\uDEDB\uDEFB\uDF15\uDF35\uDF4F\uDF6F\uDF89\uDFA9\uDFC3]|\uD836[\uDC00-\uDDFF\uDE37-\uDE3A\uDE6D-\uDE74\uDE76-\uDE83\uDE85\uDE86]|\uD838[\uDD4F\uDEFF]|\uD83B[\uDCAC\uDCB0\uDD2E\uDEF0\uDEF1]|\uD83C[\uDC00-\uDC2B\uDC30-\uDC93\uDCA0-\uDCAE\uDCB1-\uDCBF\uDCC1-\uDCCF\uDCD1-\uDCF5\uDD0D-\uDDAD\uDDE6-\uDE02\uDE10-\uDE3B\uDE40-\uDE48\uDE50\uDE51\uDE60-\uDE65\uDF00-\uDFFF]|\uD83D[\uDC00-\uDED7\uDEE0-\uDEEC\uDEF0-\uDEFC\uDF00-\uDF73\uDF80-\uDFD8\uDFE0-\uDFEB]|\uD83E[\uDC00-\uDC0B\uDC10-\uDC47\uDC50-\uDC59\uDC60-\uDC87\uDC90-\uDCAD\uDCB0\uDCB1\uDD00-\uDD78\uDD7A-\uDDCB\uDDCD-\uDE53\uDE60-\uDE6D\uDE70-\uDE74\uDE78-\uDE7A\uDE80-\uDE86\uDE90-\uDEA8\uDEB0-\uDEB6\uDEC0-\uDEC2\uDED0-\uDED6\uDF00-\uDF92\uDF94-\uDFCA]/, s = new RegExp("^" + i.source), c = new RegExp(i.source + "$"), l = /[#0](?:[\.,][#0]+)*/g; function u(e, t, n, r) { var o, a, i = e.sign, u = e.exponent, m = e.magnitude, h = r.notation, v = r.style, y = r.numberingSystem, g = t.numbers.nu[0], b = null; if ( ("compact" === h && m && (b = (function (e, t, n, r, o, a, i) { var s, c, l = e.roundedNumber, u = e.sign, d = e.magnitude, m = String(Math.pow(10, d)), h = n.numbers.nu[0]; if ("currency" === r && "name" !== a) { var v = null === (s = ((y = n.numbers.currency)[i] || y[h]).short) || void 0 === s ? void 0 : s[m]; if (!v) return null; c = f(t, l, v); } else { var y, g = ((y = n.numbers.decimal)[i] || y[h])[o][m]; if (!g) return null; c = f(t, l, g); } return "0" === c ? null : (c = p(c, u) .replace(/([^\s;\-\+\d¤]+)/g, "{c:$1}") .replace(/0+/, "0")); })(e, n, t, v, r.compactDisplay, r.currencyDisplay, y)), "currency" === v && "name" !== r.currencyDisplay) ) { var E = t.currencies[r.currency]; if (E) switch (r.currencyDisplay) { case "code": o = r.currency; break; case "symbol": o = E.symbol; break; default: o = E.narrow; } else o = r.currency; } a = b || ("decimal" === v || "unit" === v || ("currency" === v && "name" === r.currencyDisplay) ? p((t.numbers.decimal[y] || t.numbers.decimal[g]).standard, i) : p("currency" === v ? (C = t.numbers.currency[y] || t.numbers.currency[g])[r.currencySign] : t.numbers.percent[y] || t.numbers.percent[g], i)); var D = l.exec(a)[0]; if (((a = a.replace(l, "{0}").replace(/'(.)'/g, "$1")), "currency" === v && "name" !== r.currencyDisplay)) { var C, w = (C = t.numbers.currency[y] || t.numbers.currency[g]).currencySpacing.afterInsertBetween; w && !c.test(o) && (a = a.replace("¤{0}", "¤" + w + "{0}")); var S = C.currencySpacing.beforeInsertBetween; S && !s.test(o) && (a = a.replace("{0}¤", "{0}" + S + "¤")); } for (var A = a.split(/({c:[^}]+}|\{0\}|[¤%\-\+])/g), k = [], _ = t.numbers.symbols[y] || t.numbers.symbols[g], T = 0, I = A; T < I.length; T++) if ((J = I[T])) switch (J) { case "{0}": k.push.apply(k, d(_, e, h, u, y, !b && r.useGrouping, D)); break; case "-": k.push({ type: "minusSign", value: _.minusSign }); break; case "+": k.push({ type: "plusSign", value: _.plusSign }); break; case "%": k.push({ type: "percentSign", value: _.percentSign }); break; case "¤": k.push({ type: "currency", value: o }); break; default: /^\{c:/.test(J) ? k.push({ type: "compact", value: J.substring(3, J.length - 1) }) : k.push({ type: "literal", value: J }); } switch (v) { case "currency": if ("name" === r.currencyDisplay) { var O, F = (t.numbers.currency[y] || t.numbers.currency[g]).unitPattern, x = t.currencies[r.currency]; O = x ? f(n, e.roundedNumber * Math.pow(10, u), x.displayName) : r.currency; for (var N = [], R = 0, L = F.split(/(\{[01]\})/g); R < L.length; R++) switch ((J = L[R])) { case "{0}": N.push.apply(N, k); break; case "{1}": N.push({ type: "currency", value: O }); break; default: J && N.push({ type: "literal", value: J }); } return N; } return k; case "unit": var M = r.unit, P = r.unitDisplay, j = t.units.simple[M]; if (((F = void 0), j)) F = f(n, e.roundedNumber * Math.pow(10, u), t.units.simple[M][P]); else { var B = M.split("-per-"), Z = B[0], U = B[1]; j = t.units.simple[Z]; var z = f(n, e.roundedNumber * Math.pow(10, u), t.units.simple[Z][P]), V = t.units.simple[U].perUnit[P]; if (V) F = V.replace("{0}", z); else { var H = t.units.compound.per[P], G = f(n, 1, t.units.simple[U][P]); F = F = H.replace("{0}", z).replace("{1}", G.replace("{0}", "")); } } N = []; for (var W = 0, Q = F.split(/(\s*\{0\}\s*)/); W < Q.length; W++) { var J = Q[W], Y = /^(\s*)\{0\}(\s*)$/.exec(J); Y ? (Y[1] && N.push({ type: "literal", value: Y[1] }), N.push.apply(N, k), Y[2] && N.push({ type: "literal", value: Y[2] })) : J && N.push({ type: "unit", value: J }); } return N; default: return k; } } function d(e, t, n, o, i, s, c) { var l = [], u = t.formattedString, d = t.roundedNumber; if (isNaN(d)) return [{ type: "nan", value: u }]; if (!isFinite(d)) return [{ type: "infinity", value: u }]; var p = a[i]; p && (u = u.replace(/\d/g, function (e) { return p[+e] || e; })); var f, m, h = u.indexOf("."); if ((h > 0 ? ((f = u.slice(0, h)), (m = u.slice(h + 1))) : (f = u), s && ("compact" !== n || d >= 1e4))) { var v = e.group, y = [], g = c.split(".")[0].split(","), b = 3, E = 3; g.length > 1 && (b = g[g.length - 1].length), g.length > 2 && (E = g[g.length - 2].length); var D = f.length - b; if (D > 0) { for (y.push(f.slice(D, D + b)), D -= E; D > 0; D -= E) y.push(f.slice(D, D + E)); y.push(f.slice(0, D + E)); } else y.push(f); for (; y.length > 0; ) { var C = y.pop(); l.push({ type: "integer", value: C }), y.length > 0 && l.push({ type: "group", value: v }); } } else l.push({ type: "integer", value: f }); if ((void 0 !== m && l.push({ type: "decimal", value: e.decimal }, { type: "fraction", value: m }), ("scientific" === n || "engineering" === n) && isFinite(d))) { l.push({ type: "exponentSeparator", value: e.exponential }), o < 0 && (l.push({ type: "exponentMinusSign", value: e.minusSign }), (o = -o)); var w = (0, r.W)(o, 0, 0); l.push({ type: "exponentInteger", value: w.formattedString }); } return l; } function p(e, t) { e.indexOf(";") < 0 && (e = e + ";-" + e); var n = e.split(";"), r = n[0], o = n[1]; switch (t) { case 0: return r; case -1: return o; default: return o.indexOf("-") >= 0 ? o.replace(/-/g, "+") : "+" + r; } } function f(e, t, n) { return n[e.select(t)] || n.other; } }, 43176: (e, t, n) => { "use strict"; n.d(t, { i: () => o }); var r = n(56457); function o(e) { for (var t = [], n = e.indexOf("{"), o = 0, a = 0, i = e.length; n < e.length && n > -1; ) (o = e.indexOf("}", n)), (0, r.kG)(o > n, "Invalid pattern " + e), n > a && t.push({ type: "literal", value: e.substring(a, n) }), t.push({ type: e.substring(n + 1, o), value: void 0 }), (a = o + 1), (n = e.indexOf("{", a)); return a < i && t.push({ type: "literal", value: e.substring(a, i) }), t; } }, 26320: (e, t, n) => { "use strict"; n.d(t, { f: () => i }); var r = n(56457), o = n(63830); function a(e, t) { (0, r.kG)(2 === t.length, "key must have 2 elements"); var n = e.length, o = "-" + t + "-", a = e.indexOf(o); if (-1 !== a) { for (var i = a + 4, s = i, c = i, l = !1; !l; ) { var u = e.indexOf("-", c); 2 == (-1 === u ? n - c : u - c) ? (l = !0) : -1 === u ? ((s = n), (l = !0)) : ((s = u), (c = u + 1)); } return e.slice(i, s); } if (((o = "-" + t), -1 !== (a = e.indexOf(o)) && a + 3 === n)) return ""; } function i(e, t, n, i, s, c) { var l; l = "lookup" === n.localeMatcher ? (function (e, t, n) { for (var a = { locale: "" }, i = 0, s = t; i < s.length; i++) { var c = s[i], l = c.replace(r.pk, ""), u = (0, o.t)(e, l); if (u) return (a.locale = u), c !== l && (a.extension = c.slice(l.length + 1, c.length)), a; } return (a.locale = n()), a; })(e, t, c) : (function (e, t, n) { var a, i = {}, s = new Set(); e.forEach(function (e) { var t = new Intl.Locale(e).minimize().toString(); (i[t] = e), s.add(t); }); for (var c = 0, l = t; c < l.length; c++) { var u = l[c]; if (a) break; var d = u.replace(r.pk, ""); if (e.has(d)) { a = d; break; } if (s.has(d)) { a = i[d]; break; } var p = new Intl.Locale(d), f = p.maximize().toString(), m = p.minimize().toString(); if (s.has(m)) { a = i[m]; break; } a = (0, o.t)(s, f); } return { locale: a || n() }; })(e, t, c); for (var u = l.locale, d = { locale: "", dataLocale: u }, p = "-u", f = 0, m = i; f < m.length; f++) { var h = m[f]; (0, r.kG)(u in s, "Missing locale data for " + u); var v = s[u]; (0, r.kG)("object" == typeof v && null !== v, "locale data " + h + " must be an object"); var y = v[h]; (0, r.kG)(Array.isArray(y), "keyLocaleData for " + h + " must be an array"); var g = y[0]; (0, r.kG)("string" == typeof g || null === g, "value must be string or null but got " + typeof g + " in key " + h); var b = ""; if (l.extension) { var E = a(l.extension, h); void 0 !== E && ("" !== E ? ~y.indexOf(E) && (b = "-" + h + "-" + (g = E)) : ~E.indexOf("true") && ((g = "true"), (b = "-" + h))); } if (h in n) { var D = n[h]; (0, r.kG)("string" == typeof D || null == D, "optionsValue must be String, Undefined or Null"), ~y.indexOf(D) && D !== g && ((g = D), (b = "")); } (d[h] = g), (p += b); } if (p.length > 2) { var C = u.indexOf("-x-"); if (-1 === C) u += p; else { var w = u.slice(0, C), S = u.slice(C, u.length); u = w + p + S; } u = Intl.getCanonicalLocales(u)[0]; } return (d.locale = u), d; } }, 16243: (e, t, n) => { "use strict"; n.d(t, { Q: () => s }); var r = n(2406), o = n(44074), a = n(56457), i = n(63830); function s(e, t, n) { return ( void 0 !== n && ((n = (0, r.TA)(n)), (0, o.u)(n, "localeMatcher", "string", ["lookup", "best fit"], "best fit")), (function (e, t) { for (var n = [], r = 0, o = t; r < o.length; r++) { var s = o[r].replace(a.pk, ""), c = (0, i.t)(e, s); c && n.push(c); } return n; })(e, t) ); } }, 61733: (e, t, n) => { "use strict"; n.d(t, { N: () => a }); var r, o = n(13795); function a(e) { return "MISSING_LOCALE_DATA" === e.type; } (r = Error), (0, o.__extends)(function () { var e = (null !== r && r.apply(this, arguments)) || this; return (e.type = "MISSING_LOCALE_DATA"), e; }, r); }, 52562: (e, t, n) => { "use strict"; n.r(t), n.d(t, { ArrayCreate: () => P.U6, CanonicalizeLocaleList: () => r.L, CanonicalizeTimeZoneName: () => o.a, CoerceOptionsToObject: () => a.U, ComputeExponent: () => f.V, ComputeExponentForMagnitude: () => m.b, CurrencyDigits: () => h.T, DateFromTime: () => P.XB, Day: () => P.Jc, DayFromYear: () => P.gL, DayWithinYear: () => P.oD, DaysInYear: () => P.My, FormatNumericToParts: () => v.M, FormatNumericToString: () => y.E, GetNumberOption: () => i._, GetOption: () => s.u, GetOptionsObject: () => c.F, HasOwnProperty: () => P.uY, HourFromTime: () => P.Zq, InLeapYear: () => P.$i, InitializeNumberFormat: () => g.o, IsSanctionedSimpleUnitIdentifier: () => l.UQ, IsValidTimeZoneName: () => u.s, IsWellFormedCurrencyCode: () => d.K, IsWellFormedUnitIdentifier: () => p.L, MinFromTime: () => P.py, MonthFromTime: () => P.J1, OrdinaryHasInstance: () => P.R2, PartitionNumberPattern: () => b.I, PartitionPattern: () => A.i, RangePatternType: () => x._, ResolveLocale: () => k.f, SANCTIONED_UNITS: () => l.Js, SIMPLE_UNITS: () => l.oO, SameValue: () => P.QP, SecFromTime: () => P.xk, SetNumberFormatDigitOptions: () => E.W, SetNumberFormatUnitOptions: () => D.x, SupportedLocales: () => _.Q, TimeClip: () => P.XH, TimeFromYear: () => P.rf, ToNumber: () => P.CU, ToObject: () => P.TA, ToRawFixed: () => C.W, ToRawPrecision: () => w.w, ToString: () => P.Ml, Type: () => P.Dy, WeekDay: () => P.VR, YearFromTime: () => P.n7, _formatToParts: () => S.Z, defineProperty: () => T._x, getInternalSlot: () => T.q, getMagnitude: () => T.Tg, getMultiInternalSlots: () => T.$0, invariant: () => T.kG, isLiteralPart: () => T.eY, isMissingLocaleDataError: () => I.N, msFromTime: () => P.Vg, removeUnitNamespace: () => l.Hr, setInternalSlot: () => T.LS, setMultiInternalSlots: () => T.e7, }); var r = n(58491), o = n(83437), a = n(41316), i = n(39182), s = n(44074), c = n(28520), l = n(4280), u = n(94670), d = n(75086), p = n(59057), f = n(58243), m = n(81645), h = n(51864), v = n(46392), y = n(76206), g = n(49810), b = n(82081), E = n(9674), D = n(41268), C = n(91069), w = n(6655), S = n(26657), A = n(43176), k = n(26320), _ = n(16243), T = n(56457), I = n(61733), O = n(15307), F = {}; for (const e in O) [ "default", "_formatToParts", "getInternalSlot", "getMultiInternalSlots", "isLiteralPart", "setInternalSlot", "setMultiInternalSlots", "getMagnitude", "defineProperty", "isMissingLocaleDataError", "invariant", "CanonicalizeLocaleList", "CanonicalizeTimeZoneName", "CoerceOptionsToObject", "GetNumberOption", "GetOption", "GetOptionsObject", "IsSanctionedSimpleUnitIdentifier", "SANCTIONED_UNITS", "SIMPLE_UNITS", "removeUnitNamespace", "IsValidTimeZoneName", "IsWellFormedCurrencyCode", "IsWellFormedUnitIdentifier", "ComputeExponent", "ComputeExponentForMagnitude", "CurrencyDigits", "FormatNumericToParts", "FormatNumericToString", "InitializeNumberFormat", "PartitionNumberPattern", "SetNumberFormatDigitOptions", "SetNumberFormatUnitOptions", "ToRawFixed", "ToRawPrecision", "PartitionPattern", "ResolveLocale", "SupportedLocales", ].indexOf(e) < 0 && (F[e] = () => O[e]); n.d(t, F); var x = n(93255), N = n(89777); F = {}; for (const e in N) [ "default", "_formatToParts", "getInternalSlot", "getMultiInternalSlots", "isLiteralPart", "setInternalSlot", "setMultiInternalSlots", "getMagnitude", "defineProperty", "isMissingLocaleDataError", "invariant", "CanonicalizeLocaleList", "CanonicalizeTimeZoneName", "CoerceOptionsToObject", "GetNumberOption", "GetOption", "GetOptionsObject", "IsSanctionedSimpleUnitIdentifier", "SANCTIONED_UNITS", "SIMPLE_UNITS", "removeUnitNamespace", "IsValidTimeZoneName", "IsWellFormedCurrencyCode", "IsWellFormedUnitIdentifier", "ComputeExponent", "ComputeExponentForMagnitude", "CurrencyDigits", "FormatNumericToParts", "FormatNumericToString", "InitializeNumberFormat", "PartitionNumberPattern", "SetNumberFormatDigitOptions", "SetNumberFormatUnitOptions", "ToRawFixed", "ToRawPrecision", "PartitionPattern", "ResolveLocale", "SupportedLocales", "RangePatternType", ].indexOf(e) < 0 && (F[e] = () => N[e]); n.d(t, F); var R = n(81514); F = {}; for (const e in R) [ "default", "_formatToParts", "getInternalSlot", "getMultiInternalSlots", "isLiteralPart", "setInternalSlot", "setMultiInternalSlots", "getMagnitude", "defineProperty", "isMissingLocaleDataError", "invariant", "CanonicalizeLocaleList", "CanonicalizeTimeZoneName", "CoerceOptionsToObject", "GetNumberOption", "GetOption", "GetOptionsObject", "IsSanctionedSimpleUnitIdentifier", "SANCTIONED_UNITS", "SIMPLE_UNITS", "removeUnitNamespace", "IsValidTimeZoneName", "IsWellFormedCurrencyCode", "IsWellFormedUnitIdentifier", "ComputeExponent", "ComputeExponentForMagnitude", "CurrencyDigits", "FormatNumericToParts", "FormatNumericToString", "InitializeNumberFormat", "PartitionNumberPattern", "SetNumberFormatDigitOptions", "SetNumberFormatUnitOptions", "ToRawFixed", "ToRawPrecision", "PartitionPattern", "ResolveLocale", "SupportedLocales", "RangePatternType", ].indexOf(e) < 0 && (F[e] = () => R[e]); n.d(t, F); var L = n(29919); F = {}; for (const e in L) [ "default", "_formatToParts", "getInternalSlot", "getMultiInternalSlots", "isLiteralPart", "setInternalSlot", "setMultiInternalSlots", "getMagnitude", "defineProperty", "isMissingLocaleDataError", "invariant", "CanonicalizeLocaleList", "CanonicalizeTimeZoneName", "CoerceOptionsToObject", "GetNumberOption", "GetOption", "GetOptionsObject", "IsSanctionedSimpleUnitIdentifier", "SANCTIONED_UNITS", "SIMPLE_UNITS", "removeUnitNamespace", "IsValidTimeZoneName", "IsWellFormedCurrencyCode", "IsWellFormedUnitIdentifier", "ComputeExponent", "ComputeExponentForMagnitude", "CurrencyDigits", "FormatNumericToParts", "FormatNumericToString", "InitializeNumberFormat", "PartitionNumberPattern", "SetNumberFormatDigitOptions", "SetNumberFormatUnitOptions", "ToRawFixed", "ToRawPrecision", "PartitionPattern", "ResolveLocale", "SupportedLocales", "RangePatternType", ].indexOf(e) < 0 && (F[e] = () => L[e]); n.d(t, F); var M = n(28374); F = {}; for (const e in M) [ "default", "_formatToParts", "getInternalSlot", "getMultiInternalSlots", "isLiteralPart", "setInternalSlot", "setMultiInternalSlots", "getMagnitude", "defineProperty", "isMissingLocaleDataError", "invariant", "CanonicalizeLocaleList", "CanonicalizeTimeZoneName", "CoerceOptionsToObject", "GetNumberOption", "GetOption", "GetOptionsObject", "IsSanctionedSimpleUnitIdentifier", "SANCTIONED_UNITS", "SIMPLE_UNITS", "removeUnitNamespace", "IsValidTimeZoneName", "IsWellFormedCurrencyCode", "IsWellFormedUnitIdentifier", "ComputeExponent", "ComputeExponentForMagnitude", "CurrencyDigits", "FormatNumericToParts", "FormatNumericToString", "InitializeNumberFormat", "PartitionNumberPattern", "SetNumberFormatDigitOptions", "SetNumberFormatUnitOptions", "ToRawFixed", "ToRawPrecision", "PartitionPattern", "ResolveLocale", "SupportedLocales", "RangePatternType", ].indexOf(e) < 0 && (F[e] = () => M[e]); n.d(t, F); var P = n(2406); }, 93255: (e, t, n) => { "use strict"; var r; n.d(t, { _: () => r }), (function (e) { (e.startRange = "startRange"), (e.shared = "shared"), (e.endRange = "endRange"); })(r || (r = {})); }, 28374: () => {}, 89777: () => {}, 29919: () => {}, 81514: () => {}, 15307: () => {}, 56457: (e, t, n) => { "use strict"; function r(e) { return Math.floor(Math.log(e) * Math.LOG10E); } function o(e, t) { if ("function" == typeof e.repeat) return e.repeat(t); for (var n = new Array(t), r = 0; r < n.length; r++) n[r] = e; return n.join(""); } function a(e, t, n, r) { e.get(t) || e.set(t, Object.create(null)), (e.get(t)[n] = r); } function i(e, t, n) { for (var r = 0, o = Object.keys(n); r < o.length; r++) { var i = o[r]; a(e, t, i, n[i]); } } function s(e, t, n) { return c(e, t, n)[n]; } function c(e, t) { for (var n = [], r = 2; r < arguments.length; r++) n[r - 2] = arguments[r]; var o = e.get(t); if (!o) throw new TypeError(t + " InternalSlot has not been initialized"); return n.reduce(function (e, t) { return (e[t] = o[t]), e; }, Object.create(null)); } function l(e) { return "literal" === e.type; } function u(e, t, n) { var r = n.value; Object.defineProperty(e, t, { configurable: !0, enumerable: !1, writable: !0, value: r }); } n.d(t, { $0: () => c, LS: () => a, Tg: () => r, _x: () => u, e7: () => i, eY: () => l, kG: () => p, pk: () => d, q: () => s, rx: () => o }); var d = /-u(?:-[0-9a-z]{2,8})+/gi; function p(e, t, n) { if ((void 0 === n && (n = Error), !e)) throw new n(t); } }, 18871: (e, t, n) => { "use strict"; var r = n(86988); n(70075).shouldPolyfill() && Object.defineProperty(Intl, "PluralRules", { value: r.PluralRules, writable: !0, enumerable: !1, configurable: !0 }); }, 70075: (e, t) => { "use strict"; Object.defineProperty(t, "__esModule", { value: !0 }), (t.shouldPolyfill = void 0), (t.shouldPolyfill = function () { return !("PluralRules" in Intl) || "one" === new Intl.PluralRules("en", { minimumFractionDigits: 2 }).select(1); }); }, 16404: (e, t, n) => { e.exports = n(35073); }, 35073: (e, t, n) => { "use strict"; var r = n(86633); Object.defineProperty(t, "__esModule", { value: !0 }), (t.default = void 0); var o, a, i, s = r(n(2001)), c = r(n(2400)), l = r(n(80034)), u = r(n(19854)), d = r(n(33470)), p = r(n(15270)), f = r(n(17555)), m = r(n(4837)), h = r(n(8531)), v = r(n(44455)), y = r(n(30602)), g = r(n(40151)), b = r(n(72807)), E = r(n(47776)), D = r(n(23469)); function C(e, t) { var n = Object.keys(e); if (Object.getOwnPropertySymbols) { var r = Object.getOwnPropertySymbols(e); t && (r = r.filter(function (t) { return Object.getOwnPropertyDescriptor(e, t).enumerable; })), n.push.apply(n, r); } return n; } function w(e) { for (var t = 1; t < arguments.length; t++) { var n = null != arguments[t] ? arguments[t] : {}; t % 2 ? C(Object(n), !0).forEach(function (t) { (0, f.default)(e, t, n[t]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : C(Object(n)).forEach(function (t) { Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t)); }); } return e; } n(35912), n(26787); var S = (0, m.default)( ((i = a = (function (e) { function t(e) { var n; return (0, c.default)(this, t), ((n = (0, u.default)(this, (0, d.default)(t).call(this, e))).state = { overlayContainer: null, indicatorPositioned: !1 }), (n.shouldUpdatePosition = !0), n; } return ( (0, p.default)(t, e), (0, l.default)(t, [ { key: "getOverlayContainer", value: function () { return this.node ? (0, h.default)(this.node, ".react-spectrum-provider") || document.body : null; }, }, { key: "componentDidMount", value: function () { var e = this.getOverlayContainer(); e && this.setState({ overlayContainer: e }); }, }, { key: "onHide", value: function () { this.props.onHide && this.props.onHide(); }, }, { key: "onIndicatorPositioned", value: function () { !this.state.indicatorPositioned && this.shouldUpdatePosition ? this.setState({ indicatorPositioned: !0 }) : this.state.indicatorPositioned && !this.shouldUpdatePosition && (this.setState({ indicatorPositioned: !0 }), (this.shouldUpdatePosition = !0)); }, }, { key: "componentDidUpdate", value: function () { this.state.indicatorPositioned && (this.shouldUpdatePosition = !1); }, }, { key: "render", value: function () { var e = this, n = this.props, r = n.quiet, o = n.selector, a = n.children, i = n.dismissible, c = n.flip, l = n.placement, u = (0, s.default)(n, ["quiet", "selector", "children", "dismissible", "flip", "placement"]), d = this.state.overlayContainer; return D.default.createElement( "div", { ref: function (t) { return (e.node = t); }, style: { display: "none" }, }, " ", d && D.default.createElement( b.default, { container: d }, D.default.createElement( g.default, { trigger: i ? "click" : void 0, show: !i || void 0, defaultShow: !0, flip: c, placement: l, offset: t.INDICATOR_OFFSET, onHide: this.onHide, shouldUpdatePosition: this.state.indicatorPositioned && this.shouldUpdatePosition, }, D.default.createElement(v.default, { selector: o, quiet: r, onPositioned: this.onIndicatorPositioned }), D.default.createElement(y.default, u, a) ) ) ); }, }, ]), t ); })(D.default.Component)), (0, f.default)( a, "propTypes", w( { parentNode: E.default.any, flip: E.default.bool, placement: E.default.oneOf(["bottom", "bottom left", "bottom right", "top", "top left", "top right", "right", "right bottom", "right top", "left", "left bottom", "left top"]), dismissible: E.default.bool, }, y.default.propTypes, {}, v.default.propTypes ) ), (0, f.default)(a, "defaultProps", w({ flip: !0, placement: "right" }, y.default.defaultProps, {}, v.default.defaultProps)), (0, f.default)(a, "INDICATOR_OFFSET", 6), (o = i)) ) || o; t.default = S; }, 44455: (e, t, n) => { "use strict"; var r = n(86633); Object.defineProperty(t, "__esModule", { value: !0 }), (t.default = void 0); var o, a, i, s = r(n(62665)), c = r(n(2001)), l = r(n(20578)), u = r(n(8012)), d = r(n(2400)), p = r(n(80034)), f = r(n(19854)), m = r(n(33470)), h = r(n(15270)), v = r(n(17555)), y = r(n(4837)), g = r(n(93353)), b = r(n(35073)), E = r(n(98606)), D = r(n(47776)), C = r(n(23469)), w = (0, y.default)( ((i = a = (function (e) { function t(e) { var n; return (0, d.default)(this, t), ((n = (0, f.default)(this, (0, m.default)(t).call(this, e))).state = { style: { position: "relative" } }), (n.indicatorRef = null), (n.debouncedResizeUpdate = null), n; } var n; return ( (0, h.default)(t, e), (0, p.default)(t, [ { key: "calculateDOMLocation", value: function (e) { var t = e.getBoundingClientRect(), n = t.left, r = t.top, o = t.width, a = t.height; if (this.indicatorRef) { var i = this.indicatorRef.getBoundingClientRect().height; (i += b.default.INDICATOR_OFFSET), this.setState({ style: { position: "absolute", pointerEvents: "none", top: r + a / 2 - i / 2, left: n + o / 2 - i / 2 } }); } }, }, { key: "resizeListener", value: function () { var e = this; this.debouncedResizeUpdate || (this.debouncedResizeUpdate = setTimeout(function () { e.updateTargetNode(), (e.debouncedResizeUpdate = null); }, 50)); }, }, { key: "updateTargetNode", value: function () { if (this.indicatorRef) { var e = document.querySelector(this.props.selector); return e && this.calculateDOMLocation(e), e; } return null; }, }, { key: "tryAttachToDOM", value: function () { var e = this; if (!this.updateTargetNode()) { var t = 0; this.attachInterval && this.clearAttachInterval(), (this.attachInterval = setInterval(function () { (e.updateTargetNode() || t > 10) && e.clearAttachInterval(), t++; }, 10)); } }, }, { key: "componentDidMount", value: ((n = (0, u.default)( l.default.mark(function e() { return l.default.wrap( function (e) { for (;;) switch ((e.prev = e.next)) { case 0: this.tryAttachToDOM(), window.addEventListener("resize", this.resizeListener); case 2: case "end": return e.stop(); } }, e, this ); }) )), function () { return n.apply(this, arguments); }), }, { key: "componentDidUpdate", value: function (e, t) { e.selector !== this.props.selector && this.tryAttachToDOM(), (t.style.top === this.state.style.top && t.style.left === this.state.style.left) || this.props.onPositioned(); }, }, { key: "componentWillUnmount", value: function () { window.removeEventListener("resize", this.resizeListener), this.clearDebouncedResizeUpdateInterval(), this.clearAttachInterval(); }, }, { key: "clearDebouncedResizeUpdateInterval", value: function () { this.debouncedResizeUpdate && (clearTimeout(this.debouncedResizeUpdate), (this.debouncedResizeUpdate = null)); }, }, { key: "clearAttachInterval", value: function () { this.attachInterval && (clearInterval(this.attachInterval), (this.attachInterval = null)); }, }, { key: "setReference", value: function (e) { this.indicatorRef = e; }, }, { key: "render", value: function () { var e = this.props, t = e.quiet, n = e.onClick, r = (0, c.default)(e, ["quiet", "onClick"]), o = this.state.style; return C.default.createElement( "div", (0, s.default)({}, (0, E.default)(r), { className: (0, g.default)("spectrum-CoachMarkIndicator", { "spectrum-CoachMarkIndicator--quiet": t }), role: "presentation", onClick: n, ref: this.setReference, style: o }), C.default.createElement("div", { className: "spectrum-CoachMarkIndicator-ring" }), C.default.createElement("div", { className: "spectrum-CoachMarkIndicator-ring" }), C.default.createElement("div", { className: "spectrum-CoachMarkIndicator-ring" }) ); }, }, ]), t ); })(C.default.Component)), (0, v.default)(a, "propTypes", { selector: D.default.string.isRequired, quiet: D.default.bool, onPositioned: D.default.func }), (0, v.default)(a, "defaultProps", { quiet: !1, onPositioned: function () {} }), (o = i)) ) || o; t.default = w; }, 30602: (e, t, n) => { "use strict"; var r = n(86633); Object.defineProperty(t, "__esModule", { value: !0 }), (t.default = void 0); var o, a, i, s = r(n(62665)), c = r(n(2001)), l = r(n(2400)), u = r(n(80034)), d = r(n(19854)), p = r(n(33470)), f = r(n(15270)), m = r(n(17555)), h = r(n(86633)), v = r(n(4837)), y = r(n(97915)), g = r(n(82463)), b = r(n(98606)), E = n(79370), D = r(n(47776)), C = r(n(23469)), w = n(12555); n(52918); var S = { "cs-CZ": (0, h.default)(n(71221)).default, "da-DK": (0, h.default)(n(84266)).default, "de-DE": (0, h.default)(n(63949)).default, "en-US": (0, h.default)(n(49807)).default, "es-ES": (0, h.default)(n(63041)).default, "fi-FI": (0, h.default)(n(88831)).default, "fr-FR": (0, h.default)(n(28093)).default, "hu-HU": (0, h.default)(n(82330)).default, "it-IT": (0, h.default)(n(53472)).default, "ja-JP": (0, h.default)(n(10135)).default, "ko-KR": (0, h.default)(n(93943)).default, "nb-NO": (0, h.default)(n(98934)).default, "nl-NL": (0, h.default)(n(88594)).default, "pl-PL": (0, h.default)(n(7254)).default, "pt-BR": (0, h.default)(n(36853)).default, "ru-RU": (0, h.default)(n(61952)).default, "sv-SE": (0, h.default)(n(28645)).default, "tr-TR": (0, h.default)(n(26437)).default, "uk-UA": (0, h.default)(n(44695)).default, "zh-CN": (0, h.default)(n(22107)).default, "zh-TW": (0, h.default)(n(12671)).default, }, A = (0, E.messageFormatter)(S), k = (0, v.default)( ((i = a = (function (e) { function t(e) { var n; return (0, l.default)(this, t), ((n = (0, d.default)(this, (0, p.default)(t).call(this, e))).coachmarkId = (0, g.default)()), n; } return ( (0, f.default)(t, e), (0, u.default)(t, [ { key: "componentDidMount", value: function () { var e = this; this.props.trapFocus && (this._trapFocusTimeout = requestAnimationFrame(function () { e.coachmarkRef && !e.coachmarkRef.contains(document.activeElement) && e.coachmarkRef.focus(); })); }, }, { key: "componentWillUnmount", value: function () { this._trapFocusTimeout && cancelAnimationFrame(this._trapFocusTimeout); }, }, { key: "onFocus", value: function (e) { this.props.onFocus && this.props.onFocus(e), this.props.trapFocus && (0, w.trapFocus)(this, e); }, }, { key: "onKeyDown", value: function (e) { (this.props.onKeyDown && (this.props.onKeyDown(e), e.isPropagationStopped && e.isPropagationStopped())) || (this.props.trapFocus && (0, w.trapFocus)(this, e)); }, }, { key: "render", value: function () { var e = this, t = this.props, n = t.title, r = t.confirmLabel, o = t.onConfirm, a = t.cancelLabel, i = t.onCancel, l = t.disableProgress, u = t.currentStep, d = t.totalSteps, p = t.image, f = t.children, m = t.id, h = void 0 === m ? this.coachmarkId : m, v = t.tabIndex, g = t.imageAlt, E = void 0 === g ? "" : g, D = t.autoFocus, w = t.trapFocus, S = (0, c.default)(t, ["title", "confirmLabel", "onConfirm", "cancelLabel", "onCancel", "disableProgress", "currentStep", "totalSteps", "image", "children", "id", "tabIndex", "imageAlt", "autoFocus", "trapFocus"]); return ( (l = l || "number" != typeof u || "number" != typeof d), C.default.createElement( "div", (0, s.default)({}, (0, b.default)(S), { className: "spectrum-CoachMarkPopover", role: "dialog", "aria-labelledby": "".concat(h, "-header"), "aria-describedby": "".concat(h, "-content"), id: h, ref: function (t) { return (e.coachmarkRef = t); }, onFocus: this.onFocus, onKeyDown: this.onKeyDown, tabIndex: w && null == v ? 1 : v, }), p && C.default.createElement("img", { src: p, alt: E, className: "spectrum-CoachMarkPopover-image" }), C.default.createElement( "div", { className: "spectrum-CoachMarkPopover-header", id: "".concat(h, "-header") }, C.default.createElement("div", { className: "spectrum-CoachMarkPopover-title" }, n), !l && C.default.createElement("div", { className: "spectrum-CoachMarkPopover-step" }, A("steps", { currentStep: u, totalSteps: d })) ), C.default.createElement("div", { className: "spectrum-CoachMarkPopover-content", id: "".concat(h, "-content") }, f), C.default.createElement( "div", { className: "spectrum-CoachMarkPopover-footer" }, a && C.default.createElement(y.default, { quiet: !0, onClick: i, autoFocus: r ? null : D }, a), r && C.default.createElement(y.default, { variant: "primary", onClick: o, autoFocus: D }, r) ) ) ); }, }, ]), t ); })(C.default.Component)), (0, m.default)(a, "propTypes", { title: D.default.string.isRequired, confirmLabel: D.default.string, onConfirm: D.default.func, cancelLabel: D.default.string, onCancel: D.default.func, disableProgress: D.default.bool, image: D.default.string, imageAlt: D.default.string, currentStep: D.default.number, totalSteps: D.default.number, autoFocus: D.default.bool, trapFocus: D.default.bool, tabIndex: D.default.number, id: D.default.string, }), (0, m.default)(a, "defaultProps", { autoFocus: !0, imageAlt: "", trapFocus: !0 }), (o = i)) ) || o; t.default = k; }, 13653: (e, t, n) => { "use strict"; var r = n(86633); Object.defineProperty(t, "__esModule", { value: !0 }), (t.default = function (e) { var t = e.autoFocusButton, n = e.confirmLabel, r = e.secondaryLabel, c = e.cancelLabel, l = e.confirmDisabled, u = e.onConfirm, d = e.onCancel, p = e.className, f = e.variant, m = s[f] || "primary", h = function (e) { (" " !== e.key && "Enter" !== e.key) || e.stopPropagation(); }; return i.default.createElement( "div", { className: (0, a.default)("react-spectrum-Dialog-buttons", p) }, c && i.default.createElement(o.default, { variant: "secondary", label: c, onClick: d, autoFocus: "cancel" === t, onKeyDown: h }), r && i.default.createElement(o.default, { variant: "secondary", label: r, onClick: u ? u.bind(null, "secondary") : null, autoFocus: "secondary" === t, disabled: l || null, onKeyDown: h }), n && i.default.createElement(o.default, { variant: m, label: n, onClick: u ? u.bind(null, "primary") : null, autoFocus: "confirm" === t, disabled: l || null, onKeyDown: h }) ); }); var o = r(n(97915)), a = r(n(93353)), i = r(n(23469)); n(82851); var s = { confirmation: "cta", information: "primary", error: "primary", destructive: "warning" }; }, 27644: (e, t, n) => { "use strict"; var r = n(86633); Object.defineProperty(t, "__esModule", { value: !0 }), (t.default = function (e) { var t = e.title, n = e.variant, r = e.fullscreen, i = e.confirmDisabled, h = e.confirmLabel, v = e.secondaryLabel, y = e.cancelLabel, g = e.onConfirm, b = e.onCancel, E = e.onClose, D = e.className, C = e.autoFocusButton, w = e.id, S = e.isDismissible, A = (0, a.default)(e, ["title", "variant", "fullscreen", "confirmDisabled", "confirmLabel", "secondaryLabel", "cancelLabel", "onConfirm", "onCancel", "onClose", "className", "autoFocusButton", "id", "isDismissible"]), k = m[n]; return f.default.createElement( "div", (0, o.default)({}, (0, d.default)(A), { className: (0, c.default)("spectrum-Dialog-header", "spectrum-Dialog-header--".concat(n), D) }), f.default.createElement(p.default, { size: 3, className: "spectrum-Dialog-title", id: w }, t), k && f.default.createElement(k, { size: null, className: "spectrum-Dialog-typeIcon" }), S && !r && f.default.createElement(s.default, { className: "spectrum-Dialog-closeButton", variant: "action", onClick: E, quiet: !0, icon: f.default.createElement(l.default, { size: "L" }) }), r && h && f.default.createElement(u.default, { autoFocusButton: C, variant: n, cancelLabel: y, secondaryLabel: v, confirmLabel: h, confirmDisabled: i, onConfirm: g, onCancel: b }) ); }); var o = r(n(62665)), a = r(n(2001)), i = r(n(1335)), s = r(n(97915)), c = r(n(93353)), l = r(n(97931)), u = r(n(13653)), d = r(n(98606)), p = r(n(57765)), f = r(n(23469)), m = { error: i.default }; }, 42115: (e, t, n) => { e.exports = n(87526); }, 87526: (e, t, n) => { "use strict"; var r = n(86633); Object.defineProperty(t, "__esModule", { value: !0 }), (t.default = u); var o = r(n(62665)), a = r(n(2001)), i = r(n(93353)), s = r(n(7899)), c = r(n(47776)), l = r(n(23469)); function u(e) { var t = e.label, n = e.position, r = e.children, c = e.className, u = e.labelFor, d = e.necessity, p = e.necessityIndicator, f = (0, a.default)(e, ["label", "position", "children", "className", "labelFor", "necessity", "necessityIndicator"]); return l.default.createElement( s.default, (0, o.default)( { label: t, className: c, necessity: d, necessityIndicator: p, componentName: "FieldLabel", labelClassName: (0, i.default)("spectrum-FieldLabel", { "spectrum-FieldLabel--left": "left" === n, "spectrum-FieldLabel--right": "right" === n }), labelFor: u, }, f ), r ); } n(86404), n(57268), (u.displayName = "FieldLabel"), (u.propTypes = { label: c.default.string.isRequired, position: c.default.oneOf(["left", "right"]), className: c.default.string, labelFor: c.default.string, necessity: c.default.oneOf(["required", "optional"]), necessityIndicator: c.default.oneOf(["icon", "label"]), }), (u.defaultProps = { necessityIndicator: "icon" }); }, 7899: (e, t, n) => { "use strict"; var r = n(86633); Object.defineProperty(t, "__esModule", { value: !0 }), (t.default = h); var o = r(n(62665)), a = r(n(2001)), i = r(n(86633)), s = r(n(43286)), c = r(n(93353)), l = r(n(82463)), u = r(n(98606)), d = n(79370), p = r(n(23469)), f = { "cs-CZ": (0, i.default)(n(23770)).default, "da-DK": (0, i.default)(n(61774)).default, "de-DE": (0, i.default)(n(79181)).default, "en-US": (0, i.default)(n(95315)).default, "es-ES": (0, i.default)(n(17823)).default, "fi-FI": (0, i.default)(n(90107)).default, "fr-FR": (0, i.default)(n(71407)).default, "hu-HU": (0, i.default)(n(28033)).default, "it-IT": (0, i.default)(n(1458)).default, "ja-JP": (0, i.default)(n(77426)).default, "ko-KR": (0, i.default)(n(21021)).default, "nb-NO": (0, i.default)(n(45953)).default, "nl-NL": (0, i.default)(n(30606)).default, "pl-PL": (0, i.default)(n(40999)).default, "pt-BR": (0, i.default)(n(28603)).default, "ru-RU": (0, i.default)(n(86039)).default, "sv-SE": (0, i.default)(n(14770)).default, "tr-TR": (0, i.default)(n(10134)).default, "uk-UA": (0, i.default)(n(60396)).default, "zh-CN": (0, i.default)(n(56149)).default, "zh-TW": (0, i.default)(n(94206)).default, }, m = (0, d.messageFormatter)(f); function h(e) { var t = e.label, n = e.children, r = e.className, i = e.labelClassName, d = e.wrapperClassName, f = e.labelFor, h = e.componentName, v = e.necessity, y = e.necessityIndicator, g = (0, a.default)(e, ["label", "children", "className", "labelClassName", "wrapperClassName", "labelFor", "componentName", "necessity", "necessityIndicator"]), b = { required: "".concat(t, " ").concat(m("(required)")), optional: "".concat(t, " ").concat(m("(optional)")) }, E = null; "icon" === y && "required" === v && (E = p.default.createElement(s.default, { role: "presentation", className: "spectrum-UIIcon-Asterisk spectrum-fieldLabel-requiredIcon", size: "S", alt: m("(required)") })); var D, C = p.default.Children.toArray(n), w = g.id || (0, l.default)(); if ((delete g.id, 1 === C.length)) { D = C[0].props.id || (0, l.default)(); var S = C[0].props["aria-labelledby"] || (t ? w : null); C[0] = p.default.cloneElement(C[0], { id: D, "aria-labelledby": S }); } D && !f && (f = D), f || console.warn("Missing labelFor attribute on ".concat(h, ' with label "').concat(t, '"')); var A = (0, c.default)(i, 0 === C.length ? r : null), k = t ? p.default.createElement("label", (0, o.default)({ className: A, id: w, htmlFor: f }, (0, u.default)(g)), v && "label" === y ? b[v] : t, E && " ", E && E) : p.default.createElement("div", (0, o.default)({ className: A }, (0, u.default)(g))); return C.length > 0 ? (d && (C = p.default.createElement("div", { className: d }, C)), p.default.createElement("div", { className: r }, k, C)) : k; } h.defaultProps = { necessityIndicator: "icon" }; }, 265: (e, t, n) => { "use strict"; var r = n(23469); e.exports = r.createElement( "svg", { viewBox: "0 0 36 36" }, r.createElement("path", { d: "M28.023 4.36A.965.965 0 0 0 27.98 3a.963.963 0 0 0-1.362-.044 1.373 1.373 0 0 0-.118.144l-.012-.015-8.739 8.735.012.016a.68.68 0 0 0-.145.119.995.995 0 0 0 1.4 1.4.916.916 0 0 0 .119-.145l.013.013 8.739-8.738-.015-.013a.847.847 0 0 0 .151-.112zM29.8 5.883c-.721.721-9.538 9.645-9.589 9.7a2.214 2.214 0 0 1-2.362.029l-.767-.725L6.286 25.474a1.5 1.5 0 0 0-.327.48L4.088 32.36a.375.375 0 0 0 .495.491l6.433-1.956a1.5 1.5 0 0 0 .46-.312L33.06 9.079zm1.014-1.711l3.106 2.956a2.78 2.78 0 0 0-.807-3.228 3.3 3.3 0 0 0-3.22-1.06c-.179.064.065.3.138.375s.735.861.783.957zM3.723 27.486c-3.054-9.06.3-16.932 8.725-21.51 1.269-.69.268-2.706-1.009-2.011C2.19 8.992-1.077 17.405 2.286 27.5c1.437 4.314 1.437-.014 1.437-.014z", }) ); }, 8233: (e, t, n) => { "use strict"; var r = n(23469); e.exports = r.createElement( "svg", { viewBox: "0 0 48 48" }, r.createElement("path", { d: "M37.262 6.224a1.287 1.287 0 0 0-.057-1.816 1.284 1.284 0 0 0-1.816-.059 1.807 1.807 0 0 0-.156.193l-.016-.02-11.652 11.649.016.022a.906.906 0 0 0-.193.158 1.327 1.327 0 0 0 1.873 1.871 1.217 1.217 0 0 0 .158-.193l.018.018L37.089 6.4l-.02-.017a1.146 1.146 0 0 0 .193-.159zm2.369 2.031c-.961.961-12.717 12.859-12.785 12.928a2.951 2.951 0 0 1-3.149.039l-1.023-.967-14.393 14.12a2 2 0 0 0-.436.64L5.35 43.558a.5.5 0 0 0 .66.654l8.578-2.612a2 2 0 0 0 .613-.417l28.778-28.667zm1.354-2.281l4.141 3.941c.506-.949.549-2.678-1.076-4.311a4.4 4.4 0 0 0-4.294-1.414c-.238.086.086.406.184.5s.981 1.155 1.045 1.284zM4.964 36.649c-4.071-12.08.4-22.576 11.634-28.68 1.692-.92.357-3.607-1.346-2.682-12.333 6.7-16.688 17.92-12.2 31.379 1.912 5.753 1.912-.017 1.912-.017z", }) ); }, 40333: (e, t, n) => { "use strict"; Object.defineProperty(t, "__esModule", { value: !0 }); var r = Object.assign || function (e) { for (var t = 1; t < arguments.length; t++) { var n = arguments[t]; for (var r in n) Object.prototype.hasOwnProperty.call(n, r) && (e[r] = n[r]); } return e; }, o = i(n(93140)), a = i(n(23469)); function i(e) { return e && e.__esModule ? e : { default: e }; } var s = function (e) { return a.default.createElement(o.default, r({}, e, { icon: { 18: n(265), 24: n(8233) } })); }; (s.displayName = "AnnotatePen"), (t.default = s); }, 63817: (e, t, n) => { "use strict"; var r = n(23469); e.exports = r.createElement( "svg", { viewBox: "0 0 36 36" }, r.createElement("path", { d: "M29.585 29.5c.249.25.417.583 0 .917l-5.168 3.333c-.417.25-.583.083-.75-.334l-6.416-11.168L8.833 31.5c-.083.167-.334.333-.583 0l-4-4.167c-.417-.25-.334-.5 0-.75l9.5-7.917L2.917 14.58c-.168 0-.417-.333-.251-.75L5.5 8.164A.439.439 0 0 1 6.25 8l9.5 6.167L16.335 2a.438.438 0 0 1 .5-.5l6.917.916c.417 0 .5.167.417.583l-3.25 11.917 11-3.333c.249-.167.5-.167.666.333l1.084 6.167c.083.417 0 .583-.334.583l-11.5.917z", }) ); }, 11562: (e, t, n) => { "use strict"; var r = n(23469); e.exports = r.createElement( "svg", { viewBox: "0 0 48 48" }, r.createElement("path", { d: "M37.9 37.8c.3.3.5.7 0 1.1l-6.2 4c-.5.3-.7.1-.9-.4l-7.7-13.4L13 40.2c-.1.2-.4.4-.7 0l-4.8-5c-.5-.3-.4-.6 0-.9l11.4-9.5-13-4.9c-.2 0-.5-.4-.3-.9L9 12.2a.526.526 0 0 1 .9-.2l11.4 7.4.7-14.6a.526.526 0 0 1 .6-.6l8.3 1.1c.5 0 .6.2.5.7l-3.9 14.3 13.2-4c.3-.2.6-.2.8.4l1.3 7.4c.1.5 0 .7-.4.7l-13.8 1.1z", }) ); }, 43286: (e, t, n) => { "use strict"; Object.defineProperty(t, "__esModule", { value: !0 }); var r = Object.assign || function (e) { for (var t = 1; t < arguments.length; t++) { var n = arguments[t]; for (var r in n) Object.prototype.hasOwnProperty.call(n, r) && (e[r] = n[r]); } return e; }, o = i(n(93140)), a = i(n(23469)); function i(e) { return e && e.__esModule ? e : { default: e }; } var s = function (e) { return a.default.createElement(o.default, r({}, e, { icon: { 18: n(63817), 24: n(11562) } })); }; (s.displayName = "Asterisk"), (t.default = s); }, 72927: (e, t, n) => { "use strict"; var r = n(23469); e.exports = r.createElement( "svg", { viewBox: "0 0 36 36" }, r.createElement("path", { d: "M24.194 25.154c2.1-.429 6.515-2.615 6.515-9.387 0-7.2-4.844-11.53-11.53-11.53-7.587 0-13.759 5.1-13.759 14.4 0 6.472 2.915 10.93 8.015 13.545a.41.41 0 0 1 .214.386l-.085 2.832c0 .214-.043.214-.214.171A17.33 17.33 0 0 1 2.162 18.81c0-10.116 7.03-17.4 17.145-17.4 8.058 0 14.531 5.229 14.531 14.1 0 8.7-6.387 12.945-13.673 12.945-5.658 0-9.559-3.172-9.559-9.3A9.728 9.728 0 0 1 20.593 9.08a11.4 11.4 0 0 1 4.286.686c.171.043.214.086.214.257zm-2.272-13.116a5.751 5.751 0 0 0-1.757-.214c-3.943 0-6.429 3.129-6.429 7.072 0 3.729 1.972 6.687 6.087 6.687a5.313 5.313 0 0 0 1.329-.129z", }) ); }, 17025: (e, t, n) => { "use strict"; var r = n(23469); e.exports = r.createElement( "svg", { viewBox: "0 0 48 48" }, r.createElement("path", { d: "M31.737 34.212c2.624-.535 8.138-3.266 8.138-11.725 0-8.995-6.05-14.4-14.4-14.4C16 8.084 8.286 14.455 8.286 26.073c0 8.085 3.641 13.653 10.012 16.919a.513.513 0 0 1 .268.482l-.107 3.534c0 .268-.054.268-.268.214C9.731 43.9 4.217 36.3 4.217 26.288 4.217 13.652 13 4.55 25.633 4.55c10.066 0 18.15 6.532 18.15 17.615 0 10.869-7.978 16.169-17.08 16.169-7.067 0-11.94-3.962-11.94-11.618a12.152 12.152 0 0 1 12.476-12.582 14.239 14.239 0 0 1 5.354.857c.214.054.268.107.268.321zM28.9 17.828a7.183 7.183 0 0 0-2.2-.268c-4.926 0-8.031 3.908-8.031 8.834 0 4.658 2.463 8.352 7.6 8.352a6.636 6.636 0 0 0 1.66-.161z", }) ); }, 20987: (e, t, n) => { "use strict"; Object.defineProperty(t, "__esModule", { value: !0 }); var r = Object.assign || function (e) { for (var t = 1; t < arguments.length; t++) { var n = arguments[t]; for (var r in n) Object.prototype.hasOwnProperty.call(n, r) && (e[r] = n[r]); } return e; }, o = i(n(93140)), a = i(n(23469)); function i(e) { return e && e.__esModule ? e : { default: e }; } var s = function (e) { return a.default.createElement(o.default, r({}, e, { icon: { 18: n(72927), 24: n(17025) } })); }; (s.displayName = "At"), (t.default = s); }, 95611: (e, t, n) => { "use strict"; var r = n(23469); e.exports = r.createElement( "svg", { viewBox: "0 0 36 36" }, r.createElement("path", { d: "M8 14.02a2 2 0 0 1 3.411-1.411l6.578 6.572 6.578-6.572a2 2 0 0 1 2.874 2.773l-.049.049-7.992 7.984a2 2 0 0 1-2.825 0l-7.989-7.983A1.989 1.989 0 0 1 8 14.02z" }) ); }, 80649: (e, t, n) => { "use strict"; var r = n(23469); e.exports = r.createElement( "svg", { viewBox: "0 0 48 48" }, r.createElement("path", { d: "M22.585 31.7L11.94 21.05a2 2 0 0 1 0-2.828l.282-.282a2.006 2.006 0 0 1 2.828 0L24 26.888l8.949-8.948a2.006 2.006 0 0 1 2.828 0l.282.282a2 2 0 0 1 0 2.828L25.414 31.7a2 2 0 0 1-2.829 0z" }) ); }, 2736: (e, t, n) => { "use strict"; var r = Object.assign || function (e) { for (var t = 1; t < arguments.length; t++) { var n = arguments[t]; for (var r in n) Object.prototype.hasOwnProperty.call(n, r) && (e[r] = n[r]); } return e; }, o = i(n(93140)), a = i(n(23469)); function i(e) { return e && e.__esModule ? e : { default: e }; } var s = function (e) { return a.default.createElement(o.default, r({}, e, { icon: { 18: n(95611), 24: n(80649) } })); }; (s.displayName = "ChevronDown"), (t.Z = s); }, 47885: (e, t, n) => { "use strict"; var r = n(23469); e.exports = r.createElement( "svg", { viewBox: "0 0 36 36" }, r.createElement("path", { d: "M12 18a1.988 1.988 0 0 0 .585 1.409l7.983 7.98a2 2 0 1 0 2.871-2.772l-.049-.049L16.819 18l6.572-6.57a2 2 0 0 0-2.773-2.87l-.049.049-7.983 7.98A1.988 1.988 0 0 0 12 18z" }) ); }, 90907: (e, t, n) => { "use strict"; var r = n(23469); e.exports = r.createElement( "svg", { viewBox: "0 0 48 48" }, r.createElement("path", { d: "M16.3 22.585L26.949 11.94a2 2 0 0 1 2.828 0l.282.282a2.006 2.006 0 0 1 0 2.828L21.112 24l8.948 8.949a2.006 2.006 0 0 1 0 2.828l-.282.282a2 2 0 0 1-2.828 0L16.3 25.414a2 2 0 0 1 0-2.829z" }) ); }, 947: (e, t, n) => { "use strict"; Object.defineProperty(t, "__esModule", { value: !0 }); var r = Object.assign || function (e) { for (var t = 1; t < arguments.length; t++) { var n = arguments[t]; for (var r in n) Object.prototype.hasOwnProperty.call(n, r) && (e[r] = n[r]); } return e; }, o = i(n(93140)), a = i(n(23469)); function i(e) { return e && e.__esModule ? e : { default: e }; } var s = function (e) { return a.default.createElement(o.default, r({}, e, { icon: { 18: n(47885), 24: n(90907) } })); }; (s.displayName = "ChevronLeft"), (t.default = s); }, 28570: (e, t, n) => { "use strict"; var r = n(23469); e.exports = r.createElement( "svg", { viewBox: "0 0 36 36" }, r.createElement("path", { d: "M24 18a1.988 1.988 0 0 1-.585 1.409l-7.983 7.98a2 2 0 1 1-2.871-2.772l.049-.049L19.181 18l-6.572-6.57a2 2 0 0 1 2.773-2.87l.049.049 7.983 7.98A1.988 1.988 0 0 1 24 18z" }) ); }, 32463: (e, t, n) => { "use strict"; var r = n(23469); e.exports = r.createElement( "svg", { viewBox: "0 0 48 48" }, r.createElement("path", { d: "M31.7 25.414L21.05 36.059a2 2 0 0 1-2.828 0l-.282-.282a2.006 2.006 0 0 1 0-2.828L26.888 24l-8.948-8.949a2.006 2.006 0 0 1 0-2.828l.282-.282a2 2 0 0 1 2.828 0L31.7 22.585a2 2 0 0 1 0 2.829z" }) ); }, 30871: (e, t, n) => { "use strict"; Object.defineProperty(t, "__esModule", { value: !0 }); var r = Object.assign || function (e) { for (var t = 1; t < arguments.length; t++) { var n = arguments[t]; for (var r in n) Object.prototype.hasOwnProperty.call(n, r) && (e[r] = n[r]); } return e; }, o = i(n(93140)), a = i(n(23469)); function i(e) { return e && e.__esModule ? e : { default: e }; } var s = function (e) { return a.default.createElement(o.default, r({}, e, { icon: { 18: n(28570), 24: n(32463) } })); }; (s.displayName = "ChevronRight"), (t.default = s); }, 44648: (e, t, n) => { "use strict"; var r = n(23469); e.exports = r.createElement( "svg", { viewBox: "0 0 36 36" }, r.createElement("path", { d: "M28 21.98a2 2 0 0 1-3.411 1.411l-6.578-6.572-6.578 6.572a2 2 0 0 1-2.874-2.773l.049-.049 7.992-7.984a2 2 0 0 1 2.825 0l7.989 7.983A1.989 1.989 0 0 1 28 21.98z" }) ); }, 30703: (e, t, n) => { "use strict"; var r = n(23469); e.exports = r.createElement( "svg", { viewBox: "0 0 48 48" }, r.createElement("path", { d: "M25.414 16.3l10.645 10.65a2 2 0 0 1 0 2.828l-.282.282a2.006 2.006 0 0 1-2.828 0L24 21.112l-8.95 8.948a2.006 2.006 0 0 1-2.828 0l-.282-.282a2 2 0 0 1 0-2.828L22.585 16.3a2 2 0 0 1 2.829 0z" }) ); }, 18664: (e, t, n) => { "use strict"; var r = Object.assign || function (e) { for (var t = 1; t < arguments.length; t++) { var n = arguments[t]; for (var r in n) Object.prototype.hasOwnProperty.call(n, r) && (e[r] = n[r]); } return e; }, o = i(n(93140)), a = i(n(23469)); function i(e) { return e && e.__esModule ? e : { default: e }; } var s = function (e) { return a.default.createElement(o.default, r({}, e, { icon: { 18: n(44648), 24: n(30703) } })); }; (s.displayName = "ChevronUp"), (t.Z = s); }, 38786: (e, t, n) => { "use strict"; var r = n(23469); e.exports = r.createElement( "svg", { viewBox: "0 0 36 36" }, r.createElement("path", { d: "M26.485 6.686L18 15.172 9.515 6.686a1 1 0 0 0-1.414 0L6.686 8.1a1 1 0 0 0 0 1.414L15.172 18l-8.486 8.485a1 1 0 0 0 0 1.414L8.1 29.314a1 1 0 0 0 1.414 0L18 20.828l8.485 8.485a1 1 0 0 0 1.414 0l1.415-1.413a1 1 0 0 0 0-1.414L20.828 18l8.485-8.485a1 1 0 0 0 0-1.414L27.9 6.686a1 1 0 0 0-1.415 0z", }) ); }, 50717: (e, t, n) => { "use strict"; var r = n(23469); e.exports = r.createElement( "svg", { viewBox: "0 0 48 48" }, r.createElement("path", { d: "M35.314 8.444L24 19.757 12.686 8.444a1 1 0 0 0-1.414 0l-2.828 2.828a1 1 0 0 0 0 1.414L19.757 24 8.444 35.314a1 1 0 0 0 0 1.414l2.828 2.828a1 1 0 0 0 1.414 0L24 28.243l11.314 11.313a1 1 0 0 0 1.414 0l2.828-2.828a1 1 0 0 0 0-1.414L28.243 24l11.313-11.314a1 1 0 0 0 0-1.414l-2.828-2.828a1 1 0 0 0-1.414 0z", }) ); }, 54781: (e, t, n) => { "use strict"; Object.defineProperty(t, "__esModule", { value: !0 }); var r = Object.assign || function (e) { for (var t = 1; t < arguments.length; t++) { var n = arguments[t]; for (var r in n) Object.prototype.hasOwnProperty.call(n, r) && (e[r] = n[r]); } return e; }, o = i(n(93140)), a = i(n(23469)); function i(e) { return e && e.__esModule ? e : { default: e }; } var s = function (e) { return a.default.createElement(o.default, r({}, e, { icon: { 18: n(38786), 24: n(50717) } })); }; (s.displayName = "Close"), (t.default = s); }, 33461: (e, t, n) => { "use strict"; var r = n(23469); e.exports = r.createElement( "svg", { viewBox: "0 0 36 36" }, r.createElement("path", { d: "M27.688 14.026Q27.348 14 27 14a9.001 9.001 0 0 0-7.484 14H3.718A3.92 3.92 0 0 1 0 23.854c0-1.73 1.792-4.261 4.092-4.261a4.815 4.815 0 0 1-.134-1.577 6.254 6.254 0 0 1 6.399-6.075 7.743 7.743 0 0 1 2.098.291c.936-3.166 3.622-6.17 7.607-6.17a7.296 7.296 0 0 1 7.641 7.57c0 .133-.005.264-.015.394z", }), r.createElement("path", { d: "M26.969 15.813a7.25 7.25 0 1 0 7.25 7.25 7.255 7.255 0 0 0-7.25-7.25zm3.87 9.915a.92.92 0 0 1-.65 1.57.925.925 0 0 1-.65-.27L27.111 24.6l-2.426 2.427a.919.919 0 0 1-1.57-.65.914.914 0 0 1 .27-.65l2.426-2.427-2.393-2.418a.818.818 0 0 1-.307-.589 1.007 1.007 0 0 1 .957-.982.925.925 0 0 1 .65.27L27.111 22l2.393-2.419a.925.925 0 0 1 .65-.27 1.007 1.007 0 0 1 .957.982.818.818 0 0 1-.306.589L28.412 23.3z", }) ); }, 46948: (e, t, n) => { "use strict"; var r = n(23469); e.exports = r.createElement( "svg", { viewBox: "0 0 48 48" }, r.createElement("path", { d: "M4.946 38H27.61a11.995 11.995 0 0 1 9.98-17.99s-.01-.947-.01-1.476A10.31 10.31 0 0 0 27.124 8c-5.392 0-9.008 4.182-10.274 8.499a10.404 10.404 0 0 0-2.839-.396 8.492 8.492 0 0 0-8.657 8.282 6.627 6.627 0 0 0 .18 2.15C2.426 26.535 0 29.987 0 32.347 0 35.748 1.774 38 4.946 38z", }), r.createElement("path", { d: "M38 22a10 10 0 1 0 10 10 10.01 10.01 0 0 0-10-10zm5.246 13.416a1.295 1.295 0 0 1-.915 2.211 1.302 1.302 0 0 1-.916-.381L38 33.83l-3.415 3.416a1.293 1.293 0 0 1-2.21-.915 1.286 1.286 0 0 1 .379-.915L36.17 32l-3.37-3.404a1.151 1.151 0 0 1-.43-.828 1.417 1.417 0 0 1 1.346-1.383 1.302 1.302 0 0 1 .916.38L38 30.17l3.368-3.404a1.302 1.302 0 0 1 .916-.381 1.417 1.417 0 0 1 1.346 1.383 1.151 1.151 0 0 1-.43.828L39.83 32z", }) ); }, 95190: (e, t, n) => { "use strict"; Object.defineProperty(t, "__esModule", { value: !0 }); var r = Object.assign || function (e) { for (var t = 1; t < arguments.length; t++) { var n = arguments[t]; for (var r in n) Object.prototype.hasOwnProperty.call(n, r) && (e[r] = n[r]); } return e; }, o = i(n(93140)), a = i(n(23469)); function i(e) { return e && e.__esModule ? e : { default: e }; } var s = function (e) { return a.default.createElement(o.default, r({}, e, { icon: { 18: n(33461), 24: n(46948) } })); }; (s.displayName = "CloudDisconnected"), (t.default = s); }, 89132: (e, t, n) => { "use strict"; var r = n(23469); e.exports = r.createElement( "svg", { viewBox: "0 0 36 36" }, r.createElement("path", { d: "M28.286 28a5.714 5.714 0 1 0 0-11.429 5.777 5.777 0 0 0-.645.037 7.239 7.239 0 1 0-14.153-2.876 6.1 6.1 0 0 0-7.473 7.461A3.429 3.429 0 1 0 5.43 28z" }) ); }, 29184: (e, t, n) => { "use strict"; var r = n(23469); e.exports = r.createElement( "svg", { viewBox: "0 0 48 48" }, r.createElement("path", { d: "M38.143 36a7.857 7.857 0 0 0 0-15.714 7.94 7.94 0 0 0-.887.05 9.954 9.954 0 1 0-19.46-3.954A8.386 8.386 0 0 0 7.522 26.64 4.715 4.715 0 1 0 6.714 36z" }) ); }, 60922: (e, t, n) => { "use strict"; Object.defineProperty(t, "__esModule", { value: !0 }); var r = Object.assign || function (e) { for (var t = 1; t < arguments.length; t++) { var n = arguments[t]; for (var r in n) Object.prototype.hasOwnProperty.call(n, r) && (e[r] = n[r]); } return e; }, o = i(n(93140)), a = i(n(23469)); function i(e) { return e && e.__esModule ? e : { default: e }; } var s = function (e) { return a.default.createElement(o.default, r({}, e, { icon: { 18: n(89132), 24: n(29184) } })); }; (s.displayName = "Cloud"), (t.default = s); }, 54668: (e, t, n) => { "use strict"; var r = n(23469); e.exports = r.createElement("svg", { viewBox: "0 0 36 36" }, r.createElement("path", { d: "M6 4a4 4 0 0 0-4 4v14a4 4 0 0 0 4 4h2v8.793a.5.5 0 0 0 .854.354L18 26h12a4 4 0 0 0 4-4V8a4 4 0 0 0-4-4z" })); }, 68745: (e, t, n) => { "use strict"; var r = n(23469); e.exports = r.createElement("svg", { viewBox: "0 0 48 48" }, r.createElement("path", { d: "M4 12v18a6 6 0 0 0 6 6h2v9.586a1 1 0 0 0 1.707.707L24 36l13.993-.007a6 6 0 0 0 6.007-6V12a6 6 0 0 0-6-6H10a6 6 0 0 0-6 6z" })); }, 41818: (e, t, n) => { "use strict"; var r = Object.assign || function (e) { for (var t = 1; t < arguments.length; t++) { var n = arguments[t]; for (var r in n) Object.prototype.hasOwnProperty.call(n, r) && (e[r] = n[r]); } return e; }, o = i(n(93140)), a = i(n(23469)); function i(e) { return e && e.__esModule ? e : { default: e }; } var s = function (e) { return a.default.createElement(o.default, r({}, e, { icon: { 18: n(54668), 24: n(68745) } })); }; (s.displayName = "Comment"), (t.Z = s); }, 56343: (e, t, n) => { "use strict"; var r = n(23469); e.exports = r.createElement( "svg", { viewBox: "0 0 36 36" }, r.createElement("path", { d: "M17.757 2H7a1 1 0 0 0-1 1v30a1 1 0 0 0 1 1h22a1 1 0 0 0 1-1V14.243a3 3 0 0 0-.879-2.121l-9.242-9.243A3 3 0 0 0 17.757 2zM28 14H18V4h.172L28 13.828zm0 18H8V4h8v11a1 1 0 0 0 1 1h11z" }) ); }, 25441: (e, t, n) => { "use strict"; var r = n(23469); e.exports = r.createElement( "svg", { viewBox: "0 0 48 48" }, r.createElement("path", { d: "M25.343 4H8a2 2 0 0 0-2 2v36a2 2 0 0 0 2 2h30a2 2 0 0 0 2-2V18.657a4 4 0 0 0-1.172-2.828L28.172 5.172A4 4 0 0 0 25.343 4zM34.5 17H27V9.5zM36 40H10V8h13v11a2 2 0 0 0 2 2h11z" }) ); }, 11900: (e, t, n) => { "use strict"; var r = Object.assign || function (e) { for (var t = 1; t < arguments.length; t++) { var n = arguments[t]; for (var r in n) Object.prototype.hasOwnProperty.call(n, r) && (e[r] = n[r]); } return e; }, o = i(n(93140)), a = i(n(23469)); function i(e) { return e && e.__esModule ? e : { default: e }; } var s = function (e) { return a.default.createElement(o.default, r({}, e, { icon: { 18: n(56343), 24: n(25441) } })); }; (s.displayName = "DocumentOutline"), (t.Z = s); }, 24252: (e, t, n) => { "use strict"; var r = n(23469); e.exports = r.createElement( "svg", { viewBox: "0 0 36 36" }, r.createElement("path", { d: "M20.454 8L5.084 23.372a1 1 0 0 0-.251.421L2.055 33.1c-.114.376.459.851.783.851a.274.274 0 0 0 .061-.006c.276-.064 7.867-2.344 9.312-2.779a.981.981 0 0 0 .414-.249L28 15.544zM11.4 29.316c-2.161.649-4.862 1.465-6.729 2.022l2.009-6.73zM33.567 8.2L27.8 2.432a1.214 1.214 0 0 0-.866-.353H26.9a1.371 1.371 0 0 0-.927.406l-4.1 4.1 7.543 7.542 4.1-4.1a1.374 1.374 0 0 0 .4-.883 1.222 1.222 0 0 0-.349-.944z", }) ); }, 51468: (e, t, n) => { "use strict"; var r = n(23469); e.exports = r.createElement( "svg", { viewBox: "0 0 48 48" }, r.createElement("path", { d: "M43.763 11.621l-7.42-7.382a1.888 1.888 0 0 0-2.649.18L29.4 8.712l9.88 9.88 4.31-4.319a1.886 1.886 0 0 0 .173-2.652zM26.712 11.4L8.82 29.292a2.232 2.232 0 0 0-.521.813L4.115 41.659a1.654 1.654 0 0 0 2.171 2.186L17.9 39.713a2.231 2.231 0 0 0 .826-.526l17.87-17.9zm-9.658 25.745c-3.1 1.116-6.975 2.517-9.652 3.475l3.456-9.653z", }) ); }, 81852: (e, t, n) => { "use strict"; Object.defineProperty(t, "__esModule", { value: !0 }); var r = Object.assign || function (e) { for (var t = 1; t < arguments.length; t++) { var n = arguments[t]; for (var r in n) Object.prototype.hasOwnProperty.call(n, r) && (e[r] = n[r]); } return e; }, o = i(n(93140)), a = i(n(23469)); function i(e) { return e && e.__esModule ? e : { default: e }; } var s = function (e) { return a.default.createElement(o.default, r({}, e, { icon: { 18: n(24252), 24: n(51468) } })); }; (s.displayName = "Draw"), (t.default = s); }, 88397: (e, t, n) => { "use strict"; var r = n(23469); e.exports = r.createElement( "svg", { viewBox: "0 0 36 36" }, r.createElement("path", { d: "M14.8 27a13.146 13.146 0 0 1 3.2-8.411c2.083-2.694 11.733-14.972 11.733-14.972A1 1 0 0 0 28.946 2H1.054a1 1 0 0 0-.787 1.617L12 18.589V33.9a.992.992 0 0 0 1.68.825l2.338-2.439A12.131 12.131 0 0 1 14.8 27z", }), r.createElement("path", { d: "M27 18.1a8.9 8.9 0 1 0 8.9 8.9 8.9 8.9 0 0 0-8.9-8.9zm-2.338 14.312l-4.128-4.127a.5.5 0 0 1 0-.707l1.036-1.036a.5.5 0 0 1 .707 0l2.731 2.731 6.106-6.106a.5.5 0 0 1 .707 0l1.043 1.043a.5.5 0 0 1 0 .707l-7.5 7.5a.5.5 0 0 1-.702-.005z", }) ); }, 70630: (e, t, n) => { "use strict"; var r = n(23469); e.exports = r.createElement( "svg", { viewBox: "0 0 48 48" }, r.createElement("path", { d: "M20.3 36c0-4.157 1.449-7.322 4.265-10.735S39.621 6.388 39.621 6.388A1.464 1.464 0 0 0 38.486 4H1.529A1.464 1.464 0 0 0 .393 6.388l15.686 19.671v18.417a1.464 1.464 0 0 0 2.46 1.073l3.256-2.886A14.465 14.465 0 0 1 20.3 36z", }), r.createElement("path", { d: "M36 24.1A11.9 11.9 0 1 0 47.9 36 11.9 11.9 0 0 0 36 24.1zm-2.229 19.8l-6.133-6.133a.5.5 0 0 1 0-.707L29.4 35.3a.5.5 0 0 1 .707 0L34 39.188l8.939-8.94a.5.5 0 0 1 .707 0l1.887 1.887a.5.5 0 0 1 0 .707L34.479 43.9a.5.5 0 0 1-.708 0z", }) ); }, 70697: (e, t, n) => { "use strict"; Object.defineProperty(t, "__esModule", { value: !0 }); var r = Object.assign || function (e) { for (var t = 1; t < arguments.length; t++) { var n = arguments[t]; for (var r in n) Object.prototype.hasOwnProperty.call(n, r) && (e[r] = n[r]); } return e; }, o = i(n(93140)), a = i(n(23469)); function i(e) { return e && e.__esModule ? e : { default: e }; } var s = function (e) { return a.default.createElement(o.default, r({}, e, { icon: { 18: n(88397), 24: n(70630) } })); }; (s.displayName = "FilterCheck"), (t.default = s); }, 58426: (e, t, n) => { "use strict"; var r = n(23469); e.exports = r.createElement( "svg", { viewBox: "0 0 36 36" }, r.createElement("path", { d: "M30.946 2H3.054a1 1 0 0 0-.787 1.617L14 18.589V33.9a.992.992 0 0 0 1.68.825l3.98-4.153a1.221 1.221 0 0 0 .34-.845V18.589L31.733 3.617A1 1 0 0 0 30.946 2z" }) ); }, 39919: (e, t, n) => { "use strict"; var r = n(23469); e.exports = r.createElement( "svg", { viewBox: "0 0 48 48" }, r.createElement("path", { d: "M42.885 4H5.119a1.464 1.464 0 0 0-1.136 2.388l16.1 19.671v18.417a1.464 1.464 0 0 0 2.46 1.073l4.93-5.445a1.464 1.464 0 0 0 .49-1.093V26.027L44.021 6.388A1.464 1.464 0 0 0 42.885 4z" }) ); }, 31945: (e, t, n) => { "use strict"; Object.defineProperty(t, "__esModule", { value: !0 }); var r = Object.assign || function (e) { for (var t = 1; t < arguments.length; t++) { var n = arguments[t]; for (var r in n) Object.prototype.hasOwnProperty.call(n, r) && (e[r] = n[r]); } return e; }, o = i(n(93140)), a = i(n(23469)); function i(e) { return e && e.__esModule ? e : { default: e }; } var s = function (e) { return a.default.createElement(o.default, r({}, e, { icon: { 18: n(58426), 24: n(39919) } })); }; (s.displayName = "Filter"), (t.default = s); }, 73693: (e, t, n) => { "use strict"; var r = n(23469); e.exports = r.createElement( "svg", { viewBox: "0 0 36 36" }, r.createElement("path", { d: "M33 10H18.625l-5.293-5.39A2 2 0 0 0 11.893 4H2a2 2 0 0 0-2 2v25a1 1 0 0 0 1 1h32a1 1 0 0 0 1-1V11a1 1 0 0 0-1-1zM11.893 6l3.929 4H2V6zM32 30H2V12h30z" }) ); }, 33670: (e, t, n) => { "use strict"; var r = n(23469); e.exports = r.createElement( "svg", { viewBox: "0 0 48 48" }, r.createElement("path", { d: "M44 12H22l-3.9-5.2a2 2 0 0 0-1.6-.8H4a2 2 0 0 0-2 2v32a2 2 0 0 0 2 2h40a2 2 0 0 0 2-2V14a2 2 0 0 0-2-2zM6 10h10l2.963 4H6zm36 28H6V16h36z" }) ); }, 50626: (e, t, n) => { "use strict"; var r = Object.assign || function (e) { for (var t = 1; t < arguments.length; t++) { var n = arguments[t]; for (var r in n) Object.prototype.hasOwnProperty.call(n, r) && (e[r] = n[r]); } return e; }, o = i(n(93140)), a = i(n(23469)); function i(e) { return e && e.__esModule ? e : { default: e }; } var s = function (e) { return a.default.createElement(o.default, r({}, e, { icon: { 18: n(73693), 24: n(33670) } })); }; (s.displayName = "FolderOutline"), (t.Z = s); }, 94577: (e, t, n) => { "use strict"; var r = n(23469); e.exports = r.createElement( "svg", { viewBox: "0 0 36 36" }, r.createElement("path", { d: "M18 2a16 16 0 1 0 16 16A16 16 0 0 0 18 2zm-.3 4.3a2.718 2.718 0 0 1 2.864 2.824 2.665 2.665 0 0 1-2.864 2.863 2.706 2.706 0 0 1-2.864-2.864A2.717 2.717 0 0 1 17.7 6.3zM22 27a1 1 0 0 1-1 1h-6a1 1 0 0 1-1-1v-2a1 1 0 0 1 1-1h1v-6h-1a1 1 0 0 1-1-1v-2a1 1 0 0 1 1-1h4a1 1 0 0 1 1 1v9h1a1 1 0 0 1 1 1z", }) ); }, 47530: (e, t, n) => { "use strict"; var r = n(23469); e.exports = r.createElement( "svg", { viewBox: "0 0 48 48" }, r.createElement("path", { d: "M24 4.1A19.9 19.9 0 1 0 43.9 24 19.9 19.9 0 0 0 24 4.1zm-.3 6.2a2.718 2.718 0 0 1 2.864 2.824 2.665 2.665 0 0 1-2.864 2.863 2.706 2.706 0 0 1-2.864-2.864A2.717 2.717 0 0 1 23.7 10.3zM28 35a1 1 0 0 1-1 1h-6a1 1 0 0 1-1-1v-2a1 1 0 0 1 1-1h1v-8h-1a1 1 0 0 1-1-1v-2a1 1 0 0 1 1-1h4a1 1 0 0 1 1 1v11h1a1 1 0 0 1 1 1z", }) ); }, 31142: (e, t, n) => { "use strict"; Object.defineProperty(t, "__esModule", { value: !0 }); var r = Object.assign || function (e) { for (var t = 1; t < arguments.length; t++) { var n = arguments[t]; for (var r in n) Object.prototype.hasOwnProperty.call(n, r) && (e[r] = n[r]); } return e; }, o = i(n(93140)), a = i(n(23469)); function i(e) { return e && e.__esModule ? e : { default: e }; } var s = function (e) { return a.default.createElement(o.default, r({}, e, { icon: { 18: n(94577), 24: n(47530) } })); }; (s.displayName = "Info"), (t.default = s); }, 1396: (e, t, n) => { "use strict"; var r = n(23469); e.exports = r.createElement( "svg", { viewBox: "0 0 36 36" }, r.createElement("path", { d: "M24.514 2a.5.5 0 0 0-.353.854l3.181 3.174-6.988 6.988a.5.5 0 0 0 0 .707l1.923 1.923a.5.5 0 0 0 .707 0l6.991-6.991 3.172 3.166a.5.5 0 0 0 .853-.354V2zM11.486 34a.5.5 0 0 0 .353-.854l-3.181-3.174 6.988-6.988a.5.5 0 0 0 0-.707l-1.923-1.923a.5.5 0 0 0-.707 0l-6.991 6.99-3.171-3.165a.5.5 0 0 0-.854.354V34z", }) ); }, 40415: (e, t, n) => { "use strict"; var r = n(23469); e.exports = r.createElement( "svg", { viewBox: "0 0 48 48" }, r.createElement("path", { d: "M31.352 4a.667.667 0 0 0-.471 1.139l4.242 4.233-9.323 9.316a.667.667 0 0 0 0 .943l2.568 2.569a.667.667 0 0 0 .943 0l9.322-9.321 4.229 4.221A.667.667 0 0 0 44 16.623V4zM16.648 44a.667.667 0 0 0 .471-1.139l-4.242-4.233 9.323-9.316a.667.667 0 0 0 0-.943L19.632 25.8a.667.667 0 0 0-.943 0l-9.322 9.326L5.138 30.9A.667.667 0 0 0 4 31.377V44z", }) ); }, 11495: (e, t, n) => { "use strict"; Object.defineProperty(t, "__esModule", { value: !0 }); var r = Object.assign || function (e) { for (var t = 1; t < arguments.length; t++) { var n = arguments[t]; for (var r in n) Object.prototype.hasOwnProperty.call(n, r) && (e[r] = n[r]); } return e; }, o = i(n(93140)), a = i(n(23469)); function i(e) { return e && e.__esModule ? e : { default: e }; } var s = function (e) { return a.default.createElement(o.default, r({}, e, { icon: { 18: n(1396), 24: n(40415) } })); }; (s.displayName = "Maximize"), (t.default = s); }, 31511: (e, t, n) => { "use strict"; var r = n(23469); e.exports = r.createElement( "svg", { viewBox: "0 0 36 36" }, r.createElement("path", { d: "M6.513 20a.5.5 0 0 0-.353.854l3.182 3.175-6.988 6.987a.5.5 0 0 0 0 .707l1.923 1.923a.5.5 0 0 0 .707 0l6.991-6.991 3.172 3.166a.5.5 0 0 0 .853-.354V20zm22.974-4a.5.5 0 0 0 .353-.854l-3.182-3.175 6.988-6.988a.5.5 0 0 0 0-.707l-1.922-1.922a.5.5 0 0 0-.707 0l-6.992 6.99-3.171-3.165a.5.5 0 0 0-.854.354V16z", }) ); }, 55986: (e, t, n) => { "use strict"; var r = n(23469); e.exports = r.createElement( "svg", { viewBox: "0 0 48 48" }, r.createElement("path", { d: "M9.352 26a.667.667 0 0 0-.471 1.139l4.242 4.233L3.8 40.688a.667.667 0 0 0 0 .943L6.368 44.2a.667.667 0 0 0 .943 0l9.322-9.321 4.229 4.221A.667.667 0 0 0 22 38.623V26zm29.296-6a.667.667 0 0 0 .471-1.139l-4.242-4.233L44.2 5.312a.667.667 0 0 0 0-.943L41.632 1.8a.667.667 0 0 0-.943 0l-9.322 9.321L27.138 6.9A.667.667 0 0 0 26 7.377V20z", }) ); }, 42748: (e, t, n) => { "use strict"; Object.defineProperty(t, "__esModule", { value: !0 }); var r = Object.assign || function (e) { for (var t = 1; t < arguments.length; t++) { var n = arguments[t]; for (var r in n) Object.prototype.hasOwnProperty.call(n, r) && (e[r] = n[r]); } return e; }, o = i(n(93140)), a = i(n(23469)); function i(e) { return e && e.__esModule ? e : { default: e }; } var s = function (e) { return a.default.createElement(o.default, r({}, e, { icon: { 18: n(31511), 24: n(55986) } })); }; (s.displayName = "Minimize"), (t.default = s); }, 53181: (e, t, n) => { "use strict"; var r = n(23469); e.exports = r.createElement( "svg", { viewBox: "0 0 36 36" }, r.createElement("circle", { cx: "18", cy: "18", r: "4.1" }), r.createElement("circle", { cx: "30", cy: "18", r: "4.1" }), r.createElement("circle", { cx: "6", cy: "18", r: "4.1" }) ); }, 30592: (e, t, n) => { "use strict"; var r = n(23469); e.exports = r.createElement( "svg", { viewBox: "0 0 48 48" }, r.createElement("circle", { cx: "24", cy: "24", r: "6" }), r.createElement("circle", { cx: "42", cy: "24", r: "6" }), r.createElement("circle", { cx: "6", cy: "24", r: "6" }) ); }, 63099: (e, t, n) => { "use strict"; var r = Object.assign || function (e) { for (var t = 1; t < arguments.length; t++) { var n = arguments[t]; for (var r in n) Object.prototype.hasOwnProperty.call(n, r) && (e[r] = n[r]); } return e; }, o = i(n(93140)), a = i(n(23469)); function i(e) { return e && e.__esModule ? e : { default: e }; } var s = function (e) { return a.default.createElement(o.default, r({}, e, { icon: { 18: n(53181), 24: n(30592) } })); }; (s.displayName = "More"), (t.Z = s); }, 38226: (e, t, n) => { "use strict"; var r = n(23469); e.exports = r.createElement( "svg", { viewBox: "0 0 36 36" }, r.createElement("path", { d: "M11.646 21.998l2.379 2.381L3.924 34.406 0 36l1.645-3.975 10.001-10.027zm12.305 4.322h.008L24 20.289 32.293 12l2.27-.023.006-.009a1.446 1.446 0 0 0 1.01-2.47L31.041 4.96 26.5.483a1.445 1.445 0 0 0-2.469 1.011h-.008L24 3.708 15.707 12l-6.025.044v.007a1.44 1.44 0 0 0-1.106 2.461l6.459 6.458 6.457 6.459a1.442 1.442 0 0 0 2.463-1.107z", }) ); }, 83714: (e, t, n) => { "use strict"; var r = n(23469); e.exports = r.createElement( "svg", { viewBox: "0 0 48 48" }, r.createElement("path", { d: "M16.375 28.719l2.938 2.937L6.844 44.031 2 46l2.031-4.906 12.344-12.375zm15.186 5.334h.01l.051-7.441 10.235-10.235 2.8-.03.006-.011a1.784 1.784 0 0 0 1.248-3.048l-5.6-5.6-5.6-5.6a1.784 1.784 0 0 0-3.047 1.248h-.01l-.033 2.8-10.232 10.242-7.439.054v.009a1.761 1.761 0 0 0-1.363.511 1.784 1.784 0 0 0 0 2.526l7.971 7.972 7.969 7.971a1.779 1.779 0 0 0 3.039-1.367z", }) ); }, 2255: (e, t, n) => { "use strict"; Object.defineProperty(t, "__esModule", { value: !0 }); var r = Object.assign || function (e) { for (var t = 1; t < arguments.length; t++) { var n = arguments[t]; for (var r in n) Object.prototype.hasOwnProperty.call(n, r) && (e[r] = n[r]); } return e; }, o = i(n(93140)), a = i(n(23469)); function i(e) { return e && e.__esModule ? e : { default: e }; } var s = function (e) { return a.default.createElement(o.default, r({}, e, { icon: { 18: n(38226), 24: n(83714) } })); }; (s.displayName = "PinOff"), (t.default = s); }, 83386: (e, t, n) => { "use strict"; var r = n(23469); e.exports = r.createElement( "svg", { viewBox: "0 0 36 36" }, r.createElement("path", { d: "M33.191 5.113L1.8 14.478a.5.5 0 0 0-.08.926l7.92 3.954zM13.089 21.032l11.937 6a1 1 0 0 0 1.344-.446l9.266-20.222zM10.08 23.25v7.639a.713.713 0 0 0 1.174.544l5.36-4.516z" }) ); }, 91402: (e, t, n) => { "use strict"; var r = n(23469); e.exports = r.createElement( "svg", { viewBox: "0 0 48 48" }, r.createElement("path", { d: "M44.194 6.424L2 19a1.065 1.065 0 0 0-.191 1.978l9.669 4.834zM16.078 28.042l16.149 8.143a1.065 1.065 0 0 0 1.445-.511L47.455 8.091zM12.066 31v10.185a.95.95 0 0 0 1.565.725l7.147-6.021z" }) ); }, 70449: (e, t, n) => { "use strict"; Object.defineProperty(t, "__esModule", { value: !0 }); var r = Object.assign || function (e) { for (var t = 1; t < arguments.length; t++) { var n = arguments[t]; for (var r in n) Object.prototype.hasOwnProperty.call(n, r) && (e[r] = n[r]); } return e; }, o = i(n(93140)), a = i(n(23469)); function i(e) { return e && e.__esModule ? e : { default: e }; } var s = function (e) { return a.default.createElement(o.default, r({}, e, { icon: { 18: n(83386), 24: n(91402) } })); }; (s.displayName = "Send"), (t.default = s); }, 36274: (e, t, n) => { "use strict"; var r = n(23469); e.exports = r.createElement( "svg", { viewBox: "0 0 36 36" }, r.createElement("path", { d: "M18 2a16 16 0 1 0 16 16A16 16 0 0 0 18 2zm-5.635 6.534c1.657 0 3 1.679 3 3.75s-1.343 3.75-3 3.75-3-1.679-3-3.75 1.343-3.75 3-3.75zm11.108-.1c1.657 0 3 1.679 3 3.75s-1.343 3.75-3 3.75-3-1.679-3-3.75 1.343-3.752 3-3.752zM18 28.04c-5.033 0-9.556-3.633-10-8.14h20c-.444 4.507-4.967 8.14-10 8.14z", }) ); }, 95152: (e, t, n) => { "use strict"; var r = n(23469); e.exports = r.createElement( "svg", { viewBox: "0 0 48 48" }, r.createElement("path", { d: "M24 4.1A19.9 19.9 0 1 0 43.9 24 19.9 19.9 0 0 0 24 4.1zm7 7.9c1.767 0 3.2 1.791 3.2 4s-1.433 4-3.2 4-3.2-1.791-3.2-4 1.433-4 3.2-4zm-14 0c1.767 0 3.2 1.791 3.2 4s-1.433 4-3.2 4-3.2-1.791-3.2-4 1.433-4 3.2-4zm7 24c-6.259 0-11.393-4.494-11.945-10.1h23.89C35.393 31.506 30.259 36 24 36z", }) ); }, 67217: (e, t, n) => { "use strict"; Object.defineProperty(t, "__esModule", { value: !0 }); var r = Object.assign || function (e) { for (var t = 1; t < arguments.length; t++) { var n = arguments[t]; for (var r in n) Object.prototype.hasOwnProperty.call(n, r) && (e[r] = n[r]); } return e; }, o = i(n(93140)), a = i(n(23469)); function i(e) { return e && e.__esModule ? e : { default: e }; } var s = function (e) { return a.default.createElement(o.default, r({}, e, { icon: { 18: n(36274), 24: n(95152) } })); }; (s.displayName = "SentimentPositive"), (t.default = s); }, 63392: (e, t, n) => { "use strict"; var r = n(23469); e.exports = r.createElement( "svg", { viewBox: "0 0 36 36" }, r.createElement("path", { d: "M24.476 7.165L18 0l-6.46 7.165a.5.5 0 0 0 .371.835H16v11.5a.5.5 0 0 0 .5.5h3a.5.5 0 0 0 .5-.5V8h4.1a.5.5 0 0 0 .376-.835z" }), r.createElement("path", { d: "M33 8h-6.5a.5.5 0 0 0-.5.5v3a.5.5 0 0 0 .5.5H30v16H6V12h3.5a.5.5 0 0 0 .5-.5v-3a.5.5 0 0 0-.5-.5H3a1 1 0 0 0-1 1v22a1 1 0 0 0 1 1h30a1 1 0 0 0 1-1V9a1 1 0 0 0-1-1z" }) ); }, 11643: (e, t, n) => { "use strict"; var r = n(23469); e.exports = r.createElement( "svg", { viewBox: "0 0 48 48" }, r.createElement("path", { d: "M45 12h-6.5a.5.5 0 0 0-.5.5v3a.5.5 0 0 0 .5.5H42v22H6V16h3.5a.5.5 0 0 0 .5-.5v-3a.5.5 0 0 0-.5-.5H3a1 1 0 0 0-1 1v28a1 1 0 0 0 1 1h42a1 1 0 0 0 1-1V13a1 1 0 0 0-1-1z" }), r.createElement("path", { d: "M33.722 10.331L24 0l-9.708 10.331A1 1 0 0 0 15.035 12H20v13.5a.5.5 0 0 0 .5.5h7a.5.5 0 0 0 .5-.5V12h4.979a1 1 0 0 0 .743-1.669z" }) ); }, 56805: (e, t, n) => { "use strict"; Object.defineProperty(t, "__esModule", { value: !0 }); var r = Object.assign || function (e) { for (var t = 1; t < arguments.length; t++) { var n = arguments[t]; for (var r in n) Object.prototype.hasOwnProperty.call(n, r) && (e[r] = n[r]); } return e; }, o = i(n(93140)), a = i(n(23469)); function i(e) { return e && e.__esModule ? e : { default: e }; } var s = function (e) { return a.default.createElement(o.default, r({}, e, { icon: { 18: n(63392), 24: n(11643) } })); }; (s.displayName = "Share"), (t.default = s); }, 47155: (e, t, n) => { "use strict"; var r = n(23469); e.exports = r.createElement( "svg", { viewBox: "0 0 36 36" }, r.createElement("path", { d: "M23 28h-3v-6h-4v6h-3a1 1 0 0 0-1 1v2a1 1 0 0 0 1 1h10a1 1 0 0 0 1-1v-2a1 1 0 0 0-1-1zm8-24H5a1 1 0 0 0-1 1v6a1 1 0 0 0 1 1h2a1 1 0 0 0 1-1V8h8v8h4V8h8v3a1 1 0 0 0 1 1h2a1 1 0 0 0 1-1V5a1 1 0 0 0-1-1z", }), r.createElement("path", { d: "M23 28h-3v-6h-4v6h-3a1 1 0 0 0-1 1v2a1 1 0 0 0 1 1h10a1 1 0 0 0 1-1v-2a1 1 0 0 0-1-1zm8-24H5a1 1 0 0 0-1 1v6a1 1 0 0 0 1 1h2a1 1 0 0 0 1-1V8h8v8h4V8h8v3a1 1 0 0 0 1 1h2a1 1 0 0 0 1-1V5a1 1 0 0 0-1-1z", }), r.createElement("rect", { height: "2", rx: ".5", ry: ".5", width: "28", x: "4", y: "18" }) ); }, 20583: (e, t, n) => { "use strict"; var r = n(23469); e.exports = r.createElement( "svg", { viewBox: "0 0 48 48" }, r.createElement("rect", { height: "4", rx: ".5", ry: ".5", width: "34", x: "6", y: "22" }), r.createElement("path", { d: "M29 38h-3v-8h-6v8h-3a1 1 0 0 0-1 1v2a1 1 0 0 0 1 1h12a1 1 0 0 0 1-1v-2a1 1 0 0 0-1-1zm9-32H8a2 2 0 0 0-2 2v7a1 1 0 0 0 1 1h2a1 1 0 0 0 1-1v-5h10v8h6v-8h10v5a1 1 0 0 0 1 1h2a1 1 0 0 0 1-1V8a2 2 0 0 0-2-2z", }) ); }, 12839: (e, t, n) => { "use strict"; Object.defineProperty(t, "__esModule", { value: !0 }); var r = Object.assign || function (e) { for (var t = 1; t < arguments.length; t++) { var n = arguments[t]; for (var r in n) Object.prototype.hasOwnProperty.call(n, r) && (e[r] = n[r]); } return e; }, o = i(n(93140)), a = i(n(23469)); function i(e) { return e && e.__esModule ? e : { default: e }; } var s = function (e) { return a.default.createElement(o.default, r({}, e, { icon: { 18: n(47155), 24: n(20583) } })); }; (s.displayName = "TextStrikethrough"), (t.default = s); }, 61814: (e, t, n) => { "use strict"; var r = n(23469); e.exports = r.createElement( "svg", { viewBox: "0 0 36 36" }, r.createElement("path", { d: "M15 27a12 12 0 0 1 9.529-11.743A11.557 11.557 0 0 0 25.388 11c0-5.547-2.942-8.647-7.387-8.647s-7.47 3.222-7.47 8.647a11.874 11.874 0 0 0 2.8 7.329 1.539 1.539 0 0 1 .392.993v2.214a1.528 1.528 0 0 1-1.333 1.542c-8.931.777-10.326 6.886-10.326 9.3 0 .268.031 1.321.051 1.585h15.122A11.933 11.933 0 0 1 15 27z", }), r.createElement("path", { d: "M27 18.1a8.9 8.9 0 1 0 8.9 8.9 8.9 8.9 0 0 0-8.9-8.9zm5 9.4a.5.5 0 0 1-.5.5H28v3.5a.5.5 0 0 1-.5.5h-1a.5.5 0 0 1-.5-.5V28h-3.5a.5.5 0 0 1-.5-.5v-1a.5.5 0 0 1 .5-.5H26v-3.5a.5.5 0 0 1 .5-.5h1a.5.5 0 0 1 .5.5V26h3.5a.5.5 0 0 1 .5.5z", }) ); }, 81148: (e, t, n) => { "use strict"; var r = n(23469); e.exports = r.createElement( "svg", { viewBox: "0 0 48 48" }, r.createElement("path", { d: "M20.5 36a15.493 15.493 0 0 1 10.4-14.622 18.66 18.66 0 0 0 1.689-7.465c0-7-3.419-10.3-8.585-10.3s-8.683 3.456-8.683 10.3a17.633 17.633 0 0 0 3.253 9.86 2.038 2.038 0 0 1 .455 1.253v2.794a1.888 1.888 0 0 1-1.549 1.946C6.182 30.881 4 38.96 4 42c0 .338.037 1.667.06 2h18.683a15.405 15.405 0 0 1-2.243-8z", }), r.createElement("path", { d: "M36 24.1A11.9 11.9 0 1 0 47.9 36 11.9 11.9 0 0 0 36 24.1zm8 13.4a.5.5 0 0 1-.5.5H38v5.5a.5.5 0 0 1-.5.5h-3a.5.5 0 0 1-.5-.5V38h-5.5a.5.5 0 0 1-.5-.5v-3a.5.5 0 0 1 .5-.5H34v-5.5a.5.5 0 0 1 .5-.5h3a.5.5 0 0 1 .5.5V34h5.5a.5.5 0 0 1 .5.5z", }) ); }, 52472: (e, t, n) => { "use strict"; Object.defineProperty(t, "__esModule", { value: !0 }); var r = Object.assign || function (e) { for (var t = 1; t < arguments.length; t++) { var n = arguments[t]; for (var r in n) Object.prototype.hasOwnProperty.call(n, r) && (e[r] = n[r]); } return e; }, o = i(n(93140)), a = i(n(23469)); function i(e) { return e && e.__esModule ? e : { default: e }; } var s = function (e) { return a.default.createElement(o.default, r({}, e, { icon: { 18: n(61814), 24: n(81148) } })); }; (s.displayName = "UserAdd"), (t.default = s); }, 61256: (e, t, n) => { "use strict"; var r = n(23469); e.exports = r.createElement( "svg", { viewBox: "0 0 36 36" }, r.createElement("path", { d: "M19.011 20.333v-2.084a1.442 1.442 0 0 1 .367-.93 11 11 0 0 0 2.5-6.866c0-5.2-2.756-8.1-6.919-8.1s-7 3.018-7 8.1a11.121 11.121 0 0 0 2.622 6.865 1.442 1.442 0 0 1 .367.93v2.074A1.431 1.431 0 0 1 9.7 21.768C1.338 22.5.031 28.218.031 30.474c0 .251.03 3.237.048 3.484h29.842s.026-3.234.026-3.484c0-2.163-1.478-7.864-9.691-8.7a1.437 1.437 0 0 1-1.245-1.441z", }), r.createElement("path", { d: "M27.374 19.534a1.342 1.342 0 0 1-1.16-1.346v-1.013a1.531 1.531 0 0 1 .342-.867 12.144 12.144 0 0 0 1.869-6.4c0-4.354-2.57-7.552-6.452-7.552-.232 0-.445.042-.668.062a10.931 10.931 0 0 1 2.974 8.037 13.46 13.46 0 0 1-2.869 8.171v.874c8.622 1.281 10.936 7.667 10.936 10.972 0 .108 0 .768-.01 1.484h3.586s.024-3.15.024-3.384a9.564 9.564 0 0 0-8.572-9.038z", }) ); }, 34646: (e, t, n) => { "use strict"; var r = n(23469); e.exports = r.createElement( "svg", { viewBox: "0 0 48 48" }, r.createElement("path", { d: "M24.025 28.479v-2.694a1.958 1.958 0 0 1 .438-1.2 16.805 16.805 0 0 0 2.98-9.465c0-6.72-3.283-9.89-8.242-9.89s-8.336 3.317-8.336 9.89a16.925 16.925 0 0 0 3.126 9.469 1.948 1.948 0 0 1 .434 1.2v2.683a1.947 1.947 0 0 1-1.67 1.887C2.071 31.494 0 38.7 0 41.6V44h38v-2.4c0-2.782-1.59-10.024-12.319-11.235a1.949 1.949 0 0 1-1.656-1.886z", }), r.createElement("path", { d: "M36.559 27.851a1.755 1.755 0 0 1-1.5-1.7v-2.422a1.762 1.762 0 0 1 .394-1.083 15.125 15.125 0 0 0 2.682-8.519c0-6.048-2.954-8.9-7.418-8.9a8.337 8.337 0 0 0-2.289.338c1.729 2.17 2.851 5.273 2.851 9.552a20.732 20.732 0 0 1-3.417 11.32v.369C37.706 28.6 41.816 35.42 42 40h6v-2.4c0-2.5-1.787-8.664-11.441-9.749z", }) ); }, 94758: (e, t, n) => { "use strict"; var r = Object.assign || function (e) { for (var t = 1; t < arguments.length; t++) { var n = arguments[t]; for (var r in n) Object.prototype.hasOwnProperty.call(n, r) && (e[r] = n[r]); } return e; }, o = i(n(93140)), a = i(n(23469)); function i(e) { return e && e.__esModule ? e : { default: e }; } var s = function (e) { return a.default.createElement(o.default, r({}, e, { icon: { 18: n(61256), 24: n(34646) } })); }; (s.displayName = "UserGroup"), (t.Z = s); }, 40386: (e, t, n) => { "use strict"; var r = n(23469); e.exports = r.createElement( "svg", { viewBox: "0 0 36 36" }, r.createElement("path", { d: "M35.338 32.3L23.865 20.824a12.013 12.013 0 1 0-3.04 3.04L32.3 35.338a2.155 2.155 0 0 0 3.04-3.04zM4 14a10 10 0 1 1 10 10A10 10 0 0 1 4 14z" }), r.createElement("path", { d: "M19.5 12H16V8.5a.5.5 0 0 0-.5-.5h-3a.5.5 0 0 0-.5.5V12H8.5a.5.5 0 0 0-.5.5v3a.5.5 0 0 0 .5.5H12v3.5a.5.5 0 0 0 .5.5h3a.5.5 0 0 0 .5-.5V16h3.5a.5.5 0 0 0 .5-.5v-3a.5.5 0 0 0-.5-.5z" }) ); }, 81330: (e, t, n) => { "use strict"; var r = n(23469); e.exports = r.createElement( "svg", { viewBox: "0 0 48 48" }, r.createElement("path", { d: "M4 20a16 16 0 0 0 24.991 13.233l9.888 9.888a3 3 0 0 0 4.242-4.242l-9.888-9.888A16 16 0 1 0 4 20zm3.9 0A12.1 12.1 0 1 1 20 32.1 12.114 12.114 0 0 1 7.9 20z" }), r.createElement("path", { d: "M27 18h-5v-5a1 1 0 0 0-1-1h-2a1 1 0 0 0-1 1v5h-5a1 1 0 0 0-1 1v2a1 1 0 0 0 1 1h5v5a1 1 0 0 0 1 1h2a1 1 0 0 0 1-1v-5h5a1 1 0 0 0 1-1v-2a1 1 0 0 0-1-1z" }) ); }, 49943: (e, t, n) => { "use strict"; var r = Object.assign || function (e) { for (var t = 1; t < arguments.length; t++) { var n = arguments[t]; for (var r in n) Object.prototype.hasOwnProperty.call(n, r) && (e[r] = n[r]); } return e; }, o = i(n(93140)), a = i(n(23469)); function i(e) { return e && e.__esModule ? e : { default: e }; } var s = function (e) { return a.default.createElement(o.default, r({}, e, { icon: { 18: n(40386), 24: n(81330) } })); }; (s.displayName = "ZoomIn"), (t.Z = s); }, 31964: (e, t, n) => { "use strict"; var r = n(23469); e.exports = r.createElement( "svg", { viewBox: "0 0 36 36" }, r.createElement("path", { d: "M35.338 32.3L23.865 20.824a12.013 12.013 0 1 0-3.04 3.04L32.3 35.338a2.155 2.155 0 0 0 3.04-3.04zM4 14a10 10 0 1 1 10 10A10 10 0 0 1 4 14z" }), r.createElement("rect", { height: "4", rx: ".5", ry: ".5", width: "12", x: "8", y: "12" }) ); }, 91123: (e, t, n) => { "use strict"; var r = n(23469); e.exports = r.createElement( "svg", { viewBox: "0 0 48 48" }, r.createElement("path", { d: "M4 20a16 16 0 0 0 24.991 13.233l9.888 9.888a3 3 0 0 0 4.242-4.242l-9.888-9.888A16 16 0 1 0 4 20zm3.9 0A12.1 12.1 0 1 1 20 32.1 12.114 12.114 0 0 1 7.9 20z" }), r.createElement("rect", { height: "4", rx: "1", ry: "1", width: "16", x: "12", y: "18" }) ); }, 54376: (e, t, n) => { "use strict"; var r = Object.assign || function (e) { for (var t = 1; t < arguments.length; t++) { var n = arguments[t]; for (var r in n) Object.prototype.hasOwnProperty.call(n, r) && (e[r] = n[r]); } return e; }, o = i(n(93140)), a = i(n(23469)); function i(e) { return e && e.__esModule ? e : { default: e }; } var s = function (e) { return a.default.createElement(o.default, r({}, e, { icon: { 18: n(31964), 24: n(91123) } })); }; (s.displayName = "ZoomOut"), (t.Z = s); }, 1335: (e, t, n) => { "use strict"; Object.defineProperty(t, "__esModule", { value: !0 }); var r = a(n(93140)), o = a(n(23469)); function a(e) { return e && e.__esModule ? e : { default: e }; } var i = function (e) { return o.default.createElement( r.default, e, o.default.createElement( "svg", { className: "spectrum-UIIcon-AlertMedium" }, o.default.createElement("path", { d: "M8.564 1.289L.2 16.256A.5.5 0 0 0 .636 17h16.728a.5.5 0 0 0 .5-.5.494.494 0 0 0-.064-.244L9.436 1.289a.5.5 0 0 0-.872 0zM10 14.75a.25.25 0 0 1-.25.25h-1.5a.25.25 0 0 1-.25-.25v-1.5a.25.25 0 0 1 .25-.25h1.5a.25.25 0 0 1 .25.25zm0-3a.25.25 0 0 1-.25.25h-1.5a.25.25 0 0 1-.25-.25v-6a.25.25 0 0 1 .25-.25h1.5a.25.25 0 0 1 .25.25z", className: "spectrum-UIIcon--medium", }), o.default.createElement("path", { d: "M10.563 2.206l-9.249 16.55a.5.5 0 0 0 .436.744h18.5a.5.5 0 0 0 .5-.5.494.494 0 0 0-.064-.244l-9.251-16.55a.5.5 0 0 0-.872 0zM12 17.25a.25.25 0 0 1-.25.25h-1.5a.25.25 0 0 1-.25-.25v-1.5a.25.25 0 0 1 .25-.25h1.5a.25.25 0 0 1 .25.25zm0-3.5a.25.25 0 0 1-.25.25h-1.5a.25.25 0 0 1-.25-.25v-6a.25.25 0 0 1 .25-.25h1.5a.25.25 0 0 1 .25.25z", className: "spectrum-UIIcon--large", }) ) ); }; (i.displayName = "AlertMedium"), (t.default = i); }, 97931: (e, t, n) => { "use strict"; Object.defineProperty(t, "__esModule", { value: !0 }); var r = a(n(93140)), o = a(n(23469)); function a(e) { return e && e.__esModule ? e : { default: e }; } var i = function (e) { return o.default.createElement( r.default, e, o.default.createElement( "svg", { className: "spectrum-UIIcon-CrossLarge" }, o.default.createElement("path", { d: "M11.7 10.283L7.414 6 11.7 1.717A1 1 0 1 0 10.283.3L6 4.586 1.717.3A1 1 0 1 0 .3 1.717L4.586 6 .3 10.283A1 1 0 1 0 1.717 11.7L6 7.414l4.283 4.286a1 1 0 1 0 1.417-1.417z", className: "spectrum-UIIcon--medium", }), o.default.createElement("path", { d: "M15.7 14.283L9.414 8 15.7 1.717A1 1 0 1 0 14.283.3L8 6.586 1.717.3A1 1 0 1 0 .3 1.717L6.586 8 .3 14.283A1 1 0 1 0 1.717 15.7L8 9.414l6.283 6.286a1 1 0 1 0 1.417-1.417z", className: "spectrum-UIIcon--large", }) ) ); }; (i.displayName = "CrossLarge"), (t.default = i); }, 60690: (e, t, n) => { e.exports = n(93140); }, 93140: (e, t, n) => { "use strict"; var r = n(86633); Object.defineProperty(t, "__esModule", { value: !0 }), (t.default = d); var o = r(n(17555)), a = r(n(2001)), i = r(n(93353)), s = r(n(47776)), c = r(n(23469)); function l(e, t) { var n = Object.keys(e); if (Object.getOwnPropertySymbols) { var r = Object.getOwnPropertySymbols(e); t && (r = r.filter(function (t) { return Object.getOwnPropertyDescriptor(e, t).enumerable; })), n.push.apply(n, r); } return n; } n(45337); var u = { XXS: 18, XS: 24, S: 18, M: 24, L: 18, XL: 24, XXL: 24 }; function d(e) { var t = e.icon, n = e.size, r = void 0 === n ? "M" : n, s = e.className, d = e.children, p = e["aria-label"], f = e["aria-hidden"], m = e.role, h = void 0 === m ? "img" : m, v = e.alt, y = (0, a.default)(e, ["icon", "size", "className", "children", "aria-label", "aria-hidden", "role", "alt"]), g = u[r], b = (t && t[g]) || t || d; if ("string" == typeof b) throw new Error("String icon names are deprecated. Please import icons from react-spectrum/Icon/IconName and render as ."); return ( (f && "false" !== f) || (f = void 0), c.default.cloneElement( b, (function (e) { for (var t = 1; t < arguments.length; t++) { var n = null != arguments[t] ? arguments[t] : {}; t % 2 ? l(Object(n), !0).forEach(function (t) { (0, o.default)(e, t, n[t]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : l(Object(n)).forEach(function (t) { Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t)); }); } return e; })({ focusable: "false", "aria-label": p || v, "aria-hidden": (!p && !v) || f, role: h, className: (0, i.default)(b.props.className, "spectrum-Icon", (0, o.default)({}, "spectrum-Icon--size".concat(r), r), s) }, y) ) ); } (d.displayName = "Icon"), (d.propTypes = { size: s.default.string }); }, 54758: (e, t, n) => { "use strict"; var r = n(86633), o = n(43061); Object.defineProperty(t, "__esModule", { value: !0 }), (t.modalManager = t.Modal = t.default = void 0); var a, i, s = r(n(19854)), c = r(n(33470)), l = r(n(23170)), u = r(n(15270)), d = r(n(62665)), p = r(n(17555)), f = r(n(2001)), m = r(n(2400)), h = r(n(80034)), v = r(n(4837)), y = r(n(74942)), g = n(78742), b = r(n(93353)), E = r(n(8531)), D = r(n(98606)), C = r(n(9804)), w = r(n(51113)), S = r(n(23257)), A = o(n(23469)), k = r(n(23613)); function _(e, t) { var n = Object.keys(e); if (Object.getOwnPropertySymbols) { var r = Object.getOwnPropertySymbols(e); t && (r = r.filter(function (t) { return Object.getOwnPropertyDescriptor(e, t).enumerable; })), n.push.apply(n, r); } return n; } n(19353), n(48327); var T = ["onBackdropClick", "onEnter", "onEntering", "onEntered", "onEscapeKeyDown", "onExit", "onExiting", "onExited", "onHide", "onShow"], I = new C.default({ handleContainerOverflow: !1 }); t.modalManager = I; var O = 1, F = (function () { function e() { (0, m.default)(this, e); } return ( (0, h.default)(e, null, [ { key: "show", value: function (e, t, n) { var r = O++; !n && t ? (n = function () { return (0, E.default)(k.default.findDOMNode(t), ".react-spectrum-provider"); }) : n || (n = function () { return document.querySelector(".react-spectrum-provider") || document.body; }); var o = e.props, a = o.disableEscKey, i = o.role, s = o.onClose, c = o.onHide, l = o.onExited, u = (0, f.default)(o, ["disableEscKey", "role", "onClose", "onHide", "onExited"]); (i = i && -1 !== i.indexOf("dialog") ? "presentation" : "dialog"), (u = T.reduce(function (e, t) { return (function (e) { for (var t = 1; t < arguments.length; t++) { var n = null != arguments[t] ? arguments[t] : {}; t % 2 ? _(Object(n), !0).forEach(function (t) { (0, p.default)(e, t, n[t]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : _(Object(n)).forEach(function (t) { Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t)); }); } return e; })({}, e, (0, p.default)({}, t, u[t])); }, {})); var m = A.default.createElement(x, (0, d.default)({}, u, { container: n, key: r, keyboard: !a, role: i, onClose: s, onHide: (0, g.chain)(this.hide.bind(this, r), c, l) }), e); return S.default.add(m, t), r; }, }, { key: "hide", value: function (e) { S.default.remove({ key: e }); }, }, ]), e ); })(); t.default = F; var x = (0, v.default)( ((i = (function (e) { function t() { var e, n; (0, m.default)(this, t); for (var r = arguments.length, o = new Array(r), a = 0; a < r; a++) o[a] = arguments[a]; return (n = (0, s.default)(this, (e = (0, c.default)(t)).call.apply(e, [this].concat(o)))), (0, p.default)((0, l.default)(n), "state", { show: !0 }), n; } return ( (0, u.default)(t, e), (0, h.default)(t, [ { key: "onClose", value: function () { this.setState({ show: !1 }), this.props.onClose && this.props.onClose(); }, }, { key: "onEntering", value: function (e) { var t = this; this.props.onEntering && this.props.onEntering(e), cancelAnimationFrame(this._autoFocusRAF), (this._autoFocusRAF = requestAnimationFrame(function () { if (t.baseModal && t.baseModal.dialog) { var e = k.default.findDOMNode(t.baseModal.dialog); (e !== document.activeElement || (e && !e.contains(document.activeElement))) && t.baseModal.autoFocus(), clearTimeout(t._autoFocusTimeout), (t._autoFocusTimeout = setTimeout(function () { document.activeElement === e && (e.blur(), e.focus()); }, 500)); } })); }, }, { key: "backdropMode", value: function () { var e = this.props.children.props, t = "static"; return e.backdropClickable && (t = !0), "fullscreenTakeover" === e.mode && (t = !1), t; }, }, { key: "render", value: function () { var e = this, t = this.backdropMode(), n = this.props, r = n.children, o = n.onHide, a = (0, f.default)(n, ["children", "onHide"]); return A.default.createElement( y.default, (0, d.default)({}, a, { style: { zIndex: 1e5, position: "relative" }, show: this.state.show, ref: function (t) { return (e.baseModal = t); }, onEntering: this.onEntering, onExited: o, onHide: this.onClose, backdrop: t, manager: I, renderBackdrop: function (e) { return A.default.createElement(N, e); }, transition: w.default, backdropTransition: w.default, }), (0, A.cloneElement)(r, { onClose: this.onClose }) ); }, }, ]), t ); })(A.default.Component)), (a = i)) ) || a; t.Modal = x; var N = (function (e) { function t() { return (0, m.default)(this, t), (0, s.default)(this, (0, c.default)(t).apply(this, arguments)); } return ( (0, u.default)(t, e), (0, h.default)(t, [ { key: "render", value: function () { var e = this.props, t = e.open, n = (0, f.default)(e, ["open"]); return A.default.createElement("div", (0, d.default)({}, (0, D.default)(n), { className: (0, b.default)("spectrum-Underlay", { "is-open": t }) })); }, }, ]), t ); })(A.default.Component); }, 9804: (e, t, n) => { "use strict"; var r = n(86633); Object.defineProperty(t, "__esModule", { value: !0 }), (t.default = void 0); var o = r(n(2400)), a = r(n(80034)), i = r(n(19854)), s = r(n(33470)), c = r(n(23170)), l = r(n(15270)), u = r(n(17555)), d = (function (e) { function t() { var e, n; (0, o.default)(this, t); for (var r = arguments.length, a = new Array(r), l = 0; l < r; l++) a[l] = arguments[l]; return ( (n = (0, i.default)(this, (e = (0, s.default)(t)).call.apply(e, [this].concat(a)))), (0, u.default)((0, c.default)(n), "overflowMap", new Map()), (0, u.default)((0, c.default)(n), "superAdd", n.add), (0, u.default)((0, c.default)(n), "superRemove", n.remove), (0, u.default)((0, c.default)(n), "add", function (e, t, r, o) { n.superAdd(e, t, r), n.hideBodyOverflow(e, o); }), (0, u.default)((0, c.default)(n), "hideBodyOverflow", function (e, t) { var r = getComputedStyle(document.body).overflow; t || "hidden" === r || (n.overflowMap.set(e, r), (document.body.style.overflow = "hidden")); }), (0, u.default)((0, c.default)(n), "remove", function (e, t, r) { n.superRemove(e, t, r), n.resetBodyOverflow(e); }), (0, u.default)((0, c.default)(n), "resetBodyOverflow", function (e) { n.overflowMap.has(e) && ((document.body.style.overflow = n.overflowMap.get(e)), n.overflowMap.delete(e)); }), n ); } return ( (0, l.default)(t, e), (0, a.default)(t, [ { key: "addToModal", value: function (e) { var t = arguments.length > 1 && void 0 !== arguments[1] && arguments[1], n = this.hideSiblingNodes; (this.hideSiblingNodes = !1), this.add(e, document.body, null, t), (this.hideSiblingNodes = n); }, }, { key: "removeFromModal", value: function (e) { var t = this.hideSiblingNodes; (this.hideSiblingNodes = !1), this.remove(e), (this.hideSiblingNodes = t); }, }, ]), t ); })(r(n(23509)).default); t.default = d; }, 26662: (e, t, n) => { e.exports = n(40151); }, 73549: (e, t, n) => { "use strict"; var r = n(86633); Object.defineProperty(t, "__esModule", { value: !0 }), (t.default = void 0); var o, a, i, s = r(n(2400)), c = r(n(80034)), l = r(n(19854)), u = r(n(33470)), d = r(n(15270)), p = r(n(17555)), f = r(n(4837)), m = r(n(8531)), h = r(n(81994)), v = r(n(51113)), y = r(n(93411)), g = r(n(72807)), b = r(n(70946)), E = r(n(23469)), D = r(n(23613)), C = r(n(14227)); function w(e, t) { var n = Object.keys(e); if (Object.getOwnPropertySymbols) { var r = Object.getOwnPropertySymbols(e); t && (r = r.filter(function (t) { return Object.getOwnPropertyDescriptor(e, t).enumerable; })), n.push.apply(n, r); } return n; } function S(e) { for (var t = 1; t < arguments.length; t++) { var n = null != arguments[t] ? arguments[t] : {}; t % 2 ? w(Object(n), !0).forEach(function (t) { (0, p.default)(e, t, n[t]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : w(Object(n)).forEach(function (t) { Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t)); }); } return e; } var A = new Map(), k = (0, h.default)( (o = (0, f.default)( ((i = a = (function (e) { function t(e) { var n; return (0, s.default)(this, t), ((n = (0, l.default)(this, (0, u.default)(t).call(this, e))).state = { exited: !n.props.show }), n; } return ( (0, d.default)(t, e), (0, c.default)(t, [ { key: "componentDidMount", value: function () { this.setState({ targetNode: D.default.findDOMNode(this.props.target) }), (this.mounted = !0), this.addOverlay(); }, }, { key: "componentWillUnmount", value: function () { (this.mounted = !1), this.removeOverlay(); }, }, { key: "addOverlay", value: function () { var e = arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : this.props, t = this.overlayBucketKey, n = A.get(t); n || (A.set(t, []), (n = A.get(t))), e.show && this.mounted && !n.includes(this) && n.push(this); }, }, { key: "removeOverlay", value: function () { var e = A.get(this.overlayBucketKey), t = e.indexOf(this); t >= 0 && e.splice(t, 1); }, }, { key: "UNSAFE_componentWillReceiveProps", value: function (e) { e.target && e.target !== this.props.target && this.setState(S({}, this.state, { targetNode: D.default.findDOMNode(e.target) })); }, }, { key: "onEntered", value: function () { var e; this.setState(S({}, this.state, { exited: !1 })), this.addOverlay(), this.props.onEntered && (e = this.props).onEntered.apply(e, arguments); }, }, { key: "onExited", value: function () { var e; this.setState(S({}, this.state, { exited: !0 })), this.removeOverlay(), this.props.onExited && (e = this.props).onExited.apply(e, arguments); }, }, { key: "getOverlayContainer", value: function (e) { var t = (0, m.default)(this.state.targetNode, ".react-spectrum-provider"); return this.props.container || t; }, }, { key: "hide", value: function (e) { var t = A.get(this.overlayBucketKey); t[t.length - 1] === this && this.props.onHide && this.props.onHide(e); }, }, { key: "render", value: function () { var e = this, t = this.props, n = t.containerPadding, r = t.target, o = t.container, a = void 0 === o ? this.getOverlayContainer(r) : o, i = t.placement, s = t.offset, c = t.crossOffset, l = t.flip, u = t.boundariesElement, d = void 0 === u ? function () { return (0, y.default)(e).body; } : u, p = t.shouldUpdatePosition, f = t.rootClose, m = t.children, h = t.show, D = t.onExit, w = t.onExiting, S = t.onEnter, A = t.onEntering; if (!h && this.state.exited) return null; var k = m; return ( (k = E.default.createElement(b.default, { container: a, containerPadding: n, target: r, placement: i, shouldUpdatePosition: p, offset: s, crossOffset: c, flip: l, boundariesElement: d }, k)), (k = E.default.createElement(v.default, { in: h, appear: !0, onExit: D, onExiting: w, onExited: this.onExited, onEnter: S, onEntering: A, onEntered: this.onEntered }, k)), f && (k = E.default.createElement(C.default, { onRootClose: this.hide }, k)), E.default.createElement(g.default, { container: a }, k) ); }, }, { key: "overlayBucketKey", get: function () { var e = this.props.children; return e && e.props && "tooltip" === e.props.role ? "tooltip" : "all"; }, }, ]), t ); })(E.default.Component)), (0, p.default)(a, "defaultProps", { placement: "left" }), (o = i)) ) || o) ) || o; t.default = k; }, 40151: (e, t, n) => { "use strict"; var r = n(86633), o = n(43061); Object.defineProperty(t, "__esModule", { value: !0 }), (t.default = void 0); var a, i, s, c = r(n(59395)), l = r(n(85199)), u = r(n(62665)), d = r(n(2001)), p = r(n(2400)), f = r(n(80034)), m = r(n(19854)), h = r(n(33470)), v = r(n(23170)), y = r(n(15270)), g = r(n(17555)), b = r(n(4837)), E = n(78742), D = r(n(81994)), C = r(n(82463)), w = r(n(98606)), S = n(54758), A = r(n(73549)), k = r(n(93411)), _ = r(n(47776)), T = o(n(23469)), I = r(n(23613)); function O(e, t) { var n = Object.keys(e); if (Object.getOwnPropertySymbols) { var r = Object.getOwnPropertySymbols(e); t && (r = r.filter(function (t) { return Object.getOwnPropertyDescriptor(e, t).enumerable; })), n.push.apply(n, r); } return n; } function F(e) { for (var t = 1; t < arguments.length; t++) { var n = null != arguments[t] ? arguments[t] : {}; t % 2 ? O(Object(n), !0).forEach(function (t) { (0, g.default)(e, t, n[t]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : O(Object(n)).forEach(function (t) { Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t)); }); } return e; } var x = _.default.oneOf(["click", "longClick", "hover", "focus"]); function N(e, t) { return Array.isArray(t) ? t.indexOf(e) >= 0 : e === t; } var R = (0, D.default)( (a = (0, b.default)( ((s = i = (function (e) { function t(e, n) { var r; return ( (0, p.default)(this, t), (r = (0, m.default)(this, (0, h.default)(t).call(this, e, n))), (0, g.default)((0, v.default)(r), "onMouseDown", function (e) { if (!r.props.disabled && 0 === e.button) { var t = e.currentTarget; r.longPressTimeout = setTimeout(function () { (r.longPressTimeout = null), (r._lastFocus = t), r.show(e); }, 250); } }), (0, g.default)((0, v.default)(r), "onMouseUp", function (e) { r.longPressTimeout || e.preventDefault(), !r.props.disabled && r.longPressTimeout && 0 === e.button && (r.props.onClick && r.props.onClick(e), r.hide(e), clearTimeout(r.longPressTimeout), (r.longPressTimeout = null)); }), (0, g.default)((0, v.default)(r), "windowMouseUp", function (e) { 0 === e.button && !I.default.findDOMNode((0, v.default)(r)).contains(e.target) && r.longPressTimeout && (clearTimeout(r.longPressTimeout), (r.longPressTimeout = null)); }), (r.overlayId = (0, C.default)()), (r._mountNode = null), (r.longPressTimeout = null), (r._lastFocus = e.lastFocus), (r.boundariesElement = e.boundariesElement ? e.boundariesElement : function () { return (0, k.default)((0, v.default)(r)).body; }), (r._scrollParents = null), (r.state = { show: void 0 === e.show ? e.defaultShow : e.show }), r ); } return ( (0, y.default)(t, e), (0, f.default)(t, [ { key: "UNSAFE_componentWillReceiveProps", value: function (e) { "lastFocus" in e && e.lastFocus !== this.props.lastFocus && (this._lastFocus = e.lastFocus), e.show !== this.props.show && (e.show ? this.handleDelayedShow() : this.handleDelayedHide()); }, }, { key: "componentDidMount", value: function () { (this._mountNode = document.createElement("div")), this.renderOverlay(), document.body.addEventListener("mouseUp", this.windowMouseUp); }, }, { key: "componentDidUpdate", value: function (e) { var t = e.disabled, n = this.props.disabled; !t && n && this.hide(), this.renderOverlay(); }, }, { key: "componentWillUnmount", value: function () { S.modalManager.removeFromModal(this._overlay), I.default.unmountComponentAtNode(this._mountNode), (this._mountNode = null), clearTimeout(this._hoverShowDelay), clearTimeout(this._hoverHideDelay), this.removeListenersFromScrollParents(), document.body.removeEventListener("mouseUp", this.windowMouseUp); }, }, { key: "handleToggle", value: function (e) { this.state.show ? this.hide(e) : this.show(e); }, }, { key: "handleDelayedShow", value: function (e) { var t = this; if (null != this._hoverHideDelay) return clearTimeout(this._hoverHideDelay), void (this._hoverHideDelay = null); if (!this.state.show && null == this._hoverShowDelay) { var n = null != this.props.delayShow ? this.props.delayShow : this.props.delay; n ? (this._hoverShowDelay = setTimeout(function () { (t._hoverShowDelay = null), t.show(e); }, n)) : this.show(e); } }, }, { key: "handleDelayedHide", value: function (e) { var n = this; if (null != this._hoverShowDelay) return clearTimeout(this._hoverShowDelay), void (this._hoverShowDelay = null); if (this.state.show && null == this._hoverHideDelay) { var r = (this.props.delayHide && this.props.delayHide !== t.defaultProps.delayHide) || null == this.props.delay ? this.props.delayHide : this.props.delay; r ? (this._hoverHideDelay = setTimeout(function () { (n._hoverHideDelay = null), n.hide(e); }, r)) : this.hide(e); } }, }, { key: "handleMouseOverOut", value: function (e, t) { var n = t.currentTarget, r = t.relatedTarget || t.nativeEvent.toElement; (r && (r === n || n.contains(r))) || e(t); }, }, { key: "show", value: function (e) { this.state.show || this.props.disabled || ((this._lastFocus = this.rememberedFocus()), this.listenToScrollParents(), this.setState({ show: !0 }), this.props.onShow && this.props.onShow(e)); }, }, { key: "listenToScrollParents", value: function () { this._scrollParents && this.removeListenersFromScrollParents(), (this._scrollParents = (function (e) { for (var t = []; e.parentNode; ) { var n = window.getComputedStyle(e); (/auto|scroll/.test(n.overflow + n.overflowY) || e.hasAttribute("data-scrollable")) && t.push(e), (e = e.parentNode); } return t; })(I.default.findDOMNode(this))); var e = !0, t = !1, n = void 0; try { for (var r, o = this._scrollParents[Symbol.iterator](); !(e = (r = o.next()).done); e = !0) r.value.addEventListener("scroll", this.hide, !1); } catch (e) { (t = !0), (n = e); } finally { try { e || null == o.return || o.return(); } finally { if (t) throw n; } } }, }, { key: "removeListenersFromScrollParents", value: function () { if (this._scrollParents) { var e = !0, t = !1, n = void 0; try { for (var r, o = this._scrollParents[Symbol.iterator](); !(e = (r = o.next()).done); e = !0) r.value.removeEventListener("scroll", this.hide, !1); } catch (e) { (t = !0), (n = e); } finally { try { e || null == o.return || o.return(); } finally { if (t) throw n; } } this._scrollParents = null; } }, }, { key: "hide", value: function (e) { this.removeListenersFromScrollParents(), this.state.show && (this.setState({ show: !1 }), this.props.onHide && this.props.onHide(e)); }, }, { key: "onKeyDown", value: function (e) { "ArrowDown" === e.key || "Down" === e.key ? (e.altKey || (this.dropdownRef && e.target === I.default.findDOMNode(this.dropdownRef.triggerRef))) && (e.preventDefault(), e.stopPropagation(), this.show(e)) : ("Enter" !== e.key && " " !== e.key) || (this.props.onClick && (e.preventDefault(), this.props.onClick(e))); }, }, { key: "onHide", value: function (e) { (N("longClick", this.props.trigger) && I.default.findDOMNode(this).contains(e.target)) || (void 0 === this.props.show ? this.hide(e) : this.props.onHide && this.props.onHide(e)); }, }, { key: "onExited", value: function (e) { this.restoreFocus(e), this.props.onExited && this.props.onExited(e); }, }, { key: "rememberedFocus", value: function () { return !this._lastFocus && document && document.activeElement !== document.body && (this._lastFocus = document.activeElement), this._lastFocus; }, }, { key: "restoreFocus", value: function (e) { var t; this._lastFocus && "function" == typeof this._lastFocus.focus && (document && (e && (t = I.default.findDOMNode(e)), ((t && (t === document.activeElement || t.contains(document.activeElement))) || document.activeElement === document.body || document.activeElement.contains(this._lastFocus)) && this._lastFocus.focus()), this.props.lastFocus || (this._lastFocus = null)); }, }, { key: "makeOverlay", value: function (e, t) { var n = this.props.target, r = void 0 === n ? this : n, o = t.rootClose, a = void 0 === o || o, i = (0, d.default)(t, ["rootClose"]); delete i.crossOffset, delete i.defaultShow, delete i.flip, delete i.boundariesElement, delete i.role; var s = F({ id: e.props.id || i.id }, t); return ( e.props.id || (i.id = this.overlayId), T.default.createElement(A.default, (0, u.default)({}, s, { show: this.state.show, onHide: this.onHide, onExited: this.onExited, target: r, rootClose: a }), (0, T.cloneElement)(e, i)) ); }, }, { key: "renderOverlay", value: function () { this._overlay.props.show && S.modalManager.addToModal(this._overlay, !0), I.default.unstable_renderSubtreeIntoContainer(this, this._overlay, this._mountNode); }, }, { key: "render", value: function () { var e = this.props, t = e.trigger, n = e.show, r = e.selected, o = void 0 === r ? this.state.show : r, a = (0, d.default)(e, ["trigger", "show", "selected"]); delete a.delay, delete a.delayShow, delete a.delayHide, delete a.defaultShow, delete a.onShow, delete a.onHide; var i = T.default.Children.toArray(this.props.children), s = (0, l.default)(i, 2), u = s[0], p = s[1], f = L((0, w.default)(a), ["target", "disabled"]), m = L( a, [].concat( (0, c.default)( Object.keys(f).filter(function (e) { return "onClick" !== e; }) ), ["children", "disabled"] ) ); return ( this.state.show && p.type && "tooltip" === p.props.role && (a.id || (a.id = p.props.id || this.overlayId), (f["aria-describedby"] = a.id)), void 0 === n && (N("click", t) && !N("longClick", t) && (f.onClick = (0, E.chain)(this.props.onClick, this.handleToggle)), N("longClick", t) && (delete f.onClick, delete m.onClick, (f.onMouseDown = this.onMouseDown), (f.onMouseUp = this.onMouseUp), (f.onKeyDown = this.onKeyDown)), N("hover", t) && ((f.onMouseOver = this.handleMouseOverOut.bind(this, this.handleDelayedShow)), (f.onMouseOut = this.handleMouseOverOut.bind(this, this.handleDelayedHide)), (m.onMouseOver = this.handleMouseOverOut.bind(this, this.handleDelayedShow)), (m.onMouseOut = this.handleMouseOverOut.bind(this, this.handleDelayedHide)), (m.trapFocus = !1)), N("focus", t) && ((f.onFocus = (0, E.chain)(u.props.onFocus, this.handleDelayedShow)), (f.onBlur = (0, E.chain)(u.props.onBlur, this.handleDelayedHide)), (m.onFocus = this.handleDelayedShow), (m.onBlur = this.handleDelayedHide), (m.trapFocus = !1))), "tooltip" !== p.props.role && (f.selected = o), this._overlay && S.modalManager.removeFromModal(this._overlay), (this._overlay = this.makeOverlay(p, m)), (0, T.cloneElement)(u, f) ); }, }, ]), t ); })(T.Component)), (0, g.default)( i, "propTypes", F({}, A.default.propTypes, { trigger: _.default.oneOfType([x, _.default.arrayOf(x)]), delay: _.default.number, delayShow: _.default.number, delayHide: _.default.number, defaultShow: _.default.bool, placement: _.default.string, onBlur: _.default.func, onClick: _.default.func, onFocus: _.default.func, onMouseOut: _.default.func, onMouseOver: _.default.func, onShow: _.default.func, onHide: _.default.func, show: _.default.bool, offset: _.default.number, crossOffset: _.default.number, flip: _.default.bool, disabled: _.default.bool, boundariesElement: _.default.oneOfType([_.default.func, _.default.string]), lastFocus: _.default.oneOfType([_.default.element, _.default.object]), }) ), (0, g.default)(i, "defaultProps", { defaultShow: !1, trigger: ["hover", "focus"], placement: "left", offset: 0, crossOffset: 0, flip: !0, delayHide: 100 }), (a = s)) ) || a) ) || a; function L(e, t) { var n = F({}, e); return ( t.forEach(function (e) { delete n[e]; }), n ); } t.default = R; }, 70946: (e, t, n) => { "use strict"; var r = n(86633), o = n(43061); Object.defineProperty(t, "__esModule", { value: !0 }), (t.default = void 0); var a, i, s, c = r(n(2001)), l = r(n(2400)), u = r(n(80034)), d = r(n(19854)), p = r(n(33470)), f = r(n(15270)), m = r(n(17555)), h = r(n(4837)), v = r(n(48252)), y = r(n(93353)), g = r(n(81994)), b = r(n(98606)), E = r(n(33295)), D = r(n(93411)), C = o(n(23469)), w = r(n(23613)); function S(e, t) { var n = Object.keys(e); if (Object.getOwnPropertySymbols) { var r = Object.getOwnPropertySymbols(e); t && (r = r.filter(function (t) { return Object.getOwnPropertyDescriptor(e, t).enumerable; })), n.push.apply(n, r); } return n; } function A(e) { for (var t = 1; t < arguments.length; t++) { var n = null != arguments[t] ? arguments[t] : {}; t % 2 ? S(Object(n), !0).forEach(function (t) { (0, m.default)(e, t, n[t]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : S(Object(n)).forEach(function (t) { Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t)); }); } return e; } var k = (0, g.default)( (a = (0, h.default)( ((s = i = (function (e) { function t(e, n) { var r; return ( (0, l.default)(this, t), ((r = (0, d.default)(this, (0, p.default)(t).call(this, e, n))).state = { positionLeft: 0, positionTop: 0, arrowOffsetLeft: null, arrowOffsetTop: null, placement: r.props.placement }), (r._needsFlush = !1), (r._lastTarget = null), r ); } return ( (0, f.default)(t, e), (0, u.default)(t, [ { key: "componentDidMount", value: function () { this.updatePosition(this.getTarget()), window.addEventListener("resize", this.maybeUpdatePosition, !1); }, }, { key: "UNSAFE_componentWillReceiveProps", value: function () { this._needsFlush = !0; }, }, { key: "componentDidUpdate", value: function (e) { this._needsFlush && ((this._needsFlush = !1), this.maybeUpdatePosition(this.props.placement !== e.placement)); }, }, { key: "componentWillUnmount", value: function () { window.removeEventListener("resize", this.maybeUpdatePosition, !1); }, }, { key: "render", value: function () { var e = this.props, t = e.children, n = e.className, r = (0, c.default)(e, ["children", "className"]), o = this.state, a = o.positionLeft, i = o.positionTop, s = o.maxHeight, l = o.arrowOffsetLeft, u = o.arrowOffsetTop, d = o.placement; delete r.target; var p = C.default.Children.only(t); return (0, C.cloneElement)( p, A({}, (0, b.default)(r), { placement: d, className: (0, y.default)(n, p.props.className), arrowStyle: { left: l, top: u }, style: A({}, p.props.style, { position: "absolute", zIndex: 1e5, left: a, top: i, maxHeight: s }), }) ); }, }, { key: "getTarget", value: function () { var e = this.props.target, t = "function" == typeof e ? e() : e; return (t && w.default.findDOMNode(t)) || null; }, }, { key: "maybeUpdatePosition", value: function (e) { var t = this.getTarget(); (this.props.shouldUpdatePosition || t !== this._lastTarget || e) && this.updatePosition(t); }, }, { key: "updatePosition", value: function (e) { var t = this.props, n = t.placement, r = t.containerPadding, o = t.offset, a = t.crossOffset, i = t.flip, s = t.boundariesElement; if (((this._lastTarget = e), e)) { var c = w.default.findDOMNode(this), l = (0, E.default)(this.props.container, (0, D.default)(this).body); this.setState((0, v.default)(n, c, e, l, r, i, s, o, a)); } else this.setState({ positionLeft: 0, positionTop: 0, arrowOffsetLeft: null, arrowOffsetTop: null }); }, }, ]), t ); })(C.default.Component)), (0, m.default)(i, "defaultProps", { containerPadding: 10, offset: 0, crossOffset: 0 }), (a = s)) ) || a) ) || a; t.default = k; }, 48252: (e, t, n) => { "use strict"; var r = n(86633); Object.defineProperty(t, "__esModule", { value: !0 }), (t.calculatePositionInternal = C), (t.default = function (e, t, n, r, o, c, l, u, d) { var p = "BODY" === r.tagName, f = p ? (0, i.default)(n) : (0, s.default)(n, r); p || ((f.top += parseInt((0, a.default)(n, "marginTop"), 10) || 0), (f.left += parseInt((0, a.default)(n, "marginLeft"), 10) || 0)); var m, h, v = (0, i.default)(t), g = ((m = t), (h = window.getComputedStyle(m)), { top: parseInt(h.marginTop, 10) || 0, bottom: parseInt(h.marginBottom, 10) || 0, left: parseInt(h.marginLeft, 10) || 0, right: parseInt(h.marginRight, 10) || 0 }); (v.width += g.left + g.right), (v.height += g.top + g.bottom); y(r); var b = "container" === l ? r : l(); return C(e, 0, f, v, g, o, c, y(b), "BODY" === b.tagName ? (0, i.default)(r) : (0, s.default)(r, b), u, d); }); var o = r(n(85199)), a = r(n(90638)), i = r(n(23274)), s = r(n(52788)), c = r(n(55878)), l = r(n(87792)), u = r(n(43291)), d = r(n(23613)), p = { top: "top", bottom: "top", left: "left", right: "left", center: "left" }, f = { top: "bottom", bottom: "top", left: "right", right: "left" }, m = { top: "left", left: "top" }, h = { top: "height", left: "width" }, v = {}; function y(e) { var t, n, r = 0, o = 0, a = {}, s = d.default.findDOMNode(e); if ("BODY" === s.tagName) (t = window.innerWidth), (n = window.innerHeight), (a.top = (0, l.default)((0, u.default)(s).documentElement) || (0, l.default)(s)), (a.left = (0, c.default)((0, u.default)(s).documentElement) || (0, c.default)(s)); else { var p = (0, i.default)(s); (t = p.width), (n = p.height), (r = p.top), (o = p.left), (a.top = (0, l.default)(s)), (a.left = (0, c.default)(s)); } return { width: t, height: n, scroll: a, top: r, left: o }; } function g(e, t, n, r, o) { var a = r.scroll[e], i = r[h[e]], s = t - o - a, c = t + o - a + n; return s < 0 ? -s : c > i ? Math.max(i - c, -s) : 0; } function b(e, t, n, r, o, a, i) { var s = a.scroll[e], c = a[h[e]], l = i[e] + t - r - s, u = i[e] + t + r - s + n; return (l < 0 && ("top" === o || "left" === o)) || (u > c && ("bottom" === o || "right" === o)); } function E(e) { if (v[e]) return v[e]; var t = e.split(" "), n = (0, o.default)(t, 2), r = n[0], a = n[1], i = p[r] || "right", s = m[i]; p[a] || (a = "center"); var c = h[i], l = h[s]; return (v[e] = { placement: r, crossPlacement: a, axis: i, crossAxis: s, size: c, crossSize: l }), v[e]; } function D(e, t, n, r, o, a) { var i = r.placement, s = r.crossPlacement, c = r.axis, l = r.crossAxis, u = r.size, d = r.crossSize, p = {}; if (((p[l] = e[l] + a), "center" === s ? (p[l] += (e[d] - n[d]) / 2) : s !== l && (p[l] += e[d] - n[d]), e[d] < n[d])) { var f = Math.min(p[l], e[l]); p[l] = Math.max(f, e[l] - n[d] + e[d]); } return (p[c] = i === c ? e[c] - n[u] + o : e[c] + e[u] + o), p; } function C(e, t, n, r, o, a, i, s, c, l, u) { var d = E(e), p = d, m = p.axis, h = p.size, v = p.crossAxis, y = p.crossSize, C = p.placement, w = p.crossPlacement, S = D(n, 0, r, d, l, u), A = l; if (i && b(m, S[m], r[h], a, C, s, c)) { var k = E("".concat(f[C], " ").concat(w)), _ = k.axis, T = k.size, I = D(n, 0, r, k, -1 * l, u); b(_, I[_], r[T], a, f[C], s, c) || ((d = k), (S = I), (A = -1 * l)); } var O = g(v, S[v], r[y], s, a); S[v] += O; var F = Math.max(0, s.height + s.top + s.scroll.top - c.top - S.top - o.top - o.bottom - a); (r.height = Math.min(r.height, F)), (O = O = g(v, (S = D(n, 0, r, d, A, u))[v], r[y], s, a)), (S[v] += O); var x = {}; return (x[v] = n[y] > r[y] ? null : n[v] - S[v] + n[y] / 2), { positionLeft: S.left, positionTop: S.top, maxHeight: F, arrowOffsetLeft: x.left, arrowOffsetTop: x.top, placement: d.placement }; } }, 35326: (e, t, n) => { e.exports = n(49671); }, 49671: (e, t, n) => { "use strict"; var r = n(86633), o = n(43061); Object.defineProperty(t, "__esModule", { value: !0 }), (t.default = void 0); var a, i, s, c = r(n(62665)), l = r(n(2001)), u = r(n(2400)), d = r(n(80034)), p = r(n(19854)), f = r(n(33470)), m = r(n(15270)), h = r(n(17555)), v = r(n(4837)), y = r(n(93353)), g = r(n(82463)), b = r(n(27644)), E = r(n(98606)), D = r(n(47776)), C = o(n(23469)), w = n(12555); n(28849), n(31853), n(59240), n(26705), n(49523); var S = (0, v.default)( ((s = i = (function (e) { function t(e, n) { var r; return (0, u.default)(this, t), ((r = (0, p.default)(this, (0, f.default)(t).call(this, e, n))).defaultId = (0, g.default)()), r; } return ( (0, m.default)(t, e), (0, d.default)(t, [ { key: "componentDidMount", value: function () { var e = this; this.props.trapFocus && (this._trapFocusTimeout = requestAnimationFrame(function () { e.popoverRef && !e.popoverRef.contains(document.activeElement) && e.popoverRef.focus(); })); }, }, { key: "componentWillUnmount", value: function () { this._trapFocusTimeout && cancelAnimationFrame(this._trapFocusTimeout); }, }, { key: "onFocus", value: function (e) { this.props.onFocus && this.props.onFocus(e), this.props.trapFocus && e.target === this.popoverRef && !this.popoverRef.contains(e.relatedTarget) && (0, w.trapFocus)(this, e); }, }, { key: "onKeyDown", value: function (e) { (this.props.onKeyDown && (this.props.onKeyDown(e), e.isPropagationStopped && e.isPropagationStopped())) || (this.props.trapFocus && (0, w.trapFocus)(this, e)); }, }, { key: "render", value: function () { var e, t = this, n = this.props, r = n.variant, o = n.placement, a = n.arrowStyle, i = n.open, s = n.title, u = n.children, d = n.className, p = n.isDialog, f = void 0 === p || p, m = n.trapFocus, v = n.tabIndex, g = void 0 === v ? null : v, D = n.id, w = void 0 === D ? this.defaultId : D, S = n["aria-label"], A = n["aria-labelledby"], k = n["aria-describedby"], _ = (0, l.default)(n, ["variant", "placement", "arrowStyle", "open", "title", "children", "className", "isDialog", "trapFocus", "tabIndex", "id", "aria-label", "aria-labelledby", "aria-describedby"]); delete _.target; var T = f ? C.default.createElement("div", { className: "spectrum-Dialog-content", role: "presentation", id: "".concat(w, "-content") }, u) : u; return C.default.createElement( "div", (0, c.default)( { ref: function (e) { return (t.popoverRef = e); }, className: (0, y.default)( "spectrum-Popover", "react-spectrum-Popover", "spectrum-Popover--".concat(o.split(" ")[0]), ((e = { "spectrum-Popover--withTip": f, "spectrum-Popover--dialog": f }), (0, h.default)(e, "spectrum-Dialog--".concat(r), f), (0, h.default)(e, "is-open", i), e), d ), role: f ? "dialog" : "presentation", id: w, "aria-label": S, "aria-labelledby": A || (f && s && !S ? "".concat(w, "-heading") : null), "aria-describedby": k || (f && s && u ? "".concat(w, "-content") : null), }, (0, E.default)(_), { onFocus: this.onFocus, onKeyDown: this.onKeyDown, tabIndex: m && null === g ? 1 : g } ), f && s && C.default.createElement(b.default, { id: "".concat(w, "-heading"), title: s, variant: r }), T, f && C.default.createElement("div", { className: "spectrum-Popover-tip", style: a, "aria-hidden": "true" }) ); }, }, ]), t ); })(C.Component)), (0, h.default)(i, "propTypes", { variant: D.default.oneOf(["default", "error"]), placement: D.default.oneOf(["bottom", "bottom left", "bottom right", "top", "top left", "top right", "left", "left top", "left bottom", "right", "right top", "right bottom"]), open: D.default.bool, title: D.default.node, className: D.default.string, trapFocus: D.default.bool, }), (0, h.default)(i, "defaultProps", { variant: "default", placement: "bottom", open: !0, trapFocus: !0 }), (a = s)) ) || a; (t.default = S), (S.displayName = "Popover"); }, 23257: (e, t, n) => { e.exports = n(56191); }, 56191: (e, t, n) => { "use strict"; var r = n(86633); Object.defineProperty(t, "__esModule", { value: !0 }), (t.default = void 0); var o = r(n(2400)), a = r(n(80034)), i = (r(n(23469)), r(n(23613))), s = {}, c = (function () { function e() { (0, o.default)(this, e); } return ( (0, a.default)(e, null, [ { key: "add", value: function (e, t) { var n = s[e.key] || document.createElement("div"); t ? i.default.unstable_renderSubtreeIntoContainer(t, e, n) : i.default.render(e, n), (s[e.key] = n); }, }, { key: "remove", value: function (e) { i.default.unmountComponentAtNode(s[e.key]), delete s[e.key]; }, }, { key: "removeAll", value: function () { for (var e in s) s.hasOwnProperty(e) && (i.default.unmountComponentAtNode(s[e]), delete s[e]); }, }, ]), e ); })(); t.default = c; }, 80410: (e, t, n) => { e.exports = n(90089); }, 90089: (e, t, n) => { "use strict"; var r = n(86633); Object.defineProperty(t, "__esModule", { value: !0 }), (t.default = u); var o = r(n(62665)), a = r(n(2001)), i = r(n(93353)), s = r(n(98606)), c = r(n(47776)), l = r(n(23469)); function u(e) { var t = e.className, n = e.variant, r = void 0 === n ? "large" : n, c = (0, a.default)(e, ["className", "variant"]); return l.default.createElement("hr", (0, o.default)({}, (0, s.default)(c), { className: (0, i.default)("spectrum-Rule", "spectrum-Rule--".concat(r), t) })); } n(3419), n(60497), (u.propTypes = { variant: c.default.oneOf(["large", "medium", "small"]) }); }, 6750: (e, t, n) => { e.exports = n(3848); }, 3848: (e, t, n) => { "use strict"; var r = n(86633), o = n(43061); Object.defineProperty(t, "__esModule", { value: !0 }), (t.default = void 0); var a, i, s, c = r(n(62665)), l = r(n(2001)), u = r(n(2400)), d = r(n(80034)), p = r(n(19854)), f = r(n(33470)), m = r(n(15270)), h = r(n(17555)), v = r(n(4837)), y = r(n(93353)), g = r(n(98606)), b = r(n(47776)), E = o(n(23469)), D = r(n(23613)); n(32674), n(86072); var C = (0, v.default)( ((s = i = (function (e) { function t() { return (0, u.default)(this, t), (0, p.default)(this, (0, f.default)(t).apply(this, arguments)); } return ( (0, m.default)(t, e), (0, d.default)(t, [ { key: "componentDidMount", value: function () { var e = this; this.props.autoFocus && requestAnimationFrame(function () { return e.focus(); }); }, }, { key: "focus", value: function () { this.props.disabled || D.default.findDOMNode(this).focus(); }, }, { key: "onChange", value: function (e) { this.props.onChange && this.props.onChange(e.target.value, e); }, }, { key: "render", value: function () { var e = this.props, t = e.className, n = e.quiet, r = e.disabled, o = e.required, a = e.invalid, i = e.readOnly, s = e.multiLine, u = e.validationState, d = (0, l.default)(e, ["className", "quiet", "disabled", "required", "invalid", "readOnly", "multiLine", "validationState"]), p = s ? "textarea" : "input", f = a || "invalid" === u; return ( delete d.autoFocus, delete d.autocompleteInput, a && console.warn('The "invalid" prop of Textfield is deprecated. Please use validationState="invalid" instead.'), E.default.createElement( p, (0, c.default)( { type: "text", className: (0, y.default)("spectrum-Textfield", { "spectrum-Textfield--multiline": s, "is-invalid": f, "is-valid": "valid" === u, "spectrum-Textfield--quiet": n }, t), disabled: r, required: o, readOnly: i, "aria-invalid": f || null, defaultValue: d.defaultValue, }, (0, g.default)(d), { onChange: this.onChange, rows: s && !n ? d.rows : 1 } ) ) ); }, }, ]), t ); })(E.Component)), (0, h.default)(i, "propTypes", { autoFocus: b.default.bool, className: b.default.string, disabled: b.default.bool, invalid: b.default.bool, multiLine: b.default.bool, onBlur: b.default.func, onChange: b.default.func, onFocus: b.default.func, placeholder: b.default.string, quiet: b.default.bool, readOnly: b.default.bool, required: b.default.bool, validationState: b.default.oneOf(["valid", "invalid"]), }), (0, h.default)(i, "defaultProps", { autoFocus: !1, disabled: !1, quiet: !1, required: !1, invalid: !1, readOnly: !1 }), (a = s)) ) || a; (t.default = C), (C.displayName = "Textfield"); }, 68173: (e, t, n) => { e.exports = n(41827); }, 41827: (e, t, n) => { "use strict"; var r = n(43061), o = n(86633); Object.defineProperty(t, "__esModule", { value: !0 }), (t.default = void 0); var a = o(n(62665)), i = o(n(2001)), s = o(n(2400)), c = o(n(80034)), l = o(n(19854)), u = o(n(33470)), d = o(n(15270)), p = o(n(17555)), f = o(n(93353)), m = o(n(82463)), h = o(n(98606)), v = o(n(47776)), y = r(n(23469)); n(89645), n(81500); var g = (function (e) { function t(e, n) { var r; return (0, s.default)(this, t), ((r = (0, l.default)(this, (0, u.default)(t).call(this, e, n))).tooltipId = (0, m.default)()), r; } return ( (0, d.default)(t, e), (0, c.default)(t, [ { key: "render", value: function () { var e = this.props, t = e.variant, n = e.children, r = e.arrowStyle, o = e.className, s = e.placement, c = e.open, l = e.id, u = void 0 === l ? this.tooltipId : l, d = (0, i.default)(e, ["variant", "children", "arrowStyle", "className", "placement", "open", "id"]); return y.default.createElement( "span", (0, a.default)({ className: (0, f.default)("spectrum-Tooltip", "spectrum-Tooltip--".concat(t), "spectrum-Tooltip--".concat(s.split(" ")[0]), { "is-open": c }, o), id: u }, (0, h.default)(d)), y.default.createElement("span", { className: "spectrum-Tooltip-label" }, n), y.default.createElement("span", { className: "spectrum-Tooltip-tip", style: r }) ); }, }, ]), t ); })(y.Component); (t.default = g), (0, p.default)(g, "propTypes", { placement: v.default.oneOf(["bottom", "top", "left", "right"]), variant: v.default.oneOf(["inspect", "info", "success", "error"]), className: v.default.string, id: v.default.string, role: v.default.oneOf(["tooltip"]), open: v.default.bool, }), (0, p.default)(g, "defaultProps", { variant: "inspect", placement: "right", open: !0, role: "tooltip" }); }, 90710: (e, t, n) => { e.exports = n(69501); }, 69501: (e, t, n) => { "use strict"; var r = n(86633); t.default = void 0; var o, a, i, s = r(n(2400)), c = r(n(80034)), l = r(n(19854)), u = r(n(33470)), d = r(n(15270)), p = r(n(17555)), f = r(n(86633)), m = r(n(4837)), h = n(78742), v = n(79370), y = r(n(47776)), g = r(n(23469)), b = { "cs-CZ": (0, f.default)(n(55326)).default, "da-DK": (0, f.default)(n(15971)).default, "de-DE": (0, f.default)(n(87113)).default, "en-US": (0, f.default)(n(78894)).default, "es-ES": (0, f.default)(n(36167)).default, "fi-FI": (0, f.default)(n(52871)).default, "fr-FR": (0, f.default)(n(70182)).default, "hu-HU": (0, f.default)(n(44126)).default, "it-IT": (0, f.default)(n(91424)).default, "ja-JP": (0, f.default)(n(11161)).default, "ko-KR": (0, f.default)(n(61864)).default, "nb-NO": (0, f.default)(n(29215)).default, "nl-NL": (0, f.default)(n(40360)).default, "pl-PL": (0, f.default)(n(7338)).default, "pt-BR": (0, f.default)(n(93232)).default, "ru-RU": (0, f.default)(n(72316)).default, "sv-SE": (0, f.default)(n(43985)).default, "tr-TR": (0, f.default)(n(88779)).default, "uk-UA": (0, f.default)(n(14774)).default, "zh-CN": (0, f.default)(n(83414)).default, "zh-TW": (0, f.default)(n(47032)).default, }, E = (0, v.messageFormatter)(b), D = (0, m.default)( ((i = a = (function (e) { function t(e) { var n; return (0, s.default)(this, t), ((n = (0, l.default)(this, (0, u.default)(t).call(this, e))).state = { current: 0, total: 0, hidden: !1 }), n; } return ( (0, d.default)(t, e), (0, c.default)(t, [ { key: "componentDidMount", value: function () { this.props.children && this.setState({ total: g.default.Children.count(this.props.children) }); }, }, { key: "onConfirm", value: function () { this.state.current === this.state.total - 1 ? (this.setState({ hidden: !0 }), this.props.onTourEnd && this.props.onTourEnd("complete")) : this.setState({ current: this.state.current + 1 }); }, }, { key: "onCancel", value: function () { this.setState({ current: 0, hidden: !0 }), this.props.onTourEnd && this.props.onTourEnd("cancel"); }, }, { key: "onHide", value: function (e, t) { "next" === this.props.clickOutsideAction ? (0, h.chain)(this.onConfirm, t.props.onConfirm)(e) : "skip" === this.props.clickOutsideAction && (0, h.chain)(this.onCancel, t.props.onCancel)(e); }, }, { key: "render", value: function () { var e = this, t = this.props, n = t.children, r = t.disableProgress, o = t.clickOutsideAction, a = this.state, i = a.current, s = a.total, c = a.hidden; if (!n || g.default.Children.count(n) <= this.state.current) throw new Error("Tour should always have children!"); if (c) return null; var l = g.default.Children.toArray(this.props.children)[i]; return g.default.cloneElement(l, { disableProgress: r, currentStep: i + 1, totalSteps: s, dismissible: "skip" === o || "next" === o || void 0, onConfirm: (0, h.chain)(this.onConfirm, l.props.onConfirm), onCancel: (0, h.chain)(this.onCancel, l.props.onCancel), onHide: function (t) { return e.onHide(t, l); }, confirmLabel: l.props.confirmLabel || E(i < s - 1 ? "next" : "done"), cancelLabel: l.props.cancelLabel || (i < s - 1 ? E("skip") : null), }); }, }, ]), t ); })(g.default.Component)), (0, p.default)(a, "propTypes", { disableProgress: y.default.bool, clickOutsideAction: y.default.oneOf(["next", "skip", "noop"]), onTourEnd: y.default.func }), (0, p.default)(a, "defaultProps", { disableProgress: !1, clickOutsideAction: "noop" }), (o = i)) ) || o; t.default = D; }, 12555: (e, t, n) => { "use strict"; var r = n(86633); Object.defineProperty(t, "__esModule", { value: !0 }), (t.trapFocus = function (e, t) { var n, r, o, a, i, s = t.type, c = t.key, l = t.shiftKey, u = t.target; ("keydown" !== s && "focus" !== s) || ((n = g.default.findDOMNode(e)) && ((a = (r = Array.from(n.querySelectorAll(A)).filter(function (e) { return e !== n; }))[0] || n), (i = r[r.length - 1] || n))), "keydown" === s && "Tab" === c ? n && (l ? (u !== a && u !== n) || (o = i) : (u !== i && u !== n) || (o = a)) : "focus" === s && u === n && (o = a), o && (t.preventDefault(), t.stopPropagation(), o !== document.activeElement && o.focus()); }), (t.TABBABLE_ELEMENT_SELECTOR = t.FOCUSABLE_ELEMENT_SELECTOR = t.default = void 0); var o, a, i, s = r(n(2400)), c = r(n(80034)), l = r(n(19854)), u = r(n(33470)), d = r(n(23170)), p = r(n(15270)), f = r(n(17555)), m = r(n(4837)), h = n(78742), v = r(n(47776)), y = r(n(23469)), g = r(n(23613)), b = n(82453), E = r(n(91641)), D = /[\n\r]+|[\s]{1,}/g, C = (0, m.default)( ((i = a = (function (e) { function t() { var e, n; (0, s.default)(this, t); for (var r = arguments.length, o = new Array(r), a = 0; a < r; a++) o[a] = arguments[a]; return (n = (0, l.default)(this, (e = (0, u.default)(t)).call.apply(e, [this].concat(o)))), (0, f.default)((0, d.default)(n), "keysSoFar", ""), (0, f.default)((0, d.default)(n), "keyClearTimeout", null), n; } return ( (0, p.default)(t, e), (0, c.default)(t, [ { key: "getItems", value: function () { var e = arguments.length > 0 && void 0 !== arguments[0] && arguments[0], t = this.props, n = t.itemSelector, r = t.selectedItemSelector, o = t.includeSelf, a = e && r ? r : n, i = g.default.findDOMNode(this), s = []; return o && i.matches(a) && s.push(i), s.concat(Array.from(i.querySelectorAll(a))); }, }, { key: "onFocusFirst", value: function (e) { var t = this.getItems(); !t.length || (e && -1 === t.indexOf(e.target)) || (e && e.preventDefault(), t[0].focus()); }, }, { key: "onFocusLast", value: function (e) { var t = this.getItems(); !t.length || (e && -1 === t.indexOf(e.target)) || (e && e.preventDefault(), t[t.length - 1].focus()); }, }, { key: "onFocusPrevious", value: function (e) { var t = this.getItems(); if (t.length && e && -1 !== t.indexOf(e.target)) { e.preventDefault(); var n = t.indexOf(e.target), r = n - 1; r < 0 && (r = this.props.loopFocusAtEdges ? t.length - 1 : n), t[r].focus(); } }, }, { key: "onFocusNext", value: function (e) { var t = this.getItems(); if (t.length && e && -1 !== t.indexOf(e.target)) { e.preventDefault(); var n = t.indexOf(e.target), r = n + 1; r >= t.length && (r = this.props.loopFocusAtEdges ? 0 : n), t[r].focus(); } }, }, { key: "onPageUp", value: function (e) { if (!this.props.ignorePageUpPageDown) { var t = this.getItems(); if (t.length && e && -1 !== t.indexOf(e.target)) { e.preventDefault(); var n = g.default.findDOMNode(this), r = Math.max(e.target.offsetTop + e.target.offsetHeight - n.clientHeight, 0), o = t.indexOf(e.target), a = t .slice(0, o) .reverse() .find(function (e) { return e.offsetTop < r; }); a ? (a.focus(), (0, E.default)(a, n, !0)) : this.onFocusFirst(e); } } }, }, { key: "onPageDown", value: function (e) { if (!this.props.ignorePageUpPageDown) { var t = this.getItems(); if (t.length && e && -1 !== t.indexOf(e.target)) { e.preventDefault(); var n = g.default.findDOMNode(this), r = Math.min(e.target.offsetTop + n.clientHeight, n.scrollHeight + n.clientHeight), o = t.indexOf(e.target) + 1, a = t.slice(o).find(function (e) { return e.offsetTop + e.offsetHeight > r; }); a ? (a.focus(), (0, E.default)(a, n, !0)) : this.onFocusLast(e); } } }, }, { key: "findItemToFocus", value: function (e) { var t = e.target, n = e.shiftKey, r = e.charCode, o = (0, b.removeDiacritics)(String.fromCharCode(r)).toUpperCase(), a = this.getItems(); ("" === this.keysSoFar || o === this.keysSoFar || n) && (n && (a = a.reverse()), (this.searchIndex = a.indexOf(t))), o !== this.keysSoFar && (this.keysSoFar += o), this.clearKeysSoFarAfterDelay(); var i = this.findMatchInRange(a, this.searchIndex + 1, a.length); i || (i = this.findMatchInRange(a, 0, this.searchIndex)), i && i.focus(); }, }, { key: "clearKeysSoFarAfterDelay", value: function () { var e = this; this.keyClearTimeout && clearTimeout(this.keyClearTimeout), (this.keyClearTimeout = setTimeout(function () { return (e.keysSoFar = ""); }, 500)); }, }, { key: "findMatchInRange", value: function (e, t, n) { for (var r = t; r < n; r++) { var o = e[r].innerText || e[r].textContent; if (o && 0 === (0, b.removeDiacritics)(o).replace(D, "").toUpperCase().indexOf(this.keysSoFar)) return e[r]; } return null; }, }, { key: "onKeyDown", value: function (e) { e.isPropagationStopped() || h.interpretKeyboardEvent.call(this, e, this.props.orientation); }, }, { key: "onKeyPress", value: function (e) { e.isPropagationStopped() || this.findItemToFocus(e); }, }, { key: "onFocus", value: function (e) { e.isPropagationStopped() || this.getItems().forEach(function (t) { return (t.tabIndex = t === e.target ? 0 : -1); }); }, }, { key: "onBlur", value: function (e) { if (!e.isPropagationStopped()) { var t = this.getItems(!0); if (t.length) { var n = -1 !== t.indexOf(e.target); this.getItems().forEach(function (r) { var o = -1 !== t.indexOf(r); r.tabIndex = (r === e.target && n) || (!n && o) ? 0 : -1; }); } } }, }, { key: "componentDidMount", value: function () { var e = this, t = this.props, n = t.autoFocus, r = t.selectedItemSelector; if (n) { var o = r ? g.default.findDOMNode(this).querySelector(r) : null; this.focusTimer = setTimeout(function () { o ? o.focus() : e.onFocusFirst(); }, 20); } }, }, { key: "componentWillUnmount", value: function () { clearTimeout(this.focusTimer); }, }, { key: "render", value: function () { var e = this.props, t = e.children, n = e.disabled, r = e.manageTabIndex, o = e.typeToSelect, a = y.default.Children.only(t), i = a.props, s = i.onKeyDown, c = i.onKeyPress, l = i.onFocus, u = i.onBlur; return y.default.cloneElement(a, { onKeyDown: n ? s : (0, h.chain)(s, this.onKeyDown), onKeyPress: o && !n ? (0, h.chain)(c, this.onKeyPress) : c, onFocus: r && !n ? (0, h.chain)(l, this.onFocus) : l, onBlur: r && !n ? (0, h.chain)(u, this.onBlur) : u, }); }, }, ]), t ); })(y.default.Component)), (0, f.default)(a, "propTypes", { itemSelector: v.default.string.isRequired, manageTabIndex: v.default.bool, orientation: v.default.oneOf(["horizontal", "vertical", "both"]), selectedItemSelector: v.default.string, disabled: v.default.bool, typeToSelect: v.default.bool, includeSelf: v.default.bool, ignorePageUpPageDown: v.default.bool, autoFocus: v.default.bool, loopFocusAtEdges: v.default.bool, }), (0, f.default)(a, "defaultProps", { manageTabIndex: !0, orientation: "vertical", typeToSelect: !1, includeSelf: !1, ignorePageUpPageDown: !1, loopFocusAtEdges: !0 }), (o = i)) ) || o; t.default = C; var w = [ "input:not([disabled]):not([type=hidden])", "select:not([disabled])", "textarea:not([disabled])", "button:not([disabled])", "a[href]", "area[href]", "summary", "iframe", "object", "embed", "audio[controls]", "video[controls]", "[contenteditable]", ], S = w.join(",") + ",[tabindex]"; (t.FOCUSABLE_ELEMENT_SELECTOR = S), w.push('[tabindex]:not([tabindex="-1"])'); var A = w.join(':not([tabindex="-1"]),'); t.TABBABLE_ELEMENT_SELECTOR = A; }, 51113: (e, t, n) => { "use strict"; var r = n(86633); Object.defineProperty(t, "__esModule", { value: !0 }), (t.default = function (e) { return a.default.createElement(i.default, (0, o.default)({ timeout: { enter: 0, exit: 125 } }, e), function (t) { return a.default.cloneElement(e.children, { open: !!s[t] }); }); }); var o = r(n(62665)), a = r(n(23469)), i = r(n(30980)), s = { entering: !1, entered: !0 }; }, 81994: (e, t, n) => { "use strict"; var r = n(86633); Object.defineProperty(t, "__esModule", { value: !0 }), (t.default = function (e) { var t = e.prototype, n = t.UNSAFE_componentWillUpdate, r = t.UNSAFE_componentWillMount, i = t.UNSAFE_componentWillReceiveProps; -1 === (0, o.default)(a.default.version, "16.3.0") && (n && (t.componentWillUpdate = function (e, t) { n.apply(this, arguments); }), r && (t.componentWillMount = function () { r.apply(this, arguments); }), i && (t.componentWillReceiveProps = function (e) { i.apply(this, arguments); })); }); var o = r(n(64212)), a = r(n(23469)); }, 82463: (e, t) => { "use strict"; Object.defineProperty(t, "__esModule", { value: !0 }), (t.default = void 0); var n = 0; t.default = function () { return "react-spectrum-" + ++n; }; }, 78742: (e, t) => { "use strict"; Object.defineProperty(t, "__esModule", { value: !0 }), (t.interpretKeyboardEvent = function (e) { var t = arguments.length > 1 && void 0 !== arguments[1] ? arguments[1] : "vertical"; switch (e.key) { case "Enter": case " ": this.onSelectFocused && this.onSelectFocused(e); break; case "Tab": this.onTab && this.onTab(e); break; case "PageUp": this.onPageUp ? this.onPageUp(e) : this.onFocusFirst && this.onFocusFirst(e); break; case "PageDown": this.onPageDown ? this.onPageDown(e) : this.onFocusLast && this.onFocusLast(e); break; case "Home": this.onFocusFirst && this.onFocusFirst(e); break; case "End": this.onFocusLast && this.onFocusLast(e); break; case "ArrowUp": case "Up": e.altKey && this.onAltArrowUp ? this.onAltArrowUp(e) : "horizontal" !== t && this.onFocusPrevious && this.onFocusPrevious(e); break; case "ArrowDown": case "Down": e.altKey && this.onAltArrowDown ? this.onAltArrowDown(e) : "horizontal" !== t && this.onFocusNext && this.onFocusNext(e); break; case "ArrowLeft": case "Left": "vertical" !== t && this.onFocusPrevious && this.onFocusPrevious(e); break; case "ArrowRight": case "Right": "vertical" !== t && this.onFocusNext && this.onFocusNext(e); break; case "Escape": case "Esc": this.onEscape && this.onEscape(e); } }), (t.chain = function () { for (var e = arguments.length, t = new Array(e), n = 0; n < e; n++) t[n] = arguments[n]; return function () { var e = !0, n = !1, r = void 0; try { for (var o, a = t[Symbol.iterator](); !(e = (o = a.next()).done); e = !0) { var i = o.value; "function" == typeof i && i.apply(void 0, arguments); } } catch (e) { (n = !0), (r = e); } finally { try { e || null == a.return || a.return(); } finally { if (n) throw r; } } }; }), (t.focusAfterMouseEvent = function (e, t) { document ? (e && (e.call(this, t), t.isDefaultPrevented()) ? (n = "mousedown" === t.type) : (n || "function" != typeof this.focus || this.focus(), "mouseup" === t.type && (n = !1))) : e && e.call(this, t); }); var n = !1; }, 98606: (e, t) => { "use strict"; Object.defineProperty(t, "__esModule", { value: !0 }), (t.default = function (e) { var t = {}; for (var o in e) e.hasOwnProperty(o) && (n[o] || r.test(o)) && (t[o] = e[o]); return t; }); var n = { abbr: 1, accept: 1, acceptCharset: 1, accessKey: 1, action: 1, allowFullScreen: 1, allowTransparency: 1, alt: 1, async: 1, autoCapitalize: 1, autoComplete: 1, autoCorrect: 1, autoFocus: 1, autoPlay: 1, cellPadding: 1, cellSpacing: 1, challenge: 1, charset: 1, checked: 1, cite: 1, class: 1, className: 1, cols: 1, colSpan: 1, command: 1, content: 1, contentEditable: 1, contextMenu: 1, controls: 1, coords: 1, crossOrigin: 1, data: 1, dateTime: 1, default: 1, defer: 1, dir: 1, disabled: 1, download: 1, draggable: 1, dropzone: 1, encType: 1, for: 1, form: 1, formAction: 1, formEncType: 1, formMethod: 1, formNoValidate: 1, formTarget: 1, frameBorder: 1, headers: 1, height: 1, hidden: 1, high: 1, href: 1, hrefLang: 1, htmlFor: 1, httpEquiv: 1, icon: 1, id: 1, inputMode: 1, isMap: 1, itemId: 1, itemProp: 1, itemRef: 1, itemScope: 1, itemType: 1, kind: 1, label: 1, lang: 1, list: 1, loop: 1, manifest: 1, max: 1, maxLength: 1, media: 1, mediaGroup: 1, method: 1, min: 1, minLength: 1, multiple: 1, muted: 1, name: 1, noValidate: 1, open: 1, optimum: 1, pattern: 1, ping: 1, placeholder: 1, poster: 1, preload: 1, radioGroup: 1, readOnly: 1, rel: 1, required: 1, role: 1, rows: 1, rowSpan: 1, sandbox: 1, scope: 1, scoped: 1, scrolling: 1, seamless: 1, selected: 1, shape: 1, size: 1, sizes: 1, sortable: 1, span: 1, spellCheck: 1, src: 1, srcDoc: 1, srcSet: 1, start: 1, step: 1, style: 1, tabIndex: 1, target: 1, title: 1, translate: 1, type: 1, typeMustMatch: 1, useMap: 1, value: 1, width: 1, wmode: 1, wrap: 1, onCopy: 1, onCut: 1, onPaste: 1, onLoad: 1, onError: 1, onWheel: 1, onScroll: 1, onCompositionEnd: 1, onCompositionStart: 1, onCompositionUpdate: 1, onKeyDown: 1, onKeyPress: 1, onKeyUp: 1, onFocus: 1, onBlur: 1, onChange: 1, onInput: 1, onSubmit: 1, onClick: 1, onContextMenu: 1, onDoubleClick: 1, onDrag: 1, onDragEnd: 1, onDragEnter: 1, onDragExit: 1, onDragLeave: 1, onDragOver: 1, onDragStart: 1, onDrop: 1, onMouseDown: 1, onMouseEnter: 1, onMouseLeave: 1, onMouseMove: 1, onMouseOut: 1, onMouseOver: 1, onMouseUp: 1, onSelect: 1, onTouchCancel: 1, onTouchEnd: 1, onTouchMove: 1, onTouchStart: 1, onAnimationStart: 1, onAnimationEnd: 1, onAnimationIteration: 1, onTransitionEnd: 1, }, r = /^((data|aria)-.*)$/; }, 79370: (e, t, n) => { "use strict"; var r = n(86633); Object.defineProperty(t, "__esModule", { value: !0 }), (t.setLocale = function (e) { i = e; }), (t.getLocale = function () { return i; }), (t.messageFormatter = function (e) { var t = {}; return function (n, r, a) { var s = t[n + "." + i]; if (!s) { var c = (e[i] || e["en-US"])[n]; if (!c) throw new Error("Could not find intl message ".concat(n, " in ").concat(i, " locale")); (s = new o.default(c, i, a)), (t[n] = s); } return s.format(r); }; }), (t.defaultLocale = void 0); var o = r(n(9087)), a = ("undefined" != typeof navigator && (navigator.language || navigator.userLanguage)) || "en-US"; t.defaultLocale = a; var i = a; }, 91641: (e, t) => { "use strict"; Object.defineProperty(t, "__esModule", { value: !0 }), (t.default = void 0), (t.default = function (e, t, n) { if (t && t.contains(e)) { var r = t.clientHeight, o = t.clientWidth, a = t.scrollTop, i = t.scrollLeft, s = e.offsetHeight, c = e.offsetWidth, l = e.offsetTop, u = e.offsetLeft, d = window.getComputedStyle(t).position, p = t.offsetTop, f = t.offsetLeft; if (("static" !== d && (p = f = 0), l < a)) t.scrollTop = l; else { var m = l + s; m > a + r && (t.scrollTop = n ? l - p : m - r - p); } if (u < i) t.scrollLeft = u; else { var h = u + c; h > i + o && (t.scrollLeft = n ? u - f : h - o - f); } } }); }, 82453: (e, t) => { "use strict"; function n() { var e = arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : "", t = arguments.length > 1 && void 0 !== arguments[1] ? arguments[1] : "NFC"; return "normalize" in String.prototype && (e = e.normalize(t)), e; } Object.defineProperty(t, "__esModule", { value: !0 }), (t.isUrl = function (e) { return e && !!e.match(/\/|:|\./g); }), (t.normalize = n), (t.removeDiacritics = function () { return n(arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : "", (arguments.length > 1 && void 0 !== arguments[1] ? arguments[1] : "NFD").replace("C", "D")).replace(/[\u0300-\u036f]/g, ""); }), (t.getTextFromReact = function (e) { var t = ""; return ( (function e(n) { if ("string" == typeof n || "number" == typeof n) t = "".concat(t, " ").concat(n); else if (Array.isArray(n)) n.forEach(function (t) { return e(t); }); else if (n && n.props) { var r = n.props.children; Array.isArray(r) ? r.forEach(function (t) { return e(t); }) : e(r); } })(e), t.trim().replace(/(\s)(?:\s+)/g, "$1") ); }); }, 43793: (e, t, n) => { const r = n(41644); t.J = r._sophia; }, 41644: (e, t) => { const n = window._sophia || (function (e) { const t = "[Sophia]", r = function () {}, o = { stage: "https://p13n-mr-stage.adobe.io", prod: "https://p13n-mr.adobe.io" }, a = { ActionId: "", CampaignId: "", ContainerId: "", ControlGroupId: "", TreatmentId: "", VariationId: "", CardId: "", SurfaceId: "" }, i = "response", s = "headers", c = "doesResponseExist", l = "status"; var u, d = [], p = function (e, t) { var r, o, a = document.querySelectorAll(t), i = ((r = e), ((o = document.createElement("html")).innerHTML = r), o); i && (h.log("Found target..", i), Object.keys(a).forEach(function (e) { if ((h.log("replacing the content on page for classIdentifier :", t), void 0 === n.conf.targetSelector || "" === n.conf.targetSelector)) a[e].innerHTML = i.innerHTML; else { var r = i.querySelectorAll(n.conf.targetSelector); r && r.length > 0 && (a[e].innerHTML = r[0].innerHTML); } })), (n.endTime = performance.now()), h.log("Total time taken for fetching experience from Sophia and replacing XF: ", n.endTime - n.startTime, " milliseconds."), document.body.dispatchEvent(new CustomEvent(n.events.EVENT_XF_RENDER_FINISH, { bubbles: !0, cancelable: !0, detail: { targetSelector: t } })); }, f = function (e) { h.log("Got response from Sophia:: ", e.responseText); var t = e[i]; if (e[c]) { var r = t.surfaces[n.conf.surfaceID].containers; r.forEach(function (e, o) { "head" === e.containerLabel ? (function (e, t) { if ((h.log("Head card", e), e.data)) { var n = document.getElementsByTagName("head")[0], r = document.createElement("script"); (r.type = "text/javascript"), "URL" === e.dataType ? (r.src = e.data) : (r.text = e.data), n.appendChild(r); } })(e, e.containerId) : (function (e, t) { let r = "", o = ""; o = void 0 === n.conf.sourceSelector || "" === n.conf.sourceSelector ? `.${n.conf.surfaceID}_${e.containerId}` : n.conf.sourceSelector; var a = document.querySelectorAll(o); a && a.length > 0 && (h.log("Found source..", a), "URL" === e.dataType ? fetch(e.data) .then((e) => e.text()) .then((e) => { p(e, o); }) : p(e.data, o), (r = o)), (function (e, t, r) { var o = {}; (o.ActionId = e.actionBlockId), (o.CampaignId = e.campaignId), (o.ContainerId = e.containerId), (o.ControlGroupId = e.controlGroupId), (o.TreatmentId = e.treatmentId), (o.VariationId = e.variationId), (o.CardId = r), (o.SurfaceId = n.conf.surfaceID), (o.event = "render"), n.conf.nonGuidEnabled && (o.sophiaUUID = t), d.push(o); })(e.containerAnalyticsData, t, r); })(r[o], t.analyticsData.responseGUID); }), n.conf.enableAdobeAnalyticsIngestion && (window.digitalData && window._satellite ? ((window.digitalData.sophiaResponse = { fromPage: d }), window._satellite.track("state", { digitalData: window.digitalData._snapshot() }), window.digitalData._delete("digitalData.sophiaResponse")) : h.error("Launch not ready : Unable to send Analytics")), document.body.dispatchEvent(new CustomEvent(n.events.EVENT_SOPHIA_RENDER_FINISHED, { bubbles: !0, cancelable: !0, detail: { sophiaResponse: d } })); } }, m = function (e) { let t = document.cookie.split("; ").find((t) => t.startsWith(e)); return void 0 === t ? "" : t.split("=")[1]; }, h = ((u = { log: r, error: r }), window.console && window.console.log && window.console.error && ((u.error = function () { window.console.error.apply(window.console, [].concat.apply([t], arguments)); }), e.debug && (u.log = function () { window.console.log.apply(window.console, [].concat.apply([t], arguments)); })), u); return { conf: e, loadExperienceFromSophia: function (t) { return ( h.log("in loadexperincefromSophia"), document.body.dispatchEvent(new CustomEvent(n.events.EVENT_SOPHIA_RENDER_STARTED, { bubbles: !0, cancelable: !0 })), (n.startTime = performance.now()), (this.result = { doesResponseExist: !1 }), (this.conf = Object.assign({}, e)), (this.conf = Object.assign(this.conf, t || {})), (function () { h.log("Config: ", n.conf); var e = o[n.conf.env] + "/psdk/v2/content", t = Object.assign({ surfaceId: n.conf.surfaceID, clientCode: n.conf.clientCode }, n.conf.contextualParams), r = (t = Object.entries(t).map(function (e) { return encodeURIComponent(e[0]) + "=" + encodeURIComponent(e[1]); })).join("&"), u = [ { key: "x-api-key", val: n.conf.apiKey }, { key: "Content-Type", val: "application/json" }, ]; if (n.conf.guidEnabled) { var d = n.conf.accessToken ? n.conf.accessToken : void 0 !== window.adobeIMS ? (function () { var e = window.adobeIMS.getAccessToken(); return window.adobeIMS.version.startsWith("v2-") ? (null !== e ? e.token : null) : e; })() : null; null !== d && u.push({ key: "Authorization", val: "Bearer " + d }); } return ( n.conf.nonGuidEnabled && (u.push({ key: "x-adobe-uuid", val: null !== n.conf.nonGuidId && "" !== n.conf.nonGuidId ? n.conf.nonGuidId : m(n.conf.nonGuidIdCookieName) }), u.push({ key: "x-adobe-uuid-type", val: null !== n.conf.nonGuidIdType ? n.conf.nonGuidIdType : "visitorId" })), (u = u.concat(n.conf.additionalHeaders)), (window.digitalData = window.digitalData || { sophiaResponse: [a] }), (function (e, t) { var r = performance.now(), o = new XMLHttpRequest(); return new Promise(function (a, u) { (o.onreadystatechange = function () { if (o.readyState === XMLHttpRequest.DONE) if (((n.result[l] = o.status), o.status >= 200 && o.status < 300)) { var t = performance.now(), d = JSON.parse(o.responseText); if ( (h.log("Got response from Sophia:: ", d), h.log("Total time taken for fetching response for: ", e, t - r, " milliseconds."), (n.result[i] = d), (n.result[s] = {}), (o.getAllResponseHeaders() ? o .getAllResponseHeaders() .trim() .split(/[\r\n]+/) : [] ).forEach(function (e) { var t = e.split(": "), r = t.shift(), o = t.join(": "); n.result[s][r] = o; }), d.surfaces && d.surfaces[n.conf.surfaceID] && d.surfaces[n.conf.surfaceID].containers && d.surfaces[n.conf.surfaceID].containers.length > 0) ) { var p = d.surfaces[n.conf.surfaceID].containers; n.result[c] = p.length > 0; } !0 === n.conf.useExperienceFragment && f(n.result), a(n.result); } else (n.result[l] = o.statusText), u(n.result); }), o.open("GET", e, !0), t && t.forEach(function (e) { o.setRequestHeader(e.key, e.val); }), h.log("Sending request: ", e), o.send(); }); })(e + "?" + r, u) ); })() ); }, events: { EVENT_XF_RENDER_FINISH: "sophia:render:xfrendered", EVENT_SOPHIA_RENDER_STARTED: "sophia:render:started", EVENT_SOPHIA_RENDER_FINISHED: "sophia:render:finished" }, }; })({ sourceSelector: null, targetSelector: ".root.responsivegrid", surfaceID: "---Your surface id---", env: "stage", apiKey: "---Your api-key---", clientCode: "adobe.com", accessToken: "---- Replace with test access token if testing without adobeIMS ----", guidEnabled: !0, nonGuidEnabled: !1, enableAdobeAnalyticsIngestion: !0, nonGuidIdCookieName: "aam_uuid", nonGuidId: null, nonGuidIdType: null, additionalHeaders: [], contextualParams: {}, useExperienceFragment: !0, debug: !1, }); (window._sophia = n), (t._sophia = n); }, 4837: (e, t) => { "use strict"; function n(e) { var t = void 0; return ( "undefined" != typeof Reflect && "function" == typeof Reflect.ownKeys ? (t = Reflect.ownKeys(e.prototype)) : ((t = Object.getOwnPropertyNames(e.prototype)), "function" == typeof Object.getOwnPropertySymbols && (t = t.concat(Object.getOwnPropertySymbols(e.prototype)))), t.forEach(function (t) { if ("constructor" !== t) { var n = Object.getOwnPropertyDescriptor(e.prototype, t); "function" == typeof n.value && Object.defineProperty(e.prototype, t, r(e, t, n)); } }), e ); } function r(e, t, n) { var r = n.value; if ("function" != typeof r) throw new Error("@autobind decorator can only be applied to methods not: " + typeof r); var o = !1; return { configurable: !0, get: function () { if (o || this === e.prototype || this.hasOwnProperty(t)) return r; var n = r.bind(this); return (o = !0), Object.defineProperty(this, t, { value: n, configurable: !0, writable: !0 }), (o = !1), n; }, }; } Object.defineProperty(t, "__esModule", { value: !0 }), (t.default = function () { for (var e = arguments.length, t = Array(e), o = 0; o < e; o++) t[o] = arguments[o]; return 1 === t.length ? n.apply(void 0, t) : r.apply(void 0, t); }), (e.exports = t.default); }, 15811: (e, t, n) => { e.exports = { default: n(12378), __esModule: !0 }; }, 54619: (e, t, n) => { e.exports = { default: n(51038), __esModule: !0 }; }, 37931: (e, t, n) => { e.exports = { default: n(20885), __esModule: !0 }; }, 10099: (e, t, n) => { e.exports = { default: n(71866), __esModule: !0 }; }, 14074: (e, t, n) => { e.exports = { default: n(89013), __esModule: !0 }; }, 39853: (e, t, n) => { e.exports = { default: n(16752), __esModule: !0 }; }, 77733: (e, t, n) => { e.exports = { default: n(97036), __esModule: !0 }; }, 45304: (e, t, n) => { e.exports = { default: n(3599), __esModule: !0 }; }, 71851: (e, t, n) => { e.exports = { default: n(31609), __esModule: !0 }; }, 12958: (e, t, n) => { e.exports = { default: n(25635), __esModule: !0 }; }, 14130: (e, t, n) => { e.exports = { default: n(24874), __esModule: !0 }; }, 23776: (e, t, n) => { e.exports = { default: n(39111), __esModule: !0 }; }, 50299: (e, t, n) => { e.exports = { default: n(44845), __esModule: !0 }; }, 29652: (e, t) => { "use strict"; t.Z = function (e, t) { if (!(e instanceof t)) throw new TypeError("Cannot call a class as a function"); }; }, 35656: (e, t, n) => { "use strict"; var r, o = (r = n(39853)) && r.__esModule ? r : { default: r }; t.Z = (function () { function e(e, t) { for (var n = 0; n < t.length; n++) { var r = t[n]; (r.enumerable = r.enumerable || !1), (r.configurable = !0), "value" in r && (r.writable = !0), (0, o.default)(e, r.key, r); } } return function (t, n, r) { return n && e(t.prototype, n), r && e(t, r), t; }; })(); }, 79988: (e, t, n) => { "use strict"; var r, o = (r = n(39853)) && r.__esModule ? r : { default: r }; t.Z = function (e, t, n) { return t in e ? (0, o.default)(e, t, { value: n, enumerable: !0, configurable: !0, writable: !0 }) : (e[t] = n), e; }; }, 12458: (e, t, n) => { "use strict"; var r, o = (r = n(10099)) && r.__esModule ? r : { default: r }; t.Z = o.default || function (e) { for (var t = 1; t < arguments.length; t++) { var n = arguments[t]; for (var r in n) Object.prototype.hasOwnProperty.call(n, r) && (e[r] = n[r]); } return e; }; }, 52211: (e, t, n) => { "use strict"; var r = i(n(12958)), o = i(n(14074)), a = i(n(16715)); function i(e) { return e && e.__esModule ? e : { default: e }; } t.Z = function (e, t) { if ("function" != typeof t && null !== t) throw new TypeError("Super expression must either be null or a function, not " + (void 0 === t ? "undefined" : (0, a.default)(t))); (e.prototype = (0, o.default)(t && t.prototype, { constructor: { value: e, enumerable: !1, writable: !0, configurable: !0 } })), t && (r.default ? (0, r.default)(e, t) : (e.__proto__ = t)); }; }, 37526: (e, t) => { "use strict"; t.Z = function (e, t) { var n = {}; for (var r in e) t.indexOf(r) >= 0 || (Object.prototype.hasOwnProperty.call(e, r) && (n[r] = e[r])); return n; }; }, 10357: (e, t, n) => { "use strict"; var r, o = (r = n(16715)) && r.__esModule ? r : { default: r }; t.Z = function (e, t) { if (!e) throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); return !t || ("object" !== (void 0 === t ? "undefined" : (0, o.default)(t)) && "function" != typeof t) ? e : t; }; }, 12978: (e, t, n) => { "use strict"; var r = a(n(37931)), o = a(n(54619)); function a(e) { return e && e.__esModule ? e : { default: e }; } t.Z = function (e, t) { if (Array.isArray(e)) return e; if ((0, r.default)(Object(e))) return (function (e, t) { var n = [], r = !0, a = !1, i = void 0; try { for (var s, c = (0, o.default)(e); !(r = (s = c.next()).done) && (n.push(s.value), !t || n.length !== t); r = !0); } catch (e) { (a = !0), (i = e); } finally { try { !r && c.return && c.return(); } finally { if (a) throw i; } } return n; })(e, t); throw new TypeError("Invalid attempt to destructure non-iterable instance"); }; }, 9903: (e, t, n) => { "use strict"; var r, o = (r = n(15811)) && r.__esModule ? r : { default: r }; t.Z = function (e) { if (Array.isArray(e)) { for (var t = 0, n = Array(e.length); t < e.length; t++) n[t] = e[t]; return n; } return (0, o.default)(e); }; }, 16715: (e, t, n) => { "use strict"; t.__esModule = !0; var r = i(n(50299)), o = i(n(23776)), a = "function" == typeof o.default && "symbol" == typeof r.default ? function (e) { return typeof e; } : function (e) { return e && "function" == typeof o.default && e.constructor === o.default && e !== o.default.prototype ? "symbol" : typeof e; }; function i(e) { return e && e.__esModule ? e : { default: e }; } t.default = "function" == typeof o.default && "symbol" === a(r.default) ? function (e) { return void 0 === e ? "undefined" : a(e); } : function (e) { return e && "function" == typeof o.default && e.constructor === o.default && e !== o.default.prototype ? "symbol" : void 0 === e ? "undefined" : a(e); }; }, 12378: (e, t, n) => { n(51678), n(26744), (e.exports = n(62327).Array.from); }, 51038: (e, t, n) => { n(157), n(51678), (e.exports = n(54537)); }, 20885: (e, t, n) => { n(157), n(51678), (e.exports = n(81889)); }, 71866: (e, t, n) => { n(58576), (e.exports = n(62327).Object.assign); }, 89013: (e, t, n) => { n(19698); var r = n(62327).Object; e.exports = function (e, t) { return r.create(e, t); }; }, 16752: (e, t, n) => { n(93606); var r = n(62327).Object; e.exports = function (e, t, n) { return r.defineProperty(e, t, n); }; }, 97036: (e, t, n) => { n(83198); var r = n(62327).Object; e.exports = function (e, t) { return r.getOwnPropertyDescriptor(e, t); }; }, 3599: (e, t, n) => { n(40402), (e.exports = n(62327).Object.getPrototypeOf); }, 31609: (e, t, n) => { n(59061), (e.exports = n(62327).Object.keys); }, 25635: (e, t, n) => { n(34371), (e.exports = n(62327).Object.setPrototypeOf); }, 24874: (e, t, n) => { n(1834), n(51678), n(157), n(14444), n(31993), n(73472), (e.exports = n(62327).Promise); }, 39111: (e, t, n) => { n(911), n(1834), n(59512), n(76775), (e.exports = n(62327).Symbol); }, 44845: (e, t, n) => { n(51678), n(157), (e.exports = n(55603).f("iterator")); }, 47416: (e) => { e.exports = function (e) { if ("function" != typeof e) throw TypeError(e + " is not a function!"); return e; }; }, 90448: (e) => { e.exports = function () {}; }, 11507: (e) => { e.exports = function (e, t, n, r) { if (!(e instanceof t) || (void 0 !== r && r in e)) throw TypeError(n + ": incorrect invocation!"); return e; }; }, 19626: (e, t, n) => { var r = n(25667); e.exports = function (e) { if (!r(e)) throw TypeError(e + " is not an object!"); return e; }; }, 63531: (e, t, n) => { var r = n(20066), o = n(33349), a = n(1351); e.exports = function (e) { return function (t, n, i) { var s, c = r(t), l = o(c.length), u = a(i, l); if (e && n != n) { for (; l > u; ) if ((s = c[u++]) != s) return !0; } else for (; l > u; u++) if ((e || u in c) && c[u] === n) return e || u || 0; return !e && -1; }; }; }, 51066: (e, t, n) => { var r = n(29163), o = n(59346)("toStringTag"), a = "Arguments" == r( (function () { return arguments; })() ); e.exports = function (e) { var t, n, i; return void 0 === e ? "Undefined" : null === e ? "Null" : "string" == typeof (n = (function (e, t) { try { return e[t]; } catch (e) {} })((t = Object(e)), o)) ? n : a ? r(t) : "Object" == (i = r(t)) && "function" == typeof t.callee ? "Arguments" : i; }; }, 29163: (e) => { var t = {}.toString; e.exports = function (e) { return t.call(e).slice(8, -1); }; }, 62327: (e) => { var t = (e.exports = { version: "2.6.5" }); "number" == typeof __e && (__e = t); }, 80498: (e, t, n) => { "use strict"; var r = n(78710), o = n(80689); e.exports = function (e, t, n) { t in e ? r.f(e, t, o(0, n)) : (e[t] = n); }; }, 94397: (e, t, n) => { var r = n(47416); e.exports = function (e, t, n) { if ((r(e), void 0 === t)) return e; switch (n) { case 1: return function (n) { return e.call(t, n); }; case 2: return function (n, r) { return e.call(t, n, r); }; case 3: return function (n, r, o) { return e.call(t, n, r, o); }; } return function () { return e.apply(t, arguments); }; }; }, 12435: (e) => { e.exports = function (e) { if (null == e) throw TypeError("Can't call method on " + e); return e; }; }, 66703: (e, t, n) => { e.exports = !n(63696)(function () { return ( 7 != Object.defineProperty({}, "a", { get: function () { return 7; }, }).a ); }); }, 32101: (e, t, n) => { var r = n(25667), o = n(3132).document, a = r(o) && r(o.createElement); e.exports = function (e) { return a ? o.createElement(e) : {}; }; }, 38806: (e) => { e.exports = "constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(","); }, 83552: (e, t, n) => { var r = n(85626), o = n(21864), a = n(43174); e.exports = function (e) { var t = r(e), n = o.f; if (n) for (var i, s = n(e), c = a.f, l = 0; s.length > l; ) c.call(e, (i = s[l++])) && t.push(i); return t; }; }, 67738: (e, t, n) => { var r = n(3132), o = n(62327), a = n(94397), i = n(71392), s = n(53157), c = "prototype", l = function (e, t, n) { var u, d, p, f = e & l.F, m = e & l.G, h = e & l.S, v = e & l.P, y = e & l.B, g = e & l.W, b = m ? o : o[t] || (o[t] = {}), E = b[c], D = m ? r : h ? r[t] : (r[t] || {})[c]; for (u in (m && (n = t), n)) ((d = !f && D && void 0 !== D[u]) && s(b, u)) || ((p = d ? D[u] : n[u]), (b[u] = m && "function" != typeof D[u] ? n[u] : y && d ? a(p, r) : g && D[u] == p ? (function (e) { var t = function (t, n, r) { if (this instanceof e) { switch (arguments.length) { case 0: return new e(); case 1: return new e(t); case 2: return new e(t, n); } return new e(t, n, r); } return e.apply(this, arguments); }; return (t[c] = e[c]), t; })(p) : v && "function" == typeof p ? a(Function.call, p) : p), v && (((b.virtual || (b.virtual = {}))[u] = p), e & l.R && E && !E[u] && i(E, u, p))); }; (l.F = 1), (l.G = 2), (l.S = 4), (l.P = 8), (l.B = 16), (l.W = 32), (l.U = 64), (l.R = 128), (e.exports = l); }, 63696: (e) => { e.exports = function (e) { try { return !!e(); } catch (e) { return !0; } }; }, 36542: (e, t, n) => { var r = n(94397), o = n(96074), a = n(6419), i = n(19626), s = n(33349), c = n(72633), l = {}, u = {}, d = (e.exports = function (e, t, n, d, p) { var f, m, h, v, y = p ? function () { return e; } : c(e), g = r(n, d, t ? 2 : 1), b = 0; if ("function" != typeof y) throw TypeError(e + " is not iterable!"); if (a(y)) { for (f = s(e.length); f > b; b++) if ((v = t ? g(i((m = e[b]))[0], m[1]) : g(e[b])) === l || v === u) return v; } else for (h = y.call(e); !(m = h.next()).done; ) if ((v = o(h, g, m.value, t)) === l || v === u) return v; }); (d.BREAK = l), (d.RETURN = u); }, 3132: (e) => { var t = (e.exports = "undefined" != typeof window && window.Math == Math ? window : "undefined" != typeof self && self.Math == Math ? self : Function("return this")()); "number" == typeof __g && (__g = t); }, 53157: (e) => { var t = {}.hasOwnProperty; e.exports = function (e, n) { return t.call(e, n); }; }, 71392: (e, t, n) => { var r = n(78710), o = n(80689); e.exports = n(66703) ? function (e, t, n) { return r.f(e, t, o(1, n)); } : function (e, t, n) { return (e[t] = n), e; }; }, 21551: (e, t, n) => { var r = n(3132).document; e.exports = r && r.documentElement; }, 16960: (e, t, n) => { e.exports = !n(66703) && !n(63696)(function () { return ( 7 != Object.defineProperty(n(32101)("div"), "a", { get: function () { return 7; }, }).a ); }); }, 98169: (e) => { e.exports = function (e, t, n) { var r = void 0 === n; switch (t.length) { case 0: return r ? e() : e.call(n); case 1: return r ? e(t[0]) : e.call(n, t[0]); case 2: return r ? e(t[0], t[1]) : e.call(n, t[0], t[1]); case 3: return r ? e(t[0], t[1], t[2]) : e.call(n, t[0], t[1], t[2]); case 4: return r ? e(t[0], t[1], t[2], t[3]) : e.call(n, t[0], t[1], t[2], t[3]); } return e.apply(n, t); }; }, 41111: (e, t, n) => { var r = n(29163); e.exports = Object("z").propertyIsEnumerable(0) ? Object : function (e) { return "String" == r(e) ? e.split("") : Object(e); }; }, 6419: (e, t, n) => { var r = n(50930), o = n(59346)("iterator"), a = Array.prototype; e.exports = function (e) { return void 0 !== e && (r.Array === e || a[o] === e); }; }, 35568: (e, t, n) => { var r = n(29163); e.exports = Array.isArray || function (e) { return "Array" == r(e); }; }, 25667: (e) => { e.exports = function (e) { return "object" == typeof e ? null !== e : "function" == typeof e; }; }, 96074: (e, t, n) => { var r = n(19626); e.exports = function (e, t, n, o) { try { return o ? t(r(n)[0], n[1]) : t(n); } catch (t) { var a = e.return; throw (void 0 !== a && r(a.call(e)), t); } }; }, 91008: (e, t, n) => { "use strict"; var r = n(45349), o = n(80689), a = n(35778), i = {}; n(71392)(i, n(59346)("iterator"), function () { return this; }), (e.exports = function (e, t, n) { (e.prototype = r(i, { next: o(1, n) })), a(e, t + " Iterator"); }); }, 33047: (e, t, n) => { "use strict"; var r = n(18044), o = n(67738), a = n(77070), i = n(71392), s = n(50930), c = n(91008), l = n(35778), u = n(99786), d = n(59346)("iterator"), p = !([].keys && "next" in [].keys()), f = "keys", m = "values", h = function () { return this; }; e.exports = function (e, t, n, v, y, g, b) { c(n, t, v); var E, D, C, w = function (e) { if (!p && e in _) return _[e]; switch (e) { case f: case m: return function () { return new n(this, e); }; } return function () { return new n(this, e); }; }, S = t + " Iterator", A = y == m, k = !1, _ = e.prototype, T = _[d] || _["@@iterator"] || (y && _[y]), I = T || w(y), O = y ? (A ? w("entries") : I) : void 0, F = ("Array" == t && _.entries) || T; if ( (F && (C = u(F.call(new e()))) !== Object.prototype && C.next && (l(C, S, !0), r || "function" == typeof C[d] || i(C, d, h)), A && T && T.name !== m && ((k = !0), (I = function () { return T.call(this); })), (r && !b) || (!p && !k && _[d]) || i(_, d, I), (s[t] = I), (s[S] = h), y) ) if (((E = { values: A ? I : w(m), keys: g ? I : w(f), entries: O }), b)) for (D in E) D in _ || a(_, D, E[D]); else o(o.P + o.F * (p || k), t, E); return E; }; }, 81256: (e, t, n) => { var r = n(59346)("iterator"), o = !1; try { var a = [7][r](); (a.return = function () { o = !0; }), Array.from(a, function () { throw 2; }); } catch (e) {} e.exports = function (e, t) { if (!t && !o) return !1; var n = !1; try { var a = [7], i = a[r](); (i.next = function () { return { done: (n = !0) }; }), (a[r] = function () { return i; }), e(a); } catch (e) {} return n; }; }, 88623: (e) => { e.exports = function (e, t) { return { value: t, done: !!e }; }; }, 50930: (e) => { e.exports = {}; }, 18044: (e) => { e.exports = !0; }, 13235: (e, t, n) => { var r = n(15589)("meta"), o = n(25667), a = n(53157), i = n(78710).f, s = 0, c = Object.isExtensible || function () { return !0; }, l = !n(63696)(function () { return c(Object.preventExtensions({})); }), u = function (e) { i(e, r, { value: { i: "O" + ++s, w: {} } }); }, d = (e.exports = { KEY: r, NEED: !1, fastKey: function (e, t) { if (!o(e)) return "symbol" == typeof e ? e : ("string" == typeof e ? "S" : "P") + e; if (!a(e, r)) { if (!c(e)) return "F"; if (!t) return "E"; u(e); } return e[r].i; }, getWeak: function (e, t) { if (!a(e, r)) { if (!c(e)) return !0; if (!t) return !1; u(e); } return e[r].w; }, onFreeze: function (e) { return l && d.NEED && c(e) && !a(e, r) && u(e), e; }, }); }, 11889: (e, t, n) => { var r = n(3132), o = n(73038).set, a = r.MutationObserver || r.WebKitMutationObserver, i = r.process, s = r.Promise, c = "process" == n(29163)(i); e.exports = function () { var e, t, n, l = function () { var r, o; for (c && (r = i.domain) && r.exit(); e; ) { (o = e.fn), (e = e.next); try { o(); } catch (r) { throw (e ? n() : (t = void 0), r); } } (t = void 0), r && r.enter(); }; if (c) n = function () { i.nextTick(l); }; else if (!a || (r.navigator && r.navigator.standalone)) if (s && s.resolve) { var u = s.resolve(void 0); n = function () { u.then(l); }; } else n = function () { o.call(r, l); }; else { var d = !0, p = document.createTextNode(""); new a(l).observe(p, { characterData: !0 }), (n = function () { p.data = d = !d; }); } return function (r) { var o = { fn: r, next: void 0 }; t && (t.next = o), e || ((e = o), n()), (t = o); }; }; }, 8784: (e, t, n) => { "use strict"; var r = n(47416); function o(e) { var t, n; (this.promise = new e(function (e, r) { if (void 0 !== t || void 0 !== n) throw TypeError("Bad Promise constructor"); (t = e), (n = r); })), (this.resolve = r(t)), (this.reject = r(n)); } e.exports.f = function (e) { return new o(e); }; }, 91715: (e, t, n) => { "use strict"; var r = n(85626), o = n(21864), a = n(43174), i = n(30001), s = n(41111), c = Object.assign; e.exports = !c || n(63696)(function () { var e = {}, t = {}, n = Symbol(), r = "abcdefghijklmnopqrst"; return ( (e[n] = 7), r.split("").forEach(function (e) { t[e] = e; }), 7 != c({}, e)[n] || Object.keys(c({}, t)).join("") != r ); }) ? function (e, t) { for (var n = i(e), c = arguments.length, l = 1, u = o.f, d = a.f; c > l; ) for (var p, f = s(arguments[l++]), m = u ? r(f).concat(u(f)) : r(f), h = m.length, v = 0; h > v; ) d.call(f, (p = m[v++])) && (n[p] = f[p]); return n; } : c; }, 45349: (e, t, n) => { var r = n(19626), o = n(65405), a = n(38806), i = n(48876)("IE_PROTO"), s = function () {}, c = "prototype", l = function () { var e, t = n(32101)("iframe"), r = a.length; for (t.style.display = "none", n(21551).appendChild(t), t.src = "javascript:", (e = t.contentWindow.document).open(), e.write(""), e.close(), l = e.F; r--; ) delete l[c][a[r]]; return l(); }; e.exports = Object.create || function (e, t) { var n; return null !== e ? ((s[c] = r(e)), (n = new s()), (s[c] = null), (n[i] = e)) : (n = l()), void 0 === t ? n : o(n, t); }; }, 78710: (e, t, n) => { var r = n(19626), o = n(16960), a = n(97924), i = Object.defineProperty; t.f = n(66703) ? Object.defineProperty : function (e, t, n) { if ((r(e), (t = a(t, !0)), r(n), o)) try { return i(e, t, n); } catch (e) {} if ("get" in n || "set" in n) throw TypeError("Accessors not supported!"); return "value" in n && (e[t] = n.value), e; }; }, 65405: (e, t, n) => { var r = n(78710), o = n(19626), a = n(85626); e.exports = n(66703) ? Object.defineProperties : function (e, t) { o(e); for (var n, i = a(t), s = i.length, c = 0; s > c; ) r.f(e, (n = i[c++]), t[n]); return e; }; }, 12429: (e, t, n) => { var r = n(43174), o = n(80689), a = n(20066), i = n(97924), s = n(53157), c = n(16960), l = Object.getOwnPropertyDescriptor; t.f = n(66703) ? l : function (e, t) { if (((e = a(e)), (t = i(t, !0)), c)) try { return l(e, t); } catch (e) {} if (s(e, t)) return o(!r.f.call(e, t), e[t]); }; }, 85044: (e, t, n) => { var r = n(20066), o = n(22802).f, a = {}.toString, i = "object" == typeof window && window && Object.getOwnPropertyNames ? Object.getOwnPropertyNames(window) : []; e.exports.f = function (e) { return i && "[object Window]" == a.call(e) ? (function (e) { try { return o(e); } catch (e) { return i.slice(); } })(e) : o(r(e)); }; }, 22802: (e, t, n) => { var r = n(23876), o = n(38806).concat("length", "prototype"); t.f = Object.getOwnPropertyNames || function (e) { return r(e, o); }; }, 21864: (e, t) => { t.f = Object.getOwnPropertySymbols; }, 99786: (e, t, n) => { var r = n(53157), o = n(30001), a = n(48876)("IE_PROTO"), i = Object.prototype; e.exports = Object.getPrototypeOf || function (e) { return (e = o(e)), r(e, a) ? e[a] : "function" == typeof e.constructor && e instanceof e.constructor ? e.constructor.prototype : e instanceof Object ? i : null; }; }, 23876: (e, t, n) => { var r = n(53157), o = n(20066), a = n(63531)(!1), i = n(48876)("IE_PROTO"); e.exports = function (e, t) { var n, s = o(e), c = 0, l = []; for (n in s) n != i && r(s, n) && l.push(n); for (; t.length > c; ) r(s, (n = t[c++])) && (~a(l, n) || l.push(n)); return l; }; }, 85626: (e, t, n) => { var r = n(23876), o = n(38806); e.exports = Object.keys || function (e) { return r(e, o); }; }, 43174: (e, t) => { t.f = {}.propertyIsEnumerable; }, 17386: (e, t, n) => { var r = n(67738), o = n(62327), a = n(63696); e.exports = function (e, t) { var n = (o.Object || {})[e] || Object[e], i = {}; (i[e] = t(n)), r( r.S + r.F * a(function () { n(1); }), "Object", i ); }; }, 9266: (e) => { e.exports = function (e) { try { return { e: !1, v: e() }; } catch (e) { return { e: !0, v: e }; } }; }, 20589: (e, t, n) => { var r = n(19626), o = n(25667), a = n(8784); e.exports = function (e, t) { if ((r(e), o(t) && t.constructor === e)) return t; var n = a.f(e); return (0, n.resolve)(t), n.promise; }; }, 80689: (e) => { e.exports = function (e, t) { return { enumerable: !(1 & e), configurable: !(2 & e), writable: !(4 & e), value: t }; }; }, 5204: (e, t, n) => { var r = n(71392); e.exports = function (e, t, n) { for (var o in t) n && e[o] ? (e[o] = t[o]) : r(e, o, t[o]); return e; }; }, 77070: (e, t, n) => { e.exports = n(71392); }, 9365: (e, t, n) => { var r = n(25667), o = n(19626), a = function (e, t) { if ((o(e), !r(t) && null !== t)) throw TypeError(t + ": can't set as prototype!"); }; e.exports = { set: Object.setPrototypeOf || ("__proto__" in {} ? (function (e, t, r) { try { (r = n(94397)(Function.call, n(12429).f(Object.prototype, "__proto__").set, 2))(e, []), (t = !(e instanceof Array)); } catch (e) { t = !0; } return function (e, n) { return a(e, n), t ? (e.__proto__ = n) : r(e, n), e; }; })({}, !1) : void 0), check: a, }; }, 27217: (e, t, n) => { "use strict"; var r = n(3132), o = n(62327), a = n(78710), i = n(66703), s = n(59346)("species"); e.exports = function (e) { var t = "function" == typeof o[e] ? o[e] : r[e]; i && t && !t[s] && a.f(t, s, { configurable: !0, get: function () { return this; }, }); }; }, 35778: (e, t, n) => { var r = n(78710).f, o = n(53157), a = n(59346)("toStringTag"); e.exports = function (e, t, n) { e && !o((e = n ? e : e.prototype), a) && r(e, a, { configurable: !0, value: t }); }; }, 48876: (e, t, n) => { var r = n(34425)("keys"), o = n(15589); e.exports = function (e) { return r[e] || (r[e] = o(e)); }; }, 34425: (e, t, n) => { var r = n(62327), o = n(3132), a = "__core-js_shared__", i = o[a] || (o[a] = {}); (e.exports = function (e, t) { return i[e] || (i[e] = void 0 !== t ? t : {}); })("versions", []).push({ version: r.version, mode: n(18044) ? "pure" : "global", copyright: "© 2019 Denis Pushkarev (zloirock.ru)" }); }, 21366: (e, t, n) => { var r = n(19626), o = n(47416), a = n(59346)("species"); e.exports = function (e, t) { var n, i = r(e).constructor; return void 0 === i || null == (n = r(i)[a]) ? t : o(n); }; }, 7554: (e, t, n) => { var r = n(23486), o = n(12435); e.exports = function (e) { return function (t, n) { var a, i, s = String(o(t)), c = r(n), l = s.length; return c < 0 || c >= l ? e ? "" : void 0 : (a = s.charCodeAt(c)) < 55296 || a > 56319 || c + 1 === l || (i = s.charCodeAt(c + 1)) < 56320 || i > 57343 ? e ? s.charAt(c) : a : e ? s.slice(c, c + 2) : i - 56320 + ((a - 55296) << 10) + 65536; }; }; }, 73038: (e, t, n) => { var r, o, a, i = n(94397), s = n(98169), c = n(21551), l = n(32101), u = n(3132), d = u.process, p = u.setImmediate, f = u.clearImmediate, m = u.MessageChannel, h = u.Dispatch, v = 0, y = {}, g = "onreadystatechange", b = function () { var e = +this; if (y.hasOwnProperty(e)) { var t = y[e]; delete y[e], t(); } }, E = function (e) { b.call(e.data); }; (p && f) || ((p = function (e) { for (var t = [], n = 1; arguments.length > n; ) t.push(arguments[n++]); return ( (y[++v] = function () { s("function" == typeof e ? e : Function(e), t); }), r(v), v ); }), (f = function (e) { delete y[e]; }), "process" == n(29163)(d) ? (r = function (e) { d.nextTick(i(b, e, 1)); }) : h && h.now ? (r = function (e) { h.now(i(b, e, 1)); }) : m ? ((a = (o = new m()).port2), (o.port1.onmessage = E), (r = i(a.postMessage, a, 1))) : u.addEventListener && "function" == typeof postMessage && !u.importScripts ? ((r = function (e) { u.postMessage(e + "", "*"); }), u.addEventListener("message", E, !1)) : (r = g in l("script") ? function (e) { c.appendChild(l("script"))[g] = function () { c.removeChild(this), b.call(e); }; } : function (e) { setTimeout(i(b, e, 1), 0); })), (e.exports = { set: p, clear: f }); }, 1351: (e, t, n) => { var r = n(23486), o = Math.max, a = Math.min; e.exports = function (e, t) { return (e = r(e)) < 0 ? o(e + t, 0) : a(e, t); }; }, 23486: (e) => { var t = Math.ceil, n = Math.floor; e.exports = function (e) { return isNaN((e = +e)) ? 0 : (e > 0 ? n : t)(e); }; }, 20066: (e, t, n) => { var r = n(41111), o = n(12435); e.exports = function (e) { return r(o(e)); }; }, 33349: (e, t, n) => { var r = n(23486), o = Math.min; e.exports = function (e) { return e > 0 ? o(r(e), 9007199254740991) : 0; }; }, 30001: (e, t, n) => { var r = n(12435); e.exports = function (e) { return Object(r(e)); }; }, 97924: (e, t, n) => { var r = n(25667); e.exports = function (e, t) { if (!r(e)) return e; var n, o; if (t && "function" == typeof (n = e.toString) && !r((o = n.call(e)))) return o; if ("function" == typeof (n = e.valueOf) && !r((o = n.call(e)))) return o; if (!t && "function" == typeof (n = e.toString) && !r((o = n.call(e)))) return o; throw TypeError("Can't convert object to primitive value"); }; }, 15589: (e) => { var t = 0, n = Math.random(); e.exports = function (e) { return "Symbol(".concat(void 0 === e ? "" : e, ")_", (++t + n).toString(36)); }; }, 78160: (e, t, n) => { var r = n(3132).navigator; e.exports = (r && r.userAgent) || ""; }, 34207: (e, t, n) => { var r = n(3132), o = n(62327), a = n(18044), i = n(55603), s = n(78710).f; e.exports = function (e) { var t = o.Symbol || (o.Symbol = a ? {} : r.Symbol || {}); "_" == e.charAt(0) || e in t || s(t, e, { value: i.f(e) }); }; }, 55603: (e, t, n) => { t.f = n(59346); }, 59346: (e, t, n) => { var r = n(34425)("wks"), o = n(15589), a = n(3132).Symbol, i = "function" == typeof a; (e.exports = function (e) { return r[e] || (r[e] = (i && a[e]) || (i ? a : o)("Symbol." + e)); }).store = r; }, 72633: (e, t, n) => { var r = n(51066), o = n(59346)("iterator"), a = n(50930); e.exports = n(62327).getIteratorMethod = function (e) { if (null != e) return e[o] || e["@@iterator"] || a[r(e)]; }; }, 54537: (e, t, n) => { var r = n(19626), o = n(72633); e.exports = n(62327).getIterator = function (e) { var t = o(e); if ("function" != typeof t) throw TypeError(e + " is not iterable!"); return r(t.call(e)); }; }, 81889: (e, t, n) => { var r = n(51066), o = n(59346)("iterator"), a = n(50930); e.exports = n(62327).isIterable = function (e) { var t = Object(e); return void 0 !== t[o] || "@@iterator" in t || a.hasOwnProperty(r(t)); }; }, 26744: (e, t, n) => { "use strict"; var r = n(94397), o = n(67738), a = n(30001), i = n(96074), s = n(6419), c = n(33349), l = n(80498), u = n(72633); o( o.S + o.F * !n(81256)(function (e) { Array.from(e); }), "Array", { from: function (e) { var t, n, o, d, p = a(e), f = "function" == typeof this ? this : Array, m = arguments.length, h = m > 1 ? arguments[1] : void 0, v = void 0 !== h, y = 0, g = u(p); if ((v && (h = r(h, m > 2 ? arguments[2] : void 0, 2)), null == g || (f == Array && s(g)))) for (n = new f((t = c(p.length))); t > y; y++) l(n, y, v ? h(p[y], y) : p[y]); else for (d = g.call(p), n = new f(); !(o = d.next()).done; y++) l(n, y, v ? i(d, h, [o.value, y], !0) : o.value); return (n.length = y), n; }, } ); }, 34112: (e, t, n) => { "use strict"; var r = n(90448), o = n(88623), a = n(50930), i = n(20066); (e.exports = n(33047)( Array, "Array", function (e, t) { (this._t = i(e)), (this._i = 0), (this._k = t); }, function () { var e = this._t, t = this._k, n = this._i++; return !e || n >= e.length ? ((this._t = void 0), o(1)) : o(0, "keys" == t ? n : "values" == t ? e[n] : [n, e[n]]); }, "values" )), (a.Arguments = a.Array), r("keys"), r("values"), r("entries"); }, 58576: (e, t, n) => { var r = n(67738); r(r.S + r.F, "Object", { assign: n(91715) }); }, 19698: (e, t, n) => { var r = n(67738); r(r.S, "Object", { create: n(45349) }); }, 93606: (e, t, n) => { var r = n(67738); r(r.S + r.F * !n(66703), "Object", { defineProperty: n(78710).f }); }, 83198: (e, t, n) => { var r = n(20066), o = n(12429).f; n(17386)("getOwnPropertyDescriptor", function () { return function (e, t) { return o(r(e), t); }; }); }, 40402: (e, t, n) => { var r = n(30001), o = n(99786); n(17386)("getPrototypeOf", function () { return function (e) { return o(r(e)); }; }); }, 59061: (e, t, n) => { var r = n(30001), o = n(85626); n(17386)("keys", function () { return function (e) { return o(r(e)); }; }); }, 34371: (e, t, n) => { var r = n(67738); r(r.S, "Object", { setPrototypeOf: n(9365).set }); }, 1834: () => {}, 14444: (e, t, n) => { "use strict"; var r, o, a, i, s = n(18044), c = n(3132), l = n(94397), u = n(51066), d = n(67738), p = n(25667), f = n(47416), m = n(11507), h = n(36542), v = n(21366), y = n(73038).set, g = n(11889)(), b = n(8784), E = n(9266), D = n(78160), C = n(20589), w = "Promise", S = c.TypeError, A = c.process, k = A && A.versions, _ = (k && k.v8) || "", T = c[w], I = "process" == u(A), O = function () {}, F = (o = b.f), x = !!(function () { try { var e = T.resolve(1), t = ((e.constructor = {})[n(59346)("species")] = function (e) { e(O, O); }); return (I || "function" == typeof PromiseRejectionEvent) && e.then(O) instanceof t && 0 !== _.indexOf("6.6") && -1 === D.indexOf("Chrome/66"); } catch (e) {} })(), N = function (e) { var t; return !(!p(e) || "function" != typeof (t = e.then)) && t; }, R = function (e, t) { if (!e._n) { e._n = !0; var n = e._c; g(function () { for ( var r = e._v, o = 1 == e._s, a = 0, i = function (t) { var n, a, i, s = o ? t.ok : t.fail, c = t.resolve, l = t.reject, u = t.domain; try { s ? (o || (2 == e._h && P(e), (e._h = 1)), !0 === s ? (n = r) : (u && u.enter(), (n = s(r)), u && (u.exit(), (i = !0))), n === t.promise ? l(S("Promise-chain cycle")) : (a = N(n)) ? a.call(n, c, l) : c(n)) : l(r); } catch (e) { u && !i && u.exit(), l(e); } }; n.length > a; ) i(n[a++]); (e._c = []), (e._n = !1), t && !e._h && L(e); }); } }, L = function (e) { y.call(c, function () { var t, n, r, o = e._v, a = M(e); if ( (a && ((t = E(function () { I ? A.emit("unhandledRejection", o, e) : (n = c.onunhandledrejection) ? n({ promise: e, reason: o }) : (r = c.console) && r.error && r.error("Unhandled promise rejection", o); })), (e._h = I || M(e) ? 2 : 1)), (e._a = void 0), a && t.e) ) throw t.v; }); }, M = function (e) { return 1 !== e._h && 0 === (e._a || e._c).length; }, P = function (e) { y.call(c, function () { var t; I ? A.emit("rejectionHandled", e) : (t = c.onrejectionhandled) && t({ promise: e, reason: e._v }); }); }, j = function (e) { var t = this; t._d || ((t._d = !0), ((t = t._w || t)._v = e), (t._s = 2), t._a || (t._a = t._c.slice()), R(t, !0)); }, B = function (e) { var t, n = this; if (!n._d) { (n._d = !0), (n = n._w || n); try { if (n === e) throw S("Promise can't be resolved itself"); (t = N(e)) ? g(function () { var r = { _w: n, _d: !1 }; try { t.call(e, l(B, r, 1), l(j, r, 1)); } catch (e) { j.call(r, e); } }) : ((n._v = e), (n._s = 1), R(n, !1)); } catch (e) { j.call({ _w: n, _d: !1 }, e); } } }; x || ((T = function (e) { m(this, T, w, "_h"), f(e), r.call(this); try { e(l(B, this, 1), l(j, this, 1)); } catch (e) { j.call(this, e); } }), ((r = function (e) { (this._c = []), (this._a = void 0), (this._s = 0), (this._d = !1), (this._v = void 0), (this._h = 0), (this._n = !1); }).prototype = n(5204)(T.prototype, { then: function (e, t) { var n = F(v(this, T)); return (n.ok = "function" != typeof e || e), (n.fail = "function" == typeof t && t), (n.domain = I ? A.domain : void 0), this._c.push(n), this._a && this._a.push(n), this._s && R(this, !1), n.promise; }, catch: function (e) { return this.then(void 0, e); }, })), (a = function () { var e = new r(); (this.promise = e), (this.resolve = l(B, e, 1)), (this.reject = l(j, e, 1)); }), (b.f = F = function (e) { return e === T || e === i ? new a(e) : o(e); })), d(d.G + d.W + d.F * !x, { Promise: T }), n(35778)(T, w), n(27217)(w), (i = n(62327)[w]), d(d.S + d.F * !x, w, { reject: function (e) { var t = F(this); return (0, t.reject)(e), t.promise; }, }), d(d.S + d.F * (s || !x), w, { resolve: function (e) { return C(s && this === i ? T : this, e); }, }), d( d.S + d.F * !( x && n(81256)(function (e) { T.all(e).catch(O); }) ), w, { all: function (e) { var t = this, n = F(t), r = n.resolve, o = n.reject, a = E(function () { var n = [], a = 0, i = 1; h(e, !1, function (e) { var s = a++, c = !1; n.push(void 0), i++, t.resolve(e).then(function (e) { c || ((c = !0), (n[s] = e), --i || r(n)); }, o); }), --i || r(n); }); return a.e && o(a.v), n.promise; }, race: function (e) { var t = this, n = F(t), r = n.reject, o = E(function () { h(e, !1, function (e) { t.resolve(e).then(n.resolve, r); }); }); return o.e && r(o.v), n.promise; }, } ); }, 51678: (e, t, n) => { "use strict"; var r = n(7554)(!0); n(33047)( String, "String", function (e) { (this._t = String(e)), (this._i = 0); }, function () { var e, t = this._t, n = this._i; return n >= t.length ? { value: void 0, done: !0 } : ((e = r(t, n)), (this._i += e.length), { value: e, done: !1 }); } ); }, 911: (e, t, n) => { "use strict"; var r = n(3132), o = n(53157), a = n(66703), i = n(67738), s = n(77070), c = n(13235).KEY, l = n(63696), u = n(34425), d = n(35778), p = n(15589), f = n(59346), m = n(55603), h = n(34207), v = n(83552), y = n(35568), g = n(19626), b = n(25667), E = n(20066), D = n(97924), C = n(80689), w = n(45349), S = n(85044), A = n(12429), k = n(78710), _ = n(85626), T = A.f, I = k.f, O = S.f, F = r.Symbol, x = r.JSON, N = x && x.stringify, R = "prototype", L = f("_hidden"), M = f("toPrimitive"), P = {}.propertyIsEnumerable, j = u("symbol-registry"), B = u("symbols"), Z = u("op-symbols"), U = Object[R], z = "function" == typeof F, V = r.QObject, H = !V || !V[R] || !V[R].findChild, G = a && l(function () { return ( 7 != w( I({}, "a", { get: function () { return I(this, "a", { value: 7 }).a; }, }) ).a ); }) ? function (e, t, n) { var r = T(U, t); r && delete U[t], I(e, t, n), r && e !== U && I(U, t, r); } : I, W = function (e) { var t = (B[e] = w(F[R])); return (t._k = e), t; }, Q = z && "symbol" == typeof F.iterator ? function (e) { return "symbol" == typeof e; } : function (e) { return e instanceof F; }, J = function (e, t, n) { return ( e === U && J(Z, t, n), g(e), (t = D(t, !0)), g(n), o(B, t) ? (n.enumerable ? (o(e, L) && e[L][t] && (e[L][t] = !1), (n = w(n, { enumerable: C(0, !1) }))) : (o(e, L) || I(e, L, C(1, {})), (e[L][t] = !0)), G(e, t, n)) : I(e, t, n) ); }, Y = function (e, t) { g(e); for (var n, r = v((t = E(t))), o = 0, a = r.length; a > o; ) J(e, (n = r[o++]), t[n]); return e; }, q = function (e) { var t = P.call(this, (e = D(e, !0))); return !(this === U && o(B, e) && !o(Z, e)) && (!(t || !o(this, e) || !o(B, e) || (o(this, L) && this[L][e])) || t); }, X = function (e, t) { if (((e = E(e)), (t = D(t, !0)), e !== U || !o(B, t) || o(Z, t))) { var n = T(e, t); return !n || !o(B, t) || (o(e, L) && e[L][t]) || (n.enumerable = !0), n; } }, K = function (e) { for (var t, n = O(E(e)), r = [], a = 0; n.length > a; ) o(B, (t = n[a++])) || t == L || t == c || r.push(t); return r; }, $ = function (e) { for (var t, n = e === U, r = O(n ? Z : E(e)), a = [], i = 0; r.length > i; ) !o(B, (t = r[i++])) || (n && !o(U, t)) || a.push(B[t]); return a; }; z || (s( (F = function () { if (this instanceof F) throw TypeError("Symbol is not a constructor!"); var e = p(arguments.length > 0 ? arguments[0] : void 0), t = function (n) { this === U && t.call(Z, n), o(this, L) && o(this[L], e) && (this[L][e] = !1), G(this, e, C(1, n)); }; return a && H && G(U, e, { configurable: !0, set: t }), W(e); })[R], "toString", function () { return this._k; } ), (A.f = X), (k.f = J), (n(22802).f = S.f = K), (n(43174).f = q), (n(21864).f = $), a && !n(18044) && s(U, "propertyIsEnumerable", q, !0), (m.f = function (e) { return W(f(e)); })), i(i.G + i.W + i.F * !z, { Symbol: F }); for (var ee = "hasInstance,isConcatSpreadable,iterator,match,replace,search,species,split,toPrimitive,toStringTag,unscopables".split(","), te = 0; ee.length > te; ) f(ee[te++]); for (var ne = _(f.store), re = 0; ne.length > re; ) h(ne[re++]); i(i.S + i.F * !z, "Symbol", { for: function (e) { return o(j, (e += "")) ? j[e] : (j[e] = F(e)); }, keyFor: function (e) { if (!Q(e)) throw TypeError(e + " is not a symbol!"); for (var t in j) if (j[t] === e) return t; }, useSetter: function () { H = !0; }, useSimple: function () { H = !1; }, }), i(i.S + i.F * !z, "Object", { create: function (e, t) { return void 0 === t ? w(e) : Y(w(e), t); }, defineProperty: J, defineProperties: Y, getOwnPropertyDescriptor: X, getOwnPropertyNames: K, getOwnPropertySymbols: $, }), x && i( i.S + i.F * (!z || l(function () { var e = F(); return "[null]" != N([e]) || "{}" != N({ a: e }) || "{}" != N(Object(e)); })), "JSON", { stringify: function (e) { for (var t, n, r = [e], o = 1; arguments.length > o; ) r.push(arguments[o++]); if (((n = t = r[1]), (b(t) || void 0 !== e) && !Q(e))) return ( y(t) || (t = function (e, t) { if (("function" == typeof n && (t = n.call(this, e, t)), !Q(t))) return t; }), (r[1] = t), N.apply(x, r) ); }, } ), F[R][M] || n(71392)(F[R], M, F[R].valueOf), d(F, "Symbol"), d(Math, "Math", !0), d(r.JSON, "JSON", !0); }, 31993: (e, t, n) => { "use strict"; var r = n(67738), o = n(62327), a = n(3132), i = n(21366), s = n(20589); r(r.P + r.R, "Promise", { finally: function (e) { var t = i(this, o.Promise || a.Promise), n = "function" == typeof e; return this.then( n ? function (n) { return s(t, e()).then(function () { return n; }); } : e, n ? function (n) { return s(t, e()).then(function () { throw n; }); } : e ); }, }); }, 73472: (e, t, n) => { "use strict"; var r = n(67738), o = n(8784), a = n(9266); r(r.S, "Promise", { try: function (e) { var t = o.f(this), n = a(e); return (n.e ? t.reject : t.resolve)(n.v), t.promise; }, }); }, 59512: (e, t, n) => { n(34207)("asyncIterator"); }, 76775: (e, t, n) => { n(34207)("observable"); }, 157: (e, t, n) => { n(34112); for ( var r = n(3132), o = n(71392), a = n(50930), i = n(59346)("toStringTag"), s = "CSSRuleList,CSSStyleDeclaration,CSSValueList,ClientRectList,DOMRectList,DOMStringList,DOMTokenList,DataTransferItemList,FileList,HTMLAllCollection,HTMLCollection,HTMLFormElement,HTMLSelectElement,MediaList,MimeTypeArray,NamedNodeMap,NodeList,PaintRequestList,Plugin,PluginArray,SVGLengthList,SVGNumberList,SVGPathSegList,SVGPointList,SVGStringList,SVGTransformList,SourceBufferList,StyleSheetList,TextTrackCueList,TextTrackList,TouchList".split( "," ), c = 0; c < s.length; c++ ) { var l = s[c], u = r[l], d = u && u.prototype; d && !d[i] && o(d, i, l), (a[l] = a.Array); } }, 22779: (e) => { !(function () { "use strict"; e.exports = function (e) { return (e instanceof Buffer ? e : Buffer.from(e.toString(), "binary")).toString("base64"); }; })(); }, 93353: (e, t) => { var n; !(function () { "use strict"; var r = {}.hasOwnProperty; function o() { for (var e = [], t = 0; t < arguments.length; t++) { var n = arguments[t]; if (n) { var a = typeof n; if ("string" === a || "number" === a) e.push(n); else if (Array.isArray(n) && n.length) { var i = o.apply(null, n); i && e.push(i); } else if ("object" === a) for (var s in n) r.call(n, s) && n[s] && e.push(s); } } return e.join(" "); } e.exports ? ((o.default = o), (e.exports = o)) : void 0 === (n = function () { return o; }.apply(t, [])) || (e.exports = n); })(); }, 22086: (e, t, n) => { "use strict"; function r(e) { return null != e && "object" == typeof e && (1 === e.nodeType || 11 === e.nodeType); } function o(e, t) { return (!t || "hidden" !== e) && "visible" !== e && "clip" !== e; } function a(e, t) { if (e.clientHeight < e.scrollHeight || e.clientWidth < e.scrollWidth) { var n = getComputedStyle(e, null); return o(n.overflowY, t) || o(n.overflowX, t); } return !1; } function i(e, t, n, r, o, a, i, s) { return (a < e && i > t) || (a > e && i < t) ? 0 : (a < e && s < n) || (i > t && s > n) ? a - e - r : (i > t && s < n) || (a < e && s > n) ? i - t + o : 0; } n.d(t, { Z: () => s }); const s = function (e, t) { var n = t.scrollMode, o = t.block, s = t.inline, c = t.boundary, l = t.skipOverflowHiddenElements, u = "function" == typeof c ? c : function (e) { return e !== c; }; if (!r(e)) throw new TypeError("Invalid target"); for (var d = document.scrollingElement || document.documentElement, p = [], f = e; r(f) && u(f); ) { if ((f = f.parentNode || f.host) === d) { p.push(f); break; } (f === document.body && a(f) && !a(document.documentElement)) || (a(f, l) && p.push(f)); } for ( var m = window.visualViewport ? visualViewport.width : innerWidth, h = window.visualViewport ? visualViewport.height : innerHeight, v = window.scrollX || pageXOffset, y = window.scrollY || pageYOffset, g = e.getBoundingClientRect(), b = g.height, E = g.width, D = g.top, C = g.right, w = g.bottom, S = g.left, A = "start" === o || "nearest" === o ? D : "end" === o ? w : D + b / 2, k = "center" === s ? S + E / 2 : "end" === s ? C : S, _ = [], T = 0; T < p.length; T++ ) { var I = p[T], O = I.getBoundingClientRect(), F = O.height, x = O.width, N = O.top, R = O.right, L = O.bottom, M = O.left; if ("if-needed" === n && D >= 0 && S >= 0 && w <= h && C <= m && D >= N && w <= L && S >= M && C <= R) return _; var P = getComputedStyle(I), j = parseInt(P.borderLeftWidth, 10), B = parseInt(P.borderTopWidth, 10), Z = parseInt(P.borderRightWidth, 10), U = parseInt(P.borderBottomWidth, 10), z = 0, V = 0, H = "offsetWidth" in I ? I.offsetWidth - I.clientWidth - j - Z : 0, G = "offsetHeight" in I ? I.offsetHeight - I.clientHeight - B - U : 0; if (d === I) (z = "start" === o ? A : "end" === o ? A - h : "nearest" === o ? i(y, y + h, h, B, U, y + A, y + A + b, b) : A - h / 2), (V = "start" === s ? k : "center" === s ? k - m / 2 : "end" === s ? k - m : i(v, v + m, m, j, Z, v + k, v + k + E, E)), (z = Math.max(0, z + y)), (V = Math.max(0, V + v)); else { (z = "start" === o ? A - N - B : "end" === o ? A - L + U + G : "nearest" === o ? i(N, L, F, B, U + G, A, A + b, b) : A - (N + F / 2) + G / 2), (V = "start" === s ? k - M - j : "center" === s ? k - (M + x / 2) + H / 2 : "end" === s ? k - R + Z + H : i(M, R, x, j, Z + H, k, k + E, E)); var W = I.scrollLeft, Q = I.scrollTop; (A += Q - (z = Math.max(0, Math.min(Q + z, I.scrollHeight - F + G)))), (k += W - (V = Math.max(0, Math.min(W + V, I.scrollWidth - x + H)))); } _.push({ el: I, top: z, left: V }); } return _; }; }, 62500: function (e, t, n) { var r; (r = void 0 !== n.g ? n.g : this), (e.exports = (function (e) { if (e.CSS && e.CSS.escape) return e.CSS.escape; var t = function (e) { if (0 == arguments.length) throw new TypeError("`CSS.escape` requires an argument."); for (var t, n = String(e), r = n.length, o = -1, a = "", i = n.charCodeAt(0); ++o < r; ) 0 != (t = n.charCodeAt(o)) ? (a += (t >= 1 && t <= 31) || 127 == t || (0 == o && t >= 48 && t <= 57) || (1 == o && t >= 48 && t <= 57 && 45 == i) ? "\\" + t.toString(16) + " " : (0 == o && 1 == r && 45 == t) || !(t >= 128 || 45 == t || 95 == t || (t >= 48 && t <= 57) || (t >= 65 && t <= 90) || (t >= 97 && t <= 122)) ? "\\" + n.charAt(o) : n.charAt(o)) : (a += "�"); return a; }; return e.CSS || (e.CSS = {}), (e.CSS.escape = t), t; })(r)); }, 33012: (e, t, n) => { "use strict"; var r; function o(e) { return ( (o = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (e) { return typeof e; } : function (e) { return e && "function" == typeof Symbol && e.constructor === Symbol && e !== Symbol.prototype ? "symbol" : typeof e; }), o(e) ); } !(function (a) { var i, s, c, l = arguments, u = ((i = /d{1,4}|D{3,4}|m{1,4}|yy(?:yy)?|([HhMsTt])\1?|W{1,2}|[LlopSZN]|"[^"]*"|'[^']*'/g), (s = /\b(?:[PMCEA][SDP]T|(?:Pacific|Mountain|Central|Eastern|Atlantic) (?:Standard|Daylight|Prevailing) Time|(?:GMT|UTC)(?:[-+]\d{4})?)\b/g), (c = /[^-+\dA-Z]/g), function (e, t, n, r) { if ((1 !== l.length || "string" !== h(e) || /\d/.test(e) || ((t = e), (e = void 0)), (e = e || 0 === e ? e : new Date()) instanceof Date || (e = new Date(e)), isNaN(e))) throw TypeError("Invalid date"); var o = (t = String(u.masks[t] || t || u.masks.default)).slice(0, 4); ("UTC:" !== o && "GMT:" !== o) || ((t = t.slice(4)), (n = !0), "GMT:" === o && (r = !0)); var a = function () { return n ? "getUTC" : "get"; }, v = function () { return e[a() + "Date"](); }, y = function () { return e[a() + "Day"](); }, g = function () { return e[a() + "Month"](); }, b = function () { return e[a() + "FullYear"](); }, E = function () { return e[a() + "Hours"](); }, D = function () { return e[a() + "Minutes"](); }, C = function () { return e[a() + "Seconds"](); }, w = function () { return e[a() + "Milliseconds"](); }, S = function () { return n ? 0 : e.getTimezoneOffset(); }, A = function () { return f(e); }, k = { d: function () { return v(); }, dd: function () { return d(v()); }, ddd: function () { return u.i18n.dayNames[y()]; }, DDD: function () { return p({ y: b(), m: g(), d: v(), _: a(), dayName: u.i18n.dayNames[y()], short: !0 }); }, dddd: function () { return u.i18n.dayNames[y() + 7]; }, DDDD: function () { return p({ y: b(), m: g(), d: v(), _: a(), dayName: u.i18n.dayNames[y() + 7] }); }, m: function () { return g() + 1; }, mm: function () { return d(g() + 1); }, mmm: function () { return u.i18n.monthNames[g()]; }, mmmm: function () { return u.i18n.monthNames[g() + 12]; }, yy: function () { return String(b()).slice(2); }, yyyy: function () { return d(b(), 4); }, h: function () { return E() % 12 || 12; }, hh: function () { return d(E() % 12 || 12); }, H: function () { return E(); }, HH: function () { return d(E()); }, M: function () { return D(); }, MM: function () { return d(D()); }, s: function () { return C(); }, ss: function () { return d(C()); }, l: function () { return d(w(), 3); }, L: function () { return d(Math.floor(w() / 10)); }, t: function () { return E() < 12 ? u.i18n.timeNames[0] : u.i18n.timeNames[1]; }, tt: function () { return E() < 12 ? u.i18n.timeNames[2] : u.i18n.timeNames[3]; }, T: function () { return E() < 12 ? u.i18n.timeNames[4] : u.i18n.timeNames[5]; }, TT: function () { return E() < 12 ? u.i18n.timeNames[6] : u.i18n.timeNames[7]; }, Z: function () { return r ? "GMT" : n ? "UTC" : (String(e).match(s) || [""]) .pop() .replace(c, "") .replace(/GMT\+0000/g, "UTC"); }, o: function () { return (S() > 0 ? "-" : "+") + d(100 * Math.floor(Math.abs(S()) / 60) + (Math.abs(S()) % 60), 4); }, p: function () { return (S() > 0 ? "-" : "+") + d(Math.floor(Math.abs(S()) / 60), 2) + ":" + d(Math.floor(Math.abs(S()) % 60), 2); }, S: function () { return ["th", "st", "nd", "rd"][v() % 10 > 3 ? 0 : (((v() % 100) - (v() % 10) != 10) * v()) % 10]; }, W: function () { return A(); }, WW: function () { return d(A()); }, N: function () { return m(e); }, }; return t.replace(i, function (e) { return e in k ? k[e]() : e.slice(1, e.length - 1); }); }); (u.masks = { default: "ddd mmm dd yyyy HH:MM:ss", shortDate: "m/d/yy", paddedShortDate: "mm/dd/yyyy", mediumDate: "mmm d, yyyy", longDate: "mmmm d, yyyy", fullDate: "dddd, mmmm d, yyyy", shortTime: "h:MM TT", mediumTime: "h:MM:ss TT", longTime: "h:MM:ss TT Z", isoDate: "yyyy-mm-dd", isoTime: "HH:MM:ss", isoDateTime: "yyyy-mm-dd'T'HH:MM:sso", isoUtcDateTime: "UTC:yyyy-mm-dd'T'HH:MM:ss'Z'", expiresHeaderFormat: "ddd, dd mmm yyyy HH:MM:ss Z", }), (u.i18n = { dayNames: ["Sun", "Mon", "Tue", "Wed", "Thu", "Fri", "Sat", "Sunday", "Monday", "Tuesday", "Wednesday", "Thursday", "Friday", "Saturday"], monthNames: ["Jan", "Feb", "Mar", "Apr", "May", "Jun", "Jul", "Aug", "Sep", "Oct", "Nov", "Dec", "January", "February", "March", "April", "May", "June", "July", "August", "September", "October", "November", "December"], timeNames: ["a", "p", "am", "pm", "A", "P", "AM", "PM"], }); var d = function (e, t) { for (e = String(e), t = t || 2; e.length < t; ) e = "0" + e; return e; }, p = function (e) { var t = e.y, n = e.m, r = e.d, o = e._, a = e.dayName, i = e.short, s = void 0 !== i && i, c = new Date(), l = new Date(); l.setDate(l[o + "Date"]() - 1); var u = new Date(); return ( u.setDate(u[o + "Date"]() + 1), c[o + "FullYear"]() === t && c[o + "Month"]() === n && c[o + "Date"]() === r ? s ? "Tdy" : "Today" : l[o + "FullYear"]() === t && l[o + "Month"]() === n && l[o + "Date"]() === r ? s ? "Ysd" : "Yesterday" : u[o + "FullYear"]() === t && u[o + "Month"]() === n && u[o + "Date"]() === r ? s ? "Tmw" : "Tomorrow" : a ); }, f = function (e) { var t = new Date(e.getFullYear(), e.getMonth(), e.getDate()); t.setDate(t.getDate() - ((t.getDay() + 6) % 7) + 3); var n = new Date(t.getFullYear(), 0, 4); n.setDate(n.getDate() - ((n.getDay() + 6) % 7) + 3); var r = t.getTimezoneOffset() - n.getTimezoneOffset(); t.setHours(t.getHours() - r); var o = (t - n) / 6048e5; return 1 + Math.floor(o); }, m = function (e) { var t = e.getDay(); return 0 === t && (t = 7), t; }, h = function (e) { return null === e ? "null" : void 0 === e ? "undefined" : "object" !== o(e) ? o(e) : Array.isArray(e) ? "array" : {}.toString.call(e).slice(8, -1).toLowerCase(); }; void 0 === (r = function () { return u; }.call(t, n, t, e)) || (e.exports = r); })(void 0); }, 58790: (e) => { "use strict"; var t = "%[a-f0-9]{2}", n = new RegExp(t, "gi"), r = new RegExp("(" + t + ")+", "gi"); function o(e, t) { try { return decodeURIComponent(e.join("")); } catch (e) {} if (1 === e.length) return e; t = t || 1; var n = e.slice(0, t), r = e.slice(t); return Array.prototype.concat.call([], o(n), o(r)); } function a(e) { try { return decodeURIComponent(e); } catch (a) { for (var t = e.match(n), r = 1; r < t.length; r++) t = (e = o(t, r).join("")).match(n); return e; } } e.exports = function (e) { if ("string" != typeof e) throw new TypeError("Expected `encodedURI` to be of type `string`, got `" + typeof e + "`"); try { return (e = e.replace(/\+/g, " ")), decodeURIComponent(e); } catch (t) { return (function (e) { for (var t = { "%FE%FF": "��", "%FF%FE": "��" }, n = r.exec(e); n; ) { try { t[n[0]] = decodeURIComponent(n[0]); } catch (e) { var o = a(n[0]); o !== n[0] && (t[n[0]] = o); } n = r.exec(e); } t["%C2"] = "�"; for (var i = Object.keys(t), s = 0; s < i.length; s++) { var c = i[s]; e = e.replace(new RegExp(c, "g"), t[c]); } return e; })(e); } }; }, 64415: (e, t, n) => { "use strict"; var r = n(45931); (t.__esModule = !0), (t.default = function (e) { void 0 === e && (e = (0, o.default)()); try { return e.activeElement; } catch (e) {} }); var o = r(n(43291)); e.exports = t.default; }, 97874: (e, t, n) => { "use strict"; var r = n(45931); (t.__esModule = !0), (t.default = function (e, t) { e.classList ? e.classList.add(t) : (0, o.default)(e, t) || ("string" == typeof e.className ? (e.className = e.className + " " + t) : e.setAttribute("class", ((e.className && e.className.baseVal) || "") + " " + t)); }); var o = r(n(77334)); e.exports = t.default; }, 77334: (e, t) => { "use strict"; (t.__esModule = !0), (t.default = function (e, t) { return e.classList ? !!t && e.classList.contains(t) : -1 !== (" " + (e.className.baseVal || e.className) + " ").indexOf(" " + t + " "); }), (e.exports = t.default); }, 71369: (e, t, n) => { "use strict"; var r = n(45931); (t.__esModule = !0), (t.default = void 0); var o = r(n(97874)); t.addClass = o.default; var a = r(n(29440)); t.removeClass = a.default; var i = r(n(77334)); t.hasClass = i.default; var s = { addClass: o.default, removeClass: a.default, hasClass: i.default }; t.default = s; }, 29440: (e) => { "use strict"; function t(e, t) { return e .replace(new RegExp("(^|\\s)" + t + "(?:\\s|$)", "g"), "$1") .replace(/\s+/g, " ") .replace(/^\s*|\s*$/g, ""); } e.exports = function (e, n) { e.classList ? e.classList.remove(n) : "string" == typeof e.className ? (e.className = t(e.className, n)) : e.setAttribute("class", t((e.className && e.className.baseVal) || "", n)); }; }, 60625: (e, t, n) => { "use strict"; var r = n(45931); (t.__esModule = !0), (t.default = void 0); var o = function () {}; r(n(31991)).default && (o = document.addEventListener ? function (e, t, n, r) { return e.removeEventListener(t, n, r || !1); } : document.attachEvent ? function (e, t, n) { return e.detachEvent("on" + t, n); } : void 0); var a = o; (t.default = a), (e.exports = t.default); }, 94243: (e, t, n) => { "use strict"; var r = n(45931); (t.__esModule = !0), (t.default = void 0); var o = function () {}; r(n(31991)).default && (o = document.addEventListener ? function (e, t, n, r) { return e.addEventListener(t, n, r || !1); } : document.attachEvent ? function (e, t, n) { return e.attachEvent("on" + t, function (t) { ((t = t || window.event).target = t.target || t.srcElement), (t.currentTarget = e), n.call(e, t); }); } : void 0); var a = o; (t.default = a), (e.exports = t.default); }, 61145: (e) => { function t() { return ( (e.exports = t = Object.assign || function (e) { for (var t = 1; t < arguments.length; t++) { var n = arguments[t]; for (var r in n) Object.prototype.hasOwnProperty.call(n, r) && (e[r] = n[r]); } return e; }), t.apply(this, arguments) ); } e.exports = t; }, 45931: (e) => { e.exports = function (e) { return e && e.__esModule ? e : { default: e }; }; }, 43291: (e, t) => { "use strict"; (t.__esModule = !0), (t.default = function (e) { return (e && e.ownerDocument) || document; }), (e.exports = t.default); }, 8531: (e, t, n) => { "use strict"; var r = n(45931); (t.__esModule = !0), (t.default = function (e, t, n) { for (; e && (a(e) || !(0, o.default)(e, t)); ) e = e === n || a(e) ? void 0 : e.parentNode; return e; }); var o = r(n(60142)), a = function (e) { return null != e && e.nodeType === e.DOCUMENT_NODE; }; e.exports = t.default; }, 59114: (e, t, n) => { "use strict"; var r = n(45931); (t.__esModule = !0), (t.default = void 0); var o = r(n(31991)).default ? function (e, t) { return e.contains ? e.contains(t) : e.compareDocumentPosition ? e === t || !!(16 & e.compareDocumentPosition(t)) : a(e, t); } : a; function a(e, t) { if (t) do { if (t === e) return !0; } while ((t = t.parentNode)); return !1; } (t.default = o), (e.exports = t.default); }, 57712: (e, t) => { "use strict"; (t.__esModule = !0), (t.default = function (e) { return e === e.window ? e : 9 === e.nodeType && (e.defaultView || e.parentWindow); }), (e.exports = t.default); }, 60142: (e, t, n) => { "use strict"; var r = n(45931); (t.__esModule = !0), (t.default = function (e, t) { if (!o && a.default) { var n = document.body, r = n.matches || n.matchesSelector || n.webkitMatchesSelector || n.mozMatchesSelector || n.msMatchesSelector; o = r ? function (e, t) { return r.call(e, t); } : s; } return o ? o(e, t) : null; }); var o, a = r(n(31991)), i = r(n(14702)); function s(e, t) { for (var n = (0, i.default)(e.document || e.ownerDocument, t), r = 0; n[r] && n[r] !== e; ) r++; return !!n[r]; } e.exports = t.default; }, 23274: (e, t, n) => { "use strict"; var r = n(45931); (t.__esModule = !0), (t.default = function (e) { var t = (0, i.default)(e), n = (0, a.default)(t), r = t && t.documentElement, s = { top: 0, left: 0, height: 0, width: 0 }; if (t) return (0, o.default)(r, e) ? (void 0 !== e.getBoundingClientRect && (s = e.getBoundingClientRect()), { top: s.top + (n.pageYOffset || r.scrollTop) - (r.clientTop || 0), left: s.left + (n.pageXOffset || r.scrollLeft) - (r.clientLeft || 0), width: (null == s.width ? e.offsetWidth : s.width) || 0, height: (null == s.height ? e.offsetHeight : s.height) || 0, }) : s; }); var o = r(n(59114)), a = r(n(57712)), i = r(n(43291)); e.exports = t.default; }, 63066: (e, t, n) => { "use strict"; var r = n(45931); (t.__esModule = !0), (t.default = function (e) { for (var t = (0, o.default)(e), n = e && e.offsetParent; n && "html" !== i(e) && "static" === (0, a.default)(n, "position"); ) n = n.offsetParent; return n || t.documentElement; }); var o = r(n(43291)), a = r(n(90638)); function i(e) { return e.nodeName && e.nodeName.toLowerCase(); } e.exports = t.default; }, 52788: (e, t, n) => { "use strict"; var r = n(45931); (t.__esModule = !0), (t.default = function (e, t) { var n, r = { top: 0, left: 0 }; return ( "fixed" === (0, l.default)(e, "position") ? (n = e.getBoundingClientRect()) : ((t = t || (0, i.default)(e)), (n = (0, a.default)(e)), "html" !== (function (e) { return e.nodeName && e.nodeName.toLowerCase(); })(t) && (r = (0, a.default)(t)), (r.top += parseInt((0, l.default)(t, "borderTopWidth"), 10) - (0, s.default)(t) || 0), (r.left += parseInt((0, l.default)(t, "borderLeftWidth"), 10) - (0, c.default)(t) || 0)), (0, o.default)({}, n, { top: n.top - r.top - (parseInt((0, l.default)(e, "marginTop"), 10) || 0), left: n.left - r.left - (parseInt((0, l.default)(e, "marginLeft"), 10) || 0) }) ); }); var o = r(n(61145)), a = r(n(23274)), i = r(n(63066)), s = r(n(87792)), c = r(n(55878)), l = r(n(90638)); e.exports = t.default; }, 14702: (e, t) => { "use strict"; (t.__esModule = !0), (t.default = function (e, t) { var o, a = "#" === t[0], i = "." === t[0], s = a || i ? t.slice(1) : t; return n.test(s) ? (a ? ((o = (e = e.getElementById ? e : document).getElementById(s)) ? [o] : []) : e.getElementsByClassName && i ? r(e.getElementsByClassName(s)) : r(e.getElementsByTagName(t))) : r(e.querySelectorAll(t)); }); var n = /^[\w-]*$/, r = Function.prototype.bind.call(Function.prototype.call, [].slice); e.exports = t.default; }, 55878: (e, t, n) => { "use strict"; var r = n(45931); (t.__esModule = !0), (t.default = function (e, t) { var n = (0, o.default)(e); if (void 0 === t) return n ? ("pageXOffset" in n ? n.pageXOffset : n.document.documentElement.scrollLeft) : e.scrollLeft; n ? n.scrollTo(t, "pageYOffset" in n ? n.pageYOffset : n.document.documentElement.scrollTop) : (e.scrollLeft = t); }); var o = r(n(57712)); e.exports = t.default; }, 87792: (e, t, n) => { "use strict"; var r = n(45931); (t.__esModule = !0), (t.default = function (e, t) { var n = (0, o.default)(e); if (void 0 === t) return n ? ("pageYOffset" in n ? n.pageYOffset : n.document.documentElement.scrollTop) : e.scrollTop; n ? n.scrollTo("pageXOffset" in n ? n.pageXOffset : n.document.documentElement.scrollLeft, t) : (e.scrollTop = t); }); var o = r(n(57712)); e.exports = t.default; }, 89333: (e, t, n) => { "use strict"; var r = n(45931); (t.__esModule = !0), (t.default = function (e) { if (!e) throw new TypeError("No Element passed to `getComputedStyle()`"); var t = e.ownerDocument; return "defaultView" in t ? t.defaultView.opener ? e.ownerDocument.defaultView.getComputedStyle(e, null) : window.getComputedStyle(e, null) : { getPropertyValue: function (t) { var n = e.style; "float" == (t = (0, o.default)(t)) && (t = "styleFloat"); var r = e.currentStyle[t] || null; if ((null == r && n && n[t] && (r = n[t]), i.test(r) && !a.test(t))) { var s = n.left, c = e.runtimeStyle, l = c && c.left; l && (c.left = e.currentStyle.left), (n.left = "fontSize" === t ? "1em" : r), (r = n.pixelLeft + "px"), (n.left = s), l && (c.left = l); } return r; }, }; }); var o = r(n(9310)), a = /^(top|right|bottom|left)$/, i = /^([+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|))(?!px)[a-z%]+$/i; e.exports = t.default; }, 90638: (e, t, n) => { "use strict"; var r = n(45931); (t.__esModule = !0), (t.default = function (e, t, n) { var r = "", u = "", d = t; if ("string" == typeof t) { if (void 0 === n) return e.style[(0, o.default)(t)] || (0, i.default)(e).getPropertyValue((0, a.default)(t)); (d = {})[t] = n; } Object.keys(d).forEach(function (t) { var n = d[t]; n || 0 === n ? ((0, l.default)(t) ? (u += t + "(" + n + ") ") : (r += (0, a.default)(t) + ": " + n + ";")) : (0, s.default)(e, (0, a.default)(t)); }), u && (r += c.transform + ": " + u + ";"), (e.style.cssText += ";" + r); }); var o = r(n(9310)), a = r(n(51657)), i = r(n(89333)), s = r(n(87036)), c = n(96941), l = r(n(13782)); e.exports = t.default; }, 87036: (e, t) => { "use strict"; (t.__esModule = !0), (t.default = function (e, t) { return "removeProperty" in e.style ? e.style.removeProperty(t) : e.style.removeAttribute(t); }), (e.exports = t.default); }, 13782: (e, t) => { "use strict"; (t.__esModule = !0), (t.default = function (e) { return !(!e || !n.test(e)); }); var n = /^((translate|rotate|scale)(X|Y|Z|3d)?|matrix(3d)?|perspective|skew(X|Y)?)$/i; e.exports = t.default; }, 96941: (e, t, n) => { "use strict"; var r = n(45931); (t.__esModule = !0), (t.default = t.animationEnd = t.animationDelay = t.animationTiming = t.animationDuration = t.animationName = t.transitionEnd = t.transitionDuration = t.transitionDelay = t.transitionTiming = t.transitionProperty = t.transform = void 0); var o, a, i, s, c, l, u, d, p, f, m, h = r(n(31991)), v = "transform"; if ( ((t.transform = v), (t.animationEnd = i), (t.transitionEnd = a), (t.transitionDelay = u), (t.transitionTiming = l), (t.transitionDuration = c), (t.transitionProperty = s), (t.animationDelay = m), (t.animationTiming = f), (t.animationDuration = p), (t.animationName = d), h.default) ) { var y = (function () { for ( var e, t, n = document.createElement("div").style, r = { O: function (e) { return "o" + e.toLowerCase(); }, Moz: function (e) { return e.toLowerCase(); }, Webkit: function (e) { return "webkit" + e; }, ms: function (e) { return "MS" + e; }, }, o = Object.keys(r), a = "", i = 0; i < o.length; i++ ) { var s = o[i]; if (s + "TransitionProperty" in n) { (a = "-" + s.toLowerCase()), (e = r[s]("TransitionEnd")), (t = r[s]("AnimationEnd")); break; } } return !e && "transitionProperty" in n && (e = "transitionend"), !t && "animationName" in n && (t = "animationend"), (n = null), { animationEnd: t, transitionEnd: e, prefix: a }; })(); (o = y.prefix), (t.transitionEnd = a = y.transitionEnd), (t.animationEnd = i = y.animationEnd), (t.transform = v = o + "-" + v), (t.transitionProperty = s = o + "-transition-property"), (t.transitionDuration = c = o + "-transition-duration"), (t.transitionDelay = u = o + "-transition-delay"), (t.transitionTiming = l = o + "-transition-timing-function"), (t.animationName = d = o + "-animation-name"), (t.animationDuration = p = o + "-animation-duration"), (t.animationTiming = f = o + "-animation-delay"), (t.animationDelay = m = o + "-animation-timing-function"); } var g = { transform: v, end: a, property: s, timing: l, delay: u, duration: c }; t.default = g; }, 92637: (e, t) => { "use strict"; (t.__esModule = !0), (t.default = function (e) { return e.replace(n, function (e, t) { return t.toUpperCase(); }); }); var n = /-(.)/g; e.exports = t.default; }, 9310: (e, t, n) => { "use strict"; var r = n(45931); (t.__esModule = !0), (t.default = function (e) { return (0, o.default)(e.replace(a, "ms-")); }); var o = r(n(92637)), a = /^-ms-/; e.exports = t.default; }, 41044: (e, t) => { "use strict"; (t.__esModule = !0), (t.default = function (e) { return e.replace(n, "-$1").toLowerCase(); }); var n = /([A-Z])/g; e.exports = t.default; }, 51657: (e, t, n) => { "use strict"; var r = n(45931); (t.__esModule = !0), (t.default = function (e) { return (0, o.default)(e).replace(a, "-ms-"); }); var o = r(n(41044)), a = /^ms-/; e.exports = t.default; }, 31991: (e, t) => { "use strict"; (t.__esModule = !0), (t.default = void 0); var n = !("undefined" == typeof window || !window.document || !window.document.createElement); (t.default = n), (e.exports = t.default); }, 97597: (e, t, n) => { "use strict"; var r = n(45931); (t.__esModule = !0), (t.default = function (e) { if (((!o && 0 !== o) || e) && a.default) { var t = document.createElement("div"); (t.style.position = "absolute"), (t.style.top = "-9999px"), (t.style.width = "50px"), (t.style.height = "50px"), (t.style.overflow = "scroll"), document.body.appendChild(t), (o = t.offsetWidth - t.clientWidth), document.body.removeChild(t); } return o; }); var o, a = r(n(31991)); e.exports = t.default; }, 45232: function (e) { e.exports = (function () { "use strict"; var e = Object.hasOwnProperty, t = Object.setPrototypeOf, n = Object.isFrozen, r = Object.getPrototypeOf, o = Object.getOwnPropertyDescriptor, a = Object.freeze, i = Object.seal, s = Object.create, c = "undefined" != typeof Reflect && Reflect, l = c.apply, u = c.construct; l || (l = function (e, t, n) { return e.apply(t, n); }), a || (a = function (e) { return e; }), i || (i = function (e) { return e; }), u || (u = function (e, t) { return new (Function.prototype.bind.apply( e, [null].concat( (function (e) { if (Array.isArray(e)) { for (var t = 0, n = Array(e.length); t < e.length; t++) n[t] = e[t]; return n; } return Array.from(e); })(t) ) ))(); }); var d, p = C(Array.prototype.forEach), f = C(Array.prototype.pop), m = C(Array.prototype.push), h = C(String.prototype.toLowerCase), v = C(String.prototype.match), y = C(String.prototype.replace), g = C(String.prototype.indexOf), b = C(String.prototype.trim), E = C(RegExp.prototype.test), D = ((d = TypeError), function () { for (var e = arguments.length, t = Array(e), n = 0; n < e; n++) t[n] = arguments[n]; return u(d, t); }); function C(e) { return function (t) { for (var n = arguments.length, r = Array(n > 1 ? n - 1 : 0), o = 1; o < n; o++) r[o - 1] = arguments[o]; return l(e, t, r); }; } function w(e, r) { t && t(e, null); for (var o = r.length; o--; ) { var a = r[o]; if ("string" == typeof a) { var i = h(a); i !== a && (n(r) || (r[o] = i), (a = i)); } e[a] = !0; } return e; } function S(t) { var n = s(null), r = void 0; for (r in t) l(e, t, [r]) && (n[r] = t[r]); return n; } function A(e, t) { for (; null !== e; ) { var n = o(e, t); if (n) { if (n.get) return C(n.get); if ("function" == typeof n.value) return C(n.value); } e = r(e); } return function (e) { return console.warn("fallback value for", e), null; }; } var k = a([ "a", "abbr", "acronym", "address", "area", "article", "aside", "audio", "b", "bdi", "bdo", "big", "blink", "blockquote", "body", "br", "button", "canvas", "caption", "center", "cite", "code", "col", "colgroup", "content", "data", "datalist", "dd", "decorator", "del", "details", "dfn", "dialog", "dir", "div", "dl", "dt", "element", "em", "fieldset", "figcaption", "figure", "font", "footer", "form", "h1", "h2", "h3", "h4", "h5", "h6", "head", "header", "hgroup", "hr", "html", "i", "img", "input", "ins", "kbd", "label", "legend", "li", "main", "map", "mark", "marquee", "menu", "menuitem", "meter", "nav", "nobr", "ol", "optgroup", "option", "output", "p", "picture", "pre", "progress", "q", "rp", "rt", "ruby", "s", "samp", "section", "select", "shadow", "small", "source", "spacer", "span", "strike", "strong", "style", "sub", "summary", "sup", "table", "tbody", "td", "template", "textarea", "tfoot", "th", "thead", "time", "tr", "track", "tt", "u", "ul", "var", "video", "wbr", ]), _ = a([ "svg", "a", "altglyph", "altglyphdef", "altglyphitem", "animatecolor", "animatemotion", "animatetransform", "circle", "clippath", "defs", "desc", "ellipse", "filter", "font", "g", "glyph", "glyphref", "hkern", "image", "line", "lineargradient", "marker", "mask", "metadata", "mpath", "path", "pattern", "polygon", "polyline", "radialgradient", "rect", "stop", "style", "switch", "symbol", "text", "textpath", "title", "tref", "tspan", "view", "vkern", ]), T = a([ "feBlend", "feColorMatrix", "feComponentTransfer", "feComposite", "feConvolveMatrix", "feDiffuseLighting", "feDisplacementMap", "feDistantLight", "feFlood", "feFuncA", "feFuncB", "feFuncG", "feFuncR", "feGaussianBlur", "feImage", "feMerge", "feMergeNode", "feMorphology", "feOffset", "fePointLight", "feSpecularLighting", "feSpotLight", "feTile", "feTurbulence", ]), I = a([ "animate", "color-profile", "cursor", "discard", "fedropshadow", "font-face", "font-face-format", "font-face-name", "font-face-src", "font-face-uri", "foreignobject", "hatch", "hatchpath", "mesh", "meshgradient", "meshpatch", "meshrow", "missing-glyph", "script", "set", "solidcolor", "unknown", "use", ]), O = a([ "math", "menclose", "merror", "mfenced", "mfrac", "mglyph", "mi", "mlabeledtr", "mmultiscripts", "mn", "mo", "mover", "mpadded", "mphantom", "mroot", "mrow", "ms", "mspace", "msqrt", "mstyle", "msub", "msup", "msubsup", "mtable", "mtd", "mtext", "mtr", "munder", "munderover", ]), F = a(["maction", "maligngroup", "malignmark", "mlongdiv", "mscarries", "mscarry", "msgroup", "mstack", "msline", "msrow", "semantics", "annotation", "annotation-xml", "mprescripts", "none"]), x = a(["#text"]), N = a([ "accept", "action", "align", "alt", "autocapitalize", "autocomplete", "autopictureinpicture", "autoplay", "background", "bgcolor", "border", "capture", "cellpadding", "cellspacing", "checked", "cite", "class", "clear", "color", "cols", "colspan", "controls", "controlslist", "coords", "crossorigin", "datetime", "decoding", "default", "dir", "disabled", "disablepictureinpicture", "disableremoteplayback", "download", "draggable", "enctype", "enterkeyhint", "face", "for", "headers", "height", "hidden", "high", "href", "hreflang", "id", "inputmode", "integrity", "ismap", "kind", "label", "lang", "list", "loading", "loop", "low", "max", "maxlength", "media", "method", "min", "minlength", "multiple", "muted", "name", "nonce", "noshade", "novalidate", "nowrap", "open", "optimum", "pattern", "placeholder", "playsinline", "poster", "preload", "pubdate", "radiogroup", "readonly", "rel", "required", "rev", "reversed", "role", "rows", "rowspan", "spellcheck", "scope", "selected", "shape", "size", "sizes", "span", "srclang", "start", "src", "srcset", "step", "style", "summary", "tabindex", "title", "translate", "type", "usemap", "valign", "value", "width", "xmlns", "slot", ]), R = a([ "accent-height", "accumulate", "additive", "alignment-baseline", "ascent", "attributename", "attributetype", "azimuth", "basefrequency", "baseline-shift", "begin", "bias", "by", "class", "clip", "clippathunits", "clip-path", "clip-rule", "color", "color-interpolation", "color-interpolation-filters", "color-profile", "color-rendering", "cx", "cy", "d", "dx", "dy", "diffuseconstant", "direction", "display", "divisor", "dur", "edgemode", "elevation", "end", "fill", "fill-opacity", "fill-rule", "filter", "filterunits", "flood-color", "flood-opacity", "font-family", "font-size", "font-size-adjust", "font-stretch", "font-style", "font-variant", "font-weight", "fx", "fy", "g1", "g2", "glyph-name", "glyphref", "gradientunits", "gradienttransform", "height", "href", "id", "image-rendering", "in", "in2", "k", "k1", "k2", "k3", "k4", "kerning", "keypoints", "keysplines", "keytimes", "lang", "lengthadjust", "letter-spacing", "kernelmatrix", "kernelunitlength", "lighting-color", "local", "marker-end", "marker-mid", "marker-start", "markerheight", "markerunits", "markerwidth", "maskcontentunits", "maskunits", "max", "mask", "media", "method", "mode", "min", "name", "numoctaves", "offset", "operator", "opacity", "order", "orient", "orientation", "origin", "overflow", "paint-order", "path", "pathlength", "patterncontentunits", "patterntransform", "patternunits", "points", "preservealpha", "preserveaspectratio", "primitiveunits", "r", "rx", "ry", "radius", "refx", "refy", "repeatcount", "repeatdur", "restart", "result", "rotate", "scale", "seed", "shape-rendering", "specularconstant", "specularexponent", "spreadmethod", "startoffset", "stddeviation", "stitchtiles", "stop-color", "stop-opacity", "stroke-dasharray", "stroke-dashoffset", "stroke-linecap", "stroke-linejoin", "stroke-miterlimit", "stroke-opacity", "stroke", "stroke-width", "style", "surfacescale", "systemlanguage", "tabindex", "targetx", "targety", "transform", "text-anchor", "text-decoration", "text-rendering", "textlength", "type", "u1", "u2", "unicode", "values", "viewbox", "visibility", "version", "vert-adv-y", "vert-origin-x", "vert-origin-y", "width", "word-spacing", "wrap", "writing-mode", "xchannelselector", "ychannelselector", "x", "x1", "x2", "xmlns", "y", "y1", "y2", "z", "zoomandpan", ]), L = a([ "accent", "accentunder", "align", "bevelled", "close", "columnsalign", "columnlines", "columnspan", "denomalign", "depth", "dir", "display", "displaystyle", "encoding", "fence", "frame", "height", "href", "id", "largeop", "length", "linethickness", "lspace", "lquote", "mathbackground", "mathcolor", "mathsize", "mathvariant", "maxsize", "minsize", "movablelimits", "notation", "numalign", "open", "rowalign", "rowlines", "rowspacing", "rowspan", "rspace", "rquote", "scriptlevel", "scriptminsize", "scriptsizemultiplier", "selection", "separator", "separators", "stretchy", "subscriptshift", "supscriptshift", "symmetric", "voffset", "width", "xmlns", ]), M = a(["xlink:href", "xml:id", "xlink:title", "xml:space", "xmlns:xlink"]), P = i(/\{\{[\s\S]*|[\s\S]*\}\}/gm), j = i(/<%[\s\S]*|[\s\S]*%>/gm), B = i(/^data-[\-\w.\u00B7-\uFFFF]/), Z = i(/^aria-[\-\w]+$/), U = i(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|cid|xmpp):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i), z = i(/^(?:\w+script|data):/i), V = i(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g), H = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (e) { return typeof e; } : function (e) { return e && "function" == typeof Symbol && e.constructor === Symbol && e !== Symbol.prototype ? "symbol" : typeof e; }; function G(e) { if (Array.isArray(e)) { for (var t = 0, n = Array(e.length); t < e.length; t++) n[t] = e[t]; return n; } return Array.from(e); } var W = function () { return "undefined" == typeof window ? null : window; }; return (function e() { var t = arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : W(), n = function (t) { return e(t); }; if (((n.version = "2.3.4"), (n.removed = []), !t || !t.document || 9 !== t.document.nodeType)) return (n.isSupported = !1), n; var r = t.document, o = t.document, i = t.DocumentFragment, s = t.HTMLTemplateElement, c = t.Node, l = t.Element, u = t.NodeFilter, d = t.NamedNodeMap, C = void 0 === d ? t.NamedNodeMap || t.MozNamedAttrMap : d, Q = t.HTMLFormElement, J = t.DOMParser, Y = t.trustedTypes, q = l.prototype, X = A(q, "cloneNode"), K = A(q, "nextSibling"), $ = A(q, "childNodes"), ee = A(q, "parentNode"); if ("function" == typeof s) { var te = o.createElement("template"); te.content && te.content.ownerDocument && (o = te.content.ownerDocument); } var ne = (function (e, t) { if ("object" !== (void 0 === e ? "undefined" : H(e)) || "function" != typeof e.createPolicy) return null; var n = null, r = "data-tt-policy-suffix"; t.currentScript && t.currentScript.hasAttribute(r) && (n = t.currentScript.getAttribute(r)); var o = "dompurify" + (n ? "#" + n : ""); try { return e.createPolicy(o, { createHTML: function (e) { return e; }, }); } catch (e) { return console.warn("TrustedTypes policy " + o + " could not be created."), null; } })(Y, r), re = ne && Le ? ne.createHTML("") : "", oe = o, ae = oe.implementation, ie = oe.createNodeIterator, se = oe.createDocumentFragment, ce = oe.getElementsByTagName, le = r.importNode, ue = {}; try { ue = S(o).documentMode ? o.documentMode : {}; } catch (e) {} var de = {}; n.isSupported = "function" == typeof ee && ae && void 0 !== ae.createHTMLDocument && 9 !== ue; var pe = P, fe = j, me = B, he = Z, ve = z, ye = V, ge = U, be = null, Ee = w({}, [].concat(G(k), G(_), G(T), G(O), G(x))), De = null, Ce = w({}, [].concat(G(N), G(R), G(L), G(M))), we = Object.seal( Object.create(null, { tagNameCheck: { writable: !0, configurable: !1, enumerable: !0, value: null }, attributeNameCheck: { writable: !0, configurable: !1, enumerable: !0, value: null }, allowCustomizedBuiltInElements: { writable: !0, configurable: !1, enumerable: !0, value: !1 }, }) ), Se = null, Ae = null, ke = !0, _e = !0, Te = !1, Ie = !1, Oe = !1, Fe = !1, xe = !1, Ne = !1, Re = !1, Le = !1, Me = !0, Pe = !0, je = !1, Be = {}, Ze = null, Ue = w({}, [ "annotation-xml", "audio", "colgroup", "desc", "foreignobject", "head", "iframe", "math", "mi", "mn", "mo", "ms", "mtext", "noembed", "noframes", "noscript", "plaintext", "script", "style", "svg", "template", "thead", "title", "video", "xmp", ]), ze = null, Ve = w({}, ["audio", "video", "img", "source", "image", "track"]), He = null, Ge = w({}, ["alt", "class", "for", "id", "label", "name", "pattern", "placeholder", "role", "summary", "title", "value", "style", "xmlns"]), We = "http://www.w3.org/1998/Math/MathML", Qe = "http://www.w3.org/2000/svg", Je = "http://www.w3.org/1999/xhtml", Ye = Je, qe = !1, Xe = void 0, Ke = ["application/xhtml+xml", "text/html"], $e = void 0, et = null, tt = o.createElement("form"), nt = function (e) { return e instanceof RegExp || e instanceof Function; }, rt = function (e) { (et && et === e) || ((e && "object" === (void 0 === e ? "undefined" : H(e))) || (e = {}), (e = S(e)), (be = "ALLOWED_TAGS" in e ? w({}, e.ALLOWED_TAGS) : Ee), (De = "ALLOWED_ATTR" in e ? w({}, e.ALLOWED_ATTR) : Ce), (He = "ADD_URI_SAFE_ATTR" in e ? w(S(Ge), e.ADD_URI_SAFE_ATTR) : Ge), (ze = "ADD_DATA_URI_TAGS" in e ? w(S(Ve), e.ADD_DATA_URI_TAGS) : Ve), (Ze = "FORBID_CONTENTS" in e ? w({}, e.FORBID_CONTENTS) : Ue), (Se = "FORBID_TAGS" in e ? w({}, e.FORBID_TAGS) : {}), (Ae = "FORBID_ATTR" in e ? w({}, e.FORBID_ATTR) : {}), (Be = "USE_PROFILES" in e && e.USE_PROFILES), (ke = !1 !== e.ALLOW_ARIA_ATTR), (_e = !1 !== e.ALLOW_DATA_ATTR), (Te = e.ALLOW_UNKNOWN_PROTOCOLS || !1), (Ie = e.SAFE_FOR_TEMPLATES || !1), (Oe = e.WHOLE_DOCUMENT || !1), (Ne = e.RETURN_DOM || !1), (Re = e.RETURN_DOM_FRAGMENT || !1), (Le = e.RETURN_TRUSTED_TYPE || !1), (xe = e.FORCE_BODY || !1), (Me = !1 !== e.SANITIZE_DOM), (Pe = !1 !== e.KEEP_CONTENT), (je = e.IN_PLACE || !1), (ge = e.ALLOWED_URI_REGEXP || ge), (Ye = e.NAMESPACE || Je), e.CUSTOM_ELEMENT_HANDLING && nt(e.CUSTOM_ELEMENT_HANDLING.tagNameCheck) && (we.tagNameCheck = e.CUSTOM_ELEMENT_HANDLING.tagNameCheck), e.CUSTOM_ELEMENT_HANDLING && nt(e.CUSTOM_ELEMENT_HANDLING.attributeNameCheck) && (we.attributeNameCheck = e.CUSTOM_ELEMENT_HANDLING.attributeNameCheck), e.CUSTOM_ELEMENT_HANDLING && "boolean" == typeof e.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements && (we.allowCustomizedBuiltInElements = e.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements), (Xe = Xe = -1 === Ke.indexOf(e.PARSER_MEDIA_TYPE) ? "text/html" : e.PARSER_MEDIA_TYPE), ($e = "application/xhtml+xml" === Xe ? function (e) { return e; } : h), Ie && (_e = !1), Re && (Ne = !0), Be && ((be = w({}, [].concat(G(x)))), (De = []), !0 === Be.html && (w(be, k), w(De, N)), !0 === Be.svg && (w(be, _), w(De, R), w(De, M)), !0 === Be.svgFilters && (w(be, T), w(De, R), w(De, M)), !0 === Be.mathMl && (w(be, O), w(De, L), w(De, M))), e.ADD_TAGS && (be === Ee && (be = S(be)), w(be, e.ADD_TAGS)), e.ADD_ATTR && (De === Ce && (De = S(De)), w(De, e.ADD_ATTR)), e.ADD_URI_SAFE_ATTR && w(He, e.ADD_URI_SAFE_ATTR), e.FORBID_CONTENTS && (Ze === Ue && (Ze = S(Ze)), w(Ze, e.FORBID_CONTENTS)), Pe && (be["#text"] = !0), Oe && w(be, ["html", "head", "body"]), be.table && (w(be, ["tbody"]), delete Se.tbody), a && a(e), (et = e)); }, ot = w({}, ["mi", "mo", "mn", "ms", "mtext"]), at = w({}, ["foreignobject", "desc", "title", "annotation-xml"]), it = w({}, _); w(it, T), w(it, I); var st = w({}, O); w(st, F); var ct = function (e) { m(n.removed, { element: e }); try { e.parentNode.removeChild(e); } catch (t) { try { e.outerHTML = re; } catch (t) { e.remove(); } } }, lt = function (e, t) { try { m(n.removed, { attribute: t.getAttributeNode(e), from: t }); } catch (e) { m(n.removed, { attribute: null, from: t }); } if ((t.removeAttribute(e), "is" === e && !De[e])) if (Ne || Re) try { ct(t); } catch (e) {} else try { t.setAttribute(e, ""); } catch (e) {} }, ut = function (e) { var t = void 0, n = void 0; if (xe) e = "" + e; else { var r = v(e, /^[\r\n\t ]+/); n = r && r[0]; } "application/xhtml+xml" === Xe && (e = '' + e + ""); var a = ne ? ne.createHTML(e) : e; if (Ye === Je) try { t = new J().parseFromString(a, Xe); } catch (e) {} if (!t || !t.documentElement) { t = ae.createDocument(Ye, "template", null); try { t.documentElement.innerHTML = qe ? "" : a; } catch (e) {} } var i = t.body || t.documentElement; return e && n && i.insertBefore(o.createTextNode(n), i.childNodes[0] || null), Ye === Je ? ce.call(t, Oe ? "html" : "body")[0] : Oe ? t.documentElement : i; }, dt = function (e) { return ie.call(e.ownerDocument || e, e, u.SHOW_ELEMENT | u.SHOW_COMMENT | u.SHOW_TEXT, null, !1); }, pt = function (e) { return "object" === (void 0 === c ? "undefined" : H(c)) ? e instanceof c : e && "object" === (void 0 === e ? "undefined" : H(e)) && "number" == typeof e.nodeType && "string" == typeof e.nodeName; }, ft = function (e, t, r) { de[e] && p(de[e], function (e) { e.call(n, t, r, et); }); }, mt = function (e) { var t, r = void 0; if ( (ft("beforeSanitizeElements", e, null), (t = e) instanceof Q && ("string" != typeof t.nodeName || "string" != typeof t.textContent || "function" != typeof t.removeChild || !(t.attributes instanceof C) || "function" != typeof t.removeAttribute || "function" != typeof t.setAttribute || "string" != typeof t.namespaceURI || "function" != typeof t.insertBefore)) ) return ct(e), !0; if (v(e.nodeName, /[\u0080-\uFFFF]/)) return ct(e), !0; var o = $e(e.nodeName); if ((ft("uponSanitizeElement", e, { tagName: o, allowedTags: be }), !pt(e.firstElementChild) && (!pt(e.content) || !pt(e.content.firstElementChild)) && E(/<[/\w]/g, e.innerHTML) && E(/<[/\w]/g, e.textContent))) return ct(e), !0; if ("select" === o && E(/