PageSourceSearch

https://supermocks.com/_next/static/chunks/8257-96cfc68e80a87ac2.js

js supermocks.com collected 2026-09-24 14:54:06 UTC 20,321 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[8257],{82610:function(e,n,t){t.d(n,{F_:function(){return h},s2:function(){return N},y0:function(){return f}});var s=t(47568),r=t(97582),c=t(6230),a=t.n(c),o=t(29061),u=t(96076),i=t(91997),l=t(19201),d=t(96486);function h(e){var n=e.token,t=e.clientId,s=e.authToken,r=e.userId,c=new(a());c.append("token",n),c.append("client_id",t);var i={};return s&&(i[u.KH]=s),r&&(i[u.JR]=r),o.Z.post("/ytsubscription/connectYT",c,{headers:i})}function f(){return o.Z.post("/ytsubscription/disconnectYT")}function v(){return m.apply(this,arguments)}function m(){return(m=(0,s.Z)((function(){var e,n,t;return(0,r.__generator)(this,(function(s){switch(s.label){case 0:return s.trys.push([0,2,,3]),[4,o.Z.get("/ytsubscription/get-yt-membership-details")];case 1:return e=s.sent(),(n=e.data)?(t=n.data,200===n.status&&t?[2,n]:[2,null]):[2,null];case 2:return s.sent(),[2,null];case 3:return[2]}}))}))).apply(this,arguments)}function g(){return(0,i.vg)(u.JH.YOUTUBE_MEMBERSHIP,v)}function p(e,n,t){var s=arguments.length>3&&void 0!==arguments[3]&&arguments[3];if(!(null===e||void 0===e?void 0:e.data))return s&&l.A.error("Something went wrong"),void n(u.nG.NOT_CONNECTED);var r=e.status,c=e.data,a=e.message;switch(r){case 200:if(c){var o=c.connection_status;switch(o){case u.nG.NOT_CONNECTED:n(u.nG.NOT_CONNECTED),s&&l.A.success("YT Membership not connected");break;case u.nG.CONNECTED:n(u.nG.CONNECTED),s&&l.A.success("YT Membership connected");break;case u.nG.WAITING_FOR_VERIFICATION:n(u.nG.WAITING_FOR_VERIFICATION),s&&l.A.success("Please wait for 24-48 hours after connecting your youtube account");break;default:n(u.nG.NOT_CONNECTED),s&&l.A.error("Something went wrong")}}else n(u.nG.NOT_CONNECTED),s&&l.A.error("Something went wrong");break;case 429:n(u.nG.WAITING_FOR_VERIFICATION),s&&l.A.success("Please wait for 24-48 hours after connecting your youtube account");break;case 422:default:n(u.nG.NOT_CONNECTED),s&&l.A.error("Server Error");break;case 500:if(a===u.nG.YT_NO_SUBSCRIPTION_FOUND){n(u.nG.NOT_CONNECTED),s&&l.A.error("No Youtube Channel Found");break}n(u.nG.NOT_CONNECTED),s&&l.A.error("Server Error")}}function N(e,n){return C.apply(this,arguments)}function C(){return C=(0,s.Z)((function(e,n){var t,s,c,a,o=arguments;return(0,r.__generator)(this,(function(r){switch(r.label){case 0:if(t=o.length>2&&void 0!==o[2]&&o[2],s=o.length>3&&void 0!==o[3]&&o[3],(0,d.isEmpty)(n))return[2];r.label=1;case 1:return r.trys.push([1,6,,7]),t?[4,v()]:[3,3];case 2:return a=r.sent(),[3,5];case 3:return[4,g()];case 4:a=r.sent(),r.label=5;case 5:return p(c=a,e,n,s),t&&(0,i.hb)(u.JH.YOUTUBE_MEMBERSHIP,c),[3,7];case 6:return r.sent(),e(u.nG.NOT_CONNECTED),s&&l.A.error("Something went wrong"),[3,7];case 7:return[2]}}
1))})),C.apply(this,arguments)}},17570:function(e,n,t){t.d(n,{Ek:function(){return y},ZP:function(){return w},em:function(){return b},xm:function(){return C}});var s=t(47568),r=t(26042),c=t(69396),a=t(97582),o=t(85893),u=t(67294),i=t(35739),l=t(70499),d=t(96486),h=t(89885),f=t(41664),v=t.n(f),m=t(82610),g=t(96076),p=t(25003),N=(0,c.Z)((0,r.Z)({},g.nG),{YT_NO_SUBSCRIPTION_FOUND:"YT_NO_SUBSCRIPTION_FOUND"}),C="YouTube memberships can take upto 24 hours to sync.",y=function(){var e=(0,u.useContext)(h.Z).appConfig;return(0,o.jsxs)("div",{className:"font-xs sub-text",children:["By using this website, you agree to comply with and be bound by ".concat(e.web_clientname,"'s "),(0,o.jsx)(v(),{className:"text-reset text-decoration-none",href:"/terms",children:(0,o.jsx)("a",{className:"text-decoration-none no-underline",children:"Terms of Service"})})," , and ",(0,o.jsx)(v(),{className:"text-reset text-decoration-none",href:"/privacy-policy",children:(0,o.jsx)("a",{className:"text-decoration-none no-underline",children:"Privacy Policy"})}),"."]})},b=function(){return(0,o.jsxs)("p",{className:"text-sm font-medium text-muted-foreground mb-0",children:[(0,o.jsx)("span",{className:"text-foreground font-bold",children:"Disclaimer:"})," ",C]})};function w(e){var n,t,r,c=e.onChannelSelect,f=e.buttonText,v=void 0===f?"Connect Your YouTube Membership":f,g=e.handlePostMessage,C=e.onBeforeAuthorize,y=e.isNewYoutubeFlow,w=void 0!==y&&y,x=e.authToken,_=e.userId,T=(0,u.useContext)(h.Z).appConfig,E=(0,u.useState)(null),O=E[0],j=E[1],Z=(0,u.useState)(null),S=(Z[0],Z[1]),I=(0,u.useState)(null),k=I[0],A=I[1],M=(0,u.useState)(!1),Y=M[0],G=M[1],B=function(e){var n;null===c||void 0===c||c(e),null===g||void 0===g||g({success:!0,message:"Success! YT Membership connected",data:null!==(n=e.id)&&void 0!==n?n:e}),G(!1)},F=function(){var e=(0,s.Z)((function(e){var n,t,s,r;return(0,a.__generator)(this,(function(c){switch(c.label){case 0:return c.trys.push([0,2,,3]),[4,(0,m.F_)({token:e,clientId:T.web_googleOAuthClientId,authToken:x,userId:_})];case 1:if(n=c.sent(),t=n.status,s=n.data,200!==t){if(400===t)return null===g||void 0===g||g({success:!1,message:s.message||"Bad Request:Something went wrong while connecting your youtube account",data:s}),[2];if(t>=500)return null===g||void 0===g||g({success:!1,message:s.message||"Server Error",data:s}),[2]}return function(e){var n=e.status,t=e.data,s=e.message;switch(n){case 200:if(t)switch(t.connection_status){case N.NOT_CONNECTED:null===g||void 0===g||g({success:!1,message:"YT Membership not connected",data:e});break;case N.CONNECTED:null===g||void 0===g||g({success:!0,message:"Success! YT Membership connected",data:e});break;case N.WAITING_FOR_VERIFICATION:null===g||void 0===g||g({success:!0,message:"Please wait for 24-48 hours after connecting your youtube account",data:e});break;default:null===g||void 0===g||g({success:!1,message:"Something went wrong while connecting your youtube account",data:e})}else null===g||void 0===g||g({success:!1,message:"Something went wrong while connecting your youtube account",data:e});break;case 429:null===g||void 0===g||g({success:!1,message:"Please wait for 24-48 hours after connecting your youtube account",data:e});break;case 422:null===g||void 0===g||g({success:!1,message:"Server Error",data:e});break;case 500:s===N.YT_NO_SUBSCRIPTION_FOUND?null===g||void 0===g||g({success:!1,message:"No Youtube Channel Found",data:e}):null===g||void 0===g||g({success:!1,message:"Server Error",data:e});break;default:null===g||void 0===g||g({success:!1,message:s||"Something went wrong while connecting your youtube account",data:e})}}(s),[3,3];case 2:return r=c.sent(),console.error("Error fetching channel:",r),null===g||void 0===g||g({success:!1,message:"Please wait for 24-48 hours after connecting your youtube account",data:""}),[3,3];case 3:return[2]}}
1))}));return function(n){return e.apply(this,arguments)}}(),D=function(){var e=(0,s.Z)((function(e){var n,t,s,r;return(0,a.__generator)(this,(function(c){switch(c.label){case 0:return c.trys.push([0,3,,4]),n=T.web_googleYTApiKey,[4,fetch("https://www.googleapis.com/youtube/v3/channels?part=snippet%2CcontentDetails%2Cstatistics&mine=true&key=".concat(n),{method:"GET",headers:{Authorization:"Bearer ".concat(e),Accept:"application/json"}})];case 1:return[4,(t=c.sent()).json()];case 2:return s=c.sent(),t.ok?(function(e){if((0,d.isEmpty)(e))null===g||void 0===g||g({success:!1,message:"No Channels Data Found",data:""});else{var n=e.items;A(e),(0,d.isEmpty)(n)?null===g||void 0===g||g({success:!1,message:"No Channels subscribed",data:""}):1===n.length?B(n[0]):G(!0)}}(s),[3,4]):(null===g||void 0===g||g({success:!1,message:"Please wait for 24-48 hours after connecting your youtube account",data:s}),[2]);case 3:return r=c.sent(),console.error("Error fetching channel:",r),null===g||void 0===g||g({success:!1,message:"Please wait for 24-48 hours after connecting your youtube account",data:""}),[3,4];case 4:return[2]}}
1))}));return function(n){return e.apply(this,arguments)}}(),P=function(){if(window.google){var e=T.web_googleOAuthClientId,n=window.google.accounts.oauth2.initTokenClient({client_id:e,scope:"https://www.googleapis.com/auth/youtube.readonly",callback:function(e){e.error?null===g||void 0===g||g({success:!1,message:"Error during authorization request: ".concat(e.error),data:e.error}):(S(e.access_token),w?F(e.access_token):D(e.access_token))}});j(n)}},R=function(){var e=(0,s.Z)((function(){return(0,a.__generator)(this,(function(e){switch(e.label){case 0:return C?[4,null===C||void 0===C?void 0:C()]:[3,2];case 1:if(!e.sent())return[2];e.label=2;case 2:return O&&O.requestAccessToken({prompt:"consent"}),[2]}}))}));return function(){return e.apply(this,arguments)}}();return(0,u.useEffect)((function(){var e=document.createElement("script");return e.src="https://accounts.google.com/gsi/client",e.async=!0,e.defer=!0,e.onload=P,document.body.appendChild(e),function(){document.body.removeChild(e)}}),[]),(0,o.jsxs)("div",{className:"flex flex-col gap-2",children:[(0,o.jsxs)(i.z,{onClick:R,className:"w-full",variant:"secondary",children:[(0,o.jsx)(p.LK,{className:"size-4 text-[#FF0034]"}),v]}),(0,o.jsx)(l.Vq,{open:Y,onOpenChange:G,children:(0,o.jsxs)(l.cZ,{children:[(0,o.jsx)(l.fK,{children:(0,o.jsx)(l.$N,{children:"Select Channel"})}),(0,o.jsxs)("div",{className:"flex flex-col gap-3",children:[(null!==(n=null===k||void 0===k?void 0:k.items)&&void 0!==n?n:[]).map((function(e){return(0,o.jsx)("div",{className:"cursor-pointer",onClick:function(){return B(e)},children:(0,o.jsxs)("div",{className:"flex items-center gap-3 p-4",children:[(0,o.jsx)("img",{src:null!==(t=e.snippet.thumbnails.default.url)&&void 0!==t?t:"",alt:null!==(r=e.snippet.title)&&void 0!==r?r:"",className:"rounded-full",width:40,height:40}),(0,o.jsx)("p",{className:"text-sm font-bold",children:e.snippet.title})]})},e.id)})),(0,o.jsx)(b,{})]})]})})]})}},25003:function(e,n,t){t.d(n,{K9:function(){return l},LK:function(){return r},Vq:function(){return u},YG:function(){return a},YV:function(){return f},nv:function(){return d},pA:function(){return i},ud:function(){return o},xB:function(){return h},yu:function(){return c}});var s=t(85893),r=function(e){var n=e.className,t=e.style;return(0,s.jsx)("svg",{viewBox:"0 0 24 24",className:n,style:t,fill:"currentColor",children:(0,s.jsx)("path",{d:"M23.5 6.19a3.02 3.02 0 0 0-2.12-2.14C19.54 3.5 12 3.5 12 3.5s-7.54 0-9.38.55A3.02 3.02 0 0 0 .5 6.19C0 8.04 0 12 0 12s0 3.96.5 5.81a3.02 3.02 0 0 0 2.12 2.14C4.46 20.5 12 20.5 12 20.5s7.54 0 9.38-.55a3.02 3.02 0 0 0 2.12-2.14C24 15.96 24 12 24 12s0-3.96-.5-5.81ZM9.75 15.5v-7l6.5 3.5-6.5 3.5Z"})})},c=function(e){var n=e.className,t=e.style;return(0,s.jsx)("svg",{viewBox:"0 0 24 24",className:n,style:t,fill:"currentColor",children:(0,s.jsx)("path",{d:"M12 2.163c3.204 0 3.584.012 4.85.07 1.366.062 2.633.334 3.608 1.31.975.975 1.247 2.242 1.31 3.608.058 1.266.07 1.646.07 4.85s-.012 3.584-.07 4.85c-.063 1.366-.335 2.633-1.31 3.608-.975.975-2.242 1.247-3.608 1.31-1.266.058-1.646.07-4.85.07s-3.584-.012-4.85-.07c-1.366-.063-2.633-.335-3.608-1.31-.975-.975-1.247-2.242-1.31-3.608C2.175 15.584 2.163 15.204 2.163 12s.012-3.584.07-4.85c.063-1.366.335-2.633 1.31-3.608.975-.975 2.242-1.247 3.608-1.31C8.416 2.175 8.796 2.163 12 2.163ZM12 0C8.741 0 8.332.014 7.052.072 5.197.157 3.355.673 2.014 2.014.673 3.355.157 5.197.072 7.052.014 8.332 0 8.741 0 12c0 3.259.014 3.668.072 4.948.085 1.855.601 3.697 1.942 5.038 1.341 1.341 3.183 1.857 5.038 1.942C8.332 23.986 8.741 24 12 24c3.259 0 3.668-.014 4.948-.072 1.855-.085 3.697-.601 5.038-1.942 1.341-1.341 1.857-3.183 1.942-5.038C23.986 15.668 24 15.259 24 12c0-3.259-.014-3.668-.072-4.948-.085-1.855-.601-3.697-1.942-5.038C20.645.673 18.803.157 16.948.072 15.668.014 15.259 0 12 0Zm0 5.838a6.162 6.162 0 1 0 0 12.324 6.162 6.162 0 0 0 0-12.324ZM12 16a4 4 0 1 1 0-8 4 4 0 0 1 0 8Zm6.406-11.845a1.44 1.44 0 1 0 0 2.881 1.44 1.44 0 0 0 0-2.881Z"})})},a=function(e){var n=e.className,t=e.style;return(0,s.jsx)("svg",{viewBox:"0 0 24 24",className:n,style:t,fill:"currentColor",children:(0,s.jsx)("path",{d:"M11.944 0A12 12 0 0 0 0 12a12 12 0 0 0 12 12 12 12 0 0 0 12-12A12 12 0 0 0 12 0a12 12 0 0 0-.056 0Zm4.962 7.224c.1-.002.321.023.465.14a.506.506 0 0 1 .171.325c.016.093.036.306.02.472-.18 1.898-.9
162 6.502-1.36 8.627-.168.9-.499 1.201-.82 1.23-.696.065-1.225-.46-1.9-.902-1.056-.693-1.653-1.124-2.678-1.8-1.185-.78-.417-1.21.258-1.91.177-.184 3.247-2.977 3.307-3.23.007-.032.014-.15-.056-.212s-.174-.041-.249-.024c-.106.024-1.793 1.14-5.061 3.345-.48.33-.913.49-1.302.48-.428-.008-1.252-.241-1.865-.44-.752-.245-1.349-.374-1.297-.789.027-.216.325-.437.893-.663 3.498-1.524 5.83-2.529 6.998-3.014 3.332-1.386 4.025-1.627 4.476-1.635Z"})})},o=function(e){var n=e.className,t=e.style;return(0,s.jsx)("svg",{viewBox:"0 0 24 24",className:n,style:t,fill:"currentColor",children:(0,s.jsx)("path",{d:"M17.472 14.382c-.297-.149-1.758-.867-2.03-.967-.273-.099-.471-.148-.67.15-.197.297-.767.966-.94 1.164-.173.199-.347.223-.644.075-.297-.15-1.255-.463-2.39-1.475-.883-.788-1.48-1.761-1.653-2.059-.173-.297-.018-.458.13-.606.134-.133.298-.347.446-.52.149-.174.198-.298.298-.497.099-.198.05-.371-.025-.52-.075-.149-.669-1.612-.916-2.207-.242-.579-.487-.5-.669-.51-.173-.008-.371-.01-.57-.01-.198 0-.52.074-.792.372-.272.297-1.04 1.016-1.04 2.479 0 1.462 1.065 2.875 1.213 3.074.149.198 2.096 3.2 5.077 4.487.709.306 1.262.489 1.694.625.712.227 1.36.195 1.871.118.571-.085 1.758-.719 2.006-1.413.248-.694.248-1.289.173-1.413-.074-.124-.272-.198-.57-.347m-5.421 7.403h-.004a9.87 9.87 0 0 1-5.031-1.378l-.361-.214-3.741.982.998-3.648-.235-.374a9.86 9.86 0 0 1-1.51-5.26c.001-5.45 4.436-9.884 9.888-9.884 2.64 0 5.122 1.03 6.988 2.898a9.825 9.825 0 0 1 2.893 6.994c-.003 5.45-4.437 9.884-9.885 9.884m8.413-18.297A11.815 11.815 0 0 0 12.05 0C5.495 0 .16 5.335.157 11.892c0 2.096.547 4.142 1.588 5.945L.057 24l6.305-1.654a11.882 11.882 0 0 0 5.683 1.448h.005c6.554 0 11.89-5.335 11.893-11.893a11.821 11.821 0 0 0-3.48-8.413Z"})})},u=function(e){var n=e.className,t=e.style;return(0,s.jsx)("svg",{viewBox:"0 0 24 24",className:n,style:t,fill:"currentColor",children:(0,s.jsx)("path",{d:"M24 12.073C24 5.405 18.627 0 12 0S0 5.405 0 12.073C0 18.1 4.388 23.094 10.125 24v-8.437H7.078v-3.49h3.047V9.41c0-3.025 1.792-4.697 4.533-4.697 1.312 0 2.686.236 2.686.236v2.97H15.83c-1.49 0-1.955.93-1.955 1.886v2.268h3.328l-.532 3.49h-2.796V24C19.612 23.094 24 18.1 24 12.073Z"})})},i=function(e){var n=e.className,t=e.style;return(0,s.jsx)("svg",{viewBox:"0 0 24 24",className:n,style:t,fill:"currentColor",children:(0,s.jsx)("path",{d:"M20.447 20.452h-3.554v-5.569c0-1.328-.027-3.037-1.852-3.037-1.853 0-2.136 1.445-2.136 2.939v5.667H9.351V9h3.414v1.561h.046c.477-.9 1.637-1.85 3.37-1.85 3.601 0 4.267 2.37 4.267 5.455v6.286ZM5.337 7.433a2.062 2.062 0 0 1-2.063-2.065 2.064 2.064 0 1 1 2.063 2.065Zm1.782 13.019H3.555V9h3.564v11.452ZM22.225 0H1.771C.792 0 0 .774 0 1.729v20.542C0 23.227.792 24 1.771 24h20.451C23.2 24 24 23.227 24 22.271V1.729C24 .774 23.2 0 22.222 0h.003Z"})})},l=function(e){var n=e.className,t=e.style;return(0,s.jsx)("svg",{viewBox:"0 0 24 24",className:n,style:t,fill:"currentColor",children:(0,s.jsx)("path",{d:"M12.186 24h-.007c-3.581-.024-6.334-1.205-8.184-3.509C2.35 18.44 1.5 15.586 1.472 12.01v-.017c.03-3.579.879-6.43 2.525-8.482C5.858 1.205 8.611.024 12.193 0h.014c2.747.02 5.043.808 6.824 2.344 1.715 1.476 2.758 3.52 3.1 6.078l-2.498.38c-.56-3.969-2.947-6.013-7.426-6.013h-.01c-2.721.018-4.863.858-6.367 2.498-1.429 1.557-2.166 3.807-2.189 6.685v.014c.023 2.88.76 5.13 2.189 6.685 1.504 1.64 3.646 2.48 6.367 2.498h.01c2.614-.018 4.335-.672 5.635-2.117 1.364-1.517 1.914-3.63 1.699-6.28-.046-.564-.178-1.022-.39-1.357-.206-.325-.494-.547-.886-.677-.215-.07-.451-.112-.7-.125-.046.7-.16 1.365-.346 1.988-.483 1.624-1.413 2.743-2.764 3.323-.925.4-1.985.576-3.161.523-1.075-.05-2.022-.356-2.817-.907-.884-.615-1.414-1.47-1.536-2.474-.123-1.005.18-1.948.876-2.658.668-.678 1.651-1.065 2.834-1.119 1.106-.05 2.136.112 3.048.478.262.105.522.23.778.372a5.68 5.68 0 0 0-.166-1.27c-.24-.873-.755-1.45-1.574-1.76-.561-.211-1.196-.296-1.882-.254-1.08.068-1.847.507-2.34 1.342l-2.15-1.256c.804-1.456 2.179-2.25 4.091-2.37.944-.059 1.89.063 2.815.363 1.515.49 2.56 1.456 3.108 2.877.253.665.397 1.407.434 2.21.024.54.005 1.094-.054 1.65h.002c.08-.011.157-.018.232-.019.734-.01 1.392.13 1.961.421.846.432 1.412 1.162 1.62 2.097.077.344.12.716.128 1.106.244 3.317-.522 6.02-2.276 7.997C17.49 23.13 15.098 23.982 12.186 24Zm-1.5-9.362c.59.026 1.12-.043 1.578-.205.779-.277 1.286-.81 1.504-1.58.136-.48.196-1.007.183-1.57a7.574 7.574 0 0 0-.558-.293c-.706-.308-1.502-.446-2.366-.408-.738.034-1.316.244-1.668.607-.318.326-.455.755-.386 1.239.065.458.33.836.788 1.124.437.278.952.444 1.573.448l-.648-.362Z"})})},d=function(e){var n=e.className,t=e.style;return(0,s.jsx)("svg",{viewBox:"0 0 24 24",className:n,style:t,fill:"currentColor",children:(0,s.jsx)("path",{d:"M18.901 1.153h3.68l-8.04 9.19L24 22.846h-7.406l-5.8-7.584-6.638 7.584H.474l8.6-9.83L0 1.154h7.594l5.243 6.932ZM17.61 20.644h2.039L6.486 3.24H4.298Z"})})},h=function(e){var n=e.className,t=e.style;return(0,s.jsx)("svg",{viewBox:"0 0 24 24",className:n,style:t,fill:"currentColor",children:(0,s.jsx)("path",{d:"M12 0C7.802 0 4 3.403 4 7.602 4 11.8 7.469 16.812 12 24c4.531-7.188 8-12.2 8-16.398C20 3.403 16.199 0 12 0Zm0 11a3 3 0 1 1 0-6 3 3 0 0 1 0 6Z"})})},f=function(e){var n=e.className,t=e.style;return(0,s.jsx)("svg",{viewBox:"0 0 24 24",className:n,style:t,fill:"currentColor",children:(0,s.jsx)("path",{d:"M.057 24l1.687-6.163a11.867 11.867 0 0 1-1.587-5.946C.16 5.335 5.495 0 12.05 0a11.817 11.817 0 0 1 8.413 3.488 11.824 11.824 0 0 1 3.48 8.414c-.003 6.557-5.338 11.892-11.893 11.892a11.9 11.9 0 0 1-5.688-1.448L.057 24Zm6.597-3.807c1.676.995 3.276 1.591 5.392 1.592 5.448 0 9.886-4.434 9.889-9.885.002-5.462-4.415-9.89-9.881-9.892-5.452 0-9.887 4.434-9.889 9.884-.001 2.225.651 3.891 1.746 5.634l-.999 3.648 3.742-.981Zm11.387-5.464c-.074-.124-.272-.198-.57-.347-1.758-.867-2.03-.967-2.327-.099-.198.297-.767.966-.941 1.164-.173.199-.347.223-.644.075-.297-.15-1.255-.463-2.39-1.475-.883-.788-1.48-1.761-1.653-2.059-.173-.297-.018-.458.13-.606.134-.133.298-.347.446-.52.149-.174.198-.298.298-.497.099-.198.05-.371-.025-.52-.075-.149-.669-1.612-.916-2.207-.242-.579-.487-.5-.669-.51-.173-.008-.371-.01-.57-.01-.
1198 0-.52.074-.792.372-.272.297-1.04 1.016-1.04 2.479 0 1.462 1.065 2.875 1.213 3.074.149.198 2.095 3.2 5.076 4.487.709.306 1.263.489 1.694.625.712.227 1.36.195 1.871.118.571-.085 1.758-.719 2.006-1.413.248-.694.248-1.289.173-1.413Z"})})}},92353:function(e,n,t){t.d(n,{t:function(){return h}});var s=t(47568),r=t(97582),c=t(67294),a=t(96486),o=t(19201),u=t(82610),i=t(96076),l=t(89885),d=t(93520);function h(){var e=(0,c.useContext)(l.Z),n=e.currentUser,t=e.hasSession,h=e.setYoutubeMembershipStatus,f=e.toggleConfirmationModal,v=e.appConfig;(0,c.useEffect)((function(){t&&(0,d.hb)(v.web_enableConnectYT)&&(0,u.s2)(h,p(),!0,!1)}),[n]);var m=function(){var e=(0,s.Z)((function(e){var t,s,c,a,i;return(0,r.__generator)(this,(function(r){switch(r.label){case 0:return r.trys.push([0,4,,5]),[4,(0,u.F_)(e)];case 1:return t=r.sent(),(s=t.data)?(c=s.success,a=s.message,c?[4,(0,u.s2)(h,n,!0,!0)]:(o.A.error(a||"Failed to connect channel"),[2,!1])):[3,3];case 2:return r.sent(),[2,!0];case 3:return[2,!1];case 4:return i=r.sent(),console.error("Error connecting channel:",i),o.A.error("Something went wrong"),[2,!1];case 5:return[2]}}
1))}));return function(n){return e.apply(this,arguments)}}(),g=function(){var e=(0,s.Z)((function(){var e,n,t,s;return(0,r.__generator)(this,(function(r){switch(r.label){case 0:return r.trys.push([0,2,,3]),[4,(0,u.y0)()];case 1:return e=r.sent(),(n=e.data)?(t=n.message,200===n.status?(h(i.nG.NOT_CONNECTED),o.A.success("Channel disconnected successfully"),[2,!0]):(o.A.error(t||"Failed to disconnect channel"),[2,!1])):[2,!1];case 2:return s=r.sent(),console.error("Error disconnecting channel:",s),h(i.nG.NOT_CONNECTED),o.A.error("Something went wrong"),[2,!1];case 3:return[2]}}))}));return function(){return e.apply(this,arguments)}}(),p=function(){var e=n;if((0,a.isEmpty)(e))try{e=JSON.parse(localStorage.getItem(i.gm))}catch(t){console.error("error",t),null===f||void 0===f||f(!0),o.A.error("Something went wrong")}return e};return{connectChannel:m,disconnectChannel:g,checkYoutubeMembership:function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],n=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];return(0,u.s2)(h,p(),e,n)}}}}}]);

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.