PageSourceSearch

https://d4builds.gg/component---src-templates-map-js-1245cf30ab79def6ca65.js

js d4builds.gg collected 2026-10-03 20:49:32 UTC 43,440 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunkd4builds=self.webpackChunkd4builds||[]).push([[1888],{373:function(e,t,a){var r=a(4576),n=a(7476),o=a(9039),l=a(9306),s=a(4488),i=a(4644),c=a(3709),m=a(3763),u=a(9519),p=a(3607),d=i.aTypedArray,g=i.exportTypedArrayMethod,f=r.Uint16Array,h=f&&n(f.prototype.sort),_=!(!h||o(function(){h(new f(2),null)})&&o(function(){h(new f(2),{})})),y=!!h&&!o(function(){if(u)return u<74;if(c)return c<67;if(m)return!0;if(p)return p<602;var e,t,a=new f(516),r=Array(516);for(e=0;e<516;e++)t=e%4,a[e]=515-e,r[e]=e-2*t+3;for(h(a,function(e,t){return(e/4|0)-(t/4|0)}),e=0;e<516;e++)if(a[e]!==r[e])return!0});g("sort",function(e){return void 0!==e&&l(e),y?h(this,e):s(d(this),function(e){return function(t,a){return void 0!==e?+e(t,a)||0:a!=a?t!=t?0:-1:t!=t?1:0===t&&0===a?1/t>0?1/a>0?0:1:1/a>0?-1:0:t>a?1:t<a?-1:0}}(e))},!y||_)},1716:function(e,t,a){a.r(t),a.d(t,{default:function(){return B}});var r=a(4506),n=a(6540),o=a(8058),l=a(4881),s=a(6340),i=a(2269);const c=(0,n.createContext)(null),m=c.Provider;function u(){const e=(0,n.useContext)(c);if(null==e)throw new Error("No context provided: useLeafletContext() can only be used in a descendant of <MapContainer>");return e}var p=a(3481),d=a.n(p);function g(){return g=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var a=arguments[t];for(var r in a)Object.prototype.hasOwnProperty.call(a,r)&&(e[r]=a[r])}return e},g.apply(this,arguments)}function f({bounds:e,boundsOptions:t,center:a,children:r,className:o,id:l,placeholder:s,style:i,whenReady:c,zoom:u,...d},f){const[h]=(0,n.useState)({className:o,id:l,style:i}),[_,y]=(0,n.useState)(null);(0,n.useImperativeHandle)(f,()=>_?.map??null,[_]);const v=(0,n.useCallback)(r=>{if(null!==r&&null===_){const n=new p.Map(r,d);null!=a&&null!=u?n.setView(a,u):null!=e&&n.fitBounds(e,t),null!=c&&n.whenReady(c),y(function(e){return Object.freeze({__version:1,map:e})}(n))}},[]);(0,n.useEffect)(()=>()=>{_?.map.remove()},[_]);const A=_?n.createElement(m,{value:_},r):s??null;return n.createElement("div",g({},h,{ref:v}),A)}const h=(0,n.forwardRef)(f);function _(){return u().map}var y=e=>{const t=(0,n.useState)({lat:0,lng:0}),a=(t[0],t[1]);!function(e){const t=_();(0,n.useEffect)(function(){return t.on(e),function(){t.off(e)}},[t,e])}({mousemove(e){a(e.latlng)}});return n.createElement("div",{className:"coordinates"},"Click icons to mark as found")};var v=function(e){let t=e.activeTile;const a=(0,n.useState)(),r=a[0],o=a[1],l=_();var s=d().tileLayer("https://sunderarmor.com/DIABLO4/Gauntlet/week-3/{z}/{x}/{y}.jpg",{noWrap:"false"}),i=d().tileLayer("https://sunderarmor.com/DIABLO4/VoHMap/{z}/{x}/{y}.jpg",{noWrap:"false"}),c=d().tileLayer("https://sunderarmor.com/DIABLO4/Helltides/hawezar/{z}/{x}/{y}.jpg",{noWrap:"false"}),m=d().tileLayer("https://sunderarmor.com/DIABLO4/Helltides/fractured_peaks/{z}/{x}/{y}.jpg",{noWrap:"false"}),u=d().tileLayer("https://sunderarmor.com/DIABLO4/Helltides/kehjistan/{z}/{x}/{y}.jpg",{noWrap:"false"}),p=d().tileLayer("https://sunderarmor.com/DIABLO4/Helltides/scosglen/{z}/{x}/{y}.jpg",{noWrap:"false"}),g=d().tileLayer("https://sunderarmor.com/DIABLO4/Helltides/dry_steppes/{z}/{x}/{y}.jpg",{noWrap:"false"});return t!==r&&(l.addLayer(function(e){switch(e){case"Gauntlet Map":return l.setView(new(d().LatLng)(0,0),2),s;case"Diablo Map":return l.setView(new(d().LatLng)(0,0),2),i;case"hawe":return l.setView(new(d().LatLng)(50,-70),3),c;case"scos":return l.setView(new(d().LatLng)(50,-70),3),p;case"frac":return l.setView(new(d().LatLng)(50,-70),3),m;case"kehj":return l.setView(new(d().LatLng)(50,-70),3),u;case"step":return l.setView(new(d().LatLng)(50,-70),3),g}}(t)),o(t)),null};var A=e=>{let t=e.markerFilter,a=e.regionProgress,r=e.selector;return n.createElement("div",{className:"region__progress"},n.createElement("div",{className:"marker__filters"},n.createElement("div",{className:"marker__filter"+(t===r?" active":t?" inactive":"")},n.createElement("img",{className:"marker__filter__icon",src:"https://sunderarmor.com/DIABLO4/Map/waygate.png",alt:"waygate filter"}),"Waypoints",n.createElement("div",{className:"marker__tracker"},a[r].Waygate[0],"/",a[r].Waygate[1])),n.createElement("div",{className:"marker__filter"+(t===r?" active":t?" inactive":"")},n.createElement("img",{className:"marker__filter__icon",src:"https://sunderarmor.com/DIABLO4/Map/dungeon.png",alt:"dungeon filter"}),"Dungeons",n.createElement("div",{className:"marker__tracker"}
1,a[r].Dungeon[0],"/",a[r].Dungeon[1])),n.createElement("div",{className:"marker__filter"+(t===r?" active":t?" inactive":"")},n.createElement("img",{className:"marker__filter__icon",src:"https://sunderarmor.com/DIABLO4/Map/"+("Nahantu"!==r?"altar_of_lilith":"tenet_of_akarat")+".png",alt:"altar filter"}),"Nahantu"!==r?"Altar of Lilith":"Tenet of Akarat",n.createElement("div",{className:"marker__tracker"},a[r]["Nahantu"!==r?"Altar of Lilith":"Tenet of Akarat"][0],"/",a[r]["Nahantu"!==r?"Altar of Lilith":"Tenet of Akarat"][1])),n.createElement("div",{className:"marker__filter"+(t===r?" active":t?" inactive":"")},n.createElement("img",{className:"marker__filter__icon sm",src:"https://sunderarmor.com/DIABLO4/Map/stronghold.png",alt:"stronghold filter"}),"Strongholds",n.createElement("div",{className:"marker__tracker"},a[r].Stronghold[0],"/",a[r].Stronghold[1]))))},k=a(7797),w=a(5200),E=a(8587),N=a(4504);a(961);function S(e){return function(t){const a=u(),r=e(function(e,t){const a=e.pane??t.pane;return a?{...e,pane:a}:e}(t,a),a);return function(e,t){const a=(0,n.useRef)(t);(0,n.useEffect)(function(){t!==a.current&&null!=e.attributionControl&&(null!=a.current&&e.attributionControl.removeAttribution(a.current),null!=t&&e.attributionControl.addAttribution(t)),a.current=t},[e,t])}(a.map,t.attribution),function(e,t){const a=(0,n.useRef)();(0,n.useEffect)(function(){return null!=t&&e.instance.on(t),a.current=t,function(){null!=a.current&&e.instance.off(a.current),a.current=null}},[e,t])}(r.current,t.eventHandlers),function(e,t){(0,n.useEffect)(function(){return(t.layerContainer??t.map).addLayer(e.instance),function(){t.layerContainer?.removeLayer(e.instance),t.map.removeLayer(e.instance)}},[t,e])}(r.current,a),r}}const L=function(e){function t(t,a){const{instance:r,context:o}=e(t).current;return(0,n.useImperativeHandle)(a,()=>r),null==t.children?null:n.createElement(m,{value:o},t.children)}return(0,n.forwardRef)(t)}(S(function(e,t){return null==t?function(t,a){const r=(0,n.useRef)();return r.current||(r.current=e(t,a)),r}:function(a,r){const o=(0,n.useRef)();o.current||(o.current=e(a,r));const l=(0,n.useRef)(a),{instance:s}=o.current;return(0,n.useEffect)(function(){l.current!==a&&(t(s,a,l.current),l.current=a)},[s,a,r]),o}}(function({position:e,...t},a){const r=new p.Marker(e,t);return n=r,s=a,i={overlayContainer:r},o=Object.freeze({...s,...i}),Object.freeze({instance:n,context:o,container:l});var n,o,l,s,i},function(e,t,a){t.position!==a.position&&e.setLatLng(t.position),null!=t.icon&&t.icon!==a.icon&&e.setIcon(t.icon),null!=t.zIndexOffset&&t.zIndexOffset!==a.zIndexOffset&&e.setZIndexOffset(t.zIndexOffset),null!=t.opacity&&t.opacity!==a.opacity&&e.setOpacity(t.opacity),null!=e.dragging&&t.draggable!==a.draggable&&(!0===t.draggable?e.dragging.enable():e.dragging.disable())})));var b=a(3645);var D=e=>{let t=e.marker,a=e.aspectInfo,r=e.mapIcon,o=e.index,l=e.setTracked;e.isGauntlet;const s=(0,n.useState)(!1),i=s[0],c=s[1];return n.createElement(n.Fragment,null,i&&"ZoneName"!==t.type?n.createElement(E.Ay,{zIndex:9999999999,render:()=>n.createElement("div",{className:"map-tooltip"+("Altar of Lilith"===t.type?" map-tooltip--altarOfLilith":"")+("Waygate"===t.type?" map-tooltip--waygate":"")+("Dungeon"===t.type?" map-tooltip--dungeon":"")},n.createElement("div",{className:"map-tooltip-title"},t.name),t.special&&"Altar of Lilith"===t.type?n.createElement("div",{className:"map-tooltip-subtitle"},"Awards Paragon Point"):"","Mysterious Chest"===t.type?n.createElement("div",{className:"map-tooltip-subtitle"},"Helltide Event"):"","Altar of Lilith"!==t.type&&"Mysterious Chest"!==t.type&&"Event"!==t.type&&"Chest"!==t.type&&"Small Chest"!==t.type&&"Elite"!==t.type&&"No Respawn Elite"!==t.type&&"Pillar of Proving"!==t.type&&"Pillar of Glory"!==t.type&&"Boss"!==t.type?n.createElement("div",{className:"map-tooltip-subtitle"},t.type.replace("Quest","Side Quest")):"",t.extra?n.createElement("div",{className:"map-tooltip-subtitle"},t.extra):"",t.aspect?n.createElement("div",{className:"map-tooltip-aspect"},n.createElement("div",{className:"map-tooltip-aspect-header"},n.createElement("img",{className:"map-tooltip-aspect-icon",src:"https://sunderarmor.com/DIABLO4/Codex/1/"+a.type.toLowerCase().replace(/ /g,"_")+".png",alt:a.name}),n.createElement("div",{className:"map-tooltip-aspect-wrapper"},n.createElement("div",{className:"map-tooltip-aspect-name"},a.name),n.createElement("div",{className:"map-tooltip-aspect-extra"},"Codex • ",n.createElement("b",null,t.class)))),n.createElement("div",{className:"map-tooltip-aspect-description",dangerouslySetInnerHTML:{__html:(0,b.j)(a.description)}})):""),visible:i,followCursor:!0,plugins:[N.M]}):"",n.createElement(L,{position:t.coords,icon:r,key:o,interactive:!0,eventHandlers:{click:()=>{"ZoneName"!==t.type&&"Mysterious Chest"!==t.type&&"World Boss"!==t.type&&"Event"!==t.type&&"Chest"!==t.type&&"Small Chest"!==t.type&&"Elite"!==t.type&&"No Respawn Elite"!==t.type&&"Pillar of Proving"!==t.type&&"Pillar of Glory"!==t.type&&"Boss"!==t.type?l(t.id):l(null)},mouseover:()=>{c(!0)},mouseout:()=>{c(!1)}}}))},I=a(9020);var O=a(6580);function B(e){var t,a;let c=e.pageContext.markers;
1const m=(0,n.useState)([]),u=m[0],p=m[1];(0,n.useEffect)(()=>{fetch("/data/codexes.json").then(e=>e.text()).then(o.H).then(p).catch(e=>console.error("Failed to load codexes.json",e))},[]);const g="undefined"!=typeof window&&!0===(null===(t=window.electron)||void 0===t?void 0:t.isElectron);(0,O.u)(g,[{type:"corner_ad_video"}],"bottom-right-only");const f=(0,n.useState)({}),_=f[0],E=f[1],N=(0,n.useState)({}),S=N[0],L=N[1],b=(0,n.useState)(!1),B=b[0],C=b[1],M=(0,n.useState)(!1),z=M[0],x=M[1],W=(0,n.useState)({}),P=W[0],T=(W[1],(0,n.useState)(!1)),R=T[0],U=T[1],j=(0,n.useState)(!1),H=(j[0],j[1]),F=(0,n.useState)(!1),V=(F[0],F[1]),K=(0,n.useState)(!1),J=K[0],q=(K[1],(0,k.P8)().currentUser),G=(0,n.useState)("Diablo Map"),Z=G[0],Y=(G[1],(0,n.useState)("")),Q=Y[0],X=Y[1],$=(0,n.useState)([]),ee=$[0],te=$[1],ae=(0,n.useState)(""),re=ae[0],ne=ae[1],oe=(0,n.useState)(""),le=oe[0],se=oe[1],ie=(0,n.useState)(!1),ce=ie[0],me=ie[1],ue=(0,n.useState)({}),pe=ue[0],de=ue[1],ge=(0,n.useState)({"Fractured Peaks":{total:[0,61],"Altar of Lilith":[0,28],Stronghold:[0,3],Waygate:[0,7],Dungeon:[0,23]},Hawezar:{total:[0,66],"Altar of Lilith":[0,34],Stronghold:[0,3],Waygate:[0,6],Dungeon:[0,23]},Scosglen:{total:[0,70],"Altar of Lilith":[0,34],Stronghold:[0,3],Waygate:[0,8],Dungeon:[0,25]},"Dry Steppes":{total:[0,65],"Altar of Lilith":[0,33],Stronghold:[0,3],Waygate:[0,8],Dungeon:[0,21]},Kehjistan:{total:[0,63],"Altar of Lilith":[0,31],Stronghold:[0,3],Waygate:[0,6],Dungeon:[0,23]},Nahantu:{total:[0,59],"Tenet of Akarat":[0,30],Stronghold:[0,3],Waygate:[0,6],Dungeon:[0,20]}}),fe=ge[0],he=ge[1],_e=(0,n.useState)({"Altar of Lilith":[0,160],Stronghold:[0,18],Waygate:[0,41],Dungeon:[0,135],"Tenet of Akarat":[0,30]}),ye=_e[0],ve=_e[1],Ae=(0,n.useState)({Barbarian:[0,20],Druid:[0,20],Necromancer:[0,20],Sorcerer:[0,20],Rogue:[0,20],Spiritborn:[0,20]}),ke=Ae[0],we=Ae[1],Ee=(0,n.useState)(!1),Ne=Ee[0],Se=Ee[1],Le=(0,n.useState)(!1),be=Le[0],De=Le[1],Ie=(0,n.useState)(0),Oe=Ie[0],Be=Ie[1],Ce=(0,n.useState)(!1),Me=Ce[0],ze=Ce[1],xe=(0,n.useState)("undefined"!=typeof window&&(null===(a=window)||void 0===a?void 0:a.localStorage.getItem("lastViewedSeason"))||"Eternal"),We=xe[0],Pe=xe[1];(0,n.useLayoutEffect)(()=>{localStorage.getItem("lastViewedSeason")&&Pe(localStorage.getItem("lastViewedSeason"))},[]),(0,n.useEffect)(()=>{if(_.boss){let e=setInterval(async()=>{await Te(_)},1e3);return()=>{clearInterval(e)}}},[_]);const Te=async e=>{E(e);const t=(new Date).getTime();Be(parseInt((new Date).toLocaleTimeString("en-US",{timeZone:"America/Los_Angeles",hour12:!1,hour:"2-digit"}),10));let a=!1,r=!1;t-1e3*e.boss.expected<9e5&&t-1e3*e.boss.expected>0?a=!0:t-1e3*e.boss.expected>0&&(r=!0),x(r),C(a),L(e.boss),V(!1),H(!1),U(!1),ze(!1)},Re=e=>{let t={"Fractured Peaks":{total:[0,61],"Altar of Lilith":[0,28],Stronghold:[0,3],Waygate:[0,7],Dungeon:[0,23]},Hawezar:{total:[0,66],"Altar of Lilith":[0,34],Stronghold:[0,3],Waygate:[0,6],Dungeon:[0,23]},Scosglen:{total:[0,70],"Altar of Lilith":[0,34],Stronghold:[0,3],Waygate:[0,8],Dungeon:[0,25]},"Dry Steppes":{total:[0,65],"Altar of Lilith":[0,33],Stronghold:[0,3],Waygate:[0,8],Dungeon:[0,21]},Kehjistan:{total:[0,63],"Altar of Lilith":[0,31],Stronghold:[0,3],Waygate:[0,6],Dungeon:[0,23]},Nahantu:{total:[0,59],"Tenet of Akarat":[0,30],Stronghold:[0,3],Waygate:[0,6],Dungeon:[0,20]}},a={"Altar of Lilith":[0,160],Stronghold:[0,18],Waygate:[0,41],Dungeon:[0,135],"Tenet of Akarat":[0,30]},r={Barbarian:[0,20],Druid:[0,20],Necromancer:[0,20],Sorcerer:[0,20],Rogue:[0,20],Spiritborn:[0,20]};Object.keys(e).map(n=>{let o=c.find(e=>{var t;return(null===(t=e.id)||void 0===t?void 0:t.toString())===n});o&&542!==(null==o?void 0:o.id)&&543!==(null==o?void 0:o.id)&&544!==(null==o?void 0:o.id)&&518!==(null==o?void 0:o.id)&&e[n]&&(t[o.zone].total[0]++,t[o.zone][o.type][0]++,a[o.type][0]++,o.class&&"All"!==o.class&&r[o.class][0]++)}),he(t),ve(a),we(r)};(0,n.useEffect)(()=>{if(q){(async()=>{const e=(0,w.H9)(w.db,"users",q.uid,"mapInfo",We.replace("Eternal","markers")),t=await(0,w.x7)(e);t.exists()&&(de(t.data()),Re(t.data()))})()}else localStorage.getItem(We.replace("Eternal","trackedMarkers"))?(de(JSON.parse(localStorage.getItem(We.replace("Eternal","trackedMarkers")))),Re(JSON.parse(localStorage.getItem(We.replace("Eternal","trackedMarkers"))))):(de({}
1),he({"Fractured Peaks":{total:[0,61],"Altar of Lilith":[0,28],Stronghold:[0,3],Waygate:[0,7],Dungeon:[0,23]},Hawezar:{total:[0,66],"Altar of Lilith":[0,34],Stronghold:[0,3],Waygate:[0,6],Dungeon:[0,23]},Scosglen:{total:[0,70],"Altar of Lilith":[0,34],Stronghold:[0,3],Waygate:[0,8],Dungeon:[0,25]},"Dry Steppes":{total:[0,65],"Altar of Lilith":[0,33],Stronghold:[0,3],Waygate:[0,8],Dungeon:[0,21]},Kehjistan:{total:[0,63],"Altar of Lilith":[0,31],Stronghold:[0,3],Waygate:[0,6],Dungeon:[0,23]},Nahantu:{total:[0,59],"Tenet of Akarat":[0,30],Stronghold:[0,3],Waygate:[0,6],Dungeon:[0,20]}}),ve({"Altar of Lilith":[0,160],Stronghold:[0,18],Waygate:[0,41],Dungeon:[0,135],"Tenet of Akarat":[0,30]}),we({Barbarian:[0,20],Druid:[0,20],Necromancer:[0,20],Sorcerer:[0,20],Rogue:[0,20],Spiritborn:[0,20]}))},[q]);const Ue=async e=>{if(!e)return;let t=pe,a=fe,r=ye,n=ke;t[e]=!t[e],de(Object.assign({},t));let o=c.find(t=>t.id===e);542!==o.id&&543!==o.id&&544!==o.id&&518!==o.id&&(t[e]?a[o.zone].total[0]++:a[o.zone].total[0]--,t[e]?a[o.zone][o.type][0]++:a[o.zone][o.type][0]--,he(Object.assign({},a)),t[e]?r[o.type][0]++:r[o.type][0]--,ve(Object.assign({},r))),o.class&&"All"!==o.class&&(t[e]?n[o.class][0]++:n[o.class][0]--,we(Object.assign({},n))),q?await(0,w.BN)((0,w.H9)(w.db,"users",q.uid,"mapInfo",We.replace("Eternal","markers")),Object.assign({},pe,{527:!1}),{merge:!0}):localStorage.setItem(We.replace("Eternal","trackedMarkers"),JSON.stringify(pe))},je=e=>{X(Q===e?null:e)},He=e=>{if(ee.indexOf(e)>-1){let t=ee;t.splice(ee.indexOf(e),1),te((0,r.A)(t))}else te([].concat((0,r.A)(ee),[e]))},Fe=e=>{ne(re===e?null:e)},Ve=[[-512,-512],[512,512]],Ke=(e,t)=>{let a="";return le||(Q||re?Q&&!re?a=e.class===Q||"All"===e.class?"active "+t:""+t:re&&!Q?a=ee.length?e.zone===re&&ee.indexOf(e.type)>-1?"active "+t:""+t:e.zone===re?"active":"":re&&Q&&(a=e.class!==Q&&"All"!==e.class||e.zone!==re?""+t:"active "+t):a=ee.indexOf(e.type)>-1||!ee.length?"active "+t:""+t),a},Je=(e,t)=>
1{let a="";return le?("Waygate"===e.type&&(a="active"),a):(Q||re?Q&&!re?a=ee.indexOf(e.type)>-1?"active "+t:""+t:re&&!Q?a=ee.length?e.zone===re&&ee.indexOf(e.type)>-1?"active "+t:""+t:e.zone===re?"active "+t:""+t:re&&Q&&(a=ee.indexOf(e.type)>-1&&e.zone===re?"active "+t:""+t):a=ee.indexOf(e.type)>-1||!ee.length?"active "+t:""+t,a)},qe=(e,t,a)=>{let r="";var n,o;if(le)return r=null!==(n=e.aspect)&&void 0!==n&&n.toLowerCase().includes(le.toLowerCase())||null!=t&&null!==(o=t.description)&&void 0!==o&&o.toLowerCase().includes(le.toLowerCase())||e.name.toLowerCase().includes(le.toLowerCase())?"zoneName active":""+a,r},Ge=()=>{Se(!1),document.body.style.overflowX="unset"};return n.createElement(s.A,{showInGame:!0,isElectron:g},n.createElement(i.A,{title:"Diablo 4 Interactive Map",description:"An interactive map to find the location of every Altar of Lilith, Dungeon, Stronghold, Side Quests, and Codex Aspects in Diablo 4, as well as World boss event timers."}),n.createElement("div",{className:"app app--full"},Ne?n.createElement("button",{className:"modal__backdrop",onClick:Ge},n.createElement("button",{className:"builder__modal",onClick:e=>{e.stopPropagation()}},n.createElement("div",{className:"builder__modal__content"},n.createElement("div",{className:"builder__modal__content__wrapper"},n.createElement("button",{className:"builder__modal__close",onClick:Ge}," ",n.createElement("img",{src:"https://sunderarmor.com/close-icon.svg",alt:"close icon"})),n.createElement("div",{className:"builder__modal__title"},"Clear Progress"),n.createElement("div",{className:"builder__modal__instructions"},"Are you sure you want to clear your progress?"),n.createElement("button",{className:"builder__modal__button btn",onClick:async()=>{de({}),he({"Fractured Peaks":{total:[0,61],"Altar of Lilith":[0,28],Stronghold:[0,3],Waygate:[0,7],Dungeon:[0,23]},Hawezar:{total:[0,66],"Altar of Lilith":[0,34],Stronghold:[0,3],Waygate:[0,6],Dungeon:[0,23]},Scosglen:{total:[0,70],"Altar of Lilith":[0,34],Stronghold:[0,3],Waygate:[0,8],Dungeon:[0,25]},"Dry Steppes":{total:[0,65],"Altar of Lilith":[0,33],Stronghold:[0,3],Waygate:[0,8],Dungeon:[0,21]},Kehjistan:{total:[0,63],"Altar of Lilith":[0,31],Stronghold:[0,3],Waygate:[0,6],Dungeon:[0,23]},Nahantu:{total:[0,59],"Tenet of Akarat":[0,30],Stronghold:[0,3],Waygate:[0,6],Dungeon:[0,20]}}),ve({"Altar of Lilith":[0,160],Stronghold:[0,18],Waygate:[0,41],Dungeon:[0,135],"Tenet of Akarat":[0,30]}),we({Barbarian:[0,20],Druid:[0,20],Necromancer:[0,20],Sorcerer:[0,20],Rogue:[0,20],Spiritborn:[0,20]}),Se(!1),q?await(0,w.BN)((0,w.H9)(w.db,"users",q.uid,"mapInfo",We.replace("Eternal","markers")),{}):localStorage.setItem(We.replace("Eternal","trackedMarkers"),JSON.stringify({}))}},"Clear Progress"))))):"",n.createElement("div",{className:"app__main__content"},n.createElement("section",{className:"mapbox"},n.createElement("div",{className:"mapbox-content"},n.createElement("div",{className:"map-sidebar"+(ce?" expanded":"")},n.createElement("div",{className:"page__title__container"},n.createElement("h1",{className:"page-title map-title"},"Diablo 4 Interactive Map"),n.createElement("button",{className:"map-sidebar-button",onClick:()=>me(!ce)},ce?"Hide":"Show"," Filters"),n.createElement("button",{className:"map__clear",onClick:()=>{Se(!0),"undefined"!=typeof window&&window.document&&(document.body.style.overflowX="hidden")}},"Clear Progress")),n.createElement("div",{className:"dropdown__wrapper"},n.createElement(I.A,{data:[{name:"Eternal"},{name:"Season 14"},{name:"Season 15"}],showDropdown:be,setShowDropdown:async(e,t)=>{if(De(!t&&!be),e){if(q){const t=(0,w.H9)(w.db,"users",q.uid,"mapInfo",e.replace("Eternal","markers")),a=await(0,w.x7)(t);if(a.exists()||"Eternal"===e)a.exists()?(de(a.data()),Re(a.data())):await(0,w.BN)((0,w.H9)(w.db,"users",q.uid,"mapInfo",e.replace("Eternal","markers")),{},{merge:!0});else{let t={};Object.keys(pe).map(e=>{c.find(a=>{var r;(null===(r=a.id)||void 0===r?void 0:r.toString())===e&&("Altar of Lilith"===a.type||"Waygate"===a.type&&119!==a.id&&267!==a.id&&720!==a.id&&722!==a.id&&195!==a.id&&160!==a.id&&29!==a.id)&&(t[e]=!0)})}),await(0,w.BN)((0,w.H9)(w.db,"users",q.uid,"mapInfo",e),t,{merge:!0}),de(t),Re(t)}}else if(localStorage.getItem("trackedMarkers")){if(!localStorage.getItem(e)&&"Eternal"!==e){let t={};Object.keys(pe).map(e=>{c.find(a=>{var r;(null===(r=a.id)||void 0===r?void 0:r.toString())!==e||"Altar of Lil
1ith"!==a.type&&"Waygate"!==a.type||(t[e]=!0)})}),localStorage.setItem(e,JSON.stringify(t))}de(JSON.parse(localStorage.getItem(e.replace("Eternal","trackedMarkers")))),Re(JSON.parse(localStorage.getItem(e.replace("Eternal","trackedMarkers"))))}else localStorage.getItem(e.replace("Eternal","trackedMarkers"))?(de(JSON.parse(localStorage.getItem(e.replace("Eternal","trackedMarkers")))),Re(JSON.parse(localStorage.getItem(e.replace("Eternal","trackedMarkers"))))):(de({}),Re({}));localStorage.setItem("lastViewedSeason",e),Pe(e)}},buttonValue:We})),n.createElement("div",{className:"map-sidebar-searchbar"},n.createElement(l.A,{placeholder:"Search by name, aspect, or keyword...",searchTerm:le,setSearchTerm:se})),n.createElement("div",{className:"map-sidebar-filters"},n.createElement("div",{className:"marker__filters"},n.createElement("h2",{className:"marker__filters__title"},"Filters"),n.createElement("button",{className:"marker__filter"+(ee.indexOf("Waygate")>-1?" active":ee.length?" inactive":""),onClick:()=>He("Waygate")},n.createElement("img",{className:"marker__filter__icon",src:"https://sunderarmor.com/DIABLO4/Map/waygate.png",alt:"waygate filter"}),"Waypoints",n.createElement("div",{className:"marker__tracker"},ye.Waygate[0],"/",ye.Waygate[1])),n.createElement("button",{className:"marker__filter"+(ee.indexOf("Dungeon")>-1?" active":ee.length?" inactive":""),onClick:()=>He("Dungeon")},n.createElement("img",{className:"marker__filter__icon",src:"https://sunderarmor.com/DIABLO4/Map/dungeon.png",alt:"dungeon filter"}),"Dungeons",n.createElement("div",{className:"marker__tracker"},ye.Dungeon[0],"/",ye.Dungeon[1])),n.createElement("button",{className:"marker__filter"+(ee.indexOf("Altar of Lilith")>-1?" active":ee.length?" inactive":""),onClick:()=>He("Altar of Lilith")},n.createElement("img",{className:"marker__filter__icon",src:"https://sunderarmor.com/DIABLO4/Map/altar_of_lilith.png",alt:"altar filter"}),"Altars of Lilith",n.createElement("div",{className:"marker__tracker"},ye["Altar of Lilith"][0],"/",ye["Altar of Lilith"][1])),n.createElement("button",{className:"marker__filter"+(ee.indexOf("Tenet of Akarat")>-1?" active":ee.length?" inactive":""),onClick:()=>He("Tenet of Akarat")},n.createElement("img",{className:"marker__filter__icon",src:"https://sunderarmor.com/DIABLO4/Map/tenet_of_akarat.png",alt:"altar filter"}),"Tenet of Akarat",n.createElement("div",{className:"marker__tracker"},ye["Tenet of Akarat"][0],"/",ye["Tenet of Akarat"][1])),n.createElement("button",{className:"marker__filter"+(ee.indexOf("Stronghold")>-1?" active":ee.length?" inactive":""),onClick:()=>He("Stronghold")},n.createElement("img",{className:"marker__filter__icon sm",src:"https://sunderarmor.com/DIABLO4/Map/stronghold.png",alt:"stronghold filter"}),"Strongholds",n.createElement("div",{className:"marker__tracker"},ye.Stronghold[0],"/",ye.Stronghold[1])),n.createElement("button",{className:"marker__filter"+(ee.indexOf("World Boss")>-1?" active":ee.length?" inactive":""),onClick:()=>He("World Boss")},n.createElement("img",{className:"marker__filter__icon",src:"https://sunderarmor.com/DIABLO4/Map/boss.png",alt:"World Bosses filter"}),"World Bosses"),n.createElement("button",{className:"marker__filter"+(ee.indexOf("Boss Lair")>-1?" active":ee.length?" inactive":""),onClick:()=>He("Boss Lair")},n.createElement("img",{className:"marker__filter__icon",src:"https://sunderarmor.com/DIABLO4/Map/dungeon_boss.png",alt:"Boss Lair filter"}),"Boss Lairs")),n.createElement("div",{className:"marker__filters"},n.createElement("h2",{className:"marker__filters__title"},"Region Progress"),n.createElement("button",{className:"marker__filter region"+("Fractured Peaks"===re?" active":re?" inactive":""),onClick:()=>Fe("Fractured Peaks")},n.createElement("img",{className:"marker__filter__icon",src:"https://sunderarmor.com/DIABLO4/Map/fractured_peaks_icon.png",alt:"Fractured Peaks filter"}),"Fractured Peaks",n.createElement("div",{className:"marker__tracker"},fe["Fractured Peaks"].total[0],"/",fe["Fractured Peaks"].total[1])),"Fractured Peaks"===re?n.createElement(A,{markerFilter:ee,regionProgress:fe,selector:"Fractured Peaks"}):"",n.createElement("button",{className:"marker__filter region"+("Hawezar"===re?" active":re?" inactive":""),onClick:()=>Fe("Hawezar")},n.createElement("img",{className:"marker__filter__icon",src:"https://sunderarmor.com/DIABLO4/Map/hawezar_icon.png",alt:"Hawezar filter"}),"Hawezar",n.createElement("div",{className:"marker__tracker"},fe.Hawezar.total[0],"/",fe.Hawezar.total[1])),"Hawezar"===re?n.createElement(A,{markerFilter:ee,regionProgress:fe,selector:"Hawezar"}):"",n.createElement("button",{className:"marker__filter region"+("Scosglen"===re?" active":re?" inactive":""),onClick:()=>Fe("Scosglen")},n.createElement("img",{className:"marker__filter__icon",src:"https://sunderarmor.com/DIABLO4/Map/scosglen_icon.png",alt:"Scosglen filter"}),"Scosglen",n.createElement("div",{className:"marker__tracker"},fe.Scosglen.total[0],"/",fe.Scosglen.total[1])),"Scosglen"===re?n.createElement(A,{markerFilter:ee,regionProgress:fe,selector:"Scosglen"}):"",n.createElement("button",{className:"marker__filter region"+("Dry Steppes"===re?" active":re?" inactive":""),onClick:()=>Fe("Dry Steppes")},n.createElement("img",{className:"marker__filter__icon",src:"https://sunderarmor.com/DIABLO4/Map/dry_steppes_icon.png",alt:"Dry Steppes filter"}),"Dry Steppes",n.createElement("div",{className:"marker__tracker"},fe["Dry Steppes"].total[0],"/",fe["Dry Steppes"].total[1])),"Dry Steppes"===re?n.createElement(A,{markerFilter:ee,regionProgress:fe,selector:"Dry Steppes"}):"",n.createElement("button",{className:"marker__filter region"+("Kehjistan"===re?" active":re?" inactive":""),onClick:()=>Fe("Kehjistan")},n.createElement("img",{className:"marker__filter__icon",src:"https://sunderarmor.com/DIABLO4/Map/kehjistan_icon.png",alt:"Kehjistan filter"}),"Kehjistan",n.createElement("div",{className:"marker__tracker"},fe.Kehjistan.total[0],"/",fe.Kehjistan.total[1])),"Kehjistan"===re?n.createElement(A,{markerFilter:ee,regionProgress:fe,selector:"Kehjistan"}):"",n.createElement("button",{className:"marker__filter region"+("Nahantu"===re?" active":re?" inactive":""),onClick:()=>Fe("Nahantu")},n.createElement("img",{className:"marker__filter__icon",src:"https://sunderarmor.com/DIABLO4/Map/nahantu_icon.png",alt:"Nahantu filter"}),"Nahantu",n.createElement("div",{className:"marker__tracker"},fe.Nahantu.total[0],"/",fe.Nahantu.total[1])),"Nahantu"===re?n.createElement(A,{markerFilter:ee,regionProgress:fe,selector:"Nahantu"}):""),n.createElement("div",{className:"marker__filters"},n.createElement("h2",{className:"marker__filters__title"},"Classes"),n.createElement("button",{className:"marker__filter"+("Barbarian"===Q?" active":Q?" inactive":""),onClick:()=>je("Barbarian")},n.createElement("img",{className:"marker__filter__icon",src:"https://sunderarmor.com/DIABLO4/Classe
1s/2/barbarian.png",alt:"Barbarian filter"}),"Barbarian",n.createElement("div",{className:"marker__tracker"}," ",ke.Barbarian[0],"/",ke.Barbarian[1])),n.createElement("button",{className:"marker__filter"+("Druid"===Q?" active":Q?" inactive":""),onClick:()=>je("Druid")},n.createElement("img",{className:"marker__filter__icon",src:"https://sunderarmor.com/DIABLO4/Classes/2/druid.png",alt:"Druid filter"}),"Druid",n.createElement("div",{className:"marker__tracker"},ke.Druid[0],"/",ke.Druid[1])),n.createElement("button",{className:"marker__filter"+("Necromancer"===Q?" active":Q?" inactive":""),onClick:()=>je("Necromancer")},n.createElement("img",{className:"marker__filter__icon",src:"https://sunderarmor.com/DIABLO4/Classes/2/necromancer.png",alt:"Necromancer filter"}),"Necromancer",n.createElement("div",{className:"marker__tracker"},ke.Necromancer[0],"/",ke.Necromancer[1])),n.createElement("button",{className:"marker__filter"+("Rogue"===Q?" active":Q?" inactive":""),onClick:()=>je("Rogue")},n.createElement("img",{className:"marker__filter__icon",src:"https://sunderarmor.com/DIABLO4/Classes/2/rogue.png",alt:"Rogue filter"}),"Rogue",n.createElement("div",{className:"marker__tracker"},ke.Rogue[0],"/",ke.Rogue[1])),n.createElement("button",{className:"marker__filter"+("Sorcerer"===Q?" active":Q?" inactive":""),onClick:()=>je("Sorcerer")},n.createElement("img",{className:"marker__filter__icon",src:"https://sunderarmor.com/DIABLO4/Classes/2/sorcerer.png",alt:"Sorcerer filter"}),"Sorcerer",n.createElement("div",{className:"marker__tracker"},ke.Sorcerer[0],"/",ke.Sorcerer[1])),n.createElement("button",{className:"marker__filter"+("Spiritborn"===Q?" active":Q?" inactive":""),onClick:()=>je("Spiritborn")},n.createElement("img",{className:"marker__filter__icon",src:"https://sunderarmor.com/DIABLO4/Classes/2/spiritborn.png",alt:"Spiritborn filter"}),"Spiritborn",n.createElement("div",{className:"marker__tracker"},ke.Spiritborn[0],"/",ke.Spiritborn[1])))),n.createElement("div",{className:"ad-box"},"This site is supported by ads.")),"undefined"!=typeof window?n.createElement(h,{center:[5,512],zoom:0,scrollWheelZoom:!0,minZoom:0,maxZoom:6,maxBounds:Ve,maxBoundsViscosity:1,bounds:Ve},n.createElement(v,{activeTile:Z,isHelltideActive:R,helltideInfo:P}),c.map((e,t)=>{let a,r=u.find(t=>e.aspect===t.name);if(527!==e.id&&549!==e.id&&569!==e.id&&587!==e.id&&569!==e.id&&570!==e.id&&567!==e.id&&564!==e.id&&565!==e.id){if("Stronghold"!==e.type||J)if("Waygate"===e.type)a=new(d().Icon)({iconUrl:pe[e.id]?"https://sunderarmor.com/DIABLO4/Map/waygate2_active.png":"https://sunderarmor.com/DIABLO4/Map/waygate2.png",iconRetinaUrl:pe[e.id]?"https://sunderarmor.com/DIABLO4/Map/waygate2_active.png":"https://sunderarmor.com/DIABLO4/Map/waygate2.png",iconAnchor:null,popupAnchor:null,shadowUrl:null,shadowSize:null,shadowAnchor:null,iconSize:new(d().Point)(24,24),className:Je(e,"waygate")+" "+qe(e,r)});else if("Altar of Lilith"!==e.type||J)if("Tenet of Akarat"!==e.type||J)if("Mysterious Chest"===e.type&&e.zone.toLowerCase().includes(P.zone)&&Me){var o,l;a=new(d().Icon)({iconUrl:null!==(o=e.time)&&void 0!==o&&o.includes(Oe)?"https://sunderarmor.com/DIABLO4/Map/mysterious_chest_active.png":"https://sunderarmor.com/DIABLO4/Map/mysterious_chest.png",iconRetinaUrl:null!==(l=e.time)&&void 0!==l&&l.includes(Oe)?"https://sunderarmor.com/DIABLO4/Map/mysterious_chest_active.png":"https://sunderarmor.com/DIABLO4/Map/mysterious_chest.png",iconAnchor:null,popupAnchor:null,shadowUrl:null,shadowSize:null,shadowAnchor:null,iconSize:new(d().Point)(24,24),className:Je(e,"altarOfLilith")+" "+qe(e,r)})}else if("World Boss"===e.type&&e.zone===S.zone&&!z&&B)a=new(d().Icon)({iconUrl:"https://sunderarmor.com/DIABLO4/Map/world_boss.png",iconRetinaUrl:"https://sunderarmor.com/DIABLO4/Map/world_boss.png",iconAnchor:null,popupAnchor:null,shadowUrl:null,shadowSize:null,shadowAnchor:null,iconSize:new(d().Point)(24,24),className:Je(e,"altarOfLilith")+" "+qe(e,r)});else if("Boss Lair"!==e.type||J)if("World Boss"!==e.type||J)if("Event"===e.type&&J&&e.zone.toLowerCase().includes(P.zone)&&Me)a=new(d().Icon)({iconUrl:"https://sunderarmor.com/DIABLO4/Map/event.png",iconRetinaUrl:"https://sunderarmor.com/DIABLO4/Map/event.png",iconAnchor:null,popupAnchor:null,shadowUrl:null,shadowSize:null,shadowAnchor:null,iconSize:new(d().Point)(24,24),className:Je(e,"altarOfLilith")+" "+qe(e,r)});else if("Quest"!==e.type||J)if("ZoneName"===e.type){const t={"Fractured Peaks":"https://sunderarmor.com/DIABLO4/Map/zone_fractured_peaks.png",Hawezar:"https://sunderarmor.com/DIABLO4/Map/zone_hawezar.png",Scosglen:"https://sunderarmor.com/DIABLO4/Map/zone_scosglen.png",Kehjistan:"https://sunderarmor.com/DIABLO4/Map/zone_kehjistan.png","Dry Steppes":"https://sunderarmor.com/DIABLO4/Map/zone_dry_steppes.png"};a=new(d().Icon)({iconUrl:t[e.zone],iconRetinaUrl:t[e.zone],iconAnchor:null,popupAnchor:null,shadowUrl:null,shadowSize:null,shadowAnchor:null,iconSize:new(d().Point)(150,20),className:Je(e,"zoneName")+" "+qe(e,r,"zoneName")})}else J||"Mysterious Chest"===e.type||"Event"===e.type||"Living Steel"===e.type||(a=new(d().Icon)({iconUrl:pe[e.id]?"https://sunderarmor.com/DIABLO4/Map/dungeon_active_1.png":"https://sunderarmor.com/DIABLO4/Map/dungeon.png",iconRetinaUrl:pe[e.id]?"https://sunderarmor.com/DIABLO4/Map/dungeon_active_1.png":"https://sunderarmor.com/DIABLO4/Map/dungeon.png",iconAnchor:null,popupAnchor:null,shadowUrl:null,shadowSize:null,shadowAnchor:null,iconSize:new(d().Point)(24,24),className:Ke(e,"dungeon")+" "+qe(e,r)}));else a=new(d().Icon)({iconUrl:pe[e.id]?"https://sunderarmor.com/DIABLO4/Map/side_quest_active.png":e.special?"https://sunderarmor.com/DIABLO4/Map/side_quest_req.png":"https://sunderarmor.com/DIABLO4/Map/side_quest.png",iconRetinaUrl:pe[e.id]?"https://sunderarmor.com/DIABLO4/Map/side_quest_active.png":e.special?"https://sunderarmor.com/DIABLO4/Map/side_quest_req.png":"https://sunderarmor.com/DIABLO4/Map/side_quest.png",iconAnchor:null,popupAnchor:null,shadowUrl:null,shadowSize:null,shadowAnchor:null,iconSize:new(d().Point)(24,24),className:Je(e,pe[e.id]?"altarOfLilith selected":"altarOfLilith")+" "+qe(e,r)});else a=new(d().Icon)({iconUrl:"https://sunderarmor.com/DIABLO4/Map/boss.png",iconRetinaUrl:"https://sunderarmor.com/DIABLO4/Map/boss.png",iconAnchor:null,popupAnchor:null,shadowUrl:null,shadowSize:null,shadowAnchor:null,iconSize:new(d().Point)(24,24),className:Je(e,"altarOfLilith")+" "+qe(e,r)});else a=new(d().Icon)({iconUrl:"https://sunderarmor.com/DIABLO4/Map/dungeon_boss.png",iconRetinaUrl:"https://sunderarmor.com/DIABLO4/Map/dungeon_boss.png",iconAnchor:null,popupAnchor:null,shadowUrl:null,shadowSize:null,shadowAnchor:null,iconSize:new(d().Point)(24,24),className:Je(e,"altarOfLilith")+" "+qe(e,r)});else a=new(d().Icon)({iconUrl:pe[e.id]?"https://sunderarmor.com/DIABLO4/Map/tenet_of_akarat_active.png":e.special?"https://sunderarmor.com/DIABLO4/Map/tenet_of_akarat_paragon.png":"https://sunderarmor.com/DIABLO4/Map/tenet_of_akarat.png",iconRetinaUrl:pe[e.id]?"https://sunderarmor.com/DIABLO4/Map/tenet_of_akarat_active.png":e.special?"https://sunderarmor.com/DIABLO4/Map/tenet_of_akarat_paragon.png":"https://sunderarmor.com/DIABLO4/Map/tenet_of_akarat.png",iconAnchor:null,popupAnchor:null,shadowUrl:null,shadowSize:null,shadowAnchor:null,iconSize:new(d().Point)(24,24),className:Je(e,"tenetOfAkarat")+" "+qe(e,r)});else a=new(d().Icon)({iconUrl:pe[e.id]?"https://sunderarmor.com/DIABLO4/Map/altar_of_lilith_active.png":"https://sunderarmor.com/DIABLO4/Map/altar_of_lilith.png",iconRetinaUrl:pe[e.id]?"https://sunderarmor.com/DIABLO4/Map/altar_of_lilith_active.png":"https://sunderarmor.com/DIABLO4/Map/altar_of_lilith.png",iconAnchor:null,popupAnchor:null,shadowUrl:null,shadowSize:null,shadowAnchor:null,iconSize:new(d().Point)(24,24),className:Je(e,"altarOfLilith")+" "+qe(e,r)});else a=new(d().Icon)({iconUrl:pe[e.id]?"https://sunderarmor.com/DIABLO4/Map/stronghold_active.png":"https://sunderarmor.com/DIABLO4/Map/stronghold.png",iconRetinaUrl:pe[e.id]?"https://sunderarmor.com/DIABLO4/Map/stronghold_active.png":"https://sunderarmor.com/DIABLO4/Map/stronghold.png",iconAnchor:null,popupAnchor:null,shadowUrl:null,shadowSize:null,shadowAnchor:null,iconSize:new(d().Point)(24,24),className:Je(e,"stronghold")+" "+qe(e,r)});return a?n.createElement(D,{marker:e,aspectInfo:r,mapIcon:a,index:t,setTracked:Ue}):void 0}}),n.createElement(y,null)):"")))))}},2106:function(e,t,a){var r=a(283),n=a(4913);e.exports=function(e,t,a){return a.get&&r(a.get,t,{getter:!0}),a.set&&r(a.set,t,{setter:!0}),n.f(e,t,a)}},2211:function(e,t,a){var r=a(9039);e.exports=!r(function(){function e(){}return e.prototype.constructor=null,Object.getPrototypeOf(new e)!==e.prototype})},2787:function(e,t,a){var r=a(9297),n=a(4901),o=a(8981),l=a(6119),s=a(2211),i=l("IE_PROTO"),c=Object,m=c.prototype;e.exports=s?c.getPrototypeOf:function(e){var t=o(e);if(r(t,i))return t[i];var a=t.constructor;return n(a)&&t instanceof a?a.prototype:t instanceof c?m:null}},2967:function(e,t,a){var r=a(6706),n=a(34),o=a(7750),l=a(3506);
1e.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var e,t=!1,a={};try{(e=r(Object.prototype,"__proto__","set"))(a,[]),t=a instanceof Array}catch(s){}return function(a,r){return o(a),l(r),n(a)?(t?e(a,r):a.__proto__=r,a):a}}():void 0)},3506:function(e,t,a){var r=a(3925),n=String,o=TypeError;e.exports=function(e){if(r(e))return e;throw new o("Can't set "+n(e)+" as a prototype")}},3925:function(e,t,a){var r=a(34);e.exports=function(e){return r(e)||null===e}},4644:function(e,t,a){var r,n,o,l=a(7811),s=a(3724),i=a(4576),c=a(4901),m=a(34),u=a(9297),p=a(6955),d=a(6823),g=a(6699),f=a(6840),h=a(2106),_=a(1625),y=a(2787),v=a(2967),A=a(8227),k=a(3392),w=a(1181),E=w.enforce,N=w.get,S=i.Int8Array,L=S&&S.prototype,b=i.Uint8ClampedArray,D=b&&b.prototype,I=S&&y(S),O=L&&y(L),B=Object.prototype,C=i.TypeError,M=A("toStringTag"),z=k("TYPED_ARRAY_TAG"),x="TypedArrayConstructor",W=l&&!!v&&"Opera"!==p(i.opera),P=!1,T={Int8Array:1,Uint8Array:1,Uint8ClampedArray:1,Int16Array:2,Uint16Array:2,Int32Array:4,Uint32Array:4,Float32Array:4,Float64Array:8},R={BigInt64Array:8,BigUint64Array:8},U=function(e){var t=y(e);if(m(t)){var a=N(t);return a&&u(a,x)?a[x]:U(t)}},j=function(e){if(!m(e))return!1;var t=p(e);return u(T,t)||u(R,t)};for(r in T)(o=(n=i[r])&&n.prototype)?E(o)[x]=n:W=!1;for(r in R)(o=(n=i[r])&&n.prototype)&&(E(o)[x]=n);if((!W||!c(I)||I===Function.prototype)&&(I=function(){throw new C("Incorrect invocation")},W))for(r in T)i[r]&&v(i[r],I);if((!W||!O||O===B)&&(O=I.prototype,W))for(r in T)i[r]&&v(i[r].prototype,O);if(W&&y(D)!==O&&v(D,O),s&&!u(O,M))for(r in P=!0,h(O,M,{configurable:!0,get:function(){return m(this)?this[z]:void 0}}),T)i[r]&&g(i[r].prototype,z,r);e.exports={NATIVE_ARRAY_BUFFER_VIEWS:W,TYPED_ARRAY_TAG:P&&z,aTypedArray:function(e){if(j(e))return e;throw new C("Target is not a typed array")},aTypedArrayConstructor:function(e){if(c(e)&&(!v||_(I,e)))return e;throw new C(d(e)+" is not a typed array constructor")},exportTypedArrayMethod:function(e,t,a,r){if(s){if(a)for(var n in T){var o=i[n];if(o&&u(o.prototype,e))try{delete o.prototype[e]}catch(l){try{o.prototype[e]=t}catch(c){}}}O[e]&&!a||f(O,e,a?t:W&&L[e]||t,r)}},exportTypedArrayStaticMethod:function(e,t,a){var r,n;if(s){if(v){if(a)for(r in T)if((n=i[r])&&u(n,e))try{delete n[e]}catch(o){}if(I[e]&&!a)return;try{return f(I,e,a?t:W&&I[e]||t)}catch(o){}}for(r in T)!(n=i[r])||n[e]&&!a||f(n,e,t)}},getTypedArrayConstructor:U,isView:function(e){if(!m(e))return!1;var t=p(e);return"DataView"===t||u(T,t)||u(R,t)},isTypedArray:j,TypedArray:I,TypedArrayPrototype:O}},4881:function(e,t,a){var r=a(6540);t.A=e=>{let t=e.searchTerm,a=e.setSearchTerm,n=e.placeholder,o=e.tooltipOpen,l=e.id,s=e.tierlist;return r.createElement("div",{className:"searchbar"+(s?" searchbar--tierlist":"")},r.createElement("img",{className:"searchbar-icon",src:"https://sunderarmor.com/search-icon.svg",alt:"search icon"}),r.createElement("input",{id:l||"searchBar",className:"searchbar-input",type:"text",placeholder:""+n,value:t,onChange:e=>{a(e.target.value)},disabled:o,autoComplete:"off"}),r.createElement("button",{className:"searchbar-close"+(""!==t?" active":""),onClick:()=>a(""),tabIndex:-1},r.createElement("img",{className:"searchbar-close-img",src:"https://sunderarmor.com/close-icon.svg",alt:"close icon"})))}},6706:function(e,t,a){var r=a(9504),n=a(9306);e.exports=function(e,t,a){try{return r(n(Object.getOwnPropertyDescriptor(e,t)[a]))}catch(o){}}},7476:function(e,t,a){var r=a(2195),n=a(9504);e.exports=function(e){if("Function"===r(e))return n(e)}},7811:function(e){e.exports="undefined"!=typeof ArrayBuffer&&"undefined"!=typeof DataView},8058:function(e,t,a){a.d(t,{H:function(){return l}});a(8845),a(373);const r=[77,55,97,120,33,105,109,85],n="9f2KpL8xQmRvYwDnHgU3cB0Zs7jTaOe6FMiWlNqSoV5kCdPt4JhGAuIrbXzEy1/+",o={};for(let s=0;s<64;s++)o[n[s]]="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"[s];const l=e=>{let t="";for(const r of e){var a;t+=null!==(a=o[r])&&void 0!==a?a:r}const n=atob(t),l=new Uint8Array(n.length);for(let o=0;o<n.length;o++)l[o]=n.charCodeAt(o)^r[o%r.length];return JSON.parse((new TextDecoder).decode(l))}},8229:function(e,t,a){var r=a(9590),n=RangeError;e.exports=function(e,t){var a=r(e);
1if(a%t)throw new n("Wrong offset");return a}},8845:function(e,t,a){var r=a(4576),n=a(9565),o=a(4644),l=a(6198),s=a(8229),i=a(8981),c=a(9039),m=r.RangeError,u=r.Int8Array,p=u&&u.prototype,d=p&&p.set,g=o.aTypedArray,f=o.exportTypedArrayMethod,h=!c(function(){var e=new Uint8ClampedArray(2);return n(d,e,{length:1,0:3},1),3!==e[1]}),_=h&&o.NATIVE_ARRAY_BUFFER_VIEWS&&c(function(){var e=new u(2);return e.set(1),e.set("2",1),0!==e[0]||2!==e[1]});f("set",function(e){g(this);var t=s(arguments.length>1?arguments[1]:void 0,1),a=i(e);if(h)return n(d,this,a,t);var r=this.length,o=l(a),c=0;if(o+t>r)throw new m("Wrong length");for(;c<o;)this[t+c]=a[c++]},!h||_)},9020:function(e,t,a){var r=a(6540),n=a(8693);t.A=e=>{let t=e.gameClass,a=e.data,o=e.showDropdown,l=e.setShowDropdown,s=e.isLink,i=e.buttonValue,c=e.tooltipOpen,m=e.isBuildPlanner,u=(e.isHomePage,e.dropdownKey),p=e.disabled,d=e.paragonBoardName;const g=e=>{const t=e.currentTarget;setTimeout(()=>{t.contains(document.activeElement)||l(!s&&null,!0,null,u)},0)},f=(e,t)=>{13===e.keyCode&&l(t)};return r.createElement("button",{className:"dropdown"+(o?" active":"")+(t?" "+t.toLowerCase():""),onClick:()=>l(s?!o:"",null,null,u),onBlur:e=>g(e),disabled:c||p},r.createElement("div",{className:"dropdown__button"+(p?" dropdown__button--center":"")},t?r.createElement("img",{className:"dropdown__icon",src:"https://sunderarmor.com/DIABLO4/Classes/2/"+t.toLowerCase()+".png",alt:t}):null,m?i:i.replace("Eternal","Eternal Realm"),p?null:r.createElement("img",{className:"item__arrow__icon",src:"https://sunderarmor.com/DIABLO4/UI/dropdown-arrow.svg",alt:"Dropdown Arrow"})),o?r.createElement("div",{className:"dropdown__content"},a.map((e,a)=>t?t.toLowerCase()!==e.name.toLowerCase()?s?r.createElement(n.Link,{activeClassName:"active",className:"dropdown__option"+(t?" "+e.name.toLowerCase():""),to:e.route+"/",onClick:()=>l(!o),key:a},t?r.createElement("img",{className:"dropdown__icon",src:"https://sunderarmor.com/DIABLO4/Classes/2/"+e.name.toLowerCase()+".png",alt:e.name}):null,e.name):r.createElement("div",{className:"dropdown__option",onClick:()=>l(e.name),key:a,tabIndex:0,role:"button",onKeyDown:t=>f(t,e.name),onBlur:e=>g(e)},m?e.name:e.name.replace("-"," ")):null:s?r.createElement(n.Link,{activeClassName:"active",className:"dropdown__option"+(t?" "+e.name.toLowerCase():""),to:e.route+"/",onClick:()=>l(!o),key:a},t?r.createElement("img",{className:"dropdown__icon",src:"https://sunderarmor.com/DIABLO4/Classes/2/"+e.name.toLowerCase()+".png",alt:e.name}):null,e.name):r.createElement("div",{className:"dropdown__option",onClick:()=>l(e.isMain?e.variantName:e.name,null,i,u,d),key:a,tabIndex:0,role:"button",onKeyDown:t=>f(t,e.isMain?e.variantName:e.name),onBlur:e=>g(e)},m?e.isMain?e.variantName:e.name:e.name.replace("-"," ").replace("Eternal","Eternal Realm")))):"")}},9590:function(e,t,a){var r=a(1291),n=RangeError;e.exports=function(e){var t=r(e);if(t<0)throw new n("The argument can't be less than 0");return t}}}]);

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.