@cling-se/widget 0.7.3 → 0.7.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.umd.js CHANGED
@@ -157,7 +157,7 @@ $t(documentTemplateView.smsContent) $t(documentTemplateView.readMore)
157
157
  {{docLink}}`},viewed:{text:`$t(documentTemplateView.reminder)
158
158
  $t(documentTemplateView.smsContent) $t(documentTemplateView.readMore)
159
159
 
160
- {{docLink}}`}}},email:"email",enterYour:"Enter your {{thing}}",event:{accepted:"Document signed by {{by}}.",denied:"Document denied by {{by}}.",event_plural:"events",expired:"Document expired.",requestChange:"Document manually marked as {{status}}.",sent:"Document sent to {{to}}.",statusChanged:"Document marked as {{status}}.",viewed:"Has been viewed",viewedName:"{{name}} viewed the document."},goBack:"Go back",less:"less",login:"Login",logout:"Logout",myPages:{docCallout:{form:{text:"You can view all previous documents you've recieved to your email through the document library.",title:"Document library"},loginLink:"login link",goToMyPagesTitle:"Go to your pages of documents"},documentItem:{approved:"Approved",expired:"Expired"},documentsPlaceholder:"You haven't received any documents.",invoice:{browserTabTitle:"Invoice from"},pageDescription:"Here you will find all your received documents.",requestForm:{alreadySentDescription:"A login link was already sent to {{email}}. It may take a minute before you receive it.",alreadySentTitle:"Login link already sent",emailFormat:"Valid format: name@example.com",emailRequired:"Enter your email",sendLink:"Send login link",sentDescription:"We've sent a link to {{email}}. Use the link to login.",sentDescriptionSub:"For security reasons, you can only login via login link.",sentTitle:"Login link sent to your inbox"},title:"My pages"},name:"name",orgNoShort:"Co. registration number",participant_plural:"participants",phone:"phone",price:{approx:"Approximate price",fixed:"Fixed price",markup:"Markup",maxPrice:"max price",net:"Net total",openAcc:"Open account",openAccMaxPrice:"Open account with max price",openAccPrice:"Open account",price:"price",price_plural:"prices",pricing:"pricing",proposal:"Package options",total:"Total price"},print:"Print{{thing,inlineSpace}}",reference:"reference",replyBy:"Reply by",see:"see",select:"Select{{thing,inlineSpace}}",send:"send{{thing,inlineSpace}}",series:rl.series,show:"Show{{thing,inlineSpace}}",socialNo:"social security number",status:{accepted:"Signed",active:"Active",archived:"Archived",completed:"Completed",denied:"Denied",draft:"Draft",new:"Draft",semiSigned:"Partially signed",sent:"Sent",signed:"Signed"},summaryBottom:{chooseFrom:"Choose between selectable options",forDetails:"for details",noOfOptions:"{{count}}",option:"option",option_plural:"options",reverseVat:"VAT {{- amount}}. Reverse tax liability applies"},theDocument:"the document",theSender:"the sender",times:"time",times_plural:"times",total:"total",tryAgain:"Try again",unitType:rl.unitType,vat:rl.vat},AY=ie.brand.charAt(0).toUpperCase()+ie.brand.slice(1),$Y={sign:"unterschreiben",accept:"Akzeptieren",address:"Adresse",and:"und",answerFeedback:{intermediate:{title:"Danke, dass Sie Ihre Gedanken mit uns teilen."},no:{start:{action:"Abschicken",placeholder:"Was sollten wir verbessern?",text:"Gibt es etwas Bestimmtes, das Sie uns mitteilen m\xF6chten, das wir verbessern k\xF6nnen?",title:"Vielen Dank f\xFCr Ihren Beitrag."},success:{action:"Erfahren Sie mehr \xFCber $t(appBrand)",secondary:"Gehen Sie zur\xFCck zum Dokument",text:"Ihr Feedback wurde perfekt abgeschickt. Unser Team wird Ihr Feedback mit gro\xDFer Sorgfalt pr\xFCfen.",title:"Vielen Dank."}},start:{no:"Nein",title:"Hat es Ihnen Spa\xDF gemacht, $t(appBrand) zur Anzeige dieses Dokuments zu verwenden?",yes:"Ja"},yes:{action:"Melden Sie sich kostenlos an",secondary:"Erfahren Sie mehr \xFCber $t(appBrand)",text:"Erstellen und versenden Sie sch\xF6ne Dokumente mit $t(appBrand). Entdecken Sie alle Vorteile des Versands webbasierter Dokumente mit elektronischen Signaturen.",title:"Nutzen Sie $t(appBrand) kostenlos."},custom:{title:"Vielen Dank.",text:"Ihr Feedback wurde perfekt abgeschickt. Unser Team wird Ihr Feedback mit gro\xDFer Sorgfalt pr\xFCfen.",action:"Gehen Sie zur\xFCck zum Dokument"}},answerModal:{answerSuccess:"Ihre Antwort wurde perfekt gesendet.",bankId:{component:{defaultError:"Etwas ist schief gelaufen. Vergewissern Sie sich, dass Sie Ihre Sozialversicherungsnummer korrekt eingegeben haben und versuchen Sie es erneut.",signingInterrupted:"Unterschrift unterbrochen, erneut versuchen...",startOnThisDevice:"D\xE9marrer BankID sur cet appareil",validations:{socialNo:{personalNumber:"Ung\xFCltige Sozialversicherungsnummer",required:"Geben Sie Ihre Sozialversicherungsnummer ein"}},viewText:{canceled:{text:"Unterzeichnung abgebrochen. Bitte versuchen Sie es erneut",title:"Unterzeichnung unterbrochen"},error:{text:"Es ist ein Fehler aufgetreten. Bitte versuchen Sie es erneut.",title:"Es ist ein Fehler aufgetreten"},form:{text:"Geben Sie Ihre Sozialversicherungsnummer ein, um mit der Unterzeichnung der Vereinbarung zu beginnen.",title:"Unterschreiben Sie das Dokument mit BankID"},new:{spinnerText:"Scannen Sie den QR-Code auf Ihrem Ger\xE4t.",text:"\xD6ffnen Sie BankID auf Ihrem Ger\xE4t und unterschreiben Sie die Vereinbarung.",title:"Unterschreiben Sie das Dokument"},signing:{spinnerText:"Unterschreiben Sie das Dokument.",text:"\xD6ffnen Sie BankID auf Ihrem Ger\xE4t und unterzeichnen Sie die Vereinbarung.",title:"Unterzeichnung l\xE4uft"},waiting:{spinnerText:"Ich warte darauf, dass Sie BankID \xF6ffnen.",text:"\xD6ffnen Sie BankId auf Ihrem Ger\xE4t und unterschreiben Sie die Vereinbarung.",title:"Unterschreiben Sie das Dokument"}}},start:{action:"Unterschreiben mit BankID",text:"Akzeptieren und signieren Sie das Dokument mit BankID.",title:"Unterschreiben mit BankID"},success:{text:"$t(answerModal.successText)",textFallback:"$t(answerModal.successTextFallback)",title:"$t(answerModal.successTitle)"}},decline:{component:{inputPlaceholder:"Optional. Hinterlassen Sie einen Kommentar, warum Sie ablehnen."},start:{action:"Ablehnen",text:"Um dieses Dokument abzulehnen, best\xE4tigen Sie bitte, indem Sie auf die Schaltfl\xE4che unten klicken",title:"Dokument ablehnen"},success:{text:"Danke, dass Sie eine Antwort hinterlassen haben.",textFallback:"$t(answerModal.decline.success.text)",title:"Sie haben das Dokument abgelehnt."}},signature:{component:{draw:{canvasLabel:"Signatur zeichnen",tab:"Zeichnen"},subTitle:"Unterschriftsmethode w\xE4hlen",terms:"Mit meiner Unterschrift erkl\xE4re ich mich damit einverstanden, dass die verwendete elektronische Signatur eine Darstellung meiner handschriftlichen Unterschrift ist - und ebenso g\xFCltig ist.",text:{canvasLabel:"Vorschau",nameLabel:"Unterzeichnet von",namePlaceholder:"Geben Sie Ihren Namen ein",tab:"Typ"}},start:{action:"Unterschreiben & Akzeptieren",text:"",title:"Dokument akzeptieren"},success:{text:"$t(answerModal.successText)",textFallback:"$t(answerModal.successTextFallback)",title:"$t(answerModal.successTitle)"}},successText:"Sobald das Dokument von allen beteiligten Parteien unterzeichnet wurde, erhalten Sie eine E-Mail an {{email}} mit einer versiegelten Kopie des Dokuments.",successTextFallback:"Sobald das Dokument von allen beteiligten Parteien unterzeichnet wurde, k\xF6nnen Sie zu dieser Webseite zur\xFCckkehren, um eine versiegelte und vollst\xE4ndige Kopie des Dokuments herunterzuladen.",successTextFallbackSingle:"Das Dokument ist nun unterzeichnet und vervollst\xE4ndigt.",successTextSingle:"Es wurde eine Best\xE4tigungs-E-Mail an {{email}} mit einer versiegelten Kopie des Dokuments gesendet.",successTitle:"Sie haben das Dokument signiert."},appBrand:AY,approved:"genehmigt",approx:"ungef\xE4hr",cancel:"Abbrechen",chapters:{answerButtons:{approveDescription:"Wir haben {{- sender}} informiert, dass das Dokument genehmigt wurde.",approveTitle:"Das Dokument wurde genehmigt!",denyDescription:"Wir haben {{- sender}} informiert, dass Sie nicht interessiert sind.",denyTitle:"Das Dokument wurde abgelehnt",editPropDes:"Eigentumsbezeichnung bearbeiten",enterPropDes:"Eigentumsbezeichnung eingeben",inPersonSignatureHint:"Es wurde eingestellt, dass Sie das Dokument in Person unterschreiben m\xFCssen. Wenn Sie stattdessen eine digitale Kopie unterschreiben m\xF6chten kontaktieren Sie uns bitte.",waitingDescription:"Es wird gewartet bis {{remaining}} Andere eine Antwort gegeben haben.",youHave:"Sie haben "},articleItem:{eligibleForDeduction:"Berechtigt f\xFCr {{type,deepNested:deduction}}-Rabatt"},articleList:{changeShowVatTooltip:"Umschalten zum anzeigen von {{type}}",title:"Services / Produkte"},packageGroup:{errorCallout:"W\xE4hlen Sie mindestens eine Option",selectableOptions:"W\xE4hlbare Optionen"},packageItem:{add:"Option hinzuf\xFCgen",select:"Option ausw\xE4hlen",selected:"Ausgew\xE4hlt"},parties:{allRiskAndLiability:"Hat alle Risiko- und Haftpflichtversicherungen",fTax:"Zertifiziert f\xFCr F-tax"},pricingSummary:{blocks:{approx:"Ungef\xE4hrer Preis",deductionSubValue:"Gesamtpreis ohne Rabatt {{price}}",maxPrice:"Maximaler Preis",maxPriceVat:"Maximaler Preis {{vat}}",net:"Netto",price:"Preis",rounding:"Gerundet",subTitleArticles:"Bei Produkten/Dienstleistungen mit fixen Kosten",summary:"Zusammenfassung",total:"Gesamt",typeDeduction:"Nach {{type,deepNested:deduction}}-Rabatt"},placeholder:{description:"W\xE4hlen Sie die Option(en) die Ihnen am besten passen, durch Klicken auf ",descriptionBold:"Ausw\xE4hlen",title:"W\xE4hlen Sie eine Option"},terms:{houseWork:`Der Gesamtpreis nach Steuerabzug f\xFCr {{type,deepNested:deduction}}-Arbeiten setzt voraus, dass die geleisteten Arbeiten steuerlich absetzbar sind, dass der K\xE4ufer einen ausreichenden Betrag f\xFCr den Steuerabzug zur Verf\xFCgung hat und dass dieser nicht f\xFCr andere {{type,deepNested:deduction}}-Arbeiten verwendet wurde. Der K\xE4ufer ist f\xFCr die Kontrolle dieser Informationen verantwortlich.
160
+ {{docLink}}`}}},email:"email",enterYour:"Enter your {{thing}}",event:{accepted:"Document signed by {{by}}.",denied:"Document denied by {{by}}.",event_plural:"events",expired:"Document expired.",requestChange:"Document manually marked as {{status}}.",sent:"Document sent to {{to}}.",statusChanged:"Document marked as {{status}}.",viewed:"Has been viewed",viewedName:"{{name}} viewed the document."},goBack:"Go back",less:"less",login:"Login",logout:"Logout",myPages:{docCallout:{form:{text:"You can view all previous documents you've recieved to your email through the document library.",title:"Document library"},loginLink:"login link",goToMyPagesTitle:"Go to your pages of documents"},documentItem:{approved:"Approved",expired:"Expired"},documentsPlaceholder:"You haven't received any documents.",invoice:{browserTabTitle:"Invoice from"},pageDescription:"Here you will find all your received documents.",requestForm:{alreadySentDescription:"A login link was already sent to {{email}}. It may take a minute before you receive it.",alreadySentTitle:"Login link already sent",emailFormat:"Valid format: name@example.com",emailRequired:"Enter your email",sendLink:"Send login link",sentDescription:"We've sent a link to {{email}}. Use the link to login.",sentDescriptionSub:"For security reasons, you can only login via login link.",sentTitle:"Login link sent to your inbox"},title:"My pages"},name:"name",orgNoShort:"Co. registration number",participant_plural:"participants",phone:"phone",price:{approx:"Approximate price",fixed:"Fixed price",markup:"Markup",maxPrice:"max price",net:"Net total",openAcc:"Open account",openAccMaxPrice:"Open account with max price",openAccPrice:"Open account",price:"price",price_plural:"prices",pricing:"pricing",proposal:"Package options",total:"Total price"},print:"Print{{thing,inlineSpace}}",reference:"reference",replyBy:"Reply by",see:"see",select:"Select{{thing,inlineSpace}}",send:"send{{thing,inlineSpace}}",series:rl.series,show:"Show{{thing,inlineSpace}}",socialNo:"social security number",status:{accepted:"Signed",active:"Active",archived:"Archived",expired:"Expired",completed:"Completed",denied:"Denied",draft:"Draft",new:"Draft",semiSigned:"Partially signed",sent:"Sent",signed:"Signed"},summaryBottom:{chooseFrom:"Choose between selectable options",forDetails:"for details",noOfOptions:"{{count}}",option:"option",option_plural:"options",reverseVat:"VAT {{- amount}}. Reverse tax liability applies"},theDocument:"the document",theSender:"the sender",times:"time",times_plural:"times",total:"total",tryAgain:"Try again",unitType:rl.unitType,vat:rl.vat},AY=ie.brand.charAt(0).toUpperCase()+ie.brand.slice(1),$Y={sign:"unterschreiben",accept:"Akzeptieren",address:"Adresse",and:"und",answerFeedback:{intermediate:{title:"Danke, dass Sie Ihre Gedanken mit uns teilen."},no:{start:{action:"Abschicken",placeholder:"Was sollten wir verbessern?",text:"Gibt es etwas Bestimmtes, das Sie uns mitteilen m\xF6chten, das wir verbessern k\xF6nnen?",title:"Vielen Dank f\xFCr Ihren Beitrag."},success:{action:"Erfahren Sie mehr \xFCber $t(appBrand)",secondary:"Gehen Sie zur\xFCck zum Dokument",text:"Ihr Feedback wurde perfekt abgeschickt. Unser Team wird Ihr Feedback mit gro\xDFer Sorgfalt pr\xFCfen.",title:"Vielen Dank."}},start:{no:"Nein",title:"Hat es Ihnen Spa\xDF gemacht, $t(appBrand) zur Anzeige dieses Dokuments zu verwenden?",yes:"Ja"},yes:{action:"Melden Sie sich kostenlos an",secondary:"Erfahren Sie mehr \xFCber $t(appBrand)",text:"Erstellen und versenden Sie sch\xF6ne Dokumente mit $t(appBrand). Entdecken Sie alle Vorteile des Versands webbasierter Dokumente mit elektronischen Signaturen.",title:"Nutzen Sie $t(appBrand) kostenlos."},custom:{title:"Vielen Dank.",text:"Ihr Feedback wurde perfekt abgeschickt. Unser Team wird Ihr Feedback mit gro\xDFer Sorgfalt pr\xFCfen.",action:"Gehen Sie zur\xFCck zum Dokument"}},answerModal:{answerSuccess:"Ihre Antwort wurde perfekt gesendet.",bankId:{component:{defaultError:"Etwas ist schief gelaufen. Vergewissern Sie sich, dass Sie Ihre Sozialversicherungsnummer korrekt eingegeben haben und versuchen Sie es erneut.",signingInterrupted:"Unterschrift unterbrochen, erneut versuchen...",startOnThisDevice:"D\xE9marrer BankID sur cet appareil",validations:{socialNo:{personalNumber:"Ung\xFCltige Sozialversicherungsnummer",required:"Geben Sie Ihre Sozialversicherungsnummer ein"}},viewText:{canceled:{text:"Unterzeichnung abgebrochen. Bitte versuchen Sie es erneut",title:"Unterzeichnung unterbrochen"},error:{text:"Es ist ein Fehler aufgetreten. Bitte versuchen Sie es erneut.",title:"Es ist ein Fehler aufgetreten"},form:{text:"Geben Sie Ihre Sozialversicherungsnummer ein, um mit der Unterzeichnung der Vereinbarung zu beginnen.",title:"Unterschreiben Sie das Dokument mit BankID"},new:{spinnerText:"Scannen Sie den QR-Code auf Ihrem Ger\xE4t.",text:"\xD6ffnen Sie BankID auf Ihrem Ger\xE4t und unterschreiben Sie die Vereinbarung.",title:"Unterschreiben Sie das Dokument"},signing:{spinnerText:"Unterschreiben Sie das Dokument.",text:"\xD6ffnen Sie BankID auf Ihrem Ger\xE4t und unterzeichnen Sie die Vereinbarung.",title:"Unterzeichnung l\xE4uft"},waiting:{spinnerText:"Ich warte darauf, dass Sie BankID \xF6ffnen.",text:"\xD6ffnen Sie BankId auf Ihrem Ger\xE4t und unterschreiben Sie die Vereinbarung.",title:"Unterschreiben Sie das Dokument"}}},start:{action:"Unterschreiben mit BankID",text:"Akzeptieren und signieren Sie das Dokument mit BankID.",title:"Unterschreiben mit BankID"},success:{text:"$t(answerModal.successText)",textFallback:"$t(answerModal.successTextFallback)",title:"$t(answerModal.successTitle)"}},decline:{component:{inputPlaceholder:"Optional. Hinterlassen Sie einen Kommentar, warum Sie ablehnen."},start:{action:"Ablehnen",text:"Um dieses Dokument abzulehnen, best\xE4tigen Sie bitte, indem Sie auf die Schaltfl\xE4che unten klicken",title:"Dokument ablehnen"},success:{text:"Danke, dass Sie eine Antwort hinterlassen haben.",textFallback:"$t(answerModal.decline.success.text)",title:"Sie haben das Dokument abgelehnt."}},signature:{component:{draw:{canvasLabel:"Signatur zeichnen",tab:"Zeichnen"},subTitle:"Unterschriftsmethode w\xE4hlen",terms:"Mit meiner Unterschrift erkl\xE4re ich mich damit einverstanden, dass die verwendete elektronische Signatur eine Darstellung meiner handschriftlichen Unterschrift ist - und ebenso g\xFCltig ist.",text:{canvasLabel:"Vorschau",nameLabel:"Unterzeichnet von",namePlaceholder:"Geben Sie Ihren Namen ein",tab:"Typ"}},start:{action:"Unterschreiben & Akzeptieren",text:"",title:"Dokument akzeptieren"},success:{text:"$t(answerModal.successText)",textFallback:"$t(answerModal.successTextFallback)",title:"$t(answerModal.successTitle)"}},successText:"Sobald das Dokument von allen beteiligten Parteien unterzeichnet wurde, erhalten Sie eine E-Mail an {{email}} mit einer versiegelten Kopie des Dokuments.",successTextFallback:"Sobald das Dokument von allen beteiligten Parteien unterzeichnet wurde, k\xF6nnen Sie zu dieser Webseite zur\xFCckkehren, um eine versiegelte und vollst\xE4ndige Kopie des Dokuments herunterzuladen.",successTextFallbackSingle:"Das Dokument ist nun unterzeichnet und vervollst\xE4ndigt.",successTextSingle:"Es wurde eine Best\xE4tigungs-E-Mail an {{email}} mit einer versiegelten Kopie des Dokuments gesendet.",successTitle:"Sie haben das Dokument signiert."},appBrand:AY,approved:"genehmigt",approx:"ungef\xE4hr",cancel:"Abbrechen",chapters:{answerButtons:{approveDescription:"Wir haben {{- sender}} informiert, dass das Dokument genehmigt wurde.",approveTitle:"Das Dokument wurde genehmigt!",denyDescription:"Wir haben {{- sender}} informiert, dass Sie nicht interessiert sind.",denyTitle:"Das Dokument wurde abgelehnt",editPropDes:"Eigentumsbezeichnung bearbeiten",enterPropDes:"Eigentumsbezeichnung eingeben",inPersonSignatureHint:"Es wurde eingestellt, dass Sie das Dokument in Person unterschreiben m\xFCssen. Wenn Sie stattdessen eine digitale Kopie unterschreiben m\xF6chten kontaktieren Sie uns bitte.",waitingDescription:"Es wird gewartet bis {{remaining}} Andere eine Antwort gegeben haben.",youHave:"Sie haben "},articleItem:{eligibleForDeduction:"Berechtigt f\xFCr {{type,deepNested:deduction}}-Rabatt"},articleList:{changeShowVatTooltip:"Umschalten zum anzeigen von {{type}}",title:"Services / Produkte"},packageGroup:{errorCallout:"W\xE4hlen Sie mindestens eine Option",selectableOptions:"W\xE4hlbare Optionen"},packageItem:{add:"Option hinzuf\xFCgen",select:"Option ausw\xE4hlen",selected:"Ausgew\xE4hlt"},parties:{allRiskAndLiability:"Hat alle Risiko- und Haftpflichtversicherungen",fTax:"Zertifiziert f\xFCr F-tax"},pricingSummary:{blocks:{approx:"Ungef\xE4hrer Preis",deductionSubValue:"Gesamtpreis ohne Rabatt {{price}}",maxPrice:"Maximaler Preis",maxPriceVat:"Maximaler Preis {{vat}}",net:"Netto",price:"Preis",rounding:"Gerundet",subTitleArticles:"Bei Produkten/Dienstleistungen mit fixen Kosten",summary:"Zusammenfassung",total:"Gesamt",typeDeduction:"Nach {{type,deepNested:deduction}}-Rabatt"},placeholder:{description:"W\xE4hlen Sie die Option(en) die Ihnen am besten passen, durch Klicken auf ",descriptionBold:"Ausw\xE4hlen",title:"W\xE4hlen Sie eine Option"},terms:{houseWork:`Der Gesamtpreis nach Steuerabzug f\xFCr {{type,deepNested:deduction}}-Arbeiten setzt voraus, dass die geleisteten Arbeiten steuerlich absetzbar sind, dass der K\xE4ufer einen ausreichenden Betrag f\xFCr den Steuerabzug zur Verf\xFCgung hat und dass dieser nicht f\xFCr andere {{type,deepNested:deduction}}-Arbeiten verwendet wurde. Der K\xE4ufer ist f\xFCr die Kontrolle dieser Informationen verantwortlich.
161
161
  `,houseWorkApprox:"Der Preis ist eine Sch\xE4tzung. Denken Sie daran, dass der Preis um bis zu 15% schwanken kann. Wenn die Dienstleistungen Boden-/Abbrucharbeiten oder \xE4hnliches umfassen. Denken Sie daran, dass der Preis um bis zu 25 % schwanken kann.",reverseVat:"Hinweis: Die umgekehrte Steuerschuldnerschaft f\xFCr Bauleistungen gilt."}},termsDisclaimer:{description:"Durch genehmigen des Dokuments stimmen Sie den ",termsAndConditions:"Allgemeinen Gesch\xE4ftsbedingungen zu",title:"AGBs"}},close:"Schlie\xDFen",company:"Firma",deduction:{after:"Nach Rabatt",afterType:"Nach {{type,deepNested:deduction}}-Rabatt",deduction:"Rabatt",greenRot15:"Gr\xFCn ROT",greenRot15_percentage:"Gr\xFCn ROT 15%",greenRot20:"Gr\xFCn ROT",greenRot20_percentage:"Gr\xFCn ROT 20%",greenRot50:"Gr\xFCn ROT",greenRot50_percentage:"Gr\xFCn ROT 50%",manualType:"Individueller {{type,deepNested:deduction}}-Rabatt",rot:"ROT",rot_percentage:"ROT",rut:"RUT",rut_percentage:"RUT",type:"{{type,deepNested:deduction}}-Rabatt"},denied:"Abgelehnt",deny:"Ablehnen",denyModal:{denyButton:"Dokument ablehnen",helpfulInformation:"Wir informieren {{- senderName}} bei {{- senderCompany}}, dass Sie das Dokument abgelehnt haben.",otherPlaceholder:"Optional. Geben Sie einen Kommentar zur Ablehnung.",subTitle:"Best\xE4tigen Sie dies durch Klicken auf den Ablehnen Button.",successTitle:"Sie haben dieses Dokument abgelehnt",thanksAnswer:"Vielen Dank f\xFCr Ihre Antwort!",title:"Dokument ablehnen"},detail_plural:"Details",document:"Dokument",document_plural:"Dokumente",documentDetails:{subTitle:"Informationen \xFCber das Dokument."},documentTemplateView:{emailTemplate:{expires:{content:"$t(documentTemplateView.reminder) $t(documentTemplateView.emailTemplate.first.content)",subject:"$t(documentTemplateView.reminder) $t(documentTemplateView.sharedSubject)",text:`$t(documentTemplateView.emailTemplate.expires.title) $t(documentTemplateView.emailTemplate.expires.subject). $t(documentTemplateView.readMoreAndReply)
162
162
 
163
163
  {{docLink}}`,title:"$t(documentTemplateView.emailTemplate.first.title)"},first:{content:"Sie haben ein Dokument von {{company.name}} erhalten. Klicken Sie auf den Link in der Bio um mehr zu lesen und Ihre Antwort zu hinterlassen.",subject:"$t(documentTemplateView.sharedSubject)",text:`$t(documentTemplateView.emailTemplate.first.title) $t(documentTemplateView.emailTemplate.first.subject). $t(documentTemplateView.readMoreAndReply)
@@ -178,7 +178,7 @@ $t(documentTemplateView.smsContent) $t(documentTemplateView.readMore)
178
178
  {{docLink}}`},viewed:{text:`$t(documentTemplateView.reminder)
179
179
  $t(documentTemplateView.smsContent) $t(documentTemplateView.readMore)
180
180
 
181
- {{docLink}}`}}},email:"E-Mail",enterYour:"Geben Sie Ihr {{thing}} ein",event:{accepted:"Dokument unterschrieben von {{by}}.",denied:"Dokument abgelehnt von {{by}}.",event_plural:"Veranstaltungen",expired:"Dokument abgelaufen.",requestChange:"Dokument manuell als Status {{status}} markiert.",sent:"Dokument an {{to}} gesendet.",statusChanged:"Dokument markiert als {{status}}.",viewed:"Wurde angesehen",viewedName:"{{name}} hat das Dokument angesehen."},goBack:"Zur\xFCckgehen",less:"weniger",login:"Anmelden",logout:"Abmelden",myPages:{docCallout:{form:{text:"\xDCber die Dokumentenbibliothek k\xF6nnen Sie alle Dokumente einsehen, die Sie erhalten haben und die mit Ihrer E-Mail verbunden sind.",title:"Dokumentenbibliothek"},loginLink:"Login-Link",goToMyPagesTitle:"Gehen Sie zu Ihren Dokumentseiten"},documentItem:{approved:"Genehmigt",expired:"Abgelaufen"},documentsPlaceholder:"Sie haben keine Dokumente erhalten.",invoice:{browserTabTitle:"Rechnung von"},pageDescription:"Hier finden Sie alle Ihre empfangenen Dokumente.",requestForm:{alreadySentDescription:"Ein Anmeldelink wurde bereits an {{email}} gesendet. Es kann eine Minute dauern, bis Sie ihn erhalten.",alreadySentTitle:"Login-Link wurde bereits gesendet",emailFormat:"G\xFCltiges Format: name@example.com",emailRequired:"Geben Sie Ihre E-Mail ein",sendLink:"Anmeldelink senden",sentDescription:"Wir haben einen Link an {{email}} gesendet. Verwenden Sie den Link, um sich anzumelden.",sentDescriptionSub:"Aus Sicherheitsgr\xFCnden k\xF6nnen Sie sich nur \xFCber den Anmeldelink anmelden.",sentTitle:"Login-Link an Ihren Posteingang gesendet"},title:"Meine Seiten"},name:"Name",orgNoShort:"Co. Registrierungsnummer",participant_plural:"Teilnehmer",phone:"Telefon",price:{approx:"Ungef\xE4hrer Preis",fixed:"Fixer Preis",markup:"Handelsspanne",maxPrice:"Maximaler Preis",net:"Netto gesamt",openAcc:"Konto \xF6ffnen",openAccMaxPrice:"Konto \xF6ffnen mit Maximalem Preis",openAccPrice:"Konto \xF6ffnen",price:"Preis",price_plural:"Preise",pricing:"Preisgestaltung",proposal:"Packetoptionen",total:"Gesamter Preis"},print:"Drucken{{thing,inlineSpace}}",reference:"Referenz",replyBy:"Antworten \xFCber",see:"Ansehen",select:"Ausw\xE4hlen{{thing,inlineSpace}}",send:"Senden{{thing,inlineSpace}}",series:{ata:"Vereinbarung einer Einhaltung",contract:"Vertrag",default:"Dokument",document:"Dokument",proposal:"Vorschlag"},show:"Anzeigen {{thing,inlineSpace}}",socialNo:"Sozialversicherungsnummer",status:{accepted:"Akzeptiert",active:"Aktiv",archived:"Archiviert",completed:"Abgeschlossen",denied:"Abgelehent",draft:"Entwurf",new:"Entwurf",semiSigned:"Teilweise unterschrieben",sent:"Gesendet",signed:"Unterschrieben"},summaryBottom:{chooseFrom:"W\xE4hlen Sie aus den w\xE4hlbaren Optionen",forDetails:"F\xFCr Details",noOfOptions:"{{count}}",option:"Option",option_plural:"Optionen",reverseVat:"Mwst. {{- amount}}. Umgekehrte Steuerschuldnerschaft gilt"},theDocument:"Das Dokument",theSender:"Der Versender",times:"Zeit",times_plural:"Zeiten",total:"Gesamt",tryAgain:"Erneut versuchen",unitType:{day:"Tag",hour:"h",kg:"kg",km:"km",kWh:"kWh",litre:"liter",m:"m",m2:"m\xB2",m3:"m\xB3",mile:"Meile",minute:"min",month:"mon",second:"s",ton:"Tonne",unit:"St",unitType:"Ger\xE4tetyp",unitType_plural:"Ger\xE4tetypen",week:"Woche",week_plural:"Wochen",year:"Jahr"},vat:{exVat:"ex. {{- thing}}",incVat:"inkl. {{- thing}}",rate:"Mwst / Steuersatz",reverseVat:"Steuerschuldschaft umkehren",reverseVatApplies:"Umgekehrte Steuerschuldschaft gilt",sharedTitle:"Mwst./Steuer",tax:"Steuer",vat:"Mwst",vatIdentificationNumberShort:"Mwst. Identifizierungsnummer."}},xY=ie.brand.charAt(0).toUpperCase()+ie.brand.slice(1),IY={sign:"allekirjoita",accept:"hyv\xE4ksy",address:"osoite",and:"ja",answerFeedback:{intermediate:{title:"Kiitos mielipiteesi jakamisesta."},no:{start:{action:"L\xE4het\xE4",placeholder:"Miten voisimme kehitty\xE4?",text:"Voisimmeko kehitt\xE4\xE4 sovellustamme jotenkin?",title:"Kiitos jakamisesta."},success:{action:"Lue lis\xE4\xE4 $t(appBrand)-sovelluksesta",secondary:"Palaa takaisin asiakirjaan",text:"Palautteen l\xE4hett\xE4minen onnistui. Tiimimme tarkistaa palautteesi huolellisesti.",title:"Kiitos."}},start:{no:"En",title:"Piditk\xF6 $t(appBrand)-sovelluksesta?",yes:"Kyll\xE4"},yes:{action:"Rekister\xF6idy ilmaiseksi",secondary:"Lue lis\xE4\xE4 $t(appBrand)-sovelluksesta",text:"Luo ja l\xE4het\xE4 kauniita asiakirjoja $t(appBrand)-sovelluksella. Tutustu kaikkiin verkkopohjaisten ja s\xE4hk\xF6isesti allekirjoitettujen asiakirjojen l\xE4hett\xE4misen hy\xF6tyihin.",title:"Aloita $t(appBrand)-sovelluksen k\xE4ytt\xF6 maksutta."},custom:{title:"Kiitos.",text:"Palautteen l\xE4hett\xE4minen onnistui. Tiimimme tarkistaa palautteesi huolellisesti.",action:"Palaa takaisin asiakirjaan"}},answerModal:{answerSuccess:"Vastauksesi l\xE4hetettiin onnistuneesti.",bankId:{component:{defaultError:"Tapahtui virhe. Varmista, ett\xE4 olet kirjoittanut henkil\xF6tunnuksesi oikein, ja yrit\xE4 uudelleen.",signingInterrupted:"Allekirjoittaminen keskeytyi, yrit\xE4 uudelleen...",startOnThisDevice:"K\xE4ynnist\xE4 BankID t\xE4ll\xE4 laitteella",validations:{socialNo:{personalNumber:"Virheellinen henkil\xF6tunnus",required:"Kirjoita henkil\xF6tunnuksesi"}},viewText:{canceled:{text:"Allekirjoittaminen peruuntui. Yrit\xE4 uudelleen",title:"Allekirjoittaminen keskeytyi"},error:{text:"Jokin meni vikaan. Yrit\xE4 uudelleen.",title:"Tapahtui virhe"},form:{text:"Aloita sopimuksen allekirjoittaminen kirjoittamalla henkil\xF6tunnuksesi.",title:"Allekirjoita asiakirja BankID:ll\xE4"},new:{spinnerText:"Skannaa laitteesi QR-koodi.",text:"Avaa BankID laitteellasi ja allekirjoita sopimus.",title:"Allekirjoita asiakirja"},signing:{spinnerText:"Allekirjoita asiakirja.",text:"Avaa BankID laitteellasi ja allekirjoita sopimus.",title:"Allekirjoittaminen k\xE4ynniss\xE4"},waiting:{spinnerText:"Odotetaan BankID:n avaamista.",text:"Avaa BankID laitteellasi ja allekirjoita sopimus.",title:"Allekirjoita asiakirja"}}},start:{action:"Allekirjoita BankID:ll\xE4",text:"Hyv\xE4ksy ja allekirjoita asiakirja BankID:ll\xE4.",title:"Allekirjoita BankID:ll\xE4"},success:{text:"$t(answerModal.successText)",textFallback:"$t(answerModal.successTextFallback)",title:"$t(answerModal.successTitle)"}},decline:{component:{inputPlaceholder:"Valinnainen. Anna hylk\xE4yksen syy."},start:{action:"Hylk\xE4\xE4",text:"Jos haluat hyl\xE4t\xE4 t\xE4m\xE4n asiakirjan, vahvista napsauttamalla alla olevaa painiketta.",title:"Hylk\xE4\xE4 asiakirja"},success:{text:"Kiitos vastauksesta.",textFallback:"$t(answerModal.decline.success.text)",title:"Olet hyl\xE4nnyt asiakirjan."}},signature:{component:{draw:{canvasLabel:"Piirr\xE4 allekirjoitus",tab:"Draw"},subTitle:"Valitse allekirjoitustapa",terms:"Allekirjoittamalla asiakirjan hyv\xE4ksyn, ett\xE4 s\xE4hk\xF6inen asiakirja edustaa k\xE4sin kirjoitettua allekirjoitustani ja on yht\xE4 p\xE4tev\xE4.",text:{canvasLabel:"Esikatsele",nameLabel:"Allekirjoittaja",namePlaceholder:"Kirjoita nimesi",tab:"Kirjoita"}},start:{action:"Allekirjoita ja hyv\xE4ksy",text:"",title:"Hyv\xE4ksy asiakirja"},success:{text:"$t(answerModal.successText)",textFallback:"$t(answerModal.successTextFallback)",title:"$t(answerModal.successTitle)"}},successText:"Kun kaikki asiaankuuluvat osapuolet ovat allekirjoittaneet asiakirjan, saat asiakirjan sinet\xF6idyn kopion s\xE4hk\xF6postitse osoitteeseen {{email}}.",successTextFallback:"un kaikki asiaankuuluvat osapuolet ovat allekirjoittaneet asiakirjan, voit palata t\xE4lle verkkosivulle ja ladata asiakirjan sinet\xF6idyn kopion.",successTextFallbackSingle:"Asiakirja on nyt allekirjoitettu ja valmis.",successTextSingle:"Vahvistusviesti ja asiakirjan sinet\xF6ity kopio on l\xE4hetetty s\xE4hk\xF6postitse osoitteeseen {{email}}.",successTitle:"Olet allekirjoittanut asiakirjan."},appBrand:xY,approved:"hyv\xE4ksytty",approx:"noin",cancel:"Peruuta",chapters:{answerButtons:{approveDescription:"Olemme ilmoittaneet l\xE4hett\xE4j\xE4lle {{- sender}}, ett\xE4 asiakirja on hyv\xE4ksytty.",approveTitle:"Asiakirja on hyv\xE4ksytty!",denyDescription:"Olemme ilmoittaneet l\xE4hett\xE4j\xE4lle {{- sender}}, ett\xE4 et ole kiinnostunut.",denyTitle:"Asiakirja hyl\xE4ttiin",editPropDes:"Muokkaa omaisuuden nimityst\xE4",enterPropDes:"Anna omaisuuden nimitys",inPersonSignatureHint:"Sinut on pyydetty allekirjoittamaan asiakirja henkil\xF6kohtaisesti. Ota yhteytt\xE4, jos haluat sen sijaan allekirjoittaa digitaalisen kopion",waitingDescription:"Odotetaan, ett\xE4 {{remaining}} muuta antaa vastauksen.",youHave:"Sinulla on "},articleItem:{eligibleForDeduction:"Oikeutettu {{type,deepNested:_common:deduction}}-v\xE4hennykseen"},articleList:{changeShowVatTooltip:"Vaihda ja n\xE4yt\xE4 {{type}}",title:"Palvelut / Tuotteet"},packageGroup:{errorCallout:"Valitse v\xE4hint\xE4\xE4n yksi vaihtoehto",selectableOptions:"Valittavissa olevat vaihtoehdot"},packageItem:{add:"Lis\xE4\xE4 vaihtoehto",select:"Valitse vaihtoehto",selected:"Valittu"},parties:{allRiskAndLiability:"On kattava riski- ja vastuuvakuutus",fTax:"Verovelvollinen"},pricingSummary:{blocks:{approx:"Arvioitu hinta",deductionSubValue:"Kokonaishinta ilman alennuksia {{price}}",maxPrice:"Enimm\xE4ishinta",maxPriceVat:"Enimm\xE4ishinta {{vat}}",net:"Netto",price:"Hinta",rounding:"Py\xF6ristys",subTitleArticles:"Tuotteet/palvelut kiinteill\xE4 kustannuksilla",summary:"Yhteenveto",total:"Yhteens\xE4",typeDeduction:"{{type,deepNested:_common:deduction}}-v\xE4hennyksen j\xE4lkeen"},placeholder:{description:"Valitse itsellesi parhaiten sopivat vaihtoehdot napsauttamalla ",descriptionBold:"Valitse-painiketta",title:"Valitse vaihtoehto"},terms:{houseWork:`{{type,deepNested:deduction}}-ty\xF6n kokonaishinta v\xE4hennyksen j\xE4lkeen edellytt\xE4\xE4, ett\xE4 suoritettu ty\xF6 oikeuttaa verov\xE4hennykseen, ett\xE4 ostajalla on k\xE4ytett\xE4viss\xE4 riitt\xE4v\xE4sti v\xE4hennyst\xE4 ja ettei v\xE4hennyst\xE4 ole k\xE4ytetty muihin {{type,deepNested:deduction}}-t\xF6ihin. Ostaja on vastuussa n\xE4iden tietojen hallinnasta.
181
+ {{docLink}}`}}},email:"E-Mail",enterYour:"Geben Sie Ihr {{thing}} ein",event:{accepted:"Dokument unterschrieben von {{by}}.",denied:"Dokument abgelehnt von {{by}}.",event_plural:"Veranstaltungen",expired:"Dokument abgelaufen.",requestChange:"Dokument manuell als Status {{status}} markiert.",sent:"Dokument an {{to}} gesendet.",statusChanged:"Dokument markiert als {{status}}.",viewed:"Wurde angesehen",viewedName:"{{name}} hat das Dokument angesehen."},goBack:"Zur\xFCckgehen",less:"weniger",login:"Anmelden",logout:"Abmelden",myPages:{docCallout:{form:{text:"\xDCber die Dokumentenbibliothek k\xF6nnen Sie alle Dokumente einsehen, die Sie erhalten haben und die mit Ihrer E-Mail verbunden sind.",title:"Dokumentenbibliothek"},loginLink:"Login-Link",goToMyPagesTitle:"Gehen Sie zu Ihren Dokumentseiten"},documentItem:{approved:"Genehmigt",expired:"Abgelaufen"},documentsPlaceholder:"Sie haben keine Dokumente erhalten.",invoice:{browserTabTitle:"Rechnung von"},pageDescription:"Hier finden Sie alle Ihre empfangenen Dokumente.",requestForm:{alreadySentDescription:"Ein Anmeldelink wurde bereits an {{email}} gesendet. Es kann eine Minute dauern, bis Sie ihn erhalten.",alreadySentTitle:"Login-Link wurde bereits gesendet",emailFormat:"G\xFCltiges Format: name@example.com",emailRequired:"Geben Sie Ihre E-Mail ein",sendLink:"Anmeldelink senden",sentDescription:"Wir haben einen Link an {{email}} gesendet. Verwenden Sie den Link, um sich anzumelden.",sentDescriptionSub:"Aus Sicherheitsgr\xFCnden k\xF6nnen Sie sich nur \xFCber den Anmeldelink anmelden.",sentTitle:"Login-Link an Ihren Posteingang gesendet"},title:"Meine Seiten"},name:"Name",orgNoShort:"Co. Registrierungsnummer",participant_plural:"Teilnehmer",phone:"Telefon",price:{approx:"Ungef\xE4hrer Preis",fixed:"Fixer Preis",markup:"Handelsspanne",maxPrice:"Maximaler Preis",net:"Netto gesamt",openAcc:"Konto \xF6ffnen",openAccMaxPrice:"Konto \xF6ffnen mit Maximalem Preis",openAccPrice:"Konto \xF6ffnen",price:"Preis",price_plural:"Preise",pricing:"Preisgestaltung",proposal:"Packetoptionen",total:"Gesamter Preis"},print:"Drucken{{thing,inlineSpace}}",reference:"Referenz",replyBy:"Antworten \xFCber",see:"Ansehen",select:"Ausw\xE4hlen{{thing,inlineSpace}}",send:"Senden{{thing,inlineSpace}}",series:{ata:"Vereinbarung einer Einhaltung",contract:"Vertrag",default:"Dokument",document:"Dokument",proposal:"Vorschlag"},show:"Anzeigen {{thing,inlineSpace}}",socialNo:"Sozialversicherungsnummer",status:{accepted:"Akzeptiert",active:"Aktiv",archived:"Archiviert",expired:"Abgelaufen",completed:"Abgeschlossen",denied:"Abgelehent",draft:"Entwurf",new:"Entwurf",semiSigned:"Teilweise unterschrieben",sent:"Gesendet",signed:"Unterschrieben"},summaryBottom:{chooseFrom:"W\xE4hlen Sie aus den w\xE4hlbaren Optionen",forDetails:"F\xFCr Details",noOfOptions:"{{count}}",option:"Option",option_plural:"Optionen",reverseVat:"Mwst. {{- amount}}. Umgekehrte Steuerschuldnerschaft gilt"},theDocument:"Das Dokument",theSender:"Der Versender",times:"Zeit",times_plural:"Zeiten",total:"Gesamt",tryAgain:"Erneut versuchen",unitType:{day:"Tag",hour:"h",kg:"kg",km:"km",kWh:"kWh",litre:"liter",m:"m",m2:"m\xB2",m3:"m\xB3",mile:"Meile",minute:"min",month:"mon",second:"s",ton:"Tonne",unit:"St",unitType:"Ger\xE4tetyp",unitType_plural:"Ger\xE4tetypen",week:"Woche",week_plural:"Wochen",year:"Jahr"},vat:{exVat:"ex. {{- thing}}",incVat:"inkl. {{- thing}}",rate:"Mwst / Steuersatz",reverseVat:"Steuerschuldschaft umkehren",reverseVatApplies:"Umgekehrte Steuerschuldschaft gilt",sharedTitle:"Mwst./Steuer",tax:"Steuer",vat:"Mwst",vatIdentificationNumberShort:"Mwst. Identifizierungsnummer."}},xY=ie.brand.charAt(0).toUpperCase()+ie.brand.slice(1),IY={sign:"allekirjoita",accept:"hyv\xE4ksy",address:"osoite",and:"ja",answerFeedback:{intermediate:{title:"Kiitos mielipiteesi jakamisesta."},no:{start:{action:"L\xE4het\xE4",placeholder:"Miten voisimme kehitty\xE4?",text:"Voisimmeko kehitt\xE4\xE4 sovellustamme jotenkin?",title:"Kiitos jakamisesta."},success:{action:"Lue lis\xE4\xE4 $t(appBrand)-sovelluksesta",secondary:"Palaa takaisin asiakirjaan",text:"Palautteen l\xE4hett\xE4minen onnistui. Tiimimme tarkistaa palautteesi huolellisesti.",title:"Kiitos."}},start:{no:"En",title:"Piditk\xF6 $t(appBrand)-sovelluksesta?",yes:"Kyll\xE4"},yes:{action:"Rekister\xF6idy ilmaiseksi",secondary:"Lue lis\xE4\xE4 $t(appBrand)-sovelluksesta",text:"Luo ja l\xE4het\xE4 kauniita asiakirjoja $t(appBrand)-sovelluksella. Tutustu kaikkiin verkkopohjaisten ja s\xE4hk\xF6isesti allekirjoitettujen asiakirjojen l\xE4hett\xE4misen hy\xF6tyihin.",title:"Aloita $t(appBrand)-sovelluksen k\xE4ytt\xF6 maksutta."},custom:{title:"Kiitos.",text:"Palautteen l\xE4hett\xE4minen onnistui. Tiimimme tarkistaa palautteesi huolellisesti.",action:"Palaa takaisin asiakirjaan"}},answerModal:{answerSuccess:"Vastauksesi l\xE4hetettiin onnistuneesti.",bankId:{component:{defaultError:"Tapahtui virhe. Varmista, ett\xE4 olet kirjoittanut henkil\xF6tunnuksesi oikein, ja yrit\xE4 uudelleen.",signingInterrupted:"Allekirjoittaminen keskeytyi, yrit\xE4 uudelleen...",startOnThisDevice:"K\xE4ynnist\xE4 BankID t\xE4ll\xE4 laitteella",validations:{socialNo:{personalNumber:"Virheellinen henkil\xF6tunnus",required:"Kirjoita henkil\xF6tunnuksesi"}},viewText:{canceled:{text:"Allekirjoittaminen peruuntui. Yrit\xE4 uudelleen",title:"Allekirjoittaminen keskeytyi"},error:{text:"Jokin meni vikaan. Yrit\xE4 uudelleen.",title:"Tapahtui virhe"},form:{text:"Aloita sopimuksen allekirjoittaminen kirjoittamalla henkil\xF6tunnuksesi.",title:"Allekirjoita asiakirja BankID:ll\xE4"},new:{spinnerText:"Skannaa laitteesi QR-koodi.",text:"Avaa BankID laitteellasi ja allekirjoita sopimus.",title:"Allekirjoita asiakirja"},signing:{spinnerText:"Allekirjoita asiakirja.",text:"Avaa BankID laitteellasi ja allekirjoita sopimus.",title:"Allekirjoittaminen k\xE4ynniss\xE4"},waiting:{spinnerText:"Odotetaan BankID:n avaamista.",text:"Avaa BankID laitteellasi ja allekirjoita sopimus.",title:"Allekirjoita asiakirja"}}},start:{action:"Allekirjoita BankID:ll\xE4",text:"Hyv\xE4ksy ja allekirjoita asiakirja BankID:ll\xE4.",title:"Allekirjoita BankID:ll\xE4"},success:{text:"$t(answerModal.successText)",textFallback:"$t(answerModal.successTextFallback)",title:"$t(answerModal.successTitle)"}},decline:{component:{inputPlaceholder:"Valinnainen. Anna hylk\xE4yksen syy."},start:{action:"Hylk\xE4\xE4",text:"Jos haluat hyl\xE4t\xE4 t\xE4m\xE4n asiakirjan, vahvista napsauttamalla alla olevaa painiketta.",title:"Hylk\xE4\xE4 asiakirja"},success:{text:"Kiitos vastauksesta.",textFallback:"$t(answerModal.decline.success.text)",title:"Olet hyl\xE4nnyt asiakirjan."}},signature:{component:{draw:{canvasLabel:"Piirr\xE4 allekirjoitus",tab:"Draw"},subTitle:"Valitse allekirjoitustapa",terms:"Allekirjoittamalla asiakirjan hyv\xE4ksyn, ett\xE4 s\xE4hk\xF6inen asiakirja edustaa k\xE4sin kirjoitettua allekirjoitustani ja on yht\xE4 p\xE4tev\xE4.",text:{canvasLabel:"Esikatsele",nameLabel:"Allekirjoittaja",namePlaceholder:"Kirjoita nimesi",tab:"Kirjoita"}},start:{action:"Allekirjoita ja hyv\xE4ksy",text:"",title:"Hyv\xE4ksy asiakirja"},success:{text:"$t(answerModal.successText)",textFallback:"$t(answerModal.successTextFallback)",title:"$t(answerModal.successTitle)"}},successText:"Kun kaikki asiaankuuluvat osapuolet ovat allekirjoittaneet asiakirjan, saat asiakirjan sinet\xF6idyn kopion s\xE4hk\xF6postitse osoitteeseen {{email}}.",successTextFallback:"un kaikki asiaankuuluvat osapuolet ovat allekirjoittaneet asiakirjan, voit palata t\xE4lle verkkosivulle ja ladata asiakirjan sinet\xF6idyn kopion.",successTextFallbackSingle:"Asiakirja on nyt allekirjoitettu ja valmis.",successTextSingle:"Vahvistusviesti ja asiakirjan sinet\xF6ity kopio on l\xE4hetetty s\xE4hk\xF6postitse osoitteeseen {{email}}.",successTitle:"Olet allekirjoittanut asiakirjan."},appBrand:xY,approved:"hyv\xE4ksytty",approx:"noin",cancel:"Peruuta",chapters:{answerButtons:{approveDescription:"Olemme ilmoittaneet l\xE4hett\xE4j\xE4lle {{- sender}}, ett\xE4 asiakirja on hyv\xE4ksytty.",approveTitle:"Asiakirja on hyv\xE4ksytty!",denyDescription:"Olemme ilmoittaneet l\xE4hett\xE4j\xE4lle {{- sender}}, ett\xE4 et ole kiinnostunut.",denyTitle:"Asiakirja hyl\xE4ttiin",editPropDes:"Muokkaa omaisuuden nimityst\xE4",enterPropDes:"Anna omaisuuden nimitys",inPersonSignatureHint:"Sinut on pyydetty allekirjoittamaan asiakirja henkil\xF6kohtaisesti. Ota yhteytt\xE4, jos haluat sen sijaan allekirjoittaa digitaalisen kopion",waitingDescription:"Odotetaan, ett\xE4 {{remaining}} muuta antaa vastauksen.",youHave:"Sinulla on "},articleItem:{eligibleForDeduction:"Oikeutettu {{type,deepNested:_common:deduction}}-v\xE4hennykseen"},articleList:{changeShowVatTooltip:"Vaihda ja n\xE4yt\xE4 {{type}}",title:"Palvelut / Tuotteet"},packageGroup:{errorCallout:"Valitse v\xE4hint\xE4\xE4n yksi vaihtoehto",selectableOptions:"Valittavissa olevat vaihtoehdot"},packageItem:{add:"Lis\xE4\xE4 vaihtoehto",select:"Valitse vaihtoehto",selected:"Valittu"},parties:{allRiskAndLiability:"On kattava riski- ja vastuuvakuutus",fTax:"Verovelvollinen"},pricingSummary:{blocks:{approx:"Arvioitu hinta",deductionSubValue:"Kokonaishinta ilman alennuksia {{price}}",maxPrice:"Enimm\xE4ishinta",maxPriceVat:"Enimm\xE4ishinta {{vat}}",net:"Netto",price:"Hinta",rounding:"Py\xF6ristys",subTitleArticles:"Tuotteet/palvelut kiinteill\xE4 kustannuksilla",summary:"Yhteenveto",total:"Yhteens\xE4",typeDeduction:"{{type,deepNested:_common:deduction}}-v\xE4hennyksen j\xE4lkeen"},placeholder:{description:"Valitse itsellesi parhaiten sopivat vaihtoehdot napsauttamalla ",descriptionBold:"Valitse-painiketta",title:"Valitse vaihtoehto"},terms:{houseWork:`{{type,deepNested:deduction}}-ty\xF6n kokonaishinta v\xE4hennyksen j\xE4lkeen edellytt\xE4\xE4, ett\xE4 suoritettu ty\xF6 oikeuttaa verov\xE4hennykseen, ett\xE4 ostajalla on k\xE4ytett\xE4viss\xE4 riitt\xE4v\xE4sti v\xE4hennyst\xE4 ja ettei v\xE4hennyst\xE4 ole k\xE4ytetty muihin {{type,deepNested:deduction}}-t\xF6ihin. Ostaja on vastuussa n\xE4iden tietojen hallinnasta.
182
182
  `,houseWorkApprox:"Hinta on arvio. Huomaa, ett\xE4 hinta voi muuttua jopa 15 %. Jos palveluihin sis\xE4ltyy maa-/purkut\xF6it\xE4 tai vastaavia t\xF6it\xE4. Huomaa, ett\xE4 hinta saattaa muuttua jopa 25 %.",reverseVat:"Huomaa, ett\xE4 rakennust\xF6ihin sovelletaan k\xE4\xE4nteist\xE4 verovelvollisuutta."}},termsDisclaimer:{description:"Hyv\xE4ksym\xE4ll\xE4 t\xE4m\xE4n asiakirjan hyv\xE4ksyt ",termsAndConditions:"ehdot",title:"Ehdot"}},close:"Sulje",company:"yritys",deduction:{after:"v\xE4hennyksen j\xE4lkeen",afterType:"j\xE4lkeen {{type,deepNested:deduction}}-v\xE4hennys",deduction:"v\xE4hennys",greenRot15:"ROT-v\xE4hennys",greenRot15_percentage:"ROT-v\xE4hennys 15 %",greenRot20:"ROT-v\xE4hennys",greenRot20_percentage:"ROT-v\xE4hennys 20 %",greenRot50:"ROT-v\xE4hennys",greenRot50_percentage:"ROT-v\xE4hennys 50 %",manualType:"Mukautettu {{type,deepNested:deduction}}-v\xE4hennys",rot:"ROT",rot_percentage:"ROT",rut:"RUT",rut_percentage:"RUT",type:"{{type,deepNested:deduction}}-v\xE4hennys"},denied:"hyl\xE4tty",deny:"Hylk\xE4\xE4",denyModal:{denyButton:"Hylk\xE4\xE4 asiakirja",helpfulInformation:"Ilmoitamme l\xE4hett\xE4j\xE4lle {{-senderName}}, {{-senderCompany}}, ett\xE4 olet hyl\xE4nnyt asiakirjan.",otherPlaceholder:"Valinnainen. Kerro, miksi hylk\xE4\xE4t asiakirjan.",subTitle:"Vahvista napsauttamalla Hylk\xE4\xE4-painiketta.",successTitle:"Olet hyl\xE4nnyt asiakirjan",thanksAnswer:"Kiitos vastauksestasi!",title:"Hylk\xE4\xE4 asiakirja"},detail_plural:"tiedot",document:"Asiakirja",document_plural:"Asiakirjat",documentDetails:{subTitle:"Tietoa asiakirjasta."},documentTemplateView:{emailTemplate:{expires:{content:"$t(documentTemplateView.reminder) $t(documentTemplateView.emailTemplate.first.content)",subject:"$t(documentTemplateView.reminder) $t(documentTemplateView.sharedSubject)",text:`$t(documentTemplateView.emailTemplate.expires.title) $t(documentTemplateView.emailTemplate.expires.subject). $t(documentTemplateView.readMoreAndReply)
183
183
 
184
184
  {{docLink}}`,title:"$t(documentTemplateView.emailTemplate.first.title)"},first:{content:"Olet saanut asiakirjan yritykselt\xE4 {{company.name}}. Lue lis\xE4\xE4 ja anna vastauksesi napsauttamalla linkki\xE4.",subject:"$t(documentTemplateView.sharedSubject)",text:`$t(documentTemplateView.emailTemplate.first.title) $t(documentTemplateView.emailTemplate.first.subject). $t(documentTemplateView.readMoreAndReply)
@@ -199,7 +199,7 @@ $t(documentTemplateView.smsContent) $t(documentTemplateView.readMore)
199
199
  {{docLink}}`},viewed:{text:`$t(documentTemplateView.reminder)
200
200
  $t(documentTemplateView.smsContent) $t(documentTemplateView.readMore)
201
201
 
202
- {{docLink}}`}}},email:"s\xE4hk\xF6posti",enterYour:"Kirjoita {{thing}}",event:{accepted:"Asiakirjan on allekirjoittanut {{by}}.",denied:"Asiakirjan on hyl\xE4nnyt {{by}}.",event_plural:"tapahtumat",expired:"Asiakirja on vanhentunut.",requestChange:"Asiakirjan tilaksi on merkitty manuaalisesti {{status}}.",sent:"Asiakirja l\xE4hetetty henkil\xF6lle {{to}}.",statusChanged:"Asiakirjan tilaksi merkitty {{status}}.",viewed:"On n\xE4hty",viewedName:"{{name}} tarkasteli asiakirjaa."},goBack:"Palaa takaisin",less:"v\xE4hemm\xE4n",login:"Kirjaudu sis\xE4\xE4n",logout:"Kirjaudu ulos",myPages:{docCallout:{form:{text:"Asiakirjakirjastossa voit tarkastella kaikkia saamiasi ja s\xE4hk\xF6postiisi yhdistettyj\xE4 asiakirjoja.",title:"Asiakirjakirjasto"},loginLink:"kirjautumislinkki",goToMyPagesTitle:"Siirry asiakirjasivulle"},documentItem:{approved:"Hyv\xE4ksytty",expired:"Vanhentunut"},documentsPlaceholder:"Et ole viel\xE4 saanut asiakirjoja.",invoice:{browserTabTitle:"Lasku"},pageDescription:"T\xE4\xE4lt\xE4 l\xF6yd\xE4t kaikki saamasi asiakirjat.",requestForm:{alreadySentDescription:"Kirjautumislinkki on jo l\xE4hetetty osoitteeseen {{email}}. Sen saapuminen saattaa kest\xE4\xE4 noin minuutin.",alreadySentTitle:"Kirjautumislinkki on jo l\xE4hetetty",emailFormat:"Kelvollinen muoto: nimi@esimerkki.com",emailRequired:"Kirjoita s\xE4hk\xF6postiosoitteesi",sendLink:"L\xE4het\xE4 kirjautumislinkki",sentDescription:"Olemme l\xE4hett\xE4neet linkin osoitteeseen {{email}}. Kirjaudu sis\xE4\xE4n linkin avulla.",sentDescriptionSub:"Turvallisuussyist\xE4 voit kirjautua sis\xE4\xE4n vain kirjautumislinkin kautta.",sentTitle:"Kirjautumislinkki l\xE4hetetty s\xE4hk\xF6postiisi"},title:"Omat sivut"},name:"nimi",orgNoShort:"Y-tunnus",participant_plural:"osallistujat",phone:"puhelin",price:{approx:"Arvioitu hinta",fixed:"Kiinte\xE4 hinta",markup:"Hinnankorotus",maxPrice:"enimm\xE4ishinta",net:"Nettosumma",openAcc:"Avaa tili",openAccMaxPrice:"Avaa tili enimm\xE4ishinnalla",openAccPrice:"Avaa tili",price:"hinta",price_plural:"hinnat",pricing:"hinnoittelu",proposal:"Paketit",total:"Kokonaishinta"},print:"Tulosta{{thing,inlineSpace}}",reference:"viite",replyBy:"Vastaa",see:"n\xE4yt\xE4",select:"Valitse{{thing,inlineSpace}}",send:"l\xE4het\xE4{{thing,inlineSpace}}",series:{ata:"Liittymissopimus",contract:"Sopimus",default:"$t(document)",document:"Asiakirja",proposal:"Ehdotus"},show:"N\xE4yt\xE4{{thing,inlineSpace}}",socialNo:"sosiaaliturvatunnus",status:{accepted:"Hyv\xE4ksytty",active:"Aktiivinen",archived:"Arkistoitu",completed:"Valmis",denied:"Hyl\xE4tty",draft:"Luonnos",new:"Luonnos",semiSigned:"Osittain allekirjoitettu",sent:"L\xE4hetetty",signed:"Allekirjoitettu"},summaryBottom:{chooseFrom:"Valitse valittavissa olevista vaihtoehdoista",forDetails:"tiedot",noOfOptions:"{{count}}",option:"vaihtoehto",option_plural:"vaihtoehdot",reverseVat:"ALV {{- amount}}. Sovelletaan k\xE4\xE4nteist\xE4 verovelvollisuutta"},theDocument:"asiakirja",theSender:"l\xE4hett\xE4j\xE4",times:"kerta",times_plural:"kertaa",total:"yhteens\xE4",tryAgain:"Yrit\xE4 uudelleen",unitType:{day:"p\xE4iv\xE4",hour:"h",kg:"kg",km:"km",kWh:"kWh",litre:"litra",m:"m",m2:"m\xB2",m3:"m\xB3",mile:"maili",minute:"min",month:"kuukausi",second:"s",ton:"tonni",unit:"st",unitType:"yksikk\xF6tyyppi",unitType_plural:"yksikk\xF6tyypit",week:"viikko",week_plural:"viikkoa",year:"vuosi"},vat:{exVat:"poislukien {{thing}}",incVat:"sis. {{thing}}",rate:"ALV-prosentti",reverseVat:"K\xE4\xE4nteinen verovelvollisuus",reverseVatApplies:"Sovelletaan k\xE4\xE4nteist\xE4 verovelvollisuutta",sharedTitle:"alv",tax:"alv",vat:"alv",vatIdentificationNumberShort:"ALV-tunnus"}},PY=ie.brand.charAt(0).toUpperCase()+ie.brand.slice(1),DY={sign:"signer",accept:"accepter",address:"adresse",and:"et",answerFeedback:{intermediate:{title:"Merci d'avoir partager votre avis."},no:{start:{action:"Envoyer",placeholder:"Que devrions-nous am\xE9liorer ?",text:"Y a-t-il quelque chose de sp\xE9cifique que vous aimeriez partager et que nous pouvons am\xE9liorer ?",title:"Merci d'avoir partag\xE9."},success:{action:"En savoir plus sur $t(appBrand)",secondary:"Retour au document",text:"Votre commentaire a \xE9t\xE9 envoy\xE9 avec succ\xE8s. Notre \xE9quipe examinera attentivement votre commentaire.",title:"Merci."}},start:{no:"Non",title:"Avez-vous aim\xE9 utiliser $t(appBrand) pour visualiser ce document ?",yes:"Oui"},yes:{action:"Inscrivez-vous gratuitement",secondary:"En savoir plus sur $t(appBrand)",text:"Cr\xE9ez et envoyez des documents attrayants avec $t(appBrand). D\xE9couvrez tous les avantages de l'envoi de documents enregistr\xE9s sur le web avec des signatures \xE9lectroniques.",title:"Commencez \xE0 utiliser $t(appBrand) gratuitement."},custom:{title:"Merci.",text:"Votre commentaire a \xE9t\xE9 envoy\xE9 avec succ\xE8s. Notre \xE9quipe examinera attentivement votre commentaire.",action:"Retour au document"}},answerModal:{answerSuccess:"Votre r\xE9ponse a \xE9t\xE9 envoy\xE9e avec succ\xE8s.",bankId:{component:{defaultError:"Il y a eu un probl\xE8me. Veuillez vous assurer que vous avez correctement saisi votre num\xE9ro de s\xE9curit\xE9 sociale et r\xE9essayez.",signingInterrupted:"Signature interrompue, r\xE9essayez...",startOnThisDevice:"D\xE9marrer BankID sur cet appareil",validations:{socialNo:{personalNumber:"Num\xE9ro de s\xE9curit\xE9 sociale invalide",required:"Saisissez votre num\xE9ro de s\xE9curit\xE9 sociale"}},viewText:{canceled:{text:"La signature a \xE9t\xE9 annul\xE9e. Veuillez r\xE9essayer",title:"Signature interrompue"},error:{text:"Quelque chose a mal tourn\xE9. Veuillez r\xE9essayer.",title:"Une erreur s'est produite"},form:{text:"Saisissez votre num\xE9ro de s\xE9curit\xE9 sociale pour commencer \xE0 signer l'accord.",title:"Signer le document avec BankID"},new:{spinnerText:"Scannez le code QR sur votre appareil.",text:"Ouvrez BankID sur votre appareil et signez l'accord.",title:"Signer le document"},signing:{spinnerText:"Signer le document.",text:"Ouvrez BankID sur votre appareil et signez l'accord.",title:"Signature en cours"},waiting:{spinnerText:"En attente de l'ouverture de BankID.",text:"Ouvrez BankID sur votre appareil et signez l'accord.",title:"Signer le document"}}},start:{action:"Signer avec BankID",text:"Aceptar y firmar el documento con BankID.",title:"Signer avec BankID"},success:{text:"$t(answerModal.successText)",textFallback:"$t(answerModal.successTextFallback)",title:"$t(answerModal.successTitle)"}},decline:{component:{inputPlaceholder:"En option. Laissez un commentaire sur la raison de votre rejet."},start:{action:"Rejeter",text:"Pour rejeter ce document, confirmez en cliquant sur le bouton ci-dessous.",title:"Rejeter le document"},success:{text:"Merci de laisser une r\xE9ponse.",textFallback:"$t(answerModal.decline.success.text)",title:"Vous avez rejet\xE9 le document."}},signature:{component:{draw:{canvasLabel:"Dessiner la signature",tab:"Dessiner"},subTitle:"Choisissez la m\xE9thode de signature",terms:"En signant le document, j'accepte que la signature \xE9lectronique utilis\xE9e soit une repr\xE9sentation de ma signature manuscrite et ait la m\xEAme validit\xE9.",text:{canvasLabel:"Pr\xE9visualisation",nameLabel:"Sign\xE9 par",namePlaceholder:"Saisissez votre nom",tab:"Saisir"}},start:{action:"Signer et accepter",text:"",title:"Accepter le document"},success:{text:"$t(answerModal.successText)",textFallback:"$t(answerModal.successTextFallback)",title:"$t(answerModal.successTitle)"}},successText:"Une fois que le document a \xE9t\xE9 sign\xE9 par toutes les parties concern\xE9es, vous recevrez un courriel \xE0 {{email}} avec une copie tamponn\xE9e du document.",successTextFallback:"Une fois que le document a \xE9t\xE9 sign\xE9 par toutes les parties concern\xE9es, vous pouvez revenir sur ce site web pour t\xE9l\xE9charger une copie tamponn\xE9e et compl\xE9t\xE9e du document.",successTextFallbackSingle:"Le document a maintenant \xE9t\xE9 sign\xE9 et compl\xE9t\xE9.",successTextSingle:"Un courriel de confirmation a \xE9t\xE9 envoy\xE9 \xE0 {{email}} avec une copie tamponn\xE9e du document.",successTitle:"Vous avez sign\xE9 le document."},appBrand:PY,approved:"approuv\xE9",approx:"environ.",cancel:"Annuler",chapters:{answerButtons:{approveDescription:"Nous avons inform\xE9 {{- sender}} que le document est approuv\xE9.",approveTitle:"Le document est approuv\xE9!",denyDescription:"Nous avons inform\xE9 {{- sender}} que vous n'\xEAtes pas int\xE9ress\xE9.",denyTitle:"Le document est rejet\xE9",editPropDes:"Modifier la d\xE9signation de la propri\xE9t\xE9",enterPropDes:"Entrer la d\xE9signation de la propri\xE9t\xE9",inPersonSignatureHint:"Vous avez \xE9t\xE9 programm\xE9 pour signer le document en personne. Si vous souhaitez plut\xF4t signer la copie num\xE9rique, veuillez contacter",waitingDescription:"Attendre que l'autre {{remaining}} laisse une r\xE9ponse.",youHave:"Vous avez"},articleItem:{eligibleForDeduction:"\xC9ligible \xE0 {{type,deepNested:deduction}}-d\xE9duction"},articleList:{changeShowVatTooltip:"Basculer pour afficher {{type}}",title:"Services / Produits"},packageGroup:{errorCallout:"S\xE9lectionner au moins une option",selectableOptions:"Options disponibles"},packageItem:{add:"Ajouter une option",select:"S\xE9lectionner une option",selected:"S\xE9lectionn\xE9"},parties:{allRiskAndLiability:"Dispose d'une assurance tous risques et responsabilit\xE9 civile",fTax:"Certifi\xE9 pour la taxe F"},pricingSummary:{blocks:{approx:"Prix approximatif",deductionSubValue:"Prix total sans d\xE9duction {{price}}",maxPrice:"Prix maximum",maxPriceVat:"Prix maximum {{vat}}",net:"Net",price:"Prix",rounding:"Arrondi",subTitleArticles:"Lorsque les produits / services ont des co\xFBts fixes",summary:"R\xE9sum\xE9",total:"Total",typeDeduction:"Apr\xE8s {{type,deepNested:deduction}}-d\xE9duction"},placeholder:{description:"Choisir la ou les options qui vous conviennent le mieux en cliquant sur le bouton ",descriptionBold:"Touche de s\xE9lection",title:"S\xE9lectionner une option"},terms:{houseWork:`Le prix total apr\xE8s d\xE9duction fiscale pour les travaux de {{type,deepNested:deduction}} n\xE9cessite que les travaux effectu\xE9s soient \xE9ligibles \xE0 la d\xE9duction fiscale, que l'acheteur dispose d'un montant suffisant de d\xE9duction et qu'il n'ait pas \xE9t\xE9 utilis\xE9 pour d'autres travaux de {{type,deepNested:deduction}}. L'acheteur est responsable de la v\xE9rification de ces informations.
202
+ {{docLink}}`}}},email:"s\xE4hk\xF6posti",enterYour:"Kirjoita {{thing}}",event:{accepted:"Asiakirjan on allekirjoittanut {{by}}.",denied:"Asiakirjan on hyl\xE4nnyt {{by}}.",event_plural:"tapahtumat",expired:"Asiakirja on vanhentunut.",requestChange:"Asiakirjan tilaksi on merkitty manuaalisesti {{status}}.",sent:"Asiakirja l\xE4hetetty henkil\xF6lle {{to}}.",statusChanged:"Asiakirjan tilaksi merkitty {{status}}.",viewed:"On n\xE4hty",viewedName:"{{name}} tarkasteli asiakirjaa."},goBack:"Palaa takaisin",less:"v\xE4hemm\xE4n",login:"Kirjaudu sis\xE4\xE4n",logout:"Kirjaudu ulos",myPages:{docCallout:{form:{text:"Asiakirjakirjastossa voit tarkastella kaikkia saamiasi ja s\xE4hk\xF6postiisi yhdistettyj\xE4 asiakirjoja.",title:"Asiakirjakirjasto"},loginLink:"kirjautumislinkki",goToMyPagesTitle:"Siirry asiakirjasivulle"},documentItem:{approved:"Hyv\xE4ksytty",expired:"Vanhentunut"},documentsPlaceholder:"Et ole viel\xE4 saanut asiakirjoja.",invoice:{browserTabTitle:"Lasku"},pageDescription:"T\xE4\xE4lt\xE4 l\xF6yd\xE4t kaikki saamasi asiakirjat.",requestForm:{alreadySentDescription:"Kirjautumislinkki on jo l\xE4hetetty osoitteeseen {{email}}. Sen saapuminen saattaa kest\xE4\xE4 noin minuutin.",alreadySentTitle:"Kirjautumislinkki on jo l\xE4hetetty",emailFormat:"Kelvollinen muoto: nimi@esimerkki.com",emailRequired:"Kirjoita s\xE4hk\xF6postiosoitteesi",sendLink:"L\xE4het\xE4 kirjautumislinkki",sentDescription:"Olemme l\xE4hett\xE4neet linkin osoitteeseen {{email}}. Kirjaudu sis\xE4\xE4n linkin avulla.",sentDescriptionSub:"Turvallisuussyist\xE4 voit kirjautua sis\xE4\xE4n vain kirjautumislinkin kautta.",sentTitle:"Kirjautumislinkki l\xE4hetetty s\xE4hk\xF6postiisi"},title:"Omat sivut"},name:"nimi",orgNoShort:"Y-tunnus",participant_plural:"osallistujat",phone:"puhelin",price:{approx:"Arvioitu hinta",fixed:"Kiinte\xE4 hinta",markup:"Hinnankorotus",maxPrice:"enimm\xE4ishinta",net:"Nettosumma",openAcc:"Avaa tili",openAccMaxPrice:"Avaa tili enimm\xE4ishinnalla",openAccPrice:"Avaa tili",price:"hinta",price_plural:"hinnat",pricing:"hinnoittelu",proposal:"Paketit",total:"Kokonaishinta"},print:"Tulosta{{thing,inlineSpace}}",reference:"viite",replyBy:"Vastaa",see:"n\xE4yt\xE4",select:"Valitse{{thing,inlineSpace}}",send:"l\xE4het\xE4{{thing,inlineSpace}}",series:{ata:"Liittymissopimus",contract:"Sopimus",default:"$t(document)",document:"Asiakirja",proposal:"Ehdotus"},show:"N\xE4yt\xE4{{thing,inlineSpace}}",socialNo:"sosiaaliturvatunnus",status:{accepted:"Hyv\xE4ksytty",active:"Aktiivinen",archived:"Arkistoitu",expired:"Vanhentunut",completed:"Valmis",denied:"Hyl\xE4tty",draft:"Luonnos",new:"Luonnos",semiSigned:"Osittain allekirjoitettu",sent:"L\xE4hetetty",signed:"Allekirjoitettu"},summaryBottom:{chooseFrom:"Valitse valittavissa olevista vaihtoehdoista",forDetails:"tiedot",noOfOptions:"{{count}}",option:"vaihtoehto",option_plural:"vaihtoehdot",reverseVat:"ALV {{- amount}}. Sovelletaan k\xE4\xE4nteist\xE4 verovelvollisuutta"},theDocument:"asiakirja",theSender:"l\xE4hett\xE4j\xE4",times:"kerta",times_plural:"kertaa",total:"yhteens\xE4",tryAgain:"Yrit\xE4 uudelleen",unitType:{day:"p\xE4iv\xE4",hour:"h",kg:"kg",km:"km",kWh:"kWh",litre:"litra",m:"m",m2:"m\xB2",m3:"m\xB3",mile:"maili",minute:"min",month:"kuukausi",second:"s",ton:"tonni",unit:"st",unitType:"yksikk\xF6tyyppi",unitType_plural:"yksikk\xF6tyypit",week:"viikko",week_plural:"viikkoa",year:"vuosi"},vat:{exVat:"poislukien {{thing}}",incVat:"sis. {{thing}}",rate:"ALV-prosentti",reverseVat:"K\xE4\xE4nteinen verovelvollisuus",reverseVatApplies:"Sovelletaan k\xE4\xE4nteist\xE4 verovelvollisuutta",sharedTitle:"alv",tax:"alv",vat:"alv",vatIdentificationNumberShort:"ALV-tunnus"}},PY=ie.brand.charAt(0).toUpperCase()+ie.brand.slice(1),DY={sign:"signer",accept:"accepter",address:"adresse",and:"et",answerFeedback:{intermediate:{title:"Merci d'avoir partager votre avis."},no:{start:{action:"Envoyer",placeholder:"Que devrions-nous am\xE9liorer ?",text:"Y a-t-il quelque chose de sp\xE9cifique que vous aimeriez partager et que nous pouvons am\xE9liorer ?",title:"Merci d'avoir partag\xE9."},success:{action:"En savoir plus sur $t(appBrand)",secondary:"Retour au document",text:"Votre commentaire a \xE9t\xE9 envoy\xE9 avec succ\xE8s. Notre \xE9quipe examinera attentivement votre commentaire.",title:"Merci."}},start:{no:"Non",title:"Avez-vous aim\xE9 utiliser $t(appBrand) pour visualiser ce document ?",yes:"Oui"},yes:{action:"Inscrivez-vous gratuitement",secondary:"En savoir plus sur $t(appBrand)",text:"Cr\xE9ez et envoyez des documents attrayants avec $t(appBrand). D\xE9couvrez tous les avantages de l'envoi de documents enregistr\xE9s sur le web avec des signatures \xE9lectroniques.",title:"Commencez \xE0 utiliser $t(appBrand) gratuitement."},custom:{title:"Merci.",text:"Votre commentaire a \xE9t\xE9 envoy\xE9 avec succ\xE8s. Notre \xE9quipe examinera attentivement votre commentaire.",action:"Retour au document"}},answerModal:{answerSuccess:"Votre r\xE9ponse a \xE9t\xE9 envoy\xE9e avec succ\xE8s.",bankId:{component:{defaultError:"Il y a eu un probl\xE8me. Veuillez vous assurer que vous avez correctement saisi votre num\xE9ro de s\xE9curit\xE9 sociale et r\xE9essayez.",signingInterrupted:"Signature interrompue, r\xE9essayez...",startOnThisDevice:"D\xE9marrer BankID sur cet appareil",validations:{socialNo:{personalNumber:"Num\xE9ro de s\xE9curit\xE9 sociale invalide",required:"Saisissez votre num\xE9ro de s\xE9curit\xE9 sociale"}},viewText:{canceled:{text:"La signature a \xE9t\xE9 annul\xE9e. Veuillez r\xE9essayer",title:"Signature interrompue"},error:{text:"Quelque chose a mal tourn\xE9. Veuillez r\xE9essayer.",title:"Une erreur s'est produite"},form:{text:"Saisissez votre num\xE9ro de s\xE9curit\xE9 sociale pour commencer \xE0 signer l'accord.",title:"Signer le document avec BankID"},new:{spinnerText:"Scannez le code QR sur votre appareil.",text:"Ouvrez BankID sur votre appareil et signez l'accord.",title:"Signer le document"},signing:{spinnerText:"Signer le document.",text:"Ouvrez BankID sur votre appareil et signez l'accord.",title:"Signature en cours"},waiting:{spinnerText:"En attente de l'ouverture de BankID.",text:"Ouvrez BankID sur votre appareil et signez l'accord.",title:"Signer le document"}}},start:{action:"Signer avec BankID",text:"Aceptar y firmar el documento con BankID.",title:"Signer avec BankID"},success:{text:"$t(answerModal.successText)",textFallback:"$t(answerModal.successTextFallback)",title:"$t(answerModal.successTitle)"}},decline:{component:{inputPlaceholder:"En option. Laissez un commentaire sur la raison de votre rejet."},start:{action:"Rejeter",text:"Pour rejeter ce document, confirmez en cliquant sur le bouton ci-dessous.",title:"Rejeter le document"},success:{text:"Merci de laisser une r\xE9ponse.",textFallback:"$t(answerModal.decline.success.text)",title:"Vous avez rejet\xE9 le document."}},signature:{component:{draw:{canvasLabel:"Dessiner la signature",tab:"Dessiner"},subTitle:"Choisissez la m\xE9thode de signature",terms:"En signant le document, j'accepte que la signature \xE9lectronique utilis\xE9e soit une repr\xE9sentation de ma signature manuscrite et ait la m\xEAme validit\xE9.",text:{canvasLabel:"Pr\xE9visualisation",nameLabel:"Sign\xE9 par",namePlaceholder:"Saisissez votre nom",tab:"Saisir"}},start:{action:"Signer et accepter",text:"",title:"Accepter le document"},success:{text:"$t(answerModal.successText)",textFallback:"$t(answerModal.successTextFallback)",title:"$t(answerModal.successTitle)"}},successText:"Une fois que le document a \xE9t\xE9 sign\xE9 par toutes les parties concern\xE9es, vous recevrez un courriel \xE0 {{email}} avec une copie tamponn\xE9e du document.",successTextFallback:"Une fois que le document a \xE9t\xE9 sign\xE9 par toutes les parties concern\xE9es, vous pouvez revenir sur ce site web pour t\xE9l\xE9charger une copie tamponn\xE9e et compl\xE9t\xE9e du document.",successTextFallbackSingle:"Le document a maintenant \xE9t\xE9 sign\xE9 et compl\xE9t\xE9.",successTextSingle:"Un courriel de confirmation a \xE9t\xE9 envoy\xE9 \xE0 {{email}} avec une copie tamponn\xE9e du document.",successTitle:"Vous avez sign\xE9 le document."},appBrand:PY,approved:"approuv\xE9",approx:"environ.",cancel:"Annuler",chapters:{answerButtons:{approveDescription:"Nous avons inform\xE9 {{- sender}} que le document est approuv\xE9.",approveTitle:"Le document est approuv\xE9!",denyDescription:"Nous avons inform\xE9 {{- sender}} que vous n'\xEAtes pas int\xE9ress\xE9.",denyTitle:"Le document est rejet\xE9",editPropDes:"Modifier la d\xE9signation de la propri\xE9t\xE9",enterPropDes:"Entrer la d\xE9signation de la propri\xE9t\xE9",inPersonSignatureHint:"Vous avez \xE9t\xE9 programm\xE9 pour signer le document en personne. Si vous souhaitez plut\xF4t signer la copie num\xE9rique, veuillez contacter",waitingDescription:"Attendre que l'autre {{remaining}} laisse une r\xE9ponse.",youHave:"Vous avez"},articleItem:{eligibleForDeduction:"\xC9ligible \xE0 {{type,deepNested:deduction}}-d\xE9duction"},articleList:{changeShowVatTooltip:"Basculer pour afficher {{type}}",title:"Services / Produits"},packageGroup:{errorCallout:"S\xE9lectionner au moins une option",selectableOptions:"Options disponibles"},packageItem:{add:"Ajouter une option",select:"S\xE9lectionner une option",selected:"S\xE9lectionn\xE9"},parties:{allRiskAndLiability:"Dispose d'une assurance tous risques et responsabilit\xE9 civile",fTax:"Certifi\xE9 pour la taxe F"},pricingSummary:{blocks:{approx:"Prix approximatif",deductionSubValue:"Prix total sans d\xE9duction {{price}}",maxPrice:"Prix maximum",maxPriceVat:"Prix maximum {{vat}}",net:"Net",price:"Prix",rounding:"Arrondi",subTitleArticles:"Lorsque les produits / services ont des co\xFBts fixes",summary:"R\xE9sum\xE9",total:"Total",typeDeduction:"Apr\xE8s {{type,deepNested:deduction}}-d\xE9duction"},placeholder:{description:"Choisir la ou les options qui vous conviennent le mieux en cliquant sur le bouton ",descriptionBold:"Touche de s\xE9lection",title:"S\xE9lectionner une option"},terms:{houseWork:`Le prix total apr\xE8s d\xE9duction fiscale pour les travaux de {{type,deepNested:deduction}} n\xE9cessite que les travaux effectu\xE9s soient \xE9ligibles \xE0 la d\xE9duction fiscale, que l'acheteur dispose d'un montant suffisant de d\xE9duction et qu'il n'ait pas \xE9t\xE9 utilis\xE9 pour d'autres travaux de {{type,deepNested:deduction}}. L'acheteur est responsable de la v\xE9rification de ces informations.
203
203
  `,houseWorkApprox:"Le prix est approximatif. N'oubliez pas que le prix peut varier jusqu'\xE0 15%. Si les services comprennent des travaux de terrassement, de d\xE9molition ou similaires. N'oubliez pas que le prix peut varier jusqu'\xE0 25%.",reverseVat:"Remarque : l'assujettissement \xE0 l'imp\xF4t inverse pour les travaux de construction s'applique."}},termsDisclaimer:{description:"En approuvant ce document, vous acceptez ",termsAndConditions:"conditions g\xE9n\xE9rales",title:"Conditions g\xE9n\xE9rales"}},close:"Fermer",company:"entreprise",deduction:{after:"apr\xE8s la d\xE9duction",afterType:"apr\xE8s {{type,deepNested:deduction}}-d\xE9duction",deduction:"d\xE9duction",greenRot15:"ROT vert",greenRot15_percentage:"ROT vert 15%",greenRot20:"ROT vert",greenRot20_percentage:"ROT vert 20%",greenRot50:"ROT vert",greenRot50_percentage:"ROT vert 50%",manualType:"D\xE9duction {{type,deepNested:deduction}} personnalis\xE9e",rot:"ROT",rot_percentage:"ROT",rut:"RUT",rut_percentage:"RUT",type:"{{type,deepNested:deduction}}-d\xE9duction"},denied:"rejet\xE9",deny:"Rejeter",denyModal:{denyButton:"Rejeter le document",helpfulInformation:"Nous informerons {{- senderName}} de {{- senderCompany}} que vous avez rejet\xE9 le document.",otherPlaceholder:"Optionnel. Veuillez laisser un commentaire sur les raisons de votre rejet.",subTitle:"Confirmer en cliquant sur le bouton Rejeter.",successTitle:"Vous avez rejet\xE9 le document",thanksAnswer:"Merci pour votre r\xE9ponse !",title:"Rejeter le document"},detail_plural:"d\xE9tails",document:"Document",document_plural:"Documents",documentDetails:{subTitle:"Informations sur le document."},documentTemplateView:{emailTemplate:{expires:{content:"$t(documentTemplateView.reminder) $t(documentTemplateView.emailTemplate.first.content)",subject:"$t(documentTemplateView.reminder) $t(documentTemplateView.sharedSubject)",text:`$t(documentTemplateView.emailTemplate.expires.title) $t(documentTemplateView.emailTemplate.expires.subject). $t(documentTemplateView.readMoreAndReply)
204
204
 
205
205
  {{docLink}}`,title:"$t(documentTemplateView.emailTemplate.first.title)"},first:{content:"Vous avez re\xE7u un document de {{company.name}}. Cliquez sur le lien pour en savoir plus et laissez votre r\xE9ponse.",subject:"$t(documentTemplateView.sharedSubject)",text:`$t(documentTemplateView.emailTemplate.first.title) $t(documentTemplateView.emailTemplate.first.subject). $t(documentTemplateView.readMoreAndReply)
@@ -220,7 +220,7 @@ $t(documentTemplateView.smsContent) $t(documentTemplateView.readMore)
220
220
  {{docLink}}`},viewed:{text:`$t(documentTemplateView.reminder)
221
221
  $t(documentTemplateView.smsContent) $t(documentTemplateView.readMore)
222
222
 
223
- {{docLink}}`}}},email:"e-mail",enterYour:"Saisissez votre {{thing}}",event:{accepted:"Document sign\xE9 par {{by}}.",denied:"Document rejet\xE9 par {{by}}.",event_plural:"\xE9v\xE9nements",expired:"Document expir\xE9.",requestChange:"Document marqu\xE9 manuellement comme {{status}}.",sent:"Document envoy\xE9 \xE0 {{to}}.",statusChanged:"Document marqu\xE9 comme {{status}}.",viewed:"A \xE9t\xE9 consult\xE9",viewedName:"{{name}} a consult\xE9 le document."},goBack:"Retour",less:"moins",login:"Se connecter",logout:"D\xE9connexion",myPages:{docCallout:{form:{text:"La biblioth\xE8que de documents vous permet de visualiser tous les documents que vous avez re\xE7us et qui sont li\xE9s \xE0 votre courrier \xE9lectronique.",title:"Biblioth\xE8que de documents"},loginLink:"lien d'acc\xE8s",goToMyPagesTitle:"Aller \xE0 vos pages de documents"},documentItem:{approved:"Approuv\xE9",expired:"Expir\xE9"},documentsPlaceholder:"Vous n'avez re\xE7u aucun document.",invoice:{browserTabTitle:"Facture de"},pageDescription:"Vous trouverez ici tous vos documents entrants.",requestForm:{alreadySentDescription:"Un lien d'acc\xE8s a d\xE9j\xE0 \xE9t\xE9 envoy\xE9 \xE0 {{email}}. Il peut prendre une minute pour arriver.",alreadySentTitle:"Le lien d'acc\xE8s a d\xE9j\xE0 \xE9t\xE9 envoy\xE9",emailFormat:"Format valide : nom@exemple.com",emailRequired:"Saisissez votre courrier \xE9lectronique",sendLink:"Envoyer un lien d'acc\xE8s",sentDescription:"Nous avons envoy\xE9 un lien \xE0 {{email}}. Utilisez ce lien pour vous connecter.",sentDescriptionSub:"Pour des raisons de s\xE9curit\xE9, vous ne pouvez vous connecter que via le lien d'acc\xE8s.",sentTitle:"Un lien d'acc\xE8s a \xE9t\xE9 envoy\xE9 dans votre bo\xEEte de r\xE9ception."},title:"Mes pages"},name:"nom",orgNoShort:"Num\xE9ro d'enregistrement de la soci\xE9t\xE9",participant_plural:"participants",phone:"t\xE9l\xE9phone",price:{approx:"Prix approximatif",fixed:"Prix fixe",markup:"Balisage",maxPrice:"prix maximum",net:"Total net",openAcc:"Ouvrir un compte",openAccMaxPrice:"Ouvrir un compte avec un prix maximum",openAccPrice:"Ouvrir un compte",price:"prix",price_plural:"prix",pricing:"tarification",proposal:"Options du forfait",total:"Prix total"},print:"Imprimer{{thing,inlineSpace}}",reference:"r\xE9f\xE9rence",replyBy:"R\xE9pondre par",see:"voir",select:"S\xE9lectionner{{thing,inlineSpace}}",send:"envoyer{{thing,inlineSpace}}",series:{ata:"Accord d'adh\xE9sion",contract:"Contrat",default:"Document",document:"Document",proposal:"Proposition"},show:"Afficher{{thing,inlineSpace}}",socialNo:"num\xE9ro de s\xE9curit\xE9 sociale",status:{accepted:"Accept\xE9",active:"Activer",archived:"Archiv\xE9",completed:"Termin\xE9",denied:"Refus\xE9",draft:"Brouillon",new:"Brouillon",semiSigned:"Partiellement sign\xE9",sent:"Envoy\xE9",signed:"Sign\xE9"},summaryBottom:{chooseFrom:"Choisir entre les options s\xE9lectionnables",forDetails:"pour en savoir plus",noOfOptions:"{{count}}",option:"option",option_plural:"options",reverseVat:"VAT {{- amount}}. La responsabilit\xE9 fiscale invers\xE9e s'applique"},theDocument:"le document",theSender:"l'exp\xE9diteur",times:"temps",times_plural:"temps",total:"total",tryAgain:"R\xE9essayer",unitType:{day:"jour",hour:"h",kg:"kg",km:"km",kWh:"kWh",litre:"litre",m:"m",m2:"m\xB2",m3:"m\xB3",mile:"mile",minute:"min",month:"mois",second:"s",ton:"tonne",unit:"pi\xE8ces",unitType:"type d'unit\xE9",unitType_plural:"types d'unit\xE9",week:"semaine",week_plural:"semaines",year:"ann\xE9e"},vat:{exVat:"ex. {{- thing}}",incVat:"incl. {{- thing}}",rate:"TVA / Taux d'imposition",reverseVat:"Responsabilit\xE9 fiscale invers\xE9e",reverseVatApplies:"La responsabilit\xE9 fiscale invers\xE9e s'applique",sharedTitle:"TVA / Taxe",tax:"taxe",vat:"TVA",vatIdentificationNumberShort:"N\xB0 d'identification TVA"}},RY=ie.brand.charAt(0).toUpperCase()+ie.brand.slice(1),MY={sign:"firma",accept:"aceptar",address:"direcci\xF3n",and:"y",answerFeedback:{intermediate:{title:"Gracias por compartir tu opini\xF3n."},no:{start:{action:"Enviar",placeholder:"\xBFQu\xE9 deber\xEDamos mejorar?",text:"\xBFHay algo espec\xEDfico que te gustar\xEDa compartir que podamos mejorar?",title:"Gracias por compartir."},success:{action:"M\xE1s informaci\xF3n sobre $t(appBrand)",secondary:"Volver al documento",text:"Tu comentario ha sido enviado con \xE9xito. Nuestro equipo revisar\xE1 tu comentario con detenimiento.",title:"Gracias."}},start:{no:"No",title:"\xBFTe ha gustado usar $t(appBrand) para ver este documento?",yes:"S\xED"},yes:{action:"Reg\xEDstrate gratis",secondary:"M\xE1s informaci\xF3n sobre $t(appBrand)",text:"Crea y env\xEDa documentos atractivos con $t(appBrand). Descubre todas las ventajas de enviar documentos guardados en la web con firmas electr\xF3nicas.",title:"Empieza a usar $t(appBrand) gratis."},custom:{title:"Gracias.",text:"Tu comentario ha sido enviado con \xE9xito. Nuestro equipo revisar\xE1 tu comentario con detenimiento.",action:"Volver al documento"}},answerModal:{answerSuccess:"Tu respuesta se envi\xF3 con \xE9xito.",bankId:{component:{defaultError:"Ha habido un problema. Aseg\xFArate de que has introducido tu n\xFAmero de seguridad social correctamente y vuelve a intentarlo.",signingInterrupted:"Firma interrumpida, int\xE9ntalo de nuevo...",startOnThisDevice:"Inicie BankID en este dispositivo",validations:{socialNo:{personalNumber:"N\xFAmero de seguridad social inv\xE1lido",required:"Introduce tu n\xFAmero de seguridad social"}},viewText:{canceled:{text:"La firma fue cancelada. Por favor, int\xE9ntalo de nuevo",title:"Firma interrumpida"},error:{text:"Algo ha ido mal. Por favor, int\xE9ntalo de nuevo.",title:"Se ha producido un error"},form:{text:"Introduce tu n\xFAmero de seguridad social para empezar a firmar el acuerdo.",title:"Firmar el documento con BankID"},new:{spinnerText:"Escanea el c\xF3digo QR en tu dispositivo.",text:"Abre BankID en tu dispositivo y firma el acuerdo.",title:"Firmar el documento"},signing:{spinnerText:"Firmar el documento.",text:"Abre BankID en tu dispositivo y firma el acuerdo.",title:"Firma en proceso"},waiting:{spinnerText:"Esperando a que abras BankID.",text:"Abre BankID en tu dispositivo y firma el acuerdo.",title:"Firmar el documento"}}},start:{action:"Firmar con BankID",text:"Aceptar y firmar el documento con BankID.",title:"Firmar con BankID"},success:{text:"$t(answerModal.successText)",textFallback:"$t(answerModal.successTextFallback)",title:"$t(answerModal.successTitle)"}},decline:{component:{inputPlaceholder:"Es opcional. Deja un comentario sobre el motivo de tu rechazo."},start:{action:"Rechazar",text:"Para rechazar este documento, confirma haciendo clic en el bot\xF3n de abajo.",title:"Rechazar documento"},success:{text:"Gracias por dejar una respuesta.",textFallback:"$t(answerModal.decline.success.text)",title:"Has rechazado el documento."}},signature:{component:{draw:{canvasLabel:"Dibujar la firma",tab:"Dibujar"},subTitle:"Elige el m\xE9todo de firma",terms:"Al firmar el documento, acepto que la firma electr\xF3nica utilizada es una representaci\xF3n de mi firma manuscrita y tiene la misma validez.",text:{canvasLabel:"Vista previa",nameLabel:"Firmado por",namePlaceholder:"Escribe tu nombre",tab:"Escribir"}},start:{action:"Firmar y aceptar",text:"",title:"Aceptar documento"},success:{text:"$t(answerModal.successText)",textFallback:"$t(answerModal.successTextFallback)",title:"$t(answerModal.successTitle)"}},successText:"Una vez que el documento haya sido firmado por todas las partes implicadas, recibir\xE1s un correo electr\xF3nico a {{email}} con una copia sellada del documento.",successTextFallback:"Una vez que el documento haya sido firmado por todas las partes implicadas, puedes volver a esta p\xE1gina web para descargar una copia sellada y completada del documento.",successTextFallbackSingle:"El documento ya se ha firmado y completado.",successTextSingle:"Se ha enviado un correo electr\xF3nico de confirmaci\xF3n a {{email}} con una copia sellada del documento.",successTitle:"Has firmado el documento."},appBrand:RY,approved:"aprobado",approx:"aprox.",cancel:"Cancelar",chapters:{answerButtons:{approveDescription:"Le hemos informado a {{- sender}} que el documento est\xE1 aprobado.",approveTitle:"\xA1El documento ha sido aprobado!",denyDescription:"Le hemos informado a {{- sender}} que no est\xE1s interesado/a.",denyTitle:"El documento ha sido rechazado",editPropDes:"Edita la designaci\xF3n de la propiedad",enterPropDes:"Especifica la designaci\xF3n de la propiedad",inPersonSignatureHint:"Se ha establecido que debes firmar el documento en persona. Si prefieres firmar la copia digital, contacta",waitingDescription:"Esperando a que {{remaining}} otro deje una respuesta.",youHave:"Tienes"},articleItem:{eligibleForDeduction:"Elegible para la deducci\xF3n {{type,deepNested:deduction}}"},articleList:{changeShowVatTooltip:"Alternar para mostrar {{type}}",title:"Servicios / Productos"},packageGroup:{errorCallout:"Selecciona al menos una opci\xF3n",selectableOptions:"Opciones seleccionables"},packageItem:{add:"A\xF1adir opci\xF3n",select:"Seleccionar opci\xF3n",selected:"Seleccionado"},parties:{allRiskAndLiability:"Tiene seguro de todo riesgo y responsabilidad civil",fTax:"Certificado para el impuesto F"},pricingSummary:{blocks:{approx:"Precio aproximado",deductionSubValue:"Precio total sin deducci\xF3n {{price}}",maxPrice:"Precio m\xE1ximo",maxPriceVat:"Precio m\xE1ximo {{vat}}",net:"Neto",price:"Precio",rounding:"Redondeo",subTitleArticles:"Cuando los productos / servicios con costes fijos",summary:"Resumen",total:"Total",typeDeduction:"Despu\xE9s de la deducci\xF3n {{type,deepNested:deduction}}"},placeholder:{description:"Elige la(s) opci\xF3n(es) que m\xE1s te convenga(n) haciendo clic en el ",descriptionBold:"Bot\xF3n de selecci\xF3n",title:"Selecciona una opci\xF3n"},terms:{houseWork:`El precio total despu\xE9s de la deducci\xF3n de impuestos para el trabajo {{type,deepNested:deduction}}requiere que el trabajo realizado cumpla los requisitos para la deducci\xF3n de impuestos, que el comprador tenga una cantidad suficiente de deducci\xF3n disponible y que no se haya utilizado para otro trabajo {{type,deepNested:deduction}}. El comprador es responsable de verificar esta informaci\xF3n.
223
+ {{docLink}}`}}},email:"e-mail",enterYour:"Saisissez votre {{thing}}",event:{accepted:"Document sign\xE9 par {{by}}.",denied:"Document rejet\xE9 par {{by}}.",event_plural:"\xE9v\xE9nements",expired:"Document expir\xE9.",requestChange:"Document marqu\xE9 manuellement comme {{status}}.",sent:"Document envoy\xE9 \xE0 {{to}}.",statusChanged:"Document marqu\xE9 comme {{status}}.",viewed:"A \xE9t\xE9 consult\xE9",viewedName:"{{name}} a consult\xE9 le document."},goBack:"Retour",less:"moins",login:"Se connecter",logout:"D\xE9connexion",myPages:{docCallout:{form:{text:"La biblioth\xE8que de documents vous permet de visualiser tous les documents que vous avez re\xE7us et qui sont li\xE9s \xE0 votre courrier \xE9lectronique.",title:"Biblioth\xE8que de documents"},loginLink:"lien d'acc\xE8s",goToMyPagesTitle:"Aller \xE0 vos pages de documents"},documentItem:{approved:"Approuv\xE9",expired:"Expir\xE9"},documentsPlaceholder:"Vous n'avez re\xE7u aucun document.",invoice:{browserTabTitle:"Facture de"},pageDescription:"Vous trouverez ici tous vos documents entrants.",requestForm:{alreadySentDescription:"Un lien d'acc\xE8s a d\xE9j\xE0 \xE9t\xE9 envoy\xE9 \xE0 {{email}}. Il peut prendre une minute pour arriver.",alreadySentTitle:"Le lien d'acc\xE8s a d\xE9j\xE0 \xE9t\xE9 envoy\xE9",emailFormat:"Format valide : nom@exemple.com",emailRequired:"Saisissez votre courrier \xE9lectronique",sendLink:"Envoyer un lien d'acc\xE8s",sentDescription:"Nous avons envoy\xE9 un lien \xE0 {{email}}. Utilisez ce lien pour vous connecter.",sentDescriptionSub:"Pour des raisons de s\xE9curit\xE9, vous ne pouvez vous connecter que via le lien d'acc\xE8s.",sentTitle:"Un lien d'acc\xE8s a \xE9t\xE9 envoy\xE9 dans votre bo\xEEte de r\xE9ception."},title:"Mes pages"},name:"nom",orgNoShort:"Num\xE9ro d'enregistrement de la soci\xE9t\xE9",participant_plural:"participants",phone:"t\xE9l\xE9phone",price:{approx:"Prix approximatif",fixed:"Prix fixe",markup:"Balisage",maxPrice:"prix maximum",net:"Total net",openAcc:"Ouvrir un compte",openAccMaxPrice:"Ouvrir un compte avec un prix maximum",openAccPrice:"Ouvrir un compte",price:"prix",price_plural:"prix",pricing:"tarification",proposal:"Options du forfait",total:"Prix total"},print:"Imprimer{{thing,inlineSpace}}",reference:"r\xE9f\xE9rence",replyBy:"R\xE9pondre par",see:"voir",select:"S\xE9lectionner{{thing,inlineSpace}}",send:"envoyer{{thing,inlineSpace}}",series:{ata:"Accord d'adh\xE9sion",contract:"Contrat",default:"Document",document:"Document",proposal:"Proposition"},show:"Afficher{{thing,inlineSpace}}",socialNo:"num\xE9ro de s\xE9curit\xE9 sociale",status:{accepted:"Accept\xE9",active:"Activer",archived:"Archiv\xE9",expired:"Expir\xE9",completed:"Termin\xE9",denied:"Refus\xE9",draft:"Brouillon",new:"Brouillon",semiSigned:"Partiellement sign\xE9",sent:"Envoy\xE9",signed:"Sign\xE9"},summaryBottom:{chooseFrom:"Choisir entre les options s\xE9lectionnables",forDetails:"pour en savoir plus",noOfOptions:"{{count}}",option:"option",option_plural:"options",reverseVat:"VAT {{- amount}}. La responsabilit\xE9 fiscale invers\xE9e s'applique"},theDocument:"le document",theSender:"l'exp\xE9diteur",times:"temps",times_plural:"temps",total:"total",tryAgain:"R\xE9essayer",unitType:{day:"jour",hour:"h",kg:"kg",km:"km",kWh:"kWh",litre:"litre",m:"m",m2:"m\xB2",m3:"m\xB3",mile:"mile",minute:"min",month:"mois",second:"s",ton:"tonne",unit:"pi\xE8ces",unitType:"type d'unit\xE9",unitType_plural:"types d'unit\xE9",week:"semaine",week_plural:"semaines",year:"ann\xE9e"},vat:{exVat:"ex. {{- thing}}",incVat:"incl. {{- thing}}",rate:"TVA / Taux d'imposition",reverseVat:"Responsabilit\xE9 fiscale invers\xE9e",reverseVatApplies:"La responsabilit\xE9 fiscale invers\xE9e s'applique",sharedTitle:"TVA / Taxe",tax:"taxe",vat:"TVA",vatIdentificationNumberShort:"N\xB0 d'identification TVA"}},RY=ie.brand.charAt(0).toUpperCase()+ie.brand.slice(1),MY={sign:"firma",accept:"aceptar",address:"direcci\xF3n",and:"y",answerFeedback:{intermediate:{title:"Gracias por compartir tu opini\xF3n."},no:{start:{action:"Enviar",placeholder:"\xBFQu\xE9 deber\xEDamos mejorar?",text:"\xBFHay algo espec\xEDfico que te gustar\xEDa compartir que podamos mejorar?",title:"Gracias por compartir."},success:{action:"M\xE1s informaci\xF3n sobre $t(appBrand)",secondary:"Volver al documento",text:"Tu comentario ha sido enviado con \xE9xito. Nuestro equipo revisar\xE1 tu comentario con detenimiento.",title:"Gracias."}},start:{no:"No",title:"\xBFTe ha gustado usar $t(appBrand) para ver este documento?",yes:"S\xED"},yes:{action:"Reg\xEDstrate gratis",secondary:"M\xE1s informaci\xF3n sobre $t(appBrand)",text:"Crea y env\xEDa documentos atractivos con $t(appBrand). Descubre todas las ventajas de enviar documentos guardados en la web con firmas electr\xF3nicas.",title:"Empieza a usar $t(appBrand) gratis."},custom:{title:"Gracias.",text:"Tu comentario ha sido enviado con \xE9xito. Nuestro equipo revisar\xE1 tu comentario con detenimiento.",action:"Volver al documento"}},answerModal:{answerSuccess:"Tu respuesta se envi\xF3 con \xE9xito.",bankId:{component:{defaultError:"Ha habido un problema. Aseg\xFArate de que has introducido tu n\xFAmero de seguridad social correctamente y vuelve a intentarlo.",signingInterrupted:"Firma interrumpida, int\xE9ntalo de nuevo...",startOnThisDevice:"Inicie BankID en este dispositivo",validations:{socialNo:{personalNumber:"N\xFAmero de seguridad social inv\xE1lido",required:"Introduce tu n\xFAmero de seguridad social"}},viewText:{canceled:{text:"La firma fue cancelada. Por favor, int\xE9ntalo de nuevo",title:"Firma interrumpida"},error:{text:"Algo ha ido mal. Por favor, int\xE9ntalo de nuevo.",title:"Se ha producido un error"},form:{text:"Introduce tu n\xFAmero de seguridad social para empezar a firmar el acuerdo.",title:"Firmar el documento con BankID"},new:{spinnerText:"Escanea el c\xF3digo QR en tu dispositivo.",text:"Abre BankID en tu dispositivo y firma el acuerdo.",title:"Firmar el documento"},signing:{spinnerText:"Firmar el documento.",text:"Abre BankID en tu dispositivo y firma el acuerdo.",title:"Firma en proceso"},waiting:{spinnerText:"Esperando a que abras BankID.",text:"Abre BankID en tu dispositivo y firma el acuerdo.",title:"Firmar el documento"}}},start:{action:"Firmar con BankID",text:"Aceptar y firmar el documento con BankID.",title:"Firmar con BankID"},success:{text:"$t(answerModal.successText)",textFallback:"$t(answerModal.successTextFallback)",title:"$t(answerModal.successTitle)"}},decline:{component:{inputPlaceholder:"Es opcional. Deja un comentario sobre el motivo de tu rechazo."},start:{action:"Rechazar",text:"Para rechazar este documento, confirma haciendo clic en el bot\xF3n de abajo.",title:"Rechazar documento"},success:{text:"Gracias por dejar una respuesta.",textFallback:"$t(answerModal.decline.success.text)",title:"Has rechazado el documento."}},signature:{component:{draw:{canvasLabel:"Dibujar la firma",tab:"Dibujar"},subTitle:"Elige el m\xE9todo de firma",terms:"Al firmar el documento, acepto que la firma electr\xF3nica utilizada es una representaci\xF3n de mi firma manuscrita y tiene la misma validez.",text:{canvasLabel:"Vista previa",nameLabel:"Firmado por",namePlaceholder:"Escribe tu nombre",tab:"Escribir"}},start:{action:"Firmar y aceptar",text:"",title:"Aceptar documento"},success:{text:"$t(answerModal.successText)",textFallback:"$t(answerModal.successTextFallback)",title:"$t(answerModal.successTitle)"}},successText:"Una vez que el documento haya sido firmado por todas las partes implicadas, recibir\xE1s un correo electr\xF3nico a {{email}} con una copia sellada del documento.",successTextFallback:"Una vez que el documento haya sido firmado por todas las partes implicadas, puedes volver a esta p\xE1gina web para descargar una copia sellada y completada del documento.",successTextFallbackSingle:"El documento ya se ha firmado y completado.",successTextSingle:"Se ha enviado un correo electr\xF3nico de confirmaci\xF3n a {{email}} con una copia sellada del documento.",successTitle:"Has firmado el documento."},appBrand:RY,approved:"aprobado",approx:"aprox.",cancel:"Cancelar",chapters:{answerButtons:{approveDescription:"Le hemos informado a {{- sender}} que el documento est\xE1 aprobado.",approveTitle:"\xA1El documento ha sido aprobado!",denyDescription:"Le hemos informado a {{- sender}} que no est\xE1s interesado/a.",denyTitle:"El documento ha sido rechazado",editPropDes:"Edita la designaci\xF3n de la propiedad",enterPropDes:"Especifica la designaci\xF3n de la propiedad",inPersonSignatureHint:"Se ha establecido que debes firmar el documento en persona. Si prefieres firmar la copia digital, contacta",waitingDescription:"Esperando a que {{remaining}} otro deje una respuesta.",youHave:"Tienes"},articleItem:{eligibleForDeduction:"Elegible para la deducci\xF3n {{type,deepNested:deduction}}"},articleList:{changeShowVatTooltip:"Alternar para mostrar {{type}}",title:"Servicios / Productos"},packageGroup:{errorCallout:"Selecciona al menos una opci\xF3n",selectableOptions:"Opciones seleccionables"},packageItem:{add:"A\xF1adir opci\xF3n",select:"Seleccionar opci\xF3n",selected:"Seleccionado"},parties:{allRiskAndLiability:"Tiene seguro de todo riesgo y responsabilidad civil",fTax:"Certificado para el impuesto F"},pricingSummary:{blocks:{approx:"Precio aproximado",deductionSubValue:"Precio total sin deducci\xF3n {{price}}",maxPrice:"Precio m\xE1ximo",maxPriceVat:"Precio m\xE1ximo {{vat}}",net:"Neto",price:"Precio",rounding:"Redondeo",subTitleArticles:"Cuando los productos / servicios con costes fijos",summary:"Resumen",total:"Total",typeDeduction:"Despu\xE9s de la deducci\xF3n {{type,deepNested:deduction}}"},placeholder:{description:"Elige la(s) opci\xF3n(es) que m\xE1s te convenga(n) haciendo clic en el ",descriptionBold:"Bot\xF3n de selecci\xF3n",title:"Selecciona una opci\xF3n"},terms:{houseWork:`El precio total despu\xE9s de la deducci\xF3n de impuestos para el trabajo {{type,deepNested:deduction}}requiere que el trabajo realizado cumpla los requisitos para la deducci\xF3n de impuestos, que el comprador tenga una cantidad suficiente de deducci\xF3n disponible y que no se haya utilizado para otro trabajo {{type,deepNested:deduction}}. El comprador es responsable de verificar esta informaci\xF3n.
224
224
  `,houseWorkApprox:"El precio es un aproximado. Recuerda que el precio puede variar hasta un 15%. Si los servicios incluyen trabajos de suelo/demolici\xF3n o similares. Recuerda que el precio puede variar hasta un 25%.",reverseVat:"Por favor, ten en cuenta que se aplica el impuesto inverso a las obras de construcci\xF3n."}},termsDisclaimer:{description:"Al aprobar este documento, aceptas los ",termsAndConditions:"t\xE9rminos y condiciones",title:"T\xE9rminos"}},close:"Cerrar",company:"empresa",deduction:{after:"despu\xE9s de la deducci\xF3n",afterType:"despu\xE9s de la deducci\xF3n {{type,deepNested:deduction}}",deduction:"deducci\xF3n",greenRot15:"Green ROT",greenRot15_percentage:"Green ROT 15%",greenRot20:"Green ROT",greenRot20_percentage:"Green ROT 20%",greenRot50:"Green ROT",greenRot50_percentage:"Green ROT 50%",manualType:"Deducci\xF3n personalizada {{type,deepNested:deduction}}",rot:"ROT",rot_percentage:"ROT",rut:"RUT",rut_percentage:"RUT",type:"Deducci\xF3n {{type,deepNested:deduction}}"},denied:"rechazado",deny:"Rechazado",denyModal:{denyButton:"Documento rechazado",helpfulInformation:"Le informaremos a {{- senderName}} de {{- senderCompany}} que has rechazado el documento.",otherPlaceholder:"OOpcional. Deja un comentario sobre el motivo por el que est\xE1s rechazando el documento.",subTitle:"Confirma haciendo clic en el bot\xF3n Rechazar.",successTitle:"Has rechazado el documento",thanksAnswer:"\xA1Gracias por tu respuesta!",title:"Rechazar documento"},detail_plural:"detalles",document:"Documento",document_plural:"Documentos",documentDetails:{subTitle:"Informaci\xF3n sobre el documento."},documentTemplateView:{emailTemplate:{expires:{content:"$t(documentTemplateView.reminder) $t(documentTemplateView.emailTemplate.first.content)",subject:"$t(documentTemplateView.reminder) $t(documentTemplateView.sharedSubject)",text:`$t(documentTemplateView.emailTemplate.expires.title) $t(documentTemplateView.emailTemplate.expires.subject). $t(documentTemplateView.readMoreAndReply)
225
225
 
226
226
  {{docLink}}`,title:"$t(documentTemplateView.emailTemplate.first.title)"},first:{content:"Has recibido un documento de {{company.name}}. Haz clic en el enlace para leer m\xE1s y dejar tu respuesta.",subject:"$t(documentTemplateView.sharedSubject)",text:`$t(documentTemplateView.emailTemplate.first.title) $t(documentTemplateView.emailTemplate.first.subject). $t(documentTemplateView.readMoreAndReply)
@@ -241,7 +241,7 @@ $t(documentTemplateView.smsContent) $t(documentTemplateView.readMore)
241
241
  {{docLink}}`},viewed:{text:`$t(documentTemplateView.reminder)
242
242
  $t(documentTemplateView.smsContent) $t(documentTemplateView.readMore)
243
243
 
244
- {{docLink}}`}}},email:"correo electr\xF3nico",enterYour:"Escribe tu {{thing}}",event:{accepted:"Documento firmado por {{by}}.",denied:"Documento rechazado por {{by}}.",event_plural:"eventos",expired:"Documento caducado.",requestChange:"Documento marcado manualmente como {{status}}.",sent:"Documento enviado a {{to}}.",statusChanged:"Documento marcado como {{status}}.",viewed:"Ha sido visto",viewedName:"{{name}} ha visto el documento."},goBack:"Volver",less:"menos",login:"Iniciar sesi\xF3n",logout:"Cerrar sesi\xF3n",myPages:{docCallout:{form:{text:"Puedes ver todos los documentos que has recibido y que est\xE1n conectados a tu correo electr\xF3nico a trav\xE9s de la biblioteca de documentos.",title:"Biblioteca de documentos"},loginLink:"enlace de acceso",goToMyPagesTitle:"Ir a tus p\xE1ginas de documentos"},documentItem:{approved:"Aprobado",expired:"Expirado"},documentsPlaceholder:"No has recibido ning\xFAn documento.",invoice:{browserTabTitle:"Factura de"},pageDescription:"Aqu\xED encontrar\xE1s todos tus documentos recibidos.",requestForm:{alreadySentDescription:"Ya se ha enviado un enlace de acceso a {{email}}. Puede que tarde un minuto en llegar.",alreadySentTitle:"El enlace de acceso ya se ha enviado",emailFormat:"Formato v\xE1lido: nombre@ejemplo.com",emailRequired:"Introduce tu correo electr\xF3nico",sendLink:"Enviar enlace de acceso",sentDescription:"Hemos enviado un enlace a {{email}}. Usa ese enlace para iniciar sesi\xF3n.",sentDescriptionSub:"Por razones de seguridad, solo puedes iniciar sesi\xF3n mediante el enlace de acceso.",sentTitle:"Se ha enviado un enlace de acceso a tu bandeja de entrada"},title:"Mis p\xE1ginas"},name:"nombre",orgNoShort:"N\xFAmero de registro de la empresa",participant_plural:"participantes",phone:"tel\xE9fono",price:{approx:"Precio aproximado",fixed:"Precio fijo",markup:"Recargo",maxPrice:"Precio m\xE1ximo",net:"Total neto",openAcc:"Cuenta abierta",openAccMaxPrice:"Cuenta abierta con precio m\xE1ximo",openAccPrice:"Cuenta abierta",price:"precio",price_plural:"precios",pricing:"tarifa",proposal:"Opciones del paquete",total:"Precio total"},print:"Imprimir{{thing,inlineSpace}}",reference:"referencia",replyBy:"Responder por",see:"ver",select:"Seleccionar{{thing,inlineSpace}}",send:"enviar{{thing,inlineSpace}}",series:{ata:"Acuerdo de afiliaci\xF3n",contract:"Contrato",default:"Documento",document:"Documento",proposal:"Propuesta"},show:"Mostrar{{thing,inlineSpace}}",socialNo:"N\xFAmero de la seguridad social",status:{accepted:"Aceptado",active:"Activo",archived:"Archivado",completed:"Completado",denied:"Rechazado",draft:"Borrador",new:"Borrador",semiSigned:"Parcialmente firmado",sent:"Enviado",signed:"Firmado"},summaryBottom:{chooseFrom:"Elige entre las opciones seleccionables",forDetails:"para m\xE1s detalles",noOfOptions:"{{count}}",option:"opci\xF3n",option_plural:"opciones",reverseVat:"IVA {{- amount}}. Se aplica el impuesto inverso"},theDocument:"el documento",theSender:"el remitente",times:"hora",times_plural:"horas",total:"total",tryAgain:"Intentar de nuevo",unitType:{day:"d\xEDa",hour:"h",kg:"kg",km:"km",kWh:"kWh",litre:"litros",m:"m",m2:"m\xB2",m3:"m\xB3",mile:"milla",minute:"min",month:"mes",second:"s",ton:"ton",unit:"uds",unitType:"tipo de unidad",unitType_plural:"tipos de unidad",week:"semana",week_plural:"semanas",year:"a\xF1o"},vat:{exVat:"ex. {{- thing}}",incVat:"incl. {{- thing}}",rate:"Tipo de IVA / Impuesto",reverseVat:"Impuesto inverso",reverseVatApplies:"Se aplica el impuesto inverso",sharedTitle:"IVA / Impuesto",tax:"impuesto",vat:"IVA",vatIdentificationNumberShort:"N\xFAmero de identificaci\xF3n del IVA"}},NY=ie.brand.charAt(0).toUpperCase()+ie.brand.slice(1),LY={sign:"ondertekenen",accept:"accepteren",address:"adres",and:"en",answerFeedback:{intermediate:{title:"Bedankt voor het delen van je mening."},no:{start:{action:"Versturen",placeholder:"Wat kunnen we verbeteren?",text:"Is er iets specifieks dat je wilt delen dat we kunnen verbeteren?",title:"Bedankt voor het delen."},success:{action:"Lees meer over $t(appBrand)",secondary:"Terug naar document",text:"Je feedback is verzonden. Ons team zal je feedback beoordelen.",title:"Bedankt."}},start:{no:"Nee",title:"Beviel het om dit document te bekijken met $t(appBrand)?",yes:"Ja"},yes:{action:"Gratis registreren",secondary:"Lees meer over $t(appBrand)",text:"Maak en verstuur prachtige documenten met $t(appBrand). Ontdek alle voordelen van het verzenden van web-based documenten met elektronische handtekeningen.",title:"Start gratis met $t(appBrand)."},custom:{title:"Bedankt.",text:"Je feedback is verzonden. Ons team zal je feedback beoordelen.",action:"Terug naar document"}},answerModal:{answerSuccess:"Je antwoord is succesvol verzonden.",bankId:{component:{defaultError:"Er ging iets mis. Zorg ervoor dat u uw burgerservicenummer correct hebt ingevoerd en probeer het opnieuw.",signingInterrupted:"Tekenen onderbroken, probeer opnieuw...",startOnThisDevice:"Start BankID op dit apparaat",validations:{socialNo:{personalNumber:"Ongeldig burgerservicenummer",required:"Voer uw burgerservicenummer in"}},viewText:{canceled:{text:"Ondertekening geannuleerd. Probeer opnieuw.",title:"Ondertekenen onderbroken"},error:{text:"Er ging iets mis. Probeer opnieuw.",title:"Er ging iets mis"},form:{text:"Voer uw burgerservicenummer in om te beginnen met het ondertekenen van de overeenkomst.",title:"Onderteken het document met BankID"},new:{spinnerText:"Scan de QR-code op uw apparaat.",text:"Open BankID op uw apparaat en onderteken de overeenkomst.",title:"Onderteken het document"},signing:{spinnerText:"Onderteken het document.",text:"Open BankID op uw apparaat en onderteken de overeenkomst.",title:"Tekenen bezig"},waiting:{spinnerText:"Waiting for you to open BankID.",text:"Open BankID op uw apparaat en onderteken de overeenkomst.",title:"Onderteken het document"}}},start:{action:"Ondertekenen met BankID",text:"Accepteer en onderteken het document met BankID.",title:"Ondertekenen met BankID"},success:{text:"$t(answerModal.successText)",textFallback:"$t(answerModal.successTextFallback)",title:"$t(answerModal.successTitle)"}},decline:{component:{inputPlaceholder:"Optioneel. Laat een reactie achter waarom u weigert."},start:{action:"Weigeren",text:"Om dit document te weigeren, gelieve te bevestigen door op de onderstaande knop te klikken.",title:"Document weigeren"},success:{text:"Dank voor het achterlaten van een antwoord.",textFallback:"$t(answerModal.decline.success.text)",title:"Je hebt het document geweigerd."}},signature:{component:{draw:{canvasLabel:"Zet handtekening",tab:"Tekenen"},subTitle:"Kies teken methode",terms:"Door dit document te ondertekenen, verklaar ik dat de elektronische handtekening een weergave is van mijn handgeschreven handtekening - en even geldig is.",text:{canvasLabel:"Voorbeeld",nameLabel:"Ondertekend door",namePlaceholder:"Type je naam in",tab:"Type"}},start:{action:"Ondertekenen en accepteren",text:"",title:"Document accepteren"},success:{text:"$t(answerModal.successText)",textFallback:"$t(answerModal.successTextFallback)",title:"$t(answerModal.successTitle)"}},successText:"Zodra het document door alle betrokken partijen is ondertekend, ontvangt u een e-mail naar {{email}} met een verzegelde kopie van het document.",successTextFallback:"Zodra het document door alle betrokken partijen is ondertekend, kunt u naar deze webpagina terugkeren om een verzegeld en ingevuld exemplaar van het document te downloaden.",successTextFallbackSingle:"Het document is nu ondertekend en voltooid.",successTextSingle:"Er is een bevestigingsmail naar {{email}} gestuurd met een verzegelde kopie van het document.",successTitle:"Je hebt het document ondertekend."},appBrand:NY,approved:"goedgekeurd",approx:"ongeveer",cancel:"Annuleren",chapters:{answerButtons:{approveDescription:"We hebben {{- sender}} laten weten dat het document is goedgekeurd.",approveTitle:"Het document is goedgekeurd!",denyDescription:"We hebben {{- sender}} dat je niet ge\xEFnteresseerd bent.",denyTitle:"Het document is afgewezen",editPropDes:"Wijzig eigendom",enterPropDes:"Voer eigendomsaanduiding in",inPersonSignatureHint:"Het is de bedoeling dat je dit document face-to-face ondertekend. Als je in plaats daarvan de digitale kopie wilt ondertekenen, neem dan contact op met",waitingDescription:"Wachtend op {{remaining}} anderen voor een reactie.",youHave:"Je hebt "},articleItem:{eligibleForDeduction:"In aanmerking komend voor {{type,deepNested:deduction}}-aftrek"},articleList:{changeShowVatTooltip:"Schakelen om te tonen {{type}}",title:"Diensten / Producten"},packageGroup:{errorCallout:"Selecteer ten minste \xE9\xE9n optie",selectableOptions:"Selecteerbare opties"},packageItem:{add:"Optie toevoegen",select:"Optie selecteren",selected:"Geselecteerd"},parties:{allRiskAndLiability:"Heeft alle risico- en aansprakelijkheidsverzekering",fTax:"Gecertificeerd voor F-tax"},pricingSummary:{blocks:{approx:"Geschatte prijs",deductionSubValue:"Totale prijs zonder aftrek {{price}}",maxPrice:"Max prijs",maxPriceVat:"Max prijs {{vat}}",net:"Netto",price:"Prijs",rounding:"Afronding",subTitleArticles:"Voor producten / diensten met vaste kosten",summary:"Samenvatting",total:"Totaal",typeDeduction:"Na {{type,deepNested:deduction}}-aftrek"},placeholder:{description:"Kies de optie(s) die het best passen door te klikken op de ",descriptionBold:"Keuzeknop",title:"Selecteer een optie"},terms:{houseWork:`De totale prijs na aftrek van belastingen voor {{type,deepNested:deduction}}-werkzaamheden vereist dat het uitgevoerde werk in aanmerking komt voor belastingaftrek, dat de koper voldoende aftrek beschikbaar heeft en dat het niet is gebruikt voor andere {{type,deepNested:deduction}}-werkzaamheden. De koper is verantwoordelijk voor het controleren van deze informatie.
244
+ {{docLink}}`}}},email:"correo electr\xF3nico",enterYour:"Escribe tu {{thing}}",event:{accepted:"Documento firmado por {{by}}.",denied:"Documento rechazado por {{by}}.",event_plural:"eventos",expired:"Documento caducado.",requestChange:"Documento marcado manualmente como {{status}}.",sent:"Documento enviado a {{to}}.",statusChanged:"Documento marcado como {{status}}.",viewed:"Ha sido visto",viewedName:"{{name}} ha visto el documento."},goBack:"Volver",less:"menos",login:"Iniciar sesi\xF3n",logout:"Cerrar sesi\xF3n",myPages:{docCallout:{form:{text:"Puedes ver todos los documentos que has recibido y que est\xE1n conectados a tu correo electr\xF3nico a trav\xE9s de la biblioteca de documentos.",title:"Biblioteca de documentos"},loginLink:"enlace de acceso",goToMyPagesTitle:"Ir a tus p\xE1ginas de documentos"},documentItem:{approved:"Aprobado",expired:"Expirado"},documentsPlaceholder:"No has recibido ning\xFAn documento.",invoice:{browserTabTitle:"Factura de"},pageDescription:"Aqu\xED encontrar\xE1s todos tus documentos recibidos.",requestForm:{alreadySentDescription:"Ya se ha enviado un enlace de acceso a {{email}}. Puede que tarde un minuto en llegar.",alreadySentTitle:"El enlace de acceso ya se ha enviado",emailFormat:"Formato v\xE1lido: nombre@ejemplo.com",emailRequired:"Introduce tu correo electr\xF3nico",sendLink:"Enviar enlace de acceso",sentDescription:"Hemos enviado un enlace a {{email}}. Usa ese enlace para iniciar sesi\xF3n.",sentDescriptionSub:"Por razones de seguridad, solo puedes iniciar sesi\xF3n mediante el enlace de acceso.",sentTitle:"Se ha enviado un enlace de acceso a tu bandeja de entrada"},title:"Mis p\xE1ginas"},name:"nombre",orgNoShort:"N\xFAmero de registro de la empresa",participant_plural:"participantes",phone:"tel\xE9fono",price:{approx:"Precio aproximado",fixed:"Precio fijo",markup:"Recargo",maxPrice:"Precio m\xE1ximo",net:"Total neto",openAcc:"Cuenta abierta",openAccMaxPrice:"Cuenta abierta con precio m\xE1ximo",openAccPrice:"Cuenta abierta",price:"precio",price_plural:"precios",pricing:"tarifa",proposal:"Opciones del paquete",total:"Precio total"},print:"Imprimir{{thing,inlineSpace}}",reference:"referencia",replyBy:"Responder por",see:"ver",select:"Seleccionar{{thing,inlineSpace}}",send:"enviar{{thing,inlineSpace}}",series:{ata:"Acuerdo de afiliaci\xF3n",contract:"Contrato",default:"Documento",document:"Documento",proposal:"Propuesta"},show:"Mostrar{{thing,inlineSpace}}",socialNo:"N\xFAmero de la seguridad social",status:{accepted:"Aceptado",active:"Activo",archived:"Archivado",expired:"Caducado",completed:"Completado",denied:"Rechazado",draft:"Borrador",new:"Borrador",semiSigned:"Parcialmente firmado",sent:"Enviado",signed:"Firmado"},summaryBottom:{chooseFrom:"Elige entre las opciones seleccionables",forDetails:"para m\xE1s detalles",noOfOptions:"{{count}}",option:"opci\xF3n",option_plural:"opciones",reverseVat:"IVA {{- amount}}. Se aplica el impuesto inverso"},theDocument:"el documento",theSender:"el remitente",times:"hora",times_plural:"horas",total:"total",tryAgain:"Intentar de nuevo",unitType:{day:"d\xEDa",hour:"h",kg:"kg",km:"km",kWh:"kWh",litre:"litros",m:"m",m2:"m\xB2",m3:"m\xB3",mile:"milla",minute:"min",month:"mes",second:"s",ton:"ton",unit:"uds",unitType:"tipo de unidad",unitType_plural:"tipos de unidad",week:"semana",week_plural:"semanas",year:"a\xF1o"},vat:{exVat:"ex. {{- thing}}",incVat:"incl. {{- thing}}",rate:"Tipo de IVA / Impuesto",reverseVat:"Impuesto inverso",reverseVatApplies:"Se aplica el impuesto inverso",sharedTitle:"IVA / Impuesto",tax:"impuesto",vat:"IVA",vatIdentificationNumberShort:"N\xFAmero de identificaci\xF3n del IVA"}},NY=ie.brand.charAt(0).toUpperCase()+ie.brand.slice(1),LY={sign:"ondertekenen",accept:"accepteren",address:"adres",and:"en",answerFeedback:{intermediate:{title:"Bedankt voor het delen van je mening."},no:{start:{action:"Versturen",placeholder:"Wat kunnen we verbeteren?",text:"Is er iets specifieks dat je wilt delen dat we kunnen verbeteren?",title:"Bedankt voor het delen."},success:{action:"Lees meer over $t(appBrand)",secondary:"Terug naar document",text:"Je feedback is verzonden. Ons team zal je feedback beoordelen.",title:"Bedankt."}},start:{no:"Nee",title:"Beviel het om dit document te bekijken met $t(appBrand)?",yes:"Ja"},yes:{action:"Gratis registreren",secondary:"Lees meer over $t(appBrand)",text:"Maak en verstuur prachtige documenten met $t(appBrand). Ontdek alle voordelen van het verzenden van web-based documenten met elektronische handtekeningen.",title:"Start gratis met $t(appBrand)."},custom:{title:"Bedankt.",text:"Je feedback is verzonden. Ons team zal je feedback beoordelen.",action:"Terug naar document"}},answerModal:{answerSuccess:"Je antwoord is succesvol verzonden.",bankId:{component:{defaultError:"Er ging iets mis. Zorg ervoor dat u uw burgerservicenummer correct hebt ingevoerd en probeer het opnieuw.",signingInterrupted:"Tekenen onderbroken, probeer opnieuw...",startOnThisDevice:"Start BankID op dit apparaat",validations:{socialNo:{personalNumber:"Ongeldig burgerservicenummer",required:"Voer uw burgerservicenummer in"}},viewText:{canceled:{text:"Ondertekening geannuleerd. Probeer opnieuw.",title:"Ondertekenen onderbroken"},error:{text:"Er ging iets mis. Probeer opnieuw.",title:"Er ging iets mis"},form:{text:"Voer uw burgerservicenummer in om te beginnen met het ondertekenen van de overeenkomst.",title:"Onderteken het document met BankID"},new:{spinnerText:"Scan de QR-code op uw apparaat.",text:"Open BankID op uw apparaat en onderteken de overeenkomst.",title:"Onderteken het document"},signing:{spinnerText:"Onderteken het document.",text:"Open BankID op uw apparaat en onderteken de overeenkomst.",title:"Tekenen bezig"},waiting:{spinnerText:"Waiting for you to open BankID.",text:"Open BankID op uw apparaat en onderteken de overeenkomst.",title:"Onderteken het document"}}},start:{action:"Ondertekenen met BankID",text:"Accepteer en onderteken het document met BankID.",title:"Ondertekenen met BankID"},success:{text:"$t(answerModal.successText)",textFallback:"$t(answerModal.successTextFallback)",title:"$t(answerModal.successTitle)"}},decline:{component:{inputPlaceholder:"Optioneel. Laat een reactie achter waarom u weigert."},start:{action:"Weigeren",text:"Om dit document te weigeren, gelieve te bevestigen door op de onderstaande knop te klikken.",title:"Document weigeren"},success:{text:"Dank voor het achterlaten van een antwoord.",textFallback:"$t(answerModal.decline.success.text)",title:"Je hebt het document geweigerd."}},signature:{component:{draw:{canvasLabel:"Zet handtekening",tab:"Tekenen"},subTitle:"Kies teken methode",terms:"Door dit document te ondertekenen, verklaar ik dat de elektronische handtekening een weergave is van mijn handgeschreven handtekening - en even geldig is.",text:{canvasLabel:"Voorbeeld",nameLabel:"Ondertekend door",namePlaceholder:"Type je naam in",tab:"Type"}},start:{action:"Ondertekenen en accepteren",text:"",title:"Document accepteren"},success:{text:"$t(answerModal.successText)",textFallback:"$t(answerModal.successTextFallback)",title:"$t(answerModal.successTitle)"}},successText:"Zodra het document door alle betrokken partijen is ondertekend, ontvangt u een e-mail naar {{email}} met een verzegelde kopie van het document.",successTextFallback:"Zodra het document door alle betrokken partijen is ondertekend, kunt u naar deze webpagina terugkeren om een verzegeld en ingevuld exemplaar van het document te downloaden.",successTextFallbackSingle:"Het document is nu ondertekend en voltooid.",successTextSingle:"Er is een bevestigingsmail naar {{email}} gestuurd met een verzegelde kopie van het document.",successTitle:"Je hebt het document ondertekend."},appBrand:NY,approved:"goedgekeurd",approx:"ongeveer",cancel:"Annuleren",chapters:{answerButtons:{approveDescription:"We hebben {{- sender}} laten weten dat het document is goedgekeurd.",approveTitle:"Het document is goedgekeurd!",denyDescription:"We hebben {{- sender}} dat je niet ge\xEFnteresseerd bent.",denyTitle:"Het document is afgewezen",editPropDes:"Wijzig eigendom",enterPropDes:"Voer eigendomsaanduiding in",inPersonSignatureHint:"Het is de bedoeling dat je dit document face-to-face ondertekend. Als je in plaats daarvan de digitale kopie wilt ondertekenen, neem dan contact op met",waitingDescription:"Wachtend op {{remaining}} anderen voor een reactie.",youHave:"Je hebt "},articleItem:{eligibleForDeduction:"In aanmerking komend voor {{type,deepNested:deduction}}-aftrek"},articleList:{changeShowVatTooltip:"Schakelen om te tonen {{type}}",title:"Diensten / Producten"},packageGroup:{errorCallout:"Selecteer ten minste \xE9\xE9n optie",selectableOptions:"Selecteerbare opties"},packageItem:{add:"Optie toevoegen",select:"Optie selecteren",selected:"Geselecteerd"},parties:{allRiskAndLiability:"Heeft alle risico- en aansprakelijkheidsverzekering",fTax:"Gecertificeerd voor F-tax"},pricingSummary:{blocks:{approx:"Geschatte prijs",deductionSubValue:"Totale prijs zonder aftrek {{price}}",maxPrice:"Max prijs",maxPriceVat:"Max prijs {{vat}}",net:"Netto",price:"Prijs",rounding:"Afronding",subTitleArticles:"Voor producten / diensten met vaste kosten",summary:"Samenvatting",total:"Totaal",typeDeduction:"Na {{type,deepNested:deduction}}-aftrek"},placeholder:{description:"Kies de optie(s) die het best passen door te klikken op de ",descriptionBold:"Keuzeknop",title:"Selecteer een optie"},terms:{houseWork:`De totale prijs na aftrek van belastingen voor {{type,deepNested:deduction}}-werkzaamheden vereist dat het uitgevoerde werk in aanmerking komt voor belastingaftrek, dat de koper voldoende aftrek beschikbaar heeft en dat het niet is gebruikt voor andere {{type,deepNested:deduction}}-werkzaamheden. De koper is verantwoordelijk voor het controleren van deze informatie.
245
245
  `,houseWorkApprox:"De prijs is bij benadering. Vergeet niet dat de prijs kan veranderen met maximaal 15%. Indien de diensten grond- / sloopwerkzaamheden of dergelijke omvatten. Bedenk dat de prijs kan veranderen met maximaal 25%..",reverseVat:"Let op, verlegde belastingplicht voor bouwwerkzaamheden geldt."}},termsDisclaimer:{description:"Door dit document goed te keuren ga je akkoord met de ",termsAndConditions:"algemene voorwaarden",title:"Algemene voorwaarden"}},close:"Sluiten",company:"bedrijf",deduction:{deduction:"aftrek",type:"{{type,deepNested:deduction}}-aftrek",manualType:"Custom {{type,deepNested:deduction}}-aftrek",after:"na aftrek",afterType:"na {{type,deepNested:deduction}}-aftrek",rot:"ROT",rut:"RUT",greenRot15:"Green ROT",greenRot20:"Green ROT",greenRot50:"Green ROT",rot_percentage:"ROT",rut_percentage:"RUT",greenRot15_percentage:"Green ROT 15%",greenRot20_percentage:"Green ROT 20%",greenRot50_percentage:"Green ROT 50%"},denied:"geweigerd",deny:"Weigeren",denyModal:{denyButton:"Document weigeren",helpfulInformation:"We zullen {{- senderName}} van {{- senderCompany}} informeren dat je het document hebt geweigerd.",otherPlaceholder:"Optioneel. Laat een reactie achter waarom je weigert.",subTitle:"Bevestig door op de weiger-knop te klikken.",successTitle:"Je hebt het document geweigerd",thanksAnswer:"Bedankt voor je reactie!",title:"Document weigeren"},detail_plural:"details",document:"Document",document_plural:"Documenten",documentDetails:{subTitle:"Informatie over het document."},documentTemplateView:{emailTemplate:{expires:{content:"$t(documentTemplateView.reminder) $t(documentTemplateView.emailTemplate.first.content)",subject:"$t(documentTemplateView.reminder) $t(documentTemplateView.sharedSubject)",text:`$t(documentTemplateView.emailTemplate.expires.title) $t(documentTemplateView.emailTemplate.expires.subject). $t(documentTemplateView.readMoreAndReply)
246
246
 
247
247
  {{docLink}}`,title:"$t(documentTemplateView.emailTemplate.first.title)"},first:{content:"Je hebt een document ontvangen van {{company.name}}. Klik op de link om meer te lezen en te reageren.",subject:"$t(documentTemplateView.sharedSubject)",text:`$t(documentTemplateView.emailTemplate.first.title) $t(documentTemplateView.emailTemplate.first.subject). $t(documentTemplateView.readMoreAndReply)
@@ -262,7 +262,7 @@ $t(documentTemplateView.smsContent) $t(documentTemplateView.readMore)
262
262
  {{docLink}}`},viewed:{text:`$t(documentTemplateView.reminder)
263
263
  $t(documentTemplateView.smsContent) $t(documentTemplateView.readMore)
264
264
 
265
- {{docLink}}`}}},email:"email",enterYour:"Voer je {{thing}} in",event:{accepted:"Document ondertekend door {{by}}.",denied:"Document geweigerd door {{by}}.",event_plural:"gebeurtenissen",expired:"Document verlopen.",requestChange:"Document handmatig gemarkeerd als {{status}}.",sent:"Document verzonden naar {{to}}.",statusChanged:"Document gemarkeerd als {{status}}.",viewed:"Is bekeken",viewedName:"{{name}} heeft het document bekeken."},goBack:"Ga terug",less:"minder",login:"Inloggen",logout:"Uitloggen",myPages:{docCallout:{form:{text:"Je kunt alle documenten bekijken die je hebt ontvangen en die aan je e-mail zijn gekoppeld via de documentenbibliotheek.",title:"Documentenbibliotheek"},loginLink:"login link",goToMyPagesTitle:"Ga naar je pagina's met documenten"},documentItem:{approved:"Goedgekeurd",expired:"Verlopen"},documentsPlaceholder:"Je hebt (nog) geen document ontvangen.",invoice:{browserTabTitle:"Factuur van"},pageDescription:"Hier vind je al je ontvangen documenten.",requestForm:{alreadySentDescription:"Een login link werd reeds verstuurd naar {{email}}. Het kan even duren voordat je deze ontvangt.",alreadySentTitle:"Login link is al verstuurd",emailFormat:"Geldig formaat: naam@voorbeeld.nl",emailRequired:"Voer je e-mail in",sendLink:"Verstuur login link",sentDescription:"We hebben een link verstuurd naar {{email}}. Gebruik deze om in te loggen.",sentDescriptionSub:"Wegens veiligheidsredenen kun je alleen inloggen via de login link.",sentTitle:"Login link verstuurd naar je inbox"},title:"Mijn pagina's"},name:"naam",orgNoShort:"KVK nummer",participant_plural:"deelnemers",phone:"telefoon",price:{approx:"Geschatte prijs",fixed:"Vaste prijs",markup:"Marge",maxPrice:"max prijs",net:"Netto totaal",openAcc:"Rekening openen",openAccMaxPrice:"Rekening openen met max prijs",openAccPrice:"Rekening openen",price:"prijs",price_plural:"prijzen",pricing:"pricing",proposal:"Pakket opties",total:"Totaalprijs"},print:"Print{{thing,inlineSpace}}",reference:"referentie",replyBy:"Antwoord door",see:"bekijk",select:"Selecteer{{thing,inlineSpace}}",send:"verstuur{{thing,inlineSpace}}",series:{default:"Document",document:"Document",proposal:"Voorstel",contract:"Contract",ata:"Overeenkomst inzake naleving"},show:"Toon{{thing,inlineSpace}}",socialNo:"burgerservicenummer",status:{accepted:"Geaccepteerd",active:"Actief",archived:"Gearchiveerd",completed:"Voltooid",denied:"Geweigerd",draft:"Concept",new:"Concept",semiSigned:"Deels ondertekend",sent:"Verstuurd",signed:"Ondertekend"},summaryBottom:{chooseFrom:"Kies uit selecteerbare opties",forDetails:"voor details",noOfOptions:"{{count}}",option:"optie",option_plural:"opties",reverseVat:"Btw {{- amount}}. Omgekeerde belastingverplichting is van toepassing"},theDocument:"het document",theSender:"de afzender",times:"tijd",times_plural:"tijden",total:"totaal",tryAgain:"Probeer opnieuw",unitType:{unitType:"eenheid",unitType_plural:"eenheden",second:"s",minute:"min",unit:"stks",hour:"h",m:"m",m2:"m\xB2",m3:"m\xB3",kg:"kg",litre:"liters",day:"dag",km:"km",mile:"mijl",month:"mnd",week:"week",week_plural:"weken",ton:"ton",year:"jaren",kWh:"kWh"},vat:{sharedTitle:"Belasting",vat:"Btw",tax:"btw",exVat:"excl. {{- thing}}",incVat:"incl. {{- thing}}",reverseVat:"Omgekeerde belastingverplichting",reverseVatApplies:"Omgekeerde belastingverplichting is van toepassing",vatIdentificationNumberShort:"Btw id.",rate:"Belastingtarief"}},FY=["en","sv","de","fi","fr","es","nl"],jY={en:{document:OY},sv:{document:kY},de:{document:$Y},fi:{document:IY},fr:{document:DY},es:{document:MY},nl:{document:LY}},UY=FY,Cg=JT.createInstance();Cg.use(Aw).use(xw).use($w).init({...Iw(Cg),resources:jY,whitelist:UY,fallbackLng:"en",namespaces:["document"],defaultNS:"document",fallbackNS:"document"});const Ts=new tl(Cg,uU);function VY(t,e){Object.entries(t).forEach(([n,r])=>{var i,a;(a=(i=e==null?void 0:e.style)==null?void 0:i.setProperty)==null||a.call(i,n,r)})}function BY(t={}){Object.keys(t).forEach(e=>{const n=t[e];Object.keys(n).forEach(r=>{const i=n[r];(r==="document"?Ts:Q).i18next.addResources(e,r,i)})})}class HY{constructor(){this.events={}}on(e,n){return this.events[e]=this.events[e]||[],this.events[e].push(n),()=>this.off(e,n)}off(e,n){this.events[e]&&(this.events[e]=this.events[e].filter(r=>r.fn!==n))}trigger(e,n){this.events[e]&&this.events[e].forEach(function(r){r(n)})}}const Ir=new HY;var mk={exports:{}};(function(t,e){(function(n,r){t.exports=r()})(window,function(){return i={},n.m=r=[function(a,s,o){var l=o(7);typeof l=="string"&&(l=[[a.i,l,""]]),l.locals&&(a.exports=l.locals),(0,o(4).default)("27d83796",l,!1,{})},function(a,s,o){var l=o(10);typeof l=="string"&&(l=[[a.i,l,""]]),l.locals&&(a.exports=l.locals),(0,o(4).default)("0e783494",l,!1,{})},function(a,s,o){var l=o(12);typeof l=="string"&&(l=[[a.i,l,""]]),l.locals&&(a.exports=l.locals),(0,o(4).default)("17757f60",l,!1,{})},function(a,s){a.exports=function(o){var l=[];return l.toString=function(){return this.map(function(c){var u=function(d,p){var f=d[1]||"",h=d[3];if(!h)return f;if(p&&typeof btoa=="function"){var m=function(v){return"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(v))))+" */"}(h),g=h.sources.map(function(v){return"/*# sourceURL="+h.sourceRoot+v+" */"});return[f].concat(g).concat([m]).join(`
265
+ {{docLink}}`}}},email:"email",enterYour:"Voer je {{thing}} in",event:{accepted:"Document ondertekend door {{by}}.",denied:"Document geweigerd door {{by}}.",event_plural:"gebeurtenissen",expired:"Document verlopen.",requestChange:"Document handmatig gemarkeerd als {{status}}.",sent:"Document verzonden naar {{to}}.",statusChanged:"Document gemarkeerd als {{status}}.",viewed:"Is bekeken",viewedName:"{{name}} heeft het document bekeken."},goBack:"Ga terug",less:"minder",login:"Inloggen",logout:"Uitloggen",myPages:{docCallout:{form:{text:"Je kunt alle documenten bekijken die je hebt ontvangen en die aan je e-mail zijn gekoppeld via de documentenbibliotheek.",title:"Documentenbibliotheek"},loginLink:"login link",goToMyPagesTitle:"Ga naar je pagina's met documenten"},documentItem:{approved:"Goedgekeurd",expired:"Verlopen"},documentsPlaceholder:"Je hebt (nog) geen document ontvangen.",invoice:{browserTabTitle:"Factuur van"},pageDescription:"Hier vind je al je ontvangen documenten.",requestForm:{alreadySentDescription:"Een login link werd reeds verstuurd naar {{email}}. Het kan even duren voordat je deze ontvangt.",alreadySentTitle:"Login link is al verstuurd",emailFormat:"Geldig formaat: naam@voorbeeld.nl",emailRequired:"Voer je e-mail in",sendLink:"Verstuur login link",sentDescription:"We hebben een link verstuurd naar {{email}}. Gebruik deze om in te loggen.",sentDescriptionSub:"Wegens veiligheidsredenen kun je alleen inloggen via de login link.",sentTitle:"Login link verstuurd naar je inbox"},title:"Mijn pagina's"},name:"naam",orgNoShort:"KVK nummer",participant_plural:"deelnemers",phone:"telefoon",price:{approx:"Geschatte prijs",fixed:"Vaste prijs",markup:"Marge",maxPrice:"max prijs",net:"Netto totaal",openAcc:"Rekening openen",openAccMaxPrice:"Rekening openen met max prijs",openAccPrice:"Rekening openen",price:"prijs",price_plural:"prijzen",pricing:"pricing",proposal:"Pakket opties",total:"Totaalprijs"},print:"Print{{thing,inlineSpace}}",reference:"referentie",replyBy:"Antwoord door",see:"bekijk",select:"Selecteer{{thing,inlineSpace}}",send:"verstuur{{thing,inlineSpace}}",series:{default:"Document",document:"Document",proposal:"Voorstel",contract:"Contract",ata:"Overeenkomst inzake naleving"},show:"Toon{{thing,inlineSpace}}",socialNo:"burgerservicenummer",status:{accepted:"Geaccepteerd",active:"Actief",archived:"Gearchiveerd",expired:"Verlopen",completed:"Voltooid",denied:"Geweigerd",draft:"Concept",new:"Concept",semiSigned:"Deels ondertekend",sent:"Verstuurd",signed:"Ondertekend"},summaryBottom:{chooseFrom:"Kies uit selecteerbare opties",forDetails:"voor details",noOfOptions:"{{count}}",option:"optie",option_plural:"opties",reverseVat:"Btw {{- amount}}. Omgekeerde belastingverplichting is van toepassing"},theDocument:"het document",theSender:"de afzender",times:"tijd",times_plural:"tijden",total:"totaal",tryAgain:"Probeer opnieuw",unitType:{unitType:"eenheid",unitType_plural:"eenheden",second:"s",minute:"min",unit:"stks",hour:"h",m:"m",m2:"m\xB2",m3:"m\xB3",kg:"kg",litre:"liters",day:"dag",km:"km",mile:"mijl",month:"mnd",week:"week",week_plural:"weken",ton:"ton",year:"jaren",kWh:"kWh"},vat:{sharedTitle:"Belasting",vat:"Btw",tax:"btw",exVat:"excl. {{- thing}}",incVat:"incl. {{- thing}}",reverseVat:"Omgekeerde belastingverplichting",reverseVatApplies:"Omgekeerde belastingverplichting is van toepassing",vatIdentificationNumberShort:"Btw id.",rate:"Belastingtarief"}},FY=["en","sv","de","fi","fr","es","nl"],jY={en:{document:OY},sv:{document:kY},de:{document:$Y},fi:{document:IY},fr:{document:DY},es:{document:MY},nl:{document:LY}},UY=FY,Cg=JT.createInstance();Cg.use(Aw).use(xw).use($w).init({...Iw(Cg),resources:jY,whitelist:UY,fallbackLng:"en",namespaces:["document"],defaultNS:"document",fallbackNS:"document"});const Ts=new tl(Cg,uU);function VY(t,e){Object.entries(t).forEach(([n,r])=>{var i,a;(a=(i=e==null?void 0:e.style)==null?void 0:i.setProperty)==null||a.call(i,n,r)})}function BY(t={}){Object.keys(t).forEach(e=>{const n=t[e];Object.keys(n).forEach(r=>{const i=n[r];(r==="document"?Ts:Q).i18next.addResources(e,r,i)})})}class HY{constructor(){this.events={}}on(e,n){return this.events[e]=this.events[e]||[],this.events[e].push(n),()=>this.off(e,n)}off(e,n){this.events[e]&&(this.events[e]=this.events[e].filter(r=>r.fn!==n))}trigger(e,n){this.events[e]&&this.events[e].forEach(function(r){r(n)})}}const Ir=new HY;var mk={exports:{}};(function(t,e){(function(n,r){t.exports=r()})(window,function(){return i={},n.m=r=[function(a,s,o){var l=o(7);typeof l=="string"&&(l=[[a.i,l,""]]),l.locals&&(a.exports=l.locals),(0,o(4).default)("27d83796",l,!1,{})},function(a,s,o){var l=o(10);typeof l=="string"&&(l=[[a.i,l,""]]),l.locals&&(a.exports=l.locals),(0,o(4).default)("0e783494",l,!1,{})},function(a,s,o){var l=o(12);typeof l=="string"&&(l=[[a.i,l,""]]),l.locals&&(a.exports=l.locals),(0,o(4).default)("17757f60",l,!1,{})},function(a,s){a.exports=function(o){var l=[];return l.toString=function(){return this.map(function(c){var u=function(d,p){var f=d[1]||"",h=d[3];if(!h)return f;if(p&&typeof btoa=="function"){var m=function(v){return"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(v))))+" */"}(h),g=h.sources.map(function(v){return"/*# sourceURL="+h.sourceRoot+v+" */"});return[f].concat(g).concat([m]).join(`
266
266
  `)}return[f].join(`
267
267
  `)}(c,o);return c[2]?"@media "+c[2]+"{"+u+"}":u}).join("")},l.i=function(c,u){typeof c=="string"&&(c=[[null,c,""]]);for(var d={},p=0;p<this.length;p++){var f=this[p][0];typeof f=="number"&&(d[f]=!0)}for(p=0;p<c.length;p++){var h=c[p];typeof h[0]=="number"&&d[h[0]]||(u&&!h[2]?h[2]=u:u&&(h[2]="("+h[2]+") and ("+u+")"),l.push(h))}},l}},function(a,s,o){function l(I,M){for(var O=[],A={},P=0;P<M.length;P++){var L=M[P],F=L[0],j={id:I+":"+P,css:L[1],media:L[2],sourceMap:L[3]};A[F]?A[F].parts.push(j):O.push(A[F]={id:F,parts:[j]})}return O}o.r(s),o.d(s,"default",function(){return w});var c=typeof document<"u";if(typeof DEBUG<"u"&&DEBUG&&!c)throw new Error("vue-style-loader cannot be used in a non-browser environment. Use { target: 'node' } in your Webpack config to indicate a server-rendering environment.");var u={},d=c&&(document.head||document.getElementsByTagName("head")[0]),p=null,f=0,h=!1,m=function(){},g=null,v="data-vue-ssr-id",_=typeof navigator<"u"&&/msie [6-9]\b/.test(navigator.userAgent.toLowerCase());function w(I,M,O,A){h=O,g=A||{};var P=l(I,M);return y(P),function(L){for(var F=[],j=0;j<P.length;j++){var S=P[j];(b=u[S.id]).refs--,F.push(b)}for(L?y(P=l(I,L)):P=[],j=0;j<F.length;j++){var b;if((b=F[j]).refs===0){for(var D=0;D<b.parts.length;D++)b.parts[D]();delete u[b.id]}}}}function y(I){for(var M=0;M<I.length;M++){var O=I[M],A=u[O.id];if(A){A.refs++;for(var P=0;P<A.parts.length;P++)A.parts[P](O.parts[P]);for(;P<O.parts.length;P++)A.parts.push(E(O.parts[P]));A.parts.length>O.parts.length&&(A.parts.length=O.parts.length)}else{var L=[];for(P=0;P<O.parts.length;P++)L.push(E(O.parts[P]));u[O.id]={id:O.id,refs:1,parts:L}}}}function T(){var I=document.createElement("style");return I.type="text/css",d.appendChild(I),I}function E(I){var M,O,A=document.querySelector("style["+v+'~="'+I.id+'"]');if(A){if(h)return m;A.parentNode.removeChild(A)}if(_){var P=f++;A=p=p||T(),M=C.bind(null,A,P,!1),O=C.bind(null,A,P,!0)}else A=T(),M=function(L,F){var j=F.css,S=F.media,b=F.sourceMap;if(S&&L.setAttribute("media",S),g.ssrId&&L.setAttribute(v,F.id),b&&(j+=`
268
268
  /*# sourceURL=`+b.sources[0]+" */",j+=`
@@ -480,7 +480,7 @@ $t(documentTemplateView.smsContent) $t(documentTemplateView.readMore)
480
480
  * (c) 2017 Evan You
481
481
  * @license MIT
482
482
  */function uv(t){return Object.prototype.toString.call(t).indexOf("Error")>-1}var Mte={name:"router-view",functional:!0,props:{name:{type:String,default:"default"}},render:function(e,n){var r=n.props,i=n.children,a=n.parent,s=n.data;s.routerView=!0;for(var o=a.$createElement,l=r.name,c=a.$route,u=a._routerViewCache||(a._routerViewCache={}),d=0,p=!1;a&&a._routerRoot!==a;)a.$vnode&&a.$vnode.data.routerView&&d++,a._inactive&&(p=!0),a=a.$parent;if(s.routerViewDepth=d,p)return o(u[l],s,i);var f=c.matched[d];if(!f)return u[l]=null,o();var h=u[l]=f.components[l];s.registerRouteInstance=function(_,w){var y=f.instances[l];(w&&y!==_||!w&&y===_)&&(f.instances[l]=w)},(s.hook||(s.hook={})).prepatch=function(_,w){f.instances[l]=w.componentInstance};var m=s.props=Nte(c,f.props&&f.props[l]);if(m){m=s.props=Lte({},m);var g=s.attrs=s.attrs||{};for(var v in m)(!h.props||!(v in h.props))&&(g[v]=m[v],delete m[v])}return o(h,s,i)}};function Nte(t,e){switch(typeof e){case"undefined":return;case"object":return e;case"function":return e(t);case"boolean":return e?t.params:void 0}}function Lte(t,e){for(var n in e)t[n]=e[n];return t}var Fte=/[!'()*]/g,jte=function(t){return"%"+t.charCodeAt(0).toString(16)},Ute=/%2C/g,Ls=function(t){return encodeURIComponent(t).replace(Fte,jte).replace(Ute,",")},nO=decodeURIComponent;function Vte(t,e,n){e===void 0&&(e={});var r=n||Bte,i;try{i=r(t||"")}catch{i={}}for(var a in e)i[a]=e[a];return i}function Bte(t){var e={};return t=t.trim().replace(/^(\?|#|&)/,""),t&&t.split("&").forEach(function(n){var r=n.replace(/\+/g," ").split("="),i=nO(r.shift()),a=r.length>0?nO(r.join("=")):null;e[i]===void 0?e[i]=a:Array.isArray(e[i])?e[i].push(a):e[i]=[e[i],a]}),e}function Hte(t){var e=t?Object.keys(t).map(function(n){var r=t[n];if(r===void 0)return"";if(r===null)return Ls(n);if(Array.isArray(r)){var i=[];return r.forEach(function(a){a!==void 0&&(a===null?i.push(Ls(n)):i.push(Ls(n)+"="+Ls(a)))}),i.join("&")}return Ls(n)+"="+Ls(r)}).filter(function(n){return n.length>0}).join("&"):null;return e?"?"+e:""}var od=/\/?$/;function ld(t,e,n,r){var i=r&&r.options.stringifyQuery,a=e.query||{};try{a=dv(a)}catch{}var s={name:e.name||t&&t.name,meta:t&&t.meta||{},path:e.path||"/",hash:e.hash||"",query:a,params:e.params||{},fullPath:rO(e,i),matched:t?Wte(t):[]};return n&&(s.redirectedFrom=rO(n,i)),Object.freeze(s)}function dv(t){if(Array.isArray(t))return t.map(dv);if(t&&typeof t=="object"){var e={};for(var n in t)e[n]=dv(t[n]);return e}else return t}var cd=ld(null,{path:"/"});function Wte(t){for(var e=[];t;)e.unshift(t),t=t.parent;return e}function rO(t,e){var n=t.path,r=t.query;r===void 0&&(r={});var i=t.hash;i===void 0&&(i="");var a=e||Hte;return(n||"/")+a(r)+i}function iO(t,e){return e===cd?t===e:e?t.path&&e.path?t.path.replace(od,"")===e.path.replace(od,"")&&t.hash===e.hash&&ud(t.query,e.query):t.name&&e.name?t.name===e.name&&t.hash===e.hash&&ud(t.query,e.query)&&ud(t.params,e.params):!1:!1}function ud(t,e){if(t===void 0&&(t={}),e===void 0&&(e={}),!t||!e)return t===e;var n=Object.keys(t),r=Object.keys(e);return n.length!==r.length?!1:n.every(function(i){var a=t[i],s=e[i];return typeof a=="object"&&typeof s=="object"?ud(a,s):String(a)===String(s)})}function zte(t,e){return t.path.replace(od,"/").indexOf(e.path.replace(od,"/"))===0&&(!e.hash||t.hash===e.hash)&&Gte(t.query,e.query)}function Gte(t,e){for(var n in e)if(!(n in t))return!1;return!0}var qte=[String,Object],Yte=[String,Array],Kte={name:"router-link",props:{to:{type:qte,required:!0},tag:{type:String,default:"a"},exact:Boolean,append:Boolean,replace:Boolean,activeClass:String,exactActiveClass:String,event:{type:Yte,default:"click"}},render:function(e){var n=this,r=this.$router,i=this.$route,a=r.resolve(this.to,i,this.append),s=a.location,o=a.route,l=a.href,c={},u=r.options.linkActiveClass,d=r.options.linkExactActiveClass,p=u==null?"router-link-active":u,f=d==null?"router-link-exact-active":d,h=this.activeClass==null?p:this.activeClass,m=this.exactActiveClass==null?f:this.exactActiveClass,g=s.path?ld(null,s,null,r):o;c[m]=iO(i,g),c[h]=this.exact?c[m]:zte(i,g);var v=function($){aO($)&&(n.replace?r.replace(s):r.push(s))},_={click:aO};Array.isArray(this.event)?this.event.forEach(function($){_[$]=v}):_[this.event]=v;var w={class:c};if(this.tag==="a")w.on=_,w.attrs={href:l};else{var y=sO(this.$slots.default);if(y){y.isStatic=!1;var T=Ol.util.extend,E=y.data=T({},y.data);E.on=_;var k=y.data.attrs=T({},y.data.attrs);k.href=l}else w.on=_}return e(this.tag,w,this.$slots.default)}};function aO(t){if(!(t.metaKey||t.altKey||t.ctrlKey||t.shiftKey)&&!t.defaultPrevented&&!(t.button!==void 0&&t.button!==0)){if(t.currentTarget&&t.currentTarget.getAttribute){var e=t.currentTarget.getAttribute("target");if(/\b_blank\b/i.test(e))return}return t.preventDefault&&t.preventDefault(),!0}}function sO(t){if(t){for(var e,n=0;n<t.length;n++)if(e=t[n],e.tag==="a"||e.children&&(e=sO(e.children)))return e}}var Ol;function pv(t){if(!(pv.installed&&Ol===t)){pv.installed=!0,Ol=t;var e=function(i){return i!==void 0},n=function(i,a){var s=i.$options._parentVnode;e(s)&&e(s=s.data)&&e(s=s.registerRouteInstance)&&s(i,a)};t.mixin({beforeCreate:function(){e(this.$options.router)?(this._routerRoot=this,this._router=this.$options.router,this._router.init(this),t.util.defineReactive(this,"_route",this._router.history.current)):this._routerRoot=this.$parent&&this.$parent._routerRoot||this,n(this,this)},destroyed:function(){n(this)}}),Object.defineProperty(t.prototype,"$router",{get:function(){return this._routerRoot._router}}),Object.defineProperty(t.prototype,"$route",{get:function(){return this._routerRoot._route}}),t.component("router-view",Mte),t.component("router-link",Kte);var r=t.config.optionMergeStrategies;r.beforeRouteEnter=r.beforeRouteLeave=r.beforeRouteUpdate=r.created}}var Al=typeof window<"u";function oO(t,e,n){var r=t.charAt(0);if(r==="/")return t;if(r==="?"||r==="#")return e+t;var i=e.split("/");(!n||!i[i.length-1])&&i.pop();for(var a=t.replace(/^\//,"").split("/"),s=0;s<a.length;s++){var o=a[s];o===".."?i.pop():o!=="."&&i.push(o)}return i[0]!==""&&i.unshift(""),i.join("/")}function Jte(t){var e="",n="",r=t.indexOf("#");r>=0&&(e=t.slice(r),t=t.slice(0,r));var i=t.indexOf("?");return i>=0&&(n=t.slice(i+1),t=t.slice(0,i)),{path:t,query:n,hash:e}}function da(t){return t.replace(/\/\//g,"/")}var dd=Array.isArray||function(t){return Object.prototype.toString.call(t)=="[object Array]"},Fs=dO,Zte=fv,Xte=nne,Qte=lO,ene=uO,tne=new RegExp(["(\\\\.)","([\\/.])?(?:(?:\\:(\\w+)(?:\\(((?:\\\\.|[^\\\\()])+)\\))?|\\(((?:\\\\.|[^\\\\()])+)\\))([+*?])?|(\\*))"].join("|"),"g");function fv(t,e){for(var n=[],r=0,i=0,a="",s=e&&e.delimiter||"/",o;(o=tne.exec(t))!=null;){var l=o[0],c=o[1],u=o.index;if(a+=t.slice(i,u),i=u+l.length,c){a+=c[1];continue}var d=t[i],p=o[2],f=o[3],h=o[4],m=o[5],g=o[6],v=o[7];a&&(n.push(a),a="");var _=p!=null&&d!=null&&d!==p,w=g==="+"||g==="*",y=g==="?"||g==="*",T=o[2]||s,E=h||m;n.push({name:f||r++,prefix:p||"",delimiter:T,optional:y,repeat:w,partial:_,asterisk:!!v,pattern:E?ane(E):v?".*":"[^"+pd(T)+"]+?"})}return i<t.length&&(a+=t.substr(i)),a&&n.push(a),n}function nne(t,e){return lO(fv(t,e))}function rne(t){return encodeURI(t).replace(/[\/?#]/g,function(e){return"%"+e.charCodeAt(0).toString(16).toUpperCase()})}function ine(t){return encodeURI(t).replace(/[?#]/g,function(e){return"%"+e.charCodeAt(0).toString(16).toUpperCase()})}function lO(t){for(var e=new Array(t.length),n=0;n<t.length;n++)typeof t[n]=="object"&&(e[n]=new RegExp("^(?:"+t[n].pattern+")$"));return function(r,i){for(var a="",s=r||{},o=i||{},l=o.pretty?rne:encodeURIComponent,c=0;c<t.length;c++){var u=t[c];if(typeof u=="string"){a+=u;continue}var d=s[u.name],p;if(d==null)if(u.optional){u.partial&&(a+=u.prefix);continue}else throw new TypeError('Expected "'+u.name+'" to be defined');if(dd(d)){if(!u.repeat)throw new TypeError('Expected "'+u.name+'" to not repeat, but received `'+JSON.stringify(d)+"`");if(d.length===0){if(u.optional)continue;throw new TypeError('Expected "'+u.name+'" to not be empty')}for(var f=0;f<d.length;f++){if(p=l(d[f]),!e[c].test(p))throw new TypeError('Expected all "'+u.name+'" to match "'+u.pattern+'", but received `'+JSON.stringify(p)+"`");a+=(f===0?u.prefix:u.delimiter)+p}continue}if(p=u.asterisk?ine(d):l(d),!e[c].test(p))throw new TypeError('Expected "'+u.name+'" to match "'+u.pattern+'", but received "'+p+'"');a+=u.prefix+p}return a}}function pd(t){return t.replace(/([.+*?=^!:${}()[\]|\/\\])/g,"\\$1")}function ane(t){return t.replace(/([=!:$\/()])/g,"\\$1")}function hv(t,e){return t.keys=e,t}function cO(t){return t.sensitive?"":"i"}function sne(t,e){var n=t.source.match(/\((?!\?)/g);if(n)for(var r=0;r<n.length;r++)e.push({name:r,prefix:null,delimiter:null,optional:!1,repeat:!1,partial:!1,asterisk:!1,pattern:null});return hv(t,e)}function one(t,e,n){for(var r=[],i=0;i<t.length;i++)r.push(dO(t[i],e,n).source);var a=new RegExp("(?:"+r.join("|")+")",cO(n));return hv(a,e)}function lne(t,e,n){return uO(fv(t,n),e,n)}function uO(t,e,n){dd(e)||(n=e||n,e=[]),n=n||{};for(var r=n.strict,i=n.end!==!1,a="",s=0;s<t.length;s++){var o=t[s];if(typeof o=="string")a+=pd(o);else{var l=pd(o.prefix),c="(?:"+o.pattern+")";e.push(o),o.repeat&&(c+="(?:"+l+c+")*"),o.optional?o.partial?c=l+"("+c+")?":c="(?:"+l+"("+c+"))?":c=l+"("+c+")",a+=c}}var u=pd(n.delimiter||"/"),d=a.slice(-u.length)===u;return r||(a=(d?a.slice(0,-u.length):a)+"(?:"+u+"(?=$))?"),i?a+="$":a+=r&&d?"":"(?="+u+"|$)",hv(new RegExp("^"+a,cO(n)),e)}function dO(t,e,n){return dd(e)||(n=e||n,e=[]),n=n||{},t instanceof RegExp?sne(t,e):dd(t)?one(t,e,n):lne(t,e,n)}Fs.parse=Zte,Fs.compile=Xte,Fs.tokensToFunction=Qte,Fs.tokensToRegExp=ene;var pO=Object.create(null);function fd(t,e,n){try{var r=pO[t]||(pO[t]=Fs.compile(t));return r(e||{},{pretty:!0})}catch{return""}}function fO(t,e,n,r){var i=e||[],a=n||Object.create(null),s=r||Object.create(null);t.forEach(function(c){mv(i,a,s,c)});for(var o=0,l=i.length;o<l;o++)i[o]==="*"&&(i.push(i.splice(o,1)[0]),l--,o--);return{pathList:i,pathMap:a,nameMap:s}}function mv(t,e,n,r,i,a){var s=r.path,o=r.name,l=r.pathToRegexpOptions||{},c=une(s,i,l.strict);typeof r.caseSensitive=="boolean"&&(l.sensitive=r.caseSensitive);var u={path:c,regex:cne(c,l),components:r.components||{default:r.component},instances:{},name:o,parent:i,matchAs:a,redirect:r.redirect,beforeEnter:r.beforeEnter,meta:r.meta||{},props:r.props==null?{}:r.components?r.props:{default:r.props}};if(r.children&&r.children.forEach(function(p){var f=a?da(a+"/"+p.path):void 0;mv(t,e,n,p,u,f)}),r.alias!==void 0){var d=Array.isArray(r.alias)?r.alias:[r.alias];d.forEach(function(p){var f={path:p,children:r.children};mv(t,e,n,f,i,u.path||"/")})}e[u.path]||(t.push(u.path),e[u.path]=u),o&&(n[o]||(n[o]=u))}function cne(t,e){var n=Fs(t,[],e);return n}function une(t,e,n){return n||(t=t.replace(/\/$/,"")),t[0]==="/"||e==null?t:da(e.path+"/"+t)}function hO(t,e,n,r){var i=typeof t=="string"?{path:t}:t;if(i.name||i._normalized)return i;if(!i.path&&i.params&&e){i=gv({},i),i._normalized=!0;var a=gv(gv({},e.params),i.params);if(e.name)i.name=e.name,i.params=a;else if(e.matched.length){var s=e.matched[e.matched.length-1].path;i.path=fd(s,a,"path "+e.path)}return i}var o=Jte(i.path||""),l=e&&e.path||"/",c=o.path?oO(o.path,l,n||i.append):l,u=Vte(o.query,i.query,r&&r.options.parseQuery),d=i.hash||o.hash;return d&&d.charAt(0)!=="#"&&(d="#"+d),{_normalized:!0,path:c,query:u,hash:d}}function gv(t,e){for(var n in e)t[n]=e[n];return t}function dne(t,e){var n=fO(t),r=n.pathList,i=n.pathMap,a=n.nameMap;function s(d){fO(d,r,i,a)}function o(d,p,f){var h=hO(d,p,!1,e),m=h.name;if(m){var g=a[m];if(!g)return u(null,h);var v=g.regex.keys.filter(function(E){return!E.optional}).map(function(E){return E.name});if(typeof h.params!="object"&&(h.params={}),p&&typeof p.params=="object")for(var _ in p.params)!(_ in h.params)&&v.indexOf(_)>-1&&(h.params[_]=p.params[_]);if(g)return h.path=fd(g.path,h.params),u(g,h,f)}else if(h.path){h.params={};for(var w=0;w<r.length;w++){var y=r[w],T=i[y];if(pne(T.regex,h.path,h.params))return u(T,h,f)}}return u(null,h)}function l(d,p){var f=d.redirect,h=typeof f=="function"?f(ld(d,p,null,e)):f;if(typeof h=="string"&&(h={path:h}),!h||typeof h!="object")return u(null,p);var m=h,g=m.name,v=m.path,_=p.query,w=p.hash,y=p.params;if(_=m.hasOwnProperty("query")?m.query:_,w=m.hasOwnProperty("hash")?m.hash:w,y=m.hasOwnProperty("params")?m.params:y,g)return a[g],o({_normalized:!0,name:g,query:_,hash:w,params:y},void 0,p);if(v){var T=fne(v,d),E=fd(T,y);return o({_normalized:!0,path:E,query:_,hash:w},void 0,p)}else return u(null,p)}function c(d,p,f){var h=fd(f,p.params),m=o({_normalized:!0,path:h});if(m){var g=m.matched,v=g[g.length-1];return p.params=m.params,u(v,p)}return u(null,p)}function u(d,p,f){return d&&d.redirect?l(d,f||p):d&&d.matchAs?c(d,p,d.matchAs):ld(d,p,f,e)}return{match:o,addRoutes:s}}function pne(t,e,n){var r=e.match(t);if(r){if(!n)return!0}else return!1;for(var i=1,a=r.length;i<a;++i){var s=t.keys[i-1],o=typeof r[i]=="string"?decodeURIComponent(r[i]):r[i];s&&(n[s.name]=o)}return!0}function fne(t,e){return oO(t,e.parent?e.parent.path:"/",!0)}var mO=Object.create(null);function gO(){window.history.replaceState({key:vv()},""),window.addEventListener("popstate",function(t){vO(),t.state&&t.state.key&&yne(t.state.key)})}function js(t,e,n,r){if(!!t.app){var i=t.options.scrollBehavior;!i||t.app.$nextTick(function(){var a=hne(),s=i(e,n,r?a:null);!s||(typeof s.then=="function"?s.then(function(o){bO(o,a)}).catch(function(o){}):bO(s,a))})}}function vO(){var t=vv();t&&(mO[t]={x:window.pageXOffset,y:window.pageYOffset})}function hne(){var t=vv();if(t)return mO[t]}function mne(t,e){var n=document.documentElement,r=n.getBoundingClientRect(),i=t.getBoundingClientRect();return{x:i.left-r.left-e.x,y:i.top-r.top-e.y}}function yO(t){return Us(t.x)||Us(t.y)}function _O(t){return{x:Us(t.x)?t.x:window.pageXOffset,y:Us(t.y)?t.y:window.pageYOffset}}function gne(t){return{x:Us(t.x)?t.x:0,y:Us(t.y)?t.y:0}}function Us(t){return typeof t=="number"}function bO(t,e){var n=typeof t=="object";if(n&&typeof t.selector=="string"){var r=document.querySelector(t.selector);if(r){var i=t.offset&&typeof t.offset=="object"?t.offset:{};i=gne(i),e=mne(r,i)}else yO(t)&&(e=_O(t))}else n&&yO(t)&&(e=_O(t));e&&window.scrollTo(e.x,e.y)}var Vs=Al&&function(){var t=window.navigator.userAgent;return(t.indexOf("Android 2.")!==-1||t.indexOf("Android 4.0")!==-1)&&t.indexOf("Mobile Safari")!==-1&&t.indexOf("Chrome")===-1&&t.indexOf("Windows Phone")===-1?!1:window.history&&"pushState"in window.history}(),vne=Al&&window.performance&&window.performance.now?window.performance:Date,$l=EO();function EO(){return vne.now().toFixed(3)}function vv(){return $l}function yne(t){$l=t}function hd(t,e){vO();var n=window.history;try{e?n.replaceState({key:$l},"",t):($l=EO(),n.pushState({key:$l},"",t))}catch{window.location[e?"replace":"assign"](t)}}function yv(t){hd(t,!0)}function TO(t,e,n){var r=function(i){i>=t.length?n():t[i]?e(t[i],function(){r(i+1)}):r(i+1)};r(0)}function _ne(t){return function(e,n,r){var i=!1,a=0,s=null;wO(t,function(o,l,c,u){if(typeof o=="function"&&o.cid===void 0){i=!0,a++;var d=kO(function(m){Ene(m)&&(m=m.default),o.resolved=typeof m=="function"?m:Ol.extend(m),c.components[u]=m,a--,a<=0&&r()}),p=kO(function(m){var g="Failed to resolve async component "+u+": "+m;s||(s=uv(m)?m:new Error(g),r(s))}),f;try{f=o(d,p)}catch(m){p(m)}if(f)if(typeof f.then=="function")f.then(d,p);else{var h=f.component;h&&typeof h.then=="function"&&h.then(d,p)}}}),i||r()}}function wO(t,e){return SO(t.map(function(n){return Object.keys(n.components).map(function(r){return e(n.components[r],n.instances[r],n,r)})}))}function SO(t){return Array.prototype.concat.apply([],t)}var bne=typeof Symbol=="function"&&typeof Symbol.toStringTag=="symbol";function Ene(t){return t.__esModule||bne&&t[Symbol.toStringTag]==="Module"}function kO(t){var e=!1;return function(){for(var n=[],r=arguments.length;r--;)n[r]=arguments[r];if(!e)return e=!0,t.apply(this,n)}}var Dr=function(e,n){this.router=e,this.base=Tne(n),this.current=cd,this.pending=null,this.ready=!1,this.readyCbs=[],this.readyErrorCbs=[],this.errorCbs=[]};Dr.prototype.listen=function(e){this.cb=e},Dr.prototype.onReady=function(e,n){this.ready?e():(this.readyCbs.push(e),n&&this.readyErrorCbs.push(n))},Dr.prototype.onError=function(e){this.errorCbs.push(e)},Dr.prototype.transitionTo=function(e,n,r){var i=this,a=this.router.match(e,this.current);this.confirmTransition(a,function(){i.updateRoute(a),n&&n(a),i.ensureURL(),i.ready||(i.ready=!0,i.readyCbs.forEach(function(s){s(a)}))},function(s){r&&r(s),s&&!i.ready&&(i.ready=!0,i.readyErrorCbs.forEach(function(o){o(s)}))})},Dr.prototype.confirmTransition=function(e,n,r){var i=this,a=this.current,s=function(f){uv(f)&&(i.errorCbs.length?i.errorCbs.forEach(function(h){h(f)}):console.error(f)),r&&r(f)};if(iO(e,a)&&e.matched.length===a.matched.length)return this.ensureURL(),s();var o=wne(this.current.matched,e.matched),l=o.updated,c=o.deactivated,u=o.activated,d=[].concat(kne(c),this.router.beforeHooks,Cne(l),u.map(function(f){return f.beforeEnter}),_ne(u));this.pending=e;var p=function(f,h){if(i.pending!==e)return s();try{f(e,a,function(m){m===!1||uv(m)?(i.ensureURL(!0),s(m)):typeof m=="string"||typeof m=="object"&&(typeof m.path=="string"||typeof m.name=="string")?(s(),typeof m=="object"&&m.replace?i.replace(m):i.push(m)):h(m)})}catch(m){s(m)}};TO(d,p,function(){var f=[],h=function(){return i.current===e},m=One(u,f,h),g=m.concat(i.router.resolveHooks);TO(g,p,function(){if(i.pending!==e)return s();i.pending=null,n(e),i.router.app&&i.router.app.$nextTick(function(){f.forEach(function(v){v()})})})})},Dr.prototype.updateRoute=function(e){var n=this.current;this.current=e,this.cb&&this.cb(e),this.router.afterHooks.forEach(function(r){r&&r(e,n)})};function Tne(t){if(!t)if(Al){var e=document.querySelector("base");t=e&&e.getAttribute("href")||"/",t=t.replace(/^https?:\/\/[^\/]+/,"")}else t="/";return t.charAt(0)!=="/"&&(t="/"+t),t.replace(/\/$/,"")}function wne(t,e){var n,r=Math.max(t.length,e.length);for(n=0;n<r&&t[n]===e[n];n++);return{updated:e.slice(0,n),activated:e.slice(n),deactivated:t.slice(n)}}function _v(t,e,n,r){var i=wO(t,function(a,s,o,l){var c=Sne(a,e);if(c)return Array.isArray(c)?c.map(function(u){return n(u,s,o,l)}):n(c,s,o,l)});return SO(r?i.reverse():i)}function Sne(t,e){return typeof t!="function"&&(t=Ol.extend(t)),t.options[e]}function kne(t){return _v(t,"beforeRouteLeave",CO,!0)}function Cne(t){return _v(t,"beforeRouteUpdate",CO)}function CO(t,e){if(e)return function(){return t.apply(e,arguments)}}function One(t,e,n){return _v(t,"beforeRouteEnter",function(r,i,a,s){return Ane(r,a,s,e,n)})}function Ane(t,e,n,r,i){return function(s,o,l){return t(s,o,function(c){l(c),typeof c=="function"&&r.push(function(){OO(c,e.instances,n,i)})})}}function OO(t,e,n,r){e[n]?t(e[n]):r()&&setTimeout(function(){OO(t,e,n,r)},16)}var AO=function(t){function e(n,r){var i=this;t.call(this,n,r);var a=n.options.scrollBehavior;a&&gO();var s=xl(this.base);window.addEventListener("popstate",function(o){var l=i.current,c=xl(i.base);i.current===cd&&c===s||i.transitionTo(c,function(u){a&&js(n,u,l,!0)})})}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.go=function(r){window.history.go(r)},e.prototype.push=function(r,i,a){var s=this,o=this,l=o.current;this.transitionTo(r,function(c){hd(da(s.base+c.fullPath)),js(s.router,c,l,!1),i&&i(c)},a)},e.prototype.replace=function(r,i,a){var s=this,o=this,l=o.current;this.transitionTo(r,function(c){yv(da(s.base+c.fullPath)),js(s.router,c,l,!1),i&&i(c)},a)},e.prototype.ensureURL=function(r){if(xl(this.base)!==this.current.fullPath){var i=da(this.base+this.current.fullPath);r?hd(i):yv(i)}},e.prototype.getCurrentLocation=function(){return xl(this.base)},e}(Dr);function xl(t){var e=window.location.pathname;return t&&e.indexOf(t)===0&&(e=e.slice(t.length)),(e||"/")+window.location.search+window.location.hash}var $O=function(t){function e(n,r,i){t.call(this,n,r),!(i&&$ne(this.base))&&xO()}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.setupListeners=function(){var r=this,i=this.router,a=i.options.scrollBehavior,s=Vs&&a;s&&gO(),window.addEventListener(Vs?"popstate":"hashchange",function(){var o=r.current;!xO()||r.transitionTo(md(),function(l){s&&js(r.router,l,o,!0),Vs||gd(l.fullPath)})})},e.prototype.push=function(r,i,a){var s=this,o=this,l=o.current;this.transitionTo(r,function(c){IO(c.fullPath),js(s.router,c,l,!1),i&&i(c)},a)},e.prototype.replace=function(r,i,a){var s=this,o=this,l=o.current;this.transitionTo(r,function(c){gd(c.fullPath),js(s.router,c,l,!1),i&&i(c)},a)},e.prototype.go=function(r){window.history.go(r)},e.prototype.ensureURL=function(r){var i=this.current.fullPath;md()!==i&&(r?IO(i):gd(i))},e.prototype.getCurrentLocation=function(){return md()},e}(Dr);function $ne(t){var e=xl(t);if(!/^\/#/.test(e))return window.location.replace(da(t+"/#"+e)),!0}function xO(){var t=md();return t.charAt(0)==="/"?!0:(gd("/"+t),!1)}function md(){var t=window.location.href,e=t.indexOf("#");return e===-1?"":t.slice(e+1)}function bv(t){var e=window.location.href,n=e.indexOf("#"),r=n>=0?e.slice(0,n):e;return r+"#"+t}function IO(t){Vs?hd(bv(t)):window.location.hash=t}function gd(t){Vs?yv(bv(t)):window.location.replace(bv(t))}var xne=function(t){function e(n,r){t.call(this,n,r),this.stack=[],this.index=-1}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.push=function(r,i,a){var s=this;this.transitionTo(r,function(o){s.stack=s.stack.slice(0,s.index+1).concat(o),s.index++,i&&i(o)},a)},e.prototype.replace=function(r,i,a){var s=this;this.transitionTo(r,function(o){s.stack=s.stack.slice(0,s.index).concat(o),i&&i(o)},a)},e.prototype.go=function(r){var i=this,a=this.index+r;if(!(a<0||a>=this.stack.length)){var s=this.stack[a];this.confirmTransition(s,function(){i.index=a,i.updateRoute(s)})}},e.prototype.getCurrentLocation=function(){var r=this.stack[this.stack.length-1];return r?r.fullPath:"/"},e.prototype.ensureURL=function(){},e}(Dr),st=function(e){e===void 0&&(e={}),this.app=null,this.apps=[],this.options=e,this.beforeHooks=[],this.resolveHooks=[],this.afterHooks=[],this.matcher=dne(e.routes||[],this);var n=e.mode||"hash";switch(this.fallback=n==="history"&&!Vs&&e.fallback!==!1,this.fallback&&(n="hash"),Al||(n="abstract"),this.mode=n,n){case"history":this.history=new AO(this,e.base);break;case"hash":this.history=new $O(this,e.base,this.fallback);break;case"abstract":this.history=new xne(this,e.base);break}},PO={currentRoute:{configurable:!0}};st.prototype.match=function(e,n,r){return this.matcher.match(e,n,r)},PO.currentRoute.get=function(){return this.history&&this.history.current},st.prototype.init=function(e){var n=this;if(this.apps.push(e),!this.app){this.app=e;var r=this.history;if(r instanceof AO)r.transitionTo(r.getCurrentLocation());else if(r instanceof $O){var i=function(){r.setupListeners()};r.transitionTo(r.getCurrentLocation(),i,i)}r.listen(function(a){n.apps.forEach(function(s){s._route=a})})}},st.prototype.beforeEach=function(e){return Ev(this.beforeHooks,e)},st.prototype.beforeResolve=function(e){return Ev(this.resolveHooks,e)},st.prototype.afterEach=function(e){return Ev(this.afterHooks,e)},st.prototype.onReady=function(e,n){this.history.onReady(e,n)},st.prototype.onError=function(e){this.history.onError(e)},st.prototype.push=function(e,n,r){this.history.push(e,n,r)},st.prototype.replace=function(e,n,r){this.history.replace(e,n,r)},st.prototype.go=function(e){this.history.go(e)},st.prototype.back=function(){this.go(-1)},st.prototype.forward=function(){this.go(1)},st.prototype.getMatchedComponents=function(e){var n=e?e.matched?e:this.resolve(e).route:this.currentRoute;return n?[].concat.apply([],n.matched.map(function(r){return Object.keys(r.components).map(function(i){return r.components[i]})})):[]},st.prototype.resolve=function(e,n,r){var i=hO(e,n||this.history.current,r,this),a=this.match(i,n),s=a.redirectedFrom||a.fullPath,o=this.history.base,l=Ine(o,s,this.mode);return{location:i,route:a,href:l,normalizedTo:i,resolved:a}},st.prototype.addRoutes=function(e){this.matcher.addRoutes(e),this.history.current!==cd&&this.history.transitionTo(this.history.getCurrentLocation())},Object.defineProperties(st.prototype,PO);function Ev(t,e){return t.push(e),function(){var n=t.indexOf(e);n>-1&&t.splice(n,1)}}function Ine(t,e,n){var r=n==="hash"?"#"+e:e;return t?da(t+"/"+r):r}st.install=pv,st.version="3.0.1",Al&&window.Vue&&window.Vue.use(st);const Pne=[{name:"send",path:"/send",component:()=>Promise.resolve().then(()=>qje),props:!0,meta:{mode:"drawer",placement:"right",width:620}},{name:"sendReminder",path:"/sendReminder",component:()=>Promise.resolve().then(()=>i6e),props:!0,meta:{mode:"modal",placement:"center",width:400}},{name:"timeline",path:"/timeline",component:()=>Promise.resolve().then(()=>A6e),props:!0,meta:{mode:"modal",width:400}},{name:"receipt",path:"/receipt",component:()=>Promise.resolve().then(()=>F6e),props:!0,meta:{mode:"modal",width:600}}];Z.use(st);const pa=new st({mode:"abstract",routes:Pne});var Dne=gs,Rne=$r,Mne="[object Symbol]";function Nne(t){return typeof t=="symbol"||Rne(t)&&Dne(t)==Mne}var vd=Nne,Lne=or,Fne=vd,jne=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,Une=/^\w*$/;function Vne(t,e){if(Lne(t))return!1;var n=typeof t;return n=="number"||n=="symbol"||n=="boolean"||t==null||Fne(t)?!0:Une.test(t)||!jne.test(t)||e!=null&&t in Object(e)}var Tv=Vne,DO=ng,Bne="Expected a function";function wv(t,e){if(typeof t!="function"||e!=null&&typeof e!="function")throw new TypeError(Bne);var n=function(){var r=arguments,i=e?e.apply(this,r):r[0],a=n.cache;if(a.has(i))return a.get(i);var s=t.apply(this,r);return n.cache=a.set(i,s)||a,s};return n.cache=new(wv.Cache||DO),n}wv.Cache=DO;var Hne=wv,Wne=Hne,zne=500;function Gne(t){var e=Wne(t,function(r){return n.size===zne&&n.clear(),r}),n=e.cache;return e}var qne=Gne,Yne=qne,Kne=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,Jne=/\\(\\)?/g,Zne=Yne(function(t){var e=[];return t.charCodeAt(0)===46&&e.push(""),t.replace(Kne,function(n,r,i,a){e.push(i?a.replace(Jne,"$1"):r||n)}),e}),Xne=Zne;function Qne(t,e){for(var n=-1,r=t==null?0:t.length,i=Array(r);++n<r;)i[n]=e(t[n],n,t);return i}var RO=Qne,MO=ms,ere=RO,tre=or,nre=vd,rre=1/0,NO=MO?MO.prototype:void 0,LO=NO?NO.toString:void 0;function FO(t){if(typeof t=="string")return t;if(tre(t))return ere(t,FO)+"";if(nre(t))return LO?LO.call(t):"";var e=t+"";return e=="0"&&1/t==-rre?"-0":e}var ire=FO,are=ire;function sre(t){return t==null?"":are(t)}var ore=sre,lre=or,cre=Tv,ure=Xne,dre=ore;function pre(t,e){return lre(t)?t:cre(t,e)?[t]:ure(dre(t))}var yd=pre,fre=vd,hre=1/0;function mre(t){if(typeof t=="string"||fre(t))return t;var e=t+"";return e=="0"&&1/t==-hre?"-0":e}var Bs=mre,gre=yd,vre=Bs;function yre(t,e){e=gre(e,t);for(var n=0,r=e.length;t!=null&&n<r;)t=t[vre(e[n++])];return n&&n==r?t:void 0}var Sv=yre,_re=Sv;function bre(t,e,n){var r=t==null?void 0:_re(t,e);return r===void 0?n:r}var Y=bre,Ere=ig,Tre=yd,wre=sg,jO=Ar,Sre=Bs;function kre(t,e,n,r){if(!jO(t))return t;e=Tre(e,t);for(var i=-1,a=e.length,s=a-1,o=t;o!=null&&++i<a;){var l=Sre(e[i]),c=n;if(l==="__proto__"||l==="constructor"||l==="prototype")return t;if(i!=s){var u=o[l];c=r?r(u,l,o):void 0,c===void 0&&(c=jO(u)?u:wre(e[i+1])?[]:{})}Ere(o,l,c),o=o[l]}return t}var Cre=kre,Ore=Cre;function Are(t,e,n){return t==null?t:Ore(t,e,n)}var qt=Are;const $re=t=>{const e=t||{},n=e.key||"vuex";function r(d){try{const p=_e.getItem(d);try{return typeof p<"u"?JSON.parse(p):void 0}catch{}return}catch{return}}function i(){return!0}function a(d,p){try{return _e.setItem(d,JSON.stringify(p))}catch{return}}function s(d,p){return Array.isArray(p)?p.reduce((f,h)=>qt(f,h,Y(d,h)),{}):d}function o(d){return p=>d.subscribe(p)}(e.assertStorage||(()=>{_e.setItem("@@",1),_e.removeItem("@@")}))();const c=()=>(e.getState||r)(n);let u;return e.fetchBeforeUse&&(u=c()),d=>{e.fetchBeforeUse||(u=c()),typeof u=="object"&&u!==null&&(d.replaceState(e.overwrite?u:Sm(d.state,u,{arrayMerge:e.arrayMerger||((p,f)=>f),clone:!1})),(e.rehydrated||(()=>{}))(d)),(e.subscriber||o)(d)((p,f)=>{(e.filter||i)(p)&&(e.setState||a)(n,(e.reducer||s)(f,e.paths))})}};var xre=function(t,e,n){var r=(n||{}).moduleName||"route";t.registerModule(r,{namespaced:!0,state:kv(e.currentRoute),mutations:{ROUTE_CHANGED:function(c,u){t.state[r]=kv(u.to,u.from)}}});var i=!1,a,s=t.watch(function(l){return l[r]},function(l){var c=l.fullPath;c!==a&&(a!=null&&(i=!0,e.push(l)),a=c)},{sync:!0}),o=e.afterEach(function(l,c){if(i){i=!1;return}a=l.fullPath,t.commit(r+"/ROUTE_CHANGED",{to:l,from:c})});return function(){o!=null&&o(),s!=null&&s(),t.unregisterModule(r)}};function kv(t,e){var n={name:t.name,path:t.path,hash:t.hash,query:t.query,params:t.params,fullPath:t.fullPath,meta:t.meta};return e&&(n.from=kv(e)),Object.freeze(n)}var Ire=lk,Pre=1,Dre=4;function Rre(t){return Ire(t,Pre|Dre)}var fa=Rre;function Mre(t={}){const{trigger:e,whitelist:n=[]}={trigger:"reset",...t},r=["route",...n];return i=>{const a=fa(i.state);i.subscribe((s,o)=>{if(s.type===e){const l=fa(a);r.forEach(c=>{o[c]&&(l[c]=fa(o[c]))}),i.replaceState(l)}else{let l=s.type.split("/");l.pop()===e&&(l=l.join("/"),i.replaceState({...fa(o),[l]:fa(a[l])}))}}),i.registerModuleState=(s,o)=>{i.registerModule(s,o),a[s]=fa(o.state)},i.unregisterModuleState=s=>{i.unregisterModule(s),delete a[s]}}}const UO={messages:[],modals:[],canCloseModal:!0,priceInputVat:"exVat",hideDocArticlePriceInput:!1,user:{position:null,isLoggingIn:!1,isRegistering:!1,isResettingPassword:!1,userId:null,companyId:null,crispUserHash:null},error:null,isSocketConnected:!1,viewSettings:{app:{isFullPageWindow:!0},nav:{title:null,left:null},projectList:{quickViewProjectId:null},login:{error:null},register:{error:null},search:{show:!1},newDocument:{showOverlayLoader:!1},newInvoice:{isLoading:!1}}},Nre={LOAD_USER_POSITION:"LOAD_USER_POSITION",LOAD_USER:"LOAD_USER",LOGIN_AUTH_TOKEN:"LOGIN_AUTH_TOKEN",LOGIN_USER:"LOGIN_USER",AUTH_3RD_PARTY_USER:"AUTH_3RD_PARTY_USER",SWITCH_CONNECTED_USER:"SWITCH_CONNECTED_USER",REGISTER_USER:"REGISTER_USER",RESET_USER_PASSWORD:"RESET_USER_PASSWORD",LOGOUT_USER:"LOGOUT_USER"},Lre={SET_USER_LOCATION:"SET_USER_LOCATION",SET_USER:"SET_USER"},Il={...Nre,PUSH_MODAL:"PUSH_MODAL",POP_MODAL:"POP_MODAL",SET_CAN_CLOSE_MODAL:"SET_CAN_CLOSE_MODAL",SHOW_MESSAGE:"SHOW_MESSAGE",CLEAR_MESSAGE:"CLEAR_MESSAGE",CLEAR_MESSAGE_BY_ID:"CLEAR_MESSAGE_BY_ID",MESSAGE_ACTION:"MESSAGE_ACTION",UPDATE_VIEW_SETTINGS:"UPDATE_VIEW_SETTINGS",RESET_VIEW_SETTINGS:"RESET_VIEW_SETTINGS",SHOW_ERROR:"SHOW_ERROR",RESET_ERROR:"RESET_ERROR"},ot={...Lre,SET_MODALS:"SET_MODALS",SET_CAN_CLOSE_MODAL:"SET_CAN_CLOSE_MODAL",ADD_MESSAGE:"ADD_MESSAGE",REMOVE_MESSAGE:"REMOVE_MESSAGE",SET_VIEW_SETTINGS:"SET_VIEW_SETTINGS",RESET_VIEW_SETTINGS:"RESET_VIEW_SETTINGS",SET_ERROR:"SET_ERROR",RESET_ERROR:"RESET_ERROR",SET_SOCKET_CONNECTED:"SET_SOCKET_CONNECTED"};class Pl extends Error{constructor(n={}){super(n);at(this,"isCustom",!0);at(this,"code",null);at(this,"httpStatusCode",null);at(this,"payload",{code:null,fallbackCode:null,string:null,object:null,objectId:null,action:null,actionPayload:null,retries:0,axios:null,showMessage:!0});typeof n.stack=="string"&&(this.stack=n.stack.replace(/.*\n/i,`${this.constructor.name}: ${n.message}
483
- `))}add(n){return this.payload={...this.payload,...n},this}getPayload(){return this.payload}setErrorCodeFromResponse(){const{data:n,status:r}=this.getPayload().axios||{};if(!n&&!r)return;const{errorCode:i}=n||{};i&&this.add({code:i}),r&&(this.httpStatusCode=r)}setMessageFromResponse(){const{data:n}=this.getPayload().axios||{};if(!n)return!1;const{message:r}=n||{};return r?(this.message=r,!0):!1}}class Fre extends Pl{constructor(e){if(super(e),this.name="NotFoundError",this.message=typeof e=="string"||!e?e:e.message,typeof e=="string"||!e)return;const{response:n}=e;this.add({axios:n}),this.setErrorCodeFromResponse()}}class jre extends Pl{constructor(e){if(super(e),this.name="ForbiddenError",this.message=typeof e=="string"||!e?e:e.message,typeof e=="string"||!e)return;const{response:n}=e;this.add({axios:n}),this.setErrorCodeFromResponse(),this.setMessageFromResponse()}}class Ure extends Pl{constructor(e){if(super(e),this.name="ValidationError",this.message=typeof e=="string"||!e?e:e.message,typeof e=="string"||!e)return;const{response:n}=e;this.add({axios:n}),this.setErrorCodeFromResponse(),this.setMessageFromResponse()}}class Vre extends Pl{constructor(e){if(super(e),this.name="NetworkError",this.message=typeof e=="string"||!e?e:e.message,typeof e=="string"||!e)return;const{config:n}=e;this.add({axios:n}),this.code="ECONNREFUSED"}}class ha extends Pl{constructor(e){if(super(e),this.name="GeneralError",this.message=typeof e=="string"||!e?e:e.message,typeof e=="string"||!e)return;const{response:n}=e;this.add({axios:n}),this.setErrorCodeFromResponse(),this.setMessageFromResponse()}}const Bre=t=>{const e=Object.keys(t);let n="";return e.forEach(r=>{const i=typeof t[r]=="object",a=i&&t[r].length>=0;i||(n+=`${r}=${t[r]}&`),i&&a&&t[r].forEach(s=>{n+=`${r}=${s}&`})}),n&&n.slice(0,-1)},VO=t=>{_d.push(t)},BO=t=>{_d.map(e=>e(t))};let Hs=!1,_d=[];const Hre=(t,{renewToken:e})=>{t.interceptors.request.use(n=>{const r=n;if(r.url.includes("/auth")||r.url.startsWith("/public/"))return r;const i=r.headers["X-TOKEN"];if(!i)return r;const a=_e.getItem("tokenExpires");if(i&&a){const s=new Date,o=new Date(a);if(s>o)return Hs||(Hs=!0,e().then(c=>{Hs=!1,BO(c),_d=[]})),new Promise(c=>{VO(u=>{r.headers["X-TOKEN"]=u,c(r)})})}return r},n=>Promise.reject(n))},Wre=(t,{renewToken:e})=>{t.interceptors.response.use(n=>n,n=>{if(!n||!n.response)return Promise.reject(n);const{config:r,response:i}=n,{status:a,data:s}=i,{errorCode:o}=s,l=r;if(l.url.startsWith("/public/"))return Promise.reject(n);if(a===401&&o===8001)return Hs||(Hs=!0,e().then(u=>{Hs=!1,BO(u),_d=[]})),new Promise(u=>{VO(d=>{l.headers["X-TOKEN"]=d,u(Xm(l))})});if(a===401&&typeof o>"u"){if(l.url.includes("auth/companyUser")&&!l.headers["X-TOKEN"])return Promise.reject(n);if(l.url.includes("auth/actionlink")&&!l.headers["X-TOKEN"])return Promise.reject(n);console.error("User should be logged out!!"),_e.removeItem("token"),_e.removeItem("tokenExpires"),_e.removeItem("refreshToken"),Ir.trigger("user:unauthorized",{error:n})}return Promise.reject(n)})},HO=t=>(Tg(t.data),t),zre=t=>{t.interceptors.response.use(HO,e=>{const{response:n,config:r}=e;if(!n)throw new Vre(e);if(Object.prototype.hasOwnProperty.call(r,"errorHandle")&&r.errorHandle===!1)return Promise.reject(e);const{status:i}=n;switch(i){case 404:throw new Fre(e);case 401:throw new jre(e);case 412:throw new Ure(e);default:throw new ha(e)}})},Gre=t=>{t.interceptors.response.use(e=>{var n,r;if(((r=(n=e.config)==null?void 0:n.url)==null?void 0:r.includes("document"))&&e.config.method==="post"){const i=JSON.parse(e.config.data);i.__tempId&&(e.data.__tempId=i.__tempId)}return e},e=>Promise.reject(e))},qre=t=>{t.interceptors.request.use(e=>{if(["post","put"].includes(e.method)&&e.data&&!(e.data instanceof FormData)){const n=fa(e.data);wg(n),e.data=n}return e},e=>Promise.reject(e))},Yre=({baseUrl:t,withCredentials:e,cache:n})=>{const r=Xm.create({baseURL:t,timeout:2e4,adapter:n,withCredentials:e,paramsSerializer:d=>Bre(d)});r.defaults.headers["X-CLIENT"]="widget",r.defaults.headers["X-CLIENT-VERSION"]="0.7.3";const i=async(d,p,f=null,h={})=>{const m=p.startsWith("/public/"),g=_e.getItem("token");switch(g&&!m&&(r.defaults.headers["X-TOKEN"]=g),d){case"get":return r.get(p,h);case"post":return r.post(p,f,h);case"put":return r.put(p,f,h);case"delete":return r.delete(p,h);case"patch":return r.patch(p,f,h);default:throw new Error(`SendRequest failed as method: '${d}' is not implemented`)}},a=(d,p={})=>i("get",d,null,p),s=(d,p={},f={})=>i("put",d,p,f),o=(d,p,f={})=>i("post",d,p,f),l=(d,p={})=>i("delete",d,null,p),c=(d,p={})=>i("patch",d,null,p),u=async()=>{const d=_e.getItem("refreshToken"),p=await o("/auth/companyUser",{refreshToken:d});if(!p.data||!p.data.token)throw new Error("No token was defined in result");const{token:f,tokenExpires:h,companyUser:m,company:g}=p.data;return _e.setItem("token",f),_e.setItem("tokenExpires",h),f};return Hre(r,{renewToken:u}),Wre(r,{renewToken:u}),HO(r),zre(r),qre(r),Gre(r),{instance:r,get:a,put:s,post:o,del:l,patch:c,renewToken:u}},Cv=new Map;function Kre(t){if(typeof t>"u")throw new Error("Missing valid parameter url");if(typeof t!="string")throw new Error("Parameter url must be a string");const{data:e,cachedAt:n,expiresAt:r}=Cv.get(t)||{};return Date.now()>n+6e4*30||r&&Date.now()>r?(Cv.delete(t),null):e}const Jre=async t=>{const{url:e,params:n={}}=t,r=Object.keys(n).map(s=>`${s}=${n[s]}`).join("&"),i=`${e}${r?`?${r}`:""}`;return Kre(i),await Bm(t)},Ov={withCredentials:!0,baseUrl:ie.api.baseUrl},{get:Me,post:Ue,put:un,patch:mi,del:lr,instance:w4e,renewToken:Zre}=Yre({withCredentials:Ov.withCredentials,baseUrl:Ov.baseUrl,cache:Jre});async function WO(t){const e=oY(t);return Me(`/project${e}`,{saveCache:!0})}const Xre=async(t,e={})=>Me("/project",t,{params:e}),Qre=async(t,e={})=>Me(`/project/${t}`,{params:e,saveCache:!0}),eie=async(t,e,n={})=>un(`/project/${t}`,e,{params:n,invalidateCache:{type:"project",id:t}}),tie=async t=>mi(`/project/${t}`),nie=async(t,e={})=>lr(`/project/${t}`,{params:e,invalidateCache:{type:"project",id:t}}),rie=async()=>Me("/project/createDemo"),iie=async(t,e={})=>Ue("/auth/actionlink",{token:t,...e}),aie=async t=>Ue("/register",t),sie=async(t,e)=>Ue("/companyUser/forgottenPassword/new",{password:t,resetPasswordToken:e}),oie=async t=>Ue("/public/consent",t),lie=async t=>Me(`/projectFile/${t}`),cie=async t=>Ue("/projectFile",t),uie=async(t,e)=>un(`/projectFile/${t}`,e),die=async t=>lr(`/projectFile/${t}`),pie=async t=>mi(`/projectFile/${t}`),fie=async(t,e={})=>Me(`/projectNote/${t}`,{params:e}),hie=async(t,e={})=>Ue("/projectNote",t,{params:e}),mie=async(t,e,n={})=>un(`/projectNote/${t}`,e,{params:n}),gie=async t=>Me(`/file/${t}`),zO=async t=>Ue("/file",t),vie=async(t,e)=>un(`/file/${t}`,e),yie=async t=>lr(`/file/${t}`),_ie=async t=>mi(`/file/${t}`),bie=async(t={})=>Me("/endCustomer",{params:t}),Eie=async(t,e={})=>Me(`/endCustomer/${t}`,{params:e}),Tie=async(t,e={})=>Ue("/endCustomer",t,{params:e}),wie=async(t,e,n={})=>un(`/endCustomer/${t}`,e,{params:n}),Sie=async(t,e={})=>lr(`/endCustomer/${t}`,{params:e}),kie=async(t,e={})=>mi(`/endCustomer/${t}`,{params:e}),Cie=async t=>Ue("/search",{type:"endCustomer",query:t}),Oie=async(t={})=>Me("/companyUser",{params:t,saveCache:!0}),Aie=async(t,e={})=>Me(`/companyUser/${t}`,{params:e,saveCache:!0}),$ie=async(t,e={})=>Ue("/companyUser",t,{params:e}),xie=async(t,e,n={})=>un(`/companyUser/${t}`,e,{params:n,invalidateCache:{type:"companyUser",id:t}}),Iie=async(t,e={})=>lr(`/companyUser/${t}`,{params:e,invalidateCache:{type:"companyUser",id:t}}),Pie=async(t,e={})=>mi(`/companyUser/${t}`,{params:e}),GO={getPublic:async(t,e={})=>Me(`/public/companyUser/${t}`,{params:e}),getConnectedUsers:async(t={})=>Me("/companyUser/self/connectedUsers",{params:t}),getConnectedUserAuth:async(t,e={})=>Me(`/companyUser/self/connectedUsers/${t}/auth`,{params:e}),setConnectedUserDefault:async(t,e={})=>un(`/companyUser/self/connectedUsers/${t}/setDefaultAuth`,{params:e}),verifyEmail:async(t,e={})=>Ue("/public/verifyEmail/companyUser",t,{params:e})},Die=async(t,e=null,n={})=>un(`/companyAccount/accountType/${t}`,e,{params:n}),Rie=async(t,e)=>Ue(`/project/${t}/projectMember/${e}`,null,{invalidateCache:{type:"project",id:t}}),Mie=async(t,e)=>lr(`/project/${t}/projectMember/${e}`,{invalidateCache:{type:"project",id:t}}),Nie=async(t={})=>Me("/companyInvoiceSetting",{params:t}),Lie=async(t,e={})=>un("/companyInvoiceSetting",t,{params:e}),Fie={get:async(t={})=>Me("/companyKYC",{params:t}),post:async(t,e={})=>Ue("/companyKYC",t,{params:e}),sign:async(t,e={})=>Ue("/companyKYC/sign",t,{params:e})},dn={get:async(t,e={})=>Me(`/document/${t}`,{params:e,saveCache:!0}),getAll:async(t={})=>Me("/document",{params:t,saveCache:!0}),post:async(t,e={})=>Ue("/document",t,{params:e}),send:async(t,e={},n={})=>Ue(`/document/${t}/send`,e,{params:n,invalidateCache:{type:"document",id:t}}),clearAnswers:async(t,e={},n={})=>Ue(`/document/${t}/clearAnswers`,e,{params:n,invalidateCache:{type:"document",id:t}}),put:async(t,e,n={})=>un(`/document/${t}`,e,{params:n,invalidateCache:{type:"document",id:t}}),delete:async(t,e={})=>lr(`/document/${t}`,{params:e,invalidateCache:{type:"document",id:t}}),patch:async(t,e={})=>mi(`/document/${t}`,{params:e}),validate:async(t,e={})=>Ue("/documentValidate",t,{params:e})},ma={get:async(t,e={})=>Me(t?`/template/${t}`:"/template",{params:e}),post:async(t,e={})=>Ue("/template",t,{params:e}),put:async(t,e,n={})=>un(`/template/${t}`,e,{params:n}),delete:async(t,e={})=>lr(`/template/${t}`,{params:e}),patch:async(t,e={})=>mi(`/template/${t}`,{params:e})},qO={get:async(t,e={})=>Me(`/public/document/${t}`,{params:e}),put:async(t,e,n={})=>un(`/public/document/${t}`,e,{headers:n}),answer:async(t,e,n={},r={})=>Ue(`/public/document/${t}/answer`,e,{params:n,headers:r}),feedback:async(t,e,n={})=>Ue(`/public/document/${t}/feedback`,e,{params:n})},Av={getAuthUrl:async(t,e={})=>Me("/extension/authUrl",{params:{...e,service:t}}),getPublicAuthUrl:async(t,e={})=>Me("/public/extension/authUrl",{params:{...e,service:t}}),install:async(t,e,n={})=>Ue("/extension/install",e,{params:{...n,service:t}}),uninstall:async(t,e={})=>lr("/extension/uninstall",{params:{...e,service:t}}),suggestClients:async(t,e={})=>Me("/extension/suggestClients",{params:{...e,service:t},saveCache:!0,cacheTtl:20}),signupWithCrm:async(t,e,n={})=>Ue("/public/extension/register",e,{params:{...n,service:t}}),search:async(t,e={})=>Me("/extension/search",{params:{...e,service:t},saveCache:!0,cacheTtl:10}),getFields:async(t,e={})=>Me("/extension/fields",{params:{...e,service:t},saveCache:!0,cacheTtl:60}),getExternalReferenceDetails:async(t,e={})=>Me("/extension/externalReferenceDetails",{params:{...e,service:t},saveCache:!0,cacheTtl:20}),settings:async(t,e={})=>Me("/extension/settings",{params:{...e,service:t}})},Ut={get:Me,post:Ue,put:un,del:lr,patch:mi,authData:Ov,getProjects:WO},ga="SET_AS_NORMALIZED_DATA",YO=Object.freeze(Object.defineProperty({__proto__:null,SET_AS_NORMALIZED_DATA:ga},Symbol.toStringTag,{value:"Module"})),KO={DO_LOAD_CURRENT_COMPANY:"DO_LOAD_CURRENT_COMPANY",DO_UPDATE_CURRENT_COMPANY:"DO_UPDATE_CURRENT_COMPANY",DO_NORMALIZE_COMPANIES:"DO_NORMALIZE_COMPANIES",FORM_EDIT_COMPANY:"FORM_EDIT_COMPANY",FORM_SUBMIT_COMPANY:"FORM_SUBMIT_COMPANY",FORM_NEW_COMPANY_BRANDING:"FORM_NEW_COMPANY_BRANDING",FORM_EDIT_COMPANY_BRANDING:"FORM_EDIT_COMPANY_BRANDING",FORM_SUBMIT_COMPANY_BRANDING:"FORM_SUBMIT_COMPANY_BRANDING",UPDATE_COMPANY_ACCOUNT_TYPE:"UPDATE_COMPANY_ACCOUNT_TYPE"},$v={SET_COMPANIES:"SET_COMPANIES",CLEAR_COMPANIES:"CLEAR_COMPANIES",SET_COMPANIES_FETCHING:"SET_COMPANIES_FETCHING",SET_COMPANIES_POSTING:"SET_COMPANIES_POSTING"},JO={LOAD_COMPANY_USERS:"LOAD_COMPANY_USERS",LOAD_COMPANY_USER:"LOAD_COMPANY_USER",DO_NORMALIZE_COMPANY_USERS:"DO_NORMALIZE_COMPANY_USERS",UPDATE_COMPANY_USER:"UPDATE_COMPANY_USER",CREATE_COMPANY_USER:"CREATE_COMPANY_USER",DELETE_COMPANY_USER:"DELETE_COMPANY_USER",PATCH_COMPANY_USER:"PATCH_COMPANY_USER",FORM_NEW_COMPANY_USER:"FORM_NEW_COMPANY_USER",FORM_EDIT_COMPANY_USER:"FORM_EDIT_COMPANY_USER",FORM_SUBMIT_COMPANY_USER:"FORM_SUBMIT_COMPANY_USER"},xv={SET_COMPANY_USERS:"SET_COMPANY_USERS",DELETE_COMPANY_USER:"DELETE_COMPANY_USER",SET_COMPANY_USERS_FETCHING:"SET_COMPANY_USERS_FETCHING",SET_COMPANY_USERS_POSTING:"SET_COMPANY_USERS_POSTING"},ZO={LOAD_PROJECT_FILE:"LOAD_PROJECT_FILE",CREATE_PROJECT_FILE:"CREATE_PROJECT_FILE",UPDATE_PROJECT_FILE:"UPDATE_PROJECT_FILE",DELETE_PROJECT_FILE:"DELETE_PROJECT_FILE",PATCH_PROJECT_FILE:"PATCH_PROJECT_FILE"},bd={SET_PROJECT_FILES:"SET_PROJECT_FILES",DELETE_PROJECT_FILE:"DELETE_PROJECT_FILE"},cr={...ZO,LOAD_PROJECTS:"LOAD_PROJECTS",LOAD_PROJECT:"LOAD_PROJECT",LOAD_PUBLIC_PROJECT:"LOAD_PUBLIC_PROJECT",CREATE_PROJECT:"CREATE_PROJECT",CREATE_DEMOPROJECT:"CREATE_DEMOPROJECT",UPDATE_PROJECT:"UPDATE_PROJECT",DELETE_PROJECT:"DELETE_PROJECT",PATCH_PROJECT:"PATCH_PROJECT",FORM_EDIT_PROJECT:"FORM_EDIT_PROJECT",DO_SUBMIT_PROJECT:"DO_SUBMIT_PROJECT",SUBMIT_PROJECT:"SUBMIT_PROJECT",DO_LOAD_PROJECT:"DO_LOAD_PROJECT",DO_LOAD_PROJECTS:"DO_LOAD_PROJECTS",DO_LOAD_PROJECTS_COUNT:"DO_LOAD_PROJECTS_COUNT",LOAD_PROJECTS_FOR_CLIENT:"LOAD_PROJECTS_FOR_CLIENT",LOAD_PROJECTS_FOR_USER:"LOAD_PROJECTS_FOR_USER",FORM_SUBMIT_PROJECT:"FORM_SUBMIT_PROJECT",DO_CREATE_PROJECT_NOTE:"DO_CREATE_PROJECT_NOTE",FORM_EDIT_PROJECT_NOTE:"FORM_EDIT_PROJECT_NOTE",FORM_NEW_PROJECT_NOTE:"FORM_NEW_PROJECT_NOTE",FORM_SUBMIT_PROJECT_NOTE:"FORM_SUBMIT_PROJECT_NOTE",LOAD_PROJECT_NOTE:"LOAD_PROJECT_NOTE",DO_UPDATE_PROJECT_NOTE:"DO_UPDATE_PROJECT_NOTE",LOAD_EVENTS_FOR_PROJECT:"LOAD_EVENTS_FOR_PROJECT",DELETE_PROJECT_MEMBER:"SUBMIT_PROJECT_MEMBER",SUBMIT_PROJECT_MEMBER:"DELETE_PROJECT_MEMBER",SET_PROJECT_FILTER:"SET_PROJECT_FILTER",SET_PROJECT_SORT:"SET_PROJECT_SORT",SET_QUICKVIEW_PROJECT:"SET_QUICKVIEW_PROJECT",SET_PROJECT_LEADER:"SET_PROJECT_LEADER",CLEAR_PROJECTS:"CLEAR_PROJECTS"},pn={...bd,SET_PROJECTS:"SET_PROJECTS",SET_PROJECTS_FETCHING:"SET_PROJECTS_FETCHING",SET_PROJECTS_POSTING:"SET_PROJECTS_POSTING",SET_PROJECTS_CAN_FETCH_MORE:"SET_PROJECTS_CAN_FETCH_MORE",SET_PROJECTS_COUNT:"SET_PROJECTS_COUNT",CLEAR_PROJECT_DATA:"CLEAR_PROJECT_DATA",SET_PROJECT_NOTES:"SET_PROJECT_NOTES",SET_PROJECT_NOTES_FETCHING:"SET_PROJECT_NOTES_FETCHING",SET_PROJECT_NOTES_POSTING:"SET_PROJECT_NOTES_POSTING",SET_EVENTS:"SET_EVENTS",DELETE_MANY_PROJECTS:"DELETE_MANY_PROJECTS",ADD_PROJECT_MEMBER:"ADD_PROJECT_MEMBER",DELETE_PROJECT_MEMBER:"DELETE_PROJECT_MEMBER"},XO={LOAD_INVOICE_FORM:"LOAD_INVOICE_FORM",LOAD_DOCUMENT2_INVOICE_FORM:"LOAD_DOCUMENT2_INVOICE_FORM",LOAD_CREDIT_INVOICE_FORM:"LOAD_CREDIT_INVOICE_FORM",SUBMIT_INVOICE_FORM:"SUBMIT_INVOICE_FORM",LOAD_CAMPAIGN_INVOICE_FORM:"LOAD_CAMPAIGN_INVOICE_FORM",SET_KYC_FORM:"SET_KYC_FORM",DO_SAVE_KYC_FORM:"DO_SAVE_KYC_FORM"},jie={},Uie={SET_FORM_ARTICLE:"SET_FORM_ARTICLE",REMOVE_FORM_ARTICLE:"REMOVE_FORM_ARTICLE"},QO={LOAD_DOCUMENT2_FORM:"LOAD_DOCUMENT2_FORM",LOAD_DOCUMENT2_PUBLIC_FORM:"LOAD_DOCUMENT2_PUBLIC_FORM",LOAD_DUPLICATE_DOCUMENT2_FORM:"LOAD_DUPLICATE_DOCUMENT2_FORM",SAVE_DYNDOC_FORM:"SAVE_DYNDOC_FORM",CLEAR_DYNDOC_FORM:"CLEAR_DYNDOC_FORM",DO_SAVE_DYNDOC:"DO_SAVE_DYNDOC",HANDLE_DOCUMENT2_EDIT:"HANDLE_DOCUMENT2_EDIT",SAVE_TEMPLATE_FORM:"SAVE_TEMPLATE_FORM",LOAD_EXTERNAL_FORM_FIELDS:"LOAD_EXTERNAL_FORM_FIELDS"},Vie={},ur={...XO,...Uie,...QO,LOAD_DOCUMENT_FORM:"LOAD_DOCUMENT_FORM",LOAD_UPGRADE_DOCUMENT_FORM:"LOAD_UPGRADE_DOCUMENT_FORM",LOAD_ATA_DOCUMENT_FORM:"LOAD_ATA_DOCUMENT_FORM",LOAD_DUPLICATE_DOCUMENT_FORM:"LOAD_DUPLICATE_DOCUMENT_FORM",LOAD_DEMO_DOCUMENT_FORM:"LOAD_DEMO_DOCUMENT_FORM",SAVE_DOCUMENT_FORM:"SAVE_DOCUMENT_FORM",SAVE_DOCUMENT_FORM_AND_SEND:"SAVE_DOCUMENT_FORM_AND_SEND",DO_SAVE_DOCUMENT:"DO_SAVE_DOCUMENT",SUBMIT_DOCUMENT_AND_SEND:"SUBMIT_DOCUMENT_AND_SEND",FORM_DOCUMENT_SET_CLIENT:"FORM_DOCUMENT_SET_CLIENT",FORM_DOCUMENT_SUBMIT_CLIENT:"FORM_DOCUMENT_SUBMIT_CLIENT",FORM_RESET_OLD:"FORM_RESET_OLD",FORM_CLEAR_FORM:"FORM_CLEAR_FORM",SET_FORM:"SET_FORM",SET_FORM_VALUE:"SET_FORM_VALUE",REMOVE_FORM_VALUE:"REMOVE_FORM_VALUE",REMOVE_FORM_KEY_VALUE:"REMOVE_FORM_KEY_VALUE"},dr={...jie,...Vie,SET_FORM:"SET_FORM",CLEAR_FORM:"CLEAR_FORM",SET_FORM_VALUE:"SET_FORM_VALUE",REMOVE_FORM_VALUE:"REMOVE_FORM_VALUE",REMOVE_FORM_KEY_VALUE:"REMOVE_FORM_KEY_VALUE"},eA={DELETE_DOCUMENT2:"DELETE_DOCUMENT2",DO_CREATE_DOCUMENT2:"DO_CREATE_DOCUMENT2",DO_LOAD_DOCUMENT2:"DO_LOAD_DOCUMENT2",DO_LOAD_DOCUMENTS2:"DO_LOAD_DOCUMENTS2",DO_UPDATE_DOCUMENT2:"DO_UPDATE_DOCUMENT2",LOAD_DOCUMENT2:"LOAD_DOCUMENT2",LOAD_DOCUMENTS2:"LOAD_DOCUMENTS2",LOAD_DOCUMENTS2_EXTERNAL:"LOAD_DOCUMENTS2_EXTERNAL",PATCH_DOCUMENT2:"PATCH_DOCUMENT2",UPDATE_DOCUMENT2:"UPDATE_DOCUMENT2",UPDATE_DOCUMENT2_STATUS:"UPDATE_DOCUMENT2_STATUS",DO_SEND_DOCUMENT2:"DO_SEND_DOCUMENT2",SEND_REMINDER_DOCUMENT2:"SEND_REMINDER_DOCUMENT2",REQUEST_PROPERTY_DOCUMENT2:"REQUEST_PROPERTY_DOCUMENT2",CLEAR_DOCUMENT2_ANSWERS:"CLEAR_DOCUMENT2_ANSWERS",ANSWER_OWN_DOCUMENT2:"ANSWER_OWN_DOCUMENT2"},Iv={DELETE_MANY_DOCUMENTS2:"DELETE_MANY_DOCUMENTS2",SET_DOCUMENTS2:"SET_DOCUMENTS2",SET_DOCUMENT2_FETCHING:"SET_DOCUMENT2_FETCHING",SET_DOCUMENT2_POSTING:"SET_DOCUMENT2_POSTING"},Ed={LOAD_FILE:"LOAD_FILE",CREATE_FILE:"CREATE_FILE",UPDATE_FILE:"UPDATE_FILE",DELETE_FILE:"DELETE_FILE",PATCH_FILE:"PATCH_FILE",FORM_NEW_FILE:"FORM_NEW_FILE",FORM_EDIT_FILE:"FORM_EDIT_FILE",FORM_SUBMIT_FILE:"FORM_SUBMIT_FILE"},Pv={UPDATE_MANY_FILES:"UPDATE_MANY_FILES",DELETE_ONE_FILE:"DELETE_ONE_FILE",CLEAR_FILES:"CLEAR_FILES",SET_FILES_FETCHING:"SET_FILES_FETCHING",SET_FILES_POSTING:"SET_FILES_POSTING"},tA={DO_LOAD_INVOICE_SETTINGS:"DO_LOAD_INVOICE_SETTINGS",LOAD_INVOICE_SETTINGS:"LOAD_INVOICE_SETTINGS",DO_UPDATE_INVOICE_SETTINGS:"DO_UPDATE_INVOICE_SETTINGS",UPDATE_INVOICE_SETTINGS:"UPDATE_INVOICE_SETTINGS",FORM_EDIT_INVOICE_SETTINGS:"FORM_EDIT_INVOICE_SETTINGS",FORM_SUBMIT_INVOICE_SETTINGS:"FORM_SUBMIT_INVOICE_SETTINGS"},Dv={SET_INVOICE_SETTINGS_FETCHING:"SET_INVOICE_SETTINGS_FETCHING",SET_INVOICE_SETTINGS_POSTING:"SET_INVOICE_SETTINGS_POSTING"},nA={...tA,DO_LOAD_ALL_SETTINGS:"DO_LOAD_ALL_SETTINGS",LOAD_ALL_SETTINGS:"LOAD_ALL_SETTINGS",DO_LOAD_SETTINGS_COMPANY:"DO_LOAD_SETTINGS_COMPANY",DO_LOAD_SETTINGS_COMPANYUSER:"DO_LOAD_SETTINGS_COMPANYUSER",LOAD_SETTINGS_COMPANY:"LOAD_SETTINGS_COMPANY",LOAD_SETTINGS_COMPANYUSER:"LOAD_SETTINGS_COMPANYUSER",UPDATE_SETTINGS:"UPDATE_SETTINGS",DO_UPDATE_SETTINGS:"DO_UPDATE_SETTINGS",FORM_EDIT_COMPANY_SETTINGS:"FORM_EDIT_COMPANY_SETTINGS",FORM_SUBMIT_COMPANY_SETTINGS:"FORM_SUBMIT_COMPANY_SETTINGS",FORM_EDIT_COMPANY_USER_SETTINGS:"FORM_EDIT_COMPANY_USER_SETTINGS",FORM_SUBMIT_COMPANY_USER_SETTINGS:"FORM_SUBMIT_COMPANY_USER_SETTINGS"},rA={...Dv,SET_SETTINGS:"SET_SETTINGS",CLEAR_SETTINGS:"CLEAR_SETTINGS",SET_SETTINGS_FETCHING:"SET_SETTINGS_FETCHING",SET_SETTINGS_POSTING:"SET_SETTINGS_POSTING"},Bie={LOAD_ARTICLES:"LOAD_ARTICLES",LOAD_ARTICLE:"LOAD_ARTICLE",SET_ARTICLES:"SET_ARTICLES",UPDATE_ARTICLE:"UPDATE_ARTICLE",DO_CREATE_ARTICLE:"DO_CREATE_ARTICLE",DELETE_ARTICLE:"DELETE_ARTICLE",PATCH_ARTICLE:"PATCH_ARTICLE",SEARCH_ARTICLE:"SEARCH_ARTICLE",FORM_NEW_ARTICLE:"FORM_NEW_ARTICLE",FORM_EDIT_ARTICLE:"FORM_EDIT_ARTICLE",FORM_SUBMIT_ARTICLE:"FORM_SUBMIT_ARTICLE"},iA={LOAD_ENDCUSTOMERS:"LOAD_ENDCUSTOMERS",LOAD_ENDCUSTOMER:"LOAD_ENDCUSTOMER",UPDATE_ENDCUSTOMER:"UPDATE_ENDCUSTOMER",CREATE_ENDCUSTOMER:"CREATE_ENDCUSTOMER",DELETE_ENDCUSTOMER:"DELETE_ENDCUSTOMER",PATCH_ENDCUSTOMER:"PATCH_ENDCUSTOMER",FORM_NEW_ENDCUSTOMER:"FORM_NEW_ENDCUSTOMER",FORM_EDIT_ENDCUSTOMER:"FORM_EDIT_ENDCUSTOMER",FORM_SUBMIT_ENDCUSTOMER:"FORM_SUBMIT_ENDCUSTOMER"},Ws={CLEAR_END_CUSTOMER:"CLEAR_END_CUSTOMER",SET_ENDCUSTOMERS:"SET_ENDCUSTOMERS",DELETE_ENDCUSTOMER:"DELETE_ENDCUSTOMER",SET_ENDCUSTOMER_FETCHING:"SET_ENDCUSTOMER_FETCHING",SET_ENDCUSTOMER_POSTING:"SET_ENDCUSTOMER_POSTING"},Hie={LOAD_CERTIFICATES:"LOAD_CERTIFICATES",DO_SET_COMPANY_CERTIFICATES:"DO_SET_COMPANY_CERTIFICATES",SUBMIT_CERTIFICATES:"SUBMIT_CERTIFICATES"},Wie={SET_CERTIFICATES:"SET_CERTIFICATES",CLEAR_CERTIFICATES:"CLEAR_CERTIFICATES",SET_CERTIFICATES_FETCHING:"SET_CERTIFICATES_FETCHING",SET_CERTIFICATES_POSTING:"SET_CERTIFICATES_POSTING"},zie={LOAD_COMPANY_REFERENCES:"LOAD_COMPANY_REFERENCES",LOAD_COMPANY_REFERENCE:"LOAD_COMPANY_REFERENCE",CREATE_COMPANY_REFERENCE:"CREATE_COMPANY_REFERENCE",UPDATE_COMPANY_REFERENCE:"UPDATE_COMPANY_REFERENCE",DELETE_COMPANY_REFERENCE:"DELETE_COMPANY_REFERENCE",PATCH_COMPANY_REFERENCE:"PATCH_COMPANY_REFERENCE",FORM_NEW_COMPANY_REFERENCE:"FORM_NEW_COMPANY_REFERENCE",FORM_EDIT_COMPANY_REFERENCE:"FORM_EDIT_COMPANY_REFERENCE",FORM_SUBMIT_COMPANY_REFERENCE:"FORM_SUBMIT_COMPANY_REFERENCE"},Gie={SET_COMPANY_REFERENCES:"SET_COMPANY_REFERENCES",DELETE_COMPANY_REFERENCE:"DELETE_COMPANY_REFERENCE",CLEAR_COMPANY_REFERENCES:"CLEAR_COMPANY_REFERENCES",SET_COMPANY_REFERENCE_FETCHING:"SET_COMPANY_REFERENCE_FETCHING",SET_COMPANY_REFERENCE_POSTING:"SET_COMPANY_REFERENCE_POSTING"},qie={LOAD_COMPANY_REFERENCE_ITEMS:"LOAD_COMPANY_REFERENCE_ITEMS",LOAD_COMPANY_REFERENCE_ITEM:"LOAD_COMPANY_REFERENCE_ITEM",SET_COMPANY_REFERENCE_ITEMS:"SET_COMPANY_REFERENCE_ITEMS",CREATE_COMPANY_REFERENCE_ITEM:"CREATE_COMPANY_REFERENCE_ITEM",UPDATE_COMPANY_REFERENCE_ITEM:"UPDATE_COMPANY_REFERENCE_ITEM",DELETE_COMPANY_REFERENCE_ITEM:"DELETE_COMPANY_REFERENCE_ITEM",FORM_NEW_COMPANY_REFERENCE_ITEM:"FORM_NEW_COMPANY_REFERENCE_ITEM",FORM_SUBMIT_COMPANY_REFERENCE_ITEMS:"FORM_SUBMIT_COMPANY_REFERENCE_ITEMS"},Yie={SET_COMPANY_REFERENCE_ITEMS:"SET_COMPANY_REFERENCE_ITEMS",DELETE_COMPANY_REFERENCE_ITEM:"DELETE_COMPANY_REFERENCE_ITEM",CLEAR_COMPANY_REFERENCE_ITEMS:"CLEAR_COMPANY_REFERENCE_ITEMS"},Kie={LOAD_TEMPLATE_MESSAGES:"LOAD_TEMPLATE_MESSAGES",LOAD_TEMPLATE_MESSAGE:"LOAD_TEMPLATE_MESSAGE",CREATE_TEMPLATE_MESSAGE:"CREATE_TEMPLATE_MESSAGE",UPDATE_TEMPLATE_MESSAGE:"UPDATE_TEMPLATE_MESSAGE",DELETE_TEMPLATE_MESSAGE:"DELETE_TEMPLATE_MESSAGE",PATCH_TEMPLATE_MESSAGE:"PATCH_TEMPLATE_MESSAGE",FORM_NEW_TEMPLATE_MESSAGE:"FORM_NEW_TEMPLATE_MESSAGE",FORM_EDIT_TEMPLATE_MESSAGE:"FORM_EDIT_TEMPLATE_MESSAGE",FORM_SUBMIT_TEMPLATE_MESSAGE:"FORM_SUBMIT_TEMPLATE_MESSAGE"},Jie={LOAD_NOTIFICATIONS:"LOAD_NOTIFICATIONS",LOAD_UNREAD_NOTIFICATIONS:"LOAD_UNREAD_NOTIFICATIONS",LOAD_NOTIFICATION:"LOAD_NOTIFICATION",SET_READ_FOR_PROJECT:"SET_READ_FOR_PROJECT",SET_READ_FOR_INVOICE:"SET_READ_FOR_INVOICE",SET_NOTIFICATION_READ:"SET_NOTIFICATION_READ",SET_ALL_NOTIFICATION_READ:"SET_ALL_NOTIFICATION_READ",DO_CREATE_NOTIFICATION:"DO_CREATE_NOTIFICATION"},Zie={SET_NOTIFICATIONS:"SET_NOTIFICATIONS",CLEAR_NOTIFICATIONS:"CLEAR_NOTIFICATIONS",DELETE_MANY_NOTIFICATIONS:"DELETE_MANY_NOTIFICATIONS",SET_NOTIFICATIONS_FETCHED_AT:"SET_NOTIFICATIONS_FETCHED_AT",SET_NOTIFICATIONS_FETCHING:"SET_NOTIFICATIONS_FETCHING",SET_NOTIFICATIONS_POSTING:"SET_NOTIFICATIONS_POSTING"},Xie={LOAD_BOOKKEEPING_EXPORTS:"LOAD_BOOKKEEPING_EXPORTS",CREATE_BOOKKEEPING_EXPORT:"CREATE_BOOKKEEPING_EXPORT",CREATE_ROT_RUT_XML:"CREATE_ROT_RUT_XML"},Qie={},eae={LOAD_INVOICE_NOTE:"LOAD_INVOICE_NOTE",DO_CREATE_INVOICE_NOTE:"DO_CREATE_INVOICE_NOTE",DO_UPDATE_INVOICE_NOTE:"DO_UPDATE_INVOICE_NOTE",FORM_NEW_INVOICE_NOTE:"FORM_NEW_INVOICE_NOTE",FORM_EDIT_INVOICE_NOTE:"FORM_EDIT_INVOICE_NOTE",FORM_SUBMIT_INVOICE_NOTE:"FORM_SUBMIT_INVOICE_NOTE"},tae={SET_INVOICE_NOTES:"SET_INVOICE_NOTES",SET_INVOICE_NOTES_FETCHING:"SET_INVOICE_NOTES_FETCHING",SET_INVOICE_NOTES_POSTING:"SET_INVOICE_NOTES_POSTING"},nae={...Xie,...eae,DO_LOAD_INVOICE:"DO_LOAD_INVOICE",DELETE_INVOICE:"DELETE_INVOICE",DO_CREATE_INVOICE:"DO_CREATE_INVOICE",DO_LOAD_INVOICES:"DO_LOAD_INVOICES",LOAD_INVOICE:"LOAD_INVOICE",LOAD_INVOICES:"LOAD_INVOICES",UPDATE_INVOICE:"UPDATE_INVOICE",DO_UPDATE_INVOICE:"DO_UPDATE_INVOICE",ATTEST_INVOICE:"ATTEST_INVOICE",DO_ATTEST_INVOICE:"DO_ATTEST_INVOICE",START_INVOICE_DISPUTE:"START_INVOICE_DISPUTE",CANCEL_INVOICE_DISPUTE:"CANCEL_INVOICE_DISPUTE",REGISTER_INVOICE_PAYMENT:"REGISTER_INVOICE_PAYMENT",REGISTER_INVOICE_WRITEOFF:"REGISTER_INVOICE_WRITEOFF",SEND_INVOICE:"SEND_INVOICE",SEND_INVOICE_REMINDER:"SEND_INVOICE_REMINDER",UPDATE_INVOICE_ADDRESS:"UPDATE_INVOICE_ADDRESS",REGISTER_INVOICING:"REGISTER_INVOICING",LOAD_UNMATCHED_PAYMENTS:"LOAD_UNMATCHED_PAYMENTS",MATCH_PAYMENT:"MATCH_PAYMENT",DELETE_UNMATCHED_PAYMENT:"DELETE_UNMATCHED_PAYMENT",DO_SELL_INVOICE:"DO_SELL_INVOICE",SELL_INVOICE:"SELL_INVOICE",CANCEL_SELL_INVOICE:"CANCEL_SELL_INVOICE",GET_KYC_STATUS:"GET_KYC_STATUS",SIGN_KYC:"SIGN_KYC",CREATE_INVOICE_INTEREST:"CREATE_INVOICE_INTEREST",SET_INVOICE_REGION_SWEDEN_EXPORTED_HOUSEWORK:"SET_INVOICE_REGION_SWEDEN_EXPORTED_HOUSEWORK",SET_INVOICE_REGION_SWEDEN_PROCESSED_HOUSEWORK:"SET_INVOICE_REGION_SWEDEN_PROCESSED_HOUSEWORK",SET_INVOICE_FILTER:"SET_INVOICE_FILTER",SET_INVOICE_SORT:"SET_INVOICE_SORT"},rae={...Qie,...tae,DELETE_MANY_INVOICES:"DELETE_MANY_INVOICES",SET_INVOICES:"SET_INVOICES",SET_INVOICES_STATUS_COUNT:"SET_INVOICES_STATUS_COUNT",SET_INVOICES_FETCHING:"SET_INVOICES_FETCHING",SET_INVOICES_POSTING:"SET_INVOICES_POSTING",SET_INVOICE_FILTER:"SET_INVOICE_FILTER",SET_INVOICE_SORT:"SET_INVOICE_SORT"},iae={LOAD_TIME_TRACKS:"LOAD_TIME_TRACKS",LOAD_TIME_TRACK:"LOAD_TIME_TRACK",CREATE_TIME_TRACK:"CREATE_TIME_TRACK",UPDATE_TIME_TRACK:"UPDATE_TIME_TRACK",DELETE_TIME_TRACK:"DELETE_TIME_TRACK",PATCH_TIME_TRACK:"PATCH_TIME_TRACK",ATTEST_TIME_TRACK:"ATTEST_TIME_TRACK",TIME_TRACK_START_TIMER:"TIME_TRACK_START_TIMER",TIME_TRACK_STOP_TIMER:"TIME_TRACK_STOP_TIMER",TIME_TRACK_GET_TIMER:"TIME_TRACK_GET_TIMER",TIME_TRACK_CLEAR_TIMER:"TIME_TRACK_CLEAR_TIMER",FORM_NEW_TIME_TRACK:"FORM_NEW_TIME_TRACK",FORM_EDIT_TIME_TRACK:"FORM_EDIT_TIME_TRACK",FORM_SUBMIT_TIME_TRACK:"FORM_SUBMIT_TIME_TRACK"},aae={SET_TIME_TRACKS:"SET_TIME_TRACKS",DELETE_TIME_TRACK:"DELETE_TIME_TRACK",CLEAR_TIME_TRACKS:"CLEAR_TIME_TRACKS",SET_TIME_TRACK_TIMER:"SET_TIME_TRACK_TIMER",SET_TIME_TRACKS_FETCHING:"SET_TIME_TRACKS_FETCHING",SET_TIME_TRACKS_POSTING:"SET_TIME_TRACKS_POSTING"},aA={DO_CREATE_TEMPLATE:"DO_CREATE_TEMPLATE",DO_LOAD_TEMPLATE:"DO_LOAD_TEMPLATE",DO_LOAD_TEMPLATES:"DO_LOAD_TEMPLATES",DO_UPDATE_TEMPLATE:"DO_UPDATE_TEMPLATE",LOAD_TEMPLATE:"LOAD_TEMPLATE",LOAD_TEMPLATES:"LOAD_TEMPLATES",UPDATE_TEMPLATE:"UPDATE_TEMPLATE",DELETE_TEMPLATE:"DELETE_TEMPLATE",PATCH_TEMPLATE:"PATCH_TEMPLATE",HIDE_TEMPLATE:"HIDE_TEMPLATE",DUPLICATE_PROTECTED_TEMPLATE:"DUPLICATE_PROTECTED_TEMPLATE"},Rv={SET_TEMPLATES:"SET_TEMPLATES",SET_TEMPLATE_FETCHING:"SET_TEMPLATE_FETCHING",SET_TEMPLATE_POSTING:"SET_TEMPLATE_POSTING",DELETE_MANY_TEMPLATES:"DELETE_MANY_TEMPLATES"},sae={DO_LOAD_PUBLIC_DOCUMENT:"DO_LOAD_PUBLIC_DOCUMENT",DO_LOAD_PUBLIC_DOCUMENTS:"DO_LOAD_PUBLIC_DOCUMENTS",PUT_PUBLIC_DOCUMENT:"PUT_PUBLIC_DOCUMENT",PUT_CURRENT_PUBLIC_DOCUMENT:"PUT_CURRENT_PUBLIC_DOCUMENT",LOAD_PUBLIC_DOCUMENT:"LOAD_PUBLIC_DOCUMENT",LOAD_PUBLIC_DOCUMENTS:"LOAD_PUBLIC_DOCUMENTS",ANSWER_PUBLIC_DOCUMENT:"ANSWER_PUBLIC_DOCUMENT",ANSWER_CURRENT_PUBLIC_DOCUMENT:"ANSWER_CURRENT_PUBLIC_DOCUMENT",DO_SET_CURRENT_DOCUMENT:"DO_SET_CURRENT_DOCUMENT",SET_CURRENT_PUBLIC_DOCUMENT_VALUE:"SET_CURRENT_PUBLIC_DOCUMENT_VALUE",RELOAD_CURRENT_DOCUMENT:"RELOAD_CURRENT_DOCUMENT",LOAD_PUBLIC_COMPANY:"LOAD_PUBLIC_COMPANY",LOAD_CLIENT_DOCUMENTS:"LOAD_CLIENT_DOCUMENTS",LOAD_CLIENT_INVOICES:"LOAD_CLIENT_INVOICES",REQUEST_MAGIC_LINK:"REQUEST_MAGIC_LINK"},oae={SET_PUBLIC_DOCUMENTS:"SET_PUBLIC_DOCUMENTS",SET_PUBLIC_INVOICES:"SET_PUBLIC_INVOICES",SET_PUBLIC_DOCUMENTS_FETCHING:"SET_PUBLIC_DOCUMENTS_FETCHING",SET_PUBLIC_DOCUMENTS_POSTING:"SET_PUBLIC_DOCUMENTS_POSTING",SET_CURRENT_DOCUMENT:"SET_CURRENT_DOCUMENT",SET_CURRENT_DOCUMENT_VALUE:"SET_CURRENT_DOCUMENT_VALUE",SET_PUBLIC_COMPANIES:"SET_PUBLIC_COMPANIES",SET_VIEWER:"SET_VIEWER"},lae={LOAD_DOCUMENT_TERMS:"LOAD_DOCUMENT_TERMS",LOAD_DOCUMENT_TERM:"LOAD_DOCUMENT_TERM",CREATE_DOCUMENT_TERM:"CREATE_DOCUMENT_TERM",UPDATE_DOCUMENT_TERM:"UPDATE_DOCUMENT_TERM",DELETE_DOCUMENT_TERM:"DELETE_DOCUMENT_TERM",PATCH_DOCUMENT_TERM:"PATCH_DOCUMENT_TERM",FORM_NEW_DOCUMENT_TERM:"FORM_NEW_DOCUMENT_TERM",FORM_EDIT_DOCUMENT_TERM:"FORM_EDIT_DOCUMENT_TERM",FORM_SUBMIT_DOCUMENT_TERM:"FORM_SUBMIT_DOCUMENT_TERM"},cae={SET_DOCUMENT_TERMS:"SET_DOCUMENT_TERMS",DELETE_DOCUMENT_TERM:"DELETE_DOCUMENT_TERM",CLEAR_DOCUMENT_TERMS:"CLEAR_DOCUMENT_TERMS",SET_DOCUMENT_TERMS_FETCHING:"SET_DOCUMENT_TERMS_FETCHING",SET_DOCUMENT_TERMS_POSTING:"SET_DOCUMENT_TERMS_POSTING"},uae={LOAD_UNIT_TYPES:"LOAD_UNIT_TYPES",LOAD_UNIT_TYPE:"LOAD_UNIT_TYPE",CREATE_UNIT_TYPE:"CREATE_UNIT_TYPE",UPDATE_UNIT_TYPE:"UPDATE_UNIT_TYPE",DELETE_UNIT_TYPE:"DELETE_UNIT_TYPE"},dae={SET_UNIT_TYPES:"SET_UNIT_TYPES",DELETE_UNIT_TYPE:"DELETE_UNIT_TYPE",SET_UNIT_TYPE_FETCHING:"SET_UNIT_TYPE_FETCHING",SET_UNIT_TYPE_POSTING:"SET_UNIT_TYPE_POSTING"},Rr={...YO,application:Il,projects:cr,forms:ur,documents2:eA,files:Ed,settings:nA,articles:Bie,endCustomers:iA,certificates:Hie,companies:KO,companyUsers:JO,companyReferences:zie,companyReferenceItems:qie,templateMessages:Kie,notifications:Jie,invoices:nae,timeTracks:iae,templates:aA,publicDocuments:sae,documentTerms:lae,unitTypes:uae,stripe:{LOAD_PRICES:"LOAD_PRICES",RESET_STRIPE_FORM:"RESET_STRIPE_FORM",SET_STRIPE_FORM_VALUE:"SET_STRIPE_FORM_VALUE",SET_FORM_PROMOTION:"SET_FORM_PROMOTION",SUBMIT_PROMOTION_CODE:"SUBMIT_PROMOTION_CODE",SUBMIT_PAYMENT_METHOD:"SUBMIT_PAYMENT_METHOD",SUBMIT_FORM_PLAN:"SUBMIT_FORM_PLAN",CONFIRM_PAYMENT:"CONFIRM_PAYMENT",REMOVE_SUBSCRIPTION_ITEM:"REMOVE_SUBSCRIPTION_ITEM",SUBMIT_FORM_PAYMENT:"SUBMIT_STRIPE_FORM_PAYMENT",SUBMIT_FORM_PRODUCTS:"SUBMIT_STRIPE_FORM_PRODUCTS"},CREATE_ARTICLE:"CREATE_ARTICLE",CREATE_COMPANY_USER:"CREATE_COMPANY_USER",CREATE_ENDCUSTOMER:"CREATE_ENDCUSTOMER",CREATE_PROJECT:"CREATE_PROJECT",DELETE_ARTICLE:"DELETE_ARTICLE",DELETE_COMPANY_USER:"DELETE_COMPANY_USER",DELETE_ENDCUSTOMER:"DELETE_ENDCUSTOMER",DELETE_PROJECT:"DELETE_PROJECT",FORM_CLEAR_FORM:"FORM_CLEAR_FORM",FORM_EDIT_ARTICLE:"FORM_EDIT_ARTICLE",FORM_EDIT_COMPANY:"FORM_EDIT_COMPANY",FORM_EDIT_COMPANY_USER:"FORM_EDIT_COMPANY_USER",FORM_EDIT_COMPANY_BRANDING:"FORM_EDIT_COMPANY_BRANDING",FORM_EDIT_ENDCUSTOMER:"FORM_EDIT_ENDCUSTOMER",FORM_NEW_ARTICLE:"FORM_NEW_ARTICLE",FORM_NEW_COMPANY_USER:"FORM_NEW_COMPANY_USER",FORM_NEW_COMPANY_BRANDING:"FORM_NEW_COMPANY_BRANDING",FORM_NEW_ENDCUSTOMER:"FORM_NEW_ENDCUSTOMER",FORM_NEW_OFFER:"FORM_NEW_OFFER",FORM_SUBMIT_ARTICLE:"FORM_SUBMIT_ARTICLE",FORM_SUBMIT_COMPANY:"FORM_SUBMIT_COMPANY",FORM_SUBMIT_COMPANY_USER:"FORM_SUBMIT_COMPANY_USER",FORM_SUBMIT_COMPANY_BRANDING:"FORM_SUBMIT_COMPANY_BRANDING",FORM_SUBMIT_ENDCUSTOMER:"FORM_SUBMIT_ENDCUSTOMER",FORM_SUBMIT_OFFER:"FORM_SUBMIT_OFFER",LOAD_ARTICLE:"LOAD_ARTICLE",LOAD_ARTICLES:"LOAD_ARTICLES",LOAD_CERTIFICATES:"LOAD_CERTIFICATES",LOAD_COMPANY_USER:"LOAD_COMPANY_USER",LOAD_COMPANY_USERS:"LOAD_COMPANY_USERS",DO_LOAD_CURRENT_COMPANY:"DO_LOAD_CURRENT_COMPANY",LOAD_ENDCUSTOMER:"LOAD_ENDCUSTOMER",LOAD_ENDCUSTOMERS:"LOAD_ENDCUSTOMERS",LOAD_PROJECT:"LOAD_PROJECT",LOAD_PROJECTS:"LOAD_PROJECTS",LOAD_PUBLIC_PROJECT:"LOAD_PUBLIC_PROJECT",PATCH_ARTICLE:"PATCH_ARTICLE",PATCH_COMPANY_USER:"PATCH_COMPANY_USER",SEARCH_ARTICLE:"SEARCH_ARTICLE",SET_ARTICLES:"SET_ARTICLES",SET_FORM:"SET_FORM",SET_PROJECTS:"SET_PROJECTS",SET_READ_FOR_PROJECT:"SET_READ_FOR_PROJECT",SORT:"SORT",UPDATE_ARTICLE:"UPDATE_ARTICLE",UPDATE_COMPANY_USER:"UPDATE_COMPANY_USER",DO_UPDATE_CURRENT_COMPANY:"DO_UPDATE_CURRENT_COMPANY",UPDATE_ENDCUSTOMER:"UPDATE_ENDCUSTOMER",UPDATE_PROJECT:"UPDATE_PROJECT"},ce={};Object.keys(Rr).forEach(t=>{typeof Rr[t]=="object"&&Object.keys(Rr[t]).forEach(e=>{ce[e]&&console.warn(`Duplicate action constant warning!, ${Rr[t][e]}`),ce[e]=`${t}/${Rr[t][e]}`})}),Object.keys(YO).forEach(t=>{ce[t]&&console.warn(`Duplicate action constant warning!, ${Rr[t]}`),ce[t]=Rr[t]});var sA={exports:{}};(function(t,e){(function(n,r){t.exports=r()})(Ne,function(){return function(n){var r={};function i(a){if(r[a])return r[a].exports;var s=r[a]={i:a,l:!1,exports:{}};return n[a].call(s.exports,s,s.exports,i),s.l=!0,s.exports}return i.m=n,i.c=r,i.d=function(a,s,o){i.o(a,s)||Object.defineProperty(a,s,{enumerable:!0,get:o})},i.r=function(a){typeof Symbol<"u"&&Symbol.toStringTag&&Object.defineProperty(a,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(a,"__esModule",{value:!0})},i.t=function(a,s){if(1&s&&(a=i(a)),8&s||4&s&&typeof a=="object"&&a&&a.__esModule)return a;var o=Object.create(null);if(i.r(o),Object.defineProperty(o,"default",{enumerable:!0,value:a}),2&s&&typeof a!="string")for(var l in a)i.d(o,l,function(c){return a[c]}.bind(null,l));return o},i.n=function(a){var s=a&&a.__esModule?function(){return a.default}:function(){return a};return i.d(s,"a",s),s},i.o=function(a,s){return Object.prototype.hasOwnProperty.call(a,s)},i.p="",i(i.s=6)}([function(n,r,i){var a=i(12),s={};function o(y,T){return T===l(y)}function l(y){var T=typeof y;return T!=="object"?T:y?y instanceof Error?"error":{}.toString.call(y).match(/\s([a-zA-Z]+)/)[1].toLowerCase():"null"}function c(y){return o(y,"function")}function u(y){var T=Function.prototype.toString.call(Object.prototype.hasOwnProperty).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?"),E=RegExp("^"+T+"$");return d(y)&&E.test(y)}function d(y){var T=typeof y;return y!=null&&(T=="object"||T=="function")}function p(){var y=w();return"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,function(T){var E=(y+16*Math.random())%16|0;return y=Math.floor(y/16),(T==="x"?E:7&E|8).toString(16)})}var f={strictMode:!1,key:["source","protocol","authority","userInfo","user","password","host","port","relative","path","directory","file","query","anchor"],q:{name:"queryKey",parser:/(?:^|&)([^&=]*)=?([^&]*)/g},parser:{strict:/^(?:([^:\/?#]+):)?(?:\/\/((?:(([^:@]*)(?::([^:@]*))?)?@)?([^:\/?#]*)(?::(\d*))?))?((((?:[^?#\/]*\/)*)([^?#]*))(?:\?([^#]*))?(?:#(.*))?)/,loose:/^(?:(?![^:@]+:[^:@\/]*@)([^:\/?#.]+):)?(?:\/\/)?((?:(([^:@]*)(?::([^:@]*))?)?@)?([^:\/?#]*)(?::(\d*))?)(((\/(?:[^?#](?![^?#\/]*\.[^?#\/.]+(?:[?#]|$)))*\/?)?([^?#\/]*))(?:\?([^#]*))?(?:#(.*))?)/}};function h(y,T){var E,k;try{E=s.stringify(y)}catch($){if(T&&c(T))try{E=T(y)}catch(C){k=C}else k=$}return{error:k,value:E}}function m(y,T){return function(E,k){try{T(E,k)}catch($){y.error($)}}}var g=["log","network","dom","navigation","error","manual"],v=["critical","error","warning","info","debug"];function _(y,T){for(var E=0;E<y.length;++E)if(y[E]===T)return!0;return!1}function w(){return Date.now?+Date.now():+new Date}n.exports={addParamsAndAccessTokenToPath:function(y,T,E){(E=E||{}).access_token=y;var k,$=[];for(k in E)Object.prototype.hasOwnProperty.call(E,k)&&$.push([k,E[k]].join("="));var C="?"+$.sort().join("&");(T=T||{}).path=T.path||"";var I,M=T.path.indexOf("?"),O=T.path.indexOf("#");M!==-1&&(O===-1||O>M)?(I=T.path,T.path=I.substring(0,M)+C+"&"+I.substring(M+1)):O!==-1?(I=T.path,T.path=I.substring(0,O)+C+I.substring(O)):T.path=T.path+C},createItem:function(y,T,E,k,$){for(var C,I,M,O,A,P,L=[],F=[],j=0,S=y.length;j<S;++j){var b=l(P=y[j]);switch(F.push(b),b){case"undefined":break;case"string":C?L.push(P):C=P;break;case"function":O=m(T,P);break;case"date":L.push(P);break;case"error":case"domexception":case"exception":I?L.push(P):I=P;break;case"object":case"array":if(P instanceof Error||typeof DOMException<"u"&&P instanceof DOMException){I?L.push(P):I=P;break}if(k&&b==="object"&&!A){for(var D=0,N=k.length;D<N;++D)if(P[k[D]]!==void 0){A=P;break}if(A)break}M?L.push(P):M=P;break;default:if(P instanceof Error||typeof DOMException<"u"&&P instanceof DOMException){I?L.push(P):I=P;break}L.push(P)}}L.length>0&&((M=a(M)).extraArgs=L);var V={message:C,err:I,custom:M,timestamp:w(),callback:O,notifier:E,diagnostic:{},uuid:p()};return function(z,G){G&&G.level!==void 0&&(z.level=G.level,delete G.level),G&&G.skipFrames!==void 0&&(z.skipFrames=G.skipFrames,delete G.skipFrames)}(V,M),k&&A&&(V.request=A),$&&(V.lambdaContext=$),V._originalArgs=y,V.diagnostic.original_arg_types=F,V},addErrorContext:function(y,T){var E=y.data.custom||{},k=!1;try{for(var $=0;$<T.length;++$)T[$].hasOwnProperty("rollbarContext")&&(E=a(E,T[$].rollbarContext),k=!0);k&&(y.data.custom=E)}catch(C){y.diagnostic.error_context="Failed: "+C.message}},createTelemetryEvent:function(y){for(var T,E,k,$,C=0,I=y.length;C<I;++C)switch(l($=y[C])){case"string":!T&&_(g,$)?T=$:!k&&_(v,$)&&(k=$);break;case"object":E=$}return{type:T||"manual",metadata:E||{},level:k}},filterIp:function(y,T){if(y&&y.user_ip&&T!==!0){var E=y.user_ip;if(T)try{var k;if(E.indexOf(".")!==-1)(k=E.split(".")).pop(),k.push("0"),E=k.join(".");else if(E.indexOf(":")!==-1){if((k=E.split(":")).length>2){var $=k.slice(0,3),C=$[2].indexOf("/");C!==-1&&($[2]=$[2].substring(0,C)),E=$.concat("0000:0000:0000:0000:0000").join(":")}}else E=null}catch{E=null}else E=null;y.user_ip=E}},formatArgsAsString:function(y){var T,E,k,$=[];for(T=0,E=y.length;T<E;++T){switch(l(k=y[T])){case"object":(k=(k=h(k)).error||k.value).length>500&&(k=k.substr(0,497)+"...");break;case"null":k="null";break;case"undefined":k="undefined";break;case"symbol":k=k.toString()}$.push(k)}return $.join(" ")},formatUrl:function(y,T){if(!(T=T||y.protocol)&&y.port&&(y.port===80?T="http:":y.port===443&&(T="https:")),T=T||"https:",!y.hostname)return null;var E=T+"//"+y.hostname;return y.port&&(E=E+":"+y.port),y.path&&(E+=y.path),E},get:function(y,T){if(y){var E=T.split("."),k=y;try{for(var $=0,C=E.length;$<C;++$)k=k[E[$]]}catch{k=void 0}return k}},handleOptions:function(y,T,E,k){var $=a(y,T,E);return $=function(C,I){return C.hostWhiteList&&!C.hostSafeList&&(C.hostSafeList=C.hostWhiteList,C.hostWhiteList=void 0,I&&I.log("hostWhiteList is deprecated. Use hostSafeList.")),C.hostBlackList&&!C.hostBlockList&&(C.hostBlockList=C.hostBlackList,C.hostBlackList=void 0,I&&I.log("hostBlackList is deprecated. Use hostBlockList.")),C}($,k),!T||T.overwriteScrubFields||T.scrubFields&&($.scrubFields=(y.scrubFields||[]).concat(T.scrubFields)),$},isError:function(y){return o(y,"error")||o(y,"exception")},isFunction:c,isIterable:function(y){var T=l(y);return T==="object"||T==="array"},isNativeFunction:u,isType:o,isObject:d,isString:function(y){return typeof y=="string"||y instanceof String},jsonParse:function(y){var T,E;try{T=s.parse(y)}catch(k){E=k}return{error:E,value:T}},LEVELS:{debug:0,info:1,warning:2,error:3,critical:4},makeUnhandledStackInfo:function(y,T,E,k,$,C,I,M){var O={url:T||"",line:E,column:k};O.func=M.guessFunctionName(O.url,O.line),O.context=M.gatherContext(O.url,O.line);var A=typeof document<"u"&&document&&document.location&&document.location.href,P=typeof window<"u"&&window&&window.navigator&&window.navigator.userAgent;return{mode:C,message:$?String($):y||I,url:A,stack:[O],useragent:P}},merge:a,now:w,redact:function(){return"********"},RollbarJSON:s,sanitizeUrl:function(y){var T=function(E){if(!!o(E,"string")){for(var k=f,$=k.parser[k.strictMode?"strict":"loose"].exec(E),C={},I=0,M=k.key.length;I<M;++I)C[k.key[I]]=$[I]||"";return C[k.q.name]={},C[k.key[12]].replace(k.q.parser,function(O,A,P){A&&(C[k.q.name][A]=P)}),C}}(y);return T?(T.anchor===""&&(T.source=T.source.replace("#","")),y=T.source.replace("?"+T.query,"")):"(unknown)"},set:function(y,T,E){if(y){var k=T.split("."),$=k.length;if(!($<1))if($!==1)try{for(var C=y[k[0]]||{},I=C,M=1;M<$-1;++M)C[k[M]]=C[k[M]]||{},C=C[k[M]];C[k[$-1]]=E,y[k[0]]=I}catch{return}else y[k[0]]=E}},setupJSON:function(y){c(s.stringify)&&c(s.parse)||(o(JSON,"undefined")||(y?(u(JSON.stringify)&&(s.stringify=JSON.stringify),u(JSON.parse)&&(s.parse=JSON.parse)):(c(JSON.stringify)&&(s.stringify=JSON.stringify),c(JSON.parse)&&(s.parse=JSON.parse))),c(s.stringify)&&c(s.parse)||y&&y(s))},stringify:h,maxByteSize:function(y){for(var T=0,E=y.length,k=0;k<E;k++){var $=y.charCodeAt(k);$<128?T+=1:$<2048?T+=2:$<65536&&(T+=3)}return T},typeName:l,uuid4:p}},function(n,r,i){i(17);var a=i(18),s=i(0);n.exports={error:function(){var o=Array.prototype.slice.call(arguments,0);o.unshift("Rollbar:"),a.ieVersion()<=8?console.error(s.formatArgsAsString(o)):console.error.apply(console,o)},info:function(){var o=Array.prototype.slice.call(arguments,0);o.unshift("Rollbar:"),a.ieVersion()<=8?console.info(s.formatArgsAsString(o)):console.info.apply(console,o)},log:function(){var o=Array.prototype.slice.call(arguments,0);o.unshift("Rollbar:"),a.ieVersion()<=8?console.log(s.formatArgsAsString(o)):console.log.apply(console,o)}}},function(n,r,i){n.exports={parse:function(a){var s,o,l={protocol:null,auth:null,host:null,path:null,hash:null,href:a,hostname:null,port:null,pathname:null,search:null,query:null};if((s=a.indexOf("//"))!==-1?(l.protocol=a.substring(0,s),o=s+2):o=0,(s=a.indexOf("@",o))!==-1&&(l.auth=a.substring(o,s),o=s+1),(s=a.indexOf("/",o))===-1){if((s=a.indexOf("?",o))===-1)return(s=a.indexOf("#",o))===-1?l.host=a.substring(o):(l.host=a.substring(o,s),l.hash=a.substring(s)),l.hostname=l.host.split(":")[0],l.port=l.host.split(":")[1],l.port&&(l.port=parseInt(l.port,10)),l;l.host=a.substring(o,s),l.hostname=l.host.split(":")[0],l.port=l.host.split(":")[1],l.port&&(l.port=parseInt(l.port,10)),o=s}else l.host=a.substring(o,s),l.hostname=l.host.split(":")[0],l.port=l.host.split(":")[1],l.port&&(l.port=parseInt(l.port,10)),o=s;if((s=a.indexOf("#",o))===-1?l.path=a.substring(o):(l.path=a.substring(o,s),l.hash=a.substring(s)),l.path){var c=l.path.split("?");l.pathname=c[0],l.query=c[1],l.search=l.query?"?"+l.query:null}return l}}},function(n,r,i){var a=i(22),s=new RegExp("^(([a-zA-Z0-9-_$ ]*): *)?(Uncaught )?([a-zA-Z0-9-_$ ]*): ");function o(){return null}function l(d){var p={};return p._stackFrame=d,p.url=d.fileName,p.line=d.lineNumber,p.func=d.functionName,p.column=d.columnNumber,p.args=d.args,p.context=null,p}function c(d,p){return{stack:function(){var f=[];p=p||0;try{f=a.parse(d)}catch{f=[]}for(var h=[],m=p;m<f.length;m++)h.push(new l(f[m]));return h}(),message:d.message,name:u(d),rawStack:d.stack,rawException:d}}function u(d){var p=d.name&&d.name.length&&d.name,f=d.constructor.name&&d.constructor.name.length&&d.constructor.name;return p&&f?p==="Error"?f:p:p||f}n.exports={guessFunctionName:function(){return"?"},guessErrorClass:function(d){if(!d||!d.match)return["Unknown error. There was no error message to display.",""];var p=d.match(s),f="(unknown)";return p&&(f=p[p.length-1],d=(d=d.replace((p[p.length-2]||"")+f+":","")).replace(/(^[\s]+|[\s]+$)/g,"")),[f,d]},gatherContext:o,parse:function(d,p){var f=d;if(f.nested){for(var h=[];f;)h.push(new c(f,p)),f=f.nested,p=0;return h[0].traceChain=h,h[0]}return new c(f,p)},Stack:c,Frame:l}},function(n,r,i){var a=i(0),s=i(5);function o(l,c){var u=c.split("."),d=u.length-1;try{for(var p=0;p<=d;++p)p<d?l=l[u[p]]:l[u[p]]=a.redact()}catch{}}n.exports=function(l,c,u){if(c=c||[],u)for(var d=0;d<u.length;++d)o(l,u[d]);var p=function(m){for(var g,v=[],_=0;_<m.length;++_)g="^\\[?(%5[bB])?"+m[_]+"\\[?(%5[bB])?\\]?(%5[dD])?$",v.push(new RegExp(g,"i"));return v}(c),f=function(m){for(var g,v=[],_=0;_<m.length;++_)g="\\[?(%5[bB])?"+m[_]+"\\[?(%5[bB])?\\]?(%5[dD])?",v.push(new RegExp("("+g+"=)([^&\\n]+)","igm"));return v}(c);function h(m,g){return g+a.redact()}return s(l,function m(g,v,_){var w=function(y,T){var E;for(E=0;E<p.length;++E)if(p[E].test(y)){T=a.redact();break}return T}(g,v);return w===v?a.isType(v,"object")||a.isType(v,"array")?s(v,m,_):function(y){var T;if(a.isType(y,"string"))for(T=0;T<f.length;++T)y=y.replace(f[T],h);return y}(w):w})}},function(n,r,i){var a=i(0);n.exports=function(s,o,l){var c,u,d,p,f=a.isType(s,"object"),h=a.isType(s,"array"),m=[];if(l=l||{obj:[],mapped:[]},f){if(p=l.obj.indexOf(s),f&&p!==-1)return l.mapped[p]||l.obj[p];l.obj.push(s),p=l.obj.length-1}if(f)for(c in s)Object.prototype.hasOwnProperty.call(s,c)&&m.push(c);else if(h)for(d=0;d<s.length;++d)m.push(d);var g=f?{}:[],v=!0;for(d=0;d<m.length;++d)u=s[c=m[d]],g[c]=o(c,u,l),v=v&&g[c]===s[c];return f&&!v&&(l.mapped[p]=g),v?s:g}},function(n,r,i){n.exports=i(7)},function(n,r,i){var a=i(8),s=typeof window<"u"&&window._rollbarConfig,o=s&&s.globalAlias||"Rollbar",l=typeof window<"u"&&window[o]&&typeof window[o].shimId=="function"&&window[o].shimId()!==void 0;if(typeof window>"u"||window._rollbarStartTime||(window._rollbarStartTime=new Date().getTime()),!l&&s){var c=new a(s);window[o]=c}else typeof window<"u"?(window.rollbar=a,window._rollbarDidLoad=!0):typeof self<"u"&&(self.rollbar=a,self._rollbarDidLoad=!0);n.exports=a},function(n,r,i){var a=i(9),s=i(29),o=i(30),l=i(32),c=i(34),u=i(4),d=i(35);a.setComponents({telemeter:s,instrumenter:o,polyfillJSON:l,wrapGlobals:c,scrub:u,truncation:d}),n.exports=a},function(n,r,i){var a=i(10),s=i(0),o=i(15),l=i(1),c=i(19),u=i(20),d=i(2),p=i(21),f=i(24),h=i(25),m=i(26),g=i(3);function v(C,I){this.options=s.handleOptions($,C,null,l),this.options._configuredOptions=C;var M=this.components.telemeter,O=this.components.instrumenter,A=this.components.polyfillJSON;this.wrapGlobals=this.components.wrapGlobals,this.scrub=this.components.scrub;var P=this.components.truncation,L=new u(P),F=new o(this.options,L,d,P);M&&(this.telemeter=new M(this.options)),this.client=I||new a(this.options,F,l,this.telemeter,"browser");var j=T(),S=typeof document<"u"&&document;this.isChrome=j.chrome&&j.chrome.runtime,this.anonymousErrorsPending=0,function(b,D,N){b.addTransform(p.handleDomException).addTransform(p.handleItemWithError).addTransform(p.ensureItemHasSomethingToSay).addTransform(p.addBaseInfo).addTransform(p.addRequestInfo(N)).addTransform(p.addClientInfo(N)).addTransform(p.addPluginInfo(N)).addTransform(p.addBody).addTransform(f.addMessageWithError).addTransform(f.addTelemetryData).addTransform(f.addConfigToPayload).addTransform(p.addScrubber(D.scrub)).addTransform(f.userTransform(l)).addTransform(f.addConfiguredOptions).addTransform(f.addDiagnosticKeys).addTransform(f.itemToPayload)}(this.client.notifier,this,j),this.client.queue.addPredicate(m.checkLevel).addPredicate(h.checkIgnore).addPredicate(m.userCheckIgnore(l)).addPredicate(m.urlIsNotBlockListed(l)).addPredicate(m.urlIsSafeListed(l)).addPredicate(m.messageIsIgnored(l)),this.setupUnhandledCapture(),O&&(this.instrumenter=new O(this.options,this.client.telemeter,this,j,S),this.instrumenter.instrument()),s.setupJSON(A)}var _=null;function w(C){var I="Rollbar is not initialized";l.error(I),C&&C(new Error(I))}function y(C){for(var I=0,M=C.length;I<M;++I)if(s.isFunction(C[I]))return C[I]}function T(){return typeof window<"u"&&window||typeof self<"u"&&self}v.init=function(C,I){return _?_.global(C).configure(C):_=new v(C,I)},v.prototype.components={},v.setComponents=function(C){v.prototype.components=C},v.prototype.global=function(C){return this.client.global(C),this},v.global=function(C){if(_)return _.global(C);w()},v.prototype.configure=function(C,I){var M=this.options,O={};return I&&(O={payload:I}),this.options=s.handleOptions(M,C,O,l),this.options._configuredOptions=s.handleOptions(M._configuredOptions,C,O),this.client.configure(this.options,I),this.instrumenter&&this.instrumenter.configure(this.options),this.setupUnhandledCapture(),this},v.configure=function(C,I){if(_)return _.configure(C,I);w()},v.prototype.lastError=function(){return this.client.lastError},v.lastError=function(){if(_)return _.lastError();w()},v.prototype.log=function(){var C=this._createItem(arguments),I=C.uuid;return this.client.log(C),{uuid:I}},v.log=function(){if(_)return _.log.apply(_,arguments);var C=y(arguments);w(C)},v.prototype.debug=function(){var C=this._createItem(arguments),I=C.uuid;return this.client.debug(C),{uuid:I}},v.debug=function(){if(_)return _.debug.apply(_,arguments);var C=y(arguments);w(C)},v.prototype.info=function(){var C=this._createItem(arguments),I=C.uuid;return this.client.info(C),{uuid:I}},v.info=function(){if(_)return _.info.apply(_,arguments);var C=y(arguments);w(C)},v.prototype.warn=function(){var C=this._createItem(arguments),I=C.uuid;return this.client.warn(C),{uuid:I}},v.warn=function(){if(_)return _.warn.apply(_,arguments);var C=y(arguments);w(C)},v.prototype.warning=function(){var C=this._createItem(arguments),I=C.uuid;return this.client.warning(C),{uuid:I}},v.warning=function(){if(_)return _.warning.apply(_,arguments);var C=y(arguments);w(C)},v.prototype.error=function(){var C=this._createItem(arguments),I=C.uuid;return this.client.error(C),{uuid:I}},v.error=function(){if(_)return _.error.apply(_,arguments);var C=y(arguments);w(C)},v.prototype.critical=function(){var C=this._createItem(arguments),I=C.uuid;return this.client.critical(C),{uuid:I}},v.critical=function(){if(_)return _.critical.apply(_,arguments);var C=y(arguments);w(C)},v.prototype.buildJsonPayload=function(C){return this.client.buildJsonPayload(C)},v.buildJsonPayload=function(){if(_)return _.buildJsonPayload.apply(_,arguments);w()},v.prototype.sendJsonPayload=function(C){return this.client.sendJsonPayload(C)},v.sendJsonPayload=function(){if(_)return _.sendJsonPayload.apply(_,arguments);w()},v.prototype.setupUnhandledCapture=function(){var C=T();this.unhandledExceptionsInitialized||(this.options.captureUncaught||this.options.handleUncaughtExceptions)&&(c.captureUncaughtExceptions(C,this),this.wrapGlobals&&this.options.wrapGlobalEventHandlers&&this.wrapGlobals(C,this),this.unhandledExceptionsInitialized=!0),this.unhandledRejectionsInitialized||(this.options.captureUnhandledRejections||this.options.handleUnhandledRejections)&&(c.captureUnhandledRejections(C,this),this.unhandledRejectionsInitialized=!0)},v.prototype.handleUncaughtException=function(C,I,M,O,A,P){if(this.options.captureUncaught||this.options.handleUncaughtExceptions){if(this.options.inspectAnonymousErrors&&this.isChrome&&A===null&&I==="")return"anonymous";var L,F=s.makeUnhandledStackInfo(C,I,M,O,A,"onerror","uncaught exception",g);s.isError(A)?(L=this._createItem([C,A,P]))._unhandledStackInfo=F:s.isError(I)?(L=this._createItem([C,I,P]))._unhandledStackInfo=F:(L=this._createItem([C,P])).stackInfo=F,L.level=this.options.uncaughtErrorLevel,L._isUncaught=!0,this.client.log(L)}},v.prototype.handleAnonymousErrors=function(){if(this.options.inspectAnonymousErrors&&this.isChrome){var C=this;try{Error.prepareStackTrace=function(I,M){if(C.options.inspectAnonymousErrors&&C.anonymousErrorsPending){if(C.anonymousErrorsPending-=1,!I)return;I._isAnonymous=!0,C.handleUncaughtException(I.message,null,null,null,I)}return I.stack}}catch(I){this.options.inspectAnonymousErrors=!1,this.error("anonymous error handler failed",I)}}},v.prototype.handleUnhandledRejection=function(C,I){if(this.options.captureUnhandledRejections||this.options.handleUnhandledRejections){var M="unhandled rejection was null or undefined!";if(C)if(C.message)M=C.message;else{var O=s.stringify(C);O.value&&(M=O.value)}var A,P=C&&C._rollbarContext||I&&I._rollbarContext;s.isError(C)?A=this._createItem([M,C,P]):(A=this._createItem([M,C,P])).stackInfo=s.makeUnhandledStackInfo(M,"",0,0,null,"unhandledrejection","",g),A.level=this.options.uncaughtErrorLevel,A._isUncaught=!0,A._originalArgs=A._originalArgs||[],A._originalArgs.push(I),this.client.log(A)}},v.prototype.wrap=function(C,I,M){try{var O;if(O=s.isFunction(I)?I:function(){return I||{}},!s.isFunction(C)||C._isWrap)return C;if(!C._rollbar_wrapped&&(C._rollbar_wrapped=function(){M&&s.isFunction(M)&&M.apply(this,arguments);try{return C.apply(this,arguments)}catch(L){var P=L;throw P&&window._rollbarWrappedError!==P&&(s.isType(P,"string")&&(P=new String(P)),P._rollbarContext=O()||{},P._rollbarContext._wrappedSource=C.toString(),window._rollbarWrappedError=P),P}},C._rollbar_wrapped._isWrap=!0,C.hasOwnProperty))for(var A in C)C.hasOwnProperty(A)&&A!=="_rollbar_wrapped"&&(C._rollbar_wrapped[A]=C[A]);return C._rollbar_wrapped}catch{return C}},v.wrap=function(C,I){if(_)return _.wrap(C,I);w()},v.prototype.captureEvent=function(){var C=s.createTelemetryEvent(arguments);return this.client.captureEvent(C.type,C.metadata,C.level)},v.captureEvent=function(){if(_)return _.captureEvent.apply(_,arguments);w()},v.prototype.captureDomContentLoaded=function(C,I){return I||(I=new Date),this.client.captureDomContentLoaded(I)},v.prototype.captureLoad=function(C,I){return I||(I=new Date),this.client.captureLoad(I)},v.prototype.loadFull=function(){l.info("Unexpected Rollbar.loadFull() called on a Notifier instance. This can happen when Rollbar is loaded multiple times.")},v.prototype._createItem=function(C){return s.createItem(C,l,this)};var E=i(27),k=i(28),$={version:E.version,scrubFields:k.scrubFields,logLevel:E.logLevel,reportLevel:E.reportLevel,uncaughtErrorLevel:E.uncaughtErrorLevel,endpoint:E.endpoint,verbose:!1,enabled:!0,transmit:!0,sendConfig:!1,includeItemsInTelemetry:!0,captureIp:!0,inspectAnonymousErrors:!0,ignoreDuplicateErrors:!0,wrapGlobalEventHandlers:!1};n.exports=v},function(n,r,i){var a=i(11),s=i(13),o=i(14),l=i(0);function c(p,f,h,m,g){this.options=l.merge(p),this.logger=h,c.rateLimiter.configureGlobal(this.options),c.rateLimiter.setPlatformOptions(g,this.options),this.api=f,this.queue=new s(c.rateLimiter,f,h,this.options);var v=this.options.tracer||null;d(v)?(this.tracer=v,this.options.tracer="opentracing-tracer-enabled",this.options._configuredOptions.tracer="opentracing-tracer-enabled"):this.tracer=null,this.notifier=new o(this.queue,this.options),this.telemeter=m,u(p),this.lastError=null,this.lastErrorHash="none"}function u(p){p.stackTraceLimit&&(Error.stackTraceLimit=p.stackTraceLimit)}function d(p){if(!p||!p.scope||typeof p.scope!="function")return!1;var f=p.scope();return!(!f||!f.active||typeof f.active!="function")}c.rateLimiter=new a({maxItems:0,itemsPerMinute:60}),c.prototype.global=function(p){return c.rateLimiter.configureGlobal(p),this},c.prototype.configure=function(p,f){var h=this.options,m={};f&&(m={payload:f}),this.options=l.merge(h,p,m);var g=this.options.tracer||null;return d(g)?(this.tracer=g,this.options.tracer="opentracing-tracer-enabled",this.options._configuredOptions.tracer="opentracing-tracer-enabled"):this.tracer=null,this.notifier&&this.notifier.configure(this.options),this.telemeter&&this.telemeter.configure(this.options),u(p),this.global(this.options),d(p.tracer)&&(this.tracer=p.tracer),this},c.prototype.log=function(p){var f=this._defaultLogLevel();return this._log(f,p)},c.prototype.debug=function(p){this._log("debug",p)},c.prototype.info=function(p){this._log("info",p)},c.prototype.warn=function(p){this._log("warning",p)},c.prototype.warning=function(p){this._log("warning",p)},c.prototype.error=function(p){this._log("error",p)},c.prototype.critical=function(p){this._log("critical",p)},c.prototype.wait=function(p){this.queue.wait(p)},c.prototype.captureEvent=function(p,f,h){return this.telemeter&&this.telemeter.captureEvent(p,f,h)},c.prototype.captureDomContentLoaded=function(p){return this.telemeter&&this.telemeter.captureDomContentLoaded(p)},c.prototype.captureLoad=function(p){return this.telemeter&&this.telemeter.captureLoad(p)},c.prototype.buildJsonPayload=function(p){return this.api.buildJsonPayload(p)},c.prototype.sendJsonPayload=function(p){this.api.postJsonPayload(p)},c.prototype._log=function(p,f){var h;if(f.callback&&(h=f.callback,delete f.callback),this.options.ignoreDuplicateErrors&&this._sameAsLastError(f)){if(h){var m=new Error("ignored identical item");m.item=f,h(m)}}else try{this._addTracingInfo(f),f.level=f.level||p,this.telemeter&&this.telemeter._captureRollbarItem(f),f.telemetryEvents=this.telemeter&&this.telemeter.copyEvents()||[],this.notifier.log(f,h)}catch(g){h&&h(g),this.logger.error(g)}},c.prototype._defaultLogLevel=function(){return this.options.logLevel||"debug"},c.prototype._sameAsLastError=function(p){if(!p._isUncaught)return!1;var f=function(h){var m=h.message||"",g=(h.err||{}).stack||String(h.err);return m+"::"+g}(p);return this.lastErrorHash===f||(this.lastError=p.err,this.lastErrorHash=f,!1)},c.prototype._addTracingInfo=function(p){if(this.tracer){var f=this.tracer.scope().active();if(function(g){if(!g||!g.context||typeof g.context!="function")return!1;var v=g.context();return!(!v||!v.toSpanId||!v.toTraceId||typeof v.toSpanId!="function"||typeof v.toTraceId!="function")}(f)){f.setTag("rollbar.error_uuid",p.uuid),f.setTag("rollbar.has_error",!0),f.setTag("error",!0),f.setTag("rollbar.item_url","https://rollbar.com/item/uuid/?uuid="+p.uuid),f.setTag("rollbar.occurrence_url","https://rollbar.com/occurrence/uuid/?uuid="+p.uuid);var h=f.context().toSpanId(),m=f.context().toTraceId();p.custom?(p.custom.opentracing_span_id=h,p.custom.opentracing_trace_id=m):p.custom={opentracing_span_id:h,opentracing_trace_id:m}}}},n.exports=c},function(n,r,i){var a=i(0);function s(c){this.startTime=a.now(),this.counter=0,this.perMinCounter=0,this.platform=null,this.platformOptions={},this.configureGlobal(c)}function o(c,u,d){return!c.ignoreRateLimit&&u>=1&&d>u}function l(c,u,d,p,f,h,m){var g=null;return d&&(d=new Error(d)),d||p||(g=function(v,_,w,y,T){var E,k=_.environment||_.payload&&_.payload.environment;E=T?"item per minute limit reached, ignoring errors until timeout":"maxItems has been hit, ignoring errors until reset.";var $={body:{message:{body:E,extra:{maxItems:w,itemsPerMinute:y}}},language:"javascript",environment:k,notifier:{version:_.notifier&&_.notifier.version||_.version}};return v==="browser"?($.platform="browser",$.framework="browser-js",$.notifier.name="rollbar-browser-js"):v==="server"?($.framework=_.framework||"node-js",$.notifier.name=_.notifier.name):v==="react-native"&&($.framework=_.framework||"react-native",$.notifier.name=_.notifier.name),$}(c,u,f,h,m)),{error:d,shouldSend:p,payload:g}}s.globalSettings={startTime:a.now(),maxItems:void 0,itemsPerMinute:void 0},s.prototype.configureGlobal=function(c){c.startTime!==void 0&&(s.globalSettings.startTime=c.startTime),c.maxItems!==void 0&&(s.globalSettings.maxItems=c.maxItems),c.itemsPerMinute!==void 0&&(s.globalSettings.itemsPerMinute=c.itemsPerMinute)},s.prototype.shouldSend=function(c,u){var d=(u=u||a.now())-this.startTime;(d<0||d>=6e4)&&(this.startTime=u,this.perMinCounter=0);var p=s.globalSettings.maxItems,f=s.globalSettings.itemsPerMinute;if(o(c,p,this.counter))return l(this.platform,this.platformOptions,p+" max items reached",!1);if(o(c,f,this.perMinCounter))return l(this.platform,this.platformOptions,f+" items per minute reached",!1);this.counter++,this.perMinCounter++;var h=!o(c,p,this.counter),m=h;return h=h&&!o(c,f,this.perMinCounter),l(this.platform,this.platformOptions,null,h,p,f,m)},s.prototype.setPlatformOptions=function(c,u){this.platform=c,this.platformOptions=u},n.exports=s},function(n,r,i){var a=Object.prototype.hasOwnProperty,s=Object.prototype.toString,o=function(l){if(!l||s.call(l)!=="[object Object]")return!1;var c,u=a.call(l,"constructor"),d=l.constructor&&l.constructor.prototype&&a.call(l.constructor.prototype,"isPrototypeOf");if(l.constructor&&!u&&!d)return!1;for(c in l);return c===void 0||a.call(l,c)};n.exports=function l(){var c,u,d,p,f,h={},m=null,g=arguments.length;for(c=0;c<g;c++)if((m=arguments[c])!=null)for(f in m)u=h[f],h!==(d=m[f])&&(d&&o(d)?(p=u&&o(u)?u:{},h[f]=l(p,d)):d!==void 0&&(h[f]=d));return h}},function(n,r,i){var a=i(0);function s(l,c,u,d){this.rateLimiter=l,this.api=c,this.logger=u,this.options=d,this.predicates=[],this.pendingItems=[],this.pendingRequests=[],this.retryQueue=[],this.retryHandle=null,this.waitCallback=null,this.waitIntervalID=null}s.prototype.configure=function(l){this.api&&this.api.configure(l);var c=this.options;return this.options=a.merge(c,l),this},s.prototype.addPredicate=function(l){return a.isFunction(l)&&this.predicates.push(l),this},s.prototype.addPendingItem=function(l){this.pendingItems.push(l)},s.prototype.removePendingItem=function(l){var c=this.pendingItems.indexOf(l);c!==-1&&this.pendingItems.splice(c,1)},s.prototype.addItem=function(l,c,u,d){c&&a.isFunction(c)||(c=function(){});var p=this._applyPredicates(l);if(p.stop)return this.removePendingItem(d),void c(p.err);if(this._maybeLog(l,u),this.removePendingItem(d),this.options.transmit){this.pendingRequests.push(l);try{this._makeApiRequest(l,function(f,h){this._dequeuePendingRequest(l),c(f,h)}.bind(this))}catch(f){this._dequeuePendingRequest(l),c(f)}}else c(new Error("Transmit disabled"))},s.prototype.wait=function(l){a.isFunction(l)&&(this.waitCallback=l,this._maybeCallWait()||(this.waitIntervalID&&(this.waitIntervalID=clearInterval(this.waitIntervalID)),this.waitIntervalID=setInterval(function(){this._maybeCallWait()}.bind(this),500)))},s.prototype._applyPredicates=function(l){for(var c=null,u=0,d=this.predicates.length;u<d;u++)if(!(c=this.predicates[u](l,this.options))||c.err!==void 0)return{stop:!0,err:c.err};return{stop:!1,err:null}},s.prototype._makeApiRequest=function(l,c){var u=this.rateLimiter.shouldSend(l);u.shouldSend?this.api.postItem(l,function(d,p){d?this._maybeRetry(d,l,c):c(d,p)}.bind(this)):u.error?c(u.error):this.api.postItem(u.payload,c)};var o=["ECONNRESET","ENOTFOUND","ESOCKETTIMEDOUT","ETIMEDOUT","ECONNREFUSED","EHOSTUNREACH","EPIPE","EAI_AGAIN"];s.prototype._maybeRetry=function(l,c,u){var d=!1;if(this.options.retryInterval){for(var p=0,f=o.length;p<f;p++)if(l.code===o[p]){d=!0;break}}d?this._retryApiRequest(c,u):u(l)},s.prototype._retryApiRequest=function(l,c){this.retryQueue.push({item:l,callback:c}),this.retryHandle||(this.retryHandle=setInterval(function(){for(;this.retryQueue.length;){var u=this.retryQueue.shift();this._makeApiRequest(u.item,u.callback)}}.bind(this),this.options.retryInterval))},s.prototype._dequeuePendingRequest=function(l){var c=this.pendingRequests.indexOf(l);c!==-1&&(this.pendingRequests.splice(c,1),this._maybeCallWait())},s.prototype._maybeLog=function(l,c){if(this.logger&&this.options.verbose){var u=c;if(u=(u=u||a.get(l,"body.trace.exception.message"))||a.get(l,"body.trace_chain.0.exception.message"))return void this.logger.error(u);(u=a.get(l,"body.message.body"))&&this.logger.log(u)}},s.prototype._maybeCallWait=function(){return!(!a.isFunction(this.waitCallback)||this.pendingItems.length!==0||this.pendingRequests.length!==0)&&(this.waitIntervalID&&(this.waitIntervalID=clearInterval(this.waitIntervalID)),this.waitCallback(),!0)},n.exports=s},function(n,r,i){var a=i(0);function s(o,l){this.queue=o,this.options=l,this.transforms=[],this.diagnostic={}}s.prototype.configure=function(o){this.queue&&this.queue.configure(o);var l=this.options;return this.options=a.merge(l,o),this},s.prototype.addTransform=function(o){return a.isFunction(o)&&this.transforms.push(o),this},s.prototype.log=function(o,l){if(l&&a.isFunction(l)||(l=function(){}),!this.options.enabled)return l(new Error("Rollbar is not enabled"));this.queue.addPendingItem(o);var c=o.err;this._applyTransforms(o,function(u,d){if(u)return this.queue.removePendingItem(o),l(u,null);this.queue.addItem(d,l,c,o)}.bind(this))},s.prototype._applyTransforms=function(o,l){var c=-1,u=this.transforms.length,d=this.transforms,p=this.options,f=function(h,m){h?l(h,null):++c!==u?d[c](m,p,f):l(null,m)};f(null,o)},n.exports=s},function(n,r,i){var a=i(0),s=i(16),o={hostname:"api.rollbar.com",path:"/api/1/item/",search:null,version:"1",protocol:"https:",port:443};function l(u,d,p,f,h){this.options=u,this.transport=d,this.url=p,this.truncation=f,this.jsonBackup=h,this.accessToken=u.accessToken,this.transportOptions=c(u,p)}function c(u,d){return s.getTransportFromOptions(u,o,d)}l.prototype.postItem=function(u,d){var p=s.transportOptions(this.transportOptions,"POST"),f=s.buildPayload(this.accessToken,u,this.jsonBackup);this.transport.post(this.accessToken,p,f,d)},l.prototype.buildJsonPayload=function(u,d){var p,f=s.buildPayload(this.accessToken,u,this.jsonBackup);return(p=this.truncation?this.truncation.truncate(f):a.stringify(f)).error?(d&&d(p.error),null):p.value},l.prototype.postJsonPayload=function(u,d){var p=s.transportOptions(this.transportOptions,"POST");this.transport.postJsonPayload(this.accessToken,p,u,d)},l.prototype.configure=function(u){var d=this.oldOptions;return this.options=a.merge(d,u),this.transportOptions=c(this.options,this.url),this.options.accessToken!==void 0&&(this.accessToken=this.options.accessToken),this},n.exports=l},function(n,r,i){var a=i(0);n.exports={buildPayload:function(s,o,l){if(!a.isType(o.context,"string")){var c=a.stringify(o.context,l);c.error?o.context="Error: could not serialize 'context'":o.context=c.value||"",o.context.length>255&&(o.context=o.context.substr(0,255))}return{access_token:s,data:o}},getTransportFromOptions:function(s,o,l){var c=o.hostname,u=o.protocol,d=o.port,p=o.path,f=o.search,h=s.proxy;if(s.endpoint){var m=l.parse(s.endpoint);c=m.hostname,u=m.protocol,d=m.port,p=m.pathname,f=m.search}return{hostname:c,protocol:u,port:d,path:p,search:f,proxy:h}},transportOptions:function(s,o){var l=s.protocol||"https:",c=s.port||(l==="http:"?80:l==="https:"?443:void 0),u=s.hostname,d=s.path;return s.search&&(d+=s.search),s.proxy&&(d=l+"//"+u+d,u=s.proxy.host||s.proxy.hostname,c=s.proxy.port,l=s.proxy.protocol||l),{protocol:l,hostname:u,path:d,port:c,method:o}},appendPathToPath:function(s,o){var l=/\/$/.test(s),c=/^\//.test(o);return l&&c?o=o.substring(1):l||c||(o="/"+o),s+o}}},function(n,r){(function(i){i.console||(i.console={});for(var a,s,o=i.console,l=function(){},c=["memory"],u="assert,clear,count,debug,dir,dirxml,error,exception,group,groupCollapsed,groupEnd,info,log,markTimeline,profile,profiles,profileEnd,show,table,time,timeEnd,timeline,timelineEnd,timeStamp,trace,warn".split(",");a=c.pop();)o[a]||(o[a]={});for(;s=u.pop();)o[s]||(o[s]=l)})(typeof window>"u"?this:window)},function(n,r,i){var a={ieVersion:function(){if(typeof document<"u"){for(var s=3,o=document.createElement("div"),l=o.getElementsByTagName("i");o.innerHTML="<!--[if gt IE "+ ++s+"]><i></i><![endif]-->",l[0];);return s>4?s:void 0}}};n.exports=a},function(n,r,i){function a(s,o,l,c){s._rollbarWrappedError&&(c[4]||(c[4]=s._rollbarWrappedError),c[5]||(c[5]=s._rollbarWrappedError._rollbarContext),s._rollbarWrappedError=null);var u=o.handleUncaughtException.apply(o,c);l&&l.apply(s,c),u==="anonymous"&&(o.anonymousErrorsPending+=1)}n.exports={captureUncaughtExceptions:function(s,o,l){if(s){var c;if(typeof o._rollbarOldOnError=="function")c=o._rollbarOldOnError;else if(s.onerror){for(c=s.onerror;c._rollbarOldOnError;)c=c._rollbarOldOnError;o._rollbarOldOnError=c}o.handleAnonymousErrors();var u=function(){var d=Array.prototype.slice.call(arguments,0);a(s,o,c,d)};l&&(u._rollbarOldOnError=c),s.onerror=u}},captureUnhandledRejections:function(s,o,l){if(s){typeof s._rollbarURH=="function"&&s._rollbarURH.belongsToShim&&s.removeEventListener("unhandledrejection",s._rollbarURH);var c=function(u){var d,p,f;try{d=u.reason}catch{d=void 0}try{p=u.promise}catch{p="[unhandledrejection] error getting `promise` from event"}try{f=u.detail,!d&&f&&(d=f.reason,p=f.promise)}catch{}d||(d="[unhandledrejection] error getting `reason` from event"),o&&o.handleUnhandledRejection&&o.handleUnhandledRejection(d,p)};c.belongsToShim=l,s._rollbarURH=c,s.addEventListener("unhandledrejection",c)}}}},function(n,r,i){var a=i(0),s=i(1);function o(d){this.truncation=d}function l(d,p,f,h,m,g){var v=typeof window<"u"&&window||typeof self<"u"&&self,_=v&&v.Zone&&v.Zone.current;_&&_._name==="angular"?_._parent.run(function(){c(d,p,f,h,m,g)}):c(d,p,f,h,m,g)}function c(d,p,f,h,m,g){if(typeof RollbarProxy<"u")return function(y,T){new RollbarProxy().sendJsonPayload(y,function(E){},function(E){T(new Error(E))})}(h,m);var v;if(!(v=g?g():function(){var y,T,E=[function(){return new XMLHttpRequest},function(){return new ActiveXObject("Msxml2.XMLHTTP")},function(){return new ActiveXObject("Msxml3.XMLHTTP")},function(){return new ActiveXObject("Microsoft.XMLHTTP")}],k=E.length;for(T=0;T<k;T++)try{y=E[T]();break}catch{}return y}()))return m(new Error("No way to send a request"));try{try{var _=function(){try{if(_&&v.readyState===4){_=void 0;var y=a.jsonParse(v.responseText);if((k=v)&&k.status&&k.status===200)return void m(y.error,y.value);if(function($){return $&&a.isType($.status,"number")&&$.status>=400&&$.status<600}(v)){if(v.status===403){var T=y.value&&y.value.message;s.error(T)}m(new Error(String(v.status)))}else m(u("XHR response had no status code (likely connection failure)"))}}catch($){var E;E=$&&$.stack?$:new Error($),m(E)}var k};v.open(f,p,!0),v.setRequestHeader&&(v.setRequestHeader("Content-Type","application/json"),v.setRequestHeader("X-Rollbar-Access-Token",d)),v.onreadystatechange=_,v.send(h)}catch{if(typeof XDomainRequest<"u"){if(!window||!window.location)return m(new Error("No window available during request, unknown environment"));window.location.href.substring(0,5)==="http:"&&p.substring(0,5)==="https"&&(p="http"+p.substring(5));var w=new XDomainRequest;w.onprogress=function(){},w.ontimeout=function(){m(u("Request timed out","ETIMEDOUT"))},w.onerror=function(){m(new Error("Error during request"))},w.onload=function(){var T=a.jsonParse(w.responseText);m(T.error,T.value)},w.open(f,p,!0),w.send(h)}else m(new Error("Cannot find a method to transport a request"))}}catch(y){m(y)}}function u(d,p){var f=new Error(d);return f.code=p||"ENOTFOUND",f}o.prototype.get=function(d,p,f,h,m){h&&a.isFunction(h)||(h=function(){}),a.addParamsAndAccessTokenToPath(d,p,f),l(d,a.formatUrl(p),"GET",null,h,m)},o.prototype.post=function(d,p,f,h,m){if(h&&a.isFunction(h)||(h=function(){}),!f)return h(new Error("Cannot send empty request"));var g;if((g=this.truncation?this.truncation.truncate(f):a.stringify(f)).error)return h(g.error);var v=g.value;l(d,a.formatUrl(p),"POST",v,h,m)},o.prototype.postJsonPayload=function(d,p,f,h,m){h&&a.isFunction(h)||(h=function(){}),l(d,a.formatUrl(p),"POST",f,h,m)},n.exports=o},function(n,r,i){var a=i(0),s=i(3),o=i(1);function l(p,f,h){var m=p.message,g=p.custom;m||(m="Item sent with null or missing arguments.");var v={body:m};g&&(v.extra=a.merge(g)),a.set(p,"data.body",{message:v}),h(null,p)}function c(p){var f=p.stackInfo.stack;return f&&f.length===0&&p._unhandledStackInfo&&p._unhandledStackInfo.stack&&(f=p._unhandledStackInfo.stack),f}function u(p,f,h){var m=p&&p.data.description,g=p&&p.custom,v=c(p),_=s.guessErrorClass(f.message),w={exception:{class:d(f,_[0],h),message:_[1]}};if(m&&(w.exception.description=m),v){var y,T,E,k,$,C,I,M;for(v.length===0&&(w.exception.stack=f.rawStack,w.exception.raw=String(f.rawException)),w.frames=[],I=0;I<v.length;++I)T={filename:(y=v[I]).url?a.sanitizeUrl(y.url):"(unknown)",lineno:y.line||null,method:y.func&&y.func!=="?"?y.func:"[anonymous]",colno:y.column},h.sendFrameUrl&&(T.url=y.url),T.method&&T.method.endsWith&&T.method.endsWith("_rollbar_wrapped")||(E=k=$=null,(C=y.context?y.context.length:0)&&(M=Math.floor(C/2),k=y.context.slice(0,M),E=y.context[M],$=y.context.slice(M)),E&&(T.code=E),(k||$)&&(T.context={},k&&k.length&&(T.context.pre=k),$&&$.length&&(T.context.post=$)),y.args&&(T.args=y.args),w.frames.push(T));w.frames.reverse(),g&&(w.extra=a.merge(g))}return w}function d(p,f,h){return p.name?p.name:h.guessErrorClass?f:"(unknown)"}n.exports={handleDomException:function(p,f,h){if(p.err&&s.Stack(p.err).name==="DOMException"){var m=new Error;m.name=p.err.name,m.message=p.err.message,m.stack=p.err.stack,m.nested=p.err,p.err=m}h(null,p)},handleItemWithError:function(p,f,h){if(p.data=p.data||{},p.err)try{p.stackInfo=p.err._savedStackTrace||s.parse(p.err,p.skipFrames),f.addErrorContext&&function(m){var g=[],v=m.err;for(g.push(v);v.nested;)v=v.nested,g.push(v);a.addErrorContext(m,g)}(p)}catch(m){o.error("Error while parsing the error object.",m);try{p.message=p.err.message||p.err.description||p.message||String(p.err)}catch(g){p.message=String(p.err)||String(g)}delete p.err}h(null,p)},ensureItemHasSomethingToSay:function(p,f,h){p.message||p.stackInfo||p.custom||h(new Error("No message, stack info, or custom data"),null),h(null,p)},addBaseInfo:function(p,f,h){var m=f.payload&&f.payload.environment||f.environment;p.data=a.merge(p.data,{environment:m,level:p.level,endpoint:f.endpoint,platform:"browser",framework:"browser-js",language:"javascript",server:{},uuid:p.uuid,notifier:{name:"rollbar-browser-js",version:f.version},custom:p.custom}),h(null,p)},addRequestInfo:function(p){return function(f,h,m){if(!p||!p.location)return m(null,f);var g="$remote_ip";h.captureIp?h.captureIp!==!0&&(g+="_anonymize"):g=null,a.set(f,"data.request",{url:p.location.href,query_string:p.location.search,user_ip:g}),m(null,f)}},addClientInfo:function(p){return function(f,h,m){if(!p)return m(null,f);var g=p.navigator||{},v=p.screen||{};a.set(f,"data.client",{runtime_ms:f.timestamp-p._rollbarStartTime,timestamp:Math.round(f.timestamp/1e3),javascript:{browser:g.userAgent,language:g.language,cookie_enabled:g.cookieEnabled,screen:{width:v.width,height:v.height}}}),m(null,f)}},addPluginInfo:function(p){return function(f,h,m){if(!p||!p.navigator)return m(null,f);for(var g,v=[],_=p.navigator.plugins||[],w=0,y=_.length;w<y;++w)g=_[w],v.push({name:g.name,description:g.description});a.set(f,"data.client.javascript.plugins",v),m(null,f)}},addBody:function(p,f,h){p.stackInfo?p.stackInfo.traceChain?function(m,g,v){for(var _=m.stackInfo.traceChain,w=[],y=_.length,T=0;T<y;T++){var E=u(m,_[T],g);w.push(E)}a.set(m,"data.body",{trace_chain:w}),v(null,m)}(p,f,h):function(m,g,v){if(c(m)){var _=u(m,m.stackInfo,g);a.set(m,"data.body",{trace:_}),v(null,m)}else{var w=m.stackInfo,y=s.guessErrorClass(w.message),T=d(w,y[0],g),E=y[1];m.message=T+": "+E,l(m,g,v)}}(p,f,h):l(p,f,h)},addScrubber:function(p){return function(f,h,m){if(p){var g=h.scrubFields||[],v=h.scrubPaths||[];f.data=p(f.data,g,v)}m(null,f)}}}},function(n,r,i){var a,s,o;(function(l,c){s=[i(23)],(o=typeof(a=function(u){var d=/(^|@)\S+:\d+/,p=/^\s*at .*(\S+:\d+|\(native\))/m,f=/^(eval@)?(\[native code])?$/;return{parse:function(h){if(h.stacktrace!==void 0||h["opera#sourceloc"]!==void 0)return this.parseOpera(h);if(h.stack&&h.stack.match(p))return this.parseV8OrIE(h);if(h.stack)return this.parseFFOrSafari(h);throw new Error("Cannot parse given Error object")},extractLocation:function(h){if(h.indexOf(":")===-1)return[h];var m=/(.+?)(?::(\d+))?(?::(\d+))?$/.exec(h.replace(/[()]/g,""));return[m[1],m[2]||void 0,m[3]||void 0]},parseV8OrIE:function(h){return h.stack.split(`
483
+ `))}add(n){return this.payload={...this.payload,...n},this}getPayload(){return this.payload}setErrorCodeFromResponse(){const{data:n,status:r}=this.getPayload().axios||{};if(!n&&!r)return;const{errorCode:i}=n||{};i&&this.add({code:i}),r&&(this.httpStatusCode=r)}setMessageFromResponse(){const{data:n}=this.getPayload().axios||{};if(!n)return!1;const{message:r}=n||{};return r?(this.message=r,!0):!1}}class Fre extends Pl{constructor(e){if(super(e),this.name="NotFoundError",this.message=typeof e=="string"||!e?e:e.message,typeof e=="string"||!e)return;const{response:n}=e;this.add({axios:n}),this.setErrorCodeFromResponse()}}class jre extends Pl{constructor(e){if(super(e),this.name="ForbiddenError",this.message=typeof e=="string"||!e?e:e.message,typeof e=="string"||!e)return;const{response:n}=e;this.add({axios:n}),this.setErrorCodeFromResponse(),this.setMessageFromResponse()}}class Ure extends Pl{constructor(e){if(super(e),this.name="ValidationError",this.message=typeof e=="string"||!e?e:e.message,typeof e=="string"||!e)return;const{response:n}=e;this.add({axios:n}),this.setErrorCodeFromResponse(),this.setMessageFromResponse()}}class Vre extends Pl{constructor(e){if(super(e),this.name="NetworkError",this.message=typeof e=="string"||!e?e:e.message,typeof e=="string"||!e)return;const{config:n}=e;this.add({axios:n}),this.code="ECONNREFUSED"}}class ha extends Pl{constructor(e){if(super(e),this.name="GeneralError",this.message=typeof e=="string"||!e?e:e.message,typeof e=="string"||!e)return;const{response:n}=e;this.add({axios:n}),this.setErrorCodeFromResponse(),this.setMessageFromResponse()}}const Bre=t=>{const e=Object.keys(t);let n="";return e.forEach(r=>{const i=typeof t[r]=="object",a=i&&t[r].length>=0;i||(n+=`${r}=${t[r]}&`),i&&a&&t[r].forEach(s=>{n+=`${r}=${s}&`})}),n&&n.slice(0,-1)},VO=t=>{_d.push(t)},BO=t=>{_d.map(e=>e(t))};let Hs=!1,_d=[];const Hre=(t,{renewToken:e})=>{t.interceptors.request.use(n=>{const r=n;if(r.url.includes("/auth")||r.url.startsWith("/public/"))return r;const i=r.headers["X-TOKEN"];if(!i)return r;const a=_e.getItem("tokenExpires");if(i&&a){const s=new Date,o=new Date(a);if(s>o)return Hs||(Hs=!0,e().then(c=>{Hs=!1,BO(c),_d=[]})),new Promise(c=>{VO(u=>{r.headers["X-TOKEN"]=u,c(r)})})}return r},n=>Promise.reject(n))},Wre=(t,{renewToken:e})=>{t.interceptors.response.use(n=>n,n=>{if(!n||!n.response)return Promise.reject(n);const{config:r,response:i}=n,{status:a,data:s}=i,{errorCode:o}=s,l=r;if(l.url.startsWith("/public/"))return Promise.reject(n);if(a===401&&o===8001)return Hs||(Hs=!0,e().then(u=>{Hs=!1,BO(u),_d=[]})),new Promise(u=>{VO(d=>{l.headers["X-TOKEN"]=d,u(Xm(l))})});if(a===401&&typeof o>"u"){if(l.url.includes("auth/companyUser")&&!l.headers["X-TOKEN"])return Promise.reject(n);if(l.url.includes("auth/actionlink")&&!l.headers["X-TOKEN"])return Promise.reject(n);console.error("User should be logged out!!"),_e.removeItem("token"),_e.removeItem("tokenExpires"),_e.removeItem("refreshToken"),Ir.trigger("user:unauthorized",{error:n})}return Promise.reject(n)})},HO=t=>(Tg(t.data),t),zre=t=>{t.interceptors.response.use(HO,e=>{const{response:n,config:r}=e;if(!n)throw new Vre(e);if(Object.prototype.hasOwnProperty.call(r,"errorHandle")&&r.errorHandle===!1)return Promise.reject(e);const{status:i}=n;switch(i){case 404:throw new Fre(e);case 401:throw new jre(e);case 412:throw new Ure(e);default:throw new ha(e)}})},Gre=t=>{t.interceptors.response.use(e=>{var n,r;if(((r=(n=e.config)==null?void 0:n.url)==null?void 0:r.includes("document"))&&e.config.method==="post"){const i=JSON.parse(e.config.data);i.__tempId&&(e.data.__tempId=i.__tempId)}return e},e=>Promise.reject(e))},qre=t=>{t.interceptors.request.use(e=>{if(["post","put"].includes(e.method)&&e.data&&!(e.data instanceof FormData)){const n=fa(e.data);wg(n),e.data=n}return e},e=>Promise.reject(e))},Yre=({baseUrl:t,withCredentials:e,cache:n})=>{const r=Xm.create({baseURL:t,timeout:2e4,adapter:n,withCredentials:e,paramsSerializer:d=>Bre(d)});r.defaults.headers["X-CLIENT"]="widget",r.defaults.headers["X-CLIENT-VERSION"]="0.7.4";const i=async(d,p,f=null,h={})=>{const m=p.startsWith("/public/"),g=_e.getItem("token");switch(g&&!m&&(r.defaults.headers["X-TOKEN"]=g),d){case"get":return r.get(p,h);case"post":return r.post(p,f,h);case"put":return r.put(p,f,h);case"delete":return r.delete(p,h);case"patch":return r.patch(p,f,h);default:throw new Error(`SendRequest failed as method: '${d}' is not implemented`)}},a=(d,p={})=>i("get",d,null,p),s=(d,p={},f={})=>i("put",d,p,f),o=(d,p,f={})=>i("post",d,p,f),l=(d,p={})=>i("delete",d,null,p),c=(d,p={})=>i("patch",d,null,p),u=async()=>{const d=_e.getItem("refreshToken"),p=await o("/auth/companyUser",{refreshToken:d});if(!p.data||!p.data.token)throw new Error("No token was defined in result");const{token:f,tokenExpires:h,companyUser:m,company:g}=p.data;return _e.setItem("token",f),_e.setItem("tokenExpires",h),f};return Hre(r,{renewToken:u}),Wre(r,{renewToken:u}),HO(r),zre(r),qre(r),Gre(r),{instance:r,get:a,put:s,post:o,del:l,patch:c,renewToken:u}},Cv=new Map;function Kre(t){if(typeof t>"u")throw new Error("Missing valid parameter url");if(typeof t!="string")throw new Error("Parameter url must be a string");const{data:e,cachedAt:n,expiresAt:r}=Cv.get(t)||{};return Date.now()>n+6e4*30||r&&Date.now()>r?(Cv.delete(t),null):e}const Jre=async t=>{const{url:e,params:n={}}=t,r=Object.keys(n).map(s=>`${s}=${n[s]}`).join("&"),i=`${e}${r?`?${r}`:""}`;return Kre(i),await Bm(t)},Ov={withCredentials:!0,baseUrl:ie.api.baseUrl},{get:Me,post:Ue,put:un,patch:mi,del:lr,instance:w4e,renewToken:Zre}=Yre({withCredentials:Ov.withCredentials,baseUrl:Ov.baseUrl,cache:Jre});async function WO(t){const e=oY(t);return Me(`/project${e}`,{saveCache:!0})}const Xre=async(t,e={})=>Me("/project",t,{params:e}),Qre=async(t,e={})=>Me(`/project/${t}`,{params:e,saveCache:!0}),eie=async(t,e,n={})=>un(`/project/${t}`,e,{params:n,invalidateCache:{type:"project",id:t}}),tie=async t=>mi(`/project/${t}`),nie=async(t,e={})=>lr(`/project/${t}`,{params:e,invalidateCache:{type:"project",id:t}}),rie=async()=>Me("/project/createDemo"),iie=async(t,e={})=>Ue("/auth/actionlink",{token:t,...e}),aie=async t=>Ue("/register",t),sie=async(t,e)=>Ue("/companyUser/forgottenPassword/new",{password:t,resetPasswordToken:e}),oie=async t=>Ue("/public/consent",t),lie=async t=>Me(`/projectFile/${t}`),cie=async t=>Ue("/projectFile",t),uie=async(t,e)=>un(`/projectFile/${t}`,e),die=async t=>lr(`/projectFile/${t}`),pie=async t=>mi(`/projectFile/${t}`),fie=async(t,e={})=>Me(`/projectNote/${t}`,{params:e}),hie=async(t,e={})=>Ue("/projectNote",t,{params:e}),mie=async(t,e,n={})=>un(`/projectNote/${t}`,e,{params:n}),gie=async t=>Me(`/file/${t}`),zO=async t=>Ue("/file",t),vie=async(t,e)=>un(`/file/${t}`,e),yie=async t=>lr(`/file/${t}`),_ie=async t=>mi(`/file/${t}`),bie=async(t={})=>Me("/endCustomer",{params:t}),Eie=async(t,e={})=>Me(`/endCustomer/${t}`,{params:e}),Tie=async(t,e={})=>Ue("/endCustomer",t,{params:e}),wie=async(t,e,n={})=>un(`/endCustomer/${t}`,e,{params:n}),Sie=async(t,e={})=>lr(`/endCustomer/${t}`,{params:e}),kie=async(t,e={})=>mi(`/endCustomer/${t}`,{params:e}),Cie=async t=>Ue("/search",{type:"endCustomer",query:t}),Oie=async(t={})=>Me("/companyUser",{params:t,saveCache:!0}),Aie=async(t,e={})=>Me(`/companyUser/${t}`,{params:e,saveCache:!0}),$ie=async(t,e={})=>Ue("/companyUser",t,{params:e}),xie=async(t,e,n={})=>un(`/companyUser/${t}`,e,{params:n,invalidateCache:{type:"companyUser",id:t}}),Iie=async(t,e={})=>lr(`/companyUser/${t}`,{params:e,invalidateCache:{type:"companyUser",id:t}}),Pie=async(t,e={})=>mi(`/companyUser/${t}`,{params:e}),GO={getPublic:async(t,e={})=>Me(`/public/companyUser/${t}`,{params:e}),getConnectedUsers:async(t={})=>Me("/companyUser/self/connectedUsers",{params:t}),getConnectedUserAuth:async(t,e={})=>Me(`/companyUser/self/connectedUsers/${t}/auth`,{params:e}),setConnectedUserDefault:async(t,e={})=>un(`/companyUser/self/connectedUsers/${t}/setDefaultAuth`,{params:e}),verifyEmail:async(t,e={})=>Ue("/public/verifyEmail/companyUser",t,{params:e})},Die=async(t,e=null,n={})=>un(`/companyAccount/accountType/${t}`,e,{params:n}),Rie=async(t,e)=>Ue(`/project/${t}/projectMember/${e}`,null,{invalidateCache:{type:"project",id:t}}),Mie=async(t,e)=>lr(`/project/${t}/projectMember/${e}`,{invalidateCache:{type:"project",id:t}}),Nie=async(t={})=>Me("/companyInvoiceSetting",{params:t}),Lie=async(t,e={})=>un("/companyInvoiceSetting",t,{params:e}),Fie={get:async(t={})=>Me("/companyKYC",{params:t}),post:async(t,e={})=>Ue("/companyKYC",t,{params:e}),sign:async(t,e={})=>Ue("/companyKYC/sign",t,{params:e})},dn={get:async(t,e={})=>Me(`/document/${t}`,{params:e,saveCache:!0}),getAll:async(t={})=>Me("/document",{params:t,saveCache:!0}),post:async(t,e={})=>Ue("/document",t,{params:e}),send:async(t,e={},n={})=>Ue(`/document/${t}/send`,e,{params:n,invalidateCache:{type:"document",id:t}}),clearAnswers:async(t,e={},n={})=>Ue(`/document/${t}/clearAnswers`,e,{params:n,invalidateCache:{type:"document",id:t}}),put:async(t,e,n={})=>un(`/document/${t}`,e,{params:n,invalidateCache:{type:"document",id:t}}),delete:async(t,e={})=>lr(`/document/${t}`,{params:e,invalidateCache:{type:"document",id:t}}),patch:async(t,e={})=>mi(`/document/${t}`,{params:e}),validate:async(t,e={})=>Ue("/documentValidate",t,{params:e})},ma={get:async(t,e={})=>Me(t?`/template/${t}`:"/template",{params:e}),post:async(t,e={})=>Ue("/template",t,{params:e}),put:async(t,e,n={})=>un(`/template/${t}`,e,{params:n}),delete:async(t,e={})=>lr(`/template/${t}`,{params:e}),patch:async(t,e={})=>mi(`/template/${t}`,{params:e})},qO={get:async(t,e={})=>Me(`/public/document/${t}`,{params:e}),put:async(t,e,n={})=>un(`/public/document/${t}`,e,{headers:n}),answer:async(t,e,n={},r={})=>Ue(`/public/document/${t}/answer`,e,{params:n,headers:r}),feedback:async(t,e,n={})=>Ue(`/public/document/${t}/feedback`,e,{params:n})},Av={getAuthUrl:async(t,e={})=>Me("/extension/authUrl",{params:{...e,service:t}}),getPublicAuthUrl:async(t,e={})=>Me("/public/extension/authUrl",{params:{...e,service:t}}),install:async(t,e,n={})=>Ue("/extension/install",e,{params:{...n,service:t}}),uninstall:async(t,e={})=>lr("/extension/uninstall",{params:{...e,service:t}}),suggestClients:async(t,e={})=>Me("/extension/suggestClients",{params:{...e,service:t},saveCache:!0,cacheTtl:20}),signupWithCrm:async(t,e,n={})=>Ue("/public/extension/register",e,{params:{...n,service:t}}),search:async(t,e={})=>Me("/extension/search",{params:{...e,service:t},saveCache:!0,cacheTtl:10}),getFields:async(t,e={})=>Me("/extension/fields",{params:{...e,service:t},saveCache:!0,cacheTtl:60}),getExternalReferenceDetails:async(t,e={})=>Me("/extension/externalReferenceDetails",{params:{...e,service:t},saveCache:!0,cacheTtl:20}),settings:async(t,e={})=>Me("/extension/settings",{params:{...e,service:t}})},Ut={get:Me,post:Ue,put:un,del:lr,patch:mi,authData:Ov,getProjects:WO},ga="SET_AS_NORMALIZED_DATA",YO=Object.freeze(Object.defineProperty({__proto__:null,SET_AS_NORMALIZED_DATA:ga},Symbol.toStringTag,{value:"Module"})),KO={DO_LOAD_CURRENT_COMPANY:"DO_LOAD_CURRENT_COMPANY",DO_UPDATE_CURRENT_COMPANY:"DO_UPDATE_CURRENT_COMPANY",DO_NORMALIZE_COMPANIES:"DO_NORMALIZE_COMPANIES",FORM_EDIT_COMPANY:"FORM_EDIT_COMPANY",FORM_SUBMIT_COMPANY:"FORM_SUBMIT_COMPANY",FORM_NEW_COMPANY_BRANDING:"FORM_NEW_COMPANY_BRANDING",FORM_EDIT_COMPANY_BRANDING:"FORM_EDIT_COMPANY_BRANDING",FORM_SUBMIT_COMPANY_BRANDING:"FORM_SUBMIT_COMPANY_BRANDING",UPDATE_COMPANY_ACCOUNT_TYPE:"UPDATE_COMPANY_ACCOUNT_TYPE"},$v={SET_COMPANIES:"SET_COMPANIES",CLEAR_COMPANIES:"CLEAR_COMPANIES",SET_COMPANIES_FETCHING:"SET_COMPANIES_FETCHING",SET_COMPANIES_POSTING:"SET_COMPANIES_POSTING"},JO={LOAD_COMPANY_USERS:"LOAD_COMPANY_USERS",LOAD_COMPANY_USER:"LOAD_COMPANY_USER",DO_NORMALIZE_COMPANY_USERS:"DO_NORMALIZE_COMPANY_USERS",UPDATE_COMPANY_USER:"UPDATE_COMPANY_USER",CREATE_COMPANY_USER:"CREATE_COMPANY_USER",DELETE_COMPANY_USER:"DELETE_COMPANY_USER",PATCH_COMPANY_USER:"PATCH_COMPANY_USER",FORM_NEW_COMPANY_USER:"FORM_NEW_COMPANY_USER",FORM_EDIT_COMPANY_USER:"FORM_EDIT_COMPANY_USER",FORM_SUBMIT_COMPANY_USER:"FORM_SUBMIT_COMPANY_USER"},xv={SET_COMPANY_USERS:"SET_COMPANY_USERS",DELETE_COMPANY_USER:"DELETE_COMPANY_USER",SET_COMPANY_USERS_FETCHING:"SET_COMPANY_USERS_FETCHING",SET_COMPANY_USERS_POSTING:"SET_COMPANY_USERS_POSTING"},ZO={LOAD_PROJECT_FILE:"LOAD_PROJECT_FILE",CREATE_PROJECT_FILE:"CREATE_PROJECT_FILE",UPDATE_PROJECT_FILE:"UPDATE_PROJECT_FILE",DELETE_PROJECT_FILE:"DELETE_PROJECT_FILE",PATCH_PROJECT_FILE:"PATCH_PROJECT_FILE"},bd={SET_PROJECT_FILES:"SET_PROJECT_FILES",DELETE_PROJECT_FILE:"DELETE_PROJECT_FILE"},cr={...ZO,LOAD_PROJECTS:"LOAD_PROJECTS",LOAD_PROJECT:"LOAD_PROJECT",LOAD_PUBLIC_PROJECT:"LOAD_PUBLIC_PROJECT",CREATE_PROJECT:"CREATE_PROJECT",CREATE_DEMOPROJECT:"CREATE_DEMOPROJECT",UPDATE_PROJECT:"UPDATE_PROJECT",DELETE_PROJECT:"DELETE_PROJECT",PATCH_PROJECT:"PATCH_PROJECT",FORM_EDIT_PROJECT:"FORM_EDIT_PROJECT",DO_SUBMIT_PROJECT:"DO_SUBMIT_PROJECT",SUBMIT_PROJECT:"SUBMIT_PROJECT",DO_LOAD_PROJECT:"DO_LOAD_PROJECT",DO_LOAD_PROJECTS:"DO_LOAD_PROJECTS",DO_LOAD_PROJECTS_COUNT:"DO_LOAD_PROJECTS_COUNT",LOAD_PROJECTS_FOR_CLIENT:"LOAD_PROJECTS_FOR_CLIENT",LOAD_PROJECTS_FOR_USER:"LOAD_PROJECTS_FOR_USER",FORM_SUBMIT_PROJECT:"FORM_SUBMIT_PROJECT",DO_CREATE_PROJECT_NOTE:"DO_CREATE_PROJECT_NOTE",FORM_EDIT_PROJECT_NOTE:"FORM_EDIT_PROJECT_NOTE",FORM_NEW_PROJECT_NOTE:"FORM_NEW_PROJECT_NOTE",FORM_SUBMIT_PROJECT_NOTE:"FORM_SUBMIT_PROJECT_NOTE",LOAD_PROJECT_NOTE:"LOAD_PROJECT_NOTE",DO_UPDATE_PROJECT_NOTE:"DO_UPDATE_PROJECT_NOTE",LOAD_EVENTS_FOR_PROJECT:"LOAD_EVENTS_FOR_PROJECT",DELETE_PROJECT_MEMBER:"SUBMIT_PROJECT_MEMBER",SUBMIT_PROJECT_MEMBER:"DELETE_PROJECT_MEMBER",SET_PROJECT_FILTER:"SET_PROJECT_FILTER",SET_PROJECT_SORT:"SET_PROJECT_SORT",SET_QUICKVIEW_PROJECT:"SET_QUICKVIEW_PROJECT",SET_PROJECT_LEADER:"SET_PROJECT_LEADER",CLEAR_PROJECTS:"CLEAR_PROJECTS"},pn={...bd,SET_PROJECTS:"SET_PROJECTS",SET_PROJECTS_FETCHING:"SET_PROJECTS_FETCHING",SET_PROJECTS_POSTING:"SET_PROJECTS_POSTING",SET_PROJECTS_CAN_FETCH_MORE:"SET_PROJECTS_CAN_FETCH_MORE",SET_PROJECTS_COUNT:"SET_PROJECTS_COUNT",CLEAR_PROJECT_DATA:"CLEAR_PROJECT_DATA",SET_PROJECT_NOTES:"SET_PROJECT_NOTES",SET_PROJECT_NOTES_FETCHING:"SET_PROJECT_NOTES_FETCHING",SET_PROJECT_NOTES_POSTING:"SET_PROJECT_NOTES_POSTING",SET_EVENTS:"SET_EVENTS",DELETE_MANY_PROJECTS:"DELETE_MANY_PROJECTS",ADD_PROJECT_MEMBER:"ADD_PROJECT_MEMBER",DELETE_PROJECT_MEMBER:"DELETE_PROJECT_MEMBER"},XO={LOAD_INVOICE_FORM:"LOAD_INVOICE_FORM",LOAD_DOCUMENT2_INVOICE_FORM:"LOAD_DOCUMENT2_INVOICE_FORM",LOAD_CREDIT_INVOICE_FORM:"LOAD_CREDIT_INVOICE_FORM",SUBMIT_INVOICE_FORM:"SUBMIT_INVOICE_FORM",LOAD_CAMPAIGN_INVOICE_FORM:"LOAD_CAMPAIGN_INVOICE_FORM",SET_KYC_FORM:"SET_KYC_FORM",DO_SAVE_KYC_FORM:"DO_SAVE_KYC_FORM"},jie={},Uie={SET_FORM_ARTICLE:"SET_FORM_ARTICLE",REMOVE_FORM_ARTICLE:"REMOVE_FORM_ARTICLE"},QO={LOAD_DOCUMENT2_FORM:"LOAD_DOCUMENT2_FORM",LOAD_DOCUMENT2_PUBLIC_FORM:"LOAD_DOCUMENT2_PUBLIC_FORM",LOAD_DUPLICATE_DOCUMENT2_FORM:"LOAD_DUPLICATE_DOCUMENT2_FORM",SAVE_DYNDOC_FORM:"SAVE_DYNDOC_FORM",CLEAR_DYNDOC_FORM:"CLEAR_DYNDOC_FORM",DO_SAVE_DYNDOC:"DO_SAVE_DYNDOC",HANDLE_DOCUMENT2_EDIT:"HANDLE_DOCUMENT2_EDIT",SAVE_TEMPLATE_FORM:"SAVE_TEMPLATE_FORM",LOAD_EXTERNAL_FORM_FIELDS:"LOAD_EXTERNAL_FORM_FIELDS"},Vie={},ur={...XO,...Uie,...QO,LOAD_DOCUMENT_FORM:"LOAD_DOCUMENT_FORM",LOAD_UPGRADE_DOCUMENT_FORM:"LOAD_UPGRADE_DOCUMENT_FORM",LOAD_ATA_DOCUMENT_FORM:"LOAD_ATA_DOCUMENT_FORM",LOAD_DUPLICATE_DOCUMENT_FORM:"LOAD_DUPLICATE_DOCUMENT_FORM",LOAD_DEMO_DOCUMENT_FORM:"LOAD_DEMO_DOCUMENT_FORM",SAVE_DOCUMENT_FORM:"SAVE_DOCUMENT_FORM",SAVE_DOCUMENT_FORM_AND_SEND:"SAVE_DOCUMENT_FORM_AND_SEND",DO_SAVE_DOCUMENT:"DO_SAVE_DOCUMENT",SUBMIT_DOCUMENT_AND_SEND:"SUBMIT_DOCUMENT_AND_SEND",FORM_DOCUMENT_SET_CLIENT:"FORM_DOCUMENT_SET_CLIENT",FORM_DOCUMENT_SUBMIT_CLIENT:"FORM_DOCUMENT_SUBMIT_CLIENT",FORM_RESET_OLD:"FORM_RESET_OLD",FORM_CLEAR_FORM:"FORM_CLEAR_FORM",SET_FORM:"SET_FORM",SET_FORM_VALUE:"SET_FORM_VALUE",REMOVE_FORM_VALUE:"REMOVE_FORM_VALUE",REMOVE_FORM_KEY_VALUE:"REMOVE_FORM_KEY_VALUE"},dr={...jie,...Vie,SET_FORM:"SET_FORM",CLEAR_FORM:"CLEAR_FORM",SET_FORM_VALUE:"SET_FORM_VALUE",REMOVE_FORM_VALUE:"REMOVE_FORM_VALUE",REMOVE_FORM_KEY_VALUE:"REMOVE_FORM_KEY_VALUE"},eA={DELETE_DOCUMENT2:"DELETE_DOCUMENT2",DO_CREATE_DOCUMENT2:"DO_CREATE_DOCUMENT2",DO_LOAD_DOCUMENT2:"DO_LOAD_DOCUMENT2",DO_LOAD_DOCUMENTS2:"DO_LOAD_DOCUMENTS2",DO_UPDATE_DOCUMENT2:"DO_UPDATE_DOCUMENT2",LOAD_DOCUMENT2:"LOAD_DOCUMENT2",LOAD_DOCUMENTS2:"LOAD_DOCUMENTS2",LOAD_DOCUMENTS2_EXTERNAL:"LOAD_DOCUMENTS2_EXTERNAL",PATCH_DOCUMENT2:"PATCH_DOCUMENT2",UPDATE_DOCUMENT2:"UPDATE_DOCUMENT2",UPDATE_DOCUMENT2_STATUS:"UPDATE_DOCUMENT2_STATUS",DO_SEND_DOCUMENT2:"DO_SEND_DOCUMENT2",SEND_REMINDER_DOCUMENT2:"SEND_REMINDER_DOCUMENT2",REQUEST_PROPERTY_DOCUMENT2:"REQUEST_PROPERTY_DOCUMENT2",CLEAR_DOCUMENT2_ANSWERS:"CLEAR_DOCUMENT2_ANSWERS",ANSWER_OWN_DOCUMENT2:"ANSWER_OWN_DOCUMENT2"},Iv={DELETE_MANY_DOCUMENTS2:"DELETE_MANY_DOCUMENTS2",SET_DOCUMENTS2:"SET_DOCUMENTS2",SET_DOCUMENT2_FETCHING:"SET_DOCUMENT2_FETCHING",SET_DOCUMENT2_POSTING:"SET_DOCUMENT2_POSTING"},Ed={LOAD_FILE:"LOAD_FILE",CREATE_FILE:"CREATE_FILE",UPDATE_FILE:"UPDATE_FILE",DELETE_FILE:"DELETE_FILE",PATCH_FILE:"PATCH_FILE",FORM_NEW_FILE:"FORM_NEW_FILE",FORM_EDIT_FILE:"FORM_EDIT_FILE",FORM_SUBMIT_FILE:"FORM_SUBMIT_FILE"},Pv={UPDATE_MANY_FILES:"UPDATE_MANY_FILES",DELETE_ONE_FILE:"DELETE_ONE_FILE",CLEAR_FILES:"CLEAR_FILES",SET_FILES_FETCHING:"SET_FILES_FETCHING",SET_FILES_POSTING:"SET_FILES_POSTING"},tA={DO_LOAD_INVOICE_SETTINGS:"DO_LOAD_INVOICE_SETTINGS",LOAD_INVOICE_SETTINGS:"LOAD_INVOICE_SETTINGS",DO_UPDATE_INVOICE_SETTINGS:"DO_UPDATE_INVOICE_SETTINGS",UPDATE_INVOICE_SETTINGS:"UPDATE_INVOICE_SETTINGS",FORM_EDIT_INVOICE_SETTINGS:"FORM_EDIT_INVOICE_SETTINGS",FORM_SUBMIT_INVOICE_SETTINGS:"FORM_SUBMIT_INVOICE_SETTINGS"},Dv={SET_INVOICE_SETTINGS_FETCHING:"SET_INVOICE_SETTINGS_FETCHING",SET_INVOICE_SETTINGS_POSTING:"SET_INVOICE_SETTINGS_POSTING"},nA={...tA,DO_LOAD_ALL_SETTINGS:"DO_LOAD_ALL_SETTINGS",LOAD_ALL_SETTINGS:"LOAD_ALL_SETTINGS",DO_LOAD_SETTINGS_COMPANY:"DO_LOAD_SETTINGS_COMPANY",DO_LOAD_SETTINGS_COMPANYUSER:"DO_LOAD_SETTINGS_COMPANYUSER",LOAD_SETTINGS_COMPANY:"LOAD_SETTINGS_COMPANY",LOAD_SETTINGS_COMPANYUSER:"LOAD_SETTINGS_COMPANYUSER",UPDATE_SETTINGS:"UPDATE_SETTINGS",DO_UPDATE_SETTINGS:"DO_UPDATE_SETTINGS",FORM_EDIT_COMPANY_SETTINGS:"FORM_EDIT_COMPANY_SETTINGS",FORM_SUBMIT_COMPANY_SETTINGS:"FORM_SUBMIT_COMPANY_SETTINGS",FORM_EDIT_COMPANY_USER_SETTINGS:"FORM_EDIT_COMPANY_USER_SETTINGS",FORM_SUBMIT_COMPANY_USER_SETTINGS:"FORM_SUBMIT_COMPANY_USER_SETTINGS"},rA={...Dv,SET_SETTINGS:"SET_SETTINGS",CLEAR_SETTINGS:"CLEAR_SETTINGS",SET_SETTINGS_FETCHING:"SET_SETTINGS_FETCHING",SET_SETTINGS_POSTING:"SET_SETTINGS_POSTING"},Bie={LOAD_ARTICLES:"LOAD_ARTICLES",LOAD_ARTICLE:"LOAD_ARTICLE",SET_ARTICLES:"SET_ARTICLES",UPDATE_ARTICLE:"UPDATE_ARTICLE",DO_CREATE_ARTICLE:"DO_CREATE_ARTICLE",DELETE_ARTICLE:"DELETE_ARTICLE",PATCH_ARTICLE:"PATCH_ARTICLE",SEARCH_ARTICLE:"SEARCH_ARTICLE",FORM_NEW_ARTICLE:"FORM_NEW_ARTICLE",FORM_EDIT_ARTICLE:"FORM_EDIT_ARTICLE",FORM_SUBMIT_ARTICLE:"FORM_SUBMIT_ARTICLE"},iA={LOAD_ENDCUSTOMERS:"LOAD_ENDCUSTOMERS",LOAD_ENDCUSTOMER:"LOAD_ENDCUSTOMER",UPDATE_ENDCUSTOMER:"UPDATE_ENDCUSTOMER",CREATE_ENDCUSTOMER:"CREATE_ENDCUSTOMER",DELETE_ENDCUSTOMER:"DELETE_ENDCUSTOMER",PATCH_ENDCUSTOMER:"PATCH_ENDCUSTOMER",FORM_NEW_ENDCUSTOMER:"FORM_NEW_ENDCUSTOMER",FORM_EDIT_ENDCUSTOMER:"FORM_EDIT_ENDCUSTOMER",FORM_SUBMIT_ENDCUSTOMER:"FORM_SUBMIT_ENDCUSTOMER"},Ws={CLEAR_END_CUSTOMER:"CLEAR_END_CUSTOMER",SET_ENDCUSTOMERS:"SET_ENDCUSTOMERS",DELETE_ENDCUSTOMER:"DELETE_ENDCUSTOMER",SET_ENDCUSTOMER_FETCHING:"SET_ENDCUSTOMER_FETCHING",SET_ENDCUSTOMER_POSTING:"SET_ENDCUSTOMER_POSTING"},Hie={LOAD_CERTIFICATES:"LOAD_CERTIFICATES",DO_SET_COMPANY_CERTIFICATES:"DO_SET_COMPANY_CERTIFICATES",SUBMIT_CERTIFICATES:"SUBMIT_CERTIFICATES"},Wie={SET_CERTIFICATES:"SET_CERTIFICATES",CLEAR_CERTIFICATES:"CLEAR_CERTIFICATES",SET_CERTIFICATES_FETCHING:"SET_CERTIFICATES_FETCHING",SET_CERTIFICATES_POSTING:"SET_CERTIFICATES_POSTING"},zie={LOAD_COMPANY_REFERENCES:"LOAD_COMPANY_REFERENCES",LOAD_COMPANY_REFERENCE:"LOAD_COMPANY_REFERENCE",CREATE_COMPANY_REFERENCE:"CREATE_COMPANY_REFERENCE",UPDATE_COMPANY_REFERENCE:"UPDATE_COMPANY_REFERENCE",DELETE_COMPANY_REFERENCE:"DELETE_COMPANY_REFERENCE",PATCH_COMPANY_REFERENCE:"PATCH_COMPANY_REFERENCE",FORM_NEW_COMPANY_REFERENCE:"FORM_NEW_COMPANY_REFERENCE",FORM_EDIT_COMPANY_REFERENCE:"FORM_EDIT_COMPANY_REFERENCE",FORM_SUBMIT_COMPANY_REFERENCE:"FORM_SUBMIT_COMPANY_REFERENCE"},Gie={SET_COMPANY_REFERENCES:"SET_COMPANY_REFERENCES",DELETE_COMPANY_REFERENCE:"DELETE_COMPANY_REFERENCE",CLEAR_COMPANY_REFERENCES:"CLEAR_COMPANY_REFERENCES",SET_COMPANY_REFERENCE_FETCHING:"SET_COMPANY_REFERENCE_FETCHING",SET_COMPANY_REFERENCE_POSTING:"SET_COMPANY_REFERENCE_POSTING"},qie={LOAD_COMPANY_REFERENCE_ITEMS:"LOAD_COMPANY_REFERENCE_ITEMS",LOAD_COMPANY_REFERENCE_ITEM:"LOAD_COMPANY_REFERENCE_ITEM",SET_COMPANY_REFERENCE_ITEMS:"SET_COMPANY_REFERENCE_ITEMS",CREATE_COMPANY_REFERENCE_ITEM:"CREATE_COMPANY_REFERENCE_ITEM",UPDATE_COMPANY_REFERENCE_ITEM:"UPDATE_COMPANY_REFERENCE_ITEM",DELETE_COMPANY_REFERENCE_ITEM:"DELETE_COMPANY_REFERENCE_ITEM",FORM_NEW_COMPANY_REFERENCE_ITEM:"FORM_NEW_COMPANY_REFERENCE_ITEM",FORM_SUBMIT_COMPANY_REFERENCE_ITEMS:"FORM_SUBMIT_COMPANY_REFERENCE_ITEMS"},Yie={SET_COMPANY_REFERENCE_ITEMS:"SET_COMPANY_REFERENCE_ITEMS",DELETE_COMPANY_REFERENCE_ITEM:"DELETE_COMPANY_REFERENCE_ITEM",CLEAR_COMPANY_REFERENCE_ITEMS:"CLEAR_COMPANY_REFERENCE_ITEMS"},Kie={LOAD_TEMPLATE_MESSAGES:"LOAD_TEMPLATE_MESSAGES",LOAD_TEMPLATE_MESSAGE:"LOAD_TEMPLATE_MESSAGE",CREATE_TEMPLATE_MESSAGE:"CREATE_TEMPLATE_MESSAGE",UPDATE_TEMPLATE_MESSAGE:"UPDATE_TEMPLATE_MESSAGE",DELETE_TEMPLATE_MESSAGE:"DELETE_TEMPLATE_MESSAGE",PATCH_TEMPLATE_MESSAGE:"PATCH_TEMPLATE_MESSAGE",FORM_NEW_TEMPLATE_MESSAGE:"FORM_NEW_TEMPLATE_MESSAGE",FORM_EDIT_TEMPLATE_MESSAGE:"FORM_EDIT_TEMPLATE_MESSAGE",FORM_SUBMIT_TEMPLATE_MESSAGE:"FORM_SUBMIT_TEMPLATE_MESSAGE"},Jie={LOAD_NOTIFICATIONS:"LOAD_NOTIFICATIONS",LOAD_UNREAD_NOTIFICATIONS:"LOAD_UNREAD_NOTIFICATIONS",LOAD_NOTIFICATION:"LOAD_NOTIFICATION",SET_READ_FOR_PROJECT:"SET_READ_FOR_PROJECT",SET_READ_FOR_INVOICE:"SET_READ_FOR_INVOICE",SET_NOTIFICATION_READ:"SET_NOTIFICATION_READ",SET_ALL_NOTIFICATION_READ:"SET_ALL_NOTIFICATION_READ",DO_CREATE_NOTIFICATION:"DO_CREATE_NOTIFICATION"},Zie={SET_NOTIFICATIONS:"SET_NOTIFICATIONS",CLEAR_NOTIFICATIONS:"CLEAR_NOTIFICATIONS",DELETE_MANY_NOTIFICATIONS:"DELETE_MANY_NOTIFICATIONS",SET_NOTIFICATIONS_FETCHED_AT:"SET_NOTIFICATIONS_FETCHED_AT",SET_NOTIFICATIONS_FETCHING:"SET_NOTIFICATIONS_FETCHING",SET_NOTIFICATIONS_POSTING:"SET_NOTIFICATIONS_POSTING"},Xie={LOAD_BOOKKEEPING_EXPORTS:"LOAD_BOOKKEEPING_EXPORTS",CREATE_BOOKKEEPING_EXPORT:"CREATE_BOOKKEEPING_EXPORT",CREATE_ROT_RUT_XML:"CREATE_ROT_RUT_XML"},Qie={},eae={LOAD_INVOICE_NOTE:"LOAD_INVOICE_NOTE",DO_CREATE_INVOICE_NOTE:"DO_CREATE_INVOICE_NOTE",DO_UPDATE_INVOICE_NOTE:"DO_UPDATE_INVOICE_NOTE",FORM_NEW_INVOICE_NOTE:"FORM_NEW_INVOICE_NOTE",FORM_EDIT_INVOICE_NOTE:"FORM_EDIT_INVOICE_NOTE",FORM_SUBMIT_INVOICE_NOTE:"FORM_SUBMIT_INVOICE_NOTE"},tae={SET_INVOICE_NOTES:"SET_INVOICE_NOTES",SET_INVOICE_NOTES_FETCHING:"SET_INVOICE_NOTES_FETCHING",SET_INVOICE_NOTES_POSTING:"SET_INVOICE_NOTES_POSTING"},nae={...Xie,...eae,DO_LOAD_INVOICE:"DO_LOAD_INVOICE",DELETE_INVOICE:"DELETE_INVOICE",DO_CREATE_INVOICE:"DO_CREATE_INVOICE",DO_LOAD_INVOICES:"DO_LOAD_INVOICES",LOAD_INVOICE:"LOAD_INVOICE",LOAD_INVOICES:"LOAD_INVOICES",UPDATE_INVOICE:"UPDATE_INVOICE",DO_UPDATE_INVOICE:"DO_UPDATE_INVOICE",ATTEST_INVOICE:"ATTEST_INVOICE",DO_ATTEST_INVOICE:"DO_ATTEST_INVOICE",START_INVOICE_DISPUTE:"START_INVOICE_DISPUTE",CANCEL_INVOICE_DISPUTE:"CANCEL_INVOICE_DISPUTE",REGISTER_INVOICE_PAYMENT:"REGISTER_INVOICE_PAYMENT",REGISTER_INVOICE_WRITEOFF:"REGISTER_INVOICE_WRITEOFF",SEND_INVOICE:"SEND_INVOICE",SEND_INVOICE_REMINDER:"SEND_INVOICE_REMINDER",UPDATE_INVOICE_ADDRESS:"UPDATE_INVOICE_ADDRESS",REGISTER_INVOICING:"REGISTER_INVOICING",LOAD_UNMATCHED_PAYMENTS:"LOAD_UNMATCHED_PAYMENTS",MATCH_PAYMENT:"MATCH_PAYMENT",DELETE_UNMATCHED_PAYMENT:"DELETE_UNMATCHED_PAYMENT",DO_SELL_INVOICE:"DO_SELL_INVOICE",SELL_INVOICE:"SELL_INVOICE",CANCEL_SELL_INVOICE:"CANCEL_SELL_INVOICE",GET_KYC_STATUS:"GET_KYC_STATUS",SIGN_KYC:"SIGN_KYC",CREATE_INVOICE_INTEREST:"CREATE_INVOICE_INTEREST",SET_INVOICE_REGION_SWEDEN_EXPORTED_HOUSEWORK:"SET_INVOICE_REGION_SWEDEN_EXPORTED_HOUSEWORK",SET_INVOICE_REGION_SWEDEN_PROCESSED_HOUSEWORK:"SET_INVOICE_REGION_SWEDEN_PROCESSED_HOUSEWORK",SET_INVOICE_FILTER:"SET_INVOICE_FILTER",SET_INVOICE_SORT:"SET_INVOICE_SORT"},rae={...Qie,...tae,DELETE_MANY_INVOICES:"DELETE_MANY_INVOICES",SET_INVOICES:"SET_INVOICES",SET_INVOICES_STATUS_COUNT:"SET_INVOICES_STATUS_COUNT",SET_INVOICES_FETCHING:"SET_INVOICES_FETCHING",SET_INVOICES_POSTING:"SET_INVOICES_POSTING",SET_INVOICE_FILTER:"SET_INVOICE_FILTER",SET_INVOICE_SORT:"SET_INVOICE_SORT"},iae={LOAD_TIME_TRACKS:"LOAD_TIME_TRACKS",LOAD_TIME_TRACK:"LOAD_TIME_TRACK",CREATE_TIME_TRACK:"CREATE_TIME_TRACK",UPDATE_TIME_TRACK:"UPDATE_TIME_TRACK",DELETE_TIME_TRACK:"DELETE_TIME_TRACK",PATCH_TIME_TRACK:"PATCH_TIME_TRACK",ATTEST_TIME_TRACK:"ATTEST_TIME_TRACK",TIME_TRACK_START_TIMER:"TIME_TRACK_START_TIMER",TIME_TRACK_STOP_TIMER:"TIME_TRACK_STOP_TIMER",TIME_TRACK_GET_TIMER:"TIME_TRACK_GET_TIMER",TIME_TRACK_CLEAR_TIMER:"TIME_TRACK_CLEAR_TIMER",FORM_NEW_TIME_TRACK:"FORM_NEW_TIME_TRACK",FORM_EDIT_TIME_TRACK:"FORM_EDIT_TIME_TRACK",FORM_SUBMIT_TIME_TRACK:"FORM_SUBMIT_TIME_TRACK"},aae={SET_TIME_TRACKS:"SET_TIME_TRACKS",DELETE_TIME_TRACK:"DELETE_TIME_TRACK",CLEAR_TIME_TRACKS:"CLEAR_TIME_TRACKS",SET_TIME_TRACK_TIMER:"SET_TIME_TRACK_TIMER",SET_TIME_TRACKS_FETCHING:"SET_TIME_TRACKS_FETCHING",SET_TIME_TRACKS_POSTING:"SET_TIME_TRACKS_POSTING"},aA={DO_CREATE_TEMPLATE:"DO_CREATE_TEMPLATE",DO_LOAD_TEMPLATE:"DO_LOAD_TEMPLATE",DO_LOAD_TEMPLATES:"DO_LOAD_TEMPLATES",DO_UPDATE_TEMPLATE:"DO_UPDATE_TEMPLATE",LOAD_TEMPLATE:"LOAD_TEMPLATE",LOAD_TEMPLATES:"LOAD_TEMPLATES",UPDATE_TEMPLATE:"UPDATE_TEMPLATE",DELETE_TEMPLATE:"DELETE_TEMPLATE",PATCH_TEMPLATE:"PATCH_TEMPLATE",HIDE_TEMPLATE:"HIDE_TEMPLATE",DUPLICATE_PROTECTED_TEMPLATE:"DUPLICATE_PROTECTED_TEMPLATE"},Rv={SET_TEMPLATES:"SET_TEMPLATES",SET_TEMPLATE_FETCHING:"SET_TEMPLATE_FETCHING",SET_TEMPLATE_POSTING:"SET_TEMPLATE_POSTING",DELETE_MANY_TEMPLATES:"DELETE_MANY_TEMPLATES"},sae={DO_LOAD_PUBLIC_DOCUMENT:"DO_LOAD_PUBLIC_DOCUMENT",DO_LOAD_PUBLIC_DOCUMENTS:"DO_LOAD_PUBLIC_DOCUMENTS",PUT_PUBLIC_DOCUMENT:"PUT_PUBLIC_DOCUMENT",PUT_CURRENT_PUBLIC_DOCUMENT:"PUT_CURRENT_PUBLIC_DOCUMENT",LOAD_PUBLIC_DOCUMENT:"LOAD_PUBLIC_DOCUMENT",LOAD_PUBLIC_DOCUMENTS:"LOAD_PUBLIC_DOCUMENTS",ANSWER_PUBLIC_DOCUMENT:"ANSWER_PUBLIC_DOCUMENT",ANSWER_CURRENT_PUBLIC_DOCUMENT:"ANSWER_CURRENT_PUBLIC_DOCUMENT",DO_SET_CURRENT_DOCUMENT:"DO_SET_CURRENT_DOCUMENT",SET_CURRENT_PUBLIC_DOCUMENT_VALUE:"SET_CURRENT_PUBLIC_DOCUMENT_VALUE",RELOAD_CURRENT_DOCUMENT:"RELOAD_CURRENT_DOCUMENT",LOAD_PUBLIC_COMPANY:"LOAD_PUBLIC_COMPANY",LOAD_CLIENT_DOCUMENTS:"LOAD_CLIENT_DOCUMENTS",LOAD_CLIENT_INVOICES:"LOAD_CLIENT_INVOICES",REQUEST_MAGIC_LINK:"REQUEST_MAGIC_LINK"},oae={SET_PUBLIC_DOCUMENTS:"SET_PUBLIC_DOCUMENTS",SET_PUBLIC_INVOICES:"SET_PUBLIC_INVOICES",SET_PUBLIC_DOCUMENTS_FETCHING:"SET_PUBLIC_DOCUMENTS_FETCHING",SET_PUBLIC_DOCUMENTS_POSTING:"SET_PUBLIC_DOCUMENTS_POSTING",SET_CURRENT_DOCUMENT:"SET_CURRENT_DOCUMENT",SET_CURRENT_DOCUMENT_VALUE:"SET_CURRENT_DOCUMENT_VALUE",SET_PUBLIC_COMPANIES:"SET_PUBLIC_COMPANIES",SET_VIEWER:"SET_VIEWER"},lae={LOAD_DOCUMENT_TERMS:"LOAD_DOCUMENT_TERMS",LOAD_DOCUMENT_TERM:"LOAD_DOCUMENT_TERM",CREATE_DOCUMENT_TERM:"CREATE_DOCUMENT_TERM",UPDATE_DOCUMENT_TERM:"UPDATE_DOCUMENT_TERM",DELETE_DOCUMENT_TERM:"DELETE_DOCUMENT_TERM",PATCH_DOCUMENT_TERM:"PATCH_DOCUMENT_TERM",FORM_NEW_DOCUMENT_TERM:"FORM_NEW_DOCUMENT_TERM",FORM_EDIT_DOCUMENT_TERM:"FORM_EDIT_DOCUMENT_TERM",FORM_SUBMIT_DOCUMENT_TERM:"FORM_SUBMIT_DOCUMENT_TERM"},cae={SET_DOCUMENT_TERMS:"SET_DOCUMENT_TERMS",DELETE_DOCUMENT_TERM:"DELETE_DOCUMENT_TERM",CLEAR_DOCUMENT_TERMS:"CLEAR_DOCUMENT_TERMS",SET_DOCUMENT_TERMS_FETCHING:"SET_DOCUMENT_TERMS_FETCHING",SET_DOCUMENT_TERMS_POSTING:"SET_DOCUMENT_TERMS_POSTING"},uae={LOAD_UNIT_TYPES:"LOAD_UNIT_TYPES",LOAD_UNIT_TYPE:"LOAD_UNIT_TYPE",CREATE_UNIT_TYPE:"CREATE_UNIT_TYPE",UPDATE_UNIT_TYPE:"UPDATE_UNIT_TYPE",DELETE_UNIT_TYPE:"DELETE_UNIT_TYPE"},dae={SET_UNIT_TYPES:"SET_UNIT_TYPES",DELETE_UNIT_TYPE:"DELETE_UNIT_TYPE",SET_UNIT_TYPE_FETCHING:"SET_UNIT_TYPE_FETCHING",SET_UNIT_TYPE_POSTING:"SET_UNIT_TYPE_POSTING"},Rr={...YO,application:Il,projects:cr,forms:ur,documents2:eA,files:Ed,settings:nA,articles:Bie,endCustomers:iA,certificates:Hie,companies:KO,companyUsers:JO,companyReferences:zie,companyReferenceItems:qie,templateMessages:Kie,notifications:Jie,invoices:nae,timeTracks:iae,templates:aA,publicDocuments:sae,documentTerms:lae,unitTypes:uae,stripe:{LOAD_PRICES:"LOAD_PRICES",RESET_STRIPE_FORM:"RESET_STRIPE_FORM",SET_STRIPE_FORM_VALUE:"SET_STRIPE_FORM_VALUE",SET_FORM_PROMOTION:"SET_FORM_PROMOTION",SUBMIT_PROMOTION_CODE:"SUBMIT_PROMOTION_CODE",SUBMIT_PAYMENT_METHOD:"SUBMIT_PAYMENT_METHOD",SUBMIT_FORM_PLAN:"SUBMIT_FORM_PLAN",CONFIRM_PAYMENT:"CONFIRM_PAYMENT",REMOVE_SUBSCRIPTION_ITEM:"REMOVE_SUBSCRIPTION_ITEM",SUBMIT_FORM_PAYMENT:"SUBMIT_STRIPE_FORM_PAYMENT",SUBMIT_FORM_PRODUCTS:"SUBMIT_STRIPE_FORM_PRODUCTS"},CREATE_ARTICLE:"CREATE_ARTICLE",CREATE_COMPANY_USER:"CREATE_COMPANY_USER",CREATE_ENDCUSTOMER:"CREATE_ENDCUSTOMER",CREATE_PROJECT:"CREATE_PROJECT",DELETE_ARTICLE:"DELETE_ARTICLE",DELETE_COMPANY_USER:"DELETE_COMPANY_USER",DELETE_ENDCUSTOMER:"DELETE_ENDCUSTOMER",DELETE_PROJECT:"DELETE_PROJECT",FORM_CLEAR_FORM:"FORM_CLEAR_FORM",FORM_EDIT_ARTICLE:"FORM_EDIT_ARTICLE",FORM_EDIT_COMPANY:"FORM_EDIT_COMPANY",FORM_EDIT_COMPANY_USER:"FORM_EDIT_COMPANY_USER",FORM_EDIT_COMPANY_BRANDING:"FORM_EDIT_COMPANY_BRANDING",FORM_EDIT_ENDCUSTOMER:"FORM_EDIT_ENDCUSTOMER",FORM_NEW_ARTICLE:"FORM_NEW_ARTICLE",FORM_NEW_COMPANY_USER:"FORM_NEW_COMPANY_USER",FORM_NEW_COMPANY_BRANDING:"FORM_NEW_COMPANY_BRANDING",FORM_NEW_ENDCUSTOMER:"FORM_NEW_ENDCUSTOMER",FORM_NEW_OFFER:"FORM_NEW_OFFER",FORM_SUBMIT_ARTICLE:"FORM_SUBMIT_ARTICLE",FORM_SUBMIT_COMPANY:"FORM_SUBMIT_COMPANY",FORM_SUBMIT_COMPANY_USER:"FORM_SUBMIT_COMPANY_USER",FORM_SUBMIT_COMPANY_BRANDING:"FORM_SUBMIT_COMPANY_BRANDING",FORM_SUBMIT_ENDCUSTOMER:"FORM_SUBMIT_ENDCUSTOMER",FORM_SUBMIT_OFFER:"FORM_SUBMIT_OFFER",LOAD_ARTICLE:"LOAD_ARTICLE",LOAD_ARTICLES:"LOAD_ARTICLES",LOAD_CERTIFICATES:"LOAD_CERTIFICATES",LOAD_COMPANY_USER:"LOAD_COMPANY_USER",LOAD_COMPANY_USERS:"LOAD_COMPANY_USERS",DO_LOAD_CURRENT_COMPANY:"DO_LOAD_CURRENT_COMPANY",LOAD_ENDCUSTOMER:"LOAD_ENDCUSTOMER",LOAD_ENDCUSTOMERS:"LOAD_ENDCUSTOMERS",LOAD_PROJECT:"LOAD_PROJECT",LOAD_PROJECTS:"LOAD_PROJECTS",LOAD_PUBLIC_PROJECT:"LOAD_PUBLIC_PROJECT",PATCH_ARTICLE:"PATCH_ARTICLE",PATCH_COMPANY_USER:"PATCH_COMPANY_USER",SEARCH_ARTICLE:"SEARCH_ARTICLE",SET_ARTICLES:"SET_ARTICLES",SET_FORM:"SET_FORM",SET_PROJECTS:"SET_PROJECTS",SET_READ_FOR_PROJECT:"SET_READ_FOR_PROJECT",SORT:"SORT",UPDATE_ARTICLE:"UPDATE_ARTICLE",UPDATE_COMPANY_USER:"UPDATE_COMPANY_USER",DO_UPDATE_CURRENT_COMPANY:"DO_UPDATE_CURRENT_COMPANY",UPDATE_ENDCUSTOMER:"UPDATE_ENDCUSTOMER",UPDATE_PROJECT:"UPDATE_PROJECT"},ce={};Object.keys(Rr).forEach(t=>{typeof Rr[t]=="object"&&Object.keys(Rr[t]).forEach(e=>{ce[e]&&console.warn(`Duplicate action constant warning!, ${Rr[t][e]}`),ce[e]=`${t}/${Rr[t][e]}`})}),Object.keys(YO).forEach(t=>{ce[t]&&console.warn(`Duplicate action constant warning!, ${Rr[t]}`),ce[t]=Rr[t]});var sA={exports:{}};(function(t,e){(function(n,r){t.exports=r()})(Ne,function(){return function(n){var r={};function i(a){if(r[a])return r[a].exports;var s=r[a]={i:a,l:!1,exports:{}};return n[a].call(s.exports,s,s.exports,i),s.l=!0,s.exports}return i.m=n,i.c=r,i.d=function(a,s,o){i.o(a,s)||Object.defineProperty(a,s,{enumerable:!0,get:o})},i.r=function(a){typeof Symbol<"u"&&Symbol.toStringTag&&Object.defineProperty(a,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(a,"__esModule",{value:!0})},i.t=function(a,s){if(1&s&&(a=i(a)),8&s||4&s&&typeof a=="object"&&a&&a.__esModule)return a;var o=Object.create(null);if(i.r(o),Object.defineProperty(o,"default",{enumerable:!0,value:a}),2&s&&typeof a!="string")for(var l in a)i.d(o,l,function(c){return a[c]}.bind(null,l));return o},i.n=function(a){var s=a&&a.__esModule?function(){return a.default}:function(){return a};return i.d(s,"a",s),s},i.o=function(a,s){return Object.prototype.hasOwnProperty.call(a,s)},i.p="",i(i.s=6)}([function(n,r,i){var a=i(12),s={};function o(y,T){return T===l(y)}function l(y){var T=typeof y;return T!=="object"?T:y?y instanceof Error?"error":{}.toString.call(y).match(/\s([a-zA-Z]+)/)[1].toLowerCase():"null"}function c(y){return o(y,"function")}function u(y){var T=Function.prototype.toString.call(Object.prototype.hasOwnProperty).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?"),E=RegExp("^"+T+"$");return d(y)&&E.test(y)}function d(y){var T=typeof y;return y!=null&&(T=="object"||T=="function")}function p(){var y=w();return"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,function(T){var E=(y+16*Math.random())%16|0;return y=Math.floor(y/16),(T==="x"?E:7&E|8).toString(16)})}var f={strictMode:!1,key:["source","protocol","authority","userInfo","user","password","host","port","relative","path","directory","file","query","anchor"],q:{name:"queryKey",parser:/(?:^|&)([^&=]*)=?([^&]*)/g},parser:{strict:/^(?:([^:\/?#]+):)?(?:\/\/((?:(([^:@]*)(?::([^:@]*))?)?@)?([^:\/?#]*)(?::(\d*))?))?((((?:[^?#\/]*\/)*)([^?#]*))(?:\?([^#]*))?(?:#(.*))?)/,loose:/^(?:(?![^:@]+:[^:@\/]*@)([^:\/?#.]+):)?(?:\/\/)?((?:(([^:@]*)(?::([^:@]*))?)?@)?([^:\/?#]*)(?::(\d*))?)(((\/(?:[^?#](?![^?#\/]*\.[^?#\/.]+(?:[?#]|$)))*\/?)?([^?#\/]*))(?:\?([^#]*))?(?:#(.*))?)/}};function h(y,T){var E,k;try{E=s.stringify(y)}catch($){if(T&&c(T))try{E=T(y)}catch(C){k=C}else k=$}return{error:k,value:E}}function m(y,T){return function(E,k){try{T(E,k)}catch($){y.error($)}}}var g=["log","network","dom","navigation","error","manual"],v=["critical","error","warning","info","debug"];function _(y,T){for(var E=0;E<y.length;++E)if(y[E]===T)return!0;return!1}function w(){return Date.now?+Date.now():+new Date}n.exports={addParamsAndAccessTokenToPath:function(y,T,E){(E=E||{}).access_token=y;var k,$=[];for(k in E)Object.prototype.hasOwnProperty.call(E,k)&&$.push([k,E[k]].join("="));var C="?"+$.sort().join("&");(T=T||{}).path=T.path||"";var I,M=T.path.indexOf("?"),O=T.path.indexOf("#");M!==-1&&(O===-1||O>M)?(I=T.path,T.path=I.substring(0,M)+C+"&"+I.substring(M+1)):O!==-1?(I=T.path,T.path=I.substring(0,O)+C+I.substring(O)):T.path=T.path+C},createItem:function(y,T,E,k,$){for(var C,I,M,O,A,P,L=[],F=[],j=0,S=y.length;j<S;++j){var b=l(P=y[j]);switch(F.push(b),b){case"undefined":break;case"string":C?L.push(P):C=P;break;case"function":O=m(T,P);break;case"date":L.push(P);break;case"error":case"domexception":case"exception":I?L.push(P):I=P;break;case"object":case"array":if(P instanceof Error||typeof DOMException<"u"&&P instanceof DOMException){I?L.push(P):I=P;break}if(k&&b==="object"&&!A){for(var D=0,N=k.length;D<N;++D)if(P[k[D]]!==void 0){A=P;break}if(A)break}M?L.push(P):M=P;break;default:if(P instanceof Error||typeof DOMException<"u"&&P instanceof DOMException){I?L.push(P):I=P;break}L.push(P)}}L.length>0&&((M=a(M)).extraArgs=L);var V={message:C,err:I,custom:M,timestamp:w(),callback:O,notifier:E,diagnostic:{},uuid:p()};return function(z,G){G&&G.level!==void 0&&(z.level=G.level,delete G.level),G&&G.skipFrames!==void 0&&(z.skipFrames=G.skipFrames,delete G.skipFrames)}(V,M),k&&A&&(V.request=A),$&&(V.lambdaContext=$),V._originalArgs=y,V.diagnostic.original_arg_types=F,V},addErrorContext:function(y,T){var E=y.data.custom||{},k=!1;try{for(var $=0;$<T.length;++$)T[$].hasOwnProperty("rollbarContext")&&(E=a(E,T[$].rollbarContext),k=!0);k&&(y.data.custom=E)}catch(C){y.diagnostic.error_context="Failed: "+C.message}},createTelemetryEvent:function(y){for(var T,E,k,$,C=0,I=y.length;C<I;++C)switch(l($=y[C])){case"string":!T&&_(g,$)?T=$:!k&&_(v,$)&&(k=$);break;case"object":E=$}return{type:T||"manual",metadata:E||{},level:k}},filterIp:function(y,T){if(y&&y.user_ip&&T!==!0){var E=y.user_ip;if(T)try{var k;if(E.indexOf(".")!==-1)(k=E.split(".")).pop(),k.push("0"),E=k.join(".");else if(E.indexOf(":")!==-1){if((k=E.split(":")).length>2){var $=k.slice(0,3),C=$[2].indexOf("/");C!==-1&&($[2]=$[2].substring(0,C)),E=$.concat("0000:0000:0000:0000:0000").join(":")}}else E=null}catch{E=null}else E=null;y.user_ip=E}},formatArgsAsString:function(y){var T,E,k,$=[];for(T=0,E=y.length;T<E;++T){switch(l(k=y[T])){case"object":(k=(k=h(k)).error||k.value).length>500&&(k=k.substr(0,497)+"...");break;case"null":k="null";break;case"undefined":k="undefined";break;case"symbol":k=k.toString()}$.push(k)}return $.join(" ")},formatUrl:function(y,T){if(!(T=T||y.protocol)&&y.port&&(y.port===80?T="http:":y.port===443&&(T="https:")),T=T||"https:",!y.hostname)return null;var E=T+"//"+y.hostname;return y.port&&(E=E+":"+y.port),y.path&&(E+=y.path),E},get:function(y,T){if(y){var E=T.split("."),k=y;try{for(var $=0,C=E.length;$<C;++$)k=k[E[$]]}catch{k=void 0}return k}},handleOptions:function(y,T,E,k){var $=a(y,T,E);return $=function(C,I){return C.hostWhiteList&&!C.hostSafeList&&(C.hostSafeList=C.hostWhiteList,C.hostWhiteList=void 0,I&&I.log("hostWhiteList is deprecated. Use hostSafeList.")),C.hostBlackList&&!C.hostBlockList&&(C.hostBlockList=C.hostBlackList,C.hostBlackList=void 0,I&&I.log("hostBlackList is deprecated. Use hostBlockList.")),C}($,k),!T||T.overwriteScrubFields||T.scrubFields&&($.scrubFields=(y.scrubFields||[]).concat(T.scrubFields)),$},isError:function(y){return o(y,"error")||o(y,"exception")},isFunction:c,isIterable:function(y){var T=l(y);return T==="object"||T==="array"},isNativeFunction:u,isType:o,isObject:d,isString:function(y){return typeof y=="string"||y instanceof String},jsonParse:function(y){var T,E;try{T=s.parse(y)}catch(k){E=k}return{error:E,value:T}},LEVELS:{debug:0,info:1,warning:2,error:3,critical:4},makeUnhandledStackInfo:function(y,T,E,k,$,C,I,M){var O={url:T||"",line:E,column:k};O.func=M.guessFunctionName(O.url,O.line),O.context=M.gatherContext(O.url,O.line);var A=typeof document<"u"&&document&&document.location&&document.location.href,P=typeof window<"u"&&window&&window.navigator&&window.navigator.userAgent;return{mode:C,message:$?String($):y||I,url:A,stack:[O],useragent:P}},merge:a,now:w,redact:function(){return"********"},RollbarJSON:s,sanitizeUrl:function(y){var T=function(E){if(!!o(E,"string")){for(var k=f,$=k.parser[k.strictMode?"strict":"loose"].exec(E),C={},I=0,M=k.key.length;I<M;++I)C[k.key[I]]=$[I]||"";return C[k.q.name]={},C[k.key[12]].replace(k.q.parser,function(O,A,P){A&&(C[k.q.name][A]=P)}),C}}(y);return T?(T.anchor===""&&(T.source=T.source.replace("#","")),y=T.source.replace("?"+T.query,"")):"(unknown)"},set:function(y,T,E){if(y){var k=T.split("."),$=k.length;if(!($<1))if($!==1)try{for(var C=y[k[0]]||{},I=C,M=1;M<$-1;++M)C[k[M]]=C[k[M]]||{},C=C[k[M]];C[k[$-1]]=E,y[k[0]]=I}catch{return}else y[k[0]]=E}},setupJSON:function(y){c(s.stringify)&&c(s.parse)||(o(JSON,"undefined")||(y?(u(JSON.stringify)&&(s.stringify=JSON.stringify),u(JSON.parse)&&(s.parse=JSON.parse)):(c(JSON.stringify)&&(s.stringify=JSON.stringify),c(JSON.parse)&&(s.parse=JSON.parse))),c(s.stringify)&&c(s.parse)||y&&y(s))},stringify:h,maxByteSize:function(y){for(var T=0,E=y.length,k=0;k<E;k++){var $=y.charCodeAt(k);$<128?T+=1:$<2048?T+=2:$<65536&&(T+=3)}return T},typeName:l,uuid4:p}},function(n,r,i){i(17);var a=i(18),s=i(0);n.exports={error:function(){var o=Array.prototype.slice.call(arguments,0);o.unshift("Rollbar:"),a.ieVersion()<=8?console.error(s.formatArgsAsString(o)):console.error.apply(console,o)},info:function(){var o=Array.prototype.slice.call(arguments,0);o.unshift("Rollbar:"),a.ieVersion()<=8?console.info(s.formatArgsAsString(o)):console.info.apply(console,o)},log:function(){var o=Array.prototype.slice.call(arguments,0);o.unshift("Rollbar:"),a.ieVersion()<=8?console.log(s.formatArgsAsString(o)):console.log.apply(console,o)}}},function(n,r,i){n.exports={parse:function(a){var s,o,l={protocol:null,auth:null,host:null,path:null,hash:null,href:a,hostname:null,port:null,pathname:null,search:null,query:null};if((s=a.indexOf("//"))!==-1?(l.protocol=a.substring(0,s),o=s+2):o=0,(s=a.indexOf("@",o))!==-1&&(l.auth=a.substring(o,s),o=s+1),(s=a.indexOf("/",o))===-1){if((s=a.indexOf("?",o))===-1)return(s=a.indexOf("#",o))===-1?l.host=a.substring(o):(l.host=a.substring(o,s),l.hash=a.substring(s)),l.hostname=l.host.split(":")[0],l.port=l.host.split(":")[1],l.port&&(l.port=parseInt(l.port,10)),l;l.host=a.substring(o,s),l.hostname=l.host.split(":")[0],l.port=l.host.split(":")[1],l.port&&(l.port=parseInt(l.port,10)),o=s}else l.host=a.substring(o,s),l.hostname=l.host.split(":")[0],l.port=l.host.split(":")[1],l.port&&(l.port=parseInt(l.port,10)),o=s;if((s=a.indexOf("#",o))===-1?l.path=a.substring(o):(l.path=a.substring(o,s),l.hash=a.substring(s)),l.path){var c=l.path.split("?");l.pathname=c[0],l.query=c[1],l.search=l.query?"?"+l.query:null}return l}}},function(n,r,i){var a=i(22),s=new RegExp("^(([a-zA-Z0-9-_$ ]*): *)?(Uncaught )?([a-zA-Z0-9-_$ ]*): ");function o(){return null}function l(d){var p={};return p._stackFrame=d,p.url=d.fileName,p.line=d.lineNumber,p.func=d.functionName,p.column=d.columnNumber,p.args=d.args,p.context=null,p}function c(d,p){return{stack:function(){var f=[];p=p||0;try{f=a.parse(d)}catch{f=[]}for(var h=[],m=p;m<f.length;m++)h.push(new l(f[m]));return h}(),message:d.message,name:u(d),rawStack:d.stack,rawException:d}}function u(d){var p=d.name&&d.name.length&&d.name,f=d.constructor.name&&d.constructor.name.length&&d.constructor.name;return p&&f?p==="Error"?f:p:p||f}n.exports={guessFunctionName:function(){return"?"},guessErrorClass:function(d){if(!d||!d.match)return["Unknown error. There was no error message to display.",""];var p=d.match(s),f="(unknown)";return p&&(f=p[p.length-1],d=(d=d.replace((p[p.length-2]||"")+f+":","")).replace(/(^[\s]+|[\s]+$)/g,"")),[f,d]},gatherContext:o,parse:function(d,p){var f=d;if(f.nested){for(var h=[];f;)h.push(new c(f,p)),f=f.nested,p=0;return h[0].traceChain=h,h[0]}return new c(f,p)},Stack:c,Frame:l}},function(n,r,i){var a=i(0),s=i(5);function o(l,c){var u=c.split("."),d=u.length-1;try{for(var p=0;p<=d;++p)p<d?l=l[u[p]]:l[u[p]]=a.redact()}catch{}}n.exports=function(l,c,u){if(c=c||[],u)for(var d=0;d<u.length;++d)o(l,u[d]);var p=function(m){for(var g,v=[],_=0;_<m.length;++_)g="^\\[?(%5[bB])?"+m[_]+"\\[?(%5[bB])?\\]?(%5[dD])?$",v.push(new RegExp(g,"i"));return v}(c),f=function(m){for(var g,v=[],_=0;_<m.length;++_)g="\\[?(%5[bB])?"+m[_]+"\\[?(%5[bB])?\\]?(%5[dD])?",v.push(new RegExp("("+g+"=)([^&\\n]+)","igm"));return v}(c);function h(m,g){return g+a.redact()}return s(l,function m(g,v,_){var w=function(y,T){var E;for(E=0;E<p.length;++E)if(p[E].test(y)){T=a.redact();break}return T}(g,v);return w===v?a.isType(v,"object")||a.isType(v,"array")?s(v,m,_):function(y){var T;if(a.isType(y,"string"))for(T=0;T<f.length;++T)y=y.replace(f[T],h);return y}(w):w})}},function(n,r,i){var a=i(0);n.exports=function(s,o,l){var c,u,d,p,f=a.isType(s,"object"),h=a.isType(s,"array"),m=[];if(l=l||{obj:[],mapped:[]},f){if(p=l.obj.indexOf(s),f&&p!==-1)return l.mapped[p]||l.obj[p];l.obj.push(s),p=l.obj.length-1}if(f)for(c in s)Object.prototype.hasOwnProperty.call(s,c)&&m.push(c);else if(h)for(d=0;d<s.length;++d)m.push(d);var g=f?{}:[],v=!0;for(d=0;d<m.length;++d)u=s[c=m[d]],g[c]=o(c,u,l),v=v&&g[c]===s[c];return f&&!v&&(l.mapped[p]=g),v?s:g}},function(n,r,i){n.exports=i(7)},function(n,r,i){var a=i(8),s=typeof window<"u"&&window._rollbarConfig,o=s&&s.globalAlias||"Rollbar",l=typeof window<"u"&&window[o]&&typeof window[o].shimId=="function"&&window[o].shimId()!==void 0;if(typeof window>"u"||window._rollbarStartTime||(window._rollbarStartTime=new Date().getTime()),!l&&s){var c=new a(s);window[o]=c}else typeof window<"u"?(window.rollbar=a,window._rollbarDidLoad=!0):typeof self<"u"&&(self.rollbar=a,self._rollbarDidLoad=!0);n.exports=a},function(n,r,i){var a=i(9),s=i(29),o=i(30),l=i(32),c=i(34),u=i(4),d=i(35);a.setComponents({telemeter:s,instrumenter:o,polyfillJSON:l,wrapGlobals:c,scrub:u,truncation:d}),n.exports=a},function(n,r,i){var a=i(10),s=i(0),o=i(15),l=i(1),c=i(19),u=i(20),d=i(2),p=i(21),f=i(24),h=i(25),m=i(26),g=i(3);function v(C,I){this.options=s.handleOptions($,C,null,l),this.options._configuredOptions=C;var M=this.components.telemeter,O=this.components.instrumenter,A=this.components.polyfillJSON;this.wrapGlobals=this.components.wrapGlobals,this.scrub=this.components.scrub;var P=this.components.truncation,L=new u(P),F=new o(this.options,L,d,P);M&&(this.telemeter=new M(this.options)),this.client=I||new a(this.options,F,l,this.telemeter,"browser");var j=T(),S=typeof document<"u"&&document;this.isChrome=j.chrome&&j.chrome.runtime,this.anonymousErrorsPending=0,function(b,D,N){b.addTransform(p.handleDomException).addTransform(p.handleItemWithError).addTransform(p.ensureItemHasSomethingToSay).addTransform(p.addBaseInfo).addTransform(p.addRequestInfo(N)).addTransform(p.addClientInfo(N)).addTransform(p.addPluginInfo(N)).addTransform(p.addBody).addTransform(f.addMessageWithError).addTransform(f.addTelemetryData).addTransform(f.addConfigToPayload).addTransform(p.addScrubber(D.scrub)).addTransform(f.userTransform(l)).addTransform(f.addConfiguredOptions).addTransform(f.addDiagnosticKeys).addTransform(f.itemToPayload)}(this.client.notifier,this,j),this.client.queue.addPredicate(m.checkLevel).addPredicate(h.checkIgnore).addPredicate(m.userCheckIgnore(l)).addPredicate(m.urlIsNotBlockListed(l)).addPredicate(m.urlIsSafeListed(l)).addPredicate(m.messageIsIgnored(l)),this.setupUnhandledCapture(),O&&(this.instrumenter=new O(this.options,this.client.telemeter,this,j,S),this.instrumenter.instrument()),s.setupJSON(A)}var _=null;function w(C){var I="Rollbar is not initialized";l.error(I),C&&C(new Error(I))}function y(C){for(var I=0,M=C.length;I<M;++I)if(s.isFunction(C[I]))return C[I]}function T(){return typeof window<"u"&&window||typeof self<"u"&&self}v.init=function(C,I){return _?_.global(C).configure(C):_=new v(C,I)},v.prototype.components={},v.setComponents=function(C){v.prototype.components=C},v.prototype.global=function(C){return this.client.global(C),this},v.global=function(C){if(_)return _.global(C);w()},v.prototype.configure=function(C,I){var M=this.options,O={};return I&&(O={payload:I}),this.options=s.handleOptions(M,C,O,l),this.options._configuredOptions=s.handleOptions(M._configuredOptions,C,O),this.client.configure(this.options,I),this.instrumenter&&this.instrumenter.configure(this.options),this.setupUnhandledCapture(),this},v.configure=function(C,I){if(_)return _.configure(C,I);w()},v.prototype.lastError=function(){return this.client.lastError},v.lastError=function(){if(_)return _.lastError();w()},v.prototype.log=function(){var C=this._createItem(arguments),I=C.uuid;return this.client.log(C),{uuid:I}},v.log=function(){if(_)return _.log.apply(_,arguments);var C=y(arguments);w(C)},v.prototype.debug=function(){var C=this._createItem(arguments),I=C.uuid;return this.client.debug(C),{uuid:I}},v.debug=function(){if(_)return _.debug.apply(_,arguments);var C=y(arguments);w(C)},v.prototype.info=function(){var C=this._createItem(arguments),I=C.uuid;return this.client.info(C),{uuid:I}},v.info=function(){if(_)return _.info.apply(_,arguments);var C=y(arguments);w(C)},v.prototype.warn=function(){var C=this._createItem(arguments),I=C.uuid;return this.client.warn(C),{uuid:I}},v.warn=function(){if(_)return _.warn.apply(_,arguments);var C=y(arguments);w(C)},v.prototype.warning=function(){var C=this._createItem(arguments),I=C.uuid;return this.client.warning(C),{uuid:I}},v.warning=function(){if(_)return _.warning.apply(_,arguments);var C=y(arguments);w(C)},v.prototype.error=function(){var C=this._createItem(arguments),I=C.uuid;return this.client.error(C),{uuid:I}},v.error=function(){if(_)return _.error.apply(_,arguments);var C=y(arguments);w(C)},v.prototype.critical=function(){var C=this._createItem(arguments),I=C.uuid;return this.client.critical(C),{uuid:I}},v.critical=function(){if(_)return _.critical.apply(_,arguments);var C=y(arguments);w(C)},v.prototype.buildJsonPayload=function(C){return this.client.buildJsonPayload(C)},v.buildJsonPayload=function(){if(_)return _.buildJsonPayload.apply(_,arguments);w()},v.prototype.sendJsonPayload=function(C){return this.client.sendJsonPayload(C)},v.sendJsonPayload=function(){if(_)return _.sendJsonPayload.apply(_,arguments);w()},v.prototype.setupUnhandledCapture=function(){var C=T();this.unhandledExceptionsInitialized||(this.options.captureUncaught||this.options.handleUncaughtExceptions)&&(c.captureUncaughtExceptions(C,this),this.wrapGlobals&&this.options.wrapGlobalEventHandlers&&this.wrapGlobals(C,this),this.unhandledExceptionsInitialized=!0),this.unhandledRejectionsInitialized||(this.options.captureUnhandledRejections||this.options.handleUnhandledRejections)&&(c.captureUnhandledRejections(C,this),this.unhandledRejectionsInitialized=!0)},v.prototype.handleUncaughtException=function(C,I,M,O,A,P){if(this.options.captureUncaught||this.options.handleUncaughtExceptions){if(this.options.inspectAnonymousErrors&&this.isChrome&&A===null&&I==="")return"anonymous";var L,F=s.makeUnhandledStackInfo(C,I,M,O,A,"onerror","uncaught exception",g);s.isError(A)?(L=this._createItem([C,A,P]))._unhandledStackInfo=F:s.isError(I)?(L=this._createItem([C,I,P]))._unhandledStackInfo=F:(L=this._createItem([C,P])).stackInfo=F,L.level=this.options.uncaughtErrorLevel,L._isUncaught=!0,this.client.log(L)}},v.prototype.handleAnonymousErrors=function(){if(this.options.inspectAnonymousErrors&&this.isChrome){var C=this;try{Error.prepareStackTrace=function(I,M){if(C.options.inspectAnonymousErrors&&C.anonymousErrorsPending){if(C.anonymousErrorsPending-=1,!I)return;I._isAnonymous=!0,C.handleUncaughtException(I.message,null,null,null,I)}return I.stack}}catch(I){this.options.inspectAnonymousErrors=!1,this.error("anonymous error handler failed",I)}}},v.prototype.handleUnhandledRejection=function(C,I){if(this.options.captureUnhandledRejections||this.options.handleUnhandledRejections){var M="unhandled rejection was null or undefined!";if(C)if(C.message)M=C.message;else{var O=s.stringify(C);O.value&&(M=O.value)}var A,P=C&&C._rollbarContext||I&&I._rollbarContext;s.isError(C)?A=this._createItem([M,C,P]):(A=this._createItem([M,C,P])).stackInfo=s.makeUnhandledStackInfo(M,"",0,0,null,"unhandledrejection","",g),A.level=this.options.uncaughtErrorLevel,A._isUncaught=!0,A._originalArgs=A._originalArgs||[],A._originalArgs.push(I),this.client.log(A)}},v.prototype.wrap=function(C,I,M){try{var O;if(O=s.isFunction(I)?I:function(){return I||{}},!s.isFunction(C)||C._isWrap)return C;if(!C._rollbar_wrapped&&(C._rollbar_wrapped=function(){M&&s.isFunction(M)&&M.apply(this,arguments);try{return C.apply(this,arguments)}catch(L){var P=L;throw P&&window._rollbarWrappedError!==P&&(s.isType(P,"string")&&(P=new String(P)),P._rollbarContext=O()||{},P._rollbarContext._wrappedSource=C.toString(),window._rollbarWrappedError=P),P}},C._rollbar_wrapped._isWrap=!0,C.hasOwnProperty))for(var A in C)C.hasOwnProperty(A)&&A!=="_rollbar_wrapped"&&(C._rollbar_wrapped[A]=C[A]);return C._rollbar_wrapped}catch{return C}},v.wrap=function(C,I){if(_)return _.wrap(C,I);w()},v.prototype.captureEvent=function(){var C=s.createTelemetryEvent(arguments);return this.client.captureEvent(C.type,C.metadata,C.level)},v.captureEvent=function(){if(_)return _.captureEvent.apply(_,arguments);w()},v.prototype.captureDomContentLoaded=function(C,I){return I||(I=new Date),this.client.captureDomContentLoaded(I)},v.prototype.captureLoad=function(C,I){return I||(I=new Date),this.client.captureLoad(I)},v.prototype.loadFull=function(){l.info("Unexpected Rollbar.loadFull() called on a Notifier instance. This can happen when Rollbar is loaded multiple times.")},v.prototype._createItem=function(C){return s.createItem(C,l,this)};var E=i(27),k=i(28),$={version:E.version,scrubFields:k.scrubFields,logLevel:E.logLevel,reportLevel:E.reportLevel,uncaughtErrorLevel:E.uncaughtErrorLevel,endpoint:E.endpoint,verbose:!1,enabled:!0,transmit:!0,sendConfig:!1,includeItemsInTelemetry:!0,captureIp:!0,inspectAnonymousErrors:!0,ignoreDuplicateErrors:!0,wrapGlobalEventHandlers:!1};n.exports=v},function(n,r,i){var a=i(11),s=i(13),o=i(14),l=i(0);function c(p,f,h,m,g){this.options=l.merge(p),this.logger=h,c.rateLimiter.configureGlobal(this.options),c.rateLimiter.setPlatformOptions(g,this.options),this.api=f,this.queue=new s(c.rateLimiter,f,h,this.options);var v=this.options.tracer||null;d(v)?(this.tracer=v,this.options.tracer="opentracing-tracer-enabled",this.options._configuredOptions.tracer="opentracing-tracer-enabled"):this.tracer=null,this.notifier=new o(this.queue,this.options),this.telemeter=m,u(p),this.lastError=null,this.lastErrorHash="none"}function u(p){p.stackTraceLimit&&(Error.stackTraceLimit=p.stackTraceLimit)}function d(p){if(!p||!p.scope||typeof p.scope!="function")return!1;var f=p.scope();return!(!f||!f.active||typeof f.active!="function")}c.rateLimiter=new a({maxItems:0,itemsPerMinute:60}),c.prototype.global=function(p){return c.rateLimiter.configureGlobal(p),this},c.prototype.configure=function(p,f){var h=this.options,m={};f&&(m={payload:f}),this.options=l.merge(h,p,m);var g=this.options.tracer||null;return d(g)?(this.tracer=g,this.options.tracer="opentracing-tracer-enabled",this.options._configuredOptions.tracer="opentracing-tracer-enabled"):this.tracer=null,this.notifier&&this.notifier.configure(this.options),this.telemeter&&this.telemeter.configure(this.options),u(p),this.global(this.options),d(p.tracer)&&(this.tracer=p.tracer),this},c.prototype.log=function(p){var f=this._defaultLogLevel();return this._log(f,p)},c.prototype.debug=function(p){this._log("debug",p)},c.prototype.info=function(p){this._log("info",p)},c.prototype.warn=function(p){this._log("warning",p)},c.prototype.warning=function(p){this._log("warning",p)},c.prototype.error=function(p){this._log("error",p)},c.prototype.critical=function(p){this._log("critical",p)},c.prototype.wait=function(p){this.queue.wait(p)},c.prototype.captureEvent=function(p,f,h){return this.telemeter&&this.telemeter.captureEvent(p,f,h)},c.prototype.captureDomContentLoaded=function(p){return this.telemeter&&this.telemeter.captureDomContentLoaded(p)},c.prototype.captureLoad=function(p){return this.telemeter&&this.telemeter.captureLoad(p)},c.prototype.buildJsonPayload=function(p){return this.api.buildJsonPayload(p)},c.prototype.sendJsonPayload=function(p){this.api.postJsonPayload(p)},c.prototype._log=function(p,f){var h;if(f.callback&&(h=f.callback,delete f.callback),this.options.ignoreDuplicateErrors&&this._sameAsLastError(f)){if(h){var m=new Error("ignored identical item");m.item=f,h(m)}}else try{this._addTracingInfo(f),f.level=f.level||p,this.telemeter&&this.telemeter._captureRollbarItem(f),f.telemetryEvents=this.telemeter&&this.telemeter.copyEvents()||[],this.notifier.log(f,h)}catch(g){h&&h(g),this.logger.error(g)}},c.prototype._defaultLogLevel=function(){return this.options.logLevel||"debug"},c.prototype._sameAsLastError=function(p){if(!p._isUncaught)return!1;var f=function(h){var m=h.message||"",g=(h.err||{}).stack||String(h.err);return m+"::"+g}(p);return this.lastErrorHash===f||(this.lastError=p.err,this.lastErrorHash=f,!1)},c.prototype._addTracingInfo=function(p){if(this.tracer){var f=this.tracer.scope().active();if(function(g){if(!g||!g.context||typeof g.context!="function")return!1;var v=g.context();return!(!v||!v.toSpanId||!v.toTraceId||typeof v.toSpanId!="function"||typeof v.toTraceId!="function")}(f)){f.setTag("rollbar.error_uuid",p.uuid),f.setTag("rollbar.has_error",!0),f.setTag("error",!0),f.setTag("rollbar.item_url","https://rollbar.com/item/uuid/?uuid="+p.uuid),f.setTag("rollbar.occurrence_url","https://rollbar.com/occurrence/uuid/?uuid="+p.uuid);var h=f.context().toSpanId(),m=f.context().toTraceId();p.custom?(p.custom.opentracing_span_id=h,p.custom.opentracing_trace_id=m):p.custom={opentracing_span_id:h,opentracing_trace_id:m}}}},n.exports=c},function(n,r,i){var a=i(0);function s(c){this.startTime=a.now(),this.counter=0,this.perMinCounter=0,this.platform=null,this.platformOptions={},this.configureGlobal(c)}function o(c,u,d){return!c.ignoreRateLimit&&u>=1&&d>u}function l(c,u,d,p,f,h,m){var g=null;return d&&(d=new Error(d)),d||p||(g=function(v,_,w,y,T){var E,k=_.environment||_.payload&&_.payload.environment;E=T?"item per minute limit reached, ignoring errors until timeout":"maxItems has been hit, ignoring errors until reset.";var $={body:{message:{body:E,extra:{maxItems:w,itemsPerMinute:y}}},language:"javascript",environment:k,notifier:{version:_.notifier&&_.notifier.version||_.version}};return v==="browser"?($.platform="browser",$.framework="browser-js",$.notifier.name="rollbar-browser-js"):v==="server"?($.framework=_.framework||"node-js",$.notifier.name=_.notifier.name):v==="react-native"&&($.framework=_.framework||"react-native",$.notifier.name=_.notifier.name),$}(c,u,f,h,m)),{error:d,shouldSend:p,payload:g}}s.globalSettings={startTime:a.now(),maxItems:void 0,itemsPerMinute:void 0},s.prototype.configureGlobal=function(c){c.startTime!==void 0&&(s.globalSettings.startTime=c.startTime),c.maxItems!==void 0&&(s.globalSettings.maxItems=c.maxItems),c.itemsPerMinute!==void 0&&(s.globalSettings.itemsPerMinute=c.itemsPerMinute)},s.prototype.shouldSend=function(c,u){var d=(u=u||a.now())-this.startTime;(d<0||d>=6e4)&&(this.startTime=u,this.perMinCounter=0);var p=s.globalSettings.maxItems,f=s.globalSettings.itemsPerMinute;if(o(c,p,this.counter))return l(this.platform,this.platformOptions,p+" max items reached",!1);if(o(c,f,this.perMinCounter))return l(this.platform,this.platformOptions,f+" items per minute reached",!1);this.counter++,this.perMinCounter++;var h=!o(c,p,this.counter),m=h;return h=h&&!o(c,f,this.perMinCounter),l(this.platform,this.platformOptions,null,h,p,f,m)},s.prototype.setPlatformOptions=function(c,u){this.platform=c,this.platformOptions=u},n.exports=s},function(n,r,i){var a=Object.prototype.hasOwnProperty,s=Object.prototype.toString,o=function(l){if(!l||s.call(l)!=="[object Object]")return!1;var c,u=a.call(l,"constructor"),d=l.constructor&&l.constructor.prototype&&a.call(l.constructor.prototype,"isPrototypeOf");if(l.constructor&&!u&&!d)return!1;for(c in l);return c===void 0||a.call(l,c)};n.exports=function l(){var c,u,d,p,f,h={},m=null,g=arguments.length;for(c=0;c<g;c++)if((m=arguments[c])!=null)for(f in m)u=h[f],h!==(d=m[f])&&(d&&o(d)?(p=u&&o(u)?u:{},h[f]=l(p,d)):d!==void 0&&(h[f]=d));return h}},function(n,r,i){var a=i(0);function s(l,c,u,d){this.rateLimiter=l,this.api=c,this.logger=u,this.options=d,this.predicates=[],this.pendingItems=[],this.pendingRequests=[],this.retryQueue=[],this.retryHandle=null,this.waitCallback=null,this.waitIntervalID=null}s.prototype.configure=function(l){this.api&&this.api.configure(l);var c=this.options;return this.options=a.merge(c,l),this},s.prototype.addPredicate=function(l){return a.isFunction(l)&&this.predicates.push(l),this},s.prototype.addPendingItem=function(l){this.pendingItems.push(l)},s.prototype.removePendingItem=function(l){var c=this.pendingItems.indexOf(l);c!==-1&&this.pendingItems.splice(c,1)},s.prototype.addItem=function(l,c,u,d){c&&a.isFunction(c)||(c=function(){});var p=this._applyPredicates(l);if(p.stop)return this.removePendingItem(d),void c(p.err);if(this._maybeLog(l,u),this.removePendingItem(d),this.options.transmit){this.pendingRequests.push(l);try{this._makeApiRequest(l,function(f,h){this._dequeuePendingRequest(l),c(f,h)}.bind(this))}catch(f){this._dequeuePendingRequest(l),c(f)}}else c(new Error("Transmit disabled"))},s.prototype.wait=function(l){a.isFunction(l)&&(this.waitCallback=l,this._maybeCallWait()||(this.waitIntervalID&&(this.waitIntervalID=clearInterval(this.waitIntervalID)),this.waitIntervalID=setInterval(function(){this._maybeCallWait()}.bind(this),500)))},s.prototype._applyPredicates=function(l){for(var c=null,u=0,d=this.predicates.length;u<d;u++)if(!(c=this.predicates[u](l,this.options))||c.err!==void 0)return{stop:!0,err:c.err};return{stop:!1,err:null}},s.prototype._makeApiRequest=function(l,c){var u=this.rateLimiter.shouldSend(l);u.shouldSend?this.api.postItem(l,function(d,p){d?this._maybeRetry(d,l,c):c(d,p)}.bind(this)):u.error?c(u.error):this.api.postItem(u.payload,c)};var o=["ECONNRESET","ENOTFOUND","ESOCKETTIMEDOUT","ETIMEDOUT","ECONNREFUSED","EHOSTUNREACH","EPIPE","EAI_AGAIN"];s.prototype._maybeRetry=function(l,c,u){var d=!1;if(this.options.retryInterval){for(var p=0,f=o.length;p<f;p++)if(l.code===o[p]){d=!0;break}}d?this._retryApiRequest(c,u):u(l)},s.prototype._retryApiRequest=function(l,c){this.retryQueue.push({item:l,callback:c}),this.retryHandle||(this.retryHandle=setInterval(function(){for(;this.retryQueue.length;){var u=this.retryQueue.shift();this._makeApiRequest(u.item,u.callback)}}.bind(this),this.options.retryInterval))},s.prototype._dequeuePendingRequest=function(l){var c=this.pendingRequests.indexOf(l);c!==-1&&(this.pendingRequests.splice(c,1),this._maybeCallWait())},s.prototype._maybeLog=function(l,c){if(this.logger&&this.options.verbose){var u=c;if(u=(u=u||a.get(l,"body.trace.exception.message"))||a.get(l,"body.trace_chain.0.exception.message"))return void this.logger.error(u);(u=a.get(l,"body.message.body"))&&this.logger.log(u)}},s.prototype._maybeCallWait=function(){return!(!a.isFunction(this.waitCallback)||this.pendingItems.length!==0||this.pendingRequests.length!==0)&&(this.waitIntervalID&&(this.waitIntervalID=clearInterval(this.waitIntervalID)),this.waitCallback(),!0)},n.exports=s},function(n,r,i){var a=i(0);function s(o,l){this.queue=o,this.options=l,this.transforms=[],this.diagnostic={}}s.prototype.configure=function(o){this.queue&&this.queue.configure(o);var l=this.options;return this.options=a.merge(l,o),this},s.prototype.addTransform=function(o){return a.isFunction(o)&&this.transforms.push(o),this},s.prototype.log=function(o,l){if(l&&a.isFunction(l)||(l=function(){}),!this.options.enabled)return l(new Error("Rollbar is not enabled"));this.queue.addPendingItem(o);var c=o.err;this._applyTransforms(o,function(u,d){if(u)return this.queue.removePendingItem(o),l(u,null);this.queue.addItem(d,l,c,o)}.bind(this))},s.prototype._applyTransforms=function(o,l){var c=-1,u=this.transforms.length,d=this.transforms,p=this.options,f=function(h,m){h?l(h,null):++c!==u?d[c](m,p,f):l(null,m)};f(null,o)},n.exports=s},function(n,r,i){var a=i(0),s=i(16),o={hostname:"api.rollbar.com",path:"/api/1/item/",search:null,version:"1",protocol:"https:",port:443};function l(u,d,p,f,h){this.options=u,this.transport=d,this.url=p,this.truncation=f,this.jsonBackup=h,this.accessToken=u.accessToken,this.transportOptions=c(u,p)}function c(u,d){return s.getTransportFromOptions(u,o,d)}l.prototype.postItem=function(u,d){var p=s.transportOptions(this.transportOptions,"POST"),f=s.buildPayload(this.accessToken,u,this.jsonBackup);this.transport.post(this.accessToken,p,f,d)},l.prototype.buildJsonPayload=function(u,d){var p,f=s.buildPayload(this.accessToken,u,this.jsonBackup);return(p=this.truncation?this.truncation.truncate(f):a.stringify(f)).error?(d&&d(p.error),null):p.value},l.prototype.postJsonPayload=function(u,d){var p=s.transportOptions(this.transportOptions,"POST");this.transport.postJsonPayload(this.accessToken,p,u,d)},l.prototype.configure=function(u){var d=this.oldOptions;return this.options=a.merge(d,u),this.transportOptions=c(this.options,this.url),this.options.accessToken!==void 0&&(this.accessToken=this.options.accessToken),this},n.exports=l},function(n,r,i){var a=i(0);n.exports={buildPayload:function(s,o,l){if(!a.isType(o.context,"string")){var c=a.stringify(o.context,l);c.error?o.context="Error: could not serialize 'context'":o.context=c.value||"",o.context.length>255&&(o.context=o.context.substr(0,255))}return{access_token:s,data:o}},getTransportFromOptions:function(s,o,l){var c=o.hostname,u=o.protocol,d=o.port,p=o.path,f=o.search,h=s.proxy;if(s.endpoint){var m=l.parse(s.endpoint);c=m.hostname,u=m.protocol,d=m.port,p=m.pathname,f=m.search}return{hostname:c,protocol:u,port:d,path:p,search:f,proxy:h}},transportOptions:function(s,o){var l=s.protocol||"https:",c=s.port||(l==="http:"?80:l==="https:"?443:void 0),u=s.hostname,d=s.path;return s.search&&(d+=s.search),s.proxy&&(d=l+"//"+u+d,u=s.proxy.host||s.proxy.hostname,c=s.proxy.port,l=s.proxy.protocol||l),{protocol:l,hostname:u,path:d,port:c,method:o}},appendPathToPath:function(s,o){var l=/\/$/.test(s),c=/^\//.test(o);return l&&c?o=o.substring(1):l||c||(o="/"+o),s+o}}},function(n,r){(function(i){i.console||(i.console={});for(var a,s,o=i.console,l=function(){},c=["memory"],u="assert,clear,count,debug,dir,dirxml,error,exception,group,groupCollapsed,groupEnd,info,log,markTimeline,profile,profiles,profileEnd,show,table,time,timeEnd,timeline,timelineEnd,timeStamp,trace,warn".split(",");a=c.pop();)o[a]||(o[a]={});for(;s=u.pop();)o[s]||(o[s]=l)})(typeof window>"u"?this:window)},function(n,r,i){var a={ieVersion:function(){if(typeof document<"u"){for(var s=3,o=document.createElement("div"),l=o.getElementsByTagName("i");o.innerHTML="<!--[if gt IE "+ ++s+"]><i></i><![endif]-->",l[0];);return s>4?s:void 0}}};n.exports=a},function(n,r,i){function a(s,o,l,c){s._rollbarWrappedError&&(c[4]||(c[4]=s._rollbarWrappedError),c[5]||(c[5]=s._rollbarWrappedError._rollbarContext),s._rollbarWrappedError=null);var u=o.handleUncaughtException.apply(o,c);l&&l.apply(s,c),u==="anonymous"&&(o.anonymousErrorsPending+=1)}n.exports={captureUncaughtExceptions:function(s,o,l){if(s){var c;if(typeof o._rollbarOldOnError=="function")c=o._rollbarOldOnError;else if(s.onerror){for(c=s.onerror;c._rollbarOldOnError;)c=c._rollbarOldOnError;o._rollbarOldOnError=c}o.handleAnonymousErrors();var u=function(){var d=Array.prototype.slice.call(arguments,0);a(s,o,c,d)};l&&(u._rollbarOldOnError=c),s.onerror=u}},captureUnhandledRejections:function(s,o,l){if(s){typeof s._rollbarURH=="function"&&s._rollbarURH.belongsToShim&&s.removeEventListener("unhandledrejection",s._rollbarURH);var c=function(u){var d,p,f;try{d=u.reason}catch{d=void 0}try{p=u.promise}catch{p="[unhandledrejection] error getting `promise` from event"}try{f=u.detail,!d&&f&&(d=f.reason,p=f.promise)}catch{}d||(d="[unhandledrejection] error getting `reason` from event"),o&&o.handleUnhandledRejection&&o.handleUnhandledRejection(d,p)};c.belongsToShim=l,s._rollbarURH=c,s.addEventListener("unhandledrejection",c)}}}},function(n,r,i){var a=i(0),s=i(1);function o(d){this.truncation=d}function l(d,p,f,h,m,g){var v=typeof window<"u"&&window||typeof self<"u"&&self,_=v&&v.Zone&&v.Zone.current;_&&_._name==="angular"?_._parent.run(function(){c(d,p,f,h,m,g)}):c(d,p,f,h,m,g)}function c(d,p,f,h,m,g){if(typeof RollbarProxy<"u")return function(y,T){new RollbarProxy().sendJsonPayload(y,function(E){},function(E){T(new Error(E))})}(h,m);var v;if(!(v=g?g():function(){var y,T,E=[function(){return new XMLHttpRequest},function(){return new ActiveXObject("Msxml2.XMLHTTP")},function(){return new ActiveXObject("Msxml3.XMLHTTP")},function(){return new ActiveXObject("Microsoft.XMLHTTP")}],k=E.length;for(T=0;T<k;T++)try{y=E[T]();break}catch{}return y}()))return m(new Error("No way to send a request"));try{try{var _=function(){try{if(_&&v.readyState===4){_=void 0;var y=a.jsonParse(v.responseText);if((k=v)&&k.status&&k.status===200)return void m(y.error,y.value);if(function($){return $&&a.isType($.status,"number")&&$.status>=400&&$.status<600}(v)){if(v.status===403){var T=y.value&&y.value.message;s.error(T)}m(new Error(String(v.status)))}else m(u("XHR response had no status code (likely connection failure)"))}}catch($){var E;E=$&&$.stack?$:new Error($),m(E)}var k};v.open(f,p,!0),v.setRequestHeader&&(v.setRequestHeader("Content-Type","application/json"),v.setRequestHeader("X-Rollbar-Access-Token",d)),v.onreadystatechange=_,v.send(h)}catch{if(typeof XDomainRequest<"u"){if(!window||!window.location)return m(new Error("No window available during request, unknown environment"));window.location.href.substring(0,5)==="http:"&&p.substring(0,5)==="https"&&(p="http"+p.substring(5));var w=new XDomainRequest;w.onprogress=function(){},w.ontimeout=function(){m(u("Request timed out","ETIMEDOUT"))},w.onerror=function(){m(new Error("Error during request"))},w.onload=function(){var T=a.jsonParse(w.responseText);m(T.error,T.value)},w.open(f,p,!0),w.send(h)}else m(new Error("Cannot find a method to transport a request"))}}catch(y){m(y)}}function u(d,p){var f=new Error(d);return f.code=p||"ENOTFOUND",f}o.prototype.get=function(d,p,f,h,m){h&&a.isFunction(h)||(h=function(){}),a.addParamsAndAccessTokenToPath(d,p,f),l(d,a.formatUrl(p),"GET",null,h,m)},o.prototype.post=function(d,p,f,h,m){if(h&&a.isFunction(h)||(h=function(){}),!f)return h(new Error("Cannot send empty request"));var g;if((g=this.truncation?this.truncation.truncate(f):a.stringify(f)).error)return h(g.error);var v=g.value;l(d,a.formatUrl(p),"POST",v,h,m)},o.prototype.postJsonPayload=function(d,p,f,h,m){h&&a.isFunction(h)||(h=function(){}),l(d,a.formatUrl(p),"POST",f,h,m)},n.exports=o},function(n,r,i){var a=i(0),s=i(3),o=i(1);function l(p,f,h){var m=p.message,g=p.custom;m||(m="Item sent with null or missing arguments.");var v={body:m};g&&(v.extra=a.merge(g)),a.set(p,"data.body",{message:v}),h(null,p)}function c(p){var f=p.stackInfo.stack;return f&&f.length===0&&p._unhandledStackInfo&&p._unhandledStackInfo.stack&&(f=p._unhandledStackInfo.stack),f}function u(p,f,h){var m=p&&p.data.description,g=p&&p.custom,v=c(p),_=s.guessErrorClass(f.message),w={exception:{class:d(f,_[0],h),message:_[1]}};if(m&&(w.exception.description=m),v){var y,T,E,k,$,C,I,M;for(v.length===0&&(w.exception.stack=f.rawStack,w.exception.raw=String(f.rawException)),w.frames=[],I=0;I<v.length;++I)T={filename:(y=v[I]).url?a.sanitizeUrl(y.url):"(unknown)",lineno:y.line||null,method:y.func&&y.func!=="?"?y.func:"[anonymous]",colno:y.column},h.sendFrameUrl&&(T.url=y.url),T.method&&T.method.endsWith&&T.method.endsWith("_rollbar_wrapped")||(E=k=$=null,(C=y.context?y.context.length:0)&&(M=Math.floor(C/2),k=y.context.slice(0,M),E=y.context[M],$=y.context.slice(M)),E&&(T.code=E),(k||$)&&(T.context={},k&&k.length&&(T.context.pre=k),$&&$.length&&(T.context.post=$)),y.args&&(T.args=y.args),w.frames.push(T));w.frames.reverse(),g&&(w.extra=a.merge(g))}return w}function d(p,f,h){return p.name?p.name:h.guessErrorClass?f:"(unknown)"}n.exports={handleDomException:function(p,f,h){if(p.err&&s.Stack(p.err).name==="DOMException"){var m=new Error;m.name=p.err.name,m.message=p.err.message,m.stack=p.err.stack,m.nested=p.err,p.err=m}h(null,p)},handleItemWithError:function(p,f,h){if(p.data=p.data||{},p.err)try{p.stackInfo=p.err._savedStackTrace||s.parse(p.err,p.skipFrames),f.addErrorContext&&function(m){var g=[],v=m.err;for(g.push(v);v.nested;)v=v.nested,g.push(v);a.addErrorContext(m,g)}(p)}catch(m){o.error("Error while parsing the error object.",m);try{p.message=p.err.message||p.err.description||p.message||String(p.err)}catch(g){p.message=String(p.err)||String(g)}delete p.err}h(null,p)},ensureItemHasSomethingToSay:function(p,f,h){p.message||p.stackInfo||p.custom||h(new Error("No message, stack info, or custom data"),null),h(null,p)},addBaseInfo:function(p,f,h){var m=f.payload&&f.payload.environment||f.environment;p.data=a.merge(p.data,{environment:m,level:p.level,endpoint:f.endpoint,platform:"browser",framework:"browser-js",language:"javascript",server:{},uuid:p.uuid,notifier:{name:"rollbar-browser-js",version:f.version},custom:p.custom}),h(null,p)},addRequestInfo:function(p){return function(f,h,m){if(!p||!p.location)return m(null,f);var g="$remote_ip";h.captureIp?h.captureIp!==!0&&(g+="_anonymize"):g=null,a.set(f,"data.request",{url:p.location.href,query_string:p.location.search,user_ip:g}),m(null,f)}},addClientInfo:function(p){return function(f,h,m){if(!p)return m(null,f);var g=p.navigator||{},v=p.screen||{};a.set(f,"data.client",{runtime_ms:f.timestamp-p._rollbarStartTime,timestamp:Math.round(f.timestamp/1e3),javascript:{browser:g.userAgent,language:g.language,cookie_enabled:g.cookieEnabled,screen:{width:v.width,height:v.height}}}),m(null,f)}},addPluginInfo:function(p){return function(f,h,m){if(!p||!p.navigator)return m(null,f);for(var g,v=[],_=p.navigator.plugins||[],w=0,y=_.length;w<y;++w)g=_[w],v.push({name:g.name,description:g.description});a.set(f,"data.client.javascript.plugins",v),m(null,f)}},addBody:function(p,f,h){p.stackInfo?p.stackInfo.traceChain?function(m,g,v){for(var _=m.stackInfo.traceChain,w=[],y=_.length,T=0;T<y;T++){var E=u(m,_[T],g);w.push(E)}a.set(m,"data.body",{trace_chain:w}),v(null,m)}(p,f,h):function(m,g,v){if(c(m)){var _=u(m,m.stackInfo,g);a.set(m,"data.body",{trace:_}),v(null,m)}else{var w=m.stackInfo,y=s.guessErrorClass(w.message),T=d(w,y[0],g),E=y[1];m.message=T+": "+E,l(m,g,v)}}(p,f,h):l(p,f,h)},addScrubber:function(p){return function(f,h,m){if(p){var g=h.scrubFields||[],v=h.scrubPaths||[];f.data=p(f.data,g,v)}m(null,f)}}}},function(n,r,i){var a,s,o;(function(l,c){s=[i(23)],(o=typeof(a=function(u){var d=/(^|@)\S+:\d+/,p=/^\s*at .*(\S+:\d+|\(native\))/m,f=/^(eval@)?(\[native code])?$/;return{parse:function(h){if(h.stacktrace!==void 0||h["opera#sourceloc"]!==void 0)return this.parseOpera(h);if(h.stack&&h.stack.match(p))return this.parseV8OrIE(h);if(h.stack)return this.parseFFOrSafari(h);throw new Error("Cannot parse given Error object")},extractLocation:function(h){if(h.indexOf(":")===-1)return[h];var m=/(.+?)(?::(\d+))?(?::(\d+))?$/.exec(h.replace(/[()]/g,""));return[m[1],m[2]||void 0,m[3]||void 0]},parseV8OrIE:function(h){return h.stack.split(`
484
484
  `).filter(function(m){return!!m.match(p)},this).map(function(m){m.indexOf("(eval ")>-1&&(m=m.replace(/eval code/g,"eval").replace(/(\(eval at [^()]*)|(\),.*$)/g,""));var g=m.replace(/^\s+/,"").replace(/\(eval code/g,"("),v=g.match(/ (\((.+):(\d+):(\d+)\)$)/),_=(g=v?g.replace(v[0],""):g).split(/\s+/).slice(1),w=this.extractLocation(v?v[1]:_.pop()),y=_.join(" ")||void 0,T=["eval","<anonymous>"].indexOf(w[0])>-1?void 0:w[0];return new u({functionName:y,fileName:T,lineNumber:w[1],columnNumber:w[2],source:m})},this)},parseFFOrSafari:function(h){return h.stack.split(`
485
485
  `).filter(function(m){return!m.match(f)},this).map(function(m){if(m.indexOf(" > eval")>-1&&(m=m.replace(/ line (\d+)(?: > eval line \d+)* > eval:\d+:\d+/g,":$1")),m.indexOf("@")===-1&&m.indexOf(":")===-1)return new u({functionName:m});var g=/((.*".+"[^@]*)?[^@]*)(?:@)/,v=m.match(g),_=v&&v[1]?v[1]:void 0,w=this.extractLocation(m.replace(g,""));return new u({functionName:_,fileName:w[0],lineNumber:w[1],columnNumber:w[2],source:m})},this)},parseOpera:function(h){return!h.stacktrace||h.message.indexOf(`
486
486
  `)>-1&&h.message.split(`
@@ -495,7 +495,7 @@ $t(documentTemplateView.smsContent) $t(documentTemplateView.readMore)
495
495
  `+a+j.join(`,
496
496
  `+a)+`
497
497
  `+S+"}":"{"+j.join(",")+"}",a=S,L}}("",{"":E})}),typeof i.parse!="function"&&(i.parse=(h={"\\":"\\",'"':'"',"/":"/",t:" ",n:`
498
- `,r:"\r",f:"\f",b:"\b"},m={go:function(){c="ok"},firstokey:function(){p=f,c="colon"},okey:function(){p=f,c="colon"},ovalue:function(){c="ocomma"},firstavalue:function(){c="acomma"},avalue:function(){c="acomma"}},g={go:function(){c="ok"},ovalue:function(){c="ocomma"},firstavalue:function(){c="acomma"},avalue:function(){c="acomma"}},v={"{":{go:function(){u.push({state:"ok"}),d={},c="firstokey"},ovalue:function(){u.push({container:d,state:"ocomma",key:p}),d={},c="firstokey"},firstavalue:function(){u.push({container:d,state:"acomma"}),d={},c="firstokey"},avalue:function(){u.push({container:d,state:"acomma"}),d={},c="firstokey"}},"}":{firstokey:function(){var E=u.pop();f=d,d=E.container,p=E.key,c=E.state},ocomma:function(){var E=u.pop();d[p]=f,f=d,d=E.container,p=E.key,c=E.state}},"[":{go:function(){u.push({state:"ok"}),d=[],c="firstavalue"},ovalue:function(){u.push({container:d,state:"ocomma",key:p}),d=[],c="firstavalue"},firstavalue:function(){u.push({container:d,state:"acomma"}),d=[],c="firstavalue"},avalue:function(){u.push({container:d,state:"acomma"}),d=[],c="firstavalue"}},"]":{firstavalue:function(){var E=u.pop();f=d,d=E.container,p=E.key,c=E.state},acomma:function(){var E=u.pop();d.push(f),f=d,d=E.container,p=E.key,c=E.state}},":":{colon:function(){if(Object.hasOwnProperty.call(d,p))throw new SyntaxError("Duplicate key '"+p+'"');c="ovalue"}},",":{ocomma:function(){d[p]=f,c="okey"},acomma:function(){d.push(f),c="avalue"}},true:{go:function(){f=!0,c="ok"},ovalue:function(){f=!0,c="ocomma"},firstavalue:function(){f=!0,c="acomma"},avalue:function(){f=!0,c="acomma"}},false:{go:function(){f=!1,c="ok"},ovalue:function(){f=!1,c="ocomma"},firstavalue:function(){f=!1,c="acomma"},avalue:function(){f=!1,c="acomma"}},null:{go:function(){f=null,c="ok"},ovalue:function(){f=null,c="ocomma"},firstavalue:function(){f=null,c="acomma"},avalue:function(){f=null,c="acomma"}}},function(E,k){var $,C,I=/^[\u0020\t\n\r]*(?:([,:\[\]{}]|true|false|null)|(-?\d+(?:\.\d*)?(?:[eE][+\-]?\d+)?)|"((?:[^\r\n\t\\\"]|\\(?:["\\\/trnfb]|u[0-9a-fA-F]{4}))*)")/;c="go",u=[];try{for(;$=I.exec(E);)$[1]?v[$[1]][c]():$[2]?(f=+$[2],g[c]()):(C=$[3],f=C.replace(/\\(?:u(.{4})|([^u]))/g,function(M,O,A){return O?String.fromCharCode(parseInt(O,16)):h[A]}),m[c]()),E=E.slice($[0].length)}catch(M){c=M}if(c!=="ok"||/[^\u0020\t\n\r]/.test(E))throw c instanceof SyntaxError?c:new SyntaxError("JSON");return typeof k=="function"?function M(O,A){var P,L,F=O[A];if(F&&typeof F=="object")for(P in f)Object.prototype.hasOwnProperty.call(F,P)&&((L=M(F,P))!==void 0?F[P]=L:delete F[P]);return k.call(O,A,F)}({"":f},""):f}))}},function(n,r,i){function a(s,o,l){if(o.hasOwnProperty&&o.hasOwnProperty("addEventListener")){for(var c=o.addEventListener;c._rollbarOldAdd&&c.belongsToShim;)c=c._rollbarOldAdd;var u=function(f,h,m){c.call(this,f,s.wrap(h),m)};u._rollbarOldAdd=c,u.belongsToShim=l,o.addEventListener=u;for(var d=o.removeEventListener;d._rollbarOldRemove&&d.belongsToShim;)d=d._rollbarOldRemove;var p=function(f,h,m){d.call(this,f,h&&h._rollbar_wrapped||h,m)};p._rollbarOldRemove=d,p.belongsToShim=l,o.removeEventListener=p}}n.exports=function(s,o,l){if(s){var c,u,d="EventTarget,Window,Node,ApplicationCache,AudioTrackList,ChannelMergerNode,CryptoOperation,EventSource,FileReader,HTMLUnknownElement,IDBDatabase,IDBRequest,IDBTransaction,KeyOperation,MediaController,MessagePort,ModalWindow,Notification,SVGElementInstance,Screen,TextTrack,TextTrackCue,TextTrackList,WebSocket,WebSocketWorker,Worker,XMLHttpRequest,XMLHttpRequestEventTarget,XMLHttpRequestUpload".split(",");for(c=0;c<d.length;++c)s[u=d[c]]&&s[u].prototype&&a(o,s[u].prototype,l)}}},function(n,r,i){var a=i(0),s=i(5);function o(m,g){return[m,a.stringify(m,g)]}function l(m,g){var v=m.length;return v>2*g?m.slice(0,g).concat(m.slice(v-g)):m}function c(m,g,v){v=v===void 0?30:v;var _,w=m.data.body;if(w.trace_chain)for(var y=w.trace_chain,T=0;T<y.length;T++)_=l(_=y[T].frames,v),y[T].frames=_;else w.trace&&(_=l(_=w.trace.frames,v),w.trace.frames=_);return[m,a.stringify(m,g)]}function u(m,g){return g&&g.length>m?g.slice(0,m-3).concat("..."):g}function d(m,g,v){return[g=s(g,function _(w,y,T){switch(a.typeName(y)){case"string":return u(m,y);case"object":case"array":return s(y,_,T);default:return y}}),a.stringify(g,v)]}function p(m){return m.exception&&(delete m.exception.description,m.exception.message=u(255,m.exception.message)),m.frames=l(m.frames,1),m}function f(m,g){var v=m.data.body;if(v.trace_chain)for(var _=v.trace_chain,w=0;w<_.length;w++)_[w]=p(_[w]);else v.trace&&(v.trace=p(v.trace));return[m,a.stringify(m,g)]}function h(m,g){return a.maxByteSize(m)>g}n.exports={truncate:function(m,g,v){v=v===void 0?524288:v;for(var _,w,y,T=[o,c,d.bind(null,1024),d.bind(null,512),d.bind(null,256),f];_=T.shift();)if(m=(w=_(m,g))[0],(y=w[1]).error||!h(y.value,v))return y;return y},raw:o,truncateFrames:c,truncateStrings:d,maybeTruncateValue:u}}])})})(sA);const pae=os(sA.exports),fae=ie.rollbar.clientToken,hae=new pae({accessToken:fae,captureUncaught:!0,captureUnhandledRejections:!0,source_map_enabled:!0,environment:ie.rollbar.environment||ie.environment,enabled:!1,ignoredMessages:["The operation is insecure","Script error.","null is not an object (evaluating 'localStorage.getItem')","Unexpected token '<'","expected expression, got '<'","ChunkLoadError","Loading chunk","ResizeObserver loop limit exceeded","Failed to update a ServiceWorker for scope","Object Not Found Matching Id","newestWorker is null"],payload:{client:{javascript:{code_version:"0.7.3",source_map_enabled:!0,guess_uncaught_frames:!0}}},transform:t=>{const{trace:e}=t.body;if(e&&e.frames)for(let n=0;n<e.frames.length;n++){const{filename:r}=e.frames[n];r&&(e.frames[n].filename=e.frames[n].filename.replace(ie.baseUrl,"https://dynamichost"))}}}),{UPDATE_VIEW_SETTINGS:zs,LOAD_USER_POSITION:mae,LOAD_USER:Gs,LOGIN_USER:Td,LOGIN_AUTH_TOKEN:oA,AUTH_3RD_PARTY_USER:lA,SWITCH_CONNECTED_USER:cA,LOGOUT_USER:wd,REGISTER_USER:uA,RESET_USER_PASSWORD:dA}=Il,{DO_LOAD_CURRENT_COMPANY:gae,DO_LOAD_ALL_SETTINGS:vae,DO_NORMALIZE_COMPANY_USERS:yae,LOAD_UNREAD_NOTIFICATIONS:_ae}=ce,{SET_USER_LOCATION:bae,SET_USER:Et}=ot,pA=t=>Q.te(`errors:${t}`)&&Q.t(`errors:${t}`),Eae={async[Gs]({commit:t,getters:e,dispatch:n}){var r,i;try{if(!_e.getItem("token")){_e.removeItem("tokenExpire"),_e.removeItem("refreshToken"),t(Et,{userId:null,companyId:null,crispUserHash:null}),this.$router.push({name:"Login"});return}const{data:a}=await Ut.get("/companyUser/self");let s=[];a.isSlave&&!a.verifiedEmailAt||({data:s}=await GO.getConnectedUsers());const{id:o,CompanyId:l,crispUserHash:c,language:u,locale:d}=a;u&&Q.i18next.changeLanguage(u),d&&Q.l10n.changeLocale(d),await this.dispatch(yae,{companyUsers:[{...a,connectedUsers:s}]}),t(Et,{userId:o,companyId:l,crispUserHash:c}),await this.dispatch(gae),await this.dispatch(vae),this._vm.$cookiePreference!=="all"&&(this._vm.$cookiePreference="all"),this.hasModule("notifications")&&!this.getters["notifications/isFetching"]&&this.dispatch(_ae,{throttleTime:5});const{user:p,company:f,isQualified:h}=e;if(p){let m="";(p.firstname||p.lastname)&&(m=p.fullName),hae.configure({payload:{person:{id:p.id,username:m||null,email:p.email||null}}}),(r=this.$supportChat)==null||r.syncData(),(i=this.$trackEvent)==null||i.call(this,"loadUser",{companyUserId:p.id})}}catch(a){this.handleError(a,{action:Gs,actionPayload:null}),n(wd)}},async[Td]({commit:t,dispatch:e},{email:n,password:r,doRedirect:i=!0,doLoadUser:a=!0,superUserId:s=null,responseType:o=null,code:l=null}){try{t(Et,{isLoggingIn:!0}),e(zs,{view:"login",settings:{error:null}});let c;if(s?({data:c}=await Ut.post("/auth/employee",{email:n,password:r,CompanyUserId:s}),_e.setItem("isClingEmployee",!0)):l?({data:c}=await Ut.post("/oauth2/token",{code:l,client_id:ie.clientId,grant_type:"authorization_code",brand:this._vm.$brand,...Lu(this._vm.$view)}),c={token:c.access_token,tokenExpires:c.expires_in,refreshToken:c.refresh_token}):{data:c}=await Ut.post("/auth/companyUser",{email:n,password:r,response_type:o,...Lu(this._vm.$view)}),o==="code"&&c.code)return t(Et,{isLoggingIn:!1}),c;const{token:u,tokenExpires:d,refreshToken:p}=c;if(_e.setItem("token",u),_e.setItem("tokenExpires",d),_e.setItem("refreshToken",p),t(Et,{isLoggingIn:!1}),a&&await e(Gs),!i)return!0;const{redirect:f}=this.state.route.query||{};return f?(this.$router.push(f),!0):(this.$router.push({name:"account"}),!0)}catch(c){let u=Q.t("errors:fallback"),d=!1;if(c&&typeof c.getPayload=="function"){const p=c.getPayload();p&&p.axios&&p.axios.status===401&&(d=!0)}return d&&(u=Q.t("actions:loginUser.wrongCredentials")),e(zs,{view:"login",settings:{error:u}}),t(Et,{isLoggingIn:!1}),d||this.handleError(c,{action:Td,actionPayload:null}),!1}},async[oA]({commit:t,dispatch:e},{authToken:n,to:r,doRedirect:i=!0}){let a={};try{if(!n)throw new Error("Missing param authToken");if(!r&&i)throw new Error("Missing param to");t(Et,{isLoggingIn:!0}),r&&(a=Object.assign({},r.query),delete a.authtoken);const{data:s}=await iie(n,{...Lu(this._vm.$view)}),{token:o,tokenExpires:l,refreshToken:c}=s;if(_e.setItem("token",o),_e.setItem("tokenExpires",l),_e.setItem("refreshToken",c),await e(Gs),!i)return!0;this.$router.push({path:r.path,query:a})}catch(s){r!=null&&r.path&&(a.redirect=r==null?void 0:r.path),await e(wd,{next:{name:"Login",query:a}}),this.handleError(s,{action:oA,actionPayload:null})}finally{t(Et,{isLoggingIn:!1})}},async[lA]({commit:t,dispatch:e},{service:n,code:r}){t(Et,{isLoggingIn:!0});const i={isAuth:!1,isVerify:!1,company:null,companyUser:null,addedToExistingCompanyId:null,error:null};try{const{data:a}=await Av.signupWithCrm(n,{code:r,doLogin:!0,...Lu(this._vm.$view),brand:this._vm.$brand}),{addedToExistingCompanyId:s,authenticate:o}=a,{token:l,tokenExpires:c,refreshToken:u,company:d,companyUser:p}=o;return _e.setItem("token",l),_e.setItem("tokenExpires",c),_e.setItem("refreshToken",u),p&&p.isSlave&&!p.verifiedEmailAt?(i.companyUser=p,i.isVerify=!0,i):(await e(Gs),s&&(i.addedToExistingCompanyId=s),i.company=d,i.isAuth=!0,i)}catch(a){return this.handleError(a,{action:lA,actionPayload:null}),{isAuth:!1,isVerify:!1,company:null,companyUser:null,addedToExistingCompanyId:null,error:a.message}}finally{t(Et,{isLoggingIn:!1})}},async[cA]({commit:t,dispatch:e},{companyUserId:n,doRedirect:r=!0}){var i;try{if(typeof n>"u")throw new Error("Missing param companyUserId");t(Et,{isLoggingIn:!0});const{data:a}=await GO.getConnectedUserAuth(n),{token:s,tokenExpires:o,refreshToken:l}=a;_e.setItem("token",s),_e.setItem("tokenExpires",o),_e.setItem("refreshToken",l),this.commit("reset"),await e(Gs),r?this.$router.push({name:"account"}):(i=window.reloadApp)==null||i.call(window,!0)}catch(a){this.handleError(a,{action:cA,actionPayload:null})}finally{t(Et,{isLoggingIn:!1})}},async[uA]({commit:t,dispatch:e},{company:n,companyUser:r,termsVersion:i,voucherCode:a=null,source:s=null,region:o,language:l,currency:c,throwIfSlaveUser:u}){var d;try{const p={isAuth:!1,isVerify:!1,didNavigate:!1};if(e(zs,{view:"register",settings:{error:null}}),t(Et,{isRegistering:!0}),!n)throw new Error("Missing param company");if(!r)throw new Error("Missing param companyUser");if(!i)throw new Error("Missing param termsVersion");const{data:f}=await aie({Company:n,CompanyUser:r,voucherCode:a,source:s,region:o,language:l,currency:c,throwIfSlaveUser:u}),{CompanyUser:h}=f,m={type:"terms",version:i,identifier:h.email,object:"CompanyUser",objectId:h.id};if(await oie(m),h.isSlave)return p.isVerify=!0,p;const g=await e(Td,{email:r.email,password:r.password,doRedirect:!1});return p.isAuth=g,g&&((d=this.$trackEvent)==null||d.call(this,"register")),p}catch(p){if(Y(p,"payload.code")===4008&&u)throw p;if(p&&p.code){const f=pA(p.code);f&&e(zs,{view:"register",settings:{error:f}})}return this.handleError(p,{action:uA,actionPayload:null}),{isAuth:!1,isVerify:!1,didNavigate:!1}}finally{t(Et,{isRegistering:!1})}},async[dA]({commit:t,dispatch:e},{password:n,token:r,doRedirect:i=!0}){try{if(e(zs,{view:"register",settings:{error:null}}),t(Et,{isResettingPassword:!0}),!n)throw new Error("Missing param password");if(!r)throw new Error("Missing param token");const{data:a}=await sie(n,r),{email:s}=a;return await e(Td,{email:s,password:n,doRedirect:i}),!0}catch(a){if(a&&a.code){const s=pA(a.code);s&&e(zs,{view:"register",settings:{error:s}})}return this.handleError(a,{action:dA,actionPayload:null}),!1}finally{t(Et,{isResettingPassword:!1})}},[wd]({commit:t},{next:e}={}){try{_e.removeItem("token"),_e.removeItem("tokenExpires"),_e.removeItem("refreshToken"),this.commit("reset")}finally{t(Et,{isLoggingIn:!1,userId:null,companyId:null,crispUserHash:null})}if(e)try{return this.$router.replace(e)}catch(n){this.handleError(n,{action:wd,actionPayload:null})}return this.$router.replace({name:"Login"})},[mae]({commit:t}){navigator.geolocation.getCurrentPosition(({coords:e})=>{t(bae,[e.longitude,e.latitude])})}},Mv=new Map,{PUSH_MODAL:Tae,POP_MODAL:wae,SET_CAN_CLOSE_MODAL:Sae,SHOW_MESSAGE:kae,CLEAR_MESSAGE:Cae,CLEAR_MESSAGE_BY_ID:Oae,MESSAGE_ACTION:fA,UPDATE_VIEW_SETTINGS:Aae,RESET_VIEW_SETTINGS:$ae,SHOW_ERROR:xae,RESET_ERROR:Iae}=Il,Pae={...Eae,[Tae]({commit:t,state:e},n){const r={...n,_uniqueId:Rn.exports()};t(ot.SET_MODALS,[...e.modals,r])},[wae]({commit:t,state:e}){t(ot.SET_MODALS,e.modals.slice(0,-1))},[Sae]({commit:t},e){t(ot.SET_CAN_CLOSE_MODAL,e)},[kae]({commit:t,state:e},n){const{type:r,displayType:i="notification",time:a=5e3,title:s,message:o,closeButton:l,omit:c=""}=n,u={},d={};if((h=>h.split(",").some(m=>{const[g="foo",v="bar"]=m.split(":");return this._vm[g]===v}))(c))return;n.actions&&Object.keys(n.actions).forEach(h=>{const m=n.actions[h];if(typeof m=="object"&&!Array.isArray(m)){if(!m.fn&&!m.callback)throw Error(`No callback function provided for action ${h}`);u[h]=m.fn||m.callback,delete m.fn,delete m.callback,d[h]=m}else if(typeof m=="string")u[h]=m,d[h]={};else if(typeof m=="function")u[h]=m,d[h]={};else throw Error(`Action, ${h} , must be one of: object|string|function`)}),t(ot.ADD_MESSAGE,{actions:d,title:s,message:o,type:r,displayType:i,time:a,closeButton:l});const f=e.messages.slice(-1)[0];return Mv.set(f._uniqueId,u),f._uniqueId},[Cae]({commit:t,state:e},n){const r=e.messages[n]||{};t(ot.REMOVE_MESSAGE,n),Mv.delete(r._uniqueId)},[Oae]({dispatch:t,state:e},n){const r=e.messages.findIndex(i=>i._uniqueId===n);t(Il.CLEAR_MESSAGE,r)},[fA]({state:t,dispatch:e},{index:n,type:r}){try{const i={cancel:()=>e(Il.CLEAR_MESSAGE,n)},a=t.messages[n]||{};if(!a||!a._uniqueId)throw Error("message not found, failed to trigger action");const s=Mv.get(a._uniqueId);if(!s)throw Error("message has no actions, failed to trigger action");const o=s[r];if(!o)throw Error(`message has no action of type ${r}`);let l=o;if(typeof o=="string"&&(l=i[o],!l))throw Error(`No predefined action of type ${o}`);if(typeof l!="function")throw Error("Unable to extract function from message action");return l(a)}catch(i){return this.handleError(i,{action:fA,actionPayload:arguments[1],retries:0})}},[Aae]({commit:t},{view:e,settings:n}){t(ot.SET_VIEW_SETTINGS,{view:e,settings:n})},[$ae]({commit:t}){t(ot.RESET_VIEW_SETTINGS)},[xae]({commit:t},e){t(ot.SET_ERROR,e)},[Iae]({commit:t}){t(ot.RESET_ERROR)}};function Sd(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Dae(t,e){return Rae(t)||Mae(t,e)||Nae(t,e)||Lae()}function Rae(t){if(Array.isArray(t))return t}function Mae(t,e){if(!(typeof Symbol>"u"||!(Symbol.iterator in Object(t)))){var n=[],r=!0,i=!1,a=void 0;try{for(var s=t[Symbol.iterator](),o;!(r=(o=s.next()).done)&&(n.push(o.value),!(e&&n.length===e));r=!0);}catch(l){i=!0,a=l}finally{try{!r&&s.return!=null&&s.return()}finally{if(i)throw a}}return n}}function Nae(t,e){if(!!t){if(typeof t=="string")return hA(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);if(n==="Object"&&t.constructor&&(n=t.constructor.name),n==="Map"||n==="Set")return Array.from(t);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return hA(t,e)}}function hA(t,e){(e==null||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);n<e;n++)r[n]=t[n];return r}function Lae(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
498
+ `,r:"\r",f:"\f",b:"\b"},m={go:function(){c="ok"},firstokey:function(){p=f,c="colon"},okey:function(){p=f,c="colon"},ovalue:function(){c="ocomma"},firstavalue:function(){c="acomma"},avalue:function(){c="acomma"}},g={go:function(){c="ok"},ovalue:function(){c="ocomma"},firstavalue:function(){c="acomma"},avalue:function(){c="acomma"}},v={"{":{go:function(){u.push({state:"ok"}),d={},c="firstokey"},ovalue:function(){u.push({container:d,state:"ocomma",key:p}),d={},c="firstokey"},firstavalue:function(){u.push({container:d,state:"acomma"}),d={},c="firstokey"},avalue:function(){u.push({container:d,state:"acomma"}),d={},c="firstokey"}},"}":{firstokey:function(){var E=u.pop();f=d,d=E.container,p=E.key,c=E.state},ocomma:function(){var E=u.pop();d[p]=f,f=d,d=E.container,p=E.key,c=E.state}},"[":{go:function(){u.push({state:"ok"}),d=[],c="firstavalue"},ovalue:function(){u.push({container:d,state:"ocomma",key:p}),d=[],c="firstavalue"},firstavalue:function(){u.push({container:d,state:"acomma"}),d=[],c="firstavalue"},avalue:function(){u.push({container:d,state:"acomma"}),d=[],c="firstavalue"}},"]":{firstavalue:function(){var E=u.pop();f=d,d=E.container,p=E.key,c=E.state},acomma:function(){var E=u.pop();d.push(f),f=d,d=E.container,p=E.key,c=E.state}},":":{colon:function(){if(Object.hasOwnProperty.call(d,p))throw new SyntaxError("Duplicate key '"+p+'"');c="ovalue"}},",":{ocomma:function(){d[p]=f,c="okey"},acomma:function(){d.push(f),c="avalue"}},true:{go:function(){f=!0,c="ok"},ovalue:function(){f=!0,c="ocomma"},firstavalue:function(){f=!0,c="acomma"},avalue:function(){f=!0,c="acomma"}},false:{go:function(){f=!1,c="ok"},ovalue:function(){f=!1,c="ocomma"},firstavalue:function(){f=!1,c="acomma"},avalue:function(){f=!1,c="acomma"}},null:{go:function(){f=null,c="ok"},ovalue:function(){f=null,c="ocomma"},firstavalue:function(){f=null,c="acomma"},avalue:function(){f=null,c="acomma"}}},function(E,k){var $,C,I=/^[\u0020\t\n\r]*(?:([,:\[\]{}]|true|false|null)|(-?\d+(?:\.\d*)?(?:[eE][+\-]?\d+)?)|"((?:[^\r\n\t\\\"]|\\(?:["\\\/trnfb]|u[0-9a-fA-F]{4}))*)")/;c="go",u=[];try{for(;$=I.exec(E);)$[1]?v[$[1]][c]():$[2]?(f=+$[2],g[c]()):(C=$[3],f=C.replace(/\\(?:u(.{4})|([^u]))/g,function(M,O,A){return O?String.fromCharCode(parseInt(O,16)):h[A]}),m[c]()),E=E.slice($[0].length)}catch(M){c=M}if(c!=="ok"||/[^\u0020\t\n\r]/.test(E))throw c instanceof SyntaxError?c:new SyntaxError("JSON");return typeof k=="function"?function M(O,A){var P,L,F=O[A];if(F&&typeof F=="object")for(P in f)Object.prototype.hasOwnProperty.call(F,P)&&((L=M(F,P))!==void 0?F[P]=L:delete F[P]);return k.call(O,A,F)}({"":f},""):f}))}},function(n,r,i){function a(s,o,l){if(o.hasOwnProperty&&o.hasOwnProperty("addEventListener")){for(var c=o.addEventListener;c._rollbarOldAdd&&c.belongsToShim;)c=c._rollbarOldAdd;var u=function(f,h,m){c.call(this,f,s.wrap(h),m)};u._rollbarOldAdd=c,u.belongsToShim=l,o.addEventListener=u;for(var d=o.removeEventListener;d._rollbarOldRemove&&d.belongsToShim;)d=d._rollbarOldRemove;var p=function(f,h,m){d.call(this,f,h&&h._rollbar_wrapped||h,m)};p._rollbarOldRemove=d,p.belongsToShim=l,o.removeEventListener=p}}n.exports=function(s,o,l){if(s){var c,u,d="EventTarget,Window,Node,ApplicationCache,AudioTrackList,ChannelMergerNode,CryptoOperation,EventSource,FileReader,HTMLUnknownElement,IDBDatabase,IDBRequest,IDBTransaction,KeyOperation,MediaController,MessagePort,ModalWindow,Notification,SVGElementInstance,Screen,TextTrack,TextTrackCue,TextTrackList,WebSocket,WebSocketWorker,Worker,XMLHttpRequest,XMLHttpRequestEventTarget,XMLHttpRequestUpload".split(",");for(c=0;c<d.length;++c)s[u=d[c]]&&s[u].prototype&&a(o,s[u].prototype,l)}}},function(n,r,i){var a=i(0),s=i(5);function o(m,g){return[m,a.stringify(m,g)]}function l(m,g){var v=m.length;return v>2*g?m.slice(0,g).concat(m.slice(v-g)):m}function c(m,g,v){v=v===void 0?30:v;var _,w=m.data.body;if(w.trace_chain)for(var y=w.trace_chain,T=0;T<y.length;T++)_=l(_=y[T].frames,v),y[T].frames=_;else w.trace&&(_=l(_=w.trace.frames,v),w.trace.frames=_);return[m,a.stringify(m,g)]}function u(m,g){return g&&g.length>m?g.slice(0,m-3).concat("..."):g}function d(m,g,v){return[g=s(g,function _(w,y,T){switch(a.typeName(y)){case"string":return u(m,y);case"object":case"array":return s(y,_,T);default:return y}}),a.stringify(g,v)]}function p(m){return m.exception&&(delete m.exception.description,m.exception.message=u(255,m.exception.message)),m.frames=l(m.frames,1),m}function f(m,g){var v=m.data.body;if(v.trace_chain)for(var _=v.trace_chain,w=0;w<_.length;w++)_[w]=p(_[w]);else v.trace&&(v.trace=p(v.trace));return[m,a.stringify(m,g)]}function h(m,g){return a.maxByteSize(m)>g}n.exports={truncate:function(m,g,v){v=v===void 0?524288:v;for(var _,w,y,T=[o,c,d.bind(null,1024),d.bind(null,512),d.bind(null,256),f];_=T.shift();)if(m=(w=_(m,g))[0],(y=w[1]).error||!h(y.value,v))return y;return y},raw:o,truncateFrames:c,truncateStrings:d,maybeTruncateValue:u}}])})})(sA);const pae=os(sA.exports),fae=ie.rollbar.clientToken,hae=new pae({accessToken:fae,captureUncaught:!0,captureUnhandledRejections:!0,source_map_enabled:!0,environment:ie.rollbar.environment||ie.environment,enabled:!1,ignoredMessages:["The operation is insecure","Script error.","null is not an object (evaluating 'localStorage.getItem')","Unexpected token '<'","expected expression, got '<'","ChunkLoadError","Loading chunk","ResizeObserver loop limit exceeded","Failed to update a ServiceWorker for scope","Object Not Found Matching Id","newestWorker is null"],payload:{client:{javascript:{code_version:"0.7.4",source_map_enabled:!0,guess_uncaught_frames:!0}}},transform:t=>{const{trace:e}=t.body;if(e&&e.frames)for(let n=0;n<e.frames.length;n++){const{filename:r}=e.frames[n];r&&(e.frames[n].filename=e.frames[n].filename.replace(ie.baseUrl,"https://dynamichost"))}}}),{UPDATE_VIEW_SETTINGS:zs,LOAD_USER_POSITION:mae,LOAD_USER:Gs,LOGIN_USER:Td,LOGIN_AUTH_TOKEN:oA,AUTH_3RD_PARTY_USER:lA,SWITCH_CONNECTED_USER:cA,LOGOUT_USER:wd,REGISTER_USER:uA,RESET_USER_PASSWORD:dA}=Il,{DO_LOAD_CURRENT_COMPANY:gae,DO_LOAD_ALL_SETTINGS:vae,DO_NORMALIZE_COMPANY_USERS:yae,LOAD_UNREAD_NOTIFICATIONS:_ae}=ce,{SET_USER_LOCATION:bae,SET_USER:Et}=ot,pA=t=>Q.te(`errors:${t}`)&&Q.t(`errors:${t}`),Eae={async[Gs]({commit:t,getters:e,dispatch:n}){var r,i;try{if(!_e.getItem("token")){_e.removeItem("tokenExpire"),_e.removeItem("refreshToken"),t(Et,{userId:null,companyId:null,crispUserHash:null}),this.$router.push({name:"Login"});return}const{data:a}=await Ut.get("/companyUser/self");let s=[];a.isSlave&&!a.verifiedEmailAt||({data:s}=await GO.getConnectedUsers());const{id:o,CompanyId:l,crispUserHash:c,language:u,locale:d}=a;u&&Q.i18next.changeLanguage(u),d&&Q.l10n.changeLocale(d),await this.dispatch(yae,{companyUsers:[{...a,connectedUsers:s}]}),t(Et,{userId:o,companyId:l,crispUserHash:c}),await this.dispatch(gae),await this.dispatch(vae),this._vm.$cookiePreference!=="all"&&(this._vm.$cookiePreference="all"),this.hasModule("notifications")&&!this.getters["notifications/isFetching"]&&this.dispatch(_ae,{throttleTime:5});const{user:p,company:f,isQualified:h}=e;if(p){let m="";(p.firstname||p.lastname)&&(m=p.fullName),hae.configure({payload:{person:{id:p.id,username:m||null,email:p.email||null}}}),(r=this.$supportChat)==null||r.syncData(),(i=this.$trackEvent)==null||i.call(this,"loadUser",{companyUserId:p.id})}}catch(a){this.handleError(a,{action:Gs,actionPayload:null}),n(wd)}},async[Td]({commit:t,dispatch:e},{email:n,password:r,doRedirect:i=!0,doLoadUser:a=!0,superUserId:s=null,responseType:o=null,code:l=null}){try{t(Et,{isLoggingIn:!0}),e(zs,{view:"login",settings:{error:null}});let c;if(s?({data:c}=await Ut.post("/auth/employee",{email:n,password:r,CompanyUserId:s}),_e.setItem("isClingEmployee",!0)):l?({data:c}=await Ut.post("/oauth2/token",{code:l,client_id:ie.clientId,grant_type:"authorization_code",brand:this._vm.$brand,...Lu(this._vm.$view)}),c={token:c.access_token,tokenExpires:c.expires_in,refreshToken:c.refresh_token}):{data:c}=await Ut.post("/auth/companyUser",{email:n,password:r,response_type:o,...Lu(this._vm.$view)}),o==="code"&&c.code)return t(Et,{isLoggingIn:!1}),c;const{token:u,tokenExpires:d,refreshToken:p}=c;if(_e.setItem("token",u),_e.setItem("tokenExpires",d),_e.setItem("refreshToken",p),t(Et,{isLoggingIn:!1}),a&&await e(Gs),!i)return!0;const{redirect:f}=this.state.route.query||{};return f?(this.$router.push(f),!0):(this.$router.push({name:"account"}),!0)}catch(c){let u=Q.t("errors:fallback"),d=!1;if(c&&typeof c.getPayload=="function"){const p=c.getPayload();p&&p.axios&&p.axios.status===401&&(d=!0)}return d&&(u=Q.t("actions:loginUser.wrongCredentials")),e(zs,{view:"login",settings:{error:u}}),t(Et,{isLoggingIn:!1}),d||this.handleError(c,{action:Td,actionPayload:null}),!1}},async[oA]({commit:t,dispatch:e},{authToken:n,to:r,doRedirect:i=!0}){let a={};try{if(!n)throw new Error("Missing param authToken");if(!r&&i)throw new Error("Missing param to");t(Et,{isLoggingIn:!0}),r&&(a=Object.assign({},r.query),delete a.authtoken);const{data:s}=await iie(n,{...Lu(this._vm.$view)}),{token:o,tokenExpires:l,refreshToken:c}=s;if(_e.setItem("token",o),_e.setItem("tokenExpires",l),_e.setItem("refreshToken",c),await e(Gs),!i)return!0;this.$router.push({path:r.path,query:a})}catch(s){r!=null&&r.path&&(a.redirect=r==null?void 0:r.path),await e(wd,{next:{name:"Login",query:a}}),this.handleError(s,{action:oA,actionPayload:null})}finally{t(Et,{isLoggingIn:!1})}},async[lA]({commit:t,dispatch:e},{service:n,code:r}){t(Et,{isLoggingIn:!0});const i={isAuth:!1,isVerify:!1,company:null,companyUser:null,addedToExistingCompanyId:null,error:null};try{const{data:a}=await Av.signupWithCrm(n,{code:r,doLogin:!0,...Lu(this._vm.$view),brand:this._vm.$brand}),{addedToExistingCompanyId:s,authenticate:o}=a,{token:l,tokenExpires:c,refreshToken:u,company:d,companyUser:p}=o;return _e.setItem("token",l),_e.setItem("tokenExpires",c),_e.setItem("refreshToken",u),p&&p.isSlave&&!p.verifiedEmailAt?(i.companyUser=p,i.isVerify=!0,i):(await e(Gs),s&&(i.addedToExistingCompanyId=s),i.company=d,i.isAuth=!0,i)}catch(a){return this.handleError(a,{action:lA,actionPayload:null}),{isAuth:!1,isVerify:!1,company:null,companyUser:null,addedToExistingCompanyId:null,error:a.message}}finally{t(Et,{isLoggingIn:!1})}},async[cA]({commit:t,dispatch:e},{companyUserId:n,doRedirect:r=!0}){var i;try{if(typeof n>"u")throw new Error("Missing param companyUserId");t(Et,{isLoggingIn:!0});const{data:a}=await GO.getConnectedUserAuth(n),{token:s,tokenExpires:o,refreshToken:l}=a;_e.setItem("token",s),_e.setItem("tokenExpires",o),_e.setItem("refreshToken",l),this.commit("reset"),await e(Gs),r?this.$router.push({name:"account"}):(i=window.reloadApp)==null||i.call(window,!0)}catch(a){this.handleError(a,{action:cA,actionPayload:null})}finally{t(Et,{isLoggingIn:!1})}},async[uA]({commit:t,dispatch:e},{company:n,companyUser:r,termsVersion:i,voucherCode:a=null,source:s=null,region:o,language:l,currency:c,throwIfSlaveUser:u}){var d;try{const p={isAuth:!1,isVerify:!1,didNavigate:!1};if(e(zs,{view:"register",settings:{error:null}}),t(Et,{isRegistering:!0}),!n)throw new Error("Missing param company");if(!r)throw new Error("Missing param companyUser");if(!i)throw new Error("Missing param termsVersion");const{data:f}=await aie({Company:n,CompanyUser:r,voucherCode:a,source:s,region:o,language:l,currency:c,throwIfSlaveUser:u}),{CompanyUser:h}=f,m={type:"terms",version:i,identifier:h.email,object:"CompanyUser",objectId:h.id};if(await oie(m),h.isSlave)return p.isVerify=!0,p;const g=await e(Td,{email:r.email,password:r.password,doRedirect:!1});return p.isAuth=g,g&&((d=this.$trackEvent)==null||d.call(this,"register")),p}catch(p){if(Y(p,"payload.code")===4008&&u)throw p;if(p&&p.code){const f=pA(p.code);f&&e(zs,{view:"register",settings:{error:f}})}return this.handleError(p,{action:uA,actionPayload:null}),{isAuth:!1,isVerify:!1,didNavigate:!1}}finally{t(Et,{isRegistering:!1})}},async[dA]({commit:t,dispatch:e},{password:n,token:r,doRedirect:i=!0}){try{if(e(zs,{view:"register",settings:{error:null}}),t(Et,{isResettingPassword:!0}),!n)throw new Error("Missing param password");if(!r)throw new Error("Missing param token");const{data:a}=await sie(n,r),{email:s}=a;return await e(Td,{email:s,password:n,doRedirect:i}),!0}catch(a){if(a&&a.code){const s=pA(a.code);s&&e(zs,{view:"register",settings:{error:s}})}return this.handleError(a,{action:dA,actionPayload:null}),!1}finally{t(Et,{isResettingPassword:!1})}},[wd]({commit:t},{next:e}={}){try{_e.removeItem("token"),_e.removeItem("tokenExpires"),_e.removeItem("refreshToken"),this.commit("reset")}finally{t(Et,{isLoggingIn:!1,userId:null,companyId:null,crispUserHash:null})}if(e)try{return this.$router.replace(e)}catch(n){this.handleError(n,{action:wd,actionPayload:null})}return this.$router.replace({name:"Login"})},[mae]({commit:t}){navigator.geolocation.getCurrentPosition(({coords:e})=>{t(bae,[e.longitude,e.latitude])})}},Mv=new Map,{PUSH_MODAL:Tae,POP_MODAL:wae,SET_CAN_CLOSE_MODAL:Sae,SHOW_MESSAGE:kae,CLEAR_MESSAGE:Cae,CLEAR_MESSAGE_BY_ID:Oae,MESSAGE_ACTION:fA,UPDATE_VIEW_SETTINGS:Aae,RESET_VIEW_SETTINGS:$ae,SHOW_ERROR:xae,RESET_ERROR:Iae}=Il,Pae={...Eae,[Tae]({commit:t,state:e},n){const r={...n,_uniqueId:Rn.exports()};t(ot.SET_MODALS,[...e.modals,r])},[wae]({commit:t,state:e}){t(ot.SET_MODALS,e.modals.slice(0,-1))},[Sae]({commit:t},e){t(ot.SET_CAN_CLOSE_MODAL,e)},[kae]({commit:t,state:e},n){const{type:r,displayType:i="notification",time:a=5e3,title:s,message:o,closeButton:l,omit:c=""}=n,u={},d={};if((h=>h.split(",").some(m=>{const[g="foo",v="bar"]=m.split(":");return this._vm[g]===v}))(c))return;n.actions&&Object.keys(n.actions).forEach(h=>{const m=n.actions[h];if(typeof m=="object"&&!Array.isArray(m)){if(!m.fn&&!m.callback)throw Error(`No callback function provided for action ${h}`);u[h]=m.fn||m.callback,delete m.fn,delete m.callback,d[h]=m}else if(typeof m=="string")u[h]=m,d[h]={};else if(typeof m=="function")u[h]=m,d[h]={};else throw Error(`Action, ${h} , must be one of: object|string|function`)}),t(ot.ADD_MESSAGE,{actions:d,title:s,message:o,type:r,displayType:i,time:a,closeButton:l});const f=e.messages.slice(-1)[0];return Mv.set(f._uniqueId,u),f._uniqueId},[Cae]({commit:t,state:e},n){const r=e.messages[n]||{};t(ot.REMOVE_MESSAGE,n),Mv.delete(r._uniqueId)},[Oae]({dispatch:t,state:e},n){const r=e.messages.findIndex(i=>i._uniqueId===n);t(Il.CLEAR_MESSAGE,r)},[fA]({state:t,dispatch:e},{index:n,type:r}){try{const i={cancel:()=>e(Il.CLEAR_MESSAGE,n)},a=t.messages[n]||{};if(!a||!a._uniqueId)throw Error("message not found, failed to trigger action");const s=Mv.get(a._uniqueId);if(!s)throw Error("message has no actions, failed to trigger action");const o=s[r];if(!o)throw Error(`message has no action of type ${r}`);let l=o;if(typeof o=="string"&&(l=i[o],!l))throw Error(`No predefined action of type ${o}`);if(typeof l!="function")throw Error("Unable to extract function from message action");return l(a)}catch(i){return this.handleError(i,{action:fA,actionPayload:arguments[1],retries:0})}},[Aae]({commit:t},{view:e,settings:n}){t(ot.SET_VIEW_SETTINGS,{view:e,settings:n})},[$ae]({commit:t}){t(ot.RESET_VIEW_SETTINGS)},[xae]({commit:t},e){t(ot.SET_ERROR,e)},[Iae]({commit:t}){t(ot.RESET_ERROR)}};function Sd(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Dae(t,e){return Rae(t)||Mae(t,e)||Nae(t,e)||Lae()}function Rae(t){if(Array.isArray(t))return t}function Mae(t,e){if(!(typeof Symbol>"u"||!(Symbol.iterator in Object(t)))){var n=[],r=!0,i=!1,a=void 0;try{for(var s=t[Symbol.iterator](),o;!(r=(o=s.next()).done)&&(n.push(o.value),!(e&&n.length===e));r=!0);}catch(l){i=!0,a=l}finally{try{!r&&s.return!=null&&s.return()}finally{if(i)throw a}}return n}}function Nae(t,e){if(!!t){if(typeof t=="string")return hA(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);if(n==="Object"&&t.constructor&&(n=t.constructor.name),n==="Map"||n==="Set")return Array.from(t);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return hA(t,e)}}function hA(t,e){(e==null||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);n<e;n++)r[n]=t[n];return r}function Lae(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
499
499
  In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function mA(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[];return t.reduce(function(e,n){var r=n.split(".").slice(-1)[0];if(e[r])throw new Error("The key `".concat(r,"` is already in use."));return e[r]=n,e},{})}function Fae(t){return Object.keys(t).map(function(e){return[e,t[e]]})}function kd(t){return function(){for(var e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];var i=typeof n[0]=="string"?[].concat(n):[""].concat(n),a=Dae(i,4),s=a[0],o=a[1],l=a[2],c=a[3];return s.length&&s.charAt(s.length-1)!=="/"&&(s+="/"),l="".concat(s).concat(l||"getField"),c="".concat(s).concat(c||"updateField"),t(s,o,l,c)}}function Cd(t){return function(e){return e.split(/[.[\]]+/).reduce(function(n,r){return n[r]},t)}}function Dl(t,e){var n=e.path,r=e.value;n.split(/[.[\]]+/).reduce(function(i,a,s,o){return o.length===s+1&&(i[a]=r),i[a]},t)}var jae=kd(function(t,e,n,r){var i=Array.isArray(e)?mA(e):e;return Object.keys(i).reduce(function(a,s){var o=i[s],l={get:function(){return this.$store.getters[n](o)},set:function(u){this.$store.commit(r,{path:o,value:u})}};return a[s]=l,a},{})}),Uae=kd(function(t,e,n,r){var i=Array.isArray(e)?mA(e):e;return Object.keys(i).reduce(function(a,s){var o=i[s];return a[s]={get:function(){var c=this.$store,u=Fae(c.getters[n](o));return u.map(function(d){return Object.keys(d[1]).reduce(function(p,f){var h="".concat(o,"[").concat(d[0],"].").concat(f);return Object.defineProperty(p,f,{get:function(){return c.getters[n](h)},set:function(g){c.commit(r,{path:h,value:g})}})},{})})}},a},{})}),gA=function(e){var n,r=e.getterType,i=e.mutationType;return n={},Sd(n,r,Cd),Sd(n,i,Dl),Sd(n,"mapFields",kd(function(a,s){return jae(a,s,r,i)})),Sd(n,"mapMultiRowFields",kd(function(a,s){return Uae(a,s,r,i)})),n};const{SET_USER_LOCATION:Vae,SET_USER:Bae}=ot,Hae={...{[Vae](t,e){t.user.position=e},[Bae](t,e){Object.keys(e).forEach(n=>{t.user[n]=e[n]})}},updateField:Dl,[ot.SET_MODALS](t,e){Z.set(t,"modals",e)},[ot.SET_CAN_CLOSE_MODAL](t,e){Z.set(t,"canCloseModal",e)},[ot.ADD_MESSAGE](t,e){t.messages.push(Es(e))},[ot.REMOVE_MESSAGE](t,e){Z.delete(t.messages,e)},[ot.SET_VIEW_SETTINGS](t,{view:e,settings:n}){Object.keys(n).forEach(r=>{Z.set(t.viewSettings[e],r,n[r])})},[ot.RESET_VIEW_SETTINGS](t,e){Z.set(t.viewSettings,e,JSON.parse(UO.viewSettings[e]))},[ot.SET_ERROR](t,e){t.error=e},[ot.RESET_ERROR](t){t.error=null},[ot.SET_SOCKET_CONNECTED](t,e){t.isSocketConnected=e}};var Nv={exports:{}},Wae="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=";function Lv(t){this.message=t}Lv.prototype=new Error,Lv.prototype.name="InvalidCharacterError";function zae(t){var e=String(t).replace(/=+$/,"");if(e.length%4==1)throw new Lv("'atob' failed: The string to be decoded is not correctly encoded.");for(var n=0,r,i,a=0,s="";i=e.charAt(a++);~i&&(r=n%4?r*64+i:i,n++%4)?s+=String.fromCharCode(255&r>>(-2*n&6)):0)i=Wae.indexOf(i);return s}var Gae=typeof window<"u"&&window.atob&&window.atob.bind(window)||zae,vA=Gae;function qae(t){return decodeURIComponent(vA(t).replace(/(.)/g,function(e,n){var r=n.charCodeAt(0).toString(16).toUpperCase();return r.length<2&&(r="0"+r),"%"+r}))}var Yae=function(t){var e=t.replace(/-/g,"+").replace(/_/g,"/");switch(e.length%4){case 0:break;case 2:e+="==";break;case 3:e+="=";break;default:throw"Illegal base64url string!"}try{return qae(e)}catch{return vA(e)}},Kae=Yae;function Rl(t){this.message=t}Rl.prototype=new Error,Rl.prototype.name="InvalidTokenError",Nv.exports=function(t,e){if(typeof t!="string")throw new Rl("Invalid token specified");e=e||{};var n=e.header===!0?0:1;try{return JSON.parse(Kae(t.split(".")[n]))}catch(r){throw new Rl("Invalid token specified: "+r.message)}},Nv.exports.InvalidTokenError=Rl;const _h=class{init({store:e}){this.store=e}getValidFeatures(){return Object.keys(_h.schema)}_isValidAccountType(e){if(!e||De(e)!=="array")throw new Error("Invalid param accountTypes");const{accountType:n}=this.store.getters["application/companyAccount"]||{};return e.includes(n)}_isValidFeatureKey(e){if(!e||De(e)!=="string")throw new Error("Invalid param featureKey");const{CompanyFeatures:n}=this.store.getters["application/company"]||{};return n?n[e]:!1}_isValidCompanySetting(e){if(!e||De(e)!=="string")throw new Error("Invalid param settingKey");return e.split("||").some(r=>{const i=this.store.getters["settings/getCompanySetting"](r);return typeof i=="boolean"&&i})}_isValidCompanyUserSettingFn({name:e,fn:n}){if(!e||De(e)!=="string")throw new Error("Invalid param name");if(!n||De(n)!=="function")throw new Error("Invalid param fn");const r=this.store.getters["settings/getCompanyUserSetting"](e);return!!n(r)}_isValidRegion(e){if(!e||De(e)!=="string")throw new Error("Invalid param requiredRegion");const{region:n}=this.store.getters["application/company"]||{};return n?e===n:!1}_isValidBrand(e){if(!e||De(e)!=="string")throw new Error("Invalid param requiredBrand");const n=this.store.$brand;return n?e===n:!1}_isCreatedBefore(e){if(!e||De(e)!=="string")throw new Error("Invalid param feature dateString");const{createdAt:n}=this.store.getters["application/company"]||{};return n?rY(n,e):!1}_evaluateFeature(e,{returnType:n="boolean"}={}){const r=_h.schema[e];if(!r||De(r)!=="object")throw Error(`No rules for feature '${e}' has been defined!`);if(!["boolean","array"].includes(n))throw Error("Invalid param returnType");const i=[];return r.accountTypes&&!this._isValidAccountType(r.accountTypes)&&(i.push("accountTypes"),n==="boolean")||r.featureKey&&!this._isValidFeatureKey(r.featureKey)&&(i.push("featureKey"),n==="boolean")||r.companySetting&&!this._isValidCompanySetting(r.companySetting)&&(i.push("companySetting"),n==="boolean")||r.companyUserSettingFn&&!this._isValidCompanyUserSettingFn(r.companyUserSettingFn)&&(i.push("companyUserSettingFn"),n==="boolean")||r.region&&!this._isValidRegion(r.region)&&(i.push("region"),n==="boolean")||r.brand&&!this._isValidBrand(r.brand)&&(i.push("brand"),n==="boolean")||r.createdBefore&&!this._isCreatedBefore(r.createdBefore)&&(i.push("preDynDoc2"),n==="boolean")?!1:n==="array"?i:!0}checkFeature(e){return this._evaluateFeature(e)}checkFeatureUpgrade(e){const n=this._evaluateFeature(e,{returnType:"array"});return n.length===1&&n.includes("accountTypes")}};let Od=_h;at(Od,"schema",{personalMessage:{},unlimitedCertificates:{},companyAboutUs:{},winProfile:{},templates:{},invoice:{featureKey:"invoice"},sellInvoice:{featureKey:"sellInvoice"},timeTrack:{featureKey:"timeTrack"},task:{featureKey:"task"},reverseVat:{featureKey:"reverseVat"},ataSetting:{featureKey:"ataSetting"},propertyDesignation:{companySetting:"showRot||showGreenRot"},openAccConstruction:{featureKey:"openAccConstruction"},docChapterIsBinding:{companySetting:"showIsBinding"},projectSettingHideAllArticles:{companySetting:"allowHideAllArticles"},docAtaDateDelay:{companySetting:"docAtaShowDateDelay"},docAtaNotIncluded:{companySetting:"docAtaShowNotIncluded"},docAtaPayment:{companySetting:"docAtaShowPayment"},sms:{featureKey:"sms"},smsSenderName:{featureKey:"smsSenderName"},regionSE:{region:"SE"},bankId:{region:"SE",companySetting:"enableBankId"},templateGallery:{companyUserSettingFn:{name:"defaultLanguage",fn:e=>e==="sv"}},clientReview:{brand:"cling"},upgradeSignatureBankId:{companySetting:"upgradeSignatureBankId"},preDynDoc2:{createdBefore:"2020-11-05T00:00:00.000Z"},emailDomain:{featureKey:"emailDomain"},subdomain:{featureKey:"subdomain"},stats:{featureKey:"stats"},api:{featureKey:"api"},fortnox:{featureKey:"fortnox"},inviteCreators:{accountTypes:["base","pro"]}});const pr=new Od,Kr=class{init({store:e}){this.store=e}_getObjectById(e,n){const r=(Kr.schema[n]||{}).$module,{data:i}=this.store.state[r]||{};if(!i)throw Error(`No module for ${n} has been defined!`);return i[e]}_getIdPath(e){return(Kr.schema[e]||{}).$id}_getAllowNullOwner(e){return!!(Kr.schema[e]||{}).$allowNullOwner}_getScopeKey(e){return(Kr.schema[e]||{}).$scopeKey}_getUserId(){const{user:e={}}=this.store.state.application;return e.userId}getValidScopes(){return Object.keys(Kr.schema)}getRequiredCompanyUserPermission(e,n){const r=Kr.schema[e];return!r||!r[n]?[]:Array.isArray(r[n])?r[n]:[r[n]]}hasFeature(e){const n=Kr.featureSchema[e];return n?pr.checkFeature(n):!0}checkPermission(e,n,r=void 0){const{getters:i}=this.store,{CompanyUserPermission:a}=i["application/user"]||{};if(!a||!this.hasFeature(e))return!1;let o=this.getRequiredCompanyUserPermission(e,n);if(!o||o.length===0)return console.warn(`Permission ${n} in scope ${e} has not been implemented`),!1;let l=o.some(u=>a[u]===!0);if(l)return!0;if(!r)return!1;const c=this._getScopeKey(e);if(o=o.map(u=>u.includes("Own")?u:u.replace(`${c[0].toUpperCase()}${c.slice(1)}`,`Own${c[0].toUpperCase()}${c.slice(1)}`)),l=o.some(u=>a[u]===!0),l){const u=this._getObjectById(r,e);if(!u)return!1;if(e==="documents")return this.checkPermission("projects",n,u.projectId);const d=sY(u,this._getIdPath(e)),p=this._getAllowNullOwner(e);return d===this._getUserId()||p&&d===null}return!1}getScope(e={}){return this.getValidScopes().find(i=>e[i])}};let Ml=Kr;at(Ml,"schema",{projects:{read:"manageProjects",modify:"manageProjects",create:["manageProjects","manageOwnProjects"],delete:"manageProjects",readPrice:["manageProjects","showPrices"],$scopeKey:"projects",$module:"projects",$id:"CompanyUserId"},users:{modify:"manageUsers",create:"manageUsers",$scopeKey:"users",$module:"companyUsers",$id:"id"},documents:{create:["manageProjects","manageOwnProjects"],read:"manageProjects",modify:"manageProjects",delete:"manageProjects",readPrice:["manageProjects","showPrices"],$scopeKey:"projects",$module:"documents2",$id:"companyUserId"},atas:{create:["manageAtas","manageOwnAtas"],read:"manageAtas",modify:"manageAtas",delete:"manageAtas",readPrice:["manageAtas","showPrices"],$scopeKey:"atas",$module:"documents",$id:"data.CompanyUserId"},company:{create:"manageCompany",read:"manageCompany",modify:"manageCompany",$scopeKey:"company",$module:"companies",$id:"id"},articles:{create:["manageProjects","manageOwnProjects"],modify:["manageProjects","manageOwnProjects"],delete:["manageProjects","manageOwnProjects"],readPrice:["manageOwnAtas","manageAtas","manageProjects","manageOwnProjects","showPrices"],$scopeKey:"projects",$module:"articles",$id:"id"},invoices:{read:["readInvoices","readOwnInvoices"],modify:"modifyInvoices",create:"createInvoices",delete:"deleteInvoices",attest:"attestInvoices",$scopeKey:"invoices",$module:"invoices",$id:"CompanyUserId"},bookkeeping:{modify:"modifyBookkeepingSettings",export:"exportInvoices"},prices:{read:"showPrices"},timeTracks:{read:["readTimeTracks","readOwnTimeTracks"],modify:"modifyTimeTracks",create:"createTimeTracks",delete:["deleteTimeTracks","deleteOwnTimeTracks"],attest:"attestTimeTracks",$scopeKey:"timeTracks",$module:"timeTracks",$id:"CompanyUserId"},templates:{create:"createTemplates",read:"readTemplates",modify:"modifyTemplates",delete:"deleteTemplates"},endCustomers:{read:["readEndCustomers","readOwnEndCustomers"],modify:"modifyEndCustomers",create:"createEndCustomers",delete:"deleteEndCustomers",$scopeKey:"endCustomers",$module:"endCustomers",$id:"CompanyUserId",$allowNullOwner:!0},fortnox:{export:"modifyBookkeepingSettings"}}),at(Ml,"featureSchema",{invoices:"invoice",bookkeeping:"invoice",timeTracks:"timeTrack"});const va=new Ml,Jae={...{userPosition:t=>t.user.position,isLoggingIn:t=>t.user.isLoggingIn,isSuperUser:()=>()=>{const t=_e.getItem("token");if(!t)return!1;const{employee:e}=Nv.exports(t);return!!e},isRegistering:t=>t.user.isRegistering,isResettingPassword:t=>t.user.isResettingPassword,crispUserHash:t=>t.user.crispUserHash,isUserLoaded:({user:t})=>t.userId&&t.companyId&&!0||!1,company:({user:t},e,n,r)=>r["companies/companyById"](t.companyId),companyAccount:({user:t},e,n,r)=>(r["companies/companyById"](t.companyId)||{}).CompanyAccount||null,companyAccountType:(t,e)=>(e.companyAccount||{}).accountType||null,companyRegion:(t,e)=>(e.company||{}).region||(ie.brand==="docspo"?"US":"SE"),subscription:(t,e)=>{const{companyAccount:n={}}=e;if(!n)return{};const{freePremiumDays:r=null,accountType:i=null,maxProjectManagers:a=null,freeDocumentsLeft:s=null,paymentMethod:o,billingCycleInterval:l,billingCycleCount:c,showCalloutConvertStripe:u,hasExceededQuota:d,StripeSubscriptions:p,mrr:f,hasFailedPayments:h,allowFailedPaymentToConvertStripe:m}=n,g=[...new Set([...p.map(y=>y.status)])],v=p.some(y=>(y.stripeItems||[]).some(T=>T.stripePriceStripeId.startsWith("plan_"))),_=Eg.includes(i)&&u&&o==="invoice"&&Y(n,"documentQuota.newCount")===1e3&&!Y(n,"premiumEndAt");return{type:i,trialDaysLeft:r,maxProjectManagers:a,freeDocumentsLeft:s,paymentMethod:o,billingCycleInterval:l,billingCycleCount:c,showCalloutConvertStripe:Eg.includes(i)&&u&&o==="invoice",stripeStatuses:g,isPaying:Eg.includes(i),hasExceededQuota:d,isStripeLegacy:v,isInvoiceLegacy:_,mrr:f,hasFailedPayments:h,allowFailedPaymentToConvertStripe:m}},user:({user:t},e,n,r)=>r["companyUsers/referenceById"](t.userId),isQualified:(t,{user:e,companyAccount:n})=>!n||!e||typeof e.isQualified!="boolean"?!0:e.isQualified||!["free","trial","premiumTrial"].includes(n.accountType),feature:()=>pr.checkFeature.bind(pr),can:()=>va.checkPermission.bind(va)},getField:Cd,modals:t=>t.modals,messages:t=>t.messages,isIncVat:t=>t.priceInputVat==="incVat",viewSettings:t=>e=>t.viewSettings[e],showSearch:t=>t.viewSettings.search.show,error:t=>t.error,isSocketConnected:t=>t.isSocketConnected},Zae={namespaced:!0,state:UO,getters:Jae,actions:Pae,mutations:Hae},Xae={data:{},ids:[],isFetching:!1,isPosting:!1},pe={application:ot,projects:pn,forms:dr,files:Pv,settings:rA,certificates:Wie,companies:$v,companyReferences:Gie,companyReferenceItems:Yie,documents2:Iv,invoices:rae,timeTracks:aae,templates:Rv,publicDocuments:oae,documentTerms:cae,notifications:Zie,unitTypes:dae,CLEAR_FORM:"CLEAR_FORM",DELETE_ARTICLE:"DELETE_ARTICLE",DELETE_COMPANY_USER:"DELETE_COMPANY_USER",DELETE_CONTRACT:"DELETE_CONTRACT",DELETE_ENDCUSTOMER:"DELETE_ENDCUSTOMER",DELETE_PROJECT:"DELETE_PROJECT",DELETE_PROJECT_FILE:"DELETE_PROJECT_FILE",DELETE_TEMPLATE_MESSAGE:"DELETE_TEMPLATE_MESSAGE",SET_ARTICLES:"SET_ARTICLES",SET_ATAS:"SET_ATAS",SET_COMPANY_USERS:"SET_COMPANY_USERS",SET_CONTRACTS:"SET_CONTRACTS",SET_ENDCUSTOMERS:"SET_ENDCUSTOMERS",SET_FORM:"SET_FORM",SET_NOTIFICATIONS:"SET_NOTIFICATIONS",SET_OFFERS:"SET_OFFERS",SET_PROJECTS:"SET_PROJECTS",SET_PROJECT_FILES:"SET_PROJECT_FILES",UPDATE_COMPANY:"UPDATE_COMPANY"};function yA(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function _A(t,e,n){return e&&yA(t.prototype,e),n&&yA(t,n),t}function fr(){return fr=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t},fr.apply(this,arguments)}function Fv(t,e){t.prototype=Object.create(e.prototype),t.prototype.constructor=t,t.__proto__=e}function Nl(t){return!!(t&&typeof t.hasOwnProperty=="function"&&(t.hasOwnProperty("__ownerID")||t._map&&t._map.hasOwnProperty("__ownerID")))}function bA(t,e,n){return Object.keys(t).reduce(function(r,i){var a=""+i;return r.has(a)?r.set(a,n(r.get(a),t[a])):r},e)}var Qae=function(e){return function(n){return Nl(n)?n.get(e):n[e]}},ese=function(){function t(n,r,i){if(r===void 0&&(r={}),i===void 0&&(i={}),!n||typeof n!="string")throw new Error("Expected a string key for Entity, but found "+n+".");var a=i,s=a.idAttribute,o=s===void 0?"id":s,l=a.mergeStrategy,c=l===void 0?function(h,m){return fr({},h,m)}:l,u=a.processStrategy,d=u===void 0?function(h){return fr({},h)}:u,p=a.fallbackStrategy,f=p===void 0?function(h,m){}:p;this._key=n,this._getId=typeof o=="function"?o:Qae(o),this._idAttribute=o,this._mergeStrategy=c,this._processStrategy=d,this._fallbackStrategy=f,this.define(r)}var e=t.prototype;return e.define=function(r){this.schema=Object.keys(r).reduce(function(i,a){var s,o=r[a];return fr({},i,(s={},s[a]=o,s))},this.schema||{})},e.getId=function(r,i,a){return this._getId(r,i,a)},e.merge=function(r,i){return this._mergeStrategy(r,i)},e.fallback=function(r,i){return this._fallbackStrategy(r,i)},e.normalize=function(r,i,a,s,o,l){var c=this,u=this.getId(r,i,a),d=this.key;if(d in l||(l[d]={}),u in l[d]||(l[d][u]=[]),l[d][u].some(function(f){return f===r}))return u;l[d][u].push(r);var p=this._processStrategy(r,i,a);return Object.keys(this.schema).forEach(function(f){if(p.hasOwnProperty(f)&&typeof p[f]=="object"){var h=c.schema[f],m=typeof h=="function"?h(r):h;p[f]=s(p[f],p,f,m,o,l)}}),o(this,p,r,i,a),u},e.denormalize=function(r,i){var a=this;return Nl(r)?bA(this.schema,r,i):(Object.keys(this.schema).forEach(function(s){if(r.hasOwnProperty(s)){var o=a.schema[s];r[s]=i(r[s],o)}}),r)},_A(t,[{key:"key",get:function(){return this._key}},{key:"idAttribute",get:function(){return this._idAttribute}}]),t}(),jv=function(){function t(n,r){r&&(this._schemaAttribute=typeof r=="string"?function(i){return i[r]}:r),this.define(n)}var e=t.prototype;return e.define=function(r){this.schema=r},e.getSchemaAttribute=function(r,i,a){return!this.isSingleSchema&&this._schemaAttribute(r,i,a)},e.inferSchema=function(r,i,a){if(this.isSingleSchema)return this.schema;var s=this.getSchemaAttribute(r,i,a);return this.schema[s]},e.normalizeValue=function(r,i,a,s,o,l){var c=this.inferSchema(r,i,a);if(!c)return r;var u=s(r,i,a,c,o,l);return this.isSingleSchema||u===void 0||u===null?u:{id:u,schema:this.getSchemaAttribute(r,i,a)}},e.denormalizeValue=function(r,i){var a=Nl(r)?r.get("schema"):r.schema;if(!this.isSingleSchema&&!a)return r;var s=this.isSingleSchema?void 0:Nl(r)?r.get("id"):r.id,o=this.isSingleSchema?this.schema:this.schema[a];return i(s||r,o)},_A(t,[{key:"isSingleSchema",get:function(){return!this._schemaAttribute}}]),t}(),tse=function(t){Fv(e,t);function e(r,i){if(!i)throw new Error('Expected option "schemaAttribute" not found on UnionSchema.');return t.call(this,r,i)||this}var n=e.prototype;return n.normalize=function(i,a,s,o,l,c){return this.normalizeValue(i,a,s,o,l,c)},n.denormalize=function(i,a){return this.denormalizeValue(i,a)},e}(jv),nse=function(t){Fv(e,t);function e(){return t.apply(this,arguments)||this}var n=e.prototype;return n.normalize=function(i,a,s,o,l,c){var u=this;return Object.keys(i).reduce(function(d,p,f){var h,m=i[p];return m!=null?fr({},d,(h={},h[p]=u.normalizeValue(m,i,p,o,l,c),h)):d},{})},n.denormalize=function(i,a){var s=this;return Object.keys(i).reduce(function(o,l){var c,u=i[l];return fr({},o,(c={},c[l]=s.denormalizeValue(u,a),c))},{})},e}(jv),rse=function(e){var n=Array.isArray(e);if(n&&e.length>1)throw new Error("Expected schema definition to be a single schema, but found "+e.length+".");return e[0]},EA=function(e){return Array.isArray(e)?e:Object.keys(e).map(function(n){return e[n]})},ise=function(e,n,r,i,a,s,o){e=rse(e);var l=EA(n);return l.map(function(c,u){return a(c,r,i,e,s,o)})},ase=function(t){Fv(e,t);function e(){return t.apply(this,arguments)||this}var n=e.prototype;return n.normalize=function(i,a,s,o,l,c){var u=this,d=EA(i);return d.map(function(p,f){return u.normalizeValue(p,a,s,o,l,c)}).filter(function(p){return p!=null})},n.denormalize=function(i,a){var s=this;return i&&i.map?i.map(function(o){return s.denormalizeValue(o,a)}):i},e}(jv),TA=function(e,n,r,i,a,s,o){var l=fr({},n);return Object.keys(e).forEach(function(c){var u=e[c],d=typeof u=="function"?u(n):u,p=a(n[c],n,c,d,s,o);p==null?delete l[c]:l[c]=p}),l},sse=function(e,n,r){if(Nl(n))return bA(e,n,r);var i=fr({},n);return Object.keys(e).forEach(function(a){i[a]!=null&&(i[a]=r(i[a],e[a]))}),i},ose=function(){function t(n){this.define(n)}var e=t.prototype;return e.define=function(r){this.schema=Object.keys(r).reduce(function(i,a){var s,o=r[a];return fr({},i,(s={},s[a]=o,s))},this.schema||{})},e.normalize=function(){for(var r=arguments.length,i=new Array(r),a=0;a<r;a++)i[a]=arguments[a];return TA.apply(void 0,[this.schema].concat(i))},e.denormalize=function(){for(var r=arguments.length,i=new Array(r),a=0;a<r;a++)i[a]=arguments[a];return sse.apply(void 0,[this.schema].concat(i))},t}(),lse=function t(e,n,r,i,a,s){if(typeof e!="object"||!e)return e;if(typeof i=="object"&&(!i.normalize||typeof i.normalize!="function")){var o=Array.isArray(i)?ise:TA;return o(i,e,n,r,t,a,s)}return i.normalize(e,n,r,t,a,s)},cse=function(e){return function(n,r,i,a,s){var o=n.key,l=n.getId(i,a,s);o in e||(e[o]={});var c=e[o][l];c?e[o][l]=n.merge(c,r):e[o][l]=r}},le={Array:ase,Entity:ese,Object:ose,Union:tse,Values:nse},wA=function(e,n){if(!e||typeof e!="object")throw new Error('Unexpected input given to normalize. Expected type to be "object", found "'+(e===null?"null":typeof e)+'".');var r={},i=cse(r),a={},s=lse(e,e,null,n,i,a);return{entities:r,result:s}};const qs=new le.Entity("files");new le.Array(qs);const SA=new le.Entity("projectFiles",{File:qs});new le.Array(SA);const Uv=new le.Entity("companyUsers");new le.Array(Uv);const Vv=new le.Entity("offers",{Files:[qs]});new le.Array(Vv);const kA=new le.Entity("atas",{Files:[qs]});new le.Array(kA);const Bv=new le.Entity("projects",{CompanyUser:Uv,ProjectMembers:[Uv],ProjectFiles:[SA]});kA.define({Project:Bv});const use=new le.Array(Bv),dse=new le.Entity("articles");new le.Array(dse);const CA=new le.Entity("certificates");new le.Array(CA);const pse=new le.Entity("companies",{CompanyCertificates:[CA]}),fse=new le.Array(pse),OA=new le.Entity("companyReferenceItems",{Image:qs,Thumbnail:qs});new le.Array(OA);const hse=new le.Entity("companyReferences",{CompanyReferenceItems:[OA]});new le.Array(hse);const AA=new le.Entity("contracts",{Offer:Vv});new le.Array(AA),Vv.define({Contract:AA}),new le.Entity("endCustomers");const mse=new le.Entity("notifications",{Project:Bv});new le.Array(mse);const gse=new le.Entity("propertyDesignations");new le.Array(gse);const vse=new le.Entity("templateMessages");new le.Array(vse);const Ll="companies",{LOAD_FILE:O4e,FORM_RESET_OLD:$A}=ce,{SET_FORM:Hv}=pe.forms,{DO_LOAD_CURRENT_COMPANY:Ad,DO_NORMALIZE_COMPANIES:xA,DO_UPDATE_CURRENT_COMPANY:IA,FORM_EDIT_COMPANY:yse,FORM_SUBMIT_COMPANY:PA,FORM_NEW_COMPANY_BRANDING:DA,FORM_EDIT_COMPANY_BRANDING:Wv,FORM_SUBMIT_COMPANY_BRANDING:RA,UPDATE_COMPANY_ACCOUNT_TYPE:MA}=KO,{SET_COMPANIES_FETCHING:zv,SET_COMPANIES_POSTING:Mr}=$v,_se={async[xA](t,{companies:e=[]}){if(!e||!Array.isArray(e)||!e.length)throw new Error("Missing param companies");await this.dispatch(ga,{data:e,schema:fse})},async[Ad]({commit:t,dispatch:e}){var n;try{t(zv,!0);const{data:r}=await Ut.get("/company");return await e(xA,{companies:[r]}),await((n=this.$supportChat)==null?void 0:n.syncData()),t(zv,!1),r}catch(r){throw t(zv,!1),r}},async[IA]({dispatch:t,commit:e},{body:n}){try{e(Mr,!0),await Ut.put("/company",n);const r=await t(Ad);return e(Mr,!1),r}catch(r){throw e(Mr,!1),r}},async[MA]({dispatch:t,commit:e},{accountType:n,billingCycleCost:r,billingCycleInterval:i,billingCycleCount:a,premiumSource:s=null,quantity:o}){try{if(e(Mr,!0),!n)throw new Error("Missing parameter accountType");if(i&&!a)throw new Error("Param billingCycleCount is required if billingCycleInterval is used");if(!i&&a)throw new Error("Param billingCycleInterval is required if billingCycleCount is used");if((i||a)&&typeof r>"u")throw new Error("Param billingCycleCost is missing");const l={premiumSource:s};return i&&a&&r&&(l.billingCycleInterval=i,l.billingCycleCount=a,l.billingCycleCost=r),typeof o<"u"&&(l.quantity=o),await Die(n,l),await t(Ad),e(Mr,!1),!0}catch(l){return this.handleError(l,{object:"companyAccount",action:`${Ll}/${MA}`}),!1}finally{e(Mr,!1)}},async[yse]({rootGetters:t},{props:e=[]}={}){try{const n=xr(t["application/company"],e);return this.commit(`forms/${Hv}`,{key:"company",formData:n}),!0}catch(n){return this.handleError(n),!1}},async[PA]({rootGetters:t,dispatch:e}){try{const n=t["forms/getFormByKey"]("company");return await e(IA,{body:n}),await this.dispatch($A,"company"),!0}catch(n){return this.handleError(n,{object:"companies",fallbackCode:"companies.submit",action:`${Ll}/${PA}`}),!1}},async[DA]({rootGetters:t,dispatch:e}){try{const{CompanyBranding:n}=t["application/company"];if(n&&n.id)return e(Wv);const r={about:""};return this.commit(`forms/${Hv}`,{key:"companyBranding",formData:r}),!0}catch(n){return this.handleError(n,{object:"companies",action:`${Ll}/${DA}`}),!1}},async[Wv]({rootGetters:t}){try{const{CompanyBranding:e}=t["application/company"],n=e;return this.commit(`forms/${Hv}`,{key:"companyBranding",formData:n}),!0}catch(e){return this.handleError(e,{object:"companies",action:`${Ll}/${Wv}`}),!1}},async[RA]({rootGetters:t,dispatch:e,commit:n}){try{n(Mr,!0);const r=t["forms/getFormByKey"]("companyBranding");let{id:i}=r;return i?await Ut.put("/companyBranding",r):{id:i}=await Ut.post("/companyBranding",r),e(Ad),n(Mr,!1),await this.dispatch($A,"companyBranding"),i}catch(r){return n(Mr,!1),this.handleError(r,{object:"companies",fallbackCode:"companies.submit",action:`${Ll}/${RA}`}),!1}}},gi=new le.Entity("files"),bse=new le.Array(gi),$d=new le.Entity("companyUsers"),NA=new le.Array($d),LA=new le.Entity("companies"),Ese=new le.Array(LA),ya=new le.Entity("invoices");ya.define({InvoiceFiles:[{File:gi,Thumbnail:gi}],creditInvoices:[ya],creditsInvoice:ya,interestInvoices:[ya],interestForInvoice:ya});const Gv=new le.Array(ya),Tse=new le.Entity("documents",{data:{Files:bse,Invoices:Gv}}),wse=new le.Array(Tse),FA=new le.Entity("projectFiles",{File:gi}),Sse=new le.Array(FA),qv=new le.Entity("projects",{ProjectMembers:NA,ProjectFiles:[{File:gi}],Invoices:Gv,CompanyUser:$d}),kse=new le.Array(qv),Cse=new le.Entity("timeTracks",{CompanyUser:$d,Project:qv}),Ose=new le.Array(Cse),jA=new le.Entity("companyReference",{CompanyReferenceItem:{Image:gi,Thumbnail:gi}}),Ase=new le.Array(jA),UA=new le.Entity("documentTerms",{File:gi}),$se=new le.Array(UA),xse={project:qv,projects:kse,invoice:ya,invoices:Gv,companyReference:jA,companyReferences:Ase,projectFile:FA,projectFiles:Sse,documents:wse,companyUser:$d,companyUsers:NA,company:LA,companies:Ese,timeTracks:Ose,documentTerm:UA,documentTerms:$se},Ise=(t,e)=>{const n=xse[e];return n||console.warn(`No schema found for type: '${e}'`),wA(t,n)};function vi(t,e,n=!1){let r=e.replace(/\[(\d*)\]/ig,(s,o)=>`.${o}`);r=r.split(".");let i=t;const a=r.pop();return r.length>0&&(i=r.reduce((s,o)=>{let l=s[o];return n&&(De(l)==="undefined"||De(l)==="null")&&(Z.set(s,o,{}),l=s[o]),l},t)),{root:i,prop:a}}function Ys(t,e){function n(r,i){Object.keys(i).forEach(a=>{const s=r[a]instanceof Object&&!Array.isArray(r[a]),o=i[a]instanceof Object&&!Array.isArray(i[a]);if(s&&o){Ys(r[a],i[a]);return}Z.set(r,a,i[a])})}n(t,e)}function Fl(t,{keyId:e="id"}={}){const n=[],r={};return t.forEach(i=>{r[i[e]]=i,n.push(i[e])}),{ids:n,values:r}}function VA({schema:t,getters:e,data:n,scope:r=null,instance:i=null}){let a=r;typeof a=="string"&&(a=[a]);const s={};return t&&Object.keys(t).map(o=>(t[o].$virtual&&t[o].$virtual.map(l=>{const{name:c,set:u}=l;let d={};if(n&&typeof n[o]<"u"?d=n[o]:typeof t[o].$default<"u"&&(d=t[o].$default),typeof d>"u")return!1;const p=i||this;return s[c]=u.call(p,d,{getters:e}),!0}),!0)),t&&a&&Array.isArray(a)&&Object.keys(t).map(o=>t[o].$scope?(a.some(c=>t[o].$scope.indexOf(c)>=0)||delete s[o],!0):(delete s[o],!0)),JSON.parse(JSON.stringify(s))}function Pse({schema:t,data:e,getters:n,scope:r=null,includeVirtual:i=!1,instance:a=null}){let s=r;if(typeof s=="string"&&(s=[s]),!t)throw new Error("Missing parameter schema");const o={};Object.keys(t).map(c=>(t[c].$default!=="undefined"&&(o[c]=t[c].$default),!0));let l=Object.assign({},o,e);return i&&(l={...l,...VA({schema:t,getters:n,data:e,scope:r,instance:a})}),t&&s&&Array.isArray(s)&&Object.keys(t).map(c=>t[c].$scope?(s.some(d=>t[c].$scope.indexOf(d)>=0)||delete l[c],!0):(delete l[c],!0)),JSON.parse(JSON.stringify(l))}function BA({next:t=null,projectId:e,docType:n,docId:r,invoiceId:i}={},a,s=void 0){if(!t||!a)return!1;switch(t){case"project":{if(!e)throw new ha(`Cannot redirect user on next: '${t}' as no projectId is defined`);a.push({name:"project",params:{id:e,modal:!1}},s);break}case"invoice":{if(!i)throw new ha(`Cannot redirect user on next: '${t}' as no invoiceId is defined`);a.push({name:"invoice",params:{id:i,modal:!1}},s);break}case"preview":{if(i){a.push({name:"previewInvoice",params:{id:i}},s);break}if(!e)throw new ha(`Cannot redirect user on next: '${t}' as no projectId is defined`);if(!n)throw new ha(`Cannot redirect user on next: '${t}' as no docType is defined`);if(!r)throw new ha(`Cannot redirect user on next: '${t}' as no docId is defined`);a.push({name:"Preview",params:{projectId:e,docType:n,docId:r}},s);break}default:throw new ha(`Cannot redirect user on next: '${t}' as it is not implemented`)}return!0}const{SET_COMPANIES:Dse,CLEAR_COMPANIES:Rse,SET_COMPANIES_FETCHING:Mse,SET_COMPANIES_POSTING:Nse}=$v,Lse={[Dse](t,{data:e}){if(typeof e!="object")throw Error("Data must be a company or an array of companies!");const n=Array.isArray(e)?e:[e],{ids:r,values:i}=Fl(n);Ys(t.data,i),t.ids=ia([...r,...t.ids])},[Rse](t){Z.set(t,"data",{}),Z.set(t,"ids",[])},[Mse](t,e){t.isFetching=e},[Nse](t,e){t.isPosting=e}},Fse={namespaced:!0,state:Xae,getters:{companyById:t=>e=>t.data[e],certificateIdListForCurrentCompany:(t,e,n)=>()=>e.certificateIdListForCompany(n.application.user.companyId),certificateIdListForCompany:t=>e=>{const n=t.data[e].CompanyCertificates;return n||[]},isFetching:t=>t.isFetching,isPosting:t=>t.isPosting},actions:_se,mutations:Lse},jse={data:{},ids:[],isFetching:!1,isPosting:!1},yi="companyUsers",{LOAD_COMPANY_USERS:HA,LOAD_COMPANY_USER:xd,DO_NORMALIZE_COMPANY_USERS:Id,UPDATE_COMPANY_USER:Yv,CREATE_COMPANY_USER:Kv,DELETE_COMPANY_USER:WA,PATCH_COMPANY_USER:Jv,FORM_NEW_COMPANY_USER:Use,FORM_EDIT_COMPANY_USER:Vse,FORM_SUBMIT_COMPANY_USER:zA}=JO,{SET_AS_NORMALIZED_DATA:Bse,FORM_RESET_OLD:Hse,DELETE_FILE:Wse}=ce,{SET_COMPANY_USERS_FETCHING:Pd,SET_COMPANY_USERS_POSTING:_i}=xv,zse={async[Id](t,{companyUsers:e=[]}){if(!e||!Array.isArray(e)||!e.length)throw new Error("Missing param companyUsers");await this.dispatch(Bse,{data:e,schema:"companyUsers"})},async[HA]({dispatch:t,commit:e}){try{e(Pd,!0);const{data:n}=await Oie();await t(Id,{companyUsers:n})}catch(n){this.handleError(n,{object:"companyUser",fallbackCode:"companyUser.getAll",action:`${yi}/${HA}`})}finally{e(Pd,!1)}},async[xd]({commit:t,dispatch:e,rootGetters:n},{id:r}){try{t(Pd,!0);const{data:i}=await Aie(r);await e(Id,{companyUsers:[i]});const{id:a}=n["application/user"]||{};return r===a&&(Q.locale!==i.locale&&Q.l10n.changeLocale(i.locale),Q.lang!==i.language&&(Q.i18next.changeLanguage(i.language),location&&location.reload())),r}catch(i){return this.handleError(i,{object:"companyUser",objectId:r,fallbackCode:"companyUser.get",action:`${yi}/${xd}`,actionPayload:arguments[1]}),null}finally{t(Pd,!1)}},async[Kv]({commit:t,dispatch:e,rootGetters:n},{body:r}){try{const{language:i,locale:a}=n["application/user"]||{},s={language:i||"en",locale:a||"en-US",...r};t(_i,!0);const{data:o}=await $ie(s);return await e(Id,{companyUsers:[o]}),this.dispatch("application/SHOW_MESSAGE",{type:"success",message:Q.t("sentThingTo",{thing:Q.t("invitation"),recipient:o.email})}),o.id}catch(i){return this.handleError(i,{object:"companyUser",fallbackCode:"companyUser.post",action:`${yi}/${Kv}`,actionPayload:arguments[1]}),null}finally{t(_i,!1)}},async[Yv]({dispatch:t,commit:e,getters:n},{id:r,body:i}){var a;try{e(_i,!0);const{AvatarPublicId:s}=i,{AvatarPublicId:o}=n.byId(r);return s&&s!==o&&this.dispatch(Wse,{id:o}),await xie(r,i),await t(xd,{id:r}),(a=this.$supportChat)==null||a.syncData(),this.dispatch("application/SHOW_MESSAGE",{type:"success",message:Q.t("updatedThing",{thing:Q.t("user")})}),r}catch(s){return this.handleError(s,{object:"companyUser",objectId:r,fallbackCode:"companyUser.put",action:`${yi}/${Yv}`,actionPayload:arguments[1]}),null}finally{e(_i,!1)}},async[WA]({commit:t},{id:e}){try{return t(_i,!0),await Iie(e),t(xv.DELETE_COMPANY_USER,e),this.dispatch("application/SHOW_MESSAGE",{type:"success",message:Q.t("removedThing",{thing:Q.t("user")}),actions:{undo:()=>{this.dispatch(`${yi}/${Jv}`,{id:e})}}}),e}catch(n){return this.handleError(n,{object:"companyUser",objectId:e,fallbackCode:"companyUser.delete",action:`${yi}/${WA}`,actionPayload:arguments[1]}),null}finally{t(_i,!1)}},async[Jv]({dispatch:t,commit:e},{id:n}){try{return e(_i,!0),await Pie(n),await t(xd,{id:n}),n}catch(r){return this.handleError(r,{object:"companyUser",objectId:n,fallbackCode:"companyUser.patch",action:`${yi}/${Jv}`,actionPayload:arguments[1]}),null}finally{e(_i,!1)}},[Use]({commit:t,rootGetters:e}){let n="en";const r=e["application/user"];r.language&&({language:n}=r);const i={AvatarPublicId:null,CompanyId:null,CompanyUserPermission:{manageCompany:!1,manageUsers:!1,manageProjects:!1,manageOwnProjects:!1,showPrices:!1,manageAtas:!1,manageOwnAtas:!1,createTimeTracks:!0,readTimeTracks:!1,readOwnTimeTracks:!0,modifyTimeTracks:!1,modifyOwnTimeTracks:!0,deleteTimeTracks:!1,deleteOwnTimeTracks:!0,attestTimeTracks:!1,createInvoices:!1,readInvoices:!1,readOwnInvoices:!1,modifyInvoices:!1,modifyOwnInvoices:!1,deleteInvoices:!1,deleteOwnInvoices:!1,attestInvoices:!1,attestOwnInvoices:!1,exportInvoices:!1,modifyBookkeepingSettings:!1},cellphone:null,email:null,finishedGuide:!1,firstname:null,id:null,language:n,lastActive:null,lastname:null,resetPasswordExpires:null,resetPasswordToken:null};return t(`forms/${pe.SET_FORM}`,{key:"companyUser",formData:i},{root:!0})},[Vse]({commit:t,getters:e},{id:n,props:r=[]}){const i=xr(e.byId(n),r);return t(`forms/${pe.SET_FORM}`,{key:"companyUser",formData:i},{root:!0})},async[zA]({rootGetters:t,dispatch:e}){try{const n=t["forms/getFormByKey"]("companyUser");let{id:r}=n;return r?await e(Yv,{id:n.id,body:n}):r=await e(Kv,{body:n}),await this.dispatch(Hse,"companyUser"),!0}catch(n){return this.handleError(n,{object:"companyUser",action:`${yi}/${zA}`,actionPayload:arguments[1]}),!1}}},{SET_COMPANY_USERS:Gse,DELETE_COMPANY_USER:qse,CLEAR_COMPANY_USERS:Yse,SET_COMPANY_USERS_FETCHING:Kse,SET_COMPANY_USERS_POSTING:Jse}=xv,Zse={[Gse](t,{data:e=[]}){if(typeof e!="object")throw Error("Data must be a company user or an array of company users!");const n=Array.isArray(e)?e:[e],{ids:r,values:i}=Fl(n);Ys(t.data,i),t.ids=ia([...r,...t.ids])},[qse](t,e){Z.delete(t.data,e);const n=t.ids.indexOf(e);n!==-1&&t.ids.splice(n,1)},[Yse](t){Z.set(t,"data",{}),Z.set(t,"ids",[])},[Kse](t,e){t.isFetching=e},[Jse](t,e){t.isPosting=e}},Xse={namespaced:!0,state:jse,getters:{referenceById:t=>e=>t.data[e],byId:t=>e=>{const n=t.data[e];if(!n)return null;const{firstname:r,lastname:i}=n;return{...n,fullName:`${r||""} ${i||""}`.trim(),role:hY(n.CompanyUserPermission),avatarUrl:`${ie.api.baseUrl}/file/${n.AvatarPublicId}/download`}},all:(t,e)=>{const n={};return t.ids.forEach(r=>{n[r]=e.byId(r)}),n},isPosting:t=>t.isPosting,isFetching:t=>t.isFetching},actions:zse,mutations:Zse},Qse={...{invoice:{},isFetchingInvoice:!1,isPostingInvoice:!1},companyUser:{},company:{},isFetching:!1,isPosting:!1},Dd="settings",{FORM_RESET_OLD:eoe}=ce,{DO_LOAD_INVOICE_SETTINGS:Zv,LOAD_INVOICE_SETTINGS:GA,DO_UPDATE_INVOICE_SETTINGS:Xv,UPDATE_INVOICE_SETTINGS:qA,FORM_EDIT_INVOICE_SETTINGS:YA,FORM_SUBMIT_INVOICE_SETTINGS:KA}=tA,{SET_INVOICE_SETTINGS_FETCHING:JA,SET_INVOICE_SETTINGS_POSTING:ZA}=Dv,{SET_SETTINGS:toe}=pe.settings,{SET_FORM:noe}=pe.forms,roe={async[Zv]({commit:t}){try{t(JA,!0);const{data:e}=await Nie();t(toe,{key:"invoice",settings:e})}catch(e){throw e}finally{t(JA,!1)}},async[GA]({dispatch:t}){try{await t(Zv)}catch(e){this.handleError(e,{object:"companySettings",fallbackCode:"settings.get",action:`${Dd}/${GA}`})}},async[Xv]({dispatch:t,commit:e},{data:n}){try{e(ZA,!0),await Lie(n),t(Zv)}catch(r){throw r}finally{e(ZA,!1)}},async[qA]({dispatch:t},{data:e}){try{return await t(Xv,{data:e}),!0}catch(n){return this.handleError(n,{object:"setting",fallbackCode:"settings.put",action:`${Dd}/${qA}`,actionPayload:arguments[1]}),!1}},async[YA]({commit:t,state:e},{props:n=[]}={}){try{const r=xr(e.invoice,n);return t(`forms/${noe}`,{key:"companyInvoiceSettings",formData:r},{root:!0}),!0}catch(r){return this.handleError(r,{object:"setting",fallbackCode:"setting.editInvoice",action:`${Dd}/${YA}`,actionPayload:arguments[1]}),!1}},async[KA]({rootGetters:t,dispatch:e}){try{const n=t["forms/getFormByKey"]("companyInvoiceSettings"),{invoicePaymentAccountType:r}=n;return r==="bankgiro"?(n.invoicePaymentDomesticClearingNo=null,n.invoicePaymentDomesticAccountNo=null):r==="domesticBankAcc"&&(n.invoicePaymentBankGiro=null),await e(Xv,{data:n}),await this.dispatch(eoe,"companyInvoiceSettings"),!0}catch(n){return this.handleError(n,{object:"setting",fallbackCode:"setting.submitInvoice",action:`${Dd}/${KA}`}),!1}}},bi="settings",{FORM_RESET_OLD:XA,DO_LOAD_INVOICE_SETTINGS:ioe}=ce,{DO_LOAD_ALL_SETTINGS:QA,LOAD_ALL_SETTINGS:e2,DO_LOAD_SETTINGS_COMPANY:Rd,LOAD_SETTINGS_COMPANY:t2,LOAD_SETTINGS_COMPANYUSER:n2,UPDATE_SETTINGS:r2,DO_UPDATE_SETTINGS:jl,FORM_EDIT_COMPANY_SETTINGS:i2,DO_LOAD_SETTINGS_COMPANYUSER:Md,FORM_SUBMIT_COMPANY_SETTINGS:a2,FORM_EDIT_COMPANY_USER_SETTINGS:s2,FORM_SUBMIT_COMPANY_USER_SETTINGS:o2}=nA,{SET_SETTINGS:Qv,SET_SETTINGS_FETCHING:Nd,SET_SETTINGS_POSTING:l2}=pe.settings,{SET_FORM:c2}=pe.forms,u2=["ataTravel"],aoe=["extraWorkPrice","extraWorkManagementPrice","extraEntrepreneurPercentage","extraOtherPercentage"],d2=t=>{const e=t;return Object.keys(e).forEach(n=>{u2.includes(n)&&e[n]==="0"?e[n]="":e[n]==="true"?e[n]=!0:e[n]==="false"?e[n]=!1:e[n]==="null"?e[n]=null:typeof e[n]!="boolean"&&!Number.isNaN(Number(e[n]))&&e[n]!==""&&(e[n]=Number(e[n]))}),e},Ld=t=>{const e=[];return Object.keys(t).forEach(n=>{let r=t[n];t[n]===!0?r="true":t[n]===!1&&(r="false"),aoe.includes(n)&&(r=Number(r)),u2.includes(n)&&(t[n]===!1||t[n]==="")?e.push({name:n,value:!1,type:"string"}):e.push({name:n,value:r})}),e},soe={...roe,async[QA]({dispatch:t}){await t(Rd),await t(Md),await this.dispatch(ioe)},async[e2]({dispatch:t}){try{await t(QA)}catch(e){this.handleError(e,{object:"settings",fallbackCode:"settings.get",action:`${bi}/${e2}`})}},async[Rd]({commit:t}){try{t(Nd,!0);const{data:e}=await Ut.get("/companySetting"),n=d2(e);t(Qv,{key:"company",settings:n});const{ataTitleKey:r}=e;r&&r!=="ata"&&Q.i18next.addResources(Q.i18next.language,"_common",{ata:`$t(${r})`,ataThe:`$t(${r}The)`})}catch(e){throw e}finally{t(Nd,!1)}},async[t2]({dispatch:t}){try{await t(Rd)}catch(e){this.handleError(e,{object:"companySettings",fallbackCode:"settings.get",action:`${bi}/${t2}`})}},async[Md]({dispatch:t,commit:e}){var n;try{e(Nd,!0);const{data:r}=await Ut.get("/companyUserSetting"),i=d2(r);e(Qv,{key:"companyUser",settings:i});const{autoTriggerPurchaseEvent:a}=i;if(a){const{currency:s,amount:o,accountType:l}=a||{};(n=this.$trackEvent)==null||n.call(this,"purchase",{currency:s,amount:o,accountType:l}),await t(jl,{key:"companyUser",settings:Ld({autoTriggerPurchaseEvent:null})})}}catch(r){throw r}finally{e(Nd,!1)}},async[n2]({dispatch:t}){try{await t(Md)}catch(e){this.handleError(e,{object:"companyUserSettings",fallbackCode:"settings.get",action:`${bi}/${n2}`})}},async[r2]({dispatch:t,commit:e},{key:n,settings:r}){try{if(!n)throw new Error("Missing valid parameter key");const i=Ld(r);return e(Qv,{key:n,settings:r}),await t(jl,{key:n,settings:i}),!0}catch(i){return this.handleError(i,{object:"setting",fallbackCode:"settings.put",action:`${bi}/${r2}`,actionPayload:arguments[1]}),!1}},async[jl]({dispatch:t,commit:e},{key:n,settings:r}){try{if(e(l2,!0),n==="company")await Ut.post("/companySetting",r),t(Rd);else if(n==="companyUser")await Ut.post("/companyUserSetting",r),t(Md);else throw new Error(`Setting key: '${n}' is not valid, cannot update settings.`)}catch(i){throw i}finally{e(l2,!1)}},async[i2]({commit:t,state:e},{props:n=[]}={}){try{const r=xr(e.company,n);return t(`forms/${c2}`,{key:"companySettings",formData:r},{root:!0}),!0}catch(r){return this.handleError(r,{object:"setting",fallbackCode:"setting.editCompany",action:`${bi}/${i2}`,actionPayload:arguments[1]}),!1}},async[a2]({rootGetters:t,dispatch:e}){try{const n=t["forms/getFormByKey"]("companySettings"),r=Ld(n);return await e(jl,{key:"company",settings:r}),await this.dispatch(XA,"companySettings"),!0}catch(n){return this.handleError(n,{object:"setting",fallbackCode:"setting.submitCompany",action:`${bi}/${a2}`}),!1}},async[s2]({commit:t,state:e},{props:n=[]}={}){try{const r=xr(e.companyUser,n);return t(`forms/${c2}`,{key:"companyUserSettings",formData:r},{root:!0}),!0}catch(r){return this.handleError(r,{object:"setting",fallbackCode:"setting.editCompanyUser",action:`${bi}/${s2}`,actionPayload:arguments[1]}),!1}},async[o2]({rootGetters:t,dispatch:e}){try{const n=t["forms/getFormByKey"]("companyUserSettings"),r=Ld(n);return await e(jl,{key:"companyUser",settings:r}),await this.dispatch(XA,"companyUserSettings"),!0}catch(n){return this.handleError(n,{object:"setting",fallbackCode:"setting.submitCompanyUser",action:`${bi}/${o2}`}),!1}}},{SET_INVOICE_SETTINGS_FETCHING:ooe,SET_INVOICE_SETTINGS_POSTING:loe}=Dv,coe={[ooe](t,e){t.isFetchingInvoice=e},[loe](t,e){t.isPostingInvoice=e}},{SET_SETTINGS:uoe,CLEAR_SETTINGS:doe,SET_SETTINGS_FETCHING:poe,SET_SETTINGS_POSTING:foe}=rA,hoe={...coe,[uoe](t,{key:e,settings:n={}}){if(!t[e])throw Error(`${e} is not a valid key/type`);Object.keys(n).forEach(r=>{const i=n[r];Z.set(t[e],r,i)})},[doe](t,{key:e,name:n=null}){n?Z.delete(t[e],n):Z.set(t,e,{})},[poe](t,e){t.isFetching=e},[foe](t,e){t.isPosting=e}},moe={...{allInvoiceSettings:t=>t.invoice,getInvoiceSetting:t=>e=>{const n=t.invoice[e];return typeof n<"u"?n:null},isFetchingInvoice:t=>t.isFetchingInvoice,isPostingInvoice:t=>t.isPostingInvoice,isRegisteredForInvoicing:(t,e)=>e.getInvoiceSetting("isRegisteredForInvoicing")},allCompanySettings:t=>t.company,getCompanySetting:t=>e=>{const n=t.company[e];return typeof n<"u"?n:null},getCompanyUserSetting:t=>e=>{const n=t.companyUser[e];return typeof n<"u"?n:null},isPosting:t=>t.isPosting,isFetching:t=>t.isFetching,allowHidePrice:(t,e)=>e.getCompanySetting("work_allowHidePrice"),hidePriceOnNewlyAddedArticles:(t,e)=>e.allowHidePrice&&e.getCompanySetting("work_default_hidePrice"),allowDocumentCustomSender:(t,e)=>e.getCompanySetting("allowProjectCustomSender"),allowHideDocArticlePriceInput:(t,e)=>e.getCompanySetting("allowHideDocArticlePriceInput"),defaultHideDocArticlePriceInput:(t,e)=>e.getCompanySetting("hideDocArticlePriceInput"),defaultVatRate:(t,e)=>e.getCompanySetting("defaultVatRate"),defaultCurrency:(t,e)=>e.getCompanyUserSetting("defaultCurrency"),documentSenderSign:(t,e)=>e.getCompanyUserSetting("documentSenderSign"),showOverviewOnboardingOverlay:(t,e)=>e.getCompanyUserSetting("showOverviewOnboardingOverlay"),reminderSettings:t=>{const e=t.company||{};return{notAnswered:e.defaultReminderRemindDays,notViewed:e.defaultReminderViewedDays,expires:e.defaultReminderExpireDays}},defaultDocumentTheme:t=>{const{documentThemeBackgroundFilter:e,documentThemePriceBackground:n,documentThemePrimaryColor:r,offerBrandingBackgroundUrl:i}=t.company||{};return{...e&&e!=="hsla(239,71%,89%,0)"&&{backgroundFilter:e},...n&&n!=="hsla(249,60%,34%,1)"&&{priceSummaryBackground:n},...r&&r!=="hsla(271,100%,38%,1)"&&{headingColor:r},...r&&r!=="hsla(271,100%,38%,1)"&&{headingColor:r},...i&&{background:i}}},isAuthenticatedCRM:(t,e)=>(n,r=null)=>({hubspot:[{key:"hubspotNativeTokens",type:"getCompanyUserSetting",appType:"native"},{key:"hubspotTokens",type:"getCompanyUserSetting",appType:"extension"}],upsales:[{key:"upsalesApiKey",type:"getCompanySetting"}],salesforce:[{key:"salesforceTokens",type:"getCompanyUserSetting"}],pipedrive:[{key:"pipedriveTokens",type:"getCompanyUserSetting"}]}[n]||[]).filter(a=>!r||a.appType===r).some(({key:a,type:s})=>{var o;return!!((o=e[s])!=null&&o.call(e,a))}),allAuthenticatedCRMs:(t,e)=>["hubspot","salesforce","pipedrive"].filter(n=>!!e.isAuthenticatedCRM(n)),isFortnoxInstalled:(t,e)=>!!e.getCompanySetting("fortnoxTokens")&&pr.checkFeature("fortnox")},goe={namespaced:!0,state:Qse,getters:moe,actions:soe,mutations:hoe},voe={...(()=>({isUploading:!1,article:{},document:{},document2:{},projectNote:{},company:{},companyBranding:{},companyUser:{},companyInvoiceSettings:{},companySettings:{},companyUserSettings:{},moduleArticles:[],modulePrices:{},file:{},invoice:{},invoiceNote:{},companyReference:{},companyReferenceItems:[],endCustomer:{},timeline:{},timeTrack:{TimeTrackSlots:[]},documentTerm:{},kycForm:{}}))()},{FORM_DOCUMENT_SET_CLIENT:p2,FORM_DOCUMENT_SUBMIT_CLIENT:yoe}=ur,{SET_FORM_VALUE:_a,REMOVE_FORM_VALUE:f2}=dr,_oe={async[p2]({commit:t,getters:e,rootGetters:n},{formData:r}){if(!r)return t(_a,{key:"document.ModuleEndCustomer",value:null}),t(f2,"document.ModuleExtraCustomers"),!0;const i=Object.assign({},r);i.id=null,i.EndCustomerId=r.id,t(_a,{key:"document.ModuleEndCustomer",value:i});const a=e.documentField("ModuleExtraCustomers");i.customerType==="company"&&i.reference&&a&&a.length===0&&t(_a,{key:"document.ModuleExtraCustomers",value:{name:i.reference}});const s=n["settings/getCompanySetting"]("priceInputCompany"),o=n["settings/getCompanySetting"]("priceInputDefault");return i.customerType==="company"&&s?t("application/updateField",{path:"priceInputVat",value:s},{root:!0}):i.customerType==="individual"&&o&&t("application/updateField",{path:"priceInputVat",value:o},{root:!0}),!0},async[yoe]({commit:t,dispatch:e,rootGetters:n},{mode:r="create"}={}){let i=null;if(r==="edit"){const a=n["forms/documentField"]("ModuleEndCustomer"),s=n["forms/getFormByKey"]("endCustomer");if(!a)throw new Error("Could not find the old client");if(!s)throw new Error("Could not find the new client");if(a.customerType==="individual"&&s.customerType==="company")t(f2,"document.ModuleExtraCustomers"),t(_a,{key:"document.ModuleExtraCustomers",value:{name:s.reference}});else if(s.customerType==="company"){const o=n["forms/documentField"]("ModuleExtraCustomers");o&&o[0]?t(_a,{key:"document.ModuleExtraCustomers[0]",value:{name:s.reference}}):t(_a,{key:"document.ModuleExtraCustomers",value:{name:s.reference}})}i=Object.assign({},s,{id:s.EndCustomerId}),s.doUpdateEndCustomer&&(t(_a,{key:"endCustomer",value:i}),await e(`endCustomers/${Rr.FORM_SUBMIT_ENDCUSTOMER}`,{},{root:!0}))}else{const a=await e(`endCustomers/${Rr.FORM_SUBMIT_ENDCUSTOMER}`,{},{root:!0}),s=n["endCustomers/endCustomerById"](a);if(!s)throw new Error("Could not find the endCustomer");i=Object.assign({},s)}return await e(p2,{formData:i}),!0}};var h2={exports:{}};(function(t,e){(function(n,r){t.exports=r()})(Ne,function(){Array.isArray||(Array.isArray=function(a){return Object.prototype.toString.call(a)==="[object Array]"});function n(a){for(var s=[],o=0,l=a.length;o<l;o++)s.indexOf(a[o])===-1&&s.push(a[o]);return s}var r={},i={"==":function(a,s){return a==s},"===":function(a,s){return a===s},"!=":function(a,s){return a!=s},"!==":function(a,s){return a!==s},">":function(a,s){return a>s},">=":function(a,s){return a>=s},"<":function(a,s,o){return o===void 0?a<s:a<s&&s<o},"<=":function(a,s,o){return o===void 0?a<=s:a<=s&&s<=o},"!!":function(a){return r.truthy(a)},"!":function(a){return!r.truthy(a)},"%":function(a,s){return a%s},log:function(a){return console.log(a),a},in:function(a,s){return!s||typeof s.indexOf>"u"?!1:s.indexOf(a)!==-1},cat:function(){return Array.prototype.join.call(arguments,"")},substr:function(a,s,o){if(o<0){var l=String(a).substr(s);return l.substr(0,l.length+o)}return String(a).substr(s,o)},"+":function(){return Array.prototype.reduce.call(arguments,function(a,s){return parseFloat(a,10)+parseFloat(s,10)},0)},"*":function(){return Array.prototype.reduce.call(arguments,function(a,s){return parseFloat(a,10)*parseFloat(s,10)})},"-":function(a,s){return s===void 0?-a:a-s},"/":function(a,s){return a/s},min:function(){return Math.min.apply(this,arguments)},max:function(){return Math.max.apply(this,arguments)},merge:function(){return Array.prototype.reduce.call(arguments,function(a,s){return a.concat(s)},[])},var:function(a,s){var o=s===void 0?null:s,l=this;if(typeof a>"u"||a===""||a===null)return l;for(var c=String(a).split("."),u=0;u<c.length;u++)if(l==null||(l=l[c[u]],l===void 0))return o;return l},missing:function(){for(var a=[],s=Array.isArray(arguments[0])?arguments[0]:arguments,o=0;o<s.length;o++){var l=s[o],c=r.apply({var:l},this);(c===null||c==="")&&a.push(l)}return a},missing_some:function(a,s){var o=r.apply({missing:s},this);return s.length-o.length>=a?[]:o}};return r.is_logic=function(a){return typeof a=="object"&&a!==null&&!Array.isArray(a)&&Object.keys(a).length===1},r.truthy=function(a){return Array.isArray(a)&&a.length===0?!1:!!a},r.get_operator=function(a){return Object.keys(a)[0]},r.get_values=function(a){return a[r.get_operator(a)]},r.apply=function(a,s){if(Array.isArray(a))return a.map(function(g){return r.apply(g,s)});if(!r.is_logic(a))return a;var o=r.get_operator(a),l=a[o],c,u,d,p,f;if(Array.isArray(l)||(l=[l]),o==="if"||o=="?:"){for(c=0;c<l.length-1;c+=2)if(r.truthy(r.apply(l[c],s)))return r.apply(l[c+1],s);return l.length===c+1?r.apply(l[c],s):null}else if(o==="and"){for(c=0;c<l.length;c+=1)if(u=r.apply(l[c],s),!r.truthy(u))return u;return u}else if(o==="or"){for(c=0;c<l.length;c+=1)if(u=r.apply(l[c],s),r.truthy(u))return u;return u}else{if(o==="filter")return p=r.apply(l[0],s),d=l[1],Array.isArray(p)?p.filter(function(g){return r.truthy(r.apply(d,g))}):[];if(o==="map")return p=r.apply(l[0],s),d=l[1],Array.isArray(p)?p.map(function(g){return r.apply(d,g)}):[];if(o==="reduce")return p=r.apply(l[0],s),d=l[1],f=typeof l[2]<"u"?l[2]:null,Array.isArray(p)?p.reduce(function(g,v){return r.apply(d,{current:v,accumulator:g})},f):f;if(o==="all"){if(p=r.apply(l[0],s),d=l[1],!Array.isArray(p)||!p.length)return!1;for(c=0;c<p.length;c+=1)if(!r.truthy(r.apply(d,p[c])))return!1;return!0}else if(o==="none"){if(p=r.apply(l[0],s),d=l[1],!Array.isArray(p)||!p.length)return!0;for(c=0;c<p.length;c+=1)if(r.truthy(r.apply(d,p[c])))return!1;return!0}else if(o==="some"){if(p=r.apply(l[0],s),d=l[1],!Array.isArray(p)||!p.length)return!1;for(c=0;c<p.length;c+=1)if(r.truthy(r.apply(d,p[c])))return!0;return!1}}if(l=l.map(function(g){return r.apply(g,s)}),i.hasOwnProperty(o)&&typeof i[o]=="function")return i[o].apply(s,l);if(o.indexOf(".")>0){var h=String(o).split("."),m=i;for(c=0;c<h.length;c++){if(!m.hasOwnProperty(h[c]))throw new Error("Unrecognized operation "+o+" (failed at "+h.slice(0,c+1).join(".")+")");m=m[h[c]]}return m.apply(s,l)}throw new Error("Unrecognized operation "+o)},r.uses_data=function(a){var s=[];if(r.is_logic(a)){var o=r.get_operator(a),l=a[o];Array.isArray(l)||(l=[l]),o==="var"?s.push(l[0]):l.forEach(function(c){s.push.apply(s,r.uses_data(c))})}return n(s)},r.add_operation=function(a,s){i[a]=s},r.rm_operation=function(a){delete i[a]},r.rule_like=function(a,s){if(s===a||s==="@")return!0;if(s==="number")return typeof a=="number";if(s==="string")return typeof a=="string";if(s==="array")return Array.isArray(a)&&!r.is_logic(a);if(r.is_logic(s)){if(r.is_logic(a)){var o=r.get_operator(s),l=r.get_operator(a);if(o==="@"||o===l)return r.rule_like(r.get_values(a,!1),r.get_values(s,!1))}return!1}if(Array.isArray(s))if(Array.isArray(a)){if(s.length!==a.length)return!1;for(var c=0;c<s.length;c+=1)if(!r.rule_like(a[c],s[c]))return!1;return!0}else return!1;return!1},r})})(h2);function boe(t,e){let n=0;const r=[];for(const[i,a]of t.entries()){const{code:s,data:o}=a;if(s===e){const l=r.slice(n).find(({code:c,data:u})=>{if(c!==s)return!1;const d=Y(u,"client.id"),p=Y(o,"client.id"),f=Y(u,"email"),h=Y(o,"email");return d===p&&p!==void 0||f===h&&h!==void 0});l?(l.children=[...l.children,a],l.createdAt=a.createdAt):r.push({...a,children:[]})}else s==="sent"&&(n=i?i-1:0),r.push(a)}return r}const m2=({nodes:t,data:e})=>{const n=[];return t.forEach(r=>{const i=r.isVisible?lY(r.isVisible,["_uniqueId"]):!1;(!i||h2.exports.apply(i,e))&&n.push(r),r&&Array.isArray(r.children)&&r.children.length&&(r.children=m2({nodes:r.children,data:e}))}),n},g2={rot:{max:5e4*100,ratio:.3},rut:{max:75e3*100,ratio:.5},greenRot15:{max:5e4*100,ratio:.15},greenRot20:{max:5e4*100,ratio:.2},greenRot50:{max:5e4*100,ratio:.5}},v2=(t,e,n)=>{if(!g2[t])throw new Error("Missing param type");const{max:r,ratio:i}=g2[t];return Math.min(n*r,e*i)},Fd=({type:t="fixed",currency:e,maxTotal:n=null,articles:r=[],clients:i=[],region:a={},useVat:s,rounding:o})=>{if(typeof s>"u")throw new Error("Missing param useVat");if(typeof s!="boolean")throw new Error("Param useVat must be a boolean");if(typeof o!="object"||o===null)throw new Error("Param rounding must be a object");if(typeof o.enabled>"u")throw new Error("Missing param rounding.enabled");if(typeof o.enabled!="boolean")throw new Error("Param rounding.enabled must be a boolean");if(typeof o.interval>"u")throw new Error("Missing param rounding.interval");if(typeof o.interval!="number")throw new Error("Param rounding.interval must be a number");if(typeof o.show>"u")throw new Error("Missing param rounding.show");if(typeof o.show!="boolean")throw new Error("Param rounding.show must be a boolean");const l={type:t,subTotal:0,taxAmount:0,roundingAmount:0,total:0,currency:e,maxTotal:t==="openAccMaxPrice"?n||0:null,region:{country:"sweden",houseWorkType:null,reverseVat:!!i.find(d=>Y(d,"region.reverseVat")),houseWorkManualAmount:a.houseWorkManualAmount||null,houseWorkWork:0,houseWorkAmount:a.houseWorkManualAmount||a.houseWorkAmount||null},helpers:{discount:0,isIndivid:!i.find(d=>d.type==="company"),noOfClients:i.length||1},useVat:s,rounding:{enabled:o.enabled,interval:o.interval,show:o.show}},c=d=>d/100;if(l.helpers.isIndivid&&!l.region.reverseVat){const d=[...r].sort((p,f)=>new Date(f.updatedAt).getTime()-new Date(p.updatedAt).getTime()).find(kg);d&&!l.region.houseWorkType&&(l.region.houseWorkType=fk(d))}for(let d of r){d=ra(d);const{totalAmount:p,currency:f,priceType:h,discount:m,discountType:g}=d;let{vat:v}=d;s||(v=0),["fixed","approx"].includes(h)&&(l.currency=f,l.subTotal+=p,l.taxAmount+=p*c(v),l.helpers.discount+=g==="percentage"?p/((100-m/100)/100)-p:m,l.region.houseWorkType&&kg(d)&&(l.region.houseWorkWork+=p*((100+v)/100)))}!l.helpers.isIndivid&&l.region.reverseVat&&(l.taxAmount=0),l.region.houseWorkType&&l.region.houseWorkAmount===null&&(l.region.houseWorkAmount=v2(l.region.houseWorkType,l.region.houseWorkWork,l.helpers.noOfClients));const u=l.subTotal+l.taxAmount-l.region.houseWorkAmount;return l.roundingAmount=o.enabled&&o.interval?Math.round(u/o.interval)*o.interval-u:0,l.total=u+l.roundingAmount,Sg(l),l},Eoe=t=>{if(!t)return null;const{currency:e,clients:n=[],articles:r=[]}=t,i=Y(t,"data.packageGroups",{}),a=Y(t,"data.formSettings.useVat",!0),s={enabled:Y(t,"data.formSettings.rounding.enabled",!1),interval:Y(t,"data.formSettings.rounding.interval",1),show:Y(t,"data.formSettings.rounding.show",!0)},o=[],l=[];let c=null,u=null,d=null;if(Object.keys(i).forEach(m=>{const g=i[m].packages.filter(({isSelected:_})=>_);l.push(...g.map(({packageId:_})=>_));const v=Y(g,"[0].data.prices.type","fixed");o.push(...Array.isArray(v)?v:[v]),g.forEach(_=>{const{maxTotal:w=null,region:y}=Y(_,"data.prices")||{};v==="openAccMaxPrice"&&!Number.isNaN(Number.parseInt(w,10))&&(c+=w),y&&!Number.isNaN(Number.parseInt(y.houseWorkManualAmount,10))&&(u+=y.houseWorkManualAmount)})}),!o.length){const m=Y(t,"data.prices.type","fixed");o.push(...Array.isArray(m)?m:[m])}const p=r.filter(({packageId:m})=>!m||l.includes(m)),f=p.filter(kg),h={};for(let m of f){m=ra(m);const g=fk(m),v=a?m.vat:0;h[g]||(h[g]=null),h[g]+=m.totalAmount*((100+v)/100)}for(const[m,g]of Object.entries(h))g&&(d+=v2(m,g,n.length||1));return{...Fd({currency:e,articles:p,clients:n,region:{country:"sweden",houseWorkManualAmount:u,houseWorkAmount:d},useVat:a,rounding:s}),type:o,maxTotal:c}},Toe=t=>{const e=i=>Q.t(`_common:documentMentions.${i}`),n=!!Y(t,"clients.0"),r={clientName:{key:"clients.0.name",meta:{inputDisabled:!n,virtual:!0}},clientEmail:{key:"clients.0.email",meta:{inputDisabled:!n,virtual:!0}},clientPhone:{key:"clients.0.cellphone",meta:{inputDisabled:!n,virtual:!0}},clientCompany:{key:"clients.0.companyName",meta:{inputDisabled:!n,virtual:!0}},clientAddress:{key:"clients.0.addresses.standard.street",meta:{inputDisabled:!n,virtual:!0}},clientZip:{key:"clients.0.addresses.standard.zip",meta:{inputDisabled:!n,virtual:!0}},clientCity:{key:"clients.0.addresses.standard.city",meta:{inputDisabled:!n,virtual:!0}},clientSocialNo:{key:"clients.0.socialNo",meta:{inputDisabled:!0,virtual:!0}},clientOrgNo:{key:"clients.0.orgNo",meta:{inputDisabled:!0,virtual:!0}},senderName:{key:"companyUser.fullName",meta:{inputDisabled:!0,virtual:!0}},senderEmail:{key:"companyUser.email",meta:{inputDisabled:!0,virtual:!0}},senderPhone:{key:"companyUser.cellphone",meta:{inputDisabled:!0,virtual:!0}},senderCompany:{key:"company.name",meta:{inputDisabled:!0,virtual:!0}},senderAddress:{key:"company.street",meta:{inputDisabled:!0,virtual:!0}},senderZip:{key:"company.zip",meta:{inputDisabled:!0,virtual:!0}},senderCity:{key:"company.city",meta:{inputDisabled:!0,virtual:!0}},documentName:{key:"data.name",meta:{inputDisabled:!1,virtual:!0}}};for(const i of Object.keys(r))r[i].label=e(i),r[i].value=Y(t,r[i].key)||"";return r},Ul=t=>t?Object.keys(t).reduce((e,n)=>t[n]||t[n]===!1?{...e,[n]:t[n]}:e,{}):{},woe=t=>{if(!t)return null;let e=(t||"").replace(/^SE|[-]/g,"").trim();return e.length===12&&(e=e.substring(2)),`SE${e}01`},ey=()=>{const t=["email"];return pr.checkFeature("sms")&&pr._isValidCompanySetting("deliveryDefaultSms")&&t.push("sms"),{region:{country:"sweden"},permissions:{write:["clients[*].socialNo","clients[0].region.propertyDesignation","data.rejectReasons","data.packageGroups[*].packages[*].isSelected"]},answer:null,deliveryTypes:t,documentRole:"signee",answerMethod:{accept:"signature",deny:"button"},signOrder:0,_uniqueId:Rn.exports()}},ty=(t,e)=>{const n={endCustomerId:t.id,type:t.customerType,name:t.customerType==="individual"?t.name:t.reference,socialNo:t.customerType==="individual"?t.org_no:null,companyName:t.customerType==="company"?t.name:null,orgNo:t.customerType==="company"?t.org_no:null,email:t.email,cellphone:t.cellphone,cellphoneRegion:t.cellphoneRegion,addresses:{...t.street||t.zip||t.city?{standard:{street:t.street,zip:`${t.zip||""}`,city:t.city,country:t.country,latitude:t.latitude?`${t.latitude}`:null,longitude:t.longitude?`${t.longitude}`:null}}:{},...t.workStreet||t.workZip||t.workCity?{work:{street:t.workStreet,zip:`${t.workZip||""}`,city:t.workCity,country:t.country,latitude:t.latitude?`${t.latitude}`:null,longitude:t.longitude?`${t.longitude}`:null}}:{}},vatNumber:t.vatNumber,region:{...e&&e.region,reverseVat:t.reverseVat&&t.customerType==="company"},documentRole:Y(e,"documentRole","signee"),signOrder:Y(e,"signOrder",0)};return{...ey(),...e,...n}},ny=(t={})=>{const e=t,n=Y(e,"addresses.standard",{}),r=Y(e,"addresses.work",{});return{id:e.endCustomerId,EndCustomerId:e.endCustomerId,customerType:e.type||"individual",name:e.type==="individual"?e.name:e.companyName,email:e.email,cellphone:e.cellphone,cellphoneRegion:e.cellphoneRegion,org_no:e.type==="individual"?e.socialNo:e.orgNo,street:n.street,zip:n.zip,city:n.city,workStreet:r.street,workZip:r.zip,workCity:r.city,vatNumber:e.vatNumber||woe(e.orgNo)||"",separateWorkAddress:!!Object.keys(r).length,reverseVat:Y(e,"region.reverseVat",!1),longitude:Y(e,"addresses[0].longitude",null),latitude:Y(e,"addresses[0].latitude",null),reference:e.type==="company"?e.name:null}},Soe=({background:t,backgroundFilter:e,priceSummaryBackground:n,showPriceSummary:r})=>({resourceUrl:t,overlayColor:e,backgroundColor:n,showPriceSummary:r}),koe=({header:t={},theme:e={}})=>{const{resourceUrl:n="",title:r="",backgroundColor:i="",overlayColor:a="",showPriceSummary:s}={...Soe(e),...t};return{layout:"price",baseStyle:{textColor:"",textAlign:"left"},items:[{type:"content",size:50,media:{type:"color",backgroundColor:i},value:{preText:"",documentName:r?`<h1>${r}</h1>`:"",postText:"",showLogo:!0,logotype:""}},{type:"media",size:50,media:{type:"image",resourceUrl:n,overlay:!0,overlayColor:a}}],...typeof s=="boolean"&&{showPriceSummary:s}}},Coe=(t,e={})=>(!t||!t.data||Y(t,"template.views.read.nodes",[]).filter(r=>r.itemType==="header"&&!!r.value.header).map(r=>r.value.header.substring(5)).forEach(r=>{if(t.data[r]&&t.data[r].layout==="legacy"){const i={...e,...Ul(t.data.theme)};t.data[r]=koe({header:{...t.data[r],title:Y(t,"data.name","")},theme:i})}}),t),Ooe={isHouseWorkAuto:!0,rotAmount:null,rutAmount:null,persons:[],propertyType:null,realEstateId:null,condominiumId:null,condominiumOrgNo:null,isExported:!1,isProcessed:!1},Vl={id:{$default:null,$type:Number,$scope:["invoice"]},publicId:{$default:null,$type:String},status:{$default:"draft",$type:String,$scope:["invoice"]},subStatus:{$default:null,$type:String},type:{$default:"invoice",$type:String,$scope:["invoice"]},invoiceNumber:{$default:null,$type:String,$scope:["invoice"]},ocr:{$default:null,$type:Number},ourReference:{$default:null,$type:String,$scope:["invoice"]},yourReference:{$default:null,$type:String,$scope:["invoice"]},invoiceDate:{$default:dk(new Date).toISOString(),$type:Date,$scope:["invoice"]},dueDays:{$default:null,$type:Number,$scope:["invoice"],$virtual:[{name:"dueDays",set(t,{getters:e}){return t!==null?t:e["settings/getInvoiceSetting"]("invoiceDueDays")||null}}]},dueDate:{$default:null,$type:Date,$scope:["invoice"],$virtual:[{name:"dueDate",set(t,{getters:e}){if(t!==null)return t;const n=e["settings/getInvoiceSetting"]("invoiceDueDays")||1;return Nu(iY(di(Vl.invoiceDate.$default),n)).toISOString()}}]},deliveryDate:{$default:null,$type:Date,$scope:["invoice"]},sentAt:{$default:null,$type:Date},attestedAt:{$default:null,$type:Date},disputedAt:{$default:null,$type:Date},salesRequestedAt:{$default:null,$type:Date},pausedAt:{$default:null,$type:Date},interestType:{$default:"noInterest",$type:String,$scope:["invoice"],$virtual:[{name:"interestType",set(t,{getters:e}){return e["settings/getInvoiceSetting"]("invoiceInterestPercentage")?"fixed":"noInterest"}}]},interestPercentage:{$default:null,$type:Number,$scope:["invoice"],$virtual:[{name:"interestPercentage",set(t,{getters:e}){return t!==null?t:e["settings/getInvoiceSetting"]("invoiceInterestPercentage")||null}}]},interestStartInDaysAfterDueDate:{$default:0,$type:Number,$scope:["invoice"]},invoiceFee:{$default:null,$type:Number,$scope:["invoice"],$virtual:[{name:"invoiceFee",set(t,{getters:e}){return t!==null?t:e["settings/getInvoiceSetting"]("invoiceFee")||null}}]},reminderFee:{$default:null,$type:Number,$scope:["invoice"],$virtual:[{name:"reminderFee",set(t,{getters:e}){return t!==null?t:e["settings/getInvoiceSetting"]("invoiceReminderFee")||null}}]},deliveryTypes:{$default:["email"],$type:Array,$scope:["invoice"]},totalAmount:{$default:0,$type:Number},remainingAmount:{$default:0,$type:Number},paidAmount:{$default:0,$type:Number},creditedAmount:{$default:0,$type:Number},writeOffAmount:{$default:0,$type:Number},reminderAmount:{$default:0,$type:Number},totalVatAmount:{$default:0,$type:Number},centRoundingAmount:{$default:0,$type:Number},transferAmount:{$default:0,$type:Number},currency:{$default:"SEK",$type:String},partnerPdfId:{$default:null,$type:String},ModuleArticles:{$default:[],$type:Array,$scope:["invoice"]},ModuleEndCustomer:{$default:null,$type:Object,$scope:["invoice"]},ModuleBranding:{$scope:["invoice"],$type:Object,$default:{message:null,useMessageEmail:!0}},InvoiceFiles:{$scope:["invoice"],$type:Array,$default:[]},InvoiceRegionSweden:{$default:Ooe,$type:Object,$scope:["invoice"]},ModuleScheduledDeliveries:{$scope:["invoice"],$type:Array,$default:[{type:"viewed",sendDays:null,sendType:"email",sendAt:null,status:"new"}],$virtual:[{name:"ModuleScheduledDeliveries",set(t,{getters:e}){return this.type==="credit"?[]:e["settings/getCompanySetting"]("invoiceReminderActive")?t.map(i=>{const a=i;if(a.sendDays!==null)return a;let s=null;return a.type==="viewed"&&(s=e["settings/getCompanySetting"]("invoiceReminderDefaultViewedDays")),s!==null&&(a.sendDays=s),a}):[]}}]},CompanyId:{$default:null,$type:"ref",$ref:"companies",$scope:["invoice"]},CompanyUserId:{$default:null,$type:"ref",$ref:"companyUsers",$scope:["invoice"]},creditsInvoiceId:{$default:null,$type:"ref",$ref:"invoices",$scope:["invoice"]},object:{$default:null,$type:String,$scope:["invoice"]},objectId:{$default:null,$type:Number,$scope:["invoice"]},documentId:{$default:null,$type:String,$scope:["invoice"]},projectId:{$default:null,$type:Number,$scope:["invoice"]},createdAt:{$default:null,$type:Date},updatedAt:{$default:null,$type:Date},deletedAt:{$default:null,$type:Date}};class ry{constructor(e,n){if(!e)throw Error("Missing argument invoice");if(!n)throw Error("Missing argument getters");this._getters=n,this._invoice=e}get id(){return this.getProperty("id")||null}get publicId(){return this.getProperty("publicId")||null}get pdfPath(){if(this.status==="draft"||this.isSale)return null;const e=this.latestReminder;if(e){const{id:n}=e;return`${ie.api.baseUrl}/public/invoice/${this.publicId}/pdf/reminder/${n}`}return`${ie.api.baseUrl}/public/invoice/${this.publicId}/pdf`}getCompany(){const{_getters:e}=this,n=this.getProperty("CompanyId")||{};return e["companies/companyById"](n)}getCompanyUser(){const{_getters:e}=this,n=this.getProperty("CompanyUserId")||{};return e["companyUsers/byId"](n)}get status(){return this.getProperty("status")}get visualStatus(){return this.getProperty("transferAmount")?"paying":this.status}get subStatus(){return this.getProperty("subStatus")}get type(){return this.getProperty("type")}get projectId(){return this.getProperty("projectId")||null}get document(){return this.documentId?this._getters["documents2/byId"](this.documentId):null}get documentId(){return this.getProperty("documentId")}get client(){return this.getProperty("ModuleEndCustomer")||null}get files(){return this.getProperty("InvoiceFiles")}get totalAmount(){return this.getProperty("totalAmount")}get totalVatAmount(){return this.getProperty("totalVatAmount")}get totalExVat(){return this.totalAmount-this.totalVatAmount}get paidAmount(){return this.getProperty("paidAmount")}get sentAt(){return this.getProperty("sentAt")}get dueDate(){const e=this.latestReminder;return e?e.dueDate:this.getProperty("dueDate")}get invoiceDate(){const e=this.latestReminder;return e?e.invoiceDate:this.getProperty("invoiceDate")}get invoiceNumber(){return this.getProperty("invoiceNumber")}get reminders(){return this.getProperty("InvoiceReminders")||[]}get latestReminder(){const e=this.reminders;return e.length?e[e.length-1]:null}get canDispute(){return this.getProperty("id")&&!["draft","salesRequest","sold","completed"].includes(this.status)&&!this.isDisputed}get canRegisterPayment(){return this.getProperty("id")&&!["draft","salesRequest","sold","completed"].includes(this.status)}get canRegisterWriteOff(){return this.getProperty("id")&&!["draft","salesRequest","sold","completed"].includes(this.status)}get canSendReminder(){return this.getProperty("id")&&!["draft","salesRequest","sold","completed"].includes(this.status)}get canCredit(){const e=this.getProperty("id"),n=this.getProperty("type")==="credit";return e&&this.isAttested&&!n&&!["draft","salesRequest"].includes(this.status)}get canSell(){return this.id&&!this.isAttested&&!["salesRequest"].includes(this.status)}get canCancelSell(){return this.id&&this.isAttested&&["salesRequest"].includes(this.status)}get creditsInvoice(){const{_getters:e}=this,n=this.getProperty("creditsInvoice")||null;return e["invoices/byId"](n)}get creditInvoices(){const{_getters:e}=this;return(this.getProperty("creditInvoices")||[]).map(i=>e["invoices/byId"](i))}get interestInvoiceTo(){const{_getters:e}=this,n=this.getProperty("interestForInvoiceId")||null;return e["invoices/byId"](n)}get interestInvoices(){const{_getters:e}=this;return(this.getProperty("interestInvoices")||[]).map(i=>e["invoices/byId"](i))}get isDisputed(){return!!this.getProperty("disputedAt")}get isAttested(){return!!this.getProperty("attestedAt")}get isReverseVat(){const e=this.getProperty("ModuleEndCustomer")||null;return e?e.reverseVat:!1}get events(){const e=this.getProperty("Events")||[],n=[];return e.forEach(r=>{const i={type:r.type};r.EventData.forEach(a=>{i[a.name]=a.value}),n.push({name:r.code==="sentSms"?"sent":r.code,timestamp:r.createdAt,data:i,counter:r.counter})}),n}get articles(){return ra(this.getProperty("ModuleArticles")||[])}get totalNetAmount(){const{articles:e}=this;return e.reduce((r,i)=>r+i.totalAmount,0)}get currency(){return"SEK"}get invoiceRegionSweden(){return this.getProperty("InvoiceRegionSweden")||{}}get rotAmount(){const e=this.getProperty("InvoiceRegionSweden")||{},{rotAmount:n}=e;return n||0}get rutAmount(){const e=this.getProperty("InvoiceRegionSweden")||{},{rutAmount:n}=e;return n||0}get invoiceFee(){return this.getProperty("invoiceFee")||0}get isSale(){return!!(["salesRequest","sold"].includes(this.status)||this.getProperty("salesRequestAcceptedAt"))}getScheduledDeliveries({type:e,status:n}={}){let r=this.getProperty("ModuleScheduledDeliveries")||null;return!r||!r.length?[]:(e&&(r=r.filter(i=>i.type===e)),n&&(r=r.filter(i=>i.status===n)),r)}getProperty(e=""){return e.replace(/\[(.*)\]/ig,(i,a)=>`.${a}`).split(".").reduce((i,a)=>i&&(typeof i[a]!="object",i[a]),this._invoice)}getProperties({scope:e=null,includeVirtual:n=!1}={}){const r=Vl,{_getters:i}=this;return Pse({schema:r,getters:i,data:this._invoice,scope:e,includeVirtual:n,instance:this})}getVirtualProperties({scope:e=null}={}){const n=Vl,{_getters:r}=this;return VA({schema:n,getters:r,data:this._invoice,scope:e,instance:this})}}at(ry,"schema",Vl);const{DO_LOAD_INVOICE:y2,DO_UPDATE_INVOICE:Aoe,DO_CREATE_INVOICE:$oe,DO_ATTEST_INVOICE:xoe,DO_SELL_INVOICE:Ioe,LOAD_FILE:Poe,FORM_CLEAR_FORM:Doe,FORM_RESET_OLD:Roe,DO_LOAD_DOCUMENT2:_2,UPDATE_VIEW_SETTINGS:Moe,LOAD_INVOICE_SETTINGS:Noe}=ce,{SET_FORM:Bl,SET_FORM_VALUE:Loe}=pe.forms,{DELETE_MANY_INVOICES:Foe}=pe.invoices,{LOAD_INVOICE_FORM:joe,LOAD_CREDIT_INVOICE_FORM:Uoe,LOAD_DOCUMENT2_INVOICE_FORM:Voe,LOAD_CAMPAIGN_INVOICE_FORM:Boe,SUBMIT_INVOICE_FORM:Hoe,SET_KYC_FORM:Woe,DO_SAVE_KYC_FORM:zoe}=XO,Ei=(t,e)=>{t(Moe,{view:"newInvoice",settings:{isLoading:e}})};async function iy({id:t=null,rootState:e,state:n,rootGetters:r,dispatch:i,projectId:a=null,documentId:s=null}){if(!e)throw new Error("Missing parameter rootState");if(!n)throw new Error("Missing parameter state");if(!r)throw new Error("Missing parameter rootGetters");if(!i)throw new Error("Missing parameter dispatch");let o=!1;const l=n.document;if(Object.keys(l).length!==0){const{name:c,params:u}=e.route||{};let{id:d}=u||{};d=Number.parseInt(d,10);const p=r["forms/documentField"]("id"),f=r["forms/documentField"]("documentType"),h=r["forms/documentField"]("type"),m=r["forms/documentField"]("projectId"),g=r["forms/documentField"]("documentId");if(f||(c==="invoiceNew"?!p&&!t&&h!=="credit"&&a===m&&(Ke.debug("INVOICE_FORM: Using existing store data as no ids was found"),o=!0):c==="invoiceEdit"?p&&p===d&&p===t&&h!=="credit"&&(Ke.debug("INVOICE_FORM: Using existing store data existing id match route"),o=!0):c==="invoiceCredit"?h==="credit"&&!t&&!p&&(Ke.debug("INVOICE_FORM: Using existing store data existing id match route"),o=!0):c==="invoiceDocument"&&g&&g===s&&(Ke.debug("INVOICE_FORM: Using existing store data as existing documentId match"),o=!0)),o){Ke.debug("INVOICE_FORM: Dont reload as forms/document is already defined");const v=r["forms/documentField"]("InvoiceFiles");v&&De(v)==="array"&&v.forEach(_=>i(Poe,{id:_.FileId},{root:!0}))}}return o}function Hl({rootState:t,rootGetters:e},n={}){const r=new ry(n,e).getProperties({includeVirtual:!0}),i={ModuleArticles:[e["articles/getNewArticle"]({name:"",price:0})]};return{...r,...i,CompanyId:t.application.user.companyId,CompanyUserId:t.application.user.userId}}const Goe={async[Uoe]({state:t,rootGetters:e,rootState:n,dispatch:r},{creditsInvoiceId:i}){try{if(Ei(this.dispatch,!0),await iy({id:null,rootState:n,state:t,rootGetters:e,dispatch:r}))return;let s=Hl({rootState:this.state,rootGetters:e},{type:"credit"});if(!i)throw new Error("Missing parameter creditsInvoiceId");await this.dispatch(y2,{id:i});const o=this.getters["invoices/byId"](i);if(!o)throw Ke.event({type:"invoiceCredit",status:"failed",data:{id:i},error:"Tried to load invoice to credit that does not exist!"}),new Error(`Could not find original invoice by id: '${i}'`);o.documentId&&!this.getters["documents2/byId"](o.documentId)&&await this.dispatch(_2,{id:o.documentId});const l=xr(o.getProperties({scope:"invoice",includeVirtual:!0}),["ModuleArticles","ModuleBranding","ourReference","yourReference","invoiceFee","deliveryTypes","ModuleEndCustomer","InvoiceRegionSweden","object","objectId","documentId","projectId"]);s={...s,...l,type:"credit",creditsInvoiceId:i,invoiceDate:Nu(new Date).toISOString(),dueDate:Nu(new Date).toISOString()},s.invoiceFee&&(s.invoiceFee=-s.invoiceFee),s.ModuleArticles&&(s.ModuleArticles=s.ModuleArticles.map(c=>{const u=pi(c,["id","createdAt","updatedAt","deletedAt","object","ObjectId"]);return u.price=-u.price,u.houseWorkHoursToReport&&(u.houseWorkHoursToReport*=-1),u})),s.ModuleBranding&&(s.ModuleBranding=pi(s.ModuleBranding,["id","createdAt","updatedAt","deletedAt","object","ObjectId"])),s.ModuleEndCustomer&&(s.ModuleEndCustomer=pi(s.ModuleEndCustomer,["id","createdAt","updatedAt","deletedAt","object","ObjectId"])),s.InvoiceRegionSweden&&(s.InvoiceRegionSweden=xr(s.InvoiceRegionSweden,["condominiumId","condominiumOrgNo","isHouseWorkAuto","persons","propertyType","realEstateId"]),s.InvoiceRegionSweden&&!s.InvoiceRegionSweden.isHouseWorkAuto&&(s.InvoiceRegionSweden.persons=(s.InvoiceRegionSweden.persons||[]).map(c=>({...c,amount:-c.amount})))),this.commit(`forms/${Bl}`,{key:"document",formData:s}),Ke.event({type:"invoiceCredit",status:"success",data:{id:i}}),Ke.debug("Credit invoice form loaded")}catch(a){this.handleError(a)}finally{Ei(this.dispatch,!1)}},async[Voe]({state:t,rootGetters:e,rootState:n,dispatch:r},{docId:i}){try{if(!i)throw new Error("Missing parameter docId");Ei(this.dispatch,!0);let a=Hl({rootState:this.state,rootGetters:e});await this.dispatch(_2,{id:i});const s=this.getters["documents2/byId"](i);if(!s)throw new Error("Missing document");const{projectId:o}=s;if(await iy({id:null,rootState:n,state:t,rootGetters:e,dispatch:r,documentId:i,projectId:o}))return;a={...a,documentId:s.id,...o&&{projectId:o}},s.clients&&s.clients.length&&(a.ModuleEndCustomer=ny(pi(s.clients[0],["id","createdAt","updatedAt","deletedAt","object","ObjectId"]))),this.commit(`forms/${Bl}`,{key:"document",formData:a})}catch(a){this.handleError(a)}finally{Ei(this.dispatch,!1)}},async[joe]({state:t,rootState:e,dispatch:n,rootGetters:r},{id:i=null,projectId:a=null}={}){try{if(Ei(this.dispatch,!0),await iy({id:i,rootState:e,state:t,rootGetters:r,dispatch:n,projectId:a}))return;let o={},l;if(i){if(await this.dispatch(y2,{id:i}),l=this.getters["invoices/byId"](i),!l)throw Ke.event({type:"editInvoice",status:"failed",data:{id:i},error:"Tried to edit invoice that does not exist!"}),new Error(`Could not find invoice by id: '${i}'`);o={...o,...l.getProperties({scope:"invoice"})}}else if(o={...Hl({rootState:this.state,rootGetters:r})},a){o.projectId=a;const d=r["projects/byId"](a);d&&d.clients[0]&&(o.ModuleEndCustomer=ny(pi(d.clients[0],["id","createdAt","updatedAt","deletedAt","object","ObjectId"])))}const{object:c,objectId:u}=o;this.commit(`forms/${Bl}`,{key:"document",formData:o}),Ke.event({type:i?"editInvoice":"newInvoice",status:"success",data:{id:i}}),Ke.debug("Invoice form loaded")}catch(s){Ke.event({type:i?"editInvoice":"newInvoice",status:"failed",data:{id:i},error:s})}finally{Ei(this.dispatch,!1)}},async[Hoe]({getters:t,commit:e},{next:n=null,doAttest:r=!1,doSell:i=!1}={}){let a=!1;try{let s=!1,o;const{invoice:l,hasChanged:c}=t,u=t.getInvoicePrices;let{id:d}=l;n==="invoice"&&(o={...l.getProperties(),ModuleArticles:l.articles,...u,id:0},this.dispatch(ga,{data:[o],schema:"invoices"}),a=!0,this.$router.push({name:"invoice",params:{id:o.id,modal:!1}}));const p={...l.getProperties(),...u};return c("document")&&(d?await this.dispatch(Aoe,{id:d,body:p}):(s=!0,d=await this.dispatch($oe,{body:p}),e(Loe,{key:"document.id",value:d}))),a&&this.$router.replace({name:"invoice",params:{id:d,modal:!1}}),i?await this.dispatch(Ioe,{id:d}):r&&await this.dispatch(xoe,{id:d}),await this.dispatch(Roe,"document"),a||BA({next:n,invoiceId:d},this.$router),await this.dispatch(Doe,{key:"document"}),a&&this.commit(`invoices/${Foe}`,o.id),{id:d,isNew:s}}catch(s){return this.handleError(s),a&&this.$router.currentRoute.name!=="invoiceNew"&&this.$router.go(-1),null}},async[Boe]({state:t,rootGetters:e},{name:n=null}){if(!["100kr"].includes(n))throw Error("Missing valid param name");try{Ei(this.dispatch,!0);let i={...Hl({rootState:this.state,rootGetters:e})};if(n==="100kr"){let a;const{data:s}=await Cie("info@cling.se");s[0]?([a]=s,a.EndCustomerId=a.id):(await this.dispatch(ce.FORM_NEW_ENDCUSTOMER),a=Object.assign(t.endCustomer,{name:"Cling Group AB",org_no:"559070-0273",email:"info@cling.se",customerType:"company",cellphone:"0850119885",street:"Kund-id WIN3890, FE nr 160",zip:"10569",city:"Stockholm"}),this.commit(ce.SET_FORM_VALUE,{key:"endCustomer",value:a}),a.EndCustomerId=await this.dispatch(ce.FORM_SUBMIT_ENDCUSTOMER,{showNotification:!1})),a.id=null,i={...Hl({rootState:this.state,rootGetters:e}),ModuleEndCustomer:{...a},ModuleArticles:[pY({name:"\u{1F4B0} Ge mig 100kr! \u{1F4B0}",price:1e4})]}}this.commit(`forms/${Bl}`,{key:"document",formData:i}),Ke.event({type:"campaignInvoice",status:"success",data:{name:n}}),Ke.debug("Invoice form loaded")}catch(i){Ke.event({type:"campaignInvoice",status:"failed",data:{name:n},error:i})}finally{Ei(this.dispatch,!1)}},async[Woe]({rootGetters:t},{formData:e={}}={}){await this.dispatch(Noe),t["application/company"],t["settings/allInvoiceSettings"];let n={};n={...n,...e,company:{...n.company,...e.company},contact:{...n.contact,...e.contact}},this.commit(`forms/${Bl}`,{key:"kycForm",formData:n})},async[zoe]({getters:t}){const{kycForm:e}=t||{};if(!e)throw Error("Kyc Form missing in store");return["ownersWithMoreThan25Percent","beneficialOwners"].forEach(r=>{e[r]=(e[r]||[]).map(i=>({...i,address:i.address||"Sverige",country:i.country||"Sverige"}))}),await Fie.post({form:e})}},{SET_FORM_VALUE:qoe,REMOVE_FORM_VALUE:Yoe}=pe.forms,Koe={async[ur.SET_FORM_ARTICLE]({commit:t},{index:e=null,data:n}){let r="document.ModuleArticles";e!==null&&(r=`document.ModuleArticles[${e}]`);const i=ra(n);return t(qoe,{key:r,value:i})},async[ur.REMOVE_FORM_ARTICLE]({commit:t},e){return t(Yoe,e)}},Wl=t=>typeof t=="object"&&t!==null&&t.toString()==={}.toString(),jd=t=>JSON.parse(JSON.stringify(t)),ay=(t,e)=>{t=jd(t);for(const n in e)e.hasOwnProperty(n)&&(Wl(t[n])&&Wl(e[n])?t[n]=ay(t[n],e[n]):t[n]=e[n]);return t},b2=(t,e)=>{t=t.replace(/^#\/definitions\//,"").split("/");const n=(i,a)=>{const s=i.shift();if(a[s]){if(!i.length)return a[s]}else return{};return n(t,a[s])},r=n(t,e);return Wl(r)?jd(r):r},Joe=(t,e)=>{const{length:n}=t;let r=-1,i={};for(;++r<n;){let a=t[r];a=typeof a.$ref<"u"?b2(a.$ref,e):a,i=ay(i,a)}return i},Ks=(t,e)=>{if(typeof t.default<"u")return t.default;if(typeof t.allOf<"u"){const n=Joe(t.allOf,e);return Ks(n,e)}else if(typeof t.$ref<"u"){const n=b2(t.$ref,e);return Ks(n,e)}else if(t.type==="object"){if(!t.properties)return{};for(const n in t.properties)t.properties.hasOwnProperty(n)&&(t.properties[n]=Ks(t.properties[n],e),(typeof t.properties[n]>"u"||Wl(t.properties[n])&&!Array.isArray(t.properties[n])&&!Object.keys(t.properties[n]).length)&&delete t.properties[n]);return t.properties}else if(t.type==="array"){if(!t.items)return[];const n=t.minItems||0;if(t.items.constructor===Array){const a=t.items.map(s=>Ks(s,e));for(let s=a.length-1;s>=0&&!(typeof a[s]<"u");s--)s+1>n&&a.pop();return a}const r=Ks(t.items,e);if(typeof r>"u")return[];const i=[];for(let a=0;a<Math.max(1,n);a++)i.push(jd(r));return i}},Zoe=(t,e)=>(typeof e>"u"?e=t.definitions||{}:Wl(t.definitions)&&(e=ay(e,t.definitions)),Ks(jd(t),e));class Ti{constructor(e){if(!e)throw new Error("Missing param data");const{validationSchema:n,views:r}=e;if(!n)throw new Error("Missing param validationSchema in template data");if(!r)throw new Error("Missing param views in template data");this._data=e}get data(){return this._data}get id(){return this.data.id||null}get companyId(){return this.data.companyId||null}get name(){return this.data.name||null}get isNew(){return!this.id}get validationSchema(){return this.data.validationSchema}get views(){return this.data.views||{}}get language(){return this.data.language}get theme(){return Y(this,"_data.validationSchema.properties.data.properties.theme.default",{})||{}}get thumbnailUrl(){return this.data.thumbnailUrl}get defaultMedia(){if(this.thumbnailUrl)return{type:"image",resourceUrl:this.thumbnailUrl};const{defaultData:e}=this,n=(Y(this,"_data.views.read.nodes")||[]).filter(i=>["header","coverBlock"].includes(i.itemType));let r=null;for(const i of n)if(i){if(r)break;let a=i.value[i.itemType];if(!a)continue;if(i.itemType==="header"){a+=".items";const s=(Y(e,a)||[]).find(({type:o})=>o==="media");s&&s.media&&({media:r}=s)}else if(i.itemType==="coverBlock"){const{type:s,cover:o}=Y(e,a)||{};o&&(r={...s&&{type:s},...o})}}if(!r){const i=Y(this,"theme.background");i&&(r={type:"image",resourceUrl:i})}return r}get reminders(){const e=this.getDefaultData({path:"properties.data.properties.reminders"});return e&&Array.isArray(e)?e:[]}get defaultData(){return this.getDefaultData()}get categoryTags(){return Y(this.defaultData,"tags",[]).reduce((e,n)=>[...e,n.name],[])}get type(){return this.categoryTags[0]}getDefaultData({path:e=""}={}){let n=this.validationSchema;return e&&(n=e.split(".").reduce((r,i)=>r[i],n)),Zoe(n)||{}}}var Xoe=gs,Qoe=hg,ele=$r,tle="[object Object]",nle=Function.prototype,rle=Object.prototype,E2=nle.toString,ile=rle.hasOwnProperty,ale=E2.call(Object);function sle(t){if(!ele(t)||Xoe(t)!=tle)return!1;var e=Qoe(t);if(e===null)return!0;var n=ile.call(e,"constructor")&&e.constructor;return typeof n=="function"&&n instanceof n&&E2.call(n)==ale}var ole=sle;function lle(t){var e=t==null?0:t.length;return e?t[e-1]:void 0}var T2=lle;function cle(t,e,n){var r=-1,i=t.length;e<0&&(e=-e>i?0:i+e),n=n>i?i:n,n<0&&(n+=i),i=e>n?0:n-e>>>0,e>>>=0;for(var a=Array(i);++r<i;)a[r]=t[r+e];return a}var ule=cle,dle=Sv,ple=ule;function fle(t,e){return e.length<2?t:dle(t,ple(e,0,-1))}var hle=fle,mle=yd,gle=T2,vle=hle,yle=Bs;function _le(t,e){return e=mle(e,t),t=vle(t,e),t==null||delete t[yle(gle(e))]}var ble=_le,Ele=ble;function Tle(t,e){return t==null?!0:Ele(t,e)}var wle=Tle;/*! *****************************************************************************
500
500
  Copyright (c) Microsoft Corporation.
501
501