1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[78,6067,7871,4738,4708],{57871:function(e,t,n){n.d(t,{lR:function(){return c},Es:function(){return d},ht:function(){return u}});var r=n(57437),o=n(18848),i=n(68575),a=n(48116);let l=["First.Name","Email","USD.Exchange.nextValue"],c=e=>{let{content:t,mergeTags:n}=e,a=u(t,n||{},(0,i.v9)(e=>e.userCurrencies));return a?(0,r.jsx)("div",{style:{overflowWrap:"break-word",wordBreak:"break-word",whiteSpace:"pre-wrap",width:"100%",maxWidth:"100%",boxSizing:"border-box",display:"block"},className:"notification-content",dangerouslySetInnerHTML:{__html:o.Z.sanitize(a,{ADD_ATTR:["target","rel"]})}}):(0,r.jsx)("div",{children:"No hay contenido disponible."})},u=(e,t,n)=>{let r=Object.entries(t).reduce((e,t)=>{let[n,r]=t;return e[n]=r,e},{});return(e||"").replace(RegExp(l.map(e=>e.includes("nextValue")?"{{".concat(e,"}}(.+?)(?=\\s|<)"):"{{".concat(e,"}}")).join("|"),"g"),e=>{let t=e.replace(/{{|}}/g,"");if(t.includes("nextValue")){let e=t.split("nextValue")[1],l=t.split(e)[0],c=r[l];if("USD.Exchange.nextValue"===l){var o,i;let t=(null===(o=n.fiats.find(e=>e.symbol===c))||void 0===o?void 0:o.usdRate)||1,r=(null===(i=n.fiats.find(e=>e.symbol===c))||void 0===i?void 0:i.symbol)||"USD",l=(Number(e)*Number(t)).toString();return"".concat(r," ").concat((0,a.dN)(Number(l),"fiat")," ")}return e}return r[t]||""})},s=(e,t)=>{if(null!=e&&"object"==typeof e)return t.split(".").reduce((e,t)=>null!=e&&"object"==typeof e&&t in e?e[t]:void 0,e)},d=(e,t)=>{let{templateProperties:n,transaction:r,mergeTags:o,currencyList:i,userData:l}=t;if(!e)return e;let c=null!=l?l:null;if(null==c){let e=window.sessionStorage;if(e)try{let t=e.getItem("persist:user");if(t){let e=JSON.parse(t);null!=e.data&&"object"==typeof e.data&&(c=e.data)}}catch(e){}}return e.replace(/\{\{([^}]+)\}\}([\d.]+)?/g,(e,t,l)=>{var u,d,f,p,m;let b=t.trim();if(b.startsWith("user.")){let e=b.slice(5).trim(),t=c?s(c,e):void 0;return null==t?"":String(t)}if(b.startsWith("transaction.")){if(!r)return e;let t=b.slice(12).trim();if(!t)return e;let n=s(r,t);return null==n?"":String(n)}if(n&&b in n)return String(n[b]);if("First.Name"===b||"Email"===b)return null!==(u=o[b])&&void 0!==u?u:"";if("USD.Exchange.nextValue"===b&&null!=l){let e=o["USD.Exchange.nextValue"],t=null!==(p=null===(d=i.fiats.find(t=>t.symbol===e))||void 0===d?void 0:d.usdRate)&&void 0!==p?p:1,n=null!==(m=null===(f=i.fiats.find(t=>t.symbol===e))||void 0===f?void 0:f.symbol)&&void 0!==m?m:"USD",r=Number(l)*Number(t);return"".concat(n," ").concat((0,a.dN)(r,"fiat")," ")}return e})}},36067:function(e,t,n){n.r(t),n.d(t,{SnackbarProvider:function(){return s},useSnackbar:function(){return d}});var r=n(57437),o=n(2265),i=n(60033),a=n(73986),l=n(73126);let c=o.createContext(void 0),u=o.forwardRef((e,t)=>(0,r.jsx)(l.Z,{elevation:6,ref:t,variant:"filled",...e})),s=e=>{let{children:t}=e,[n,l]=o.useState({open:!1,message:"",type:"success",position:{vertical:"top",horizontal:"center"},autoHideDuration:3e3}),{t:s}=(0,i.i)(),d=o.useCallback(function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"success",n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{vertical:"top",horizontal:"center"},r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:3e3;l({open:!0,message:e,type:t,position:n,autoHideDuration:r})},[]),f=()=>{l(e=>({...e,open:!1}))},p=o.useMemo(()=>({showMessage:d}),[d]);return(0,r.jsxs)(c.Provider,{value:p,children:[t,(0,r.jsx)(a.Z,{open:n.open,autoHideDuration:n.autoHideDuration,onClose:f,anchorOrigin:n.position,children:(0,r.jsx)(u,{onClose:f,severity:n.type,sx:{backgroundColor:"info"===n.type?"#2196F3":void 0},children:s(n.message)})})]})},d=()=>{let e=o.useContext(c);if(!e)throw Error("useSnackbar must be used within a SnackbarProvider");return e}},48116:function(e,t,n){n.d(t,{TQ:function(){return l},dN:function(){return o},ft:function(){return c},jr:function(){return a},lb:function(){return u},rN:function(){return s},x3:function(){return i}});var r=n(68651);let o=(e,t)=>{let n=t.startsWith("crypto/"),r=(e,t)=>{let n=10**t;return Math.trunc(e*n)/n},o=(e,t)=>{if(0===e)return"0";let[n,o]=r(e,t).toString().split("."),i=n.replace(/\B(?=(\d{3})+(?!\d))/g,",");return o?"".concat(i,".").concat(o):i};return n?1e-8>Math.abs(e)?"0":o(e,6).replace(/(\.\d*?[1-9])0+$/,"$1"):.01>Math.abs(e)?"0":o(e,2).replace(/(\.\d*?[1-9])0+$/,"$1")},i=(e,t)=>{let n=t.startsWith("crypto/"),o=new r.Z(e),i=(e,t)=>e.decimalPlaces(t,r.Z.ROUND_DOWN),a=(e,t)=>{if(e.isZero())return"0";let[n,r=""]=i(e,t).toFixed().split("."),o=n.replace(/\B(?=(\d{3})+(?!\d))/g,",");return r?"".concat(o,".").concat(r):o};return n?o.abs().isLessThan("0.00000001")?"0":a(o,6).replace(/(\.\d*?[1-9])0+$/,"$1"):o.abs().isLessThan("0.01")?"0":a(o,2).replace(/(\.\d*?[1-9])0+$/,"$1")},a=e=>{let t=Math.abs(e),n=e<0?"-":"";if(t>=1e6){let e=(Math.floor(t/1e4)/100).toFixed(2).replace(/\.00$/,"");return"".concat(n).concat(e,"M")}if(t>=1e3){let e=(Math.floor(t/10)/100).toFixed(2).replace(/\.00$/,"");return"".concat(n).concat(e,"k")}return"".concat(n).concat((Math.floor(100*t)/100).toFixed(2).replace(/\.00$/,""))},l=(e,t)=>
1(null==t?void 0:t.cryptos.some(t=>t.symbol===e))?"crypto/".concat(e):"fiat/".concat(e),c=(e,t)=>{let n=null==t?void 0:t.cryptos.find(t=>t.symbol===e),r=null==t?void 0:t.fiats.find(t=>t.symbol===e);return n?{type:"crypto/".concat(e),logoUrl:n.logoUrl}:r?{type:"fiat/".concat(e),logoUrl:r.logoUrl}:{type:"unknown",logoUrl:void 0}},u=e=>new r.Z(e).toFormat(2,r.Z.ROUND_DOWN,{decimalSeparator:".",groupSeparator:",",groupSize:3}),s=(e,t,n)=>{let o=new r.Z(e).dividedBy(new r.Z(t)).multipliedBy(n);return o.isNaN()?0:o.toNumber()}},288:function(e,t,n){n.d(t,{J:function(){return o},U:function(){return r}});let r=[{socialNetworkKey:"reddit",iconName:"ic_reddit.svg"},{socialNetworkKey:"telegram",iconName:"ic_telegram.svg"},{socialNetworkKey:"x",iconName:"ic_x.svg"},{socialNetworkKey:"facebook",iconName:"ic_facebook.svg"}],o=(e,t,n)=>{let r="";switch(e){case"reddit":r="https://www.reddit.com/submit?title=".concat(encodeURIComponent(t),"&type=TEXT");break;case"x":r="https://twitter.com/intent/tweet?text=".concat(encodeURIComponent(t));break;case"telegram":r="https://t.me/share/url?url=".concat(encodeURIComponent(n),"&text=").concat(encodeURIComponent(t));break;case"facebook":r="https://www.facebook.com/sharer/sharer.php?u=".concat(encodeURIComponent(n),""e=").concat(encodeURIComponent(t))}return r}}}]);
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.