1// For license information, see `RCa48a3b04d7ba4aebb0bce65900bdb0bc-source.js` within the same directory. 2_satellite.__registerScript('/content/dam/public/dtm/wbc/launch-EN05fb55e8cfed49ba8f881781f47d5522/cf63e89810c4/c4e4fe46a295/b0e6c2445987/RCa48a3b04d7ba4aebb0bce65900bdb0bc-source.min.js', "function getRouteMappings(){if(!window._satellite||\"function\"!=typeof window._satellite.getVar)throw new Error(\"_satellite.getVar is unavailable. Cannot load route mappings.\");const e=window._satellite.getVar(ROUTE_MAPPING_DATA_ELEMENT);if(!Array.isArray(e)||0===e.length)throw new Error(\"Route mapping Data Element is empty or invalid.\");return e}function getAssessmentIdFromSessionStorage(){try{const e=window.sessionStorage.getItem(\"productAssessmentsParams\");if(!e)return\"\";const o=JSON.parse(e);return o&&o.assessmentId?o.assessmentId:\"\"}catch(e){return console.error(\"Unable to parse sessionStorage.productAssessmentsParams:\",e.message),\"\"}}console.log(\"In DDO/window.ddo - After page load\");var soleTraderFlowUrlPatterns=[\"business-banking/transaction-accounts/business-one/summary\",\"business-banking/transaction-accounts/business-one-plus/summary\",\"business-banking/savings-accounts/cash-reserve/summary\",\"business-banking/bank-accounts/foreign-currency-account/summary\"];window.ddoAccountType=\"single\",window.ddoBusinessType=\"\",window.ddoNewFormName=\"\",window.ddoProduct=\"\",window.ddoProductName=\"\",window.ddoProductFamily=\"\",window.ddoProductCategory=\"\",window.ddoProductSubCategory=\"\",window.ddoProd=\"\";const ROUTE_MAPPING_DATA_ELEMENT=\"DDO - Route Mapping Config\";setTimeout((()=>{function e(e){window.ddoProduct=e.Product||\"\",window.ddoProductCategory=e.ProductCategory||\"\",window.ddoProductFamily=e.ProductFamily||\"\",window.ddoProductName=e.ProductName||\"\",window.ddoProductSubCategory=e.ProductSubCategory||\"\",window.ddoProd=e.prod||\"\",a&&(void 0!==e.Product&&(pageDetails.productID[0].Product=e.Product),void 0!==e.ProductCategory&&(pageDetails.productID[0].ProductCategory=e.ProductCategory),void 0!==e.ProductFamily&&(pageDetails.productID[0].ProductFamily=e.ProductFamily),void 0!==e.ProductName&&(pageDetails.productID[0].ProductName=e.ProductName),void 0!==e.ProductSubCategory&&(pageDetails.productID[0].ProductSubCategory=e.ProductSubCategory),void 0!==e.prod&&(pageDetails.productID[0].prod=e.prod),void 0!==e.merch&&(pageDetails.productID[0].merch=e.merch))}function o(e){window.ddoNewFormName=e,t&&(pageDetails.newFormName=e)}const t=\"undefined\"!=typeof pageDetails&&pageDetails,a=t&&Array.isArray(pageDetails.productID)&&pageDetails.productID.length>0&&pageDetails.productID[0];if(t){pageDetails.channel=\"digital\",pageDetails.pageAction=\"start\",pageDetails.pageType=\"application\",pageDetails.journeyType=\"auth\",pageDetails.cusRelationType=\"etb\",pageDetails.accountType=\"single\",pageDetails.hasRetrievedApplication=!1;var s=soleTraderFlowUrlPatterns.some((function(e){return window.location.pathname.includes(e)}));pageDetails.businessType=s?\"sole trader\":\"\",window.ddoBusinessType=pageDetails.businessType;const e=getAssessmentIdFromSessionStorage();e&&(pageDetails.journeyId=e)}const r=window.location.pathname;let n;try{n=getRouteMappings()}catch(e){return void console.error(\"Unable to resolve route mappings from Data Element:\",e.message)}const d=n.find((e=>r.includes(e.match)));d?(e(d.product),o(d.formName),d.setStp&&t&&(pageDetails.formIsSTP=\"true\",pageDetails.formType=\"stp\")):console.log(\"Not matched\")}),1e3);");
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.