PageSourceSearch

https://static.snap.untapped.gg/_next/static/chunks/5832-c8ab61e6fc4834c7.js

js untapped.gg collected 2026-10-01 14:08:41 UTC 13,220 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[5832],{14367:function(t,n,e){var i=e(85893),r=e(27891),o=e(67602),a=e(19041),l=e(60824),d=e(57888),c=e(74990),s=e(98701),u=e(67294),f=e(10615),p=e(59016);function g(t,n){(null==n||n>t.length)&&(n=t.length);for(var e=0,i=new Array(n);e<n;e++)i[e]=t[e];return i}function x(t,n){return n||(n=t.slice(0)),Object.freeze(Object.defineProperties(t,{raw:{value:Object.freeze(n)}}))}function h(t){return function(t){if(Array.isArray(t))return g(t)}(t)||function(t){if("undefined"!==typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||function(t,n){if(!t)return;if("string"===typeof t)return g(t,n);var e=Object.prototype.toString.call(t).slice(8,-1);"Object"===e&&t.constructor&&(e=t.constructor.name);if("Map"===e||"Set"===e)return Array.from(e);if("Arguments"===e||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(e))return g(t,n)}(t)||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(){var t=x(["\n\tpadding-top: 12px;\n\tdisplay: flex;\n\tjustify-content: center;\n"]);return m=function(){return t},t}function v(){var t=x(["\n\t.dropdown-toggle {\n\t\tmin-width: 210px;\n\n\t\t> ul > i {\n\t\t\tborder-bottom: 6px solid #f5f5f5;\n\t\t}\n\t}\n\n\t@media (max-width: 600px) {\n\t\tmax-width: unset;\n\t\tmin-width: unset;\n\t\twidth: 100%;\n\t}\n"]);return v=function(){return t},t}var w=p.ZP.div.withConfig({componentId:"sc-fb745b69-0"})(m()),b=p.ZP.div.withConfig({componentId:"sc-fb745b69-1"})(v()),j=function(t,n){return n?(0,i.jsx)(o.Rk,{children:(0,r.xJ)(t,n)}):(0,i.jsx)(o.Rk,{children:"\u2026"})},y=["Last90DaysNoHotLocation","Last90Days"];n.Z=function(t){var n=t.id,e=t.selected,p=t.onChange,g=t.initialOpen,x=t.inline,m=t.disabled,v=t.hiddenOptions,k=t.analyticsPage,N=(0,u.useRef)(null),I=(0,l.N)("last-7-days-filter"),C=(0,u.useMemo)((function(){return I?h(y).concat(h(null!==v&&void 0!==v?v:[])):h(null!==v&&void 0!==v?v:[]).concat(h(y),["Last7DaysNoHotLocation","Last7Days"])}),[I,v]),M=(0,f.HzF)(600),D=(0,d.kZ)().data,S=(0,a.u)().gameMode,z=(0,c.$)().t,A=(0,r.h7)(D,z),P=(0,i.jsxs)(b,{ref:N,children:[(0,i.jsxs)(f.Z_0,{id:n,display:m?"Disabled":j(z,e),dropdownProps:{inline:x||!!M},initialOpen:g,onOpen:function(){var t;null===(t=N.current)||void 0===t||t.scrollIntoView({behavior:"auto",block:"nearest"})},locked:m,children:[(0,i.jsx)(o.NF,{children:(0,i.jsx)("span",{children:z("Filter by the Time Range in which the game was played in.")})}),Object.keys("ranked"===S?r.uD:r.Mg).filter((function(t){return!(null===C||void 0===C?void 0:C.includes(t))})).map((function(t){var n=t,o=e===t,a=(0,r.nq)(D,n,I);return(0,i.jsx)(f.ua7,{data:A[n],position:"right",variant:"borderless",children:(0,i.jsx)(f.hP3,{active:o,onClick:function(){null===p||void 0===p||p(n),s.rk.onFilterChange()},disabled:a,radio:!0,premiumLockIcon:!0,"data-analytics-label":s.ZP.getAnalyticsLabel(k,t.toString(),"date-filter"),className:o?"active":void 0,children:(0,r.xJ)(z,n)})},t)}))]}),M&&e&&A[e]?(0,i.jsx)(w,{children:(0,i.jsx)(o.j_,{children:A[e]})}):null]});return e&&A[e]?(0,i.jsx)(f.ua7,{data:A[e],position:"top",variant:"borderless",children:P}):P}},49442:function(t,n,e){var i=e(85893),r=e(74990),o=e(67294),a=e(10615),l=e(59016);function d(t,n){return n||(n=t.slice(0)),Object.freeze(Object.defineProperties(t,{raw:{value:Object.freeze(n)}}))}function c(){var t=d(["\n\tdisplay: flex;\n\tflex-direction: column;\n\twidth: 100%;\n"]);return c=function(){return t},t}function s(){var t=d(['\n\t// Background color for items following the label.\n\t// Primarily the ghost buttons.\n\tlabel + * {\n\t\tbackground: #19171c;\n\t\tborder-radius: 3px;\n\t}\n\n\t// Custom style for disabled buttons.\n\t// The default one is too visually distacting here.\n\t.button[disabled] {\n\t\tbackground: rgba(255, 255, 255, 0.08);\n\t\tborder: 1px solid rgba(255, 255, 255, 0.25);\n\t}\n\n\t@keyframes shake {\n\t\t0% {\n\t\t\ttransform: rotate(0deg);\n\t\t}\n\t\t33% {\n\t\t\ttransform: rotate(-10deg);\n\t\t}\n\t\t66% {\n\t\t\ttransform: rotate(10deg);\n\t\t}\n\t\t100% {\n\t\t\ttransform: rotate(0deg);\n\t\t}\n\t}\n\n\t.dropdown-toggle {\n\t\theight: 40px;\n\n\t\t> div {\n\t\t\tpadding: 10px 12px;\n\t\t}\n\n\t\tli.premium-hover {\n\t\t\t// Premium items are "locked" and have no pointer events\n\t\t\tpointer-events: all;\n\n\t\t\t&:hover {\n\t\t\t\tbackground: rgba(255, 106, 0, 0.1);\n\t\t\t\tcolor: black;\n\t\t\t\ti {\n\t\t\t\t\tanimation: shake 250ms ease-out;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\n\t\tli.link-hover {\n\t\t\t// Premium items are "locked" and have no pointer events\n\t\t\tpointer-events: all;\n\n\t\t\t&:hover {\n\t\t\t\tbackground: #f4eaff;\n\t\t\t\tcolor: black;\n\t\t\t}\n\t\t}\n\t}\n']);return s=function(){return t},t}function u(){var t=d(["\n\tposition: relative;\n\tdisplay: flex;\n\tflex-direction: column;\n\twidth: 100%;\n\tbackground: rgba(0, 0, 0, 0.7);\n\tpadding: 16px;\n\tborder-radius: 4px;\n\tmargin-top: 16px;\n\n\t@media (max-width: 600px) {\n\t\tdisplay: none;\n\t}\n"]);return u=function(){return t},t}function f(){var t=d(["\n\tdisplay: flex;\n\tflex-direction: row;\n\tjustify-content: flex-start;\n\tgap: 15px;\n\tflex-wrap: wrap;\n"]);return f=function(){return t},t}function p(){var t=d(["\n\tposition: fixed;\n\tbottom: 0;\n\tleft: 0;\n\tdisplay: flex;\n\tflex-direction: column;\n\t// Use % instead of vh to avoid issue with safari viewport\n\theight: 90%;\n\twidth: 100vw;\n\tbackground: #1d1821;\n\tborder-radius: 3px 3px 0 0;\n\ttransform: translateY(","%);\n\ttransition: transform ease-in-out 0.2s;\n\n\t> button {\n\t\tflex-shrink: 0;\n\t}\n\n\tul {\n\t\tmargin-bottom: 0;\n\t}\n"]);return p=function(){return t},t}function g(){var t=d(["\n\tdisplay: flex;\n\tflex: 1;\n\tflex-direction: column;\n\tgap: 15px;\n\tpadding: 16px;\n\toverflow: scroll;\n"]);return g=function(){return t},t}function x(){var t=d(["\n\tdisplay: flex;\n\tflex-direction: column;\n\twidth: 100%;\n\tbackground: rgba(0, 0, 0, 0.7);\n\tpadding: 8px;\n\tborder-radius: 4px;\n\n\t> .button {\n\t\tmargin-top: 8px;\n\t}\n\n\t@media (min-width: 601px) {\n\t\tdisplay: none;\n\t}\n"]);return x=function(){return t},t}function h(){var t=d(["\n\tdisplay: grid;\n\tgrid-template-columns: 1fr 1fr;\n\tgap: 8px;\n\tcursor: pointer;\n\n\t@media (max-width: 300px) {\n\t\tgrid-template-columns: 1fr;\n\t}\n"]);return h=function(){return t},t}function m(){var t=d(["\n\tdisplay: flex;\n\tmin-width: 110px;\n\tbackground: #19171c;\n\tborder: 1px solid #50467a;\n\tborder-radius: 4px;\n\toverflow: hidden;\n\t// span entire width\n\tgrid-column: ",";\n\n\t.fa-calendar-clock {\n\t\tmargin-left: 3px;\n\t}\n\n\t.fa-cards-blank {\n\t\tmargin-right: 2px;\n\t}\n\n\tspan {\n\t\tflex: 1;\n\t\tdisplay: block;\n\t\tline-height: 30px;\n\t\ttext-align: center;\n\t\tpadding: 0 4px;\n\n\t\ttext-overflow: ellipsis;\n\t\twhite-space: nowrap;\n\t\toverflow: hidden;\n\n\t\tcolor: #c3a0e0;\n\t\tfont-family: Montserrat, sans-serif;\n\t\tfont-size: 12px;\n\t\tfont-style: italic;\n\t}\n"]);return m=function(){return t},t}function v(){var t=d(["\n\tdisplay: flex;\n\tjustify-content: center;\n\talign-items: center;\n\tmin-height: 30px;\n\tmin-width: 30px;\n\tbackground: #6d21b6;\n\tcolor: white;\n\n\t> i {\n\t\tfont-size: 16px;\n\t}\n"]);return v=function(){return t},t}function w(){var t=d(['\n\tposition: relative;\n\tdisplay: flex;\n\tflex-direction: row;\n\talign-items: center;\n\tgap: 10px;\n\tmargin-top: 16px;\n\tpadding-top: 16px;\n\n\t&:before {\n\t\tcontent: "";\n\t\tposition: absolute;\n\t\ttop: 0;\n\t\tleft: 0;\n\t\theight: 1px;\n\t\twidth: 100%;\n\t\tbackground: linear-gradient(\n\t\t\t90deg,\n\t\t\trgba(58, 58, 71, 0) 0%,\n\t\t\t#3a3a47 50%,\n\t\t\trgba(58, 58, 71, 0) 100%\n\t\t);\n\t}\n\n\t>
1 i {\n\t\tcolor: #d9a215;\n\t}\n\n\t> span {\n\t\tfont-family: "Open Sans", sans-serif;\n\t\tfont-weight: 400;\n\t\tfont-size: 16px;\n\t}\n\n\t@media (max-width: 600px) {\n\t\tmargin-top: 8px;\n\t\tpadding: 8px 0;\n\n\t\t&:after {\n\t\t\tcontent: "";\n\t\t\tposition: absolute;\n\t\t\tbottom: 0;\n\t\t\tleft: 0;\n\t\t\theight: 1px;\n\t\t\twidth: 100%;\n\t\t\tbackground: linear-gradient(\n\t\t\t\t90deg,\n\t\t\t\trgba(58, 58, 71, 0) 0%,\n\t\t\t\t#3a3a47 50%,\n\t\t\t\trgba(58, 58, 71, 0) 100%\n\t\t\t);\n\t\t}\n\t}\n']);return w=function(){return t},t}function b(){var t=d(['\n\tdisplay: flex;\n\tflex-direction: column;\n\tgap: 8px;\n\n\t> span {\n\t\tfont-family: "Open Sans", sans-serif;\n\t\tfont-style: italic;\n\t\tfont-size: 12px;\n\t}\n']);return b=function(){return t},t}function j(){var t=d(["\n\tmargin: 0;\n\tpadding: 0 20px;\n"]);return j=function(){return t},t}var y=l.ZP.div.withConfig({componentId:"sc-55fd6fde-0"})(c()),k=l.ZP.div.withConfig({componentId:"sc-55fd6fde-1"})(s()),N=(0,l.ZP)(k).withConfig({componentId:"sc-55fd6fde-2"})(u()),I=l.ZP.div.withConfig({componentId:"sc-55fd6fde-3"})(f()),C=(0,l.ZP)(k).withConfig({componentId:"sc-55fd6fde-4"})(p(),(function(t){return t.expanded?0:100})),M=l.ZP.div.withConfig({componentId:"sc-55fd6fde-5"})(g()),D=l.ZP.div.withConfig({componentId:"sc-55fd6fde-6"})(x()),S=l.ZP.div.withConfig({componentId:"sc-55fd6fde-7"})(h()),z=l.ZP.div.withConfig({componentId:"sc-55fd6fde-8"})(m(),(function(t){return t.fullWidth?"1 / -1":"auto"})),A=l.ZP.div.withConfig({componentId:"sc-55fd6fde-9"})(v()),P=l.ZP.div.withConfig({componentId:"sc-55fd6fde-10"})(w()),Z=l.ZP.div.withConfig({componentId:"sc-55fd6fde-11"})(b()),O=l.ZP.ul.withConfig({componentId:"sc-55fd6fde-12"})(j());n.Z=function(t){var n=t.type,e=t.filtersStats,l=t.expandedMobileFilters,d=t.setExpandedMobileFilters,c=t.totalItems,s=t.bottomContent,u=t.notUsingSavedFiltersWarning,f=t.onResetToSavedFilters,p=t.children,g=(0,r.$)().t,x=(0,o.useState)(!1),h=x[0],m=x[1],v=(0,o.useState)(!1),w=v[0],b=v[1],j=null!==l&&void 0!==l?l:h,k=null!==d&&void 0!==d?d:m;(0,o.useEffect)((function(){j&&b(!0)}),[j]);var L=function(){b(!1),setTimeout((function(){return k(!1)}),200)},U={archetypes:g("Show {numArchetypes} {count, plural, one {Archetype} other {Archetypes}}",{count:c||0,numArchetypes:c?String((0,a.KQX)(c)):"\u2026"}),decks:g("Show {numDecks} {count, plural, one {Deck} other {Decks}}",{count:c||0,numDecks:c?String((0,a.KQX)(c)):"\u2026"}),cards:g("Show {numCards} {count, plural, one {Card} other {Cards}}",{count:c||0,numCards:c?String(c):"\u2026"}),runs:g("Show {numRuns} {count, plural, one {Run} other {Runs}}",{count:c||0,numRuns:c?String((0,a.KQX)(c)):"\u2026"})},T=u;return(0,i.jsxs)(y,{children:[(0,i.jsxs)(N,{children:[(0,i.jsx)(I,{children:p}),T?(0,i.jsxs)(P,{children:[(0,i.jsx)("i",{className:"fal fa-circle-exclamation"}),(0,i.jsx)("span",{children:g("These are not your Saved Filters.")}),(0,i.jsx)(a.ua7,{data:(0,i.jsxs)("div",{style:{display:"flex",flexDirection:"column"},children:[(0,i.jsx)("span",{children:g("Saved Filters are:")}),(0,i.jsx)(O,{children:null===u||void 0===u?void 0:u.split(",").map((function(t){return(0,i.jsx)("li",{children:t})}))})]}),position:"top",variant:"borderless",style:{maxWidth:450},children:(0,i.jsx)(a.zxk,{color:"warning",icon:"rotate-left",variant:"ghost",onClick:f,children:g("Reset to Saved Filters")})})]}):null]}),(0,i.jsxs)(D,{onClick:function(){return k(!0)},children:[(0,i.jsx)(S,{children:e.map((function(t,n){return(0,i.jsxs)(z,{fullWidth:t.fullWidth,children:[(0,i.jsx)(A,{children:t.icon.startsWith("data:image/")?(0,i.jsx)("img",{alt:"Player collection level icon",src:t.icon}):(0,i.jsx)("i",{className:t.icon})}),(0,i.jsx)("span",{children:t.text})]},n)}))}),T?(0,i.jsxs)(P,{children:[(0,i.jsx)("i",{className:"fal fa-circle-exclamation"}),(0,i.jsx)("span",{children:g("These are not your Saved Filters.")})]}):null,(0,i.jsx)(a.zxk,{icon:"pen",variant:"ghost",children:g("Edit Filters")}),s]}),j?(0,i.jsx)(a.J7X,{dismissOnClick:"background",onClose:L,children:(0,i.jsxs)(C,{expanded:w,children:[(0,i.jsxs)(M,{children:[T?(0,i.jsxs)(Z,{children:[(0,i.jsx)("span",{children:g("Saved Filters are: {filters}",{filters:u})}),(0,i.jsx)(a.zxk,{color:"warning",icon:"rotate-left",variant:"ghost",onClick:f,children:g("Reset to S
1aved Filters")})]}):null,p]}),(0,i.jsx)(a.zxk,{icon:"check",onClick:L,style:{margin:16},color:"success",children:U[n]})]})}):null]})}},33586:function(t,n){n.Z="data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTYiIGhlaWdodD0iMTciIHZpZXdCb3g9IjAgMCAxNiAxNyIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPGcgY2xpcC1wYXRoPSJ1cmwoI2NsaXAwXzFfMTc3OCkiPgo8cGF0aCBkPSJNMC40ODQzNzUgOS4xMjE4N0w2IDEwLjVMNy4zNzgxMyAxNi4wMTU2QzcuNDUgMTYuMyA3LjcwNjI1IDE2LjUgOCAxNi41QzguMjkzNzUgMTYuNSA4LjU1IDE2LjMgOC42MjE4NyAxNi4wMTU2TDEwIDEwLjVMMTUuNTE1NiA5LjEyMTg3QzE1LjggOS4wNSAxNiA4Ljc5Mzc1IDE2IDguNUMxNiA4LjIwNjI1IDE1LjggNy45NSAxNS41MTU2IDcuODc4MTNMMTAgNi41TDguNjIxODcgMC45ODQzNzVDOC41NSAwLjcgOC4yOTM3NSAwLjUgOCAwLjVDNy43MDYyNSAwLjUgNy40NSAwLjcgNy4zNzgxMyAwLjk4NDM3NUw2IDYuNUwwLjQ4NDM3NSA3Ljg3ODEzQzAuMiA3Ljk1IDAgOC4yMDYyNSAwIDguNUMwIDguNzkzNzUgMC4yIDkuMDUgMC40ODQzNzUgOS4xMjE4N1oiIGZpbGw9IndoaXRlIi8+CjwvZz4KPGRlZnM+CjxjbGlwUGF0aCBpZD0iY2xpcDBfMV8xNzc4Ij4KPHJlY3Qgd2lkdGg9IjE2IiBoZWlnaHQ9IjE2IiBmaWxsPSJ3aGl0ZSIgdHJhbnNmb3JtPSJ0cmFuc2xhdGUoMCAwLjUpIi8+CjwvY2xpcFBhdGg+CjwvZGVmcz4KPC9zdmc+Cg=="}}]);

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.