1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[7177],{10379:(e,t,a)=>{"use strict";a.d(t,{Ay:()=>u,Gx:()=>c,PM:()=>d,ce:()=>g,d8:()=>p,hG:()=>m,si:()=>y,zT:()=>h});var n=a(76367),i=a(43974),o=a(85023),r=a(5408),s=a(82985);let l=(0,i.xP)({reducerPath:"questionnaireApi",tagTypes:["questionnaire"],baseQuery:(0,o.cw)({baseUrl:"".concat("https://api.daskapital.eu/"),prepareHeaders:e=>{let t=r.A.getItem("me");return(null==t?void 0:t.access_token)&&e.set("authorization","Bearer ".concat(null==t?void 0:t.access_token)),e}}),endpoints:e=>({getQuestionnaires:e.query({query:()=>"api/v1/questionnaires"}),getQuestionnaireById:e.query({query:e=>"api/v1/questionnaires/".concat(e)}),getQuestionnaireTemplate:e.query({query:e=>{let{q_type:t}=e,a=(0,s.dk)({q_type:t});return"api/v1/questionnaire_templates".concat(a)}}),createSophisticatedIndividualQuestionnaire:e.mutation({query:e=>({url:"/api/v1/questionnaires/sophisticated_individual",method:"POST",body:(0,n._)({},e)})}),createSophisticatedBusinessQuestionnaire:e.mutation({query:e=>({url:"/api/v1/questionnaires/sophisticated_business",method:"POST",body:(0,n._)({},e)})}),createKnowledgeCheckQuestionnaire:e.mutation({query:e=>({url:"/api/v1/questionnaires/knowledge_check",method:"POST",body:(0,n._)({},e)})}),createLiquidAssetsQuestionnaire:e.mutation({query:e=>({url:"/api/v1/questionnaires/liquid_assets",method:"POST",body:(0,n._)({},e)})})})}),u=l,{useGetQuestionnairesQuery:c,useGetQuestionnaireByIdQuery:d,useGetQuestionnaireTemplateQuery:p,useCreateSophisticatedIndividualQuestionnaireMutation:m,useCreateSophisticatedBusinessQuestionnaireMutation:y,useCreateKnowledgeCheckQuestionnaireMutation:g,useCreateLiquidAssetsQuestionnaireMutation:h}=l},15772:(e,t,a)=>{"use strict";a.d(t,{A:()=>s,m:()=>l});var n=a(43974),i=a(85023),o=a(5408);let r=(0,n.xP)({reducerPath:"clientsApi",tagTypes:["clients"],baseQuery:(0,i.cw)({baseUrl:"".concat("https://api.daskapital.eu/"),prepareHeaders:e=>{let t=o.A.getItem("me");return(null==t?void 0:t.access_token)&&e.set("authorization","Bearer ".concat(null==t?void 0:t.access_token)),e}}),endpoints:e=>({getClientInfoByVatno:e.query({query:e=>{let{vatno:t}=e;return"/api/v1/clients?vatno=".concat(t)}})})}),s=r,{useLazyGetClientInfoByVatnoQuery:l}=r},20600:(e,t,a)=>{"use strict";a.d(t,{Ay:()=>l,Lv:()=>m,OY:()=>p,_L:()=>u,pI:()=>d,zz:()=>c});var n=a(69061),i=a(76367),o=a(43974),r=a(85023);let s=(0,o.xP)({reducerPath:"authApi",tagTypes:["auth"],baseQuery:(0,r.cw)({baseUrl:"".concat("https://api.daskapital.eu/")}),endpoints:e=>({login:e.mutation({query:e=>{let{}=e,t=(0,n._)({},e);return{url:"login",method:"POST",body:{"g-recaptcha-response":t.g_recaptcha_response,user:{email:t.email,password:t.password}}}}}),createUserAccount:e.mutation({query:e=>({url:"signup",method:"POST",body:{"g-recaptcha-response":e.g_recaptcha_response,user:(0,i._)({},e),campaign_code:e.campaign_code}})}),confirmUserAccount:e.mutation({query:e=>({url:"/api/v1/confirmations",method:"POST",body:(0,i._)({},e)})}),requestPasswordReset:e.mutation({query:e=>{let{email:t}=e;return{url:"/api/v1/passwords/request_reset",method:"POST",body:{email:t}}}}),resetPassword:e.mutation({query:e=>({url:"/api/v1/passwords/reset",method:"POST",body:(0,i._)({},e)})})})}),l=s,{useLoginMutation:u,useCreateUserAccountMutation:c,useConfirmUserAccountMutation:d,useRequestPasswordResetMutation:p,useResetPasswordMutation:m}=s},20607:e=>{e.exports={enviroment_controls:"enviroment_panel_enviroment_controls__lUZBK",enviroment_notes:"enviroment_panel_enviroment_notes__MtFuX",wrapper:"enviroment_panel_wrapper__gcw4l",enviroment_tag:"enviroment_panel_enviroment_tag__tWwMZ"}},27483:(e,t,a)=>{"use strict";a.d(t,{Ay:()=>l,ES:()=>u,kY:()=>m,ql:()=>c,zo:()=>y});var n=a(76367),i=a(43974),o=a(85023),r=a(5408);let s=(0,i.xP)({reducerPath:"settingsApi",tagTypes:["settings"],baseQuery:(0,o.cw)({baseUrl:"".concat("https://api.daskapital.eu/"),prepareHeaders:e=>{let t=r.A.getItem("me");return(null==t?void 0:t.access_token)&&e.set("authorization","Bearer ".concat(null==t?void 0:t.access_token)),e}}),endpoints:e=>({getSettings:e.query({query:()=>"api/v1/settings"}),getCountries:e.query({query:()=>"api/v1/settings/global"}),getNationalities:e.query({query:()=>"".concat("https://platform.daskapital.eu/","nationalities.json")}),postSettings:e.mutation({query:e=>({url:"/api/v1/settings",method:"POST",body:(0,n._)({},e)})}),getRiskRates:e.query({query:()=>"api/v1/settings/risk_rates"}),updatePassword:e.mutation({query:e=>({url:"/api/v1/passwords/reset_tokenless",method:"POST",body:(0,n._)({},e)})})})}),l=s,{useGetNationalitiesQuery:u,useGetCountriesQuery:c,useGetSettingsQuery:d,usePostSettingsMutation:p,useGetRiskRatesQuery:m,useUpdatePasswordMutation:y}=s},28109:(e,t,a)=>{"use strict";a.d(t,{Ay:()=>l,vf:()=>d,xM:()=>c});var n=a(43974),i=a(85023),o=a(5408),r=a(82985);let s=(0,n.xP)({reducerPath:"userApi",tagTypes:["user"],baseQuery:(0,i.cw)({baseUrl:"".concat("https://api.daskapital.eu/"),prepareHeaders:e=>
1{let t=o.A.getItem("me");return(null==t?void 0:t.access_token)&&e.set("authorization","Bearer ".concat(null==t?void 0:t.access_token)),e}}),endpoints:e=>({getUserById:e.query({query:e=>{let{id:t}=e;return{url:"/api/v1/users/".concat(t)}}}),getUser:e.query({providesTags:["user"],query:()=>"/api/v1/user"}),updateUserInfo:e.mutation({invalidatesTags:["user"],query:e=>({url:"/api/v1/user",method:"PATCH",body:(0,r.rS)(e)})})})}),l=s,{useGetUserByIdQuery:u,useUpdateUserInfoMutation:c,useGetUserQuery:d}=s},32949:()=>{},34965:(e,t,a)=>{"use strict";a.d(t,{Ay:()=>c,NM:()=>d,Sx:()=>p,_D:()=>m});var n=a(69061),i=a(76367),o=a(43974),r=a(85023),s=a(5408),l=a(82985);let u=(0,o.xP)({reducerPath:"campaignsApi",tagTypes:["campaigns"],baseQuery:(0,r.cw)({baseUrl:"".concat("https://api.daskapital.eu/"),prepareHeaders:e=>{let t=s.A.getItem("me");return(null==t?void 0:t.access_token)&&e.set("authorization","Bearer ".concat(null==t?void 0:t.access_token)),e}}),endpoints:e=>({getCampaigns:e.query({query:e=>{let t=(0,l.dk)(e);return"/api/v1/campaigns/referral_program".concat(t)}}),getParticipations:e.query({query:e=>{let t=(0,l.dk)(e);return"/api/v1/participations".concat(t)}}),createParticipation:e.mutation({query:e=>{let{}=e,t=(0,n._)({},e);return{url:"/api/v1/participations",method:"POST",body:(0,i._)({},t)}}})})}),c=u,{useGetCampaignsQuery:d,useGetParticipationsQuery:p,useCreateParticipationMutation:m}=u},39235:(e,t,a)=>{"use strict";a.d(t,{default:()=>eu});var n=a(95155),i=a(12115),o=a(2834),r=a(86368),s=a(23753),l=a(11785),u=a(20600),c=a(28109),d=a(73532),p=a(64991),m=a(69061),y=a(76367),g=a(22514),h=a(43974),v=a(85023),_=a(5408);let f=(0,h.xP)({reducerPath:"assetsApi",tagTypes:["asset"],baseQuery:(0,v.cw)({baseUrl:"".concat("https://api.daskapital.eu/"),prepareHeaders:e=>{let t=_.A.getItem("me");return(null==t?void 0:t.access_token)&&e.set("authorization","Bearer ".concat(null==t?void 0:t.access_token)),e}}),endpoints:e=>({getAsset:e.query({query:e=>{let{id:t}=e;return{url:"/api/v1/assets/".concat(t)}}}),getSupplierAssets:e.query({query:()=>({url:"}/api/v1/assets"})}),getPendingAssets:e.query({query:()=>({url:"}/api/v1/assets/pending"})}),getInvestorAssets:e.query({query:()=>({url:"}/api/v1/assets/running"})}),getInvestorAssetsFunded:e.query({query:()=>({url:"}/api/v1/assets/funded"})}),getInvestorAssetsFundedCount:e.query({query:()=>({url:"}/api/v1/assets/funded_count"})}),uploadAssetFile:e.mutation({query:e=>{let{id:t}=e,a=(0,g._)(e,["id"]);return{url:"/api/v1/assets/".concat(t,"/upload_image"),method:"POST",formData:!0,body:(0,y._)({},a)}}}),deleteAsset:e.mutation({query:e=>{let{id:t}=e;return{url:"/api/v1/assets/".concat(t),method:"DELETE"}}}),createAsset:e.mutation({query:e=>{let{}=e,t=(0,m._)({},e);return{url:"/api/v1/assets",method:"POST",formData:!0,body:(0,y._)({},t)}}})})}),{useGetAssetQuery:b,useGetSupplierAssetsQuery:A,useGetPendingAssetsQuery:P,useGetInvestorAssetsQuery:k,useGetInvestorAssetsFundedQuery:I,useGetInvestorAssetsFundedCountQuery:q,useUploadAssetFileMutation:T,useDeleteAssetMutation:w,useCreateAssetMutation:S}=f;var C=a(97930);let E=(0,h.xP)({reducerPath:"bidApi",tagTypes:["bid"],baseQuery:(0,v.cw)({baseUrl:"".concat("https://api.daskapital.eu/"),prepareHeaders:e=>{let t=_.A.getItem("me");return(null==t?void 0:t.access_token)&&e.set("authorization","Bearer ".concat(null==t?void 0:t.access_token)),e}}),endpoints:e=>({getAllocationBids:e.query({query:()=>({url:"/api/v1/allocation_bids/"})})})}),{useGetAllocationBidsQuery:j}=E;var R=a(83229),O=a(10379);let D={},B=(0,l.Z0)({name:"stateManager",initialState:D,reducers:{reset:()=>D}}),{reset:N}=B.actions;var x=a(64535),Q=a(15772),F=a(42664),L=a(27483),M=a(94167),U=a(93256),K=a(87412),z=a(63856),Y=a(34965);let W=(0,l.U1)({reducer:{reduxState:B.reducer,[u.Ay.reducerPath]:u.Ay.reducer,[c.Ay.reducerPath]:c.Ay.reducer,[d.Ay.reducerPath]:d.Ay.reducer,[p.Ay.reducerPath]:p.Ay.reducer,[f.reducerPath]:f.reducer,[C.Ay.reducerPath]:C.Ay.reducer,[E.reducerPath]:E.reducer,[R.A.reducerPath]:R.A.reducer,[x.Ay.reducerPath]:x.Ay.reducer,[F.Ay.reducerPath]:F.Ay.reducer,[O.Ay.reducerPath]:O.Ay.reducer,[Q.A.reducerPath]:Q.A.reducer,[L.Ay.reducerPath]:L.Ay.reducer,[M.Ay.reducerPath]:M.Ay.reducer,[U.Ay.reducerPath]:U.Ay.reducer,[K.Ay.reducerPath]:K.Ay.reducer,[z.Ay.reducerPath]:z.Ay.reducer,[Y.Ay.reducerPath]:Y.Ay.reducer},middleware:e=>e().concat(u.Ay.middleware).concat(c.Ay.middleware).concat(d.Ay.middleware).concat(p.Ay.middleware).concat(f.middleware).concat(C.Ay.middleware).concat(E.middleware).concat(R.A.middleware).concat(x.Ay.middleware).concat(F.Ay.middleware).concat(O.Ay.middleware).concat(Q.A.middleware).concat(L.Ay.middleware).concat(M.Ay.middleware).concat(U.Ay.middleware).concat(K.Ay.middleware).concat(z.Ay.middleware).concat(Y.Ay.middleware)});var H=a(50931),V=a(98500),G=a.n(V);let J=e=>{let{areQuestionnairesComplete:t,businessEntityStatus:a,legalType:i,activeRole:o,linkText:r}=e;return"refused"===a||"created"===a||"ondato_pending"===a||"enroll_nspay"===a||"enroll_nspay_locked"===a?(0,n.jsx)(G(),{href:"/kyc",children:r.completeRegistration}):t||"refused"!==a&&"validated"!==a&&("pending"!==a||"business"===i||"supplier"===o)?null:(0,n.jsx)(G(),{href:"/questionnaire",children:r.completeMissingInfo})};var X=a(91686);let Z=function(e){let{children:t}=e,[a,o]=(0,i.useState)("EN-GB"),[r,s]=(0,u._L)(),[l,m]=(0,i.useState)({});(0,i.useEffect)(()=>{H.Ay.changeLanguage(a)},[a]);let[g,h]=(0,i.useState)(()=>{let e=_.A.getItem("me");return e||null}),[v,b]=(0,i.useState)(()=>{var e;if(!g)return null;let t=localStorage.getItem("role");return t||((null==(e=g.roles)?void 0:e.length)>1?"supplier":"investor")}
1),A=(e=>{var t,a,n,o;let{data:r,isLoading:s,isError:l}=(0,x.Qp)(void 0,{refetchOnMountOrArgChange:!0,refetchOnReconnect:!0,pollingInterval:1e5,skip:!_.A.getItem("me")}),u=(0,i.useMemo)(()=>{var e;return!s&&!l&&!!r&&(null==(e=r.questionnaires)?void 0:e.required_questionaires.length)===0},[s,l,r]),c=(0,i.useMemo)(()=>{var e;return!s&&!l&&!!r&&["validated"].includes(null==(e=r.businessEntity)?void 0:e.kyc_status)},[s,l,r]),d=(0,i.useMemo)(()=>{var e;return!s&&!l&&!!r&&(null==(e=r.businessEntity)?void 0:e.kyc_status)==="refused"},[s,l,r]);return s||l?null:{data:{businessEntity:(null==r?void 0:r.businessEntity)||{},questionnaires:(null==r?void 0:r.questionnaires)||{}},result:{questionnaires:u,businessEntity:c,refused:d},navbarAlertLink:(e=>{let{areQuestionnairesComplete:t,businessEntityStatus:a,legalType:n,activeRole:i}=e;return J({areQuestionnairesComplete:t,businessEntityStatus:a,legalType:n,activeRole:i,linkText:{completeRegistration:"Complete your registration",completeMissingInfo:"Complete your registration"}})})({areQuestionnairesComplete:u,businessEntityStatus:null==r||null==(t=r.businessEntity)?void 0:t.kyc_status,legalType:null==r||null==(a=r.businessEntity)?void 0:a.legal_type,activeRole:e}),alertLink:(e=>{let{areQuestionnairesComplete:t,businessEntityStatus:a,legalType:n,activeRole:i}=e;return J({areQuestionnairesComplete:t,businessEntityStatus:a,legalType:n,activeRole:i,linkText:{completeRegistration:"Complete missing information",completeMissingInfo:"Complete missing information"}})})({areQuestionnairesComplete:u,businessEntityStatus:null==r||null==(n=r.businessEntity)?void 0:n.kyc_status,legalType:null==r||null==(o=r.businessEntity)?void 0:o.legal_type,activeRole:e}),alert:(e=>{let t,{areQuestionnairesComplete:a,businessEntity:n,activeRole:i}=e;if(!n)return null;let o=n.kyc_status;if("blocked"===o)return null;let r=(t="business"===n.legal_type?"investor"===i?"KYCAlertsBusinessInvestor":"KYCAlertsBusinessSupplier":"KYCAlertsIndividual",{QuestionnairesCompleted:{ondato_pending:{color:"warning",message:H.Ay.t("".concat(t,".QuestionnairesCompleted.ondato_pending"))},created:{color:"warning",message:H.Ay.t("".concat(t,".QuestionnairesCompleted.created"))},sca_pending:{color:"warning",message:H.Ay.t("".concat(t,".QuestionnairesCompleted.sca_pending"))},pending:{color:"success",message:H.Ay.t("".concat(t,".QuestionnairesCompleted.pending"))},refused:{color:"danger",message:H.Ay.t("".concat(t,".QuestionnairesCompleted.refused"))},validated:null,conditional_validation:{color:"warning",message:H.Ay.t("".concat(t,".QuestionnairesCompleted.conditional_validation"))},suspended:{color:"info",message:H.Ay.t("".concat(t,".QuestionnairesCompleted.suspended"))},enroll_nspay:{color:"warning",message:H.Ay.t("".concat(t,".QuestionnairesCompleted.enroll_nspay"))},enroll_nspay_locked:{color:"warning",message:H.Ay.t("".concat(t,".QuestionnairesCompleted.enroll_nspay_locked"))}},QuestionnairesIncompleted:{ondato_pending:{color:"warning",message:H.Ay.t("".concat(t,".QuestionnairesIncompleted.ondato_pending"))},created:{color:"warning",message:H.Ay.t("".concat(t,".QuestionnairesIncompleted.created"))},sca_pending:{color:"warning",message:H.Ay.t("".concat(t,".QuestionnairesIncompleted.sca_pending"))},pending:{color:"warning",message:H.Ay.t("".concat(t,".QuestionnairesIncompleted.pending"))},refused:{color:"warning",message:H.Ay.t("".concat(t,".QuestionnairesIncompleted.refused"))},validated:{color:"warning",message:H.Ay.t("".concat(t,".QuestionnairesIncompleted.validated"))},conditional_validation:{color:"warning",message:H.Ay.t("".concat(t,".QuestionnairesIncompleted.conditional_validation"))},suspended:{color:"info",message:H.Ay.t("".concat(t,".QuestionnairesIncompleted.suspended"))},enroll_nspay:{color:"warning",message:H.Ay.t("".concat(t,".QuestionnairesIncompleted.enroll_nspay"))},enroll_nspay_locked:{color:"warning",message:H.Ay.t("".concat(t,".QuestionnairesIncompleted.enroll_nspay_locked"))}}})[a||"investor"!==i?"QuestionnairesCompleted":"QuestionnairesIncompleted"][o];return r&&r.message?r:null})({areQuestionnairesComplete:u,businessEntity:null==r?void 0:r.businessEntity,activeRole:e})}})(v),P=e=>{_.A.setItem("me",e),h(e),[u.Ay,c.Ay,d.Ay,p.Ay,f,C.Ay,E,R.A,x.Ay,F.Ay,O.Ay,Q.A,L.Ay,M.Ay,U.Ay,K.Ay,z.Ay,Y.Ay].forEac
1h(e=>W.dispatch(e.util.resetApiState())),e.roles&&0!==e.roles.length&&b("investor"===e.roles[0]?"investor":"supplier"),m((0,y._)({},e))},k=async(e,t,a)=>{m((0,y._)({},s));try{let n=await r({email:e,password:t,g_recaptcha_response:a}).unwrap();return P(n),!0}catch(e){return m({error:e}),!1}},I=async()=>{_.A.clear(),localStorage.removeItem("_grecaptcha"),h(null),location.reload()};return(0,n.jsx)(X.c.Provider,{value:{User:g,activeRole:v,AuthStatus:l,language:a,userKycCurrentStatus:A,setActiveRole:b,signin:k,authenticateUser:P,signout:I,setLanguage:o},children:t})};var $=a(78277),ee=a(73619),et=a(12537),ea=a(77928);let en=JSON.parse('{"WelcomeDashboard":{"screen_name":"Hello {{name}}"},"GeneralMessages":{"empty":"Without Data","noActiveBids":"No active bids"},"User":{"SCA":{"ACTIVE":"Active","CLOSED":"Closed","PENDING_USER_ACTION":"Pending User Action"}},"Auction":{"assets":"Loan","invoice":"Invoice","Status":{"draft":"Draft","invoice_verification":"Invoice Verification","invoice_rejected":"Invoice Rejected","dk_validation":"Under Review","in_auction":"Open","awaiting_final_approval":"Processing Auction","conditionally_approved":"Conditionally Approved","funded":"Funded","failed":"Failed","archived":"Archived","rejected":"Rejected","cancelled":"Cancelled","suspended":"Suspended","unverified":"Not confirmed","fif_validation":"KIIS for approval","fif_rejection":"KIIS rejected","contract_pending":"Contract Pending","no_request":"No request"},"MyPortfolioStatus":{"funded":"Funded","archived":"Archived"},"OpportunitiesStatus":{"in_auction":"Open","awaiting_final_approval":"Processing Auction","contract_pending":"Processing Auction","funded":"Funded","failed":"Failed","archived":"Archived","cancelled":"Cancelled","suspended":"Suspended"},"MyCallsStatus":{"draft":"Draft","invoice_verification":"Invoice Verification","invoice_rejected":"Rejected","dk_validation":"Under Review","in_auction":"In Auction","awaiting_final_approval":"Processing Auction","conditionally_approved":"Conditionally Approved","funded":"Funded","failed":"Failed","archived":"Archived","rejected":"Rejected","cancelled":"Cancelled","suspended":"Suspended","unverified":"Not confirmed","fif_validation":"KIIS for approval","fif_rejection":"KIIS rejected","contract_pending":"Sign Contract"},"ReferralsStatus":{"no_request":"No request","draft":"Draft","invoice_verification":"Invoice Verification","invoice_rejected":"Rejected","dk_validation":"Under Review","in_auction":"In Auction","awaiting_final_approval":"Processing Auction","conditionally_approved":"Conditionally Approved","funded":"Funded","failed":"Failed","archived":"Archived","rejected":"Rejected","cancelled":"Cancelled","suspended":"Suspended","unverified":"Not confirmed","fif_validation":"KIIS for approval","fif_rejection":"KIIS rejected","contract_pending":"Sign Contract"},"VoucherStatus":{"registered":"Registered","investing":"Investing","expired":"Expired"},"ParticipationStatus":{"active":"Ready to use","in_use":"In use","expired":"Expired","redeemed":"Used"},"InvoiceStatus":{"invoice_verification":"Invoice Verification","invoice_rejected":"Rejected","dk_validation":"Approved","in_auction":"In Auction","awaiting_final_approval":"In Auction","conditionally_approved":"Approved","funded":"Sold","failed":"Canceled","archived":"Archived","rejected":"Auction Rejected","cancelled":"Cancelled","suspended":"In Auction","contract_pending":"In Auction"},"BidStatus":{"in_auction":"Bidding","halfbid":"Bidding","outbid":"Outbid","cancelled":"Cancelled","funded":"Funded","selling":"Selling","sold_secondary_market":"Sold"},"PaymentStatus":{"awaiting_payment":"On Schedule","late":"Late payment","funded":"Sold","archived":"Archived","contract_pending":"Contract Pending","awaiting_final_approval":"Processing Auction","selling":"Selling","sold_secondary_market":"Sold"},"BidStatusTooltip":{"in_auction":"If the auction ended now, your bid would be completely fulfilled","halfbid":"Your bid is only partially considered. If the auction ended now, from your bid of {{bidAmount}} you would only invest {{investAmount}}.","outbid":"You have been outbid. If you\'d like to remain eligible for this investment, consider improving your bid by lowering your minimum demanded return rate.","selling":"Selling","sold_secondary_market":"Sold"},"InstalmentStatus":{"archived":"Paid","awaiting_payment":"On Schedule","late":"Late"},"StatusTooltip":{"in_auction":"This opportunity is currently available for investment","funded":"This opportunity has been funded","awaiting_final_approval":"This opportunity has reached its target goal and is currently in the process of being funded. As soon as the project begins, the funds will be transferred, and the financing process will begin."},"ReferralStatus":{"rejected":"Rejected","expired":"Expired","active":"Active","successful":"Successful"}},"KYCBusiness":{"CompanyAddress":{"doItLater":"I\'ll do it later","nextStep":"Continue","title":"Add the company headquarters address","description":"Are you sure your informations matched your identity document?","description_2":"If not, your validation will fail."},"CompanyInformation":{"doItLater":"I\'ll do it later","nextStep":"Continue","title":"Organization Identification","description":"Please make sure to write the information exactly as it appears in the official documents of your organization and which you are about to upload.","commercial_name":"Organization Name *","registration_number":"Registration/Tax Identification Number *","registration_number_tooltip":"Organization Registration Number issued by the C
1ommercial/Business Register. In some countries it is the same as the Tax Identification Number issued by the Tax Authority (e.g., in Portugal and Spain the NIF/NIPC)","constitution_date":"Registration date *","constitution_date_tooltip":"Date on which the company was officially registered in the Commercial/Business Register.","cae":"CAE/CNAE/NACE *","vatno":"VAT Number","vatno_tooltip":"Optional. Fill in if your organization is VAT Registered (EU VAT Number = Country Code + National VAT Registration Number, which is usually the same as the Tax Identification Number)","logo":"Logo *","contact_phone":"Phone Number *","contact_email":"Email *","contact_web":"Website","nace":"Economic Activity Code according to NACE","nace_tooltip":"European Economic Activity Nomenclature. Equivalent to the CAE or CNAE in Portugal or Spain.","legal_form":"Organization Legal Form *","address_line_1":"Registered Address *","registration_country":"Country of Registration *","country":"Country of Tax Residence *","postal_code":"Postal Code *","city":"City *","actual_business_address":"Actual business address (if different from registered address)"},"IdentityStep":{"doItLater":"I\'ll do it later","nextStep":"Continue","title":" We need to validade the legal representative identity","description":"We need to validate your identity to comply with European Policy on Prevention of Money Laundering and Anti-Terrorism. Please submit a coloured picture (not a copy) of the front and back of your identification document, making sure all four corners are visible.","title_2":"Upload your {{document}}","description_2":"Make sure you upload front and back even if it\'s on the same file.","documents":{"NATIONALID":"National Id","PASSPORT":"Passport","DRIVING_LICENSE":"Driving License","RESIDENCE_PERMIT":"Residence Permit"}}},"Questionnaires":{"type":{"sophisticated":"Investor Type Questionnaire: Sophisticated ","non_sophisticated":"Investor Type Questionnaire: Non Sophisticated ","sophisticated_business":"Investor Type Questionnaire: Sophisticated ","sophisticated_individual":"Investor Type Questionnaire: Sophisticated ","knowledge_check":"Investor Knowledge","liquid_assets":"Net Worth and Ability to bear loss","basic":"Investor Knowledge Questionnaire: Basic","informed":"Investor Knowledge Questionnaire: Informed","experienced":"Investor Knowledge Questionnaire: Experienced"}},"KYCIndividual":{"IDENTITY_PROOF":["Important! Accepted documents and submission rules.","Accepted documents: ","For European Union citizens: national ID card, passport, driving license, or residence permit. For UK, USA, and Canada citizens: passport or driving license. For other countries: passport.","Accepted formats: ","Pictures taken with phones are preferrable to other formats. JPG/JPEG/PNG/PDF. File size should be between 32 kb and 6 MB.","Readability: ","All document must be visible. Do not cover any part of the document. All 4 corners must be visible with good definition and background contrast. No fingers, flashes or blurs.","Validity: ","Ensure that the document is valid and that the inserted name and surname match exactly the one in the document"],"REGISTRATION_PROOF":["Registered legal name of the entity","Legal form or structure","Country of incorporation or organization","Registered address (and place of main business, if different)","Official identification number","Legal representative"],"ARTICLES_OF_ASSOCIATION":["You submit all pages of the document","You submit a clear copy of the document","The document is dated and signed by all the legal representatives and beneficiaries of the organization"]},"Funding":{"Intro":{"title":"What would you like to do?","item_loan":"Fund a project","item_invoice":"Sell invoices","title_loan":"Crowdlending auction","title_invoice":"Crowdfactoring auction","description_loan":"Fund your assets acquisition or business expansion projects in your own terms","description_invoice":"Get liquidity and improve your working capital needs by selling your invoices at competitive discounts"},"General":{"label":"Insert here"},"FinancialConditions":{"title":"Financial conditions","project_value":"Project Value *","funding_amount":"Funding Amou
1nt *","maturity":"Term (in months)*","instalment_frequency":"Instalment Frequency *","instalment_frequency_label":"Select a frequency","apr":"Maximum Interest *"},"AboutTheProject":{"title":"About the project"},"AboutThePromoter":{"title":"About the promoter"},"FinancialInformation":{"title":"Financial Information"},"OtherDocuments":{"title":"Other Documents"},"Confirmation":{"title":"Confirmation"},"AssetCategory":{"AgriculturalAsset":"Agricultural equipment and machinery","IndustrialAsset":"Industrial equipment and machinery","OfficeAsset":"Office equipment","PropertyAsset":"Property","TechnologicalAsset":"Technological equipment","VehicleAsset":"Vehicles and transportation equipment","OtherAsset":"Other"},"Errors":{"title":"Funding request errors","invoice_rejection_reason":"Invoice rejection reason","asset":"Assets","assets":{"description":"Description","type":"Type","units":"Units","acquisition_value":"Acquisition value","market_value":"Market value","serial_number":"Serial number","images":"Images","documents":"Documents"},"team":"Team Members","teamMembers":{"name":"Name","email":"Email","phone":"Phone","manager":"Manager","role":"Role","job_title":"Job title","description":"Description","linkedin_url":"Linkedin URL","image":"Image"},"financial_conditions":{"due_date":"Due date","issue_date":"Issue date","project_value":"Project value","amount_requested":"Funding amount","term_months":"Term (in months)","instalment_freq":"Instalment frequency","max_apr":"Maximum interest","gross_total":"Invoice amount","max_discount":"Max discount","
1issuing_country":"Issuing country","invoice_number":"Invoice number","invoice_description":"Invoice description"},"project_info":{"title":"Project Title","subtitle":"Project Subtitle","description":"Project Description","images":{"files":"Project Pictures"},"project_impact":{"expected_revenue":"Project Impact - Expected Revenue","jobs_created_saved":"Project Impact - Jobs to be created / saved","salary":"Project Impact - Average salary","other":"Project Impact - Other"}},"promoter_info":{"commercial_name":"Promoter Name","logo":{"files":"Promoter Logo"},"documents":{"financials":{"files":"Financial Information"}},"description":"Promoter Description","team":"Promoter\'s Team","capital_structure":"Promoter Ownership Structure","contact_email":"Contact Email","contact_phone":"Phone Number","project_manager_name":"Project Manager Name","project_manager_email":"Project Manager Email","project_manager_phone":"Project Manager Phone","employees":"Number of employees","contact_web":"Website","lei":"LEI Number"},"client_info":{"vatno":"VAT Number","commercial_name":"Commercial Name","country":"Country","contact_name":"Contact Name","contact_email":"Contact Email","contact_phone":"Phone Number","business_relation_duration":"Business Relation Duration","business_relation_description":"Business Relation Description","logo":{"files":"Company Logo"}},"risks":{"project_risks":"Project Risks","sector_risks":"Sector Risks","capital_changes":"Capital Changes","other_risks":"Other Risks"},"criminal_record":"Criminal record","crc":"Central credit register","kyc_documents":{"criminal_record":{"files":"Criminal record"},"crc":{"files":"Central credit register"}},"documents":{"invoice":{"files":"Invoice"},"insurance":{"files":"Insurance Documents"}}}},"Status":{"not_created":"Not Created","created":"Created","pending":"Pending","dk_evaluation":"In Evaluation","mp_evaluation":"In Evaluation","validated":"Validated","evaluation":"In Evaluation","refused":"Refused","conditional_validation":"Conditionally Validated","suspended":"Suspended"},"Notifications":{"auction_status_suspend":{"message":"Auction <strong>Suspended</strong>","buttonLabel":"View Auction"},"auction_status_start":{"message":"Auction <strong>Start</strong>","buttonLabel":"View Auction"},"auction_status_fund":{"message":"Auction Fund","buttonLabel":"View Action"}},"KYCAlertsIndividual":{"QuestionnairesCompleted":{"ondato_pending":"Please remember that to fully use our platform and to be able to invest through Daskapital you must complete the registration process and provide all necessary documentation. This is a legal obligation.","created":"Please remember that to fully use our platform and to be able to invest through Daskapital you must complete the registration process and provide all necessary documentation. This is a legal obligation.","sca_pending":"To fully use Daskapital\'s platform, you will need to activate the SCA. The SCA is a legal obligation from the European Payment Services Directive (PSD2). Please note that clicking on the link below will redirect you to an external website. This website is owned by Mangopay SA, Daskapital\'s payments provider and digital wallet manager. Activate SCA","pending":"We are validating your investor account. The process should be completed shortly.","refused":"Your identity validation has not been successful. Please update your registration with all required information. This is a legal requirement. If you believe there has been an error, please reach out to us at [email protected].","validated":"","conditional_validation":"Please remember that to fully use our platform and to be able to invest through Daskapital you must complete the registration process and provide all necessary documentation. This is a legal obligation.","suspended":"Your account has been suspended. If you believe there has been an error, please reach out to us at [email protected].","enroll_nspay":"We\'ve introduced an enhanced identification process. To continue investing and fully using the platform, please update your personal information.","enroll_nspay_locked":"We\'ve introduced an enhanced identification process. To continue investing and fully using the platform, please update your personal information."},"QuestionnairesIncompleted":{"ondato_pending":"Please remember that to fully use our platform and to be able to invest through Daskapital you must complete the registration process and provide all necessary documentation. This is a legal obligation.","created":"Please remember that to fully use our platform and to be able to invest through Daskapital you must complete the registration process and provide all necessary documentation. This is a legal obligation.","sca_pending":"","pending":"Please remember that to fully use our platform and to be able to invest through Daskapital you must complete the registration process and provide all necessary documentation. This is a legal obligation.","refused":"Your identity validation has not been successful. Please update your registration with all required information. This is a legal requirement. If you believe there has been an error, please reach out to us at [email protected].","validated":"Please remember that to fully use our platform and to be able to invest through Daskapital you must complete the registration process and provide all necessary documentation. This is a legal obligation.","conditional_validation":"","suspended":"Your account has been suspended. If you believe there has been an error, please reach out to us at [email protected].","enroll_nspay":"We\'ve introduced an enhanced identification process. To continue investing and fully using the platform, please update your personal information.","enroll_nspay_locked":"We\'ve introduced an enhanced identification process. To continue investing and fully using the platform, please update your personal information."}},"KYCAlertsBusinessSupplier":{"QuestionnairesCompleted":{"ondato_pending":"Please remember that to fully use our platform and to be able to invest or get funded through Daskapital you must complete the registration process and provide all necessary documentation. This is a legal obligation.","created":"Please remember that to fully use our platform and to be able to invest or get funded through Daskapital you must complete the registration process and provide all necessary documentation. This is a legal obligation.","sca_pending":"","pending":"We are validating your organization account. The process should be completed shortly.","refused":"The validation of your organization\'s identity was not successful. Please ensure that your registration includes all required information, as this is a legal obligation. If you believe this is an error, contact us at [email protected].","validated":"","conditional_validation":"","suspended":"Your account has been suspended. If you believe there has been an error, please reach out to us at [email protected].","enroll_nspay":"We\'ve introduced an enhanced KYB process. To retain full access to the Daskapital platform, please update your company\'s details.","enroll_nspay_locked":"We\'ve introduced an enhanced KYB process. To retain full access to the Daskapital platform, please update your company\'s details."},"QuestionnairesIncompleted":{"ondato_pending":"Please remember that to fully use our platform and to be able to invest or get funded through Daskapital you must complete the registration process and provide all necessary documentation. This is a legal obligation.","created":"Please remember that to fully use our platform and to be able to invest or get funded through Daskapital you must complete the registration process and provide all necessary documentation. This is a legal obligation.","sca_pending":"","pending":"","refused":"The validation of your organization\'s identity was not successful. Please ensure that your registration includes all required information, as this is a legal obligation. If you believe this is an error, contact us at [email protected].","validated":"","conditional_validation":"","suspended":"Your account has been suspended. If you believe there has been an error, please reach out to us at [email protected].","enroll_nspay":"We\'ve introduced an enhanced KYB process. To retain full access to the Daskapital platform, please update your company\'s details.","enroll_nspay_locked":"We\'ve introduced an enhanced KYB process. To retain full access to the Daskapital platform, please update your company\'s details."}},"KYCAlertsBusinessInvestor":{"QuestionnairesCompleted":{"ondato_pending":"Please remember that to fully use our platform and to be able to invest or get funded through Daskapital you must complete the registration process and provide all necessary documentation. This is a legal obligation.","created":"Please remember that to fully use our platform and to be able to invest or get funded through Daskapital you must complete the registration process and provide all necessary documentation. This is a legal obligation.","sca_pending":"","pending":"We are validating your organization account. The process should be completed shortly.","refused":"The validation of your organization\'s identity was not successful. Please ensure that your registration includes all required information, as this is a legal obligation. If you believe this is an error, contact us at [email protected].","validated":"","conditional_validation":"","suspended":"Your account has been suspended. If you believe there has been an error, please reach out to us at [email protected].","enroll_nspay":"We\'ve introduced an enhanced KYB process. To retain full access to the Daskapital platform, please update your company\'s details.","enroll_nspay_locked":"We\'ve introduced an enhanced KYB process. To retain full access to the Daskapital platform, please update your company\'s details."},"QuestionnairesIncompleted":{"ondato_pending":"Please remember that to fully use our platform and to be able to invest or get funded through Daskapital you must complete the registration process and provide all necessary documentation. This is a legal obligation.","created":"Please remember that to fully use our platform and to be able to invest or get funded through Daskapital you must complete the registration process and provide all necessary documentation. This is a legal obligation.","sca_pending":"","pending":"Please remember that to fully use our platform and to be able to invest you need to complete your investor type questionnaires. This is a legal obligation.","refused":"The validation of your organization\'s identity was not successful. Please ensure that your registration includes all required information, as this is a legal obligation. If you believe this is an error, contact us at [email protected].","validated":"Please remember that to fully use our platform and to be able to invest you need to complete your investor type questionnaires. This is a legal obligation.","conditional_validation":"","suspended":"Your account has been suspended. If you believe there has been an error, please reach out to us at [email protected].","enroll_nspay":"We\'ve introduced an enhanced KYB process. To retain full access to the Daskapital platform, please update your company\'s details.","enroll_nspay_locked":"We\'ve introduced an enhanced KYB process. To retain full access to the Daskapital platform, please update your company\'s details."}}}'),ei=JSON.parse('{"WelcomeDashboard":{"screen_name":"Ol\xe1 {{name}}"},"draft":"Rascunho","invoice_verification":"Fatura em Verifica\xe7\xe3o","invoice_rejected":"Fatura Rejeitada","dk_validation":"Valida\xe7\xe3o DK","in_auction":"Em Leil\xe3o","awaiting_final_approval":"Aguarda Aprova\xe7\xe3o Final","conditionally_approved":"Aprovado Condicionalmente","funded":"Financiado","failed":"Falhou","archived":"Arquivado","rejected":"Rejeitado","cancelled":"Cancelado","suspended":"Suspendido","outbid":"Outbid","verified\'":"Confirmado","KYCIndividual":{"Document":["Documentos aceites: - Cidad\xe3os da Uni\xe3o Europeia: Cart\xe3o de Cidad\xe3o, Passaporte ou Carta de Condu\xe7\xe3o; - Cidad\xe3o do Reino Unido, Estados Unidos e Canad\xe1: Passaporte ou carta de Condu\xe7\xe3o; - Cidad\xe3o dos restantes pa\xedses: Passaporte","Regras para uma correta submiss\xe3o do documento de identifica\xe7\xe3o: -
1N\xe3o corte os cantos: Certifique-se de que os 4 cantos do documento est\xe3o vis\xedveis.","Certifique-se de que o nome e apelido(s) est\xe3o inseridos exatamente como constam no documento de identifica\xe7\xe3o.","Certifique-se de que o documento est\xe1 dentro da validade.","Certifique-se de que todas as informa\xe7\xf5es s\xe3o leg\xedveis, nomeadamente a banda MRZ: certifique-se de que n\xe3o h\xe1 borr\xf5es, flashes ou dedos na c\xf3pia apresentada.","Envie frente e verso: Se o documento possuir 2 lados, envie-nos ambos (mesmo que se trate da p\xe1gina em branco no passaporte).","Os formatos aceites para carregar o seu documento s\xe3o JPG/JPEG/PNG/PDF. Documentos menores que 32 KB e maiores que 7 MB n\xe3o s\xe3o aceites."]}}');H.Ay.use(ea.r9).use(et.A).init({debug:!1,resources:{"EN-GB":{translation:en},"en-GB":{translation:en},PT:{translation:ei},pt:{translation:ei}},supportedLngs:["EN-GB","en-GB","PT","pt"],load:"currentOnly",fallbackLng:"en-GB",lowerCaseLng:!1,react:{useSuspense:!1}});var eo=a(30694),er=a(73321),es=a(70301);function el(){var e,t;let a=null!=(e=(0,er.usePathname)())?e:"",n=null!=(t=(0,er.useSearchParams)())?t:new URLSearchParams,{User:o,userKycCurrentStatus:r}=(0,i.useContext)(X.c),s=null==r?void 0:r.data.businessEntity;return(0,i.useEffect)(()=>{if(a&&o&&s){let e=(0,eo._)((0,y._)({},o),{business_entity:s});(0,es.JR)(a,e)}},[a,n,o,s]),(0,i.useEffect)(()=>{let e=document.querySelectorAll(".grecaptcha-badge");if(!e||0===e.length)return;let t=["/login","/register"].includes(null!=a?a:"")?"visible":"hidden";e.forEach(e=>{e.style.visibility=t})},[a]),null}function eu(e){let{children:t}=e;return(0,n.jsx)(o.Kq,{store:W,children:(0,n.jsxs)(Z,{children:[(0,n.jsx)(ee.y,{}),(0,n.jsx)(r.G3,{scriptProps:{async:!0},useEnterprise:!0,reCaptchaKey:"".concat("6LcjaHsqAAAAAM90gTJTSRSjA3PRcfLDNmyMcwX4"),children:(0,n.jsxs)($.A,{children:[(0,n.jsxs)(i.Suspense,{fallback:null,children:[(0,n.jsx)(el,{}),t]}),(0,n.jsx)(s.l$,{toastOptions:{position:"bottom-right",duration:6e3,ariaProps:{"aria-live":"polite",role:"alert"}},reverseOrder:!0})]})})]})})}},42664:(e,t,a)=>{"use strict";a.d(t,{Ay:()=>l,UO:()=>c,ZL:()=>p,bx:()=>d,k9:()=>u});var n=a(76367),i=a(43974),o=a(85023),r=a(5408);let s=(0,i.xP)({reducerPath:"financesApi",tagTypes:["accounts"],baseQuery:(0,o.cw)({baseUrl:"".concat("https://api.daskapital.eu/"),prepareHeaders:e=>{let t=r.A.getItem("me");return(null==t?void 0:t.access_token)&&e.set("authorization","Bearer ".concat(null==t?void 0:t.access_token)),e}}),endpoints:e=>({getBankAccounts:e.query({providesTags:["accounts"],query:()=>"/api/v1/bank_accounts"}),registerBankAccount:e.mutation({invalidatesTags:["accounts"],query:e=>({url:"/api/v1/bank_accounts",method:"POST",body:(0,n._)({},e)})}),activateBankAccountDirectDebit:e.mutation({invalidatesTags:["accounts"],query:e=>{let{id:t,return_url:a}=e;return{url:"/api/v1/bank_accounts/".concat(t,"/mandate"),method:"POST",body:{return_url:a}}}}),deleteBankAccount:e.mutation({invalidatesTags:["accounts"],query:e=>{let{id:t}=e;return{url:"/api/v1/bank_accounts/".concat(t),method:"DELETE"}}})})}),l=s,{useActivateBankAccountDirectDebitMutation:u,useGetBankAccountsQuery:c,useRegisterBankAccountMutation:d,useDeleteBankAccountMutation:p}=s},48708:(e,t,a)=>{Promise.resolve().then(a.bind(a,39235)),Promise.resolve().then(a.bind(a,73619)),Promise.resolve().then(a.t.bind(a,32949,23))},63856:(e,t,a)=>{"use strict";a.d(t,{AK:()=>c,Ay:()=>l,O9:()=>u});var n=a(43974),i=a(85023),o=a(5408),r=a(82985);let s=(0,n.xP)({reducerPath:"referralsApi",tagTypes:["referral"],baseQuery:(0,i.cw)({baseUrl:"".concat("https://api.daskapital.eu/"),prepareHeaders:e=>{let t=o.A.getItem("me");return(null==t?void 0:t.access_token)&&e.set("authorization","Bearer ".concat(null==t?void 0:t.access_token)),e}}),endpoints:e=>({getReferrals:e.query({providesTags:["referral"],query:e=>{let t=(0,r.dk)(e);return{url:"/api/v1/referrals".concat(t)}}}),createReferral:e.mutation({invalidatesTags:["referral"],query:e=>{let{payload:t}=e;return{url:"/api/v1/referrals",method:"POST",body:t}}})})}),l=s,{useGetReferralsQuery:u,useCreateReferralMutation:c}=s},64991:(e,t,a)=>{"use strict";a.d(t,{Ay:()=>l,D3:()=>d,Di:()=>g,Xl:()=>y,f8:()=>v,gs:()=>h,ir:()=>m,vm:()=>p,y9:()=>c});var n=a(43974),i=a(85023),o=a(5408),r=a(82985);let s=(0,n.xP)({reducerPath:"fundingApi",tagTypes:["funding"],baseQuery:(0,i.cw)({baseUrl:"".concat("https://api.daskapital.eu/"),prepareHeaders:e=>
1{let t=o.A.getItem("me");return(null==t?void 0:t.access_token)&&e.set("authorization","Bearer ".concat(null==t?void 0:t.access_token)),e}}),endpoints:e=>({createNewAuction:e.mutation({query:e=>({url:"/api/v1/allocation_auctions",method:"POST",body:e})}),createInvoiceFundingRequest:e.mutation({query:e=>({url:"/api/v1/allocation_auctions/create_refactoring_project",method:"POST",body:(0,r.SR)(e)})}),updateInvoiceFundingRequest:e.mutation({query:e=>{let{id:t,payload:a}=e,n=(0,r.SR)(a);return{url:"/api/v1/allocation_auctions/".concat(t,"/update_refactoring_project"),method:"PATCH",body:n}}}),createLoanFundingRequest:e.mutation({query:e=>({url:"/api/v1/allocation_auctions/create_lending_project",method:"POST",body:(0,r.DX)(e)})}),updateLoanFundingRequest:e.mutation({query:e=>{let{id:t,payload:a}=e,n=(0,r.DX)(a);return{url:"/api/v1/allocation_auctions/".concat(t,"/update_lending_project"),method:"PATCH",body:n}}}),submitFundingRequest:e.mutation({query:e=>{let{id:t,payload:a}=e;return{url:"/api/v1/allocation_auctions/".concat(t,"/submit"),method:"PATCH",body:a}}}),deleteDraftFundingRequest:e.mutation({query:e=>{let{id:t}=e;return{url:"/api/v1/allocation_auctions/".concat(t),method:"DELETE"}}}),deleteAsset:e.mutation({query:e=>{let{id:t}=e;return{url:"/api/v1/assets/".concat(t),method:"DELETE"}}}),deleteTeamMember:e.mutation({query:e=>{let{id:t}=e;return{url:"/api/v1/team_members/".concat(t),method:"DELETE"}}}),submitAssetImage:e.mutation({query:e=>{let{id:t,payload:a}=e;return{url:"/api/v1/assets/".concat(t,"/images"),method:"POST",body:a}}})})}),l=s,{useCreateNewAuctionMutation:u,useCreateInvoiceFundingRequestMutation:c,useUpd
1ateInvoiceFundingRequestMutation:d,useCreateLoanFundingRequestMutation:p,useUpdateLoanFundingRequestMutation:m,useSubmitFundingRequestMutation:y,useDeleteDraftFundingRequestMutation:g,useDeleteAssetMutation:h,useDeleteTeamMemberMutation:v}=s},70301:(e,t,a)=>{"use strict";a.d(t,{JR:()=>l,Mi:()=>i,OE:()=>n,kl:()=>o,sx:()=>s});let n="https://googletagmanager.com/ns.html?id=GTM-KVLWWW34",i="https://sst.daskapital.eu/alpwkbqpmh.js?",o="dvjafrc=aWQ9R1RNLUtWTFdXVzM0&apiKey=31af2798",r=e=>{void 0!==window.dataLayer&&window.dataLayer.push(e)},s=e=>{let{event:t,page:a,user_data:n,step:i,datalayer:o}=e,s={event:t};void 0!==i&&(s.step=i),void 0!==a&&(s.page=a),void 0!==n&&(s.user_data=n),void 0!==o&&(s.datalayer=o),r(s)},l=(e,t)=>{var a,n,i;let o,s,l,u={event:"pageview",page:e};t&&(s=(o=(null==(a=t.business_entity)?void 0:a.headquarters)||{}).address_line_1?"".concat(o.address_line_1," ").concat(o.address_line_2):"",l=(null==(n=t.investor)?void 0:n.sophisticated)?"sophisticated":"non-sophisticated",u.user_data={city:o.city||"",country:o.country||"",user_id:t.id||"",account_type:(null==(i=t.business_entity)?void 0:i.legal_type)||"unknown",investor_type:l,email:t.email||"",first_name:t.first_name||"",last_name:t.last_name||"",street:s,zip:o.postal_code||""}),r(u)}},73532:(e,t,a)=>{"use strict";a.d(t,{Ay:()=>d,B5:()=>w,H:()=>m,Kh:()=>C,LL:()=>k,TO:()=>v,Ux:()=>y,YM:()=>E,cc:()=>q,ef:()=>T,hq:()=>A,iK:()=>P,q7:()=>g,q9:()=>b,vZ:()=>_});var n=a(69061),i=a(76367),o=a(30694),r=a(43974),s=a(85023),l=a(5408),u=a(82985);let c=(0,r.xP)({reducerPath:"auctionsApi",tagTypes:["auction","auctionById"],baseQuery:(0,s.cw)({baseUrl:"".concat("https://api.daskapital.eu/"),prepareHeaders:e=>{let t=l.A.getItem("me");return(null==t?void 0:t.access_token)&&e.set("authorization","Bearer ".concat(null==t?void 0:t.access_token)),e}}),endpoints:e=>({getAuctionPerUserRole:e.query({query:e=>{let{role:t}=e;return"/api/v1/auctions?account=".concat(t)}}),getAllocationsAuctions:e.query({query:e=>{let t=(0,u.dk)(e);return"api/v1/allocation_auctions".concat(t)}}),getAllocationsAuctionsHighlights:e.query({query:e=>{let t=(0,u.dk)(e);return"api/v1/allocation_auctions/highlights".concat(t)}}),getAllocationsAuctionById:e.query({providesTags:["auctionById"],query:e=>{let{id:t}=e;return{url:"api/v1/allocation_auctions/".concat(t)}}}),createAllocationAuction:e.mutation({query:e=>{let{}=e,t=(0,n._)({},e);return{url:"/api/v1/allocation_auctions",method:"POST",body:(0,i._)({},t)}}}),createAuctionBid:e.mutation({invalidatesTags:["auctionById"],query:e=>{let{id:t,payload:a}=e;return{url:"/api/v1/allocation_auctions/".concat(t,"/allocation_bids"),method:"POST",body:a}}}),cancelAuctionBid:e.mutation({invalidatesTags:["auctionById"],query:e=>{let{id:t}=e;return{url:"/api/v1/allocation_auctions/".concat(t,"/allocation_bids/cancel"),method:"PATCH"}}}),closeAuctionBid:e.mutation({query:e=>{let{id:t}=e;return{url:"/api/v1/allocation_auctions/".concat(t,"/close"),method:"POST"}}}),getFIFByAuctionId:e.query({query:e=>{let{id:t}=e;return{url:"api/v1/allocation_auctions/".concat(t,"/fundamental_info_sheet"),method:"GET",responseHandler:async e=>{let t=window.URL.createObjectURL(await e.blob());return window.open(t,"_blank")},cache:"no-cache"}}}),validateFIFByAuctionId:e.mutation({query:e=>{let{id:t,approved:a}=e;return{url:"/api/v1/allocation_auctions/".concat(t,"/fundamental_info_sheet"),method:"PATCH",body:{approved:a}}}}),verifyInvoiceByAuctionId:e.mutation({query:e=>{let{id:t,payload:a}=e;return{url:"/api/v1/allocation_auctions/".concat(t,"/verify"),method:"PATCH",body:a}}}),getSecondaryMarketEntries:e.query({query:e=>{let t=(0,u.dk)(e);return"api/v1/secondary_market_entries".concat(t)}}),getSecondaryMarketEntryById:e.query({query:e=>{let{id:t}=e;return{url:"/api/v1/secondary_market_entries/".concat(t),method:"GET"}}}),createSecondaryMarketEntry:e.mutation({invalidatesTags:["auctionById"],query:e=>{let{allocation_bid_id:t,discount:a}=e;return{url:"/api/v1/allocation_bids/".concat(t,"/secondary_market_entries"),method:"POST",body:{discount:a}}}}),purchaseSecondaryMarketEntry:e.mutation({invalidatesTags:["auctionById"],query:e=>{let{id:t}=e;return{url:"/api/v1/secondary_market_entries/".concat(t,"/purchase"),method:"POST"}}}),cancelSecondaryMarketEntry:e.mutation({invalidatesTags:["auctionById"],query:e=>{let{id:t}=e;return{url:"/api/v1/secondary_market_entries/".concat(t),method:"DELETE"}}})})}),d=c,{useGetAuctionPerUserRoleQuery:p,useGetAllocationsAuctionsQuery:m,useGetAllocationsAuctionByIdQuery:y,useLazyGetAllocationsAuctionByIdQuery:g,useCreateAllocationAuctionMutation:h,useCreateAuctionBidMutation:v,useCancelAuctionBidMutation:_,useCloseAuctionBidMutation:f,useLazyGetFIFByAuctionIdQuery:b,useValidateFIFByAuctionIdMutation:A,useVerifyInvoiceByAuctionIdMutation:P,useCreateSecondaryMarketEntryMutation:k,useGetSecondaryMarketEntriesQuery:I,useGetSecondaryMarketEntryByIdQuery:q,usePurchaseSecondaryMarketEntryMutation:T,useCancelSecondaryMarketEntryMutation:w,useGetAllocationsAuctionsHighlightsQuery:S}=c,C=(e,t)=>{let a=l.A.getItem("me"),n=!!(null==a?void 0:a.access_token),r=m(e,(0,o._)((0,i._)({},t),{skip:(null==t?void 0:t.skip)||!n})),s=(0,i._)({},e);s.state&&(Array.isArray(s.state)?s.state=s.state.filter(e=>"contract_pending"!==e):"contract_pending"===s.state&&delete s.state);let u=S(s,(0,o._)((0,i._)({},t),{skip:(null==t?void 0:t.skip)||n}));return n?r:u},E=(e,t)=>{let a=l.A.getItem("me"),n=!!(null==a?void 0:a.access_token);return I(e,(0,o._)((0,i._)({},t),{skip:(null==t?void 0:t.skip)||!n}))}},73619:(e,t,a)=>{"use strict";a.d(t,{AnalyticsBodyScript:()=>s,y:()=>r});var n=a(95155),i=a(12115),o=a(70301);function r(){return(0,i.useEffect)(()=>{let e=document.createElement("script");return e.async=!0,e.innerHTML="(function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start':new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0],j=d.createElement(s);j.async=true;j.src=\"".concat(o.Mi,"\"+i;f.parentNode.insertBefore(j,f);})(window,document,'script','dataLayer','").concat(o.kl,"');"),document.head.appendChild(e),()=>{document.head.removeChild(e)}},[]),null}function s(){return(0,n.jsx)("noscript",{children:(0,n.jsx)("iframe",{src:o.OE,height:"0",width:"0",style:{display:"none",visibility:"hidden"},title:"Google Tag Manager"})})}},78277:(e,t,a)=>{"use strict";a.d(t,{A:()=>u,p:()=>l});var n=a(95155),i=a(12115),o=a(91686),r=a(64535),s=a(20607);let l=(0,i.createContext)({kycAlert:!1,setKycAlert(){throw Error("Function not implemented.")}}),u=function(e){let{children:t}=e,{User:a}=(0,i.useContext)(o.c),[s,u]=(0,i.useState)(!1),{data:c}=(0,r.ny)(void 0,{skip:!a});(0,i.useEffect)(()=>c?["validated","pending"].includes(c.kyc_status)?u(!1):u(!0):u(!1),[c]);let d=(0,i.useMemo)(()=>({kycAlert:s,setKycAlert:u}),[s,u]);return(0,n.jsx)(l.Provider,{value:d,children:(0,n.jsxs)("main",{className:"enviroment",children:[t,!1]})})}},94167:(e,t,a)=>{"use strict";a.d(t,{Ay:()=>u,BF:()=>p,U8:()=>m,VY:()=>d,eX:()=>c});var n=a(76367),i=a(43974),o=a(85023),r=a(5408),s=a(82985);let l=(0,i.xP)({reducerPath:"transactionsApi",tagTypes:["transactions","widthdrawal","deposits"],baseQuery:(0,o.cw)({baseUrl:"".concat("https://api.daskapital.eu/"),prepareHeaders:e=>{let t=r.A.getItem("me");return(null==t?void 0:t.access_token)&&e.set("authorization","Bearer ".concat(null==t?void 0:t.access_token)),e}}),endpoints:e=>({getTransactions:e.query({providesTags:["widthdrawal","deposits","transactions"],query:e=>{let t=(0,s.dk)(e);return"api/v1/transactions".concat(t)}}),getWallets:e.query({query:e=>{let{role:t}=e;return{url:"/api/v1/funds/wallets?role=".concat(t)}}}),withdrawFunds:e.mutation({invalidatesTags:["widthdrawal"],query:e=>({url:"/api/v1/funds/withdraw_funds",method:"POST",body:(0,n._)({},e)})}),getWithdrawalFee:e.mutation({query:e=>({url:"/api/v1/funds/withdrawal_fee",method:"POST",body:(0,n._)({},e)})})})}),u=l,{useGetWalletsQuery:c,useWithdrawFundsMutation:d,useGetTransactionsQuery:p,useGetWithdrawalFeeMutation:m}=l},97930:(e,t,a)=>{"use strict";a.d(t,{Ay:()=>s,I9:()=>l,LI:()=>u});var n=a(43974),i=a(85023),o=a(5408);let r=(0,n.xP)({reducerPath:"notificationsApi",tagTypes:["notifications"],baseQuery:(0,i.cw)({baseUrl:"".concat("https://api.daskapital.eu/"),prepareHeaders:e=>
1{let t=o.A.getItem("me");return(null==t?void 0:t.access_token)&&e.set("authorization","Bearer ".concat(null==t?void 0:t.access_token)),e}}),endpoints:e=>({getNotifications:e.query({query:e=>{let{offset:t,limit:a}=e;return{url:"/api/v1/notifications/",params:{offset:t,limit:a},method:"GET"}}}),postMarkNotificationAsRead:e.mutation({query:e=>{let{id:t}=e;return{url:"/api/v1/notifications/".concat(t,"/read"),method:"PATCH"}}})})}),s=r,{useGetNotificationsQuery:l,usePostMarkNotificationAsReadMutation:u}=r}},e=>{e.O(0,[544,4042,4678,8500,7928,931,1392,1998,8441,3794,7358],()=>e(e.s=48708)),_N_E=e.O()}]);
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.