1var _sentryDebugIds,_sentryDebugIdIdentifier;void 0===_sentryDebugIds&&(_sentryDebugIds={});try{var stack=(new Error).stack;stack&&(_sentryDebugIds[stack]="c4ba074c-ea66-4f89-90a6-188c4f3cf2d7",_sentryDebugIdIdentifier="sentry-dbid-c4ba074c-ea66-4f89-90a6-188c4f3cf2d7")}catch(e){} 2var SENTRY_RELEASE;SENTRY_RELEASE={name: "Taalimi", version: "1.1.9"}; 3__d(function(g,r,i,a,m,_e,d){"use strict";function e(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(_e,'__esModule',{value:!0}),Object.defineProperty(_e,"default",{enumerable:!0,get:function(){return y}});var t=r(d[0]),n=r(d[1]),s=e(r(d[2])),o=e(r(d[3])),l=e(r(d[4])),c=e(r(d[5])),x=r(d[6]),f=r(d[7]),h=r(d[8]),p=r(d[9]),u=r(d[10]),b=r(d[11]);const j=[['No upfront cost to join','Approved partners receive a unique tracked link and creator code. There is no joining fee and no need to purchase Taalimi.'],['30% of attributable proceeds','The standard draft offer is 30% of eligible net subscription proceeds received by Taalimi after estimated store commission and taxes.'],['A defined twelve-month earning window','Each qualifying subscriber can generate commission for twelve months from their first eligible paid transaction, including eligible renewals.'],['Clear monthly records','Valid purchases, renewals, refunds and reversals are recorded from RevenueCat webhook data and included in the payout calculation.']];function y(){const e=(0,t.c)(9);let y,A,N,w,I,k,T,v,S;return e[0]===Symbol.for("react.memo_cache_sentinel")?(y=["top","left","right"],e[0]=y):y=e[0],e[1]===Symbol.for("react.memo_cache_sentinel")?(A=(0,b.jsxs)(s.default,{children:[(0,b.jsx)("title",{children:"Taalimi Creator Partner Programme"}),(0,b.jsx)("meta",{name:"description",content:"Apply to earn a share of attributable Taalimi subscription proceeds through a transparent creator partnership."}),(0,b.jsx)("meta",{name:"robots",content:"noindex,nofollow"}),(0,b.jsx)("link",{rel:"canonical",href:`${p.TAALIMI_BASE_URL}/creators`}),(0,b.jsx)("meta",{property:"og:title",content:"Taalimi Creator Partner Programme"}),(0,b.jsx)("meta",{property:"og:description",content:"A performance-based partnership for creators who help families discover calm Islamic learning."}),(0,b.jsx)("meta",{property:"og:url",content:`${p.TAALIMI_BASE_URL}/creators`}),(0,b.jsx)("meta",{property:"og:image",content:p.TAALIMI_SOCIAL_PREVIEW_URL})]}),e[1]=A):A=e[1],e[2]===Symbol.for("react.memo_cache_sentinel")?(N={paddingBottom:100},e[2]=N):N=e[2],e[3]===Symbol.for("react.memo_cache_sentinel")?(w={backgroundColor:u.TAALIMI_NAV_BG,borderBottomWidth:1,borderBottomColor:u.TAALIMI_INK},e[3]=w):w=e[3],e[4]===Symbol.for("react.memo_cache_sentinel")?(I=(0,b.jsx)(n.Link,{href:"/",className:"min-h-[48px] justify-center",children:(0,b.jsx)(l.default,{className:"font-arabic-bold text-2xl text-text",children:"Taalimi"})}),e[4]=I):I=e[4],e[5]===Symbol.for("react.memo_cache_sentinel")?(k=(0,b.jsx)(c.default,{className:"px-6 py-4",style:w,children:(0,b.jsxs)(c.default,{className:"mx-auto w-full max-w-[940px] flex-row items-center justify-between gap-4",children:[I,(0,b.jsx)(n.Link,{href:"/creators-terms",className:"min-h-[48px] justify-center",children:(0,b.jsx)(l.default,{className:"font-sans-semibold text-sm text-text",children:"Programme terms"})})]})}),e[5]=k):k=e[5],e[6]===Symbol.for("react.memo_cache_sentinel")?(T=(0,b.jsxs)(c.default,{className:"gap-4 roun
3ded-[24px] px-6 py-8 md:px-10",style:{backgroundColor:u.TAALIMI_PRIMARY_SOFT,borderWidth:1.5,borderColor:u.TAALIMI_INK},children:[(0,b.jsx)(l.default,{className:"font-sans-semibold text-xs uppercase tracking-[1.6px] text-ink-dark",children:"For Muslim creators"}),(0,b.jsx)(f.PageHeading,{className:"max-w-[760px] font-arabic-bold text-4xl leading-[48px] text-text",children:"Help more families discover Taalimi\u2014and share in the growth you create"}),(0,b.jsx)(l.default,{className:"max-w-[760px] font-sans text-base leading-8 text-ink-dark",children:"This is a performance-based affiliate programme, not employment, an endorsement requirement, or an ownership offer. Approved creators choose whether and how to share Taalimi within the written brand and disclosure rules."})]}),e[6]=T):T=e[6],e[7]===Symbol.for("react.memo_cache_sentinel")?(v=(0,b.jsx)(c.default,{className:"grid gap-4 md:grid-cols-2",children:j.map(_)}),e[7]=v):v=e[7],e[8]===Symbol.for("react.memo_cache_sentinel")?(S=(0,b.jsxs)(h.SafeView,{edges:y,contentMaxWidth:null,children:[A,(0,b.jsx)(f.PageMain,{children:(0,b.jsxs)(o.default,{className:"flex-1",contentContainerStyle:N,children:[k,(0,b.jsx)(c.default,{className:"px-6 pt-10",children:(0,b.jsxs)(c.default,{className:"mx-auto w-full max-w-[940px] gap-8",children:[T,v,(0,b.jsxs)(c.default,{className:"gap-3 rounded-[20px] bg-surface px-6 py-6",style:{borderWidth:1.5,borderColor:u.TAALIMI_INK_BORDER},children:[(0,b.jsx)(l.default,{className:"font-arabic-bold text-2xl text-text",children:"How it works"}),(0,b.jsx)(l.default,{className:"font-sans text-base leading-7 text-ink-dark",children:"1. Apply with your main public profile."}),(0,b.jsx)(l.default,{className:"font-sans text-base leading-7 text-ink-dark",children:"2. If accepted, review and sign the final agreement before receiving an active code."}),(0,b.jsx)(l.default,{className:"font-sans text-base leading-7 text-ink-dark",children:"3. Share honestly and disclose the commercial relationship on every promotion."}),(0,b.jsx)(l.default,{className:"font-sans text-base leading-7 text-ink-dark",children:"4. Taalimi attributes eligible subscribers and calculates monthly commission after refunds and store deductions."}),(0,b.jsx)(l.default,{className:"font-sans text-sm leading-6 text-ink-dark",children:"The exact commercial relationship is governed only by the signed agreement. Taalimi may decline, pause or close applications."})]}),(0,b.jsx)(x.CreatorApplicationForm,{})]})})]})})]}),e[8]=S):S=e[8],S}function _(e){const[t,n]=e;return(0,b.jsxs)(c.default,{className:"gap-2 rounded-[20px] bg-surface px-6 py-6",style:{borderWidth:1.5,borderColor:u.TAALIMI_INK_BORDER},children:[(0,b.jsx)(l.default,{className:"font-arabic-bold text-xl text-text",children:t}),(0,b.jsx)(l.default,{className:"font-sans text-sm leading-6 text-ink-dark",children:n})]},t)}},738,[764,765,924,776,132,427,926,925,779,832,767,6]); 4__d(function(g,r,i,a,m,_e,d){"use strict";function e(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(_e,'__esModule',{value:!0}),_e.CreatorApplicationForm=function(){const[e,x]=(0,t.useState)(!1),[f,h]=(0,t.useState)(''),[b,y]=(0,t.useState)(''),[C,A]=(0,t.useState)('instagram'),[I,T]=(0,t.useState)(''),[j,N]=(0,t.useState)(''),[L,w]=(0,t.useState)(''),[_,S]=(0,t.useState)(''),[k,M]=(0,t.useState)(''),[v,R]=(0,t.useState)(!1),[P,Y]=(0,t.useState)('idle'),[O,W]=(0,t.useState)('');if((0,t.useEffect)(()=>{let e=!0;return fetch('/api/growth/status').then(e=>e.ok?e.json():null).then(t=>{e&&x(!0===t?.creator_affiliate_enabled)}).catch(()=>{}),()=>{e=!1}},[]),!e)return null;async function E(){if('sending'!==P){Y('sending'),W('');try{const e=await fetch('/api/growth/creator-application',{method:'POST',headers:{'Content-Type':'application/json'},body:JSON.stringify({name:f,contactEmail:b,primaryPlatform:C,profileUrl:I,followerCount:j,audienceSummary:L,country:_,website:k,consent:v,source:'creators-page'})}),t=await e.json();if(!e.ok)throw new Error(t.message||'Please check the form and try again.');Y('success'),W(t.message||'Your application has been received.'),h(''),y(''),T(''),N(''),w(''),S(''),R(!1),(0,c.c
4aptureAnalytics)('creator_application_submitted',{result:'received'})}catch(e){Y('error'),W(e instanceof Error?e.message:'Please check the form and try again.'),(0,c.captureAnalytics)('creator_application_submitted',{result:'failed'})}}}const K={borderWidth:1.5,borderColor:u.TAALIMI_INK_BORDER};return(0,p.jsxs)(n.default,{className:"gap-4 rounded-[20px] px-6 py-6",style:{backgroundColor:u.TAALIMI_PRIMARY_SOFT,borderWidth:1.5,borderColor:u.TAALIMI_INK},children:[(0,p.jsxs)(n.default,{className:"gap-2",children:[(0,p.jsx)(o.default,{className:"font-arabic-bold text-2xl text-text",children:"Apply to become a creator partner"}),(0,p.jsx)(o.default,{className:"font-sans text-base leading-7 text-ink-dark",children:"Applications are reviewed individually. Applying does not guarantee acceptance, and no promotion is required before both sides accept the written terms."})]}),(0,p.jsx)(l.default,{accessibilityLabel:"Your name or creator name",placeholder:"Your name or creator name",placeholderTextColor:"#7a6947",value:f,onChangeText:h,maxLength:120,className:"min-h-[52px] rounded-[12px] bg-surface px-4 font-sans text-base text-text",style:K}),(0,p.jsx)(l.default,{accessibilityLabel:"Contact email",autoCapitalize:"none",autoCorrect:!1,inputMode:"email",keyboardType:"email-address",placeholder:"[email protected]",placeholderTextColor:"#7a6947",value:b,onChangeText:y,maxLength:254,className:"min-h-[52px] rounded-[12px] bg-surface px-4 font-sans text-base text-text",style:K}),(0,p.jsxs)(n.default,{className:"gap-2",children:[(0,p.jsx)(o.default,{className:"font-sans-semibold text-sm text-text",children:"Primary platform"}),(0,p.jsx)(n.default,{className:"flex-row flex-wrap gap-2",children:[['instagram','Instagram'],['tiktok','TikTok'],['youtube','YouTube'],['other','Other']].map(([e,t])=>(0,p.jsx)(s.default,{accessibilityRole:"radio",accessibilityState:{checked:C===e},accessibilityLabel:`${t} is my primary platform`,onPress:()=>A(e),className:"min-h-[48px] min-w-[104px] items-center justify-center rounded-[12px] px-4",style:{backgroundColor:C===e?u.TAALIMI_PRIMARY:'#ffffff',borderWidth:1.5,borderColor:u.TAALIMI_INK},children:(0,p.jsx)(o.default,{className:"font-sans-semibold text-sm text-text",children:t})},e))})]}),(0,p.jsx)(l.default,{accessibilityLabel:"Creator profile URL",autoCapitalize:"none",autoCorrect:!1,inputMode:"url",keyboardType:"url",placeholder:"https://instagram.com/yourprofile",placeholderTextColor:"#7a6947",value:I,onChangeText:T,maxLength:300,className:"min-h-[52px] rounded-[12px] bg-surface px-4 font-sans text-base text-text",style:K}),(0,p.jsx)(l.default,{accessibilityLabel:"Approximate follower count optional",inputMode:"numeric",keyboardType:"number-pad",placeholder:"Approximate followers (optional)",placeholderTextColor:"#7a6947",value:j,onChangeText:N,maxLength:12,className:"min-h-[52px] rounded-[12px] bg-surface px-4 font-sans text-base text-text",style:K}),(0,p.jsx)(l.default,{accessibilityLabel:"Audience summary optional",multiline:!0,numberOfLines:4,placeholder:"Who follows you and what do you normally create? (optional)",placeholderTextColor:"#7a6947",value:L,onChangeText:w,maxLength:600,className:"min-h-[112px] rounded-[12px] bg-surface px-4 py-3 font-sans text-base text-text",style:[K,{textAlignVertical:'top'}]}),(0,p.jsx)(l.default,{accessibilityLabel:"Country optional",placeholder:"Country (optional)",placeholderTextColor:"#7a6947",value:_,onChangeText:S,maxLength:80,className:"min-h-[52px] rounded-[12px] bg-surface px-4 font-sans text-base text-text",style:K}),(0,p.jsx)("input",{"aria-hidden":"true",autoComplete:"off",name:"website",tabIndex:-1,value:k,onChange:e=>M(e.currentTarget.value),style:{position:'absolute',left:-1e4,top:0,width:1,height:1}}),(0,p.jsxs)(s.default,{accessibilityRole:"checkbox",accessibilityState:{checked:v},accessibilityLabel:"I accept the creator programme application terms",onPress:()=>R(e=>!e),className:"min-h-[48px] flex-row items-start gap-3",children:[(0,p.jsx)(n.default,{className:"mt-0.5 h-6 w-6 items-center justify-center rounded-[6px]",style:{backgroundColor:v?u.TAALIMI_PRIMARY:'#ffffff',borderWidth:1.5,borderColor:u.TAALIMI_INK},children:(0,p.jsx)(o.default,{className:"font-sans-bold text-sm text-text",children:v?'\u2713':''})}),(0,p.jsx)(o.default,{className:"flex-1 font-sans text-sm leading-6 text-text",children:"I am 18+, the information is accurate, and Taalimi may contact me about this application. I understand that a separate written agreement is required before participation."})]}),(0,p.jsx)(s.default,{accessibilityRole:"button",accessibilityLabel:"Submit creator partner application",disabled:'sending'===P,onPress:()=>{E()},className:"min-h-[50px] items-center justify-center rounded-[12px] px-5",style:{backgroundColor:u.TAALIMI_PRIMARY,borderWidth:1.5,borderColor:u.TAALIMI_INK,opacity:'sending'===P?.65:1},children:(0,p.jsx)(o.default,{className:"font-sans-bold text-base text-text",children:'sending'===P?'Submitting\u2026':'Submit application'})}),O?(0,p.jsx)(o.default,{accessibilityLiveRegion:"polite",className:"font-sans text-sm leading-6 "+('error'===P?'text-wrong':'text-text'),children:O}):null]})};var t=r(d[0]);r(d[1]);var s=e(r(d[2])),o=e(r(d[3])),l=e(r(d[4])),n=e(r(d[5])),c=r(d[6]),u=r(d[7]),p=r(d[8])},926,[12,124,552,132,569,427,790,767,6]);
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.