PageSourceSearch

https://ad-intelligence-59ba7.web.app/chunk-FHZKHOCG.js

js ad-intelligence-59ba7.web.app collected 2026-10-03 12:15:32 UTC 11,930 bytes, 1 lines download raw bytes

1import{a as B}from"./chunk-OW5KKCPN.js";import"./chunk-YWMD53KQ.js";import{g as k}from"./chunk-A6AWQOXQ.js";import{A as D,C as j,c as z,h as W,i as I,j as V,l as T,m as F,y as N,z as L}from"./chunk-PJ5GV7IK.js";import{i as A,x as R}from"./chunk-EDUSMAQY.js";import{Ab as M,Da as u,Fb as f,Gb as b,Hb as x,Pa as _,Wb as v,Xa as c,Ya as t,Za as i,_a as C,cb as P,db as q,fb as O,gc as E,ia as l,jb as S,k as y,lb as m,p,q as g,vb as h,xa as w,zb as n}from"./chunk-FFQQO7O7.js";import"./chunk-ID4WHIPA.js";import"./chunk-QUA7QOZA.js";import"./chunk-C6Q5SG76.js";function G(o,d){o&1&&(t(0,"p",38),n(1,"Enter your full name."),i())}function H(o,d){o&1&&(t(0,"p",39),n(1,"Enter a valid email address."),i())}function J(o,d){o&1&&(t(0,"p",40),n(1,"Enter your company or brand."),i())}function U(o,d){if(o&1&&(t(0,"p",41),n(1),i()),o&2){let r=m(2);l(),M(r.error)}}function K(o,d){if(o&1){let r=O();P(0),t(1,"p",8),n(2,"Join your team"),i(),t(3,"h2",15),n(4,"Request access"),i(),t(5,"p",16),n(6,"Tell us a little about yourself. We\u2019ll review your request and email you when it\u2019s approved."),i(),t(7,"form",17,1),S("ngSubmit",function(){p(r);let e=h(8),a=m();return g(a.submit(e))}),t(9,"label",18),n(10,"Full name "),t(11,"span",19),n(12,"*"),i()(),t(13,"input",20,2),x("ngModelChange",function(e){p(r);let a=m();return b(a.name,e)||(a.name=e),g(e)}),i(),u(15,G,2,0,"p",21),t(16,"label",22),n(17,"Email "),t(18,"span",19),n(19,"*"),i()(),t(20,"input",23,3),x("ngModelChange",function(e){p(r);let a=m();return b(a.email,e)||(a.email=e),g(e)}),i(),t(22,"p",24),n(23,"Use the email you\u2019ll sign in with."),i(),u(24,H,2,0,"p",25),t(25,"label",26),n(26,"Company or brand "),t(27,"span",19),n(28,"*"),i()(),t(29,"input",27),x("ngModelChange",function(e){p(r);let a=m();return b(a.company,e)||(a.company=e),g(e)}),i(),u(30,J,2,0,"p",28),t(31,"label",29),n(32,"How can we help? "),t(33,"span",30),n(34,"Optional"),i()(),t(35,"textarea",31),x("ngModelChange",function(e){p(r);let a=m();return b(a.reason,e)||(a.reason=e),g(e)}),i(),t(36,"div",32)(37,"label",33),n(38,"Website"),i(),t(39,"input",34),x("ngModelChange",function(e){p(r);let a=m();return b(a.website,e)||(a.website=e),g(e)}),i()(),u(40,U,2,1,"p",35),t(41,"button",36),n(42),i(),t(43,"p",37),n(44,"Submitting a request doesn\u2019t create an account or grant workspace access."),i()(),q()}if(o&2){let r=h(8),s=h(21),e=m();l(7),_("aria-busy",e.busy),l(6),f("ngModel",e.name),c("disabled",e.busy),_("aria-invalid",r.submitted&&!e.name.trim())("aria-describedby",r.submitted&&!e.name.trim()?"name-error":null),l(2),c("ngIf",r.submitted&&!e.name.trim()),l(5),f("ngModel",e.email),c("disabled",e.busy),_("aria-invalid",r.submitted&&s.invalid)("aria-describedby",r.submitted&&s.invalid?"email-error":"email-help"),l(4),c("ngIf",r.submitted&&s.invalid),l(5),f("ngModel",e.company),c("disabled",e.busy),_("aria-invalid",r.submitted&&!e.company.trim())("aria-describedby",r.submitted&&!e.company.trim()?"company-error":null),l(),c("ngIf",r.submitted&&!e.company.trim()),l(5),f("ngModel",e.reason),c("disabled",e.busy),l(4),f("ngModel",e.website),l(),c("ngIf",e.error),l(),c("disabled",e.busy),l(),M(e.busy?"Submitting request\u2026":"Request access")}}function Q(o,d){o&1&&(t(0,"div",42)(1,"span",43),n(2,"\u2713"),i(),t(3,"h2",15),n(4,"Request received"),i(),t(5,"p"),n(6,"Your access request has been submitted. We\u2019ll email you when it\u2019s approved."),i(),t(7,"p",16),n(8,"You don\u2019t need to submit another request. If approved, your invitation will include the next steps."),i()())}var Y=class o{requests=y(B);changeDetector=y(E);name="";email="";company="";reason="";website="";busy=!1;submitted=!1;error="";async submit(d){if(!(this.busy||this.submitted)){if(this.error="",d.invalid||!this.name.trim()||!this.company.trim()){d.control.markAllAsTouched(),this.error="Please complete the required fields above.";return}this.busy=!0;try{await this.requests.submitAccessRequest({name:this.name.trim(),email:this.email.trim(),company:this.company.trim(),reason:this.reason.trim(),website:this.website}),this.submitted=!0}catch(r){let s=r&&typeof r=="object"&&"code"in r?String(r.code):"";this.error=s.endsWith("resource-exhausted")?"Too many requests were submitted recently. Please wait a little before trying again.":s.endsWith("invalid-argument")?"Check your name, email, and company, then try again.":"We couldn\u2019t confirm your request. Please try again. Repeating a request won\u2019t create a second application."}finally{this.busy=!1,this.changeDetector.markForCheck()}}}static \u0275fac=function(r){return new(r||o)};static \u0275cmp=w({type:o,selectors:[["app-request-access"]],decls:22,vars:2,consts:[["received",""],["requestForm","ngForm"],["nameField","ngModel"],["emailField","ngModel"],[1,"request-page"],[1,"request-shell"],["aria-label","Ad Intelligence",1,"brand-panel"],["src","assets/images/ad_intelligence_logo.png","alt","Ad Intelligence",1,"brand-logo"],[1,"eyebrow"],[1,"brand-copy"],[1,"access-note"],["aria-labelledby","request-title",1,"form-panel"],[4,"ngIf","ngIfElse"],[1,"sign-in-link"],["routerLink","/login"],["id","request-title"],[1,"intro"],["novalidate","",3,"ngSubmit"],["for","request-name"],["aria-hidden","true"],["id","request-name","name","name","required","","maxlength","120","autocomplete","name",3,"ngModelChange","ngModel","disabled"],["id","name-error","class","field-error",4,"ngIf"],["for","request-email"],["id","request-email","type","email","name","email","required","","email","","maxlength","254","autocomplete","email",3,"ngModelChange","ngModel","disabled"],["id","email-help",1,"field-help"],["id","email-error","class","field-error",4,"ngIf"],["for","request-company"],["
1id","request-company","name","company","required","","maxlength","160","autocomplete","organization",3,"ngModelChange","ngModel","disabled"],["id","company-error","class","field-error",4,"ngIf"],["for","request-reason"],[1,"optional"],["id","request-reason","name","reason","rows","3","maxlength","2000","placeholder","Tell us which team you\u2019re joining or what you\u2019d like to work on.",3,"ngModelChange","ngModel","disabled"],["aria-hidden","true",1,"website-field"],["for","request-website"],["id","request-website","name","website","tabindex","-1","autocomplete","off",3,"ngModelChange","ngModel"],["class","error-message","role","alert",4,"ngIf"],["type","submit",1,"primary-button",3,"disabled"],[1,"fine-print"],["id","name-error",1,"field-error"],["id","email-error",1,"field-error"],["id","company-error",1,"field-error"],["role","alert",1,"error-message"],["role","status","aria-live","polite",1,"confirmation"],["aria-hidden","true",1,"confirmation-icon"]],template:function(r,s){if(r&1&&(t(0,"main",4)(1,"div",5)(2,"section",6),C(3,"img",7),t(4,"p",8),n(5,"Strategic Ad Intelligence"),i(),t(6,"h1"),n(7,"Performance insights."),C(8,"br"),n(9,"A shared advantage."),i(),t(10,"p",9),n(11,"A dedicated workspace for Amazon brand owners and agencies to turn performance data into clearer decisions."),i(),t(12,"p",10),n(13,"Access is by invitation. Every new request is reviewed before a workspace invitation is issued."),i()(),t(14,"section",11),u(15,K,45,22,"ng-container",12)(16,Q,9,0,"ng-template",null,0,v),t(18,"p",13),n(19,"Already a member or invited? "),t(20,"a",14),n(21,"Sign in"),i()()()()()),r&2){let e=h(17);l(15),c("ngIf",!s.submitted)("ngIfElse",e)}},dependencies:[R,A,j,F,z,W,I,N,D,L,T,V,k],styles:["[_nghost-%COMP%]{display:block}.request-page[_ngcontent-%COMP%]{min-height:100dvh;box-sizing:border-box;padding:40px 24px;display:flex;align-items:center;justify-content:center;background:radial-gradient(ellipse at top left,#1e3a5f 0,transparent 55%),#0f172a;font-family:inherit}.request-shell[_ngcontent-%COMP%]{display:grid;grid-template-columns:1fr 1.05fr;width:100%;max-width:1040px;overflow:hidden;border-radius:28px;box-shadow:0 25px 60px #0005;border:1px solid #ffffff1a}.brand-panel[_ngcontent-%COMP%]{padding:54px 44px;background:linear-gradient(145deg,#1e293b,#0f172a);color:#fff;display:flex;flex-direction:column;justify-content:center}.brand-logo[_ngcontent-%COMP%]{width:180px;max-width:100%;margin-bottom:48px}.eyebrow[_ngcontent-%COMP%]{text-transform:uppercase;font-size:.72rem;font-weight:700;letter-spacing:.14em;color:#0f766e;margin:0 0 12px}.brand-panel[_ngcontent-%COMP%]   .eyebrow[_ngcontent-%COMP%]{color:#5eead4}.brand-panel[_ngcontent-%COMP%]   h1[_ngcontent-%COMP%]{font-size:2.4rem;line-height:1.16;letter-spacing:-.045em;margin:0 0 24px;font-weight:750}.brand-copy[_ngcontent-%COMP%]{color:#cbd5e1;line-height:1.75;font-size:1.02rem;margin:0}.access-note[_ngcontent-%COMP%]{color:#94a3b8;font-size:.86rem;line-height:1.6;margin:36px 0 0;padding-top:24px;border-top:1px solid #ffffff1a}.form-panel[_ngcontent-%COMP%]{padding:44px;background:#fff;color:#1e293b}.form-panel[_ngcontent-%COMP%]   h2[_ngcontent-%COMP%]{font-size:1.9rem;letter-spacing:-.035em;line-height:1.2;margin:0 0 12px}.intro[_ngcontent-%COMP%]{color:#64748b;font-size:.94rem;line-height:1.6;margin:0 0 24px}label[_ngcontent-%COMP%]{display:block;font-weight:600;font-size:.88rem;margin:18px 0 8px}.optional[_ngcontent-%COMP%]{font-weight:400;color:#64748b;margin-left:5px;font-size:.8rem}input[_ngcontent-%COMP%], textarea[_ngcontent-%COMP%]{width:100%;box-sizing:border-box;padding:11px 12px;border:1px solid #cbd5e1;border-radius:8px;font:inherit;font-size:.93rem;color:#0f172a;background:#fff}textarea[_ngcontent-%COMP%]{resize:vertical;min-height:88px}input[_ngcontent-%COMP%]:focus, textarea[_ngcontent-%COMP%]:focus{outline:3px solid #ccfbf1;border-color:#0f766e}input[aria-invalid=true][_ngcontent-%COMP%]{border-color:#b91c1c}.field-help[_ngcontent-%COMP%], .field-error[_ngcontent-%COMP%]{font-size:.78rem;margin:6px 0 0;line-height:1.4}.field-help[_ngcontent-%COMP%]{color:#64748b}.field-error[_ngcontent-%COMP%]{color:#b91c1c}.website-field[_ngcontent-%COMP%]{position:absolute;
1left:-10000px;top:auto;width:1px;height:1px;overflow:hidden}.primary-button[_ngcontent-%COMP%]{width:100%;padding:13px 18px;margin:24px 0 0;border:0;border-radius:9px;background:#0f766e;color:#fff;font:inherit;font-weight:650;cursor:pointer}.primary-button[_ngcontent-%COMP%]:hover{background:#115e59}button[_ngcontent-%COMP%]:disabled{opacity:.65;cursor:wait}button[_ngcontent-%COMP%]:focus-visible, a[_ngcontent-%COMP%]:focus-visible{outline:3px solid #2dd4bf;outline-offset:3px}.fine-print[_ngcontent-%COMP%]{color:#64748b;font-size:.77rem;line-height:1.5;margin:12px 0 0}.sign-in-link[_ngcontent-%COMP%]{margin:26px 0 0;padding-top:22px;border-top:1px solid #e2e8f0;font-size:.85rem;color:#64748b;line-height:1.7}a[_ngcontent-%COMP%]{color:#0f766e;font-weight:650;text-underline-offset:3px}.error-message[_ngcontent-%COMP%]{padding:12px;border:1px solid #fecaca;border-radius:8px;background:#fef2f2;color:#991b1b;font-size:.88rem;line-height:1.5}.confirmation[_ngcontent-%COMP%]{padding:30px 0}.confirmation[_ngcontent-%COMP%]   p[_ngcontent-%COMP%]{line-height:1.65}.confirmation-icon[_ngcontent-%COMP%]{display:flex;width:52px;height:52px;align-items:center;justify-content:center;border-radius:50%;background:#ccfbf1;color:#0f766e;font-size:1.8rem;margin-bottom:24px}.confirmation[_ngcontent-%COMP%]   .intro[_ngcontent-%COMP%]{margin-bottom:0}@media(max-width:760px){.request-page[_ngcontent-%COMP%]{padding:20px 14px;align-items:flex-start}.request-shell[_ngcontent-%COMP%]{grid-template-columns:1fr;border-radius:20px}.brand-panel[_ngcontent-%COMP%]{padding:28px}.brand-logo[_ngcontent-%COMP%]{width:140px;margin-bottom:24px}.brand-panel[_ngcontent-%COMP%]   h1[_ngcontent-%COMP%]{font-size:1.9rem;margin-bottom:16px}.brand-copy[_ngcontent-%COMP%]{font-size:.92rem}.access-note[_ngcontent-%COMP%]{margin-top:20px;padding-top:16px}.form-panel[_ngcontent-%COMP%]{padding:30px 26px}}@media(prefers-reduced-motion:reduce){*[_ngcontent-%COMP%]{scroll-behavior:auto}}"]})};export{Y as RequestAccessComponent};

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.