PageSourceSearch

https://decizone.com/common.96a552259f95421a.js

js decizone.com collected 2026-10-05 09:46:56 UTC 27,965 bytes, 1 lines download raw bytes

1(self.webpackChunkdzweb=self.webpackChunkdzweb||[]).push([[8592],{28578:(I,P,s)=>{"use strict";s.d(P,{U:()=>l});var h=s(69751),o=s(78372),d=s(63900);function l(r){return t=>new h.y(e=>{t.valueChanges.pipe((0,o.b)(400),(0,d.w)(a=>r.checkExistingDisplayname(t.value))).subscribe(a=>{e.next(null),e.complete()},a=>{e.next({usernameTaken:!0}),e.complete()})})}},97811:(I,P,s)=>{"use strict";s.d(P,{a:()=>l});var h=s(69751),o=s(78372),d=s(63900);function l(r){return t=>new h.y(e=>{t.valueChanges.pipe((0,o.b)(400),(0,d.w)(a=>r.checkExistingEmail(t.value))).subscribe(a=>{e.next(null),e.complete()},a=>{e.next({emailTaken:!0}),e.complete()})})}},67618:(I,P,s)=>{"use strict";s.d(P,{z:()=>d});var h=s(94650),o=s(24006);let d=(()=>{class l{constructor(r,t){this.validateEqual=r,this.reverse=t}get isReverse(){return!!this.reverse&&"true"===this.reverse}validate(r){let t=r.value,e=r.root.get(this.validateEqual);return e&&t!==e.value&&!this.isReverse?{validateEqual:!1}:(e&&t===e.value&&this.isReverse&&(delete e.errors.validateEqual,Object.keys(e.errors).length||e.setErrors(null)),e&&t!==e.value&&this.isReverse&&e.setErrors({validateEqual:!1}),null)}}return l.\u0275fac=function(r){return new(r||l)(h.$8M("validateEqual"),h.$8M("reverse"))},l.\u0275dir=h.lG2({type:l,selectors:[["","validateEqual","","formControlName",""],["","validateEqual","","formControl",""],["","validateEqual","","ngModel",""]],features:[h._Bn([{provide:o.Cf,useExisting:(0,h.Gpc)(()=>l),multi:!0}])]}),l})()},27251:(I,P,s)=>{"use strict";function h(o,d,{preferContext:l="https://schema.org",dedupeById:i=!0,preferNewOnConflict:r=!0}={}){const e=o?.find(v=>Array.isArray(v?.["@graph"]))??{"@context":l,"@graph":[]};Array.isArray(e["@graph"])||(e["@graph"]=[]);const a=e["@graph"],f=v=>{if(!v)return;!e["@context"]&&v["@context"]&&(e["@context"]=v["@context"]);const S=Array.isArray(v["@graph"])?v["@graph"]:[];if(!S.length)return;const T=v===e||S===a?S.slice():S;if(!i){for(const m of T)a.push(m);return}const b=new Map;for(let m=0;m<a.length;m++){const O=a[m]?.["@id"];"string"==typeof O&&b.set(O,m)}for(const m of T){const O=m?.["@id"];if("string"==typeof O&&b.has(O)){const E=b.get(O);r&&(a[E]={...a[E],...m})}else a.push(m),"string"==typeof O&&b.set(O,a.length-1)}};return(o??[]).forEach(v=>f(v)),(d??[]).forEach(v=>f(v)),e["@context"]||(e["@context"]=l),[e]}s.d(P,{U:()=>h})},99306:(I,P,s)=>{"use strict";s.d(P,{M:()=>l});var h=s(65938),o=s(94650),d=s(4859);let l=(()=>{class i{constructor(t,e,a){this.ngZone=t,this.dialogRef=e,this.data=a}confirmYes(){this.ngZone.run(()=>{this.dialogRef.close(this.data.answer)})}close(){this.ngZone.run(()=>{this.dialogRef.close()})}}return i.\u0275fac=function(t){return new(t||i)(o.Y36(o.R0b),o.Y36(h.so),o.Y36(h.WI))},i.\u0275cmp=o.Xpm({type:i,selectors:[["ng-component"]],decls:17,vars:0,consts:[[1,"tos-consent-container"],["src","assets/images/DZ-LOGO.svg","alt","Image of a rainbow colored flower.",1,"tos-consent-image"],["id","tosusrconsent-tos","rel","nofollow","href","/terms-of-service","target","_blank"],["id","tosusrconsent-pp","rel","nofollow","href","/privacy-policy","target","_blank"],["mat-dialog-actions","",1,"common-modal-buttons"],["id","tosusrconsentdilg-continue","type","button","color","primary","mat-raised-button","","cdkFocusInitial","",3,"click"]],template:function(t,e){1&t&&(o.TgZ(0,"div",0),o._UZ(1,"img",1)(2,"br"),o.TgZ(3,"h4"),o._uU(4,"DeciZone has updated the Terms Of Service and Privacy Policy"),o.qZA(),o._UZ(5,"br"),o.TgZ(6,"p"),o._uU(7,"DeciZone has updated the "),o.TgZ(8,"a",2),o._uU(9,"Terms of Service"),o.qZA(),o._uU(10," and "),o.TgZ(11,"a",3),o._uU(12,"Privacy Policy"),o.qZA(),o._uU(13,". If you continue to use DeciZone, you agree to accept the updated Terms of Service and Privacy Policy."),o.qZA(),o.TgZ(14,"div",4)(15,"button",5),o.NdJ("click",function(){return e.confirmYes()}),o._uU(16,"Continue"),o.qZA()()())},dependencies:[d.lW,h.H8],styles:[".tos-consent-container[_ngcontent-%COMP%]{height:100%;width:100%;overflow-y:auto}.tos-consent-image[_ngcontent-%COMP%]{width:90%;max-width:150px;margin:5px auto;display:block}"]}),i})()},52679:(I,P,s)=>{"use strict";s.d(P,{V:()=>i});var h=s(80529),o=s(22858),d=s(94650),l=s(21952);let i=(()=>
1{class r{constructor(e,a){this.httpClient=e,this.clientTicketId="",this.sessionStorage=a}setZendeskTicketNumber(e){this.clientTicketId=e}getZendeskTicketNumber(){return this.clientTicketId}getDzOrgDetailFromIntegration(e){return this.httpClient.get(o.jRh+"?orgIdentifier="+e)}getDzOrgClientDetailFromIntegration(e,a){return this.httpClient.get(o.z82+"?integrationOrgId="+e+"&integrationName="+a)}getClientIntegrationDetailsByOrg(e){return this.httpClient.get(o.UVx+"?orgId="+e)}addClientIntegrationDetail(e){return this.httpClient.post(o.KBK,e,{})}updateClientIntegrationDetail(e){return this.httpClient.put(o.KBK,e,{})}deleteClientIntegratoinDetail(e){const a={headers:new h.WM({"Content-Type":"application/json",Authorization:"Bearer "+this.sessionStorage.getItem("token")}),body:e};return this.httpClient.delete(o.KBK,a)}}return r.\u0275fac=function(e){return new(e||r)(d.LFG(h.eN),d.LFG(l.qo))},r.\u0275prov=d.Yz7({token:r,factory:r.\u0275fac,providedIn:"root"}),r})()},67332:(I,P,s)=>{"use strict";s.d(P,{A:()=>o});var h=s(94650);let o=(()=>{class d{constructor(){}getRecurringTDCPricePerCreditForTeamAccount(i){let r=0;return i+2100>2100&&(r=i),1.3*(.6-Math.min(51e-7*(r-50),.09))}getRecurringVACPricePerCreditForTeamAccount(i){let r=0;return i+10800>10800&&(r=i),1.3*(.1-Math.min(35e-8*(r-100),.03))}getRecurringTDCPricePerCreditForBusinessAccount(i){let r=0;return i+6600>6600&&(r=i),1*(.6-Math.min(51e-7*(r-50),.09))}getRecurringVACPricePerCreditForBusinessAccount(i){let r=0;return i+31200>31200&&(r=i),1*(.1-Math.min(35e-8*(r-100),.03))}getRecurringTDCPricePerCreditForProfessionalAccount(i){let r=0;return i+372>372&&(r=i),1.5*(.6-Math.min(51e-7*(r-50),.09))}getRecurringVACPricePerCreditForProfessionalAccount(i){let r=0;return i+2400>2400&&(r=i),1.5*(.1-Math.min(35e-8*(r-100),.03))}getRecurringTDCPricePerCreditForEnterpriseAccount(i){let r=0;return i+20400>20400&&(r=i),.8*(.6-Math.min(51e-7*(r-50),.09))}getRecurringVACPricePerCreditForEnterpriseAccount(i){let r=0;return i+108e3>108e3&&(r=i),.8*(.1-Math.min(35e-8*(r-100),.03))}getPrepaidTDCPricePerCreditForTeamAccount(i){let r=0;return i+2100>2100&&(r=i),1.3*(.8-Math.min(68e-7*(r-50),.12))}getPrepaidVACPricePerCreditForTeamAccount(i){let r=0;return i+10800>10800&&(r=i),1.3*(.14-Math.min(9e-7*(r-100),.05))}getPrepaidTDCPricePerCreditForBusinessAccount(i){let r=0;return i+6600>6600&&(r=i),1*(.8-Math.min(68e-7*(r-50),.12))}getPrepaidVACPricePerCreditForBusinessAccount(i){let r=0;return i+31200>31200&&(r=i),1*(.14-Math.min(9e-7*(r-100),.05))}getPrepaidTDCPricePerCreditForProfessionalAccount(i){let r=0;return i+372>372&&(r=i),1.5*(.8-Math.min(68e-7*(r-50),.12))}getPrepaidVACPricePerCreditForProfessionalAccount(i){let r=0;return i+2400>2400&&(r=i),1.5*(.14-Math.min(9e-7*(r-100),.05))}getPrepaidTDCPricePerCreditForEnterpriseAccount(i){let r=0;return i+20400>20400&&(r=i),.8*(.8-Math.min(68e-7*(r-50),.12))}getPrepaidVACPricePerCreditForEnterpriseAccount(i){let r=0;return i+108e3>108e3&&(r=i),.8*(.14-Math.min(9e-7*(r-100),.05))}}return d.\u0275fac=function(i){return new(i||d)},d.\u0275prov=h.Yz7({token:d,factory:d.\u0275fac,providedIn:"root"}),d})()},80460:(I,P,s)=>{"use strict";s.d(P,{B:()=>b});var h=s(39646),o=s(54004),d=s(70262),l=s(94650),i=s(4128),r=s(62843),t=s(22858),e=s(80529),a=s(21952),f=s(93531);let v=(()=>{class m{constructor(E,D,_){this._httpClient=E,this._utilService=_,this.fcRenderInput={},this.sessionStorage=D}getSecureFeaturedFcDetails(E){this.fcRenderInput={userSessionId:E};let D=this._utilService.getActiveUserToken();return(0,i.D)([this._httpClient.post(t.zVp,this.fcRenderInput,D),this._httpClient.get(t.EV9)])}getFeaturedFcDetails(E){return null!=this.sessionStorage.getItem("token")?this.getSecureFeaturedFcDetails(E):(this.fcRenderInput={userSessionId:E},(0,i.D)([this._httpClient.post(t.wsO,this.fcRenderInput),this._httpClient.get(t.EV9)]))}handleError(E){return(0,r._)(E.message?E.message:E.status?`${E.status} - ${E.statusText}`:"Server error")}}return m.\u0275fac=function(E){return new(E||m)(l.LFG(e.eN),l.LFG(a.qo),l.LFG(f.f))},m.\u0275prov=l.Yz7({token:m,factory:m.\u0275fac,providedIn:"root"}),m})();var S=s(38058),T=s(19132);let b=(()=>{class m{constructor(E,D,_,y,w){this._featureFcService=E,this._flowchartService=D,this._utilService=_,this.router=w,this.fcRenderDetails={},this.selectedFlowchartDetails={orgId:"",orgName:"",categoryId:"",categoryName:"",subcategoryId:"",subcategoryName:"",goalId:"",goalName:"",canEditFlowchart:"",canEditOwnFlowchart:"",canPublishOwn:"",selectedFlowchart:{flowchartId:"",userAccess:"",privileges:""}},this.sessionStorage=y}resolve(E){this.sessionCookie=this._utilService.getCookie("userSessionId");var D=JSON.parse(JSON.stringify(this.sessionStorage.getObject("flowchart"))),_=this.sessionStorage.getItem("token");if(null!=D){if(D.isFeatured){var w,y=this._flowchartService.prepareToAndFromBoxConnectionsForRender(D);if(_)0===(w=this._flowchartService.searchFlowchartListInCategoryTree(y.goalId,y.goalUrl,y.orgName,y.categoryId,y.subCategoryId)).flowchartList.length&&this._flowchartService._getFlowchartList(y,y.flowchartName,w);return y}this.sessionStorage.removeItem("flowchart")}return this._featureFcService.getFeaturedFcDetails(this.sessionCookie).pipe((0,o.U)(M=>{this.fcRenderDetails=M[0].responseBody,this.fcMetadata=M[1].responseBody;var A=this._flowchartService.prepareBoxConnectionsWithMetadata(this.fcRenderDetails,this.fcMetadata);if(_){var x;0===(x=this._flowchartService.searchFlowchartListInCategoryTree(A.goalId,A.goalUrl,A.orgName,A.categoryId,A.subCategoryId)).flowchartList.length&&this._flowchartService._getFlowchartList(A,A.flowchartName,x);var F=this._flowchartService._getRenderFlowchartPageDetails(A,A.flowchartName,x);return this._flowchartService.setSelectedFlowchartRenderDetails(F),F}return this.sessionStorage.setObject("flowchart",A),this._flowchartService.prepareToAndFromBoxConnectionsForRender(A)||!1}),(0,d.K)(M=>(this.router.navigateByUrl("/setting"),(0,h.of)(null))))}}
1return m.\u0275fac=function(E){return new(E||m)(l.LFG(v),l.LFG(S.q),l.LFG(f.f),l.LFG(a.qo),l.LFG(T.F0))},m.\u0275prov=l.Yz7({token:m,factory:m.\u0275fac}),m})()},52004:(I,P,s)=>{"use strict";s.d(P,{v:()=>v});var h=s(39646),o=s(54004),d=s(70262),l=s(17489),r=s(94650),t=s(38058),e=s(38594),a=s(21952),f=s(19132);let v=(()=>{class S{constructor(b,m,O,E){this._flowchartService=b,this._txnService=m,this.router=E,this.fcRenderDetails={},this.sessionStorage=O}resolve(b,m){var O=JSON.parse(JSON.stringify(this.sessionStorage.getObject("flowchart")));let E="zendesk";var D=m.url;l.startsWith(m.url,"/salesforce")&&(D=m.url.substring(11),E="salesforce");var _=l.split(D,"/");if(console.log(_),null!=O){if(l.isEqual(_[4],O.flowchartId.toString()))return this._flowchartService.prepareToAndFromBoxConnectionsForRender(O);this.sessionStorage.removeItem("flowchart")}return this._txnService.getTransactionFlowchartDetails(E,_[4],_[6],_[5],_[2],null).pipe((0,o.U)(w=>{var M;return this.fcRenderDetails=w[0].responseBody,this.fcMetadata=w[1].responseBody,M=this._flowchartService.prepareBoxConnectionsWithMetadata(this.fcRenderDetails,this.fcMetadata),this.sessionStorage.setObject("flowchart",M),this._flowchartService.prepareToAndFromBoxConnectionsForRender(M)||!1}),(0,d.K)(w=>(0,h.of)(null)))}}return S.\u0275fac=function(b){return new(b||S)(r.LFG(t.q),r.LFG(e.p),r.LFG(a.qo),r.LFG(f.F0))},S.\u0275prov=r.Yz7({token:S,factory:S.\u0275fac}),S})()},29483:(I,P,s)=>{"use strict";s.d(P,{h:()=>l});var h=s(15861),o=s(24766),d=s(94650);let l=(()=>{class i{constructor(){this.tokenKey="sfToken",this.tokenExpiresAtKey="sfTokenExpiresAt",this.tokenHandoffKey="sfTokenHandoff",this.oauthStateKey="sfOAuthState",this.codeVerifierKey="sfPkceCodeVerifier",this.tokenUrlKey="sfOAuthTokenUrl",this.redirectUriKey="sfOAuthRedirectUri",this.authErrorKey="sfOAuthError",this.authErrorAtKey="sfOAuthErrorAt",this.oauthStartedAtKey="sfOAuthStartedAt",this.debugTraceKey="sfOAuthDebugTrace",this.maxPendingLoginAgeMs=12e4}loginWithPkce(){var t=this;return(0,h.Z)(function*(){const e=t.getOAuthStorage();if(t.addDebugTrace("loginWithPkce:start"),t.hasRecentAuthError())return void t.addDebugTrace("loginWithPkce:blockedByRecentAuthError",{error:t.getAuthError()});if(t.hasPendingLogin(e))return void t.addDebugTrace("loginWithPkce:blockedByPendingLogin");const a=t.createRandomString(32),f=t.createRandomString(64),v=yield t.createCodeChallenge(f),S=Sfdc.canvas.oauth.loginUrl(),T=o.N.sfCallbackUrl;e.setItem(t.oauthStateKey,a),e.setItem(t.codeVerifierKey,f),e.setItem(t.tokenUrlKey,t.getTokenUrl(S)),e.setItem(t.redirectUriKey,T),e.setItem(t.oauthStartedAtKey,String(Date.now())),t.addDebugTrace("loginWithPkce:redirectingToSalesforce",{loginUrl:S,tokenUrl:t.getTokenUrl(S),callbackUrl:T,state:a}),Sfdc.canvas.oauth.login({uri:S,params:{response_type:"code",client_id:o.N.sfClientId,redirect_uri:T,code_challenge:v,code_challenge_method:"S256",state:a}})})()}completePkceLogin(t){var e=this;return(0,h.Z)(function*(){e.addDebugTrace("completePkceLogin:start",{callbackUrl:e.sanitizeCallbackUrl(t)});const a=new URL(t),f=a.searchParams.get("code"),v=a.searchParams.get("state"),S=a.searchParams.get("error");if(e.addDebugTrace("completePkceLogin:callbackParams",{hasCode:!!f,state:v,error:S}),S)throw e.addDebugTrace("completePkceLogin:salesforceReturnedError",{error:S}),new Error(S);if(!f)throw e.addDebugTrace("completePkceLogin:missingCode"),new Error("Missing Salesforce authorization code.");const T=e.getOAuthStorage(),b=T.getItem(e.oauthStateKey);if(!v||v!==b)throw e.addDebugTrace("completePkceLogin:stateMismatch",{receivedState:v,expectedState:b}),new Error("Invalid Salesforce OAuth state.");const m=T.getItem(e.codeVerifierKey);if(!m)throw e.addDebugTrace("completePkceLogin:missingCodeVerifier"),new Error("Missing Salesforce PKCE verifier.");const O=T.getItem(e.tokenUrlKey)||e.getTokenUrl(Sfdc.canvas.oauth.loginUrl()),E=T.getItem(e.redirectUriKey)||o.N.sfCallbackUrl;let D;e.addDebugTrace("completePkceLogin:tokenRequestStarting",{tokenUrl:O,redirectUri:E,hasCodeVerifier:!!m});try{D=yield fetch(e.getSalesforceTokenExchangeUrl(),{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({tokenUrl:O,code:f,codeVerifier:m,redirectUri:E})})}catch(w){const M=w&&w.message?w.message:String(w);throw e.addDebugTrace("completePkceLogin:tokenRequestNetworkError",{error:M}),e.storeAuthError(M),w}e.addDebugTrace("completePkceLogin:tokenResponseReceived",{ok:D.ok,status:D.status,statusText:D.statusText,exchangeUrl:e.getSalesforceTokenExchangeUrl()});const _=yield D.json(),y=_&&_.responseBody?_.responseBody:null;if(e.addDebugTrace("completePkceLogin:tokenResponseParsed",{dzStatusCode:_?_.statusCode:null,dzStatusMessage:_?_.statusMessage:null,hasAccessToken:!(!y||!y.access_token),expiresIn:y?y.expires_in:null,error:y?y.error:null,errorDescription:y?y.error_description:null}),!D.ok||!y||!y.access_token||_&&"200"!==_.statusCode){const w=y&&(y.error_description||y.error)||_&&_.statusMessage||"Salesforce token exchange failed.";throw e.storeAuthError(w),new Error(w)}e.storeToken(y.access_token,Number(y.expires_in||7200)),e.addDebugTrace("completePkceLogin:tokenStored",{hasSe
1ssionToken:!!e.getCanvasAppStorage().getItem(e.tokenKey),hasHandoffToken:!!e.getOAuthStorage().getItem(e.tokenHandoffKey)}),e.clearAuthError(),e.clearPendingLogin(),e.addDebugTrace("completePkceLogin:complete")})()}getAccessToken(){const t=this.getCanvasAppStorage();this.consumeTokenHandoff(t);const e=t.getItem(this.tokenKey),a=Number(t.getItem(this.tokenExpiresAtKey)||"0");return e?a&&Date.now()>=a-6e4?(this.clearToken(),""):e:""}hasValidAccessToken(){return this.getAccessToken().length>0}applyTokenToCanvasClient(t){const e=this.getAccessToken();return console.dir("Applying Salesforce token to Canvas client. Token present: "+!!e),!!e&&(console.dir("Applying Salesforce token to Canvas client. Token: "+e),t.oauthToken=e,!0)}clearToken(){const t=this.getCanvasAppStorage(),e=this.getOAuthStorage();t.removeItem(this.tokenKey),t.removeItem(this.tokenExpiresAtKey),e.removeItem(this.tokenHandoffKey)}getAuthError(){return this.getCanvasAppStorage().getItem(this.authErrorKey)||""}hasRecentAuthError(){const t=this.getCanvasAppStorage(),e=t.getItem(this.authErrorKey),a=Number(t.getItem(this.authErrorAtKey)||"0");return!(!e||!a)&&(Date.now()-a<3e5||(this.clearAuthError(),!1))}clearAuthError(){const t=this.getCanvasAppStorage();t.removeItem(this.authErrorKey),t.removeItem(this.authErrorAtKey)}storeToken(t,e){const a=this.getCanvasAppStorage(),f=this.getOAuthStorage(),v=String(Date.now()+1e3*e);a.setItem(this.tokenKey,t),a.setItem(this.tokenExpiresAtKey,v),f.setItem(this.tokenHandoffKey,JSON.stringify({token:t,expiresAt:v,createdAt:Date.now()}))}clearPendingLogin(){const t=this.getOAuthStorage();t.removeItem(this.oauthStateKey),t.removeItem(this.codeVerifierKey),t.removeItem(this.tokenUrlKey),t.removeItem(this.redirectUriKey),t.removeItem(this.oauthStartedAtKey)}storeAuthError(t){const e=this.getCanvasAppStorage();e.setItem(this.authErrorKey,t),e.setItem(this.authErrorAtKey,String(Date.now())),this.clearPendingLogin()}hasPendingLogin(t){const e=Number(t.getItem(this.oauthStartedAtKey)||"0"),a=!!t.getItem(this.oauthStateKey)&&!!t.getItem(this.codeVerifierKey);return!(!e||!a)&&(Date.now()-e<this.maxPendingLoginAgeMs||(this.clearPendingLogin(),!1))}consumeTokenHandoff(t){const e=this.getOAuthStorage(),a=e.getItem(this.tokenHandoffKey);if(a){try{const f=JSON.parse(a),v=Number(f.expiresAt||"0"),S=Number(f.createdAt||"0");f.token&&v>Date.now()&&Date.now()-S<6e4?(t.setItem(this.tokenKey,f.token),t.setItem(this.tokenExpiresAtKey,String(v)),this.addDebugTrace("consumeTokenHandoff:storedInSessionStorage")):this.addDebugTrace("consumeTokenHandoff:expiredOrInvalid")}catch(f){this.addDebugTrace("consumeTokenHandoff:parseError",{error:f&&f.message?f.message:String(f)})}e.removeItem(this.tokenHandoffKey)}else this.addDebugTrace("consumeTokenHandoff:noHandoff")}addDebugTrace(t,e){try{const a=this.getOAuthStorage(),f=a.getItem(this.debugTraceKey),v=f?JSON.parse(f):[];v.push({at:(new Date).toISOString(),step:t,details:e||{}}),a.setItem(this.debugTraceKey,JSON.stringify(v.slice(-50)))}catch{}}sanitizeCallbackUrl(t){try{const e=new URL(t);return e.searchParams.has("code")&&e.searchParams.set("code","[present]"),e.toString()}catch{return"[unparseable callback url]"}}getCanvasAppStorage(){try{if(window.opener&&window.opener.sessionStorage)return window.opener.sessionStorage}catch{}return window.sessionStorage}getOAuthStorage(){try{if(window.opener&&window.opener.localStorage)return window.opener.localStorage}catch{}return window.localStorage}getSalesforceTokenExchangeUrl(){return o.N.apiBaseUrl+"/api/v1/salesforce/oauth/token"}getTokenUrl(t){try{const e=new URL(t);return e.pathname=e.pathname.replace("/authorize","/token"),e.search="",e.hash="",e.toString()}catch{return"https://login.salesforce.com/services/oauth2/token"}}createRandomString(t){const e=new Uint8Array(t);return window.crypto.getRandomValues(e),this.base64UrlEncode(e)}createCodeChallenge(t){var e=this;return(0,h.Z)(function*(){const a=(new TextEncoder).encode(t),f=yield window.crypto.subtle.digest("SHA-256",a);return e.base64UrlEncode(new Uint8Array(f))})()}base64UrlEncode(t){let e="";return t.forEach(a=>e+=String.fromCharCode(a)),btoa(e).replace(/\+/g,"-").replace(/\//g,"_").replace(/=+$/,"")}}return i.\u0275fac=function(t){return new(t||i)},i.\u0275prov=d.Yz7({token:i,factory:i.\u0275fac,providedIn:"root"}),i})()},73360:(I,P,s)=>{"use strict";s.d(P,{A:()=>d});var h=s(94650),o=s(11481);let d=(()=>{class l{constructor(r){this.sanitizer=r}transform(r){return this.sanitizer.bypassSecurityTrustHtml(r)}}return l.\u0275fac=function(r){return new(r||l)(h.Y36(o.H7,16))},l.\u0275pipe=h.Yjl({name:"sanitizeHtml",type:l,pure:!0}),l})()},30221:I=>{window,I.exports=function(P){var s={};
1function h(o){if(s[o])return s[o].exports;var d=s[o]={i:o,l:!1,exports:{}};return P[o].call(d.exports,d,d.exports,h),d.l=!0,d.exports}return h.m=P,h.c=s,h.d=function(o,d,l){h.o(o,d)||Object.defineProperty(o,d,{enumerable:!0,get:l})},h.r=function(o){typeof Symbol<"u"&&Symbol.toStringTag&&Object.defineProperty(o,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(o,"__esModule",{value:!0})},h.t=function(o,d){if(1&d&&(o=h(o)),8&d||4&d&&"object"==typeof o&&o&&o.__esModule)return o;var l=Object.create(null);if(h.r(l),Object.defineProperty(l,"default",{enumerable:!0,value:o}),2&d&&"string"!=typeof o)for(var i in o)h.d(l,i,function(r){return o[r]}.bind(null,i));return l},h.n=function(o){var d=o&&o.__esModule?function(){return o.default}:function(){return o};return h.d(d,"a",d),d},h.o=function(o,d){return Object.prototype.hasOwnProperty.call(o,d)},h.p="",h(h.s=0)}([function(P,s,h){"use strict";function o(){return!!window.getSelection().toString()}function d(n){var c=(window.getSelection().baseNode||window.getSelection().anchorNode).parentNode;return n.some(function(u){return function(g,C){if(Element.prototype.closest)return g.closest(C);Element.prototype.matches||(Element.prototype.matches=Element.prototype.matchesSelector||Element.prototype.mozMatchesSelector||Element.prototype.msMatchesSelector||Element.prototype.oMatchesSelector||Element.prototype.webkitMatchesSelector);var p=g;do{if(p.matches(C))return p;p=p.parentNode}while(null!==p&&p.nodeType===Node.ELEMENT_NODE);return null}(c,u)})}function l(n){var c=n.iconSize,u=n.buttonMargin,g=n.arrowSize,C=n.icons,p=window.getSelection().getRangeAt(0).getBoundingClientRect(),k=c+u,R=window.pageXOffset||document.documentElement.scrollTop||document.body.scrollTop;return{top:p.top+R-k-g,left:p.left+(p.width-k*C.length)/2}}h.r(s);function a(n,c){var u=Object.keys(n);if(Object.getOwnPropertySymbols){var g=Object.getOwnPropertySymbols(n);c&&(g=g.filter(function(C){return Object.getOwnPropertyDescriptor(n,C).enumerable})),u.push.apply(u,g)}return u}function f(n,c,u){return c in n?Object.defineProperty(n,c,{value:u,enumerable:!0,configurable:!0,writable:!0}):n[c]=u,n}function v(n){var c=l(n),u=function(g){for(var C=1;C<arguments.length;C++){var p=null!=arguments[C]?arguments[C]:{};C%2?a(Object(p),!0).forEach(function(k){f(g,k,p[k])}):Object.getOwnPropertyDescriptors?Object.defineProperties(g,Object.getOwnPropertyDescriptors(p)):a(Object(p)).forEach(function(k){Object.defineProperty(g,k,Object.getOwnPropertyDescriptor(p,k))})}return g}({},n,{top:c.top,left:c.left});document.body.appendChild(function e(n){var c=n.top,u=n.left,g=n.iconSize,C=n.buttonMargin,p=n.backgroundColor,k=n.icons,R=n.arrowSize,U=document.createElement("div"),N=g+C;U.className="sharect",U.style.cssText=function(n){return"line-height:0;transition:all .2s ease-in-out;background:"+n+";"}(p),U.style.cssText+=function(n,c){return"position:absolute;border-radius:3px;top:"+n+"px;left:"+c+"px;"}(c,u),U.appendChild(k.icons);var L,G,V=(L={arrowSize:R,backgroundColor:p,buttonSize:N,icons:k},(G=document.createElement("div")).style.cssText=function(n){var c=n.arrowSize;return"position:absolute;border-left:"+c+"px solid transparent;border-right:"+c+"px solid transparent;border-top:"+c+"px solid "+n.backgroundColor+";bottom:-"+(c-1)+"px;left:"+(n.buttonSize*n.icons.length/2-c)+"px;width:0;height:0;"}(L),G);return U.appendChild(V),U}(u))}function S(n,c){var u=Object.keys(n);if(Object.getOwnPropertySymbols){var g=Object.getOwnPropertySymbols(n);c&&(g=g.filter(function(C){return Object.getOwnPropertyDescriptor(n,C).enumerable})),u.push.apply(u,g)}return u}function T(n){for(var c=1;c<arguments.length;c++){var u=null!=arguments[c]?arguments[c]:{};c%2?S(Object(u),!0).forEach(function(g){b(n,g,u[g])}):Object.getOwnPropertyDescriptors?Object.defineProperties(n,Object.getOwnPropertyDescriptors(u)):S(Object(u)).forEach(function(g){Object.defineProperty(n,g,Object.getOwnPropertyDescriptor(u,g))})}return n}function b(n,c,u){return c in n?Object.defineProperty(n,c,{value:u,enumerable:!0,configurable:!0,writable:!0}):n[c]=u,n}var A,x,F,K,j,B;function E(){this.style.transform="scale(1.2)"}function D(){this.style.transform="scale(1)"}function _(n,c,u){return g=n,C=function(){var p,g=(p=u,c.replace(/PAGE_URL/,window.location.href).replace(/TEXT_SELECTION/,window.getSelection().toString()).replace(/USERNAME/,p));window.open(g,"Share","width=550, height=280")},(p=document.createElement("div")).style.cssText="display:inline-block;margin:7px;cursor:pointer;transition:all .2s ease-in-out;",p.innerHTML=g,p.onmousedown=C,p.onmouseover=E,p.onmouseout=D,p;var g,C,p}function y(n,c){var u=Object.keys(n);if(Object.getOwnPropertySymbols){var g=Object.getOwnPropertySymbols(n);c&&(g=g.filter(function(C){return Object.getOwnPropertyDescriptor(n,C).enumerable})),u.push.apply(u,g)}return u}function w(n){for(var c=1;c<arguments.length;c++){var u=null!=arguments[c]?arguments[c]:{};
1c%2?y(Object(u),!0).forEach(function(g){M(n,g,u[g])}):Object.getOwnPropertyDescriptors?Object.defineProperties(n,Object.getOwnPropertyDescriptors(u)):y(Object(u)).forEach(function(g){Object.defineProperty(n,g,Object.getOwnPropertyDescriptor(u,g))})}return n}function M(n,c,u){return c in n?Object.defineProperty(n,c,{value:u,enumerable:!0,configurable:!0,writable:!0}):n[c]=u,n}s.default=(A={twitter:{isActive:!0,username:"",url:"https://twitter.com/intent/tweet?text=TEXT_SELECTION&via=USERNAME&url=PAGE_URL",icon:'<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="M8.2,20.2c6.5,0,11.7-5.2,11.8-11.6c0-0.1,0-0.1,0-0.2c0-0.2,0-0.4,0-0.5c0.8-0.6,1.5-1.3,2.1-2.2c-0.8,0.3-1.6,0.6-2.4,0.7c0.9-0.5,1.5-1.3,1.8-2.3c-0.8,0.5-1.7,0.8-2.6,1c-1.6-1.7-4.2-1.7-5.9-0.1c-1.1,1-1.5,2.5-1.2,3.9C8.5,8.7,5.4,7.1,3.3,4.6c-1.1,1.9-0.6,4.3,1.3,5.5c-0.7,0-1.3-0.2-1.9-0.5l0,0c0,2,1.4,3.7,3.3,4.1c-0.6,0.2-1.2,0.2-1.9,0.1c0.5,1.7,2.1,2.8,3.9,2.9c-1.7,1.4-3.9,2-6.1,1.7C3.8,19.5,6,20.2,8.2,20.2"/></svg>'},facebook:{isActive:!0,url:"https://www.facebook.com/sharer/sharer.php?u=PAGE_URL&quote=TEXT_SELECTION",icon:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" enable-background="new 0 0 24 24" width="24" height="24" class="sharect__icon"><path d="M20,2H4C2.9,2,2,2.9,2,4v16c0,1.1,0.9,2,2,2h16c1.1,0,2-0.9,2-2V4C22,2.9,21.1,2,20,2z M18.4,7.4H17c-0.9,0-1,0.3-1,1l0,1.3 h2.1L18,12h-1.9v7h-3.2v-7h-1.2V9.6h1.2V8.1c0-2,0.8-3.1,3.1-3.1h2.4V7.4z"/></svg>'}},x={},F=["body"],K=[],j="#333",B="#fff",5,14,24,{config:function(n){return void 0!==n.twitter&&(A.twitter.isActive=n.twitter),void 0!==n.facebook&&(A.facebook.isActive=n.facebook),n.twitterUsername&&(A.twitter.username=n.twitterUsername),n.backgroundColor&&(j=n.backgroundColor),n.iconColor&&(B=n.iconColor),n.selectableElements&&(F=n.selectableElements),this},appendCustomShareButtons:function(n){return K=n,this},init:function(){var u,g,n={backgroundColor:j,iconColor:B,arrowSize:5,buttonMargin:14,iconSize:24,selectableElements:F,networks:A,customShareButtons:K};return u=w({},n).iconColor,(g=document.createElement("style")).id="sharect-style",g.innerHTML=".sharect svg{fill:".concat(u,";}"),document.body.appendChild(g),x=function(c){var u=c.networks,g=c.customShareButtons,C=document.createElement("div"),p=0;for(var k in u)if(u[k]&&u[k].isActive){var R=u[k];C.appendChild(_(R.icon,R.url,R.username)),p++}return g.length>0&&g.forEach(function(L){C.appendChild(_(L.icon,L.url)),p++}),{icons:C,length:p}}(w({},n)),function(c){window.addEventListener("mouseup",function(){return function m(n){setTimeout(function(){if(document.querySelector(".sharect")){if(o()&&d(n.selectableElements))return g=(u=l(T({},n))).top,C=u.left,(p=document.querySelector(".sharect")).style.top="".concat(g,"px"),void(p.style.left="".concat(C,"px"));document.body.removeChild(document.querySelector(".sharect"))}var u,g,C,p;o()&&d(n.selectableElements)&&v(T({},n))},10)}(c)},!1)}(w({},n,{icons:x})),this}})}]).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.