PageSourceSearch

https://dash.ticto.com.br/_next/static/chunks/pages/installment-calculation-b83d32edfc47a748.js

js ticto.com.br collected 2026-09-24 13:07:41 UTC 8,583 bytes, 1 lines download raw bytes

1try{!function(){var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},t=(new e.Error).stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="4a2c401f-3e28-42d9-8194-e9feb90e0315",e._sentryDebugIdIdentifier="sentry-dbid-4a2c401f-3e28-42d9-8194-e9feb90e0315")}()}catch(e){}(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[6313],{27199:(e,t,s)=>{"use strict";s.r(t),s.d(t,{default:()=>h});var l=s(37876),a=s(28336),n=s(77621),r=s(34075),o=s(77328),c=s.n(o),i=s(14232),d=s(93435),u=s.n(d);let h=()=>{let[e,t]=(0,i.useState)(0),s=(0,i.useRef)(null),o=[];for(let t=1;t<=12;t++){let s=function(e,t,s){if(e/=100,s<=0)return e;if(1===s)return e;let l=.0349*Math.pow(1+t,s)*e/(Math.pow(1+t,s)-1);return l<5?-1:l}(e,.0349,t);if(s<0)continue;let l=s*t;o.push({installments:t,installmentAmount:s.toFixed(2),totalAmount:l.toFixed(2)})}return(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)(c(),{children:(0,l.jsx)("title",{children:"Calculadora de Parcelas"})}),(0,l.jsx)("div",{className:u().container,children:(0,l.jsxs)(a.A,{className:u().calculatorCard,children:[(0,l.jsx)("div",{className:u().logoContainer,children:(0,l.jsx)(r.g,{})}),(0,l.jsx)("b",{children:"Calculadora de Parcelas"}),(0,l.jsx)(n.A,{title:"Valor da Oferta",type:"price",id:"mainAmount",currencyIsoCode:"BRL",placeholder:"Digite o valor",onChange:()=>{if(s.current){let e=parseFloat((s.current.value||"0").replace(/\D/g,""));t(isNaN(e)?0:e)}},ref:s}),(0,l.jsx)("span",{className:u().interestRate,children:"Taxa de juros: 3,49% ao m\xeas"}),e>0&&(0,l.jsx)("div",{className:u().installmentsList,children:(0,l.jsxs)("table",{className:u().resultsTable,children:[(0,l.jsx)("thead",{children:(0,l.jsxs)("tr",{className:u().tableHeader,children:[(0,l.jsx)("th",{children:"Parcelas"}),(0,l.jsx)("th",{children:"Valor"}),(0,l.jsx)("th",{children:"Total"})]})}),(0,l.jsx)("tbody",{children:o.map(e=>(0,l.jsxs)("tr",{className:u().tableRow,children:[(0,l.jsxs)("td",{className:u().installmentNumber,children:[e.installments,"x"]}),(0,l.jsxs)("td",{className:u().installmentValue,children:["R$ ",e.installmentAmount]}),(0,l.jsxs)("td",{className:u().totalAmount,children:["R$ ",e.totalAmount]})]},e.installments))})]})})]})})]})}},28853:(e,t,s)=>{(window.__NEXT_P=window.__NEXT_P||[]).push(["/installment-calculation",function(){return s(27199)}])},34075:(e,t,s)=>{"use strict";s.d(t,{g:()=>a});var l=s(37876);let a=e=>(0,l.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",x:"0",y:"0",enableBackground:"new 0 0 127.3 37.6",version:"1.1",viewBox:"0 0 127.3 37.6",xmlSpace:"preserve",className:e.className,children:[(0,l.jsx)("path",{d:"M67.1 12.6h3.5v17.8h-3.5V12.6zM87.3 24.1c-.2 1-.6 1.9-1.3 2.6-.9.9-2 1.3-3.5 1.3-1.6 0-2.9-.6-3.9-1.8-1-1.2-1.4-2.9-1.4-4.9 0-1.9.5-3.5 1.4-4.6s2.3-1.7 3.9-1.7c1.5 0 2.7.4 3.6 1.3.7.7 1.1 1.5 1.3 2.6h3.5c-.2-1.2-.5-2.2-1.1-3.1-.7-1.2-1.7-2.1-3-2.7-1.3-.6-2.7-.9-4.3-.9-1.7 0-3.3.4-4.6 1.1-1.3.8-2.4 1.8-3.1 3.3-.7 1.4-1.1 3.1-1.1 4.9 0 2 .4 3.7 1.1 5.1.8 1.4 1.8 2.5 3.1 3.3 1.3.8 2.9 1.2 4.6 1.2 1.6 0 3-.3 4.3-.9 1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.8-1.8-.8-1.8-1.8-1.8zm0 3.3c-.8 0-1.5-.7-1.5-1.5s.7-1.5 1.5-1.5 1.5.7 1.5 1.5-.7 1.5-1.5 1.5zM103.4 14.9v-2.4h-4.9V8.8h-1.2l-1.7 2.9c-.4.6-.9 1.1-1.6 1.3l-2 .7V15h3v10.8c0 1.3.2 2.3.6 3 .4.7 1 1.2 1.8 1.4.8.2 2 .4 3.5.4.7 0 1.6 0 2.4-.1v-2.9c-.9.1-1.7.1-2.3.1-1 0-1.7-.1-2.1-.4-.4-.3-.6-.9-.6-1.8V14.9h5.1z"}),(0,l.jsx)("g",{children:(0,l.jsx)("path",{d:"M33.6.3h-31c-1.7 0-3 1.4-3 3v30.9c0 1.7 1.4 3 3 3h30.9c1.7 0 3-1.4 3-3V3.3c.1-1.6-1.3-3-2.9-3zm-4.7 13.2h-7.7v17H15v-11c0-.4.2-.8.5-1.1l4-4c.1-.1.2-.2.2-.4 0-.1-.1-.3-.2-.4-.1-.1-.2-.2-.4-.2H7.3V8.9h21.6v4.6z"})})]})},36793:e=>{e.exports={inputContainer:"styles_inputContainer__oG6Ip",secondary:"styles_secondary__IeOhl",success:"styles_success__T01o3",danger:"styles_danger__zVU_o",noMargin:"styles_noMargin__HuO75",description:"styles_description__G2Hll",input:"styles_input__cudZ0",icon:"styles_icon__cFrfw",tooltip:"styles_tooltip__6Hhw2",phone:"styles_phone__St1px"}},77621:(e,t,s)=>{"use strict";s.d(t,{A:()=>x});var l=s(37876),a=s(83832),n=s(94434),r=s(60913),o=s(14232),c=s(7001),i=s(80807),d=s(24146),u=s(26978),h=s.n(u),_=s(58262),p=s(36793),m=s.n(p);let x=(0,o.forwardRef)((e,t)=>{var s,u;let{title:p,noMargin:x=!1,type:f,description:y=null,defaultValue:j,errors:g,autoComplete:v="off",outsideRef:w,badge:b=null,help:N=null,link:C=null,mask:V=null,maskChar:A=null,currency:T,currencyIsoCode:M,float:z,icon:R,callback:k,counter:H=!1,id:I,...D}=e,E=(0,o.useId)().replace(/:/g,""),F=null!=I?I:"input-".concat(E),{handleShowHelpModal:L}=(0,n.D)(),[O,S]=(0,o.useState)((0,l.jsx)(d.whC,{})),[B,P]=(0,o.useState)(!1),[K,U]=(0,o.useState)(f),{disabled:G}=D;return(0,o.useEffect)(()=>{"password"===f&&(B?(S((0,l.jsx)(d.Rds,{})),U("text")):(S((0,l.jsx)(d.whC,{})),U("password")))},[B]),(0,l.jsxs)("fieldset",{className:"".concat(m().inputContainer," ").concat(x&&m().noMargin," "),children:[p&&(0,l.jsxs)("label",{htmlFor:F,children:[p,C&&(0,l.jsx)("sup",{children:C}),b&&(0,l.jsx)("sup",{"data-tip":b,children:(0,l.jsx)(i.AOl,{})}),N&&(0,l.jsx)("a",{onClick:()=>L(N),children:(0,l.jsx)("sup",{className:m().badge,"data-tip":b,children:(0,l.jsx)(i.AOl,{})})})]}),b&&(0,l.jsx)(_.A,{place:"top",effect:"solid",className:m().tooltip,delayShow:200,delayHide:100,offset:{top:5}}),(0,l.jsxs)("span",{className:"".concat(m().input," ").concat((R||"password"===f)&&m().icon),children:[V?(0,l.jsx)(h(),{id:F,mask:V,ref:t,inputRef:t,maskChar:A,placeholder:" ",type:K,autoComplete:v,defaultValue:j,...D}):T||z?(0,l.jsx)("input",{id:F,type:K,ref:t,placeholder:" ",onKeyUp:e=>(e=>{(e=>{var t,s;let l=null!=(s=null==(t=e.currentTarget.value.match(/\d/g))?void 0:t.join(""))?s:"",a=(0,r.XO)(l);e.currentTarget.value=T?(0,r.y7)(a):a})(e),k&&k(e.target.value)})(e),autoComplete:v,defaultValue:j,...D}):"number"===f?(0,l.jsx)("input",{id:F,type:"text",ref:t,placeholder:" ",onKeyPress:e=>(e=>{/[0-9]/.test(e.key)||e.preventDefault()})(e),autoComplete:v,defaultValue:j,...D}):"price"===f?(0,l.jsx)("input",{id:F,type:"text",ref:t,placeholder:" ",onKeyUp:e=>{(0,r.dZ)(e,M)},autoComplete:v,defaultValue:j,...D}):"range"===f?(0,l.jsx)(c.A.Range,{id:F,...D,ref:t}):k?(0,l.jsx)("input",{...D,id:F,type:K,ref:t,autoComplete:v,onCh
1ange:e=>k&&k(e.target.value)}):(0,l.jsx)("input",{...D,id:F,type:K,ref:t,autoComplete:v}),R&&"password"!=f&&R,"password"===f&&(0,l.jsx)("a",{className:m().showPassword,onClick:()=>{G||P(!B)},children:O})]}),y&&(0,l.jsx)("small",{className:m().description,children:y}),H&&(0,l.jsxs)("div",{className:"text-muted small text-end mt-n5",children:[null!=(s=null==j?void 0:j.length)?s:0,"/",null!=(u=null==D?void 0:D.maxLength)?u:0]}),null!=g&&(0,l.jsx)(a.y,{errors:g,type:f})]})})},93435:e=>{e.exports={container:"styles_container__82wAD",headerTicto:"styles_headerTicto__IBFIf",footerTicto:"styles_footerTicto__rdmS9",calculatorCard:"styles_calculatorCard__Bfxrz",logoContainer:"styles_logoContainer__xLFAn",amountLabel:"styles_amountLabel__rfEC8",mainAmount:"styles_mainAmount__yMH22",interestRate:"styles_interestRate__vsEDc",installmentsList:"styles_installmentsList__4W90t",resultsTable:"styles_resultsTable__k77lT",tableHeader:"styles_tableHeader__VMINr",tableRow:"styles_tableRow__GqpHt",installmentNumber:"styles_installmentNumber__ufm67",installmentValue:"styles_installmentValue__Eh560",totalAmount:"styles_totalAmount__1N8gm",gradientButton:"styles_gradientButton__oKyUh"}}},e=>{e.O(0,[8858,636,6593,8792],()=>e(e.s=28853)),_N_E=e.O()}]);

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.