PageSourceSearch

https://teachingcouncil.nz/_next/static/chunks/5673.5c9998ae09523aa6.js

js teachingcouncil.nz collected 2026-10-02 07:35:39 UTC 7,262 bytes, 1 lines download raw bytes

1!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},l=(new e.Error).stack;l&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[l]="3752928b-2a9a-4b67-8147-dc83f781da8c",e._sentryDebugIdIdentifier="sentry-dbid-3752928b-2a9a-4b67-8147-dc83f781da8c")}catch(e){}}();"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[5673],{8292:(e,l,t)=>{t.d(l,{default:()=>u});var n=t(76439),i=t(30338),s=t(75625),a=t(13222),r=t(44053),d=t(68359),o=t(28436);let c=(e,l,t,c,u,h)=>{let x={h1:null!=u?u:"",h2:null!=u?u:"",h3:null!=u?u:"",h4:null!=u?u:"",h5:null!=u?u:"",h6:null!=u?u:"",p:null!=u?u:"",strong:(0,r.cn)("font-bold text-inherit",u),em:(0,r.cn)("font-weight-inherit",u),u:(0,r.cn)("font-weight-inherit",u),span:(0,r.cn)("font-weight-inherit",u),ol:(0,r.cn)("text-inherit list-decimal pl-6 py-2",u),ul:(0,r.cn)("text-inherit list-disc pl-6 py-2",u),li:(0,r.cn)("text-inherit py-1",u),a:(0,r.cn)('text-inherit font-bold underline hover:text-text-focus transition-colors duration-300"',u),code:"font-semibold font-mono text-inherit text-sm/5 p-1 bg-muted"};if("a"===e){var m,f,p,g;let e=null==(m=l.attribs)?void 0:m.href,r=(null==(f=l.attribs)?void 0:f.rel)||void 0,c=(0,d.tb)(e)?"_blank":"_self",u=(0,o.zd)(l.children,t);return(0,n.jsx)(i.InlineLink,{tealium:{linkLabel:(0,a.$)(u),linkCategory:null!=h?h:(e=>{let l=(0,d.tb)(e);return(0,d.Ly)()?s.pi.OTHER:l?s.G5.EXTERNAL:s.G5.CONTENT})(e),pageName:(0,d.jR)(null==(g=globalThis)||null==(p=g.location)?void 0:p.pathname)},href:e,rel:r,target:c,className:x.a,children:u})}return(0,n.jsx)(e,{className:(0,r.cn)(x[e],!!c&&(e=>{switch(e){case"0":return"indent-0";case"1":return"indent-4";case"2":return"indent-8";case"3":return"indent-12";case"4":return"indent-16";default:return""}})(c)),children:(0,o.zd)(l.children,t)})},u=e=>{let{htmlString:l,supportedTags:t,className:i,tealiumEventCategory:s}=e,a=((e,l)=>{if("string"!=typeof e||!e)return"";let t=l.map(e=>e.toLowerCase()).join("|"),n=e,i=RegExp("<(?!".concat(t,")([a-zA-Z0-9-]+)(\\s[^>]*)?>([\\s\\S]*?)<\\/\\1>"),"gi");for(;i.test(n);)n=n.replace(i,"");let s=RegExp("<\\/?(?!".concat(t,")([a-zA-Z0-9-]+)[^>]*>"),"gi");return n.replace(s,"")})(l,["p","b","strong","i","em","u","s","br",...t||[]]),r=((e,l)=>{let t={replace(n){if(n instanceof o.Hg){var i,s,a,r,d,u,h,x,m,f;let o=(null==(s=n.attribs)||null==(i=s.style)?void 0:i.includes("indent"))?null==(f=n.attribs)||null==(m
1=f.style)||null==(x=m.split("indent:"))||null==(h=x[1])||null==(u=h.split("text-indent: "))||null==(d=u[0])||null==(r=d.trim())||null==(a=r.split(";"))?void 0:a[0].split("em")[0]:null;switch(n.name){case"p":return c("p",n,t,o,e);case"span":return c("span",n,t,o,e);case"u":return c("u",n,t,o,e);case"strong":return c("strong",n,t,o,e);case"em":return c("em",n,t,o,e);case"ol":return c("ol",n,t,o,e);case"ul":return c("ul",n,t,o,e);case"li":return c("li",n,t,o,e);case"a":return c("a",n,t,o,e,l);case"h1":return c("h1",n,t,o,e);case"h2":return c("h2",n,t,o,e);case"h3":return c("h3",n,t,o,e);case"h4":return c("h4",n,t,o,e);case"h5":return c("h5",n,t,o,e);case"h6":return c("h6",n,t,o,e);case"code":return c("code",n,t,o,e);default:return null}}}};return t})(i,s);return(0,n.jsx)("div",{children:(0,o.Ay)(a,r)})}},30338:(e,l,t)=>{t.d(l,{InlineLink:()=>d});var n=t(76439),i=t(67611),s=t(68359),a=t(55007),r=t(42729);let d=e=>{let{tealium:l,href:t,children:d,className:o,target:c,rel:u,isExternal:h,...x}=e,m=null!=h?h:(0,s.tb)(t);return(0,n.jsxs)(a.LinkIntl,{tealium:l,href:t,className:o,target:c||(m?"_blank":"_self"),rel:u||(m?"noopener noreferrer":void 0),...x,children:[m&&(0,n.jsx)(i.A,{icon:r.WQ,className:"mr-1 align-middle"}),d]})}},35673:(e,l,t)=>{t.r(l),t.d(l,{default:()=>m});var n=t(76439),i=t(44053),s=t(1427),a=t(53657),r=t(68359),d=t(53344),o=t(81524),c=t(8292),u=t(30338),h=t(75625),x=t(9787);let m=e=>{var l;let{primaryImage:t,imagePosition:m,imageCustomPosition:f,heading:p,subheading:g,description:w,callToAction:b,builderState:v}=e,y=(0,r.XC)(b),N=(0,r.tb)(y.slug||""),j=(0,a.Rk)(null==v?void 0:v.content.modelId),k=(0,a.$e)(null==v?void 0:v.content.modelId),A=x.M$.isEditing,I=(0,r.aX)(A,y),L=(0,r.DL)(A,y);return(0,n.jsxs)("div",{className:(0,i.cn)("relative z-20 container flex flex-row items-center bg-dark sm:min-h-[380px]",{"bg-light-30 max-sm:flex-col sm:max-sm:min-h-[380px]":j,"bg-grey-50 max-sm:flex-col sm:max-sm:min-h-[380px]":k}),children:[j&&t&&(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)("div",{className:"relative h-[184px] w-full xs:h-[340px] sm:hidden"}),(0,n.jsx)("div",{className:"absolute top-0 left-0 h-[184px] w-full overflow-hidden xs:h-[340px] sm:hidden",children:(0,n.jsx)(o.A,{image:t,fallbackAlt:p,widths:[620],sizes:"(max-width: 768px) 100vw, 45vw",lazyLoad:!1,imagePosition:m,imageCustomPosition:f})})]}),(0,n.jsx)("div",{className:"flex w-full",children:(0,n.jsxs)("div",{className:(0,i.cn)("flex flex-col gap-2 py-8 sm:py-4",{"sm:max-w-[50vw]! sm:pr-8 2xl:w-[80%]":!!t||!!k,"gap-4 sm:gap-7":k}),children:[p&&(0,n.jsx)(c.default,{htmlString:p,className:(0,i.cn)("font-stag-bold! text-5xl! text-white",{"text-dark":j}),supportedTags:["a","h1"]}),g&&(0,n.jsx)("h3",{className:(0,i.cn)("h3-light text-[26px] leading-8 text-white sm:text-[34px]",{"text-dark":j,"font-roboto text-sm sm:font-stag-sans-light sm:text-[20px] sm:leading-7":k}),children:g}),w&&(0,n.jsx)(c.default,{htmlString:w,className:(0,i.cn)("mt-3.5 text-[20px] leading-7 text-white",{"text-dark":j}),supportedTags:["a"]}),I&&(0,n.jsx)("div",{className:"my-3",children:(0,n.jsx)(d.$,{variant:"white",asChild:!0,className:"h-auto",children:(0,n.jsx)(u.InlineLink,{href:null!=L?L:"",rel:N?"noopener noreferrer":void 0,target:N?"_blank":"_self",tealium:{linkLabel:null!=(l=y.title)?l:"",linkCategory:h.G5.CTA},children:y.title})})})]})}),k&&(0,n.jsxs)("div",{className:(0,i.cn)("bg- absolute right-0 hidden h-full min-h-[380px] flex-row overflow-hidden sm:flex sm:w-[calc(50vw-32px)] xl:w-[30vw] 2xl:w-[30vw]",{flex:j}),children:[(0,n.jsx)("span",{className:"absolute z-1 h-full w-8 bg-yellow"}),(0,n.jsx)(s.default,{src:"/disciplinary-tribunal/dt-logo-white.png",alt:"Disciplinary Tribunal Hero Image",width:300,height:300,className:"mx-auto h-full w-[77%] max-w-97.5 object-contain pl-8"}),(0,n.jsx)(s.default,{src:"/disciplinary-tribunal/dt-hero-pattern.jpg",alt:"Disciplinary Tribunal Hero Pattern",width:521,height:471,className:"absolute -z-1 h-full w-full object-cover"})]}),t&&(0,n.jsxs)("div",{className:(0,i.cn)("absolute right-0 hidden h-full min-h-[380px] flex-row overflow-hidden bg-dark-30 sm:flex sm:w-[calc(50vw-32px)] xl:w-[30vw] 2xl:w-[30vw]",{flex:j}),children:[(0,n.jsx)("span",{className:"absolute z-1 h-full w-8 bg-yellow"}),(0,n.jsx)(o.A,{image:t,fallbackAlt:p,widths:[620],sizes:"(max-width: 768px) 100vw, 45vw",lazyLoad:!1,imagePosition:m,imageCustomPosition:f})]})]})}},53657:(e,l,t)=>{t.d(l,{$e:()=>a,Rk:()=>s});var n=t(69889);t(10453);var i=t(9787);let s=e=>{let l=i.M$.previewingModel===n.LP.PORTAL_PAGE,t=e===n.ws.PORTAL_PAGE||e===n.dS.PORTAL_PAGE;return l||t},a=e=>{let l=i.M$.previewingModel===n.LP.DISCIPLINARY_TRIBUNAL_PAGE,t=e===n.ws.DISCIPLINARY_TRIBUNAL_PAGE||e===n.dS.DISCIPLINARY_TRIBUNAL_PAGE;return l||t}}}]);

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.