1import{c as he,aK as ge,aL as pe,ab as xe,V as ye,r as p,a as H,j as e,ah as ve,x as Y,D as q,z as v,I as c,G as be,ap as N,aq as j,ar as S,as as M,at as d,s as x,t as m,J as f,X as T,$ as Ce,B as u,b as ke,C as fe,h as w,aJ as Z}from"./index-C4LWZPK9.js";import{T as we}from"./textarea-G6LYtFU8.js";import{U as _e}from"./users-DL5nkPsl.js";import{T as Ne}from"./trending-up-B3ptUmW-.js";import{U as je}from"./upload-CkiK-kaT.js";import{C as Se}from"./circle-alert-DopbfLJX.js";/** 2 * @license lucide-react v0.475.0 - ISC 3 * 4 * This source code is licensed under the ISC license. 5 * See the LICENSE file in the root directory of this source tree. 6 */const Me=[["path",{d:"M16 20V4a2 2 0 0 0-2-2h-4a2 2 0 0 0-2 2v16",key:"jecpp"}],["rect",{width:"20",height:"14",x:"2",y:"6",rx:"2",key:"i6l2r4"}]],Pe=he("Briefcase",Me);function Be(b,h){const l=ge(b);return isNaN(h)?pe(b,NaN):(h&&l.setDate(l.getDate()+h),l)}function Le(b,h){const l=h*7;return Be(b,l)}const D=["Region & Duration","About Your Business","Pick Videos","Promo Codes","Ad Details","Review & Pay"],Ae=[{code:"US",name:"United States"},{code:"CA",name:"Canada"},{code:"GB",name:"United Kingdom"},{code:"AU",name:"Australia"},{code:"DE",name:"Germany"},{code:"FR",name:"France"},{code:"ES",name:"Spain"},{code:"IT",name:"Italy"},{code:"JP",name:"Japan"},{code:"BR",name:"Brazil"},{code:"MX",name:"Mexico"},{code:"IN",name:"India"}],Re=["Alabama","Alaska","Arizona","Arkansas","California","Colorado","Connecticut","Delaware","Florida","Georgia","Hawaii","Idaho","Illinois","Indiana","Iowa","Kansas","Kentucky","Louisiana","Maine","Maryland","Massachusetts","Michigan","Minnesota","Mississippi","Missouri","Montana","Nebraska","Nevada","New Hampshire","New Jersey","New Mexico","New York","North Carolina","North Dakota","Ohio","Oklahoma","Oregon","Pennsylvania","Rhode Island","South Carolina","South Dakota","Tennessee","Texas","Utah","Vermont","Virginia","Washington","West Virginia","Wisconsin","Wyoming"],Ge=["Alberta","British Columbia","Manitoba","New Brunswick","Newfoundland and Labrador","Nova Scotia","Ontario","Prince Edward Island","Quebec","Saskatchewan"],We=["New South Wales","Victoria","Queensland","Western Australia","South Australia","Tasmania","Australian Capital Territory","Northern Territory"],Q={California:["Los Angeles","San Francisco","San Diego","San Jose","Sacramento","Oakland","Fresno","Long Beach","Bakersfield","Anaheim","Santa Ana","Riverside","Stockton","Irvine","Chula Vista","Fremont","San Bernardino","Modesto","Fontana","Oxnard","Moreno Valley","Huntington Beach","Glendale","Santa Clarita","Garden Grove","Oceanside","Rancho Cucamonga","Santa Rosa","Ontario","Lancaster","Elk Grove","Corona","Palmdale","Salinas","Pomona","Hayward","Escondido","Torrance","Sunnyvale","Orange","Fullerton","Pasadena","Thousand Oaks","Visalia","Simi Valley","Concord","Roseville","Victorville","Santa Clara","Vallejo","Berkeley","El Monte","Downey","Costa Mesa","Inglewood","Carlsbad","San Buenaventura","Fairfield","West Covina","Murrieta","Richmond","Norwalk","Antioch","Temecula","Burbank","Daly City","Rialto","Santa Maria","El Cajon","San Mateo","Clovis","Compton","Jurupa Valley","Vista","South Gate","Mission Viejo","Vacaville","Carson","Hesperia","Santa Monica","Westminster","Redding","Santa Barbara","Chico","Newport Beach","San Leandro","San Marcos","Whittier","Hawthorne","Citrus Heights","Tracy","Alhambra","Livermore","Buena Park","Menifee","Hemet","Lakewood","Merced","Chino","Indio","Redwood City","Lake Forest","Napa","Tustin","Bellflower","Mountain Vie
6w","Chino Hills","Baldwin Park","Alameda","Upland","San Ramon","Folsom","Pleasanton","Union City","Perris","Manteca","Lynwood","Apple Valley","Redlands","Turlock","Fremont","Milpitas","Redondo Beach","Rancho Cordova","Yorba Linda","Palo Alto","Davis","Camarillo","Walnut Creek","Pittsburg","South San Francisco","Yuba City","San Clemente","Laguna Niguel","Pico Rivera","Montebello","Lodi","Madera","Santa Cruz","La Habra","Encinitas","Monterey Park","Tulare","Cupertino","Gardena","National City","Rocklin","Petaluma","Huntington Park","San Rafael","La Mesa","Arcadia","Fountain Valley","Diamond Bar","Woodland","Santee","Lake Elsinore","Porterville","Paramount","Eastvale","Rosemead","Hanford","Highland","Brentwood","Novato","Colton","Cathedral City","Delano","Yucaipa","Watsonville","Placentia","Glendora","Gilroy","Palm Desert","Cerritos","West Sacramento","Aliso Viejo","Poway","La Mirada","Rancho Santa Margarita","Cypress","Dublin","Covina","Azusa","La Puente","Monrovia","Manhattan Beach","Beverly Hills","Culver City","Morgan Hill","Stanton","Pacifica","Oakley","Monterey","Campbell","Los Gatos","Saratoga","San Carlos","Half Moon Bay","Seaside","Coalinga","King City","Soledad","Gonzales","Greenfield","Marina","Seaside","Pacific Grove","Carmel-by-the-Sea","Del Rey Oaks","Sand City","Aptos","Capitola","Scotts Valley","Felton","Ben Lomond","Boulder Creek","Brookdale","Davenport"],Texas:["Houston","San Antonio","Dallas","Austin","Fort Worth","El Paso","Arlington","Corpus Christi","Plano","Laredo","Lubbock","Garland","Irving","Amarillo","Grand Prairie","Brownsville","Pasadena","McKinney","Mesquite","McAllen","Killeen","Frisco","Waco","Carrollton","Denton","Midland","Abilene","Beaumont","Round Rock","Odessa","Wichita Falls","Richardson","Lewisville","Tyler","College Station","Pearland","San Angelo","Allen","League City","Sugar Land","Longview","Edinburg","Mission","Bryan","Pharr","Temple","Missouri City","Flower Mound","Harlingen","North Richland Hills","Victoria","Conroe","New Braunfels","Mansfield","Cedar Hill","Georgetown","DeSoto","Grapevine","Galveston","Bedford","Pflugerville","Euless","Texarkana","Flower Mound","Burleson","Huntsville","The Colony","Cedar Park","Wylie","Rockwall","Hurst","Keller","Coppell","Weslaco","Port Arthur","Texas City","Friendswood","Leander","Little Elm","San Marcos","Haltom City","Lancaster","Sherman","Duncanville","Channelview","Copperas Cove","Nacogdoches","Lufkin","Greenville","Socorro","Rowlett","Selma","Corsicana","Cleburne","Seguin","Paris","Denison","Marshall","Big Spring","Kerrville","Del Rio","Eagle Pass","Alice","Brownwood","Stephenville","Mineral Wells","Gainesville","Sulphur Springs","Jacksonville","Beeville","Uvalde","Huntington","Lamesa","Snyder","Sweetw
6ater","Andrews","Monahans","Pecos","Fort Stockton","Alpine","Marfa","Presidio","Van Horn","Fabens","Anthony","Sunland Park","Las Cruces"],"New York":["New York City","Buffalo","Rochester","Yonkers","Syracuse","Albany","New Rochelle","Mount Vernon","Brookhaven","Schenectady","Utica","White Plains","Hempstead","Troy","Niagara Falls","Binghamton","Freeport","Valley Stream","Long Beach","Rome","Watertown","Ithaca","Middletown","Port Chester","Jamestown","Poughkeepsie","Newburgh","Elmira","Kingston","Saratoga Springs","Plattsburgh","Cortland","Oneonta","Oswego","Auburn","Batavia","Geneva","Canandaigua","Lockport","Tonawanda","Lackawanna","Beacon","Peekskill","Glen Cove","Glen Cove","Rye","Cohoes","Amsterdam","Gloversville","Fulton","Oneida","Sherrill","Corning","Hornell","Dunkirk","Fredonia","Olean","Salamanca","Norwich","Cortland","Glens Falls","Cohoes","Mechanicville","Rensselaer","Watervliet","Green Island","Menands","Colonie","Guilderland","Rotterdam","Niskayuna","Clifton Park","Halfmoon","Malta","Stillwater","Schuylerville","Victory","Saratoga","Wilton","Moreau","Northumberland","Edinburg","Day","Providence","Rock City Falls","Milton","Ballston","Burnt Hills","Ballston Lake","Round Lake","Schaghticoke","Hoosick Falls","Cambridge","Granville","Salem","Whitehall","Fort Edward","Hudson Falls","Argyle","Greenwich","Schuylerville","Victory Mills","Starkville","Bemus Point","Lakewood","Jamestown","Falconer","Randolph","South Dayton","Gowanda","Hamburg","Blasdell","Lackawanna","West Seneca","Cheektowaga","Depew","Lancaster","Alden","Clarence","Williamsville","Amherst","Tonawanda","Grand Island","Niagara Falls","Lewiston","Youngstown","Wilson","Olcott","Newfane","Lockport","Middleport","Albion","Medina","Lyndonville","Barker","North Tonawanda","Niagara Falls","Sanborn","Pekin","Mapleton","Cambria Center","Hartland","Royalton","Gasport","Middleport","Ridgeway","Holley","Kendall","Hamlin","Clarkson","Spencerport","Greece","Rochester","Brighton","Pittsford","Penfield","Webster","Ontario","Williamson","Sodus","Lyons","Newark","Macedon","Palmyra","Marion","Rose","Wolcott","Red Creek","Savannah","Clyde","Lyons","Newark","North Rose","Cape Vincent","Clayton","Thousand Island Park","Alexandria Bay","Fishe","Sackets Harbor","Adams","Mannsville","Ellisburg","Pulaski","Mexico","New Haven","Constantia","Williamstown","Richland","Lowville","Carthage","Glenfield","Harrisville","Philadelphia","Theresa","Redwood","Alexandria Bay","Chippewa Bay","Morristown","Ogdensburg","Waddington","Norwood","Massena","Louisville","Bombay","Moira","Brasher Falls","Winthrop","Madrid","Norfolk","Lisbon","Oswegatchie","Heuvelton","Canton","Potsdam","Norwood","Madrid","Brasher","Massena","Malone","Chateaugay","Constable","Dickinson Center","Fort Covington","Bombay","Lawrence","Waverly","Glen Cove"],Florida:["Miami","Orlando","Tampa","Jacksonville","Fort Lauderdale","St. Petersburg","Hialeah","Tallahassee","Cape Coral","Port St. Lucie","Pembroke Pines","Hollywood","Miramar","Gainesville","Coral Springs","Miami Gardens","Clearwater","Palm Bay","Pompano Beach","West Palm Beach","Lakeland","Davie","Miami Beach","Sunrise","Plantation","Boca Raton","Deltona","Largo","Deerfield Beach","Palm Coast","Melbourne","Boynton Beach","Lauderhill","Weston","Fort Myers","Kissimmee","Homestead","Tamarac","Delray Beach","Daytona Beach","North Miami","Wellington","North Port","Jupiter","Ocala","Port Orange","Margate","Coconut Creek","Sanford","Sarasota","Pensacola","Bradenton","Palm Beach Gardens","Pinellas Park","Coral Gables","Doral","Bonita Springs","Apopka","Titusville","North Miami Beach","Oakland Park","Fort Pierce","North Lauderdale","Cutler Bay","Altamonte Springs","St. Cloud","Greenacres","Ormond Beach","Ocoee","Hallandale Beach","Winter Garden","Aventura","Clermont","Winter Springs","Riviera Beach","Lehigh Acres","Winter Haven","Winter Park","Kendale Lakes","The Hammocks","Town n Country","Tamiami","Brandon","Palm Harbor","Tarpon Springs","New Port Richey","Pasco","Wesley Chapel","Land O Lakes","Lutz","Odessa","Holiday","Port Richey","Zephyrhills","Dade City","Plant City","Seffner","Valrico","Bloomingdale","Ruskin","Sun City Center","Apollo Beach","Gibsonton","Balm","Wimauma","Lithia","Fish Hawk","Keystone","Cheval","Land O Lakes","Wesley Chapel","San Antonio","Dade City","Ridge Manor","Webster","Sumterville","Center Hill","Wildwood","The Villages","Lady Lake","Fruitland Park","Leesburg","Mount Dora","Tavares","Eustis","Astatula","Clermont","Minneola","Mascotte","Montverde","Howey-in-the-Hills","Umatilla","Altoona","Paisley","Sorrento","Grand Island","Yalaha","Okahumpka","Wildwood","Coleman","Sumterville","Center Hill","Webster","Bushnell","Lake Panasoffkee","Oxford","The Villages"],Illinois:["Chicago","Aurora","Naperville","Joliet","Rockford","Springfield","Elgin","Peoria","Champaign","Waukegan","Cicero","Bloomington","Arlington Heights","Evanston","Decatur","Schaumburg","Bolingbrook","Palatine","Skokie","Des Plaines","Orland Park","Tinley Park","Oak Lawn","Berwyn","Mount Prospect","Normal","Oak Park","Downers Grove","Elmhurst","Glenview","DeKalb","Lombard","Belleville","Moline","Buffalo Grove","Bartlett","Urbana","Quincy","Crystal Lake","Wheaton","Plainfield","Streamwood","Carol Stream","Romeoville","Rock Island","Hanover Park","Carpentersville","Wheeling","Park Ridge","Addison","Calumet City","Northbrook","North Chicago","St. Charles","Glen Ellyn","Elk Grove Village","Oswego","Lockport","Bloomington","Danville","Kankakee","Carbondale","Freeport","Alton","Jacksonville","Galesburg","Collinsville","Granite City","Edwardsville","O Fallon","Belleville","East St. Louis","Cahokia","Fairview Heights","Swansea","Lebanon","Mascoutah","Scott Air Force Base","Shiloh","Caseyville","Maryville","Glen Carbon","Hamel","Worden","Livingston","Williamson","Old Ripley","Hillsboro","Litchfield","Vandalia","Farina","Ramsey","Mulberry Grove","Keyesport","Alma","Odin","Salem","Centralia","Waltonville","Ina","Mount Vernon","Nason","Bluford","Woodlawn","Bonnie","Belle Rive","Dixon Springs","Golden Gate","Wayne City","Fairfield","Cisne","Ruby","Barnhill","Johnsonville","Keensburg","Mount Carmel","Allendale","Bellmont","West Salem","Lancaster","Grayville","New Haven","Norris City","Enfield","Phillipstown","Crossville","Iuka","Rinard","Bondville","Dewey","Fithian","Homer","Mahomet","Savoy","Tolono","Thomasboro","Rantoul","Gibson City","Paxton","Buckley","Chebanse","Kankakee","Bourbonnais","Bradley","Manteno","Momence","St. Anne","L Herscher","Grant Park","Reddick","Cabery","Chemung","Ashkum","Gilman","Crescent City","Cullom","Dwight","Gardner","Wilmington","Minooka","Morris","Seneca","Marseilles","Ottawa","La Salle","Peru","Spring Valley","Hennepin","Granville","Magnolia","Tiskilwa","De Pue","Princeton","Sheffield","Kewanee","Galva","Cambridge","Andover","Geneseo","Annawan","Colona","Silvis","East Moline","Moline","Rock Island","Milan","Port Byron","Rapids City","Hampton","Coal Valley","Hillsdale","Matherville","Viola","Keithsburg","Oquawka","Gladstone","Little York","New Windsor","Alpha","Galva","Kewanee","Tiskilwa","Princeton","Dalzell","Granville","Hennepin","Magnolia","De Pue","Spring Valley","Peru","La Salle","Ottawa","Marseilles","Seneca","Morris","Minooka","Yorkville","Plano","Sandwich","Somonauc","Shabbona","DeKalb","Sycamore","Kingston","Cortland","Maple Park","Elburn","Geneva","St. Charles","Algonquin","Lake in the Hills","Cary","Fox River Grove","Barrington Hills","Barrington","Deer Park","Kildeer","Long Grove","Hawthorn Woods","
6Lake Zurich","Buffalo Grove","Lincolnshire","Riverwoods","Deerfield","Highland Park","Highwood","Bannockburn","Lincolnwood","Morton Grove","Niles","Glenview","Northbrook","Wheeling","Prospect Heights","Mount Prospect","Arlington Heights","Rolling Meadows","Palatine","Inverness","Deer Park","Kildeer","Lake Zurich","Hawthorn Woods","Long Grove","Buffalo Grove","Lincolnshire","Riverwoods","Deerfield","Highland Park","Highwood","Bannockburn","Lake Forest","Lake Bluff","North Chicago","Waukegan","Gurnee","Beach Park","Winthrop Harbor","Zion","Benton Harbor","St. Joseph","Wadsworth","Old Mill Creek","Lindenhurst","Grayslake","Round Lake Beach","Round Lake","Round Lake Park","Fox Lake","Antioch","Ingleside","Lakeside","Hainesville","Third Lake","Gages Lake","Volo","Ringwood","Wauconda","Island Lake","Lake Villa","Lindenhurst","Winthrop Harbor","Zion","Beach Park","Waukegan","North Chicago","Lake Bluff","Lake Forest","Highwood","Highland Park","Bannockburn","Deerfield","Lincolnshire","Riverwoods","Wheeling","Buffalo Grove","Lincolnwood","Morton Grove","Niles","Skokie","Evanston","Chicago","Cicero","Oak Park","River Forest","Forest Park","Berwyn","Stickney","Brookfield","La Grange","La Grange Park","Western Springs","Hinsdale","Clarendon Hills","Westmont","Darien","Willowbrook","Burr Ridge","Countryside","McCook","Hodgkins","La Grange Park","Broadview","Maywood","Melrose Park","Bellwood","Stone Park","Northlake","Berkeley","Hillside","Westchester","Broadview","Lyons","Riverside","North Riverside","Berwyn","Cicero","Stickney","Bedford Park","Summit","Justice","Willow Springs","Lemont","Homer Glen","Lockport","Crest Hill","Shorewood","Minooka","Channahon","Morris","Coal City","Diamond","Godley","Braceville","Gardner","Wilmington","Braidwood","Elwood","Joliet","Crest Hill","Rockdale","Fairmont","Bolingbrook","Romeoville","Plainfield","Crest Hill","Shorewood","Minooka","Channahon","Morris","Coal City","Diamond","Godley","Braceville","Gardner","Wilmington","Braidwood","Elwood","Joliet"],Georgia:["Atlanta","Augusta","Columbus","Savannah","Athens","Sandy Springs","Roswell","Macon","Johns Creek","Albany","Warner Robins","Alpharetta","Marietta","Valdosta","Smyrna","Dunwoody","Rome","East Point","Milton","Gainesville","Hinesville","Peachtree Corners","Newnan","Dalton","Kennesaw","Lawrenceville","Duluth","Stockbridge","Woodstock","Carrollton","Canton","Griffin","McDonough","Acworth","Decatur","Pooler","Union City","Sugar Hill","Tucker","Douglasville","Brookhaven","Statesboro","Cartersville","Winder","St. Marys","Peachtree City","Martinez","Evans","Moultrie","LaGrange","Snellville","Suwanee","Forest Park","Cedartown","Milledgeville","Thomasville","Calhoun","Tifton","Chamblee","Brunswick","Cumming","Austell","Fayetteville","Conyers","Lilburn","Dunwoody"]},He=[{tier:"local",label:"Single City",example:"$10/city",pricePerWeek:null},{tier:"national",label:"National",example:"Entire country",pricePerWeek:null},{tier:"international",label:"International",example:"Worldwide",pricePerWeek:null}],Te=[{weeks:1,label:"1 Week"},{weeks:2,label:"2 Weeks"},{weeks:4,label:"1 Month (~4 weeks)"},{weeks:8,label:"2 Months (~8 weeks)"},{weeks:12,label:"3 Months (~12 weeks)"}],De=["Retail & E-commerce","Food & Beverage","Technology & Software","Healthcare & Wellness","Entertainment & Media","Finance & Insurance","Real Estate","Education","Automotive","Fashion & Beauty","Travel & Hospitality","Professional Services","Nonprofit & Community","Other"],Fe=[{id:"age_18_24",label:"18-24 years"},{id:"age_25_34",label:"25-34 years"},{id:"age_35_44",label:"35-44 years"},{id:"age_45_54",label:"45-54 years"},{id:"age_55_plus",label:"55+ years"},{id:"parents",label:"Parents"},{id:"students",label:"Students"},{id:"professionals",label:"Professionals"},{id:"gamers",label:"Gamers"},{id:"fitness",label:"Fitness Enthusiasts"}],Oe=[{id:"brand_awareness",label:"Brand Awareness"},{id:"sales",label:"Drive Sales"},{id:"website_traffic",label:"Website Traffic"},{id:"app_downloads",label:"App Downloads"},{id:"lead_generation",label:"Lead Generation"},{id:"event_promotion",label:"Event Promotion"},{id:"product_launch",label:"Product Launch"}];function Je(){const{user:b}=xe()||{},h=ye(),[l,F]=p.useState(0),[O,E]=p.useState(!1),[I,V]=p.useState(!1),[X,ee]=p.useState(!1),[ae,L]=p.useState(!1),[C,U]=p.useState("recommend"),[a,i]=p.useState({country:"",state:"",selected_cities:[],region_tier:"",region_label:"",duration_weeks:1,industry:"",target_audience:[],business_goals:[],business_description:"",selected_video_ids:[],selected_video_titles:[],promo_codes:[],company_name:"",ad_title:"",ad_video_url:"",click_through_url:"",website_link:""}),{data:t}=H({queryKey:["ad-settings"],queryFn:()=>w.entities.AdSettings.filter({key:"global"}),select:n=>n[0]||{price_local:10,price_regional:30,price_national:60,price_international:100,max_ad_length_seconds:15,max_videos_per_order:3,max_ads_per_5_minutes:1}}),{data:A=[]}=H({queryKey:["ad-videos-picker"],queryFn:()=>w.entities.VideoContent.filter({status:"published"},"-view_count",200)}),{data:ne=[]}=H({queryKey:["all-orders-for-capacity"],queryFn:()=>w.entities.AdvertiserOrder.filter({status:"active"},"-created_date",500)}),R={local:(t==null?void 0:t.price_local)||10,regional:(t==null?void 0:t.price_regional)||30,national:(t==null?void 0:t.price_national)||60,international:(t==null?void 0:t.price_international)||100},G=(t==null?void 0:t.max_videos_per_order)||3,re=(t==null?void 0:t.max_ads_per_5_minutes)||1,$=(t==null?void 0:t.max_ad_length_seconds)||15,K=n=>{const r=(n.duration_seconds||0)/60,s=Math.floor(r/5)*re,o=ne.filter(g=>{var k;
6return(k=g.selected_video_ids)==null?void 0:k.includes(n.id)}).length;return{maxSlots:s,activeAdsOnVideo:o,available:s-o}},J=p.useMemo(()=>{if(!a.industry||a.target_audience.length===0)return[];const r={"Retail & E-commerce":["shopping","product","review"],"Food & Beverage":["food","cooking","recipe"],"Technology & Software":["tech","tutorial","review"],"Healthcare & Wellness":["health","fitness","wellness"],"Entertainment & Media":["entertainment","music","fun"],"Fashion & Beauty":["fashion","beauty","style"],"Travel & Hospitality":["travel","adventure","destination"]}[a.industry]||[];return A.filter(s=>{var P;const o=r.some(y=>{var B;return(B=s.title)==null?void 0:B.toLowerCase().includes(y)}),g=(P=s.tags)==null?void 0:P.some(y=>r.some(B=>y.toLowerCase().includes(B))),k=a.target_audience.some(y=>y==="age_18_24"||y==="age_25_34"?s.content_rating==="Everyone"||s.content_rating==="Teen":y==="parents"?s.content_rating==="Everyone":!0);return o||g||k}).slice(0,10)},[a.industry,a.target_audience,A]),_=a.region_tier==="local"?a.selected_cities.length*10:R[a.region_tier]||0,W=_*a.duration_weeks+a.promo_codes.length*10,z=a.promo_codes.length*10,se=He.map(n=>({...n,pricePerWeek:R[n.tier]})),le=()=>{!X&&!b&&L(!0),ee(!0)},ie=()=>{localStorage.setItem("adCampaignForm",JSON.stringify(a)),h("/login")},oe=()=>{L(!1)},te=n=>{const r=a.selected_video_ids,s=a.selected_video_titles;if(r.includes(n.id))i({...a,selected_video_ids:r.filter(o=>o!==n.id),selected_video_titles:s.filter((o,g)=>r[g]!==n.id)});else{if(r.length>=G){m.error(`You can select up to ${G} videos`);return}if(K(n).available<=0){m.error("This video is at full ad capacity");return}i({...a,selected_video_ids:[...r,n.id],selected_video_titles:[...s,n.title]})}},de=async n=>{var o;const r=(o=n.target.files)==null?void 0:o[0];if(!r)return;if(!r.type.startsWith("video/")){m.error("Please upload a video file");return}E(!0);const{file_url:s}=await w.integrations.Core.UploadFile({file:r});i(g=>({...g,ad_video_url:s})),E(!1),m.success("Ad video uploaded")},ce=async()=>{if(!a.selected_video_ids.length){m.error("Select at least one video");return}let n;try{n=await w.auth.me()}catch{localStorage.setItem("adCampaignForm",JSON.stringify(a)),h("/login");return}V(!0);const r=new Date,s=Le(r,a.duration_weeks);await w.entities.AdvertiserOrder.create({...a,advertiser_user_id:n.id,advertiser_email:n.email,price_per_week:_,total_price:W,status:"pending_payment",payment_status:"unpaid",start_date:Z(r,"yyyy-MM-dd"),end_date:Z(s,"yyyy-MM-dd")}),V(!1),m.success("Campaign submitted! Please complete payment to activate."),h("/advertiser")},me=()=>l===0?!a.region_tier||!a.duration_weeks?!1:a.region_tier==="local"?a.selected_cities.length>0&&a.selected_cities.length<=5:!0:l===1?a.industry&&a.target_audience.length>0:l===2?a.selected_video_ids.length>0:l===3?!0:l===4?a.company_name&&a.ad_title&&a.ad_video_url:!0,ue=C==="recommend"&&J.length>0?J:A;return e.jsxs("div",{className:"max-w-4xl mx-auto",children:[e.jsxs("div",{className:"mb-8",children:[e.jsx("h1",{className:"text-3xl font-display font-bold mb-2",children:"Create New Campaign"}),e.jsx("div",{className:"flex items-center gap-2 mt-4",children:D.map((n,r)=>e.jsxs(ve.Fragment,{children:[e.jsxs("div",{className:`flex items-center gap-2 ${r===l?"text-primary":r<l?"text-accent":"text-muted-foreground"}`,children:[e.jsx("div",{className:`w-7 h-7 rounded-full flex items-center justify-center text-xs font-bold border-2 ${r===l?"border-primary bg-primary/20":r<l?"border-accent bg-accent/20":"border-border"}`,children:r+1}),e.jsx("span",{className:"text-sm hidden sm:inline",children:n})]}),r<D.length-1&&e.jsx("div",{className:`flex-1 h-0.5 ${r<l?"bg-accent":"bg-border"}`})]},n))})]}),e.jsx(Y,{className:"bg-secondary/30",children:e.jsxs(q,{className:"p-6",children:[l===0&&e.jsxs("div",{className:"space-y-6",children:[e.jsx(v,{className:"font-display text-lg mb-4",children:"Region & Duration"}),e.jsxs("div",{children:[e.jsxs(c,{className:"flex items-center gap-2 mb-3",children:[e.jsx(be,{className:"w-4 h-4"})," Geographic Reach"]}),e.jsx("div",{className:"grid grid-cols-1 sm:grid-cols-3 gap-3",children:se.map(n=>e.jsxs("button",{type:"button",onClick:()=>{le(),i({...a,region_tier:n.tier})},className:`text-left p-4 rounded-xl border-2 transition-all ${a.region_tier===n.tier?"border-primary bg-primary/10":"border-border bg-secondary/40 hover:border-border/80"}`,children:[e.jsxs("div",{className:"flex items-center justify-between",children:[e.jsx("p",{className:"font-semibold",children:n.label}),e.jsx("span",{className:"text-primary font-bold",children:n.tier==="local"?"$10/city":n.tier==="national"?"$60/wk":"$100/wk"})]}),e.jsx("p",{className:"text-xs text-muted-foreground mt-1",children:n.example})]},n.tier))})]}),a.region_tier==="local"&&e.jsxs("div",{className:"space-y-4",children:[e.jsxs("div",{className:"grid grid-cols-1 sm:grid-cols-2 gap-4",children:[e.jsxs("div",{children:[e.jsx(c,{children:"Select Country *"}),e.jsxs(N,{value:a.country,onValueChange:n=>i({...a,country:n,state:""}),children:[e.jsx(j,{className:"mt-1.5 bg-secondary",children:e.jsx(S,{placeholder:"Choose country"})}),e.jsx(M,{children:Ae.map(n=>e.jsx(d,{value:n.code,children:n.name},n.code))})]})]}),a.country&&e.jsxs("div",{children:[e.jsxs(c,{children:[a.country==="US"?"State":a.country==="CA"?"Province":a.country==="AU"?"State/Territory":a.country==="GB"?"Country/Region":"State/Province"," *"]}),e.jsxs(N,{value:a.state,onValueChange:n=>i({...a,state:n}),children:[e.jsx(j,{className:"mt-1.5 bg-secondary",children:e.jsx(S,{placeholder:`Choose ${a.country==="US"?"state":a.country==="CA"?"province":"region"}`})}),e.jsxs(M,{children:[a.country==="US"&&Re.map(n=>e.jsx(d,{value:n,children:n},n)),a.country==="CA"&&Ge.map(n=>e.jsx(d,{value:n,children:n},n)),a.country==="AU"&&We.map(n=>e.jsx(d,{value:n,children:n},n)),a.country==="GB"&&["England","Scotland","Wales","Northern Ireland"].map(n=>e.jsx(d,{value:n,children:n},n)),a.country&&!["US","CA","AU","GB"].includes(a.country)&&e.jsx(d,{value:"other",children:"Other"})]})]})]})]}),a.state&&e.jsxs("div",{className:"space-y-3",children:[e.jsxs("div",{className:"flex items-center justify-between",children:[e.jsx(c,{children:"Add Cities ($10 each) - Max 5"}),e.jsxs(x,{variant:"outline",children:[a.selected_cities.length," / 5"]})]}),e.jsx("div",{className:"flex gap-2",children:e.jsxs(N,{onValueChange:n=>{n&&a.selected_cities.length<5&&!a.selected_cities.includes(n)?i({...a,selected_cities:[...a.selected_cities,n]}):a.selected_cities.length>=5&&m.error("Maximum 5 cities allowed")},value:"",children:[e.jsx(j,{className:"bg-secondary flex-1",children:e.jsx(S,{placeholder:"Select a city"})}),e.jsx(M,{children:a.state&&Q[a.state]?Q[a.state].map(n=>e.jsx(d,{value:n,children:n},n)):e.jsx(d,{value:"manual",children:"Enter city manually below"})})]})}),e.jsx(f,{className:"bg-secondary",placeholder:"Can't find your city? Type it here and press Enter",onKeyDown:n=>{n.key==="Enter"&&n.target.value.trim()&&a.selected_cities.length<5?a.selected_cities.includes(n.target.value.trim())?m.error("City already added"):(i({...a,selected_cities:[...a.selected_cities,n.target.value.trim()]}),n.target.value=""):a.selected_cities.length>=5&&m.error("Maximum 5 cities allowed")}}),a.selected_cities.length>0&&e.jsx("div",{className:"flex flex-wrap gap-2 mt-2",children:a.selected_cities.map((n,r)=>e.jsxs(x,{variant:"secondary",className:"gap-1",children:[n,e.jsx("button",{onClick:()=>i({...a,selected_cities:a.selected_cities.filter((s,o)=>o!==r)}),className:"hover:text-destructive",children:e.jsx(T,{className:"w-3 h-3"})})]},r))})]})]}),(a.region_tier==="national"||a.region_tier==="international")&&!a.region_label&&(i({...a,region_label:a.region_tier==="national"?"National (US)":"International (Worldwide)"})||null),e.jsxs("div",{children:[e.jsxs(c,{className:"flex items-center gap-2 mb-3",children:[e.jsx(Ce,{className:"w-4 h-4"})," Campaign Duration"]}),e.jsx("div",{className:"grid grid-cols-2 sm:grid-cols-3 gap-3",children:Te.map(n=>e.jsxs("button",{type:"button",onClick:()=>i({...a,duration_weeks:n.weeks}),className:`p-3 rounded-xl border-2 text-center transition-all ${a.duration_weeks===n.weeks?"border-primary bg-primary/10":"border-border bg-secondary/40 hover:border-border/80"}`,children:[e.jsx("p",{className:"font-semibold text-sm",children:n.label}),a.region_tier&&e.jsxs("p",{className:"text-xs text-primary mt-1",children:["$",a.region_tier==="local"?a.selected_cities.length*10*n.weeks:(R[a.region_tier]||0)*n.weeks]})]},n.weeks))})]}),a.region_tier&&e.jsx("div",{className:"p-4 rounded-xl bg-primary/10 border border-primary/30",children:e.jsxs("div",{className:"flex items-center justify-between",children:[e.jsxs("div",{children:[e.jsxs("p",{className:"text-sm font-medium",children:[a.region_tier==="local"?`${a.selected_cities.length} city${a.selected_cities.length!==1?"ies":"y"}`:a.region_label||a.region_tier," · ",a.duration_weeks," week",a.duration_weeks!==1?"s":""]}),e.jsxs("p",{className:"text-xs text-muted-foreground",children:[a.region_tier==="local"?`$10/city à ${a.selected_cities.length} cities`:`${_}/week`," à ",a.duration_weeks," weeks"]})]}),e.jsxs("p",{className:"text-2xl font-bold text-primary",children:["$",W]})]})})]}),l===1&&e.jsxs("div",{className:"space-y-6",children:[e.jsx(v,{className:"font-display text-lg mb-4",children:"Tell Us About Your Business"}),e.jsxs("div",{children:[e.jsxs(c,{className:"flex items-center gap-2 mb-2",children:[e.jsx(Pe,{className:"w-4 h-4"})," Industry Type *"]}),e.jsxs(N,{value:a.industry,onValueChange:n=>i({...a,industry:n}),children:[e.jsx(j,{className:"bg-secondary",children:e.jsx(S,{placeholder:"Select your industry"})}),e.jsx(M,{children:De.map(n=>e.jsx(d,{value:n,children:n},n))})]})]}),e.jsxs("div",{children:[e.jsxs(c,{className:"flex items-center gap-2 mb-2",children:[e.jsx(_e,{className:"w-4 h-4"})," Target Audience *"]}),e.jsx("div",{className:"grid grid-cols-2 sm:grid-cols-3 gap-2",children:Fe.map(n=>e.jsx("button",{type:"button",onClick:()=>
6{const r=a.target_audience.includes(n.id);i({...a,target_audience:r?a.target_audience.filter(s=>s!==n.id):[...a.target_audience,n.id]})},className:`p-3 rounded-lg border-2 text-sm transition-all ${a.target_audience.includes(n.id)?"border-primary bg-primary/10 text-primary":"border-border bg-secondary/40 hover:border-border/80"}`,children:n.label},n.id))})]}),e.jsxs("div",{children:[e.jsxs(c,{className:"flex items-center gap-2 mb-2",children:[e.jsx(Ne,{className:"w-4 h-4"})," Business Goals *"]}),e.jsx("div",{className:"grid grid-cols-2 sm:grid-cols-3 gap-2",children:Oe.map(n=>e.jsx("button",{type:"button",onClick:()=>{const r=a.business_goals.includes(n.id);i({...a,business_goals:r?a.business_goals.filter(s=>s!==n.id):[...a.business_goals,n.id]})},className:`p-3 rounded-lg border-2 text-sm transition-all ${a.business_goals.includes(n.id)?"border-primary bg-primary/10 text-primary":"border-border bg-secondary/40 hover:border-border/80"}`,children:n.label},n.id))})]}),e.jsxs("div",{children:[e.jsx(c,{children:"Business Description (optional)"}),e.jsx(we,{className:"mt-1.5 bg-secondary",value:a.business_description,onChange:n=>i({...a,business_description:n.target.value}),placeholder:"Tell us more about your business, products, or services...",rows:4})]})]}),l===2&&e.jsxs("div",{className:"space-y-4",children:[e.jsxs("div",{className:"flex items-center justify-between",children:[e.jsx(v,{className:"font-display text-lg",children:"Pick Videos"}),e.jsxs(x,{variant:"outline",children:[a.selected_video_ids.length," / ",G," selected"]})]}),e.jsxs("div",{className:"flex items-center gap-3 p-3 rounded-lg bg-secondary/40",children:[e.jsx(u,{variant:C==="recommend"?"default":"outline",size:"sm",onClick:()=>U("recommend"),className:C==="recommend"?"bg-primary":"",children:"Smart Recommendations"}),e.jsx(u,{variant:C==="browse"?"default":"outline",size:"sm",onClick:()=>U("browse"),className:C==="browse"?"bg-primary":"",children:"Browse All"}),e.jsx("span",{className:"text-sm text-muted-foreground ml-auto",children:C==="recommend"?"Based on your industry & audience":"Browse complete catalog"})]}),e.jsx("div",{className:"space-y-2 max-h-[480px] overflow-y-auto pr-1",children:ue.map(n=>{var g;const r=K(n),s=a.selected_video_ids.includes(n.id),o=r.available<=0;return e.jsxs("button",{type:"button",disabled:o&&!s,onClick:()=>te(n),className:`w-full text-left flex items-start gap-3 p-3 rounded-xl border-2 transition-all ${s?"border-primary bg-primary/10":o?"border-border opacity-50 cursor-not-allowed":"border-border bg-secondary/40 hover:border-border/80"}`,children:[e.jsx("img",{src:n.thumbnail_url||"https://images.unsplash.com/photo-1485846234645-a62644f84728?w=120&q=60",alt:n.title,className:"w-24 h-14 object-cover rounded flex-shrink-0"}),e.jsxs("div",{className:"flex-1 min-w-0",children:[e.jsx("p",{className:"text-sm font-medium truncate",children:n.title}),e.jsxs("p",{className:"text-xs text-muted-foreground capitalize",children:[n.category," · ",Math.floor((n.duration_seconds||0)/60),"m"]}),e.jsxs("div",{className:"flex flex-wrap gap-1 mt-1",children:[n.content_rating&&e.jsx(x,{variant:"outline",className:"text-xs h-5",children:n.content_rating}),(g=n.tags)==null?void 0:g.slice(0,2).map((k,P)=>e.jsx(x,{variant:"secondary",className:"text-xs h-5",children:k},P))]})]}),e.jsx("div",{className:"text-right flex-shrink-0",children:o?e.jsx(x,{className:"bg-destructive/20 text-destructive text-xs",children:"Full"}):e.jsxs(x,{variant:"outline",className:"text-xs",children:[r.available," slot",r.available!==1?"s":""]})})]},n.id)})})]}),l===3&&e.jsxs("div",{className:"space-y-5",children:[e.jsx(v,{className:"font-display text-lg mb-4",children:"Promo Codes"}),e.jsxs("div",{className:"p-4 rounded-lg bg-secondary/40 border border-border",children:[e.jsx("p",{className:"text-sm font-medium mb-2",children:"Generate Discount Codes"}),e.jsx("p",{className:"text-xs text-muted-foreground mb-4",children:"Each unique discount code costs $10. The code will appear in the description of your selected videos."}),e.jsxs("div",{className:"space-y-3",children:[a.promo_codes.map((n,r)=>e.jsxs("div",{className:"flex items-center gap-2",children:[e.jsx(x,{variant:"outline",className:"flex-1 justify-start font-mono",children:n.code}),e.jsxs("span",{className:"text-sm text-muted-foreground",children:[n.discount,"% off"]}),e.jsx(u,{variant:"ghost",size:"icon",onClick:()=>i({...a,promo_codes:a.promo_codes.filter((s,o)=>o!==r)}),children:e.jsx(T,{className:"w-3 h-3"})})]},r)),e.jsxs("div",{className:"flex gap-2",children:[e.jsx(f,{placeholder:"Custom code (e.g. SUMMER20)",className:"bg-background flex-1 font-mono",id:"custom-code-input"}),e.jsxs(N,{onValueChange:n=>{const r=document.getElementById("custom-code-input"),s=r.value.trim()||`PROMO${Math.random().toString(36).substring(2,8).toUpperCase()}`;if(a.promo_codes.some(o=>o.code===s)){m.error("Code already exists");return}i({...a,promo_codes:[...a.promo_codes,{code:s,discount:parseInt(n)}]}),r.value=""},value:"",children:[e.jsx(j,{className:"bg-background w-28",children:e.jsx(S,{placeholder:"Discount %"})}),e.jsxs(M,{children:[e.jsx(d,{value:"5",children:"5% off"}),e.jsx(d,{value:"10",children:"10% off"}),e.jsx(d,{value:"15",children:"15% off"}),e.jsx(d,{value:"20",children:"20% off"}),e.jsx(d,{value:"25",children:"25% off"}),e.jsx(d,{value:"30",children:"30% off"}),e.jsx(d,{value:"50",children:"50% off"})]})]}),e.jsx(u,{variant:"outline",size:"sm",onClick:()=>{const n=document.getElementById("custom-code-input"),r=n.value.trim()||`PROMO${Math.random().toString(36).substring(2,8).toUpperCase()}`;if(a.promo_codes.some(s=>s.code===r)){m.error("Code already exists");return}i({...a,promo_codes:[...a.promo_codes,{code:r,discount:10}]}),n.value=""},children:"Add"})]})]}),a.promo_codes.length>0&&e.jsx("div",{className:"mt-4 p-3 rounded-lg bg-primary/10 border border-primary/30",children:e.jsxs("div",{className:"flex items-center justify-between",children:[e.jsxs("span",{className:"text-sm",children:["Promo Codes (",a.promo_codes.length,")"]}),e.jsxs("span",{className:"text-lg font-bold text-primary",children:["$",z]})]})})]})]}),l===4&&e.jsxs("div",{className:"space-y-5",children:[e.jsx(v,{className:"font-display text-lg mb-4",children:"Ad Details"}),e.jsxs("div",{children:[e.jsx(c,{children:"Company / Brand Name *"}),e.jsx(f,{className:"mt-1.5 bg-secondary",value:a.company_name,onChange:n=>i({...a,company_name:n.target.value}),placeholder:"Acme Corporation"})]}),e.jsxs("div",{children:[e.jsx(c,{children:"Campaign Title *"}),e.jsx(f,{className:"mt-1.5 bg-secondary",value:a.ad_title,onChange:n=>i({...a,ad_title:n.target.value}),placeholder:"Summer Sale 2026"})]}),e.jsxs("div",{children:[e.jsxs(c,{children:["Ad Video * (max ",$,"s)"]}),e.jsx("div",{className:"mt-1.5 border-2 border-dashed border-border rounded-lg p-4 text-center",children:a.ad_video_url?e.jsxs("div",{children:[e.jsx("video",{src:a.ad_video_url,className:"w-full max-h-40 rounded mb-2",controls:!0}),e.jsx("p",{className:"text-xs text-accent",children:"Video uploaded â"}),e.jsx(u,{variant:"ghost",size:"sm",onClick:()=>i(n=>({...n,ad_video_url:""})),children:"Remove"})]}):e.jsxs("label",{className:"cursor-pointer",children:[e.jsx(je,{className:"w-8 h-8 text-muted-foreground mx-auto mb-2"}),e.jsx("p",{className:"text-sm text-muted-foreground",children:O?"Uploading...":"Click to upload your ad video"}),e.jsxs("p",{className:"text-xs text-muted-foreground mt-1",children:["MP4, MOV â max ",$," seconds"]}),e.jsx("input",{type:"file",accept:"video/*",className:"hidden",onChange:de,disabled:O})]})})]}),e.jsxs("div",{children:[e.jsx(c,{children:"Click-Through URL"}),e.jsx(f,{className:"mt-1.5 bg-secondary",value:a.click_through_url,onChange:n=>i({...a,click_through_url:n.target.value}),placeholder:"https://yourwebsite.com"})]}),e.jsxs("div",{children:[e.jsx(c,{children:"Website Link for Video Description"}),e.jsx(f,{className:"mt-1.5 bg-secondary",value:a.website_link,onChange:n=>i({...a,website_link:n.target.value}),placeholder:"https://yourwebsite.com"}),e.jsx("p",{className:"text-xs text-muted-foreground mt-1",children:"This link will appear in the description of your selected videos"})]})]}),l===5&&e.jsxs("div",{className:"space-y-5",children:[e.jsx(v,{className:"font-display text-lg mb-4",children:"Review & Submit"}),e.jsx("div",{className:"space-y-3",children:[{label:"Campaign",value:a.ad_title},{label:"Company",value:a.company_name},{label:"Industry",value:a.industry},{label:"Region",value:a.region_label||a.region_tier},{label:"Duration",value:`${a.duration_weeks} week${a.duration_weeks!==1?"s":""}`},{label:"Videos",value:a.selected_video_titles.join(", ")||"None"},{label:"Promo Codes",value:a.promo_codes.length>0?a.promo_codes.map(n=>`${n.code} (${n.discount}% off)`).join(", "):"None"},{label:"Website Link",value:a.website_link||"None"}].map(n=>e.jsxs("div",{className:"flex items-start gap-4 py-2 border-b border-border/50",children:[e.jsx("span",{className:"text-sm text-muted-foreground w-28 flex-shrink-0",children:n.label}),e.jsx("span",{className:"text-sm font-medium",children:n.value})]},n.label))}),e.jsxs("div",{className:"p-4 rounded-xl bg-primary/10 border border-primary/30 space-y-2",children:[e.jsxs("div",{className:"flex items-center justify-between",children:[e.jsxs("div",{children:[e.jsx("p",{className:"font-semibold",children:"Campaign"}),e.jsxs("p",{className:"text-xs text-muted-foreground",children:["$",_,"/wk à ",a.duration_weeks," weeks"]})]}),e.jsxs("p",{className:"text-lg font-bold text-primary",children:["$",_*a.duration_weeks]})]}),a.promo_codes.length>0&&e.jsxs("div",{className:"flex items-center justify-between pt-2 border-t border-primary/20",children:[e.jsxs("div",{children:[e.jsx("p",{className:"font-semibold",children:"Promo Codes"}),e.jsxs("p",{className:"text-xs text-muted-foreground",children:[a.promo_codes.length," code",a.promo_codes.length!==1?"s":""," à $10"]})]}),e.jsxs("p",{className:"text-lg font-bold text-primary",children:["$",z]})]}),e.jsxs("div",{className:"flex items-center justify-between pt-3 border-t border-primary/30 mt-2",children:[e.jsx("p",{className:"font-bold text-lg",children:"Total Due"}),e.jsxs("p",{className:"text-3xl font-bold text-primary",children:["$",W]})]})]}),e.jsxs("div",{className:"flex items-start gap-2 p-3 rounded-lg bg-yellow-500/10 border border-yellow-500/30",children:[e.jsx(Se,{className:"w-4 h-4 text-yellow-400 flex-shrink-0 mt-0.5"}),e.jsx("p",{className:"text-xs text-yellow-300",children:"After submitting, you'll need to complete payment via Stripe. Your campaign will be reviewed by our team and activated
6within 24â48 hours."})]})]}),e.jsxs("div",{className:"flex justify-between mt-8",children:[e.jsxs(u,{variant:"outline",onClick:()=>l===0?h("/advertiser"):F(n=>n-1),className:"gap-2",children:[e.jsx(ke,{className:"w-4 h-4"})," ",l===0?"Cancel":"Back"]}),l<D.length-1?e.jsxs(u,{onClick:()=>F(n=>n+1),disabled:!me(),className:"gap-2 bg-primary hover:bg-primary/90",children:["Next ",e.jsx(fe,{className:"w-4 h-4"})]}):e.jsx(u,{onClick:ce,disabled:I,className:"gap-2 bg-primary hover:bg-primary/90",children:I?"Submitting...":"Submit Campaign â"})]})]})}),ae&&e.jsx("div",{className:"fixed inset-0 bg-black/50 flex items-center justify-center z-50 p-4",children:e.jsx(Y,{className:"max-w-md w-full bg-card",children:e.jsxs(q,{className:"p-6 space-y-4",children:[e.jsxs("div",{className:"flex items-center justify-between",children:[e.jsx(v,{className:"text-xl",children:"Create an account to get started"}),e.jsx(u,{variant:"ghost",size:"icon",onClick:()=>L(!1),children:e.jsx(T,{className:"w-4 h-4"})})]}),e.jsx("p",{className:"text-muted-foreground",children:"Signing up now lets you save your progress, manage campaigns, and track performance."}),e.jsxs("div",{className:"flex gap-3",children:[e.jsx(u,{onClick:ie,className:"flex-1",children:"Sign Up / Login"}),e.jsx(u,{variant:"outline",onClick:oe,className:"flex-1",children:"Continue as Guest"})]})]})})})]})}export{Je as default};
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.