1"use strict";(self.webpackChunkng_up=self.webpackChunkng_up||[]).push([["default-src_app_web-app_components_dialogs_partner-sync-profiles-dialog_partner-sync-profiles-394189"],{35892:(k,b,a)=>{a.d(b,{Pr:()=>h,ap:()=>m});const f={1:"Clever",2:"ClassLink",3:"SchoolDay"};function h(d){return f[d]||"UnknownPartner"}function m(d){return`${h(d)} Id`}},44423:(k,b,a)=>{a.d(b,{B:()=>ee});var f=a(34929),h=a(95758),m=a(35892),d=a(81302),i=a(14081),e=a(3184),Z=a(65925),S=a(1146),O=a(44687),A=a(98476),E=a(36362);function D(n,s){if(1&n){const t=e.EpF();e.ynx(0),e.TgZ(1,"div",5)(2,"h2",6),e._uU(3),e.qZA(),e.TgZ(4,"div",7)(5,"div",8),e.NdJ("click",function(){return e.CHM(t),e.oxw().selectSyncType("merge")}),e._UZ(6,"img",9),e.TgZ(7,"div",10)(8,"span",11),e._uU(9),e.TgZ(10,"span",12),e._UZ(11,"img",13),e.TgZ(12,"div",14)(13,"p",15),e._uU(14," How it works: "),e.qZA(),e.TgZ(15,"ul",16)(16,"li"),e._uU(17,"Download the CSV file."),e.qZA(),e.TgZ(18,"li"),e._uU(19),e.qZA(),e.TgZ(20,"li"),e._uU(21," Upload the completed CSV file to merge lists and start syncing. "),e.qZA()()()()(),e.TgZ(22,"span",17),e._uU(23," Choose this if you already have active student profiles in Epic. "),e.qZA()()(),e.TgZ(24,"div",8),e.NdJ("click",function(){return e.CHM(t),e.oxw().selectSyncType("start-fresh")}),e._UZ(25,"img",9),e.TgZ(26,"div",10)(27,"span",11),e._uU(28),e.TgZ(29,"span",12),e._UZ(30,"img",13),e.TgZ(31,"div",14)(32,"p",15),e._uU(33," When to choose this: "),e.qZA(),e.TgZ(34,"ul",16)(35,"li"),e._uU(36,"You're new to Epic."),e.qZA(),e.TgZ(37,"li"),e._uU(38," You don't have student profiles set up for this school year. "),e.qZA()()()()(),e.TgZ(39,"span",17),e._uU(40," Choose this if you're new to Epic and/or don't have student profiles set up for this school year. "),e.qZA()()()()(),e.TgZ(41,"button",18),e.NdJ("click",function(){return e.CHM(t),e.oxw().continue()}),e._uU(42," Continue "),e.qZA(),e.BQk()}if(2&n){const t=e.oxw();e.xp6(3),e.hij(" How do you want to sync to ",t.partnerName,"? "),e.xp6(2),e.ekj("sync-option--selected","merge"===t.syncType),e.xp6(1),e.Q6J("src","merge"===t.syncType?"/assets/dialogs/clever-sync/radio-selected.svg":"/assets/dialogs/clever-sync/radio-unselected.svg",e.LSH),e.xp6(3),e.hij(" Merge my Epic and ",t.partnerName," class lists. "),e.xp6(10),e.hij(" Add ",t.partnerName," profile IDs to the file. "),e.xp6(5),e.ekj("sync-option--selected","start-fresh"===t.syncType),e.xp6(1),e.Q6J("src","start-fresh"===t.syncType?"/assets/dialogs/clever-sync/radio-selected.svg":"/assets/dialogs/clever-sync/radio-unselected.svg",e.LSH),e.xp6(3),e.hij(" Start fresh with my ",t.partnerName," class list. ")}}function U(n,s){if(1&n&&(e.TgZ(0,"p",26),e._uU(1," This one-time step matches students and turns on automatic"),e._UZ(2,"br"),e._uU(3),e.qZA()),2&n){const t=e.oxw(2);e.xp6(3),e.hij(" syncing from ",t.partnerName,". ")}}function N(n,s){if(1&n){const t=e.EpF();e.ynx(0),e.TgZ(1,"ol",27)(2,"li"),e._uU(3,"Download the CSV file"),e.qZA(),e.TgZ(4,"li"),e._uU(5),e.qZA(),e.TgZ(6,"li"),e._uU(7," Upload the completed file to merge lists and start syncing "),e.qZA()(),e.TgZ(8,"button",28),e.NdJ("click",function(){return e.CHM(t),e.oxw(2).downloadTemplate()}),e._uU(9," Download the CSV Template "),e.qZA(),e.TgZ(10,"div",29),e.NdJ("dragover",function(r){return e.CHM(t),e.oxw(2).onDragOver(r)})("dragleave",function(){return e.CHM(t),e.oxw(2).onDragLeave()})("drop",function(r){return e.CHM(t),e.oxw(2).onDrop(r)})("click",function(){return e.CHM(t),e.oxw(),e.MAs(6).click()}),e._UZ(11,"img",30),e.TgZ(12,"p",31),e._uU(13," Drop CSV file here or "),e.TgZ(14,"span",32),e._uU(15,"browse"),e.qZA()()(),e.BQk()}if(2&n){const t=e.oxw(2);e.xp6(5),e.hij("Add ",t.partnerName," profile IDs to the file"),e.xp6(5),e.ekj("drop-zone--active",t.isDragOver)}}function I(n,s){if(1&n){const t=e.EpF();e.ynx(0),e.TgZ(1,"div",33),e.NdJ("dragover",function(r){return e.CHM(t),e.oxw(2).onDragOver(r)})("dragleave",function(){return e.CHM(t),e.oxw(2).onDragLeave()})("drop",function(r){return e.CHM(t),e.oxw(2).onDrop(r)})("click",function(){return e.CHM(t),e.oxw(),e.MAs(6).click()}),e._UZ(2,"img",34),e.TgZ(3,"p",35),e._uU(4),e.qZA(),e.TgZ(5,"p",36),e._uU(6),e.qZA()(),e.BQk()}if(2&n){const t=e.oxw(2);e.xp6(4),e.hij(" ",t._errorCopyFor(t.fileError).headline," "),e.xp6(2),e.hij(" ",t._errorCopyFor(t.fileError).body," ")}}
1function z(n,s){if(1&n){const t=e.EpF();e.ynx(0),e.TgZ(1,"div",37),e._UZ(2,"img",38),e.TgZ(3,"span",39),e._uU(4),e.qZA(),e.TgZ(5,"button",40),e.NdJ("click",function(){return e.CHM(t),e.oxw(2).removeFile()}),e._UZ(6,"img",41),e.qZA()(),e.BQk()}if(2&n){const t=e.oxw(2);e.xp6(4),e.Oqu(t.selectedFile.name)}}function Q(n,s){1&n&&(e.TgZ(0,"p",42),e._uU(1," If you need any further assistance, please "),e.TgZ(2,"a",43),e._uU(3,"contact support"),e.qZA(),e._uU(4,". "),e.qZA())}function F(n,s){if(1&n){const t=e.EpF();e.ynx(0),e.TgZ(1,"div",5)(2,"h2",6),e._uU(3),e.qZA(),e.YNc(4,U,4,1,"p",19),e.TgZ(5,"input",20,21),e.NdJ("change",function(r){return e.CHM(t),e.oxw().onFileSelected(r)}),e.qZA(),e.YNc(7,N,16,3,"ng-container",3),e.YNc(8,I,7,2,"ng-container",3),e.YNc(9,z,7,1,"ng-container",3),e.YNc(10,Q,5,0,"p",22),e.qZA(),e.TgZ(11,"div",23)(12,"button",24),e.NdJ("click",function(){return e.CHM(t),e.oxw().startSync()}),e._uU(13),e.qZA(),e.TgZ(14,"span",25),e.NdJ("click",function(){return e.CHM(t),e.oxw().goBack()}),e._uU(15,"Go Back"),e.qZA()(),e.BQk()}if(2&n){const t=e.oxw();e.xp6(2),e.ekj("sync-dialog__title--mb-16",t.fileError)("sync-dialog__title--mb-24",!t.fileError),e.xp6(1),e.hij(" Upload your CSV to set up ",t.partnerName," sync. "),e.xp6(1),e.Q6J("ngIf",t.fileError||t.selectedFile),e.xp6(3),e.Q6J("ngIf",!t.fileError&&!t.selectedFile),e.xp6(1),e.Q6J("ngIf",t.fileError),e.xp6(1),e.Q6J("ngIf",t.selectedFile&&!t.fileError),e.xp6(1),e.Q6J("ngIf",t.fileError),e.xp6(2),e.Q6J("disabled",!t.selectedFile),e.xp6(1),e.hij(" Continue with ",t.partnerName," Sync ")}}function q(n,s){if(1&n){const t=e.EpF();e.ynx(0),e.TgZ(1,"div",5)(2,"h2",44),e._uU(3," Syncing will update your class "),e.qZA(),e.TgZ(4,"div",45)(5,"div",46),e._UZ(6,"img",47),e.TgZ(7,"div",48)(8,"p",49),e._uU(9),e.qZA(),e.TgZ(10,"p",50),e._uU(11),e._UZ(12,"br"),e._uU(13,"(Archived profiles can be restored.) "),e.qZA()()(),e.TgZ(14,"div",46),e._UZ(15,"img",51),e.TgZ(16,"div",48)(17,"p",49),e._uU(18," Your class code will reset "),e.qZA(),e.TgZ(19,"p",50),e._uU(20," Once the sync is complete, share the new code with your students so they can log in. "),e.qZA()()()()(),e.TgZ(21,"div",23)(22,"button",18),e.NdJ("click",function(){return e.CHM(t),e.oxw().startSync()}),e._uU(23),e.qZA(),e.TgZ(24,"span",25),e.NdJ("click",function(){return e.CHM(t),e.oxw().goBack()}),e._uU(25,"Go Back"),e.qZA()(),e.BQk()}if(2&n){const t=e.oxw();e.xp6(9),e.AsE(" ",t.studentCount," student",1!==t.studentCount?"s":""," will be archived. "),e.xp6(2),e.hij(" Their Epic profiles will be replaced with your ",t.partnerName," class list."),e.xp6(12),e.hij(" Continue with ",t.partnerName," Sync ")}}function B(n,s){if(1&n&&(e.ynx(0),e.TgZ(1,"h2",6),e._uU(2,"Sync in progress."),e.qZA(),e.TgZ(3,"div",52)(4,"div",53),e.O4$(),e.TgZ(5,"svg",54),e._UZ(6,"circle",55)(7,"path",56),e.TgZ(8,"g",57),e._UZ(9,"path",58)(10,"path",59)(11,"path",60)(12,"path",61),e.qZA()(),e.kcU(),e.TgZ(13,"div",62)(14,"span",63),e._uU(15,"Syncing"),e.TgZ(16,"span",64)(17,"span"),e._uU(18,"."),e.qZA(),e.TgZ(19,"span"),e._uU(20,"."),e.qZA(),e.TgZ(21,"span"),e._uU(22,"."),e.qZA()()()()()(),e.TgZ(23,"div",23)(24,"button",65),e._uU(25),e.qZA(),e.TgZ(26,"span",66),e._uU(27,"Go Back"),e.qZA()(),e.BQk()),2&n){const t=e.oxw();e.xp6(25),e.hij(" Continue with ",t.partnerName," Sync ")}}function R(n,s){if(1&n&&(e.TgZ(0,"div",73),e._UZ(1,"img",74),e.TgZ(2,"span",75),e._uU(3),e.qZA()()),2&n){const t=e.oxw(4);e.xp6(3),e.lnq("",t.studentsAdded," student",1!==t.studentsAdded?"s":""," now connected through ",t.partnerName,".")}}function L(n,s){if(1&n&&(e.TgZ(0,"div",73),e._UZ(1,"img",74),e.TgZ(2,"span",75),e._uU(3),e.qZA()()),2&n){const t=e.oxw(4);e.xp6(3),e.hij("Students successfully synced through ",t.partnerName,".")}}function j(n,s){if(1&n&&(e.ynx(0),e.TgZ(1,"div",71),e.YNc(2,R,4,3,"div",72),e.YNc(3,L,4,1,"div",72),e.qZA(),e.BQk()),2&n){const t=e.oxw(3);e.xp6(2),e.Q6J("ngIf",t.studentsAdded>0),e.xp6(1),e.Q6J("ngIf",0===t.studentsAdded)}}function Y(n,s){if(1&n&&(e.TgZ(0,"div",73),e._UZ(1,"img",74),e.TgZ(2,"span",75),e._uU(3),e.qZA()()),2&n){const t=e.oxw(4);e.xp6(3),e.AsE("",t.studentsAdded," student",1!==t.studentsAdded?"s":""," added to your Epic classroom.")}}
1function J(n,s){if(1&n&&(e.TgZ(0,"div",73),e._UZ(1,"img",77),e.TgZ(2,"span",75),e._uU(3),e.qZA()()),2&n){const t=e.oxw(4);e.xp6(3),e.AsE("",t.studentsArchived," student",1!==t.studentsArchived?"s":""," archived.")}}function W(n,s){if(1&n&&(e.ynx(0),e.TgZ(1,"div",71),e.YNc(2,Y,4,2,"div",72),e.YNc(3,J,4,2,"div",72),e.TgZ(4,"div",73),e._UZ(5,"img",76),e.TgZ(6,"span",75),e._uU(7,"New Class code generated, share with your students."),e.qZA()()(),e.BQk()),2&n){const t=e.oxw(3);e.xp6(2),e.Q6J("ngIf",t.studentsAdded>0),e.xp6(1),e.Q6J("ngIf",t.studentsArchived>0)}}function H(n,s){if(1&n){const t=e.EpF();e.ynx(0),e.TgZ(1,"div",67),e._UZ(2,"img",68),e.TgZ(3,"h2",69),e._uU(4),e.qZA(),e.YNc(5,j,4,2,"ng-container",3),e.YNc(6,W,8,2,"ng-container",3),e.TgZ(7,"div",23)(8,"button",18),e.NdJ("click",function(){return e.CHM(t),e.oxw(2).close("view-classroom")}),e._uU(9," View Classroom "),e.qZA(),e.TgZ(10,"span",70),e._uU(11,"Go Back"),e.qZA()()(),e.BQk()}if(2&n){const t=e.oxw(2);e.xp6(4),e.hij(" ",t.partnerName," sync complete! "),e.xp6(1),e.Q6J("ngIf","merge"===t.syncType),e.xp6(1),e.Q6J("ngIf","start-fresh"===t.syncType)}}function G(n,s){if(1&n&&(e.ynx(0),e._UZ(1,"img",78),e.TgZ(2,"h2",79),e._uU(3),e.qZA(),e.TgZ(4,"p",80),e._uU(5),e.qZA(),e.BQk()),2&n){const t=e.oxw(2);e.xp6(3),e.hij(" ",t.syncErrorHeadline," "),e.xp6(2),e.hij(" ",t.syncErrorBody," ")}}function K(n,s){if(1&n&&(e.ynx(0),e.YNc(1,H,12,3,"ng-container",3),e.YNc(2,G,6,2,"ng-container",3),e.BQk()),2&n){const t=e.oxw();e.xp6(1),e.Q6J("ngIf",t.syncSuccess),e.xp6(1),e.Q6J("ngIf",!t.syncSuccess)}}function V(n,s){1&n&&(e.TgZ(0,"p",81),e._uU(1," If you need any further assistance, please "),e.TgZ(2,"a",43),e._uU(3,"contact support"),e.qZA(),e._uU(4,". "),e.qZA())}function X(n,s){if(1&n&&(e.ynx(0),e.TgZ(1,"div",82),e.O4$(),e.TgZ(2,"svg",83),e._UZ(3,"path",84),e.qZA(),e.kcU(),e._UZ(4,"img",85),e.qZA(),e.TgZ(5,"h2",79),e._uU(6),e.qZA(),e.TgZ(7,"p",86),e._uU(8),e.qZA(),e.TgZ(9,"p",81),e._uU(10," If you need any further assistance, please "),e.TgZ(11,"a",43),e._uU(12,"contact support"),e.qZA(),e._uU(13,". "),e.qZA(),e.BQk()),2&n){const t=e.oxw();e.xp6(6),e.hij(" ",t.syncErrorHeadline," "),e.xp6(2),e.hij(" ",t.syncErrorBody," ")}}const $=new Set([i.QK,i.Wx,i.Vr,i.di,i.vq,i.qh,i.DR,i.Mo,i.Xm,i.G2,i.zK]),T={[i.QK]:{headline:"Your file is too large",body:"Please upload a CSV file smaller than 1MB."},[i.Wx]:{headline:"That file type isn't supported",body:"Please upload a valid .csv file and try again."},[i.Vr]:{headline:"We couldn't upload your file",body:"Something went wrong. Please try again."},[i.di]:{headline:"Your CSV is missing student names",body:"Please check that the file includes a student name column and try again."},[i.vq]:{headline:"Your CSV is missing {Partner} IDs",body:"Please make sure each student has a {Partner} ID filled in and try again."},[i.qh]:{headline:"Your CSV has duplicate student names",body:"Please remove duplicate entries and try again."},[i.DR]:{headline:"Your CSV has duplicate {Partner} IDs",body:"Please remove duplicate entries and try again."},[i.Mo]:{headline:"We couldn't match some students",body:"Some students in your file don't match your Epic account. Please check the file and try again."},[i.Xm]:{headline:"No students found",body:"Your file doesn't contain any students. Please check the file and try again."},[i.G2]:{headline:"We couldn't find those {Partner} IDs",body:"Some or all {Partner}
1 IDs in your file weren't found. Please check the file and try again."},[i.zK]:{headline:"Students are already synced",body:"All students in your file are already linked to your class. No changes were made."},[i.Y4]:{headline:"We couldn't find your {Partner} account",body:"Your Epic email doesn't match a teacher account in {Partner}. Please contact your school administrator."},[i.zB]:{headline:"No students found",body:"Your {Partner} class doesn't have any students yet. Please check your roster in {Partner} and try again."},[i.kn]:{headline:"Some students couldn't be synced",body:"Most of your students were synced, but a few couldn't be added. Please contact support if any students are missing."},[i.Nn]:{headline:"Oh no! Something went wrong.",body:"We couldn't complete the sync. Please try again. If the problem persists, contact support."}};let ee=(()=>{class n{constructor(t,o,r,l,y,u,p){var _,c,x,g,v,P,w,M;this._dataService=t,this._accountService=o,this._profileService=r,this._cdr=l,this._bigQueryService=y,this._dialogRef=u,this.data=p,this.alreadySynced=!1,this.showSubMessage=!1,this.partnerName="",this.partnerId=0,this.currentStep="choose",this.syncType="merge",this.selectedFile=null,this.isDragOver=!1,this.fileError=null,this.isSyncing=!1,this.syncSuccess=!1,this.studentsAdded=0,this.studentsArchived=0,this.syncErrorCode="",this.syncErrorHeadline="",this.syncErrorBody="",this._syncConfirmed=!1,this._onBeforeUnload=()=>{this._bigQueryService.log(i.x7,{sso_provider:this.partnerName.toLowerCase(),step:this.currentStep}),this._bigQueryService.log(i.pQ,{sso_provider:this.partnerName.toLowerCase(),step:this.currentStep})},this.alreadySynced=null!==(c=null===(_=this.data)||void 0===_?void 0:_.alreadySynced)&&void 0!==c&&c,this.showSubMessage=null!==(g=null===(x=this.data)||void 0===x?void 0:x.showSubMessage)&&void 0!==g&&g,this.partnerId=null!==(P=null===(v=this.data)||void 0===v?void 0:v.partnerId)&&void 0!==P?P:0,this.partnerName=null!==(M=null===(w=this.data)||void 0===w?void 0:w.partnerName)&&void 0!==M?M:(0,m.Pr)(this.partnerId),this.partnerName||(this.partnerName="Partner")}ngOnInit(){this._bigQueryService.log(i.lx,{sso_provider:this.partnerName.toLowerCase()}),window.addEventListener("beforeunload",this._onBeforeUnload)}ngOnDestroy(){window.removeEventListener("beforeunload",this._onBeforeUnload)}_errorCopyFor(t){var o;const r=null!==(o=T[t])&&void 0!==o?o:T[i.Nn],l=this.partnerName;return{headline:r.headline.replace(/\{Partner\}/g,l),body:r.body.replace(/\{Partner\}/g,l)}}get studentCount(){return this._profileService.getChildProfiles().filter(t=>"Guest"!==t.fullName).length}close(t="",o="close_button"){!t&&this.syncSuccess&&(t="success"),"view-classroom"===t&&this._bigQueryService.log(i.OK,{sso_provider:this.partnerName.toLowerCase()}),this._syncConfirmed?this._bigQueryService.log(i.Yx,{sso_provider:this.partnerName.toLowerCase(),step:this.currentStep,result:t||"dismissed"}):this._bigQueryService.log(i.LS,{sso_provider:this.partnerName.toLowerCase(),step:this.currentStep,reason:o}),this._dialogRef.close(t)}selectSyncType(t){this.syncType=t,this._cdr.markForCheck()}continue(){this._bigQueryService.log(i.ye,{sso_provider:this.partnerName.toLowerCase(),sync_method:this.syncType}),this.currentStep="merge"===this.syncType?"csv-upload":"confirm",this._cdr.markForCheck()}goBack(){this._bigQueryService.log(i.MK,{sso_provider:this.partnerName.toLowerCase(),step:this.currentStep}),this.currentStep="choose",this.selectedFile=null,this.fileError=null,this._cdr.markForCheck()}onFileSelected(t){const o=t.target;o.files&&o.files.length>0&&(this._handleFile(o.files[0],"browse"),o.value="")}onDragOver(t){t.preventDefault(),this.isDragOver=!0,this._cdr.markForCheck()}onDragLeave(){this.isDragOver=!1,this._cdr.markForCheck()}onDrop(t){var o;t.preventDefault(),this.isDragOver=!1;const r=null===(o=t.dataTransfer)||void 0===o?void 0:o.files;r&&r.length>0&&this._handleFile(r[0],"drag_drop"),this._cdr.markForCheck()}startSync(){if(!this.isSyncing)if(this.isSyncing=!0,this._syncConfirmed=!0,this.currentStep="syncing",this._bigQueryService.log(i.tD,{sso_provider:this.partnerName.toLowerCase(),sync_method:this.syncType}),this._cdr.markForCheck(),"merge"===this.syncType&&this.selectedFile){const t=new FormData;t.append("studentsFile",this.selectedFile,this.selectedFile.name),this._syncTeacherDataWithAccount(t)}else this._syncTeacherDataWithAccount()}downloadTemplate(){return(0,f.mG)(this,void 0,void 0,function*(){this._bigQueryService.log(i.bc,{sso_provider:this.partnerName.toLowerCase()});let t=this._profileService.getChildProfiles();t=t.filter(_=>"Guest"!==_.fullName);const o=(0,m.ap)(this.partnerId);
1let r=[{"First Name":"John","Last Name":"Doe",[o]:"12345"}];0!==t.length&&(r=t.map(_=>({"First Name":_.firstName,"Last Name":_.lastName,[o]:""})));const l=(0,d.unparse)(r);if("showSaveFilePicker"in window){try{const c=yield(yield window.showSaveFilePicker({suggestedName:"template.csv",types:[{description:"CSV file",accept:{"text/csv":[".csv"]}}]})).createWritable();yield c.write(l),yield c.close()}catch(_){}return}const y=new Blob([l],{type:"text/csv;charset=utf-8;"}),u=window.URL.createObjectURL(y),p=document.createElement("a");p.href=u,p.download="template.csv",document.body.appendChild(p),p.click(),document.body.removeChild(p),window.URL.revokeObjectURL(u)})}removeFile(){this._bigQueryService.log(i.Bx,{sso_provider:this.partnerName.toLowerCase()}),this.selectedFile=null,this.fileError=null,this._cdr.markForCheck()}_handleFile(t,o){t.name.toLowerCase().endsWith(".csv")?t.size>1048576?(this.fileError=i.QK,this.selectedFile=null,this._bigQueryService.log(i.jf,{sso_provider:this.partnerName.toLowerCase(),error_code:i.QK,upload_method:o})):(this.fileError=null,this.selectedFile=t,this._bigQueryService.log(i.AG,{sso_provider:this.partnerName.toLowerCase(),file_size:t.size,upload_method:o})):(this.fileError=i.Wx,this.selectedFile=null,this._bigQueryService.log(i.jf,{sso_provider:this.partnerName.toLowerCase(),error_code:i.Wx,upload_method:o})),this._cdr.markForCheck()}_syncTeacherDataWithAccount(t){return(0,f.mG)(this,void 0,void 0,function*(){try{let o;o=t?yield this._dataService.postWithFormData("WebSyncSchoolConnecter","syncTeacherDataWithAccount",t):yield this._dataService.post("WebSyncSchoolConnecter","syncTeacherDataWithAccount"),this._handleSyncResponse(o)}catch(o){this._handleSyncResponse({type:"error",error_code:"sync_failed"})}})}_handleSyncResponse(t){var o,r,l,y,u,p,_;return(0,f.mG)(this,void 0,void 0,function*(){const c=null!==(o=null==t?void 0:t.result)&&void 0!==o?o:t,x=null==c?void 0:c.type,g=null!==(l=null!==(r=null==c?void 0:c.code)&&void 0!==r?r:null==c?void 0:c.error_code)&&void 0!==l?l:i.Nn;if("success"===x||"partial_success"===x)yield this._accountService.updateAccountData(),this._profileService.reloadProfiles(),this.syncSuccess=!0,this.studentsAdded=null!==(u=null!==(y=c.students_added)&&void 0!==y?y:c.studentsAdded)&&void 0!==u?u:0,this.studentsArchived=null!==(_=null!==(p=c.students_archived)&&void 0!==p?p:c.studentsArchived)&&void 0!==_?_:0,this.currentStep="result",this._bigQueryService.log(i.l2,{sso_provider:this.partnerName.toLowerCase(),sync_method:this.syncType,students_added:this.studentsAdded,students_archived:this.studentsArchived});else if($.has(g))this.fileError=g,this.selectedFile=null,this.currentStep="csv-upload",this._bigQueryService.log(i.m6,{sso_provider:this.partnerName.toLowerCase(),sync_method:this.syncType,error_code:g});else{const v=this._errorCopyFor(g);this.syncErrorCode=g,this.syncErrorHeadline=v.headline,this.syncErrorBody=v.body,this.currentStep="sync-error",this._bigQueryService.log(i.m6,{sso_provider:this.partnerName.toLowerCase(),sync_method:this.syncType,error_code:g})}this.isSyncing=!1,this._cdr.markForCheck()})}}return n.\u0275fac=function(t){return new(t||n)(e.Y36(Z.D),e.Y36(S.B),e.Y36(O.ProfileService),e.Y36(e.sBO),e.Y36(A.p),e.Y36(h.so),e.Y36(h.WI))},n.\u0275cmp=e.Xpm({type:n,selectors:[["epic-partner-sync-profiles-dialog"]],decls:10,vars:10,consts:[[1,"sync-dialog"],[1,"sync-dialog__close",3,"disabled","click"],["src","/assets/dialogs/clever-sync/close.svg","alt","Close","width","24","height","24"],[4,"ngIf"],["class","error-support-footer",4,"ngIf"],[1,"sync-dialog__body"],[1,"sync-dialog__title"],[1,"sync-options"],[1,"sync-option",3,"click"],["alt","","width","24","height","24",1,"sync-option__radio",3,"src"],[1,"sync-option__content"],[1,"sync-option__label"],[1,"tip-icon-wrap"],["src","/assets/dialogs/clever-sync/tip-icon.svg","alt","Info","width","24","height","24"],[1,"tip-tooltip"],[1,"tip-tooltip__title"],[1,"tip-tooltip__list"],[1,"sync-option__desc"],[1,"sync-dialog__btn-primary","sync-dialog__btn-primary--full",3,"click"],["class","sync-dialog__subtitle",4,"ngIf"],["type","file",2,"display","none",3,"change"],["fileInput",""],["class","error-support-footer","style","margin-top: 52px",4,"ngIf"],[1,"sync-dialog__footer","sync-dialog__footer--column"],[1,"sync-dialog__btn-primary","sync-dialog__btn-primary--full",3,"disabled","click"],[1,"sync-dialog__back",3,"click"],[1,"sync-dialog__subtitle"],[1,"sync-steps"],[1,"sync-dialog__btn-outline",3,"click"],[1,"drop-zone",3,"dragover","dragleave","drop","click"],["src","/assets/dialogs/clever-sync/upload-icon.svg","alt","","width","20","height","22",1,"drop-zone__upload-icon"],[1,"drop-zone__text"],[1,"drop-zone__browse"],[1,"drop-zone","drop-zone--error",3,"dragover","dragleave","drop","click"],["src","/assets/dialogs/clever-sync/alert-stop.svg","alt","","width","27","height","27",1,"drop-zone__error-icon"],[1,"drop-zone__error-text"],[1,"drop-zone__error-subtext"],[1,"file-selected-row"],["src","/assets/dialogs/clever-sync/file-icon.svg","alt","","width","20","height","22"],[1,"file-selected-row__name"],["title","Remove file",1,"file-selected-row__remove",3,"click"],["src","/assets/dialogs/clever-sync/close.svg","alt","Remove","width","16","height","16"],[1,"error-support-footer",2,"margin-top","52px"],["target","_blank","href","https://support.getepic.com/hc/en-us"],[1,"sync-dialog__title","sync-dialog__title--mb-56"],[1,"confirm-items"],[1,"confirm-item"],["src","/assets/dialogs/clever-sync/confirm-archive.svg","alt","","width","32","height","32",1,"confirm-item__icon"],[1,"confirm-item__content"],[1,"confirm-item__heading"],[1,"confirm-item__desc"],["src","/assets/dialogs/clever-sync/confirm-refresh.svg","alt","","width","32","height","32",1,"confirm-item__icon"],[1,"sync-progress"],[1,"sync-loader"],["width","40","height","40","viewBox","0 0 34 34","fill","none","xmlns","http://www.w3.org/2000/svg"],["cx","17","cy","17","r","16","stroke","#BBCBE4","stroke-width","2"],["d","M33 17C33 25.8366 25.8366 33 17 33C8.16344 33 1 25.8366 1 17C1 8.16344 8.16344 1 17 1","stroke","#0A96E6","
1stroke-width","2","stroke-linecap","round",1,"sync-loader__outer-arc"],[1,"sync-loader__inner-arrows"],["d","M25.0001 9.52881V13.5306H20.9983","stroke","#0A96E6","stroke-width","2","stroke-linecap","round","stroke-linejoin","round"],["d","M9 17C9.00141 15.4549 9.44942 13.9432 10.29 12.6472C11.1306 11.3512 12.3278 10.3263 13.7373 9.69619C15.1468 9.06603 16.7084 8.85751 18.2336 9.09578C19.7589 9.33405 21.1827 10.0089 22.3333 11.039L24.9999 13.4412","stroke","#0A96E6","stroke-width","2","stroke-linecap","round","stroke-linejoin","round"],["d","M9 24.5348V20.5312H12.9999","stroke","#0A96E6","stroke-width","2","stroke-linecap","round","stroke-linejoin","round"],["d","M24.9999 17C24.9985 18.5451 24.5505 20.0569 23.7099 21.3528C22.8694 22.6488 21.6721 23.6737 20.2626 24.3039C18.8531 24.934 17.2916 25.1425 15.7663 24.9043C14.2411 24.666 12.8173 23.9911 11.6667 22.961L9 20.5588","stroke","#0A96E6","stroke-width","2","stroke-linecap","round","stroke-linejoin","round"],[1,"sync-loader__label"],[1,"sync-loader__word"],["aria-hidden","true",1,"sync-loader__dots"],["disabled","",1,"sync-dialog__btn-primary","sync-dialog__btn-primary--full"],[1,"sync-dialog__back","sync-dialog__back--disabled"],[1,"result-success-wrap"],["src","/assets/dialogs/clever-sync/success-icon.svg","alt","","width","104","height","104",1,"result-success-icon"],[1,"sync-dialog__title","sync-dialog__title--center","sync-dialog__title--mb-24"],["aria-hidden","true",1,"sync-dialog__back",2,"visibility","hidden"],[1,"result-items"],["class","result-item",4,"ngIf"],[1,"result-item"],["src","/assets/dialogs/clever-sync/confirm-class-code.svg","alt","","width","32","height","32"],[1,"result-item__text"],["src","/assets/dialogs/clever-sync/confirm-refresh.svg","alt","","width","32","height","32"],["src","/assets/dialogs/clever-sync/confirm-archive.svg","alt","","width","32","height","32"],["src","/assets/dialogs/clever-sync/error-chaos.png","alt","",1,"result-illustration"],[1,"sync-dialog__title","sync-dialog__title--center","sync-dialog__title--mb-8"],[1,"result-desc","result-desc--error"],[1,"error-support-footer"],[1,"account-not-found__hero"],["xmlns","http://www.w3.org/2000/svg","width","328","height","269","viewBox","0 0 328 269","fill","none",1,"account-not-found__blob"],["fill-rule","evenodd","clip-rule","evenodd","d","M157.549 266.658C106.5 268.387 46.5793 274.537 15.4695 236.597C-15.3619 198.996 6.8697 146.754 22.1807 101.568C35.3816 62.6098 53.5693 22.4546 93.5722 6.1009C132.252 -9.71208 173.527 8.46276 212.428 23.7925C255.331 40.699 305.588 54.4103 320.743 95.6214C337.258 140.531 321.094 191.969 287.298 227.389C255.437 260.781 205.339 265.039 157.549 266.658Z","fill","#F0F5FC"],["src","/assets/dialogs/clever-sync/error-character.png","alt","",1,"account-not-found__character"],[1,"account-not-found__desc"]],template:function(t,o){1&t&&(e.TgZ(0,"div",0)(1,"button",1),e.NdJ("click",function(){return o.close()}),e._UZ(2,"img",2),e.qZA(),e.YNc(3,D,43,10,"ng-container",3),e.YNc(4,F,16,12,"ng-container",3),e.YNc(5,q,26,4,"ng-container",3),e.YNc(6,B,28,1,"ng-container",3),e.YNc(7,K,3,2,"ng-container",3),e.YNc(8,V,5,0,"p",4),e.YNc(9,X,14,2,"ng-container",3),e.qZA()),2&t&&(e.ekj("sync-dialog--pb-48",o.fileError),e.xp6(1),e.Q6J("disabled","syncing"===o.currentStep),e.xp6(2),e.Q6J("ngIf","choose"===o.currentStep),e.xp6(1),e.Q6J("ngIf","csv-upload"===o.currentStep),e.xp6(1),e.Q6J("ngIf","confirm"===o.currentStep),e.xp6(1),e.Q6J("ngIf","syncing"===o.currentStep),e.xp6(1),e.Q6J("ngIf","result"===o.currentStep),e.xp6(1),e.Q6J("ngIf","result"===o.currentStep&&!o.syncSuccess),e.xp6(1),e.Q6J("ngIf","sync-error"===o.currentStep))},directives:[E.O5],styles:['@charset "UTF-8"; .epic-mat-dialog--clever-sync .mat-dialog-container{width:720px!important;min-height:598px!important;height:auto!important;border-radius:24px!important;padding:0!important;overflow:visible;box-shadow:0 2px 14px #3c4b6233!important}.sync-dialog[_ngcontent-%COMP%]{display:flex;width:720px;min-height:598px;height:auto;padding:48px 32px 32px;flex-direction:column;justify-content:space-between;align-items:center;box-sizing:border-box;position:relative;overflow:visible}.sync-dialog--pb-48[_ngcontent-%COMP%]{padding-bottom:48px}.sync-dialog__close[_ngcontent-%COMP%]{position:absolute;top:20px;right:20px;background:none;border:none;padding:4px;cursor:pointer;line-height:0;border-radius:6px}.sync-dialog__close[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{display:block}.sync-dialog__close[_ngcontent-%COMP%]:hover{opacity:.75}.sync-dialog__close[_ngcontent-%COMP%]:disabled{opacity:.3;cursor:not-allowed}.sync-dialog__title[_ngcontent-%COMP%]{color:#0a96e6;text-align:center;font-family:Mikado,sans-serif;font-size:32px;font-style:normal;line-height:40px;letter-spacing:.25px;margin:0 0 48px;width:100%}.sync-dialog__title--center[_ngcontent-%COMP%]{text-align:center}.sync-dialog__title--mb-8[_ngcontent-%COMP%]{margin-bottom:8px}.sync-dialog__title--mb-24[_ngcontent-%COMP%]{margin-bottom:24px}.sync-dialog__title--mb-16[_ngcontent-%COMP%]{margin-bottom:16px}.sync-dialog__title--mb-56[_ngcontent-%COMP%]{margin-bottom:56px}.sync-dialog__subtitle[_ngcontent-%COMP%]{font-family:Roboto,sans-serif;font-size:18px;font-style:normal;font-weight:400;line-height:24px;letter-spacing:.25px;color:#3c4b62;text-align:center;margin:0 0 32px;width:100%}.sync-dialog__body[_ngcontent-%COMP%]{display:flex;flex-direction:column;align-items:flex-start;width:100%}.sync-options[_ngcontent-%COMP%]{display:flex;flex-direction:column;gap:16px;width:100%;margin-bottom:16px}.sync-option[_ngcontent-%COMP%]{display:flex;flex-direction:row;align-items:center;gap:12px;width:100%;height:130px;padding:16px;box-sizing:border-box;
1cursor:pointer;transition:box-shadow .15s,border .15s,background .15s;border-radius:16px;background:#ffffff;box-shadow:0 2px 14px #3c4b6233;border:4px solid transparent}.sync-option--selected[_ngcontent-%COMP%]{border-color:#0a96e6;background:#f2faff;box-shadow:none}.sync-option[_ngcontent-%COMP%]:not(.sync-option--selected):hover{box-shadow:0 2px 18px #3c4b6247}.sync-option__radio[_ngcontent-%COMP%]{flex-shrink:0;display:block}.sync-option__content[_ngcontent-%COMP%]{display:flex;flex-direction:column;justify-content:center;align-items:flex-start;gap:4px;flex:1}.sync-option__label[_ngcontent-%COMP%]{font-family:Mikado,sans-serif;font-size:20px;font-style:normal;line-height:24px;letter-spacing:.25px;color:#3c4b62;display:flex;align-items:center;gap:3px;text-align:left}.sync-option__label[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{flex-shrink:0}.sync-option__desc[_ngcontent-%COMP%]{font-family:Roboto,sans-serif;font-size:18px;font-style:normal;font-weight:400;line-height:24px;letter-spacing:.25px;color:#3c4b62;text-align:left}.sync-dialog__back[_ngcontent-%COMP%]{font-family:Roboto,sans-serif;font-size:18px;font-style:normal;font-weight:700;line-height:24px;letter-spacing:.25px;color:#0a96e6;text-decoration:none;cursor:pointer;flex-shrink:0}.sync-dialog__back[_ngcontent-%COMP%]:hover{color:#0876b5}.sync-dialog__back--disabled[_ngcontent-%COMP%]{color:#bbcbe4;cursor:not-allowed;pointer-events:none}.sync-dialog__footer[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:space-between;width:100%;margin-top:20px}.sync-dialog__footer--center[_ngcontent-%COMP%]{justify-content:center;gap:12px}.sync-dialog__footer--column[_ngcontent-%COMP%]{flex-direction:column;align-items:center;gap:16px}.sync-dialog__btn-primary[_ngcontent-%COMP%]{background:#0a96e6;color:#fff;border:none;border-radius:24px;padding:12px 28px;font-size:15px;font-weight:600;cursor:pointer;transition:background .15s;white-space:nowrap}.sync-dialog__btn-primary[_ngcontent-%COMP%]:hover:not(:disabled){background:#087dbf}.sync-dialog__btn-primary[_ngcontent-%COMP%]:disabled{background:#ccecff;cursor:not-allowed}.sync-dialog__btn-primary--full[_ngcontent-%COMP%]{display:flex;min-width:180px;min-height:56px;padding:16px;justify-content:center;align-items:center;gap:0;align-self:stretch;border-radius:9999px;background:#0a96e6;color:#fff;text-align:center;font-family:Mikado,sans-serif;font-size:20px;font-style:normal;font-weight:700;line-height:24px;letter-spacing:.25px}.sync-dialog__btn-outline[_ngcontent-%COMP%]{display:flex;width:-moz-fit-content;width:fit-content;min-width:160px;min-height:40px;padding:8px 16px;justify-content:center;align-items:center;gap:0;align-self:flex-start;border-radius:9999px;border:2px solid #0a96e6;background:#ffffff;color:#0a96e6;text-align:center;font-family:Mikado,sans-serif;font-size:16px;font-style:normal;font-weight:700;line-height:20px;letter-spacing:.25px;cursor:pointer;transition:background .15s;white-space:nowrap}.sync-dialog__btn-outline[_ngcontent-%COMP%]:hover{background:#f0f8ff}.tip-icon-wrap[_ngcontent-%COMP%]{position:relative;display:inline-flex;align-items:center;flex-shrink:0}.tip-icon-wrap[_ngcontent-%COMP%]:hover .tip-tooltip[_ngcontent-%COMP%]{opacity:1;pointer-events:auto}.tip-tooltip[_ngcontent-%COMP%]{display:flex;width:273px;max-width:300px;padding:16px 12px;flex-direction:column;align-items:flex-start;gap:4px;position:absolute;bottom:8px;left:13.882px;right:auto;top:auto;transform:none;background:#ffffff;border-radius:10px;box-shadow:0 2px 14px #3c4b6233;border:1px solid rgba(60,75,98,.12);opacity:0;pointer-events:none;transition:opacity .15s;z-index:100;white-space:normal}.tip-tooltip__title[_ngcontent-%COMP%]{margin:0;font-family:Roboto,sans-serif;font-size:14px;font-weight:700;line-height:20px;letter-spacing:.25px;color:#3c4b62}.tip-tooltip__list[_ngcontent-%COMP%]{margin:0;padding-left:9px;list-style:none}.tip-tooltip__list[_ngcontent-%COMP%] li[_ngcontent-%COMP%]{font-family:Roboto,sans-serif;font-size:14px;font-weight:400;line-height:20px;letter-spacing:.25px;color:#3c4b62;position:relative;padding-left:10px}.tip-tooltip__list[_ngcontent-%COMP%] li[_ngcontent-%COMP%]:before{content:"\\2022";position:absolute;
1left:0;top:0;font-size:1em;line-height:20px}.tip-tooltip__list[_ngcontent-%COMP%] li[_ngcontent-%COMP%]:not(:last-child){margin-bottom:2px}.sync-steps[_ngcontent-%COMP%]{margin:0 0 16px;padding-left:20px;width:100%;display:flex;flex-direction:column;align-items:flex-start;gap:8px}.sync-steps[_ngcontent-%COMP%] li[_ngcontent-%COMP%]{font-family:Roboto,sans-serif;font-size:16px;font-style:normal;font-weight:400;line-height:22px;letter-spacing:.25px;color:#3c4b62;text-align:left;width:100%}.drop-zone[_ngcontent-%COMP%]{display:flex;height:120px;min-height:120px;padding:16px;flex-direction:column;justify-content:center;align-items:center;gap:8px;align-self:stretch;width:100%;margin-top:32px;box-sizing:border-box;cursor:pointer;transition:border-color .15s,background .15s;border-radius:8px;border:2px dashed #bbcbe4;background:#f9fafd}.drop-zone[_ngcontent-%COMP%]:hover:not(.drop-zone--error):not(.drop-zone--active){border-color:#0a96e6;background:#f2faff}.drop-zone--active[_ngcontent-%COMP%]{border-color:#0a96e6;background:#f2faff}.drop-zone--error[_ngcontent-%COMP%]{height:160px;border-radius:8px;border:2px dashed #e2195d;background:#ffe8f0;cursor:pointer;margin-top:0}.drop-zone__upload-icon[_ngcontent-%COMP%]{display:block}.drop-zone__text[_ngcontent-%COMP%]{margin:0;font-family:Roboto,sans-serif;font-size:16px;font-style:normal;font-weight:400;line-height:22px;letter-spacing:.25px;color:#3c4b62;text-align:center}.drop-zone__browse[_ngcontent-%COMP%]{color:#0a96e6;font-family:Roboto,sans-serif;font-size:16px;font-weight:700;line-height:22px;letter-spacing:.25px;text-decoration:none;cursor:pointer}.drop-zone__error-icon[_ngcontent-%COMP%]{display:block}.drop-zone__error-text[_ngcontent-%COMP%]{margin:0;font-family:Roboto,sans-serif;font-size:16px;font-style:normal;font-weight:400;line-height:22px;letter-spacing:.25px;color:#e2195d;text-align:center}.drop-zone__error-subtext[_ngcontent-%COMP%]{margin:0;font-family:Roboto,sans-serif;font-size:14px;font-weight:400;line-height:20px;letter-spacing:.25px;color:#7a8fa8;text-align:center}.file-selected-row[_ngcontent-%COMP%]{display:flex;padding:16px;justify-content:flex-start;align-items:center;align-self:flex-start;width:100%;margin-top:32px;box-sizing:border-box;border-radius:8px;background:#f2faff}.file-selected-row__name[_ngcontent-%COMP%]{flex:1;margin:0 12px;font-family:Roboto,sans-serif;font-size:16px;font-style:normal;font-weight:400;line-height:22px;letter-spacing:.25px;color:#3c4b62;word-break:break-all;text-align:left}.file-selected-row__remove[_ngcontent-%COMP%]{flex-shrink:0;background:none;border:none;cursor:pointer;padding:0;line-height:0}.file-selected-row__remove[_ngcontent-%COMP%]:hover{opacity:.7}.confirm-items[_ngcontent-%COMP%]{display:flex;flex-direction:column;gap:14px;width:100%}.confirm-item[_ngcontent-%COMP%]{display:flex;padding:16px;align-items:center;align-self:stretch;gap:16px;border-radius:8px;background:#f2faff;width:100%;box-sizing:border-box}.confirm-item__icon[_ngcontent-%COMP%]{flex-shrink:0;display:block}.confirm-item__content[_ngcontent-%COMP%]{display:flex;flex-direction:column;gap:4px;flex:1}.confirm-item__heading[_ngcontent-%COMP%]{margin:0;font-family:Mikado,sans-serif;font-size:18px;font-style:normal;font-weight:700;line-height:22px;letter-spacing:.25px;color:#0a96e6;text-align:left}.confirm-item__desc[_ngcontent-%COMP%]{margin:0;font-family:Roboto,sans-serif;font-size:16px;font-style:normal;font-weight:400;line-height:22px;letter-spacing:.25px;color:#3c4b62;text-align:left}.sync-progress[_ngcontent-%COMP%]{display:flex;justify-content:center;align-items:center;flex:1;padding:20px 0}.sync-loader[_ngcontent-%COMP%]{display:flex;flex-direction:column;align-items:center;gap:4px}.sync-loader__outer-arc[_ngcontent-%COMP%]{transform-origin:17px 17px;animation:sync-spin-ccw 1.4s linear infinite}.sync-loader__inner-arrows[_ngcontent-%COMP%]{transform-origin:17px 17px;animation:sync-spin-cw 2.4s cubic-bezier(.4,0,.6,1) infinite}.sync-loader__label[_ngcontent-%COMP%]{text-align:center;font-family:Roboto,sans-serif;font-size:9pt;font-weight:500;color:#bbcbe4}.sync-loader__word[_ngcontent-%COMP%]{position:relative;display:inline-block}.sync-loader__dots[_ngcontent-%COMP%]{position:absolute;
1left:100%;top:0;white-space:nowrap}.sync-loader__dots[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{display:inline-block;opacity:0;animation:sync-dot-fade 1.4s ease-in-out infinite}.sync-loader__dots[_ngcontent-%COMP%] span[_ngcontent-%COMP%]:nth-child(1){animation-delay:0s}.sync-loader__dots[_ngcontent-%COMP%] span[_ngcontent-%COMP%]:nth-child(2){animation-delay:.2s}.sync-loader__dots[_ngcontent-%COMP%] span[_ngcontent-%COMP%]:nth-child(3){animation-delay:.4s}@keyframes sync-spin-ccw{to{transform:rotate(-360deg)}}@keyframes sync-spin-cw{to{transform:rotate(360deg)}}@keyframes sync-dot-fade{0%,60%,to{opacity:0}30%{opacity:1}}.account-not-found__hero[_ngcontent-%COMP%]{position:relative;width:328px;height:269px;display:flex;align-items:center;justify-content:center;flex-shrink:0;margin-top:24px;margin-bottom:24px}.account-not-found__blob[_ngcontent-%COMP%]{position:absolute;top:0;left:0;width:328px;height:269px}.account-not-found__desc[_ngcontent-%COMP%]{margin:0;color:#3c4b62;text-align:center;font-family:Roboto,sans-serif;font-size:18px;font-style:normal;font-weight:400;line-height:24px;letter-spacing:.25px;width:100%}.account-not-found__character[_ngcontent-%COMP%]{position:relative;width:269px;height:277px;object-fit:contain;z-index:1;top:-20px}.result-illustration[_ngcontent-%COMP%]{width:416px;height:269px;margin-top:0;margin-bottom:24px;display:block}.result-success-wrap[_ngcontent-%COMP%]{display:flex;flex-direction:column;align-items:center;width:100%;height:100%}.result-success-wrap[_ngcontent-%COMP%] .sync-dialog__footer[_ngcontent-%COMP%]{margin-top:auto}.result-success-icon[_ngcontent-%COMP%]{display:block;width:104px;height:104px;margin:0 auto 8px}.result-icon[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:center;width:64px;height:64px;border-radius:50%;font-size:28px;font-weight:700;margin:0 auto 16px}.result-icon--success[_ngcontent-%COMP%]{background:#e8f5e9;color:#43a047}.result-icon--error[_ngcontent-%COMP%]{background:#ffebee;color:#e53935}.result-desc[_ngcontent-%COMP%]{font-size:15px;color:#3c4b62;text-align:center;margin:0 0 24px;width:100%}.result-desc--error[_ngcontent-%COMP%]{color:#3c4b62;text-align:center;font-family:Roboto,sans-serif;font-size:18px;font-style:normal;font-weight:400;line-height:24px;letter-spacing:.25px}.result-desc[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{color:#0a96e6}.error-support-footer[_ngcontent-%COMP%]{margin:auto 0 0;padding:0;color:#3c4b62;text-align:center;font-family:Roboto,sans-serif;font-size:16px;font-style:normal;font-weight:400;line-height:22px;letter-spacing:.25px;width:100%}.error-support-footer[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{color:#0a96e6;font-weight:700;text-decoration:none}.result-items[_ngcontent-%COMP%]{display:flex;flex-direction:column;gap:8px;width:100%;margin-bottom:24px}.result-item[_ngcontent-%COMP%]{display:flex;padding:16px;justify-content:flex-start;align-items:center;align-self:stretch;border-radius:8px;background:#f2faff;gap:16px}.result-item__text[_ngcontent-%COMP%]{color:#0a96e6;font-family:Mikado,sans-serif;font-size:18px;font-style:normal;font-weight:700;line-height:22px;letter-spacing:.25px;flex:1;text-align:left}'],changeDetection:0}),n})()},7145:(k,b,a)=>{a.d(b,{a:()=>m});var f=a(34929),h=a(3184);let m=(()=>{class d{constructor(){this._isInitialized=!1,this._isEduContentGatingEnabled=!1}isEduContentGatingEnabled(){return(0,f.mG)(this,void 0,void 0,function*(){return this._isInitialized||(yield this._getFeatureFlagStatus()),this._isEduContentGatingEnabled})}_getFeatureFlagStatus(){return(0,f.mG)(this,void 0,void 0,function*(){try{this._isEduContentGatingEnabled=!0,this._isInitialized=!0}catch(i){console.error("Error parsing feature setting for edu content gating.")}})}}return d.\u0275fac=function(i){return new(i||d)},d.\u0275prov=h.Yz7({token:d,factory:d.\u0275fac,providedIn:"root"}),d})()}}]);
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.