PageSourceSearch

https://secure.yourrent2own.com/_next/static/chunks/24b8dd099fdb6972.js

js yourrent2own.com collected 2026-09-29 16:40:32 UTC 528,751 bytes, 13 lines download raw bytes

1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,47800,e=>{"use strict";var t,r,n,i,o,s,a,l,c,u,d,f,h,p,m,g,y,v,w,b,_,S,E,C,x,k,I,T,A,M,O,R,P,D,N,L=e.i(3257);function F(){return(F=Object.assign.bind()).apply(null,arguments)}function U(){return(U=Object.assign.bind()).apply(null,arguments)}function z(){return(z=Object.assign.bind()).apply(null,arguments)}function B(){return(B=Object.assign.bind()).apply(null,arguments)}function j(){return(j=Object.assign.bind()).apply(null,arguments)}function V(){return(V=Object.assign.bind()).apply(null,arguments)}function $(){return($=Object.assign.bind()).apply(null,arguments)}function H(){return(H=Object.assign.bind()).apply(null,arguments)}let G=[{name:"Visa",value:"visa",icon:function(e){return L.createElement("svg",F({xmlns:"http://www.w3.org/2000/svg",width:44,height:32,fill:"none"},e),t||(t=L.createElement("g",{clipPath:"url(#visa_svg__a)"},L.createElement("path",{fill:"#1434CB",d:"m16.528 10.342-5.446 13.046H7.516L4.812 12.963c-.16-.64-.308-.874-.8-1.144-.823-.431-2.163-.862-3.344-1.108l.087-.394h5.74c.739 0 1.39.492 1.562 1.342l1.414 7.556 3.516-8.898h3.553zm14.003 8.8c0-3.447-4.77-3.643-4.733-5.182 0-.468.455-.972 1.426-1.108a6.4 6.4 0 0 1 3.331.591l.59-2.77a9.1 9.1 0 0 0-3.159-.578c-3.332 0-5.68 1.773-5.704 4.32-.025 1.884 1.671 2.93 2.95 3.57 1.328.627 1.77 1.046 1.758 1.612 0 .874-1.045 1.268-2.016 1.28-1.709.025-2.692-.455-3.467-.825l-.615 2.868c.787.357 2.238.677 3.75.69 3.553 0 5.877-1.748 5.889-4.468m8.815 4.258h3.123l-2.73-13.058h-2.877c-.651 0-1.205.369-1.438.96l-5.065 12.11h3.54l.701-1.944h4.34l.406 1.944zm-3.774-4.628 1.782-4.91 1.02 4.923h-2.79zm-14.213-8.43-2.79 13.07H15.2l2.79-13.07z"}))),r||(r=L.createElement("defs",null,L.createElement("clipPath",{id:"visa_svg__a"},L.createElement("rect",{width:44,height:32,fill:"#fff",rx:3})))))}},{name:"MasterCard",value:"mastercard",icon:function(e){return L.createElement("svg",U({xmlns:"http://www.w3.org/2000/svg",width:52,height:32,fill:"none"},e),n||(n=L.createElement("g",{clipPath:"url(#mastercard_svg__a)"},L.createElement("path",{fill:"#F06022",d:"M19.39 26.378h10.576V7.351H19.39v19.027"}),L.createElement("path",{fill:"#EA1D25",d:"M20.881 16.865a11.8 11.8 0 0 1 1.145-5.106 11.5 11.5 0 0 1 3.228-4.065 11.25 11.25 0 0 0-7.762-2.483 11.3 11.3 0 0 0-7.409 3.43 11.6 11.6 0 0 0-2.47 3.772 11.84 11.84 0 0 0 0 8.904 11.6 11.6 0 0 0 2.47 3.771 11.3 11.3 0 0 0 7.41 3.43c2.797.176 5.56-.708 7.761-2.482a11.65 11.65 0 0 1-3.215-4.072 11.9 11.9 0 0 1-1.158-5.1"}),L.createElement("path",{fill:"#F79D1D",d:"M44.644 16.884a11.52 11.52 0 0 1-3.49 8.243 12.2 12.2 0 0 1-7.77 3.392 12.27 12.27 0 0 1-8.13-2.459 11.8 11.8 0 0 0 3.363-4.075 11.5 11.5 0 0 0 1.216-5.1c.002-1.77-.41-3.517-1.203-5.107a11.7 11.7 0 0 0-3.376-4.07 12.14 12.14 0 0 1 8.132-2.498 12.08 12.08 0 0 1 7.768 3.432 11.6 11.6 0 0 1 2.59 3.779c.599 1.415.905 2.932.9 4.463"}))),i||(i=L.createElement("defs",null,L.createElement("clipPath",{id:"mastercard_svg__a"},L.createElement("rect",{width:52,height:32,fill:"#fff",rx:3})))))}},{name:"American Express",value:"americanexpress",icon:function(e){return L.createElement("svg",z({xmlns:"http://www.w3.org/2000/svg",width:36,height:24,fill:"none"},e),o||(o=L.createElement("g",{clipPath:"url(#amex_svg__a)"},L.createElement("path",{fill:"#016FD0",d:"M0 23.5h36V.5H0z"}),L.createElement("path",{fill:"#fff",fillRule:"evenodd",d:"M27.621 12.557v1.451h-3.753v1.009h3.663v1.45h-3.663v.991h3.753v1.469l3.042-3.185zm-.99-5.431-1.26-2.822h-3.6l-3.69 8.244h2.997v7.316l9.252.01 1.45-1.593 1.466 1.592H36v-2.326l-1.728-1.823L36 13.911V11.62l-1.737.008V7.223l-1.629 4.405H31.05l-1.674-4.423v4.423h-3.78l-.54-1.291h-2.97l-.54 1.291h-1.998l2.907-6.43v-.01h2.295l2.871 6.379V5.188l2.79.01 1.44 3.954 1.458-3.964H36v-.884h-3.393l-.765 2.114-.765-2.114h-4.446zm-4.554 5.405v6.43h5.544v-.008h2.286l1.89-2.052 1.908 2.052H36v-.088l-3.006-3.123L36 12.575v-.044h-2.268l-1.89 2.034-1.872-2.034zm.63-3.636.864-2.043.873 2.043z",clipRule:"evenodd"}))),s||(s=L.createElement("defs",null,L.createElement("clipPath",{id:"amex_svg__a"},L.createElement("rect",{width:36,height:23,y:.5,fill:"#fff",rx:3})))))}},{name:"Discover",value:"discover",icon:function(e){return L.createElement("svg",B({xmlns:"http://www.w3.org/2000/svg",width:57,height:35,fill:"none"},e),L.createElement("g",{clipPath:"url(#discover_svg__a)"},a||(a=L.createElement("path",{fill:"#261F20",d:"M6.728 12.651H4.567v7.56h2.155c1.142 0 1.972-.27 2.699-.874a3.8 3.8 0 0 0 1.374-2.9c-.006-2.235-1.673-3.786-4.067-3.786M8.45 18.33c-.464.415-1.062.598-2.015.598h-.397v-4.994h.397c.953 0 1.533.17 2.015.61.513.452.818 1.16.818 1.88 0 .721-.305 1.454-.818 1.906M12.938 12.651h-1.472v7.56h1.472zM16.547 15.552c-.886-.33-1.142-.544-1.142-.953 0-.476.464-.837 1.099-.837.44 0 .806.184 1.19.611l.77-1.007a3.3 3.3 0 0 0-2.222-.837c-1.338 0-2.358.928-2.358 2.168 0 1.044.477 1.575 1.863 2.07.574.201.873.342 1.02.427.293.19.44.464.44.782 0 .61-.49 1.068-1.149 1.068-.702 0-1.27-.354-1.612-1.007l-.952.916c.678.995 1.496 1.44 2.62 1.44 1.532 0 2.607-1.019 2.607-2.478 0-1.203-.495-1.747-2.174-2.357zM19.185 16.437c0 2.223 1.746 3.944 3.987 3.944.635 0 1.178-.122 1.85-.44v-1.733c-.592.592-1.111.83-1.783.83-1.484 0-2.54-1.075-2.54-2.607 0-1.453 1.087-2.595 2.473-2.595.702 0 1.233.25 1.85.848v-1.74c-.647-.33-1.178-.464-1.813-.464-2.235 0-4.024 1.759-4.024 3.957M36.715 17.725 34.7 12.651h-1.612l3.206 7.755h.794l3.266-7.755h-1.6zM41.02 20.21h4.183v-1.282H42.49v-2.04h2.614v-1.282h-2.613v-1.672h2.71V12.65H41.02zM51.04 14.88c0-1.417-.977-2.229-2.674-2.229H46.18v7.56h1.471v-3.035h.196l2.039 3.035h1.813l-2.38-3.188c1.11-.226 1.721-.983 1.721-2.143m-2.955 1.252h-.434v-2.29h.452c.916 0 1.417.385 1.417 1.123 0 .74-.501 1.167-1.441 1.167zM52.219 13.048c0-.134-.092-.207-.25-.207h-.215v.665h.16v-.256l.188.256h.196l-.22-.275c.092-.024.147-.091.147-.183zm-.281.092h-.025v-.177h.03q.121.001.123.085c0 .055-.043.092-.122.092z"})),l||(l=L.createElement("path",{fill:"#261F20",d:"M51.993 12.59a.58.58 0 1 0 0 1.16.58.58 0 0 0 .574-.58.58.58 0 0 0-.574-.58m0 1.063a.47.47 0 0 1-.464-.477.47.47 0 0 1 .464-.476.47.47 0 0 1 .458.476.473.473 0 0 1-.458.477"})),c||(c=L.createElement("path",{fill:"url(#discover_svg__b)",d:"M33.51 16.425c0 2.21-1.79 4.005-4.006 4.005a4 4 0 0 1-4.006-4.005 4.004 4.004 0 0 1 4.006-4.006 4.004 4.004 0 0 1 4.006 4.006"})),L.createElement("path",{fill:"url(#discover_svg__c)",d:"M33.51 16.425c0 2.21-1.79 4.005-4.006 4.005a4 4 0 0 1-4.006-4.005 4.004 4.004 0 0 1 4.006-4.006 4.004 4.004 0 0 1 4.006 4.006",opacity:.65,style:{mixBlendMode:"multiply"}}),L.createElement("g",{opacity:.5,style:{mixBlendMode:"multiply"}},L.createElement("mask",{id:"discover_svg__d",width:9,height:9,x:25,y:12,maskUnits:"userSpaceOnUse",style:{maskType:"luminance"}},u||(u=L.createElement("path",{fill:"#fff",d:"M33.51 16.425a4.01 4.01 0 0 1-4.006 4.005 4.004 4.004 0 0 1-4.006-4.005 4.004 4.004 0 0 1 4.006-4.006 4.004 4.004 0 0 1 4.006 4.006"}
1))),d||(d=L.createElement("g",{mask:"url(#discover_svg__d)"},L.createElement("path",{fill:"#020000",d:"M29.522 12.358a4.083 4.083 0 0 1 4.085 4.079 4.085 4.085 0 1 1-4.085-4.085z"}),L.createElement("path",{fill:"#030100",d:"M29.528 12.364a4.08 4.08 0 0 1 4.085 4.073 4.094 4.094 0 0 1-4.085 4.091 4.083 4.083 0 0 1-4.085-4.079 4.09 4.09 0 0 1 4.085-4.085"}),L.createElement("path",{fill:"#050100",d:"M29.528 12.37c2.254 0 4.091 1.82 4.091 4.073a4.095 4.095 0 0 1-4.09 4.091 4.07 4.07 0 0 1-4.08-4.079 4.08 4.08 0 0 1 4.08-4.079z"}),L.createElement("path",{fill:"#070200",d:"M29.535 12.376c2.253 0 4.09 1.814 4.09 4.067a4.1 4.1 0 0 1-4.09 4.091 4.074 4.074 0 0 1-4.08-4.079 4.08 4.08 0 0 1 4.08-4.079"}),L.createElement("path",{fill:"#080200",d:"M29.54 12.389c2.254 0 4.092 1.807 4.092 4.06a4.104 4.104 0 0 1-4.091 4.097 4.074 4.074 0 0 1-4.08-4.078 4.08 4.08 0 0 1 4.08-4.08"}),L.createElement("path",{fill:"#0A0300",d:"M29.547 12.395c2.253 0 4.09 1.807 4.09 4.06a4.104 4.104 0 0 1-4.09 4.098 4.074 4.074 0 0 1-4.08-4.08 4.08 4.08 0 0 1 4.08-4.078"}),L.createElement("path",{fill:"#0C0300",d:"M29.547 12.4c2.253 0 4.097 1.802 4.097 4.055S31.8 20.56 29.547 20.56a4.074 4.074 0 0 1-4.08-4.08 4.08 4.08 0 0 1 4.08-4.078"}),L.createElement("path",{fill:"#0E0400",d:"M29.553 12.407c2.253 0 4.097 1.801 4.097 4.048s-1.844 4.104-4.097 4.104a4.074 4.074 0 0 1-4.08-4.08 4.08 4.08 0 0 1 4.08-4.078z"}),L.createElement("path",{fill:"#0F0400",d:"M29.559 12.413c2.253.006 4.097 1.795 4.097 4.048s-1.85 4.11-4.097 4.11-4.085-1.826-4.079-4.08a4.08 4.08 0 0 1 4.079-4.078"}),L.createElement("path",{fill:"#110500",d:"M29.559 12.42c2.253.005 4.097 1.788 4.097 4.041s-1.85 4.11-4.097 4.11-4.085-1.826-4.079-4.08c.006-2.252 1.832-4.084 4.079-4.078z"}),L.createElement("path",{fill:"#130500",d:"M29.565 12.425c2.253.006 4.103 1.79 4.103 4.036 0 2.247-1.85 4.116-4.103 4.116s-4.085-1.826-4.073-4.073c.006-2.253 1.832-4.085 4.073-4.073z"}),L.createElement("path",{fill:"#140600",d:"M29.571 12.431c2.247.007 4.103 1.783 4.103 4.037s-1.856 4.115-4.103 4.115-4.085-1.826-4.073-4.073c.006-2.253 1.832-4.085 4.073-4.073z"}),L.createElement("path",{fill:"#160600",d:"M29.577 12.438c2.247.006 4.104 1.776 4.104 4.03 0 2.253-1.857 4.115-4.104 4.115s-4.085-1.826-4.073-4.073c.006-2.253 1.838-4.085 4.073-4.073"}),L.createElement("path",{fill:"#180600",d:"M29.577 12.444c2.247.012 4.11 1.776 4.11 4.024 0 2.247-1.857 4.121-4.11 4.121a4.07 4.07 0 0 1-4.073-4.073c.006-2.253 1.838-4.085 4.073-4.072"}),L.createElement("path",{fill:"#190700",d:"M29.583 12.456c2.247.012 4.11 1.77 4.11 4.024S31.83 20.6 29.583 20.6a4.07 4.07 0 0 1-4.072-4.072c.012-2.254 1.837-4.085 4.072-4.073"}),L.createElement("path",{fill:"#1B0700",d:"M29.59 12.462c2.246.012 4.109 1.77 4.109 4.018s-1.863 4.127-4.11 4.127a4.07 4.07 0 0 1-4.072-4.072c.012-2.254 1.838-4.085 4.072-4.073"}),L.createElement("path",{fill:"#1D0800",d:"M29.59 12.468c2.246.012 4.109 1.765 4.109 4.012s-1.863 4.127-4.11 4.127a4.07 4.07 0 0 1-4.072-4.072c.012-2.254 1.838-4.085 4.072-4.073z"}),L.createElement("path",{fill:"#1F0800",d:"M29.596 12.474c2.247.012 4.115 1.759 4.115 4.012s-1.868 4.134-4.115 4.134a4.07 4.07 0 0 1-4.073-4.073c.012-2.26 1.838-4.085 4.073-4.073"}),L.createElement("path",{fill:"#200900",d:"M29.602 12.48c2.247.012 4.115 1.759 4.115 4.006s-1.868 4.134-4.115 4.134-4.08-1.82-4.067-4.067c.012-2.26 1.838-4.085 4.067-4.067z"}),L.createElement("path",{fill:"#220900",d:"M29.608 12.486c2.247.012 4.115 1.753 4.115 4s-1.868 4.14-4.115 4.14-4.08-1.82-4.067-4.067c.012-2.26 1.838-4.085 4.067-4.067z"}),L.createElement("path",{fill:"#240A00",d:"M29.608 12.492c2.247.013 4.115 1.753 4.115 3.994 0 2.24-1.874 4.14-4.115 4.14s-4.08-1.82-4.067-4.067c.012-2.26 1.838-4.085 4.067-4.067"}),L.createElement("path",{fill:"#250A00",d:"M29.614 12.499c2.247.018 4.122 1.746 4.122 3.993s-1.875 4.14-4.122 4.14-4.079-1.82-4.067-4.067c.012-2.259 1.838-4.085 4.067-4.067"}),L.createElement("path",{fill:"#270B00",d:"M29.62 12.505c2.247.018 4.122 1.74 4.122 3.987s-1.875 4.146-4.122 4.146-4.079-1.82-4.067-4.067c.012-2.259 1.844-4.085 4.067-4.066"}),L.createElement("path",{fill:"#290B00",d:"M29.62 12.51c2.247.02 4.122 1.741 4.122 3.982s-1.881 4.146-4.122 4.146-4.079-1.82-4.067-4.067c.012-2.259 1.844-4.079 4.067-4.066z"}),L.createElement("path",{fill:"#2A0C00",d:"M29.626 12.523c2.247.018 4.128 1.734 4.128 3.981s-1.88 4.152-4.128 4.152c-2.247 0-4.079-1.82-4.067-4.066.019-2.26 1.844-4.08 4.067-4.067"}),L.createElement("path",{fill:"#2C0C00",d:"M29.632 12.53c2.247.017 4.128 1.727 4.128 3.974s-1.88 4.152-4.128 4.152c-2.247 0-4.079-1.82-4.067-4.066.019-2.26 1.845-4.08 4.067-4.067z"}),L.createElement("path",{fill:"#2E0D00",d:"M29.638 12.535c2.241.018 4.128 1.728 4.128 3.97 0 2.24-1.887 4.157-4.128 4.157s-4.079-1.82-4.066-4.06c.018-2.26 1.844-4.079 4.066-4.067"}),L.createElement("path",{fill:"#300D00",d:"M29.638 12.541c2.241.019 4.128 1.722 4.128 3.97 0 2.246-1.887 4.158-4.128 4.158s-4.079-1.82-4.06-4.061c.018-2.26 1.844-4.079 4.06-4.06z"}),L.createElement("path",{fill:"#310D00",d:"M29.644 12.547c2.241.019 4.134 1.722 4.134 3.963s-1.887 4.165-4.134 4.165-4.078-1.82-4.06-4.06c.018-2.26 1.844-4.08 4.06-4.061z"}),L.createElement("path",{fill:"#330E00",d:"M29.65 12.554c2.241.018 4.134 1.715 4.134 3.956s-1.893 4.165-4.133 4.165-4.08
1-1.82-4.061-4.061c.018-2.26 1.844-4.079 4.06-4.06"}),L.createElement("path",{fill:"#350E00",d:"M29.65 12.56c2.241.024 4.134 1.71 4.134 3.956s-1.893 4.165-4.133 4.165-4.08-1.82-4.061-4.06c.018-2.26 1.844-4.08 4.06-4.061"}),L.createElement("path",{fill:"#360F00",d:"M29.657 12.566c2.24.024 4.14 1.71 4.14 3.95s-1.893 4.17-4.14 4.17-4.08-1.819-4.061-4.06c.018-2.259 1.844-4.079 4.06-4.06"}),L.createElement("path",{fill:"#380F00",d:"M29.663 12.572c2.24.024 4.14 1.703 4.14 3.944s-1.9 4.17-4.14 4.17c-2.241 0-4.08-1.819-4.06-4.06.017-2.259 1.843-4.079 4.06-4.06z"}),L.createElement("path",{fill:"#3A1000",d:"M29.669 12.584c2.24.024 4.14 1.704 4.14 3.945s-1.9 4.176-4.14 4.176c-2.241 0-4.08-1.82-4.06-4.06.017-2.26 1.85-4.08 4.06-4.061"}),L.createElement("path",{fill:"#3B1000",d:"M29.669 12.59c2.24.025 4.14 1.698 4.14 3.939s-1.9 4.176-4.14 4.176c-2.241 0-4.08-1.82-4.06-4.06.024-2.26 1.85-4.08 4.06-4.061z"}),L.createElement("path",{fill:"#3D1100",d:"M29.675 12.596c2.24.025 4.146 1.692 4.146 3.933s-1.905 4.182-4.146 4.182-4.079-1.82-4.055-4.054c.025-2.26 1.85-4.08 4.055-4.055z"}),L.createElement("path",{fill:"#3F1100",d:"M29.681 12.602c2.24.025 4.146 1.692 4.146 3.933s-1.905 4.182-4.146 4.182-4.079-1.813-4.055-4.054c.025-2.26 1.85-4.079 4.055-4.055z"}),L.createElement("path",{fill:"#411200",d:"M29.681 12.609c2.24.024 4.146 1.685 4.146 3.926s-1.905 4.182-4.146 4.182-4.079-1.813-4.055-4.054c.025-2.26 1.85-4.079 4.055-4.055"}),L.createElement("path",{fill:"#421200",d:"M29.687 12.615c2.241.024 4.146 1.679 4.146 3.92s-1.911 4.189-4.146 4.189-4.079-1.814-4.054-4.055c.024-2.26 1.85-4.079 4.054-4.054"}),L.createElement("path",{fill:"#441300",d:"M29.693 12.62c2.241.031 4.152 1.68 4.152 3.92 0 2.242-1.91 4.19-4.152 4.19-2.24 0-4.079-1.814-4.054-4.055.024-2.26 1.85-4.079 4.054-4.054"}),L.createElement("path",{fill:"#461300",d:"M29.7 12.627c2.24.03 4.152 1.673 4.152 3.914s-1.912 4.195-4.153 4.195-4.079-1.814-4.054-4.055c.024-2.259 1.85-4.079 4.054-4.054"}),L.createElement("path",{fill:"#471300",d:"M29.7 12.633c2.234.03 4.152 1.673 4.152 3.908s-1.918 4.195-4.153 4.195-4.079-1.814-4.054-4.055c.024-2.259 1.85-4.079 4.054-4.054z"}),L.createElement("path",{fill:"#491400",d:"M29.705 12.639c2.235.03 4.159 1.667 4.159 3.908s-1.918 4.2-4.159 4.2-4.078-1.813-4.054-4.054c.024-2.259 1.85-4.078 4.054-4.054"}),L.createElement("path",{fill:"#4B1400",d:"M29.712 12.651c2.234.03 4.158 1.661 4.158 3.902s-1.917 4.201-4.158 4.201-4.08-1.814-4.055-4.048c.03-2.26 1.85-4.08 4.055-4.049z"}),L.createElement("path",{fill:"#4C1500",d:"M29.712 12.657c2.234.03 4.158 1.661 4.158 3.896s-1.924 4.207-4.158 4.207-4.08-1.813-4.049-4.048c.03-2.26 1.856-4.08 4.049-4.049z"}),L.createElement("path",{fill:"#4E1500",d:"M29.718 12.663c2.235.03 4.158 1.655 4.158 3.89s-1.923 4.207-4.158 4.207-4.08-1.813-4.049-4.048c.03-2.26 1.857-4.08 4.049-4.049"}),L.createElement("path",{fill:"#501600",d:"M29.724 12.67c2.235.03 4.164 1.654 4.164 3.89 0 2.234-1.923 4.206-4.164 4.206s-4.08-1.813-4.049-4.048c.03-2.26 1.857-4.079 4.049-4.049"}),L.createElement("path",{fill:"#521600",d:"M29.73 12.676c2.235.03 4.164 1.648 4.164 3.883s-1.93 4.213-4.164 4.213-4.079-1.813-4.049-4.048c.031-2.26 1.857-4.079 4.049-4.048"}),L.createElement("path",{fill:"#531700",d:"M29.73 12.682c2.235.036 4.164 1.642 4.164 3.877s-1.93 4.213-4.164 4.213-4.079-1.813-4.049-4.048c.031-2.26 1.857-4.079 4.049-4.048z"}),L.createElement("path",{fill:"#551700",d:"M29.736 12.688c2.235.037 4.164 1.642 4.164 3.877s-1.93 4.22-4.164 4.22-4.079-1.814-4.048-4.049c.03-2.26 1.856-4.079 4.048-4.048"}),L.createElement("path",{fill:"#571800",d:"M29.742 12.694c2.235.037 4.17 1.636 4.17 3.871s-1.935 4.22-4.17 4.22-4.079-1.814-4.048-4.049c.03-2.26 1.856-4.079 4.048-4.048z"}),L.createElement("path",{fill:"#581800",d:"M29.742 12.7c2.235.037 4.17 1.63 4.17 3.865s-1.935 4.226-4.17 4.226-4.079-1.814-4.048-4.049c.03-2.259 1.856-4.079 4.048-4.048z"}),L.createElement("path",{fill:"#5A1900",d:"M29.748 12.706c2.235.037 4.17 1.63 4.17 3.865s-1.935 4.226-4.17 4.226-4.079-1.814-4.042-4.043c.03-2.259 1.856-4.078 4.042-4.042z"}),L.createElement("path",{fill:"#5C1900",d:"M29.754 12.718c2.235.037 4.177 1.625 4.177 3.86s-1.942 4.23-4.177 4.23-4.079-1.813
1-4.042-4.041c.037-2.26 1.856-4.08 4.042-4.042z"}),L.createElement("path",{fill:"#5E1A00",d:"M29.754 12.725c2.235.036 4.177 1.624 4.177 3.852 0 2.23-1.942 4.232-4.177 4.232s-4.079-1.814-4.042-4.042c.037-2.26 1.862-4.08 4.042-4.042"}),L.createElement("path",{fill:"#5F1A00",d:"M29.76 12.73c2.235.037 4.177 1.619 4.177 3.854 0 2.234-1.942 4.231-4.177 4.231s-4.079-1.807-4.042-4.042c.037-2.26 1.863-4.08 4.042-4.042"}),L.createElement("path",{fill:"#611A00",d:"M29.767 12.737c2.228.036 4.176 1.612 4.176 3.847s-1.948 4.237-4.176 4.237c-2.23 0-4.08-1.807-4.043-4.042.037-2.26 1.863-4.079 4.043-4.042"}),L.createElement("path",{fill:"#631B00",d:"M29.773 12.743c2.228.043 4.182 1.612 4.182 3.84 0 2.23-1.948 4.238-4.182 4.238s-4.08-1.807-4.043-4.042c.037-2.26 1.863-4.079 4.043-4.042z"}),L.createElement("path",{fill:"#641B00",d:"M29.773 12.749c2.228.043 4.182 1.606 4.182 3.84 0 2.236-1.954 4.244-4.182 4.244-2.23 0-4.08-1.807-4.043-4.042.037-2.26 1.863-4.079 4.043-4.042"}),L.createElement("path",{fill:"#661C00",d:"M29.779 12.755c2.228.043 4.182 1.606 4.182 3.835s-1.954 4.243-4.182 4.243c-2.23 0-4.08-1.807-4.043-4.042.037-2.26 1.863-4.079 4.043-4.042z"}),L.createElement("path",{fill:"#681C00",d:"M29.785 12.761c2.229.043 4.183 1.6 4.183 3.829s-1.955 4.25-4.183 4.25c-2.229 0-4.08-1.808-4.036-4.037.036-2.259 1.862-4.078 4.036-4.036z"}),L.createElement("path",{fill:"#691D00",d:"M29.785 12.767c2.229.043 4.189 1.594 4.189 3.829s-1.96 4.25-4.19 4.25c-2.228 0-4.078-1.808-4.035-4.037.036-2.259 1.862-4.078 4.036-4.036z"}),L.createElement("path",{fill:"#6B1D00",d:"M29.79 12.78c2.23.042 4.19 1.593 4.19 3.822s-1.96 4.256-4.19 4.256c-2.228 0-4.078-1.808-4.035-4.036.036-2.26 1.862-4.08 4.036-4.036z"}),L.createElement("path",{fill:"#6D1E00",d:"M29.797 12.786c2.229.042 4.189 1.587 4.189 3.816s-1.96 4.256-4.189 4.256-4.079-1.808-4.036-4.036c.043-2.26 1.862-4.08 4.036-4.036"}),L.createElement("path",{fill:"#6F1E00",d:"M29.803 12.792c2.229.042 4.195 1.581 4.195 3.816s-1.966 4.256-4.195 4.256-4.079-1.808-4.036-4.036c.043-2.26 1.862-4.08 4.036-4.036"}),L.createElement("path",{fill:"#701F00",d:"M29.803 12.798c2.229.049 4.195 1.581 4.195 3.81s-1.966 4.262-4.195 4.262-4.079-1.807-4.036-4.036c.043-2.26 1.868-4.079 4.036-4.036"}),L.createElement("path",{fill:"#721F00",d:"M29.81 12.804c2.228.049 4.194 1.575 4.194 3.804s-1.966 4.262-4.195 4.262-4.073-1.807-4.036-4.036c.043-2.26 1.869-4.079 4.036-4.036z"}),L.createElement("path",{fill:"#742000",d:"M29.815 12.81c2.23.049 4.195 1.575 4.195 3.804s-1.972 4.268-4.195 4.268c-2.222 0-4.072-1.807-4.036-4.036.043-2.26 1.869-4.079 4.036-4.036"}),L.createElement("path",{fill:"#752000",d:"M29.815 12.816c2.23.049 4.201 1.57 4.201 3.798 0 2.229-1.972 4.268-4.2 4.268-2.23 0-4.073-1.807-4.037-4.036.043-2.26 1.869-4.079 4.036-4.03"}),L.createElement("path",{fill:"#772000",d:"M29.821 12.822c2.23.049 4.201 1.563 4.201 3.792s-1.972 4.274-4.2 4.274c-2.23 0-4.073-1.807-4.03-4.03.042-2.259 1.868-4.079 4.03-4.03z"}),L.createElement("path",{fill:"#792100",d:"M29.828 12.828c2.228.05 4.2 1.563 4.2 3.786s-1.978 4.274-4.2 4.274-4.073-1.807-4.03-4.03c.042-2.259 1.868-4.079 4.03-4.03"}),L.createElement("path",{fill:"#7A2100",d:"M29.834 12.834c2.222.05 4.207 1.557 4.207 3.786s-1.979 4.274-4.207 4.274c-2.23 0-4.073-1.807-4.03-4.03.042-2.259 1.868-4.078 4.03-4.03"}),L.createElement("path",{fill:"#7C2200",d:"M29.834 12.847c2.222.048 4.207 1.557 4.207 3.78s-1.979 4.28-4.207 4.28c-2.23 0-4.073-1.808-4.03-4.03.049-2.26 1.868-4.08 4.03-4.03"}),L.createElement("path",{fill:"#7E2200",d:"M29.84 12.853c2.222.049 4.207 1.55 4.207 3.773s-1.985 4.28-4.207 4.28c-2.223 0-4.073-1.807-4.03-4.03.049-2.259 1.868-4.078 4.03-4.03z"}),L.createElement("path",{fill:"#802300",d:"M29.846 12.859c2.223.055 4.207 1.545 4.207 3.773 0 2.23-1.984 4.287-4.207 4.287s-4.073-1.801-4.03-4.03c.049-2.26 1.868-4.079 4.03-4.03"}),L.createElement("path",{fill:"#812300",d:"M29.846 12.865c2.223.055 4.213 1.545 4.213 3.767s-1.984 4.287-4.213 4.287-4.073-1.801-4.03-4.03c.049-2.26 1.868-4.079 4.03-4.03z"}),L.createElement("path",{fill:"#832400",d:"M29.852 12.871c2.223.055 4.213 1.539 4.213 3.761s-1.99 4.293-4.213 4.293-4.073-1.801-4.03-4.03c.049-2.26 1.875-4.079 4.03-4.03z"}),L.createElement("path",{fill:"#852400",d:"M29.858 12.877c2.223.055 4.213 1.539 4.213 3.762s-1.99 4.292-4.213 4.292-4.073-1.801-4.024-4.024c.049-2.26 1.875-4.079 4.024-4.024z"}),L.createElement("path",{fill:"#862500",d:"M29.864 12.883c2.223.055 4.213 1.533 4.213 3.756s-1.99 4.298-4.213 4.298-4.073-1.801-4.024-4.024c.05-2.259 1.875-4.079 4.024-4.024z"}),L.createElement("path",{fill:"#882500",d:"M29.864 12.89c2.223.054 4.22 1.526 4.22 3.749s-1.997 4.298-4.22 4.298-4.073-1.801-4.024-4.024c.05-2.259 1.875-4.079 4.024-4.024"}),L.createElement("path",{fill:"#8A2600",d:"M29.87 12.895c2.223.055 4.22 1.527 4.22 3.75s-1.997 4.298-4.22 4.298-4.073-1.801-4.024-4.024c.05-2.259 1.875-4.078 4.024-4.024"}),L.createElement("path",{fill:"#8B2600",d:"M29.876 12.902c2.223.055 4.22 1.52 4.22 3.743s-1.997 4.304-4.22 4.304-4.072-1.8-4.024-4.024c.05-2.259 1.875-4.078 4.024-4.024"}),L.createElement("path",{fill:"#8D2600",d:"M29.876 12.914c2.223.055 4.226 1.514 4.226 3.737s-2.003 4.305-4.226 4.305-4.072-1.802-4.024-4.024c.055-2.26 1.875-4.08 4.024-4.024z"}),L.createElement("path",{fill:"#8F2700",d:"M29.883 12.92c2.222.06 4.225 1.514 4.225 3.737s-2.003 4.31-4.225 4.31c-2.223 0-4.073-1.8-4.024-4.023.054-2.26 1.874-4.08 4.023-4.024"}),L.createElement("path",{fill:"#912700",d:"M29.889 12.926c2.222.061 4.225 1.508 4.225 3.73s-2.003 4.312-4.225 4.312c-2.223 0-4.073-1.802-4.024-4.024.055-2.26 1.874-4.08 4.024-4.024z"}),L.createElement("path",{fill:"#922800",d:"M29.895 12.932c2.216.061 4.225 1.508 4.225 3.725s-2.009 4.317-4.225 4.317c-2.217 0-4.073-1.802-4.018-4.018.055-2.26 1.875-4.079 4.018-4.018z"}),L.createElement("path",{fill:"#942800",d:"M29.895 12.938c2.216.061 4.231 1.502 4.231 3.725s-2.009 4.317-4.231 4.3
117-4.073-1.801-4.018-4.018c.055-2.26 1.88-4.079 4.018-4.018z"}),L.createElement("path",{fill:"#962900",d:"M29.9 12.944c2.217.061 4.232 1.496 4.232 3.719s-2.008 4.323-4.231 4.323-4.073-1.801-4.018-4.018c.055-2.26 1.88-4.079 4.018-4.018z"}),L.createElement("path",{fill:"#972900",d:"M29.907 12.95c2.217.061 4.232 1.496 4.232 3.713s-2.016 4.323-4.232 4.323-4.073-1.801-4.018-4.018c.055-2.26 1.88-4.079 4.018-4.018"}),L.createElement("path",{fill:"#992A00",d:"M29.907 12.957c2.217.06 4.232 1.49 4.232 3.712s-2.016 4.323-4.232 4.323-4.073-1.801-4.018-4.018c.055-2.259 1.88-4.079 4.018-4.017"}),L.createElement("path",{fill:"#9B2A00",d:"M29.913 12.963c2.217.06 4.238 1.49 4.238 3.706s-2.015 4.33-4.238 4.33-4.073-1.802-4.018-4.019c.055-2.259 1.88-4.078 4.018-4.017"}),L.createElement("path",{fill:"#9C2B00",d:"M29.92 12.975c2.216.06 4.237 1.484 4.237 3.7s-2.021 4.33-4.238 4.33c-2.216 0-4.073-1.802-4.018-4.018.055-2.26 1.881-4.08 4.018-4.018z"}),L.createElement("path",{fill:"#9E2B00",d:"M29.925 12.98c2.217.068 4.238 1.479 4.238 3.701s-2.021 4.336-4.238 4.336c-2.216 0-4.073-1.802-4.018-4.018.061-2.26 1.881-4.08 4.018-4.018"}),L.createElement("path",{fill:"#A02C00",d:"M29.925 12.987c2.217.067 4.244 1.478 4.244 3.694s-2.021 4.336-4.244 4.336-4.073-1.802-4.018-4.018c.061-2.26 1.881-4.08 4.018-4.018z"}),L.createElement("path",{fill:"#A22C00",d:"M29.931 12.993c2.217.067 4.244 1.472 4.244 3.688s-2.027 4.342-4.244 4.342-4.072-1.796-4.011-4.012c.06-2.26 1.88-4.079 4.011-4.012z"}),L.createElement("path",{fill:"#A32D00",d:"M29.937 13c2.217.066 4.244 1.465 4.244 3.681s-2.027 4.342-4.244 4.342-4.072-1.796-4.011-4.012c.06-2.26 1.88-4.079 4.011-4.012"}),L.createElement("path",{fill:"#A52D00",d:"M29.937 13.005c2.217.067 4.244 1.466 4.244 3.682s-2.027 4.348-4.244 4.348-4.072-1.795-4.011-4.012c.06-2.26 1.88-4.079 4.011-4.012z"}),L.createElement("path",{fill:"#A72D00",d:"M29.944 13.011c2.216.068 4.25 1.46 4.25 3.676s-2.034 4.348-4.25 4.348-4.073-1.795-4.012-4.012c.06-2.26 1.887-4.079 4.012-4.012"}),L.createElement("path",{fill:"#A82E00",d:"M29.95 13.018c2.216.067 4.25 1.459 4.25 3.67s-2.034 4.347-4.25 4.347-4.073-1.795-4.012-4.012c.061-2.26 1.887-4.079 4.012-4.012z"}),L.createElement("path",{fill:"#AA2E00",d:"M29.956 13.024c2.216.067 4.25 1.453 4.25 3.67s-2.034 4.353-4.25 4.353-4.073-1.795-4.012-4.012c.061-2.259 1.887-4.078 4.012-4.011"}),L.createElement("path",{fill:"#AC2F00",d:"M29.956 13.03c2.21.067 4.25 1.447 4.25 3.663 0 2.217-2.04 4.354-4.25 4.354s-4.073-1.795-4.012-4.012c.061-2.259 1.887-4.078 4.012-4.011z"}),L.createElement("path",{fill:"#AD2F00",d:"M29.962 13.042c2.21.073 4.256 1.447 4.256 3.658s-2.04 4.36-4.256 4.36-4.073-1.796-4.012-4.012c.061-2.26 1.887-4.08 4.012-4.012z"}),L.createElement("path",{fill:"#AF3000",d:"M29.968 13.048c2.21.073 4.256 1.441 4.256 3.658s-2.04 4.36-4.256 4.36-4.073-1.796-4.006-4.006c.068-2.26 1.887-4.08 4.006-4.006z"}),L.createElement("path",{fill:"#B13000",d:"M29.968 13.054c2.21.073 4.256 1.441 4.256 3.652 0 2.21-2.046 4.366-4.256 4.366s-4.073-1.796-4.006-4.006c.068-2.26 1.887-4.079 4.006-4.006z"}),L.createElement("path",{fill:"#B33100",d:"M29.974 13.06c2.21.074 4.262 1.435 4.262 3.646s-2.045 4.366-4.262 4.366-4.073-1.796-4.006-4.006c.068-2.26 1.887-4.079 4.006-4.006"}),L.createElement("path",{fill:"#B43100",d:"M29.98 13.066c2.21.074 4.262 1.43 4.262 3.646s-2.045 4.366-4.262 4.366-4.073-1.796-4.005-4.006c.067-2.26 1.886-4.079 4.005-4.006"}),L.createElement("path",{fill:"#B63200",d:"M29.986 13.073c2.21.073 4.262 1.428 4.262 3.639s-2.051 4.372-4.262 4.372-4.073-1.796-4.005-4.006c.067-2.26 1.886-4.079 4.005-4.005"}),L.createElement("path",{fill:"#B83200",d:"M29.986 13.079c2.21.073 4.262 1.422 4.262 3.633 0 2.21-2.051 4.372-4.262 4.372s-4.073-1.796-4.005-4.006c.067-2.26 1.886-4.079 4.005-4.005z"}),L.createElement("path",{fill:"#B93300",d:"M29.992 13.085c2.21.073 4.269 1.416 4.269 3.633s-2.058 4.378-4.269 4.378c-2.21 0-4.072-1.795-4.005-4.006.067-2.265 1.893-4.078 4.005-4.005"}),L.createElement("path",{fill:"#B30",d:"M34.267 16.718c0 2.21-2.058 4.378-4.269 4.378-2.21 0-4.072-1.795-4.005-4.006.067-2.265 1.893-4.078 4.006-4.005 2.21.08 4.268 1.416 4.268 3.627z"}),L.createElement("path",{fill:"#BC3502",d:"M29.999 13.097c2.21.073 4.268 1.417 4.268 3.633s-2.052 4.378-4.269 4.378-4.072-1.795-4.005-4.006c.067-2.259 1.893-4.072 4.006-4.005",opacity:.99}),L.createElement("path",{fill:"#BC3705",d:"M30.005 13.103c2.21.073 4.262 1.423 4.262 3.633s-2.052 4.372-4.262 4.372-4.067-1.795-4.006-4.006c.067-2.259 1.887-4.072 4.006-4.005z",opacity:.98}),L.createElement("path",{fill:"#BD3907",d:"M30.005 13.11c2.21.072 4.262 1.428 4.262 3.638s-2.052 4.372-4.262 4.372-4.067-1.795-4.006-4.005c.067-2.26 1.887-4.073 4.006-4.006",opacity:.97}),L.createElement("path",{fill:"#BD3A09",d:"M30.01 13.115c2.211.073 4.257 1.43 4.257 3.64S32.22 21.12 30.01 21.12s-4.067-1.795-4.006-4.005c.067-2.26 1.887-4.073 4.006-4.006z",opacity:.96}),L.createElement("path",{fill:"#BE3C0C",d:"M30.017 13.121c2.21.074 4.256 1.435 4.256 3.646s-2.046 4.36-4.256 4.36-4.067-1.796-4.006-4.006c.067-2.26 1.887-4.073 4.006-4.006z",opacity:.95}),L.createElement("path",{fill:"#BF3E0E",d:"M30.017 13.121c2.21.074 4.256 1.435 4.256 3.646s-2.04 4.36-4.256 4.36-4.067-1.796-4.006-4.006c.067-2.26 1.887-4.073 4.006-4.006z",opacity:.95}),L.createElement("path",{fill:"#BF4010",d:"M30.023 13.128c2.21.073 4.25 1.44 4.25 3.65s-2.04 4.355-4.25 4.355-4.067-1.796-4.006-4.006c.067-2.26 1.887-4.073 4.006-4.006z",opacity:.94}),L.createElement("path",{fill:"#C04213",d:"M30.023 13.134c2.21.073 4.25 1.44 4.25 3.651s-2.04 4.354-4.25 4.354-4.067-1.796-4.006-4.006c.061-2.26 1.881-4.073 4.006-4.005z",opacity:.93}),L.createElement("path",{fill:"#C14415",d:"M30.029 13.14c2.21.067 4.244 1.447 4.244 3.657s-2.034 4.348-4.244 4.348-4.067-1.795-4.006-4.006c.061-2.26 1.881-4.073 4.006-4.005z",opacity:.92}),L.createElement("path",{fill:"#C14617",d:"M30.029 13.146c2.21.067 4.244 1.447 4.244 3.663 0 2.217-2.034 4.348-4.244 4.348s-4.067-1.795-4.006-4.006c.061-2.259 1.881-4.066 4.006-4.005",opacity:.91}),L.createElement("path",{fill:"#C24719",d:"M30.035 13.152c2.21.067 4.244 1.453 4.244 3.664 0 2.21-2.034 4.341-4.244 4.341s-4.067-1.795-4.006-4.006c.062-2.259 1.881-4.066 4.006-4.005z",opacity:.9}),L.createElement("path",{fill:"#C2491C",d:"M30.035 13.152c2.21.067 4.238 1.46 4.238 3.67s-2.027 4.341-4.238 4.341c-2.21 0-4.06-1.795-4.005-4.006.06-2.259 1.88-4.066 4.005-4.005",opacity:.89}),L.createElement("path",{fill:"#C34B1E",d:"M30.041 13.158c2.21.067 4.238 1.46 4.238 3.67s-2.027 4.335-4.238 4.335c-2.21 0-4.06-1.795-4.005-4.006.06-2.259 1.88-4.066 4.005-4.005z",opacity:.88}),L.createElement("path",{fill:"#C44D20",d:"M30.047 13.164c2.21.067 4.232 1.466 4.232 3.676s-2.021 4.33-4.232 4.33c-2.21 0-4.06-1.796-4.005-4.006.06-2.254 1.88-4.067 4.005-4.006z",opacity:.87}),L.createElement("path",{fill:"#C44F23",d:"M30.047 13.17c2.21.067 4.232 1.466 4.232 3.676s-2.021 4.33-4.232 4.33c-2.21 0-4.06-1.796-4.005-4.006.06-2.254 1.874-4.067 4.005-4.006z",opacity:.86}),L.createElement("path",{fill:"#C55125",d:"M30.054 13.176c2.21.067 4.231 1.472 4.231 3.682s-2.021 4.323-4.231 4.323-4.061-1.795-4.006-4.005c.06-2.253 1.875-4.067 4.006-4.006z",opacity:.85}),L.createElement("path",{fill:"#C65327",d:"M30.054 13.182c2.21.068 4.225 1.472 4.225 3.682s-2.015 4.323-4.226 4.323-4.06-1.795-4.005-4.005c.06-2.253 1.875-4.067 4.006-4.006z",opacity:.85}),L.createElement("path",{fill:"#C6542A",d:"M30.06 13.189c2.21.06 4.225 1.477 4.225 3.688 0 2.21-2.015 4.317-4.225 4.317s-4.061-1.796-4.006-4.006c.055-2.253 1.875-4.067 4.006-4.006z",opacity:.84}),L.createElement("path",{fill:"#C7562C",d:"M30.06 13.189c2.21.06 4.219 1.477 4.219 3.694S32.27 21.2 30.059 21.2s-4.06-1.796-4.005-4.006c.055-2.253 1.875-4.06 4.006-4.005",opacity:.83}),L.createElement("path",{fill:"#C7582E",d:"M30.066 13.195c2.21.06 4.219 1.483 4.219 3.694s-2.009 4.31-4.22 4.31-4.06-1.795-4.005-4.005c.055-2.253 1.875-4.06 4.006-4.005z",opacity:.82}),L.createElement("path",{fill:"#C85A31",d:"M30.066 13.2c2.21.062 4.219 1.49 4.219 3.701 0 2.21-2.009 4.305-4.22 4.305s-4.06-1.795-4.005-4.006c.055-2.253 1.875-4.06 4.006-4.005z",opacity:.81}),L.createElement("path",{fill:"#C95C33",d:"M30.072 13.207c2.21.06 4.213 1.49 4.213 3.7s-2.003 4.305-4.213 4.305-4.055-1.795-4.006-4.006c.055-2.253 1.869-4.06 4.006-4.005z",opacity:.8}),L.createElement("path",{fill:"#C95E35",d:"M30.078 13.213c2.21.061 4.213 1.496 4.213 3.706s-2.003 4.299-4.213 4.299-4.055-1.795-4.006-4.006c.055-2.253 1.869-4.06 4.006-4.005z",opacity:.79}),L.createElement("path",{fill:"#CA6038",d:"M30.078 13.22c2.21.06 4.207 1.495 4.207 3.705s-1.997 4.3-4.207 4.3-4.055-1.796-4.006-4.007c.055-2.253 1.869-4.06 4.006-4.005z",opacity:.78}),L.createElement("path",{fill:"#CA613A",d:"M30.084 13.22c2.21.06 4.207 1.501 4.207 3.712 0 2.21-1.997 4.292-4.207 4.292s-4.054-1.795-4.006-4.006c.055-2.253 1.869-4.06 4.006-4.005z",opacity:.77}),L.createElement("path",{fill:"#CB633C",d:"M30.084 13.225c2.21.061 4.207 1.502 4.207 3.719s-1.997 4.292-4.207 4.292-4.054-1.795-4.006-4.005c.055-2.253 1.869-4.06 4.006-4.006",opacity:.76}),L.createElement("path",{fill:"#CC653F",d:"M30.09 13.231c2.21.055 4.201 1.508 4.201 3.719s-1.99 4.286-4.2 4.286-4.055-1.795-4.007-4.005c.056-2.247 1.869-4.06 4.006-4.006z",opacity:.75}),L.createElement("path",{fill:"#CC6741",d:"M30.09 13.237c2.21.055 4.201 1.515 4.201 3.725s-1.99 4.287-4.2 4.287-4.055-1.796-4.007-4.006c.05-2.247 1.869-4.06 4.006-4.006",opacity:.75}),L.createElement("path",{fill:"#CD6943",d:"M30.096 13.244c2.21.054 4.201 1.514 4.201 3.724s-1.984 4.28-4.2 4.28-4.055-1.795-4.006-4.005c.049-2.247 1.862-4.054 4.005-4.006z",opacity:.74}),L.createElement("path",{fill:"#CE6B46",d:"M30.102 13.25c2.21.055 4.195 1.52 4.195 3.73s-1.984 4.275-4.195 4.275c-2.21 0-4.054-1.796-4.005-4.006.049-2.247 1.862-4.054 4.005-4.005z",opacity:.73}),L.createElement("path",{fill:"#CE6C48",d:"M30.102 13.25c2.21.055 4.195 1.52 4.195 3.73s-1.984 4.275-4.195 4.275c-2.21 0-4.054-1.796-4.005-4.006.049-2.247 1.862-4.054 4.005-4.005z",opacity:.72}),L.createElement("path",{fill:"#CF6E4A",d:"M30.108 13.256c2.21.055 4.19 1.526 4.19 3.737 0 2.21-1.98 4.268-4.19 4.268s-4.048-1.795-4.005-4.006c.049-2.247 1.862-4.054 4.005-4.005z",opacity:.71}),L.createElement("path",{fill:"#CF704C",d:"M30.108 13.262c2.21.055 4.19 1.526 4.19 3.737 0 2.21-1.98 4.268-4.19 4.268s-4.048-1.795-4.005-4.006c.049-2.247 1.862-4.054 4.005-4.005z",opacity:.7}),L.createElement("path",{fill:"#D0724F",d:"M30.115 13.268c2.21.055 4.188 1.532 4.188 3.743s-1.972 4.262-4.188 4.262c-2.217 0-4.049-1.795-4.006-4.006.049-2.247 1.862-4.054 4.005-4.005z",opacity:.69}),L.createElement("path",{fill:"#D17451",d:"M30.115 13.274c2.21.055 4.182 1.533 4.182 3.75s-1.972 4.261-4.182 4.261-4.049-1.795-4.006-4.005c.049-2.247 1.862-4.055 4.005-4.006",opacity:.68}),L.createElement("path",{fill:"#D17653",d:"M30.12 13.28c2.211.049 4.183 1.539 4.183 3.75 0 2.21-1.972 4.255-4.182 4.255s-4.049-1.795-4.006-4.005c.049-2.247 1.856-4.055 4.006-4.006z",opacity:.67}),L.createElement("path",{fill:"#D27856",d:"M30.12 13.28c2.211.049 4.177 1.545 4.177 3.755s-1.966 4.256-4.176 4.256-4.049-1.795-4.006-4.005c.049-2.247 1.856-4.055 4.006-4.006",opacity:.66}),L.createElement("path",{fill:"#D27958",d:"M30.127 13.286c2.21.05 4.176 1.545 4.176 3.755s-1.966 4.25-4.176 4.25-4.049-1.795-4.006-4.005c.043-2.247 1.856-4.049 4.006-4.006z",opacity:.65}),L.createElement("path",{fill:"#D37B5A",d:"M30.133 13.292c2.21.05 4.176 1.551 4.176 3.762 0 2.21-1.96 4.243-4.176 4.243s-4.049-1.795-4.006-4.005c.043-2.247 1.857-4.049 4.006-4.006z",opacity:.65}),L.createElement("path",{fill:"#D47D5D",d:"M30.133 13.298c2.21.05 4.17 1.551 4.17 3.762 0 2.21-1.96 4.244-4.17 4.244s-4.049-1.796-4.006-4.006c.043-2.241 1.857-4.048 4.006-4.006z",opacity:.64}),L.createElement("path",{fill:"#D47F5F",d:"M30.139 13.305c2.21.048 4.17 1.557 4.17 3.767s-1.96 4.238-4.17 4.238-4.048-1.796-4.006-4.006c.043-2.24 1.857-4.048 4.006-4.006z",opacity:.63}),L.createElement("path",{fill:"#D58161",d:"M30.139 13.31c2.21.05 4.164 1.558 4.164 3.768s-1.954 4.238-4.164 4.238-4.042-1.796-4.006-4.006c.043-2.24 1.85-4.048 4.006-4.005z",opacity:.62}),L.createElement("path",{fill:"#D68364",d:"M30.145 13.31c2.21.05 4.164 1.564 4.164 3.774s-1.953 4.232-4.164 4.232-4.042-1.796-4.005-4.006c.042-2.24 1.85-4.048 4.005-4.005z",opacity:.61}),L.createElement("path",{fill:"#D68566",d:"M30.145 13.317c2.21.049 4.164 1.569 4.164 3.78s-1.953 4.23-4.164 4.23-4.042-1.794-4.005-4.005c.042-2.24 1.85-4.048 4.005-4.005",opacity:.6}),L.createElement("path",{fill:"#D78668",d:"M30.151 13.323c2.21.043 4.158 1.57 4.158 3.78s-1.947 4.225-4.158 4.225c-2.21 0-4.042-1.795-4.005-4.006.042-2.24 1.85-4.048 4.005-4.005z",opacity:.59}),L.createElement("path",{fill:"#D7886B",d:"M30.151 13.329c2.21.043 4.158 1.575 4.158 3.786 0 2.21-1.947 4.22-4.158 4.22-2.21 0-4.042-1.796-4.005-4.007.042-2.24 1.85-4.048 4.005-4.005z",opacity:.58}),L.createElement("path",{fill:"#D88A6D",d:"M30.157 13.335c2.21.043 4.152 1.576 4.152 3.786s-1.941 4.22-4.152 4.22c-2.21 0-4.042-1.796-4.005-4.006.036-2.241 1.85-4.043 4.005-4.006z",opacity:.57}),L.createElement("path",{fill:"#D98C6F",d:"M30.163 13.341c2.21.043 4.153 1.582 4.153 3.792s-1.942 4.213-4.153 4.213-4.042-1.795-4.005-4.005c.036-2.241 1.85-4.043 4.005-4.006z",opacity:.56}),L.createElement("path",{fill:"#D98E72",d:"M30.163 13.347c2.21.043 4.153 1.582 4.153 3.792s-1.942 4.213-4.153 4.213-4.042-1.795-4.005-4.005c.036-2.241 1.844-4.043 4.005-4.006z",opacity:.55}),L.createElement("path",{fill:"#DA9074",d:"M30.17 13.347c2.21.043 4.145 1.588 4.145 3.798s-1.935 4.207-4.145 4.207-4.043-1.795-4.006-4.005c.037-2.241 1.844-4.043 4.005-4.006z",opacity:.55}),L.createElement("path",{fill:"#DB9276",d:"M30.17 13.353c2.21.043 4.145 1.588 4.145 3.804 0 2.217-1.935 4.208-4.145 4.208s-4.043-1.796-4.006-4.006c.037-2.24 1.844-4.042 4.005-4.006",opacity:.54}),L.createElement("path",{fill:"#DB9379",d:"M30.176 13.36c2.21.042 4.14 1.593 4.14 3.804s-1.93 4.2-4.14 4.2-4.036-1.795-4.006-4.005c.037-2.24 1.844-4.042 4.006-4.006z",opacity:.53}),L.createElement("path",{fill:"#DC957B",d:"M30.176 13.366c2.21.036 4.14 1.6 4.14 3.81s-1.93 4.2-4.14 4.2-4.036-1.794-4.006-4.005c.037-2.235 1.844-4.042 4.006-4.005",opacity:.52}),L.createElement("path",{fill:"#DC977D",d:"M30.182 13.372c2.21.036 4.14 1.6 4.14 3.81s-1.93 4.195-4.14 4.195-4.036-1.795-4.006-4.006c.037-2.235 1.844-4.042 4.006-4.005z",opacity:.51}),L.createElement("path",{fill:"#DD9980",d:"M30.188 13.378c2.21.036 4.134 1.606 4.134 3.8
116s-1.924 4.189-4.134 4.189-4.036-1.795-4.006-4.006c.037-2.234 1.844-4.042 4.006-4.005z",opacity:.5}),L.createElement("path",{fill:"#DE9B82",d:"M30.188 13.378c2.21.037 4.134 1.606 4.134 3.816s-1.924 4.189-4.134 4.189-4.036-1.795-4.006-4.006c.037-2.234 1.838-4.036 4.006-4.005z",opacity:.49}),L.createElement("path",{fill:"#DE9D84",d:"M30.194 13.384c2.21.037 4.128 1.612 4.128 3.822s-1.918 4.183-4.128 4.183-4.036-1.795-4.006-4.006c.03-2.234 1.838-4.036 4.006-4.005z",opacity:.48}),L.createElement("path",{fill:"#DF9F86",d:"M30.194 13.39c2.21.037 4.128 1.612 4.128 3.822s-1.918 4.183-4.128 4.183-4.036-1.795-4.006-4.005c.03-2.235 1.838-4.037 4.006-4.006z",opacity:.47}),L.createElement("path",{fill:"#DFA089",d:"M30.2 13.396c2.21.037 4.128 1.618 4.128 3.829 0 2.21-1.918 4.176-4.128 4.176s-4.036-1.795-4.006-4.005c.03-2.235 1.838-4.036 4.006-4.006z",opacity:.46}),L.createElement("path",{fill:"#E0A28B",d:"M30.2 13.402c2.21.037 4.122 1.618 4.122 3.835s-1.912 4.176-4.122 4.176-4.036-1.795-4.006-4.005c.03-2.235 1.838-4.036 4.006-4.006",opacity:.45}),L.createElement("path",{fill:"#E1A48D",d:"M30.206 13.408c2.21.037 4.122 1.625 4.122 3.835s-1.912 4.17-4.122 4.17-4.036-1.795-4.005-4.005c.03-2.235 1.837-4.036 4.005-4.006z",opacity:.45}),L.createElement("path",{fill:"#E1A690",d:"M30.206 13.408c2.21.03 4.122 1.63 4.122 3.841 0 2.21-1.905 4.17-4.122 4.17s-4.03-1.795-4.005-4.005c.03-2.235 1.837-4.036 4.005-4.006",opacity:.44}),L.createElement("path",{fill:"#E2A892",d:"M30.212 13.414c2.21.031 4.116 1.63 4.116 3.841 0 2.21-1.905 4.165-4.116 4.165s-4.03-1.796-4.005-4.006c.03-2.235 1.831-4.036 4.005-4.006z",opacity:.43}),L.createElement("path",{fill:"#E3AA94",d:"M30.218 13.42c2.21.031 4.116 1.637 4.116 3.847s-1.905 4.159-4.116 4.159-4.03-1.796-4.005-4.006c.03-2.235 1.831-4.036 4.005-4.006z",opacity:.42}),L.createElement("path",{fill:"#E3AC97",d:"M30.218 13.427c2.21.03 4.11 1.636 4.11 3.846s-1.9 4.159-4.11 4.159-4.03-1.795-4.005-4.006c.03-2.235 1.831-4.03 4.005-4.005z",opacity:.41}),L.createElement("path",{fill:"#E4AD99",d:"M30.224 13.433c2.21.03 4.11 1.642 4.11 3.853 0 2.21-1.9 4.152-4.11 4.152s-4.03-1.795-4.005-4.006c.03-2.228 1.832-4.03 4.005-4.005z",opacity:.4}),L.createElement("path",{fill:"#E4AF9B",d:"M30.224 13.439c2.21.03 4.11 1.642 4.11 3.853 0 2.21-1.893 4.152-4.11 4.152-2.216 0-4.03-1.795-4.005-4.006.024-2.228 1.832-4.03 4.005-4.005z",opacity:.39}),L.createElement("path",{fill:"#E5B19E",d:"M30.23 13.439c2.21.03 4.104 1.649 4.104 3.859s-1.893 4.146-4.104 4.146c-2.21 0-4.03-1.795-4.005-4.006.024-2.228 1.832-4.03 4.005-4.005z",opacity:.38}),L.createElement("path",{fill:"#E6B3A0",d:"M30.23 13.445c2.21.03 4.104 1.655 4.104 3.865s-1.893 4.146-4.104 4.146c-2.21 0-4.03-1.795-4.005-4.005.024-2.23 1.832-4.03 4.005-4.006",opacity:.37}),L.createElement("path",{fill:"#E6B5A2",d:"M30.237 13.451c2.21.03 4.097 1.655 4.097 3.865s-1.887 4.14-4.097 4.14-4.03-1.795-4.006-4.005c.024-2.23 1.826-4.03 4.006-4.006z",opacity:.36}),L.createElement("path",{fill:"#E7B7A5",d:"M30.237 13.457c2.21.025 4.097 1.661 4.097 3.871s-1.887 4.134-4.097 4.134-4.03-1.795-4.006-4.005c.024-2.229 1.826-4.03 4.006-4.006z",opacity:.35}),L.createElement("path",{fill:"#E8B9A7",d:"M30.243 13.463c2.21.025 4.097 1.661 4.097 3.872s-1.88 4.133-4.097 4.133-4.024-1.795-4.006-4.005c.025-2.229 1.826-4.03 4.006-4.006z",opacity:.35}),L.createElement("path",{fill:"#E8BAA9",d:"M30.249 13.47c2.21.024 4.09 1.666 4.09 3.877s-1.88 4.127-4.09 4.127-4.024-1.795-4.006-4.005c.025-2.229 1.826-4.03 4.006-4.006z",opacity:.34}),L.createElement("path",{fill:"#E9BCAC",d:"M30.249 13.47c2.21.024 4.09 1.666 4.09 3.877s-1.88 4.127-4.09 4.127-4.024-1.795-4.006-4.005c.025-2.229 1.826-4.03 4.006-4.006z",opacity:.33}),L.createElement("path",{fill:"#E9BEAE",d:"M30.255 13.476c2.21.024 4.085 1.673 4.085 3.883s-1.875 4.122-4.085 4.122-4.024-1.796-4.006-4.006c.025-2.229 1.826-4.024 4.006-4.006z",opacity:.32}),L.createElement("path",{fill:"#EAC0B0",d:"M30.255 13.482c2.21.024 4.085 1.673 4.085 3.89s-1.875 4.12-4.085 4.12-4.024-1.794-4.006-4.005c.019-2.228 1.826-4.024 4.006-4.005",opacity:.31}),L.createElement("path",{fill:"#EBC2B3",d:"M30.261 13.488c2.21.024 4.085 1.679 4.085 3.89 0 2.21-1.868 4.115-4.085 4.115s-4.024-1.795-4.006-4.006c.019-2.228 1.82-4.024 4.006-4.005z",opacity:.3}),L.createElement("path",{fill:"#EBC4B5",d:"M30.261 13.494c2.21.024 4.079 1.685 4.079 3.896s-1.869 4.115-4.079 4.115-4.024-1.795-4.006-4.006c.019-2.228 1.82-4.023 4.006-4.005",opacity:.29}),L.createElement("path",{fill:"#ECC6B7",d:"M30.267 13.5c2.21.024 4.079 1.685 4.079 3.896s-1.868 4.109-4.079 4.109-4.024-1.795-4.005-4.006c.018-2.222 1.82-4.023 4.005-4.005z",opacity:.28}),L.createElement("path",{fill:"#ECC7B9",d:"M30.267 13.506c2.21.018 4.073 1.691 4.073 3.902 0 2.21-1.862 4.103-4.073 4.103-2.21 0-4.024-1.795-4.005-4.005.018-2.223 1.82-4.024 4.005-4.006z",opacity:.27}),L.createElement("path",{fill:"#EDC9BC",d:"M30.273 13.506c2.21.018 4.073 1.691 4.073 3.902 0 2.21-1.862 4.103-4.073 4.103-2.21 0-4.024-1.795-4.005-4.005.018-2.223 1.82-4.024 4.005-4.006z",opacity:.26}),L.createElement("path",{fill:"#EECBBE",d:"M30.28 13.512c2.21.018 4.072 1.698 4.072 3.908s-1.862 4.097-4.073 4.097c-2.21 0-4.017-1.795-4.005-4.005.018-2.223 1.82-4.024 4.005-4.006z",opacity:.25}),L.createElement("path",{fill:"#EECDC0",d:"M30.28 13.518c2.21.019 4.066 1.698 4.066 3.908s-1.856 4.097-4.067 4.097c-2.21 0-4.017-1.795-4.005-4.005.018-2.223 1.813-4.024 4.005-4.006z",opacity:.25}),L.createElement("path",{fill:"#EFCFC3",d:"M30.286 13.524c2.21.019 4.066 1.704 4.066 3.914s-1.856 4.091-4.066 4.091-4.018-1.795-4.006-4.005c.018-2.223 1.813-4.018 4.005-4.006z",opacity:.24}),L.createElement("path",{fill:"#F0D1C5",d:"M30.286 13.53c2.21.019 4.06 1.71 4.06 3.92s-1.85 4.092-4.06 4.092-4.018-1.796-4.006-4.006c.018-2.223 1.813-4.018 4.005-4.006",opacity:.23}
1),L.createElement("path",{fill:"#F0D2C7",d:"M30.292 13.537c2.21.018 4.06 1.71 4.06 3.92s-1.85 4.085-4.06 4.085-4.018-1.796-4.006-4.006c.012-2.223 1.813-4.018 4.006-4.006z",opacity:.22}),L.createElement("path",{fill:"#F1D4CA",d:"M30.292 13.537c2.21.018 4.06 1.715 4.06 3.926 0 2.21-1.85 4.085-4.06 4.085s-4.018-1.795-4.006-4.006c.012-2.223 1.813-4.018 4.006-4.005",opacity:.21}),L.createElement("path",{fill:"#F1D6CC",d:"M30.298 13.543c2.21.018 4.054 1.716 4.054 3.926s-1.844 4.079-4.054 4.079-4.018-1.795-4.006-4.006c.012-2.223 1.814-4.018 4.006-4.005z",opacity:.2}),L.createElement("path",{fill:"#F2D8CE",d:"M30.304 13.549c2.21.012 4.054 1.722 4.054 3.932s-1.844 4.073-4.054 4.073-4.018-1.795-4.006-4.006c.012-2.222 1.814-4.017 4.006-4.005z",opacity:.19}),L.createElement("path",{fill:"#F3DAD1",d:"M30.304 13.555c2.21.012 4.048 1.722 4.048 3.932s-1.838 4.073-4.048 4.073-4.018-1.795-4.006-4.006c.012-2.222 1.808-4.017 4.006-4.005z",opacity:.18}),L.createElement("path",{fill:"#F3DCD3",d:"M30.31 13.561c2.21.012 4.048 1.728 4.048 3.938s-1.838 4.067-4.048 4.067-4.018-1.795-4.006-4.005c.013-2.223 1.808-4.018 4.006-4.006z",opacity:.17}),L.createElement("path",{fill:"#F4DED5",d:"M30.31 13.567c2.21.012 4.048 1.728 4.048 3.945s-1.838 4.066-4.048 4.066a4.004 4.004 0 0 1-4.006-4.005c.013-2.217 1.808-4.018 4.006-4.006",opacity:.16}),L.createElement("path",{fill:"#F4DFD8",d:"M30.316 13.567c2.21.012 4.042 1.734 4.042 3.945s-1.832 4.06-4.042 4.06a4.004 4.004 0 0 1-4.006-4.005c.013-2.217 1.808-4.012 4.006-4.006z",opacity:.15}),L.createElement("path",{fill:"#F5E1DA",d:"M30.316 13.573c2.21.012 4.042 1.74 4.042 3.95s-1.832 4.061-4.042 4.061a4.004 4.004 0 0 1-4.006-4.005c.013-2.217 1.808-4.012 4.006-4.006",opacity:.15}),L.createElement("path",{fill:"#F6E3DC",d:"M30.322 13.58c2.21.011 4.042 1.74 4.042 3.95s-1.825 4.054-4.042 4.054a4 4 0 0 1-4.005-4.005c.012-2.217 1.807-4.012 4.005-4.006z",opacity:.14}),L.createElement("path",{fill:"#F6E5DF",d:"M30.322 13.585c2.21.013 4.036 1.747 4.036 3.957s-1.825 4.048-4.036 4.048a4.004 4.004 0 0 1-4.005-4.005c.006-2.217 1.807-4.012 4.005-4.006z",opacity:.13}),L.createElement("path",{fill:"#F7E7E1",d:"M30.328 13.592c2.21.006 4.036 1.746 4.036 3.956s-1.825 4.049-4.036 4.049a4.004 4.004 0 0 1-4.005-4.006c.006-2.217 1.8-4.012 4.005-4.006z",opacity:.12}),L.createElement("path",{fill:"#F8E9E3",d:"M30.334 13.598c2.21.006 4.03 1.752 4.03 3.963 0 2.21-1.82 4.042-4.03 4.042a4.004 4.004 0 0 1-4.005-4.006c.006-2.216 1.801-4.012 4.005-4.006z",opacity:.11}),L.createElement("path",{fill:"#F8EBE6",d:"M30.334 13.598c2.21.006 4.03 1.752 4.03 3.963 0 2.21-1.82 4.042-4.03 4.042a4.004 4.004 0 0 1-4.005-4.006c.006-2.216 1.801-4.012 4.005-4.006z",opacity:.1}),L.createElement("path",{fill:"#F9ECE8",d:"M30.34 13.604c2.21.006 4.03 1.758 4.03 3.969s-1.813 4.036-4.03 4.036a4 4 0 0 1-4.005-4.006c.006-2.216 1.801-4.012 4.005-4.005z",opacity:.09}),L.createElement("path",{fill:"#F9EEEA",d:"M30.34 13.61c2.21.006 4.024 1.758 4.024 3.975s-1.813 4.036-4.024 4.036a4.01 4.01 0 0 1-4.005-4.006 4.004 4.004 0 0 1 4.005-4.005",opacity:.08}),L.createElement("path",{fill:"#FAF0EC",d:"M30.347 13.616c2.21 0 4.023 1.765 4.023 3.975s-1.813 4.03-4.023 4.03a4.01 4.01 0 0 1-4.006-4.006 4.01 4.01 0 0 1 4.005-4.005z",opacity:.07}),L.createElement("path",{fill:"#FBF2EF",d:"M30.347 13.622c2.21 0 4.017 1.77 4.017 3.981s-1.807 4.03-4.017 4.03a4.01 4.01 0 0 1-4.006-4.005 4.01 4.01 0 0 1 4.005-4.006",opacity:.06}),L.createElement("path",{fill:"#FBF4F1",d:"M30.353 13.628c2.21 0 4.017 1.77 4.017 3.981s-1.807 4.024-4.017 4.024a4.01 4.01 0 0 1-4.006-4.005 4.004 4.004 0 0 1 4.006-4.006z",opacity:.05}),L.createElement("path",{fill:"#FCF6F3",d:"M30.353 13.634c2.21 0 4.017 1.777 4.017 3.988a4.025 4.025 0 0 1-4.017 4.017 4.004 4.004 0 0 1-4.006-4.005 4.01 4.01 0 0 1 4.006-4.006z",opacity:.05}),L.createElement("path",{fill:"#FDF8F6",d:"M30.359 13.634c2.21 0 4.011 1.777 4.011 3.988a4.024 4.024 0 0 1-4.011 4.017 4.01 4.01 0 0 1-4.006-4.005 4.01 4.01 0 0 1 4.006-4.006z",opacity:.04}),L.createElement("path",{fill:"#FDF9F8",d:"M30.365 13.64c2.21 0 4.012 1.783 4.012 3.994a4.02 4.02 0 0 1-4.012 4.011 4.01 4.01 0 0 1-4.006-4.005 4.01 4.01 0 0 1 4.006-4.006z",opacity:.03}),L.createElement("path",{fill:"#FEFBFA",d:"M30.365 13.647a3.997 3.997 0 0 1 4.005 3.993 4.013 4.013 0 0 1-4.005 4.012 4.01 4.01 0 0 1-4.006-4.006 4.01 4.01 0 0 1 4.006-4.006z",opacity:.02}))))),f||(f=L.createElement("defs",null,L.createElement("linearGradient",{id:"discover_svg__b",x1:31.555,x2:28.783,y1:19.631,y2:15.289,gradientUnits:"userSpaceOnUse"},L.createElement("stop",{stopColor:"#FF9200"}),L.createElement("stop",{offset:.21,stopColor:"#FF8D00"}),L.createElement("stop",{offset:.45,stopColor:"#FF7F00"}),L.createElement("stop",{offset:.62,stopColor:"#FF7100"}),L.createElement("stop",{offset:.82,stopColor:"#FF5E00"}),L.createElement("stop",{offset:1,stopColor:"#FF5200"})),L.createElement("linearGradient",{id:"discover_svg__c",x1:31.116,x2:27.068,y1:19.569,y2:11.656,gradientUnits:"userSpaceOnUse"},L.createElement("stop",{stopColor:"#FF7100",stopOpacity:0}),L.createElement("stop",{offset:.03,stopColor:"#FF6D00",stopOpacity:.03}),L.createElement("stop",{offset:.21,stopColor:"#FF5900",stopOpacity:.25}),L.createElement("stop",{offset:.39,stopColor:"#FF4800",stopOpacity:.42}
1),L.createElement("stop",{offset:.56,stopColor:"#FF3B00",stopOpacity:.56}),L.createElement("stop",{offset:.72,stopColor:"#FF3200",stopOpacity:.66}),L.createElement("stop",{offset:.86,stopColor:"#FF2C00",stopOpacity:.72}),L.createElement("stop",{offset:.98,stopColor:"#FF2B00",stopOpacity:.74})),L.createElement("clipPath",{id:"discover_svg__a"},L.createElement("path",{fill:"#fff",d:"M4.567 12.352h48v9.312h-48z"})))))}}],W=[{name:"Visa",value:"visa",icon:function(e){return L.createElement("svg",j({xmlns:"http://www.w3.org/2000/svg",width:33,height:24,fill:"none"},e),h||(h=L.createElement("g",{clipPath:"url(#visa-mobile_svg__a)"},L.createElement("path",{fill:"#1434CB",d:"m12.396 7.756-4.085 9.785H5.637L3.61 9.722c-.12-.48-.23-.655-.6-.858-.617-.323-1.622-.646-2.508-.83l.065-.296h4.306c.553 0 1.042.369 1.171 1.006l1.06 5.668L9.74 7.738h2.665zm10.502 6.6c0-2.584-3.577-2.732-3.55-3.886 0-.35.341-.73 1.07-.83a4.8 4.8 0 0 1 2.499.442l.442-2.077a6.8 6.8 0 0 0-2.37-.433c-2.498 0-4.26 1.329-4.278 3.24-.018 1.412 1.254 2.197 2.213 2.677.996.47 1.328.784 1.319 1.209 0 .655-.784.95-1.512.96-1.282.018-2.02-.342-2.6-.619l-.462 2.151c.59.268 1.678.508 2.813.517 2.664 0 4.407-1.31 4.416-3.35m6.611 3.194h2.342l-2.047-9.794h-2.157c-.489 0-.904.277-1.079.72l-3.799 9.083h2.656l.525-1.458h3.255l.304 1.458zm-2.83-3.47 1.337-3.684.765 3.692h-2.093zm-10.66-6.324-2.092 9.803H11.4l2.093-9.803z"}))),p||(p=L.createElement("defs",null,L.createElement("clipPath",{id:"visa-mobile_svg__a"},L.createElement("rect",{width:33,height:24,fill:"#fff",rx:3})))))}},{name:"MasterCard",value:"mastercard",icon:function(e){return L.createElement("svg",V({xmlns:"http://www.w3.org/2000/svg",width:38,height:24,fill:"none"},e),m||(m=L.createElement("g",{clipPath:"url(#mastercard-mobile_svg__a)"},L.createElement("path",{fill:"#F06022",d:"M14 19.6h8v-14h-8v14"}),L.createElement("path",{fill:"#EA1D25",d:"M15.26 12.649a9 9 0 0 1 .836-3.83 8.6 8.6 0 0 1 2.359-3.049c-1.61-1.33-3.628-1.993-5.672-1.862S8.812 4.955 7.368 6.481A8.7 8.7 0 0 0 5.564 9.31a9.1 9.1 0 0 0-.634 3.34c0 1.146.215 2.28.634 3.339a8.7 8.7 0 0 0 1.804 2.828c1.444 1.526 3.37 2.442 5.415 2.573s4.063-.532 5.672-1.862a8.7 8.7 0 0 1-2.35-3.054 9.1 9.1 0 0 1-.846-3.824"}),L.createElement("path",{fill:"#F79D1D",d:"M32.624 12.663c0 2.32-.915 4.54-2.55 6.182a8.806 8.806 0 0 1-11.619.7 8.8 8.8 0 0 0 2.457-3.057c.58-1.191.883-2.499.89-3.825a8.7 8.7 0 0 0-.88-3.83 8.7 8.7 0 0 0-2.467-3.052 8.72 8.72 0 0 1 11.619.7 8.68 8.68 0 0 1 2.55 6.182"}))),g||(g=L.createElement("defs",null,L.createElement("clipPath",{id:"mastercard-mobile_svg__a"},L.createElement("rect",{width:38,height:24,fill:"#fff",rx:3})))))}},{name:"American Express",value:"americanexpress",icon:function(e){return L.createElement("svg",$({xmlns:"http://www.w3.org/2000/svg",width:25,height:16,fill:"none"},e),y||(y=L.createElement("g",{clipPath:"url(#amex-mobile_svg__a)"},L.createElement("path",{fill:"#016FD0",d:"M0 16h25V0H0z"}),L.createElement("path",{fill:"#fff",fillRule:"evenodd",d:"M19.181 8.388v1.009h-2.606v.701h2.544v1.01h-2.544v.689h2.606v1.021l2.113-2.215zm-.687-3.779-.875-1.963h-2.5l-2.563 5.736h2.082v5.089l6.425.006 1.006-1.108 1.018 1.108H25v-1.619l-1.2-1.267L25 9.329V7.735l-1.206.007V4.677l-1.131 3.065h-1.1L20.4 4.665v3.077h-2.625l-.375-.899h-2.062l-.375.899h-1.388l2.019-4.474v-.006h1.594l1.993 4.436V3.262l1.938.006 1 2.75 1.012-2.756H25v-.616h-2.356l-.531 1.47-.532-1.47h-3.087zM15.33 8.37v4.474h3.85v-.006h1.588l1.312-1.428 1.325 1.428H25v-.062l-2.087-2.172L25 8.4v-.03h-1.575l-1.312 1.415-1.3-1.416zm.438-2.529.6-1.422.606 1.422z",clipRule:"evenodd"}))),v||(v=L.createElement("defs",null,L.createElement("clipPath",{id:"amex-mobile_svg__a"},L.createElement("rect",{width:25,height:16,fill:"#fff",rx:3})))))}},{name:"Discover",value:"discover",icon:function(e){return L.createElement("svg",H({xmlns:"http://www.w3.org/2000/svg",width:44,height:24,fill:"none"},e),L.createElement("g",{clipPath:"url(#discover-mobile_svg__a)"},L.createElement("mask",{id:"discover-mobile_svg__b",width:37,height:7,x:4,y:8,maskUnits:"userSpaceOnUse",style:{maskType:"luminance"}},w||(w=L.createElement("path",{fill:"#fff",d:"M4.164 8.72h36.3v6.067h-36.3z"}))),L.createElement("g",{mask:"url(#discover-mobile_svg__b)"},L.createElement("mask",{id:"discover-mobile_svg__c",width:37,height:8,x:4,y:8,maskUnits:"userSpaceOnUse",style:{maskType:"luminance"}},b||(b=L.createElement("path",{fill:"#fff",d:"M4.164 8.72h36.3v6.406h-36.3z"}))),_||(_=L.createElement("g",{mask:"url(#discover-mobile_svg__c)"},L.createElement("path",{fill:"#000",d:"M4.164 19.17c0-.452.176-.887.492-1.213a1.77 1.77 0 0 1 1.202-.535h.066a1.68 1.68 0 0 1 1.562.842l-.473.273a1.12 1.12 0 0 0-1.089-.645 1.25 1.25 0 0 0-.878.35c-.235.227-.37.538-.376.863v.033a1.14 1.14 0 0 0 .644 1.131q.21.103.445.115h.11a1.04 1.04 0 0 0 1.022-.524q.1-.18.122-.383H5.825v-.47h1.661v1.814H6.98v-.535l.033-.131a1.18 1.18 0 0 1-1.188.7 1.65 1.65 0 0 1-1.169-.466 1.63 1.63 0 0 1-.492-1.153zm3.938-1.956h.506v3.64h-.506zm1.012 2.405c0-.281.092-.555.261-.78a1.32 1.32 0 0 1 1.505-.453 1.305 1.305 0 0 1 .574 2.068 1.32 1.32 0 0 1-1.526.378 1.31 1.31 0 0 1-.814-1.224zm2.101 0a.805.805 0 0 0-.533-.727.82.82 0 0 0-.88.211.81.81 0 0 0 .033 1.132.8.8 0 0 0 .566.215.82.82 0 0 0 .762-.522.8.8 0 0 0 .052-.32zm1.496.875v.36h-.506v-3.673h.506v1.53a1.08 1.08 0 0 1 .847-.415c.348 0 .68.137.926.381a1.297 1.297 0 0 1 0 1.84 1.31 1.31 0 0 1-.926.381 1 1 0 0 1-.847-.404m1.628-.875a.815.815 0 0 0-.489-.77.83.83 0 0 0-1.09.414.8.8 0 0 0-.07.312v.033a.825.825 0 0 0 .473.888.84.84 0 0 0 1.157-.531.8.8 0 0 0 .02-.357zm.88.601c0-.503.308-.71.99-.809.473-.065.638-.109.638-.273s-.132-.404-.506-.404a.597.597 0 0 0-.638.47l-.484-.197a1.105 1.105 0 0 1 1.122-.71c.65 0 1.056.327 1.056.94v1.617h-.473v-.36a.82.82 0 0 1-.814.437c-.55 0-.88-.306-.88-.71zm1.463.066a.55.55 0 0 0 .21-.437v-.208c0 .11-.177.142-.55.175-.44.065-.606.164-.606.371 0 .164.165.306.407.306a.83.83 0 0 0 .54-.207m1.254-3.06h.506v3.628h-.506v-3.64zm2.244.261h.55l1.683 2.558v-2.558h.517v3.411h-.517l-1.727-2.634v2.623h-.506zm3.256 2.121a1.28 1.28 0 0 1 .369-.922 1.3 1.3 0 0 1 .918-.39h.033a1.26 1.26 0 0 1 1.18.74c.066.149.103.31.107.474v.273H23.91a.84.84 0 0 0 .39.544.85.85 0 0 0 .666.09.93.93 0 0 0 .54-.372l.406.24a1.3 1.3 0 0 1-1.155.613 1.27 1.27 0 0 1-.914-.333 1.26 1.26 0 0 1-.406-.88zm.506-.23h1.595a.73.73 0 0 0-.77-.612.773.773 0 0 0-.825.613m2.816.667V18.8h-.506v-.437h.506v-.547l.506-.328v.875h.682v.437h-.715v1.246c0 .274.143.405.341.405a.74.74 0 0 0 .374-.099v.47a.9.9 0 0 1-.407.11c-.506 0-.78-.274-.78-.875zm1.496-1.683h.506l.572 1.825.682-1.825h.473l.682 1.825.605-1.825h.517l
1-.88 2.492h-.484l-.67-1.814-.716 1.858h-.506zm4.268 1.246a1.32 1.32 0 0 1 1.772-1.22 1.32 1.32 0 0 1 .866 1.303c-.015.28-.12.548-.3.765a1.32 1.32 0 0 1-1.524.376 1.31 1.31 0 0 1-.814-1.224m2.112 0a.8.8 0 0 0-.265-.56.82.82 0 0 0-1.151.053.8.8 0 0 0-.212.584.78.78 0 0 0 .51.713q.147.056.304.052a.82.82 0 0 0 .762-.522.8.8 0 0 0 .052-.32m.98-1.246h.505v.437a.79.79 0 0 1 .715-.437h.21v.503h-.309c-.407 0-.616.175-.616.656v1.333h-.506zm2.848 1.355-.44.47v.634h-.506v-3.607h.506v2.438l1.188-1.28h.605l-.979 1.05 1.012 1.443h-.572l-.814-1.137zM6.034 8.896H4.406v5.662h1.628a3.12 3.12 0 0 0 2.035-.645 2.8 2.8 0 0 0 1.012-2.154c0-1.683-1.254-2.863-3.047-2.863m1.32 4.24c-.33.307-.814.438-1.529.438h-.308V9.868h.308a2.08 2.08 0 0 1 1.53.47 1.9 1.9 0 0 1 .604 1.422c0 .524-.22 1.016-.605 1.377m2.233-4.24h1.122v5.662H9.587zm3.84 2.186c-.683-.24-.848-.405-.848-.71 0-.372.33-.635.814-.635a1.07 1.07 0 0 1 .88.47l.583-.743a2.56 2.56 0 0 0-1.672-.645 1.68 1.68 0 0 0-1.201.416c-.33.291-.53.7-.559 1.136v.066c0 .776.374 1.18 1.386 1.552.275.087.54.197.781.339a.7.7 0 0 1 .341.58.82.82 0 0 1-.241.568.83.83 0 0 1-.573.24h-.033a1.43 1.43 0 0 1-1.21-.743l-.726.667a2.21 2.21 0 0 0 1.98 1.093 1.86 1.86 0 0 0 1.387-.505 1.84 1.84 0 0 0 .571-1.354c-.033-.95-.407-1.355-1.66-1.792m2.001.645a2.9 2.9 0 0 0 .846 2.066 2.93 2.93 0 0 0 2.07.863h.065c.484 0 .968-.109 1.397-.328v-1.29a1.7 1.7 0 0 1-1.32.602 1.87 1.87 0 0 1-1.32-.503 1.84 1.84 0 0 1-.583-1.28v-.163a1.87 1.87 0 0 1 .5-1.363 1.9 1.9 0 0 1 1.326-.605h.033a1.81 1.81 0 0 1 1.397.656V9.125a2.8 2.8 0 0 0-1.353-.328 2.98 2.98 0 0 0-2.152.822 2.94 2.94 0 0 0-.906 2.108m13.167.983-1.54-3.825h-1.177l2.41 5.804h.571l2.475-5.793h-1.21l-1.54 3.804zm3.256 1.848h3.113v-.951H32.93v-1.541h1.98v-.951h-1.98V9.868h2.035v-.983h-3.113zm7.524-3.98c0-1.048-.748-1.65-2.002-1.65h-1.628v5.663h1.122v-2.296H37l1.54 2.263h1.353l-1.804-2.405c.376-.052.717-.243.956-.535a1.48 1.48 0 0 0 .331-1.04m-2.233.941h-.34V9.814h.33c.681 0 1.055.306 1.055.841.033.569-.33.875-1.045.875zm3.124-2.328c0-.099-.077-.164-.209-.164h-.165v.503h.132v-.164l.132.196h.143l-.143-.23c.066 0 .11-.065.11-.141m-.209.076-.033-.142h.033c.066 0 .11.033.11.066-.044.076-.077.076-.11.076"}))),S||(S=L.createElement("path",{fill:"#000",d:"M40.09 8.863a.44.44 0 0 0-.44.437.436.436 0 0 0 .44.437.44.44 0 0 0 .44-.437.436.436 0 0 0-.44-.437m0 .809a.354.354 0 0 1-.28-.595.359.359 0 0 1 .621.223.37.37 0 0 1-.33.372z"})),E||(E=L.createElement("path",{fill:"url(#discover-mobile_svg__d)",d:"M20.18 11.727a2.99 2.99 0 0 0 .817 2.242 3.03 3.03 0 0 0 2.203.945 3.04 3.04 0 0 0 2.202-.945 3 3 0 0 0 .817-2.242c0-.797-.318-1.562-.886-2.126a3.035 3.035 0 0 0-4.278 0 3 3 0 0 0-.886 2.126z"})),C||(C=L.createElement("path",{fill:"url(#discover-mobile_svg__e)",d:"M20.18 11.727a2.99 2.99 0 0 0 .817 2.242 3.03 3.03 0 0 0 2.203.945 3.04 3.04 0 0 0 2.202-.945 3 3 0 0 0 .817-2.242c0-.797-.318-1.562-.886-2.126a3.035 3.035 0 0 0-4.278 0 3 3 0 0 0-.886 2.126z"})),L.createElement("mask",{id:"discover-mobile_svg__f",width:7,height:7,x:20,y:8,maskUnits:"userSpaceOnUse",style:{maskType:"luminance"}},x||(x=L.createElement("path",{fill:"#fff",d:"M20.18 11.727c0 .796.318 1.559.885 2.121a3.03 3.03 0 0 0 4.27 0 2.99 2.99 0 0 0-.002-4.247 3.035 3.035 0 0 0-4.278 0 3 3 0 0 0-.886 2.126z"}))),k||(k=L.createElement("g",{mask:"url(#discover-mobile_svg__f)"},L.createElement("path",{fill:"url(#discover-mobile_svg__g)",d:"M19.84 11.858c0 .974.389 1.908 1.082 2.597a3.7 3.7 0 0 0 2.613 1.076c.98 0 1.92-.387 2.614-1.076a3.66 3.66 0 0 0 1.082-2.597c0-.974-.39-1.908-1.082-2.597a3.7 3.7 0 0 0-2.614-1.076c-.98 0-1.92.387-2.613 1.076a3.66 3.66 0 0 0-1.083 2.597"})))),L.createElement("mask",{id:"discover-mobile_svg__h",width:37,height:7,x:4,y:8,maskUnits:"userSpaceOnUse",style:{maskType:"luminance"}},I||(I=L.createElement("path",{fill:"#fff",d:"M4.164 8.72h36.3v6.067h-36.3z"}))),L.createElement("g",{mask:"url(#discover-mobile_svg__h)"},L.createElement("mask",{id:"discover-mobile_svg__i",width:37,height:8,x:4,y:8,maskUnits:"userSpaceOnUse",style:{maskType:"luminance"}},T||(T=L.createElement("path",{fill:"#fff",d:"M4.164 8.72h36.3v6.406h-36.3z"}))),A||(A=L.createElement("g",{mask:"url(#discover-mobile_svg__i)"},L.createElement("path",{fill:"#000",d:"M4.164 19.17c0-.452.176-.887.492-1.213a1.77 1.77 0 0 1 1.202-.535h.066a1.68 1.68 0 0 1 1.562.842l-.473.273a1.12 1.12 0 0 0-1.089-.645 1.25 1.25 0 0 0-.878.35c-.235.227-.37.538-.376.863v.033a1.14 1.14 0 0 0 .644 1.131q.21.103.445.115h.11a1.04 1.04 0 0 0 1.022-.524q.1-.18.122-.383H5.825v-.47h1.661v1.814H6.98v-.535l.033-.131a1.18 1.18 0 0 1-1.188.7 1.65 1.65 0 0 1-1.169-.466 1.63 1.63 0 0 1-.492-1.153zm3.938-1.956h.506v3.64h-.506zm1.012 2.405c0-.281.092-.555.261-.78a1.32 1.32 0 0 1 1.505-.453 1.305 1.305 0 0 1 .574 2.068 1.32 1.32 0 0 1-1.526.378 1.31 1.31 0 0 1-.814-1.224zm2.101 0a.805.805 0 0 0-.533-.727.82.82 0 0 0-.88.211.81.81 0 0 0 .033 1.132.8.8 0 0 0 .566.215.82.82 0 0 0 .762-.522.8.8 0 0 0 .052-.32zm1.496.875v.36h-.506v-3.673h.506v1.53a1.08 1.08 0 0 1 .847-.415c.348 0 .68.137.926.381a1.297 1.297 0 0 1 0 1.84 1.31 1.31 0 0 1-.926.381 1 1 0 0 1-.847-.404m1.628-.875a.815.815 0 0 0-.489-.77.83.83 0 0 0-1.09.414.8.8 0 0 0-.07.312v.033a.825.825 0 0 0 .473.888.84.84 0 0 0 1.157-.531.8.8 0 0 0 .02-.357zm.88.601c0-.503.308-.71.99-.809.473-.065.638-.109.638-.273s-.132-.404-.506-.404a.597.597 0 0 0-.638.47l-.484-.197a1.105 1.105 0 0 1 1.122-.71c.65 0 1.056.327 1.056.94v1.617h-.473v-.36a.82.82 0 0 1-.814.437c-.55 0-.88-.306-.88-.71zm1.463.066a.55.55 0 0 0 .21-.437v-.208c0 .11-.177.142-.55.175-.44.065-.606.164-.606.371 0 .164.165.306.407.306a.83.83 0 0 0 .54-.207m1.254-3.06h.506v3.628h-.506v-3.64zm2.244.261h.55l1.683 2.558v-2.558h.517v3.411h-.517l-1.727-2.634v2.623h-.506zm3.256 2.121a1.28 1.28 0 0 1 .369-.922 1.3 1.3 0 0 1 .918-.39h.033a1.26 1.26 0 0 1 1.18.74c.066.149.103.31.107.474v.273H23.91a.84.84 0 0 0 .39.544.85.85 0 0 0 .666.09.93.93 0 0 0 .54-.372l.406.24a1.3 1.3 0 0 1-1.155.613 1.27 1.27 0 0 1-.914-.333 1.26 1.26 0 0 1-.406-.88zm.506-.23h1.595a.73.73 0 0 0-.77-.612.773.773 0 0 0-.825.613m2.816.667V18.8h-.506v-.437h.506v-.547l.506-.328v.875h.682v.437h-.715v1.246c0 .274.143.405.341.405a.74.74 0 0 0 .374-.099v.47a.9.9 0 0 1-.407.11c-.506 0-.78-.274-.78-.875zm1.496-1.683h.506l.572 1.825.682-1.825h.473l.682 1.825.605-1.825h.517l
1-.88 2.492h-.484l-.67-1.814-.716 1.858h-.506zm4.268 1.246a1.32 1.32 0 0 1 1.772-1.22 1.32 1.32 0 0 1 .866 1.303c-.015.28-.12.548-.3.765a1.32 1.32 0 0 1-1.524.376 1.31 1.31 0 0 1-.814-1.224m2.112 0a.8.8 0 0 0-.265-.56.82.82 0 0 0-1.151.053.8.8 0 0 0-.212.584.78.78 0 0 0 .51.713q.147.056.304.052a.82.82 0 0 0 .762-.522.8.8 0 0 0 .052-.32m.98-1.246h.505v.437a.79.79 0 0 1 .715-.437h.21v.503h-.309c-.407 0-.616.175-.616.656v1.333h-.506zm2.848 1.355-.44.47v.634h-.506v-3.607h.506v2.438l1.188-1.28h.605l-.979 1.05 1.012 1.443h-.572l-.814-1.137zM6.034 8.896H4.406v5.662h1.628a3.12 3.12 0 0 0 2.035-.645 2.8 2.8 0 0 0 1.012-2.154c0-1.683-1.254-2.863-3.047-2.863m1.32 4.24c-.33.307-.814.438-1.529.438h-.308V9.868h.308a2.08 2.08 0 0 1 1.53.47 1.9 1.9 0 0 1 .604 1.422c0 .524-.22 1.016-.605 1.377m2.233-4.24h1.122v5.662H9.587zm3.84 2.186c-.683-.24-.848-.405-.848-.71 0-.372.33-.635.814-.635a1.07 1.07 0 0 1 .88.47l.583-.743a2.56 2.56 0 0 0-1.672-.645 1.68 1.68 0 0 0-1.201.416c-.33.291-.53.7-.559 1.136v.066c0 .776.374 1.18 1.386 1.552.275.087.54.197.781.339a.7.7 0 0 1 .341.58.82.82 0 0 1-.241.568.83.83 0 0 1-.573.24h-.033a1.43 1.43 0 0 1-1.21-.743l-.726.667a2.21 2.21 0 0 0 1.98 1.093 1.86 1.86 0 0 0 1.387-.505 1.84 1.84 0 0 0 .571-1.354c-.033-.95-.407-1.355-1.66-1.792m2.001.645a2.9 2.9 0 0 0 .846 2.066 2.93 2.93 0 0 0 2.07.863h.065c.484 0 .968-.109 1.397-.328v-1.29a1.7 1.7 0 0 1-1.32.602 1.87 1.87 0 0 1-1.32-.503 1.84 1.84 0 0 1-.583-1.28v-.163a1.87 1.87 0 0 1 .5-1.363 1.9 1.9 0 0 1 1.326-.605h.033a1.81 1.81 0 0 1 1.397.656V9.125a2.8 2.8 0 0 0-1.353-.328 2.98 2.98 0 0 0-2.152.822 2.94 2.94 0 0 0-.906 2.108m13.167.983-1.54-3.825h-1.177l2.41 5.804h.571l2.475-5.793h-1.21l-1.54 3.804zm3.256 1.848h3.113v-.951H32.93v-1.541h1.98v-.951h-1.98V9.868h2.035v-.983h-3.113zm7.524-3.98c0-1.048-.748-1.65-2.002-1.65h-1.628v5.663h1.122v-2.296H37l1.54 2.263h1.353l-1.804-2.405c.376-.052.717-.243.956-.535a1.48 1.48 0 0 0 .331-1.04m-2.233.941h-.34V9.814h.33c.681 0 1.055.306 1.055.841.033.569-.33.875-1.045.875zm3.124-2.328c0-.099-.077-.164-.209-.164h-.165v.503h.132v-.164l.132.196h.143l-.143-.23c.066 0 .11-.065.11-.141m-.209.076-.033-.142h.033c.066 0 .11.033.11.066-.044.076-.077.076-.11.076"}))),M||(M=L.createElement("path",{fill:"#000",d:"M40.09 8.863a.44.44 0 0 0-.44.437.436.436 0 0 0 .44.437.44.44 0 0 0 .44-.437.436.436 0 0 0-.44-.437m0 .809a.354.354 0 0 1-.28-.595.359.359 0 0 1 .621.223.37.37 0 0 1-.33.372z"})),O||(O=L.createElement("path",{fill:"url(#discover-mobile_svg__j)",d:"M20.18 11.727a2.99 2.99 0 0 0 .817 2.242 3.03 3.03 0 0 0 2.203.945 3.04 3.04 0 0 0 2.202-.945 3 3 0 0 0 .817-2.242c0-.797-.318-1.562-.886-2.126a3.035 3.035 0 0 0-4.278 0 3 3 0 0 0-.886 2.126z"})),R||(R=L.createElement("path",{fill:"url(#discover-mobile_svg__k)",d:"M20.18 11.727a2.99 2.99 0 0 0 .817 2.242 3.03 3.03 0 0 0 2.203.945 3.04 3.04 0 0 0 2.202-.945 3 3 0 0 0 .817-2.242c0-.797-.318-1.562-.886-2.126a3.035 3.035 0 0 0-4.278 0 3 3 0 0 0-.886 2.126z"})),L.createElement("mask",{id:"discover-mobile_svg__l",width:7,height:7,x:20,y:8,maskUnits:"userSpaceOnUse",style:{maskType:"luminance"}},P||(P=L.createElement("path",{fill:"#fff",d:"M20.18 11.727c0 .796.318 1.559.885 2.121a3.03 3.03 0 0 0 4.27 0 2.99 2.99 0 0 0-.002-4.247 3.035 3.035 0 0 0-4.278 0 3 3 0 0 0-.886 2.126z"}))),D||(D=L.createElement("g",{mask:"url(#discover-mobile_svg__l)"},L.createElement("path",{fill:"url(#discover-mobile_svg__m)",d:"M19.84 11.858c0 .974.389 1.908 1.082 2.597a3.7 3.7 0 0 0 2.613 1.076c.98 0 1.92-.387 2.614-1.076a3.66 3.66 0 0 0 1.082-2.597c0-.974-.39-1.908-1.082-2.597a3.7 3.7 0 0 0-2.614-1.076c-.98 0-1.92.387-2.613 1.076a3.66 3.66 0 0 0-1.083 2.597"}))))),N||(N=L.createElement("defs",null,L.createElement("linearGradient",{id:"discover-mobile_svg__d",x1:24.789,x2:21.628,y1:14.252,y2:9.162,gradientUnits:"userSpaceOnUse"},L.createElement("stop",{stopColor:"#F59F00"}),L.createElement("stop",{offset:.19,stopColor:"#F49B00"}),L.createElement("stop",{offset:.37,stopColor:"#F29101"}),L.createElement("stop",{offset:.5,stopColor:"#F08302"}),L.createElement("stop",{offset:.6,stopColor:"#EE7905"}),L.createElement("stop",{offset:.76,stopColor:"#EC7008"}),L.createElement("stop",{offset:1,stopColor:"#EC6D09"})),L.createElement("linearGradient",{id:"discover-mobile_svg__e",x1:24.789,x2:21.628,y1:14.252,y2:9.162,gradientUnits:"userSpaceOnUse"},L.createElement("stop",{stopColor:"#F3941E",stopOpacity:0}),L.createElement("stop",{offset:.04,stopColor:"#F48C1C",stopOpacity:.08}),L.createElement("stop",{offset:.2,stopColor:"#F77314",stopOpacity:.32}),L.createElement("stop",{offset:.35,stopColor:"#F95D0E",stopOpacity:.53}),L.createElement("stop",{offset:.5,stopColor:"#FB4B09",stopOpacity:.7}),L.createElement("stop",{offset:.64,stopColor:"#FD3D05",stopOpacity:.83}),L.createElement("stop",{offset:.77,stopColor:"#FE3302",stopOpacity:.92}),L.createElement("stop",{offset:.9,stopColor:"#FF2D01",stopOpacity:.98}),L.createElement("stop",{offset:1,stopColor:"#FF2B00"})),L.createElement("linearGradient",{id:"discover-mobile_svg__j",x1:24.789,x2:21.628,y1:14.252,y2:9.162,gradientUnits:"userSpaceOnUse"},L.createElement("stop",{stopColor:"#F59F00"}),L.createElement("stop",{offset:.19,stopColor:"#F49B00"}),L.createElement("stop",{offset:.37,stopColor:"#F29101"}),L.createElement("stop",{offset:.5,stopColor:"#F08302"}),L.createElement("stop",{offset:.6,stopColor:"#EE7905"}),L.createElement("stop",{offset:.76,stopColor:"#EC7008"}),L.createElement("stop",{offset:1,stopColor:"#EC6D09"})),L.createElement("linearGradient",{id:"discover-mobile_svg__k",x1:24.789,x2:21.628,y1:14.252,y2:9.162,gradientUnits:"userSpaceOnUse"},L.createElement("stop",{stopColor:"#F3941E",stopOpacity:0}),L.createElement("stop",{offset:.04,stopColor:"#F48C1C",stopOpacity:.08}),L.createElement("stop",{offset:.2,stopColor:"#F77314",stopOpacity:.32}),L.createElement("stop",{offset:.35,stopColor:"#F95D0E",stopOpacity:.53}),L.createElement("stop",{offset:.5,stopColor:"#FB4B09",stopOpacity:.7}),L.createElement("stop",{offset:.64,stopColor:"#FD3D05",stopOpacity:.83}),L.createElement("stop",{offset:.77,stopColor:"#FE3302",stopOpacity:.92}),L.createElement("stop",{offset:.9,stopColor:"#FF2D01",stopOpacity:.98}),L.createElement("stop",{offset:1,stopColor:"#FF2B00"})),L.createElement("radialGradient",{id:"discover-mobile_svg__g",cx:0,cy:0,r:1,gradientTransform:"rotate(4.214 -153.78 325.208)scale(3.65276 3.63015)",gradientUnits:"userSpaceOnUse"},L.createElement("stop",{stopColor:"#F3941E",stopOpacity:0}),L.createElement("stop",{offset:.45,stopColor:"#EA8D1D",stopOpacity:.05}),L.createElement("stop",{offset:.66,stopColor:"#CA7618",stopOpacity:.2}
1),L.createElement("stop",{offset:.83,stopColor:"#924D10",stopOpacity:.48}),L.createElement("stop",{offset:.96,stopColor:"#441304",stopOpacity:.87}),L.createElement("stop",{offset:.99,stopColor:"#2F0401",stopOpacity:.97})),L.createElement("radialGradient",{id:"discover-mobile_svg__m",cx:0,cy:0,r:1,gradientTransform:"rotate(4.214 -153.78 325.208)scale(3.65276 3.63015)",gradientUnits:"userSpaceOnUse"},L.createElement("stop",{stopColor:"#F3941E",stopOpacity:0}),L.createElement("stop",{offset:.45,stopColor:"#EA8D1D",stopOpacity:.05}),L.createElement("stop",{offset:.66,stopColor:"#CA7618",stopOpacity:.2}),L.createElement("stop",{offset:.83,stopColor:"#924D10",stopOpacity:.48}),L.createElement("stop",{offset:.96,stopColor:"#441304",stopOpacity:.87}),L.createElement("stop",{offset:.99,stopColor:"#2F0401",stopOpacity:.97})),L.createElement("clipPath",{id:"discover-mobile_svg__a"},L.createElement("rect",{width:44,height:24,fill:"#fff",rx:3})))))}}],q={SIGNUP_STEP_1:"signup_step1_view",STEP_1_CTA_BUTTON:"step1_cta_button_submit",SIGNUP_STEP_2:"signup_step2_view",STEP_2_CTA_BUTTON:"step2_cta_button_submit",SKIP_STEP1:"skipstep1",CREDIT_CARD_NUMBER_VIEW:"cc_number_entered",SIGNUP_VISITOR:"visitor",SSI_VISITOR:"ssi_visitor_view",CONFIRMATION_VISITOR:"confirmation_view",CONFIRMATION_STEP_2_CTA_BUTTON:"confirmation_step2_cta_button",CONFIRMATION_LOGIN_BUTTON:"confirmation_login_button",CONFIRMATION_SIGNUP_ATTEMPT:"confirmation_signup_attempt",CONFIRM_DATA_VISITOR:"confirm_data_visitor",TU_AUTH_CHOICE_VISITOR:"tu_auth_choice_visitor",VISITOR:"visitor",SIGNUP_ERROR:"signup_error",SIGNUP_ERROR_FIRST_NAME:"signup_error_first_name",SIGNUP_ERROR_LAST_NAME:"signup_error_last_name",SIGNUP_ERROR_EMAIL:"signup_error_email",SIGNUP_ERROR_PHONE:"signup_error_phone",SIGNUP_ERROR_ZIP:"signup_error_zip",SIGNUP_ERROR_ADDRESS:"signup_error_address",SIGNUP_ERROR_CITY:"signup_error_city",SIGNUP_ERROR_MISSING_CREDITCARD:"signup_error_missing_creditcard",SIGNUP_ERROR_MISSING_CREDITCARD_NMI:"signup_error_missing_creditcard_nmi",SIGNUP_ERROR_MISSING_CREDITCARD_ADYEN:"signup_error_missing_creditcard_adyen",CREDCO_SIGNUP_ERROR:"credco_signup_error",SIGNUP_VIEW:"pii_view",SIGNUP_CTA_BUTTON_SUBMIT:"pii_cta_button_submit",SECURE_PII_VIEW:"secure-pii_view",SECURE_PII_CTA_BUTTON_SUBMIT:"secure-pii_cta_button_submit",PAYMENT_VIEW:"payment_view",PAYMENT_CTA_BUTTON_SUBMIT:"payment_cta_button_submit",CC_TYPE_SELECTED:"cc_type_selected",CC_FORM_DISPLAYED:"cc_form_displayed",CC_FORM_DISPLAY_FAILED:"cc_form_display_failed",CONFIRMATION_OFFER_CTA_BUTTON_SUBMIT:"confirmation_cta_button_offer",CONFIRMATION_VERIFY_CTA_BUTTON_SUBMIT:"confirmation_cta_button_verify",CONFIRM_IDENTITY_VIEW:"confirm-identity_view",CONFIRM_IDENTITY_SUBMIT:"confirm-identity_submit",SIGNUP_ERROR_PAGE_VIEW:"signup_error_page_view",SIGNUP_ERROR_PAGE_SUBMIT:"signup_error_page_submit",REVERIFY_PII_VIEW:"reverify_pii_view",REVERIFY_PII_SUBMIT:"reverify_pii_submit",TU_AUTH_OTP_VIEW:"tu_auth_otp_view",TU_AUTH_KBA_VIEW:"tu_auth_kba_view",WELCOME_VIEW:"welcome_view",WELCOME_CTA_BUTTON_SUBMIT:"welcome_cta_button_submit",SRP_VISITOR:"visitor",SRP_VIEW:"srp_view",SRP_SUBMIT:"srp_submit",SRP_PAGINATION:"srp_pagination",LOADED_PARTNER_IFRAME:{ZP:"loaded_zp_iframe",MRC:"loaded_mrc_iframe"},CROSS_SELL_CTA_BUTTON_SUBMIT:"cross_sell_cta_button_submit",TRX_API_INIT_ERROR:"trx_api_init_error",TRX_SCRIPT_LOAD_ERROR:"trx_script_load_error",TRX_IFRAME_LOAD_ERROR_5:"trx_processor_load_failed_5",TRX_IFRAME_LOAD_ERROR_10:"trx_processor_load_failed_10",TRX_IFRAME_LOAD_ERROR_30:"trx_processor_load_failed_30",COMPLETE_VERIFICATION_ADDRESS_VERIFICATION_SUBMIT:"complete_verification_address_verification_submit",COMPLETE_VERIFICATION_SSN_DOB_VERIFICATION_SUBMIT:"complete_verification_ssn_dob_verification_submit",COMPLETE_VERIFICATION_VIEW:"complete_verification_view"},J={nameFirst:q.SIGNUP_ERROR_FIRST_NAME,nameLast:q.SIGNUP_ERROR_LAST_NAME,email:q.SIGNUP_ERROR_EMAIL,phone:q.SIGNUP_ERROR_PHONE,zip:q.SIGNUP_ERROR_ZIP,address:q.SIGNUP_ERROR_ADDRESS,city:q.SIGNUP_ERROR_CITY};e.s(["BASE_FLOW_CONFIG",0,{displayType:"fullPage",isInvoke:!0,selector:".faas-container"}
1,"BRAND_ID_MAPPING",0,{foreclosure:{"foreclosurehomes.co":"80","realtytrac.com":"81"},credco:{"verifycreditprofile.com":"48","creditforhomes.com":"43","mymonthlyscore.com":"45","creditscorereportcard.com":"41"},ploan:{"cashcenter.ai":"82"}},"BUSSINESS_HOURS",0,[{day:"Monday",hours:"5:00 AM — 6:00 PM"},{day:"Tuesday",hours:"5:00 AM — 6:00 PM"},{day:"Wednesday",hours:"5:00 AM — 6:00 PM"},{day:"Thursday",hours:"5:00 AM — 6:00 PM"},{day:"Friday",hours:"5:00 AM — 6:00 PM"},{day:"Saturday",hours:"7:00 AM — 3:30 PM"},{day:"Sunday",hours:"7:00 AM — 3:30 PM"}],"CACHED_IMG_BASE_URL",0,"https://dudtfne5hk5fn.cloudfront.net/","CardTypes",0,G,"CardTypesMobile",0,W,"EVENT_TYPE",0,q,"FACTOR_CONFIG",0,[{label:"Payment History",valueKey:"paymentHistory",factorKey:"paymentHistoryFactor",impact:"HIGH IMPACT"},{label:"Credit Card Use",valueKey:"creditCardUse",factorKey:"creditUsageFactor",impact:"HIGH IMPACT"},{label:"Derogatory",valueKey:"derogatoryAccounts",factorKey:"derogatoryFactor",impact:"HIGH IMPACT"},{label:"Credit Age",valueKey:"creditAge",factorKey:"creditAgeFactor",impact:"MEDIUM IMPACT"},{label:"Total Accounts",valueKey:"totalAccounts",factorKey:"totalAccountsFactor",impact:"LOW IMPACT"},{label:"Hard Inquiries",valueKey:"hardInquiries",factorKey:"hardInquiriesFactor",impact:"LOW IMPACT"}],"NEGATIVE_COLOR",0,"#ff263f","PAGE_TEMPLATE",0,["ploan.tsx","ssi.tsx","foreclosure-signup.tsx","csrc-landing.tsx","Fullpage.tsx","welcome-credco.tsx"],"PIIFieldEventMap",0,J,"POSITIVE_COLOR",0,"#46d298","PROCESSOR_TYPE",0,{NMI:"nmi",ADYEN:"adyen",TRX:{ESQ:"trx_esq",CHK:"trx_chs",GP:"trx_gp"}},"PROPERTY_SUB_TYPES",0,{townhouseorcondo:"Townhouse / Condo","single family residence":"Single Family Home",singlefamilyhome:"Single Family Home",duplex:"Duplex",apartment:"Apartment","unimproved land":"Land",mobilehome:"Mobile or Manufactured Home","mobile home":"Mobile or Manufactured Home",mobileormanufacturedhome:"Mobile or Manufactured Home","multi family":"Multi Family Units",multifamilytwotofourunits:"Multi Family Units",multifamilyfiveplusunits:"Multi Family Units",condominium:"Condo",vacantland:"Lots / Land","vacant land":"Lots / Land",residential:"Residential",commercial:"Commerical",other:"Residential"},"PropertyFallbackImg",0,"https://dudtfne5hk5fn.cloudfront.net/property-card-fallback_SRPD.webp","StateCodes",0,{AL:"Alabama",AK:"Alaska",AZ:"Arizona",AR:"Arkansas",CA:"California",CO:"Colorado",CT:"Connecticut",DE:"Delaware",FL:"Florida",GA:"Georgia",HI:"Hawaii",ID:"Idaho",IL:"Illinois",IN:"Indiana",IA:"Iowa",KS:"Kansas",KY:"Kentucky",LA:"Louisiana",ME:"Maine",MD:"Maryland",MA:"Massachusetts",MI:"Michigan",MN:"Minnesota",MS:"Mississippi",MO:"Missouri",MT:"Montana",NE:"Nebraska",NV:"Nevada",NH:"New Hampshire",NJ:"New Jersey",NM:"New Mexico",NY:"New York",NC:"North Carolina",ND:"North Dakota",OH:"Ohio",OK:"Oklahoma",OR:"Oregon",PA:"Pennsylvania",RI:"Rhode Island",SC:"South Carolina",SD:"South Dakota",TN:"Tennessee",TX:"Texas",UT:"Utah",VT:"Vermont",VA:"Virginia",WA:"Washington",WV:"West Virginia",WI:"Wisconsin",WY:"Wyoming"},"buildCcFormDisplayRetryEvent",0,e=>`cc_form_display_retry_${e}`],47800)},36158,e=>{"use strict";let t,r="undefined"!=typeof crypto&&crypto.randomUUID&&crypto.randomUUID.bind(crypto),n=new Uint8Array(16),i=[];for(let e=0;e<256;++e)i.push((e+256).toString(16).slice(1));e.s(["v4",0,function(e,o,s){if(r&&!o&&!e)return r();let a=(e=e||{}).random??e.rng?.()??function(){if(!t){if("undefined"==typeof crypto||!crypto.getRandomValues)throw Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");t=crypto.getRandomValues.bind(crypto)}return t(n)}();if(a.length<16)throw Error("Random bytes length must be >= 16");if(a[6]=15&a[6]|64,a[8]=63&a[8]|128,o){if((s=s||0)<0||s+16>o.length)throw RangeError(`UUID byte range ${s}:${s+15} is out of buffer bounds`);for(let e=0;e<16;++e)o[s+e]=a[e];return o}return function(e,t=0){return(i[e[t+0]]+i[e[t+1]]+i[e[t+2]]+i[e[t+3]]+"-"+i[e[t+4]]+i[e[t+5]]+"-"+i[e[t+6]]+i[e[t+7]]+"-"+i[e[t+8]]+i[e[t+9]]+"-"+i[e[t+10]]+i[e[t+11]]+i[e[t+12]]+i[e[t+13]]+i[e[t+14]]+i[e[t+15]]).toLowerCase()}(a)}],36158)},55543,(e,t,r)=>{var n={675:function(e,t){"use strict";t.byteLength=function(e){var t=l(e),r=t[0],n=t[1];return(r+n)*3/4-n},t.toByteArray=function(e){var t,r,o=l(e),s=o[0],a=o[1],c=new i((s+a)*3/4-a),u=0,d=a>0?s-4:s;for(r=0;r<d;r+=4)t=n[e.charCodeAt(r)]<<18|n[e.charCodeAt(r+1)]<<12|n[e.charCodeAt(r+2)]<<6|n[e.charCodeAt(r+3)],c[u++]=t>>16&255,c[u++]=t>>8&255,c[u++]=255&t;return 2===a&&(t=n[e.charCodeAt(r)]<<2|n[e.charCodeAt(r+1)]>>4,c[u++]=255&t),1===a&&(t=n[e.charCodeAt(r)]<<10|n[e.charCodeAt(r+1)]<<4|n[e.charCodeAt(r+2)]>>2,c[u++]=t>>8&255,c[u++]=255&t),c},t.fromByteArray=function(e){for(var t,n=e.length,i=n%3,o=[],s=0,a=n-i;s<a;s+=16383)o.push(function(e,t,n){for(var i,o=[],s=t;s<n;s+=3)i=(e[s]<<16&0xff0000)+(e[s+1]<<8&65280)+(255&e[s+2]),o.push(r[i>>18&63]+r[i>>12&63]+r[i>>6&63]+r[63&i]);return o.join("")}(e,s,s+16383>a?a:s+16383));return 1===i?o.push(r[(t=e[n-1])>>2]+r[t<<4&63]+"=="):2===i&&o.push(r[(t=(e[n-2]<<8)+e[n-1])>>10]+r[t>>4&63]+r[t<<2&63]+"="),o.join("")};for(var r=[],n=[],i="undefined"!=typeof Uint8Array?Uint8Array:Array,o="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789
1+/",s=0,a=o.length;s<a;++s)r[s]=o[s],n[o.charCodeAt(s)]=s;function l(e){var t=e.length;if(t%4>0)throw Error("Invalid string. Length must be a multiple of 4");var r=e.indexOf("=");-1===r&&(r=t);var n=r===t?0:4-r%4;return[r,n]}n[45]=62,n[95]=63},72:function(e,t,r){"use strict";var n=r(675),i=r(783),o="function"==typeof Symbol&&"function"==typeof Symbol.for?Symbol.for("nodejs.util.inspect.custom"):null;function s(e){if(e>0x7fffffff)throw RangeError('The value "'+e+'" is invalid for option "size"');var t=new Uint8Array(e);return Object.setPrototypeOf(t,a.prototype),t}function a(e,t,r){if("number"==typeof e){if("string"==typeof t)throw TypeError('The "string" argument must be of type string. Received type number');return u(e)}return l(e,t,r)}function l(e,t,r){if("string"==typeof e){var n=e,i=t;if(("string"!=typeof i||""===i)&&(i="utf8"),!a.isEncoding(i))throw TypeError("Unknown encoding: "+i);var o=0|h(n,i),l=s(o),c=l.write(n,i);return c!==o&&(l=l.slice(0,c)),l}if(ArrayBuffer.isView(e))return d(e);if(null==e)throw TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof e);if(A(e,ArrayBuffer)||e&&A(e.buffer,ArrayBuffer)||"undefined"!=typeof SharedArrayBuffer&&(A(e,SharedArrayBuffer)||e&&A(e.buffer,SharedArrayBuffer)))return function(e,t,r){var n;if(t<0||e.byteLength<t)throw RangeError('"offset" is outside of buffer bounds');if(e.byteLength<t+(r||0))throw RangeError('"length" is outside of buffer bounds');return Object.setPrototypeOf(n=void 0===t&&void 0===r?new Uint8Array(e):void 0===r?new Uint8Array(e,t):new Uint8Array(e,t,r),a.prototype),n}(e,t,r);if("number"==typeof e)throw TypeError('The "value" argument must not be of type number. Received type number');var u=e.valueOf&&e.valueOf();if(null!=u&&u!==e)return a.from(u,t,r);var p=function(e){if(a.isBuffer(e)){var t=0|f(e.length),r=s(t);return 0===r.length||e.copy(r,0,0,t),r}return void 0!==e.length?"number"!=typeof e.length||function(e){return e!=e}(e.length)?s(0):d(e):"Buffer"===e.type&&Array.isArray(e.data)?d(e.data):void 0}(e);if(p)return p;if("undefined"!=typeof Symbol&&null!=Symbol.toPrimitive&&"function"==typeof e[Symbol.toPrimitive])return a.from(e[Symbol.toPrimitive]("string"),t,r);throw TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof e)}function c(e){if("number"!=typeof e)throw TypeError('"size" argument must be of type number');if(e<0)throw RangeError('The value "'+e+'" is invalid for option "size"')}function u(e){return c(e),s(e<0?0:0|f(e))}function d(e){for(var t=e.length<0?0:0|f(e.length),r=s(t),n=0;n<t;n+=1)r[n]=255&e[n];return r}t.Buffer=a,t.SlowBuffer=function(e){return+e!=e&&(e=0),a.alloc(+e)},t.INSPECT_MAX_BYTES=50,t.kMaxLength=0x7fffffff,a.TYPED_ARRAY_SUPPORT=function(){try{var e=new Uint8Array(1),t={foo:function(){return 42}};return Object.setPrototypeOf(t,Uint8Array.prototype),Object.setPrototypeOf(e,t),42===e.foo()}catch(e){return!1}}(),a.TYPED_ARRAY_SUPPORT||"undefined"==typeof console||"function"!=typeof console.error||console.error("This browser lacks typed array (Uint8Array) support which is required by `buffer` v5.x. Use `buffer` v4.x if you require old browser support."),Object.defineProperty(a.prototype,"parent",{enumerable:!0,get:function(){if(a.isBuffer(this))return this.buffer}}),Object.defineProperty(a.prototype,"offset",{enumerable:!0,get:function(){if(a.isBuffer(this))return this.byteOffset}}),a.poolSize=8192,a.from=function(e,t,r){return l(e,t,r)},Object.setPrototypeOf(a.prototype,Uint8Array.prototype),Object.setPrototypeOf(a,Uint8Array),a.alloc=function(e,t,r){return(c(e),e<=0)?s(e):void 0!==t?"string"==typeof r?s(e).fill(t,r):s(e).fill(t):s(e)},a.allocUnsafe=function(e){return u(e)},a.allocUnsafeSlow=function(e){return u(e)};function f(e){if(e>=0x7fffffff)throw RangeError("Attempt to allocate Buffer larger than maximum size: 0x7fffffff bytes");return 0|e}function h(e,t){if(a.isBuffer(e))return e.length;if(ArrayBuffer.isView(e)||A(e,ArrayBuffer))return e.byteLength;if("string"!=typeof e)throw TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof e);var r=e.length,n=arguments.length>2&&!0===arguments[2];if(!n&&0===r)return 0;for(var i=!1;;)switch(t){case"ascii":case"latin1":case"binary":return r;case"utf8":case"utf-8":return x(e).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*r;case"hex":return r>>>1;case"base64":return I(e).length;default:if(i)return n?-1:x(e).length;t=(""+t).toLowerCase(),i=!0}}function p(e,t,r){var i,o,s,a=!1;if((void 0===t||t<0)&&(t=0),t>this.length||((void 0===r||r>this.length)&&(r=this.length),r<=0||(r>>>=0)<=(t>>>=0)))return"";for(e||(e="utf8");;)switch(e){case"hex":return function(e,t,r){var n=e.length;(!t||t<0)&&(t=0),(!r||r<0||r>n)&&(r=n);for(var i="",o=t;o<r;++o)i+=M[e[o]];return i}(this,t,r);case"utf8":case"utf-8":return v(this,t,r);case"ascii":return function(e,t,r){var n="";r=Math.min(e.length,r);for(var i=t;i<r;++i)n+=String.fromCharCode(127&e[i]);return n}(this,t,r);case"latin1":case"binary":return function(e,t,r){var n="";r=Math.min(e.length,r);for(var i=t;i<r;++i)n+=String.fromCharCode(e[i]);return n}(this,t,r);case"base64":return i=this,o=t,s=r,0===o&&s===i.length?n.fromByteArray(i):n.fromByteArray(i.slice(o,s));case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return function(e,t,r){for(var n=e.slice(t,r),i="",o=0;o<n.length;o+=2)i+=String.fromCharCode(n[o]+256*n[o+1]);return i}(this,t,r);default:if(a)throw TypeError("Unknown encoding: "+e);e=(e+"").toLowerCase(),a=!0}}function m(e,t,r){var n=e[t];e[t]=e[r],e[r]=n}function g(e,t,r,n,i){var o;if(0===e.length)return -1;if("string"==typeof r?(n=r,r=0):r>0x7fffffff?r=0x7fffffff:r<-0x80000000&&(r=-0x80000000),(o=r*=1)!=o&&(r=i?0:e.length-1),r<0&&(r=e.length+r),r>=e.length)if(i)return -1;else r=e.length-1;else if(r<0)if(!i)return -1;else r=0;if("string"==typeof t&&(t=a.from(t,n)),a.isBuffer(t))return 0===t.length?-1:y(e,t,r,n,i);if("number"==typeof t){if(t&=255,"function"==typeof Uint8Array.prototype.indexOf)if(i)return Uint8Array.prototype.indexOf.call(e,t,r);else return Uint8Array.prototype.lastIndexOf.call(e,t,r);return y(e,[t],r,n,i)}throw TypeError("val must be string, number or Buffer")}function y(e,t,r,n,i){var o,s=1,a=e.length,l=t.length;if(void 0!==n&&("ucs2"===(n=String(n).toLowerCase())||"ucs-2"===n||"utf16le"===n||"utf-16le"===n)){if(e.length<2||t.length<2)return -1;s=2,a/=2,l/=2,r/=2}function c(e,t){return 1===s?e[t]:e.readUInt16BE(t*s)}if(i){var u=-1;for(o=r;o<a;
vendor: 12,407 bytes, line 1
1o++)if(c(e,o)===c(t,-1===u?0:o-u)){if(-1===u&&(u=o),o-u+1===l)return u*s}else -1!==u&&(o-=o-u),u=-1}else for(r+l>a&&(r=a-l),o=r;o>=0;o--){for(var d=!0,f=0;f<l;f++)if(c(e,o+f)!==c(t,f)){d=!1;break}if(d)return o}return -1}a.isBuffer=function(e){return null!=e&&!0===e._isBuffer&&e!==a.prototype},a.compare=function(e,t){if(A(e,Uint8Array)&&(e=a.from(e,e.offset,e.byteLength)),A(t,Uint8Array)&&(t=a.from(t,t.offset,t.byteLength)),!a.isBuffer(e)||!a.isBuffer(t))throw TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(e===t)return 0;for(var r=e.length,n=t.length,i=0,o=Math.min(r,n);i<o;++i)if(e[i]!==t[i]){r=e[i],n=t[i];break}return r<n?-1:+(n<r)},a.isEncoding=function(e){switch(String(e).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}},a.concat=function(e,t){if(!Array.isArray(e))throw TypeError('"list" argument must be an Array of Buffers');if(0===e.length)return a.alloc(0);if(void 0===t)for(r=0,t=0;r<e.length;++r)t+=e[r].length;var r,n=a.allocUnsafe(t),i=0;for(r=0;r<e.length;++r){var o=e[r];if(A(o,Uint8Array)&&(o=a.from(o)),!a.isBuffer(o))throw TypeError('"list" argument must be an Array of Buffers');o.copy(n,i),i+=o.length}return n},a.byteLength=h,a.prototype._isBuffer=!0,a.prototype.swap16=function(){var e=this.length;if(e%2!=0)throw RangeError("Buffer size must be a multiple of 16-bits");for(var t=0;t<e;t+=2)m(this,t,t+1);return this},a.prototype.swap32=function(){var e=this.length;if(e%4!=0)throw RangeError("Buffer size must be a multiple of 32-bits");for(var t=0;t<e;t+=4)m(this,t,t+3),m(this,t+1,t+2);return this},a.prototype.swap64=function(){var e=this.length;if(e%8!=0)throw RangeError("Buffer size must be a multiple of 64-bits");for(var t=0;t<e;t+=8)m(this,t,t+7),m(this,t+1,t+6),m(this,t+2,t+5),m(this,t+3,t+4);return this},a.prototype.toString=function(){var e=this.length;return 0===e?"":0==arguments.length?v(this,0,e):p.apply(this,arguments)},a.prototype.toLocaleString=a.prototype.toString,a.prototype.equals=function(e){if(!a.isBuffer(e))throw TypeError("Argument must be a Buffer");return this===e||0===a.compare(this,e)},a.prototype.inspect=function(){var e="",r=t.INSPECT_MAX_BYTES;return e=this.toString("hex",0,r).replace(/(.{2})/g,"$1 ").trim(),this.length>r&&(e+=" ... "),"<Buffer "+e+">"},o&&(a.prototype[o]=a.prototype.inspect),a.prototype.compare=function(e,t,r,n,i){if(A(e,Uint8Array)&&(e=a.from(e,e.offset,e.byteLength)),!a.isBuffer(e))throw TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof e);if(void 0===t&&(t=0),void 0===r&&(r=e?e.length:0),void 0===n&&(n=0),void 0===i&&(i=this.length),t<0||r>e.length||n<0||i>this.length)throw RangeError("out of range index");if(n>=i&&t>=r)return 0;if(n>=i)return -1;if(t>=r)return 1;if(t>>>=0,r>>>=0,n>>>=0,i>>>=0,this===e)return 0;for(var o=i-n,s=r-t,l=Math.min(o,s),c=this.slice(n,i),u=e.slice(t,r),d=0;d<l;++d)if(c[d]!==u[d]){o=c[d],s=u[d];break}return o<s?-1:+(s<o)},a.prototype.includes=function(e,t,r){return -1!==this.indexOf(e,t,r)},a.prototype.indexOf=function(e,t,r){return g(this,e,t,r,!0)},a.prototype.lastIndexOf=function(e,t,r){return g(this,e,t,r,!1)};function v(e,t,r){r=Math.min(e.length,r);for(var n=[],i=t;i<r;){var o,s,a,l,c=e[i],u=null,d=c>239?4:c>223?3:c>191?2:1;if(i+d<=r)switch(d){case 1:c<128&&(u=c);break;case 2:(192&(o=e[i+1]))==128&&(l=(31&c)<<6|63&o)>127&&(u=l);break;case 3:o=e[i+1],s=e[i+2],(192&o)==128&&(192&s)==128&&(l=(15&c)<<12|(63&o)<<6|63&s)>2047&&(l<55296||l>57343)&&(u=l);break;case 4:o=e[i+1],s=e[i+2],a=e[i+3],(192&o)==128&&(192&s)==128&&(192&a)==128&&(l=(15&c)<<18|(63&o)<<12|(63&s)<<6|63&a)>65535&&l<1114112&&(u=l)}null===u?(u=65533,d=1):u>65535&&(u-=65536,n.push(u>>>10&1023|55296),u=56320|1023&u),n.push(u),i+=d}var f=n,h=f.length;if(h<=4096)return String.fromCharCode.apply(String,f);for(var p="",m=0;m<h;)p+=String.fromCharCode.apply(String,f.slice(m,m+=4096));return p}function w(e,t,r){if(e%1!=0||e<0)throw RangeError("offset is not uint");if(e+t>r)throw RangeError("Trying to access beyond buffer length")}function b(e,t,r,n,i,o){if(!a.isBuffer(e))throw TypeError('"buffer" argument must be a Buffer instance');if(t>i||t<o)throw RangeError('"value" argument is out of bounds');if(r+n>e.length)throw RangeError("Index out of range")}function _(e,t,r,n,i,o){if(r+n>e.length||r<0)throw RangeError("Index out of range")}function S(e,t,r,n,o){return t*=1,r>>>=0,o||_(e,t,r,4,34028234663852886e22,-34028234663852886e22),i.write(e,t,r,n,23,4),r+4}function E(e,t,r,n,o){return t*=1,r>>>=0,o||_(e,t,r,8,17976931348623157e292,-17976931348623157e292),i.write(e,t,r,n,52,8),r+8}a.prototype.write=function(e,t,r,n){if(void 0===t)n="utf8",r=this.length,t=0;else if(void 0===r&&"string"==typeof t)n=t,r=this.length,t=0;else if(isFinite(t))t>>>=0,isFinite(r)?(r>>>=0,void 0===n&&(n="utf8")):(n=r,r=void 0);else throw Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");var i,o,s,a,l,c,u,d,f=this.length-t;if((void 0===r||r>f)&&(r=f),e.length>0&&(r<0||t<0)||t>this.length)throw RangeError("Attempt to write outside buffer bounds");n||(n="utf8");for(var h=!1;;)switch(n){case"hex":return function(e,t,r,n){r=Number(r)||0;var i=e.length-r;n?(n=Number(n))>i&&(n=i):n=i;var o=t.length;n>o/2&&(n=o/2);for(var s=0;s<n;++s){var a,l=parseInt(t.substr(2*s,2),16);if((a=l)!=a)break;e[r+s]=l}return s}(this,e,t,r);case"utf8":case"utf-8":return i=t,o=r,T(x(e,this.length-i),this,i,o);case"ascii":return s=t,a=r,T(k(e),this,s,a);case"latin1":case"binary":return function(e,t,r,n){return T(k(t),e,r,n)}(this,e,t,r);case"base64":return l=t,c=r,T(I(e),this,l,c);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return u=t,d=r,T(function(e,t){for(var r,n,i=[],o=0;o<e.length&&!((t-=2)<0);++o)n=(r=e.charCodeAt(o))>>8,i.push(r%256),i.push(n);return i}(e,this.length-u),this,u,d);default:if(h)throw TypeError("Unknown encoding: "+n);n=(""+n).toLowerCase(),h=!0}},a.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}},a.prototype.slice=function(e,t){var r=this.length;e=~~e,t=void 0===t?r:~~t,e<0?(e+=r)<0&&(e=0):e>r&&(e=r),t<0?(t+=r)<0&&(t=0):t>r&&(t=r),t<e&&(t=e);var n=this.subarray(e,t);return Object.setPrototypeOf(n,a.prototype),n},a.prototype.readUIntLE=function(e,t,r){e>>>=0,t>>>=0,r||w(e,t,this.length);for(var n=this[e],i=1,o=0;++o<t&&(i*=256);)n+=this[e+o]*i;return n},a.prototype.readUIntBE=function(e,t,r){e>>>=0,t>>>=0,r||w(e,t,this.length);for(var n=this[e+--t],i=1;t>0&&(i*=256);)n+=this[e+--t]*i;return n},a.prototype.readUInt8=function(e,t){return e>>>=0,t||w(e,1,this.length),this[e]},a.prototype.readUInt16LE=function(e,t){return e>>>=0,t||w(e,2,this.length),this[e]|this[e+1]<<8},a.prototype.readUInt16BE=function(e,t){return e>>>=0,t||w(e,2,this.length),this[e]<<8|this[e+1]},a.prototype.readUInt32LE=function(e,t){return e>>>=0,t||w(e,4,this.length),(this[e]|this[e+1]<<8|this[e+2]<<16)+0x1000000*this[e+3]},a.prototype.readUInt32BE=function(e,t){return e>>>=0,t||w(e,4,this.length),0x1000000*this[e]+(this[e+1]<<16|this[e+2]<<8|this[e+3])},a.prototype.readIntLE=function(e,t,r){e>>>=0,t>>>=0,r||w(e,t,this.length);for(var n=this[e],i=1,o=0;++o<t&&(i*=256);)n+=this[e+o]*i;return n>=(i*=128)&&(n-=Math.pow(2,8*t)),n},a.prototype.readIntBE=function(e,t,r){e>>>=0,t>>>=0,r||w(e,t,this.length);for(var n=t,i=1,o=this[e+--n];n>0&&(i*=256);)o+=this[e+--n]*i;return o>=(i*=128)&&(o-=Math.pow(2,8*t)),o},a.prototype.readInt8=function(e,t){return(e>>>=0,t||w(e,1,this.length),128&this[e])?-((255-this[e]+1)*1):this[e]},a.prototype.readInt16LE=function(e,t){e>>>=0,t||w(e,2,this.length);var r=this[e]|this[e+1]<<8;return 32768&r?0xffff0000|r:r},a.prototype.readInt16BE=function(e,t){e>>>=0,t||w(e,2,this.length);var r=this[e+1]|this[e]<<8;return 32768&r?0xffff0000|r:r},a.prototype.readInt32LE=function(e,t){return e>>>=0,t||w(e,4,this.length),this[e]|this[e+1]<<8|this[e+2]<<16|this[e+3]<<24},a.prototype.readInt32BE=function(e,t){return e>>>=0,t||w(e,4,this.length),this[e]<<24|this[e+1]<<16|this[e+2]<<8|this[e+3]},a.prototype.readFloatLE=function(e,t){return e>>>=0,t||w(e,4,this.length),i.read(this,e,!0,23,4)},a.prototype.readFloatBE=function(e,t){return e>>>=0,t||w(e,4,this.length),i.read(this,e,!1,23,4)},a.prototype.readDoubleLE=function(e,t){return e>>>=0,t||w(e,8,this.length),i.read(this,e,!0,52,8)},a.prototype.readDoubleBE=function(e,t){return e>>>=0,t||w(e,8,this.length),i.read(this,e,!1,52,8)},a.prototype.writeUIntLE=function(e,t,r,n){if(e*=1,t>>>=0,r>>>=0,!n){var i=Math.pow(2,8*r)-1;b(this,e,t,r,i,0)}var o=1,s=0;for(this[t]=255&e;++s<r&&(o*=256);)this[t+s]=e/o&255;return t+r},a.prototype.writeUIntBE=function(e,t,r,n){if(e*=1,t>>>=0,r>>>=0,!n){var i=Math.pow(2,8*r)-1;b(this,e,t,r,i,0)}var o=r-1,s=1;for(this[t+o]=255&e;--o>=0&&(s*=256);)this[t+o]=e/s&255;return t+r},a.prototype.writeUInt8=function(e,t,r){return e*=1,t>>>=0,r||b(this,e,t,1,255,0),this[t]=255&e,t+1},a.prototype.writeUInt16LE=function(e,t,r){return e*=1,t>>>=0,r||b(this,e,t,2,65535,0),this[t]=255&e,this[t+1]=e>>>8,t+2},a.prototype.writeUInt16BE=function(e,t,r){return e*=1,t>>>=0,r||b(this,e,t,2,65535,0),this[t]=e>>>8,this[t+1]=255&e,t+2},a.prototype.writeUInt32LE=function(e,t,r){return e*=1,t>>>=0,r||b(this,e,t,4,0xffffffff,0),this[t+3]=e>>>24,this[t+2]=e>>>16,this[t+1]=e>>>8,this[t]=255&e,t+4},a.prototype.writeUInt32BE=function(e,t,r){return e*=1,t>>>=0,r||b(this,e,t,4,0xffffffff,0),this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e,t+4},a.prototype.writeIntLE=function(e,t,r,n){if(e*=1,t>>>=0,!n){var i=Math.pow(2,8*r-1);b(this,e,t,r,i-1,-i)}var o=0,s=1,a=0;for(this[t]=255&e;++o<r&&(s*=256);)e<0&&0===a&&0!==this[t+o-1]&&(a=1),this[t+o]=(e/s|0)-a&255;return t+r},a.prototype.writeIntBE=function(e,t,r,n){if(e*=1,t>>>=0,!n){var i=Math.pow(2,8*r-1);b(this,e,t,r,i-1,-i)}var o=r-1,s=1,a=0;for(this[t+o]=255&e;--o>=0&&(s*=256);)e<0&&0===a&&0!==this[t+o+1]&&(a=1),this[t+o]=(e/s|0)-a&255;return t+r},a.prototype.writeInt8=function(e,t,r){return e*=1,t>>>=0,r||b(this,e,t,1,127,-128),e<0&&(e=255+e+1),this[t]=255&e,t+1},a.prototype.writeInt16LE=function(e,t,r){return e*=1,t>>>=0,r||b(this,e,t,2,32767,-32768),this[t]=255&e,this[t+1]=e>>>8,t+2},a.prototype.writeInt16BE=function(e,t,r){return e*=1,t>>>=0,r||b(this,e,t,2,32767,-32768),this[t]=e>>>8,this[t+1]=255&e,t+2},a.prototype.writeInt32LE=function(e,t,r){return e*=1,t>>>=0,r||b(this,e,t,4,0x7fffffff,-0x80000000),this[t]=255&e,this[t+1]=e>>>8,this[t+2]=e>>>16,this[t+3]=e>>>24,t+4},a.prototype.writeInt32BE=function(e,t,r){return e*=1,t>>>=0,r||b(this,e,t,4,0x7fffffff,-0x80000000),e<0&&(e=0xffffffff+e+1),this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e,t+4},a.prototype.writeFloatLE=function(e,t,r){return S(this,e,t,!0,r)},a.prototype.writeFloatBE=function(e,t,r){return S(this,e,t,!1,r)},a.prototype.writeDoubleLE=function(e,t,r){return E(this,e,t,!0,r)},a.prototype.writeDoubleBE=function(e,t,r){return E(this,e,t,!1,r)},a.prototype.copy=function(e,t,r,n){if(!a.isBuffer(e))throw TypeError("argument should be a Buffer");if(r||(r=0),n||0===n||(n=this.length),t>=e.length&&(t=e.length),t||(t=0),n>0&&n<r&&(n=r),n===r||0===e.length||0===this.length)return 0;if(t<0)throw RangeError("targetStart out of bounds");if(r<0||r>=this.length)throw RangeError("Index out of range");if(n<0)throw RangeError("sourceEnd out of bounds");n>this.length&&(n=this.length),e.length-t<n-r&&(n=e.length-t+r);var i=n-r;if(this===e&&"function"==typeof Uint8Array.prototype.copyWithin)this.copyWithin(t,r,n);else if(this===e&&r<t&&t<n)for(var o=i-1;o>=0;--o)e[o+t]=this[o+r];else Uint8Array.prototype.set.call(e,this.subarray(r,n),t);return i},a.prototype.fill=function(e,t,r,n){if("string"==typeof e){if("string"==typeof t?(n=t,t=0,r=this.length):"string"==typeof r&&(n=r,r=this.length),void 0!==n&&"string"!=typeof n)throw TypeError("encoding must be a string");if("string"==typeof n&&!a.isEncoding(n))throw TypeError("Unknown encoding: "+n);if(1===e.length){var i,o=e.charCodeAt(0);("utf8"===n&&o<128||"latin1"===n)&&(e=o)}}else"number"==typeof e?e&=255:"boolean"==typeof e&&(e=Number(e));if(t<0||this.length<t||this.length<r)throw RangeError("Out of range index");if(r<=t)return this;if(t>>>=0,r=void 0===r?this.length:r>>>0,e||(e=0),"number"==typeof e)for(i=t;i<r;++i)this[i]=e;else{var s=a.isBuffer(e)?e:a.from(e,n),l=s.length;
1if(0===l)throw TypeError('The value "'+e+'" is invalid for argument "value"');for(i=0;i<r-t;++i)this[i+t]=s[i%l]}return this};var C=/[^+/0-9A-Za-z-_]/g;function x(e,t){t=t||1/0;for(var r,n=e.length,i=null,o=[],s=0;s<n;++s){if((r=e.charCodeAt(s))>55295&&r<57344){if(!i){if(r>56319||s+1===n){(t-=3)>-1&&o.push(239,191,189);continue}i=r;continue}if(r<56320){(t-=3)>-1&&o.push(239,191,189),i=r;continue}r=(i-55296<<10|r-56320)+65536}else i&&(t-=3)>-1&&o.push(239,191,189);if(i=null,r<128){if((t-=1)<0)break;o.push(r)}else if(r<2048){if((t-=2)<0)break;o.push(r>>6|192,63&r|128)}else if(r<65536){if((t-=3)<0)break;o.push(r>>12|224,r>>6&63|128,63&r|128)}else if(r<1114112){if((t-=4)<0)break;o.push(r>>18|240,r>>12&63|128,r>>6&63|128,63&r|128)}else throw Error("Invalid code point")}return o}function k(e){for(var t=[],r=0;r<e.length;++r)t.push(255&e.charCodeAt(r));return t}function I(e){return n.toByteArray(function(e){if((e=(e=e.split("=")[0]).trim().replace(C,"")).length<2)return"";for(;e.length%4!=0;)e+="=";return e}(e))}function T(e,t,r,n){for(var i=0;i<n&&!(i+r>=t.length)&&!(i>=e.length);++i)t[i+r]=e[i];return i}function A(e,t){return e instanceof t||null!=e&&null!=e.constructor&&null!=e.constructor.name&&e.constructor.name===t.name}var M=function(){for(var e="0123456789abcdef",t=Array(256),r=0;r<16;++r)for(var n=16*r,i=0;i<16;++i)t[n+i]=e[r]+e[i];return t}()},783:function(e,t){t.read=function(e,t,r,n,i){var o,s,a=8*i-n-1,l=(1<<a)-1,c=l>>1,u=-7,d=r?i-1:0,f=r?-1:1,h=e[t+d];for(d+=f,o=h&(1<<-u)-1,h>>=-u,u+=a;u>0;o=256*o+e[t+d],d+=f,u-=8);for(s=o&(1<<-u)-1,o>>=-u,u+=n;u>0;s=256*s+e[t+d],d+=f,u-=8);if(0===o)o=1-c;else{if(o===l)return s?NaN:1/0*(h?-1:1);s+=Math.pow(2,n),o-=c}return(h?-1:1)*s*Math.pow(2,o-n)},t.write=function(e,t,r,n,i,o){var s,a,l,c=8*o-i-1,u=(1<<c)-1,d=u>>1,f=5960464477539062e-23*(23===i),h=n?0:o-1,p=n?1:-1,m=+(t<0||0===t&&1/t<0);for(isNaN(t=Math.abs(t))||t===1/0?(a=+!!isNaN(t),s=u):(s=Math.floor(Math.log(t)/Math.LN2),t*(l=Math.pow(2,-s))<1&&(s--,l*=2),s+d>=1?t+=f/l:t+=f*Math.pow(2,1-d),t*l>=2&&(s++,l/=2),s+d>=u?(a=0,s=u):s+d>=1?(a=(t*l-1)*Math.pow(2,i),s+=d):(a=t*Math.pow(2,d-1)*Math.pow(2,i),s=0));i>=8;e[r+h]=255&a,h+=p,a/=256,i-=8);for(s=s<<i|a,c+=i;c>0;e[r+h]=255&s,h+=p,s/=256,c-=8);e[r+h-p]|=128*m}}},i={};function o(e){var t=i[e];if(void 0!==t)return t.exports;var r=i[e]={exports:{}},s=!0;try{n[e](r,r.exports,o),s=!1}finally{s&&delete i[e]}return r.exports}o.ab="/ROOT/node_modules/.pnpm/[email protected]_@[email protected][email protected][email protected][email protected]/node_modules/next/dist/compiled/buffer/",t.exports=o(72)},47140,e=>{"use strict";let t,r,n,i,o,s;var a,l,c,u,d,f,h,p,m,g,y,v,w,b,_,S,E,C,x,k,I,T,A,M,O,R,P,D,N,L,F,U,z,B,j,V,$,H,G,W,q,J,Y,K,X,Q,Z,ee,et,er,en,ei,eo,es,ea,el,ec,eu,ed,ef,eh,ep,em,eg,ey,ev,ew,eb,e_,eS,eE,eC,ex,ek,eI,eT,eA,eM,eO,eR,eP,eD,eN,eL,eF,eU,ez,eB,ej,eV,e$,eH,eG,eW,eq,eJ,eY,eK,eX,eQ,eZ,e0,e1,e4,e2,e3,e6,e5,e8,e7,e9,te,tt,tr,tn,ti,to,ts,ta,tl,tc,tu,td,tf,th,tp,tm,tg,ty,tv,tw,tb,t_,tS,tE,tC,tx,tk,tI,tT,tA,tM,tO,tR,tP,tD,tN,tL,tF,tU,tz,tB,tj,tV,t$,tH,tG,tW,tq={log:"log",debug:"debug",info:"info",warn:"warn",error:"error"},tJ=console,tY={};Object.keys(tq).forEach(function(e){tY[e]=tJ[e]});var tK="Datadog Browser SDK:",tX={debug:tY.debug.bind(tJ,tK),log:tY.log.bind(tJ,tK),info:tY.info.bind(tJ,tK),warn:tY.warn.bind(tJ,tK),error:tY.error.bind(tJ,tK)},tQ="https://docs.datadoghq.com",tZ="".concat(tQ,"/real_user_monitoring/browser/troubleshooting"),t0="More details:";function t1(e,t){return function(){for(var r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];try{return e.apply(void 0,r)}catch(e){tX.error(t,e)}}}var t4=function(e,t,r){if(r||2==arguments.length)for(var n,i=0,o=t.length;i<o;i++)!n&&i in t||(n||(n=Array.prototype.slice.call(t,0,i)),n[i]=t[i]);return e.concat(n||Array.prototype.slice.call(t))},t2=!1;function t3(e){t2=e}function t6(e,t,r){var n=r.value;r.value=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return(E?t5(n):n).apply(this,e)}}function t5(e){return function(){return t8(e,this,arguments)}}function t8(e,t,r){try{return e.apply(t,r)}catch(e){if(t7(e),E)try{E(e)}catch(e){t7(e)}}}function t7(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];t2&&tX.error.apply(tX,t4(["[MONITOR]"],e,!1))}function t9(e,t){return -1!==e.indexOf(t)}function re(e){if(Array.from)return Array.from(e);var t=[];if(e instanceof Set)e.forEach(function(e){return t.push(e)});else for(var r=0;r<e.length;r++)t.push(e[r]);return t}function rt(e,t){for(var r=0;r<e.length;r+=1){var n=e[r];if(t(n,r))return n}}function rr(e){return Object.keys(e).map(function(t){return e[t]})}function rn(e){return Object.keys(e).map(function(t){return[t,e[t]]})}function ri(e,t){return e.slice(0,t.length)===t}function ro(e){for(var t=[],r=1;r<arguments.length;r++)t[r-1]=arguments[r];return t.forEach(function(t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])}),e}function rs(e){var t=ro({version:"5.35.1",onReady:function(e){e()}},e);return Object.defineProperty(t,"_setDebug",{get:function(){return t3},enumerable:!1}),t}function ra(e,t,r){var n=e[t];n&&!n.q&&n.version&&tX.warn("SDK is loaded more than once. This is unsupported and might have unex
1pected behavior."),e[t]=r,n&&n.q&&n.q.forEach(function(e){return t1(e,"onReady callback threw an error:")()})}function rl(){if("object"==typeof globalThis)return globalThis;Object.defineProperty(Object.prototype,"_dd_temp_",{get:function(){return this},configurable:!0});var e=_dd_temp_;return delete Object.prototype._dd_temp_,"object"!=typeof e&&(e="object"==typeof self?self:"object"==typeof window?window:{}),e}var rc=/[^\u0000-\u007F]/;function ru(e){return rc.test(e)?void 0!==window.TextEncoder?new TextEncoder().encode(e).length:new Blob([e]).size:e.length}function rd(e,t){var r,n=rl();return n.Zone&&"function"==typeof n.Zone.__symbol__&&(r=e[n.Zone.__symbol__(t)]),r||(r=e[t]),r}function rf(e,t){return rd(rl(),"setTimeout")(t5(e),t)}function rh(e){rd(rl(),"clearTimeout")(e)}function rp(e,t){return rd(rl(),"setInterval")(t5(e),t)}function rm(e){rd(rl(),"clearInterval")(e)}function rg(e,t,r){var n,i,o=!r||void 0===r.leading||r.leading,s=!r||void 0===r.trailing||r.trailing,a=!1;return{throttled:function(){for(var r=[],l=0;l<arguments.length;l++)r[l]=arguments[l];if(a){n=r;return}o?e.apply(void 0,r):n=r,a=!0,i=rf(function(){s&&n&&e.apply(void 0,n),a=!1,n=void 0},t)},cancel:function(){rh(i),a=!1,n=void 0}}}function ry(){}function rv(e,t,r){if("object"!=typeof e||null===e)return JSON.stringify(e);var n=rw(Object.prototype),i=rw(Array.prototype),o=rw(Object.getPrototypeOf(e)),s=rw(e);try{return JSON.stringify(e,t,r)}catch(e){return"<error: unable to serialize object>"}finally{n(),i(),o(),s()}}function rw(e){var t=e.toJSON;return t?(delete e.toJSON,function(){e.toJSON=t}):ry}function rb(e,t){void 0===t&&(t=225280);var r=rw(Object.prototype),n=rw(Array.prototype),i=[],o=new WeakMap,s=r_(e,"$",void 0,i,o),a=JSON.stringify(s),l=a?a.length:0;if(l>t)return void rS(t,"discarded",e);for(;i.length>0&&l<t;){var c=i.shift(),u=0;if(Array.isArray(c.source))for(var d=0;d<c.source.length;d++){var f=r_(c.source[d],c.path,d,i,o);if(void 0!==f?l+=JSON.stringify(f).length:l+=4,l+=u,u=1,l>t){rS(t,"truncated",e);break}c.target[d]=f}else for(var d in c.source)if(Object.prototype.hasOwnProperty.call(c.source,d)){var f=r_(c.source[d],c.path,d,i,o);if(void 0!==f&&(l+=JSON.stringify(f).length+u+d.length+3,u=1),l>t){rS(t,"truncated",e);break}c.target[d]=f}}return r(),n(),s}function r_(e,t,r,n,i){var o,s=function(e){if(e&&"function"==typeof e.toJSON)try{return e.toJSON()}catch(e){}return e}(e);if(!s||"object"!=typeof s){return"bigint"==typeof(o=s)?"[BigInt] ".concat(o.toString()):"function"==typeof o?"[Function] ".concat(o.name||"unknown"):"symbol"==typeof o?"[Symbol] ".concat(o.description||o.toString()):o}var a=function(e){try{if(e instanceof Event)return{isTrusted:e.isTrusted};var t=Object.prototype.toString.call(e).match(/\[object (.*)\]/);if(t&&t[1])return"[".concat(t[1],"]")}catch(e){}return"[Unserializable]"}(s);if("[Object]"!==a&&"[Array]"!==a&&"[Error]"!==a)return a;if(i.has(e))return"[Reference seen at ".concat(i.get(e),"]");var l=void 0!==r?"".concat(t,".").concat(r):t,c=Array.isArray(s)?[]:{};return i.set(e,l),n.push({source:s,target:c,path:l}),c}function rS(e,t,r){tX.warn("The data provided has been ".concat(t," as it is over the limit of ").concat(e," characters:"),r)}function rE(e){var t=[],r=rR(e,"stack"),n=String(e);return r&&ri(r,n)&&(r=r.slice(n.length)),r&&r.split("\n").forEach(function(e){var r=function(e){var t=rk.exec(e);if(t){var r=t[2]&&0===t[2].indexOf("native"),n=t[2]&&0===t[2].indexOf("eval"),i=rI.exec(t[2]);return n&&i&&(t[2]=i[1],t[3]=i[2],t[4]=i[3]),{args:r?[t[2]]:[],column:t[4]?+t[4]:void 0,func:t[1]||"?",line:t[3]?+t[3]:void 0,url:r?void 0:t[2]}}}(e)||function(e){var t=rT.exec(e);if(t)return{args:[],column:t[3]?+t[3]:void 0,func:"?",line:t[2]?+t[2]:void 0,url:t[1]}}(e)||function(e){var t=rA.exec(e);if(t)return{args:[],column:t[4]?+t[4]:void 0,func:t[1]||"?",line:+t[3],url:t[2]}}(e)||function(e){var t=rM.exec(e);if(t){var r=t[3]&&t[3].indexOf(" > eval")>-1,n=rO.exec(t[3]);return r&&n&&(t[3]=n[1],t[4]=n[2],t[5]=void 0),{args:t[2]?t[2].split(","):[],column:t[5]?+t[5]:void 0,func:t[1]||"?",line:t[4]?+t[4]:void 0,url:t[3]}}}(e);
1r&&(!r.func&&r.line&&(r.func="?"),t.push(r))}),{message:rR(e,"message"),name:rR(e,"name"),stack:t}}var rC="((?:file|https?|blob|chrome-extension|electron|native|eval|webpack|snippet|<anonymous>|\\w+\\.|\\/).*?)",rx="(?::(\\d+))",rk=RegExp("^\\s*at (.*?) ?\\(".concat(rC).concat(rx,"?").concat(rx,"?\\)?\\s*$"),"i"),rI=new RegExp("\\((\\S*)".concat(rx).concat(rx,"\\)")),rT=RegExp("^\\s*at ?".concat(rC).concat(rx,"?").concat(rx,"??\\s*$"),"i"),rA=/^\s*at (?:((?:\[object object\])?.+) )?\(?((?:file|ms-appx|https?|webpack|blob):.*?):(\d+)(?::(\d+))?\)?\s*$/i,rM=/^\s*(.*?)(?:\((.*?)\))?(?:^|@)((?:file|https?|blob|chrome|webpack|resource|capacitor|\[native).*?|[^@]*bundle)(?::(\d+))?(?::(\d+))?\s*$/i,rO=/(\S+) line (\d+)(?: > eval line \d+)* > eval/i;function rR(e,t){if("object"==typeof e&&e&&t in e){var r=e[t];return"string"==typeof r?r:void 0}}var rP=/^(?:[Uu]ncaught (?:exception: )?)?(?:((?:Eval|Internal|Range|Reference|Syntax|Type|URI|)Error): )?([\s\S]*)$/;function rD(){var e,t=Error();if(!t.stack)try{throw t}catch(e){ry()}return t8(function(){var r=rE(t);r.stack=r.stack.slice(2),e=rN(r)}),e}function rN(e){var t=rL(e);return e.stack.forEach(function(e){var r="?"===e.func?"<anonymous>":e.func,n=e.args&&e.args.length>0?"(".concat(e.args.join(", "),")"):"",i=e.line?":".concat(e.line):"",o=e.line&&e.column?":".concat(e.column):"";t+="\n  at ".concat(r).concat(n," @ ").concat(e.url).concat(i).concat(o)}),t}function rL(e){return"".concat(e.name||"Error",": ").concat(e.message)}var rF="No stack, consider using an instance of Error";function rU(e){var t,r,n,i,o,s,a=e.stackTrace,l=e.originalError,c=e.handlingStack,u=e.startClocks,d=e.nonErrorPrefix,f=e.source,h=e.handling,p=rB(l),m=(t=a,r=p,n=d,i=l,(null==t?void 0:t.message)&&(null==t?void 0:t.name)?t.message:r?"Empty message":"".concat(n," ").concat(rv(rb(i)))),g=(o=p,void 0!==(s=a)&&(o||s.stack.length>0&&(s.stack.length>1||void 0!==s.stack[0].url)))?rN(a):rF,y=p?rj(l,f):void 0,v=a?a.name:void 0,w=rz(l);return{startClocks:u,source:f,handling:h,handlingStack:c,originalError:l,type:v,message:m,stack:g,causes:y,fingerprint:w}}function rz(e){return rB(e)&&"dd_fingerprint"in e?String(e.dd_fingerprint):void 0}function rB(e){return e instanceof Error||"[object Error]"===Object.prototype.toString.call(e)}function rj(e,t){for(var r=e,n=[];rB(null==r?void 0:r.cause)&&n.length<10;){var i=rE(r.cause);n.push({message:r.cause.message,source:t,type:null==i?void 0:i.name,stack:i&&rN(i)}),r=r.cause}return n.length?n:void 0}function rV(e){return ro({},e)}function r$(e,t){return Object.keys(e).some(function(r){return e[r]===t})}function rH(e){return 0===Object.keys(e).length}(a=C||(C={})).WRITABLE_RESOURCE_GRAPHQL="writable_resource_graphql",a.REMOTE_CONFIGURATION="remote_configuration",a.LONG_ANIMATION_FRAME="long_animation_frame",a.ANONYMOUS_USER_TRACKING="anonymous_user_tracking",a.ACTION_NAME_MASKING="action_name_masking",a.CONSISTENT_TRACE_SAMPLING="consistent_trace_sampling",a.DELAY_VIEWPORT_COLLECTION="delay_viewport_collection";var rG=new Set;function rW(e){Array.isArray(e)&&e.filter(function(e){return r$(C,e)}).forEach(function(e){rG.add(e)})}function rq(e){return rG.has(e)}var rJ="datad0g.com",rY="datadoghq.com",rK=["ddsource","ddtags"],rX=function(){function e(e){this.onFirstSubscribe=e,this.observers=[]}return e.prototype.subscribe=function(e){var t=this;return this.observers.push(e),1===this.observers.length&&this.onFirstSubscribe&&(this.onLastUnsubscribe=this.onFirstSubscribe(this)||void 0),{unsubscribe:function(){t.observers=t.observers.filter(function(t){return e!==t}),!t.observers.length&&t.onLastUnsubscribe&&t.onLastUnsubscribe()}}},e.prototype.notify=function(e){this.observers.forEach(function(t){return t(e)})},e}();function rQ(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return new rX(function(t){var r=e.map(function(e){return e.subscribe(function(e){return t.notify(e)})});return function(){return r.forEach(function(e){return e.unsubscribe()})}})}function rZ(e){return 0!==e&&100*Math.random()<=e}function r0(e,t){return+e.toFixed(t)}function r1(e){return"number"==typeof e}var r4=31536e6;function r2(e){var t,r,n;return{relative:e,timeStamp:(t=e,(r=r6()-performance.now())>ne()?Math.round(function(e,t){return e+t}(r,t)):(n=t,Math.round(ne()+n)))}}function r3(e){return r1(e)?r0(1e6*e,0):e}function r6(){return new Date().getTime()}function r5(){return r6()}function r8(){return performance.now()}
1function r7(){return{relative:r8(),timeStamp:r5()}}function r9(){return{relative:0,timeStamp:ne()}}function ne(){return void 0===x&&(x=performance.timing.navigationStart),x}function nt(e,t){var r=window.__ddBrowserSdkExtensionCallback;r&&r({type:e,payload:t})}function nr(e){return null===e?"null":Array.isArray(e)?"array":typeof e}function nn(e,t,r){if(void 0===r&&(r=function(){if("undefined"!=typeof WeakSet){var e=new WeakSet;return{hasAlreadyBeenSeen:function(t){var r=e.has(t);return r||e.add(t),r}}}var t=[];return{hasAlreadyBeenSeen:function(e){var r=t.indexOf(e)>=0;return r||t.push(e),r}}}()),void 0===t)return e;if("object"!=typeof t||null===t)return t;if(t instanceof Date)return new Date(t.getTime());if(t instanceof RegExp){var n=t.flags||[t.global?"g":"",t.ignoreCase?"i":"",t.multiline?"m":"",t.sticky?"y":"",t.unicode?"u":""].join("");return new RegExp(t.source,n)}if(!r.hasAlreadyBeenSeen(t)){if(Array.isArray(t)){for(var i=Array.isArray(e)?e:[],o=0;o<t.length;++o)i[o]=nn(i[o],t[o],r);return i}var s="object"===nr(e)?e:{};for(var a in t)Object.prototype.hasOwnProperty.call(t,a)&&(s[a]=nn(s[a],t[a],r));return s}}function ni(e){return nn(void 0,e)}function no(){for(var e,t=[],r=0;r<arguments.length;r++)t[r]=arguments[r];for(var n=0;n<t.length;n++){var i=t[n];null!=i&&(e=nn(e,i))}return e}function ns(){var e,t=window.navigator;return{status:t.onLine?"connected":"not_connected",interfaces:t.connection&&t.connection.type?[t.connection.type]:void 0,effective_type:null==(e=t.connection)?void 0:e.effectiveType}}function na(e,t){var r=e.indexOf(t);r>=0&&e.splice(r,1)}function nl(){var e=[];return{add:function(t){e.push(t)>500&&e.splice(0,1)}
1,remove:function(t){na(e,t)},drain:function(t){e.forEach(function(e){return e(t)}),e.length=0}}}var nc="configuration",nu="usage",nd=["https://www.datadoghq-browser-agent.com","https://www.datad0g-browser-agent.com","https://d3uc069fcn7uxw.cloudfront.net","https://d20xtzwzcl0ceb.cloudfront.net","http://localhost","<anonymous>"],nf=["ddog-gov.com"],nh=nl(),np=function(e){nh.add(function(){return np(e)})};function nm(e,t){var r,n,i=new rX,o=new Set,s=!t9(nf,t.site)&&rZ(t.telemetrySampleRate),a=((r={}).log=s,r[nc]=s&&rZ(t.telemetryConfigurationSampleRate),r[nu]=s&&rZ(t.telemetryUsageSampleRate),r),l={is_local_file:"file:"===window.location.protocol,is_worker:"WorkerGlobalScope"in self};return np=function(r){var s=rv(r);if(a[r.type]&&o.size<t.maxTelemetryEventsPerPage&&!o.has(s)){var c,u,d,f=(c=e,u=r,d=l,no({type:"telemetry",date:r5(),service:c,version:"5.35.1",source:"browser",_dd:{format_version:2},telemetry:no(u,{runtime_env:d,connectivity:ns(),sdk_setup:"npm"}),experimental_features:re(rG)},void 0!==n?n():{}));i.notify(f),nt("telemetry",f),o.add(s)}},E=ny,{setContextProvider:function(e){n=e},observable:i,enabled:s}}function ng(e,t){t7(tq.debug,e,t),np(ro({type:"log",message:e,status:"debug"},t))}function ny(e,t){np(ro({type:"log",status:"error"},function(e){if(rB(e)){var t,r=rE(e);return{error:{kind:r.name,stack:rN(((t=r).stack=t.stack.filter(function(e){return!e.url||nd.some(function(t){return ri(e.url,t)})}),t))},message:r.message}}return{error:{stack:rF},message:"".concat("Uncaught"," ").concat(rv(e))}}(e),t))}function nv(e){np({type:nc,configuration:e})}function nw(e){np({type:nu,usage:e})}function nb(e){var t={},r=new rX,n={getContext:function(){return ni(t)},setContext:function(i){"object"===nr(i)?(t=rb(i),null==e||e.updateCustomerData(t)):n.clearContext(),r.notify()},setContextProperty:function(n,i){t[n]=rb(i),null==e||e.updateCustomerData(t),r.notify()},removeContextProperty:function(n){delete t[n],null==e||e.updateCustomerData(t),r.notify()},clearContext:function(){t={},null==e||e.resetCustomerData(),r.notify()},changeObservable:r};return n}function n_(e){var t=ro({},e);return["id","name","email"].forEach(function(e){e in t&&(t[e]=String(t[e]))}),t}function nS(e){var t="object"===nr(e);return t||tX.error("Unsupported user:",e),t}function nE(e){void 0===e&&(e=2);var t=new Map,r=!1;
1function n(n){if(void 0===n&&(n=0),!r&&0!==e){var i,o=2===e?3072:16384,s=n;t.forEach(function(e){s+=e.getBytesCount()}),s>o&&(i=o,tX.warn("Customer data exceeds the recommended ".concat(i/1024,"KiB threshold. ").concat(t0," ").concat(tZ,"/#customer-data-exceeds-the-recommended-threshold-warning")),r=!0)}}return{createDetachedTracker:function(){var e=nC(function(){return n(e.getBytesCount())});return e},getOrCreateTracker:function(e){return t.has(e)||t.set(e,nC(n)),t.get(e)},setCompressionStatus:function(t){0===e&&(e=t,n())},getCompressionStatus:function(){return e},stop:function(){t.forEach(function(e){return e.stop()}),t.clear()}}}function nC(e){var t=0,r=rg(function(r){t=ru(rv(r)),e()},200),n=r.throttled,i=r.cancel,o=function(){i(),t=0};return{updateCustomerData:function(e){rH(e)?o():n(e)},resetCustomerData:o,getBytesCount:function(){return t},stop:function(){i()}}}function nx(e,t,r,n,i){return nk(e,t,[r],n,i)}function nk(e,t,r,n,i){var o=void 0===i?{}:i,s=o.once,a=o.capture,l=o.passive,c=t5(function(t){(t.isTrusted||t.__ddIsTrusted||e.allowUntrustedEvents)&&(s&&h(),n(t))}),u=l?{capture:a,passive:l}:a,d=window.EventTarget&&t instanceof EventTarget?window.EventTarget.prototype:t,f=rd(d,"addEventListener");function h(){var e=rd(d,"removeEventListener");r.forEach(function(r){return e.call(t,r,c,u)})}return r.forEach(function(e){return f.call(t,e,c,u)}),{stop:h}}var nI=[];function nT(e,t,r,n){var i,o,s=(i=r,o=n,"".concat("_dd_c","_").concat(i,"_").concat(o));function a(){var e=localStorage.getItem(s);return null!==e?JSON.parse(e):{}}nI.push(nx(e,window,"storage",function(e){s===e.key&&t.setContext(a())})),t.changeObservable.subscribe(function(){localStorage.setItem(s,JSON.stringify(t.getContext()))}),t.setContext(no(a(),t.getContext()))}function nA(e,t){t.silentMultipleInit||tX.error("".concat(e," is already initialized."))}var nM={GRANTED:"granted",NOT_GRANTED:"not-granted"};function nO(e){var t=new rX;return{tryToInit:function(t){e||(e=t)},update:function(r){e=r,t.notify()},isGranted:function(){return e===nM.GRANTED},observable:t}}var nR="agent",nP="console",nD="logger",nN="source",nL="report";function nF(e,t,r){var n=r.getHandler(),i=Array.isArray(n)?n:[n];return nz[e]>=nz[r.getLevel()]&&t9(i,t)}var nU={ok:"ok",debug:"debug",info:"info",notice:"notice",warn:"warn",error:"error",critical:"critical",alert:"alert",emerg:"emerg"},nz=((k={})[nU.ok]=0,k[nU.debug]=1,k[nU.info]=2,k[nU.notice]=4,k[nU.warn]=5,k[nU.error]=6,k[nU.critical]=7,k[nU.alert]=8,k[nU.emerg]=9,k);function nB(e,t){var r=(void 0===t?{}:t).includeMessage;return{stack:e.stack,kind:e.type,message:void 0!==r&&r?e.message:void 0,causes:e.causes,fingerprint:e.fingerprint,handling:e.handling}}var nj=function(e,t,r,n){var i,o=arguments.length,s=o<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,r):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,r,n);else for(var a=e.length-1;a>=0;a--)(i=e[a])&&(s=(o<3?i(s):o>3?i(t,r,s):i(t,r))||s);return o>3&&s&&Object.defineProperty(t,r,s),s},nV="http",n$=Object.keys(nU),nH=function(){function e(e,t,r,n,i,o){void 0===n&&(n=nV),void 0===i&&(i=nU.debug),void 0===o&&(o={}),this.handleLogStrategy=e,this.handlerType=n,this.level=i,this.contextManager=nb(t),this.contextManager.setContext(o),r&&this.contextManager.setContextProperty("logger",{name:r})}return e.prototype.logImplementation=function(e,t,r,n,i){void 0===r&&(r=nU.info);var o,s=rb(t);o=null!=n?no({error:nB(rU({stackTrace:rB(n)?rE(n):void 0,originalError:n,nonErrorPrefix:"Provided",source:nD,handling:"handled",startClocks:r7()}),{includeMessage:!0})},s):s,this.handleLogStrategy({message:rb(e),context:o,status:r},this,i)},e.prototype.log=function(e,t,r,n){var i;void 0===r&&(r=nU.info),nF(r,nV,this)&&(i=rD()),this.logImplementation(e,t,r,n,i)},e.prototype.setContext=function(e){this.contextManager.setContext(e)},e.prototype.getContext=function(){return this.contextManager.getContext()},e.prototype.setContextProperty=function(e,t){this.contextManager.setContextProperty(e,t)},e.prototype.removeContextProperty=function(e){this.contextManager.removeContextProperty(e)},e.prototype.clearContext=function(){this.contextManager.clearContext()},e.prototype.setHandler=function(e){this.handlerType=e},e.prototype.getHandler=function(){return this.handlerType},e.prototype.setLevel=function(e){this.level=e},e.prototype.getLevel=function(){return this.level},nj([t6],e.prototype,"logImplementation",null),e}();function nG(e){return function(t,r,n){var i;nF(e,nV,this)&&(i=rD()),this.logImplementation(t,r,e,n,i)}}function nW(){var e=rl().DatadogEventBridge;if(e)return{getCapabilities:function(){var t;return JSON.parse((null==(t=e.getCapabilities)?void 0:t.call(e))||"[]")},getPrivacyLevel:function(){var t;return null==(t=e.getPrivacyLevel)?void 0:t.call(e)},getAllowedWebViewHosts:function(){return JSON.parse(e.getAllowedWebViewHosts())},send:function(t,r,n){e.send(JSON.stringify({eventType:t,event:r,view:n?{id:n}:void 0}))}}}function nq(e){var t=nW();return!!t&&t9(t.getCapabilities(),e)}function nJ(e){void 0===e&&(e=null==(t=rl().location)?void 0:t.hostname);var t,r=nW();return!!r&&r.getAllowedWebViewHosts().some(function(t){var r,n;return e===t||(r=e,n=".".concat(t),r.slice(-n.length)===n)})}function nY(e,t,r,n){var i=(void 0===n?{}:n).computeHandlingStack,o=e[t];if("function"!=typeof o)if(!(t in e&&ri(t,"on")))return{stop:ry};else o=ry;var s=!1,a=function(){if(s)return o.apply(this,arguments);var e,t=re(arguments);t8(r,null,[{target:this,parameters:t,onPostCall:function(t){e=t},handlingStack:i?rD():void 0}]);var n=o.apply(this,t);return e&&t8(e,null,[n]),n};return e[t]=a,{stop:function(){s=!0,e[t]===a&&(e[t]=o)}}}function nK(e,t,r){var n=Object.getOwnPropertyDescriptor(e,t);if(!n||!n.set||!n.configurable)return{stop:ry};var i=function(e,t){rf(function(){i!==ry&&r(e,t)},0)},o=function(e){n.set.call(this,e),i(this,e)};
1return Object.defineProperty(e,t,{set:o}),{stop:function(){var r;(null==(r=Object.getOwnPropertyDescriptor(e,t))?void 0:r.set)===o&&Object.defineProperty(e,t,n),i=ry}}}function nX(e){return nQ(e,location.href).href}function nQ(e,t){var r=function(){if(void 0===I)try{var e=new nZ("http://test/path");I="http://test/path"===e.href}catch(e){I=!1}return I?nZ:void 0}();if(r)try{return void 0!==t?new r(e,t):new r(e)}catch(r){throw Error("Failed to construct URL: ".concat(String(r)," ").concat(rv({url:e,base:t})))}if(void 0===t&&!/:/.test(e))throw Error("Invalid URL: '".concat(e,"'"));var n=document,i=n.createElement("a");if(void 0!==t){var o=(n=document.implementation.createHTMLDocument("")).createElement("base");o.href=t,n.head.appendChild(o),n.body.appendChild(i)}return i.href=e,i}nH.prototype.ok=nG(nU.ok),nH.prototype.debug=nG(nU.debug),nH.prototype.info=nG(nU.info),nH.prototype.notice=nG(nU.notice),nH.prototype.warn=nG(nU.warn),nH.prototype.error=nG(nU.error),nH.prototype.critical=nG(nU.critical),nH.prototype.alert=nG(nU.alert),nH.prototype.emerg=nG(nU.emerg);var nZ=URL;function n0(){return T||(T=new rX(function(e){if(window.fetch)return nY(window,"fetch",function(t){var r,n,i,o,s,a,l,c,u,d,f;return r=t,n=e,i=r.parameters,o=r.onPostCall,s=r.handlingStack,a=i[0],void 0===(c=(l=i[1])&&l.method)&&a instanceof Request&&(c=a.method),u=void 0!==c?String(c).toUpperCase():"GET",d=a instanceof Request?a.url:nX(String(a)),f={state:"start",init:l,input:a,method:u,startClocks:r7(),url:d,handlingStack:s},void(n.notify(f),i[0]=f.input,i[1]=f.init,o(function(e){var t=n,r=e,i=f;function o(e){i.state="resolve",ro(i,e),t.notify(i)}r.then(t5(function(e){o({response:e,responseType:e.type,status:e.status,isAborted:!1})}),t5(function(e){var t,r;o({status:0,isAborted:(null==(r=null==(t=i.init)?void 0:t.signal)?void 0:r.aborted)||e instanceof DOMException&&e.code===DOMException.ABORT_ERR,error:e})}))}))},{computeHandlingStack:!0}).stop})),T}function n1(e){return e?(parseInt(e,10)^16*Math.random()>>parseInt(e,10)/4).toString(16):"".concat(1e7,"-").concat(1e3,"-").concat(4e3,"-").concat(8e3,"-").concat(1e11).replace(/[018]/g,n1)}var n4=/([\w-]+)\s*=\s*([^;]+)/g;function n2(e,t){for(n4.lastIndex=0;;){var r=n4.exec(e);if(r){if(r[1]===t)return r[2]}else break}}function n3(e,t,r){void 0===r&&(r="");var n=e.charCodeAt(t-1),i=n>=55296&&n<=56319?t+1:t;return e.length<=i?e:"".concat(e.slice(0,i)).concat(r)}function n6(){var e,t,r;return null!=A?A:(void 0===e&&(e=window),r=e.navigator.userAgent,A=e.chrome||/HeadlessChrome/.test(r)?1:(null==(t=e.navigator.vendor)?void 0:t.indexOf("Apple"))===0||/safari/i.test(r)&&!/chrome|android/i.test(r)?2:3*!e.document.documentMode)}function n5(e,t,r,n){void 0===r&&(r=0);var i=new Date;i.setTime(i.getTime()+r);var o="expires=".concat(i.toUTCString()),s=n&&n.crossSite?"none":"strict",a=n&&n.domain?";domain=".concat(n.domain):"",l=n&&n.secure?";secure":"",c=n&&n.partitioned?";partitioned":"";document.cookie="".concat(e,"=").concat(t,";").concat(o,";path=/;samesite=").concat(s).concat(a).concat(l).concat(c)}function n8(e){return n2(document.cookie,e)}function n7(e){return M||(M=function(e){var t=new Map;for(n4.lastIndex=0;;){var r=n4.exec(e);if(r)t.set(r[1],r[2]);else break}return t}(document.cookie)),M.get(e)}var n9="_dd_s",ie=144e5,it=9e5,ir="cookie",ii="local-storage",io=/^([a-zA-Z]+)=([a-z0-9-]+)$/;function is(e){var t={isExpired:"1"};return rq(C.ANONYMOUS_USER_TRACKING)&&((null==e?void 0:e.anonymousId)?t.anonymousId=null==e?void 0:e.anonymousId:t.anonymousId=Math.floor(0x20000000000000*Math.random()).toString(36)),t}function ia(e){var t;return void 0!==e.isExpired||!((void 0===(t=e).created||r6()-Number(t.created)<ie)&&(void 0===t.expire||r6()<Number(t.expire)))}function il(e){e.expire=String(r6()+it)}function ic(e){return rn(e).map(function(e){var t=e[0],r=e[1];return"anonymousId"===t?"aid=".concat(r):"".concat(t,"=").concat(r)}).join("&")}function iu(e){var t={};return e&&(-1!==e.indexOf("&")||io.test(e))&&e.split("&").forEach(function(e){var r=io.exec(e);if(null!==r){var n=r[1],i=r[2];"aid"===n?t.anonymousId=i:t[n]=i}}),t}function id(e){var t,r,n=((r={}).secure=!!(t=e).useSecureSessionCookie||!!t.usePartitionedCrossSiteSessionCookie||!!t.useCrossSiteSessionCookie,r.crossSite=!!t.usePartitionedCrossSiteSessionCookie||!!t.useCrossSiteSessionCookie,r.partitioned=!!t.usePartitionedCrossSiteSessionCookie,t.trackSessionAcrossSubdomains&&(r.domain=function(){if(void 0===O){for(var e="dd_site_test_".concat(n1()),t=window.location.hostname.split("."),r=t.pop();t.length&&!n8(e);)n5(e,"test",1e3,{domain:r="".concat(t.pop(),".").concat(r)});n5(e,"",0,{domain:r}),O=r}return O}()),r);return!function(e){if(void 0===document.cookie||null===document.cookie)return!1;try{var t="dd_cookie_test_".concat(n1()),r="test";n5(t,r,6e4,e);var n=n8(t)===r;return n5(t,"",0,e),n}catch(e){return tX.error(e),!1}}(n)?void 0:{type:ir,cookieOptions:n}}function ih(){return iu(n8(n9))}function ip(){try{var e=n1(),t="".concat("_dd_test_").concat(e);localStorage.setItem(t,e);var r=localStorage.getItem(t);return localStorage.removeItem(t),e===r?{type:ii}:void 0}catch(e){return}}function im(e){localStorage.setItem(n9,ic(e))}function ig(){return iu(localStorage.getItem(n9))}function iy(e){im(is(e))}var iv=[];function iw(e,t,r){void 0===r&&(r=0);var n,i,o=t.isLockEnabled,s=t.persistSession,a=t.expireSession,l=function(e){return s(ro({},e,{lock:i}))},c=function(){var e=t.retrieveSession(),r=e.lock;return e.lock&&delete e.lock,{session:e,lock:r}};if(R||(R=e),e!==R)return void iv.push(e);if(o&&r>=100)return void i_(t);var u=c();if(o&&(u.lock||(i=n1(),l(u.session),(u=c()).lock!==i)))return void ib(e,t,r);var d=e.process(u.session);if(o&&(u=c()).lock!==i)return void ib(e,t,r);if(d&&(ia(d)?a(d):(il(d),o?l(d):s(d))),o&&!(d&&ia(d))){if((u=c()).lock!==i)return void ib(e,t,r);s(u.session),d=u.session}null==(n=e.after)||n.call(e,d||u.session),i_(t)}function ib(e,t,r){rf(function(){iw(e,t,r+1)},10)}function i_(e){R=void 0;var t=iv.shift();t&&iw(t,e)}function iS(e,t,r){var n=function(e,t){var r="/api/v2/".concat(t),n=e.proxy;if("string"==typeof n){var i=nX(n);return function(e){return"".concat(i,"?ddforward=").concat(encodeURIComponent("".concat(r,"?").concat(e)))}}if("function"==typeof n)return function(e){return n({path:r,parameters:e})};var o=function(e,t){var r=t.site,n=void 0===r?rY:r,i=t.internalAnalyticsSubdomain;if("logs"===e&&t.usePciIntake&&n===rY)return"pci.browser-intake-datadoghq.com";if(i&&n===rY)return"".concat(i,".").concat(rY);if("dd0g-gov.com"===n)return"http-intake.logs.".concat(n);var o=n.split("."),s=o.pop();return"browser-intake-".concat(o.join("-"),".").concat(s)}(t,e);return function(e){return"https://".concat(o).concat(r,"?").concat(e)}}(e,t);return{build:function(i,o){var s,a,l,c,u,d,f,h,p,m,g;return n((s=e,a=t,l=r,c=i,u=o,d=s.clientToken,f=s.internalAnalyticsSubdomain,h=u.retry,p=u.encoding,m=["sdk_version:".concat("5.35.1"),"api:".concat(c)].concat(l),h&&m.push("retry_count:".concat(h.count),"retry_after:".concat(h.lastFailureStatus)),g=["ddsource=browser","ddtags=".concat(encodeURIComponent(m.join(","))),"dd-api-key=".concat(d),"dd-evp-origin-version=".concat(encodeURIComponent("5.35.1")),"dd-evp-origin=browser","dd-request-id=".concat(n1())],p&&g.push("dd-evp-encoding=".concat(p)),"rum"===a&&g.push("batch_time=".concat(r5())),f&&g.reverse(),g.join("&")))},urlPrefix:n(""),trackType:t}}function iE(e,t){var r,n=200-e.length-1;(t.length>n||(r=t,function(){try{return RegExp("[\\p{Ll}]","u"),!0}catch(e){return!1}}()&&RegExp("[^\\p{Ll}\\p{Lo}0-9_:./-]","u").test(r)))&&tX.warn("".concat(e," value doesn't meet tag requirements and will be sanitized. ").concat(t0," ").concat(tQ,"/getting_started/tagging/#defining-tags"));var i=t.replace(/,/g,"_");return"".concat(e,":").concat(i)}function iC(e){return rK.every(function(t){return t9(e,t)})}var ix={ALLOW:"allow",MASK:"mask",MASK_USER_INPUT:"mask-user-input"},ik={ALL:"all",SAMPLED:"sampled"};function iI(e,t){return null==e||"string"==typeof e||(tX.error("".concat(t," must be defined as a string")),!1)}function iT(e,t){return void 0===e||!!(r1(e)&&e>=0&&e<=100)||(tX.error("".concat(t," Sample Rate should be a number between 0 and 100")),!1)}function iA(e){var t,r,n,i,o,s,a,l,c,u,d,f,h,p,m,g;if(!e||!e.clientToken)return void tX.error("Client Token is not configured, we will not send any data.");
1if((!(s=e.site)||"string"!=typeof s||/(datadog|ddog|datad0g|dd0g)/.test(s)||(tX.error("Site should be a valid Datadog site. ".concat(t0," ").concat(tQ,"/getting_started/site/.")),0))&&iT(e.sessionSampleRate,"Session")&&iT(e.telemetrySampleRate,"Telemetry")&&iT(e.telemetryConfigurationSampleRate,"Telemetry Configuration")&&iT(e.telemetryUsageSampleRate,"Telemetry Usage")&&iI(e.version,"Version")&&iI(e.env,"Env")&&iI(e.service,"Service")){if(void 0!==e.trackingConsent&&!r$(nM,e.trackingConsent))return void tX.error('Tracking Consent should be either "granted" or "not-granted"');return ro({beforeSend:e.beforeSend&&t1(e.beforeSend,"beforeSend threw an error:"),sessionStoreStrategyType:function(e){switch(e.sessionPersistence){case ir:return id(e);case ii:return ip();case void 0:var t=id(e);return!t&&e.allowFallbackToLocalStorage&&(t=ip()),t;default:tX.error("Invalid session persistence '".concat(String(e.sessionPersistence),"'"))}}(e),sessionSampleRate:null!=(t=e.sessionSampleRate)?t:100,telemetrySampleRate:null!=(r=e.telemetrySampleRate)?r:20,telemetryConfigurationSampleRate:null!=(n=e.telemetryConfigurationSampleRate)?n:5,telemetryUsageSampleRate:null!=(i=e.telemetryUsageSampleRate)?i:5,service:e.service||void 0,silentMultipleInit:!!e.silentMultipleInit,allowUntrustedEvents:!!e.allowUntrustedEvents,trackingConsent:null!=(o=e.trackingConsent)?o:nM.GRANTED,storeContextsAcrossPages:!!e.storeContextsAcrossPages,batchBytesLimit:16384,eventRateLimiterThreshold:3e3,maxTelemetryEventsPerPage:15,flushTimeout:3e4,batchMessagesLimit:50,messageBytesLimit:262144},(a=e.site||rY,l=e.env,c=e.service,u=e.version,d=e.datacenter,f=[],l&&f.push(iE("env",l)),c&&f.push(iE("service",c)),u&&f.push(iE("version",u)),d&&f.push(iE("datacenter",d)),h=f,p={logsEndpointBuilder:iS(m=e,"logs",g=h),rumEndpointBuilder:iS(m,"rum",g),sessionReplayEndpointBuilder:iS(m,"replay",g)},ro({replica:function(e,t){if(e.replica){var r=ro({},e,{site:rY,clientToken:e.replica.clientToken}),n={logsEndpointBuilder:iS(r,"logs",t),rumEndpointBuilder:iS(r,"rum",t)};return ro({applicationId:e.replica.applicationId},n)}}(e,h),site:a},p)))}}function iM(e){return{session_sample_rate:e.sessionSampleRate,telemetry_sample_rate:e.telemetrySampleRate,telemetry_configuration_sample_rate:e.telemetryConfigurationSampleRate,telemetry_usage_sample_rate:e.telemetryUsageSampleRate,use_before_send:!!e.beforeSend,use_cross_site_session_cookie:e.useCrossSiteSessionCookie,use_partitioned_cross_site_session_cookie:e.usePartitionedCrossSiteSessionCookie,use_secure_session_cookie:e.useSecureSessionCookie,use_proxy:!!e.proxy,silent_multiple_init:e.silentMultipleInit,track_session_across_subdomains:e.trackSessionAcrossSubdomains,session_persistence:e.sessionPersistence,allow_fallback_to_local_storage:!!e.allowFallbackToLocalStorage,store_contexts_across_pages:!!e.storeContextsAcrossPages,allow_untrusted_events:!!e.allowUntrustedEvents,tracking_consent:e.trackingConsent}}var iO={intervention:"intervention",deprecation:"deprecation",cspViolation:"csp_violation"};function iR(e,t){var r,n,i=[];t9(t,iO.cspViolation)&&i.push((r=e,new rX(function(e){return nx(r,document,"securitypolicyviolation",function(t){var r,n;e.notify((r=t,n="'".concat(r.blockedURI,"' blocked by '").concat(r.effectiveDirective,"' directive"),iP({type:r.effectiveDirective,message:"".concat(iO.cspViolation,": ").concat(n),originalError:r,csp:{disposition:r.disposition},stack:iD(r.effectiveDirective,r.originalPolicy?"".concat(n,' of the policy "').concat(n3(r.originalPolicy,100,"..."),'"'):"no policy",r.sourceFile,r.lineNumber,r.columnNumber)})))}).stop})));var o=t.filter(function(e){return e!==iO.cspViolation});return o.length&&i.push((n=o,new rX(function(e){if(window.ReportingObserver){var t=t5(function(t,r){return t.forEach(function(t){var r,n,i;return e.notify((n=(r=t).type,iP({type:(i=r.body).id,message:"".concat(n,": ").concat(i.message),originalError:r,stack:iD(i.id,i.message,i.sourceFile,i.lineNumber,i.columnNumber)})))})}),r=new window.ReportingObserver(t,{types:n,buffered:!0});return r.observe(),function(){r.disconnect()}}}))),rQ.apply(void 0,i)}function iP(e){return ro({startClocks:r7(),source:nL,handling:"unhandled"},e)}function iD(e,t,r,n,i){return r?rN({name:e,message:t,stack:[{func:"?",url:r,line:null!=n?n:void 0,column:null!=i?i:void 0}]}):void 0}function iN(e,t,r){var n;return void 0===e?[]:"all"===e||Array.isArray(e)&&e.every(function(e){return t9(t,e)})?"all"===e?t:(n=new Set,e.forEach(function(e){return n.add(e)}),re(n)):void tX.error("".concat(r,' should be "all" or an array with allowed values "').concat(t.join('", "'),'"'))}var iL="logs",iF={HIDDEN:"visibility_hidden",UNLOADING:"before_unload",PAGEHIDE:"page_hide",FROZEN:"page_frozen"};function iU(e){return new rX(function(t){var r=nk(e,window,["visibilitychange","freeze"],function(e){"visibilitychange"===e.type&&"hidden"===document.visibilityState?t.notify({reason:iF.HIDDEN}):"freeze"===e.type&&t.notify({reason:iF.FROZEN})},{capture:!0}).stop,n=nx(e,window,"beforeunload",function(){t.notify({reason:iF.UNLOADING})}).stop;return function(){r(),n()}})}function iz(){return!!(window._DATADOG_SYNTHETICS_INJECTS_RUM||n7("datadog-synthetics-injects-rum"))}function iB(){var e=window._DATADOG_SYNTHETICS_PUBLIC_ID||n7("datadog-synthetics-public-id");return"string"==typeof e?e:void 0}function ij(){var e=window._DATADOG_SYNTHETICS_RESULT_ID||n7("datadog-synthetics-result-id");return"string"==typeof e?e:void 0}var iV=1/0;function i$(e){var t=e.expireDelay,r=e.maxEntries,n=[],i=rp(function(){for(var e=r8()-t;n.length>0&&n[n.length-1].endTime<e;)n.pop()},6e4);return{add:function(e,t){var i={value:e,startTime:t,endTime:iV,remove:function(){na(n,i)},close:function(e){i.endTime=e}};return r&&n.length>=r&&n.pop(),n.unshift(i),i},find:function(e,t){void 0===e&&(e=iV),void 0===t&&(t={returnInactive:!1});for(var r=0,i=n;r<i.length;r++){var o=i[r];if(o.startTime<=e){if(t.returnInactive||e<=o.endTime)return o.value;break}}},closeActive:function(e){var t=n[0];t&&t.endTime===iV&&t.close(e)},findAll:function(e,t){void 0===e&&(e=iV),void 0===t&&(t=0);var r=e+t;return n.filter(function(t){return t.startTime<=r&&e<=t.endTime}).map(function(e){return e.value})},reset:function(){n=[]},stop:function(){rm(i)}}}var iH=[];function iG(e,t,r,n){var i,o,s,a,l,c,u,d=new rX,f=new rX,h=function(e,t,r){var n,i=new rX,o=new rX,s=new rX,a=e.type===ir?function(e){var t,r={isLockEnabled:1===n6(),persistSession:(t=e,function(e){n5(n9,ic(e),it,t)}),retrieveSession:ih,expireSession:function(t){var r;return r=e,void n5(n9,ic(is(t)),rq(C.ANONYMOUS_USER_TRACKING)?r4:ie,r)}};if(!n7(n9)){var n=n7("_dd"),i=n7("_dd_r"),o=n7("_dd_l"),s={};n&&(s.id=n),o&&/^[01]$/.test(o)&&(s.logs=o),i&&/^[012]$/.test(i)&&(s.rum=i),rH(s)||(il(s),r.persistSession(s))}return r}(e.cookieOptions):{isLockEnabled:!1,persistSession:im,retrieveSession:ig,expireSession:iy},l=a.expireSession,c=rp(function(){iw({process:function(e){return ia(e)?is(e):void 0},after:h},a)},1e3);p();var u=rg(function(){iw({process:function(e){if(!rH(e)){var n=h(e);return function(e){if(!rH(e)){var n=r(e[t]),i=n.trackingType,o=n.isTracked;e[t]=i,delete e.isExpired,o&&!e.id&&(e.id=n1(),e.created=String(r6()))}}(n),n}},after:function(e){rH(e)||m()||(n=e,i.notify()),n=e}},a)},1e3),d=u.throttled,f=u.cancel;function h(e){var r;
1return ia(e)&&(e=is(e)),m()&&((r=e,n.id!==r.id||n[t]!==r[t])?(n=is(n),o.notify()):(s.notify({previousState:n,newState:e}),n=e)),e}function p(){iw({process:function(e){if(rH(e))return is(e)},after:function(e){n=e}},a)}function m(){return void 0!==n[t]}return{expandOrRenewSession:d,expandSession:function(){iw({process:function(e){return m()?h(e):void 0}},a)},getSession:function(){return n},renewObservable:i,expireObservable:o,sessionStateUpdateObservable:s,restartSession:p,expire:function(){f(),l(n),h(is(n))},stop:function(){rm(c)},updateSessionState:function(e){iw({process:function(t){return ro({},t,e)},after:h},a)}}}(e.sessionStoreStrategyType,t,r);iH.push(function(){return h.stop()});var p=i$({expireDelay:ie});function m(){return{id:h.getSession().id,trackingType:h.getSession()[t],isReplayForced:!!h.getSession().forcedReplay,anonymousId:h.getSession().anonymousId}}return iH.push(function(){return p.stop()}),h.renewObservable.subscribe(function(){p.add(m(),r8()),d.notify()}),h.expireObservable.subscribe(function(){f.notify(),p.closeActive(r8())}),h.expandOrRenewSession(),p.add(m(),r9().relative),n.observable.subscribe(function(){n.isGranted()?h.expandOrRenewSession():h.expire()}),i=nk(e,window,["click","touchstart","keydown","scroll"],function(){n.isGranted()&&h.expandOrRenewSession()},{capture:!0,passive:!0}).stop,iH.push(i),o=e,s=function(){return h.expandSession()},a=function(){"visible"===document.visibilityState&&s()},l=nx(o,document,"visibilitychange",a).stop,iH.push(l),c=rp(a,6e4),iH.push(function(){rm(c)}),u=nx(e,window,"resume",function(){return h.restartSession()},{capture:!0}).stop,iH.push(u),{findSession:function(e,t){return p.find(e,t)},renewObservable:d,expireObservable:f,sessionStateUpdateObservable:h.sessionStateUpdateObservable,expire:h.expire,updateSessionState:h.updateSessionState}}function iW(e){return rZ(e.sessionSampleRate)?"1":"0"}function iq(e,t,r){var n=0,i=!1;return{isLimitReached:function(){if(0===n&&rf(function(){n=0},6e4),(n+=1)<=t||i)return i=!1,!1;if(n===t+1){i=!0;try{r({message:"Reached max number of ".concat(e,"s by minute: ").concat(t),source:nR,startClocks:r7()})}finally{i=!1}}return!0}}}var iJ=!1;function iY(e){var t=window;if(iz()){var r=n(t.DD_RUM_SYNTHETICS);return r||iJ||(iJ=!0,ng("Logs sent before RUM is injected by the synthetics worker",{testId:iB(),resultId:ij()})),r}return n(t.DD_RUM);function n(t){if(t&&t.getInternalContext)return t.getInternalContext(e)}}var iK={};function iX(e){var t=e.map(function(e){var t;return iK[e]||(iK[e]=(t=e,new rX(function(e){var r=tJ[t];return tJ[t]=function(){for(var n=[],i=0;i<arguments.length;i++)n[i]=arguments[i];r.apply(console,n);var o=rD();t8(function(){e.notify(function(e,t,r){var n,i=e.map(function(e){var t;return"string"==typeof(t=e)?rb(t):rB(t)?rL(rE(t)):rv(rb(t),void 0,2)}).join(" ");if(t===tq.error){var o=rt(e,rB);n={stack:o?rN(rE(o)):void 0,fingerprint:rz(o),causes:o?rj(o,"console"):void 0,startClocks:r7(),message:i,source:nP,handling:"handled",handlingStack:r}}return{api:t,message:i,error:n,handlingStack:r}}(n,t,o))})},function(){tJ[t]=r}}))),iK[e]});return rQ.apply(void 0,t)}var iQ=((P={})[tq.log]=nU.info,P[tq.debug]=nU.debug,P[tq.info]=nU.info,P[tq.warn]=nU.warn,P[tq.error]=nU.error,P),iZ=new WeakMap;function i0(e){var t;return D||(t=e,D=new rX(function(e){var r=nY(XMLHttpRequest.prototype,"open",i1).stop,n=nY(XMLHttpRequest.prototype,"send",function(r){!function(e,t,r){var n=e.target,i=e.handlingStack,o=iZ.get(n);if(o){o.state="start",o.startClocks=r7(),o.isAborted=!1,o.xhr=n,o.handlingStack=i;var s=!1,a=nY(n,"onreadystatechange",function(){n.readyState===XMLHttpRequest.DONE&&l()}).stop,l=function(){if(c(),a(),!s){var e;s=!0,o.state="complete",e=o.startClocks.timeStamp,o.duration=r5()-e,o.status=n.status,r.notify(rV(o))}},c=nx(t,n,"loadend",l).stop;r.notify(o)}}(r,t,e)},{computeHandlingStack:!0}).stop,i=nY(XMLHttpRequest.prototype,"abort",i4).stop;return function(){r(),n(),i()}})),D}function i1(e){var t=e.target,r=e.parameters,n=r[0],i=r[1];iZ.set(t,{state:"open",method:String(n).toUpperCase(),url:nX(String(i))})}function i4(e){var t=e.target,r=iZ.get(t);r&&(r.isAborted=!0)}function i2(e,t,r){var n=e.getReader(),i=[],o=0;function s(){if(n.cancel().catch(ry),r.collectStreamBody){if(1===i.length)a=i[0];else{var e,s,a=new Uint8Array(o),l=0;
1i.forEach(function(e){a.set(e,l),l+=e.length})}e=a.slice(0,r.bytesLimit),s=a.length>r.bytesLimit}t(void 0,e,s)}!function e(){n.read().then(t5(function(t){t.done?s():(r.collectStreamBody&&i.push(t.value),(o+=t.value.length)>r.bytesLimit?s():e())}),t5(function(e){return t(e)}))}()}function i3(e){try{return e.clone()}catch(e){return}}function i6(e,t){return e.length>t.requestErrorResponseLengthLimit?"".concat(e.substring(0,t.requestErrorResponseLengthLimit),"..."):e}function i5(e){var t,r,n=function(t,r){var n=rU({stackTrace:t,originalError:r,startClocks:r7(),nonErrorPrefix:"Uncaught",source:nN,handling:"unhandled"});e.notify(n)},i=(t=n,nY(window,"onerror",function(e){var r,n,i,o,s,a,l=e.parameters,c=l[0],u=l[1],d=l[2],f=l[3],h=l[4];if(rB(h))a=rE(h);else{a={name:(r=c,"[object String]"===({}).toString.call(r)&&(i=(n=rP.exec(r))[1],o=n[2]),s={name:i,message:o}).name,message:s.message,stack:[{url:u,column:f,line:d}]}}t(a,null!=h?h:c)})).stop,o=(r=n,nY(window,"onunhandledrejection",function(e){var t=e.parameters[0].reason||"Empty reason";r(rE(t),t)})).stop;return{stop:function(){i(),o()}}}var i8=function(){function e(){this.callbacks={}}return e.prototype.notify=function(e,t){var r=this.callbacks[e];r&&r.forEach(function(e){return e(t)})},e.prototype.subscribe=function(e,t){var r=this;return this.callbacks[e]||(this.callbacks[e]=[]),this.callbacks[e].push(t),{unsubscribe:function(){r.callbacks[e]=r.callbacks[e].filter(function(e){return t!==e})}}},e}(),i7=((N={})[nU.ok]=tq.debug,N[nU.debug]=tq.debug,N[nU.info]=tq.info,N[nU.notice]=tq.info,N[nU.warn]=tq.warn,N[nU.error]=tq.error,N[nU.critical]=tq.error,N[nU.alert]=tq.error,N[nU.emerg]=tq.error,N);function i9(){var e="",t=0;return{isAsync:!1,get isEmpty(){return!e},write:function(r,n){var i=ru(r);t+=i,e+=r,n&&n(i)},finish:function(e){e(this.finishSync())},finishSync:function(){var r={output:e,outputBytesCount:t,rawBytesCount:t,pendingData:""};return e="",t=0,r},estimateEncodedBytesCount:function(e){return e.length}}}function oe(e){var t=e.encoder,r=e.request,n=e.flushController,i=e.messageBytesLimit,o={},s=n.flushObservable.subscribe(function(e){return function(e){var n,i=rr(o).join("\n");o={};var s=(n=e.reason,t9(rr(iF),n)),a=s?r.sendOnExit:r.send;if(s&&t.isAsync){var l=t.finishSync();l.outputBytesCount&&a(ot(l));var c=[l.pendingData,i].filter(Boolean).join("\n");c&&a({data:c,bytesCount:ru(c)})}else i&&t.write(t.isEmpty?i:"\n".concat(i)),t.finish(function(e){a(ot(e))})}(e)});function a(e,r){var s,a,l=rv(e),c=t.estimateEncodedBytesCount(l);c>=i?tX.warn("Discarded a message whose size was bigger than the maximum allowed size ".concat(i,"KB. ").concat(t0," ").concat(tZ,"/#technical-limitations")):(void 0!==r&&void 0!==o[r]&&(s=o[r],delete o[r],a=t.estimateEncodedBytesCount(s),n.notifyAfterRemoveMessage(a)),n.notifyBeforeAddMessage(c),void 0!==r?(o[r]=l,n.notifyAfterAddMessage()):t.write(t.isEmpty?l:"\n".concat(l),function(e){n.notifyAfterAddMessage(e-c)}))}return{flushController:n,add:a,upsert:a,stop:s.unsubscribe}}function ot(e){return{data:"string"==typeof e.output?e.output:new Blob([e.output],{type:"text/plain"}),bytesCount:e.outputBytesCount,encoding:e.encoding}}var or=3145728;function on(e,t,r,n,i){0===t.transportStatus&&0===t.queuedPayloads.size()&&t.bandwidthMonitor.canHandle(e)?oi(e,t,r,{onSuccess:function(){return oo(0,t,r,n,i)},onFailure:function(){t.queuedPayloads.enqueue(e),function e(t,r,n,i){2===t.transportStatus&&rf(function(){oi(t.queuedPayloads.first(),t,r,{onSuccess:function(){t.queuedPayloads.dequeue(),t.currentBackoffTime=1e3,oo(1,t,r,n,i)},onFailure:function(){t.currentBackoffTime=Math.min(6e4,2*t.currentBackoffTime),e(t,r,n,i)}})},t.currentBackoffTime)}(t,r,n,i)}}):t.queuedPayloads.enqueue(e)}function oi(e,t,r,n){var i=n.onSuccess,o=n.onFailure;t.bandwidthMonitor.add(e),r(e,function(r){var n;t.bandwidthMonitor.remove(e),"opaque"!==(n=r).type&&(0===n.status&&!navigator.onLine||408===n.status||429===n.status||n.status>=500)?(t.transportStatus=t.bandwidthMonitor.ongoingRequestCount>0?1:2,e.retry={count:e.retry?e.retry.count+1:1,lastFailureStatus:r.status},o()):(t.transportStatus=0,i())})}function oo(e,t,r,n,i){0===e&&t.queuedPayloads.isFull()&&!t.queueFullReported&&(i({message:"Reached max ".concat(n," events size queued for upload: ").concat(or/1048576,"MiB"),source:nR,startClocks:r7()}),t.queueFullReported=!0);var o=t.queuedPayloads;for(t.queuedPayloads=os();o.size()>0;)on(o.dequeue(),t,r,n,i)}function os(){var e=[];return{bytesCount:0,enqueue:function(t){this.isFull()||(e.push(t),this.bytesCount+=t.bytesCount)},first:function(){return e[0]},dequeue:function(){var t=e.shift();return t&&(this.bytesCount-=t.bytesCount),t},size:function(){return e.length},isFull:function(){return this.bytesCount>=or}}}function oa(e,t,r){var n={transportStatus:0,currentBackoffTime:1e3,bandwidthMonitor:{ongoingRequestCount:0,ongoingByteCount:0,canHandle:function(e){return 0===this.ongoingRequestCount||this.ongoingByteCount+e.bytesCount<=81920&&this.ongoingRequestCount<32},add:function(e){this.ongoingRequestCount+=1,this.ongoingByteCount+=e.bytesCount},remove:function(e){this.ongoingRequestCount-=1,this.ongoingByteCount-=e.bytesCount}},queuedPayloads:os(),queueFullReported:!1},i=function(r,n){var i,o,s,a;return i=e,o=t,s=r,a=n,void(function(){try{return window.Request&&"keepalive"in new Request
1("http://a")}catch(e){return!1}}()&&s.bytesCount<o?fetch(i.build("fetch",s),{method:"POST",body:s.data,keepalive:!0,mode:"cors"}).then(t5(function(e){return null==a?void 0:a({status:e.status,type:e.type})}),t5(function(){oc(i.build("xhr",s),s.data,a)})):oc(i.build("xhr",s),s.data,a))};return{send:function(t){on(t,n,i,e.trackType,r)},sendOnExit:function(r){!function(e,t,r){if(navigator.sendBeacon&&r.bytesCount<t)try{var n,i=e.build("beacon",r);if(navigator.sendBeacon(i,r.data))return}catch(e){n=e,ol||(ol=!0,ny(n))}oc(e.build("xhr",r),r.data)}(e,t,r)}}}var ol=!1;function oc(e,t,r){var n=new XMLHttpRequest;n.open("POST",e,!0),t instanceof Blob&&n.setRequestHeader("Content-Type",t.type),nx({allowUntrustedEvents:!0},n,"loadend",function(){null==r||r({status:n.status})},{once:!0}),n.send(t)}function ou(e,t,r,n,i,o,s){void 0===s&&(s=oe);var a=c(e,t),l=r&&c(e,r);function c(e,t){var r=t.endpoint,a=t.encoder;return s({encoder:a,request:oa(r,e.batchBytesLimit,n),flushController:function(e){var t,r=e.messagesLimit,n=e.bytesLimit,i=e.durationLimit,o=e.pageExitObservable,s=e.sessionExpireObservable,a=o.subscribe(function(e){return f(e.reason)}),l=s.subscribe(function(){return f("session_expire")}),c=new rX(function(){return function(){a.unsubscribe(),l.unsubscribe()}}),u=0,d=0;function f(e){if(0!==d){var t=d,r=u;d=0,u=0,h(),c.notify({reason:e,messagesCount:t,bytesCount:r})}}function h(){rh(t),t=void 0}return{flushObservable:c,get messagesCount(){return d},notifyBeforeAddMessage:function(e){u+e>=n&&f("bytes_limit"),d+=1,u+=e,void 0===t&&(t=rf(function(){f("duration_limit")},i))},notifyAfterAddMessage:function(e){void 0===e&&(e=0),u+=e,d>=r?f("messages_limit"):u>=n&&f("bytes_limit")},notifyAfterRemoveMessage:function(e){u-=e,0==(d-=1)&&h()}}}({messagesLimit:e.batchMessagesLimit,bytesLimit:e.batchBytesLimit,durationLimit:e.flushTimeout,pageExitObservable:i,sessionExpireObservable:o}),messageBytesLimit:e.messageBytesLimit})}return{flushObservable:a.flushController.flushObservable,add:function(e,t){void 0===t&&(t=!0),a.add(e),l&&t&&l.add(r.transformMessage?r.transformMessage(e):e)},upsert:function(e,t){a.upsert(e,t),l&&l.upsert(r.transformMessage?r.transformMessage(e):e,t)},stop:function(){a.stop(),l&&l.stop()}}}var od=function(e){var t=nE(),r=nb(t.getOrCreateTracker(2)),n=nb(t.getOrCreateTracker(1)),i=nO();function o(){return{view:{referrer:document.referrer,url:window.location.href},context:r.getContext(),user:n.getContext()}}var s=function(e,t,r){var n,i,o=nl(),s=t.observable.subscribe(a);function a(){if(i&&n&&t.isGranted()){s.unsubscribe();var e=r(n,i);o.drain(e)}}return{init:function(e){if(!e)return void tX.error("Missing configuration");if(rW(e.enableExperimentalFeatures),nJ()&&(e=ro({},e,{clientToken:"empty"})),n=e,i)return void nA("DD_LOGS",e);var r=function(e){!0===e.usePciIntake&&e.site&&"datadoghq.com"!==e.site&&tX.warn("PCI compliance for Logs is only available for Datadog organizations in the US1 site. Default intake will be used.");var t=iA(e),r=iN(e.forwardConsoleLogs,rr(tq),"Forward Console Logs"),n=iN(e.forwardReports,rr(iO),"Forward Reports");if(t&&r&&n)return e.forwardErrorsToLogs&&!t9(r,tq.error)&&r.push(tq.error),ro({forwardErrorsToLogs:!1!==e.forwardErrorsToLogs,forwardConsoleLogs:r,forwardReports:n,requestErrorResponseLengthLimit:32768,sendLogsAfterSessionExpiration:!!e.sendLogsAfterSessionExpiration},t)}(e);r&&(i=r,n0().subscribe(ry),t.tryToInit(r.trackingConsent),a())},get initConfiguration(){return n},getInternalContext:ry,handleLog:function(t,r,n,i,s){void 0===i&&(i=e()),void 0===s&&(s=r5()),o.add(function(e){return e.handleLog(t,r,n,i,s)})}}}(o,i,function(t,a){t.storeContextsAcrossPages&&(nT(a,r,iL,2),nT(a,n,iL,1));var l=e(t,a,o,i);return s=ro({init:function(e){nA("DD_LOGS",e)},initConfiguration:t},l),l}),a={};return rs({logger:new nH(function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return s.handleLog.apply(s,e)},t.createDetachedTracker()),init:t5(function(e){return s.init(e)}),setTrackingConsent:t5(function(e){i.update(e),nw({feature:"set-tracking-consent",tracking_consent:e})}),getGlobalContext:t5(function(){return r.getContext()}),setGlobalContext:t5(function(e){return r.setContext(e)}
1),setGlobalContextProperty:t5(function(e,t){return r.setContextProperty(e,t)}),removeGlobalContextProperty:t5(function(e){return r.removeContextProperty(e)}),clearGlobalContext:t5(function(){return r.clearContext()}),createLogger:t5(function(e,r){return void 0===r&&(r={}),a[e]=new nH(function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return s.handleLog.apply(s,e)},t.createDetachedTracker(),rb(e),r.handler,r.level,rb(r.context)),a[e]}),getLogger:t5(function(e){return a[e]}),getInitConfiguration:t5(function(){return ni(s.initConfiguration)}),getInternalContext:t5(function(e){return s.getInternalContext(e)}),setUser:t5(function(e){nS(e)&&n.setContext(n_(e))}),getUser:t5(function(){return n.getContext()}),setUserProperty:t5(function(e,t){var r,i=n_(((r={})[e]=t,r))[e];n.setContextProperty(e,i)}),removeUserProperty:t5(function(e){return n.removeContextProperty(e)}),clearUser:t5(function(){return n.clearContext()})})}(function(e,t,r,n){var i=new i8,o=[];i.subscribe(1,function(e){return nt("logs",e)});var s=function(e){i.notify(0,{rawLogsEvent:{message:e.message,date:e.startClocks.timeStamp,origin:nR,status:nU.error}}),ng("Error reported to customer",{"error.message":e.message})},a=iU(t),l=!t.sessionStoreStrategyType||nJ()||iz()?(d="1"===iW(t)?{}:void 0,{findTrackedSession:function(){return d},expireObservable:new rX}):{findTrackedSession:function(e,t){void 0===t&&(t={returnInactive:!1});var r=f.findSession(e,t);return r&&"1"===r.trackingType?{id:r.id}:void 0},expireObservable:(f=iG(t,"logs",function(e){var r,n,i,o;return r=t,{trackingType:o="0"===(i=n=e)||"1"===i?n:iW(r),isTracked:"1"===o}},n)).expireObservable},c=function(e,t,r,n,i){var o,s=nm("browser-logs-sdk",t);s.setContextProvider(function(){var e,t,r,n,o,s;return{application:{id:null==(e=iY())?void 0:e.application_id},session:{id:null==(t=i.findTrackedSession())?void 0:t.id},view:{id:null==(n=null==(r=iY())?void 0:r.view)?void 0:n.id},action:{id:null==(s=null==(o=iY())?void 0:o.user_action)?void 0:s.id}}});var a=[];if(nJ()){var l=nW(),c=s.observable.subscribe(function(e){return l.send("internal_telemetry",e)});a.push(function(){return c.unsubscribe()})}else{var u=ou(t,{endpoint:t.rumEndpointBuilder,encoder:i9()},t.replica&&{endpoint:t.replica.rumEndpointBuilder,encoder:i9()},r,n,i.expireObservable);a.push(function(){return u.stop()});var d=s.observable.subscribe(function(e){return u.add(e,t.site===rJ)});a.push(function(){return d.unsubscribe()})}return nh.drain(),nv((o=iM(e),ro({forward_errors_to_logs:e.forwardErrorsToLogs,forward_console_logs:e.forwardConsoleLogs,forward_reports:e.forwardReports,use_pci_intake:e.usePciIntake,send_logs_after_session_expiration:e.sendLogsAfterSessionExpiration},o))),{telemetry:s,stop:function(){a.forEach(function(e){return e()})}}}(e,t,s,a,l).stop;o.push(function(){return c()}),function(e,t){if(e.forwardErrorsToLogs)i0(e).subscribe(function(e){"complete"===e.state&&r("xhr",e)}),n0().subscribe(function(e){"resolve"===e.state&&r("fetch",e)});function r(r,n){var i,o,s,a,l,c,u,d,f,h,p,m;function g(e){var i={isAborted:n.isAborted,handlingStack:n.handlingStack};t.notify(0,{rawLogsEvent:{message:"".concat("xhr"===r?"XHR":"Fetch"," error ").concat(n.method," ").concat(n.url),date:n.startClocks.timeStamp,error:{stack:e||"Failed to load",handling:void 0},http:{method:n.method,status_code:n.status,url:n.url},status:nU.error,origin:"network"},domainContext:i})}!iC(n.url)&&(0===(i=n).status&&"opaque"!==i.responseType||n.status>=500)&&("xhr"in n?(o=n.xhr,s=e,g("string"==typeof o.response?i6(o.response,s):o.response)):n.response?(a=n.response,l=e,c=g,(u=i3(a))&&u.body?window.TextDecoder?(d=u.body,f=l.requestErrorResponseLengthLimit,h=function(e,t){e?c("Unable to retrieve response: ".concat(e)):c(t)},i2(d,function(e,t,r){if(e)h(e);else{var n=new TextDecoder().decode(t);r&&(n+="..."),h(void 0,n)}},{bytesLimit:f,collectStreamBody:!0})):u.text().then(t5(function(e){return c(i6(e,l))}),t5(function(e){return c("Unable to retrieve response: ".concat(e))})):c()):n.error&&(p=n.error,m=e,g(i6(rN(rE(p)),m))))}}(t,i),function(e,t){if(e.forwardErrorsToLogs){var r=new rX;i5(r).stop,r.subscribe(function(e){t.notify(0,{rawLogsEvent:{message:e.message,date:e.startClocks.timeStamp,error:nB(e),origin:nN,status:nU.error}})})}}(t,i),iX(t.forwardConsoleLogs).subscribe(function(e){var t={rawLogsEvent:{date:r5(),message:e.message,origin:nP,error:e.error&&nB(e.error),status:iQ[e.api]},domainContext:{handlingStack:e.handlingStack}};i.notify(0,t)}),iR(t,t.forwardReports).subscribe(function(e){var t,r,n,o=e.message,s="deprecation"===e.originalError.type?nU.warn:nU.error;s===nU.error?n=nB(e):e.stack&&(o+=" Found in ".concat((t=e.stack,null==(r=/@ (.+)/.exec(t))?void 0:r[1]))),i.notify(0,{rawLogsEvent:{date:r5(),message:o,origin:nL,error:n,status:s}})});var u={handleLog:function(e,t,r,n,o){var s,a,l,c,u=no(t.getContext(),e.context);if(nF(e.status,"console",t)&&(s=e,a=u,l=s.status,c=s.message,tY[i7[l]].call(tJ,c,a)),nF(e.status,nV,t)){var d={rawLogsEvent:{date:o||r5(),message:e.message,status:e.status,origin:nD},messageContext:u,savedCommonContext:n};r&&(d.domainContext={handlingStack:r}),i.notify(0,d)}}}.handleLog;if(h=n$.concat(["custom"]),p={},h.forEach(function(e){p[e]=iq(e,t.eventRateLimiterThreshold,s)}),i.subscribe(0,function(e){var n,o,s=e.rawLogsEvent,a=e.messageContext,c=e.savedCommonContext,u=e.domainContext,d=s.date-ne(),f=l.findTrackedSession(d);if(f||t.sendLogsAfterSessionExpiration&&l.findTrackedSession(d,{returnInactive:!0})){var h=(void 0===c?void 0:c)||r(),m=no({service:t.service,session_id:f?f.id:void 0,session:f?{id:f.id}:void 0,usr:rH(h.user)?void 0:h.user,view:h.view},h.context,iY(d),s,void 0===a?void 0:a);(null==(n=t.beforeSend)?void 0:n.call(t,m,u))===!1||m.origin!==nR&&(null!=(o=p[m.status])?o:p.custom).isLimitReached()||i.notify(1,m)}}),nJ())m=nW(),i.subscribe(1,function(e){m.send("log",e)});else{var d,f,h,p,m,g,y=(g=ou(t,{endpoint:t.logsEndpointBuilder,encoder:i9()},t.replica&&{endpoint:t.replica.logsEndpointBuilder,encoder:i9()},s,a,l.expireObservable),i.subscribe(1,function(e){g.add(e)}),g).stop;o.push(function(){return y()})}return{handleLog:u,getInternalContext:({get:function(e){var t=l.findTrackedSession(e);
1if(t)return{session_id:t.id}}}).get,stop:function(){o.forEach(function(e){return e()})}}});function of(e,t,r){var n=e.vitalsByName,i=e.vitalsByReference;void 0===r&&(r={});var o={name:t,startClocks:r7(),context:r.context,description:r.description},s={__dd_vital_reference:!0};return n.set(t,o),i.set(s,o),s}function oh(e,t,r,n){var i,o,s,a,l,c,u=t.vitalsByName,d=t.vitalsByReference;void 0===n&&(n={});var f="string"==typeof r?u.get(r):d.get(r);f&&(e((i=f,o=f.startClocks,s=n,a=r7(),{name:i.name,type:"duration",startClocks:o,duration:(c=o.timeStamp,a.timeStamp-c),context:no(i.context,s.context),description:null!=(l=s.description)?l:i.description})),"string"==typeof r?u.delete(r):d.delete(r))}function op(e){var t=nr(e);return"string"===t||"function"===t||e instanceof RegExp}function om(e,t,r){return void 0===r&&(r=!1),e.some(function(e){try{if("function"==typeof e)return e(t);if(e instanceof RegExp)return e.test(t);if("string"==typeof e)return r?ri(t,e):e===t}catch(e){tX.error(e)}return!1})}function og(){return window.crypto||window.msCrypto}ra(rl(),"DD_LOGS",od);function oy(e){return L||(L=rq(C.CONSISTENT_TRACE_SAMPLING)&&function(){try{return crypto.getRandomValues(new BigUint64Array(1)),!0}catch(e){return!1}}()?ov:ow),L(e)}function ov(e){var t=crypto.getRandomValues(new BigUint64Array(1))[0];return 63===e&&(t>>=BigInt("1")),t}function ow(e){var t=og().getRandomValues(new Uint32Array(2));return 63===e&&(t[t.length-1]>>>=1),{toString:function(e){void 0===e&&(e=10);var r=t[1],n=t[0],i="";do{var o=r%e*0x100000000+n;r=Math.floor(r/e),n=Math.floor(o/e),i=(o%e).toString(e)+i}while(r||n)return i}}}function ob(e){var t=e.toString(16);return Array(17-t.length).join("0")+t}function o_(e){0!==e.status||e.isAborted||(e.traceId=void 0,e.spanId=void 0,e.traceSampled=void 0)}function oS(e,t,r,n){if(void 0!==og()&&r.findTrackedSession()){var i=rt(e.allowedTracingUrls,function(e){return om([e.match],t.url,!0)});if(i){var o,s,a,l,c,u=oy(64);t.traceSampled=function(e,t){if(100===t)return!0;if(0===t)return!1;if("bigint"!=typeof e)return rZ(t);var r=BigInt("1111111111111111111"),n=BigInt("0x10000000000000000");return Number(e*r%n)<=t/100*Number(n)}(u,e.traceSampleRate),(t.traceSampled||e.traceContextInjection===ik.ALL)&&(t.traceId=u,t.spanId=oy(63),n((o=t.traceId,s=t.spanId,a=t.traceSampled,l=i.propagatorTypes,c={},l.forEach(function(e){switch(e){case"datadog":ro(c,{"x-datadog-origin":"rum","x-datadog-parent-id":s.toString(),"x-datadog-sampling-priority":a?"1":"0","x-datadog-trace-id":o.toString()});break;case"tracecontext":ro(c,{traceparent:"00-0000000000000000".concat(ob(o),"-").concat(ob(s),"-0").concat(a?"1":"0")});break;case"b3":ro(c,{b3:"".concat(ob(o),"-").concat(ob(s),"-").concat(a?"1":"0")});break;case"b3multi":ro(c,{"X-B3-TraceId":ob(o),"X-B3-SpanId":ob(s),"X-B3-Sampled":a?"1":"0"})}}),c)))}}}var oE=["tracecontext","datadog"];function oC(){tX.error("Error fetching the remote configuration.")}function ox(){var e,t=window;if(t.Zone&&(e=rd(t,"MutationObserver"),t.MutationObserver&&e===t.MutationObserver)){var r=rd(new t.MutationObserver(ry),"originalInstance");e=r&&r.constructor}return e||(e=t.MutationObserver),e}function ok(e,t,r){for(var n=e,i=t.split("."),o=0;o<i.length;o+=1){var s=i[o];if(!oI(n))return;o!==i.length-1?n=n[s]:n[s]=r}}function oI(e){return"object"===nr(e)}var oT={"view.name":"string","view.url":"string","view.referrer":"string"},oA={context:"object"},oM={service:"string",version:"string"},oO="initial_document",oR=[["document",function(e){return oO===e}],["xhr",function(e){return"xmlhttprequest"===e}],["fetch",function(e){return"fetch"===e}],["beacon",function(e){return"beacon"===e}],["css",function(e,t){return/\.css$/i.test(t)}],["js",function(e,t){return/\.js$/i.test(t)}],["image",function(e,t){return t9(["image","img","icon"],e)||null!==/\.(gif|jpg|jpeg|tiff|png|svg|ico)$/i.exec(t)}],["font",function(e,t){return null!==/\.(woff|eot|woff2|ttf)$/i.exec(t)}],["media",function(e,t){return t9(["audio","video"],e)||null!==/\.(mp3|mp4)$/i.exec(t)}]];function oP(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];for(var r=1;r<e.length;r+=1)if(e[r-1]>e[r])return!1;return!0}function oD(e){return e.duration>=0}function oN(e){var t,r=oP(e.startTime,e.fetchStart,e.domainLookupStart,e.domainLookupEnd,e.connectStart,e.connectEnd,e.requestStart,e.responseStart,e.responseEnd),n=!((t=e).redirectEnd>t.startTime)||oP(e.startTime,e.redirectStart,e.redirectEnd,e.fetchStart);return r&&n}function oL(e,t,r){if(e<=t&&t<=r)return{duration:r3(r-t),start:r3(t-e)}}function oF(e){return""===e.nextHopProtocol?void 0:e.nextHopProtocol}function oU(e){return""===e.deliveryType?"other":e.deliveryType}var oz=/data:(.+)?(;base64)?,/g;function oB(e){if(e.length<=24e3);else if("data:"===e.substring(0,5))return e=e.substring(0,24e3),!0;return!1}function oj(e){return"".concat(e.match(oz)[0],"[...]")}var oV=1;function o$(){var e=oV;return oV+=1,e}function oH(e){return r1(e)&&e<0?void 0:e}
1function oG(e){var t=e.lifeCycle,r=e.isChildEvent,n=e.onChange,i=void 0===n?ry:n,o={errorCount:0,longTaskCount:0,resourceCount:0,actionCount:0,frustrationCount:0},s=t.subscribe(13,function(e){var t;if("view"!==e.type&&"vital"!==e.type&&r(e))switch(e.type){case"error":o.errorCount+=1,i();break;case"action":o.actionCount+=1,e.action.frustration&&(o.frustrationCount+=e.action.frustration.type.length),i();break;case"long_task":o.longTaskCount+=1,i();break;case"resource":(null==(t=e._dd)?void 0:t.discarded)||(o.resourceCount+=1,i())}});return{stop:function(){s.unsubscribe()},eventCounts:o}}function oW(e,t){return new rX(function(r){if(window.PerformanceObserver){var n,i,o,s=function(e){var t=e.filter(function(e){var t,r;return!((t=e).entryType===U.RESOURCE&&(!((r=t.name)&&!iC(r))||!oD(t)))});t.length>0&&r.notify(t)},a=!0,l=new PerformanceObserver(t5(function(e){a?i=rf(function(){return s(e.getEntries())}):s(e.getEntries())}));try{l.observe(t)}catch(e){if(t9([U.RESOURCE,U.NAVIGATION,U.LONG_TASK,U.PAINT],t.type)){t.buffered&&(i=rf(function(){return s(performance.getEntriesByType(t.type))}));try{l.observe({entryTypes:[t.type]})}catch(e){return}}}return a=!1,n=e,!z&&void 0!==window.performance&&"getEntries"in performance&&"addEventListener"in performance&&(z=nx(n,performance,"resourcetimingbufferfull",function(){performance.clearResourceTimings()})),oq(U.FIRST_INPUT)||t.type!==U.FIRST_INPUT||(o=function(e,t){var r=r6(),n=!1,i=nk(e,window,["click","mousedown","keydown","touchstart","pointerdown"],function(t){if(t.cancelable){var r,n,i={entryType:"first-input",processingStart:r8(),processingEnd:r8(),startTime:t.timeStamp,duration:0,name:"",cancelable:!1,target:null,toJSON:function(){return{}}};"pointerdown"===t.type?(r=e,n=i,nk(r,window,["pointerup","pointercancel"],function(e){"pointerup"===e.type&&o(n)},{once:!0})):o(i)}},{passive:!0,capture:!0}).stop;return{stop:i};function o(e){if(!n){n=!0,i();var o=e.processingStart-e.startTime;o>=0&&o<r6()-r&&t(e)}}}(e,function(e){s([e])}).stop),function(){l.disconnect(),o&&o(),rh(i)}}})}function oq(e){return window.PerformanceObserver&&void 0!==PerformanceObserver.supportedEntryTypes&&PerformanceObserver.supportedEntryTypes.includes(e)}(l=U||(U={})).EVENT="event",l.FIRST_INPUT="first-input",l.LARGEST_CONTENTFUL_PAINT="largest-contentful-paint",l.LAYOUT_SHIFT="layout-shift",l.LONG_TASK="longtask",l.LONG_ANIMATION_FRAME="long-animation-frame",l.NAVIGATION="navigation",l.PAINT="paint",l.RESOURCE="resource";function oJ(e,t,r){var n,i=!1,o=rf(t5(function(){return c({hadActivity:!1})}),100),s=void 0!==r?rf(t5(function(){return c({hadActivity:!0,end:r5()})}),r):void 0,a=e.subscribe(function(e){var t=e.isBusy;rh(o),rh(n);var r=r5();t||(n=rf(t5(function(){return c({hadActivity:!0,end:r})}),100))}),l=function(){i=!0,rh(o),rh(n),rh(s),a.unsubscribe()};function c(e){i||(l(),t(e))}return{stop:l}}function oY(e,t,r,n){return new rX(function(i){var o,s=[],a=0;return s.push(t.subscribe(l),r.subscribe(l),oW(n,{type:U.RESOURCE}).subscribe(function(e){e.some(function(e){return!oK(n,e.name)})&&l()}),e.subscribe(7,function(e){oK(n,e.url)||(void 0===o&&(o=e.requestIndex),a+=1,l())}),e.subscribe(8,function(e){oK(n,e.url)||void 0===o||e.requestIndex<o||(a-=1,l())})),function(){s.forEach(function(e){return e.unsubscribe()})};function l(){i.notify({isBusy:a>0})}})}function oK(e,t){return om(e.excludedActivityUrls,t)}function oX(e){return window.CSS&&window.CSS.escape?window.CSS.escape(e):e.replace(/([\0-\x1f\x7f]|^-?\d)|^-$|[^\x80-\uFFFF\w-]/g,function(e,t){return t?"\0"===e?"�":"".concat(e.slice(0,-1),"\\").concat(e.charCodeAt(e.length-1).toString(16)," "):"\\".concat(e)})}function oQ(e,t){return e.matches?e.matches(t):!!e.msMatchesSelector&&e.msMatchesSelector(t)}function oZ(e){if(e.parentElement)return e.parentElement;for(;e.parentNode;){if(e.parentNode.nodeType===Node.ELEMENT_NODE)return e.parentNode;e=e.parentNode}return null}var o0=function(){function e(e){var t=this;this.map=new WeakMap,e&&e.forEach(function(e){return t.map.set(e,1)})}return e.prototype.add=function(e){return this.map.set(e,1),this},e.prototype.delete=function(e){return this.map.delete(e)},e.prototype.has=function(e){return this.map.has(e)},e}();
1function o1(e){return e.nodeType===Node.TEXT_NODE}function o4(e){return e.nodeType===Node.ELEMENT_NODE}function o2(e){return o4(e)&&!!e.shadowRoot}function o3(e){return!!e.host&&e.nodeType===Node.DOCUMENT_FRAGMENT_NODE&&o4(e.host)}function o6(e,t){for(var r=e.firstChild;r;)t(r),r=r.nextSibling;o2(e)&&t(e.shadowRoot)}function o5(e){return o3(e)?e.host:e.parentNode}var o8={IGNORE:"ignore",HIDDEN:"hidden",ALLOW:ix.ALLOW,MASK:ix.MASK,MASK_USER_INPUT:ix.MASK_USER_INPUT},o7="data-dd-privacy",o9="data:image/gif;base64,R0lGODlhAQABAIAAAMLCwgAAACH5BAAAAAAALAAAAAABAAEAAAICRAEAOw==",se={INPUT:!0,OUTPUT:!0,TEXTAREA:!0,SELECT:!0,OPTION:!0,DATALIST:!0,OPTGROUP:!0};function st(e,t,r){if(r&&r.has(e))return r.get(e);var n=o5(e),i=n?st(n,t,r):t,o=sr(sn(e),i);return r&&r.set(e,o),o}function sr(e,t){switch(t){case o8.HIDDEN:case o8.IGNORE:return t}switch(e){case o8.ALLOW:case o8.MASK:case o8.MASK_USER_INPUT:case o8.HIDDEN:case o8.IGNORE:return e;default:return t}}function sn(e){if(o4(e)){if("BASE"===e.tagName)return o8.ALLOW;if("INPUT"===e.tagName){if("password"===e.type||"email"===e.type||"tel"===e.type||"hidden"===e.type)return o8.MASK;var t=e.getAttribute("autocomplete");if(t&&(t.startsWith("cc-")||t.endsWith("-password")))return o8.MASK}if(oQ(e,sa(o8.HIDDEN)))return o8.HIDDEN;if(oQ(e,sa(o8.MASK)))return o8.MASK;if(oQ(e,sa(o8.MASK_USER_INPUT)))return o8.MASK_USER_INPUT;if(oQ(e,sa(o8.ALLOW)))return o8.ALLOW;if(function(e){if("SCRIPT"===e.nodeName)return!0;if("LINK"===e.nodeName){var t=i("rel");return/preload|prefetch/i.test(t)&&"script"===i("as")||"shortcut icon"===t||"icon"===t}if("META"===e.nodeName){var r=i("name"),t=i("rel"),n=i("property");return/^msapplication-tile(image|color)$/.test(r)||"application-name"===r||"icon"===t||"apple-touch-icon"===t||"shortcut icon"===t||"keywords"===r||"description"===r||/^(og|twitter|fb):/.test(n)||/^(og|twitter):/.test(r)||"pinterest"===r||"robots"===r||"googlebot"===r||"b
1ingbot"===r||e.hasAttribute("http-equiv")||"author"===r||"generator"===r||"framework"===r||"publisher"===r||"progid"===r||/^article:/.test(n)||/^product:/.test(n)||"google-site-verification"===r||"yandex-verification"===r||"csrf-token"===r||"p:domain_verify"===r||"verify-v1"===r||"verification"===r||"shopify-checkout-api-token"===r}function i(t){return(e.getAttribute(t)||"").toLowerCase()}return!1}(e))return o8.IGNORE}}function si(e,t){switch(t){case o8.MASK:case o8.HIDDEN:case o8.IGNORE:return!0;case o8.MASK_USER_INPUT:return o1(e)?so(e.parentNode):so(e);default:return!1}}function so(e){if(!e||e.nodeType!==e.ELEMENT_NODE)return!1;if("INPUT"===e.tagName)switch(e.type){case"button":case"color":case"reset":case"submit":return!1}return!!se[e.tagName]}function ss(e,t,r){var n,i=null==(n=e.parentElement)?void 0:n.tagName,o=e.textContent||"";if(!t||o.trim()){if("SCRIPT"===i)o="***";else if(r===o8.HIDDEN)o="***";else if(si(e,r))if("DATALIST"===i||"SELECT"===i||"OPTGROUP"===i){if(!o.trim())return}else o="OPTION"===i?"***":o.replace(/\S/g,"x");return o}}function sa(e){return"[".concat(o7,'="').concat(e,'"], .').concat("dd-privacy-").concat(e)}var sl="data-dd-action-name";function sc(e,t){if(void 0===j&&(j="closest"in HTMLElement.prototype),j)r=e.closest("[".concat(t,"]"));else for(var r,n=e;n;){if(n.hasAttribute(t)){r=n;break}n=oZ(n)}if(r)return sp(sh(r.getAttribute(t).trim()))}var su=[function(e,t,r){if(void 0===B&&(B="labels"in HTMLInputElement.prototype),B){if("labels"in e&&e.labels&&e.labels.length>0)return sg(e.labels[0],t)}else if(e.id){var n=e.ownerDocument&&rt(e.ownerDocument.querySelectorAll("label"),function(t){return t.htmlFor===e.id});return n&&sg(n,t,r)}},function(e){if("INPUT"===e.nodeName){var t=e.getAttribute("type");if("button"===t||"submit"===t||"reset"===t)return{name:e.value,nameSource:"text_content"}}},function(e,t,r){if("BUTTON"===e.nodeName||"LABEL"===e.nodeName||"button"===e.getAttribute("role"))return sg(e,t,r)},function(e){return sm(e,"aria-label")},function(e,t,r){var n=e.getAttribute("aria-labelledby");if(n)return{name:n.split(/\s+/).map(function(t){var r,n;return r=e,n=t,r.ownerDocument?r.ownerDocument.getElementById(n):null}).filter(function(e){return!!e}).map(function(e){return sy(e,t,r)}).join(" "),nameSource:"text_content"}},function(e){return sm(e,"alt")},function(e){return sm(e,"name")},function(e){return sm(e,"title")},function(e){return sm(e,"placeholder")},function(e,t){if("options"in e&&e.options.length>0)return sg(e.options[0],t)}],sd=[function(e,t,r){return sg(e,t,r)}];function sf(e,t,r,n){for(var i=e,o=0;o<=10&&i&&"BODY"!==i.nodeName&&"HTML"!==i.nodeName&&"HEAD"!==i.nodeName;){for(var s=0;s<r.length;s++){var a=(0,r[s])(i,t,n);if(a){var l=a.name,c=a.nameSource,u=l&&l.trim();if(u)return{name:sp(sh(u)),nameSource:c}}}if("FORM"===i.nodeName)break;i=oZ(i),o+=1}}function sh(e){return e.replace(/\s+/g," ")}function sp(e){return e.length>100?"".concat(n3(e,100)," [...]"):e}function sm(e,t){return{name:e.getAttribute(t)||"",nameSource:"standard_attribute"}}function sg(e,t,r){return{name:sy(e,t,r)||"",nameSource:"text_content"}}function sy(e,t,r){if(!e.isContentEditable){if("innerText"in e){var n=e.innerText,i=function(t){for(var r=e.querySelectorAll(t),i=0;i<r.length;i+=1){var o=r[i];if("innerText"in o){var s=o.innerText;s&&s.trim().length>0&&(n=n.replace(s,""))}}};return 0===n6()&&i("script, style"),i("[".concat(sl,"]")),t&&i("[".concat(t,"]")),r&&i("".concat(sa(o8.HIDDEN),", ").concat(sa(o8.MASK))),n}return e.textContent}}var sv=[sl,"data-testid","data-test","data-qa","data-cy","data-test-id","data-qa-id","data-testing","data-component","data-element","data-source-file"],sw=[sE,function(e){if(e.id&&!sS(e.id))return"#".concat(oX(e.id))}],sb=[sE,function(e){if("BODY"!==e.tagName)for(var t=function(e){if(e.classList)return e.classList;var t=(e.getAttribute("class")||"").trim();return t?t.split(/\s+/):[]}(e),r=0;r<t.length;r+=1){var n=t[r];if(!sS(n))return"".concat(oX(e.tagName),".").concat(oX(n))}},function(e){return oX(e.tagName)}];function s_(e,t){var r;if("isConnected"in(r=e)?r.isConnected:r.ownerDocument.documentElement.contains(r)){for(var n,i=e;i&&"HTML"!==i.nodeName;){var o=sC(i,sw,sx,t,n);if(o)return o;n=sC(i,sb,sk,t,n)||sI(function(e){for(var t=oZ(e).firstElementChild,r=1;t&&t!==e;)t.tagName===e.tagName&&(r+=1),t=t.nextElementSibling;return"".concat(oX(e.tagName),":nth-of-type(").concat(r,")")}(i),n),i=oZ(i)}return n}}function sS(e){return/[0-9]/.test(e)}function sE(e,t){if(t){var r=i(t);
1if(r)return r}for(var n=0;n<sv.length;n++){var r=i(sv[n]);if(r)return r}function i(t){if(e.hasAttribute(t))return"".concat(oX(e.tagName),"[").concat(t,'="').concat(oX(e.getAttribute(t)),'"]')}}function sC(e,t,r,n,i){for(var o=0;o<t.length;o++){var s=(0,t[o])(e,n);if(s&&r(e,s,i))return sI(s,i)}}function sx(e,t,r){return 1===e.ownerDocument.querySelectorAll(sI(t,r)).length}function sk(e,t,r){if(void 0===r)n=function(e){return oQ(e,t)};else{var n,i=!function(){if(void 0===V)try{document.querySelector(":scope"),V=!0}catch(e){V=!1}return V}()?sI(t,r):sI("".concat(t,":scope"),r);n=function(e){return null!==e.querySelector(i)}}for(var o=oZ(e).firstElementChild;o;){if(o!==e&&n(o))return!1;o=o.nextElementSibling}return!0}function sI(e,t){return t?"".concat(e,">").concat(t):e}function sT(){var e=window.getSelection();return!e||e.isCollapsed}function sA(e){return e.target instanceof Element&&!1!==e.isPrimary}function sM(e){return!e.hasPageActivity&&!e.getUserActivity().input&&!e.getUserActivity().scroll&&!oQ(e.event.target,'input:not([type="checkbox"]):not([type="radio"]):not([type="button"]):not([type="submit"]):not([type="reset"]):not([type="range"]),textarea,select,[contenteditable],[contenteditable] *,canvas,a[href],a[href] *')}var sO=new Map;function sR(e,t){sO.set(e,t),sO.forEach(function(e,t){r8()-t>1e4&&sO.delete(t)})}var sP=3e5;function sD(e,t){var r=sN(e)?{action:{id:e.id,loading_time:oH(r3(e.duration)),frustration:{type:e.frustrationTypes},error:{count:e.counts.errorCount},long_task:{count:e.counts.longTaskCount},resource:{count:e.counts.resourceCount}},_dd:{action:{target:e.target,position:e.position,name_source:rq(C.ACTION_NAME_MASKING)?e.nameSource:void 0}}}:void 0,n=sN(e)?void 0:e.context,i=no({action:{id:n1(),target:{name:e.name},type:e.type},date:e.startClocks.timeStamp,type:"action",view:{in_foreground:t.wasInPageStateAt("active",e.startClocks.relative)}},r),o=sN(e)?{events:e.events}:{};return!sN(e)&&e.handlingStack&&(o.handlingStack=e.handlingStack),{customerContext:n,rawRumEvent:i,startTime:e.startClocks.relative,domainContext:o}}function sN(e){return"custom"!==e.type}function sL(e,t){if(window.requestIdleCallback&&window.cancelIdleCallback){var r,n,i,o=window.requestIdleCallback(t5(e),t);return function(){return window.cancelIdleCallback(o)}}return r=e,n=r6(),i=rf(function(){r({didTimeout:!1,timeRemaining:function(){return Math.max(0,50-(r6()-n))}})},0),function(){return rh(i)}}var sF=new o0;function sU(e){return e.startTime+e.duration}function sz(e,t,r){return document.readyState===t||"complete"===document.readyState?(r(),{stop:ry}):nx(e,window,"complete"===t?"load":"DOMContentLoaded",r,{once:!0})}var sB=12e4;function sj(e,t){var r=t&&Number(t);if(e&&r)return{traceId:e,traceTime:r}}function sV(e){if(e&&e.nodeType===Node.COMMENT_NODE){var t=/^\s*DATADOG;(.*?)\s*$/.exec(e.data);if(t)return t[1]}}function s$(){if(oq(U.NAVIGATION)){var e=performance.getEntriesByType(U.NAVIGATION)[0];if(e)return e}var t=function(){var e={},t=performance.timing;for(var r in t)if(r1(t[r])){var n=t[r];e[r]=0===n?0:n-ne()}return e}(),r=ro({entryType:U.NAVIGATION,initiatorType:"navigation",name:window.location.href,startTime:0,duration:t.responseEnd,decodedBodySize:0,encodedBodySize:0,transferSize:0,workerStart:0,toJSON:function(){return ro({},r,{toJSON:void 0})}},t);return r}function sH(e,t){sz(e,"interactive",function(){var e=ro(s$().toJSON(),{entryType:U.RESOURCE,initiatorType:oO,traceId:function(e){var t,r,n,i=(r=(t=e).querySelector("meta[name=dd-trace-id]"),n=t.querySelector("meta[name=dd-trace-time]"),sj(r&&r.content,n&&n.content)||function(e){var t=function(e){for(var t=0;t<e.childNodes.length;t+=1){var r=sV(e.childNodes[t]);if(r)return r}if(e.body)for(var t=e.body.childNodes.length-1;t>=0;t-=1){var n=e.body.childNodes[t],r=sV(n);if(r)return r;if(!o1(n))break}}(e);if(t)return sj(n2(t,"trace-id"),n2(t,"trace-time"))}(e));if(!(!i||i.traceTime<=r6()-sB))return i.traceId}(document),toJSON:function(){return ro({},e,{toJSON:void 0})}});t(e)})}function sG(e,t){var r=r2(e.startTime),n=function(e,t){if(e.traceId)return{_dd:{trace_id:e.traceId,span_id:oy(63).toString(),rule_psr:t.rulePsr}}}(e,t);if(t.trackResources||n){var i,o=function(e){var t,r=e.name;if(!function(e){try{return!!nQ(e)}catch(e){return!1}}(r))return ng('Failed to construct URL for "'.concat(e.name,'"')),"other";for(var n="/"===(t=nQ(r).pathname)[0]?t:"/".concat(t),i=0;i<oR.length;i++){var o=oR[i],s=o[0];if((0,o[1])(e.initiatorType,n))return s}return"other"}(e),s=sW(e),a=no({date:r.timeStamp,resource:{id:n1(),type:o,url:e.name,status_code:0===(i=e.responseStatus)?void 0:i,protocol:oF(e),delivery_type:oU(e)},type:"resource",_dd:{discarded:!t.trackResources}},n,s);return{startTime:r.relative,rawRumEvent:a,domainContext:{performanceEntry:e}}}}function sW(e){var t,r,n,i,o=e.renderBlockingStatus;return{resource:ro({duration:(r=(t=e).duration,n=t.startTime,i=t.responseEnd,0===r&&n<i?r3(i-n):r3(r)),render_blocking_status:o},function(e){if(e.startTime<e.responseStart){var t=e.encodedBodySize,r=e.decodedBodySize;return{size:r,encoded_body_size:t,decoded_body_size:r,transfer_size:e.transferSize}}return{size:void 0,encoded_body_size:void 0,decoded_body_size:void 0,transfer_size:void 0}}(e),function(e){if(oN(e)){var t=e.startTime,r=e.fetchStart,n=e.workerStart,i=e.redirectStart,o=e.redirectEnd,s=e.domainLookupStart,a=e.domainLookupEnd,l=e.connectStart,c=e.secureConnectionStart,u=e.connectEnd,d=e.requestStart,f=e.responseStart,h={download:oL(t,f,e.responseEnd),first_byte:oL(t,d,f)};return 0<n&&n<r&&(h.worker=oL(t,n,r)),r<u&&(h.connect=oL(t,l,u),l<=c&&c<=u&&(h.ssl=oL(t,c,u))),r<a&&(h.dns=oL(t,s,a)),t<o&&(h.redirect=oL(t,i,o)),h}}(e))}}var sq=6e5,sJ=6e5;function sY(e,t){var r,n;return void 0===t&&(t=window),"hidden"===document.visibilityState?r=0:(r=1/0,n=nk(e,t,["pagehide","visibilitychange"],function(e){("pagehide"===e.type||"hidden"===document.visibilityState)&&(r=e.timeStamp,n())},{capture:!0}).stop),{get timeStamp(){return r},stop:function(){null==n||n()}}}var sK=0,sX=1/0,sQ=0,sZ=function(){return $?sK:window.performance.interactionCount||0},s0=6e4;
1function s1(){var e=window.visualViewport;return Math.round(e?e.pageLeft-e.offsetLeft:void 0!==window.scrollX?window.scrollX:window.pageXOffset||0)}function s4(){var e=window.visualViewport;return Math.round(e?e.pageTop-e.offsetTop:void 0!==window.scrollY?window.scrollY:window.pageYOffset||0)}function s2(e){var t;return H||(t=e,H=new rX(function(e){return nx(t,window,"resize",rg(function(){e.notify(s3())},200).throttled,{capture:!0,passive:!0}).stop})),H}function s3(){var e=window.visualViewport;return e?{width:Number(e.width*e.scale),height:Number(e.height*e.scale)}:{width:Number(window.innerWidth||0),height:Number(window.innerHeight||0)}}var s6=3e5,s5=3e5;function s8(e){var t=e.indexOf("?");return t<0?e:e.slice(0,t)}function s7(e){return"2"===e||"1"===e}function s9(e){return Object.prototype.hasOwnProperty.call(history,e)?history:History.prototype}function ae(){0!==G.batchCount&&(ng("Customer data measures",G),ai())}function at(){return{min:1/0,max:0,sum:0}}function ar(e,t){e.sum+=t,e.min=Math.min(e.min,t),e.max=Math.max(e.max,t)}function an(e,t){e.sum+=t.sum,e.min=Math.min(e.min,t.min),e.max=Math.max(e.max,t.max)}function ai(){G={batchCount:0,batchBytesCount:at(),batchMessagesCount:at(),globalContextBytes:at(),userContextBytes:at(),featureFlagBytes:at()}}function ao(){q=!1,W={globalContextBytes:at(),userContextBytes:at(),featureFlagBytes:at()}}function as(){return"hidden"===document.visibilityState?"hidden":document.hasFocus()?"active":"passive"}function aa(e,t){var r=n2(document.cookie,e),n=rp(function(){var n=n2(document.cookie,e);n!==r&&t(n)},1e3);return function(){rm(n)}}var al="datadog-ci-visibility-test-execution-id";function ac(e){var t;return J||(J=new Map),J.has(e)?t=J.get(e):(t={records_count:0,segments_count:0,segments_total_raw_size:0},J.set(e,t),J.size>10&&function(){if(J)if(J.keys){var e=J.keys().next().value;e&&J.delete(e)}else{var t=!0;J.forEach(function(e,r){t&&(J.delete(r),t=!1)})}}()),t}var au=new WeakMap;function ad(e){return au.has(e)}function af(e){return au.get(e)}function ah(e,t){var r=e.tagName,n=e.value;if(si(e,t)){var i=e.type;if("INPUT"===r&&("button"===i||"submit"===i||"reset"===i))return n;if(!n||"OPTION"===r)return;return"***"}return"OPTION"===r||"SELECT"===r?e.value:"INPUT"===r||"TEXTAREA"===r?n:void 0}var ap=/url\((?:(')([^']*)'|(")([^"]*)"|([^)]*))\)/gm,am=/^[A-Za-z]+:|^\/\//,ag=/^data:.*,/i,ay=/[^a-z1-6-_]/;function av(e){var t=e.toLowerCase().trim();return ay.test(t)?"div":t}function aw(e,t){return"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='".concat(e,"' height='").concat(t,"' style='background-color:silver'%3E%3C/svg%3E")}function ab(e){if(void 0!==e&&0!==e.length)return e.map(function(e){return{cssRules:Array.from(e.cssRules||e.rules,function(e){return e.cssText}),disabled:e.disabled||void 0,media:e.media.length>0?Array.from(e.media):void 0}})}function a_(e,t,r,n){if(t===o8.HIDDEN)return null;var i=e.getAttribute(r);if(t===o8.MASK&&r!==o7&&!sv.includes(r)&&r!==n.actionNameAttribute){var o=e.tagName;switch(r){case"title":case"alt":case"placeholder":return"***"}if("IMG"===o&&("src"===r||"srcset"===r)){if(e.naturalWidth>0)return aw(e.naturalWidth,e.naturalHeight);var s=e.getBoundingClientRect(),a=s.width,l=s.height;return a>0||l>0?aw(a,l):o9}if("SOURCE"===o&&("src"===r||"srcset"===r))return o9;if("A"===o&&"href"===r||i&&ri(r,"data-")||"IFRAME"===o&&"srcdoc"===r)return"***"}return i&&"string"==typeof i&&oB(i)?oj(i):i}function aS(e){var t,r,n;if(!e)return null;try{t=e.rules||e.cssRules}catch(e){}return t?(r=Array.from(t,2===n6()?aE:aC).join(""),n=e.href,r.replace(ap,function(e,t,r,i,o,s){var a=r||o||s;if(!n||!a||am.test(a)||ag.test(a))return e;var l=t||i||"";return"url(".concat(l).concat(function(e,t){try{return nQ(e,t).href}catch(t){return e}}(a,n)).concat(l,")")})):null}function aE(e){return"selectorText"in e&&e.selectorText.includes(":")?e.cssText.replace(/(\[[\w-]+[^\\])(:[^\]]+\])/g,"$1\\$2"):aC(e)}function aC(e){return"styleSheet"in e&&aS(e.styleSheet)||e.cssText}function ax(e,t){var r=function(e,t){switch(e.nodeType){case e.DOCUMENT_NODE:return{type:0,childNodes:aI(r=e,t),adoptedStyleSheets:ab(r.adoptedStyleSheets)};case e.DOCUMENT_FRAGMENT_NODE:return n=e,i=t,(o=o3(n))&&i.serializationContext.shadowRootsController.addShadowRoot(n),{type:11,childNodes:aI(n,i),isShadowRoot:o,adoptedStyleSheets:o?ab(n.adoptedStyleSheets):void 0};case e.DOCUMENT_TYPE_NODE:return{type:1,name:(s=e).name,publicId:s.publicId,systemId:s.systemId};case e.ELEMENT_NODE:return function(e,t){var r,n,i=av(e.tagName),o="svg"===(r=e).tagName||r instanceof SVGElement||void 0,s=sr(sn(e),t.parentNodePrivacyLevel);if(s===o8.HIDDEN){var a=e.getBoundingClientRect(),l=a.width,c=a.height;return{type:2,tagName:i,attributes:((n={rr_width:"".concat(l,"px"),rr_height:"".concat(c,"px")}
1)[o7]="hidden",n),childNodes:[],isSVG:o}}if(s!==o8.IGNORE){var u=function(e,t,r){if(t===o8.HIDDEN)return{};for(var n,i,o,s={},a=av(e.tagName),l=e.ownerDocument,c=0;c<e.attributes.length;c+=1){var u=e.attributes.item(c).name,d=a_(e,t,u,r.configuration);null!==d&&(s[u]=d)}if(e.value&&("textarea"===a||"select"===a||"option"===a||"input"===a)){var f=ah(e,t);void 0!==f&&(s.value=f)}if("option"===a&&t===o8.ALLOW&&e.selected&&(s.selected=e.selected),"link"===a){var h=Array.from(l.styleSheets).find(function(t){return t.href===e.href}),p=aS(h);p&&h&&(s._cssText=p)}if("style"===a&&e.sheet){var p=aS(e.sheet);p&&(s._cssText=p)}"input"===a&&("radio"===e.type||"checkbox"===e.type)&&(t===o8.ALLOW?s.checked=!!e.checked:si(e,t)&&delete s.checked),("audio"===a||"video"===a)&&(s.rr_mediaState=e.paused?"paused":"played");var m=r.serializationContext;switch(m.status){case 0:i=Math.round(e.scrollTop),o=Math.round(e.scrollLeft),(i||o)&&m.elementsScrollPositions.set(e,{scrollTop:i,scrollLeft:o});break;case 1:m.elementsScrollPositions.has(e)&&(i=(n=m.elementsScrollPositions.get(e)).scrollTop,o=n.scrollLeft)}return o&&(s.rr_scrollLeft=o),i&&(s.rr_scrollTop=i),s}(e,s,t),d=[];(e.childNodes.length>0||o2(e))&&"style"!==i&&(d=aI(e,t.parentNodePrivacyLevel===s&&t.ignoreWhiteSpace===("head"===i)?t:ro({},t,{parentNodePrivacyLevel:s,ignoreWhiteSpace:"head"===i})));return{type:2,tagName:i,attributes:u,childNodes:d,isSVG:o}}}(e,t);case e.TEXT_NODE:var r,n,i,o,s,a=e,l=t,c=ss(a,l.ignoreWhiteSpace||!1,l.parentNodePrivacyLevel);if(void 0!==c)return{type:3,textContent:c};return;case e.CDATA_SECTION_NODE:return{type:4,textContent:""}}}(e,t);if(!r)return null;var n=af(e)||ak++;return r.id=n,au.set(e,n),t.serializedNodeIds&&t.serializedNodeIds.add(n),r}var ak=1;function aI(e,t){var r=[];return o6(e,function(e){var n=ax(e,t);n&&r.push(n)}),r}function aT(e){return!!e.changedTouches}function aA(e){return!0===e.composed&&o2(e.target)?e.composedPath()[0]:e.target}var aM=function(e,t){var r=window.visualViewport,n={layoutViewportX:e,layoutViewportY:t,visualViewportX:e,visualViewportY:t};return r&&(Math.abs(r.pageTop-r.offsetTop-window.scrollY)>25||Math.abs(r.pageLeft-r.offsetLeft-window.scrollX)>25?(n.layoutViewportX=Math.round(e+r.offsetLeft),n.layoutViewportY=Math.round(t+r.offsetTop)):(n.visualViewportX=Math.round(e-r.offsetLeft),n.visualViewportY=Math.round(t-r.offsetTop))),n},aO=function(e){return{scale:e.scale,offsetLeft:e.offsetLeft,offsetTop:e.offsetTop,pageLeft:e.pageLeft,pageTop:e.pageTop,height:e.height,width:e.width}};function aR(e,t){return{data:ro({source:e},t),type:3,timestamp:r5()}}function aP(e){var t=aT(e)?e.changedTouches[0]:e,r=t.clientX,n=t.clientY;if(window.visualViewport){var i=aM(r,n),o=i.visualViewportX,s=i.visualViewportY;r=o,n=s}if(!Number.isFinite(r)||!Number.isFinite(n)){e.isTrusted&&ng("mouse/touch event without x/y");return}return{x:r,y:n}}var aD=((Y={}).pointerup=0,Y.mousedown=1,Y.click=2,Y.contextmenu=3,Y.dblclick=4,Y.focus=5,Y.blur=6,Y.touchstart=7,Y.touchend=9,Y);function aN(e,t,r,n){void 0===n&&(n=document);var i=rg(function(n){var i=aA(n);if(i&&st(i,e.defaultPrivacyLevel)!==o8.HIDDEN&&ad(i)){var o=af(i),s=i===document?{scrollTop:s4(),scrollLeft:s1()}:{scrollTop:Math.round(i.scrollTop),scrollLeft:Math.round(i.scrollLeft)};r.set(i,s),t(aR(3,{id:o,x:s.scrollLeft,y:s.scrollTop}))}},100),o=i.throttled,s=i.cancel,a=nx(e,n,"scroll",o,{capture:!0,passive:!0}).stop;return{stop:function(){a(),s()}}}function aL(e){for(var t=[],r=e;r.parentRule;){var n=Array.from(r.parentRule.cssRules).indexOf(r);t.unshift(n),r=r.parentRule}if(r.parentStyleSheet){var i=Array.from(r.parentStyleSheet.cssRules).indexOf(r);return t.unshift(i),t}}function aF(e,t,r){void 0===r&&(r=document);var n,i=e.defaultPrivacyLevel,o=new WeakMap,s=r!==document,a=nk(e,r,s?["change"]:["input","change"],function(e){var t=aA(e);(t instanceof HTMLInputElement||t instanceof HTMLTextAreaElement||t instanceof HTMLSelectElement)&&c(t)},{capture:!0,passive:!0}).stop;if(s)n=ry;else{var l=[nK(HTMLInputElement.prototype,"value",c),nK(HTMLInputElement.prototype,"checked",c),nK(HTMLSelectElement.prototype,"value",c),nK(HTMLTextAreaElement.prototype,"value",c),nK(HTMLSelectElement.prototype,"selectedIndex",c)];n=function(){l.forEach(function(e){return e.stop()})}}return{stop:function(){n(),a()}};function c(e){var t,r=st(e,i);if(r!==o8.HIDDEN){var n,o=e.type;if("radio"===o||"checkbox"===o){if(si(e,r))return;t={isChecked:e.checked}}else{var s=ah(e,r);if(void 0===s)return;t={text:s}}u(e,t);var a=e.name;"radio"===o&&a&&e.checked&&(n=document.querySelectorAll('input[type="radio"][name="'.concat(oX(a),'"]')),Array.prototype.forEach.call(n,function(t){t!==e&&u(t,{isChecked:!1}
1)}))}}function u(e,r){if(ad(e)){var n=o.get(e);n&&n.text===r.text&&n.isChecked===r.isChecked||(o.set(e,r),t(aR(5,ro({id:af(e)},r))))}}}function aU(e,t,r,n){var i=ox();if(!i)return{stop:ry,flush:ry};var o=function(e){var t=ry,r=[];function n(){t(),e(r),r=[]}var i=rg(n,16,{leading:!1}),o=i.throttled,s=i.cancel;return{addMutations:function(e){0===r.length&&(t=sL(o,{timeout:100})),r.push.apply(r,e)},flush:n,stop:function(){t(),s()}}}(function(n){var i,o,a,l,c,u,d,f,h,p,m,g;i=n.concat(s.takeRecords()),o=e,a=t,l=r,c=new Map,i.filter(function(e){return"childList"===e.type}).forEach(function(e){e.removedNodes.forEach(function(e){!function e(t,r){o2(t)&&r(t.shadowRoot),o6(t,function(t){return e(t,r)})}(e,l.removeShadowRoot)})}),f=(d=function(e,t,r,n){for(var i=new Set,o=new Map,s=function(e){e.addedNodes.forEach(function(e){i.add(e)}),e.removedNodes.forEach(function(t){i.has(t)||o.set(t,e.target),i.delete(t)})},a=0;a<e.length;a++)s(e[a]);var l=Array.from(i);l.sort(function(e,t){var r=e.compareDocumentPosition(t);return r&Node.DOCUMENT_POSITION_CONTAINED_BY?-1:r&Node.DOCUMENT_POSITION_CONTAINS?1:r&Node.DOCUMENT_POSITION_FOLLOWING?1:r&Node.DOCUMENT_POSITION_PRECEDING?-1:0});for(var c=new Set,u=[],d=0;d<l.length;d++){var f=l[d];if(!y(f)){var h=st(f.parentNode,t.defaultPrivacyLevel,n);if(h!==o8.HIDDEN&&h!==o8.IGNORE){var p=ax(f,{serializedNodeIds:c,parentNodePrivacyLevel:h,serializationContext:{status:2,shadowRootsController:r},configuration:t});if(p){var m=o5(f);u.push({nextId:function(e){for(var t=e.nextSibling;t;){if(ad(t))return af(t);t=t.nextSibling}return null}(f),parentId:af(m),node:p})}}}}var g=[];return o.forEach(function(e,t){ad(t)&&g.push({parentId:af(e),id:af(t)})}),{adds:u,removes:g,hasBeenSerialized:y};function y(e){return ad(e)&&c.has(af(e))}}((u=i.filter(function(e){return e.target.isConnected&&function(e){for(var t=e;t;){if(!ad(t)&&!o3(t))return!1;t=o5(t)}return!0}(e.target)&&st(e.target,a.defaultPrivacyLevel,c)!==o8.HIDDEN})).filter(function(e){return"childList"===e.type}),a,l,c)).adds,h=d.removes,p=d.hasBeenSerialized,m=function(e,t,r){for(var n,i=[],o=new Set,s=e.filter(function(e){return!o.has(e.target)&&(o.add(e.target),!0)}),a=0;a<s.length;a++){var l=s[a];if(l.target.textContent!==l.oldValue){var c=st(o5(l.target),t.defaultPrivacyLevel,r);c!==o8.HIDDEN&&c!==o8.IGNORE&&i.push({id:af(l.target),value:null!=(n=ss(l.target,!1,c))?n:null})}}return i}(u.filter(function(e){return"characterData"===e.type&&!p(e.target)}),a,c),g=function(e,t,r){for(var n=[],i=new Map,o=e.filter(function(e){var t=i.get(e.target);return!(t&&t.has(e.attributeName))&&(t?t.add(e.attributeName):i.set(e.target,new Set([e.attributeName])),!0)}),s=new Map,a=0;a<o.length;a++){var l=o[a];if(l.target.getAttribute(l.attributeName)!==l.oldValue){var c=st(l.target,t.defaultPrivacyLevel,r),u=a_(l.target,c,l.attributeName,t),d=void 0;if("value"===l.attributeName){var f=ah(l.target,c);if(void 0===f)continue;d=f}else d="string"==typeof u?u:null;var h=s.get(l.target);h||(h={id:af(l.target),attributes:{}},n.push(h),s.set(l.target,h)),h.attributes[l.attributeName]=d}}return n}(u.filter(function(e){return"attributes"===e.type&&!p(e.target)}),a,c),(m.length||g.length||h.length||f.length)&&o(aR(0,{adds:f,removes:h,texts:m,attributes:g}))}),s=new i(t5(o.addMutations));return s.observe(n,{attributeOldValue:!0,attributes:!0,characterData:!0,characterDataOldValue:!0,childList:!0,subtree:!0}),{stop:function(){s.disconnect(),o.stop()},flush:function(){o.flush()}}}var az=function(e,t,r){var n=new Map,i={addShadowRoot:function(o){if(!n.has(o)){var s=aU(t,e,i,o),a=aF(e,t,o),l=aN(e,t,r,o);n.set(o,{flush:function(){return s.flush()},stop:function(){s.stop(),a.stop(),l.stop()}})}},removeShadowRoot:function(e){var t=n.get(e);t&&(t.stop(),n.delete(e))},stop:function(){n.forEach(function(e){return(0,e.stop)()})},flush:function(){n.forEach(function(e){return(0,e.flush)()})}};return i};function aB(e,t,r){var n,i=0,o=[],s=0,a=[],l=nx(e,t,"message",function(e){var t=e.data;if("wrote"===t.type&&t.streamId===r){i+=t.additionalBytesCount,o.push(t.result),n=t.trailer;var s=a.shift();s&&s.id===t.id?s.writeCallback?s.writeCallback(t.result.byteLength):s.finishCallback&&s.finishCallback():(l(),ng("Worker responses received out of order."))}}).stop;function c(){var e=0===o.length?new Uint8Array(0):function(e){for(var t=new Uint8Array(e.reduce(function(e,t){return e+t.length},0)),r=0,n=0;n<e.length;n++){var i=e[n];t.set(i,r),r+=i.length}return t}(o.concat(n)),t={rawBytesCount:i,output:e,outputBytesCount:e.byteLength,encoding:"deflate"};return i=0,o=[],t}function u(){s>0&&(t.postMessage({action:"reset",streamId:r}),s=0)}return{isAsync:!0,get isEmpty(){return 0===s},write:function(e,n){t.postMessage({action:"write",id:s,data:e,streamId:r}),a.push({id:s,writeCallback:n,data:e}),s+=1}
1,finish:function(e){u(),a.length?(a.forEach(function(e){delete e.writeCallback}),a[a.length-1].finishCallback=function(){return e(c())}):e(c())},finishSync:function(){u();var e=a.map(function(e){return delete e.writeCallback,delete e.finishCallback,e.data}).join("");return ro(c(),{pendingData:e})},estimateEncodedBytesCount:function(e){return e.length/8},stop:function(){l()}}}function aj(e){return new Worker(e.workerUrl||URL.createObjectURL(new Blob(['!function(){"use strict";function t(t){for(var e=t.reduce((function(t,e){return t+e.length}),0),a=new Uint8Array(e),n=0,r=0,i=t;r<i.length;r++){var s=i[r];a.set(s,n),n+=s.length}return a}function e(t){for(var e=t.length;--e>=0;)t[e]=0}var a=256,n=286,r=30,i=15,s=new Uint8Array([0,0,0,0,0,0,0,0,1,1,1,1,2,2,2,2,3,3,3,3,4,4,4,4,5,5,5,5,0]),h=new Uint8Array([0,0,0,0,1,1,2,2,3,3,4,4,5,5,6,6,7,7,8,8,9,9,10,10,11,11,12,12,13,13]),l=new Uint8Array([0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,3,7]),_=new Uint8Array([16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15]),o=new Array(576);e(o);var d=new Array(60);e(d);var u=new Array(512);e(u);var f=new Array(256);e(f);var c=new Array(29);e(c);var p,g,w,v=new Array(r);function b(t,e,a,n,r){this.static_tree=t,this.extra_bits=e,this.extra_base=a,this.elems=n,this.max_length=r,this.has_stree=t&&t.length}function m(t,e){this.dyn_tree=t,this.max_code=0,this.stat_desc=e}e(v);var y=function(t){return t<256?u[t]:u[256+(t>>>7)]},k=function(t,e){t.pending_buf[t.pending++]=255&e,t.pending_buf[t.pending++]=e>>>8&255},z=function(t,e,a){t.bi_valid>16-a?(t.bi_buf|=e<<t.bi_valid&65535,k(t,t.bi_buf),t.bi_buf=e>>16-t.bi_valid,t.bi_valid+=a-16):(t.bi_buf|=e<<t.bi_valid&65535,t.bi_valid+=a)},x=function(t,e,a){z(t,a[2*e],a[2*e+1])},A=function(t,e){var a=0;do{a|=1&t,t>>>=1,a<<=1}while(--e>0);return a>>>1},U=function(t,e,a){var n,r,s=new Array(16),h=0;for(n=1;n<=i;n++)s[n]=h=h+a[n-1]<<1;for(r=0;r<=e;r++){var l=t[2*r+1];0!==l&&(t[2*r]=A(s[l]++,l))}},I=function(t){var e;for(e=0;e<n;e++)t.dyn_ltree[2*e]=0;for(e=0;e<r;e++)t.dyn_dtree[2*e]=0;for(e=0;e<19;e++)t.bl_tree[2*e]=0;t.dyn_ltree[512]=1,t.opt_len=t.static_len=0,t.last_lit=t.matches=0},B=function(t){t.bi_valid>8?k(t,t.bi_buf):t.bi_valid>0&&(t.pending_buf[t.pending++]=t.bi_buf),t.bi_buf=0,t.bi_valid=0},E=function(t,e,a,n){var r=2*e,i=2*a;return t[r]<t[i]||t[r]===t[i]&&n[e]<=n[a]},S=function(t,e,a){for(var n=t.heap[a],r=a<<1;r<=t.heap_len&&(r<t.heap_len&&E(e,t.heap[r+1],t.heap[r],t.depth)&&r++,!E(e,n,t.heap[r],t.depth));)t.heap[a]=t.heap[r],a=r,r<<=1;t.heap[a]=n},C=function(t,e,n){var r,i,l,_,o=0;if(0!==t.last_lit)do{r=t.pending_buf[t.d_buf+2*o]<<8|t.pending_buf[t.d_buf+2*o+1],i=t.pending_buf[t.l_buf+o],o++,0===r?x(t,i,e):(l=f[i],x(t,l+a+1,e),0!==(_=s[l])&&(i-=c[l],z(t,i,_)),r--,l=y(r),x(t,l,n),0!==(_=h[l])&&(r-=v[l],z(t,r,_)))}while(o<t.last_lit);x(t,256,e)},D=function(t,e){var a,n,r,s=e.dyn_tree,h=e.stat_desc.static_tree,l=e.stat_desc.has_stree,_=e.stat_desc.elems,o=-1;for(t.heap_len=0,t.heap_max=573,a=0;a<_;a++)0!==s[2*a]?(t.heap[++t.heap_len]=o=a,t.depth[a]=0):s[2*a+1]=0;for(;t.heap_len<2;)s[2*(r=t.heap[++t.heap_len]=o<2?++o:0)]=1,t.depth[r]=0,t.opt_len--,l&&(t.static_len-=h[2*r+1]);for(e.max_code=o,a=t.heap_len>>1;a>=1;a--)S(t,s,a);r=_;do{a=t.heap[1],t.heap[1]=t.heap[t.heap_len--],S(t,s,1),n=t.heap[1],t.heap[--t.heap_max]=a,t.heap[--t.heap_max]=n,s[2*r]=s[2*a]+s[2*n],t.depth[r]=(t.depth[a]>=t.depth[n]?t.depth[a]:t.depth[n])+1,s[2*a+1]=s[2*n+1]=r,t.heap[1]=r++,S(t,s,1)}while(t.heap_len>=2);t.heap[--t.heap_max]=t.heap[1],function(t,e){var a,n,r,s,h,l,_=e.dyn_tree,o=e.max_code,d=e.stat_desc.static_tree,u=e.stat_desc.has_stree,f=e.stat_desc.extra_bits,c=e.stat_desc.extra_base,p=e.stat_desc.max_length,g=0;for(s=0;s<=i;s++)t.bl_count[s]=0;for(_[2*t.heap[t.heap_max]+1]=0,a=t.heap_max+1;a<573;a++)(s=_[2*_[2*(n=t.heap[a])+1]+1]+1)>p&&(s=p,g++),_[2*n+1]=s,n>o||(t.bl_count[s]++,h=0,n>=c&&(h=f[n-c]),l=_[2*n],t.opt_len+=l*(s+h),u&&(t.static_len+=l*(d[2*n+1]+h)));if(0!==g){do{for(s=p-1;0===t.bl_count[s];)s--;t.bl_count[s]--,t.bl_count[s+1]+=2,t.bl_count[p]--,g-=2}while(g>0);for(s=p;0!==s;s--)for(n=t.bl_count[s];0!==n;)(r=t.heap[--a])>o||(_[2*r+1]!==s&&(t.opt_len+=(s-_[2*r+1])*_[2*r],_[2*r+1]=s),n--)}}(t,e),U(s,o,t.bl_count)}
vendor: 17,170 bytes, line 1
1,j=function(t,e,a){var n,r,i=-1,s=e[1],h=0,l=7,_=4;for(0===s&&(l=138,_=3),e[2*(a+1)+1]=65535,n=0;n<=a;n++)r=s,s=e[2*(n+1)+1],++h<l&&r===s||(h<_?t.bl_tree[2*r]+=h:0!==r?(r!==i&&t.bl_tree[2*r]++,t.bl_tree[32]++):h<=10?t.bl_tree[34]++:t.bl_tree[36]++,h=0,i=r,0===s?(l=138,_=3):r===s?(l=6,_=3):(l=7,_=4))},M=function(t,e,a){var n,r,i=-1,s=e[1],h=0,l=7,_=4;for(0===s&&(l=138,_=3),n=0;n<=a;n++)if(r=s,s=e[2*(n+1)+1],!(++h<l&&r===s)){if(h<_)do{x(t,r,t.bl_tree)}while(0!=--h);else 0!==r?(r!==i&&(x(t,r,t.bl_tree),h--),x(t,16,t.bl_tree),z(t,h-3,2)):h<=10?(x(t,17,t.bl_tree),z(t,h-3,3)):(x(t,18,t.bl_tree),z(t,h-11,7));h=0,i=r,0===s?(l=138,_=3):r===s?(l=6,_=3):(l=7,_=4)}},L=!1,T=function(t,e,a,n){z(t,0+(n?1:0),3),function(t,e,a,n){B(t),n&&(k(t,a),k(t,~a)),t.pending_buf.set(t.window.subarray(e,e+a),t.pending),t.pending+=a}(t,e,a,!0)},H=function(t,e,n,r){var i,s,h=0;t.level>0?(2===t.strm.data_type&&(t.strm.data_type=function(t){var e,n=4093624447;for(e=0;e<=31;e++,n>>>=1)if(1&n&&0!==t.dyn_ltree[2*e])return 0;if(0!==t.dyn_ltree[18]||0!==t.dyn_ltree[20]||0!==t.dyn_ltree[26])return 1;for(e=32;e<a;e++)if(0!==t.dyn_ltree[2*e])return 1;return 0}(t)),D(t,t.l_desc),D(t,t.d_desc),h=function(t){var e;for(j(t,t.dyn_ltree,t.l_desc.max_code),j(t,t.dyn_dtree,t.d_desc.max_code),D(t,t.bl_desc),e=18;e>=3&&0===t.bl_tree[2*_[e]+1];e--);return t.opt_len+=3*(e+1)+5+5+4,e}(t),i=t.opt_len+3+7>>>3,(s=t.static_len+3+7>>>3)<=i&&(i=s)):i=s=n+5,n+4<=i&&-1!==e?T(t,e,n,r):4===t.strategy||s===i?(z(t,2+(r?1:0),3),C(t,o,d)):(z(t,4+(r?1:0),3),function(t,e,a,n){var r;for(z(t,e-257,5),z(t,a-1,5),z(t,n-4,4),r=0;r<n;r++)z(t,t.bl_tree[2*_[r]+1],3);M(t,t.dyn_ltree,e-1),M(t,t.dyn_dtree,a-1)}(t,t.l_desc.max_code+1,t.d_desc.max_code+1,h+1),C(t,t.dyn_ltree,t.dyn_dtree)),I(t),r&&B(t)},R={_tr_init:function(t){L||(!function(){var t,e,a,_,m,y=new Array(16);for(a=0,_=0;_<28;_++)for(c[_]=a,t=0;t<1<<s[_];t++)f[a++]=_;for(f[a-1]=_,m=0,_=0;_<16;_++)for(v[_]=m,t=0;t<1<<h[_];t++)u[m++]=_;for(m>>=7;_<r;_++)for(v[_]=m<<7,t=0;t<1<<h[_]-7;t++)u[256+m++]=_;for(e=0;e<=i;e++)y[e]=0;for(t=0;t<=143;)o[2*t+1]=8,t++,y[8]++;for(;t<=255;)o[2*t+1]=9,t++,y[9]++;for(;t<=279;)o[2*t+1]=7,t++,y[7]++;for(;t<=287;)o[2*t+1]=8,t++,y[8]++;for(U(o,287,y),t=0;t<r;t++)d[2*t+1]=5,d[2*t]=A(t,5);p=new b(o,s,257,n,i),g=new b(d,h,0,r,i),w=new b(new Array(0),l,0,19,7)}(),L=!0),t.l_desc=new m(t.dyn_ltree,p),t.d_desc=new m(t.dyn_dtree,g),t.bl_desc=new m(t.bl_tree,w),t.bi_buf=0,t.bi_valid=0,I(t)},_tr_stored_block:T,_tr_flush_block:H,_tr_tally:function(t,e,n){return t.pending_buf[t.d_buf+2*t.last_lit]=e>>>8&255,t.pending_buf[t.d_buf+2*t.last_lit+1]=255&e,t.pending_buf[t.l_buf+t.last_lit]=255&n,t.last_lit++,0===e?t.dyn_ltree[2*n]++:(t.matches++,e--,t.dyn_ltree[2*(f[n]+a+1)]++,t.dyn_dtree[2*y(e)]++),t.last_lit===t.lit_bufsize-1},_tr_align:function(t){z(t,2,3),x(t,256,o),function(t){16===t.bi_valid?(k(t,t.bi_buf),t.bi_buf=0,t.bi_valid=0):t.bi_valid>=8&&(t.pending_buf[t.pending++]=255&t.bi_buf,t.bi_buf>>=8,t.bi_valid-=8)}(t)}},K=function(t,e,a,n){for(var r=65535&t,i=t>>>16&65535,s=0;0!==a;){a-=s=a>2e3?2e3:a;do{i=i+(r=r+e[n++]|0)|0}while(--s);r%=65521,i%=65521}return r|i<<16},N=new Uint32Array(function(){for(var t,e=[],a=0;a<256;a++){t=a;for(var n=0;n<8;n++)t=1&t?3988292384^t>>>1:t>>>1;e[a]=t}return e}()),O=function(t,e,a,n){var r=N,i=n+a;t^=-1;for(var s=n;s<i;s++)t=t>>>8^r[255&(t^e[s])];return~t},q={2:"need dictionary",1:"stream end",0:"","-1":"file error","-2":"stream error","-3":"data error","-4":"insufficient memory","-5":"buffer error","-6":"incompatible version"},F=0,G=2,J=3,P=4,Q=0,V=1,W=-1,X=0,Y=8,Z=R._tr_init,$=R._tr_stored_block,tt=R._tr_flush_block,et=R._tr_tally,at=R._tr_align,nt=F,rt=1,it=J,st=P,ht=5,lt=Q,_t=V,ot=-2,dt=-3,ut=-5,ft=W,ct=1,pt=2,gt=3,wt=4,vt=X,bt=2,mt=Y,yt=258,kt=262,zt=103,xt=113,At=666,Ut=function(t,e){return t.msg=q[e],e},It=function(t){return(t<<1)-(t>4?9:0)},Bt=function(t){for(var e=t.length;--e>=0;)t[e]=0},Et=function(t,e,a){return(e<<t.hash_shift^a)&t.hash_mask},St=function(t){var e=t.state,a=e.pending;a>t.avail_out&&(a=t.avail_out),0!==a&&(t.output.set(e.pending_buf.subarray(e.pending_out,e.pending_out+a),t.next_out),t.next_out+=a,e.pending_out+=a,t.total_out+=a,t.avail_out-=a,e.pending-=a,0===e.pending&&(e.pending_out=0))},Ct=function(t,e){tt(t,t.block_start>=0?t.block_start:-1,t.strstart-t.block_start,e),t.block_start=t.strstart,St(t.strm)},Dt=function(t,e){t.pending_buf[t.pending++]=e},jt=function(t,e){t.pending_buf[t.pending++]=e>>>8&255,t.pending_buf[t.pending++]=255&e},Mt=function(t,e){var a,n,r=t.max_chain_length,i=t.strstart,s=t.prev_length,h=t.nice_match,l=t.strstart>t.w_size-kt?t.strstart-(t.w_size-kt):0,_=t.window,o=t.w_mask,d=t.prev,u=t.strstart+yt,f=_[i+s-1],c=_[i+s];t.prev_length>=t.good_match&&(r>>=2),h>t.lookahead&&(h=t.lookahead);do{if(_[(a=e)+s]===c&&_[a+s-1]===f&&_[a]===_[i]&&_[++a]===_[i+1]){i+=2,a++;do{}while(_[++i]===_[++a]&&_[++i]===_[++a]&&_[++i]===_[++a]&&_[++i]===_[++a]&&_[++i]===_[++a]&&_[++i]===_[++a]&&_[++i]===_[++a]&&_[++i]===_[++a]&&i<u);if(n=yt-(u-i),i=u-yt,n>s){if(t.match_start=e,s=n,n>=h)break;f=_[i+s-1],c=_[i+s]}}}while((e=d[e&o])>l&&0!=--r);return s<=t.lookahead?s:t.lookahead},Lt=function(t){var e,a,n,r,i,s,h,l,_,o,d=t.w_size;do{if(r=t.window_size-t.lookahead-t.strstart,t.strstart>=d+(d-kt)){t.window.set(t.window.subarray(d,d+d),0),t.match_start-=d,t.strstart-=d,t.block_start-=d,e=a=t.hash_size;do{n=t.head[--e],t.head[e]=n>=d?n-d:0}while(--a);e=a=d;do{n=t.prev[--e],t.prev[e]=n>=d?n-d:0}while(--a);r+=d}if(0===t.strm.avail_in)break;if(s=t.strm,h=t.window,l=t.strstart+t.lookahead,_=r,o=void 0,(o=s.avail_in)>_&&(o=_),a=0===o?0:(s.avail_in-=o,h.set(s.input.subarray(s.next_in,s.next_in+o),l),1===s.state.wrap?s.adler=K(s.adler,h,o,l):2===s.state.wrap&&(s.adler=O(s.adler,h,o,l)),s.next_in+=o,s.total_in+=o,o),t.lookahead+=a,t.lookahead+t.insert>=3)for(i=t.strstart-t.insert,t.ins_h=t.window[i],t.ins_h=Et(t,t.ins_h,t.window[i+1]);t.insert&&(t.ins_h=Et(t,t.ins_h,t.window[i+3-1]),t.prev[i&t.w_mask]=t.head[t.ins_h],t.head[t.ins_h]=i,i++,t.insert--,!(t.lookahead+t.insert<3)););}while(t.lookahead<kt&&0!==t.strm.avail_in)},Tt=function(t,e){for(var a,n;;){if(t.lookahead<kt){if(Lt(t),t.lookahead<kt&&e===nt)return 1;if(0===t.lookahead)break}if(a=0,t.lookahead>=3&&(t.ins_h=Et(t,t.ins_h,t.window[t.strstart+3-1]),a=t.prev[t.strstart&t.w_mask]=t.head[t.ins_h],t.head[t.ins_h]=t.strstart),0!==a&&t.strstart-a<=t.w_size-kt&&(t.match_length=Mt(t,a)),t.match_length>=3)if(n=et(t,t.strstart-t.match_start,t.match_length-3),t.lookahead-=t.match_length,t.match_length<=t.max_lazy_match&&t.lookahead>=3){t.match_length--;do{t.strstart++,t.ins_h=Et(t,t.ins_h,t.window[t.strstart+3-1]),a=t.prev[t.strstart&t.w_mask]=t.head[t.ins_h],t.head[t.ins_h]=t.strstart}while(0!=--t.match_length);t.strstart++}else t.strstart+=t.match_length,t.match_length=0,t.ins_h=t.window[t.strstart],t.ins_h=Et(t,t.ins_h,t.window[t.strstart+1]);else n=et(t,0,t.window[t.strstart]),t.lookahead--,t.strstart++;if(n&&(Ct(t,!1),0===t.strm.avail_out))return 1}return t.insert=t.strstart<2?t.strstart:2,e===st?(Ct(t,!0),0===t.strm.avail_out?3:4):t.last_lit&&(Ct(t,!1),0===t.strm.avail_out)?1:2},Ht=function(t,e){for(var a,n,r;;){if(t.lookahead<kt){if(Lt(t),t.lookahead<kt&&e===nt)return 1;if(0===t.lookahead)break}if(a=0,t.lookahead>=3&&(t.ins_h=Et(t,t.ins_h,t.window[t.strstart+3-1]),a=t.prev[t.strstart&t.w_mask]=t.head[t.ins_h],t.head[t.ins_h]=t.strstart),t.prev_length=t.match_length,t.prev_match=t.match_start,t.match_length=2,0!==a&&t.prev_length<t.max_lazy_match&&t.strstart-a<=t.w_size-kt&&(t.match_length=Mt(t,a),t.match_length<=5&&(t.strategy===ct||3===t.match_length&&t.strstart-t.match_start>4096)&&(t.match_length=2)),t.prev_length>=3&&t.match_length<=t.prev_length){r=t.strstart+t.lookahead-3,n=et(t,t.strstart-1-t.prev_match,t.prev_length-3),t.lookahead-=t.prev_length-1,t.prev_length-=2;do{++t.strstart<=r&&(t.ins_h=Et(t,t.ins_h,t.window[t.strstart+3-1]),a=t.prev[t.strstart&t.w_mask]=t.head[t.ins_h],t.head[t.ins_h]=t.strstart)}while(0!=--t.prev_length);if(t.match_available=0,t.match_length=2,t.strstart++,n&&(Ct(t,!1),0===t.strm.avail_out))return 1}else if(t.match_available){if((n=et(t,0,t.window[t.strstart-1]))&&Ct(t,!1),t.strstart++,t.lookahead--,0===t.strm.avail_out)return 1}else t.match_available=1,t.strstart++,t.lookahead--}return t.match_available&&(n=et(t,0,t.window[t.strstart-1]),t.match_available=0),t.insert=t.strstart<2?t.strstart:2,e===st?(Ct(t,!0),0===t.strm.avail_out?3:4):t.last_lit&&(Ct(t,!1),0===t.strm.avail_out)?1:2};function Rt(t,e,a,n,r){this.good_length=t,this.max_lazy=e,this.nice_length=a,this.max_chain=n,this.func=r}var Kt=[new Rt(0,0,0,0,(function(t,e){var a=65535;for(a>t.pending_buf_size-5&&(a=t.pending_buf_size-5);;){if(t.lookahead<=1){if(Lt(t),0===t.lookahead&&e===nt)return 1;if(0===t.lookahead)break}t.strstart+=t.lookahead,t.lookahead=0;var n=t.block_start+a;if((0===t.strstart||t.strstart>=n)&&(t.lookahead=t.strstart-n,t.strstart=n,Ct(t,!1),0===t.strm.avail_out))return 1;if(t.strstart-t.block_start>=t.w_size-kt&&(Ct(t,!1),0===t.strm.avail_out))return 1}return t.insert=0,e===st?(Ct(t,!0),0===t.strm.avail_out?3:4):(t.strstart>t.block_start&&(Ct(t,!1),t.strm.avail_out),1)})),new Rt(4,4,8,4,Tt),new Rt(4,5,16,8,Tt),new Rt(4,6,32,32,Tt),new Rt(4,4,16,16,Ht),new Rt(8,16,32,32,Ht),new Rt(8,16,128,128,Ht),new Rt(8,32,128,256,Ht),new Rt(32,128,258,1024,Ht),new Rt(32,258,258,4096,Ht)];function Nt(){this.strm=null,this.status=0,this.pending_buf=null,this.pending_buf_size=0,this.pending_out=0,this.pending=0,this.wrap=0,this.gzhead=null,this.gzindex=0,this.method=mt,this.last_flush=-1,this.w_size=0,this.w_bits=0,this.w_mask=0,this.window=null,this.window_size=0,this.prev=null,this.head=null,this.ins_h=0,this.hash_size=0,this.hash_bits=0,this.hash_mask=0,this.hash_shift=0,this.block_start=0,this.match_length=0,this.prev_match=0,this.match_available=0,this.strstart=0,this.match_start=0,this.lookahead=0,this.prev_length=0,this.max_chain_length=0,this.max_lazy_match=0,this.level=0,this.strategy=0,this.good_match=0,this.nice_match=0,this.dyn_ltree=new Uint16Array(1146),this.dyn_dtree=new Uint16Array(122),this.bl_tree=new Uint16Array(78),Bt(this.dyn_ltree),Bt(this.dyn_dtree),Bt(this.bl_tree),this.l_desc=null,this.d_desc=null,this.bl_desc=null,this.bl_count=new Uint16Array(16),this.heap=new Uint16Array(573),Bt(this.heap),this.heap_len=0,this.heap_max=0,this.depth=new Uint16Array(573),Bt(this.depth),this.l_buf=0,this.lit_bufsize=0,this.last_lit=0,this.d_buf=0,this.opt_len=0,this.static_len=0,this.matches=0,this.insert=0,this.bi_buf=0,this.bi_valid=0}var Ot=function(t){if(!t||!t.state)return Ut(t,ot);t.total_in=t.total_out=0,t.data_type=bt;var e=t.state;return e.pending=0,e.pending_out=0,e.wrap<0&&(e.wrap=-e.wrap),e.status=e.wrap?42:xt,t.adler=2===e.wrap?0:1,e.last_flush=nt,Z(e),lt},qt=function(t){var e,a=Ot(t);return a===lt&&((e=t.state).window_size=2*e.w_size,Bt(e.head),e.max_lazy_match=Kt[e.level].max_lazy,e.good_match=Kt[e.level].good_length,e.nice_match=Kt[e.level].nice_length,e.max_chain_length=Kt[e.level].max_chain,e.strstart=0,e.block_start=0,e.lookahead=0,e.insert=0,e.match_length=e.prev_length=2,e.match_available=0,e.ins_h=0),a},Ft=function(t,e,a,n,r,i){if(!t)return ot;var s=1;if(e===ft&&(e=6),n<0?(s=0,n=-n):n>15&&(s=2,n-=16),r<1||r>9||a!==mt||n<8||n>15||e<0||e>9||i<0||i>wt)return Ut(t,ot);8===n&&(n=9);var h=new Nt;return t.state=h,h.strm=t,h.wrap=s,h.gzhead=null,h.w_bits=n,h.w_size=1<<h.w_bits,h.w_mask=h.w_size-1,h.hash_bits=r+7,h.hash_size=1<<h.hash_bits,h.hash_mask=h.hash_size-1,h.hash_shift=~~((h.hash_bits+3-1)/3),h.window=new Uint8Array(2*h.w_size),h.head=new Uint16Array(h.hash_size),h.prev=new Uint16Array(h.w_size),h.lit_bufsize=1<<r+6,h.pending_buf_size=4*h.lit_bufsize,h.pending_buf=new Uint8Array(h.pending_buf_size),h.d_buf=1*h.lit_bufsize,h.l_buf=3*h.lit_bufsize,h.level=e,h.strategy=i,h.method=a,qt(t)},Gt={deflateInit:function(t,e){return Ft(t,e,mt,15,8,vt)},deflateInit2:Ft,deflateReset:qt,deflateResetKeep:Ot,deflateSetHeader:function(t,e){return t&&t.state?2!==t.state.wrap?ot:(t.state.gzhead=e,lt):ot},deflate:function(t,e){var a,n;if(!t||!t.state||e>ht||e<0)return t?Ut(t,ot):ot;var r=t.state;if(!t.output||!t.input&&0!==t.avail_in||r.status===At&&e!==st)return Ut(t,0===t.avail_out?ut:ot);r.strm=t;var i=r.last_flush;if(r.last_flush=e,42===r.status)if(2===r.wrap)t.adler=0,Dt(r,31),Dt(r,139),Dt(r,8),r.gzhead?(Dt(r,(r.gzhead.text?1:0)+(r.gzhead.hcrc?2:0)+(r.gzhead.extra?4:0)+(r.gzhead.name?8:0)+(r.gzhead.comment?16:0)),Dt(r,255&r.gzhead.time),Dt(r,r.gzhead.time>>8&255),Dt(r,r.gzhead.time>>16&255),Dt(r,r.gzhead.time>>24&255),Dt(r,9===r.level?2:r.strategy>=pt||r.level<2?4:0),Dt(r,255&r.gzhead.os),r.gzhead.extra&&r.gzhead.extra.length&&(Dt(r,255&r.gzhead.extra.length),Dt(r,r.gzhead.extra.length>>8&255)),r.gzhead.hcrc&&(t.adler=O(t.adler,r.pending_buf,r.pending,0)),r.gzindex=0,r.status=69):(Dt(r,0),Dt(r,0),Dt(r,0),Dt(r,0),Dt(r,0),Dt(r,9===r.level?2:r.strategy>=pt||r.level<2?4:0),Dt(r,3),r.status=xt);else{var s=mt+(r.w_bits-8<<4)<<8;s|=(r.strategy>=pt||r.level<2?0:r.level<6?1:6===r.level?2:3)<<6,0!==r.strstart&&(s|=32),s+=31-s%31,r.status=xt,jt(r,s),0!==r.strstart&&(jt(r,t.adler>>>16),jt(r,65535&t.adler)),t.adler=1}if(69===r.status)if(r.gzhead.extra){for(a=r.pending;r.gzindex<(65535&r.gzhead.extra.length)&&(r.pending!==r.pending_buf_size||(r.gzhead.hcrc&&r.pending>a&&(t.adler=O(t.adler,r.pending_buf,r.pending-a,a)),St(t),a=r.pending,r.pending!==r.pending_buf_size));)Dt(r,255&r.gzhead.extra[r.gzindex]),r.gzindex++;r.gzhead.hcrc&&r.pending>a&&(t.adler=O(t.adler,r.pending_buf,r.pending-a,a)),r.gzindex===r.gzhead.extra.length&&(r.gzindex=0,r.status=73)}else r.status=73;if(73===r.status)if(r.gzhead.name){a=r.pending;do{if(r.pending===r.pending_buf_size&&(r.gzhead.hcrc&&r.pending>a&&(t.adler=O(t.adler,r.pending_buf,r.pending-a,a)),St(t),a=r.pending,r.pending===r.pending_buf_size)){n=1;break}n=r.gzindex<r.gzhead.name.length?255&r.gzhead.name.charCodeAt(r.gzindex++):0,Dt(r,n)}while(0!==n);r.gzhead.hcrc&&r.pending>a&&(t.adler=O(t.adler,r.pending_buf,r.pending-a,a)),0===n&&(r.gzindex=0,r.status=91)}else r.status=91;if(91===r.status)if(r.gzhead.comment){a=r.pending;do{if(r.pending===r.pending_buf_size&&(r.gzhead.hcrc&&r.pending>a&&(t.adler=O(t.adler,r.pending_buf,r.pending-a,a)),St(t),a=r.pending,r.pending===r.pending_buf_size)){n=1;break}n=r.gzindex<r.gzhead.comment.length?255&r.gzhead.comment.charCodeAt(r.gzindex++):0,Dt(r,n)}while(0!==n);r.gzhead.hcrc&&r.pending>a&&(t.adler=O(t.adler,r.pending_buf,r.pending-a,a)),0===n&&(r.status=zt)}else r.status=zt;if(r.status===zt&&(r.gzhead.hcrc?(r.pending+2>r.pending_buf_size&&St(t),r.pending+2<=r.pending_buf_size&&(Dt(r,255&t.adler),Dt(r,t.adler>>8&255),t.adler=0,r.status=xt)):r.status=xt),0!==r.pending){if(St(t),0===t.avail_out)return r.last_flush=-1,lt}else if(0===t.avail_in&&It(e)<=It(i)&&e!==st)return Ut(t,ut);if(r.status===At&&0!==t.avail_in)return Ut(t,ut);if(0!==t.avail_in||0!==r.lookahead||e!==nt&&r.status!==At){var h=r.strategy===pt?function(t,e){for(var a;;){if(0===t.lookahead&&(Lt(t),0===t.lookahead)){if(e===nt)return 1;break}if(t.match_length=0,a=et(t,0,t.window[t.strstart]),t.lookahead--,t.strstart++,a&&(Ct(t,!1),0===t.strm.avail_out))return 1}return t.insert=0,e===st?(Ct(t,!0),0===t.strm.avail_out?3:4):t.last_lit&&(Ct(t,!1),0===t.strm.avail_out)?1:2}(r,e):r.strategy===gt?function(t,e){for(var a,n,r,i,s=t.window;;){if(t.lookahead<=yt){if(Lt(t),t.lookahead<=yt&&e===nt)return 1;if(0===t.lookahead)break}if(t.match_length=0,t.lookahead>=3&&t.strstart>0&&(n=s[r=t.strstart-1])===s[++r]&&n===s[++r]&&n===s[++r]){i=t.strstart+yt;do{}while(n===s[++r]&&n===s[++r]&&n===s[++r]&&n===s[++r]&&n===s[++r]&&n===s[++r]&&n===s[++r]&&n===s[++r]&&r<i);t.match_length=yt-(i-r),t.match_length>t.lookahead&&(t.match_length=t.lookahead)}if(t.match_length>=3?(a=et(t,1,t.match_length-3),t.lookahead-=t.match_length,t.strstart+=t.match_length,t.match_length=0):(a=et(t,0,t.window[t.strstart]),t.lookahead--,t.strstart++),a&&(Ct(t,!1),0===t.strm.avail_out))return 1}return t.insert=0,e===st?(Ct(t,!0),0===t.strm.avail_out?3:4):t.last_lit&&(Ct(t,!1),0===t.strm.avail_out)?1:2}(r,e):Kt[r.level].func(r,e);if(3!==h&&4!==h||(r.status=At),1===h||3===h)return 0===t.avail_out&&(r.last_flush=-1),lt;if(2===h&&(e===rt?at(r):e!==ht&&($(r,0,0,!1),e===it&&(Bt(r.head),0===r.lookahead&&(r.strstart=0,r.block_start=0,r.insert=0))),St(t),0===t.avail_out))return r.last_flush=-1,lt}return e!==st?lt:r.wrap<=0?_t:(2===r.wrap?(Dt(r,255&t.adler),Dt(r,t.adler>>8&255),Dt(r,t.adler>>16&255),Dt(r,t.adler>>24&255),Dt(r,255&t.total_in),Dt(r,t.total_in>>8&255),Dt(r,t.total_in>>16&255),Dt(r,t.total_in>>24&255)):(jt(r,t.adler>>>16),jt(r,65535&t.adler)),St(t),r.wrap>0&&(r.wrap=-r.wrap),0!==r.pending?lt:_t)},deflateEnd:function(t){if(!t||!t.state)return ot;var e=t.state.status;return 42!==e&&69!==e&&73!==e&&91!==e&&e!==zt&&e!==xt&&e!==At?Ut(t,ot):(t.state=null,e===xt?Ut(t,dt):lt)},deflateSetDictionary:function(t,e){var a=e.length;if(!t||!t.state)return ot;var n=t.state,r=n.wrap;if(2===r||1===r&&42!==n.status||n.lookahead)return ot;if(1===r&&(t.adler=K(t.adler,e,a,0)),n.wrap=0,a>=n.w_size){0===r&&(Bt(n.head),n.strstart=0,n.block_start=0,n.insert=0);var i=new Uint8Array(n.w_size);
1i.set(e.subarray(a-n.w_size,a),0),e=i,a=n.w_size}var s=t.avail_in,h=t.next_in,l=t.input;for(t.avail_in=a,t.next_in=0,t.input=e,Lt(n);n.lookahead>=3;){var _=n.strstart,o=n.lookahead-2;do{n.ins_h=Et(n,n.ins_h,n.window[_+3-1]),n.prev[_&n.w_mask]=n.head[n.ins_h],n.head[n.ins_h]=_,_++}while(--o);n.strstart=_,n.lookahead=2,Lt(n)}return n.strstart+=n.lookahead,n.block_start=n.strstart,n.insert=n.lookahead,n.lookahead=0,n.match_length=n.prev_length=2,n.match_available=0,t.next_in=h,t.input=l,t.avail_in=s,n.wrap=r,lt},deflateInfo:"pako deflate (from Nodeca project)"};for(var Jt=new Uint8Array(256),Pt=0;Pt<256;Pt++)Jt[Pt]=Pt>=252?6:Pt>=248?5:Pt>=240?4:Pt>=224?3:Pt>=192?2:1;Jt[254]=Jt[254]=1;var Qt=function(){this.input=null,this.next_in=0,this.avail_in=0,this.total_in=0,this.output=null,this.next_out=0,this.avail_out=0,this.total_out=0,this.msg="",this.state=null,this.data_type=2,this.adler=0},Vt=Object.prototype.toString,Wt=F,Xt=G,Yt=J,Zt=P,$t=Q,te=V,ee=W,ae=X,ne=Y;function re(){this.options={level:ee,method:ne,chunkSize:16384,windowBits:15,memLevel:8,strategy:ae};var t=this.options;t.raw&&t.windowBits>0?t.windowBits=-t.windowBits:t.gzip&&t.windowBits>0&&t.windowBits<16&&(t.windowBits+=16),this.err=0,this.msg="",this.ended=!1,this.chunks=[],this.strm=new Qt,this.strm.avail_out=0;var e=Gt.deflateInit2(this.strm,t.level,t.method,t.windowBits,t.memLevel,t.strategy);if(e!==$t)throw new Error(q[e]);if(t.header&&Gt.deflateSetHeader(this.strm,t.header),t.dictionary){var a;if(a="[object ArrayBuffer]"===Vt.call(t.dictionary)?new Uint8Array(t.dictionary):t.dictionary,(e=Gt.deflateSetDictionary(this.strm,a))!==$t)throw new Error(q[e]);this._dict_set=!0}}function ie(t,e,a){try{t.postMessage({type:"errored",error:e,streamId:a})}catch(n){t.postMessage({type:"errored",error:String(e),streamId:a})}}function se(t){var e=t.strm.adler;return new Uint8Array([3,0,e>>>24&255,e>>>16&255,e>>>8&255,255&e])}re.prototype.push=function(t,e){var a,n,r=this.strm,i=this.options.chunkSize;if(this.ended)return!1;for(n=e===~~e?e:!0===e?Zt:Wt,"[object ArrayBuffer]"===Vt.call(t)?r.input=new Uint8Array(t):r.input=t,r.next_in=0,r.avail_in=r.input.length;;)if(0===r.avail_out&&(r.output=new Uint8Array(i),r.next_out=0,r.avail_out=i),(n===Xt||n===Yt)&&r.avail_out<=6)this.onData(r.output.subarray(0,r.next_out)),r.avail_out=0;else{if((a=Gt.deflate(r,n))===te)return r.next_out>0&&this.onData(r.output.subarray(0,r.next_out)),a=Gt.deflateEnd(this.strm),this.onEnd(a),this.ended=!0,a===$t;if(0!==r.avail_out){if(n>0&&r.next_out>0)this.onData(r.output.subarray(0,r.next_out)),r.avail_out=0;else if(0===r.avail_in)break}else this.onData(r.output)}return!0},re.prototype.onData=function(t){this.chunks.push(t)},re.prototype.onEnd=function(t){t===$t&&(this.result=function(t){for(var e=0,a=0,n=t.length;a<n;a++)e+=t[a].length;for(var r=new Uint8Array(e),i=0,s=0,h=t.length;i<h;i++){var l=t[i];r.set(l,s),s+=l.length}return r}(this.chunks)),this.chunks=[],this.err=t,this.msg=this.strm.msg},function(e){void 0===e&&(e=self);try{var a=new Map;e.addEventListener("message",(function(n){try{var r=function(e,a){switch(a.action){case"init":return{type:"initialized",version:"5.35.1"};case"write":var n=e.get(a.streamId);n||(n=new re,e.set(a.streamId,n));var r=n.chunks.length,i=function(t){if("function"==typeof TextEncoder&&TextEncoder.prototype.encode)return(new TextEncoder).encode(t);var e,a,n,r,i,s=t.length,h=0;for(r=0;r<s;r++)55296==(64512&(a=t.charCodeAt(r)))&&r+1<s&&56320==(64512&(n=t.charCodeAt(r+1)))&&(a=65536+(a-55296<<10)+(n-56320),r++),h+=a<128?1:a<2048?2:a<65536?3:4;for(e=new Uint8Array(h),i=0,r=0;i<h;r++)55296==(64512&(a=t.charCodeAt(r)))&&r+1<s&&56320==(64512&(n=t.charCodeAt(r+1)))&&(a=65536+(a-55296<<10)+(n-56320),r++),a<128?e[i++]=a:a<2048?(e[i++]=192|a>>>6,e[i++]=128|63&a):a<65536?(e[i++]=224|a>>>12,e[i++]=128|a>>>6&63,e[i++]=128|63&a):(e[i++]=240|a>>>18,e[i++]=128|a>>>12&63,e[i++]=128|a>>>6&63,e[i++]=128|63&a);return e}(a.data);return n.push(i,G),{type:"wrote",id:a.id,streamId:a.streamId,result:t(n.chunks.slice(r)),trailer:se(n),additionalBytesCount:i.length};case"reset":e.delete(a.streamId)}}(a,n.data);r&&e.postMessage(r)}catch(t){ie(e,t,n.data&&"streamId"in n.data?n.data.streamId:void 0)}}))}catch(t){ie(e,t)}}()}();'])))}var aV={status:0};function a$(e,t,r,n){switch(void 0===n&&(n=aj),0===aV.status&&function(e,t,r){void 0===r&&(r=aj);try{var n=r(e),i=nx(e,n,"error",function(r){aH(e,t,r)}).stop,o=nx(e,n,"message",function(r){var n,i=r.data;
1"errored"===i.type?aH(e,t,i.error,i.streamId):"initialized"===i.type&&(n=i.version,1===aV.status&&(aV={status:3,worker:aV.worker,stop:aV.stop,version:n}))}).stop;n.postMessage({action:"init"}),rf(function(){var e;return e=t,void(1===aV.status&&(tX.error("".concat(e," failed to start: a timeout occurred while initializing the Worker")),aV.initializationFailureCallbacks.forEach(function(e){return e()}),aV={status:2}))},3e4),aV={status:1,worker:n,stop:function(){i(),o()},initializationFailureCallbacks:[]}}catch(r){aH(e,t,r)}}(e,t,n),aV.status){case 1:return aV.initializationFailureCallbacks.push(r),aV.worker;case 3:return aV.worker}}function aH(e,t,r,n){if(1===aV.status||0===aV.status){var i;if(tX.error("".concat(t," failed to start: an error occurred while creating the Worker:"),r),r instanceof Event||r instanceof Error&&(t9(i=r.message,"Content Security Policy")||t9(i,"requires 'TrustedScriptURL'"))){var o=void 0;o=e.workerUrl?"Please make sure the Worker URL ".concat(e.workerUrl," is correct and CSP is correctly configured."):"Please make sure CSP is correctly configured.",tX.error("".concat(o," See documentation at ").concat(tQ,"/integrations/content_security_policy_logs/#use-csp-with-real-user-monitoring-and-session-replay"))}else ny(r);1===aV.status&&aV.initializationFailureCallbacks.forEach(function(e){return e()}),aV={status:2}}else ny(r,{worker_version:3===aV.status&&aV.version,stream_id:n})}function aG(){return"function"==typeof Array.from&&"function"==typeof CSSSupportsRule&&"function"==typeof URL.createObjectURL&&"forEach"in NodeList.prototype}var aW=function(e,t,r){void 0===r&&(r={});var n=nE(0),i=nb(n.getOrCreateTracker(2)),o=nb(n.getOrCreateTracker(1)),s=nO(),a={vitalsByName:new Map,vitalsByReference:new WeakMap};function l(){return{context:i.getContext(),user:o.getContext(),hasReplay:!!t.isRecording()||void 0}}var c=function(e,t,r,n,i){var o,s,a,l,c=e.ignoreInitIfSyntheticsWillInjectRum,u=e.startDeflateWorker,d=nl(),f=r.observable.subscribe(h);function h(){if(a&&l&&r.isGranted()){if(f.unsubscribe(),l.trackViewsManually){if(!o)return;d.remove(o.callback),e=o.options}var e,t=i(l,s,e);d.drain(t)}}function p(e){var t,n,i,o,c,d,f,p=nJ();if(p&&(e=ro({},t=e,{applicationId:"00000000-aaaa-0000-aaaa-000000000000",clientToken:"empty",sessionSampleRate:100,defaultPrivacyLevel:null!=(n=t.defaultPrivacyLevel)?n:null==(i=nW())?void 0:i.getPrivacyLevel()})),a=e,nv((d=iM(o=e),ro({session_replay_sample_rate:o.sessionReplaySampleRate,start_session_replay_recording_manually:o.startSessionReplayRecordingManually,trace_sample_rate:o.traceSampleRate,trace_context_injection:o.traceContextInjection,action_name_attribute:o.actionNameAttribute,use_allowed_tracing_urls:Array.isArray(o.allowedTracingUrls)&&o.allowedTracingUrls.length>0,selected_tracing_propagators:(f=new Set,Array.isArray(o.allowedTracingUrls)&&o.allowedTracingUrls.length>0&&o.allowedTracingUrls.forEach(function(e){op(e)?oE.forEach(function(e){return f.add(e)}):"object"===nr(e)&&Array.isArray(e.propagatorTypes)&&e.propagatorTypes.forEach(function(e){return f.add(e)})}),re(f)),default_privacy_level:o.defaultPrivacyLevel,enable_privacy_for_action_name:o.enablePrivacyForActionName,use_excluded_activity_urls:Array.isArray(o.excludedActivityUrls)&&o.excludedActivityUrls.length>0,use_worker_url:!!o.workerUrl,compress_intake_requests:o.compressIntakeRequests,track_views_manually:o.trackViewsManually,track_user_interactions:o.trackUserInteractions,track_resources:o.trackResources,track_long_task:o.trackLongTasks,plugins:null==(c=o.plugins)?void 0:c.map(function(e){var t;return ro({name:e.name},null==(t=e.getConfigurationTelemetry)?void 0:t.call(e))})},d))),l)return void nA("DD_RUM",e);var m=function(e){if(!e.applicationId)return void tX.error("Application ID is not configured, no RUM data will be collected.");if(iT(e.sessionReplaySampleRate,"Session Replay")&&iT(e.traceSampleRate,"Trace")){if(void 0!==e.excludedActivityUrls&&!Array.isArray(e.excludedActivityUrls))return void tX.error("Excluded Activity Urls should be an array");var t,r,n,i=function(e){if(void 0===e.allowedTracingUrls)return[];if(!Array.isArray(e.allowedTracingUrls))return void tX.error("Allowed Tracing URLs should be an array");if(0!==e.allowedTracingUrls.length&&void 0===e.service)return void tX.error("Service needs to be configured when tracing is enabled");var t=[];
1return e.allowedTracingUrls.forEach(function(e){if(op(e))t.push({match:e,propagatorTypes:oE});else"object"===nr(e)&&op(e.match)&&Array.isArray(e.propagatorTypes)?t.push(e):tX.warn("Allowed Tracing Urls parameters should be a string, RegExp, function, or an object. Ignoring parameter",e)}),t}(e);if(i){var o=iA(e);if(o){var s=null!=(t=e.sessionReplaySampleRate)?t:0;return ro({applicationId:e.applicationId,version:e.version||void 0,actionNameAttribute:e.actionNameAttribute,sessionReplaySampleRate:s,startSessionReplayRecordingManually:void 0!==e.startSessionReplayRecordingManually?!!e.startSessionReplayRecordingManually:0===s,traceSampleRate:null!=(r=e.traceSampleRate)?r:100,rulePsr:r1(e.traceSampleRate)?e.traceSampleRate/100:void 0,allowedTracingUrls:i,excludedActivityUrls:null!=(n=e.excludedActivityUrls)?n:[],workerUrl:e.workerUrl,compressIntakeRequests:!!e.compressIntakeRequests,trackUserInteractions:!!e.trackUserInteractions,trackViewsManually:!!e.trackViewsManually,trackResources:!!e.trackResources,trackLongTasks:!!e.trackLongTasks,subdomain:e.subdomain,defaultPrivacyLevel:r$(ix,e.defaultPrivacyLevel)?e.defaultPrivacyLevel:ix.MASK,enablePrivacyForActionName:!!e.enablePrivacyForActionName,customerDataTelemetrySampleRate:1,traceContextInjection:r$(ik,e.traceContextInjection)?e.traceContextInjection:ik.ALL,plugins:e.plugins||[]},o)}}}}(e);if(m){if(!p&&!m.sessionStoreStrategyType)return void tX.warn("No storage available for session. We will not send any data.");if(m.compressIntakeRequests&&!p&&u&&!(s=u(m,"Datadog RUM",ry)))return;l=m,n0().subscribe(ry),r.tryToInit(m.trackingConsent),h()}}var m=function(e){d.add(function(t){return t.addDurationVital(e)})};return{init:function(e,t){if(!e)return void tX.error("Missing configuration");if(rW(e.enableExperimentalFeatures),a=e,!(c&&iz()))if(!function(e,t,r){if(e)for(var n=0;n<e.length;n++){var i=e[n][t];i&&i(r)}}(e.plugins,"onInit",{initConfiguration:e,publicApi:t}),e.remoteConfigurationId&&rq(C.REMOTE_CONFIGURATION)){var r,n,i;r=e,n=function(t){p(ro({},e,t))},nx(r,i=new XMLHttpRequest,"load",function(){200===i.status?n(JSON.parse(i.responseText)):oC()}),nx(r,i,"error",function(){oC()}),i.open("GET","".concat("https://d3uc069fcn7uxw.cloudfront.net/configuration","/").concat(encodeURIComponent(r.remoteConfigurationId),".json")),i.send()}else p(e)},get initConfiguration(){return a},getInternalContext:ry,stopSession:ry,addTiming:function(e,t){void 0===t&&(t=r5()),d.add(function(r){return r.addTiming(e,t)})},startView:function(e,t){void 0===t&&(t=r7());var r=function(r){r.startView(e,t)};d.add(r),o||(o={options:e,callback:r},h())},setViewName:function(e){d.add(function(t){return t.setViewName(e)})},setViewContext:function(e){d.add(function(t){return t.setViewContext(e)})},setViewContextProperty:function(e,t){d.add(function(r){return r.setViewContextProperty(e,t)})},addAction:function(e,r){void 0===r&&(r=t()),d.add(function(t){return t.addAction(e,r)})},addError:function(e,r){void 0===r&&(r=t()),d.add(function(t){return t.addError(e,r)})},addFeatureFlagEvaluation:function(e,t){d.add(function(r){return r.addFeatureFlagEvaluation(e,t)})},startDurationVital:function(e,t){return of(n,e,t)},stopDurationVital:function(e,t){oh(m,n,e,t)},addDurationVital:m}}(r,l,s,a,function(u,d,f){u.storeContextsAcrossPages&&(nT(u,i,"rum",2),nT(u,o,"rum",1)),n.setCompressionStatus(d?1:2);var h,p,m=e(u,t,n,l,f,d&&r.createDeflateEncoder?function(e){return r.createDeflateEncoder(u,d,e)}:i9,s,a);return t.onRumStart(m.lifeCycle,u,m.session,m.viewHistory,d),h=c,p=m,c=ro({init:function(e){nA("DD_RUM",e)},initConfiguration:h.initConfiguration},p),m}),u=t5(function(e){var t="object"==typeof e?e:{name:e};t.context&&n.getOrCreateTracker(3).updateCustomerData(t.context),c.startView(t),nw({feature:"start-view"})}),d=rs({init:t5(function(e){c.init(e,d)}),setTrackingConsent:t5(function(e){s.update(e),nw({feature:"set-tracking-consent",tracking_consent:e})}),setViewName:t5(function(e){c.setViewName(e)}),setViewContext:t5(function(e){c.setViewContext(e)}),setViewContextProperty:t5(function(e,t){c.setViewContextProperty(e,t)}),setGlobalContext:t5(function(e){i.setContext(e),nw({feature:"set-global-context"})}),getGlobalContext:t5(function(){return i.getContext()}),setGlobalContextProperty:t5(function(e,t){i.setContextProperty(e,t),nw({feature:"set-global-context"})}),removeGlobalContextProperty:t5(function(e){return i.removeContextProperty(e)}),clearGlobalContext:t5(function(){return i.clearContext()}),getInternalContext:t5(function(e){return c.getInternalContext(e)}
1),getInitConfiguration:t5(function(){return ni(c.initConfiguration)}),addAction:function(e,t){var r=rD();t8(function(){c.addAction({name:rb(e),context:rb(t),startClocks:r7(),type:"custom",handlingStack:r}),nw({feature:"add-action"})})},addError:function(e,t){var r=rD();t8(function(){c.addError({error:e,handlingStack:r,context:rb(t),startClocks:r7()}),nw({feature:"add-error"})})},addTiming:t5(function(e,t){c.addTiming(rb(e),t)}),setUser:t5(function(e){nS(e)&&o.setContext(n_(e)),nw({feature:"set-user"})}),getUser:t5(function(){return o.getContext()}),setUserProperty:t5(function(e,t){var r,n=n_(((r={})[e]=t,r))[e];o.setContextProperty(e,n),nw({feature:"set-user"})}),removeUserProperty:t5(function(e){return o.removeContextProperty(e)}),clearUser:t5(function(){return o.clearContext()}),startView:u,stopSession:t5(function(){c.stopSession(),nw({feature:"stop-session"})}),addFeatureFlagEvaluation:t5(function(e,t){c.addFeatureFlagEvaluation(rb(e),rb(t)),nw({feature:"add-feature-flag-evaluation"})}),getSessionReplayLink:t5(function(){return t.getSessionReplayLink()}),startSessionReplayRecording:t5(function(e){t.start(e),nw({feature:"start-session-replay-recording",force:e&&e.force})}),stopSessionReplayRecording:t5(function(){return t.stop()}),addDurationVital:t5(function(e,t){var r;nw({feature:"add-duration-vital"}),c.addDurationVital({name:rb(e),type:"duration",startClocks:{relative:(r=t.startTime)-ne(),timeStamp:r},duration:t.duration,context:rb(t&&t.context),description:rb(t&&t.description)})}),startDurationVital:t5(function(e,t){return nw({feature:"start-duration-vital"}),c.startDurationVital(rb(e),{context:rb(t&&t.context),description:rb(t&&t.description)})}),stopDurationVital:t5(function(e,t){nw({feature:"stop-duration-vital"}),c.stopDurationVital("string"==typeof e?rb(e):e,{context:rb(t&&t.context),description:rb(t&&t.description)})})});return d}(function(e,t,r,n,i,o,s,a){var l,c,u,d,f,h,p,m,g,y,v,w,b=[],_=new i8;_.subscribe(13,function(e){return nt("rum",e)});var S=function(e){var t=nm("browser-rum-sdk",e);if(nJ()){var r=nW();t.observable.subscribe(function(e){return r.send("internal_telemetry",e)})}return t}(e);S.setContextProvider(function(){var t,r;return{application:{id:e.applicationId},session:{id:null==(t=T.findTrackedSession())?void 0:t.id},view:{id:null==(r=Z.findView())?void 0:r.id},action:{id:et.findActionId()}}});var E=function(e){_.notify(14,{error:e}),ng("Error reported to customer",{"error.message":e.message})},x=(A=r.getOrCreateTracker(0),M=i$({expireDelay:ie}),_.subscribe(1,function(e){var t=e.startClocks;M.add({},t.relative),A.resetCustomerData()}),_.subscribe(6,function(e){var t=e.endClocks;M.closeActive(t.relative)}),{findFeatureFlagEvaluations:function(e){return M.find(e)},addFeatureFlagEvaluation:function(e,t){var r=M.find();r&&(r[e]=t,A.updateCustomerData(r))},stop:function(){return A.stop()}}),k=iU(e),I=k.subscribe(function(e){_.notify(11,e)});b.push(function(){return I.unsubscribe()});var T=nJ()?(O={id:"00000000-aaaa-0000-aaaa-000000000000",sessionReplay:+!!nq("records")},{findTrackedSession:function(){return O},expire:ry,expireObservable:new rX,setForcedReplay:ry}):((R=iG(e,"rum",function(t){var r,n,i,o;return r=e,{trackingType:i="0"===(o=n=t)||"1"===o||"2"===o?n:rZ(r.sessionSampleRate)?rZ(r.sessionReplaySampleRate)?"1":"2":"0",isTracked:s7(i)}},s)).expireObservable.subscribe(function(){_.notify(9)}
1),R.renewObservable.subscribe(function(){_.notify(10)}),R.sessionStateUpdateObservable.subscribe(function(e){var t=e.previousState,r=e.newState;if(!t.forcedReplay&&r.forcedReplay){var n=R.findSession();n&&(n.isReplayForced=!0)}}),{findTrackedSession:function(e){var t=R.findSession(e);if(t&&s7(t.trackingType))return{id:t.id,sessionReplay:"1"===t.trackingType?1:2*!!t.isReplayForced,anonymousId:t.anonymousId}},expire:R.expire,expireObservable:R.expireObservable,setForcedReplay:function(){return R.updateSessionState({forcedReplay:"1"})}});if(nJ())P=nW(),_.subscribe(13,function(e){P.send("rum",e)});else{var A,M,O,R,P,D,N,L,z,B,j=(D=S.observable,N=T.expireObservable,L=e.replica,z=ou(e,{endpoint:e.rumEndpointBuilder,encoder:o(2)},L&&{endpoint:L.rumEndpointBuilder,transformMessage:function(e){return no(e,{application:{id:L.applicationId}})},encoder:o(3)},E,k,N),_.subscribe(13,function(e){"view"===e.type?z.upsert(e,e.view.id):z.add(e)}),D.subscribe(function(t){return z.add(t,e.site===rJ)}),z);b.push(function(){return j.stop()}),B=j.flushObservable,S.enabled&&rZ(e.customerDataTelemetrySampleRate)&&(ai(),ao(),_.subscribe(13,function(e){q=!0,ar(W.globalContextBytes,r.getOrCreateTracker(2).getBytesCount()),ar(W.userContextBytes,r.getOrCreateTracker(1).getBytesCount()),ar(W.featureFlagBytes,t9(["view","error"],e.type)?r.getOrCreateTracker(0).getBytesCount():0)}),B.subscribe(function(e){var t=e.bytesCount,r=e.messagesCount;q&&(G.batchCount+=1,ar(G.batchBytesCount,t),ar(G.batchMessagesCount,r),an(G.globalContextBytes,W.globalContextBytes),an(G.userContextBytes,W.userContextBytes),an(G.featureFlagBytes,W.featureFlagBytes),ao())}),rp(ae,1e4))}var V=(ef=ox(),new rX(function(e){if(ef){var t=new ef(t5(function(){return e.notify()}));return t.observe(document,{attributes:!0,characterData:!0,childList:!0,subtree:!0}),function(){return t.disconnect()}}})),H=(ep=rV(eh=location),new rX(function(t){var r,n,i,o,s,a=(r=e,n=c,i=nY(s9("pushState"),"pushState",function(e){(0,e.onPostCall)(n)}).stop,o=nY(s9("replaceState"),"replaceState",function(e){(0,e.onPostCall)(n)}).stop,s=nx(r,window,"popstate",n).stop,{stop:function(){i(),o(),s()}}).stop,l=nx(e,window,"hashchange",c).stop;function c(){if(ep.href!==eh.href){var e=rV(eh);t.notify({newLocation:e,oldLocation:ep}),ep=e}}return function(){a(),l()}})),J=function(e,t){void 0===t&&(t=500);var r,n=i$({expireDelay:ie,maxEntries:4e3});o(as(),r8());var i=nk(e,window,["pageshow","focus","blur","visibilitychange","resume","freeze","pagehide"],function(e){var t;o("freeze"===(t=e).type?"frozen":"pagehide"===t.type?t.persisted?"frozen":"terminated":as(),e.timeStamp)},{capture:!0}).stop;function o(e,t){void 0===t&&(t=r8()),e!==r&&(r=e,n.closeActive(t),n.add({state:r,startTime:t},t))}var s={findAll:function(e,r){var i=n.findAll(e,r);if(0!==i.length){for(var o=[],s=Math.max(0,i.length-t),a=i.length-1;a>=s;a--){var l=i[a],c=l.startTime-e;o.push({state:l.state,start:r3(c)})}return o}},wasInPageStateAt:function(e,t){return s.wasInPageStateDuringPeriod(e,t,0)},wasInPageStateDuringPeriod:function(e,t,r){return n.findAll(t,r).some(function(t){return t.state===e})},addPageState:o,stop:function(){i(),n.stop()}};return s}(e),Y=(em=new rX,eg=nY(window,"open",function(){return em.notify()}).stop,{observable:em,stop:eg}),K=Y.observable,X=Y.stop;b.push(X);var Q=function(e,t,r,n,i,o,s,a,l,c){var u,d,f,h,p,m,g,y,v,w,b,_,S,E,x,k,I,T,A=(d=i$({expireDelay:ie}),e.subscribe(1,function(e){var t;d.add({service:(t=e).service,version:t.version,context:t.context,id:t.id,name:t.name,startClocks:t.startClocks},e.startClocks.relative)}),e.subscribe(6,function(e){var t=e.endClocks;d.closeActive(t.relative)}),e.subscribe(3,function(e){var t=d.find(e.startClocks.relative);t&&e.name&&(t.name=e.name),t&&e.context&&(t.context=e.context)}),e.subscribe(10,function(){d.reset()}),{findView:function(e){return d.find(e)},stop:function(){d.stop()}}),M=function(e,t,r){var n,i=i$({expireDelay:ie});e.subscribe(1,function(e){var t=e.startClocks,o=r.href;i.add(s({url:o,referrer:n||document.referrer}),t.relative),n=o}),e.subscribe(6,function(e){var t=e.endClocks;i.closeActive(t.relative)});var o=t.subscribe(function(e){var t=e.newLocation,r=i.find();if(r){var n=r8();i.closeActive(n),i.add(s({url:t.href,referrer:r.referrer}),n)}});function s(e){return{url:e.url,referrer:e.referrer}}return{findUrl:function(e){return i.find(e)},stop:function(){o.unsubscribe(),i.stop()}}}(e,o,r),O=(e.subscribe(0,function(t){return e.notify(12,sD(t,i))}),h={findActionId:ry},p=ry,t.trackUserInteractions&&(h=(f=function(e,t,r,n){var i,o,s,a,l,c,u,d,f=i$({expireDelay:sP}),h=new rX;e.subscribe(10,function(){f.reset()}),e.subscribe(5,g);var p=(a=(i={onPointerDown:function(i){return function(e,t,r,n,i){var o=e.enablePrivacyF
1orActionName?st(n.target,e.defaultPrivacyLevel):o8.ALLOW;if(o!==o8.HIDDEN){var s,a=function(e,t,r){var n,i,o,s,a=e.target.getBoundingClientRect(),l=s_(e.target,r.actionNameAttribute);l&&sR(e.timeStamp,l);var c=(n=e.target,i=r.enablePrivacyForActionName,o=r.actionNameAttribute,(s=sc(n,sl)||o&&sc(n,o))?{name:s,nameSource:"custom_attribute"}:t===o8.MASK?{name:"Masked Element",nameSource:"mask_placeholder"}:sf(n,o,su,i)||sf(n,o,sd,i)||{name:"",nameSource:"blank"});return{type:"click",target:{width:Math.round(a.width),height:Math.round(a.height),selector:l},position:{x:Math.round(e.clientX-a.left),y:Math.round(e.clientY-a.top)},name:c.name,nameSource:c.nameSource}}(n,o,e),l=!1;return s=function(e){l=e.hadActivity},oJ(oY(t,r,i,e),s,100),{clickActionBase:a,hadActivityOnPointerDown:function(){return l}}}}(n,e,t,i,r)},onPointerUp:function(i,o,s){!function(e,t,r,n,i,o,s,a,l,c,u){var d,f,h=function e(t,r,n,i,o){var s,a=n1(),l=r7(),c=r.add(a,l.relative),u=oG({lifeCycle:t,isChildEvent:function(e){return void 0!==e.action&&(Array.isArray(e.action.id)?t9(e.action.id,a):e.action.id===a)}}),d=0,f=[],h=new rX;function p(e){0===d&&((d=1,s=e)?c.close(s-ne()):c.remove(),u.stop(),h.notify())}return{event:o,stop:p,stopObservable:h,get hasError(){return u.eventCounts.errorCount>0},get hasPageActivity(){return void 0!==s},getUserActivity:n,addFrustration:function(e){f.push(e)},startClocks:l,isStopped:function(){return 1===d||2===d},clone:function(){return e(t,r,n,i,o)},validate:function(e){if(p(),1===d){var r,n=u.eventCounts,c=n.resourceCount,h=n.errorCount,m=n.longTaskCount,g=ro({type:"click",duration:s&&(r=l.timeStamp,s-r),startClocks:l,id:a,frustrationTypes:f,counts:{resourceCount:c,errorCount:h,longTaskCount:m},events:null!=e?e:[o],event:o},i);t.notify(0,g),d=2}},discard:function(){p(),d=2}}}(t,i,c,a,l);s(h);var p=null==(f=null==a?void 0:a.target)?void 0:f.selector;p&&sR(l.timeStamp,p);var m=(d=function(e){e.hadActivity&&e.end<h.startClocks.timeStamp?h.discard():e.hadActivity?h.stop(e.end):u()?h.stop(h.startClocks.timeStamp):h.stop()},oJ(oY(t,r,n,e),d,1e4)).stop,g=t.subscribe(5,function(e){var t=e.endClocks;h.stop(t.timeStamp)}),y=o.subscribe(function(){h.stop()});h.stopObservable.subscribe(function(){g.unsubscribe(),m(),y.unsubscribe()})}(n,e,t,r,f,h,m,i.clickActionBase,o,s,i.hadActivityOnPointerDown)}}).onPointerDown,l=i.onPointerUp,c={selection:!1,input:!1,scroll:!1},u=[nx(n,window,"pointerdown",function(e){sA(e)&&(o=sT(),c={selection:!1,input:!1,scroll:!1},s=a(e))},{capture:!0}),nx(n,window,"selectionchange",function(){o&&sT()||(c.selection=!0)},{capture:!0}),nx(n,window,"scroll",function(){c.scroll=!0},{capture:!0,passive:!0}),nx(n,window,"pointerup",function(e){if(sA(e)&&s){var t=c;l(s,e,function(){return t}),s=void 0}},{capture:!0}),nx(n,window,"input",function(){c.input=!0},{capture:!0})],{stop:function(){u.forEach(function(e){return e.stop()})}}).stop;return{stop:function(){g(),h.notify(),p()},actionContexts:{findActionId:function(e){return f.findAll(e)}}};function m(e){if(!d||!d.tryAppend(e)){var t=e.clone();d=function(e,t){var r,n=[],i=0;function o(e){e.stopObservable.subscribe(s),n.push(e),rh(r),r=rf(a,1e3)}function s(){1===i&&n.every(function(e){return e.isStopped()})&&(i=2,t(n))}function a(){rh(r),0===i&&(i=1,s())}return o(e),{tryAppend:function(e){var t,r,s,l;return 0===i&&(!(n.length>0)||(t=n[n.length-1].event,r=e.event,t.target===r.target&&100>=(s=t,l=r,Math.sqrt(Math.pow(s.clientX-l.clientX,2)+Math.pow(s.clientY-l.clientY,2)))&&t.timeStamp-r.timeStamp<=1e3)?(o(e),!0):(a(),!1))},stop:function(){a()}}}(e,function(e){var r,n;(function(e,t){if(function(e){if(e.some(function(e){return e.getUserActivity().selection||e.getUserActivity().scroll}))return!1;for(var t=0;t<e.length-2;t+=1)if(e[t+3-1].event.timeStamp-e[t].event.timeStamp<=1e3)return!0;return!1}(e))return t.addFrustration("rage_click"),e.some(sM)&&t.addFrustration("dead_click"),t.hasError&&t.addFrustration("error_click"),{isRage:!0};var r=e.some(function(e){return e.getUserActivity().selection});return e.forEach(function(e){e.hasError&&e.addFrustration("error_click"),sM(e)&&!r&&e.addFrustration("dead_click")}),{isRage:!1}})(r=e,n=t).isRage?(r.forEach(function(e){return e.discard()}
1),n.stop(r5()),n.validate(r.map(function(e){return e.event}))):(n.discard(),r.forEach(function(e){return e.validate()}))})}}function g(){d&&d.stop()}}(e,s,a,t)).actionContexts,p=f.stop),{addAction:function(t,r){e.notify(12,ro({savedCommonContext:r},sD(t,i)))},actionContexts:h,stop:p}),R=(rq(C.DELAY_VIEWPORT_COLLECTION)?g=requestAnimationFrame(function(){m=s3()}):m=s3(),y=s2(t).subscribe(function(e){m=e}).unsubscribe,{get:function(){return m?{viewport:m}:void 0},stop:function(){y(),g&&cancelAnimationFrame(g)}}),P=(void 0===v&&(w=window.cookieStore?(u=t,function(e,t){return nx(u,window.cookieStore,"change",function(r){var n=rt(r.changed,function(t){return t.name===e})||rt(r.deleted,function(t){return t.name===e});n&&t(n.value)}).stop}):aa,v=new rX(function(e){return w(al,function(t){return e.notify(t)})})),_=n7(al)||(null==(b=window.Cypress)?void 0:b.env("traceId")),S=v.subscribe(function(e){_=e}),{get:function(){if("string"==typeof _)return{test_execution_id:_}},stop:function(){return S.unsubscribe()}});return E=O.actionContexts,(x={}).view=ro({},oA,oT),x.error=ro({"error.message":"string","error.stack":"string","error.resource.url":"string","error.fingerprint":"string"},oA,oT,oM),x.resource=ro({"resource.url":"string"},rq(C.WRITABLE_RESOURCE_GRAPHQL)?{"resource.graphql":"object"}:{},oA,oT,oM),x.action=ro({"action.target.name":"string"},oA,oT,oM),x.long_task=ro({},oA,oT),x.vital=ro({},oA,oT),F=x,(k={}).error=iq("error",t.eventRateLimiterThreshold,c),k.action=iq("action",t.eventRateLimiterThreshold,c),k.vital=iq("vital",t.eventRateLimiterThreshold,c),I=k,T=function(){var e=iB(),t=ij();if(e&&t)return{test_id:e,result_id:t,injected:iz()}}(),e.subscribe(12,function(r){var i=r.startTime,o=r.rawRumEvent,s=r.domainContext,a=r.savedCommonContext,c=r.customerContext,u=A.findView(i),d=M.findUrl(i),f=n.findTrackedSession(i);if(f&&u&&d){var h,p=a||l(),m=E.findActionId(i),g=no({_dd:{format_version:2,drift:Math.round(r6()-(h=ne(),h+performance.now())),configuration:{session_sample_rate:r0(t.sessionSampleRate,3),session_replay_sample_rate:r0(t.sessionReplaySampleRate,3)},browser_sdk_version:nJ()?"5.35.1":void 0},application:{id:t.applicationId},date:r5(),service:u.service||t.service,version:u.version||t.version,source:"browser",session:{id:f.id,type:T?"synthetics":P.get()?"ci_test":"user"},view:{id:u.id,name:u.name,url:d.url,referrer:d.referrer},action:-1!==["error","resource","long_task"].indexOf(o.type)&&m?{id:m}:void 0,synthetics:T,ci_test:P.get(),display:R.get(),connectivity:ns()},o);g.context=no(p.context,u.context,c),"has_replay"in g.session||(g.session.has_replay=p.hasReplay),"view"===g.type&&(g.session.sampled_for_replay=1===f.sessionReplay),rq(C.ANONYMOUS_USER_TRACKING)&&!p.user.anonymous_id&&(p.user.anonymous_id=f.anonymousId),rH(p.user)||(g.usr=p.user),function(e,t,r,n){if(t){var i,o,s,a,l=(i=F[e.type],s=t(o=ni(e),r),rn(i).forEach(function(t){var r=t[0],n=t[1],i=function(e,t){for(var r=e,n=0,i=t.split(".");n<i.length;n++){var o,s,a=i[n];if(o=r,s=a,!(oI(o)&&Object.prototype.hasOwnProperty.call(o,s)))return;r=r[a]}return r}(o,r),s=nr(i);s===n?ok(e,r,rb(i)):"object"===n&&("undefined"===s||"null"===s)&&ok(e,r,{})}),s);if(!1===l&&"view"!==e.type)return!1;!1===l&&tX.warn("Can't dismiss view events using beforeSend!")}return!(null==(a=n[e.type])?void 0:a.isLimitReached())}(g,t.beforeSend,s,I)&&(rH(g.context)&&delete g.context,e.notify(13,g))}}),{viewHistory:A,pageStateHistory:i,urlContexts:M,addAction:O.addAction,actionContexts:O.actionContexts,stop:function(){O.stop(),P.stop(),R.stop(),M.stop(),A.stop(),i.stop()}}}(_,e,location,T,J,H,V,K,n,E),Z=Q.viewHistory,ee=Q.urlContexts,et=Q.actionContexts,er=Q.addAction,en=Q.stop;b.push(en),nh.drain();var ei=(ey=location,_.subscribe(4,function(r){var n,i,o,s,a,l,c,u,d,f,h,p,m,g,y,v,w,b,S,E,C,k,I,T,A;return _.notify(12,(n=r,i=e,o=x,s=t,a=J,k=s.getReplayStats(n.id),I=o.findFeatureFlagEvaluations(n.startClocks.relative),T=a.findAll(n.startClocks.relative,n.duration),A={_dd:{document_version:n.documentVersion,replay_stats:k,page_states:T,configuration:{start_session_replay_recording_manually:i.startSessionReplayRecordingManually}},date:n.startClocks.timeStamp,type:"view",view:{action:{count:n.eventCounts.actionCount},frustration:{count:n.eventCounts.frustrationCount},cumulative_layout_shift:null==(l=n.commonViewMetrics.cumulativeLayoutShift)?void 0:l.value,cumulative_layout_shift_time:r3(null==(c=n.commonViewMetrics.cumulativeLayoutShift)?void 0:c.time),cumulative_layout_shift_target_selector:null==(u=n.commonViewMetrics.cumulativeLayoutShift)?void 0:u.targetSelector,first_byte:r3(null==(d=n.initialViewMetrics.navigationTimings)?void 0:d.firstByte),dom_complete:r3(null==(f=n.initialViewMetrics.navigationTimings)?void 0:f.domComplete),dom_content_loaded:r3(null==(h=n.initialViewMetrics.navigationTimings)?void 0:h.domContentLoaded),dom_interactive:r3(null==(p=n.initialViewMetrics.navigationTimings)?void 0:p.domInteractive),error:{count:n.eventCounts.errorCount},first_contentful_paint:r3(n.initialViewMetrics.firstContentfulPaint),first_input_delay:r3(null==(m=n.initialViewMetrics.firstInput)?void 0:m.delay),first_input_time:r3(null==(g=n.initialViewMetrics.firstInput)?void 0:g.time),first_input_target_selector:null==(y=n.initialViewMetrics.firstInput)?void 0:y.targetSelector,interaction_to_next_paint:r3(null==(v=n.commonViewMetrics.interactionToNextPaint)?void 0:v.value),interaction_to_next_paint_time:r3(null==(w=n.commonViewMetrics.interactionToNextPaint)?void 0:w.time),interaction_to_next_paint_target_selector:null==(b=n.commonViewMetrics.interactionToNextPaint)?void 0:b.targetSelector,is_active:n.isActive,name:n.name,largest_contentful_paint:r3(null==(S=n.initialViewMetrics.largestContentfulPaint)?void 0:S.value),largest_contentful_paint_target_selector:null==(E=n.initialViewMetrics.largestContentfulPaint)?void 0:E.targetSelector,load_event:r3(null==(C=n.initialViewMetrics.navigationTimings)?void 0:C.loadEvent),loading_time:oH(r3(n.commonViewMetrics.loadingTime)),loading_type:n.loadingType,long_task:{count:n.eventCounts.longTaskCount},resource:{count:n.eventCounts.resourceCount},time_spent:r3(n.duration)},feature_flags:I&&!rH(I)?I:void 0,display:n.commonViewMetrics.scroll?{scroll:{max_depth:n.commonViewMetrics.scroll.maxDepth,max_depth_scroll_top:n.
1commonViewMetrics.scroll.maxDepthScrollTop,max_scroll_height:n.commonViewMetrics.scroll.maxScrollHeight,max_scroll_height_time:r3(n.commonViewMetrics.scroll.maxScrollHeightTime)}}:void 0,session:{has_replay:!!k||void 0,is_active:!!n.sessionIsActive&&void 0},privacy:{replay_level:i.defaultPrivacyLevel}},rH(n.customTimings)||(A.view.custom_timings=function(e,t){for(var r={},n=0,i=Object.keys(e);n<i.length;n++){var o=i[n];r[o]=t(e[o])}return r}(n.customTimings,r3)),{rawRumEvent:A,startTime:n.startClocks.relative,domainContext:{location:n.location}}))}),function(e,t,r,n,i,o,s,a){var l,c=new Set,u=d("initial_load",r9(),a);function d(o,s,a){var l=function(e,t,r,n,i,o,s,a){void 0===s&&(s=r7());var l,c,u,d,f,h,p,m,g,y,v,w,b,_,S,E,C,x,k,I,T,A,M,O,R,P,D,N,L,F,z,B,j,V,H,G,W,q,J,Y,K,X,Q,Z,ee,et=n1(),er=new rX,en={},ei=0,eo=rV(i),es=nb(),ea=!0;a&&(X=a.name,Q=a.service||void 0,Z=a.version||void 0,a.context&&(ee=a.context,es.setContext(ee)));var el={id:et,name:X,startClocks:s,service:Q,version:Z,context:ee};e.notify(1,el),e.notify(2,el);var ec=rg(ex,3e3,{leading:!1}),eu=ec.throttled,ed=ec.cancel,ef=(m={},y=(g=function(e,t,r,n,i,o,s){var a,l="initial_load"===i,c=!0,u=[],d=sY(n);function f(){if(!c&&!l&&u.length>0){var e=Math.max.apply(Math,u);e<d.timeStamp&&s(e)}}var h=(a=function(e){if(c){var t;c=!1,e.hadActivity&&u.push((t=o.timeStamp,e.end-t)),f()}},oJ(oY(e,t,r,n),a,void 0)).stop;return{stop:function(){h(),d.stop()},setLoadEvent:function(e){l&&(l=!1,u.push(e),f())}}}(e,t,r,n,o,p=s,function(e){m.loadingTime=e,eu()})).stop,v=g.setLoadEvent,x=(w=function(e){m.scroll=e},void 0===b&&(l=n,void 0===c&&(c=1e3),b=new rX(function(e){if(window.ResizeObserver){var t=rg(function(){var t,r;e.notify((t=s4(),r=s3().height,{scrollHeight:Math.round((document.scrollingElement||document.documentElement).scrollHeight),scrollDepth:Math.round(r+t),scrollTop:t}))},c,{leading:!1,trailing:!0}),r=document.scrollingElement||document.documentElement,n=new ResizeObserver(t5(t.throttled));r&&n.observe(r);var i=nx(l,window,"scroll",t.throttled,{passive:!0});return function(){t.cancel(),n.disconnect(),i.stop()}}})),_=0,S=0,E=0,C=b.subscribe(function(e){var t=e.scrollDepth,r=e.scrollTop,n=e.scrollHeight,i=!1;(t>_&&(_=t,i=!0),n>S)&&(S=n,E=r8()-p.relative,i=!0);i&&w({maxDepth:Math.min(_,S),maxDepthScrollTop:r,maxScrollHeight:S,maxScrollHeightTime:E})}),{stop:function(){return C.unsubscribe()}}).stop,k=function(e,t,r){if(!(oq(U.LAYOUT_SHIFT)&&"WeakRef"in window))return{stop:ry};var n,i,o,s,a,l,c=0;r({value:0});var u=(o=0,s=0,{update:function(e){var t;return void 0===n||e.startTime-i>=1e3||e.startTime-n>=5e3?(n=i=e.startTime,s=o=e.value,t=!0):(o+=e.value,i=e.startTime,(t=e.value>s)&&(s=e.value)),{cumulatedValue:o,isMaxValue:t}}}),d=oW(e,{type:U.LAYOUT_SHIFT,buffered:!0}).subscribe(function(n){for(var i=0;i<n.length;i++){var o=n[i];if(!o.hadRecentInput&&!(o.startTime<t)){var s=u.update(o),d=s.cumulatedValue;if(s.isMaxValue){var f=function(e){var t;if(e)return null==(t=rt(e,function(e){return!!e.node&&o4(e.node)}))?void 0:t.node}(o.sources);a=f?new WeakRef(f):void 0,l=o.startTime-t}if(d>c){c=d;var f=null==a?void 0:a.deref();r({value:r0(c,4),targetSelector:f&&s_(f,e.actionNameAttribute),time:l})}}}});return{stop:function(){d.unsubscribe()}}}(n,p.relative,function(e){m.cumulativeLayoutShift=e,eu()}).stop,T=(I=function(e,t,r){if(!(oq(U.EVENT)&&window.PerformanceEventTiming&&"interactionId"in PerformanceEventTiming.prototype))return{getInteractionToNextPaint:function(){},setViewEnd:ry,stop:ry};var n,i,o,s,a,l=(n=r,"interactionCount"in performance||$||($=new window.PerformanceObserver(t5(function(e){e.getEntries().forEach(function(e){e.interactionId&&(sX=Math.min(sX,e.interactionId),sK=((sQ=Math.max(sQ,e.interactionId))-sX)/7+1)})}))).observe({type:"event",buffered:!0,durationThreshold:0}),i="initial_load"===n?0:sZ(),o={stopped:!1},{getViewInteractionCount:function(){return o.stopped?o.interactionCount:sZ()-i},stopViewInteractionCount:function(){o={stopped:!0,interactionCount:sZ()-i}}}),c=l.getViewInteractionCount,u=l.stopViewInteractionCount,d=1/0,f=function(e){var t=[];function r(){t.sort(function(e,t){return t.duration-e.duration}).splice(10)}return{process:function(e){var n=t.findIndex(function(t){return e.interactionId===t.interactionId}),i=t[t.length-1];-1!==n?e.duration>t[n].duration&&(t[n]=e,r()):(t.length<10||e.duration>i.duration)&&(t.push(e),r())},estimateP98Interaction:function(){var r=Math.min(t.length-1,Math.floor(e()/50));return t[r]}}}(c),h=-1;function p(r){for(var n,i,o=0;o<r.length;o++){var l=r[o];l.interactionId&&l.startTime>=t&&l.startTime<=d&&f.process(l)}var c=f.estimateP98Interaction();c&&c.duration!==h&&(h=c.duration,a=c.startTime-t,n=c.startTime,i=sO.get(n),sO.delete(n),!(s=i)&&c.target&&o4(c.target)&&(s=s_(c.target,e.actionNameAttribute)))}var m=oW(e,{type:U.FIRST_INPUT,buffered:!0}).subscribe(p),g=oW(e,{type:U.EVENT,durationThreshold:40,buffered:!0}).subscribe(p);return{getInteractionToNextPaint:function(){return h>=0?{value:Math.min(h,s0),targetSelector:s,time:a}:c()?{value:0}:void 0}
1,setViewEnd:function(e){d=e,u()},stop:function(){g.unsubscribe(),m.unsubscribe()}}}(n,p.relative,o)).stop,A=I.getInteractionToNextPaint,{stop:function(){y(),k(),x()},stopINPTracking:T,setLoadEvent:v,setViewEnd:I.setViewEnd,getCommonViewMetrics:function(){return m.interactionToNextPaint=A(),m}}),eh=ef.setLoadEvent,ep=ef.setViewEnd,em=ef.stop,eg=ef.stopINPTracking,ey=ef.getCommonViewMetrics,ev="initial_load"===o?(M={},P=(O=function(e){eh(e.loadEvent),M.navigationTimings=e,eu()},void 0===R&&(R=s$),u=n,d=function(){var e,t=R();t.loadEventEnd<=0||O({domComplete:(e=t).domComplete,domContentLoaded:e.domContentLoadedEventEnd,domInteractive:e.domInteractive,loadEvent:e.loadEventEnd,firstByte:e.responseStart>=0&&e.responseStart<=r8()?e.responseStart:void 0})},h=sz(u,"complete",function(){f=rf(function(){return d()})}).stop,{stop:function(){h(),rh(f)}}).stop,D=sY(n),L=(N=function(e){M.firstContentfulPaint=e,eu()},{stop:oW(n,{type:U.PAINT,buffered:!0}).subscribe(function(e){var t=rt(e,function(e){return"first-contentful-paint"===e.name&&e.startTime<D.timeStamp&&e.startTime<sq});t&&N(t.startTime)}).unsubscribe}).stop,G=(F=window,z=function(e){M.largestContentfulPaint=e,eu()},B=1/0,j=nk(n,F,["pointerdown","keydown"],function(e){B=e.timeStamp},{capture:!0,once:!0}).stop,V=0,H=oW(n,{type:U.LARGEST_CONTENTFUL_PAINT,buffered:!0}).subscribe(function(e){var t=function(e,t){for(var r=e.length-1;r>=0;r-=1){var n=e[r];if(t(n,r,e))return n}}(e,function(e){return e.entryType===U.LARGEST_CONTENTFUL_PAINT&&e.startTime<B&&e.startTime<D.timeStamp&&e.startTime<sJ&&e.size>V});if(t){var r=void 0;t.element&&(r=s_(t.element,n.actionNameAttribute)),z({value:t.startTime,targetSelector:r}),V=t.size}}),{stop:function(){j(),H.unsubscribe()}}).stop,J=(W=function(e){M.firstInput=e,eu()},q=oW(n,{type:U.FIRST_INPUT,buffered:!0}).subscribe(function(e){var t=rt(e,function(e){return e.startTime<D.timeStamp});if(t){var r,i=(r=t.startTime,t.processingStart-r),o=void 0;t.target&&o4(t.target)&&(o=s_(t.target,n.actionNameAttribute)),W({delay:i>=0?i:0,time:t.startTime,targetSelector:o})}}),{stop:function(){q.unsubscribe()}}).stop,{stop:function(){P(),L(),G(),J(),D.stop()},initialViewMetrics:M}):{stop:ry,initialViewMetrics:{}},ew=ev.stop,eb=ev.initialViewMetrics,e_={stop:(Y=oG({lifeCycle:e,isChildEvent:function(e){return e.view.id===et},onChange:eu})).stop,eventCounts:Y.eventCounts},eS=e_.stop,eE=e_.eventCounts,eC=rp(ex,s6);function ex(){ed(),ei+=1;var t=void 0===K?r5():K.timeStamp;e.notify(4,{customTimings:en,documentVersion:ei,id:et,name:X,service:Q,version:Z,context:es.getContext(),loadingType:o,location:eo,startClocks:s,commonViewMetrics:ey(),initialViewMetrics:eb,duration:t-s.timeStamp,isActive:void 0===K,sessionIsActive:ea,eventCounts:eE})}return ex(),es.changeObservable.subscribe(function(){e.notify(3,{id:et,name:X,context:es.getContext(),startClocks:s}),eu()}),{get name(){return X},service:Q,version:Z,contextManager:es,stopObservable:er,end:function(t){var r,n,i=this;void 0===t&&(t={}),K||(K=null!=(r=t.endClocks)?r:r7(),ea=null==(n=t.sessionIsActive)||n,e.notify(5,{endClocks:K}),e.notify(6,{endClocks:K}),rm(eC),ep(K.relative),em(),ex(),rf(function(){i.stop()},s5))},stop:function(){ew(),eS(),eg(),er.notify()},addTiming:function(e,t){if(!K){var r,n,i=t<r4?t:t-s.timeStamp;en[(n=(r=e).replace(/[^a-zA-Z0-9-_.@$]/g,"_"))!==r&&tX.warn("Invalid timing name: ".concat(r,", sanitized to: ").concat(n)),n]=i,eu()}},setViewName:function(e){X=e,ex()}}}(t,r,n,i,e,o,s,a);return c.add(l),l.stopObservable.subscribe(function(){c.delete(l)}),l}return t.subscribe(10,function(){u=d("route_change",void 0,{name:u.name,service:u.service,version:u.version,context:u.contextManager.getContext()})}),t.subscribe(9,function(){u.end({sessionIsActive:!1})}),t.subscribe(11,function(e){e.reason===iF.UNLOADING&&u.end()}),s&&(l=o.subscribe(function(e){var t,r,n;t=e.oldLocation,r=e.newLocation,t.pathname===r.pathname&&(""!==(n=r.hash.substring(1))&&document.getElementById(n)||s8(r.hash)===s8(t.hash))||(u.end(),u=d("route_change"))})),{addTiming:function(e,t){void 0===t&&(t=r5()),u.addTiming(e,t)},startView:function(e,t){u.end({endClocks:t}),u=d("route_change",t,e)}
1,setViewContext:function(e){u.contextManager.setContext(e)},setViewContextProperty:function(e,t){u.contextManager.setContextProperty(e,t)},setViewName:function(e){u.setViewName(e)},stop:function(){l&&l.unsubscribe(),u.end(),c.forEach(function(e){return e.stop()})}}}(ey,_,V,K,e,H,!e.trackViewsManually,i)),eo=ei.addTiming,es=ei.startView,ea=ei.setViewName,el=ei.setViewContext,ec=ei.setViewContextProperty,eu=ei.stop;b.push(eu);var ed=function(e,t,r,n,i){void 0===n&&(n=function(){var e=[];function t(t){var n;if(t.didTimeout){var i=performance.now();n=function(){return 30-(performance.now()-i)}}else n=t.timeRemaining.bind(t);for(;n()>0&&e.length;)e.shift()();e.length&&r()}function r(){sL(t,{timeout:1e3})}return{push:function(t){1===e.push(t)&&r()}}}()),void 0===i&&(i=sH),e.subscribe(8,function(e){s(function(){return function(e,t,r){var n=function(e){if(performance&&"getEntriesByName"in performance){var t=performance.getEntriesByName(e.url,"resource");if(t.length&&"toJSON"in t[0]){var r=t.filter(function(e){return!sF.has(e)}).filter(function(e){return oD(e)&&oN(e)}).filter(function(t){var r,n,i;return r=t,n=e.startClocks.relative,i=sU({startTime:e.startClocks.relative,duration:e.duration}),r.startTime>=n-1&&sU(r)<=i+1});if(1===r.length)return sF.add(r[0]),r[0].toJSON()}}}(e),i=n?r2(n.startTime):e.startClocks,o=function(e,t){if(e.traceSampled&&e.traceId&&e.spanId)return{_dd:{span_id:e.spanId.toString(),trace_id:e.traceId.toString(),rule_psr:t.rulePsr}}}(e,t);if(t.trackResources||o){var s,a,l,c="xhr"===e.type?"xhr":"fetch",u=n?sW(n):void 0,d=(s=r,a=i,l=e.duration,s.wasInPageStateDuringPeriod("frozen",a.relative,l)?void 0:r3(l)),f=no({date:i.timeStamp,resource:{id:n1(),type:c,duration:d,method:e.method,status_code:e.status,protocol:n&&oF(n),url:oB(e.url)?oj(e.url):e.url,delivery_type:n&&oU(n)},type:"resource",_dd:{discarded:!t.trackResources}},o,u);return{startTime:i.relative,rawRumEvent:f,domainContext:{performanceEntry:n,xhr:e.xhr,response:e.response,requestInput:e.input,requestInit:e.init,error:e.error,isAborted:e.isAborted,handlingStack:e.handlingStack}}}}(e,t,r)})});var o=oW(t,{type:U.RESOURCE,buffered:!0}).subscribe(function(e){for(var r=function(e){"xmlhttprequest"!==e.initiatorType&&"fetch"!==e.initiatorType&&s(function(){return sG(e,t)})},n=0;n<e.length;n++)r(e[n])});function s(t){n.push(function(){var r=t();r&&e.notify(12,r)})}return i(t,function(e){s(function(){return sG(e,t)})}),{stop:function(){o.unsubscribe()}}}(_,e,J).stop;if(b.push(ed),rq(C.LONG_ANIMATION_FRAME)){if(e.trackLongTasks){var ef,eh,ep,em,eg,ey,ev,ew=(ev=oW(e,{type:U.LONG_ANIMATION_FRAME,buffered:!0}).subscribe(function(e){for(var t=0;t<e.length;t++){var r=e[t],n=r2(r.startTime),i={date:n.timeStamp,long_task:{id:n1(),entry_type:"long-animation-frame",duration:r3(r.duration),blocking_duration:r3(r.blockingDuration),first_ui_event_timestamp:r3(r.firstUIEventTimestamp),render_start:r3(r.renderStart),style_and_layout_start:r3(r.styleAndLayoutStart),start_time:r3(r.startTime),scripts:r.scripts.map(function(e){return{duration:r3(e.duration),pause_duration:r3(e.pauseDuration),forced_style_and_layout_duration:r3(e.forcedStyleAndLayoutDuration),start_time:r3(e.startTime),execution_start:r3(e.executionStart),source_url:e.sourceURL,source_function_name:e.sourceFunctionName,source_char_position:e.sourceCharPosition,invoker:e.invoker,invoker_type:e.invokerType,window_attribution:e.windowAttribution}})},type:"long_task",_dd:{discarded:!1}};_.notify(12,{rawRumEvent:i,startTime:n.relative,domainContext:{performanceEntry:r}})}}),{stop:function(){return ev.unsubscribe()}}).stop;b.push(ew)}}else oW(e,{type:U.LONG_TASK,buffered:!0}).subscribe(function(t){for(var r=0;r<t.length;r++){var n=t[r];if(n.entryType!==U.LONG_TASK||!e.trackLongTasks)break;var i=r2(n.startTime),o={date:i.timeStamp,long_task:{id:n1(),entry_type:"long-task",duration:r3(n.duration)},type:"long_task",_dd:{discarded:!1}};_.notify(12,{rawRumEvent:o,startTime:i.relative,domainContext:{performanceEntry:n}})}});var eb=(y=g=new rX,iX([tq.error]).subscribe(function(e){return y.notify(e.error)}),i5(g),iR(e,[iO.cspViolation,iO.intervention]).subscribe(function(e){return g.notify(e)}),g.subscribe(function(e){return _.notify(14,{error:e})}),l=_,c=J,u=x,l.subscribe(14,function(e){var t,r,n,i,o,s,a=e.error,d=e.customerContext,f
1=e.savedCommonContext;l.notify(12,ro({customerContext:d,savedCommonContext:f},(t=a,r=c,n=u,i={date:t.startClocks.timeStamp,error:{id:n1(),message:t.message,source:t.source,stack:t.stack,handling_stack:t.handlingStack,type:t.type,handling:t.handling,causes:t.causes,source_type:"browser",fingerprint:t.fingerprint,csp:t.csp},type:"error",view:{in_foreground:r.wasInPageStateAt("active",t.startClocks.relative)}},(o=n.findFeatureFlagEvaluations(t.startClocks.relative))&&!rH(o)&&(i.feature_flags=o),s={error:t.originalError,handlingStack:t.handlingStack},{rawRumEvent:i,startTime:t.startClocks.relative,domainContext:s})))}),{addError:function(e,t){var r=e.error,n=e.handlingStack,i=e.startClocks,o=e.context,s=rU({stackTrace:rB(r)?rE(r):void 0,originalError:r,handlingStack:n,startClocks:i,nonErrorPrefix:"Provided",source:"custom",handling:"handled"});l.notify(14,{customerContext:o,savedCommonContext:t,error:s})}}).addError;v={clearTracingIfNeeded:o_,traceFetch:function(t){return oS(e,t,T,function(e){var r;if(t.input instanceof Request&&!(null==(r=t.init)?void 0:r.headers))t.input=new Request(t.input),Object.keys(e).forEach(function(r){t.input.headers.append(r,e[r])});else{t.init=rV(t.init);var n=[];t.init.headers instanceof Headers?t.init.headers.forEach(function(e,t){n.push([t,e])}):Array.isArray(t.init.headers)?t.init.headers.forEach(function(e){n.push(e)}):t.init.headers&&Object.keys(t.init.headers).forEach(function(e){n.push([e,t.init.headers[e]])}),t.init.headers=n.concat(rn(e))}})},traceXhr:function(t,r){return oS(e,t,T,function(e){Object.keys(e).forEach(function(t){r.setRequestHeader(t,e[t])})})}},d=_,f=e,h=v,i0(f).subscribe(function(e){var t;if((t=e.url)&&!iC(t))switch(e.state){case"start":h.traceXhr(e,e.xhr),e.requestIndex=o$(),d.notify(7,{requestIndex:e.requestIndex,url:e.url});break;case"complete":h.clearTracingIfNeeded(e),d.notify(8,{duration:e.duration,method:e.method,requestIndex:e.requestIndex,spanId:e.spanId,startClocks:e.startClocks,status:e.status,traceId:e.traceId,traceSampled:e.traceSampled,type:"xhr",url:e.url,xhr:e.xhr,isAborted:e.isAborted,handlingStack:e.handlingStack})}}),p=_,m=v,n0().subscribe(function(e){var t,r,n,i,o;if((t=e.url)&&!iC(t))switch(e.state){case"start":m.traceFetch(e),e.requestIndex=o$(),p.notify(7,{requestIndex:e.requestIndex,url:e.url});break;case"resolve":r=e,n=function(t){m.clearTracingIfNeeded(e),p.notify(8,{duration:t,method:e.method,requestIndex:e.requestIndex,responseType:e.responseType,spanId:e.spanId,startClocks:e.startClocks,status:e.status,traceId:e.traceId,traceSampled:e.traceSampled,type:"fetch",url:e.url,response:e.response,init:e.init,input:e.input,isAborted:e.isAborted,handlingStack:e.handlingStack})},(o=r.response&&i3(r.response))&&o.body?i2(o.body,function(){var e;n((e=r.startClocks.timeStamp,r5()-e))},{bytesLimit:1/0,collectStreamBody:!1}):n((i=r.startClocks.timeStamp,r5()-i))}});var e_=function(e,t,r){function n(r){var n,i,o;t.wasInPageStateDuringPeriod("frozen",r.startClocks.relative,r.duration)||e.notify(12,(i=!0,o={date:(n=r).startClocks.timeStamp,vital:{id:n1(),type:n.type,name:n.name,duration:r3(n.duration),description:n.description},type:"vital"},i&&(o._dd={vital:{computed_value:!0}}),{rawRumEvent:o,startTime:n.startClocks.relative,customerContext:n.context,domainContext:{}}))}return{addDurationVital:n,startDurationVital:function(e,t){return void 0===t&&(t={}),of(r,e,t)},stopDurationVital:function(e,t){void 0===t&&(t={}),oh(n,r,e,t)}}}(_,J,a),eS=(w=e.applicationId,{get:function(e){var t=Z.findView(e),r=ee.findUrl(e),n=T.findTrackedSession(e);if(n&&t&&r){var i=et.findActionId(e);return{application_id:w,session_id:n.id,user_action:i?{id:i}:void 0,view:{id:t.id,name:t.name,referrer:r.referrer,url:r.url}}}}});return{addAction:er,addError:eb,addTiming:eo,addFeatureFlagEvaluation:x.addFeatureFlagEvaluation,startView:es,setViewContext:el,setViewContextProperty:ec,setViewName:ea,lifeCycle:_,viewHistory:Z,session:T,stopSession:function(){return T.expire()},getInternalContext:eS.get,startDurationVital:e_.startDurationVital,stopDurationVital:e_.stopDurationVital,addDurationVital:e_.addDurationVital,stop:function(){b.forEach(function(e){return e()})}}},function(e,t){if(nJ()&&!nq("records")||!aG())return{start:ry,stop:ry,getReplayStats:function(){},onRumStart:ry,isRecording:function(){return!1},getSessionReplayLink:function(){}};var r,n=(r=0,{strategy:{start:function(){r=1},stop:function(){r=2},isRecording:function(){return!1},getSessionReplayLink:ry},shouldStartImmediately:function(e){return 1===r||0===r&&!e.startSessionReplayRecordingManually}}),i=n.strategy,o=n.shouldStartImmediately;return{start:function(e){return i.start(e)},stop:function(){return i.stop()},getSessionReplayLink:function(){return i.getSessionReplayLink()},onRumStart:function(t,r,n,s,a){var l;i=function(e,t,r,n,i,o){var s,a=0;function l(l){var c,u,d,f,h,p=r.findTrackedSession();if(c=p,u=l,!c||0===c.sessionReplay&&(!u||!u.force)){a=1;return}2!==(d=a)&&3!==d&&(a=2,sz(e,"interactive",function(){if(2===a){var l=o();if(!l){a=0;return}s=i(t,e,r,n,l).stop,a=3}}),f=p,(h=l)&&h.force&&0===f.sessionReplay&&r.setForcedReplay())}function c(){0!==a&&3===a&&(null==s||s()),a=0}return t.subscribe(9,function(){(2===a||3===a)&&(c(),a=1)}),t.subscribe(11,function(e){e.reason===iF.UNLOADING&&c()}),t.subscribe(10,function(){1===a&&l()}),{start:l,stop:c,getSessionReplayLink:function(){var t,i,o,s,l,c,u,d,f,h,p,m,g,y,v,w;return t=0!==a,m=i=r.findTrackedSession(),g=t,o=aG()?m?0===m.sessionReplay?"incorrect-session-plan":g?void 0:"replay-not-started":"rum-not-tracked":"browser-not-supported",s=n.findView(),c=(l={viewContext:s,errorType:o,session:i}).session,u=l.viewContext,d=l.errorType,f=c?c.id:"no-session-id",h=[],void 0!==d&&h.push("error-type=".concat(d)),u&&(h.push("seed=".concat(u.id)),h.push("from=".concat(u.startClocks.timeStamp))),v=(y=e).site,w=y.subdomain||function(e){switch(e.site){case rY:case"datadoghq.eu":return"app";case rJ:return"dd";default:return}}(y),p="https://".concat(w?"".concat(w,"."):"").concat(v),"".concat(p).concat("/rum/replay/sessions/".concat(f),"?").concat(h.join("&"))},isRecording:function(){return 3===a}}}(r,t,n,s,e,function(){return!l&&(null!=a||(a=a$(r,"Datadog Session Replay",function(){i.stop()},void 0)),a&&(l=aB(r,a,1))),l}),o(r)&&i.start()},isRecording:function(){return 3===aV.status&&i.isRecording()},getReplayStats:function(e){return 3===aV.status?null==J?void 0:J.get(e):void 0}}}(function(e,t,r,n,i,o){var s,a=[],l=o||oa(t.sessionReplayEndpointBuilder,6e4,function(t){e.notify(14,{error:t}),ng("Error reported to customer",{"error.message":t.message})});if(nJ())s=(c=nW(),{addRecord:function(e){var t=n.findView();c.send("record",e,t.id)}}).addRecord;else{var c,u=function(e,t,r,n){var i={status:0,nextSegmentCreationReason:"init"},o=e.subscribe(2,function(){a("view_change")}).unsubscribe,s=e.subscribe(11,function(e){a(e.reason)}).unsubscribe;function a(e){1===i.status&&(i.segment.flush(function(t,n){var i,o,s,a,l=(i=n.output,o=n.rawBytesCount,(s=new FormData).append("segment",new Blob([i],{type:"application/octet-stream"}),"".concat(t.session.id,"-").concat(t.start)),a=JSON.stringify(ro({raw_segment_size:o,compressed_segment_size:i.byteLength},t)),s.append("event",new Blob([a],{type:"application/json"})),{data:s,bytesCount:i.byteLength});t9(rr(iF),e)?r.sendOnExit(l):r.send(l)}
1),rh(i.expirationTimeoutId)),i="stop"!==e?{status:0,nextSegmentCreationReason:e}:{status:2}}return{addRecord:function(e){if(2!==i.status){if(0===i.status){var r=t();if(!r)return;i={status:1,segment:function(e){var t=e.context,r=e.creationReason,n=e.encoder,i=0,o=t.view.id,s=ro({start:1/0,end:-1/0,creation_reason:r,records_count:0,has_full_snapshot:!1,index_in_view:ac(o).segments_count,source:"browser"},t);return ac(o).segments_count+=1,{addRecord:function(e,t){s.start=Math.min(s.start,e.timestamp),s.end=Math.max(s.end,e.timestamp),s.records_count+=1,s.has_full_snapshot||(s.has_full_snapshot=2===e.type);var r=n.isEmpty?'{"records":[':",";n.write(r+JSON.stringify(e),function(e){t(i+=e)})},flush:function(e){if(n.isEmpty)throw Error("Empty segment flushed");n.write("],".concat(JSON.stringify(s).slice(1),"\n")),n.finish(function(t){var r,n;r=s.view.id,n=t.rawBytesCount,ac(r).segments_total_raw_size+=n,e(s,t)})}}}({encoder:n,context:r,creationReason:i.nextSegmentCreationReason}),expirationTimeoutId:rf(function(){a("segment_duration_limit")},5e3)}}i.segment.addRecord(e,function(e){e>6e4&&a("segment_bytes_limit")})}},stop:function(){a("stop"),o(),s()}}}(e,function(){var e=t.applicationId,i=r,o=n,s=i.findTrackedSession(),a=o.findView();return s&&a?{application:{id:e},session:{id:s.id},view:{id:a.id}}:void 0},l,i);s=u.addRecord,a.push(u.stop)}var d=function(e){var t,r,n,i,o,s,a,l,c,u,d,f,h,p,m=e.emit,g=e.configuration,y=e.lifeCycle;if(!m)throw Error("emit function is required");var v=function(t){var r;m(t),nt("record",{record:t}),r=e.viewHistory.findView().id,ac(r).records_count+=1},w=(t=new WeakMap,{set:function(e,r){(e!==document||document.scrollingElement)&&t.set(e===document?document.scrollingElement:e,r)},get:function(e){return t.get(e)},has:function(e){return t.has(e)}}),b=az(g,v,w),_=(r=S,(n=function(e){return e.forEach(function(e){return v(e)})})((i=function(e,t){void 0===e&&(e=r5()),void 0===t&&(t={status:0,elementsScrollPositions:w,shadowRootsController:b});var r=s3(),n=r.width,i=[{data:{height:r.height,href:window.location.href,width:n},type:4,timestamp:e},{data:{has_focus:document.hasFocus()},type:6,timestamp:e},{data:{node:ax(document,{serializationContext:t,parentNodePrivacyLevel:g.defaultPrivacyLevel,configuration:g}),initialOffset:{left:s1(),top:s4()}},type:2,timestamp:e}];return window.visualViewport&&i.push({data:aO(window.visualViewport),type:8,timestamp:e}),i})()),{stop:y.subscribe(2,function(e){r(),n(i(e.startClocks.timeStamp,{shadowRootsController:b,status:1,elementsScrollPositions:w}))}).unsubscribe}).stop;function S(){b.flush(),C.flush()}var E=(o=new WeakMap,s=1,{getIdForEvent:function(e){return o.has(e)||o.set(e,s++),o.get(e)}}),C=aU(v,g,b,document),x=[C,(l=(a=rg(function(e){var t=aA(e);if(ad(t)){var r=aP(e);if(!r)return;var n={id:af(t),timeOffset:0,x:r.x,y:r.y};v(aR(aT(e)?6:1,{positions:[n]}))}},50,{trailing:!1})).throttled,c=a.cancel,u=nk(g,document,["mousemove","touchmove"],l,{capture:!0,passive:!0}).stop,{stop:function(){u(),c()}}),nk(g,document,Object.keys(aD),function(e){var t,r=aA(e);if(st(r,g.defaultPrivacyLevel)!==o8.HIDDEN&&ad(r)){var n=af(r),i=aD[e.type];if(6!==i&&5!==i){var o=aP(e);
1if(!o)return;t={id:n,type:i,x:o.x,y:o.y}}else t={id:n,type:i};v(ro({id:E.getIdForEvent(e)},aR(2,t)))}},{capture:!0,passive:!0}),aN(g,v,w,document),(d=s2(g).subscribe(function(e){v(aR(4,e))}),{stop:function(){d.unsubscribe()}}),aF(g,v),nk(g,document,["play","pause"],function(e){var t=aA(e);t&&st(t,g.defaultPrivacyLevel)!==o8.HIDDEN&&ad(t)&&v(aR(7,{id:af(t),type:1*("play"!==e.type)}))},{capture:!0,passive:!0}),function(e){function t(e,t){e&&ad(e.ownerNode)&&t(af(e.ownerNode))}var r=[nY(CSSStyleSheet.prototype,"insertRule",function(r){var n=r.target,i=r.parameters,o=i[0],s=i[1];t(n,function(t){return e(aR(8,{id:t,adds:[{rule:o,index:s}]}))})}),nY(CSSStyleSheet.prototype,"deleteRule",function(r){var n=r.target,i=r.parameters[0];t(n,function(t){return e(aR(8,{id:t,removes:[{index:i}]}))})})];function n(n){r.push(nY(n.prototype,"insertRule",function(r){var n=r.target,i=r.parameters,o=i[0],s=i[1];t(n.parentStyleSheet,function(t){var r=aL(n);r&&(r.push(s||0),e(aR(8,{id:t,adds:[{rule:o,index:r}]})))})}),nY(n.prototype,"deleteRule",function(r){var n=r.target,i=r.parameters[0];t(n.parentStyleSheet,function(t){var r=aL(n);r&&(r.push(i),e(aR(8,{id:t,removes:[{index:r}]})))})}))}return"undefined"!=typeof CSSGroupingRule?n(CSSGroupingRule):(n(CSSMediaRule),n(CSSSupportsRule)),{stop:function(){r.forEach(function(e){return e.stop()})}}}(v),nk(g,window,["focus","blur"],function(){v({data:{has_focus:document.hasFocus()},type:6,timestamp:r5()})}),function(e,t){var r=window.visualViewport;if(!r)return{stop:ry};var n=rg(function(){t({data:aO(r),type:8,timestamp:r5()})},200,{trailing:!1}),i=n.throttled,o=n.cancel,s=nk(e,r,["resize","scroll"],i,{capture:!0,passive:!0}).stop;return{stop:function(){s(),o()}}}(g,v),(f=y.subscribe(12,function(e){var t,r;"action"===e.rawRumEvent.type&&"click"===e.rawRumEvent.action.type&&(null==(r=null==(t=e.rawRumEvent.action.frustration)?void 0:t.type)?void 0:r.length)&&"events"in e.domainContext&&e.domainContext.events&&e.domainContext.events.length&&v({timestamp:e.rawRumEvent.date,type:9,data:{frustrationTypes:e.rawRumEvent.action.frustration.type,recordIds:e.domainContext.events.map(function(e){return E.getIdForEvent(e)})}})}),{stop:function(){f.unsubscribe()}}),(h=function(e){S(),v(e)},p=y.subscribe(5,function(){h({timestamp:r5(),type:7})}),{stop:function(){p.unsubscribe()}})];return{stop:function(){b.stop(),x.forEach(function(e){return e.stop()}),_()},flushMutations:S,shadowRootsController:b}}({emit:s,configuration:t,lifeCycle:e,viewHistory:n}).stop;return a.push(d),{stop:function(){a.forEach(function(e){return e()})}}}),{startDeflateWorker:a$,createDeflateEncoder:aB});function aq(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)"__proto__"!==n&&(e[n]=r[n])}return e}ra(rl(),"DD_RUM",aW);var aJ=function e(t,r){function n(e,n,i){if("undefined"!=typeof document){"number"==typeof(i=aq({},r,i)).expires&&(i.expires=new Date(Date.now()+864e5*i.expires)),i.expires&&(i.expires=i.expires.toUTCString()),e=encodeURIComponent(e).replace(/%(2[346B]|5E|60|7C)/g,decodeURIComponent).replace(/[()]/g,escape);var o="";for(var s in i)i[s]&&(o+="; "+s,!0!==i[s]&&(o+="="+i[s].split(";")[0]));return document.cookie=e+"="+t.write(n,e)+o}}return Object.create({set:n,get:function(e){if("undefined"!=typeof document&&(!arguments.length||e)){for(var r=document.cookie?document.cookie.split("; "):[],n={},i=0;i<r.length;i++){var o=r[i].split("="),s=o.slice(1).join("=");try{var a=decodeURIComponent(o[0]);if(a in n||(n[a]=t.read(s,a)),e===a)break}catch(e){}}return e?n[e]:n}},remove:function(e,t){n(e,"",aq({},t,{expires:-1}))},withAttributes:function(t){return e(this.converter,aq({},this.attributes,t))},withConverter:function(t){return e(aq({},this.converter,t),this.attributes)}},{attributes:{value:Object.freeze(r)},converter:{value:Object.freeze(t)}})}({read:function(e){return'"'===e[0]&&(e=e.slice(1,-1)),e.replace(/(%[\dA-F]{2})+/gi,decodeURIComponent)},write:function(e){return encodeURIComponent(e).replace(/%(2[346BF]|3[AC-F]|40|5[BDE]|60|7[BCD])/g,decodeURIComponent)}},{path:"/"});let aY="undefined"!=typeof crypto&&crypto.randomUUID&&crypto.randomUUID.bind(crypto);for(var aK=new Uint8Array(16),aX=[],aQ=0;aQ<256;++aQ)aX.push((aQ+256).toString(16).slice(1));let aZ=function(e,t,r){if(aY&&!t&&!e)return aY();var n=(e=e||{}).random||(e.rng||function(){if(!K&&!(K="undefined"!=typeof crypto&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto)))throw Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");return K(aK)})();if(n[6]=15&n[6]|64,n[8]=63&n[8]|128,t){r=r||0;for(var i=0;i<16;++i)t[r+i]=n[i];return t}return function(e,t=0){return(aX[e[t+0]]+aX[e[t+1]]+aX[e[t+2]]+aX[e[t+3]]+"-"+aX[e[t+4]]+aX[e[t+5]]+"-"+aX[e[t+6]]+aX[e[t+7]]+"-"+aX[e[t+8]]+aX[e[t+9]]+"-"+aX[e[t+10]]+aX[e[t+11]]+aX[e[t+12]]+aX[e[t+13]]+aX[e[t+14]]+aX[e[t+15]]).toLowerCase()}(n)};var a0=e.i(55543),a1=e.i(25018),a4=Object.defineProperty,a2=(e,t,r)=>{let n;return(n="symbol"!=typeof t?t+"":t)in e?a4(e,n,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[n]=r},a3=Object.defineProperty,a6=(e,t,r)=>{let n;return(n="symbol"!=typeof t?t+"":t)in e?a3(e,n,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[n]=r},a5=((c=a5||{})[c.Document=0]="Document",c[c.DocumentType=1]="DocumentType",c[c.Element=2]="Element",c[c.Text=3]="Text",c[c.CDATA=4]="CDATA",c[c.Comment=5]="Comment",c);let a8={Node:["childNodes","parentNode","parentElement","textContent","ownerDocument"],ShadowRoot:["host","styleSheets"],Element:["shadowRoot","querySelector","querySelectorAll"],MutationObserver:[]},a7={Node:["contains","getRootNode"],ShadowRoot:["getSelection"],Element:[],MutationObserver:["constructor"]},a9={},le={};function lt(e){if(a9[e])return a9[e];let t=globalThis[e],r=t.prototype,n=e in a8?a8[e]:void 0,i=!!(n&&n.every(e=>{var t,n;return!!(null==(n=null==(t=Object.getOwnPropertyDescriptor(r,e))?void 0:t.get)?void 0:n.toString().includes("[native code]"))})),o=e in a7?a7[e]:void 0,s=!!(o&&o.every(e=>{var t;return"function"==typeof r[e]&&(null==(t=r[e])?void 0:t.toString().includes("[native code]"))}));if(i&&s&&!globalThis.Zone)return a9[e]=t.prototype,t.prototype;try{let n=document.createElement("iframe");n.style.display="none",document.body.appendChild(n);let i=n.contentWindow;if(!i)return t.prototype;let o=i[e].prototype;if(!o)return n.remove(),r;let s=navigator.userAgent;return s.includes("Safari")&&!s.includes("Chrome")?(n.classList.add("rr-block"),n.setAttribute("__rrwebUntaintedMutationObserver",""),le[e]=()=>n.remove()):n.remove(),a9[e]=o}catch{return r}}let lr={};function ln(e,t,r){var n;let i=`${e}.${String(r)}`;if(lr[i])return lr[i].call(t);let o=null==(n=Object.getOwnPropertyDescriptor(lt(e),r))?void 0:n.get;return o?(lr[i]=o,o.call(t)):t[r]}/[1-9][0-9]{12}/.test(Date.now().toString())||(()=>new Date().getTime());let li=function(e){return ln("Node",e,"childNodes")},lo=function(e){return ln("Node",e,"parentNode")},ls=function(e){return ln("Node",e,"parentElement")},la=function(e){return ln("Node",e,"textContent")},ll=function(e){return e&&"shadowRoot"in e?ln("Element",e,"shadowRoot"):null};
1function lc(e){return e.nodeType===e.ELEMENT_NODE}function lu(e){var t;let r=e&&"host"in e&&"mode"in e&&((t=e)&&"host"in t?ln("ShadowRoot",t,"host"):null)||null;return!!(r&&"shadowRoot"in r&&ll(r)===e)}function ld(e){return"[object ShadowRoot]"===Object.prototype.toString.call(e)}function lf(e){try{var t;let r=e.rules||e.cssRules;if(!r)return null;let n=e.href;return!n&&e.ownerNode&&(n=e.ownerNode.baseURI),(t=Array.from(r,e=>lh(e,n)).join("")).includes(" background-clip: text;")&&!t.includes(" -webkit-background-clip: text;")&&(t=t.replace(/\sbackground-clip:\s*text;/g," -webkit-background-clip: text; background-clip: text;")),t}catch(e){return null}}function lh(e,t){if("styleSheet"in e){let t;try{t=lf(e.styleSheet)||function(e){let{cssText:t}=e;if(t.split('"').length<3)return t;let r=["@import",`url(${JSON.stringify(e.href)})`];return""===e.layerName?r.push("layer"):e.layerName&&r.push(`layer(${e.layerName})`),e.supportsText&&r.push(`supports(${e.supportsText})`),e.media.length&&r.push(e.media.mediaText),r.join(" ")+";"}(e)}catch(r){t=e.cssText}return e.styleSheet.href?lC(t,e.styleSheet.href):t}{let r=e.cssText;return("selectorText"in e&&e.selectorText.includes(":")&&(r=r.replace(/(\[(?:[\w-]+)[^\\])(:(?:[\w-]+)\])/gm,"$1\\$2")),t)?lC(r,t):r}}class lp{constructor(){a6(this,"idNodeMap",new Map),a6(this,"nodeMetaMap",new WeakMap)}getId(e){var t;return e?(null==(t=this.getMeta(e))?void 0:t.id)??-1:-1}getNode(e){return this.idNodeMap.get(e)||null}getIds(){return Array.from(this.idNodeMap.keys())}getMeta(e){return this.nodeMetaMap.get(e)||null}removeNodeFromMap(e){let t=this.getId(e);this.idNodeMap.delete(t),e.childNodes&&e.childNodes.forEach(e=>this.removeNodeFromMap(e))}has(e){return this.idNodeMap.has(e)}hasNode(e){return this.nodeMetaMap.has(e)}add(e,t){let r=t.id;this.idNodeMap.set(r,e),this.nodeMetaMap.set(e,t)}replace(e,t){let r=this.getNode(e);if(r){let e=this.nodeMetaMap.get(r);e&&this.nodeMetaMap.set(t,e)}this.idNodeMap.set(e,t)}reset(){this.idNodeMap=new Map,this.nodeMetaMap=new WeakMap}}function lm({element:e,maskInputOptions:t,tagName:r,type:n,value:i,maskInputFn:o}){let s=i||"",a=n&&lg(n);return(t[r.toLowerCase()]||a&&t[a])&&(s=o?o(s,e):"*".repeat(s.length)),s}function lg(e){return e.toLowerCase()}let ly="__rrweb_original__";function lv(e){let t=e.type;return e.hasAttribute("data-rr-is-password")?"password":t?lg(t):null}function lw(e,t){let r;try{r=new URL(e,t??window.location.href)}catch(e){return null}let n=r.pathname.match(/\.([0-9a-z]+)(?:$)/i);return(null==n?void 0:n[1])??null}let lb=/url\((?:(')([^']*)'|(")(.*?)"|([^)]*))\)/gm,l_=/^(?:[a-z+]+:)?\/\//i,lS=/^www\..*/i,lE=/^(data:)([^,]*),(.*)/i;function lC(e,t){return(e||"").replace(lb,(e,r,n,i,o,s)=>{let a=n||o||s,l=r||i||"";if(!a)return e;if(l_.test(a)||lS.test(a)||lE.test(a))return`url(${l}${a}${l})`;if("/"===a[0])return`url(${l}${(t.indexOf("//")>-1?t.split("/").slice(0,3).join("/"):t.split("/")[0]).split("?")[0]+a}${l})`;let c=a.split("#")[0],u=a.substring(c.length),d=t.split("#")[0].split("/"),f=c.split("/");for(let e of(d.pop(),f))if("."===e)continue;else".."===e?d.pop():d.push(e);return`url(${l}${d.join("/")}${u}${l})`})}function lx(e,t=!1){return t?e.replace(/(\/\*[^*]*\*\/)|[\s;]/g,""):e.replace(/(\/\*[^*]*\*\/)|[\s;]/g,"").replace(/0px/g,"0")}let lk=1,lI=RegExp("[^a-z0-9-_:]");function lT(){return lk++}let lA=/^[^ \t\n\r\u000c]+/,lM=/^[, \t\n\r\u000c]+/,lO=new WeakMap;function lR(e,t){return t&&""!==t.trim()?lP(e,t):t}function lP(e,t){let r=lO.get(e);if(r||(r=e.createElement("a"),lO.set(e,r)),t){if(t.startsWith("blob:")||t.startsWith("data:"))return t}else t="";return r.setAttribute("href",t),r.href}function lD(e,t,r,n){if(!n)return n;if("src"===r||"href"===r&&("use"!==t||"#"!==n[0])||"xlink:href"===r&&"#"!==n[0])return lR(e,n);if("background"===r&&["table","td","th"].includes(t))return lR(e,n);if("srcset"===r)return function(e,t){if(""===t.trim())return t;let r=0;function n(e){let n,i=e.exec(t.substring(r));return i?(n=i[0],r+=n.length,n):""}let i=[];for(;n(lM),!(r>=t.length);){let o=n(lA);if(","===o.slice(-1))o=lR(e,o.substring(0,o.length-1)),i.push(o);else{let n="";o=lR(e,o);let s=!1;for(;;){let e=t.charAt(r);if(""===e){i.push((o+n).trim());break}if(s)")"===e&&(s=!1);else if(","===e){r+=1,i.push((o+n).trim());break}else"("===e&&(s=!0);n+=e,r+=1}}}return i.join(", ")}(e,n);if("style"===r)return lC(n,lP(e));else if("object"===t&&"data"===r)return lR(e,n);return n}function lN(e,t,r){return["video","audio"].includes(e)&&"autoplay"===t}function lL(e,t,r){if(!e)return!1;if(e.nodeType!==e.ELEMENT_NODE)return!!r&&lL(lo(e),t,r);for(let r=e.classList.length;r--;){let n=e.classList[r];if(t.test(n))return!0}return!!r&&lL(lo(e),t,r)}function lF(e,t,r,n){let i;if(lc(e)){if(!li(i=e).length)return!1}else{if(null===ls(e))return!1;i=ls(e)}
1try{if("string"==typeof t){if(n){if(i.closest(`.${t}`))return!0}else if(i.classList.contains(t))return!0}else if(lL(i,t,n))return!0;if(r){if(n){if(i.closest(r))return!0}else if(i.matches(r))return!0}}catch(e){}return!1}function lU(e){return null==e?"":e.toLowerCase()}function lz(e){return!0===e||"all"===e?{script:!0,comment:!0,headFavicon:!0,headWhitespace:!0,headMetaSocial:!0,headMetaRobots:!0,headMetaHttpEquiv:!0,headMetaVerification:!0,headMetaAuthorship:"all"===e,headMetaDescKeywords:"all"===e,headTitleMutations:"all"===e}:e||{}}function lB(e,n){let i,{doc:o,mirror:s,blockClass:a,blockSelector:l,maskTextClass:c,maskTextSelector:u,skipChild:d=!1,inlineStylesheet:f=!0,maskInputOptions:h={},maskTextFn:p,maskInputFn:m,slimDOMOptions:g,dataURLOptions:y={},inlineImages:v=!1,recordCanvas:w=!1,onSerialize:b,onIframeLoad:_,iframeLoadTimeout:S=5e3,onStylesheetLoad:E,stylesheetLoadTimeout:C=5e3,keepIframeSrcFn:x=()=>!1,newlyAddedElement:k=!1,cssCaptured:I=!1}=n,{needsMask:T}=n,{preserveWhiteSpace:A=!0}=n;T||(T=lF(e,c,u,void 0===T));let M=function(e,n){let{doc:i,mirror:o,blockClass:s,blockSelector:a,needsMask:l,inlineStylesheet:c,maskInputOptions:u={},maskTextFn:d,maskInputFn:f,dataURLOptions:h={},inlineImages:p,recordCanvas:m,keepIframeSrcFn:g,newlyAddedElement:y=!1,cssCaptured:v=!1}=n,w=function(e,t){if(!t.hasNode(e))return;let r=t.getId(e);return 1===r?void 0:r}(i,o);switch(e.nodeType){case e.DOCUMENT_NODE:if("CSS1Compat"!==e.compatMode)return{type:a5.Document,childNodes:[],compatMode:e.compatMode};return{type:a5.Document,childNodes:[]};case e.DOCUMENT_TYPE_NODE:return{type:a5.DocumentType,name:e.name,publicId:e.publicId,systemId:e.systemId,rootId:w};case e.ELEMENT_NODE:return function(e,n){let i,{doc:o,blockClass:s,blockSelector:a,inlineStylesheet:l,maskInputOptions:c={},maskInputFn:u,dataURLOptions:d={},inlineImages:f,recordCanvas:h,keepIframeSrcFn:p,newlyAddedElement:m=!1,rootId:g}=n,y=function(e,t,r){try{if("string"==typeof t){if(e.classList.contains(t))return!0}else for(let r=e.classList.length;r--;){let n=e.classList[r];if(t.test(n))return!0}if(r)return e.matches(r)}catch(e){}return!1}(e,s,a),v=function(e){if(e instanceof HTMLFormElement)return"form";let t=lg(e.tagName);return lI.test(t)?"div":t}(e),w={},b=e.attributes.length;for(let t=0;t<b;t++){let r=e.attributes[t];lN(v,r.name,r.value)||(w[r.name]=lD(o,v,lg(r.name),r.value))}if("link"===v&&l){let t=Array.from(o.styleSheets).find(t=>t.href===e.href),r=null;t&&(r=lf(t)),r&&(delete w.rel,delete w.href,w._cssText=r)}if("style"===v&&e.sheet){let t=lf(e.sheet);t&&(e.childNodes.length>1&&(t=(function(e,t,r=!1){let n=Array.from(t.childNodes),i=[],o=0;if(n.length>1&&e&&"string"==typeof e){let t=lx(e,r),s=t.length/e.length;for(let a=1;a<n.length;a++)if(n[a].textContent&&"string"==typeof n[a].textContent){let l=lx(n[a].textContent,r),c=3;for(;c<l.length&&(l[c].match(/[a-zA-Z0-9]/)||-1!==l.indexOf(l.substring(0,c),1));c++);for(;c<l.length;c++){let u=l.substring(0,c),d=t.split(u),f=-1;if(2===d.length)f=d[0].length;else if(d.length>2&&""===d[0]&&""!==n[a-1].textContent)f=t.indexOf(u,1);else if(1===d.length){if(u=u.substring(0,u.length-1),(d=t.split(u)).length<=1)return i.push(e),i;c=101}else c===l.length-1&&(f=t.indexOf(u));if(d.length>=2&&c>100){let e=n[a-1].textContent;if(e&&"string"==typeof e){let r=lx(e).length;f=t.indexOf(u,r)}-1===f&&(f=d[0].length)}if(-1!==f){let a=Math.floor(f/s);for(;a>0&&a<e.length;){if((o+=1)>50*n.length)return i.push(e),i;let l=lx(e.substring(0,a),r);if(l.length===f){i.push(e.substring(0,a)),e=e.substring(a),t=t.substring(f);break}l.length<f?a+=Math.max(1,Math.floor((f-l.length)/s)):a-=Math.max(1,Math.floor((l.length-f)*s))}break}}}}return i.push(e),i})(t,e).join("/* rr_split */")),w._cssText=t)}if(["input","textarea","select"].includes(v)){let t=e.value,r=e.checked;"radio"!==w.type&&"checkbox"!==w.type&&"submit"!==w.type&&"button"!==w.type&&t?w.value=lm({element:e,type:lv(e),tagName:v,value:t,maskInputOptions:c,maskInputFn:u}):r&&(w.checked=r)}if("option"===v&&(e.selected&&!c.select?w.selected=!0:delete w.selected),"dialog"===v&&e.open&&(w.rr_open_mode=e.matches("dialog:modal")?"modal":"non-modal"),"canvas"===v&&h){if("2d"===e.__context)!function(e){let t=e.getContext("2d");if(!t)return!0;for(let r=0;r<e.width;r+=50)for(let n=0;n<e.height;n+=50){let i=t.getImageData;
1if(new Uint32Array((ly in i?i[ly]:i).call(t,r,n,Math.min(50,e.width-r),Math.min(50,e.height-n)).data.buffer).some(e=>0!==e))return!1}return!0}(e)&&(w.rr_dataURL=e.toDataURL(d.type,d.quality));else if(!("__context"in e)){let t=e.toDataURL(d.type,d.quality),r=o.createElement("canvas");r.width=e.width,r.height=e.height,t!==r.toDataURL(d.type,d.quality)&&(w.rr_dataURL=t)}}if("img"===v&&f){t||(r=(t=o.createElement("canvas")).getContext("2d"));let n=e.currentSrc||e.getAttribute("src")||"<unknown-src>",i=e.crossOrigin,s=()=>{e.removeEventListener("load",s);try{t.width=e.naturalWidth,t.height=e.naturalHeight,r.drawImage(e,0,0),w.rr_dataURL=t.toDataURL(d.type,d.quality)}catch(t){if("anonymous"!==e.crossOrigin){e.crossOrigin="anonymous",e.complete&&0!==e.naturalWidth?s():e.addEventListener("load",s);return}console.warn(`Cannot inline img src=${n}! Error: ${t}`)}"anonymous"===e.crossOrigin&&(i?w.crossOrigin=i:e.removeAttribute("crossorigin"))};e.complete&&0!==e.naturalWidth?s():e.addEventListener("load",s)}if(["audio","video"].includes(v)){let t=w;t.rr_mediaState=e.paused?"paused":"played",t.rr_mediaCurrentTime=e.currentTime,t.rr_mediaPlaybackRate=e.playbackRate,t.rr_mediaMuted=e.muted,t.rr_mediaLoop=e.loop,t.rr_mediaVolume=e.volume}if(!m&&(e.scrollLeft&&(w.rr_scrollLeft=e.scrollLeft),e.scrollTop&&(w.rr_scrollTop=e.scrollTop)),y){let{width:t,height:r}=e.getBoundingClientRect();w={class:w.class,rr_width:`${t}px`,rr_height:`${r}px`}}"iframe"!==v||p(w.src)||(e.contentDocument||(w.rr_src=w.src),delete w.src);try{customElements.get(v)&&(i=!0)}catch(e){}return{type:a5.Element,tagName:v,attributes:w,childNodes:[],isSVG:!!("svg"===e.tagName||e.ownerSVGElement)||void 0,needBlock:y,rootId:g,isCustom:i}}(e,{doc:i,blockClass:s,blockSelector:a,inlineStylesheet:c,maskInputOptions:u,maskInputFn:f,dataURLOptions:h,inlineImages:p,recordCanvas:m,keepIframeSrcFn:g,newlyAddedElement:y,rootId:w});case e.TEXT_NODE:return function(e,t){let{needsMask:r,maskTextFn:n,rootId:i,cssCaptured:o}=t,s=lo(e),a=s&&s.tagName,l="",c="STYLE"===a||void 0,u="SCRIPT"===a||void 0;return u?l="SCRIPT_PLACEHOLDER":!o&&(l=la(e),c&&l&&(l=lC(l,lP(t.doc)))),!c&&!u&&l&&r&&(l=n?n(l,ls(e)):l.replace(/[\S]/g,"*")),{type:a5.Text,textContent:l||"",rootId:i}}(e,{doc:i,needsMask:l,maskTextFn:d,rootId:w,cssCaptured:v});case e.CDATA_SECTION_NODE:return{type:a5.CDATA,textContent:"",rootId:w};case e.COMMENT_NODE:return{type:a5.Comment,textContent:la(e)||"",rootId:w};default:return!1}}(e,{doc:o,mirror:s,blockClass:a,blockSelector:l,needsMask:T,inlineStylesheet:f,maskInputOptions:h,maskTextFn:p,maskInputFn:m,dataURLOptions:y,inlineImages:v,recordCanvas:w,keepIframeSrcFn:x,newlyAddedElement:k,cssCaptured:I});if(!M)return console.warn(e,"not serialized"),null;i=s.hasNode(e)?s.getId(e):!function(e,t){if(t.comment&&e.type===a5.Comment)return!0;if(e.type===a5.Element){if(t.script&&("script"===e.tagName||"link"===e.tagName&&("preload"===e.attributes.rel&&"script"===e.attributes.as||"modulepreload"===e.attributes.rel)||"link"===e.tagName&&"prefetch"===e.attributes.rel&&"string"==typeof e.attributes.href&&"js"===lw(e.attributes.href)))return!0;else if(t.headFavicon&&("link"===e.tagName&&"shortcut icon"===e.attributes.rel||"meta"===e.tagName&&(lU(e.attributes.name).match(/^msapplication-tile(image|color)$/)||"application-name"===lU(e.attributes.name)||"icon"===lU(e.attributes.rel)||"apple-touch-icon"===lU(e.attributes.rel)||"shortcut icon"===lU(e.attributes.rel))))return!0;else if("meta"===e.tagName){if(t.headMetaDescKeywords&&lU(e.attributes.name).match(/^description|keywords$/))return!0;else if(t.headMetaSocial&&(lU(e.attributes.property).match(/^(og|twitter|fb):/)||lU(e.attributes.name).match(/^(og|twitter):/)||"pinterest"===lU(e.attributes.name)))return!0;else if(t.headMetaRobots&&("robots"===lU(e.attributes.name)||"googlebot"===lU(e.attributes.name)||"bingbot"===lU(e.attributes.name)))return!0;else if(t.headMetaHttpEquiv&&void 0!==e.attributes["http-equiv"])return!0;else if(t.headMetaAuthorship&&("author"===lU(e.attributes.name)||"generator"===lU(e.attributes.name)||"framework"===lU(e.attributes.name)||"publisher"===lU(e.attributes.name)||"progid"===lU(e.attributes.name)||lU(e.attributes.property).match(/^article:/)||lU(e.attributes.property).match(/^product:/)))return!0;else if(t.headMetaVerification&&("google-site-verification"===lU(e.attributes.name)||"yandex-verification"===lU(e.attributes.name)||"csrf-token"===lU(e.attributes.name)||"p:domain_verify"===lU(e.attributes.name)||"verify-v1"===lU(e.attributes.name)||"verification"===lU(e.attributes.name)||"shopify-checkout-api-token"===lU(e.attributes.name)))return!0}}return!1}(M,g)&&(A||M.type!==a5.Text||M.textContent.replace(/^\s+|\s+$/gm,"").length)?lT():-2;let O=Object.assign(M,{id:i});if(s.add(e,O),-2===i)return null;b&&b(e);let R=!d;if(O.type===a5.Element){R=R&&!O.needBlock,delete O.needBlock;let t=ll(e);t&&ld(t)&&(O.isShadowHost=!0)}if((O.type===a5.Document||O.type===a5.Element)&&R){g.headWhitespace&&O.type===a5.Element&&"head"===O.tagName&&(A=!1);let t={doc:o,mirror:s,blockClass:a,blockSelector:l,needsMask:T,maskTextClass:c,maskTextSelector:u,skipChild:d,inlineStylesheet:f,maskInputOptions:h,maskTextFn:p,maskInputFn:m,slimDOMOptions:g,dataURLOptions:y,inlineImages:v,recordCanvas:w,preserveWhiteSpace:A,onSerialize:b,onIframeLoad:_,iframeLoadTimeout:S,onStylesheetLoad:E,stylesheetLoadTimeout:C,keepIframeSrcFn:x,cssCaptured:!1};if(O.type===a5.Element&&"textarea"===O.tagName&&void 0!==O.attributes.value);else for(let r of(O.type===a5.Element&&void 0!==O.attributes._cssText&&"string"==typeof O.attributes._cssText&&(t.cssCaptured=!0),Array.from(li(e)))){let e=lB(r,t);e&&O.childNodes.push(e)}let r=null;if(lc(e)&&(r=ll(e)))for(let e of Array.from(li(r))){let n=lB(e,t);n&&(ld(r)&&(n.isShadow=!0),O.childNodes.push(n))}}let P=lo(e);return P&&lu(P)&&ld(P)&&(O.isShadow=!0),O.type===a5.Element&&"iframe"===O.tagName&&function(e,t,r){let n,i=e.contentWindow;if(!i)return;let o=!1;try{n=i.document.readyState}catch(e){return}if("complete"!==n){let n=setTimeout(()=>{o||(t(),o=!0)},r);e.addEventListener("load",()=>{clearTimeout(n),o=!0,t()});return}let s="about:blank";if(i.location.href!==s||e.src===s||""===e.src)return setTimeout(t,0),e.addEventListener("load",t);e.addEventListener("load",t)}(e,()=>{let t=e.contentDocument;if(t&&_){let r=lB(t,{doc:t,mirror:s,blockClass:a,blockSelector:l,needsMask:T,maskTextClass:c,maskTextSelector:u,skipChild:!1,inlineStylesheet:f,maskInputOptions:h,maskTextFn:p,maskInputFn:m,slimDOMOptions:g,dataURLOptions:y,inlineImages:v,recordCanvas:w,preserveWhiteSpace:A,onSerialize:b,onIframeLoad:_,iframeLoadTimeout:S,onStylesheetLoad:E,stylesheetLoadTimeout:C,keepIframeSrcFn:x});r&&_(e,r)}},S),O.type===a5.Element&&"link"===O.tagName&&"string"==typeof O.attributes.rel&&("stylesheet"===O.attributes.rel||"preload"===O.attributes.rel&&"string"==typeof O.attributes.href&&"css"===lw(O.attributes.href))&&function(e,t,r){let n,i=!1;try{n=e.sheet}catch(e){return}if(n)return;let o=setTimeout(()=>{i||(t(),i=!0)},r);e.addEventListener("load",()=>{clearTimeout(o),i=!0,t()})}(e,()=>{if(E){let t=lB(e,{doc:o,mirror:s,blockClass:a,blockSelector:l,needsMask:T,maskTextClass:c,maskTextSelector:u,skipChild:!1,inlineStylesheet:f,maskInputOptions:h,maskTextFn:p,maskInputFn:m,slimDOMOptions:g,dataURLOptions:y,inlineImages:v,recordCanvas:w,preserveWhiteSpace:A,onSerialize:b,onIframeLoad:_,iframeLoadTimeout:S,onStylesheetLoad:E,stylesheetLoadTimeout:C,keepIframeSrcFn:x});t&&E(e,t)}},C),O}RegExp(/(max|min)-device-(width|height)/.source,"g");
1var lj={exports:{}};let lV=function(e){if(e.__esModule)return e;var t=e.default;if("function"==typeof t){var r=function e(){return this instanceof e?Reflect.construct(t,arguments,this.constructor):t.apply(this,arguments)};r.prototype=t.prototype}else r={};return Object.defineProperty(r,"__esModule",{value:!0}),Object.keys(e).forEach(function(t){var n=Object.getOwnPropertyDescriptor(e,t);Object.defineProperty(r,t,n.get?n:{enumerable:!0,get:function(){return e[t]}})}),r}(Object.freeze(Object.defineProperty({__proto__:null,default:{}},Symbol.toStringTag,{value:"Module"})));function l$(){if(ee)return Z;ee=1;let e=function(){if(Q)return lj.exports;Q=1;var e=String,t=function(){return{isColorSupported:!1,reset:e,bold:e,dim:e,italic:e,underline:e,inverse:e,hidden:e,strikethrough:e,black:e,red:e,green:e,yellow:e,blue:e,magenta:e,cyan:e,white:e,gray:e,bgBlack:e,bgRed:e,bgGreen:e,bgYellow:e,bgBlue:e,bgMagenta:e,bgCyan:e,bgWhite:e}};return lj.exports=t(),lj.exports.createColors=t,lj.exports}();class t extends Error{constructor(e,r,n,i,o,s){super(e),this.name="CssSyntaxError",this.reason=e,o&&(this.file=o),i&&(this.source=i),s&&(this.plugin=s),void 0!==r&&void 0!==n&&("number"==typeof r?(this.line=r,this.column=n):(this.line=r.line,this.column=r.column,this.endLine=n.line,this.endColumn=n.column)),this.setMessage(),Error.captureStackTrace&&Error.captureStackTrace(this,t)}setMessage(){this.message=this.plugin?this.plugin+": ":"",this.message+=this.file?this.file:"<css input>",void 0!==this.line&&(this.message+=":"+this.line+":"+this.column),this.message+=": "+this.reason}showSourceCode(t){let r,n;if(!this.source)return"";let i=this.source;null==t&&(t=e.isColorSupported),lV&&t&&(i=lV(i));let o=i.split(/\r?\n/),s=Math.max(this.line-3,0),a=Math.min(this.line+2,o.length),l=String(a).length;if(t){let{bold:t,gray:i,red:o}=e.createColors(!0);r=e=>t(o(e)),n=e=>i(e)}else r=n=e=>e;return o.slice(s,a).map((e,t)=>{let i=s+1+t,o=" "+(" "+i).slice(-l)+" | ";if(i===this.line){let t=n(o.replace(/\d/g," "))+e.slice(0,this.column-1).replace(/[^\t]/g," ");return r(">")+n(o)+e+"\n "+t+r("^")}return" "+n(o)+e}).join("\n")}toString(){let e=this.showSourceCode();return e&&(e="\n\n"+e+"\n"),this.name+": "+this.message+e}}return Z=t,t.default=t,Z}var lH={};function lG(){return et||(et=1,lH.isClean=Symbol("isClean"),lH.my=Symbol("my")),lH}function lW(){if(en)return er;en=1;let e={after:"\n",beforeClose:"\n",beforeComment:"\n",beforeDecl:"\n",beforeOpen:" ",beforeRule:"\n",colon:": ",commentLeft:" ",commentRight:" ",emptyBody:"",indent:"    ",semicolon:!1};class t{constructor(e){this.builder=e}atrule(e,t){let r="@"+e.name,n=e.params?this.rawValue(e,"params"):"";if(void 0!==e.raws.afterName?r+=e.raws.afterName:n&&(r+=" "),e.nodes)this.block(e,r+n);else{let i=(e.raws.between||"")+(t?";":"");this.builder(r+n+i,e)}}beforeAfter(e,t){let r;r="decl"===e.type?this.raw(e,null,"beforeDecl"):"comment"===e.type?this.raw(e,null,"beforeComment"):"before"===t?this.raw(e,null,"beforeRule"):this.raw(e,null,"beforeClose");let n=e.parent,i=0;for(;n&&"root"!==n.type;)i+=1,n=n.parent;if(r.includes("\n")){let t=this.raw(e,null,"indent");if(t.length)for(let e=0;e<i;e++)r+=t}return r}block(e,t){let r,n=this.raw(e,"between","beforeOpen");this.builder(t+n+"{",e,"start"),e.nodes&&e.nodes.length?(this.body(e),r=this.raw(e,"after")):r=this.raw(e,"after","emptyBody"),r&&this.builder(r),this.builder("}",e,"end")}body(e){let t=e.nodes.length-1;for(;t>0&&"comment"===e.nodes[t].type;)t-=1;let r=this.raw(e,"semicolon");for(let n=0;n<e.nodes.length;n++){let i=e.nodes[n],o=this.raw(i,"before");o&&this.builder(o),this.stringify(i,t!==n||r)}}comment(e){let t=this.raw(e,"left","commentLeft"),r=this.raw(e,"right","commentRight");this.builder("/*"+t+e.text+r+"*/",e)}decl(e,t){let r=this.raw(e,"between","colon"),n=e.prop+r+this.rawValue(e,"value");e.important&&(n+=e.raws.important||" !important"),t&&(n+=";"),this.builder(n,e)}document(e){this.body(e)}raw(t,r,n){let i;if(n||(n=r),r&&void 0!==(i=t.raws[r]))return i;let o=t.parent;if("before"===n&&(!o||"root"===o.type&&o.first===t||o&&"document"===o.type))return"";if(!o)return e[n];let s=t.root();if(s.rawCache||(s.rawCache={}),void 0!==s.rawCache[n])return s.rawCache[n];if("before"===n||"after"===n)return this.beforeAfter(t,n);{var a;let e="raw"+((a=n)[0].toUpperCase()+a.slice(1));this[e]?i=this[e](s,t):s.walk(e=>{if(void 0!==(i=e.raws[r]))return!1})}return void 0===i&&(i=e[n]),s.rawCache[n]=i,i}rawBeforeClose(e){let t;return e.walk(e=>{if(e.nodes&&e.nodes.length>0&&void 0!==e.raws.after)return(t=e.raws.after).includes("\n")&&(t=t.replace(/[^\n]+$/,"")),!1}),t&&(t=t.replace(/\S/g,"")),t}rawBeforeComment(e,t){let r;return e.walkComments(e=>{if(void 0!==e.raws.before)return(r=e.raws.before).includes("\n")&&(r=r.replace(/[^\n]+$/,"")),!1}),void 0===r?r=this.raw(t,null,"beforeDecl"):r&&(r=r.replace(/\S/g,"")),r}rawBeforeDecl(e,t){let r;return e.walkDecls(e=>{if(void 0!==e.raws.before)return(r=e.raws.before).includes("\n")&&(r=r.replace(/[^\n]+$/,"")),!1}),void 0===r?r=this.raw(t,null,"beforeRule"):r&&(r=r.replace(/\S/g,"")),r}rawBeforeOpen(e){let t;return e.walk(e=>{if("decl"!==e.type&&void 0!==(t=e.raws.between))return!1}),t}rawBeforeRule(e){let t;return e.walk(r=>{if(r.nodes&&(r.parent!==e||e.first!==r)&&void 0!==r.raws.before)return(t=r.raws.before).includes("\n")&&(t=t.replace(/[^\n]+$/,"")),!1}),t&&(t=t.replace(/\S/g,"")),t}rawColon(e){let t;return e.walkDecls(e=>{if(void 0!==e.raws.between)return t=e.raws.between.replace(/[^\s:]/g,""),!1}),t}rawEmptyBody(e){let t;return e.walk(e=>{if(e.nodes&&0===e.nodes.length&&void 0!==(t=e.raws.after))return!1}),t}rawIndent(e){let t;return e.raws.indent?e.raws.indent:(e.walk(r=>{let n=r.parent;if(n&&n!==e&&n.parent&&n.parent===e&&void 0!==r.raws.before){let e=r.raws.before.split("\n");return t=(t=e[e.length-1]).replace(/\S/g,""),!1}}),t)}rawSemicolon(e){let t;return e.walk(e=>{if(e.nodes&&e.nodes.length&&"decl"===e.last.type&&void 0!==(t=e.raws.semicolon))return!1}),t}rawValue(e,t){let r=e[t],n=e.raws[t];return n&&n.value===r?n.raw:r}root(e){this.body(e),e.raws.after&&this.builder(e.raws.after)}rule(e){this.block(e,this.rawValue(e,"selector")),e.raws.ownSemicolon&&this.builder(e.raws.ownSemicolon,e,"end")}stringify(e,t){if(!this[e.type])throw Error("Unknown AST node type "+e.type+". Maybe you need to change PostCSS stringifier.");this[e.type](e,t)}}return er=t,t.default=t,er}function lq(){if(eo)return ei;eo=1;let e=lW();function t(t,r){new e(r).stringify(t)}return ei=t,t.default=t,ei}function lJ(){if(ea)return es;ea=1;let{isClean:e,my:t}=lG(),r=l$(),n=lW(),i=lq();class o{constructor(r={}){for(let n in this.raws={},this[e]=!1,this[t]=!0,r)if("nodes"===n)for(let e of(this.nodes=[],r[n]))"function"==typeof e.clone?this.append(e.clone()):this.append(e);else this[n]=r[n]}
1addToError(e){if(e.postcssNode=this,e.stack&&this.source&&/\n\s{4}at /.test(e.stack)){let t=this.source;e.stack=e.stack.replace(/\n\s{4}at /,`$&${t.input.from}:${t.start.line}:${t.start.column}$&`)}return e}after(e){return this.parent.insertAfter(this,e),this}assign(e={}){for(let t in e)this[t]=e[t];return this}before(e){return this.parent.insertBefore(this,e),this}cleanRaws(e){delete this.raws.before,delete this.raws.after,e||delete this.raws.between}clone(e={}){let t=function e(t,r){let n=new t.constructor;for(let i in t){if(!Object.prototype.hasOwnProperty.call(t,i)||"proxyCache"===i)continue;let o=t[i],s=typeof o;"parent"===i&&"object"===s?r&&(n[i]=r):"source"===i?n[i]=o:Array.isArray(o)?n[i]=o.map(t=>e(t,n)):("object"===s&&null!==o&&(o=e(o)),n[i]=o)}return n}(this);for(let r in e)t[r]=e[r];return t}cloneAfter(e={}){let t=this.clone(e);return this.parent.insertAfter(this,t),t}cloneBefore(e={}){let t=this.clone(e);return this.parent.insertBefore(this,t),t}error(e,t={}){if(this.source){let{end:r,start:n}=this.rangeBy(t);return this.source.input.error(e,{column:n.column,line:n.line},{column:r.column,line:r.line},t)}return new r(e)}getProxyProcessor(){return{get:(e,t)=>"proxyOf"===t?e:"root"===t?()=>e.root().toProxy():e[t],set:(e,t,r)=>e[t]===r||(e[t]=r,("prop"===t||"value"===t||"name"===t||"params"===t||"important"===t||"text"===t)&&e.markDirty(),!0)}}
1markDirty(){if(this[e]){this[e]=!1;let t=this;for(;t=t.parent;)t[e]=!1}}next(){if(!this.parent)return;let e=this.parent.index(this);return this.parent.nodes[e+1]}positionBy(e,t){let r=this.source.start;if(e.index)r=this.positionInside(e.index,t);else if(e.word){let n=(t=this.toString()).indexOf(e.word);-1!==n&&(r=this.positionInside(n,t))}return r}positionInside(e,t){let r=t||this.toString(),n=this.source.start.column,i=this.source.start.line;for(let t=0;t<e;t++)"\n"===r[t]?(n=1,i+=1):n+=1;return{column:n,line:i}}prev(){if(!this.parent)return;let e=this.parent.index(this);return this.parent.nodes[e-1]}rangeBy(e){let t={column:this.source.start.column,line:this.source.start.line},r=this.source.end?{column:this.source.end.column+1,line:this.source.end.line}:{column:t.column+1,line:t.line};if(e.word){let n=this.toString(),i=n.indexOf(e.word);-1!==i&&(t=this.positionInside(i,n),r=this.positionInside(i+e.word.length,n))}else e.start?t={column:e.start.column,line:e.start.line}:e.index&&(t=this.positionInside(e.index)),e.end?r={column:e.end.column,line:e.end.line}:"number"==typeof e.endIndex?r=this.positionInside(e.endIndex):e.index&&(r=this.positionInside(e.index+1));return(r.line<t.line||r.line===t.line&&r.column<=t.column)&&(r={column:t.column+1,line:t.line}),{end:r,start:t}}raw(e,t){return new n().raw(this,e,t)}remove(){return this.parent&&this.parent.removeChild(this),this.parent=void 0,this}replaceWith(...e){if(this.parent){let t=this,r=!1;for(let n of e)n===this?r=!0:r?(this.parent.insertAfter(t,n),t=n):this.parent.insertBefore(t,n);r||this.remove()}return this}root(){let e=this;for(;e.parent&&"document"!==e.parent.type;)e=e.parent;return e}toJSON(e,t){let r={},n=null==t;t=t||new Map;let i=0;for(let e in this){if(!Object.prototype.hasOwnProperty.call(this,e)||"parent"===e||"proxyCache"===e)continue;let n=this[e];if(Array.isArray(n))r[e]=n.map(e=>"object"==typeof e&&e.toJSON?e.toJSON(null,t):e);else if("object"==typeof n&&n.toJSON)r[e]=n.toJSON(null,t);else if("source"===e){let o=t.get(n.input);null==o&&(o=i,t.set(n.input,i),i++),r[e]={end:n.end,inputId:o,start:n.start}}else r[e]=n}return n&&(r.inputs=[...t.keys()].map(e=>e.toJSON())),r}toProxy(){return this.proxyCache||(this.proxyCache=new Proxy(this,this.getProxyProcessor())),this.proxyCache}toString(e=i){e.stringify&&(e=e.stringify);let t="";return e(this,e=>{t+=e}),t}warn(e,t,r){let n={node:this};for(let e in r)n[e]=r[e];return e.warn(t,n)}get proxyOf(){return this}}return es=o,o.default=o,es}function lY(){if(ec)return el;ec=1;let e=lJ();class t extends e{constructor(e){e&&void 0!==e.value&&"string"!=typeof e.value&&(e={...e,value:String(e.value)}),super(e),this.type="decl"}get variable(){return this.prop.startsWith("--")||"$"===this.prop[0]}}return el=t,t.default=t,el}function lK(){if(eh)return ef;eh=1;let{SourceMapConsumer:e,SourceMapGenerator:t}=lV,{existsSync:r,readFileSync:n}=lV,{dirname:i,join:o}=lV;class s{constructor(e,t){if(!1===t.map)return;this.loadAnnotation(e),this.inline=this.startWith(this.annotation,"data:");let r=t.map?t.map.prev:void 0,n=this.loadMap(t.from,r);!this.mapFile&&t.from&&(this.mapFile=t.from),this.mapFile&&(this.root=i(this.mapFile)),n&&(this.text=n)}consumer(){return this.consumerCache||(this.consumerCache=new e(this.text)),this.consumerCache}decodeInline(e){if(/^data:application\/json;charset=utf-?8,/.test(e)||/^data:application\/json,/.test(e))return decodeURIComponent(e.substr(RegExp.lastMatch.length));if(/^data:application\/json;charset=utf-?8;base64,/.test(e)||/^data:application\/json;base64,/.test(e)){var t;return t=e.substr(RegExp.lastMatch.length),a0.Buffer.from(t,"base64").toString()}throw Error("Unsupported source map encoding "+e.match(/data:application\/json;([^,]+),/)[1])}getAnnotationURL(e){return e.replace(/^\/\*\s*# sourceMappingURL=/,"").trim()}isMap(e){return"object"==typeof e&&("string"==typeof e.mappings||"string"==typeof e._mappings||Array.isArray(e.sections))}loadAnnotation(e){let t=e.match(/\/\*\s*# sourceMappingURL=/gm);if(!t)return;let r=e.lastIndexOf(t.pop()),n=e.indexOf("*/",r);r>-1&&n>-1&&(this.annotation=this.getAnnotationURL(e.substring(r,n)))}loadFile(e){if(this.root=i(e),r(e))return this.mapFile=e,n(e,"utf-8").toString().trim()}loadMap(r,n){if(!1===n)return!1;if(n)if("string"==typeof n)return n;else if("function"==typeof n){let e=n(r);if(e){let t=this.loadFile(e);
1if(!t)throw Error("Unable to load previous source map: "+e.toString());return t}}else if(n instanceof e)return t.fromSourceMap(n).toString();else if(n instanceof t)return n.toString();else if(this.isMap(n))return JSON.stringify(n);else throw Error("Unsupported previous source map format: "+n.toString());else if(this.inline)return this.decodeInline(this.annotation);else if(this.annotation){let e=this.annotation;return r&&(e=o(i(r),e)),this.loadFile(e)}}startWith(e,t){return!!e&&e.substr(0,t.length)===t}withContent(){return!!(this.consumer().sourcesContent&&this.consumer().sourcesContent.length>0)}}return ef=s,s.default=s,ef}function lX(){if(em)return ep;em=1;let{SourceMapConsumer:e,SourceMapGenerator:t}=lV,{fileURLToPath:r,pathToFileURL:n}=lV,{isAbsolute:i,resolve:o}=lV,{nanoid:s}=ed?eu:(ed=1,eu={nanoid:(e=21)=>{let t="",r=e;for(;r--;)t+="useandom-26T198340PX75pxJACKVERYMINDBUSHWOLF_GQZbfghjklqvwyzrict"[64*Math.random()|0];return t},customAlphabet:(e,t=21)=>(r=t)=>{let n="",i=r;for(;i--;)n+=e[Math.random()*e.length|0];return n}}
1),a=l$(),l=lK(),c=Symbol("fromOffsetCache"),u=!!(e&&t),d=!!(o&&i);class f{constructor(e,t={}){if(null==e||"object"==typeof e&&!e.toString)throw Error(`PostCSS received ${e} instead of CSS string`);if(this.css=e.toString(),"\uFEFF"===this.css[0]||"￾"===this.css[0]?(this.hasBOM=!0,this.css=this.css.slice(1)):this.hasBOM=!1,t.from&&(!d||/^\w+:\/\//.test(t.from)||i(t.from)?this.file=t.from:this.file=o(t.from)),d&&u){let e=new l(this.css,t);if(e.text){this.map=e;let t=e.consumer().file;!this.file&&t&&(this.file=this.mapResolve(t))}}this.file||(this.id="<input css "+s(6)+">"),this.map&&(this.map.file=this.from)}error(e,t,r,i={}){let o,s,l;if(t&&"object"==typeof t){let e=t,n=r;if("number"==typeof e.offset){let n=this.fromOffset(e.offset);t=n.line,r=n.col}else t=e.line,r=e.column;if("number"==typeof n.offset){let e=this.fromOffset(n.offset);s=e.line,l=e.col}else s=n.line,l=n.column}else if(!r){let e=this.fromOffset(t);t=e.line,r=e.col}let c=this.origin(t,r,s,l);return(o=c?new a(e,void 0===c.endLine?c.line:{column:c.column,line:c.line},void 0===c.endLine?c.column:{column:c.endColumn,line:c.endLine},c.source,c.file,i.plugin):new a(e,void 0===s?t:{column:r,line:t},void 0===s?r:{column:l,line:s},this.css,this.file,i.plugin)).input={column:r,endColumn:l,endLine:s,line:t,source:this.css},this.file&&(n&&(o.input.url=n(this.file).toString()),o.input.file=this.file),o}fromOffset(e){let t,r;if(this[c])r=this[c];else{let e=this.css.split("\n");r=Array(e.length);let t=0;for(let n=0,i=e.length;n<i;n++)r[n]=t,t+=e[n].length+1;this[c]=r}t=r[r.length-1];let n=0;if(e>=t)n=r.length-1;else{let t,i=r.length-2;for(;n<i;)if(e<r[t=n+(i-n>>1)])i=t-1;else if(e>=r[t+1])n=t+1;else{n=t;break}}return{col:e-r[n]+1,line:n+1}}mapResolve(e){return/^\w+:\/\//.test(e)?e:o(this.map.consumer().sourceRoot||this.map.root||".",e)}origin(e,t,o,s){let a,l;if(!this.map)return!1;let c=this.map.consumer(),u=c.originalPositionFor({column:t,line:e});if(!u.source)return!1;"number"==typeof o&&(a=c.originalPositionFor({column:s,line:o})),l=i(u.source)?n(u.source):new URL(u.source,this.map.consumer().sourceRoot||n(this.map.mapFile));let d={column:u.column,endColumn:a&&a.column,endLine:a&&a.line,line:u.line,url:l.toString()};if("file:"===l.protocol)if(r)d.file=r(l);else throw Error("file: protocol is not available in this PostCSS build");let f=c.sourceContentFor(u.source);return f&&(d.source=f),d}toJSON(){let e={};for(let t of["hasBOM","css","file","id"])null!=this[t]&&(e[t]=this[t]);return this.map&&(e.map={...this.map},e.map.consumerCache&&(e.map.consumerCache=void 0)),e}get from(){return this.file||this.id}}return ep=f,f.default=f,lV&&lV.registerInput&&lV.registerInput(f),ep}function lQ(){if(ey)return eg;ey=1;let{SourceMapConsumer:e,SourceMapGenerator:t}=lV,{dirname:r,relative:n,resolve:i,sep:o}=lV,{pathToFileURL:s}=lV,a=lX(),l=!!(e&&t),c=!!(r&&i&&n&&o);return eg=class{constructor(e,t,r,n){this.stringify=e,this.mapOpts=r.map||{},this.root=t,this.opts=r,this.css=n,this.originalCSS=n,this.usesFileUrls=!this.mapOpts.from&&this.mapOpts.absolute,this.memoizedFileURLs=new Map,this.memoizedPaths=new Map,this.memoizedURLs=new Map}addAnnotation(){let e;e=this.isInline()?"data:application/json;base64,"+this.toBase64(this.map.toString()):"string"==typeof this.mapOpts.annotation?this.mapOpts.annotation:"function"==typeof this.mapOpts.annotation?this.mapOpts.annotation(this.opts.to,this.root):this.outputFile()+".map";let t="\n";this.css.includes("\r\n")&&(t="\r\n"),this.css+=t+"/*# sourceMappingURL="+e+" */"}applyPrevMaps(){for(let t of this.previous()){let n,i=this.toUrl(this.path(t.file)),o=t.root||r(t.file);!1===this.mapOpts.sourcesContent?(n=new e(t.text)).sourcesContent&&(n.sourcesContent=null):n=t.consumer(),this.map.applySourceMap(n,i,this.toUrl(this.path(o)))}}clearAnnotation(){if(!1!==this.mapOpts.annotation)if(this.root){let e;for(let t=this.root.nodes.length-1;t>=0;t--)"comment"===(e=this.root.nodes[t]).type&&0===e.text.indexOf("# sourceMappingURL=")&&this.root.removeChild(t)}else this.css&&(this.css=this.css.replace(/\n*?\/\*#[\S\s]*?\*\/$/gm,""))}generate(){if(this.clearAnnotation(),c&&l&&this.isMap())return this.generateMap();{let e="";return this.stringify(this.root,t=>{e+=t}),[e]}}generateMap(){if(this.root)this.generateString();else if(1===this.previous().length){let e=this.previous()[0].consumer();e.file=this.outputFile(),this.map=t.fromSourceMap(e,{ignoreInvalidMapping:!0})}else this.map=new t({file:this.outputFile(),ignoreInvalidMapping:!0}),this.map.addMapping({generated:{column:0,line:1},original:{column:0,line:1},source:this.opts.from?this.toUrl(this.path(this.opts.from)):"<no source>"});return(this.isSourcesContent()&&this.setSourcesContent(),this.root&&this.previous().length>0&&this.applyPrevMaps(),this.isAnnotation()&&this.addAnnotation(),this.isInline())?[this.css]:[this.css,this.map]}generateString(){let e,r;this.css="",this.map=new t({file:this.outputFile(),ignoreInvalidMapping:!0});let n=1,i=1,o="<no source>",s={generated:{column:0,line:0},original:{column:0,line:0},source:""};this.stringify(this.root,(t,a,l)=>{if(this.css+=t,a&&"end"!==l&&(s.generated.line=n,s.generated.column=i-1,a.source&&a.source.start?(s.source=this.sourcePath(a),s.original.line=a.source.start.line,s.original.column=a.source.start.column-1):(s.source=o,s.original.line=1,s.original.column=0),this.map.addMapping(s)),(e=t.match(/\n/g))?(n+=e.length,r=t.lastIndexOf("\n"),i=t.length-r):i+=t.length,a&&"start"!==l){let e=a.parent||{raws:{}};(!("decl"===a.type||"atrule"===a.type&&!a.nodes)||a!==e.last||e.raws.semicolon)&&(a.source&&a.source.end?(s.source=this.sourcePath(a),s.original.line=a.source.end.line,s.original.column=a.source.end.column-1,s.generated.line=n,s.generated.column=i-2):(s.source=o,s.original.line=1,s.original.column=0,s.generated.line=n,s.generated.column=i-1),this.map.addMapping(s))}})}isAnnotation(){return!!this.isInline()||(void 0!==this.mapOpts.annotation?this.mapOpts.annotation:!this.previous().length||this.previous().some(e=>e.annotation))}isInline(){if(void 0!==this.mapOpts.inline)return this.mapOpts.inline;let e=this.mapOpts.annotation;return(void 0===e||!0===e)&&(!this.previous().length||this.previous().some(e=>e.inline))}isMap(){return void 0!==this.opts.map?!!this.opts.map:this.previous().length>0}isSourcesContent(){return void 0!==this.mapOpts.sourcesContent?this.mapOpts.sourcesContent:!this.previous().length||this.previous().some(e=>e.withContent())}outputFile(){return this.opts.to?this.path(this.opts.to):this.opts.from?this.path(this.opts.from):"to.css"}path(e){if(this.mapOpts.absolute||60===e.charCodeAt(0)||/^\w+:\/\//.test(e))return e;let t=this.memoizedPaths.get(e);if(t)return t;let o=this.opts.to?r(this.opts.to):".";"string"==typeof this.mapOpts.annotation&&(o=r(i(o,this.mapOpts.annotation)));let s=n(o,e);return this.memoizedPaths.set(e,s),s}previous(){if(!this.previousMaps)if(this.previousMaps=[],this.root)this.root.walk(e=>{if(e.source&&e.source.input.map){let t=e.source.input.map;this.previousMaps.includes(t)||this.previousMaps.push(t)}});else{let e=new a(this.originalCSS,this.opts);e.map&&this.previousMaps.push(e.map)}return this.previousMaps}setSourcesContent(){let e={};if(this.root)this.root.walk(t=>{if(t.source){let r=t.source.input.from;if(r&&!e[r]){e[r]=!0;let n=this.usesFileUrls?this.toFileUrl(r):this.toUrl(this.path(r));this.map.setSourceContent(n,t.source.input.css)}}});else if(this.css){let e=this.opts.from?this.toUrl(this.path(this.opts.from)):"<no source>";this.map.setSourceContent(e,this.css)}}sourcePath(e){return this.mapOpts.from?this.toUrl(this.mapOpts.from):this.usesFileUrls?this.toFileUrl(e.source.input.from):this.toUrl(this.path(e.source.input.from))}toBase64(e){return a0.Buffer.from(e).toString("base64")}toFileUrl(e){let t=this.memoizedFileURLs.get(e);if(t)return t;if(s){let t=s(e).toString();return this.memoizedFileURLs.set(e,t),t}throw Error("`map.absolute` option is not available in this PostCSS build")}toUrl(e){let t=this.memoizedURLs.get(e);if(t)return t;"\\"===o&&(e=e.replace(/\\/g,"/"));let r=encodeURI(e).replace(/[#?]/g,encodeURIComponent);return this.memoizedURLs.set(e,r),r}}}function lZ(){if(ew)return ev;ew=1;let e=lJ();class t extends e{constructor(e){super(e),this.type="comment"}}return ev=t,t.default=t,ev}function l0(){let e,t,r,n;if(e_)return eb;e_=1;let{isClean:i,my:o}=lG(),s=lY(),a=lZ(),l=lJ();class c extends l{append(...e){for(let t of e)for(let e of this.normalize(t,this.last))this.proxyOf.nodes.push(e);return this.markDirty(),this}cleanRaws(e){if(super.cleanRaws(e),this.nodes)for(let t of this.nodes)t.cleanRaws(e)}each(e){let t,r;if(!this.proxyOf.nodes)return;let n=this.getIterator();for(;this.indexes[n]<this.proxyOf.nodes.length&&(t=this.indexes[n],!1!==(r=e(this.proxyOf.nodes[t],t)));)this.indexes[n]+=1;return delete this.indexes[n],r}every(e){return this.nodes.every(e)}getIterator(){this.lastEach||(this.lastEach=0),this.indexes||(this.indexes={}),this.lastEach+=1;let e=this.lastEach;return this.indexes[e]=0,e}getProxyProcessor(){return{get(e,t){if("proxyOf"===t)return e;if(!e[t])return e[t];if("each"===t||"string"==typeof t&&t.startsWith("walk"))return(...r)=>e[t](...r.map(e=>"function"==typeof e?(t,r)=>e(t.toProxy(),r):e));if("every"===t||"some"===t)return r=>e[t]((e,...t)=>r(e.toProxy(),...t));if("root"===t)return()=>
1e.root().toProxy();else if("nodes"===t)return e.nodes.map(e=>e.toProxy());else if("first"===t||"last"===t)return e[t].toProxy();else return e[t]},set:(e,t,r)=>e[t]===r||(e[t]=r,("name"===t||"params"===t||"selector"===t)&&e.markDirty(),!0)}}index(e){return"number"==typeof e?e:(e.proxyOf&&(e=e.proxyOf),this.proxyOf.nodes.indexOf(e))}insertAfter(e,t){let r,n=this.index(e),i=this.normalize(t,this.proxyOf.nodes[n]).reverse();for(let t of(n=this.index(e),i))this.proxyOf.nodes.splice(n+1,0,t);for(let e in this.indexes)n<(r=this.indexes[e])&&(this.indexes[e]=r+i.length);return this.markDirty(),this}insertBefore(e,t){let r,n=this.index(e),i=0===n&&"prepend",o=this.normalize(t,this.proxyOf.nodes[n],i).reverse();for(let t of(n=this.index(e),o))this.proxyOf.nodes.splice(n,0,t);for(let e in this.indexes)n<=(r=this.indexes[e])&&(this.indexes[e]=r+o.length);return this.markDirty(),this}normalize(n,l){if("string"==typeof n)n=function e(t){return t.map(t=>(t.nodes&&(t.nodes=e(t.nodes)),delete t.source,t))}(e(n).nodes);else if(void 0===n)n=[];else if(Array.isArray(n))for(let e of n=n.slice(0))e.parent&&e.parent.removeChild(e,"ignore");else if("root"===n.type&&"document"!==this.type)for(let e of n=n.nodes.slice(0))e.parent&&e.parent.removeChild(e,"ignore");else if(n.type)n=[n];else if(n.prop){if(void 0===n.value)throw Error("Value field is missed in node creation");"string"!=typeof n.value&&(n.value=String(n.value)),n=[new s(n)]}else if(n.selector)n=[new t(n)];else if(n.name)n=[new r(n)];else if(n.text)n=[new a(n)];else throw Error("Unknown node type in node creation");return n.map(e=>(e[o]||c.rebuild(e),(e=e.proxyOf).parent&&e.parent.removeChild(e),e[i]&&function e(t){if(t[i]=!1,t.proxyOf.nodes)for(let r of t.proxyOf.nodes)e(r)}(e),void 0===e.raws.before&&l&&void 0!==l.raws.before&&(e.raws.before=l.raws.before.replace(/\S/g,"")),e.parent=this.proxyOf,e))}prepend(...e){for(let t of e=e.reverse()){let e=this.normalize(t,this.first,"prepend").reverse();for(let t of e)this.proxyOf.nodes.unshift(t);for(let t in this.indexes)this.indexes[t]=this.indexes[t]+e.length}return this.markDirty(),this}push(e){return e.parent=this,this.proxyOf.nodes.push(e),this}removeAll(){for(let e of this.proxyOf.nodes)e.parent=void 0;return this.proxyOf.nodes=[],this.markDirty(),this}removeChild(e){let t;for(let r in e=this.index(e),this.proxyOf.nodes[e].parent=void 0,this.proxyOf.nodes.splice(e,1),this.indexes)(t=this.indexes[r])>=e&&(this.indexes[r]=t-1);return this.markDirty(),this}replaceValues(e,t,r){return r||(r=t,t={}),this.walkDecls(n=>{t.props&&!t.props.includes(n.prop)||(!t.fast||n.value.includes(t.fast))&&(n.value=n.value.replace(e,r))}),this.markDirty(),this}some(e){return this.nodes.some(e)}walk(e){return this.each((t,r)=>{let n;try{n=e(t,r)}catch(e){throw t.addToError(e)}return!1!==n&&t.walk&&(n=t.walk(e)),n})}walkAtRules(e,t){return t?e instanceof RegExp?this.walk((r,n)=>{if("atrule"===r.type&&e.test(r.name))return t(r,n)}):this.walk((r,n)=>{if("atrule"===r.type&&r.name===e)return t(r,n)}):(t=e,this.walk((e,r)=>{if("atrule"===e.type)return t(e,r)}))}walkComments(e){return this.walk((t,r)=>{if("comment"===t.type)return e(t,r)})}walkDecls(e,t){return t?e instanceof RegExp?this.walk((r,n)=>{if("decl"===r.type&&e.test(r.prop))return t(r,n)}):this.walk((r,n)=>{if("decl"===r.type&&r.prop===e)return t(r,n)}):(t=e,this.walk((e,r)=>{if("decl"===e.type)return t(e,r)}))}walkRules(e,t){return t?e instanceof RegExp?this.walk((r,n)=>{if("rule"===r.type&&e.test(r.selector))return t(r,n)}):this.walk((r,n)=>{if("rule"===r.type&&r.selector===e)return t(r,n)}):(t=e,this.walk((e,r)=>{if("rule"===e.type)return t(e,r)}))}get first(){if(this.proxyOf.nodes)return this.proxyOf.nodes[0]}get last(){if(this.proxyOf.nodes)return this.proxyOf.nodes[this.proxyOf.nodes.length-1]}}return c.registerParse=t=>{e=t},c.registerRule=e=>{t=e},c.registerAtRule=e=>{r=e},c.registerRoot=e=>{n=e},eb=c,c.default=c,c.rebuild=e=>{"atrule"===e.type?Object.setPrototypeOf(e,r.prototype):"rule"===e.type?Object.setPrototypeOf(e,t.prototype):"decl"===e.type?Object.setPrototypeOf(e,s.prototype):"comment"===e.type?Object.setPrototypeOf(e,a.prototype):"root"===e.type&&Object.setPrototypeOf(e,n.prototype),e[o]=!0,e.nodes&&e.nodes.forEac
1h(e=>{c.rebuild(e)})},eb}function l1(){let e,t;if(eE)return eS;eE=1;let r=l0();class n extends r{constructor(e){super({type:"document",...e}),this.nodes||(this.nodes=[])}toResult(r={}){return new e(new t,this,r).stringify()}}return n.registerLazyResult=t=>{e=t},n.registerProcessor=e=>{t=e},eS=n,n.default=n,eS}function l4(){if(ex)return eC;ex=1;let e={};return eC=function(t){!e[t]&&(e[t]=!0,"undefined"!=typeof console&&console.warn&&console.warn(t))}}function l2(){if(eI)return ek;eI=1;class e{constructor(e,t={}){if(this.type="warning",this.text=e,t.node&&t.node.source){let e=t.node.rangeBy(t);this.line=e.start.line,this.column=e.start.column,this.endLine=e.end.line,this.endColumn=e.end.column}for(let e in t)this[e]=t[e]}toString(){return this.node?this.node.error(this.text,{index:this.index,plugin:this.plugin,word:this.word}).message:this.plugin?this.plugin+": "+this.text:this.text}}return ek=e,e.default=e,ek}function l3(){if(eA)return eT;eA=1;let e=l2();class t{constructor(e,t,r){this.processor=e,this.messages=[],this.root=t,this.opts=r,this.css=void 0,this.map=void 0}toString(){return this.css}warn(t,r={}){!r.plugin&&this.lastPlugin&&this.lastPlugin.postcssPlugin&&(r.plugin=this.lastPlugin.postcssPlugin);let n=new e(t,r);return this.messages.push(n),n}warnings(){return this.messages.filter(e=>"warning"===e.type)}get content(){return this.css}}return eT=t,t.default=t,eT}function l6(){if(eP)return eR;eP=1;let e=l0();class t extends e{constructor(e){super(e),this.type="atrule"}append(...e){return this.proxyOf.nodes||(this.nodes=[]),super.append(...e)}prepend(...e){return this.proxyOf.nodes||(this.nodes=[]),super.prepend(...e)}}return eR=t,t.default=t,e.registerAtRule(t),eR}function l5(){let e,t;if(eN)return eD;eN=1;let r=l0();class n extends r{constructor(e){super(e),this.type="root",this.nodes||(this.nodes=[])}normalize(e,t,r){let n=super.normalize(e);if(t){if("prepend"===r)this.nodes.length>1?t.raws.before=this.nodes[1].raws.before:delete t.raws.before;else if(this.first!==t)for(let e of n)e.raws.before=t.raws.before}return n}removeChild(e,t){let r=this.index(e);return!t&&0===r&&this.nodes.length>1&&(this.nodes[1].raws.before=this.nodes[r].raws.before),super.removeChild(e)}toResult(r={}){return new e(new t,this,r).stringify()}}return n.registerLazyResult=t=>{e=t},n.registerProcessor=e=>{t=e},eD=n,n.default=n,r.registerRoot(n),eD}function l8(){if(eF)return eL;eF=1;let e={comma:t=>e.split(t,[","],!0),space:t=>e.split(t,[" ","\n","	"]),split(e,t,r){let n=[],i="",o=!1,s=0,a=!1,l="",c=!1;for(let r of e)c?c=!1:"\\"===r?c=!0:a?r===l&&(a=!1):'"'===r||"'"===r?(a=!0,l=r):"("===r?s+=1:")"===r?s>0&&(s-=1):0===s&&t.includes(r)&&(o=!0),o?(""!==i&&n.push(i.trim()),i="",o=!1):i+=r;return(r||""!==i)&&n.push(i.trim()),n}};return eL=e,e.default=e,eL}function l7(){if(ez)return eU;ez=1;let e=l0(),t=l8();class r extends e{constructor(e){super(e),this.type="rule",this.nodes||(this.nodes=[])}get selectors(){return t.comma(this.selector)}set selectors(e){let t=this.selector?this.selector.match(/,\s*/):null,r=t?t[0]:","+this.raw("between","beforeOpen");this.selector=e.join(r)}}return eU=r,r.default=r,e.registerRule(r),eU}function l9(){if(e$)return eV;e$=1;let e=l0(),t=function(){if(ej)return eB;ej=1;let e=lY(),t=function(){if(eO)return eM;eO=1;let e=/[\t\n\f\r "#'()/;[\\\]{}]/g,t=/[\t\n\f\r !"#'():;@[\\\]{}]|\/(?=\*)/g,r=/.[\r\n"'(/\\]/,n=/[\da-f]/i;return eM=function(i,o={}){let s,a,l,c,u,d,f,h,p,m,g=i.css.valueOf(),y=o.ignoreErrors,v=g.length,w=0,b=[],_=[];function S(e){throw i.error("Unclosed "+e,w)}return{back:function(e){_.push(e)},endOfFile:function(){return 0===_.length&&w>=v},nextToken:function(i){if(_.length)return _.pop();if(w>=v)return;let o=!!i&&i.ignoreUnclosed;switch(s=g.charCodeAt(w)){case 10:case 32:case 9:case 13:case 12:a=w;do a+=1,s=g.charCodeAt(a);while(32===s||10===s||9===s||13===s||12===s)m=["space",g.slice(w,a)],w=a-1;break;case 91:case 93:case 123:case 125:case 58:case 59:case 41:{let e=String.fromCharCode(s);m=[e,e,w];break}case 40:if(h=b.length?b.pop()[1]:"",p=g.charCodeAt(w+1),"url"===h&&39!==p&&34!==p&&32!==p&&10!==p&&9!==p&&12!==p&&13!==p){a=w;do{if(d=!1,-1===(a=g.indexOf(")",a+1)))if(y||o){a=w;break}else S("bracket");for(f=a;92===g.charCodeAt(f-1);)f-=1,d=!d}while(d)m=["brackets",g.slice(w,a+1),w,a],w=a}else a=g.indexOf(")",w+1),c=g.slice(w,a+1),-1===a||r.test(c)?m=["(","(",w]:(m=["brackets",c,w,a],w=a);break;case 39:case 34:l=39===s?"'":'"',a=w;do{if(d=!1,-1===(a=g.indexOf(l,a+1)))if(y||o){a=w+1;break}else S("string");for(f=a;92===g.charCodeAt(f-1);)f-=1,d=!d}while(d)m=["string",g.slice(w,a+1),w,a],w=a;break;case 64:e.lastIndex=w+1,e.test(g),a=0===e.lastIndex?g.length-1:e.lastIndex-2,m=["at-word",g.slice(w,a+1),w,a],w=a;break;case 92:for(a=w,u=!0;92===g.charCodeAt(a+1);)a+=1,u=!u;if(s=g.charCodeAt(a+1),u&&47!==s&&32!==s&&10!==s&&9!==s&&13!==s&&12!==s&&(a+=1,n.test(g.charAt(a)))){for(;n.test(g.charAt(a+1));)a+=1;32===g.charCodeAt(a+1)&&(a+=1)}m=["word",g.slice(w,a+1),w,a],w=a;break;default:47===s&&42===g.charCodeAt(w+1)?(0===(a=g.indexOf("*/",w+2)+1)&&(y||o?a=g.length:S("comment")),m=["comment",g.slice(w,a+1),w,a]):(t.lastIndex=w+1,t.test(g),a=0===t.lastIndex?g.length-1:t.lastIndex-2,m=["word",g.slice(w,a+1),w,a],b.push(m)),w=a}return w++,m},position:function(){return w}}}}(),r=lZ(),n=l6(),i=l5(),o=l7(),s={empty:!0,space:!0};return eB=class{constructor(e){this.input=e,this.root=new i,this.current=this.root,this.spaces="",this.semicolon=!1,this.createTokenizer(),this.root.source={input:e,start:{column:1,line:1,offset:0}}}atrule(e){let t,r,i,o=new n;o.name=e[1].slice(1),""===o.name&&this.unnamedAtrule(o,e),this.init(o,e[2]);let s=!1,a=!1,l=[],c=[];for(;!this.tokenizer.endOfFile();){if("("===(t=(e=this.tokenizer.nextToken())[0])||"["===t?c.push("("===t?")":"]"):"{"===t&&c.length>0?c.push("}"):t===c[c.length-1]&&c.pop(),0===c.length)if(";"===t){o.source.end=this.getPosition(e[2]),o.source.end.offset++,this.semicolon=!0;break}else if("{"===t){a=!0;break}else if("}"===t){if(l.length>0){for(i=l.length-1,r=l[i];r&&"space"===r[0];)r=l[--i];r&&(o.source.end=this.getPosition(r[3]||r[2]),o.source.end.offset++)}this.end(e);break}else l.push(e);else l.push(e);if(this.tokenizer.endOfFile()){s=!0;break}}o.raws.between=this.spacesAndCommentsFromEnd(l),l.length?(o.raws.afterName=this.spacesAndCommentsFromStart(l),this.raw(o,"params",l),s&&(e=l[l.length-1],o.source.end=this.getPosition(e[3]||e[2]),o.source.end.offset++,this.spaces=o.raws.between,o.raws.between="")):(o.raws.afterName="",o.params=""),a&&(o.nodes=[],this.current=o)}checkMissedSemicolon(e){let t,r=this.colon(e);if(!1===r)return;let n=0;for(let i=r-1;i>
1=0&&("space"===(t=e[i])[0]||2!==(n+=1));i--);throw this.input.error("Missed semicolon","word"===t[0]?t[3]+1:t[2])}colon(e){let t,r,n=0;for(let[i,o]of e.entries()){if("("===(t=o[0])&&(n+=1),")"===t&&(n-=1),0===n&&":"===t)if(r)if("word"===r[0]&&"progid"===r[1])continue;else return i;else this.doubleColon(o);r=o}return!1}comment(e){let t=new r;this.init(t,e[2]),t.source.end=this.getPosition(e[3]||e[2]),t.source.end.offset++;let n=e[1].slice(2,-2);if(/^\s*$/.test(n))t.text="",t.raws.left=n,t.raws.right="";else{let e=n.match(/^(\s*)([^]*\S)(\s*)$/);t.text=e[2],t.raws.left=e[1],t.raws.right=e[3]}}createTokenizer(){this.tokenizer=t(this.input)}decl(t,r){let n,i,o=new e;this.init(o,t[0][2]);let s=t[t.length-1];for(";"===s[0]&&(this.semicolon=!0,t.pop()),o.source.end=this.getPosition(s[3]||s[2]||function(e){for(let t=e.length-1;t>=0;t--){let r=e[t],n=r[3]||r[2];if(n)return n}}(t)),o.source.end.offset++;"word"!==t[0][0];)1===t.length&&this.unknownWord(t),o.raws.before+=t.shift()[1];for(o.source.start=this.getPosition(t[0][2]),o.prop="";t.length;){let e=t[0][0];if(":"===e||"space"===e||"comment"===e)break;o.prop+=t.shift()[1]}for(o.raws.between="";t.length;){if(":"===(n=t.shift())[0]){o.raws.between+=n[1];break}"word"===n[0]&&/\w/.test(n[1])&&this.unknownWord([n]),o.raws.between+=n[1]}("_"===o.prop[0]||"*"===o.prop[0])&&(o.raws.before+=o.prop[0],o.prop=o.prop.slice(1));let a=[];for(;t.length&&("space"===(i=t[0][0])||"comment"===i);)a.push(t.shift());this.precheckMissedSemicolon(t);for(let e=t.length-1;e>=0;e--){if("!important"===(n=t[e])[1].toLowerCase()){o.important=!0;let r=this.stringFrom(t,e);" !important"!==(r=this.spacesFromEnd(t)+r)&&(o.raws.important=r);break}if("important"===n[1].toLowerCase()){let r=t.slice(0),n="";for(let t=e;t>0;t--){let e=r[t][0];if(0===n.trim().indexOf("!")&&"space"!==e)break;n=r.pop()[1]+n}0===n.trim().indexOf("!")&&(o.important=!0,o.raws.important=n,t=r)}if("space"!==n[0]&&"comment"!==n[0])break}t.some(e=>"space"!==e[0]&&"comment"!==e[0])&&(o.raws.between+=a.map(e=>e[1]).join(""),a=[]),this.raw(o,"value",a.concat(t),r),o.value.includes(":")&&!r&&this.checkMissedSemicolon(t)}doubleColon(e){throw this.input.error("Double colon",{offset:e[2]},{offset:e[2]+e[1].length})}emptyRule(e){let t=new o;this.init(t,e[2]),t.selector="",t.raws.between="",this.current=t}end(e){this.current.nodes&&this.current.nodes.length&&(this.current.raws.semicolon=this.semicolon),this.semicolon=!1,this.current.raws.after=(this.current.raws.after||"")+this.spaces,this.spaces="",this.current.parent?(this.current.source.end=this.getPosition(e[2]),this.current.source.end.offset++,this.current=this.current.parent):this.unexpectedClose(e)}endFile(){this.current.parent&&this.unclosedBlock(),this.current.nodes&&this.current.nodes.length&&(this.current.raws.semicolon=this.semicolon),this.current.raws.after=(this.current.raws.after||"")+this.spaces,this.root.source.end=this.getPosition(this.tokenizer.position())}freeSemicolon(e){if(this.spaces+=e[1],this.current.nodes){let e=this.current.nodes[this.current.nodes.length-1];e&&"rule"===e.type&&!e.raws.ownSemicolon&&(e.raws.ownSemicolon=this.spaces,this.spaces="")}}getPosition(e){let t=this.input.fromOffset(e);return{column:t.col,line:t.line,offset:e}}init(e,t){this.current.push(e),e.source={input:this.input,start:this.getPosition(t)},e.raws.before=this.spaces,this.spaces="","comment"!==e.type&&(this.semicolon=!1)}other(e){let t=!1,r=null,n=!1,i=null,o=[],s=e[1].startsWith("--"),a=[],l=e;for(;l;){if(r=l[0],a.push(l),"("===r||"["===r)i||(i=l),o.push("("===r?")":"]");else if(s&&n&&"{"===r)i||(i=l),o.push("}");else if(0===o.length)if(";"===r)if(n)return void this.decl(a,s);else break;else if("{"===r)return void this.rule(a);else if("}"===r){this.tokenizer.back(a.pop()),t=!0;break}else":"===r&&(n=!0);else r===o[o.length-1]&&(o.pop(),0===o.length&&(i=null));l=this.tokenizer.nextToken()}if(this.tokenizer.endOfFile()&&(t=!0),o.length>0&&this.unclosedBracket(i),t&&n){if(!s)for(;a.length&&("space"===(l=a[a.length-1][0])||"comment"===l);)this.tokenizer.back(a.pop());this.decl(a,s)}else this.unknownWord(a)}parse(){let e;for(;!this.tokenizer.endOfFile();)switch((e=this.tokenizer.nextToken())[0]){case"space":this.spaces+=e[1];break;case";":this.freeSemicolon(e);break;case"}":this.end(e);break;case"comment":this.comment(e);break;case"at-word":this.atrule(e);break;case"{":this.emptyRule(e);break;default:this.other(e)}this.endFile()}precheckMissedSemicolon(){}raw(e,t,r,n){let i,o,a,l,c=r.length,u="",d=!0;for(let e=0;e<c;e+=1)"space"!==(o=(i=r[e])[0])||e!==c-1||n?"comment"===o?(l=r[e-1]?r[e-1][0]:"empty",a=r[e+1]?r[e+1][
10]:"empty",s[l]||s[a]||","===u.slice(-1)?d=!1:u+=i[1]):u+=i[1]:d=!1;if(!d){let n=r.reduce((e,t)=>e+t[1],"");e.raws[t]={raw:n,value:u}}e[t]=u}rule(e){e.pop();let t=new o;this.init(t,e[0][2]),t.raws.between=this.spacesAndCommentsFromEnd(e),this.raw(t,"selector",e),this.current=t}spacesAndCommentsFromEnd(e){let t,r="";for(;e.length&&("space"===(t=e[e.length-1][0])||"comment"===t);)r=e.pop()[1]+r;return r}spacesAndCommentsFromStart(e){let t,r="";for(;e.length&&("space"===(t=e[0][0])||"comment"===t);)r+=e.shift()[1];return r}spacesFromEnd(e){let t="";for(;e.length&&"space"===e[e.length-1][0];)t=e.pop()[1]+t;return t}stringFrom(e,t){let r="";for(let n=t;n<e.length;n++)r+=e[n][1];return e.splice(t,e.length-t),r}unclosedBlock(){let e=this.current.source.start;throw this.input.error("Unclosed block",e.line,e.column)}unclosedBracket(e){throw this.input.error("Unclosed bracket",{offset:e[2]},{offset:e[2]+1})}unexpectedClose(e){throw this.input.error("Unexpected }",{offset:e[2]},{offset:e[2]+1})}unknownWord(e){throw this.input.error("Unknown word",{offset:e[0][2]},{offset:e[0][2]+e[0][1].length})}unnamedAtrule(e,t){throw this.input.error("At-rule without name",{offset:t[2]},{offset:t[2]+t[1].length})}}}(),r=lX();function n(e,n){let i=new t(new r(e,n));try{i.parse()}catch(e){throw e}return i.root}return eV=n,n.default=n,e.registerParse(n),eV}function ce(){if(eG)return eH;eG=1;let{isClean:e,my:t}=lG(),r=lQ(),n=lq(),i=l0(),o=l1();l4();let s=l3(),a=l9(),l=l5(),c={atrule:"AtRule",comment:"Comment",decl:"Declaration",document:"Document",root:"Root",rule:"Rule"},u={AtRule:!0,AtRuleExit:!0,Comment:!0,CommentExit:!0,Declaration:!0,DeclarationExit:!0,Document:!0,DocumentExit:!0,Once:!0,OnceExit:!0,postcssPlugin:!0,prepare:!0,Root:!0,RootExit:!0,Rule:!0,RuleExit:!0},d={Once:!0,postcssPlugin:!0,prepare:!0};function f(e){return"object"==typeof e&&"function"==typeof e.then}function h(e){let t=!1,r=c[e.type];return("decl"===e.type?t=e.prop.toLowerCase():"atrule"===e.type&&(t=e.name.toLowerCase()),t&&e.append)?[r,r+"-"+t,0,r+"Exit",r+"Exit-"+t]:t?[r,r+"-"+t,r+"Exit",r+"Exit-"+t]:e.append?[r,0,r+"Exit"]:[r,r+"Exit"]}function p(e){return{eventIndex:0,events:"document"===e.type?["Document",0,"DocumentExit"]:"root"===e.type?["Root",0,"RootExit"]:h(e),iterator:0,node:e,visitorIndex:0,visitors:[]}}function m(t){return t[e]=!1,t.nodes&&t.nodes.forEach(e=>m(e)),t}let g={};class y{constructor(e,r,n){let o;if(this.stringified=!1,this.processed=!1,"object"==typeof r&&null!==r&&("root"===r.type||"document"===r.type))o=m(r);else if(r instanceof y||r instanceof s)o=m(r.root),r.map&&(void 0===n.map&&(n.map={}),n.map.inline||(n.map.inline=!1),n.map.prev=r.map);else{let e=a;n.syntax&&(e=n.syntax.parse),n.parser&&(e=n.parser),e.parse&&(e=e.parse);try{o=e(r,n)}catch(e){this.processed=!0,this.error=e}o&&!o[t]&&i.rebuild(o)}this.result=new s(e,o,n),this.helpers={...g,postcss:g,result:this.result},this.plugins=this.processor.plugins.map(e=>"object"==typeof e&&e.prepare?{...e,...e.prepare(this.result)}:e)}async(){return this.error?Promise.reject(this.error):this.processed?Promise.resolve(this.result):(this.processing||(this.processing=this.runAsync()),this.processing)}catch(e){return this.async().catch(e)}finally(e){return this.async().then(e,e)}getAsyncError(){throw Error("Use process(css).then(cb) to work with async plugins")}handleError(e,t){let r=this.result.lastPlugin;try{t&&t.addToError(e),this.error=e,"CssSyntaxError"!==e.name||e.plugin?r.postcssVersion:(e.plugin=r.postcssPlugin,e.setMessage())}catch(e){console&&console.error&&console.error(e)}return e}prepareVisitors(){this.listeners={};let e=(e,t,r)=>{this.listeners[t]||(this.listeners[t]=[]),this.listeners[t].push([e,r])};for(let t of this.plugins)if("object"==typeof t)for(let r in t){if(!u[r]&&/^[A-Z]/.test(r))throw Error(`Unknown event ${r} in ${t.postcssPlugin}. Try to update PostCSS (${this.processor.version} now).`);if(!d[r])if("object"==typeof t[r])for(let n in t[r])e(t,"*"===n?r:r+"-"+n.toLowerCase(),t[r][n]);else"function"==typeof t[r]&&e(t,r,t[r])}this.hasListener=Object.keys(this.listeners).length>0}async runAsync(){this.plugin=0;for(let e=0;e<this.plugins.length;e++){let t=this.plugins[e],r=this.runOnRoot(t);if(f(r))try{await r}catch(e){throw this.handleError(e)}}if(this.prepareVisitors(),this.hasListener){let t=this.result.root;for(;!t[e];){t[e]=!0;let r=[p(t)];for(;r.length>0;){let e=this.visitTick(r);if(f(e))try{await e}catch(t){let e=r[r.length-1].node;throw this.handleError(t,e)}}}if(this.listeners.OnceExit)for(let[e,r]of this.listeners.OnceExit){this.result.lastPlugin=e;try{if("document"===t.type){let e=t.nodes.map(e=>r(e,this.helpers));await Promise.all(e)}else await r(t,this.helpers)}catch(e){throw this.handleError(e)}}}return this.processed=!0,this.stringify()}runOnRoot(e){this.result.lastPlugin=e;try{if("object"==typeof e&&e.Once){if("document"===this.result.root.type){let t=this.result.root.nodes.map(t=>e.Once(t,this.helpers));if(f(t[0]))return Promise.all(t);return t}return e.Once(this.result.root,this.helpers)}if("function"==typeof e)return e(this.result.root,this.result)}catch(e){throw this.handleError(e)}}stringify(){if(this.error)throw this.error;if(this.stringified)return this.result;this.stringified=!0,this.sync();let e=this.result.opts,t=n;e.syntax&&(t=e.syntax.stringify),e.stringifier&&(t=e.stringifier),t.stringify&&(t=t.stringify);let i=new r(t,this.result.root,this.result.opts).generate();return this.result.css=i[0],this.result.map=i[1],this.result}sync(){if(this.error)throw this.error;if(this.processed)return this.result;if(this.processed=!0,this.processing)throw this.getAsyncError();for(let e of this.plugins)if(f(this.runOnRoot(e)))throw this.getAsyncError();if(this.prepareVisitors(),this.hasListener){let t=this.result.root;for(;!t[e];)t[e]=!0,this.walkSync(t);if(this.listeners.OnceExit)if("document"===t.type)for(let e of t.nodes)this.visitSync(this.listeners.OnceExit,e);else this.visitSync(this.listeners.OnceExit,t)}return this.result}then(e,t){return this.async().then(e,t)}toString(){return this.css}visitSync(e,t){for(let[r,n]of e){let e;this.result.lastPlugin=r;try{e=n(t,this.helpers)}catch(e){throw this.handleError(e,t.proxyOf)}if("root"!==t.type&&"document"!==t.type&&!t.parent)return!0;
1if(f(e))throw this.getAsyncError()}}visitTick(t){let r=t[t.length-1],{node:n,visitors:i}=r;if("root"!==n.type&&"document"!==n.type&&!n.parent)return void t.pop();if(i.length>0&&r.visitorIndex<i.length){let[e,t]=i[r.visitorIndex];r.visitorIndex+=1,r.visitorIndex===i.length&&(r.visitors=[],r.visitorIndex=0),this.result.lastPlugin=e;try{return t(n.toProxy(),this.helpers)}catch(e){throw this.handleError(e,n)}}if(0!==r.iterator){let i,o=r.iterator;for(;i=n.nodes[n.indexes[o]];)if(n.indexes[o]+=1,!i[e]){i[e]=!0,t.push(p(i));return}r.iterator=0,delete n.indexes[o]}let o=r.events;for(;r.eventIndex<o.length;){let t=o[r.eventIndex];if(r.eventIndex+=1,0===t){n.nodes&&n.nodes.length&&(n[e]=!0,r.iterator=n.getIterator());return}if(this.listeners[t]){r.visitors=this.listeners[t];return}}t.pop()}walkSync(t){for(let r of(t[e]=!0,h(t)))if(0===r)t.nodes&&t.each(t=>{t[e]||this.walkSync(t)});else{let e=this.listeners[r];if(e&&this.visitSync(e,t.toProxy()))return}}warnings(){return this.sync().warnings()}get content(){return this.str
1ingify().content}get css(){return this.stringify().css}get map(){return this.stringify().map}get messages(){return this.sync().messages}get opts(){return this.result.opts}get processor(){return this.result.processor}get root(){return this.sync().root}get[Symbol.toStringTag](){return"LazyResult"}}return y.registerPostcss=e=>{g=e},eH=y,y.default=y,l.registerLazyResult(y),o.registerLazyResult(y),eH}let ct=(u=function(){if(eZ)return eQ;eZ=1;let e=l$(),t=lY(),r=ce(),n=l0(),i=function(){if(eY)return eJ;eY=1;let e=function(){if(eq)return eW;eq=1;let e=lQ(),t=lq();l4();let r=l9(),n=l3();class i{constructor(r,i,o){let s;i=i.toString(),this.stringified=!1,this._processor=r,this._css=i,this._opts=o,this._map=void 0,this.result=new n(this._processor,s,this._opts),this.result.css=i;let a=this;Object.defineProperty(this.result,"root",{get:()=>a.root});let l=new e(t,s,this._opts,i);if(l.isMap()){let[e,t]=l.generate();e&&(this.result.css=e),t&&(this.result.map=t)}else l.clearAnnotation(),this.result.css=l.css}async(){return this.error?Promise.reject(this.error):Promise.resolve(this.result)}catch(e){return this.async().catch(e)}finally(e){return this.async().then(e,e)}sync(){if(this.error)throw this.error;return this.result}then(e,t){return this.async().then(e,t)}toString(){return this._css}warnings(){return[]}get content(){return this.result.css}get css(){return this.result.css}get map(){return this.result.map}get messages(){return[]}get opts(){return this.result.opts}get processor(){return this.result.processor}get root(){let e;if(this._root)return this._root;try{e=r(this._css,this._opts)}catch(e){this.error=e}if(!this.error)return this._root=e,e;throw this.error}get[Symbol.toStringTag](){return"NoWorkResult"}}return eW=i,i.default=i,eW}(),t=ce(),r=l1(),n=l5();class i{constructor(e=[]){this.version="8.4.38",this.plugins=this.normalize(e)}normalize(e){let t=[];for(let r of e)if(!0===r.postcss?r=r():r.postcss&&(r=r.postcss),"object"==typeof r&&Array.isArray(r.plugins))t=t.concat(r.plugins);else if("object"==typeof r&&r.postcssPlugin)t.push(r);else if("function"==typeof r)t.push(r);else if("object"==typeof r&&(r.parse||r.stringify));else throw Error(r+" is not a PostCSS plugin");return t}process(r,n={}){return this.plugins.length||n.parser||n.stringifier||n.syntax?new t(this,r,n):new e(this,r,n)}use(e){return this.plugins=this.plugins.concat(this.normalize([e])),this}}return eJ=i,i.default=i,n.registerProcessor(i),r.registerProcessor(i),eJ}(),o=lq(),s=function(){if(eX)return eK;eX=1;
1let e=lY(),t=lK(),r=lZ(),n=l6(),i=lX(),o=l5(),s=l7();function a(l,c){if(Array.isArray(l))return l.map(e=>a(e));let{inputs:u,...d}=l;if(u)for(let e of(c=[],u)){let r={...e,__proto__:i.prototype};r.map&&(r.map={...r.map,__proto__:t.prototype}),c.push(r)}if(d.nodes&&(d.nodes=l.nodes.map(e=>a(e,c))),d.source){let{inputId:e,...t}=d.source;d.source=t,null!=e&&(d.source.input=c[e])}if("root"===d.type)return new o(d);if("decl"===d.type)return new e(d);if("rule"===d.type)return new s(d);if("comment"===d.type)return new r(d);if("atrule"===d.type)return new n(d);else throw Error("Unknown node type: "+l.type)}return eK=a,a.default=a,eK}(),a=l1(),l=l2(),c=lZ(),u=l6(),d=l3(),f=lX(),h=l9(),p=l8(),m=l7(),g=l5(),y=lJ();function v(...e){return 1===e.length&&Array.isArray(e[0])&&(e=e[0]),new i(e)}return v.plugin=function(e,t){let r,n=!1;function o(...r){console&&console.warn&&!n&&(n=!0,console.warn(e+": postcss.plugin was deprecated. Migration guide:\nhttps://evilmartians.com/chronicles/postcss-8-plugin-migration"),a1.default.env.LANG&&a1.default.env.LANG.startsWith("cn")&&console.warn(e+": 里面 postcss.plugin 被弃用. 迁移指南:\nhttps://www.w3ctech.com/topic/2226"));let s=t(...r);return s.postcssPlugin=e,s.postcssVersion=new i().version,s}return Object.defineProperty(o,"postcss",{get:()=>(r||(r=o()),r)}),o.process=function(e,t,r){return v([o(r)]).process(e,t)},o},v.stringify=o,v.parse=h,v.fromJSON=s,v.list=p,v.comment=e=>new c(e),v.atRule=e=>new u(e),v.decl=e=>new t(e),v.rule=e=>new m(e),v.root=e=>new g(e),v.document=e=>new a(e),v.CssSyntaxError=e,v.Declaration=t,v.Container=n,v.Processor=i,v.Document=a,v.Comment=c,v.Warning=l,v.AtRule=u,v.Result=d,v.Input=f,v.Rule=m,v.Root=g,v.Node=y,r.registerPostcss(v),eQ=v,v.default=v,eQ}())&&u.__esModule&&Object.prototype.hasOwnProperty.call(u,"default")?u.default:u;ct.stringify,ct.fromJSON,ct.plugin,ct.parse,ct.list,ct.document,ct.comment,ct.atRule,ct.rule,ct.decl,ct.root,ct.CssSyntaxError,ct.Declaration,ct.Container,ct.Processor,ct.Document,ct.Comment,ct.Warning,ct.AtRule,ct.Result,ct.Input,ct.Rule,ct.Root,ct.Node;var cr=Object.defineProperty,cn=(e,t,r)=>{let n;return(n="symbol"!=typeof t?t+"":t)in e?cr(e,n,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[n]=r};Date.now().toString();var ci={exports:{}};let co=function(e){if(e.__esModule)return e;var t=e.default;if("function"==typeof t){var r=function e(){return this instanceof e?Reflect.construct(t,arguments,this.constructor):t.apply(this,arguments)};r.prototype=t.prototype}else r={};return Object.defineProperty(r,"__esModule",{value:!0}),Object.keys(e).forEach(function(t){var n=Object.getOwnPropertyDescriptor(e,t);Object.defineProperty(r,t,n.get?n:{enumerable:!0,get:function(){return e[t]}})}),r}(Object.freeze(Object.defineProperty({__proto__:null,default:{}},Symbol.toStringTag,{value:"Module"})));function cs(){if(e4)return e1;e4=1;let e=function(){if(e0)return ci.exports;e0=1;var e=String,t=function(){return{isColorSupported:!1,reset:e,bold:e,dim:e,italic:e,underline:e,inverse:e,hidden:e,strikethrough:e,black:e,red:e,green:e,yellow:e,blue:e,magenta:e,cyan:e,white:e,gray:e,bgBlack:e,bgRed:e,bgGreen:e,bgYellow:e,bgBlue:e,bgMagenta:e,bgCyan:e,bgWhite:e}};return ci.exports=t(),ci.exports.createColors=t,ci.exports}();class t extends Error{constructor(e,r,n,i,o,s){super(e),this.name="CssSyntaxError",this.reason=e,o&&(this.file=o),i&&(this.source=i),s&&(this.plugin=s),void 0!==r&&void 0!==n&&("number"==typeof r?(this.line=r,this.column=n):(this.line=r.line,this.column=r.column,this.endLine=n.line,this.endColumn=n.column)),this.setMessage(),Error.captureStackTrace&&Error.captureStackTrace(this,t)}setMessage(){this.message=this.plugin?this.plugin+": ":"",this.message+=this.file?this.file:"<css input>",void 0!==this.line&&(this.message+=":"+this.line+":"+this.column),this.message+=": "+this.reason}showSourceCode(t){let r,n;if(!this.source)return"";let i=this.source;null==t&&(t=e.isColorSupported),co&&t&&(i=co(i));let o=i.split(/\r?\n/),s=Math.max(this.line-3,0),a=Math.min(this.line+2,o.length),l=String(a).length;if(t){let{bold:t,gray:i,red:o}=e.createColors(!0);r=e=>t(o(e)),n=e=>i(e)}else r=n=e=>e;return o.slice(s,a).map((e,t)=>{let i=s+1+t,o=" "+(" "+i).slice(-l)+" | ";if(i===this.line){let t=n(o.replace(/\d/g," "))+e.slice(0,this.column-1).replace(/[^\t]/g," ");return r(">")+n(o)+e+"\n "+t+r("^")}return" "+n(o)+e}).join("\n")}toString(){let e=this.showSourceCode();return e&&(e="\n\n"+e+"\n"),this.name+": "+this.message+e}}return e1=t,t.default=t,e1}var ca={};function cl(){return e2||(e2=1,ca.isClean=Symbol("isClean"),ca.my=Symbol("my")),ca}function cc(){if(e6)return e3;e6=1;let e={after:"\n",beforeClose:"\n",beforeComment:"\n",beforeDecl:"\n",beforeOpen:" ",beforeRule:"\n",colon:": ",commentLeft:" ",commentRight:" ",emptyBody:"",indent:"    ",semicolon:!1};class t{constructor(e){this.builder=e}
1atrule(e,t){let r="@"+e.name,n=e.params?this.rawValue(e,"params"):"";if(void 0!==e.raws.afterName?r+=e.raws.afterName:n&&(r+=" "),e.nodes)this.block(e,r+n);else{let i=(e.raws.between||"")+(t?";":"");this.builder(r+n+i,e)}}beforeAfter(e,t){let r;r="decl"===e.type?this.raw(e,null,"beforeDecl"):"comment"===e.type?this.raw(e,null,"beforeComment"):"before"===t?this.raw(e,null,"beforeRule"):this.raw(e,null,"beforeClose");let n=e.parent,i=0;for(;n&&"root"!==n.type;)i+=1,n=n.parent;if(r.includes("\n")){let t=this.raw(e,null,"indent");if(t.length)for(let e=0;e<i;e++)r+=t}return r}block(e,t){let r,n=this.raw(e,"between","beforeOpen");this.builder(t+n+"{",e,"start"),e.nodes&&e.nodes.length?(this.body(e),r=this.raw(e,"after")):r=this.raw(e,"after","emptyBody"),r&&this.builder(r),this.builder("}",e,"end")}body(e){let t=e.nodes.length-1;for(;t>0&&"comment"===e.nodes[t].type;)t-=1;let r=this.raw(e,"semicolon");for(let n=0;n<e.nodes.length;n++){let i=e.nodes[n],o=this.raw(i,"before");o&&this.builder(o),this.stringify(i,t!==n||r)}}comment(e){let t=this.raw(e,"left","commentLeft"),r=this.raw(e,"right","commentRight");this.builder("/*"+t+e.text+r+"*/",e)}decl(e,t){let r=this.raw(e,"between","colon"),n=e.prop+r+this.rawValue(e,"value");e.important&&(n+=e.raws.important||" !important"),t&&(n+=";"),this.builder(n,e)}document(e){this.body(e)}raw(t,r,n){let i;if(n||(n=r),r&&void 0!==(i=t.raws[r]))return i;let o=t.parent;if("before"===n&&(!o||"root"===o.type&&o.first===t||o&&"document"===o.type))return"";if(!o)return e[n];let s=t.root();if(s.rawCache||(s.rawCache={}),void 0!==s.rawCache[n])return s.rawCache[n];if("before"===n||"after"===n)return this.beforeAfter(t,n);{var a;let e="raw"+((a=n)[0].toUpperCase()+a.slice(1));this[e]?i=this[e](s,t):s.walk(e=>{if(void 0!==(i=e.raws[r]))return!1})}return void 0===i&&(i=e[n]),s.rawCache[n]=i,i}rawBeforeClose(e){let t;return e.walk(e=>{if(e.nodes&&e.nodes.length>0&&void 0!==e.raws.after)return(t=e.raws.after).includes("\n")&&(t=t.replace(/[^\n]+$/,"")),!1}),t&&(t=t.replace(/\S/g,"")),t}rawBeforeComment(e,t){let r;return e.walkComments(e=>{if(void 0!==e.raws.before)return(r=e.raws.before).includes("\n")&&(r=r.replace(/[^\n]+$/,"")),!1}),void 0===r?r=this.raw(t,null,"beforeDecl"):r&&(r=r.replace(/\S/g,"")),r}rawBeforeDecl(e,t){let r;return e.walkDecls(e=>{if(void 0!==e.raws.before)return(r=e.raws.before).includes("\n")&&(r=r.replace(/[^\n]+$/,"")),!1}),void 0===r?r=this.raw(t,null,"beforeRule"):r&&(r=r.replace(/\S/g,"")),r}rawBeforeOpen(e){let t;return e.walk(e=>{if("decl"!==e.type&&void 0!==(t=e.raws.between))return!1}),t}rawBeforeRule(e){let t;return e.walk(r=>{if(r.nodes&&(r.parent!==e||e.first!==r)&&void 0!==r.raws.before)return(t=r.raws.before).includes("\n")&&(t=t.replace(/[^\n]+$/,"")),!1}),t&&(t=t.replace(/\S/g,"")),t}rawColon(e){let t;return e.walkDecls(e=>{if(void 0!==e.raws.between)return t=e.raws.between.replace(/[^\s:]/g,""),!1}),t}rawEmptyBody(e){let t;return e.walk(e=>{if(e.nodes&&0===e.nodes.length&&void 0!==(t=e.raws.after))return!1}),t}rawIndent(e){let t;return e.raws.indent?e.raws.indent:(e.walk(r=>{let n=r.parent;if(n&&n!==e&&n.parent&&n.parent===e&&void 0!==r.raws.before){let e=r.raws.before.split("\n");return t=(t=e[e.length-1]).replace(/\S/g,""),!1}}),t)}rawSemicolon(e){let t;return e.walk(e=>{if(e.nodes&&e.nodes.length&&"decl"===e.last.type&&void 0!==(t=e.raws.semicolon))return!1}),t}rawValue(e,t){let r=e[t],n=e.raws[t];return n&&n.value===r?n.raw:r}root(e){this.body(e),e.raws.after&&this.builder(e.raws.after)}rule(e){this.block(e,this.rawValue(e,"selector")),e.raws.ownSemicolon&&this.builder(e.raws.ownSemicolon,e,"end")}stringify(e,t){if(!this[e.type])throw Error("Unknown AST node type "+e.type+". Maybe you need to change PostCSS stringifier.");this[e.type](e,t)}}return e3=t,t.default=t,e3}function cu(){if(e8)return e5;e8=1;let e=cc();function t(t,r){new e(r).stringify(t)}return e5=t,t.default=t,e5}function cd(){if(e9)return e7;e9=1;let{isClean:e,my:t}=cl(),r=cs(),n=cc(),i=cu();class o{constructor(r={}){for(let n in this.raws={},this[e]=!1,this[t]=!0,r)if("nodes"===n)for(let e of(this.nodes=[],r[n]))"function"==typeof e.clone?this.append(e.clone()):this.append(e);else this[n]=r[n]}
1addToError(e){if(e.postcssNode=this,e.stack&&this.source&&/\n\s{4}at /.test(e.stack)){let t=this.source;e.stack=e.stack.replace(/\n\s{4}at /,`$&${t.input.from}:${t.start.line}:${t.start.column}$&`)}return e}after(e){return this.parent.insertAfter(this,e),this}assign(e={}){for(let t in e)this[t]=e[t];return this}before(e){return this.parent.insertBefore(this,e),this}cleanRaws(e){delete this.raws.before,delete this.raws.after,e||delete this.raws.between}clone(e={}){let t=function e(t,r){let n=new t.constructor;for(let i in t){if(!Object.prototype.hasOwnProperty.call(t,i)||"proxyCache"===i)continue;let o=t[i],s=typeof o;"parent"===i&&"object"===s?r&&(n[i]=r):"source"===i?n[i]=o:Array.isArray(o)?n[i]=o.map(t=>e(t,n)):("object"===s&&null!==o&&(o=e(o)),n[i]=o)}return n}(this);for(let r in e)t[r]=e[r];return t}cloneAfter(e={}){let t=this.clone(e);return this.parent.insertAfter(this,t),t}cloneBefore(e={}){let t=this.clone(e);return this.parent.insertBefore(this,t),t}error(e,t={}){if(this.source){let{end:r,start:n}=this.rangeBy(t);return this.source.input.error(e,{column:n.column,line:n.line},{column:r.column,line:r.line},t)}return new r(e)}getProxyProcessor(){return{get:(e,t)=>"proxyOf"===t?e:"root"===t?()=>e.root().toProxy():e[t],set:(e,t,r)=>e[t]===r||(e[t]=r,("prop"===t||"value"===t||"name"===t||"params"===t||"important"===t||"text"===t)&&e.markDirty(),!0)}}
1markDirty(){if(this[e]){this[e]=!1;let t=this;for(;t=t.parent;)t[e]=!1}}next(){if(!this.parent)return;let e=this.parent.index(this);return this.parent.nodes[e+1]}positionBy(e,t){let r=this.source.start;if(e.index)r=this.positionInside(e.index,t);else if(e.word){let n=(t=this.toString()).indexOf(e.word);-1!==n&&(r=this.positionInside(n,t))}return r}positionInside(e,t){let r=t||this.toString(),n=this.source.start.column,i=this.source.start.line;for(let t=0;t<e;t++)"\n"===r[t]?(n=1,i+=1):n+=1;return{column:n,line:i}}prev(){if(!this.parent)return;let e=this.parent.index(this);return this.parent.nodes[e-1]}rangeBy(e){let t={column:this.source.start.column,line:this.source.start.line},r=this.source.end?{column:this.source.end.column+1,line:this.source.end.line}:{column:t.column+1,line:t.line};if(e.word){let n=this.toString(),i=n.indexOf(e.word);-1!==i&&(t=this.positionInside(i,n),r=this.positionInside(i+e.word.length,n))}else e.start?t={column:e.start.column,line:e.start.line}:e.index&&(t=this.positionInside(e.index)),e.end?r={column:e.end.column,line:e.end.line}:"number"==typeof e.endIndex?r=this.positionInside(e.endIndex):e.index&&(r=this.positionInside(e.index+1));return(r.line<t.line||r.line===t.line&&r.column<=t.column)&&(r={column:t.column+1,line:t.line}),{end:r,start:t}}raw(e,t){return new n().raw(this,e,t)}remove(){return this.parent&&this.parent.removeChild(this),this.parent=void 0,this}replaceWith(...e){if(this.parent){let t=this,r=!1;for(let n of e)n===this?r=!0:r?(this.parent.insertAfter(t,n),t=n):this.parent.insertBefore(t,n);r||this.remove()}return this}root(){let e=this;for(;e.parent&&"document"!==e.parent.type;)e=e.parent;return e}toJSON(e,t){let r={},n=null==t;t=t||new Map;let i=0;for(let e in this){if(!Object.prototype.hasOwnProperty.call(this,e)||"parent"===e||"proxyCache"===e)continue;let n=this[e];if(Array.isArray(n))r[e]=n.map(e=>"object"==typeof e&&e.toJSON?e.toJSON(null,t):e);else if("object"==typeof n&&n.toJSON)r[e]=n.toJSON(null,t);else if("source"===e){let o=t.get(n.input);null==o&&(o=i,t.set(n.input,i),i++),r[e]={end:n.end,inputId:o,start:n.start}}else r[e]=n}return n&&(r.inputs=[...t.keys()].map(e=>e.toJSON())),r}toProxy(){return this.proxyCache||(this.proxyCache=new Proxy(this,this.getProxyProcessor())),this.proxyCache}toString(e=i){e.stringify&&(e=e.stringify);let t="";return e(this,e=>{t+=e}),t}warn(e,t,r){let n={node:this};for(let e in r)n[e]=r[e];return e.warn(t,n)}get proxyOf(){return this}}return e7=o,o.default=o,e7}function cf(){if(tt)return te;tt=1;let e=cd();class t extends e{constructor(e){e&&void 0!==e.value&&"string"!=typeof e.value&&(e={...e,value:String(e.value)}),super(e),this.type="decl"}get variable(){return this.prop.startsWith("--")||"$"===this.prop[0]}}return te=t,t.default=t,te}function ch(){if(to)return ti;to=1;let{SourceMapConsumer:e,SourceMapGenerator:t}=co,{existsSync:r,readFileSync:n}=co,{dirname:i,join:o}=co;class s{constructor(e,t){if(!1===t.map)return;this.loadAnnotation(e),this.inline=this.startWith(this.annotation,"data:");let r=t.map?t.map.prev:void 0,n=this.loadMap(t.from,r);!this.mapFile&&t.from&&(this.mapFile=t.from),this.mapFile&&(this.root=i(this.mapFile)),n&&(this.text=n)}consumer(){return this.consumerCache||(this.consumerCache=new e(this.text)),this.consumerCache}decodeInline(e){if(/^data:application\/json;charset=utf-?8,/.test(e)||/^data:application\/json,/.test(e))return decodeURIComponent(e.substr(RegExp.lastMatch.length));if(/^data:application\/json;charset=utf-?8;base64,/.test(e)||/^data:application\/json;base64,/.test(e)){var t;return t=e.substr(RegExp.lastMatch.length),a0.Buffer.from(t,"base64").toString()}throw Error("Unsupported source map encoding "+e.match(/data:application\/json;([^,]+),/)[1])}getAnnotationURL(e){return e.replace(/^\/\*\s*# sourceMappingURL=/,"").trim()}isMap(e){return"object"==typeof e&&("string"==typeof e.mappings||"string"==typeof e._mappings||Array.isArray(e.sections))}loadAnnotation(e){let t=e.match(/\/\*\s*# sourceMappingURL=/gm);if(!t)return;let r=e.lastIndexOf(t.pop()),n=e.indexOf("*/",r);r>-1&&n>-1&&(this.annotation=this.getAnnotationURL(e.substring(r,n)))}loadFile(e){if(this.root=i(e),r(e))return this.mapFile=e,n(e,"utf-8").toString().trim()}loadMap(r,n){if(!1===n)return!1;if(n)if("string"==typeof n)return n;else if("function"==typeof n){let e=n(r);if(e){let t=this.loadFile(e);
1if(!t)throw Error("Unable to load previous source map: "+e.toString());return t}}else if(n instanceof e)return t.fromSourceMap(n).toString();else if(n instanceof t)return n.toString();else if(this.isMap(n))return JSON.stringify(n);else throw Error("Unsupported previous source map format: "+n.toString());else if(this.inline)return this.decodeInline(this.annotation);else if(this.annotation){let e=this.annotation;return r&&(e=o(i(r),e)),this.loadFile(e)}}startWith(e,t){return!!e&&e.substr(0,t.length)===t}withContent(){return!!(this.consumer().sourcesContent&&this.consumer().sourcesContent.length>0)}}return ti=s,s.default=s,ti}function cp(){if(ta)return ts;ta=1;let{SourceMapConsumer:e,SourceMapGenerator:t}=co,{fileURLToPath:r,pathToFileURL:n}=co,{isAbsolute:i,resolve:o}=co,{nanoid:s}=tn?tr:(tn=1,tr={nanoid:(e=21)=>{let t="",r=e;for(;r--;)t+="useandom-26T198340PX75pxJACKVERYMINDBUSHWOLF_GQZbfghjklqvwyzrict"[64*Math.random()|0];return t},customAlphabet:(e,t=21)=>(r=t)=>{let n="",i=r;for(;i--;)n+=e[Math.random()*e.length|0];return n}}
1),a=cs(),l=ch(),c=Symbol("fromOffsetCache"),u=!!(e&&t),d=!!(o&&i);class f{constructor(e,t={}){if(null==e||"object"==typeof e&&!e.toString)throw Error(`PostCSS received ${e} instead of CSS string`);if(this.css=e.toString(),"\uFEFF"===this.css[0]||"￾"===this.css[0]?(this.hasBOM=!0,this.css=this.css.slice(1)):this.hasBOM=!1,t.from&&(!d||/^\w+:\/\//.test(t.from)||i(t.from)?this.file=t.from:this.file=o(t.from)),d&&u){let e=new l(this.css,t);if(e.text){this.map=e;let t=e.consumer().file;!this.file&&t&&(this.file=this.mapResolve(t))}}this.file||(this.id="<input css "+s(6)+">"),this.map&&(this.map.file=this.from)}error(e,t,r,i={}){let o,s,l;if(t&&"object"==typeof t){let e=t,n=r;if("number"==typeof e.offset){let n=this.fromOffset(e.offset);t=n.line,r=n.col}else t=e.line,r=e.column;if("number"==typeof n.offset){let e=this.fromOffset(n.offset);s=e.line,l=e.col}else s=n.line,l=n.column}else if(!r){let e=this.fromOffset(t);t=e.line,r=e.col}let c=this.origin(t,r,s,l);return(o=c?new a(e,void 0===c.endLine?c.line:{column:c.column,line:c.line},void 0===c.endLine?c.column:{column:c.endColumn,line:c.endLine},c.source,c.file,i.plugin):new a(e,void 0===s?t:{column:r,line:t},void 0===s?r:{column:l,line:s},this.css,this.file,i.plugin)).input={column:r,endColumn:l,endLine:s,line:t,source:this.css},this.file&&(n&&(o.input.url=n(this.file).toString()),o.input.file=this.file),o}fromOffset(e){let t,r;if(this[c])r=this[c];else{let e=this.css.split("\n");r=Array(e.length);let t=0;for(let n=0,i=e.length;n<i;n++)r[n]=t,t+=e[n].length+1;this[c]=r}t=r[r.length-1];let n=0;if(e>=t)n=r.length-1;else{let t,i=r.length-2;for(;n<i;)if(e<r[t=n+(i-n>>1)])i=t-1;else if(e>=r[t+1])n=t+1;else{n=t;break}}return{col:e-r[n]+1,line:n+1}}mapResolve(e){return/^\w+:\/\//.test(e)?e:o(this.map.consumer().sourceRoot||this.map.root||".",e)}origin(e,t,o,s){let a,l;if(!this.map)return!1;let c=this.map.consumer(),u=c.originalPositionFor({column:t,line:e});if(!u.source)return!1;"number"==typeof o&&(a=c.originalPositionFor({column:s,line:o})),l=i(u.source)?n(u.source):new URL(u.source,this.map.consumer().sourceRoot||n(this.map.mapFile));let d={column:u.column,endColumn:a&&a.column,endLine:a&&a.line,line:u.line,url:l.toString()};if("file:"===l.protocol)if(r)d.file=r(l);else throw Error("file: protocol is not available in this PostCSS build");let f=c.sourceContentFor(u.source);return f&&(d.source=f),d}toJSON(){let e={};for(let t of["hasBOM","css","file","id"])null!=this[t]&&(e[t]=this[t]);return this.map&&(e.map={...this.map},e.map.consumerCache&&(e.map.consumerCache=void 0)),e}get from(){return this.file||this.id}}return ts=f,f.default=f,co&&co.registerInput&&co.registerInput(f),ts}function cm(){if(tc)return tl;tc=1;let{SourceMapConsumer:e,SourceMapGenerator:t}=co,{dirname:r,relative:n,resolve:i,sep:o}=co,{pathToFileURL:s}=co,a=cp(),l=!!(e&&t),c=!!(r&&i&&n&&o);return tl=class{constructor(e,t,r,n){this.stringify=e,this.mapOpts=r.map||{},this.root=t,this.opts=r,this.css=n,this.originalCSS=n,this.usesFileUrls=!this.mapOpts.from&&this.mapOpts.absolute,this.memoizedFileURLs=new Map,this.memoizedPaths=new Map,this.memoizedURLs=new Map}addAnnotation(){let e;e=this.isInline()?"data:application/json;base64,"+this.toBase64(this.map.toString()):"string"==typeof this.mapOpts.annotation?this.mapOpts.annotation:"function"==typeof this.mapOpts.annotation?this.mapOpts.annotation(this.opts.to,this.root):this.outputFile()+".map";let t="\n";this.css.includes("\r\n")&&(t="\r\n"),this.css+=t+"/*# sourceMappingURL="+e+" */"}applyPrevMaps(){for(let t of this.previous()){let n,i=this.toUrl(this.path(t.file)),o=t.root||r(t.file);!1===this.mapOpts.sourcesContent?(n=new e(t.text)).sourcesContent&&(n.sourcesContent=null):n=t.consumer(),this.map.applySourceMap(n,i,this.toUrl(this.path(o)))}}clearAnnotation(){if(!1!==this.mapOpts.annotation)if(this.root){let e;for(let t=this.root.nodes.length-1;t>=0;t--)"comment"===(e=this.root.nodes[t]).type&&0===e.text.indexOf("# sourceMappingURL=")&&this.root.removeChild(t)}else this.css&&(this.css=this.css.replace(/\n*?\/\*#[\S\s]*?\*\/$/gm,""))}generate(){if(this.clearAnnotation(),c&&l&&this.isMap())return this.generateMap();{let e="";return this.stringify(this.root,t=>{e+=t}),[e]}}generateMap(){if(this.root)this.generateString();else if(1===this.previous().length){let e=this.previous()[0].consumer();e.file=this.outputFile(),this.map=t.fromSourceMap(e,{ignoreInvalidMapping:!0})}else this.map=new t({file:this.outputFile(),ignoreInvalidMapping:!0}),this.map.addMapping({generated:{column:0,line:1},original:{column:0,line:1},source:this.opts.from?this.toUrl(this.path(this.opts.from)):"<no source>"});return(this.isSourcesContent()&&this.setSourcesContent(),this.root&&this.previous().length>0&&this.applyPrevMaps(),this.isAnnotation()&&this.addAnnotation(),this.isInline())?[this.css]:[this.css,this.map]}generateString(){let e,r;this.css="",this.map=new t({file:this.outputFile(),ignoreInvalidMapping:!0});let n=1,i=1,o="<no source>",s={generated:{column:0,line:0},original:{column:0,line:0},source:""};this.stringify(this.root,(t,a,l)=>{if(this.css+=t,a&&"end"!==l&&(s.generated.line=n,s.generated.column=i-1,a.source&&a.source.start?(s.source=this.sourcePath(a),s.original.line=a.source.start.line,s.original.column=a.source.start.column-1):(s.source=o,s.original.line=1,s.original.column=0),this.map.addMapping(s)),(e=t.match(/\n/g))?(n+=e.length,r=t.lastIndexOf("\n"),i=t.length-r):i+=t.length,a&&"start"!==l){let e=a.parent||{raws:{}};(!("decl"===a.type||"atrule"===a.type&&!a.nodes)||a!==e.last||e.raws.semicolon)&&(a.source&&a.source.end?(s.source=this.sourcePath(a),s.original.line=a.source.end.line,s.original.column=a.source.end.column-1,s.generated.line=n,s.generated.column=i-2):(s.source=o,s.original.line=1,s.original.column=0,s.generated.line=n,s.generated.column=i-1),this.map.addMapping(s))}})}isAnnotation(){return!!this.isInline()||(void 0!==this.mapOpts.annotation?this.mapOpts.annotation:!this.previous().length||this.previous().some(e=>e.annotation))}isInline(){if(void 0!==this.mapOpts.inline)return this.mapOpts.inline;let e=this.mapOpts.annotation;return(void 0===e||!0===e)&&(!this.previous().length||this.previous().some(e=>e.inline))}isMap(){return void 0!==this.opts.map?!!this.opts.map:this.previous().length>0}isSourcesContent(){return void 0!==this.mapOpts.sourcesContent?this.mapOpts.sourcesContent:!this.previous().length||this.previous().some(e=>e.withContent())}outputFile(){return this.opts.to?this.path(this.opts.to):this.opts.from?this.path(this.opts.from):"to.css"}path(e){if(this.mapOpts.absolute||60===e.charCodeAt(0)||/^\w+:\/\//.test(e))return e;let t=this.memoizedPaths.get(e);if(t)return t;let o=this.opts.to?r(this.opts.to):".";"string"==typeof this.mapOpts.annotation&&(o=r(i(o,this.mapOpts.annotation)));let s=n(o,e);return this.memoizedPaths.set(e,s),s}previous(){if(!this.previousMaps)if(this.previousMaps=[],this.root)this.root.walk(e=>{if(e.source&&e.source.input.map){let t=e.source.input.map;this.previousMaps.includes(t)||this.previousMaps.push(t)}});else{let e=new a(this.originalCSS,this.opts);e.map&&this.previousMaps.push(e.map)}return this.previousMaps}setSourcesContent(){let e={};if(this.root)this.root.walk(t=>{if(t.source){let r=t.source.input.from;if(r&&!e[r]){e[r]=!0;let n=this.usesFileUrls?this.toFileUrl(r):this.toUrl(this.path(r));this.map.setSourceContent(n,t.source.input.css)}}});else if(this.css){let e=this.opts.from?this.toUrl(this.path(this.opts.from)):"<no source>";this.map.setSourceContent(e,this.css)}}sourcePath(e){return this.mapOpts.from?this.toUrl(this.mapOpts.from):this.usesFileUrls?this.toFileUrl(e.source.input.from):this.toUrl(this.path(e.source.input.from))}toBase64(e){return a0.Buffer.from(e).toString("base64")}toFileUrl(e){let t=this.memoizedFileURLs.get(e);if(t)return t;if(s){let t=s(e).toString();return this.memoizedFileURLs.set(e,t),t}throw Error("`map.absolute` option is not available in this PostCSS build")}toUrl(e){let t=this.memoizedURLs.get(e);if(t)return t;"\\"===o&&(e=e.replace(/\\/g,"/"));let r=encodeURI(e).replace(/[#?]/g,encodeURIComponent);return this.memoizedURLs.set(e,r),r}}}function cg(){if(td)return tu;td=1;let e=cd();class t extends e{constructor(e){super(e),this.type="comment"}}return tu=t,t.default=t,tu}function cy(){let e,t,r,n;if(th)return tf;th=1;let{isClean:i,my:o}=cl(),s=cf(),a=cg(),l=cd();class c extends l{append(...e){for(let t of e)for(let e of this.normalize(t,this.last))this.proxyOf.nodes.push(e);return this.markDirty(),this}cleanRaws(e){if(super.cleanRaws(e),this.nodes)for(let t of this.nodes)t.cleanRaws(e)}each(e){let t,r;if(!this.proxyOf.nodes)return;let n=this.getIterator();for(;this.indexes[n]<this.proxyOf.nodes.length&&(t=this.indexes[n],!1!==(r=e(this.proxyOf.nodes[t],t)));)this.indexes[n]+=1;return delete this.indexes[n],r}every(e){return this.nodes.every(e)}getIterator(){this.lastEach||(this.lastEach=0),this.indexes||(this.indexes={}),this.lastEach+=1;let e=this.lastEach;return this.indexes[e]=0,e}getProxyProcessor(){return{get(e,t){if("proxyOf"===t)return e;if(!e[t])return e[t];if("each"===t||"string"==typeof t&&t.startsWith("walk"))return(...r)=>e[t](...r.map(e=>"function"==typeof e?(t,r)=>e(t.toProxy(),r):e));if("every"===t||"some"===t)return r=>e[t]((e,...t)=>r(e.toProxy(),...t));if("root"===t)return()=>
1e.root().toProxy();else if("nodes"===t)return e.nodes.map(e=>e.toProxy());else if("first"===t||"last"===t)return e[t].toProxy();else return e[t]},set:(e,t,r)=>e[t]===r||(e[t]=r,("name"===t||"params"===t||"selector"===t)&&e.markDirty(),!0)}}index(e){return"number"==typeof e?e:(e.proxyOf&&(e=e.proxyOf),this.proxyOf.nodes.indexOf(e))}insertAfter(e,t){let r,n=this.index(e),i=this.normalize(t,this.proxyOf.nodes[n]).reverse();for(let t of(n=this.index(e),i))this.proxyOf.nodes.splice(n+1,0,t);for(let e in this.indexes)n<(r=this.indexes[e])&&(this.indexes[e]=r+i.length);return this.markDirty(),this}insertBefore(e,t){let r,n=this.index(e),i=0===n&&"prepend",o=this.normalize(t,this.proxyOf.nodes[n],i).reverse();for(let t of(n=this.index(e),o))this.proxyOf.nodes.splice(n,0,t);for(let e in this.indexes)n<=(r=this.indexes[e])&&(this.indexes[e]=r+o.length);return this.markDirty(),this}normalize(n,l){if("string"==typeof n)n=function e(t){return t.map(t=>(t.nodes&&(t.nodes=e(t.nodes)),delete t.source,t))}(e(n).nodes);else if(void 0===n)n=[];else if(Array.isArray(n))for(let e of n=n.slice(0))e.parent&&e.parent.removeChild(e,"ignore");else if("root"===n.type&&"document"!==this.type)for(let e of n=n.nodes.slice(0))e.parent&&e.parent.removeChild(e,"ignore");else if(n.type)n=[n];else if(n.prop){if(void 0===n.value)throw Error("Value field is missed in node creation");"string"!=typeof n.value&&(n.value=String(n.value)),n=[new s(n)]}else if(n.selector)n=[new t(n)];else if(n.name)n=[new r(n)];else if(n.text)n=[new a(n)];else throw Error("Unknown node type in node creation");return n.map(e=>(e[o]||c.rebuild(e),(e=e.proxyOf).parent&&e.parent.removeChild(e),e[i]&&function e(t){if(t[i]=!1,t.proxyOf.nodes)for(let r of t.proxyOf.nodes)e(r)}(e),void 0===e.raws.before&&l&&void 0!==l.raws.before&&(e.raws.before=l.raws.before.replace(/\S/g,"")),e.parent=this.proxyOf,e))}prepend(...e){for(let t of e=e.reverse()){let e=this.normalize(t,this.first,"prepend").reverse();for(let t of e)this.proxyOf.nodes.unshift(t);for(let t in this.indexes)this.indexes[t]=this.indexes[t]+e.length}return this.markDirty(),this}push(e){return e.parent=this,this.proxyOf.nodes.push(e),this}removeAll(){for(let e of this.proxyOf.nodes)e.parent=void 0;return this.proxyOf.nodes=[],this.markDirty(),this}removeChild(e){let t;for(let r in e=this.index(e),this.proxyOf.nodes[e].parent=void 0,this.proxyOf.nodes.splice(e,1),this.indexes)(t=this.indexes[r])>=e&&(this.indexes[r]=t-1);return this.markDirty(),this}replaceValues(e,t,r){return r||(r=t,t={}),this.walkDecls(n=>{t.props&&!t.props.includes(n.prop)||(!t.fast||n.value.includes(t.fast))&&(n.value=n.value.replace(e,r))}),this.markDirty(),this}some(e){return this.nodes.some(e)}walk(e){return this.each((t,r)=>{let n;try{n=e(t,r)}catch(e){throw t.addToError(e)}return!1!==n&&t.walk&&(n=t.walk(e)),n})}walkAtRules(e,t){return t?e instanceof RegExp?this.walk((r,n)=>{if("atrule"===r.type&&e.test(r.name))return t(r,n)}):this.walk((r,n)=>{if("atrule"===r.type&&r.name===e)return t(r,n)}):(t=e,this.walk((e,r)=>{if("atrule"===e.type)return t(e,r)}))}walkComments(e){return this.walk((t,r)=>{if("comment"===t.type)return e(t,r)})}walkDecls(e,t){return t?e instanceof RegExp?this.walk((r,n)=>{if("decl"===r.type&&e.test(r.prop))return t(r,n)}):this.walk((r,n)=>{if("decl"===r.type&&r.prop===e)return t(r,n)}):(t=e,this.walk((e,r)=>{if("decl"===e.type)return t(e,r)}))}walkRules(e,t){return t?e instanceof RegExp?this.walk((r,n)=>{if("rule"===r.type&&e.test(r.selector))return t(r,n)}):this.walk((r,n)=>{if("rule"===r.type&&r.selector===e)return t(r,n)}):(t=e,this.walk((e,r)=>{if("rule"===e.type)return t(e,r)}))}get first(){if(this.proxyOf.nodes)return this.proxyOf.nodes[0]}get last(){if(this.proxyOf.nodes)return this.proxyOf.nodes[this.proxyOf.nodes.length-1]}}return c.registerParse=t=>{e=t},c.registerRule=e=>{t=e},c.registerAtRule=e=>{r=e},c.registerRoot=e=>{n=e},tf=c,c.default=c,c.rebuild=e=>{"atrule"===e.type?Object.setPrototypeOf(e,r.prototype):"rule"===e.type?Object.setPrototypeOf(e,t.prototype):"decl"===e.type?Object.setPrototypeOf(e,s.prototype):"comment"===e.type?Object.setPrototypeOf(e,a.prototype):"root"===e.type&&Object.setPrototypeOf(e,n.prototype),e[o]=!0,e.nodes&&e.nodes.forEac
1h(e=>{c.rebuild(e)})},tf}function cv(){let e,t;if(tm)return tp;tm=1;let r=cy();class n extends r{constructor(e){super({type:"document",...e}),this.nodes||(this.nodes=[])}toResult(r={}){return new e(new t,this,r).stringify()}}return n.registerLazyResult=t=>{e=t},n.registerProcessor=e=>{t=e},tp=n,n.default=n,tp}function cw(){if(ty)return tg;ty=1;let e={};return tg=function(t){!e[t]&&(e[t]=!0,"undefined"!=typeof console&&console.warn&&console.warn(t))}}function cb(){if(tw)return tv;tw=1;class e{constructor(e,t={}){if(this.type="warning",this.text=e,t.node&&t.node.source){let e=t.node.rangeBy(t);this.line=e.start.line,this.column=e.start.column,this.endLine=e.end.line,this.endColumn=e.end.column}for(let e in t)this[e]=t[e]}toString(){return this.node?this.node.error(this.text,{index:this.index,plugin:this.plugin,word:this.word}).message:this.plugin?this.plugin+": "+this.text:this.text}}return tv=e,e.default=e,tv}function c_(){if(t_)return tb;t_=1;let e=cb();class t{constructor(e,t,r){this.processor=e,this.messages=[],this.root=t,this.opts=r,this.css=void 0,this.map=void 0}toString(){return this.css}warn(t,r={}){!r.plugin&&this.lastPlugin&&this.lastPlugin.postcssPlugin&&(r.plugin=this.lastPlugin.postcssPlugin);let n=new e(t,r);return this.messages.push(n),n}warnings(){return this.messages.filter(e=>"warning"===e.type)}get content(){return this.css}}return tb=t,t.default=t,tb}function cS(){if(tx)return tC;tx=1;let e=cy();class t extends e{constructor(e){super(e),this.type="atrule"}append(...e){return this.proxyOf.nodes||(this.nodes=[]),super.append(...e)}prepend(...e){return this.proxyOf.nodes||(this.nodes=[]),super.prepend(...e)}}return tC=t,t.default=t,e.registerAtRule(t),tC}function cE(){let e,t;if(tI)return tk;tI=1;let r=cy();class n extends r{constructor(e){super(e),this.type="root",this.nodes||(this.nodes=[])}normalize(e,t,r){let n=super.normalize(e);if(t){if("prepend"===r)this.nodes.length>1?t.raws.before=this.nodes[1].raws.before:delete t.raws.before;else if(this.first!==t)for(let e of n)e.raws.before=t.raws.before}return n}removeChild(e,t){let r=this.index(e);return!t&&0===r&&this.nodes.length>1&&(this.nodes[1].raws.before=this.nodes[r].raws.before),super.removeChild(e)}toResult(r={}){return new e(new t,this,r).stringify()}}return n.registerLazyResult=t=>{e=t},n.registerProcessor=e=>{t=e},tk=n,n.default=n,r.registerRoot(n),tk}function cC(){if(tA)return tT;tA=1;let e={comma:t=>e.split(t,[","],!0),space:t=>e.split(t,[" ","\n","	"]),split(e,t,r){let n=[],i="",o=!1,s=0,a=!1,l="",c=!1;for(let r of e)c?c=!1:"\\"===r?c=!0:a?r===l&&(a=!1):'"'===r||"'"===r?(a=!0,l=r):"("===r?s+=1:")"===r?s>0&&(s-=1):0===s&&t.includes(r)&&(o=!0),o?(""!==i&&n.push(i.trim()),i="",o=!1):i+=r;return(r||""!==i)&&n.push(i.trim()),n}};return tT=e,e.default=e,tT}function cx(){if(tO)return tM;tO=1;let e=cy(),t=cC();class r extends e{constructor(e){super(e),this.type="rule",this.nodes||(this.nodes=[])}get selectors(){return t.comma(this.selector)}set selectors(e){let t=this.selector?this.selector.match(/,\s*/):null,r=t?t[0]:","+this.raw("between","beforeOpen");this.selector=e.join(r)}}return tM=r,r.default=r,e.registerRule(r),tM}function ck(){if(tN)return tD;tN=1;let e=cy(),t=function(){if(tP)return tR;tP=1;let e=cf(),t=function(){if(tE)return tS;tE=1;let e=/[\t\n\f\r "#'()/;[\\\]{}]/g,t=/[\t\n\f\r !"#'():;@[\\\]{}]|\/(?=\*)/g,r=/.[\r\n"'(/\\]/,n=/[\da-f]/i;return tS=function(i,o={}){let s,a,l,c,u,d,f,h,p,m,g=i.css.valueOf(),y=o.ignoreErrors,v=g.length,w=0,b=[],_=[];function S(e){throw i.error("Unclosed "+e,w)}return{back:function(e){_.push(e)},endOfFile:function(){return 0===_.length&&w>=v},nextToken:function(i){if(_.length)return _.pop();if(w>=v)return;let o=!!i&&i.ignoreUnclosed;switch(s=g.charCodeAt(w)){case 10:case 32:case 9:case 13:case 12:a=w;do a+=1,s=g.charCodeAt(a);while(32===s||10===s||9===s||13===s||12===s)m=["space",g.slice(w,a)],w=a-1;break;case 91:case 93:case 123:case 125:case 58:case 59:case 41:{let e=String.fromCharCode(s);m=[e,e,w];break}case 40:if(h=b.length?b.pop()[1]:"",p=g.charCodeAt(w+1),"url"===h&&39!==p&&34!==p&&32!==p&&10!==p&&9!==p&&12!==p&&13!==p){a=w;do{if(d=!1,-1===(a=g.indexOf(")",a+1)))if(y||o){a=w;break}else S("bracket");for(f=a;92===g.charCodeAt(f-1);)f-=1,d=!d}while(d)m=["brackets",g.slice(w,a+1),w,a],w=a}else a=g.indexOf(")",w+1),c=g.slice(w,a+1),-1===a||r.test(c)?m=["(","(",w]:(m=["brackets",c,w,a],w=a);break;case 39:case 34:l=39===s?"'":'"',a=w;do{if(d=!1,-1===(a=g.indexOf(l,a+1)))if(y||o){a=w+1;break}else S("string");for(f=a;92===g.charCodeAt(f-1);)f-=1,d=!d}while(d)m=["string",g.slice(w,a+1),w,a],w=a;break;case 64:e.lastIndex=w+1,e.test(g),a=0===e.lastIndex?g.length-1:e.lastIndex-2,m=["at-word",g.slice(w,a+1),w,a],w=a;break;case 92:for(a=w,u=!0;92===g.charCodeAt(a+1);)a+=1,u=!u;if(s=g.charCodeAt(a+1),u&&47!==s&&32!==s&&10!==s&&9!==s&&13!==s&&12!==s&&(a+=1,n.test(g.charAt(a)))){for(;n.test(g.charAt(a+1));)a+=1;32===g.charCodeAt(a+1)&&(a+=1)}m=["word",g.slice(w,a+1),w,a],w=a;break;default:47===s&&42===g.charCodeAt(w+1)?(0===(a=g.indexOf("*/",w+2)+1)&&(y||o?a=g.length:S("comment")),m=["comment",g.slice(w,a+1),w,a]):(t.lastIndex=w+1,t.test(g),a=0===t.lastIndex?g.length-1:t.lastIndex-2,m=["word",g.slice(w,a+1),w,a],b.push(m)),w=a}return w++,m},position:function(){return w}}}}(),r=cg(),n=cS(),i=cE(),o=cx(),s={empty:!0,space:!0};return tR=class{constructor(e){this.input=e,this.root=new i,this.current=this.root,this.spaces="",this.semicolon=!1,this.createTokenizer(),this.root.source={input:e,start:{column:1,line:1,offset:0}}}atrule(e){let t,r,i,o=new n;o.name=e[1].slice(1),""===o.name&&this.unnamedAtrule(o,e),this.init(o,e[2]);let s=!1,a=!1,l=[],c=[];for(;!this.tokenizer.endOfFile();){if("("===(t=(e=this.tokenizer.nextToken())[0])||"["===t?c.push("("===t?")":"]"):"{"===t&&c.length>0?c.push("}"):t===c[c.length-1]&&c.pop(),0===c.length)if(";"===t){o.source.end=this.getPosition(e[2]),o.source.end.offset++,this.semicolon=!0;break}else if("{"===t){a=!0;break}else if("}"===t){if(l.length>0){for(i=l.length-1,r=l[i];r&&"space"===r[0];)r=l[--i];r&&(o.source.end=this.getPosition(r[3]||r[2]),o.source.end.offset++)}this.end(e);break}else l.push(e);else l.push(e);if(this.tokenizer.endOfFile()){s=!0;break}}o.raws.between=this.spacesAndCommentsFromEnd(l),l.length?(o.raws.afterName=this.spacesAndCommentsFromStart(l),this.raw(o,"params",l),s&&(e=l[l.length-1],o.source.end=this.getPosition(e[3]||e[2]),o.source.end.offset++,this.spaces=o.raws.between,o.raws.between="")):(o.raws.afterName="",o.params=""),a&&(o.nodes=[],this.current=o)}checkMissedSemicolon(e){let t,r=this.colon(e);if(!1===r)return;let n=0;for(let i=r-1;i>
1=0&&("space"===(t=e[i])[0]||2!==(n+=1));i--);throw this.input.error("Missed semicolon","word"===t[0]?t[3]+1:t[2])}colon(e){let t,r,n=0;for(let[i,o]of e.entries()){if("("===(t=o[0])&&(n+=1),")"===t&&(n-=1),0===n&&":"===t)if(r)if("word"===r[0]&&"progid"===r[1])continue;else return i;else this.doubleColon(o);r=o}return!1}comment(e){let t=new r;this.init(t,e[2]),t.source.end=this.getPosition(e[3]||e[2]),t.source.end.offset++;let n=e[1].slice(2,-2);if(/^\s*$/.test(n))t.text="",t.raws.left=n,t.raws.right="";else{let e=n.match(/^(\s*)([^]*\S)(\s*)$/);t.text=e[2],t.raws.left=e[1],t.raws.right=e[3]}}createTokenizer(){this.tokenizer=t(this.input)}decl(t,r){let n,i,o=new e;this.init(o,t[0][2]);let s=t[t.length-1];for(";"===s[0]&&(this.semicolon=!0,t.pop()),o.source.end=this.getPosition(s[3]||s[2]||function(e){for(let t=e.length-1;t>=0;t--){let r=e[t],n=r[3]||r[2];if(n)return n}}(t)),o.source.end.offset++;"word"!==t[0][0];)1===t.length&&this.unknownWord(t),o.raws.before+=t.shift()[1];for(o.source.start=this.getPosition(t[0][2]),o.prop="";t.length;){let e=t[0][0];if(":"===e||"space"===e||"comment"===e)break;o.prop+=t.shift()[1]}for(o.raws.between="";t.length;){if(":"===(n=t.shift())[0]){o.raws.between+=n[1];break}"word"===n[0]&&/\w/.test(n[1])&&this.unknownWord([n]),o.raws.between+=n[1]}("_"===o.prop[0]||"*"===o.prop[0])&&(o.raws.before+=o.prop[0],o.prop=o.prop.slice(1));let a=[];for(;t.length&&("space"===(i=t[0][0])||"comment"===i);)a.push(t.shift());this.precheckMissedSemicolon(t);for(let e=t.length-1;e>=0;e--){if("!important"===(n=t[e])[1].toLowerCase()){o.important=!0;let r=this.stringFrom(t,e);" !important"!==(r=this.spacesFromEnd(t)+r)&&(o.raws.important=r);break}if("important"===n[1].toLowerCase()){let r=t.slice(0),n="";for(let t=e;t>0;t--){let e=r[t][0];if(0===n.trim().indexOf("!")&&"space"!==e)break;n=r.pop()[1]+n}0===n.trim().indexOf("!")&&(o.important=!0,o.raws.important=n,t=r)}if("space"!==n[0]&&"comment"!==n[0])break}t.some(e=>"space"!==e[0]&&"comment"!==e[0])&&(o.raws.between+=a.map(e=>e[1]).join(""),a=[]),this.raw(o,"value",a.concat(t),r),o.value.includes(":")&&!r&&this.checkMissedSemicolon(t)}doubleColon(e){throw this.input.error("Double colon",{offset:e[2]},{offset:e[2]+e[1].length})}emptyRule(e){let t=new o;this.init(t,e[2]),t.selector="",t.raws.between="",this.current=t}end(e){this.current.nodes&&this.current.nodes.length&&(this.current.raws.semicolon=this.semicolon),this.semicolon=!1,this.current.raws.after=(this.current.raws.after||"")+this.spaces,this.spaces="",this.current.parent?(this.current.source.end=this.getPosition(e[2]),this.current.source.end.offset++,this.current=this.current.parent):this.unexpectedClose(e)}endFile(){this.current.parent&&this.unclosedBlock(),this.current.nodes&&this.current.nodes.length&&(this.current.raws.semicolon=this.semicolon),this.current.raws.after=(this.current.raws.after||"")+this.spaces,this.root.source.end=this.getPosition(this.tokenizer.position())}freeSemicolon(e){if(this.spaces+=e[1],this.current.nodes){let e=this.current.nodes[this.current.nodes.length-1];e&&"rule"===e.type&&!e.raws.ownSemicolon&&(e.raws.ownSemicolon=this.spaces,this.spaces="")}}getPosition(e){let t=this.input.fromOffset(e);return{column:t.col,line:t.line,offset:e}}init(e,t){this.current.push(e),e.source={input:this.input,start:this.getPosition(t)},e.raws.before=this.spaces,this.spaces="","comment"!==e.type&&(this.semicolon=!1)}other(e){let t=!1,r=null,n=!1,i=null,o=[],s=e[1].startsWith("--"),a=[],l=e;for(;l;){if(r=l[0],a.push(l),"("===r||"["===r)i||(i=l),o.push("("===r?")":"]");else if(s&&n&&"{"===r)i||(i=l),o.push("}");else if(0===o.length)if(";"===r)if(n)return void this.decl(a,s);else break;else if("{"===r)return void this.rule(a);else if("}"===r){this.tokenizer.back(a.pop()),t=!0;break}else":"===r&&(n=!0);else r===o[o.length-1]&&(o.pop(),0===o.length&&(i=null));l=this.tokenizer.nextToken()}if(this.tokenizer.endOfFile()&&(t=!0),o.length>0&&this.unclosedBracket(i),t&&n){if(!s)for(;a.length&&("space"===(l=a[a.length-1][0])||"comment"===l);)this.tokenizer.back(a.pop());this.decl(a,s)}else this.unknownWord(a)}parse(){let e;for(;!this.tokenizer.endOfFile();)switch((e=this.tokenizer.nextToken())[0]){case"space":this.spaces+=e[1];break;case";":this.freeSemicolon(e);break;case"}":this.end(e);break;case"comment":this.comment(e);break;case"at-word":this.atrule(e);break;case"{":this.emptyRule(e);break;default:this.other(e)}this.endFile()}precheckMissedSemicolon(){}raw(e,t,r,n){let i,o,a,l,c=r.length,u="",d=!0;for(let e=0;e<c;e+=1)"space"!==(o=(i=r[e])[0])||e!==c-1||n?"comment"===o?(l=r[e-1]?r[e-1][0]:"empty",a=r[e+1]?r[e+1][
10]:"empty",s[l]||s[a]||","===u.slice(-1)?d=!1:u+=i[1]):u+=i[1]:d=!1;if(!d){let n=r.reduce((e,t)=>e+t[1],"");e.raws[t]={raw:n,value:u}}e[t]=u}rule(e){e.pop();let t=new o;this.init(t,e[0][2]),t.raws.between=this.spacesAndCommentsFromEnd(e),this.raw(t,"selector",e),this.current=t}spacesAndCommentsFromEnd(e){let t,r="";for(;e.length&&("space"===(t=e[e.length-1][0])||"comment"===t);)r=e.pop()[1]+r;return r}spacesAndCommentsFromStart(e){let t,r="";for(;e.length&&("space"===(t=e[0][0])||"comment"===t);)r+=e.shift()[1];return r}spacesFromEnd(e){let t="";for(;e.length&&"space"===e[e.length-1][0];)t=e.pop()[1]+t;return t}stringFrom(e,t){let r="";for(let n=t;n<e.length;n++)r+=e[n][1];return e.splice(t,e.length-t),r}unclosedBlock(){let e=this.current.source.start;throw this.input.error("Unclosed block",e.line,e.column)}unclosedBracket(e){throw this.input.error("Unclosed bracket",{offset:e[2]},{offset:e[2]+1})}unexpectedClose(e){throw this.input.error("Unexpected }",{offset:e[2]},{offset:e[2]+1})}unknownWord(e){throw this.input.error("Unknown word",{offset:e[0][2]},{offset:e[0][2]+e[0][1].length})}unnamedAtrule(e,t){throw this.input.error("At-rule without name",{offset:t[2]},{offset:t[2]+t[1].length})}}}(),r=cp();function n(e,n){let i=new t(new r(e,n));try{i.parse()}catch(e){throw e}return i.root}return tD=n,n.default=n,e.registerParse(n),tD}function cI(){if(tF)return tL;tF=1;let{isClean:e,my:t}=cl(),r=cm(),n=cu(),i=cy(),o=cv();cw();let s=c_(),a=ck(),l=cE(),c={atrule:"AtRule",comment:"Comment",decl:"Declaration",document:"Document",root:"Root",rule:"Rule"},u={AtRule:!0,AtRuleExit:!0,Comment:!0,CommentExit:!0,Declaration:!0,DeclarationExit:!0,Document:!0,DocumentExit:!0,Once:!0,OnceExit:!0,postcssPlugin:!0,prepare:!0,Root:!0,RootExit:!0,Rule:!0,RuleExit:!0},d={Once:!0,postcssPlugin:!0,prepare:!0};function f(e){return"object"==typeof e&&"function"==typeof e.then}function h(e){let t=!1,r=c[e.type];return("decl"===e.type?t=e.prop.toLowerCase():"atrule"===e.type&&(t=e.name.toLowerCase()),t&&e.append)?[r,r+"-"+t,0,r+"Exit",r+"Exit-"+t]:t?[r,r+"-"+t,r+"Exit",r+"Exit-"+t]:e.append?[r,0,r+"Exit"]:[r,r+"Exit"]}function p(e){return{eventIndex:0,events:"document"===e.type?["Document",0,"DocumentExit"]:"root"===e.type?["Root",0,"RootExit"]:h(e),iterator:0,node:e,visitorIndex:0,visitors:[]}}function m(t){return t[e]=!1,t.nodes&&t.nodes.forEach(e=>m(e)),t}let g={};class y{constructor(e,r,n){let o;if(this.stringified=!1,this.processed=!1,"object"==typeof r&&null!==r&&("root"===r.type||"document"===r.type))o=m(r);else if(r instanceof y||r instanceof s)o=m(r.root),r.map&&(void 0===n.map&&(n.map={}),n.map.inline||(n.map.inline=!1),n.map.prev=r.map);else{let e=a;n.syntax&&(e=n.syntax.parse),n.parser&&(e=n.parser),e.parse&&(e=e.parse);try{o=e(r,n)}catch(e){this.processed=!0,this.error=e}o&&!o[t]&&i.rebuild(o)}this.result=new s(e,o,n),this.helpers={...g,postcss:g,result:this.result},this.plugins=this.processor.plugins.map(e=>"object"==typeof e&&e.prepare?{...e,...e.prepare(this.result)}:e)}async(){return this.error?Promise.reject(this.error):this.processed?Promise.resolve(this.result):(this.processing||(this.processing=this.runAsync()),this.processing)}catch(e){return this.async().catch(e)}finally(e){return this.async().then(e,e)}getAsyncError(){throw Error("Use process(css).then(cb) to work with async plugins")}handleError(e,t){let r=this.result.lastPlugin;try{t&&t.addToError(e),this.error=e,"CssSyntaxError"!==e.name||e.plugin?r.postcssVersion:(e.plugin=r.postcssPlugin,e.setMessage())}catch(e){console&&console.error&&console.error(e)}return e}prepareVisitors(){this.listeners={};let e=(e,t,r)=>{this.listeners[t]||(this.listeners[t]=[]),this.listeners[t].push([e,r])};for(let t of this.plugins)if("object"==typeof t)for(let r in t){if(!u[r]&&/^[A-Z]/.test(r))throw Error(`Unknown event ${r} in ${t.postcssPlugin}. Try to update PostCSS (${this.processor.version} now).`);if(!d[r])if("object"==typeof t[r])for(let n in t[r])e(t,"*"===n?r:r+"-"+n.toLowerCase(),t[r][n]);else"function"==typeof t[r]&&e(t,r,t[r])}this.hasListener=Object.keys(this.listeners).length>0}async runAsync(){this.plugin=0;for(let e=0;e<this.plugins.length;e++){let t=this.plugins[e],r=this.runOnRoot(t);if(f(r))try{await r}catch(e){throw this.handleError(e)}}if(this.prepareVisitors(),this.hasListener){let t=this.result.root;for(;!t[e];){t[e]=!0;let r=[p(t)];for(;r.length>0;){let e=this.visitTick(r);if(f(e))try{await e}catch(t){let e=r[r.length-1].node;throw this.handleError(t,e)}}}if(this.listeners.OnceExit)for(let[e,r]of this.listeners.OnceExit){this.result.lastPlugin=e;try{if("document"===t.type){let e=t.nodes.map(e=>r(e,this.helpers));await Promise.all(e)}else await r(t,this.helpers)}catch(e){throw this.handleError(e)}}}return this.processed=!0,this.stringify()}runOnRoot(e){this.result.lastPlugin=e;try{if("object"==typeof e&&e.Once){if("document"===this.result.root.type){let t=this.result.root.nodes.map(t=>e.Once(t,this.helpers));if(f(t[0]))return Promise.all(t);return t}return e.Once(this.result.root,this.helpers)}if("function"==typeof e)return e(this.result.root,this.result)}catch(e){throw this.handleError(e)}}stringify(){if(this.error)throw this.error;if(this.stringified)return this.result;this.stringified=!0,this.sync();let e=this.result.opts,t=n;e.syntax&&(t=e.syntax.stringify),e.stringifier&&(t=e.stringifier),t.stringify&&(t=t.stringify);let i=new r(t,this.result.root,this.result.opts).generate();return this.result.css=i[0],this.result.map=i[1],this.result}sync(){if(this.error)throw this.error;if(this.processed)return this.result;if(this.processed=!0,this.processing)throw this.getAsyncError();for(let e of this.plugins)if(f(this.runOnRoot(e)))throw this.getAsyncError();if(this.prepareVisitors(),this.hasListener){let t=this.result.root;for(;!t[e];)t[e]=!0,this.walkSync(t);if(this.listeners.OnceExit)if("document"===t.type)for(let e of t.nodes)this.visitSync(this.listeners.OnceExit,e);else this.visitSync(this.listeners.OnceExit,t)}return this.result}then(e,t){return this.async().then(e,t)}toString(){return this.css}visitSync(e,t){for(let[r,n]of e){let e;this.result.lastPlugin=r;try{e=n(t,this.helpers)}catch(e){throw this.handleError(e,t.proxyOf)}if("root"!==t.type&&"document"!==t.type&&!t.parent)return!0;
1if(f(e))throw this.getAsyncError()}}visitTick(t){let r=t[t.length-1],{node:n,visitors:i}=r;if("root"!==n.type&&"document"!==n.type&&!n.parent)return void t.pop();if(i.length>0&&r.visitorIndex<i.length){let[e,t]=i[r.visitorIndex];r.visitorIndex+=1,r.visitorIndex===i.length&&(r.visitors=[],r.visitorIndex=0),this.result.lastPlugin=e;try{return t(n.toProxy(),this.helpers)}catch(e){throw this.handleError(e,n)}}if(0!==r.iterator){let i,o=r.iterator;for(;i=n.nodes[n.indexes[o]];)if(n.indexes[o]+=1,!i[e]){i[e]=!0,t.push(p(i));return}r.iterator=0,delete n.indexes[o]}let o=r.events;for(;r.eventIndex<o.length;){let t=o[r.eventIndex];if(r.eventIndex+=1,0===t){n.nodes&&n.nodes.length&&(n[e]=!0,r.iterator=n.getIterator());return}if(this.listeners[t]){r.visitors=this.listeners[t];return}}t.pop()}walkSync(t){for(let r of(t[e]=!0,h(t)))if(0===r)t.nodes&&t.each(t=>{t[e]||this.walkSync(t)});else{let e=this.listeners[r];if(e&&this.visitSync(e,t.toProxy()))return}}warnings(){return this.sync().warnings()}get content(){return this.str
1ingify().content}get css(){return this.stringify().css}get map(){return this.stringify().map}get messages(){return this.sync().messages}get opts(){return this.result.opts}get processor(){return this.result.processor}get root(){return this.sync().root}get[Symbol.toStringTag](){return"LazyResult"}}return y.registerPostcss=e=>{g=e},tL=y,y.default=y,l.registerLazyResult(y),o.registerLazyResult(y),tL}let cT=(d=function(){if(tG)return tH;tG=1;let e=cs(),t=cf(),r=cI(),n=cy(),i=function(){if(tj)return tB;tj=1;let e=function(){if(tz)return tU;tz=1;let e=cm(),t=cu();cw();let r=ck(),n=c_();class i{constructor(r,i,o){let s;i=i.toString(),this.stringified=!1,this._processor=r,this._css=i,this._opts=o,this._map=void 0,this.result=new n(this._processor,s,this._opts),this.result.css=i;let a=this;Object.defineProperty(this.result,"root",{get:()=>a.root});let l=new e(t,s,this._opts,i);if(l.isMap()){let[e,t]=l.generate();e&&(this.result.css=e),t&&(this.result.map=t)}else l.clearAnnotation(),this.result.css=l.css}async(){return this.error?Promise.reject(this.error):Promise.resolve(this.result)}catch(e){return this.async().catch(e)}finally(e){return this.async().then(e,e)}sync(){if(this.error)throw this.error;return this.result}then(e,t){return this.async().then(e,t)}toString(){return this._css}warnings(){return[]}get content(){return this.result.css}get css(){return this.result.css}get map(){return this.result.map}get messages(){return[]}get opts(){return this.result.opts}get processor(){return this.result.processor}get root(){let e;if(this._root)return this._root;try{e=r(this._css,this._opts)}catch(e){this.error=e}if(!this.error)return this._root=e,e;throw this.error}get[Symbol.toStringTag](){return"NoWorkResult"}}return tU=i,i.default=i,tU}(),t=cI(),r=cv(),n=cE();class i{constructor(e=[]){this.version="8.4.38",this.plugins=this.normalize(e)}normalize(e){let t=[];for(let r of e)if(!0===r.postcss?r=r():r.postcss&&(r=r.postcss),"object"==typeof r&&Array.isArray(r.plugins))t=t.concat(r.plugins);else if("object"==typeof r&&r.postcssPlugin)t.push(r);else if("function"==typeof r)t.push(r);else if("object"==typeof r&&(r.parse||r.stringify));else throw Error(r+" is not a PostCSS plugin");return t}process(r,n={}){return this.plugins.length||n.parser||n.stringifier||n.syntax?new t(this,r,n):new e(this,r,n)}use(e){return this.plugins=this.plugins.concat(this.normalize([e])),this}}return tB=i,i.default=i,n.registerProcessor(i),r.registerProcessor(i),tB}(),o=cu(),s=function(){if(t$)return tV;t$=1;let e=cf(),t=ch(),r=cg(),n=cS(),i=cp(),o=cE(),s=cx();function a(l,c){if(Array.isArray(l))return l.map(e=>a(e));let{inputs:u,...d}=l;if(u)for(let e of(c=[],u)){let r={...e,__proto__:i.prototype};r.map&&(r.map={...r.map,__proto__:t.prototype}),c.push(r)}if(d.nodes&&(d.nodes=l.nodes.map(e=>a(e,c))),d.source){let{inputId:e,...t}=d.source;d.source=t,null!=e&&(d.source.input=c[e])}if("root"===d.type)return new o(d);if("decl"===d.type)return new e(d);if("rule"===d.type)return new s(d);if("comment"===d.type)return new r(d);if("atrule"===d.type)return new n(d);else throw Error("Unknown node type: "+l.type)}return tV=a,a.default=a,tV}(),a=cv(),l=cb(),c=cg(),u=cS(),d=c_(),f=cp(),h=ck(),p=cC(),m=cx(),g=cE(),y=cd();function v(...e){return 1===e.length&&Array.isArray(e[0])&&(e=e[0]),new i(e)}return v.plugin=function(e,t){let r,n=!1;function o(...r){console&&console.warn&&!n&&(n=!0,console.warn(e+": postcss.plugin was deprecated. Migration guide:\nhttps://evilmartians.com/chronicles/postcss-8-plugin-migration"),a1.default.env.LANG&&a1.default.env.LANG.startsWith("cn")&&console.warn(e+": 里面 postcss.plugin 被弃用. 迁移指南:\nhttps://www.w3ctech.com/topic/2226"));let s=t(...r);return s.postcssPlugin=e,s.postcssVersion=new i().version,s}return Object.defineProperty(o,"postcss",{get:()=>(r||(r=o()),r)}),o.process=function(e,t,r){return v([o(r)]).process(e,t)},o},v.stringify=o,v.parse=h,v.fromJSON=s,v.list=p,v.comment=e=>new c(e),v.atRule=e=>new u(e),v.decl=e=>new t(e),v.rule=e=>new m(e),v.root=e=>new g(e),v.document=e=>new a(e),v.CssSyntaxError=e,v.Declaration=t,v.Container=n,v.Processor=i,v.Document=a,v.Comment=c,v.Warning=l,v.AtRule=u,v.Result=d,v.Input=f,v.Rule=m,v.Root=g,v.Node=y,r.registerPostcss(v),tH=v,v.default=v,tH}())&&d.__esModule&&Object.prototype.hasOwnProperty.call(d,"default")?d.default:d;cT.stringify,cT.fromJSON,cT.plugin,cT.parse,cT.list,cT.document,cT.comment,cT.atRule,cT.rule,cT.decl,cT.root,cT.CssSyntaxError,cT.Declaration,cT.Container,cT.Processor,cT.Document,cT.Comment,cT.Warning,cT.AtRule,cT.Result,cT.Input,cT.Rule,cT.Root,cT.No
1de;var cA=((f=cA||{})[f.Document=0]="Document",f[f.DocumentType=1]="DocumentType",f[f.Element=2]="Element",f[f.Text=3]="Text",f[f.CDATA=4]="CDATA",f[f.Comment=5]="Comment",f);class cM{constructor(...e){cn(this,"parentElement",null),cn(this,"parentNode",null),cn(this,"ownerDocument"),cn(this,"firstChild",null),cn(this,"lastChild",null),cn(this,"previousSibling",null),cn(this,"nextSibling",null),cn(this,"ELEMENT_NODE",1),cn(this,"TEXT_NODE",3),cn(this,"nodeType"),cn(this,"nodeName"),cn(this,"RRNodeType")}get childNodes(){let e=[],t=this.firstChild;for(;t;)e.push(t),t=t.nextSibling;return e}contains(e){if(!(e instanceof cM)||e.ownerDocument!==this.ownerDocument)return!1;if(e===this)return!0;for(;e.parentNode;){if(e.parentNode===this)return!0;e=e.parentNode}return!1}appendChild(e){throw Error("RRDomException: Failed to execute 'appendChild' on 'RRNode': This RRNode type does not support this method.")}insertBefore(e,t){throw Error("RRDomException: Failed to execute 'insertBefore' on 'RRNode': This RRNode type does not support this method.")}removeChild(e){throw Error("RRDomException: Failed to execute 'removeChild' on 'RRNode': This RRNode type does not support this method.")}toString(){return"RRNode"}}var cO=((h=cO||{})[h.PLACEHOLDER=0]="PLACEHOLDER",h[h.ELEMENT_NODE=1]="ELEMENT_NODE",h[h.ATTRIBUTE_NODE=2]="ATTRIBUTE_NODE",h[h.TEXT_NODE=3]="TEXT_NODE",h[h.CDATA_SECTION_NODE=4]="CDATA_SECTION_NODE",h[h.ENTITY_REFERENCE_NODE=5]="ENTITY_REFERENCE_NODE",h[h.ENTITY_NODE=6]="ENTITY_NODE",h[h.PROCESSING_INSTRUCTION_NODE=7]="PROCESSING_INSTRUCTION_NODE",h[h.COMMENT_NODE=8]="COMMENT_NODE",h[h.DOCUMENT_NODE=9]="DOCUMENT_NODE",h[h.DOCUMENT_TYPE_NODE=10]="DOCUMENT_TYPE_NODE",h[h.DOCUMENT_FRAGMENT_NODE=11]="DOCUMENT_FRAGMENT_NODE",h);let cR={Node:["childNodes","parentNode","parentElement","textContent","ownerDocument"],ShadowRoot:["host","styleSheets"],Element:["shadowRoot","querySelector","querySelectorAll"],MutationObserver:[]},cP={Node:["contains","getRootNode"],ShadowRoot:["getSelection"],Element:[],MutationObserver:["constructor"]},cD={},cN={};function cL(e){if(cD[e])return cD[e];let t=globalThis[e],r=t.prototype,n=e in cR?cR[e]:void 0,i=!!(n&&n.every(e=>{var t,n;return!!(null==(n=null==(t=Object.getOwnPropertyDescriptor(r,e))?void 0:t.get)?void 0:n.toString().includes("[native code]"))})),o=e in cP?cP[e]:void 0,s=!!(o&&o.every(e=>{var t;return"function"==typeof r[e]&&(null==(t=r[e])?void 0:t.toString().includes("[native code]"))}));if(i&&s&&!globalThis.Zone)return cD[e]=t.prototype,t.prototype;try{let n=document.createElement("iframe");n.style.display="none",document.body.appendChild(n);let i=n.contentWindow;if(!i)return t.prototype;let o=i[e].prototype;if(!o)return n.remove(),r;let s=navigator.userAgent;return s.includes("Safari")&&!s.includes("Chrome")?(n.classList.add("rr-block"),n.setAttribute("__rrwebUntaintedMutationObserver",""),cN[e]=()=>n.remove()):n.remove(),cD[e]=o}catch{return r}}let cF={};function cU(e,t,r){var n;let i=`${e}.${String(r)}`;if(cF[i])return cF[i].call(t);let o=null==(n=Object.getOwnPropertyDescriptor(cL(e),r))?void 0:n.get;return o?(cF[i]=o,o.call(t)):t[r]}let cz={};function cB(e,t,r){let n=`${e}.${String(r)}`;if(cz[n])return cz[n].bind(t);let i=cL(e)[r];return"function"!=typeof i?t[r]:(cz[n]=i,i.bind(t))}let cj=Date.now;function cV(e,t,r){try{if(!(t in e))return()=>{};let n=e[t],i=r(n);return"function"==typeof i&&(i.prototype=i.prototype||{},Object.defineProperties(i,{__rrweb_original__:{enumerable:!1,value:n}})),e[t]=i,()=>{e[t]=n}}catch{return()=>{}}}/[1-9][0-9]{12}/.test(Date.now().toString())||(cj=()=>new Date().getTime());let c$=function(e){return cU("Node",e,"ownerDocument")},cH=function(e){return cU("Node",e,"childNodes")},cG=function(e){return cU("Node",e,"parentNode")},cW=function(e){return cU("Node",e,"parentElement")},cq=function(e){return cU("Node",e,"textContent")},cJ=function(e,t){return cB("Node",e,"contains")(t)},cY=function(e){return cB("Node",e,"getRootNode")()},cK=function(e){return e&&"host"in e?cU("ShadowRoot",e,"host"):null},cX=function(e){return e&&"shadowRoot"in e?cU("Element",e,"shadowRoot"):null};function cQ(e,t,r=document){let n={capture:!0,passive:!0};return r.addEventListener(e,t,n),()=>r.removeEventListener(e,t,n)}let cZ="Please stop import mirror directly. Instead of that,\r\nnow you can use replayer.getMirror() to access the mirror instance of a replayer,\r\nor you can use record.mirror to access the mirror instance during recording.",c0={map:{},getId:()=>(console.error(cZ),-1),getNode:()=>(console.error(cZ),null),removeNodeFromMap(){console.error(cZ)},has:()=>(console.error(cZ),!1),reset(){console.error(cZ)}};function c1(e,t,r={}){let n=null,i=0;return function(...o){let s=Date.now();i||!1!==r.leading||(i=s);let a=t-(s-i),l=this;a<=0||a>t?(n&&(clearTimeout(n),n=null),i=s,e.apply(l,o)):n||!1===r.trailing||(n=setTimeout(()=>{i=!1===r.leading?0:Date.now(),n=null,e.apply(l,o)},a))}}function c4(e,t,r,n,i=window){let o=i.Object.getOwnPropertyDescriptor(e,t);
1return i.Object.defineProperty(e,t,n?r:{set(e){setTimeout(()=>{r.set.call(this,e)},0),o&&o.set&&o.set.call(this,e)}}),()=>c4(e,t,o||{},!0)}function c2(e){var t,r,n,i;let o=e.document;return{left:o.scrollingElement?o.scrollingElement.scrollLeft:void 0!==e.pageXOffset?e.pageXOffset:o.documentElement.scrollLeft||(null==o?void 0:o.body)&&(null==(t=cW(o.body))?void 0:t.scrollLeft)||(null==(r=null==o?void 0:o.body)?void 0:r.scrollLeft)||0,top:o.scrollingElement?o.scrollingElement.scrollTop:void 0!==e.pageYOffset?e.pageYOffset:(null==o?void 0:o.documentElement.scrollTop)||(null==o?void 0:o.body)&&(null==(n=cW(o.body))?void 0:n.scrollTop)||(null==(i=null==o?void 0:o.body)?void 0:i.scrollTop)||0}}function c3(){return window.innerHeight||document.documentElement&&document.documentElement.clientHeight||document.body&&document.body.clientHeight}function c6(){return window.innerWidth||document.documentElement&&document.documentElement.clientWidth||document.body&&document.body.clientWidth}function c5(e){return e?e.nodeType===e.ELEMENT_NODE?e:cW(e):null}function c8(e,t,r,n){if(!e)return!1;let i=c5(e);if(!i)return!1;try{if("string"==typeof t){if(i.classList.contains(t)||n&&null!==i.closest("."+t))return!0}else if(lL(i,t,n))return!0}catch(e){}return!!(r&&(i.matches(r)||n&&null!==i.closest(r)))||!1}function c7(e,t,r){return"TITLE"===e.tagName&&!!r.headTitleMutations||-2===t.getId(e)}function c9(e){return!!e.changedTouches}function ue(e,t){return!!("IFRAME"===e.nodeName&&t.getMeta(e))}function ut(e,t){return!!("LINK"===e.nodeName&&e.nodeType===e.ELEMENT_NODE&&e.getAttribute&&"stylesheet"===e.getAttribute("rel")&&t.getMeta(e))}function ur(e){return!!e&&(e instanceof cM&&"shadowRoot"in e?!!e.shadowRoot:!!cX(e))}"undefined"!=typeof window&&window.Proxy&&window.Reflect&&(c0=new Proxy(c0,{get:(e,t,r)=>("map"===t&&console.error(cZ),Reflect.get(e,t,r))}));class un{constructor(){a2(this,"id",1),a2(this,"styleIDMap",new WeakMap),a2(this,"idStyleMap",new Map)}getId(e){return this.styleIDMap.get(e)??-1}has(e){return this.styleIDMap.has(e)}add(e,t){let r;return this.has(e)?this.getId(e):(r=void 0===t?this.id++:t,this.styleIDMap.set(e,r),this.idStyleMap.set(r,e),r)}getStyle(e){return this.idStyleMap.get(e)||null}reset(){this.styleIDMap=new WeakMap,this.idStyleMap=new Map,this.id=1}generateId(){return this.id++}}function ui(e){var t;let r=null;return"getRootNode"in e&&(null==(t=cY(e))?void 0:t.nodeType)===Node.DOCUMENT_FRAGMENT_NODE&&cK(cY(e))&&(r=cK(cY(e))),r}function uo(e){var t;let r,n=c$(e);return!!n&&(cJ(n,e)||!!(r=c$(t=e))&&cJ(r,function(e){let t,r=e;for(;t=ui(r);)r=t;return r}(t)))}var us=((p=us||{})[p.DomContentLoaded=0]="DomContentLoaded",p[p.Load=1]="Load",p[p.FullSnapshot=2]="FullSnapshot",p[p.IncrementalSnapshot=3]="IncrementalSnapshot",p[p.Meta=4]="Meta",p[p.Custom=5]="Custom",p[p.Plugin=6]="Plugin",p[p.Asset=7]="Asset",p),ua=((m=ua||{})[m.Mutation=0]="Mutation",m[m.MouseMove=1]="MouseMove",m[m.MouseInteraction=2]="MouseInteraction",m[m.Scroll=3]="Scroll",m[m.ViewportResize=4]="ViewportResize",m[m.Input=5]="Input",m[m.TouchMove=6]="TouchMove",m[m.MediaInteraction=7]="MediaInteraction",m[m.StyleSheetRule=8]="StyleSheetRule",m[m.CanvasMutation=9]="CanvasMutation",m[m.Font=10]="Font",m[m.Log=11]="Log",m[m.Drag=12]="Drag",m[m.StyleDeclaration=13]="StyleDeclaration",m[m.Selection=14]="Selection",m[m.AdoptedStyleSheet=15]="AdoptedStyleSheet",m[m.CustomElement=16]="CustomElement",m),ul=((g=ul||{})[g.MouseUp=0]="MouseUp",g[g.MouseDown=1]="MouseDown",g[g.Click=2]="Click",g[g.ContextMenu=3]="ContextMenu",g[g.DblClick=4]="DblClick",g[g.Focus=5]="Focus",g[g.Blur=6]="Blur",g[g.TouchStart=7]="TouchStart",g[g.TouchMove_Departed=8]="TouchMove_Departed",g[g.TouchEnd=9]="TouchEnd",g[g.TouchCancel=10]="TouchCancel",g),uc=((y=uc||{})[y.Mouse=0]="Mouse",y[y.Pen=1]="Pen",y[y.Touch=2]="Touch",y),uu=((v=uu||{})[v["2D"]=0]="2D",v[v.WebGL=1]="WebGL",v[v.WebGL2=2]="WebGL2",v),ud=((w=ud||{})[w.Play=0]="Play",w[w.Pause=1]="Pause",w[w.Seeked=2]="Seeked",w[w.VolumeChange=3]="VolumeChange",w[w.RateChange=4]="RateChange",w),uf=((b=uf||{}).Start="start",b.Pause="pause",b.Resume="resume",b.Resize="resize",b.Finis
1h="finish",b.FullsnapshotRebuilded="fullsnapshot-rebuilded",b.LoadStylesheetStart="load-stylesheet-start",b.LoadStylesheetEnd="load-stylesheet-end",b.SkipStart="skip-start",b.SkipEnd="skip-end",b.MouseInteraction="mouse-interaction",b.EventCast="event-cast",b.CustomEvent="custom-event",b.Flush="flush",b.StateChange="state-change",b.PlayBack="play-back",b.Destroy="destroy",b),uh=((_=uh||{})[_.Document=0]="Document",_[_.DocumentType=1]="DocumentType",_[_.Element=2]="Element",_[_.Text=3]="Text",_[_.CDATA=4]="CDATA",_[_.Comment=5]="Comment",_);class up{constructor(){a2(this,"length",0),a2(this,"head",null),a2(this,"tail",null)}get(e){if(e>=this.length)throw Error("Position outside of list range");let t=this.head;for(let r=0;r<e;r++)t=(null==t?void 0:t.next)||null;return t}addNode(e){let t={value:e,previous:null,next:null};if(e.__ln=t,e.previousSibling&&"__ln"in e.previousSibling){let r=e.previousSibling.__ln.next;t.next=r,t.previous=e.previousSibling.__ln,e.previousSibling.__ln.next=t,r&&(r.previous=t)}else if(e.nextSibling&&"__ln"in e.nextSibling&&e.nextSibling.__ln.previous){let r=e.nextSibling.__ln.previous;t.previous=r,t.next=e.nextSibling.__ln,e.nextSibling.__ln.previous=t,r&&(r.next=t)}else this.head&&(this.head.previous=t),t.next=this.head,this.head=t;null===t.next&&(this.tail=t),this.length++}removeNode(e){let t=e.__ln;this.head&&(t.previous?(t.previous.next=t.next,t.next?t.next.previous=t.previous:this.tail=t.previous):(this.head=t.next,this.head?this.head.previous=null:this.tail=null),e.__ln&&delete e.__ln,this.length--)}}let um=(e,t)=>`${e}@${t}`;class ug{constructor(){a2(this,"frozen",!1),a2(this,"locked",!1),a2(this,"texts",[]),a2(this,"attributes",[]),a2(this,"attributeMap",new WeakMap),a2(this,"removes",[]),a2(this,"mapRemoves",[]),a2(this,"movedMap",{}),a2(this,"addedSet",new Set),a2(this,"movedSet",new Set),a2(this,"droppedSet",new Set),a2(this,"removesSubTreeCache",new Set),a2(this,"mutationCb"),a2(this,"blockClass"),a2(this,"blockSelector"),a2(this,"maskTextClass"),a2(this,"maskTextSelector"),a2(this,"inlineStylesheet"),a2(this,"maskInputOptions"),a2(this,"maskTextFn"),a2(this,"maskInputFn"),a2(this,"keepIframeSrcFn"),a2(this,"recordCanvas"),a2(this,"inlineImages"),a2(this,"slimDOMOptions"),a2(this,"dataURLOptions"),a2(this,"doc"),a2(this,"mirror"),a2(this,"iframeManager"),a2(this,"stylesheetManager"),a2(this,"shadowDomManager"),a2(this,"canvasManager"),a2(this,"processedNodeManager"),a2(this,"unattachedDoc"),a2(this,"processMutations",e=>{e.forEach(this.processMutation),this.emit()}),a2(this,"emit",()=>{if(this.frozen||this.locked)return;let e=[],t=new Set,r=new up,n=e=>{let t=e,r=-2;for(;-2===r;)r=(t=t&&t.nextSibling)&&this.mirror.getId(t);return r},i=i=>{let o=cG(i);if(!o||!uo(i))return;let s=!1;if(i.nodeType===Node.TEXT_NODE){let e=o.tagName;if("TEXTAREA"===e)return;"STYLE"===e&&this.addedSet.has(o)&&(s=!0)}let a=lu(o)?this.mirror.getId(ui(i)):this.mirror.getId(o),l=n(i);if(-1===a||-1===l)return r.addNode(i);let c=lB(i,{doc:this.doc,mirror:this.mirror,blockClass:this.blockClass,blockSelector:this.blockSelector,maskTextClass:this.maskTextClass,maskTextSelector:this.maskTextSelector,skipChild:!0,newlyAddedElement:!0,inlineStylesheet:this.inlineStylesheet,maskInputOptions:this.maskInputOptions,maskTextFn:this.maskTextFn,maskInputFn:this.maskInputFn,slimDOMOptions:this.slimDOMOptions,dataURLOptions:this.dataURLOptions,recordCanvas:this.recordCanvas,inlineImages:this.inlineImages,onSerialize:e=>{ue(e,this.mirror)&&this.iframeManager.addIframe(e),ut(e,this.mirror)&&this.stylesheetManager.trackLinkElement(e),ur(i)&&this.shadowDomManager.addShadowRoot(cX(i),this.doc)},onIframeLoad:(e,t)=>{this.iframeManager.attachIframe(e,t),this.shadowDomManager.observeAttachShadow(e)},onStylesheetLoad:(e,t)=>{this.stylesheetManager.attachLinkElement(e,t)},cssCaptured:s});c&&(e.push({parentId:a,nextId:l,node:c}),t.add(c.id))};for(;this.mapRemoves.length;)this.mirror.removeNodeFromMap(this.mapRemoves.shift());for(let e of this.movedSet)(!uv(this.removesSubTreeCache,e,this.mirror)||this.movedSet.has(cG(e)))&&i(e);for(let e of this.addedSet)uw(this.droppedSet,e)||uv(this.removesSubTreeCache,e,this.mirror)?uw(this.movedSet,e)?i(e):this.droppedSet.add(e):i(e);let o=null;for(;r.length;){let e=null;if(o){let t=this.mirror.getId(cG(o.value)),r=n(o.value);-1!==t&&-1!==r&&(e=o)}if(!e){let t=r.tail;for(;t;){let r=t;if(t=t.previous,r){let t=this.mirror.getId(cG(r.value));if(-1===n(r.value))continue;if(-1!==t){e=r;break}{let t=cG(r.value);if(t&&t.nodeType===Node.DOCUMENT_FRAGMENT_NODE){let n=cK(t);if(-1!==this.mirror.getId(n)){e=r;break}}}}}}if(!e){for(;r.head;)r.removeNode(r.head.value);break}o=e.previous,r.removeNode(e.value),i(e.value)}let s={texts:this.texts.map(e=>{let t=e.node,r=cG(t);return r&&"TEXTAREA"===r.tagName&&this.genTextAreaValueMutation(r),{id:this.mirror.getId(t),value:e.value}}).filter(e=>!t.has(e.id)).filter(e=>this.mirror.has(e.id)),attributes:this.attributes.map(e=>{let{attributes:t}=e;if("string"==typeof t.style){let r=JSON.stringify(e.styleDiff),n=JSON.stringify(e._unchangedStyles);r.length<t.style.length&&(r+n).split("var(").length===t.style.split("var(").length&&(t.style=e.styleDiff)}
1return{id:this.mirror.getId(e.node),attributes:t}}).filter(e=>!t.has(e.id)).filter(e=>this.mirror.has(e.id)),removes:this.removes,adds:e};(s.texts.length||s.attributes.length||s.removes.length||s.adds.length)&&(this.texts=[],this.attributes=[],this.attributeMap=new WeakMap,this.removes=[],this.addedSet=new Set,this.movedSet=new Set,this.droppedSet=new Set,this.removesSubTreeCache=new Set,this.movedMap={},this.mutationCb(s))}),a2(this,"genTextAreaValueMutation",e=>{let t=this.attributeMap.get(e);t||(t={node:e,attributes:{},styleDiff:{},_unchangedStyles:{}},this.attributes.push(t),this.attributeMap.set(e,t));let r=Array.from(cH(e),e=>cq(e)||"").join("");t.attributes.value=lm({element:e,maskInputOptions:this.maskInputOptions,tagName:e.tagName,type:lv(e),value:r,maskInputFn:this.maskInputFn})}),a2(this,"processMutation",e=>{if(!c7(e.target,this.mirror,this.slimDOMOptions))switch(e.type){case"characterData":{let t=cq(e.target);c8(e.target,this.blockClass,this.blockSelector,!1)||t===e.oldValue||this.texts.push({value:lF(e.target,this.maskTextClass,this.maskTextSelector,!0)&&t?this.maskTextFn?this.maskTextFn(t,c5(e.target)):t.replace(/[\S]/g,"*"):t,node:e.target});break}case"attributes":{let t=e.target,r=e.attributeName,n=e.target.getAttribute(r);if("value"===r){let e=lv(t);n=lm({element:t,maskInputOptions:this.maskInputOptions,tagName:t.tagName,type:e,value:n,maskInputFn:this.maskInputFn})}if(c8(e.target,this.blockClass,this.blockSelector,!1)||n===e.oldValue)return;let i=this.attributeMap.get(e.target);if("IFRAME"===t.tagName&&"src"===r&&!this.keepIframeSrcFn(n))if(t.contentDocument)return;else r="rr_src";if(i||(i={node:e.target,attributes:{},styleDiff:{},_unchangedStyles:{}}
1,this.attributes.push(i),this.attributeMap.set(e.target,i)),"type"===r&&"INPUT"===t.tagName&&"password"===(e.oldValue||"").toLowerCase()&&t.setAttribute("data-rr-is-password","true"),!lN(t.tagName,r))if(i.attributes[r]=lD(this.doc,lg(t.tagName),lg(r),n),"style"===r){if(!this.unattachedDoc)try{this.unattachedDoc=document.implementation.createHTMLDocument()}catch(e){this.unattachedDoc=this.doc}let r=this.unattachedDoc.createElement("span");for(let n of(e.oldValue&&r.setAttribute("style",e.oldValue),Array.from(t.style))){let e=t.style.getPropertyValue(n),o=t.style.getPropertyPriority(n);e!==r.style.getPropertyValue(n)||o!==r.style.getPropertyPriority(n)?""===o?i.styleDiff[n]=e:i.styleDiff[n]=[e,o]:i._unchangedStyles[n]=[e,o]}for(let e of Array.from(r.style))""===t.style.getPropertyValue(e)&&(i.styleDiff[e]=!1)}else"open"===r&&"DIALOG"===t.tagName&&(t.matches("dialog:modal")?i.attributes.rr_open_mode="modal":i.attributes.rr_open_mode="non-modal");break}case"childList":if(c8(e.target,this.blockClass,this.blockSelector,!0))return;if("TEXTAREA"===e.target.tagName)return void this.genTextAreaValueMutation(e.target);e.addedNodes.forEach(t=>this.genAdds(t,e.target)),e.removedNodes.forEach(t=>{let r=this.mirror.getId(t),n=lu(e.target)?this.mirror.getId(cK(e.target)):this.mirror.getId(e.target);c8(e.target,this.blockClass,this.blockSelector,!1)||c7(t,this.mirror,this.slimDOMOptions)||-1===this.mirror.getId(t)||(this.addedSet.has(t)?(uy(this.addedSet,t),this.droppedSet.add(t)):this.addedSet.has(e.target)&&-1===r||function e(t,r){if(lu(t))return!1;let n=r.getId(t);if(!r.has(n))return!0;let i=cG(t);return(!i||i.nodeType!==t.DOCUMENT_NODE)&&(!i||e(i,r))}(e.target,this.mirror)||(this.movedSet.has(t)&&this.movedMap[um(r,n)]?uy(this.movedSet,t):(this.removes.push({parentId:n,id:r,isShadow:!!(lu(e.target)&&ld(e.target))||void 0}),function(e,t){let r=[e];for(;r.length;){let e=r.pop();t.has(e)||(t.add(e),cH(e).forEach(e=>r.push(e)))}}(t,this.removesSubTreeCache))),this.mapRemoves.push(t))})}}),a2(this,"genAdds",(e,t)=>{if(!this.processedNodeManager.inOtherBuffer(e,this)&&!(this.addedSet.has(e)||this.movedSet.has(e))){if(this.mirror.hasNode(e)){if(c7(e,this.mirror,this.slimDOMOptions))return;this.movedSet.add(e);let r=null;t&&this.mirror.hasNode(t)&&(r=this.mirror.getId(t)),r&&-1!==r&&(this.movedMap[um(this.mirror.getId(e),r)]=!0)}else this.addedSet.add(e),this.droppedSet.delete(e);!c8(e,this.blockClass,this.blockSelector,!1)&&(cH(e).forEach(e=>this.genAdds(e)),ur(e)&&cH(cX(e)).forEach(t=>{this.processedNodeManager.add(t,this),this.genAdds(t,e)}))}})}init(e){["mutationCb","blockClass","blockSelector","maskTextClass","maskTextSelector","inlineStylesheet","maskInputOptions","maskTextFn","maskInputFn","keepIframeSrcFn","recordCanvas","inlineImages","slimDOMOptions","dataURLOptions","doc","mirror","iframeManager","stylesheetManager","shadowDomManager","canvasManager","processedNodeManager"].forEach(t=>{this[t]=e[t]})}freeze(){this.frozen=!0,this.canvasManager.freeze()}unfreeze(){this.frozen=!1,this.canvasManager.unfreeze(),this.emit()}isFrozen(){return this.frozen}lock(){this.locked=!0,this.canvasManager.lock()}unlock(){this.locked=!1,this.canvasManager.unlock(),this.emit()}reset(){this.shadowDomManager.reset(),this.canvasManager.reset()}}function uy(e,t){e.delete(t),cH(t).forEach(t=>uy(e,t))}function uv(e,t,r){var n;let i;return 0!==e.size&&(n=e,!!(i=cG(t))&&n.has(i))}function uw(e,t){return 0!==e.size&&function e(t,r){let n=cG(r);return!!n&&(!!t.has(n)||e(t,n))}(e,t)}let ub=e=>n?(...t)=>{try{return e(...t)}catch(e){if(n&&!0===n(e))return;throw e}}:e,u_=[];function uS(e){try{if("composedPath"in e){let t=e.composedPath();if(t.length)return t[0]}else if("path"in e&&e.path.length)return e.path[0]}catch{}return e&&e.target}function uE(e,t){let r=new ug;u_.push(r),r.init(e);let[n,i]=[cL("MutationObserver").constructor,cN.MutationObserver??(()=>{})],o=new n(ub(r.processMutations.bind(r)));return o.observe(t,{attributes:!0,attributeOldValue:!0,characterData:!0,characterDataOldValue:!0,childList:!0,subtree:!0}),[o,i]}function uC({scrollCb:e,doc:t,mirror:r,blockClass:n,blockSelector:i,sampling:o}){return cQ("scroll",ub(c1(ub(o=>{let s=uS(o);if(!s||c8(s,n,i,!0))return;let a=r.getId(s);if(s===t&&t.defaultView){let r=c2(t.defaultView);e({id:a,x:r.left,y:r.top})}else e({id:a,x:s.scrollLeft,y:s.scrollTop})}),o.scroll||100)),t)}let ux=["INPUT","TEXTAREA","SELECT"],uk=new WeakMap;function uI(e){return function e(t,r){if(uO("CSSGroupingRule")&&t.parentRule instanceof CSSGroupingRule||uO("CSSMediaRule")&&t.parentRule instanceof CSSMediaRule||uO("CSSSupportsRule")&&t.parentRule instanceof CSSSupportsRule||uO("CSSConditionRule")&&t.parentRule instanceof CSSConditionRule){let n=Array.from(t.parentRule.cssRules).indexOf(t);return r.unshift(n),e(t.parentRule,r)}if(t.parentStyleSheet){let e=Array.from(t.parentStyleSheet.cssRules).indexOf(t);r.unshift(e)}return r}(e,[])}function uT(e,t,r){let n,i;return e?(e.ownerNode?n=t.getId(e.ownerNode):i=r.getId(e),{styleId:i,id:n}):{}}function uA({mirror:e,stylesheetManager:t},r){var n,i,o;let s=null;s="#document"===r.nodeName?e.getId(r):e.getId(cK(r));let a="#document"===r.nodeName?null==(n=r.defaultView)?void 0:n.Document:null==(o=null==(i=r.ownerDocument)?void 0:i.defaultView)?void 0:o.ShadowRoot,l=(null==a?void 0:a.prototype)?Object.getOwnPropertyDescriptor(null==a?void 0:a.prototype,"adoptedStyleSheets"):void 0;return null!==s&&-1!==s&&a&&l?(Object.defineProperty(r,"adoptedStyleSheets",{configurable:l.configurable,enumerable:l.enumerable,get(){var e;return null==(e=l.get)?void 0:e.call(this)},set(e){var r;let n=null==(r=l.set)?void 0:r.call(this,e);if(null!==s&&-1!==s)try{t.adoptStyleSheets(e,s)}catch(e){}return n}}),ub(()=>{Object.defineProperty(r,"adoptedStyleSheets",{configurable:l.configurable,enumerable:l.enumerable,get:l.get,set:l.set})})):()=>{}}function uM(e,t={}){let r,n=e.doc.defaultView;if(!n)return()=>{};
1!function(e,t){let{mutationCb:r,mousemoveCb:n,mouseInteractionCb:i,scrollCb:o,viewportResizeCb:s,inputCb:a,mediaInteractionCb:l,styleSheetRuleCb:c,styleDeclarationCb:u,canvasMutationCb:d,fontCb:f,selectionCb:h,customElementCb:p}=e;e.mutationCb=(...e)=>{t.mutation&&t.mutation(...e),r(...e)},e.mousemoveCb=(...e)=>{t.mousemove&&t.mousemove(...e),n(...e)},e.mouseInteractionCb=(...e)=>{t.mouseInteraction&&t.mouseInteraction(...e),i(...e)},e.scrollCb=(...e)=>{t.scroll&&t.scroll(...e),o(...e)},e.viewportResizeCb=(...e)=>{t.viewportResize&&t.viewportResize(...e),s(...e)},e.inputCb=(...e)=>{t.input&&t.input(...e),a(...e)},e.mediaInteractionCb=(...e)=>{t.mediaInteaction&&t.mediaInteaction(...e),l(...e)},e.styleSheetRuleCb=(...e)=>{t.styleSheetRule&&t.styleSheetRule(...e),c(...e)},e.styleDeclarationCb=(...e)=>{t.styleDeclaration&&t.styleDeclaration(...e),u(...e)},e.canvasMutationCb=(...e)=>{t.canvasMutation&&t.canvasMutation(...e),d(...e)},e.fontCb=(...e)=>{t.font&&t.font(...e),f(...e)},e.selectionCb=(...e)=>{t.selection&&t.selection(...e),h(...e)},e.customElementCb=(...e)=>{t.customElement&&t.customElement(...e),p(...e)}
1}(e,t);let i=()=>{};e.recordDOM&&([r,i]=uE(e,e.doc));let o=function({mousemoveCb:e,sampling:t,doc:r,mirror:n}){let i;if(!1===t.mousemove)return()=>{};let o="number"==typeof t.mousemove?t.mousemove:50,s="number"==typeof t.mousemoveCallback?t.mousemoveCallback:500,a=[],l=c1(ub(t=>{let r=Date.now()-i;e(a.map(e=>(e.timeOffset-=r,e)),t),a=[],i=null}),s),c=ub(c1(ub(e=>{let t=uS(e),{clientX:r,clientY:o}=c9(e)?e.changedTouches[0]:e;i||(i=cj()),a.push({x:r,y:o,id:n.getId(t),timeOffset:cj()-i}),l("undefined"!=typeof DragEvent&&e instanceof DragEvent?ua.Drag:e instanceof MouseEvent?ua.MouseMove:ua.TouchMove)}),o,{trailing:!1})),u=[cQ("mousemove",c,r),cQ("touchmove",c,r),cQ("drag",c,r)];return ub(()=>{u.forEach(e=>e())})}(e),s=function({mouseInteractionCb:e,doc:t,mirror:r,blockClass:n,blockSelector:i,sampling:o}){if(!1===o.mouseInteraction)return()=>{};let s=!0===o.mouseInteraction||void 0===o.mouseInteraction?{}:o.mouseInteraction,a=[],l=null;return Object.keys(ul).filter(e=>Number.isNaN(Number(e))&&!e.endsWith("_Departed")&&!1!==s[e]).forEach(o=>{let s=lg(o),c=t=>{let s=uS(t);if(c8(s,n,i,!0))return;let a=null,c=o;if("pointerType"in t){switch(t.pointerType){case"mouse":a=uc.Mouse;break;case"touch":a=uc.Touch;break;case"pen":a=uc.Pen}a===uc.Touch?ul[o]===ul.MouseDown?c="TouchStart":ul[o]===ul.MouseUp&&(c="TouchEnd"):uc.Pen}else c9(t)&&(a=uc.Touch);null!==a?(l=a,(c.startsWith("Touch")&&a===uc.Touch||c.startsWith("Mouse")&&a===uc.Mouse)&&(a=null)):ul[o]===ul.Click&&(a=l,l=null);let u=c9(t)?t.changedTouches[0]:t;if(!u)return;let d=r.getId(s),{clientX:f,clientY:h}=u;ub(e)({type:ul[c],id:d,x:f,y:h,...null!==a&&{pointerType:a}})};if(window.PointerEvent)switch(ul[o]){case ul.MouseDown:case ul.MouseUp:s=s.replace("mouse","pointer");break;case ul.TouchStart:case ul.TouchEnd:return}a.push(cQ(s,c,t))}),ub(()=>{a.forEach(e=>e())})}(e),a=uC(e),l=function({viewportResizeCb:e},{win:t}){let r=-1,n=-1;return cQ("resize",ub(c1(ub(()=>{let t=c3(),i=c6();(r!==t||n!==i)&&(e({width:Number(i),height:Number(t)}),r=t,n=i)}),200)),t)}(e,{win:n}),c=function({inputCb:e,doc:t,mirror:r,blockClass:n,blockSelector:i,ignoreClass:o,ignoreSelector:s,maskInputOptions:a,maskInputFn:l,sampling:c,userTriggeredOnInput:u}){function d(e){let r=uS(e),c=e.isTrusted,d=r&&r.tagName;if(r&&"OPTION"===d&&(r=cW(r)),!r||!d||0>ux.indexOf(d)||c8(r,n,i,!0)||r.classList.contains(o)||s&&r.matches(s))return;let h=r.value,p=!1,m=lv(r)||"";"radio"===m||"checkbox"===m?p=r.checked:(a[d.toLowerCase()]||a[m])&&(h=lm({element:r,maskInputOptions:a,tagName:d,type:m,value:h,maskInputFn:l})),f(r,u?{text:h,isChecked:p,userTriggered:c}:{text:h,isChecked:p});let g=r.name;"radio"===m&&g&&p&&t.querySelectorAll(`input[type="radio"][name="${g}"]`).forEach(e=>{if(e!==r){let t=e.value;f(e,u?{text:t,isChecked:!p,userTriggered:!1}:{text:t,isChecked:!p})}})}function f(t,n){let i=uk.get(t);if(!i||i.text!==n.text||i.isChecked!==n.isChecked){uk.set(t,n);let i=r.getId(t);ub(e)({...n,id:i})}}let h=("last"===c.input?["change"]:["input","change"]).map(e=>cQ(e,ub(d),t)),p=t.defaultView;if(!p)return()=>{h.forEach(e=>e())};let m=p.Object.getOwnPropertyDescriptor(p.HTMLInputElement.prototype,"value"),g=[[p.HTMLInputElement.prototype,"value"],[p.HTMLInputElement.prototype,"checked"],[p.HTMLSelectElement.prototype,"value"],[p.HTMLTextAreaElement.prototype,"value"],[p.HTMLSelectElement.prototype,"selectedIndex"],[p.HTMLOptionElement.prototype,"selected"]];return m&&m.set&&h.push(...g.map(e=>c4(e[0],e[1],{set(){ub(d)({target:this,isTrusted:!1})}},!1,p))),ub(()=>{h.forEach(e=>e())})}(e),u=function({mediaInteractionCb:e,blockClass:t,blockSelector:r,mirror:n,sampling:i,doc:o}){let s=ub(o=>c1(ub(i=>{let s=uS(i);if(!s||c8(s,t,r,!0))return;let{currentTime:a,volume:l,muted:c,playbackRate:u,loop:d}=s;e({type:o,id:n.getId(s),currentTime:a,volume:l,muted:c,playbackRate:u,loop:d})}),i.media||500)),a=[cQ("play",s(ud.Play),o),cQ("pause",s(ud.Pause),o),cQ("seeked",s(ud.Seeked),o),cQ("volumechange",s(ud.VolumeChange),o),cQ("ratechange",s(ud.RateChange),o)];return ub(()=>{a.forEach(e=>e())})}(e),d=()=>{},f=()=>{},h=()=>{},p=()=>{};e.recordDOM&&(d=function({styleSheetRuleCb:e,mirror:t,stylesheetManager:r},{win:n}){let i,o;if(!n.CSSStyleSheet||!n.CSSStyleSheet.prototype)return()=>{};let s=n.CSSStyleSheet.prototype.insertRule;n.CSSStyleSheet.prototype.insertRule=new Proxy(s,{apply:ub((n,i,o)=>{let[s,a]=o,{id:l,styleId:c}=uT(i,t,r.styleMirror);return(l&&-1!==l||c&&-1!==c)&&e({id:l,styleId:c,adds:[{rule:s,index:a}]}),n.apply(i,o)})}),n.CSSStyleSheet.prototype.addRule=function(e,t,r=this.cssRules.length){let i=`${e} { ${t} }`;return n.CSSStyleSheet.prototype.insertRule.apply(this,[i,r])};let a=n.CSSStyleSheet.prototype.deleteRule;n.CSSStyleSheet.prototype.deleteRule=new Proxy(a,{apply:ub((n,i,o)=>{let[s]=o,{id:a,styleId:l}=uT(i,t,r.styleMirror);return(a&&-1!==a||l&&-1!==l)&&e({id:a,styleId:l,removes:[{index:s}]}),n.apply(i,o)})}),n.CSSStyleSheet.prototype.removeRule=function(e){return n.CSSStyleSheet.prototype.deleteRule.apply(this,[e])},n.CSSStyleSheet.prototype.replace&&(i=n.CSSStyleSheet.prototype.replace,n.CSSStyleSheet.prototype.replace=new Proxy(i,{apply:ub((n,i,o)=>{let[s]=o,{id:a,styleId:l}=uT(i,t,r.styleMirror);return(a&&-1!==a||l&&-1!==l)&&e({id:a,styleId:l,replace:s}),n.apply(i,o)})})),n.CSSStyleSheet.prototype.replaceSync&&(o=n.CSSStyleSheet.prototype.replaceSync,n.CSSStyleSheet.prototype.replaceSync=new Proxy(o,{apply:ub((n,i,o)=>{let[s]=o,{id:a,styleId:l}=uT(i,t,r.styleMirror);return(a&&-1!==a||l&&-1!==l)&&e({id:a,styleId:l,replaceSync:s}),n.apply(i,o)})}));let l={};uR("CSSGroupingRule")?l.CSSGroupingRule=n.CSSGroupingRule:(uR("CSSMediaRule")&&(l.CSSMediaRule=n.CSSMediaRule),uR("CSSConditionRule")&&(l.CSSConditionRule=n.CSSConditionRule),uR("CSSSupportsRule")&&(l.CSSSupportsRule=n.CSSSupportsRule));let c={};return Object.entries(l).forEach(([n,i])=>{c[n]={insertRule:i.prototype.insertRule,deleteRule:i.prototype.deleteRule},i.prototype.insertRule=new Proxy(c[n].insertRule,{apply:ub((n,i,o)=>{let[s,a]=o,{id:l,styleId:c}=uT(i.parentStyleSheet,t,r.styleMirror);return(l&&-1!==l||c&&-1!==c)&&e({id:l,styleId:c,adds:[{rule:s,index:[...uI(i),a||0]}]}),n.apply(i,o)})}),i.prototype.deleteRule=new Proxy(c[n].deleteRule,{apply:ub((n,i,o)=>{let[s]=o,{id:a,styleId:l}=uT(i.parentStyleSheet,t,r.styleMirror);return(a&&-1!==a||l&&-1!==l)&&e({id:a,styleId:l,removes:[{index:[...uI(i),s]}]}),n.apply(i,o)})})}),ub(()=>{n.CSSStyleSheet.prototype.insertRule=s,n.CSSStyleSheet.prototype.deleteRule=a,i&&(n.CSSStyleSheet.prototype.replace=i),o&&(n.CSSStyleSheet.prototype.replaceSync=o),Object.entries(l).forEach(([e,t])=>{t.prototype.insertRule=c[e].insertRule,t.prototype.deleteRule=c[e].deleteRule})})}(e,{win:n}),f=uA(e,e.doc),h=function({styleDeclarationCb:e,mirror:t,ignoreCSSAttributes:r,stylesheetManager:n},{win:i}){let o=i.CSSStyleDeclaration.prototype.setProperty;i.CSSStyleDeclaration.prototype.setProperty=new Proxy(o,{apply:ub((i,s,a)=>{var l;let[c,u,d]=a;if(r.has(c))return o.apply(s,[c,u,d]);
1let{id:f,styleId:h}=uT(null==(l=s.parentRule)?void 0:l.parentStyleSheet,t,n.styleMirror);return(f&&-1!==f||h&&-1!==h)&&e({id:f,styleId:h,set:{property:c,value:u,priority:d},index:uI(s.parentRule)}),i.apply(s,a)})});let s=i.CSSStyleDeclaration.prototype.removeProperty;return i.CSSStyleDeclaration.prototype.removeProperty=new Proxy(s,{apply:ub((i,o,a)=>{var l;let[c]=a;if(r.has(c))return s.apply(o,[c]);let{id:u,styleId:d}=uT(null==(l=o.parentRule)?void 0:l.parentStyleSheet,t,n.styleMirror);return(u&&-1!==u||d&&-1!==d)&&e({id:u,styleId:d,remove:{property:c},index:uI(o.parentRule)}),i.apply(o,a)})}),ub(()=>{i.CSSStyleDeclaration.prototype.setProperty=o,i.CSSStyleDeclaration.prototype.removeProperty=s})}(e,{win:n}),e.collectFonts&&(p=function({fontCb:e,doc:t}){let r=t.defaultView;if(!r)return()=>{};let n=[],i=new WeakMap,o=r.FontFace;r.FontFace=function(e,t,r){let n=new o(e,t,r);return i.set(n,{family:e,buffer:"string"!=typeof t,descriptors:r,fontSource:"string"==typeof t?t:JSON.stringify(Array.from(new Uint8Array(t)))}),n};let s=cV(t.fonts,"add",function(t){return function(r){return setTimeout(ub(()=>{let t=i.get(r);t&&(e(t),i.delete(r))}),0),t.apply(this,[r])}});return n.push(()=>{r.FontFace=o}),n.push(s),ub(()=>{n.forEach(e=>e())})}(e)));let m=function(e){let{doc:t,mirror:r,blockClass:n,blockSelector:i,selectionCb:o}=e,s=!0,a=ub(()=>{let e=t.getSelection();if(!e||s&&(null==e?void 0:e.isCollapsed))return;s=e.isCollapsed||!1;let a=[],l=e.rangeCount||0;for(let t=0;t<l;t++){let{startContainer:o,startOffset:s,endContainer:l,endOffset:c}=e.getRangeAt(t);c8(o,n,i,!0)||c8(l,n,i,!0)||a.push({start:r.getId(o),startOffset:s,end:r.getId(l),endOffset:c})}o({ranges:a})});return a(),cQ("selectionchange",a)}(e),g=function({doc:e,customElementCb:t}){let r=e.defaultView;return r&&r.customElements?cV(r.customElements,"define",function(e){return function(r,n,i){try{t({define:{name:r}})}catch(e){console.warn(`Custom element callback failed for ${r}`)}return e.apply(this,[r,n,i])}}):()=>{}}(e),y=[];for(let t of e.plugins)y.push(t.observer(t.callback,n,t.options));return ub(()=>{u_.forEach(e=>e.reset()),null==r||r.disconnect(),i(),o(),s(),a(),l(),c(),u(),d(),f(),h(),p(),m(),g(),y.forEach(e=>e())})}function uO(e){return void 0!==window[e]}function uR(e){return!!(void 0!==window[e]&&window[e].prototype&&"insertRule"in window[e].prototype&&"deleteRule"in window[e].prototype)}class uP{constructor(e){a2(this,"iframeIdToRemoteIdMap",new WeakMap),a2(this,"iframeRemoteIdToIdMap",new WeakMap),this.generateIdFn=e}getId(e,t,r,n){let i=r||this.getIdToRemoteIdMap(e),o=n||this.getRemoteIdToIdMap(e),s=i.get(t);return s||(s=this.generateIdFn(),i.set(t,s),o.set(s,t)),s}getIds(e,t){let r=this.getIdToRemoteIdMap(e),n=this.getRemoteIdToIdMap(e);return t.map(t=>this.getId(e,t,r,n))}getRemoteId(e,t,r){let n=r||this.getRemoteIdToIdMap(e);if("number"!=typeof t)return t;let i=n.get(t);return i||-1}getRemoteIds(e,t){let r=this.getRemoteIdToIdMap(e);return t.map(t=>this.getRemoteId(e,t,r))}reset(e){if(!e){this.iframeIdToRemoteIdMap=new WeakMap,this.iframeRemoteIdToIdMap=new WeakMap;return}this.iframeIdToRemoteIdMap.delete(e),this.iframeRemoteIdToIdMap.delete(e)}getIdToRemoteIdMap(e){let t=this.iframeIdToRemoteIdMap.get(e);return t||(t=new Map,this.iframeIdToRemoteIdMap.set(e,t)),t}getRemoteIdToIdMap(e){let t=this.iframeRemoteIdToIdMap.get(e);return t||(t=new Map,this.iframeRemoteIdToIdMap.set(e,t)),t}}class uD{constructor(e){a2(this,"iframes",new WeakMap),a2(this,"crossOriginIframeMap",new WeakMap),a2(this,"crossOriginIframeMirror",new uP(lT)),a2(this,"crossOriginIframeStyleMirror"),a2(this,"crossOriginIframeRootIdMap",new WeakMap),a2(this,"mirror"),a2(this,"mutationCb"),a2(this,"wrappedEmit"),a2(this,"loadListener"),a2(this,"stylesheetManager"),a2(this,"recordCrossOriginIframes"),this.mutationCb=e.mutationCb,this.wrappedEmit=e.wrappedEmit,this.stylesheetManager=e.stylesheetManager,this.recordCrossOriginIframes=e.recordCrossOriginIframes,this.crossOriginIframeStyleMirror=new uP(this.stylesheetManager.styleMirror.generateId.bind(this.stylesheetManager.styleMirror)),this.mirror=e.mirror,this.recordCrossOriginIframes&&window.addEventListener("message",this.handleMessage.bind(this))}addIframe(e){this.iframes.set(e,!0),e.contentWindow&&this.crossOriginIframeMap.set(e.contentWindow,e)}addLoadListener(e){this.loadListener=e}attachIframe(e,t){var r,n;this.mutationCb({adds:[{parentId:this.mirror.getId(e),nextId:null,node:t}],removes:[],texts:[],attributes:[],isAttachIframe:!0}),this.recordCrossOriginIframes&&(null==(r=e.contentWindow)||r.addEventListener("message",this.handleMessage.bind(this))),null==(n=this.loadListener)||n.call(this,e),e.contentDocument&&e.contentDocument.adoptedStyleSheets&&e.contentDocument.adoptedStyleSheets.length>0&&this.stylesheetManager.adoptStyleSheets(e.contentDocument.adoptedStyleSheets,this.mirror.getId(e.contentDocument))}handleMessage(e){if("rrweb"!==e.data.type||e.origin!==e.data.origin||!e.source)return;let t=this.crossOriginIframeMap.get(e.source);if(!t)return;let r=this.transformCrossOriginEvent(t,e.data.event);r&&this.wrappedEmit(r,e.data.isCheckout)}transformCrossOriginEvent(e,t){var r;switch(t.type){case us.FullSnapshot:{this.crossOriginIframeMirror.reset(e),this.crossOriginIframeStyleMirror.reset(e),this.replaceIdOnNode(t.data.node,e);let r=t.data.node.id;return this.crossOriginIframeRootIdMap.set(e,r),this.patchRootIdOnNode(t.data.node,r),{timestamp:t.timestamp,type:us.IncrementalSnapshot,data:{source:ua.Mutation,adds:[{parentId:this.mirror.getId(e),nextId:null,node:t.data.node}],removes:[],texts:[],attributes:[],isAttachIframe:!0}}}case us.Meta:case us.Load:case us.DomContentLoaded:break;case us.Plugin:return t;case us.Custom:return this.replaceIds(t.data.payload,e,["id","parentId","previousId","nextId"]),t;case us.IncrementalSnapshot:switch(t.data.source){case ua.Mutation:return t.data.adds.forEach(t=>{this.replaceIds(t,e,["parentId","nextId","previousId"]),this.replaceIdOnNode(t.node,e);let r=this.crossOriginIframeRootIdMap.get(e);r&&this.patchRootIdOnNode(t.node,r)}
1),t.data.removes.forEach(t=>{this.replaceIds(t,e,["parentId","id"])}),t.data.attributes.forEach(t=>{this.replaceIds(t,e,["id"])}),t.data.texts.forEach(t=>{this.replaceIds(t,e,["id"])}),t;case ua.Drag:case ua.TouchMove:case ua.MouseMove:return t.data.positions.forEach(t=>{this.replaceIds(t,e,["id"])}),t;case ua.ViewportResize:return!1;case ua.MediaInteraction:case ua.MouseInteraction:case ua.Scroll:case ua.CanvasMutation:case ua.Input:return this.replaceIds(t.data,e,["id"]),t;case ua.StyleSheetRule:case ua.StyleDeclaration:return this.replaceIds(t.data,e,["id"]),this.replaceStyleIds(t.data,e,["styleId"]),t;case ua.Font:return t;case ua.Selection:return t.data.ranges.forEach(t=>{this.replaceIds(t,e,["start","end"])}),t;case ua.AdoptedStyleSheet:return this.replaceIds(t.data,e,["id"]),this.replaceStyleIds(t.data,e,["styleIds"]),null==(r=t.data.styles)||r.forEach(t=>{this.replaceStyleIds(t,e,["styleId"])}),t}}return!1}replace(e,t,r,n){for(let i of n)(Array.isArray(t[i])||"number"==typeof t[i])&&(Array.isArray(t[i])?t[i]=e.getIds(r,t[i]):t[i]=e.getId(r,t[i]));return t}replaceIds(e,t,r){return this.replace(this.crossOriginIframeMirror,e,t,r)}replaceStyleIds(e,t,r){return this.replace(this.crossOriginIframeStyleMirror,e,t,r)}replaceIdOnNode(e,t){this.replaceIds(e,t,["id","rootId"]),"childNodes"in e&&e.childNodes.forEach(e=>{this.replaceIdOnNode(e,t)})}patchRootIdOnNode(e,t){e.type===uh.Document||e.rootId||(e.rootId=t),"childNodes"in e&&e.childNodes.forEach(e=>{this.patchRootIdOnNode(e,t)})}}class uN{constructor(e){a2(this,"shadowDoms",new WeakSet),a2(this,"mutationCb"),a2(this,"scrollCb"),a2(this,"bypassOptions"),a2(this,"mirror"),a2(this,"restoreHandlers",[]),this.mutationCb=e.mutationCb,this.scrollCb=e.scrollCb,this.bypassOptions=e.bypassOptions,this.mirror=e.mirror,this.init()}init(){this.reset(),this.patchAttachShadow(Element,document)}addShadowRoot(e,t){if(!ld(e)||this.shadowDoms.has(e))return;this.shadowDoms.add(e);let[r]=uE({...this.bypassOptions,doc:t,mutationCb:this.mutationCb,mirror:this.mirror,shadowDomManager:this},e);this.restoreHandlers.push(()=>r.disconnect()),this.restoreHandlers.push(uC({...this.bypassOptions,scrollCb:this.scrollCb,doc:e,mirror:this.mirror})),setTimeout(()=>{e.adoptedStyleSheets&&e.adoptedStyleSheets.length>0&&this.bypassOptions.stylesheetManager.adoptStyleSheets(e.adoptedStyleSheets,this.mirror.getId(cK(e))),this.restoreHandlers.push(uA({mirror:this.mirror,stylesheetManager:this.bypassOptions.stylesheetManager},e))},0)}observeAttachShadow(e){e.contentWindow&&e.contentDocument&&this.patchAttachShadow(e.contentWindow.Element,e.contentDocument)}patchAttachShadow(e,t){let r=this;this.restoreHandlers.push(cV(e.prototype,"attachShadow",function(e){return function(n){let i=e.call(this,n),o=cX(this);return o&&uo(this)&&r.addShadowRoot(o,t),i}}))}reset(){this.restoreHandlers.forEach(e=>{try{e()}catch(e){}}),this.restoreHandlers=[],this.shadowDoms=new WeakSet}}for(var uL="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",uF="undefined"==typeof Uint8Array?[]:new Uint8Array(256),uU=0;uU<uL.length;uU++)uF[uL.charCodeAt(uU)]=uU;var uz=function(e){var t,r=new Uint8Array(e),n=r.length,i="";for(t=0;t<n;t+=3)i+=uL[r[t]>>2],i+=uL[(3&r[t])<<4|r[t+1]>>4],i+=uL[(15&r[t+1])<<2|r[t+2]>>6],i+=uL[63&r[t+2]];return n%3==2?i=i.substring(0,i.length-1)+"=":n%3==1&&(i=i.substring(0,i.length-2)+"=="),i};let uB=new Map,uj=(e,t,r)=>{let n;if(!e||!(u$(e,t)||"object"==typeof e))return;let i=e.constructor.name,o=((n=uB.get(r))||(n=new Map,uB.set(r,n)),n.has(i)||n.set(i,[]),n.get(i)),s=o.indexOf(e);return -1===s&&(s=o.length,o.push(e)),s},uV=(e,t,r)=>e.map(e=>(function e(t,r,n){if(t instanceof Array)return t.map(t=>e(t,r,n));if(null===t);else if(t instanceof Float32Array||t instanceof Float64Array||t instanceof Int32Array||t instanceof Uint32Array||t instanceof Uint8Array||t instanceof Uint16Array||t instanceof Int16Array||t instanceof Int8Array||t instanceof Uint8ClampedArray)return{rr_type:t.constructor.name,args:[Object.values(t)]};else if(t instanceof ArrayBuffer)return{rr_type:t.constructor.name,base64:uz(t)};else if(t instanceof DataView)return{rr_type:t.constructor.name,args:[e(t.buffer,r,n),t.byteOffset,t.byteLength]};else if(t instanceof HTMLImageElement){let e=t.constructor.name,{src:r}=t;return{rr_type:e,src:r}}else if(t instanceof HTMLCanvasElement)return{rr_type:"HTMLImageElement",src:t.toDataURL()};else if(t instanceof ImageData)return{rr_type:t.constructor.name,args:[e(t.data,r,n),t.width,t.height]};else if(u$(t,r)||"object"==typeof t)return{rr_type:t.constructor.name,index:uj(t,r,n)};return t})(e,t,r)),u$=(e,t)=>!!["WebGLActiveInfo","WebGLBuffer","WebGLFramebuffer","WebGLProgram","WebGLRenderbuffer","WebGLShader","WebGLShaderPrecisionFormat","WebGLTexture","WebGLUniformLocation","WebGLVertexArrayObject","WebGLVertexArrayObjectOES"].filter(e=>"function"==typeof t[e]).find(r=>e instanceof t[r]);function uH(e,t,r,n){let i=[];try{let o=cV(e.HTMLCanvasElement.prototype,"getContext",function(e){return function(i,...o){if(!c8(this,t,r,!0)){let e="experimental-webgl"===i?"webgl":i;if("__context"in this||(this.__context=e),n&&["webgl","webgl2"].includes(e))if(o[0]&&"object"==typeof o[0]){let e=o[0];e.preserveDrawingBuffer||(e.preserveDrawingBuffer=!0)}else o.splice(0,1,{preserveDrawingBuffer:!0})}return e.apply(this,[i,...o])}});i.push(o)}catch{console.error("failed to patch HTMLCanvasElement.prototype.getContext")}return()=>
1{i.forEach(e=>e())}}function uG(e,t,r,n,i,o){let s=[];for(let a of Object.getOwnPropertyNames(e))if(!["isContextLost","canvas","drawingBufferWidth","drawingBufferHeight"].includes(a))try{if("function"!=typeof e[a])continue;let l=cV(e,a,function(e){return function(...s){let l=e.apply(this,s);if(uj(l,o,this),"tagName"in this.canvas&&!c8(this.canvas,n,i,!0)){let e=uV(s,o,this),n={type:t,property:a,args:e};r(this.canvas,n)}return l}});s.push(l)}catch{let n=c4(e,a,{set(e){r(this.canvas,{type:t,property:a,args:[e],setter:!0})}});s.push(n)}return s}let uW='(function() {\n  "use strict";\n  var chars = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";\n  var lookup = typeof Uint8Array === "undefined" ? [] : new Uint8Array(256);\n  for (var i = 0; i < chars.length; i++) {\n    lookup[chars.charCodeAt(i)] = i;\n  }\n  var encode = function(arraybuffer) {\n    var bytes = new Uint8Array(arraybuffer), i2, len = bytes.length, base64 = "";\n    for (i2 = 0; i2 < len; i2 += 3) {\n      base64 += chars[bytes[i2] >> 2];\n      base64 += chars[(bytes[i2] & 3) << 4 | bytes[i2 + 1] >> 4];\n      base64 += chars[(bytes[i2 + 1] & 15) << 2 | bytes[i2 + 2] >> 6];\n      base64 += chars[bytes[i2 + 2] & 63];\n    }\n    if (len % 3 === 2) {\n      base64 = base64.substring(0, base64.length - 1) + "=";\n    } else if (len % 3 === 1) {\n      base64 = base64.substring(0, base64.length - 2) + "==";\n    }\n    return base64;\n  };\n  const lastBlobMap = /* @__PURE__ */ new Map();\n  const transparentBlobMap = /* @__PURE__ */ new Map();\n  async function getTransparentBlobFor(width, height, dataURLOptions) {\n    const id = `${width}-${height}`;\n    if ("OffscreenCanvas" in globalThis) {\n      if (transparentBlobMap.has(id)) return transparentBlobMap.get(id);\n      const offscreen = new OffscreenCanvas(width, height);\n      offscreen.getContext("2d");\n      const blob = await offscreen.convertToBlob(dataURLOptions);\n      const arrayBuffer = await blob.arrayBuffer();\n      const base64 = encode(arrayBuffer);\n      transparentBlobMap.set(id, base64);\n      return base64;\n    } else {\n      return "";\n    }\n  }\n  const worker = self;\n  worker.onmessage = async function(e) {\n    if ("OffscreenCanvas" in globalThis) {\n      const { id, bitmap, width, height, dataURLOptions } = e.data;\n      const transparentBase64 = getTransparentBlobFor(\n        width,\n        height,\n        dataURLOptions\n      );\n      const offscreen = new OffscreenCanvas(width, height);\n      const ctx = offscreen.getContext("2d");\n      ctx.drawImage(bitmap, 0, 0);\n      bitmap.close();\n      const blob = await offscreen.convertToBlob(dataURLOptions);\n      const type = blob.type;\n      const arrayBuffer = await blob.arrayBuffer();\n      const base64 = encode(arrayBuffer);\n      if (!lastBlobMap.has(id) && await transparentBase64 === base64) {\n        lastBlobMap.set(id, base64);\n        return worker.postMessage({ id });\n      }\n      if (lastBlobMap.get(id) === base64) return worker.postMessage({ id });\n      worker.postMessage({\n        id,\n        type,\n        base64,\n        width,\n        height\n      });\n      lastBlobMap.set(id, base64);\n    } else {\n      return worker.postMessage({ id: e.data.id });\n    }\n  };\n})();\n//# sourceMappingURL=image-bitmap-data-url-worker-IJpC7g_b.js.map\n',uq="undefined"!=typeof self&&self.Blob&&new Blob([uW],{type:"text/javascript;charset=utf-8"});function uJ(e){let t;try{if(!(t=uq&&(self.URL||self.webkitURL).createObjectURL(uq)))throw"";let r=new Worker(t,{name:null==e?void 0:e.name});return r.addEventListener("error",()=>{(self.URL||self.webkitURL).revokeObjectURL(t)}),r}catch(t){return new Worker("data:text/javascript;charset=utf-8,"+encodeURIComponent(uW),{name:null==e?void 0:e.name})}finally{t&&(self.URL||self.webkitURL).revokeObjectURL(t)}}class uY{constructor(e){a2(this,"pendingCanvasMutations",new Map),a2(this,"rafStamps",{latestId:0,invokeId:null}),a2(this,"mirror"),a2(this,"mutationCb"),a2(this,"resetObservers"),a2(this,"frozen",!1),a2(this,"locked",!1),a2(this,"processMutation",(e,t)=>{(this.rafStamps.invokeId&&this.rafStamps.latestId!==this.rafStamps.invokeId||!this.rafStamps.invokeId)&&(this.rafStamps.invokeId=this.rafStamps.latestId),this.pendingCanvasMutations.has(e)||this.pendingCanvasMutations.set(e,[]),this.pendingCanvasMutations.get(e).push(t)});const{sampling:t="all",win:r,blockClass:n,blockSelector:i,recordCanvas:o,dataURLOptions:s}=e;this.mutationCb=e.mutationCb,this.mirror=e.mirror,o&&"all"===t&&this.initCanvasMutationObserver(r,n,i),o&&"number"==typeof t&&this.initCanvasFPSObserver(t,r,n,i,{dataURLOptions:s})}reset(){this.pendingCanvasMutations.clear(),this.resetObservers&&this.resetObservers()}freeze(){this.frozen=!0}unfreeze(){this.frozen=!1}lock(){this.locked=!0}unlock(){this.locked=!1}initCanvasFPSObserver(e,t,r,n,i){let o,s=uH(t,r,n,!0),a=new Map,l=new uJ;l.onmessage=e=>{let{id:t}=e.data;if(a.set(t,!1),!("base64"in e.data))return;let{base64:r,type:n,width:i,height:o}=e.data;this.mutationCb({id:t,type:uu["2D"],commands:[{property:"clearRect",args:[0,0,i,o]},{property:"drawImage",args:[{rr_type:"ImageBitmap",args:[{rr_type:"Blob",data:[{rr_type:"ArrayBuffer",base64:r}],type:n}]},0,0]}]})};let c=1e3/e,u=0,d=e=>{let s;if(u&&e-u<c){o=requestAnimationFrame(d);return}
1u=e,(s=[],t.document.querySelectorAll("canvas").forEach(e=>{c8(e,r,n,!0)||s.push(e)}),s).forEach(async e=>{var t;let r=this.mirror.getId(e);if(a.get(r)||0===e.width||0===e.height)return;if(a.set(r,!0),["webgl","webgl2"].includes(e.__context)){let r=e.getContext(e.__context);(null==(t=null==r?void 0:r.getContextAttributes())?void 0:t.preserveDrawingBuffer)===!1&&r.clear(r.COLOR_BUFFER_BIT)}let n=await createImageBitmap(e);l.postMessage({id:r,bitmap:n,width:e.width,height:e.height,dataURLOptions:i.dataURLOptions},[n])}),o=requestAnimationFrame(d)};o=requestAnimationFrame(d),this.resetObservers=()=>{s(),cancelAnimationFrame(o)}}initCanvasMutationObserver(e,t,r){var n;let i;this.startRAFTimestamping(),this.startPendingCanvasMutationFlusher();let o=uH(e,t,r,!1),s=function(e,t,r,n){let i=[];for(let o of Object.getOwnPropertyNames(t.CanvasRenderingContext2D.prototype))try{if("function"!=typeof t.CanvasRenderingContext2D.prototype[o])continue;let s=cV(t.CanvasRenderingContext2D.prototype,o,function(i){return function(...s){return c8(this.canvas,r,n,!0)||setTimeout(()=>{let r=uV(s,t,this);e(this.canvas,{type:uu["2D"],property:o,args:r})},0),i.apply(this,s)}});i.push(s)}catch{let r=c4(t.CanvasRenderingContext2D.prototype,o,{set(t){e(this.canvas,{type:uu["2D"],property:o,args:[t],setter:!0})}});i.push(r)}return()=>{i.forEach(e=>e())}}(this.processMutation.bind(this),e,t,r),a=(n=this.processMutation.bind(this),i=[],void 0!==e.WebGLRenderingContext&&i.push(...uG(e.WebGLRenderingContext.prototype,uu.WebGL,n,t,r,e)),void 0!==e.WebGL2RenderingContext&&i.push(...uG(e.WebGL2RenderingContext.prototype,uu.WebGL2,n,t,r,e)),()=>{i.forEach(e=>e())});this.resetObservers=()=>{o(),s(),a()}}startPendingCanvasMutationFlusher(){requestAnimationFrame(()=>this.flushPendingCanvasMutations())}startRAFTimestamping(){let e=t=>{this.rafStamps.latestId=t,requestAnimationFrame(e)};requestAnimationFrame(e)}flushPendingCanvasMutations(){this.pendingCanvasMutations.forEach((e,t)=>{let r=this.mirror.getId(t);this.flushPendingCanvasMutationFor(t,r)}),requestAnimationFrame(()=>this.flushPendingCanvasMutations())}flushPendingCanvasMutationFor(e,t){if(this.frozen||this.locked)return;let r=this.pendingCanvasMutations.get(e);if(!r||-1===t)return;let n=r.map(e=>{let{type:t,...r}=e;return r}),{type:i}=r[0];this.mutationCb({id:t,type:i,commands:n}),this.pendingCanvasMutations.delete(e)}}class uK{constructor(e){a2(this,"trackedLinkElements",new WeakSet),a2(this,"mutationCb"),a2(this,"adoptedStyleSheetCb"),a2(this,"styleMirror",new un),this.mutationCb=e.mutationCb,this.adoptedStyleSheetCb=e.adoptedStyleSheetCb}attachLinkElement(e,t){"_cssText"in t.attributes&&this.mutationCb({adds:[],removes:[],texts:[],attributes:[{id:t.id,attributes:t.attributes}]}),this.trackLinkElement(e)}trackLinkElement(e){this.trackedLinkElements.has(e)||(this.trackedLinkElements.add(e),this.trackStylesheetInLinkElement(e))}adoptStyleSheets(e,t){if(0===e.length)return;let r={id:t,styleIds:[]},n=[];for(let t of e){let e;this.styleMirror.has(t)?e=this.styleMirror.getId(t):(e=this.styleMirror.add(t),n.push({styleId:e,rules:Array.from(t.rules||CSSRule,(e,r)=>({rule:lh(e,t.href),index:r}))})),r.styleIds.push(e)}n.length>0&&(r.styles=n),this.adoptedStyleSheetCb(r)}reset(){this.styleMirror.reset(),this.trackedLinkElements=new WeakSet}trackStylesheetInLinkElement(e){}}class uX{constructor(){a2(this,"nodeMap",new WeakMap),a2(this,"active",!1)}inOtherBuffer(e,t){let r=this.nodeMap.get(e);return r&&Array.from(r).some(e=>e!==t)}add(e,t){this.active||(this.active=!0,requestAnimationFrame(()=>{this.nodeMap=new WeakMap,this.active=!1})),this.nodeMap.set(e,(this.nodeMap.get(e)||new Set).add(t))}destroy(){}}let uQ=!1;try{if(2!==Array.from([1],e=>2*e)[0]){let e=document.createElement("iframe");document.body.appendChild(e),Array.from=(null==(X=e.contentWindow)?void 0:X.Array.from)||Array.from,document.body.removeChild(e)}}catch(e){console.debug("Unable to override Array.from",e)}let uZ=new lp;function u0(e={}){let t,{emit:r,checkoutEveryNms:a,checkoutEveryNth:l,blockClass:c="rr-block",blockSelector:u=null,ignoreClass:d="rr-ignore",ignoreSelector:f=null,maskTextClass:h="rr-mask",maskTextSelector:p=null,inlineStylesheet:m=!0,maskAllInputs:g,maskInputOptions:y,slimDOMOptions:v,maskInputFn:w,maskTextFn:b,hooks:_,packFn:S,sampling:E={},dataURLOptions:C={},mousemoveWait:x,recordDOM:k=!0,recordCanvas:I=!1,recordCrossOriginIframes:T=!1,recordAfter:A="DOMContentLoaded"===e.recordAfter?e.recordAfter:"load",userTriggeredOnInput:M=!1,collectFonts:O=!1,inlineImages:R=!1,plugins:P,keepIframeSrcFn:D=()=>!1,ignoreCSSAttributes:N=new Set([]),errorHandler:L}=e;n=L;let F=!T||window.parent===window,U=!1;if(!F)try{window.parent.document&&(U=!1)}catch(e){U=!0}if(F&&!r)throw Error("emit function is required");if(!F&&!U)return()=>{};void 0!==x&&void 0===E.mousemove&&(E.mousemove=x),uZ.reset();let z=!0===g?{color:!0,date:!0,"datetime-local":!0,email:!0,month:!0,number:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0,textarea:!0,select:!0,password:!0}:void 0!==y?y:{password:!0},B=lz(v);!function(e=window){"NodeList"in e&&!e.NodeList.prototype.forEach&&(e.NodeList.prototype.forEach=Array.prototype.forEach),"DOMTokenList"in e&&!e.DOMTokenList.prototype.forEach&&(e.DOMTokenList.prototype.forEach=Array.prototype.forEach)}();let j=0,V=e=>{for(let t of P||[])t.eventProcessor&&(e=t.eventProcessor(e));return S&&!U&&(e=S(e)),e};i=(e,n)=>{var i;if(e.timestamp=cj(),(null==(i=u_[0])?void 0:i.isFrozen())&&e.type!==us.FullSnapshot&&(e.type!==us.IncrementalSnapshot||e.data.source!==ua.Mutation)&&u_.forEach(e
1=>e.unfreeze()),F)null==r||r(V(e),n);else if(U){let t={type:"rrweb",event:V(e),origin:window.location.origin,isCheckout:n};window.parent.postMessage(t,"*")}if(e.type===us.FullSnapshot)t=e,j=0;else if(e.type===us.IncrementalSnapshot){if(e.data.source===ua.Mutation&&e.data.isAttachIframe)return;j++;let r=l&&j>=l,n=a&&e.timestamp-t.timestamp>a;(r||n)&&o(!0)}};let $=e=>{i({type:us.IncrementalSnapshot,data:{source:ua.Mutation,...e}})},H=e=>i({type:us.IncrementalSnapshot,data:{source:ua.Scroll,...e}}),G=e=>i({type:us.IncrementalSnapshot,data:{source:ua.CanvasMutation,...e}}),W=new uK({mutationCb:$,adoptedStyleSheetCb:e=>i({type:us.IncrementalSnapshot,data:{source:ua.AdoptedStyleSheet,...e}})}),q=new uD({mirror:uZ,mutationCb:$,stylesheetManager:W,recordCrossOriginIframes:T,wrappedEmit:i});for(let e of P||[])e.getMirror&&e.getMirror({nodeMirror:uZ,crossOriginIframeMirror:q.crossOriginIframeMirror,crossOriginIframeStyleMirror:q.crossOriginIframeStyleMirror});let J=new uX;s=new uY({recordCanvas:I,mutationCb:G,win:window,blockClass:c,blockSelector:u,mirror:uZ,sampling:E.canvas,dataURLOptions:C});let Y=new uN({mutationCb:$,scrollCb:H,bypassOptions:{blockClass:c,blockSelector:u,maskTextClass:h,maskTextSelector:p,inlineStylesheet:m,maskInputOptions:z,dataURLOptions:C,maskTextFn:b,maskInputFn:w,recordCanvas:I,inlineImages:R,sampling:E,slimDOMOptions:B,iframeManager:q,stylesheetManager:W,canvasManager:s,keepIframeSrcFn:D,processedNodeManager:J},mirror:uZ});o=(e=!1)=>{if(!k)return;i({type:us.Meta,data:{href:window.location.href,width:c6(),height:c3()}},e),W.reset(),Y.init(),u_.forEach(e=>e.lock());let t=function(e,t){let{mirror:r=new lp,blockClass:n="rr-block",blockSelector:i=null,maskTextClass:o="rr-mask",maskTextSelector:s=null,inlineStylesheet:a=!0,inlineImages:l=!1,recordCanvas:c=!1,maskAllInputs:u=!1,maskTextFn:d,maskInputFn:f,slimDOM:h=!1,dataURLOptions:p,preserveWhiteSpace:m,onSerialize:g,onIframeLoad:y,iframeLoadTimeout:v,onStylesheetLoad:w,stylesheetLoadTimeout:b,keepIframeSrcFn:_=()=>!1}=t;return lB(e,{doc:e,mirror:r,blockClass:n,blockSelector:i,maskTextClass:o,maskTextSelector:s,skipChild:!1,inlineStylesheet:a,maskInputOptions:!0===u?{color:!0,date:!0,"datetime-local":!0,email:!0,month:!0,number:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0,textarea:!0,select:!0,password:!0}:!1===u?{password:!0}:u,maskTextFn:d,maskInputFn:f,slimDOMOptions:lz(h),dataURLOptions:p,inlineImages:l,recordCanvas:c,preserveWhiteSpace:m,onSerialize:g,onIframeLoad:y,iframeLoadTimeout:v,onStylesheetLoad:w,stylesheetLoadTimeout:b,keepIframeSrcFn:_,newlyAddedElement:!1})}(document,{mirror:uZ,blockClass:c,blockSelector:u,maskTextClass:h,maskTextSelector:p,inlineStylesheet:m,maskAllInputs:z,maskTextFn:b,maskInputFn:w,slimDOM:B,dataURLOptions:C,recordCanvas:I,inlineImages:R,onSerialize:e=>{ue(e,uZ)&&q.addIframe(e),ut(e,uZ)&&W.trackLinkElement(e),ur(e)&&Y.addShadowRoot(cX(e),document)},onIframeLoad:(e,t)=>{q.attachIframe(e,t),Y.observeAttachShadow(e)},onStylesheetLoad:(e,t)=>{W.attachLinkElement(e,t)},keepIframeSrcFn:D});if(!t)return console.warn("Failed to snapshot the document");i({type:us.FullSnapshot,data:{node:t,initialOffset:c2(window)}},e),u_.forEach(e=>e.unlock()),document.adoptedStyleSheets&&document.adoptedStyleSheets.length>0&&W.adoptStyleSheets(document.adoptedStyleSheets,uZ.getId(document))};try{let e=[],t=e=>{var t;return ub(uM)({mutationCb:$,mousemoveCb:(e,t)=>i({type:us.IncrementalSnapshot,data:{source:t,positions:e}}),mouseInteractionCb:e=>i({type:us.IncrementalSnapshot,data:{source:ua.MouseInteraction,...e}}),scrollCb:H,viewportResizeCb:e=>i({type:us.IncrementalSnapshot,data:{source:ua.ViewportResize,...e}}),inputCb:e=>i({type:us.IncrementalSnapshot,data:{source:ua.Input,...e}}),mediaInteractionCb:e=>i({type:us.IncrementalSnapshot,data:{source:ua.MediaInteraction,...e}}),styleSheetRuleCb:e=>i({type:us.IncrementalSnapshot,data:{source:ua.StyleSheetRule,...e}}),styleDeclarationCb:e=>i({type:us.IncrementalSnapshot,data:{source:ua.StyleDeclaration,...e}}),canvasMutationCb:G,fontCb:e=>i({type:us.IncrementalSnapshot,data:{source:ua.Font,...e}}),selectionCb:e=>{i({type:us.IncrementalSnapshot,data:{source:ua.Selection,...e}})},customElementCb:e=>{i({type:us.IncrementalSnapshot,data:{source:ua.CustomElement,...e}})},blockClass:c,ignoreClass:d,ignoreSelector:f,maskTextClass:h,maskTextSelector:p,maskInputOptions:z,inlineStylesheet:m,sampling:E,recordDOM:k,recordCanvas:I,inlineImages:R,userTr
1iggeredOnInput:M,collectFonts:O,doc:e,maskInputFn:w,maskTextFn:b,keepIframeSrcFn:D,blockSelector:u,slimDOMOptions:B,dataURLOptions:C,mirror:uZ,iframeManager:q,stylesheetManager:W,shadowDomManager:Y,processedNodeManager:J,canvasManager:s,ignoreCSSAttributes:N,plugins:(null==(t=null==P?void 0:P.filter(e=>e.observer))?void 0:t.map(e=>({observer:e.observer,options:e.options,callback:t=>i({type:us.Plugin,data:{plugin:e.name,payload:t}})})))||[]},_)};q.addLoadListener(r=>{try{e.push(t(r.contentDocument))}catch(e){console.warn(e)}});let r=()=>{o(),e.push(t(document)),uQ=!0};return["interactive","complete"].includes(document.readyState)?r():(e.push(cQ("DOMContentLoaded",()=>{i({type:us.DomContentLoaded,data:{}}),"DOMContentLoaded"===A&&r()})),e.push(cQ("load",()=>{i({type:us.Load,data:{}}),"load"===A&&r()},window))),()=>{e.forEach(e=>{try{e()}catch(e){String(e).toLowerCase().includes("cross-origin")||console.warn(e)}}),J.destroy(),uQ=!1,n=void 0}}catch(e){console.warn(e)}}u0.addCustomEvent=(e,t)=>{if(!uQ)throw Error("please add custom event after start recording");i({type:us.Custom,data:{tag:e,payload:t}})},u0.freezePage=()=>{u_.forEach(e=>e.freeze())},u0.takeFullSnapshot=e=>{if(!uQ)throw Error("please take full snapshot after start recording");o(e)},u0.mirror=uZ,(S=tW||(tW={}))[S.NotStarted=0]="NotStarted",S[S.Running=1]="Running",S[S.Stopped=2]="Stopped";let{addCustomEvent:u1}=u0,{freezePage:u4}=u0,{takeFullSnapshot:u2}=u0,u3=class{constructor(){this.clientToken=null,this.datadogRumContextRef={current:{applicationId:null,sessionId:null,viewId:null}},this.indexRef={current:0},this.rrwebEventsRef={current:[]},this.stopRecordingRef={current:null}}initDatadogContextInterval({defaultPrivacyLevel:e,replayIngestUrl:t,tabId:r}){setInterval(()=>{let n=aW.getInternalContext();if(n&&n.session_id){let{application_id:i,session_id:o,view:s}=n;if(o!==this.datadogRumContextRef.current.sessionId){if(this.stopRecordingRef.current)try{this.stopRecording()}catch(e){}let n=[...this.rrwebEventsRef.current],i=this.indexRef.current;n.length&&(this.persistEvents({index:i,replayIngestUrl:t,rrwebEvents:n,tabId:r}),this.rrwebEventsRef.current=[]),this.indexRef.current=0,this.startRecording({defaultPrivacyLevel:e})}this.datadogRumContextRef.current={applicationId:i,sessionId:o,viewId:s.id}}},1e3)}persistEvents({index:e,replayIngestUrl:t,rrwebEvents:r,tabId:n}){if(r.length){let{applicationId:i,sessionId:o,viewId:s}=this.datadogRumContextRef.current,{start:a,end:l}={start:r[0].timestamp,end:r[r.length-1].timestamp},c=new FormData;c.append("event",JSON.stringify({application:{id:i},session:{id:o},index:e,end:l,start:a,tab:{id:n},view:{id:s}})),c.append("segment",JSON.stringify({rrwebEvents:r})),fetch(`${t}${this.clientToken?`?kf-api-key=${this.clientToken}`:""}`,{method:"POST",body:c})}}saveEvents({replayIngestUrl:e,tabId:t}){return()=>{let r=[...this.rrwebEventsRef.current],n=this.indexRef.current;r.length&&(this.persistEvents({index:n,replayIngestUrl:e,rrwebEvents:r,tabId:t}),this.rrwebEventsRef.current=[],this.indexRef.current=n+1)}}init({clientToken:e,defaultPrivacyLevel:t,replayIngestUrl:r,tabId:n}){this.clientToken=e,this.initDatadogContextInterval({defaultPrivacyLevel:t,replayIngestUrl:r,tabId:n}),setInterval(()=>{requestAnimationFrame(this.saveEvents({replayIngestUrl:r,tabId:n}))},5e3)}startRecording({defaultPrivacyLevel:e}){this.stopRecordingRef.current=u0({...(e=>{if("mask-user-input"===e)return{maskAllInputs:!0};if("mask"===e){try{document.body.classList.add("rr-mask")}catch(e){}return{maskAllInputs:!0,maskTextClass:/[\s\S]*/,maskTextFn:e=>e.replace(/[a-z]/g,"*")}}return"allow"===e?{}:{maskAllInputs:!0}})(e),checkoutEveryNms:6e4,emit:e=>{this.rrwebEventsRef.current=[...this.rrwebEventsRef.current,e]},recordCanvas:!0})}stopRecording(){return this.stopRecordingRef.current||(()=>{})}},u6=/^([a-zA-Z]+)=([a-z0-9-]+)$/,u5=/([\w-]+)\s*=\s*([^;]+)/g,u8={},u7=null,u9=e=>{let t={};return e&&(-1!==e.indexOf("&")||u6.test(e))&&e.split("&").forEach(e=>{let r=u6.exec(e);if(null!==r){let[,e,n]=r;"aid"===e?t.anonymousId=n:t[e]=n}}),t},de=new class{constructor(){this.hasReplayBeenInitedRef={current:!1},this.rrweb=new u3}init({config:e}){let t=aZ(),{enableLogCollection:r,enableSessionRecording:n,...i}=e,o=(e=>{try{if(e){if(0===e.indexOf("/"))return"/rumrrweb";let t=new URL(e);return`${t.origin}/rumrrweb`}return null}catch(e){return null}})(e.proxy);(({config:e,hasReplayBeenInitedRef:t,tabId:r})=>{let n={applicationId:e.applicationId,clientToken:e.clientToken,defaultPrivacyLevel:e.defaultPrivacyLevel||"mask-user-input",enablePrivacyF
1orActionName:e.enablePrivacyForActionName||!1,env:e.env,proxy:e.proxy,service:e.service,sessionSampleRate:e.sessionSampleRate,site:e.site||"",sessionReplaySampleRate:0,trackUserInteractions:!0,trackResources:!0,trackLongTasks:!0,trackViewsManually:e.trackViewsManually||!1,version:e.version,excludedActivityUrls:e.excludedActivityUrls,beforeSend:(n,i)=>{n.context.rrweb_tab_id=r,t.current&&(n.context.rrweb_has_replay=!0),null==u7&&(u7=Number(u9(((e,t)=>{for(u5.lastIndex=0;;){let r=u5.exec(e);if(r){if(r[1]===t)return r[2]}else break}})(document.cookie,"_dd_s")).created));return"view"==n.type?u8[n.id]=n.date:n.view.id,n.context.kf_session_start_ms=u7,n.context.kf_view_start_ms=u8[n.id],"function"!=typeof e.beforeSend||e.beforeSend(n,i)}};aW.init(n)})({config:i,hasReplayBeenInitedRef:this.hasReplayBeenInitedRef,tabId:t});let s=Number(u9(aJ.get("_dd_s")).rum)>0;n&&s&&o&&(this.rrweb.init({clientToken:i.clientToken,defaultPrivacyLevel:i.defaultPrivacyLevel,replayIngestUrl:o,tabId:t}),this.hasReplayBeenInitedRef.current=!0),r&&od.init({clientToken:i.clientToken,proxy:i.proxy,site:i.site,forwardErrorsToLogs:!0,forwardConsoleLogs:"all",sessionSampleRate:100})}addAction(e,t={}){try{aW.addAction(e,t)}catch(e){console.error("Failed to addAction",e)}}addError(e,t={}){try{aW.addError(e,t)}catch(e){console.error("Failed to addError",e)}}addTiming(...e){try{aW.addTiming(...e)}catch(e){console.error("Failed to addTiming",e)}}addDurationVital(...e){try{aW.addDurationVital(...e)}catch(e){console.error("Failed to addDurationVital",e)}}clearGlobalContext(){try{aW.clearGlobalContext()}catch(e){console.error("Failed to clearGlobalContext",e)}}getGlobalContext(){try{return aW.getGlobalContext()}catch(e){console.error("Failed to getGlobalContext",e)}}removeGlobalContextProperty(e){try{aW.removeGlobalContextProperty(e)}catch(e){console.error("Failed to removeGlobalContextProperty",e)}}setGlobalContext(e){try{aW.setGlobalContext(e)}catch(e){console.error("Failed to setGlobalContext",e)}}setViewContext(e){try{aW.setViewContext(e)}catch(e){console.error("Failed to setViewContext",e)}}setViewContextProperty(e,t){try{aW.setViewContextProperty(e,t)}catch(e){console.error("Failed to setViewContextProperty",e)}}startDurationVital(...e){try{aW.startDurationVital(...e)}catch(e){console.error("Failed to startDurationVital",e)}}stopDurationVital(...e){try{aW.stopDurationVital(...e)}catch(e){console.error("Failed to stopDurationVital",e)}}setUser(e){try{aW.setUser(e)}catch(e){console.error("Failed to setUser",e)}}startView(e){aW.startView(e)}};e.s(["default",0,de],47140)},48652,e=>{"use strict";let t;var r=e.i(25018);let n=(t=0,()=>(t+=1,`u${`0000${(1679616*Math.random()|0).toString(36)}`.slice(-4)}${t}`));function i(e){let t=[];for(let r=0,n=e.length;r<n;r++)t.push(e[r]);return t}let o=null;function s(e={}){return o||(o=e.includeStyleProperties?e.includeStyleProperties:i(window.getComputedStyle(document.documentElement)))}function a(e,t){let r=(e.ownerDocument.defaultView||window).getComputedStyle(e).getPropertyValue(t);return r?parseFloat(r.replace("px","")):0}function l(e,t={}){let r,n,i,o;return{width:t.width||(r=a(e,"border-left-width"),n=a(e,"border-right-width"),e.clientWidth+r+n),height:t.height||(i=a(e,"border-top-width"),o=a(e,"border-bottom-width"),e.clientHeight+i+o)}}function c(e){return new Promise((t,r)=>{let n=new Image;n.onload=()=>{n.decode().then(()=>{requestAnimationFrame(()=>t(n))})},n.onerror=r,n.crossOrigin="anonymous",n.decoding="async",n.src=e})}async function u(e){return Promise.resolve().then(()=>new XMLSerializer().serializeToString(e)).then(encodeURIComponent).then(e=>`data:image/svg+xml;charset=utf-8,${e}`)}async function d(e,t,r){let n="http://www.w3.org/2000/svg",i=document.createElementNS(n,"svg"),o=document.createElementNS(n,"foreignObject");return i.setAttribute("width",`${t}`),i.setAttribute("height",`${r}`),i.setAttribute("viewBox",`0 0 ${t} ${r}`),o.setAttribute("width","100%"),o.setAttribute("height","100%"),o.setAttribute("x","0"),o.setAttribute("y","0"),o.setAttribute("externalResourcesRequired","true"),i.appendChild(o),o.appendChild(e),u(i)}let f=(e,t)=>{if(e instanceof t)return!0;let r=Object.getPrototypeOf(e);return null!==r&&(r.constructor.name===t.name||f(r,t))};function h(e,t,r,i){let o,a,l,c=window.getComputedStyle(e,r),u=c.getPropertyValue("content");
1if(""===u||"none"===u)return;let d=n();try{t.className=`${t.className} ${d}`}catch(e){return}let f=document.createElement("style");f.appendChild((o=`.${d}:${r}`,l=c.cssText?(a=c.getPropertyValue("content"),`${c.cssText} content: '${a.replace(/'|"/g,"")}';`):s(i).map(e=>{let t=c.getPropertyValue(e),r=c.getPropertyPriority(e);return`${e}: ${t}${r?" !important":""};`}).join(" "),document.createTextNode(`${o}{${l}}`))),t.appendChild(f)}let p="application/font-woff",m="image/jpeg",g={woff:p,woff2:p,ttf:"application/font-truetype",eot:"application/vnd.ms-fontobject",png:"image/png",jpg:m,jpeg:m,gif:"image/gif",tiff:"image/tiff",svg:"image/svg+xml",webp:"image/webp"};function y(e){let t;return g[((t=/\.([^./]*?)$/g.exec(e))?t[1]:"").toLowerCase()]||""}function v(e){return -1!==e.search(/^(data:)/)}function w(e,t){return`data:${t};base64,${e}`}async function b(e,t,r){let n=await fetch(e,t);if(404===n.status)throw Error(`Resource "${n.url}" not found`);let i=await n.blob();return new Promise((e,t)=>{let o=new FileReader;o.onerror=t,o.onloadend=()=>{try{e(r({res:n,result:o.result}))}catch(e){t(e)}},o.readAsDataURL(i)})}let _={};async function S(e,t,r){var n,i,o;let s,a,l=(n=e,i=t,o=r.includeQueryParams,a=n.replace(/\?.*/,""),o&&(a=n),/ttf|otf|eot|woff2?/i.test(a)&&(a=a.replace(/.*\//,"")),i?`[${i}]${a}`:a);if(null!=_[l])return _[l];r.cacheBust&&(e+=(/\?/.test(e)?"&":"?")+new Date().getTime());try{let n=await b(e,r.fetchRequestInit,({res:e,result:r})=>(t||(t=e.headers.get("Content-Type")||""),r.split(/,/)[1]));s=w(n,t)}catch(n){s=r.imagePlaceholder||"";let t=`Failed to fetch resource: ${e}`;n&&(t="string"==typeof n?n:n.message),t&&console.warn(t)}return _[l]=s,s}async function E(e){let t=e.toDataURL();return"data:,"===t?e.cloneNode(!1):c(t)}async function C(e,t){if(e.currentSrc){let t=document.createElement("canvas"),r=t.getContext("2d");return t.width=e.clientWidth,t.height=e.clientHeight,null==r||r.drawImage(e,0,0,t.width,t.height),c(t.toDataURL())}let r=e.poster,n=y(r);return c(await S(r,n,t))}async function x(e,t){var r;try{if(null==(r=null==e?void 0:e.contentDocument)?void 0:r.body)return await M(e.contentDocument.body,t,!0)}catch(e){}return e.cloneNode(!1)}async function k(e,t){return f(e,HTMLCanvasElement)?E(e):f(e,HTMLVideoElement)?C(e,t):f(e,HTMLIFrameElement)?x(e,t):e.cloneNode(I(e))}let I=e=>null!=e.tagName&&"SVG"===e.tagName.toUpperCase();async function T(e,t,r){var n,o;if(I(t))return t;let s=[];return 0===(s=null!=e.tagName&&"SLOT"===e.tagName.toUpperCase()&&e.assignedNodes?i(e.assignedNodes()):f(e,HTMLIFrameElement)&&(null==(n=e.contentDocument)?void 0:n.body)?i(e.contentDocument.body.childNodes):i((null!=(o=e.shadowRoot)?o:e).childNodes)).length||f(e,HTMLVideoElement)||await s.reduce((e,n)=>e.then(()=>M(n,r)).then(e=>{e&&t.appendChild(e)}),Promise.resolve()),t}async function A(e,t){let r=e.querySelectorAll?e.querySelectorAll("use"):[];if(0===r.length)return e;let n={};for(let i=0;i<r.length;i++){let o=r[i].getAttribute("xlink:href");if(o){let r=e.querySelector(o),i=document.querySelector(o);r||!i||n[o]||(n[o]=await M(i,t,!0))}}let i=Object.values(n);if(i.length){let t="http://www.w3.org/1999/xhtml",r=document.createElementNS(t,"svg");r.setAttribute("xmlns",t),r.style.position="absolute",r.style.width="0",r.style.height="0",r.style.overflow="hidden",r.style.display="none";let n=document.createElementNS(t,"defs");r.appendChild(n);for(let e=0;e<i.length;e++)n.appendChild(i[e]);e.appendChild(r)}return e}async function M(e,t,r){return r||!t.filter||t.filter(e)?Promise.resolve(e).then(e=>k(e,t)).then(r=>T(e,r,t)).then(r=>(function(e,t,r){if(f(t,Element)&&(!function(e,t,r){let n=t.style;if(!n)return;let i=window.getComputedStyle(e);i.cssText?(n.cssText=i.cssText,n.transformOrigin=i.transformOrigin):s(r).forEach(r=>{let o=i.getPropertyValue(r);if("font-size"===r&&o.endsWith("px")){let e=Math.floor(parseFloat(o.substring(0,o.length-2)))-.1;o=`${e}px`}f(e,HTMLIFrameElement)&&"display"===r&&"inline"===o&&(o="block"),"d"===r&&t.getAttribute("d")&&(o=`path(${t.getAttribute("d")})`),n.setProperty(r,o,i.getPropertyPriority(r))})}(e,t,r),h(e,t,":before",r),h(e,t,":after",r),f(e,HTMLTextAreaElement)&&(t.innerHTML=e.value),f(e,HTMLInputElement)&&t.setAttribute("value",e.value),f(e,HTMLSelectElement))){let r=Array.from(t.children).find(t=>e.value===t.getAttribute("value"));r&&r.setAttribute("selected","")}return t})(e,r,t)).then(e=>A(e,t)):null}let O=/url\((['"]?)([^'"]+?)\1\)/g,R=/url\([^)]+\)\s*format\((["']?)([^"']+)\1\)/g,P=/src:\s*(?:url\([^)]+\)\s*format\([^)]+\)[,;]\s*)+/g;async function D(e,t,r,n,i){try{let o,s,a=r?function(e,t){if(e.match(/^[a-z]+:\/\//i))return e;if(e.match(/^\/\//))return window.location.protocol+e;if(e.match(/^[a-z]+:/i))return e;let r=document.implementation.createHTMLDocument(),n=r.createElement("base"),i=r.createElement("a");return r.head.appendChild(n),r.body.appendChild(i),t&&(n.href=t),i.href=e,i.href}(t,r):t,l=y(t);
1if(i){let e=await i(a);o=w(e,l)}else o=await S(a,l,n);return e.replace((s=t.replace(/([.*+?^${}()|\[\]\/\\])/g,"\\$1"),RegExp(`(url\\(['"]?)(${s})(['"]?\\))`,"g")),`$1${o}$3`)}catch(e){}return e}function N(e){return -1!==e.search(O)}async function L(e,t,r){let n;if(!N(e))return e;let i=function(e,{preferredFontFormat:t}){return t?e.replace(P,e=>{for(;;){let[r,,n]=R.exec(e)||[];if(!n)return"";if(n===t)return`src: ${r};`}}):e}(e,r);return(n=[],i.replace(O,(e,t,r)=>(n.push(r),e)),n.filter(e=>!v(e))).reduce((e,n)=>e.then(e=>D(e,n,t,r)),Promise.resolve(i))}async function F(e,t,r){var n;let i=null==(n=t.style)?void 0:n.getPropertyValue(e);if(i){let n=await L(i,null,r);return t.style.setProperty(e,n,t.style.getPropertyPriority(e)),!0}return!1}async function U(e,t){await F("background",e,t)||await F("background-image",e,t),await F("mask",e,t)||await F("-webkit-mask",e,t)||await F("mask-image",e,t)||await F("-webkit-mask-image",e,t)}async function z(e,t){let r=f(e,HTMLImageElement);if(!(r&&!v(e.src))&&!(f(e,SVGImageElement)&&!v(e.href.baseVal)))return;let n=r?e.src:e.href.baseVal,i=await S(n,y(n),t);await new Promise((n,o)=>{e.onload=n,e.onerror=t.onImageErrorHandler?(...e)=>{try{n(t.onImageErrorHandler(...e))}catch(e){o(e)}}:o,e.decode&&(e.decode=n),"lazy"===e.loading&&(e.loading="eager"),r?(e.srcset="",e.src=i):e.href.baseVal=i})}async function B(e,t){let r=i(e.childNodes).map(e=>j(e,t));await Promise.all(r).then(()=>e)}async function j(e,t){f(e,Element)&&(await U(e,t),await z(e,t),await B(e,t))}let V={};async function $(e){let t=V[e];if(null!=t)return t;let r=await fetch(e);return t={url:e,cssText:await r.text()},V[e]=t,t}async function H(e,t){let r=e.cssText,n=/url\(["']?([^"')]+)["']?\)/g;return Promise.all((r.match(/url\([^)]+\)/g)||[]).map(async i=>{let o=i.replace(n,"$1");return o.startsWith("https://")||(o=new URL(o,e.url).href),b(o,t.fetchRequestInit,({result:e})=>(r=r.replace(i,`url(${e})`),[i,e]))})).then(()=>r)}function G(e){if(null==e)return[];let t=[],r=e.replace(/(\/\*[\s\S]*?\*\/)/gi,""),n=RegExp("((@.*?keyframes [\\s\\S]*?){([\\s\\S]*?}\\s*?)}
1)","gi");for(;;){let e=n.exec(r);if(null===e)break;t.push(e[0])}r=r.replace(n,"");let i=/@import[\s\S]*?url\([^)]*\)[\s\S]*?;/gi,o=RegExp("((\\s*?(?:\\/\\*[\\s\\S]*?\\*\\/)?\\s*?@media[\\s\\S]*?){([\\s\\S]*?)}\\s*?})|(([\\s\\S]*?){([\\s\\S]*?)})","gi");for(;;){let e=i.exec(r);if(null===e){if(null===(e=o.exec(r)))break;i.lastIndex=o.lastIndex}else o.lastIndex=i.lastIndex;t.push(e[0])}return t}async function W(e,t){let r=[],n=[];return e.forEach(r=>{if("cssRules"in r)try{i(r.cssRules||[]).forEach((e,i)=>{if(e.type===CSSRule.IMPORT_RULE){let o=i+1,s=e.href,a=$(s).then(e=>H(e,t)).then(e=>G(e).forEach(e=>{try{r.insertRule(e,e.startsWith("@import")?o+=1:r.cssRules.length)}catch(t){console.error("Error inserting rule from remote css",{rule:e,error:t})}})).catch(e=>{console.error("Error loading remote css",e.toString())});n.push(a)}})}catch(o){let i=e.find(e=>null==e.href)||document.styleSheets[0];null!=r.href&&n.push($(r.href).then(e=>H(e,t)).then(e=>G(e).forEach(e=>{i.insertRule(e,i.cssRules.length)})).catch(e=>{console.error("Error loading remote stylesheet",e)})),console.error("Error inlining remote css file",o)}}),Promise.all(n).then(()=>(e.forEach(e=>{if("cssRules"in e)try{i(e.cssRules||[]).forEach(e=>{r.push(e)})}catch(t){console.error(`Error while reading CSS rules from ${e.href}`,t)}}),r))}async function q(e,t){if(null==e.ownerDocument)throw Error("Provided element is not within a Document");let r=i(e.ownerDocument.styleSheets);return(await W(r,t)).filter(e=>e.type===CSSRule.FONT_FACE_RULE).filter(e=>N(e.style.getPropertyValue("src")))}function J(e){return e.trim().replace(/["']/g,"")}async function Y(e,t){let r,n=await q(e,t),i=(r=new Set,!function e(t){(t.style.fontFamily||getComputedStyle(t).fontFamily).split(",").forEach(e=>{r.add(J(e))}),Array.from(t.children).forEach(t=>{t instanceof HTMLElement&&e(t)}
1)}(e),r);return(await Promise.all(n.filter(e=>i.has(J(e.style.fontFamily))).map(e=>{let r=e.parentStyleSheet?e.parentStyleSheet.href:null;return L(e.cssText,r,t)}))).join("\n")}async function K(e,t){let r=null!=t.fontEmbedCSS?t.fontEmbedCSS:t.skipFonts?null:await Y(e,t);if(r){let t=document.createElement("style"),n=document.createTextNode(r);t.appendChild(n),e.firstChild?e.insertBefore(t,e.firstChild):e.appendChild(t)}}async function X(e,t={}){let{width:r,height:n}=l(e,t),i=await M(e,t,!0);return await K(i,t),await j(i,t),!function(e,t){let{style:r}=e;t.backgroundColor&&(r.backgroundColor=t.backgroundColor),t.width&&(r.width=`${t.width}px`),t.height&&(r.height=`${t.height}px`);let n=t.style;null!=n&&Object.keys(n).forEach(e=>{r[e]=n[e]})}(i,t),await d(i,r,n)}async function Q(e,t={}){let{width:n,height:i}=l(e,t),o=await X(e,t),s=await c(o),a=document.createElement("canvas"),u=a.getContext("2d"),d=t.pixelRatio||function(){let e,t;try{t=r.default}catch(e){}let n=t&&t.env?t.env.devicePixelRatio:null;return n&&Number.isNaN(e=parseInt(n,10))&&(e=1),e||window.devicePixelRatio||1}(),f=t.canvasWidth||n,h=t.canvasHeight||i;return a.width=f*d,a.height=h*d,!t.skipAutoScale&&(a.width>16384||a.height>16384)&&(a.width>16384&&a.height>16384?a.width>a.height?(a.height*=16384/a.width,a.width=16384):(a.width*=16384/a.height,a.height=16384):a.width>16384?(a.height*=16384/a.width,a.width=16384):(a.width*=16384/a.height,a.height=16384)),a.style.width=`${f}`,a.style.height=`${h}`,t.backgroundColor&&(u.fillStyle=t.backgroundColor,u.fillRect(0,0,a.width,a.height)),u.drawImage(s,0,0,a.width,a.height),a}e.s(["toCanvas",()=>Q],48652)},93745,e=>{"use strict";let t="access_token",r="token_expiry",n=null,i=null,o=()=>{try{window.sessionStorage.removeItem(t),window.sessionStorage.removeItem(r)}catch(e){console.error("Failed to clear cached access token",e)}},s=async()=>{let e=await fetch("https://nic-auth-prod.nationsinfocorp.com/auth/token",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({clientId:"nic-ui"})});if(!e.ok)throw o(),Error(`Failed to fetch access token: ${e.status}`);let i=await e.json();if(!i?.accessToken||"number"!=typeof i.expiresIn)throw o(),Error("Auth response missing accessToken or expiresIn");let s=1e3*i.expiresIn,l=Date.now()+s;var c=i.accessToken;try{window.sessionStorage.setItem(t,c),window.sessionStorage.setItem(r,String(l))}catch(e){console.error("Failed to persist access token",e)}return n&&clearTimeout(n),n=setTimeout(()=>{a(!0).catch(e=>{console.error("Scheduled access token refresh failed",e)})},Math.max(s-3e4,1e3)),i.accessToken},a=async(e=!1)=>{if(!e){let e=(()=>{try{let e=window.sessionStorage.getItem(t),n=window.sessionStorage.getItem(r);if(!e||!n)return null;let i=Number(n);if(!Number.isFinite(i))return null;return{token:e,expiresAt:i}}catch(e){return console.error("Failed to read cached access token",e),null}})();if(e&&Date.now()<e.expiresAt-3e4)return e.token}return i||(i=s().finally(()=>{i=null}))},l=(e,t)=>{let r=new Headers(e?.headers);return r.set("Authorization",`Bearer ${t}`),{...e,headers:r}},c=async(e,t={})=>{let r,n,i=(n="https://api.nationsinfocorp.com",e?e.startsWith("/")?`${n}${e}`:`${n}/${e}`:n),o=await a();try{r=await fetch(i,l(t,o))}catch(e){throw console.error(`%c[API Gateway]%c Network error when fetching: %c${i}
2%cError:`,"color: #ff4d4f; font-weight: bold;","color: inherit;","color: #1890ff;","color: #c41d7f;",e),e}return 401!==r.status?r:fetch(i,l(t,await a(!0)))};e.s(["API_PATHS",0,{TRACKING:"/tracking",CONFIG_SPLIT:"/config-split/v1",CUSTOMER_ACCOUNT:"/customer/account/v1",CUSTOMER_CARE:"/customer/care/v1",CAT:"/cat",COMMUNICATION:"/communication/v1",REGISTRATION:"/nrs/v1",TCPA:"/tcpa/v1",FAAS:"/faas/v1",CREDIT:"/ncs/v1",PDB:"/pdb/v1"},"gatewayFetch",0,c])},9165,e=>{"use strict";e.s(["applyDiscount",()=>G,"cancelMembership",()=>q,"clearMembersiteSessionCookie",()=>U,"createMembersiteSessionCookie",()=>F,"fetchAddressByLatLng",()=>d,"fetchAddressViaIP",()=>f,"fetchCreditReport",()=>O,"fetchCreditScore",()=>M,"fetchCustomerDetails",()=>N,"fetchDisputeInvestigationResults",()=>Q,"fetchDisputeOptions",()=>Y,"fetchDisputes",()=>X,"fetchIdMonitoring",()=>A,"fetchIdMonitoringAlerts",()=>R,"getCatByJluvr",()=>v,"getCityViaZip",()=>h,"getConfig",()=>c,"getFaasFlowData",()=>x,"handleTCPA",()=>E,"openP2Membersite",()=>z,"performAutoLogin",()=>B,"postCatCustomerData",()=>y,"postMembersiteLogin",()=>D,"postPropertyLookup",()=>w,"postRegistration",()=>g,"postRequestPasswordReset",()=>H,"postTUAuthentication",()=>k,"postTUAuthenticationSubmit",()=>I,"putIdMonitoring",()=>
2T,"putIdMonitoringAlertViewed",()=>P,"putUpdateCustomerPassword",()=>j,"reactivateMembership",()=>W,"sendConfirmationEmail",()=>V,"submitContactUs",()=>$,"submitDispute",()=>K,"submitDoNotSell",()=>J,"updateBillingInfo",()=>L]);var t=e.i(47800),r=e.i(2502),n=e.i(21123),i=e.i(48652),o=e.i(48492),s=e.i(40974),a=e.i(93745);let l={verticalType:"ploan",idBrand:82,idSuperPartner:-1,idPartner:-1,idAd:"any"},c=async e=>{let t=(0,r.getHostname)(),n=t?.includes("localhost"),i=new URLSearchParams;!n&&e&&i.append("adId",e);let o=(0,r.getQueryParam)("vl");if(t&&!n){let e=t.split("."),r=e.length>2?e.slice(-2).join("."):t;i.append("domain",r)}o&&i.append("vl",encodeURIComponent(o));let s=i.toString(),l=`${a.API_PATHS.CONFIG_SPLIT}/trafficJSON${n?`/${e}`:""}${s?`?${s}`:""}`;try{let e=await (0,a.gatewayFetch)(l,{method:"GET",headers:{"Content-Type":"application/json"}}),t=await e.json();if(!t)return await u();return t}catch(e){return console.error("Fail to fetch config",e),await u()}},u=async()=>{console.warn("Failed to load config, using fallback base from domain.");let e=await (0,a.gatewayFetch)(`${a.API_PATHS.CONFIG_SPLIT}/trafficJSON`,{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify((()=>{for(let[e,n]of Object.entries(t.BRAND_ID_MAPPING)){let t=Object.entries(n).find(([e])=>(0,r.isDomain)(e));if(t){let[,n]=t;return{verticalType:e,idBrand:Number(n),idSuperPartner:-1,idPartner:-1,idAd:(0,r.loadCorrectAdid)()||"any"}}}return l})())});return await e.json()},d=async(e,t)=>{try{let r=await fetch(`/api/get-address?lat=${e}&lng=${t}`,{method:"GET",headers:{"Content-Type":"application/json"}});return await r.json()}catch(e){return console.log({"Not able to fetch user location given the lat lng location":e}),null}},f=async()=>{try{let e=await fetch("/api/ip-location",{method:"GET",headers:{Accept:"application/json"}});if(!e.ok){let t=await e.json().catch(()=>({}));throw Error(`IP lookup failed: ${e.status} - ${t.error||"Unknown error"}`)}return await e.json()}catch(e){return console.error("fetchAddressViaIP Error:",e),null}},h=async e=>{if(!e?.trim())return null;try{let t=await (0,a.gatewayFetch)(`${a.API_PATHS.PDB}/geo/${e}`,{method:"GET",headers:{"Content-Type":"application/json"}});if(!t.ok)throw Error(`Failed to resolve zip ${e}: ${t.status}`);return await t.json()}catch(e){return console.error("Error fetching city/state by zip:",e),null}},p=e=>new Promise(t=>setTimeout(t,e)),m=e=>new Promise(t=>{let r;if(navigator.onLine)return void t();let n=()=>{clearTimeout(r),window.removeEventListener("online",n),t()};r=setTimeout(()=>{window.removeEventListener("online",n),t()},e),window.addEventListener("online",n)}),g=async e=>{let t=e?.jluvr||(0,n.getOrGenerateJluvr)(),r=JSON.stringify(e);for(let e=0;e<=3;e++){let n=e<3,i=new AbortController,o=setTimeout(()=>i.abort(),18e4);try{let e=await (0,a.gatewayFetch)(`${a.API_PATHS.REGISTRATION}/register`,{method:"POST",headers:{"Content-Type":"application/json","Idempotency-Key":t},body:r,signal:i.signal}),o=409===e.status,s=e.status>=500;if((o||s)&&n){await p(1500);continue}return await e.json()}catch(e){if(n){"undefined"==typeof navigator||navigator.onLine?await p(1500):await m(3e4);continue}return console.error("Error posting registration:",e),{error:"Failed to post registration",errorCode:e?.status||500}}finally{clearTimeout(o)}}},y=async e=>{let{jluvr:t,document:r}=e,n=Object.fromEntries(Object.entries(e.visitorParams??{}).filter(([,e])=>null!=e&&""!==e));try{let e=await (0,a.gatewayFetch)(`${a.API_PATHS.CAT}/v2/customer-data`,{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({jluvr:t,...Object.keys(n).length>0&&{visitorParams:n},document:{jluvr:t,...r}})});if(!e.ok)throw Error(`Failed to post customer data: ${e.statusText}`);return e.json()}catch(e){return console.error("Error posting customer data to CAT",e),{error:"Failed to post customer data",errorCode:500}}},v=async e=>{try{return await (0,a.gatewayFetch)(`${a.API_PATHS.CAT}/v1/customer-data/jluvr/${e}`).then(e=>{if(!e.ok)throw Error(`Error fetching userCat: ${e.statusText}`);return e.json()})}catch(e){return console.info("No existing CAT data found for jluvr. Generating new one."),null}},w=async(e={})=>{try{let t,n=(e=>{if(null!=e.brandId)return Number(e.brandId);let t=o.default.getState().configStore?.brandValues?.brandId;return null!=t?Number(t):0})(e),i=e.placement??(t=window.location.pathname.toLowerCase(),/\/search/.test(t)?"srp":/\/signup/.test(t)?"signup":"base"),l={zip:(e=>{if(e.zip)return e.zip;let t=o.default.getState().cat,n=t?.person?.identity?.zip??t?.person?.identity?.zipcode??"";return n||((0,r.getQueryParam)(["zip","zipCode","zipcode","custZip","custzip","propertyZip"])??"")})(e),propertyId:(e=>{if(e.propertyId)return e.propertyId;let t=o.default.getState().cat,n=t?.system?.property?.propertyId??"";return n||((0,r.getQueryParam)(["propertyid","propertyId","prop_id"])??"")})(e),p2Flow:81!==n,brandId:n,placement:i,deviceType:(0,s.getDeviceType)()},c=await (0,a.gatewayFetch)(`${a.API_PATHS.PDB}/property/lookup`,{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify(l)});if(!c.ok){let e=c.status,t="Failed to post property lookup";try{let e=await c.json();t=e?.message??t}catch{}return{error:t,errorCode:e}}return await c.json()}catch(e){return console.error("Error posting property lookup:",e),{error:"Failed to post property lookup",errorCode:500}}},b=e=>{if(!e.width||!e.height)return!0;let t=e.getContext("2d");if(!t)return!0;try{let{data:r}=t.getImageData(0,0,e.width,e.height),n=Math.max(4,4*Math.floor(r.length/4/500)),i=null;for(let e=0;e<r.length;e+=n){let t=`${r[e]},${r[e+1]},${r[e+2]},${r[e+3]}`;if(null===i)i=t;else if(t!==i)return!1}return!0}catch{return!1}},_=async e=>{let t=Math.ceil(Math.max(e.getBoundingClientRect().width,e.clientWidth,e.scrollWidth)),r=Math.ceil(Math.max(e.getBoundingClientRect().height,e.clientHeight,e.scrollHeight))+32,n={backgroundColor:"#ffffff",cacheBust:!0,skipFonts:!0,width:t,height:r,style:{width:`${t}px`,height:`${r}px`,maxHeight:"none",overflow:"visible"}},o=null;for(let t=0;t<3;t++)try{let t=await i.toCanvas(e,n);if(o=t,!b(t))return t}catch(e){console.error("TCPA capture attempt failed.",e)}return o},S=async({userCat:e,canvas:t,jpegDataUrl:r,disclosureHTML:i})=>{let o,l;o=((e,t)=>{let r=e.split(","),n=r[0].match(/:(.*?);/)[1],i=window.atob(r[1]),o=i.length,s=new Uint8Array(o);for(;o--;)s[o]=i.charCodeAt(o);return new File([s],t,{type:n})})(r,`${(0,n.getOrGenerateJluvr)()}.jpg`),(l=new FormData).append("files",o),(0,a.gatewayFetch)(`${a.API_PATHS.TCPA}/file/upload`,{method:"POST",body:l});try{let r=await (0,s.getIP)();await C({ip:r,canvas:t,jluvr:(0,n.getOrGenerateJluvr)(),userAgent:navigator.userAgent,browserCodeName:navigator.appCodeName,browserName:navigator.appName,platform:navigator.platform,date:new Date,fullName:`${e?.person?.identity?.nameFull}`||`${e?.person?.identity?.nameFirst} ${e?.person?.identity?.nameLast}`.trim(),disclosureHTML:i})}catch(e){console.error("TCPA pdf upload error.",e)}},E=async({userCat:e,formEl:t,disclosureEl:r})=>{if(!t)return;let n=r?.innerHTML||"",i=await _(t);if(!i)return void console.error("TCPA screenshot error. No canvas produced.");let o=i.toDataURL("image/jpeg",.75);S({userCat:e,canvas:i,jpegDataUrl:o,disclosureHTML:n})}
2,C=async({canvas:e,jluvr:t,ip:r,userAgent:n,browserCodeName:i,browserName:o,platform:s,date:l,fullName:c})=>{let u=Math.min(1,640/e.height,500/e.width),d=Math.max(280,Math.floor(e.width*u)),f=`<img style="width:${d}px;height:auto" src="${e.toDataURL()}"><table>    <tr><td>User-Agent Header</td><td>${n}</td></tr>    <tr><td>Browser CodeName</td><td>${i}</td></tr>    <tr><td>Platform</td><td>${s}</td></tr>    <tr><td>Browser Name</td><td>${o}</td></tr>    <tr><td>IP Address</td><td>${r}</td></tr>    <tr><td>Date and Time</td><td>${l}</td></tr>    <tr><td>JLUVR</td><td>${t}</td></tr>    <tr><td>Full Name</td><td>${c}</td></tr></table><style>table{width:${d}px;margin-top:12px}table,td{border:1px solid #000;border-collapse:collapse;text-align:left;font-family:Arial,sans-serif;}td:nth-of-type(1){font-weight:bold;}td{padding:5px}</style>`;return await (0,a.gatewayFetch)(`${a.API_PATHS.TCPA}/filecontent/upload`,{method:"POST",headers:{Accept:"application/json","Content-Type":"application/json"},body:JSON.stringify({fileName:`${t}_${new Date().toISOString()}`,content:f})}),"done uploading screenshot"},x=async({brandId:e,flowId:t})=>{let r=`${a.API_PATHS.FAAS}/fb-flow/${t}?brandID=${e}`;return await (0,a.gatewayFetch)(r).then(e=>e.json()).catch(e=>{console.error("Error loading fbflow data",e)})},k=async e=>{let t=`${a.API_PATHS.CREDIT}/authentication`;try{let r=await (0,a.gatewayFetch)(t,{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify(e)});if(!r.ok){let e=r.status,t="Failed to fetch TU authentication";try{let e=await r.json();t=e?.message||t}catch{}return{error:t,errorCode:e,status:e}}return await r.json()}catch(e){return console.error("Error posting TU authentication:",e),{error:"Failed to post TU authentication",errorCode:500,status:500}}},I=async e=>{let t=`${a.API_PATHS.CREDIT}/authentication/submit`;try{let r=await (0,a.gatewayFetch)(t,{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify(e)});if(!r.ok){let e=r.status,t="Failed to submit TU authentication answers";try{let e=await r.json();t=e?.message||t}catch{}return{error:t,errorCode:e}}return await r.json()}catch(e){return console.error("Error submitting TU authentication answers:",e),{error:"Failed to submit TU authentication answers",errorCode:500}}},T=async e=>{let t=e.customerId.trim(),r=e.provider.trim();if(!t||!r)return{ok:!1,error:"customerId and provider are required"};try{let n=await (0,a.gatewayFetch)(`${a.API_PATHS.CREDIT}/id-monitoring`,{method:"PUT",headers:{"Content-Type":"application/json"},body:JSON.stringify(e)});if(!n.ok){let e="Failed to update ID monitoring";try{let t=await n.json();e=t?.message??e}catch{}return console.error("putIdMonitoring failed",{customerId:t,provider:r,status:n.status,message:e}),{ok:!1,error:e}}let i=null;try{i=await n.json()}catch{}if(i&&(!1===i.enrolled||"failed"===i.status)){let e=i.errMessage??"Failed to update ID monitoring";return console.error("putIdMonitoring failed",{customerId:t,provider:r,enrolled:i.enrolled,status:i.status,message:e}),{ok:!1,error:e}}return{ok:!0}}catch(e){return console.error("putIdMonitoring failed",{customerId:t,provider:r,error:e}),{ok:!1,error:"Failed to update ID monitoring"}}},A=async e=>{let t=e.trim();if(!t)return{ok:!1,error:"customerId is required"};try{let e=await (0,a.gatewayFetch)(`${a.API_PATHS.CREDIT}/id-monitoring/${encodeURIComponent(t)}`);if(!e.ok){let r="Failed to fetch ID monitoring";try{let t=await e.json();r=t?.message??r}catch{}return console.error("fetchIdMonitoring failed",{customerId:t,status:e.status,message:r}),{ok:!1,error:r}}let r=await e.json();return{ok:!0,data:r}}catch(e){return console.error("fetchIdMonitoring failed",{customerId:t,error:e}),{ok:!1,error:"Failed to fetch ID monitoring"}}},M=async e=>{let t=e.trim();if(!t)return{ok:!1,error:"customerId is required"};try{let e=await (0,a.gatewayFetch)(`${a.API_PATHS.CREDIT}/${encodeURIComponent(t)}/score`);if(!e.ok){let t="Failed to fetch credit score";try{let r=await e.json();t=r?.message??t}catch{}return{ok:!1,error:t}}let r=await e.json();return{ok:!0,data:r}}catch(e){return console.error("fetchCreditScore failed",{customerId:t,error:e}),{ok:!1,error:"Failed to fetch credit score"}}},O=async e=>{let t=e.trim();if(!t)return{ok:!1,error:"customerId is required"};try{let e=await (0,a.gatewayFetch)(`${a.API_PATHS.CREDIT}/${encodeURIComponent(t)}/report`);if(!e.ok){let r="Failed to fetch credit report";try{let t=await e.json();r=t?.message??r}catch{}return console.error("fetchCreditReport failed",{customerId:t,status:e.status,message:r}),{ok:!1,error:r}}let r=await e.json();return{ok:!0,data:r}}catch(e){return console.error("fetchCreditReport failed",{customerId:t,error:e}),{ok:!1,error:"Failed to fetch credit report"}}},R=async(e,t="InternetMonitoring",r)=>{let n=e.trim();if(!n)return{ok:!1,error:"customerId is required"};let i=r?.page??0,o=r?.size??15,s=new URLSearchParams({alertType:t,page:String(i),size:String(o)}),l=`${a.API_PATHS.CREDIT}/id-monitoring/alerts/${encodeURIComponent(n)}?${s.toString()}`;try{let e=await (0,a.gatewayFetch)(l);if(!e.ok){let r="Failed to fetch ID monitoring alerts";try{let t=await e.json();r=t?.message??r}catch{}return console.error("fetchIdMonitoringAlerts failed",{customerId:n,alertType:t,page:i,size:o,status:e.status,message:r}),{ok:!1,error:r}}let r=await e.json();return{ok:!0,data:Array.isArray(r)?r:[]}}catch(e){return console.error("fetchIdMonitoringAlerts failed",{customerId:n,alertType:t,page:i,size:o,error:e}),{ok:!1,error:"Failed to fetch ID monitoring alerts"}}},P=async(e,t)=>{let r=e.trim(),n=t.trim();if(!r||!n)return{ok:!1,error:"customerId and alertId are required"};try{let e=await (0,a.gatewayFetch)(`${a.API_PATHS.CREDIT}/id-monitoring/alerts/${encodeURIComponent(r)}/${encodeURIComponent(n)}`,{method:"PUT"});if(!e.ok){let t="Failed to mark alert as viewed";try{let r=await e.json();t=r?.message??t}catch{}return console.error("putIdMonitoringAlertViewed failed",{customerId:r,alertId:n,status:e.status,message:t}),{ok:!1,error:t}}return{ok:!0}}catch(e){return console.error("putIdMonitoringAlertViewed failed",{customerId:r,alertId:n,error:e}),{ok:!1,error:"Failed to mark alert as viewed"}}},D=async e=>{let{brandId:t,username:r,password:n,autoLoginToken:i,customerId:o}=e,s=!!(r&&n),l={brandId:t};
2i&&(l.autoLoginToken=i),r&&(l.username=r),n&&(l.password=n),null!=o&&(l.customerId=o),e.credcoDetails&&(l.credcoDetails=e.credcoDetails),s&&(l.fromLogin=e.fromLogin??!1);try{let e=await (0,a.gatewayFetch)(`${a.API_PATHS.CUSTOMER_ACCOUNT}/login`,{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify(l)});if(!e.ok){let t=e.status,r="Login failed";try{let t=await e.json();r=t?.message??r}catch{}return{error:r,errorCode:t}}return await e.json()}catch(e){return console.error("Membersite login failed:",{brandId:t,error:e}),{error:"Login failed",errorCode:500}}},N=async e=>{let t=e.trim();if(!t)return{ok:!1,error:"customerId is required"};try{let e=await (0,a.gatewayFetch)(`${a.API_PATHS.CUSTOMER_ACCOUNT}/customer-details?customerId=${encodeURIComponent(t)}`);if(!e.ok){let r="Failed to fetch customer details";try{let t=await e.json();r=t?.message??r}catch{}return console.error("fetchCustomerDetails failed",{customerId:t,status:e.status,message:r}),{ok:!1,error:r}}let r=await e.json();return{ok:!0,data:r}}catch(e){return console.error("fetchCustomerDetails failed",{customerId:t,error:e}),{ok:!1,error:"Failed to fetch customer details"}}},L=async e=>{try{let t=await (0,a.gatewayFetch)(`${a.API_PATHS.CUSTOMER_ACCOUNT}/update-billing-info`,{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify(e)}),r=await t.json().catch(()=>null);if(!t.ok)return{success:!1,message:r?.message??"Failed to update billing info"};return{success:r?.success??!0,message:r?.message}}catch(e){return console.error("updateBillingInfo failed",e),{success:!1,message:"Failed to update billing info"}}},F=async()=>{try{return(await fetch("/api/membersite/session",{method:"POST",credentials:"include"})).ok}catch(e){return console.error("Failed to create membersite session cookie",e),!1}},U=async()=>{try{return(await fetch("/api/membersite/session",{method:"DELETE",credentials:"include"})).ok}catch(e){return console.error("Failed to clear membersite session cookie",e),!1}},z=({p2BaseURL:e,autoLoginToken:t,jluvr:r})=>{let n=e.replace(".develop","");window.open(`${n}/Membersite/login.html?autoToken=${t}&JLUVr=${r}`,"_self")},B=async e=>{try{if(!e.config?.brandValues||!e.customerData?.customerId)return!1;let t=await D({brandId:e.config.brandValues.brandId,customerId:e.customerData.customerId,username:e.customerData.email,password:e.securePii?.pwd||""});if("error"in t||"P2"!==t.redirectTo||!t.autoLoginToken)return!1;let r=(0,n.getOrGenerateJluvr)()||e.customerData.jluvr;return z({p2BaseURL:e.config.brandValues.p2BaseURL,autoLoginToken:t.autoLoginToken,jluvr:r}),!0}catch(e){return console.error("Auto login failed:",e),!1}},j=async e=>{let{customerId:t,...r}=e;if(!t.trim())return{ok:!1,error:"customerId is required"};try{let e=await (0,a.gatewayFetch)(`${a.API_PATHS.CUSTOMER_ACCOUNT}/update-customer-pii?customerId=${encodeURIComponent(t.trim())}`,{method:"PUT",headers:{"Content-Type":"application/json"},body:JSON.stringify({password:r})});if(!e.ok){let t="Failed to update password";try{let r=await e.json();t=r?.message??t}catch{}return{ok:!1,error:t}}return{ok:!0}}catch(e){return console.error("putUpdateCustomerPassword failed",{customerId:t,error:e}),{ok:!1,error:"Failed to update password"}}},V=async({templateId:e,brandAttributes:t,catData:r,customerId:n,dynamicValues:i})=>(await (0,a.gatewayFetch)(`${a.API_PATHS.COMMUNICATION}/send`,{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({notificationType:"Welcome",templateId:e,communicationModes:["EMAIL"],brandAttributes:t,catData:r,customerId:n,dynamicValues:i,transactionalEmail:!0})})).json(),$=async e=>{let{firstName:t,lastName:r,email:n,phone:i,subject:o,message:s,brandId:l,brandDomain:c}=e;if(!t?.trim()||!r?.trim()||!n?.trim())return{ok:!1,error:"Name and email are required"};if(!i?.trim()||!o?.trim()||!s?.trim())return{ok:!1,error:"Phone, subject, and message are required"};if(!Number.isFinite(l)||l<=0||!c?.trim())return{ok:!1,error:"Invalid brand configuration"};try{let u=await (0,a.gatewayFetch)(`${a.API_PATHS.CUSTOMER_CARE}/contact-us`,{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({firstName:t.trim(),lastName:r.trim(),email:n.trim(),phone:i.trim(),subject:o.trim(),message:s.trim(),brandId:l,brandDomain:c.trim()})});
2if(!u.ok){let t="Failed to submit contact request";try{let e=await u.json();t=e?.message??t}catch{}return console.error("submitContactUs failed",{payload:e,status:u.status}),{ok:!1,error:t}}let d=await u.json();return{ok:!0,data:d}}catch(t){return console.error("submitContactUs failed",{payload:e,error:t}),{ok:!1,error:"Failed to submit contact request"}}},H=async e=>{let{emailId:t,brandId:r}=e;if(!t?.trim())return{ok:!1,error:"emailId is required"};try{let e=await (0,a.gatewayFetch)(`${a.API_PATHS.CUSTOMER_ACCOUNT}/reset-password`,{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({emailId:t,brandId:r})});if(404===e.status)return{ok:!1,error:"no_account",notFound:!0};if(!e.ok){let t="Failed to request password reset";try{let r=await e.json();t=r?.message??t}catch{}return{ok:!1,error:t}}return{ok:!0}}catch(e){return console.error("postRequestPasswordReset failed",{emailId:t,error:e}),{ok:!1,error:"Failed to request password reset"}}},G=async e=>{let{customerId:t,membershipId:r,csrId:n,discountPercentage:i}=e;try{let o=await (0,a.gatewayFetch)(`${a.API_PATHS.CUSTOMER_ACCOUNT}/discount-membership`,{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({customerId:t,membershipId:r,csrId:n,discountPercentage:i})});if(!o.ok){let t="Failed to apply discount";try{let e=await o.json();t=e?.message??t}catch{}return console.error("applyDiscount failed",{...e,status:o.status,message:t}),{ok:!1,error:t}}return{ok:!0}}catch(t){return console.error("applyDiscount failed",{...e,error:t}),{ok:!1,error:"Failed to apply discount"}}},W=async e=>{let{customerId:t,brandId:r,membershipId:n,requestedBy:i="web"}=e;try{let o=await (0,a.gatewayFetch)(`${a.API_PATHS.CUSTOMER_ACCOUNT}/reactivate-membership`,{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({customerId:t,brandId:r,membershipId:n,requestedBy:i})});if(!o.ok){let t="Failed to reactivate membership";try{let e=await o.json();t=e?.message??t}catch{}return console.error("reactivateMembership failed",{...e,status:o.status,message:t}),{ok:!1,error:t}}let s=await o.json();return{ok:!0,data:s}}catch(t){return console.error("reactivateMembership failed",{...e,error:t}),{ok:!1,error:"Failed to reactivate membership"}}},q=async e=>{let{customerId:t,brandId:r,cancelReason:n}=e;try{let i=await (0,a.gatewayFetch)(`${a.API_PATHS.CUSTOMER_ACCOUNT}/cancel-membership`,{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({customerList:[{customerId:t,brandId:r,cancelReason:n??""}],requestedBy:"web"})});if(!i.ok){let t="Failed to cancel membership";try{let e=await i.json();t=e?.message??t}catch{}return console.error("cancelMembership failed",{...e,status:i.status,message:t}),{ok:!1,error:t}}let o=await i.json(),s=(o?.cancelResponses??[]).flatMap(e=>e.membershipCancelResponses??[]).filter(e=>"success"===e.status&&e.cancellationNumber).map(e=>e.cancellationNumber);return{ok:!0,cancellationNumbers:s}}catch(t){return console.error("cancelMembership failed",{...e,error:t}),{ok:!1,error:"Failed to cancel membership"}}},J=async e=>{let{email:t,zip:r,brandId:n,brandName:i}=e;if(!t?.trim())return{ok:!1,error:"Email is required"};if(!/^\d{5}$/.test(r?.trim()??""))return{ok:!1,error:"Zip code must be exactly 5 digits"};if(!Number.isFinite(n)||n<=0||!i?.trim())return{ok:!1,error:"Invalid brand configuration"};try{let o=await (0,a.gatewayFetch)(`${a.API_PATHS.CUSTOMER_CARE}/do-not-sell`,{method:"POST",headers:{Accept:"application/json","Content-Type":"application/json"},body:JSON.stringify({email:t.trim(),zip:r.trim(),brandId:n,brandName:i.trim()})});if(!o.ok){let t="Failed to submit your request";try{let e=await o.json();t=e?.message??t}catch{}return console.error("submitDoNotSell failed",{payload:e,status:o.status}),{ok:!1,error:t}}let s=await o.json();return{ok:!0,data:s}}catch(t){return console.error("submitDoNotSell failed",{payload:e,error:t}),{ok:!1,error:"Failed to submit your request"}}},Y=async()=>{try{let e=await (0,a.gatewayFetch)(`${a.API_PATHS.CREDIT}/dispute/options`);if(!e.ok){let t="Failed to fetch dispute options";try{let r=await e.json();t=r?.message??t}catch{}return console.error("fetchDisputeOptions failed",{status:e.status,message:t}),{ok:!1,error:t}}let t=await e.json();return{ok:!0,data:t}}catch(e){return console.error("fetchDisputeOptions failed",{error:e}),{ok:!1,error:"Failed to fetch dispute options"}}},K=async(e,t)=>{let r=e.trim();if(!r)return{ok:!1,error:"customerId is required"};try{let e=await (0,a.gatewayFetch)(`${a.API_PATHS.CREDIT}/dispute/customers/${encodeURIComponent(r)}/dispute`,{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify(t)}),n={};try{n=await e.json()}catch{}if(n?.error?.message){let e="Failed to submit dispute";try{let t=JSON.parse(n.error.message);e=t?.message??n.error.message}catch{e=n.error.message}return console.error("submitDispute business error",{customerId:r,error:n.error}),{ok:!1,error:e}}if(!e.ok)return console.error("submitDispute failed",{customerId:r,status:e.status}),{ok:!1,error:"Failed to submit dispute"};return{ok:!0,data:n}}catch(e){return console.error("submitDispute failed",{customerId:r,error:e}),{ok:!1,error:"Failed to submit dispute"}}},X=async e=>{let t=e.trim();if(!t)return{ok:!1,error:"customerId is required"};try{let e=await (0,a.gatewayFetch)(`${a.API_PATHS.CREDIT}/dispute/customers/${encodeURIComponent(t)}/dispute`);if(!e.ok){let r="Failed to fetch disputes";try{let t=await e.json();r=t?.message??r}catch{}return console.error("fetchDisputes failed",{customerId:t,status:e.status,message:r}),{ok:!1,error:r}}let r=await e.json();if(r.error?.message)return console.error("fetchDisputes API error",{customerId:t,error:r.error}),{ok:!1,error:r.error.message};return{ok:!0,data:r}}catch(e){return console.error("fetchDisputes failed",{customerId:t,error:e}),{ok:!1,error:"Failed to fetch disputes"}}},Q=async(e,t)=>{let r=e.trim(),n=t.trim();if(!r||!n)return{ok:!1,error:"customerId and disputeId are required"};try{let e=await (0,a.gatewayFetch)(`${a.API_PATHS.CREDIT}/dispute/customers/${encodeURIComponent(r)}/dispute/${encodeURIComponent(n)}/investigation-results`);
2if(!e.ok){let t="Failed to fetch dispute investigation results";try{let r=await e.json();t=r?.message??t}catch{}return console.error("fetchDisputeInvestigationResults failed",{customerId:r,disputeId:n,status:e.status,message:t}),{ok:!1,error:t}}let t=await e.json();if(t?.error?.message)return console.error("fetchDisputeInvestigationResults API error",{customerId:r,disputeId:n,error:t.error}),{ok:!1,error:t.error.message};return{ok:!0,data:t}}catch(e){return console.error("fetchDisputeInvestigationResults failed",{customerId:r,disputeId:n,error:e}),{ok:!1,error:"Failed to fetch dispute investigation results"}}}},21123,e=>{"use strict";e.s(["cleanObject",()=>y,"constructObjFromDotNotation",()=>w,"flattenObject",()=>g,"flattenToDotNotation",()=>_,"formatPhoneNumber",()=>f,"getDobStringFromIdentity",()=>d,"getOrGenerateJluvr",()=>o,"initializeParamsWithCAT",()=>s,"normalizeIdentityFromForm",()=>u,"pickDottedNotationKeys",()=>v,"postSecurePiiSsnDobToCat",()=>m,"postUserCat",()=>p,"replaceCatPlaceholders",()=>E]);var t=e.i(36158),r=e.i(2502),n=e.i(40974),i=e.i(9165);let o=()=>{let e=(0,r.getQueryParam)("jluvr")||(0,r.getQueryParam)("JLUVr")||a("jluvr")||a("JLUVr")||sessionStorage.getItem("jluvr")||sessionStorage.getItem("JLUVr");return c(e)},s=async()=>{let e=o(),t=await (0,n.getIP)(),s=await (0,i.postCatCustomerData)({jluvr:e,visitorParams:{...S(window?.location?.href)},document:l({},t)});if(s?.error){let e,t,i,o,s;return e=(0,r.getQueryParam)("firstName")||(0,r.getQueryParam)("custfname")||(0,r.getQueryParam)("firstname")||"",t=(0,r.getQueryParam)("lastName")||(0,r.getQueryParam)("custlname")||(0,r.getQueryParam)("lastname")||"",i=(0,r.getQueryParam)("email")||(0,r.getQueryParam)("custemail")||"",o=(0,r.getQueryParam)("phone")||"",{person:{identity:{nameFirst:e,nameLast:t,email:i,phone:o,zip:s=(0,r.getQueryParam)("zip")||(0,r.getQueryParam)("zipCode")||(0,r.getQueryParam)("zipcode")||"",zipcode:s,address:(0,r.getQueryParam)("address")||""}},system:{tracking:{customerIp:(0,n.getIP)(),adid:(0,r.loadCorrectAdid)(),sspid:(0,r.getQueryParam)("sspid")||null,vTags:(0,r.getQueryParam)("vTags")||null,device:(0,n.getClientInfo)().deviceInfo?.deviceType}}}}return s},a=e=>{if(document.cookie)return document.cookie.split("; ").find(t=>t.startsWith(`${e}=`))?.split("=")[1]},l=(e,t)=>{let i=e?.jluvr;return{...e||{},system:{...e?.system||{},session:{...e?.session||{},jluvr:i},tracking:{...e?.system?.tracking||{},url:window.location.href,adid:(0,r.loadCorrectAdid)()||e?.system?.tracking?.adid||null,device:(0,n.getClientInfo)().deviceInfo?.deviceType,customerIp:t||null}}}},c=e=>{let r=document.cookie.match(/jluvr=([^;]+)/)?.[1]||e||null;if(!r){let e=(0,t.v4)();return document.cookie=`jluvr=${e}; path=/; max-age=3153600000; SameSite=None; Secure`,e}return document.cookie=`jluvr=${r}; path=/; max-age=3153600000; SameSite=None; Secure`,r},u=e=>{if(!e||"object"!=typeof e||Array.isArray(e))return{};let{"person.address.address":t,"person.address.street":r,"person.address.city":n,"person.address.state":i,"person.address.zipcode":o,"person.address.fullAddress":s,"person.address.apartment":a,...l}=e;delete l.person;let c=e.address??e.street??t??r,u=e.street??r??t??e.address,d=e.city??n,f=e.state??e.stateCode??i,h=e.zipcode??e.zip??o,p=e.fullAddress??s,m=e.apartment??a;return{...l,...null!=c?{address:c}:{},...null!=u?{street:u}:{},...null!=d?{city:d}:{},...null!=f?{state:f}:{},...null!=h?{zipcode:h}:{},...null!=p?{fullAddress:p}:{},...null!=m?{apartment:m}:{}}},d=e=>{if(e?.dob){let t=String(e.dob).trim().match(/^(\d{1,2})\/(\d{1,2})\/(\d{4})$/);if(t){let[,e,r,n]=t;return`${e.padStart(2,"0")}-${r.padStart(2,"0")}-${n}`}}if(e?.dobmonth==null||e?.dobday==null||e?.dobyear==null)return"";let t=String(e.dobmonth).padStart(2,"0"),r=String(e.dobday).padStart(2,"0"),n=String(e.dobyear);return`${t}-${r}-${n}`},f=(e,t=!1)=>{if(!e)return"";let r=e?.replace(/\D/g,""),n=r?.slice(-10);return r?.length>3&&r?.length<=6?n=`${n.slice(0,3)}-${n.slice(3)}`:r?.length>6&&(n=`${n.slice(0,3)}-${n.slice(3,6)}-${n.slice(6)}`),t?n:n.replace(/-/g,"")},h=e=>{if(!e||"object"!=typeof e)return e;if(Array.isArray(e))return e.map(h);let{insertDate:t,updatedDate:r,_id:n,...i}=e;return Object.keys(i).reduce((e,t)=>
2(e[t]=h(i[t]),e),{})},p=async(e,t,r)=>{let n=g(e),s=y(t),a=(e=>{if(!e)return{};let t={...e};return t.phone&&(t.phone=f(t.phone)),t["person.identity.phone"]&&(t["person.identity.phone"]=f(t["person.identity.phone"])),t.person?.identity?.phone&&(t.person.identity.phone=f(t.person.identity.phone)),t})(w({...n,...s}));a=b(a),a?.person?.identity&&delete a.person.identity.person,a&&"object"==typeof a&&!Array.isArray(a)&&(delete a._id,delete a.insertDate,delete a.updatedDate,a.document&&"object"==typeof a.document&&!Array.isArray(a.document)&&(delete a.document._id,delete a.document.insertDate,delete a.document.updatedDate));let l=o();if(!r?.sync)return(0,i.postCatCustomerData)({jluvr:l,document:a}),a;let c="__post_user_cat_timeout__",u=await Promise.race([(0,i.postCatCustomerData)({jluvr:l,document:a}),new Promise(e=>{setTimeout(()=>e(c),5e3)})]);return u===c?(console.log("CAT API timeout, returning local CAT instead."),a):u?.error?u:h(u)},m=async(e,t)=>{let r=t?.ssn?.replace(/-/g,"").trim()||"";return r?p(e||{},{"person.identity.ssn":r,...t?.dob?.trim()?{"person.identity.dob":t.dob.trim()}:{}}):e||{}},g=e=>{let t={};return!function e(r,n=""){for(let i in r)"object"==typeof r[i]&&null!==r[i]?e(r[i],n+i+"."):t[n+i]=r[i]}(e),t},y=e=>Object.keys(e).reduce((t,r)=>{let n=e[r];return"string"==typeof n&&(n=n.trim()),n&&(t[r]=n),t},{}),v=e=>!e||"object"!=typeof e||Array.isArray(e)?{}:Object.fromEntries(Object.entries(e).filter(([e])=>e.includes("."))),w=e=>{let t={...e};for(let r in e){if(!r.includes("."))continue;let n=e[r],i=r.split("."),o=t;for(let e=0;e<i.length;e++)e===i.length-1?o[i[e]]=n:(("object"!=typeof o[i[e]]||null===o[i[e]]||Array.isArray(o[i[e]]))&&(o[i[e]]={}),o=o[i[e]]);delete t[r]}return t},b=e=>{if(Array.isArray(e))return e.map(e=>b(e));if(e&&"object"==typeof e){let t={};return Object.keys(e).filter(e=>!!e).forEach(r=>{"object"==typeof e[r]?t[r]=b(e[r]):t[r]=e[r]}),t}return e},_=(e,t="")=>"object"!=typeof e||null===e?{[t]:e}:Object.keys(e).reduce((r,n)=>{let i=t?`${t}.${n}`:n;return Object.assign(r,_(e[n],i)),r},{}),S=e=>{let t={};try{for(let[r,n]of new URL(e,window.location.origin).searchParams.entries())t[r]=n}catch{}return t},E=(e,t)=>e?e.replace(/\[\[([^\]]+)\]\]/g,(e,r)=>{let n=r.trim().split("."),i=t;for(let e of n)if(null==(i=i?.[e]))return"";return String(i)}):e},40974,e=>{"use strict";e.s(["addCommas",()=>
2I,"buildFactors",()=>K,"ensureAbsoluteUrl",()=>X,"extractDisclosureAndScript",()=>B,"findActivePageConfig",()=>b,"findByValue",()=>T,"formatCreditHistory",()=>Y,"formatScoreDate",()=>J,"getAdditionalDataFromQuery",()=>l,"getAddressFromZip",()=>W,"getBillingFeatureValue",()=>x,"getClientInfo",()=>R,"getConfirmationOfferDetail",()=>N,"getConnectionSpeed",()=>M,"getCookie",()=>f,"getDCTag",()=>m,"getDeviceType",()=>P,"getFrequencyLabel",()=>F,"getIP",()=>d,"getSessionID",()=>p,"getUserCatMapping",()=>V,"initRum",()=>C,"injectCssRules",()=>S,"isExternalUrl",()=>$,"joinSplitVariants",()=>g,"loadFlow",()=>_,"loadScripts",()=>z,"omitProperties",()=>A,"onlyNumbers",()=>q,"openExternalUrl",()=>H,"pickConfig",()=>E,"replacePlaceholders",()=>k,"replaceVariables",()=>L,"scrollToElement",()=>D,"scrollToTop",()=>G,"setCookie",()=>h,"smartMerge",()=>U,"stripCustomerPii",()=>u,"trackUserEvent",()=>y,"withJornayaScript",()=>j]);var t=e.i(47800),r=e.i(36158),n=e.i(47140),i=e.i(21123),o=e.i(2502),s=e.i(48492),a=e.i(93745);let l=()=>{let e=new URLSearchParams(window.location.search),t=["afid","afId","adid","adId","jluvr","JLUVr"],r={};return t.forEach(t=>{let n=e.get(t);n&&(r[t.toLowerCase()]=n)}),e.forEach((e,n)=>{t.includes(n)||(r[n]=e)}),r},c=new Set(["email","custemail","firstname","custfname","lastname","custlname","phone","custphone","name"]),u=e=>{let t={...e};for(let e of Object.keys(t))c.has(e.toLowerCase())&&delete t[e];return t},d=async()=>{let e=e=>{let t=Math.max(0,Math.round((((e=1)=>{let t=new Date;return t.setDate(t.getDate()+e),t})().getTime()-Date.now())/1e3));document.cookie=`JediIP=${e}; path=/; max-age=${t}; SameSite=None; Secure`},t=f("JediIP");if("undefined"!==t&&t)return t.trim();let r=s.default.getState().configStore?.clientIpAddress;if(r){let t=r.trim();return e(t),t}let n=await (0,a.gatewayFetch)(`${a.API_PATHS.CONFIG_SPLIT}/client-ip`),i=(await n.text()||"").trim(),o=i;if(i)try{let e=JSON.parse(i);o="string"==typeof e?e:e?.clientIp||e?.ip||i}catch(e){o=i}let l=(o||"").trim();return l&&e(l),l},f=e=>document.cookie.split("; ").find(t=>t.startsWith(`${e}=`))?.split("=")[1],h=(e,t)=>{"undefined"!=typeof document&&(document.cookie=`${e}=${t}; path=/`)},p=()=>{let e=f("JediSessionID")||(0,r.v4)(),t=new Date;return t.setDate(t.getDate()+1),document.cookie=`JediSessionID=${e}; path=/; expires=${t.toUTCString()}`,e},m=(e,t)=>{let r=t?.system?.tracking?.vTags||(0,o.getQueryParam)(["dc","vTags"])||decodeURIComponent(f("vTags")||"");return r?(r.includes("=")||(r=`{${e?.brandValues?.brandId}=${r}}`),r):null},g=e=>e?.splitVariantIDs&&Array.isArray(e?.splitVariantIDs)&&e?.splitVariantIDs.length?`{${e.splitVariantIDs.join(",")}}`:"",y=async(e,r,n)=>{let s=await d(),c=e?.trafficConfig,h=c?.vertical?.landingPage?.pageName,m=c?.vertical.page.find(e=>e?.name===h)?.template?.name||"",y=u(l()),v=p(),w=e?.userCat?.system?.tracking?.vTags||(0,o.getQueryParam)(["dc","vTags"]);w&&!w.includes("=")&&(w=`{${e?.brandValues?.brandId}=${w}}`);let b={...y,splitVariantId:g(e),trafficVariantIDs:e?.trafficVariantIDs||[],jluvr:y.jluvr||f("jluvr")||"",eventType:r||t.EVENT_TYPE.VISITOR,templateName:m,faasID:y.faasid||"",adid:y.adid||"",brandID:y.brandid||"",deviceType:O(),customerIP:f("JediIP")||s,clientID:"JEDI",tagIds:y.tagids||"",xid:y.xid||"",afid:y.afid||"",sessionID:v,url:n||window?.location.href,dc:w,userAgentData:{userAgent:navigator.userAgent||"",additionalInfo:navigator?.userAgentData||{}},dateTime:new Date().toISOString(),connectionSpeed:M()},_=(0,i.cleanObject)(b);await (0,a.gatewayFetch)(`${a.API_PATHS.TRACKING}/user_event`,{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify(_)}).then(e=>e.json()).then(e=>e).catch(e=>{console.log({errorTrackingVisitorCount:e})})},v={ccpa:"do-not-sell-my-info","terms-of-service":"terms-and-conditions","terms-of-use":"terms-and-conditions",search:"srp","terms-and-condition":"terms-and-conditions"},w=e=>{let t=e.toLowerCase().replace(/^\//,"").replace(/\.html$/,"").replace(/\./g,"-");return v[t]??t},b=(e,t)=>{let r=w(t??window.location.pathname),n=e?.trafficConfig?.vertical?.page??[],i=n.find(e=>w(e.name)===r);if(!i){let t=e?.trafficConfig?.vertical?.landingPage?.pageName;t&&(i=n.find(e=>w(e.name)===w(t)))}return i??null},_=({flowId:e,configService:r,customerData:n,registrationCat:i,p3Cat:s,isDisclosure:a=!1,displayType:c,onExit:u,onError:d})=>{let f={...t.BASE_FLOW_CONFIG,...l(),flowid:e,configService:r,customerData:n,p3Cat:s,registrationCat:i,brandid:r?.brandValues?.brandId,adid:(0,o.loadCorrectAdid)(),isDisclosure:!1},h=((e,t)=>{for(let r of e?.vertical?.page||[])for(let e of r?.template?.component||[]){let r=e?.feature||[],n=r.find(e=>"Enable"===e.name),i=!n||!("value"in n)||!Array.isArray(n.value)||!n.value.length||"object"!=typeof n.value[0]||!("mobile"in n.value[0])&&!("desktop"in n.value[0])||n.value[0].desktop||n.value[0].mobile;if(r.some(e=>"Flow.ID"===e.name&&i&&(Array.isArray(e.value)?e.value.includes(t):e.value===t)))return e}return null})(r.trafficConfig,e||""),p=h?.name;p&&p.includes(".")&&(f.displayType=(e=>{if(!e)return"";let t=e.split(".").pop()||"";return/fullpage/i.test(t)?"fullPage":/lightbox/i.test(t)?"lightbox":t})(p),"embedded"===f.displayType.toLowerCase()&&a&&(f.isDisclosure=!0)),c&&(f.displayType=c),n||delete f.customerData;let m=0,g=setInterval(()=>{if(m++,window.fbFlowInit){clearInterval(g),console.log("Loaded on attempt",m);try{window.fbFlowInit.setDataViaInvoke({...f,callFnWhenClose:()=>{console.log("Flow closed"),u?.()}})}catch(e){console.error("fbFlowInit.setDataViaInvoke failed",e),d?.()}}else m>=1e3?(clearInterval(g),console.log("fbFlowInit not available after max attempts"),d?.()):m%50==0&&
2console.log(`retrying fbFlowInit on attempt ${m}`)},300)},S=({id:e,css:t})=>{let r=()=>{document.getElementById(e)?.remove()},n=t.trim();if(!n)return r(),r;try{new CSSStyleSheet().replaceSync(n)}catch(t){return console.error(`Invalid CSS for ${e}:`,t),r(),r}r();let i=document.createElement("style");return i.id=e,i.textContent=n,document.head.appendChild(i),r},E=(e,t)=>{let{trafficConfig:r,brandValues:n}=e;if(!r)return{flowId:"",brandValues:{},pageConfig:[],faasFeatures:{},faasComponents:{},templateName:"",getFaasFeature:()=>null,getBillingFeature:()=>null};let i=s.default.getState().activePageConfig,o=i?[i]:[],a=i?.template?.name,l=i?.template?.component?.find(e=>/onload\.fullpage/i.test(e?.name||"")),c=l?.feature?.find(e=>"Flow.ID"===e.name)?.value;return{flowId:c,brandValues:n,pageConfig:o,faasFeatures:(l?.feature||[]).reduce((e,t)=>(e[t.name]=t.value,e),{}),faasComponents:l,templateName:a,getFaasFeature:(e,t)=>{let r=i?.template?.component.find(t=>t.name===e);return r&&t?r.feature?.find(e=>e.name===t)||null:r||null},getBillingFeature:e=>r?.vertical?.billing?.find(t=>t.name===e)}},C=()=>{let e=["ssn","socialsecuritynumber","social_security_number","creditcard","credit_card","creditcardnumber","credit_card_number","cardnumber","card_number","ccnumber","cc_number","pan"],t="[REDACTED_SSN]",r="[REDACTED_CARD]",i=["ssn","socialsecurity","social_security"],o=["creditcard","credit_card","cardnumber","card_number","ccnumber","cc_number","pan","cvv","securitycode","security_code","expirationdate","expiration_date","expirydate","expiry_date","expirymonth","expiryyear","expirationmonth","expirationyear","encryptedcardnumber","encryptedsecuritycode","encryptedccnumber","encryptedcvv","encryptedexpirymonth","encryptedexpiryyear","issuerbin","enddigits","last4","monthiv","yeariv","cvviv","ccnumberiv"],s=/\b\d{3}-?\d{2}-?\d{4}\b/g,a=/\b(?:\d[ -]*?){13,19}\b/g,l=e=>e?e.replace(a,e=>(e=>{let t=e.replace(/\D/g,"");if(t.length<13||t.length>19)return!1;let r=0,n=!1;for(let e=t.length-1;e>=0;e-=1){let i=Number(t[e]);n&&(i*=2)>9&&(i-=9),r+=i,n=!n}return r%10==0})(e)?r:e).replace(s,t):e||"",c=(n,s=new WeakSet)=>{if(n&&"object"==typeof n&&!s.has(n)){if(s.add(n),Array.isArray(n))return void n.forEach((e,t)=>{if("string"==typeof e){n[t]=l(e);return}c(e,s)});Object.entries(n).forEach(([a,u])=>{if("string"==typeof u){let s=a.toLowerCase(),c=i.some(e=>s.includes(e))?"ssn":o.some(e=>s.includes(e))?"credit":null,d=s.includes("url")||s.includes("href")||s.includes("referrer");n[a]="ssn"===c?t:"credit"===c?r:d?(t=>{if(!t)return t||"";let r=l(t);try{let t=new URL(r,window.location.origin);return e.forEach(e=>{t.searchParams.has(e)&&t.searchParams.set(e,"[REDACTED]")}),t.toString()}catch(e){return r}})(u):l(u);return}
2c(u,s)})}};n.default?.hasReplayBeenInitedRef?.current||n.default.init({config:{applicationId:"c9022ce0-fe27-4833-b88d-3a0f450ac52c",clientToken:"pub9a0c32f641b045f1b31cdddd4842c8bb",service:"Jedi",proxy:"https://kloudfuse4.realtytrac.com/ddrumproxy",env:"production",version:"1.0.0",sessionSampleRate:20,defaultPrivacyLevel:"allow",enablePrivacyForActionName:!0,enableSessionRecording:!0,enableLogCollection:!0,beforeSend:e=>(c(e),!0),silentMultipleInit:!0}})},x=(e,t,r)=>e?.find(e=>e.name===t)?.feature?.find(e=>e.name===r)?.value,k=(e,t)=>e?.replace(/\[\[(\w+(\.\w+)*)\]\]/g,(e,r)=>{let n=r.split("."),i=t;for(let e of n)if(void 0===(i=i?.[e]))return"";return"number"==typeof i?i.toString():i}),I=(e,t)=>{let r=Math.abs(e)?.toString().replace(/\D/g,"").replace(/\B(?=(\d{3})+(?!\d))/g,","),n=t?`${t} `:"";return e<0?`-${n}${r}`:`${n}${r}`},T=(e,t,r)=>Array.isArray(e)&&0!==e.length?e?.find(e=>t.split(".").reduce((e,t)=>e&&e[t],e)===r):e,A=(e,t)=>Object.keys(e).reduce((r,n)=>(t.includes(n)||(r[n]=e[n]),r),{}),M=()=>{let e=(()=>{if("undefined"==typeof navigator)return null;let e=navigator;return e.connection||e.mozConnection||e.webkitConnection||null})();return e&&"number"==typeof e.downlink?e.effectiveType:null},O=()=>{let e=navigator.userAgent,t=/Mobi|Android/i.test(e),r=/Tablet|iPad/i.test(e);return{deviceType:t?"mobile":r?"tablet":"desktop"}},R=()=>{let e=navigator.userAgent,t=navigator?.userAgentData||{};return{userAgent:e,deviceInfo:O(),browserInfo:(()=>{let e,{userAgent:t}=navigator,r=t.match(/(opera|chrome|safari|firefox|msie|trident(?=\/))\/?\s*(\d+)/i)||[];if(/trident/i.test(r[1]))return e=/\brv[ :]+(\d+)/g.exec(t)||[],`IE ${e[1]||""}`;if("Chrome"===r[1]){if(null!==(e=t.match(/\b(OPR|Edge)\/(\d+)/)))return e.slice(1).join(" ").replace("OPR","Opera");if(null!==(e=t.match(/\b(Edg)\/(\d+)/)))return e.slice(1).join(" ").replace("Edg","Edge (Chromium)")}return r=r[2]?[r[1],r[2]]:[navigator.appName,navigator.appVersion,"-?"],null!==(e=t.match(/version\/(\d+)/i))&&r.splice(1,1,e[1]),r.join(" ")})(),userAgentDataInfo:t}},P=()=>{let e=navigator.userAgent||navigator?.vendor||window?.opera;return/android|iphone|ipad|ipod|blackberry|iemobile|opera mini/i.test(e.toLowerCase())?"mobile":"desktop"},D=e=>{let t=document.getElementById(e);if(t||(t=document.querySelector(e)),t){let e=t.getBoundingClientRect().top+window.pageYOffset+-8;window.scrollTo({top:e,behavior:"smooth"})}},N=(e,t,r)=>{if(t){let t=T(e?.trafficConfig.vertical.billing,"name","Offer")?.feature[0];return t?.value}{let t=e?.trafficConfig.vertical.billing.filter(e=>e.feature.find(e=>"Offer.ID"===e.name)).flatMap(e=>e.feature.map(e=>e.value)),n=r?.transaction?.offerId;return t.find(e=>e.offerId===n)}},L=(e,t,r)=>{let n=t.brandValues.p2BaseURL.replace("develop.",""),i=e.replace("[[domain]]",t.brandValues.domain).replace("[[brand.phone]]",t.brandValues.brandPhone).replace("[[brandPhone]]",t.brandValues.brandPhone).replace("[[brandphone]]",t.brandValues.brandPhone).replace("[[brandCCEmail]]",t.brandValues.brandCCEmail).replace("[[p2baseurl]]",n),o=N(t,!r,r),s=new Date;s.setDate(s.getDate()+(o?.trialDuration||0));let a=new Intl.DateTimeFormat("en-US",{weekday:"long"}),l=new Intl.DateTimeFormat("en-US",{month:"long",day:"2-digit"}),c=new Intl.DateTimeFormat("en-US",{hour:"2-digit",minute:"2-digit"});return i.replace("[[displayTrialEndDate]]",l.format(s)).replace("[[displayTrialEndDay]]",a.format(s)).replace("[[displayTrialEndTime]]",c.format(new Date)).replace("[[displayofferamount]]",`$${o.displayOfferAmount}`).replace("[[displayOfferAmount]]",`$${o.displayOfferAmount}`).replace("[[displaytrialduration]]",o.displayTrialDuration).replace("[[displayTrialDuration]]",o.displayTrialDuration)},F=e=>{switch(e){case"1m":return"month";case"1w":return"week";case"1d":return"day";case"1y":return"year";default:return""}},U=(e={},t={})=>{let r=e??{},n=t??{},i={...r};for(let e in n){let t=r[e],o=n[e];t&&o&&"object"==typeof t&&"object"==typeof o&&!Array.isArray(t)&&!Array.isArray(o)?i[e]=U(t,o):t&&!o?i[e]=t:i[e]=o}return i},z=e=>{try{let t=document.querySelector('script[src*="create.lidstatic"]');t&&t.remove();let r=document.createElement("script");r.id="LeadiDscript_campaign",r.type="text/javascript",r.async=!0,r.src=e[0]?.src||"",r.onload=()=>console.log("Jornaya script loaded ✅"),r.onerror=()=>console.error("❌ Failed to load Jornaya script:",r.src),document.body.appendChild(r)}catch(e){console.error("Error running Jornaya script loader:",e)}},B=e=>{let t=new DOMParser().parseFromString(e,"text/html"),r=t.querySelector("body"),n=t.querySelectorAll("script");return{disclosure:r?.innerHTML,scripts:n}},j=(e,t)=>t?`
3<input type="hidden" id="leadid_tcpa_disclosure" />
4<label for="leadid_tcpa_disclosure" class="font-normal mb-0 font-size-inherit-important">${e}
5</label>
6<input id="leadid_token" name="universal_leadid" type="hidden" value="null"/>
7<script id="LeadiDscript_campaign" type="text/javascript" async="" src="https://create.lidstatic.com/campaign/875b9e96-4921-fe1c-21a8-f2390510c8cd.js?snippet_version=2"></script>`:`
8<label for="leadid_tcpa_disclosure" class="font-normal mb-0 font-size-inherit">${e}
9</label>`;function V(e,t,r){return{...e?.brandValues,...t,system:{tracking:{...t?.system?.tracking,jluvr:t?.jluvr||(0,o.getQueryParam)(["jluvr","JLUVr"])||"",vTags:t?.system?.tracking?.vTags||(0,o.getQueryParam)(["dc","vTags"])||"",sspid:t?.system?.tracking?.sspid,iuid:t?.system?.tracking?.iuid,lid:t?.system?.tracking?.lid,subid1:t?.system?.tracking?.subid1,xuid:t?.system?.tracking?.xuid,xid:t?.system?.tracking?.xid}},person:{identity:{...t?.person?.identity,nameFirst:t?.person?.identity?.nameFirst,nameLast:t?.person?.identity?.nameLast,email:t?.person?.identity?.email,phone:t?.person?.identity?.phone,zipcode:t?.person?.identity?.zip,address:r?.address||t?.person?.address||t?.person?.identity?.address||(0,o.getQueryParam)(["address","custaddress"])||""},address:{...t?.person?.address,street:t?.person?.address||t?.person?.identity?.address||(0,o.getQueryParam)(["address","custaddress"])||""}}}}let $=e=>{try{return new URL(e),!0}catch{return!1}},H=e=>{let t=s.default.getState().cat,r=(0,i.replaceCatPlaceholders)(e,t);window.open(r,"_blank","noopener,noreferrer")},G=()=>{window.scrollTo({top:0,behavior:"smooth"})};async function W(e,t){let r=e?.trim();if(!r)return null;let n=new URLSearchParams({q:r});t&&n.set("type",t);try{let e=await fetch(`/api/geocode?${n.toString()}`,{method:"GET",headers:{Accept:"application/json"}});if(!e.ok)return null;let t=await e.json();return Array.isArray(t)?t:null}catch(e){return console.error("Geocoding error:",e),null}}let q=e=>/^[0-9]+$/g.test(e),J=e=>{if(!e)return;let t=new Date(e);if(!isNaN(t.getTime()))return t.toLocaleDateString("en-US",{month:"short",day:"numeric",year:"numeric"})};function Y(e){return e?Object.entries(e).map(([e,t])=>({month:e,score:Number(t)}))?.reverse():[]}function K(e){return t.FACTOR_CONFIG.map(({label:r,valueKey:n,factorKey:i,impact:o})=>{let s=e[n],a="positive"===String(e[i]).toLowerCase();return{label:r,value:null!=s?String(s):"—",borderColor:a?t.POSITIVE_COLOR:t.NEGATIVE_COLOR,impact:o}})}let X=e=>/^https?:\/\//i.test(e)?e:`https://${e}`},40519,50059,e=>{"use strict";var t=e.i(3257);let r=e=>{let t,r=new Set,n=(e,n)=>{let i="function"==typeof e?e(t):e;if(!Object.is(i,t)){let e=t;t=(null!=n?n:"object"!=typeof i||null===i)?i:Object.assign({},t,i),r.forEach(r=>r(t,e))}},i=()=>t,o={setState:n,getState:i,getInitialState:()=>s,subscribe:e=>(r.add(e),()=>r.delete(e))},s=t=e(n,i,o);return o},n=e=>{let n=e?r(e):r,i=e=>(function(e,r=e=>e){let n=t.default.useSyncExternalStore(e.subscribe,t.default.useCallback(()=>r(e.getState()),[e,r]),t.default.useCallback(()=>r(e.getInitialState()),[e,r]));return t.default.useDebugValue(n),n})(n,e);return Object.assign(i,n),i},i=e=>e?n(e):n;e.s(["create",()=>i],40519);let o={get url(){return`file://${e.P("node_modules/.pnpm/[email protected]_@[email protected][email protected][email protected][email protected][email protected]_/node_modules/zustand/esm/middleware.mjs")}`}},s=e=>!!e.dispatchFromDevtools&&"function"==typeof e.dispatch,a=new Map,l=e=>{let t=a.get(e);return t?Object.fromEntries(Object.entries(t.stores).map(([e,t])=>[e,t.getState()])):{}},c=/.+ (.+) .+/,u=/^([^@]+)@/,d=(e,t={})=>(r,n,i)=>{let d,{enabled:h,anonymousActionType:p,store:m,...g}=t;try{d=(null!=h?h:(o.env?o.env.MODE:void 0)!=="production")&&window.__REDUX_DEVTOOLS_EXTENSION__}catch(e){}if(!d)return e(r,n,i);let{connection:y,...v}=((e,t,r)=>{if(void 0===e)return{type:"untracked",connection:t.connect(r)};let n=a.get(r.name);if(n)return{type:"tracked",store:e,...n};let i={connection:t.connect(r),stores:{}};return a.set(r.name,i),{type:"tracked",store:e,...i}})(m,d,g),w=!0;i.setState=(e,t,o)=>{let s=r(e,t);if(!w)return s;let a=void 0===o?{type:p||function(e){var t,r,n;if(!e)return;let i=e.split("\n"),o=i.findIndex(e=>e.includes("api.setState"));if(o<0)return;let s=(null==(t=i[o+1])?void 0:t.trim())||"";return(null==(r=c.exec(s))?void 0:r[1])||(null==(n=u.exec(s))?void 0:n[1])}(Error().stack)||"anonymous"}:"string"==typeof o?{type:o}:o;return void 0===m?null==y||y.send(a,n()):null==y||y.send({...a,type:`${m}/${a.type}`}
9,{...l(g.name),[m]:i.getState()}),s},i.devtools={cleanup:()=>{y&&"function"==typeof y.unsubscribe&&y.unsubscribe(),((e,t)=>{if(void 0===t)return;let r=a.get(e);r&&(delete r.stores[t],0===Object.keys(r.stores).length&&a.delete(e))})(g.name,m)}};let b=(...e)=>{let t=w;w=!1,r(...e),w=t},_=e(i.setState,n,i);if("untracked"===v.type?null==y||y.init(_):(v.stores[v.store]=i,null==y||y.init(Object.fromEntries(Object.entries(v.stores).map(([e,t])=>[e,e===v.store?_:t.getState()])))),s(i)){let e=!1,t=i.dispatch;i.dispatch=(...r)=>{(o.env?o.env.MODE:void 0)==="production"||"__setState"!==r[0].type||e||(console.warn('[zustand devtools middleware] "__setState" action type is reserved to set state from the devtools. Avoid using it.'),e=!0),t(...r)}}return y.subscribe(e=>{var t;switch(e.type){case"ACTION":if("string"!=typeof e.payload)return void console.error("[zustand devtools middleware] Unsupported action format");return f(e.payload,e=>{if("__setState"===e.type){if(void 0===m)return void b(e.state);1!==Object.keys(e.state).length&&console.error(`
10                    [zustand devtools middleware] Unsupported __setState action format.
11                    When using 'store' option in devtools(), the 'state' should have only one key, which is a value of 'store' that was passed in devtools(),
12                    and value of this only key should be a state object. Example: { "type": "__setState", "state": { "abc123Store": { "foo": "bar" } } }
13                    `);let t=e.state[m];return void(null==t||JSON.stringify(i.getState())!==JSON.stringify(t)&&b(t))}s(i)&&i.dispatch(e)});case"DISPATCH":switch(e.payload.type){case"RESET":if(b(_),void 0===m)return null==y?void 0:y.init(i.getState());return null==y?void 0:y.init(l(g.name));case"COMMIT":if(void 0===m){null==y||y.init(i.getState());break}return null==y?void 0:y.init(l(g.name));case"ROLLBACK":return f(e.state,e=>{if(void 0===m){b(e),null==y||y.init(i.getState());return}b(e[m]),null==y||y.init(l(g.name))});case"JUMP_TO_STATE":case"JUMP_TO_ACTION":return f(e.state,e=>{void 0===m?b(e):JSON.stringify(i.getState())!==JSON.stringify(e[m])&&b(e[m])});case"IMPORT_STATE":{let{nextLiftedState:r}=e.payload,n=null==(t=r.computedStates.slice(-1)[0])?void 0:t.state;if(!n)return;void 0===m?b(n):b(n[m]),null==y||y.send(null,r);break}case"PAUSE_RECORDING":return w=!w}return}}),_},f=(e,t)=>{let r;try{r=JSON.parse(e)}catch(e){console.error("[zustand devtools middleware] Could not parse the received json",e)}void 0!==r&&t(r)};function h(e,t){let r;try{r=e()}catch(e){return}return{getItem:e=>{var n;let i=e=>null===e?null:JSON.parse(e,null==t?void 0:t.reviver),o=null!=(n=r.getItem(e))?n:null;return o instanceof Promise?o.then(i):i(o)},setItem:(e,n)=>r.setItem(e,JSON.stringify(n,null==t?void 0:t.replacer)),removeItem:e=>r.removeItem(e)}}let p=e=>t=>{try{let r=e(t);if(r instanceof Promise)return r;return{then:e=>p(e)(r),catch(e){return this}}}catch(e){return{then(e){return this},catch:t=>p(t)(e)}}},m=(e,t)=>(r,n,i)=>{let o,s={storage:h(()=>window.localStorage),partialize:e=>e,version:0,merge:(e,t)=>({...t,...e}),...t},a=!1,l=0,c=new Set,u=new Set,d=s.storage;if(!d)return e((...e)=>{console.warn(`[zustand persist middleware] Unable to update item '${s.name}', the given storage is currently unavailable.`),r(...e)},n,i);let f=()=>{let e=s.partialize({...n()});return d.setItem(s.name,{state:e,version:s.version})},m=i.setState;i.setState=(e,t)=>(m(e,t),f());let g=e((...e)=>(r(...e),f()),n,i);i.getInitialState=()=>g;let y=()=>{var e,t;if(!d)return;let i=++l;a=!1,c.forEach(e=>{var t;return e(null!=(t=n())?t:g)});let h=(null==(t=s.onRehydrateStorage)?void 0:t.call(s,null!=(e=n())?e:g))||void 0;return p(d.getItem.bind(d))(s.name).then(e=>{if(e)if("number"!=typeof e.version||e.version===s.version)return[!1,e.state];else{if(s.migrate){let t=s.migrate(e.state,e.version);return t instanceof Promise?t.then(e=>[!0,e]):[!0,t]}console.error("State loaded from storage couldn't be migrated since no migrate function was provided")}return[!1,void 0]}).then(e=>{var t;if(i!==l)return;let[a,c]=e;if(r(o=s.merge(c,null!=(t=n())?t:g),!0),a)return f()}).then(()=>
13{i===l&&(null==h||h(n(),void 0),o=n(),a=!0,u.forEach(e=>e(o)))}).catch(e=>{i===l&&(null==h||h(void 0,e))})};return i.persist={setOptions:e=>{s={...s,...e},e.storage&&(d=e.storage)},clearStorage:()=>{null==d||d.removeItem(s.name)},getOptions:()=>s,rehydrate:()=>y(),hasHydrated:()=>a,onHydrate:e=>(c.add(e),()=>{c.delete(e)}),onFinishHydration:e=>(u.add(e),()=>{u.delete(e)})},s.skipHydration||y(),o||g};e.s(["createJSONStorage",()=>h,"devtools",()=>d,"persist",()=>m],50059)},48492,e=>{"use strict";e.s(["default",()=>a]);var t=e.i(40974),r=e.i(40519),n=e.i(50059);let i={cat:"",activePageName:"",configStore:{},configStoreType:"",activeFeatureProperty:null},o=()=>{let e=window.location.hostname.split(".");return e.length>2?e.slice(-2).join("."):window.location.hostname},s=(0,n.createJSONStorage)(()=>({getItem:e=>localStorage.getItem(`${e}:${o()}`),setItem:(e,t)=>{localStorage.setItem(`${e}:${o()}`,t)},removeItem:e=>{localStorage.removeItem(`${e}:${o()}`)}})),a=(0,r.create)()((0,n.devtools)((0,n.persist)((e,r)=>({...i,configStore:{},cat:null,activePageConfig:null,setConfigStore:t=>e(()=>({configStore:t})),setCat:t=>e(()=>({cat:t})),setActiveFeatureProperty:t=>e(()=>({activeFeatureProperty:t})),setActivePageConfig:()=>{let n=r().configStore,i=(0,t.findActivePageConfig)(n);e(()=>({activePageConfig:i,activePageName:i?.name??""}))},updateConfigStore:t=>e(e=>({...e,...t})),clearConfigStore:()=>e({}),getBillingFeatureValue:(e,t)=>{let n=r().configStore.trafficConfig?.vertical?.billing;return n?.find(t=>t.name===e)?.feature?.find(e=>e.name===t)?.value},getConfigPage:e=>{let t=r().configStore.trafficConfig,n=t?.vertical;return n?.page?.find(t=>t.name===e)},getConfigPageFeature:(e,t)=>{let n=r().configStore.trafficConfig,i=n?.vertical,o=i?.page?.find(t=>t.name===e);return o?.template?.component?.find(e=>e.name===t)?.feature},getProcessorType:()=>{let e=r().configStore.trafficConfig?.vertical?.billing;return e?.find(e=>"Payment"===e.name)?.feature?.find(e=>"Processor.Type"===e.name)?.value},getVertical:()=>r().configStore?.trafficConfig?.vertical?.name,getAdIdDetails:()=>r().configStore?.adIDDetails}),{name:"jedi-config",partialize:e=>({activeFeatureProperty:e.activeFeatureProperty,configStore:e.configStore}),storage:s,skipHydration:!0}),{name:"JediConfig",trace:!0}))},2502,e=>{"use strict";e.s(["getAdidFromCookie",()=>d,"getBrandIdFromDomain",()=>a,"getHostname",()=>o,"getLatLng",()=>i,"getLogoUrlFromDomain",()=>l,"getQueryParam",()=>h,"isDomain",()=>s,"loadCorrectAdid",()=>f,"storeAdidInCookie",()=>u]);var t=e.i(48492),r=e.i(47800),n=e.i(4730);n.default.dependencies?.react;let i=()=>new Promise(e=>{navigator.geolocation?navigator?.geolocation?.getCurrentPosition(t=>{e({lat:t.coords.latitude,lng:t.coords.longitude,hasLocation:!0,error:0})},t=>{let r=t.code||0;console.error("Error getting location:",t),t.code===t.PERMISSION_DENIED?(console.warn("User denied the request for Geolocation."),r=1):t.code===t.POSITION_UNAVAILABLE?(console.warn("Location information is unavailable."),r=2):t.code===t.TIMEOUT&&(console.warn("The request to get user location timed out."),r=3),e({lat:null,lng:null,hasLocation:!1,error:r})},{maximumAge:1/0,timeout:1/0}):e({lat:null,lng:null,hasLocation:!1,error:0})}),o=()=>window.location?window.location.hostname:"",s=e=>{let t=o();return!!t&&t.includes(e)},a=()=>{let e=Object.values(r.BRAND_ID_MAPPING).flatMap(e=>Object.entries(e)).find(([e])=>s(e));return e?.[1]??null},l=(e=!1)=>{let t=a();return t?`https://d66e0sqdh4l2y.cloudfront.net/${t}/assets/logo-${e?"mobile":"desktop"}.svg`:""},c="adid",u=e=>{"undefined"==typeof document||!e||d()||(document.cookie=`${c}=${encodeURIComponent(e)}; path=/; max-age=1800; SameSite=None; Secure`)},d=()=>{if("undefined"==typeof document)return null;let e=document.cookie.split("; ").find(e=>e.startsWith(`${c}=`));if(!e)return null;try{return decodeURIComponent(e.split("=")[1])||null}catch{return null}},f=()=>{let e=t.default?.getState()?.getAdIdDetails();if(e?.idAd)return e.idAd;let r=h("adid");return r||d()},h=e=>{let t=new URLSearchParams(window?.location?.search);if(Array.isArray(e)){for(let r of e){let e=t.get(r);if(null!==e)return e}return null}if("object"==typeof e&&null!==e&&!Array.isArray(e)){let r={};for(let n in e)if(Object.prototype.hasOwnProperty.call(e,n)){let i=t.get(e[n]);r[n]=i}return r}return t.get(e)}}]);

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.