@coding-blocks/web-components
Advanced tools
Comparing version 0.6.0 to 1.0.0
@@ -1,1 +0,1 @@ | ||
!function(t,e){"object"==typeof exports&&"undefined"!=typeof module?module.exports=e():"function"==typeof define&&define.amd?define(e):(t=t||self).cbNavbar=e()}(this,(function(){"use strict";function t(){}function e(t){return t()}function n(){return Object.create(null)}function o(t){t.forEach(e)}function s(t){return"function"==typeof t}function l(t,e){return t!=t?e==e:t!==e||t&&"object"==typeof t||"function"==typeof t}let c,r;function a(t,e){return c||(c=document.createElement("a")),c.href=e,t===c.href}function i(t,e){t.appendChild(e)}function d(t,e,n){t.insertBefore(e,n||null)}function u(t){t.parentNode.removeChild(t)}function h(t){return document.createElement(t)}function m(t){return document.createTextNode(t)}function p(){return m(" ")}function f(t,e,n,o){return t.addEventListener(e,n,o),()=>t.removeEventListener(e,n,o)}function g(t,e,n){null==n?t.removeAttribute(e):t.getAttribute(e)!==n&&t.setAttribute(e,n)}function b(t){const e={};for(const n of t)e[n.name]=n.value;return e}function v(t){r=t}const k=[],$=[],y=[],_=[],x=Promise.resolve();let C=!1;function w(t){y.push(t)}const j=new Set;let E=0;function M(){const t=r;do{for(;E<k.length;){const t=k[E];E++,v(t),A(t.$$)}for(v(null),k.length=0,E=0;$.length;)$.pop()();for(let t=0;t<y.length;t+=1){const e=y[t];j.has(e)||(j.add(e),e())}y.length=0}while(k.length);for(;_.length;)_.pop()();C=!1,j.clear(),v(t)}function A(t){if(null!==t.fragment){t.update(),o(t.before_update);const e=t.dirty;t.dirty=[-1],t.fragment&&t.fragment.p(t.ctx,e),t.after_update.forEach(w)}}const L=new Set;let P,T;function H(){P={r:0,c:[],p:P}}function D(){P.r||o(P.c),P=P.p}function B(t,e){t&&t.i&&(L.delete(t),t.i(e))}function O(t,e,n,o){if(t&&t.o){if(L.has(t))return;L.add(t),P.c.push(()=>{L.delete(t),o&&(n&&t.d(1),o())}),t.o(e)}else o&&o()}function J(t){t&&t.c()}function R(t,n,l,c){const{fragment:r,on_mount:a,on_destroy:i,after_update:d}=t.$$;r&&r.m(n,l),c||w(()=>{const n=a.map(e).filter(s);i?i.push(...n):o(n),t.$$.on_mount=[]}),d.forEach(w)}function S(t,e){const n=t.$$;null!==n.fragment&&(o(n.on_destroy),n.fragment&&n.fragment.d(e),n.on_destroy=n.fragment=null,n.ctx=[])}function I(t,e){-1===t.$$.dirty[0]&&(k.push(t),C||(C=!0,x.then(M)),t.$$.dirty.fill(0)),t.$$.dirty[e/31|0]|=1<<e%31}function N(e,s,l,c,a,i,d,h=[-1]){const m=r;v(e);const p=e.$$={fragment:null,ctx:null,props:i,update:t,not_equal:a,bound:n(),on_mount:[],on_destroy:[],on_disconnect:[],before_update:[],after_update:[],context:new Map(s.context||(m?m.$$.context:[])),callbacks:n(),dirty:h,skip_bound:!1,root:s.target||m.$$.root};d&&d(p.root);let f=!1;if(p.ctx=l?l(e,s.props||{},(t,n,...o)=>{const s=o.length?o[0]:n;return p.ctx&&a(p.ctx[t],p.ctx[t]=s)&&(!p.skip_bound&&p.bound[t]&&p.bound[t](s),f&&I(e,t)),n}):[],p.update(),f=!0,o(p.before_update),p.fragment=!!c&&c(p.ctx),s.target){if(s.hydrate){const t=function(t){return Array.from(t.childNodes)}(s.target);p.fragment&&p.fragment.l(t),t.forEach(u)}else p.fragment&&p.fragment.c();s.intro&&B(e.$$.fragment),R(e,s.target,s.anchor,s.customElement),M()}v(m)}function F(e){let n;return{c(){n=h("div"),n.innerHTML='<ul class="col-4"><li class="bold">Beginner Courses</li> \n <li><a href="https://codingblocks.com/classroom-courses/c-plus-plus-for-beginners.html" target="_blank">C++ For Beginners</a></li> \n <li><a href="https://codingblocks.com/classroom-courses/java-for-beginners.html" target="_blank">Java For Beginners</a></li> \n <li><a href="https://codingblocks.com/classroom-courses/python-app-dev.html" target="_blank">Python App Development</a></li></ul> \n <ul class="col-4"><li class="bold">Development Courses</li> \n <li><a href="https://codingblocks.com/classroom-courses/android-app-development-using-kotlin-and-java.html" target="_blank">Android App Dev</a></li> \n <li><a href="https://codingblocks.com/classroom-courses/web-development-nodejs.html" target="_blank">Full Stack Web Dev</a></li> \n <li><a href="https://codingblocks.com/classroom-courses/web-development-django.html" target="_blank">Python Django</a></li> \n <li><a href="https://codingblocks.com/classroom-courses/unity-game-development.html" target="_blank">Unity Game Development</a></li></ul> \n <ul class="col-4"><li class="bold">Advanced Courses</li> \n <li><a href="https://codingblocks.com/classroom-courses/advanced-data-structures-and-algorithms-for-interviews.html" target="_blank">Algo++</a></li> \n <li><a href="https://codingblocks.com/classroom-courses/advanced-data-structures-and-algorithms-using-java.html" target="_blank">Algo.Java</a></li> \n <li><a href="https://codingblocks.com/classroom-courses/competitive-programming.html" target="_blank">Competitive Programming</a></li> \n <li><a href="https://codingblocks.com/classroom-courses/machine-learning-with-deep-learning.html">Machine Learning</a></li></ul> \n <ul class="col-4"><li class="bold">Junior Courses</li> \n <li><a href="https://codingblocks.com/classroom-courses/code4kids.html" target="_blank">Code 4 Kids</a></li> \n <li><a href="https://codingblocks.com/classroom-courses/mathsgeeks.html" target="_blank">Maths Geek</a></li></ul> \n <ul class="col-4"><li class="bold">Bootcamps</li> \n <li><a href="https://codingblocks.com/bootcamps/react.html" target="_blank">React JS</a></li> \n <li><a href="https://codingblocks.com/bootcamps/blockchain.html" target="_blank">Blockchain</a></li> \n <li><a href="https://codingblocks.com/bootcamps/coding-interview-preparation.html" target="_blank">Interview Preparation</a></li> \n <li><a href="https://codingblocks.com/bootcamps/gamedev.html" target="_blank">Game Dev</a></li> \n <li><a href="https://codingblocks.com/bootcamps/chatbots.html" target="_blank">Chatbot</a></li></ul> \n <ul class="col-4"><li class="bold">Professional</li> \n <li><a href="https://codingblocks.com/classroom-courses/six_months_ind_training.html" target="_blank">Industrial Training</a></li></ul>',this.c=t,g(n,"class","row justify-content-around m-5")},m(t,e){d(t,n,e)},p:t,i:t,o:t,d(t){t&&u(n)}}}"function"==typeof HTMLElement&&(T=class extends HTMLElement{constructor(){super(),this.attachShadow({mode:"open"})}connectedCallback(){const{on_mount:t}=this.$$;this.$$.on_disconnect=t.map(e).filter(s);for(const t in this.$$.slotted)this.appendChild(this.$$.slotted[t])}attributeChangedCallback(t,e,n){this[t]=n}disconnectedCallback(){o(this.$$.on_disconnect)}$destroy(){S(this,1),this.$destroy=t}$on(t,e){const n=this.$$.callbacks[t]||(this.$$.callbacks[t]=[]);return n.push(e),()=>{const t=n.indexOf(e);-1!==t&&n.splice(t,1)}}$set(t){var e;this.$$set&&(e=t,0!==Object.keys(e).length)&&(this.$$.skip_bound=!0,this.$$set(t),this.$$.skip_bound=!1)}});class G extends T{constructor(t){super(),N(this,{target:this.shadowRoot,props:b(this.attributes),customElement:!0},null,F,l,{},null),t&&t.target&&d(t.target,this,t.anchor)}}function U(e){let n;return{c(){n=h("div"),n.innerHTML='<ul class="col-4"><li class="bold mb-3">Beginner Courses</li> \n <li><a href="https://online.codingblocks.com/courses/c-plus-plus-online-course-for-beginners">C++ Master Course | Launchpad</a></li> \n <li><a href="https://online.codingblocks.com/courses/complete-java-course-online">Java Master Course | Crux</a></li> \n <li><a href="https://online.codingblocks.com/courses/python-for-beginners-developers">Python For Developers</a></li></ul> \n <ul class="col-4"><li class="bold mb-3">Advanced Courses</li> \n <li><a href="https://online.codingblocks.com/courses/python-django">Web Dev with Python-Django</a></li> \n <li><a href="https://online.codingblocks.com/courses/coding-interview-preparation-online">Interview Prep Bootcamp</a></li> \n <li><a href="https://online.codingblocks.com/courses/data-structures-and-algorithms-online-course-java-algo">Algo.Java Online</a></li> \n <li><a href="https://online.codingblocks.com/courses/android-app-training-online">Android App Development Online</a></li> \n <li><a href="https://online.codingblocks.com/courses/telegram-chatbot-python-online">Build Chatbots in Python</a></li></ul> \n <ul class="col-4"><li class="bold mb-3">Expert Courses</li> \n <li><a href="https://online.codingblocks.com/courses/competitive-programming-course-online">Competitive Programming Online</a></li> \n <li><a href="https://online.codingblocks.com/courses/coding-interview-preparation-course-online-c-plus-plus">Interview Preparation - C++</a></li> \n <li><a href="https://online.codingblocks.com/courses/machine-learning-course-online">Machine Learning Master Course</a></li> \n <li><a href="https://online.codingblocks.com/courses/coding-interview-preparation-course-online-java">Interview Preparation - Java</a></li></ul>',this.c=t,g(n,"class","row justify-content-around m-5")},m(t,e){d(t,n,e)},p:t,i:t,o:t,d(t){t&&u(n)}}}customElements.define("classroom-courses",G);class W extends T{constructor(t){super(),N(this,{target:this.shadowRoot,props:b(this.attributes),customElement:!0},null,U,l,{},null),t&&t.target&&d(t.target,this,t.anchor)}}function q(t){let e,n,s,l,c,r,a,m,b,v,k,$,y,_,x,C,w,j;const E=[z,K],M=[];function A(t,e){return"classroom"==t[1]?0:1}return _=A(t),x=M[_]=E[_](t),{c(){var o,i,d,u;e=h("div"),n=h("div"),s=h("div"),s.innerHTML='<div class="font-lg my-4 offset-3">Our Courses</div>',l=p(),c=h("div"),r=h("div"),r.innerHTML='<div>Online Courses</div> \n <a href="https://online.codingblocks.com/courses" target="_blank" class="font-mds orange">Explore all</a>',m=p(),b=h("div"),v=h("div"),v.innerHTML='<div>Classroom Courses</div> \n <a href="https://codingblocks.com/classroom-courses/" target="_blank" class="font-mds orange">Explore all</a>',$=p(),y=h("div"),x.c(),g(s,"class","py-5 font-md bold hover-grey"),g(r,"class","offset-3"),g(c,"class",a="py-4 font-md bold hover-grey "+("online"==t[1]&&"selected")),g(v,"class","offset-3"),g(b,"class",k="py-4 font-md bold hover-grey "+("classroom"==t[1]&&"selected")),g(n,"class","cb-navbar-side col-3"),g(y,"class","col-9 font-mds"),g(e,"class","row no-gutters cb-navbar-expanded"),o=e,i="overflow",null===(d="hidden")?o.style.removeProperty(i):o.style.setProperty(i,d,u?"important":"")},m(o,a){d(o,e,a),i(e,n),i(n,s),i(n,l),i(n,c),i(c,r),i(n,m),i(n,b),i(b,v),i(e,$),i(e,y),M[_].m(y,null),C=!0,w||(j=[f(c,"click",t[6]),f(b,"click",t[7])],w=!0)},p(t,e){(!C||2&e&&a!==(a="py-4 font-md bold hover-grey "+("online"==t[1]&&"selected")))&&g(c,"class",a),(!C||2&e&&k!==(k="py-4 font-md bold hover-grey "+("classroom"==t[1]&&"selected")))&&g(b,"class",k);let n=_;_=A(t),_!==n&&(H(),O(M[n],1,1,()=>{M[n]=null}),D(),x=M[_],x||(x=M[_]=E[_](t),x.c()),B(x,1),x.m(y,null))},i(t){C||(B(x),C=!0)},o(t){O(x),C=!1},d(t){t&&u(e),M[_].d(),w=!1,o(j)}}}function K(t){let e,n;return e=new W({}),{c(){J(e.$$.fragment)},m(t,o){R(e,t,o),n=!0},i(t){n||(B(e.$$.fragment,t),n=!0)},o(t){O(e.$$.fragment,t),n=!1},d(t){S(e,t)}}}function z(t){let e,n;return e=new G({}),{c(){J(e.$$.fragment)},m(t,o){R(e,t,o),n=!0},i(t){n||(B(e.$$.fragment,t),n=!0)},o(t){O(e.$$.fragment,t),n=!1},d(t){S(e,t)}}}function Q(e){let n,o,s,l,c,r,b,v,k,$,y,_,x,C,w,j,E,M,A,L,P,T,J,R,S,I,N,F,G=e[0]&&q(e);return{c(){n=h("div"),o=h("div"),s=h("div"),l=h("span"),c=m("Courses\n "),r=h("img"),v=p(),k=h("div"),k.innerHTML='<a href="https://codingblocks.com/about.html" target="_blank">About Us</a>',$=p(),y=h("div"),y.innerHTML='<a href="https://codingblocks.com/resources" target="_blank">Resources</a>',_=p(),x=h("div"),x.innerHTML='<a href="https://codingblocks.com/campus-ambassador-program.html" target="_blank">Campus Ambassadors</a>',C=p(),w=h("div"),w.innerHTML='<a href="https://codingblocks.com/centres/" target="_blank">Contact Us</a>',j=p(),E=h("slot"),A=p(),G&&G.c(),L=p(),P=h("link"),T=p(),J=h("link"),R=p(),S=h("link"),this.c=t,a(r.src,b="https://minio.cb.lk/public/fa-5.13/svgs/solid/chevron-"+(e[0]?"up":"down")+".svg")||g(r,"src",b),g(r,"alt","chevron"),g(r,"class","d-inline s-10x10"),g(l,"class","px-3 pointer"),g(k,"class","px-3"),g(y,"class","px-3"),g(x,"class","px-3"),g(w,"class","px-3"),g(E,"name","header"),g(s,"class",M="d-flex "+e[3]+" py-3 pr-5"),g(o,"class","border"),g(n,"class","a-hb d-md-block d-none"),g(P,"rel","stylesheet"),g(P,"href",e[2]),g(J,"href","https://fonts.googleapis.com/css?family=Nunito+Sans:400,600,700,800"),g(J,"rel","stylesheet"),g(S,"href","https://minio.codingblocks.com/hackerblocks-images/Gilroy.ttf"),g(S,"rel","stylesheet")},m(t,a){d(t,n,a),i(n,o),i(o,s),i(s,l),i(l,c),i(l,r),i(s,v),i(s,k),i(s,$),i(s,y),i(s,_),i(s,x),i(s,C),i(s,w),i(s,j),i(s,E),i(n,A),G&&G.m(n,null),d(t,L,a),d(t,P,a),d(t,T,a),d(t,J,a),d(t,R,a),d(t,S,a),I=!0,N||(F=f(l,"click",e[4]),N=!0)},p(t,[e]){(!I||1&e&&!a(r.src,b="https://minio.cb.lk/public/fa-5.13/svgs/solid/chevron-"+(t[0]?"up":"down")+".svg"))&&g(r,"src",b),(!I||8&e&&M!==(M="d-flex "+t[3]+" py-3 pr-5"))&&g(s,"class",M),t[0]?G?(G.p(t,e),1&e&&B(G,1)):(G=q(t),G.c(),B(G,1),G.m(n,null)):G&&(H(),O(G,1,1,()=>{G=null}),D()),(!I||4&e)&&g(P,"href",t[2])},i(t){I||(B(G),I=!0)},o(t){O(G),I=!1},d(t){t&&u(n),G&&G.d(),t&&u(L),t&&u(P),t&&u(T),t&&u(J),t&&u(R),t&&u(S),N=!1,F()}}}function V(t,e,n){let{topalign:o="center"}=e,{expanded:s=!1}=e,{tab:l="online"}=e,{css:c="https://unpkg.com/@coding-blocks/motley/dist/app.min.css"}=e,r="justify-content-center";return t.$$set=t=>{"topalign"in t&&n(5,o=t.topalign),"expanded"in t&&n(0,s=t.expanded),"tab"in t&&n(1,l=t.tab),"css"in t&&n(2,c=t.css)},t.$$.update=()=>{if(32&t.$$.dirty)switch(o){case"left":n(3,r="justify-content-start");break;case"right":n(3,r="justify-content-end");break;default:n(3,r="justify-content-center")}},[s,l,c,r,()=>n(0,s=!s),o,()=>n(1,l="online"),()=>n(1,l="classroom")]}customElements.define("online-courses",W);class X extends T{constructor(t){super(),this.shadowRoot.innerHTML="<style>a:hover{text-decoration:underline}.hover-grey.selected:hover{background:unset}.a-hb{display:none}</style>",N(this,{target:this.shadowRoot,props:b(this.attributes),customElement:!0},V,Q,l,{topalign:5,expanded:0,tab:1,css:2},null),t&&(t.target&&d(t.target,this,t.anchor),t.props&&(this.$set(t.props),M()))}static get observedAttributes(){return["topalign","expanded","tab","css"]}get topalign(){return this.$$.ctx[5]}set topalign(t){this.$$set({topalign:t}),M()}get expanded(){return this.$$.ctx[0]}set expanded(t){this.$$set({expanded:t}),M()}get tab(){return this.$$.ctx[1]}set tab(t){this.$$set({tab:t}),M()}get css(){return this.$$.ctx[2]}set css(t){this.$$set({css:t}),M()}}return customElements.define("cb-navbar",X),X})); | ||
!function(t,e){"object"==typeof exports&&"undefined"!=typeof module?module.exports=e():"function"==typeof define&&define.amd?define(e):(t=t||self).cbNavbar=e()}(this,(function(){"use strict";function t(){}function e(t){return t()}function s(){return Object.create(null)}function n(t){t.forEach(e)}function o(t){return"function"==typeof t}function a(t,e){return t!=t?e==e:t!==e||t&&"object"==typeof t||"function"==typeof t}let i,c;function l(t,e){return i||(i=document.createElement("a")),i.href=e,t===i.href}function r(t,e){t.appendChild(e)}function d(t,e,s){t.insertBefore(e,s||null)}function u(t){t.parentNode.removeChild(t)}function h(t){return document.createElement(t)}function p(t){return document.createTextNode(t)}function m(){return p(" ")}function g(t,e,s,n){return t.addEventListener(e,s,n),()=>t.removeEventListener(e,s,n)}function f(t,e,s){null==s?t.removeAttribute(e):t.getAttribute(e)!==s&&t.setAttribute(e,s)}function b(t){const e={};for(const s of t)e[s.name]=s.value;return e}function v(t){c=t}const k=[],$=[],w=[],x=[],y=Promise.resolve();let _=!1;function C(t){w.push(t)}const T=new Set;let j=0;function E(){const t=c;do{for(;j<k.length;){const t=k[j];j++,v(t),A(t.$$)}for(v(null),k.length=0,j=0;$.length;)$.pop()();for(let t=0;t<w.length;t+=1){const e=w[t];T.has(e)||(T.add(e),e())}w.length=0}while(k.length);for(;x.length;)x.pop()();_=!1,T.clear(),v(t)}function A(t){if(null!==t.fragment){t.update(),n(t.before_update);const e=t.dirty;t.dirty=[-1],t.fragment&&t.fragment.p(t.ctx,e),t.after_update.forEach(C)}}const M=new Set;let P,L;function B(){P={r:0,c:[],p:P}}function D(){P.r||n(P.c),P=P.p}function H(t,e){t&&t.i&&(M.delete(t),t.i(e))}function O(t,e,s,n){if(t&&t.o){if(M.has(t))return;M.add(t),P.c.push(()=>{M.delete(t),n&&(s&&t.d(1),n())}),t.o(e)}else n&&n()}function J(t){t&&t.c()}function F(t,s,a,i){const{fragment:c,on_mount:l,on_destroy:r,after_update:d}=t.$$;c&&c.m(s,a),i||C(()=>{const s=l.map(e).filter(o);r?r.push(...s):n(s),t.$$.on_mount=[]}),d.forEach(C)}function R(t,e){const s=t.$$;null!==s.fragment&&(n(s.on_destroy),s.fragment&&s.fragment.d(e),s.on_destroy=s.fragment=null,s.ctx=[])}function S(t,e){-1===t.$$.dirty[0]&&(k.push(t),_||(_=!0,y.then(E)),t.$$.dirty.fill(0)),t.$$.dirty[e/31|0]|=1<<e%31}function I(e,o,a,i,l,r,d,h=[-1]){const p=c;v(e);const m=e.$$={fragment:null,ctx:null,props:r,update:t,not_equal:l,bound:s(),on_mount:[],on_destroy:[],on_disconnect:[],before_update:[],after_update:[],context:new Map(o.context||(p?p.$$.context:[])),callbacks:s(),dirty:h,skip_bound:!1,root:o.target||p.$$.root};d&&d(m.root);let g=!1;if(m.ctx=a?a(e,o.props||{},(t,s,...n)=>{const o=n.length?n[0]:s;return m.ctx&&l(m.ctx[t],m.ctx[t]=o)&&(!m.skip_bound&&m.bound[t]&&m.bound[t](o),g&&S(e,t)),s}):[],m.update(),g=!0,n(m.before_update),m.fragment=!!i&&i(m.ctx),o.target){if(o.hydrate){const t=function(t){return Array.from(t.childNodes)}(o.target);m.fragment&&m.fragment.l(t),t.forEach(u)}else m.fragment&&m.fragment.c();o.intro&&H(e.$$.fragment),F(e,o.target,o.anchor,o.customElement),E()}v(p)}function N(e){let s;return{c(){s=h("div"),s.innerHTML='<ul class="col-4"><li class="bold gradient-text-orange">Beginner Courses</li> \n <li><a class="white" href="https://codingblocks.com/classroom-courses/c-plus-plus-for-beginners.html" target="_blank">C++ For Beginners</a></li> \n <li><a class="white" href="https://codingblocks.com/classroom-courses/java-for-beginners.html" target="_blank">Java For Beginners</a></li> \n <li><a class="white" href="https://codingblocks.com/classroom-courses/python-app-dev.html" target="_blank">Python App Development</a></li></ul> \n <ul class="col-4"><li class="bold gradient-text-orange">Development Courses</li> \n <li><a class="white" href="https://codingblocks.com/classroom-courses/android-app-development-using-kotlin-and-java.html" target="_blank">Android App Dev</a></li> \n <li><a class="white" href="https://codingblocks.com/classroom-courses/web-development-nodejs.html" target="_blank">Full Stack Web Dev</a></li> \n <li><a class="white" href="https://codingblocks.com/classroom-courses/web-development-django.html" target="_blank">Python Django</a></li> \n <li><a class="white" href="https://codingblocks.com/classroom-courses/unity-game-development.html" target="_blank">Unity Game Development</a></li></ul> \n <ul class="col-4"><li class="bold gradient-text-orange">Advanced Courses</li> \n <li><a class="white" href="https://codingblocks.com/classroom-courses/advanced-data-structures-and-algorithms-for-interviews.html" target="_blank">Algo++</a></li> \n <li><a class="white" href="https://codingblocks.com/classroom-courses/advanced-data-structures-and-algorithms-using-java.html" target="_blank">Algo.Java</a></li> \n <li><a class="white" href="https://codingblocks.com/classroom-courses/competitive-programming.html" target="_blank">Competitive Programming</a></li> \n <li><a class="white" href="https://codingblocks.com/classroom-courses/machine-learning-with-deep-learning.html">Machine Learning</a></li></ul> \n <ul class="col-4"><li class="bold gradient-text-orange">Junior Courses</li> \n <li><a class="white" href="https://codingblocks.com/classroom-courses/code4kids.html" target="_blank">Code 4 Kids</a></li> \n <li><a class="white" href="https://codingblocks.com/classroom-courses/mathsgeeks.html" target="_blank">Maths Geek</a></li></ul> \n <ul class="col-4"><li class="bold gradient-text-orange">Bootcamps</li> \n <li><a class="white" href="https://codingblocks.com/bootcamps/react.html" target="_blank">React JS</a></li> \n <li><a class="white" href="https://codingblocks.com/bootcamps/blockchain.html" target="_blank">Blockchain</a></li> \n <li><a class="white" href="https://codingblocks.com/bootcamps/coding-interview-preparation.html" target="_blank">Interview Preparation</a></li> \n <li><a class="white" href="https://codingblocks.com/bootcamps/gamedev.html" target="_blank">Game Dev</a></li> \n <li><a class="white" href="https://codingblocks.com/bootcamps/chatbots.html" target="_blank">Chatbot</a></li></ul> \n <ul class="col-4"><li class="bold gradient-text-orange">Professional</li> \n <li><a class="white" href="https://codingblocks.com/classroom-courses/six_months_ind_training.html" target="_blank">Industrial Training</a></li></ul>',this.c=t,f(s,"class","row justify-content-around m-5")},m(t,e){d(t,s,e)},p:t,i:t,o:t,d(t){t&&u(s)}}}"function"==typeof HTMLElement&&(L=class extends HTMLElement{constructor(){super(),this.attachShadow({mode:"open"})}connectedCallback(){const{on_mount:t}=this.$$;this.$$.on_disconnect=t.map(e).filter(o);for(const t in this.$$.slotted)this.appendChild(this.$$.slotted[t])}attributeChangedCallback(t,e,s){this[t]=s}disconnectedCallback(){n(this.$$.on_disconnect)}$destroy(){R(this,1),this.$destroy=t}$on(t,e){const s=this.$$.callbacks[t]||(this.$$.callbacks[t]=[]);return s.push(e),()=>{const t=s.indexOf(e);-1!==t&&s.splice(t,1)}}$set(t){var e;this.$$set&&(e=t,0!==Object.keys(e).length)&&(this.$$.skip_bound=!0,this.$$set(t),this.$$.skip_bound=!1)}});class G extends L{constructor(t){super(),I(this,{target:this.shadowRoot,props:b(this.attributes),customElement:!0},null,N,a,{},null),t&&t.target&&d(t.target,this,t.anchor)}}function U(e){let s;return{c(){s=h("div"),s.innerHTML='<ul class="col-4"><li class="bold mb-3 gradient-text-orange">Beginner Courses</li> \n <li><a class="white" href="https://online.codingblocks.com/courses/c-plus-plus-online-course-for-beginners">C++ Master Course | Launchpad</a></li> \n <li><a class="white" href="https://online.codingblocks.com/courses/complete-java-course-online">Java Master Course | Crux</a></li> \n <li><a class="white" href="https://online.codingblocks.com/courses/python-for-beginners-developers">Python For Developers</a></li></ul> \n <ul class="col-4"><li class="bold mb-3 gradient-text-orange">Advanced Courses</li> \n <li><a class="white" href="https://online.codingblocks.com/courses/python-django">Web Dev with Python-Django</a></li> \n <li><a class="white" href="https://online.codingblocks.com/courses/coding-interview-preparation-online">Interview Prep Bootcamp</a></li> \n <li><a class="white" href="https://online.codingblocks.com/courses/data-structures-and-algorithms-online-course-java-algo">Algo.Java Online</a></li> \n <li><a class="white" href="https://online.codingblocks.com/courses/android-app-training-online">Android App Development Online</a></li> \n <li><a class="white" href="https://online.codingblocks.com/courses/telegram-chatbot-python-online">Build Chatbots in Python</a></li></ul> \n <ul class="col-4"><li class="bold mb-3 gradient-text-orange">Expert Courses</li> \n <li><a class="white" href="https://online.codingblocks.com/courses/competitive-programming-course-online">Competitive Programming Online</a></li> \n <li><a class="white" href="https://online.codingblocks.com/courses/coding-interview-preparation-course-online-c-plus-plus">Interview Preparation - C++</a></li> \n <li><a class="white" href="https://online.codingblocks.com/courses/machine-learning-course-online">Machine Learning Master Course</a></li> \n <li><a class="white" href="https://online.codingblocks.com/courses/coding-interview-preparation-course-online-java">Interview Preparation - Java</a></li></ul>',this.c=t,f(s,"class","row justify-content-around m-5")},m(t,e){d(t,s,e)},p:t,i:t,o:t,d(t){t&&u(s)}}}customElements.define("classroom-courses",G);class W extends L{constructor(t){super(),I(this,{target:this.shadowRoot,props:b(this.attributes),customElement:!0},null,U,a,{},null),t&&t.target&&d(t.target,this,t.anchor)}}function q(t){let e,s,o,a,i,c,l,p,b,v,k,$,w,x,y,_,C,T;const j=[z,K],E=[];function A(t,e){return"classroom"==t[2]?0:1}return x=A(t),y=E[x]=j[x](t),{c(){var n,r,d,u;e=h("div"),s=h("div"),o=h("div"),o.innerHTML='<div class="font-lg my-4 offset-3">Our Courses</div>',a=m(),i=h("div"),c=h("div"),c.innerHTML='<div>Online Courses</div> \n <a href="https://online.codingblocks.com/courses" target="_blank" class="font-mds orange">Explore all</a>',p=m(),b=h("div"),v=h("div"),v.innerHTML='<div>Classroom Courses</div> \n <a href="https://codingblocks.com/classroom-courses/" target="_blank" class="font-mds orange">Explore all</a>',$=m(),w=h("div"),y.c(),f(o,"class","py-5 font-md bold hover-grey"),f(c,"class","offset-3"),f(i,"class",l="py-4 font-md bold hover-grey "+("online"==t[2]&&"selected")),f(v,"class","offset-3"),f(b,"class",k="py-4 font-md bold hover-grey "+("classroom"==t[2]&&"selected")),f(s,"class","cb-navbar-side col-3"),f(w,"class","col-9 font-mds"),f(e,"class","row no-gutters cb-navbar-expanded"),n=e,r="overflow",null===(d="hidden")?n.style.removeProperty(r):n.style.setProperty(r,d,u?"important":"")},m(n,l){d(n,e,l),r(e,s),r(s,o),r(s,a),r(s,i),r(i,c),r(s,p),r(s,b),r(b,v),r(e,$),r(e,w),E[x].m(w,null),_=!0,C||(T=[g(i,"click",t[12]),g(b,"click",t[13])],C=!0)},p(t,e){(!_||4&e&&l!==(l="py-4 font-md bold hover-grey "+("online"==t[2]&&"selected")))&&f(i,"class",l),(!_||4&e&&k!==(k="py-4 font-md bold hover-grey "+("classroom"==t[2]&&"selected")))&&f(b,"class",k);let s=x;x=A(t),x!==s&&(B(),O(E[s],1,1,()=>{E[s]=null}),D(),y=E[x],y||(y=E[x]=j[x](t),y.c()),H(y,1),y.m(w,null))},i(t){_||(H(y),_=!0)},o(t){O(y),_=!1},d(t){t&&u(e),E[x].d(),C=!1,n(T)}}}function K(t){let e,s;return e=new W({}),{c(){J(e.$$.fragment)},m(t,n){F(e,t,n),s=!0},i(t){s||(H(e.$$.fragment,t),s=!0)},o(t){O(e.$$.fragment,t),s=!1},d(t){R(e,t)}}}function z(t){let e,s;return e=new G({}),{c(){J(e.$$.fragment)},m(t,n){F(e,t,n),s=!0},i(t){s||(H(e.$$.fragment,t),s=!0)},o(t){O(e.$$.fragment,t),s=!1},d(t){R(e,t)}}}function Q(e){let s,o,a,i,c,b,v,k,$,w,x,y,_,C,T,j,E,A,M,P,L,J,F,R,S,I,N,G,U,W,K,z,Q,V,X,Y,Z,tt=e[0]&&q(e);return{c(){s=h("div"),o=h("div"),a=h("div"),i=h("span"),c=p("Courses\n "),b=h("img"),$=m(),w=h("div"),x=h("a"),x.textContent="About Us",_=m(),C=h("div"),T=h("a"),T.textContent="Resources",E=m(),A=h("div"),M=h("a"),M.textContent="Campus Ambassadors",L=m(),J=h("div"),F=h("a"),F.textContent="Contact Us",S=m(),I=h("slot"),G=m(),tt&&tt.c(),U=m(),W=h("link"),K=m(),z=h("link"),Q=m(),V=h("link"),this.c=t,l(b.src,v="https://minio.cb.lk/public/fa-5.13/svgs/solid/chevron-"+(e[0]?"up":"down")+".svg")||f(b,"src",v),f(b,"alt","chevron"),f(b,"class","d-inline s-10x10"),f(i,"class",k="px-3 pointer position-relative "+("courses"===e[1]&&"active-tab")),f(x,"class","white"),f(x,"href","https://codingblocks.com/about.html"),f(x,"target","_blank"),f(w,"class",y="px-3 position-relative "+("about"===e[1]&&"active-tab")),f(T,"class","white"),f(T,"href","https://codingblocks.com/resources"),f(T,"target","_blank"),f(C,"class",j="px-3 position-relative "+("resources"===e[1]&&"active-tab")),f(M,"class","white"),f(M,"href","https://codingblocks.com/campus-ambassador-program.html"),f(M,"target","_blank"),f(A,"class",P="px-3 position-relative "+("ca"===e[1]&&"active-tab")),f(F,"class","white"),f(F,"href","https://codingblocks.com/centres/"),f(F,"target","_blank"),f(J,"class",R="px-3 position-relative "+("contact"===e[1]&&"active-tab")),f(I,"name","header"),f(a,"class",N="d-flex "+e[4]+" py-3 pr-5"),f(o,"class","border"),f(s,"class","a-hb d-md-block d-none bg-background-main-3 white"),f(W,"rel","stylesheet"),f(W,"href",e[3]),f(z,"href","https://fonts.googleapis.com/css?family=Nunito+Sans:400,600,700,800"),f(z,"rel","stylesheet"),f(V,"href","https://minio.codingblocks.com/hackerblocks-images/Gilroy.ttf"),f(V,"rel","stylesheet")},m(t,n){d(t,s,n),r(s,o),r(o,a),r(a,i),r(i,c),r(i,b),r(a,$),r(a,w),r(w,x),r(a,_),r(a,C),r(C,T),r(a,E),r(a,A),r(A,M),r(a,L),r(a,J),r(J,F),r(a,S),r(a,I),r(s,G),tt&&tt.m(s,null),d(t,U,n),d(t,W,n),d(t,K,n),d(t,z,n),d(t,Q,n),d(t,V,n),X=!0,Y||(Z=[g(i,"click",e[7]),g(x,"click",e[8]),g(T,"click",e[9]),g(M,"click",e[10]),g(F,"click",e[11])],Y=!0)},p(t,[e]){(!X||1&e&&!l(b.src,v="https://minio.cb.lk/public/fa-5.13/svgs/solid/chevron-"+(t[0]?"up":"down")+".svg"))&&f(b,"src",v),(!X||2&e&&k!==(k="px-3 pointer position-relative "+("courses"===t[1]&&"active-tab")))&&f(i,"class",k),(!X||2&e&&y!==(y="px-3 position-relative "+("about"===t[1]&&"active-tab")))&&f(w,"class",y),(!X||2&e&&j!==(j="px-3 position-relative "+("resources"===t[1]&&"active-tab")))&&f(C,"class",j),(!X||2&e&&P!==(P="px-3 position-relative "+("ca"===t[1]&&"active-tab")))&&f(A,"class",P),(!X||2&e&&R!==(R="px-3 position-relative "+("contact"===t[1]&&"active-tab")))&&f(J,"class",R),(!X||16&e&&N!==(N="d-flex "+t[4]+" py-3 pr-5"))&&f(a,"class",N),t[0]?tt?(tt.p(t,e),1&e&&H(tt,1)):(tt=q(t),tt.c(),H(tt,1),tt.m(s,null)):tt&&(B(),O(tt,1,1,()=>{tt=null}),D()),(!X||8&e)&&f(W,"href",t[3])},i(t){X||(H(tt),X=!0)},o(t){O(tt),X=!1},d(t){t&&u(s),tt&&tt.d(),t&&u(U),t&&u(W),t&&u(K),t&&u(z),t&&u(Q),t&&u(V),Y=!1,n(Z)}}}function V(t,e,s){let{topalign:n="center"}=e,{expanded:o=!1}=e,{activeTab:a=""}=e,{activeCoursesTab:i="online"}=e,{css:c="https://unpkg.com/@coding-blocks/motley/dist/online-cb/app.min.css"}=e,l="justify-content-center";const r=()=>s(0,o=!o);return t.$$set=t=>{"topalign"in t&&s(6,n=t.topalign),"expanded"in t&&s(0,o=t.expanded),"activeTab"in t&&s(1,a=t.activeTab),"activeCoursesTab"in t&&s(2,i=t.activeCoursesTab),"css"in t&&s(3,c=t.css)},t.$$.update=()=>{if(64&t.$$.dirty)switch(n){case"left":s(4,l="justify-content-start");break;case"right":s(4,l="justify-content-end");break;default:s(4,l="justify-content-center")}},[o,a,i,c,l,r,n,()=>{r(),s(1,a="courses")},()=>s(1,a="about"),()=>s(1,a="resources"),()=>s(1,a="ca"),()=>s(1,a="contact"),()=>s(2,i="online"),()=>s(2,i="classroom")]}customElements.define("online-courses",W);class X extends L{constructor(t){super(),this.shadowRoot.innerHTML='<style>a:hover{text-decoration:underline}.hover-grey.selected:hover{background:unset}.a-hb{display:none}.active-tab:after{content:"";width:98%;height:2px;position:absolute;left:-2px;bottom:-16px;display:block;background:linear-gradient(90deg, #FB8530 0%, #FEB50B 100%)}</style>',I(this,{target:this.shadowRoot,props:b(this.attributes),customElement:!0},V,Q,a,{topalign:6,expanded:0,activeTab:1,activeCoursesTab:2,css:3},null),t&&(t.target&&d(t.target,this,t.anchor),t.props&&(this.$set(t.props),E()))}static get observedAttributes(){return["topalign","expanded","activeTab","activeCoursesTab","css"]}get topalign(){return this.$$.ctx[6]}set topalign(t){this.$$set({topalign:t}),E()}get expanded(){return this.$$.ctx[0]}set expanded(t){this.$$set({expanded:t}),E()}get activeTab(){return this.$$.ctx[1]}set activeTab(t){this.$$set({activeTab:t}),E()}get activeCoursesTab(){return this.$$.ctx[2]}set activeCoursesTab(t){this.$$set({activeCoursesTab:t}),E()}get css(){return this.$$.ctx[3]}set css(t){this.$$set({css:t}),E()}}return customElements.define("cb-navbar",X),X})); |
@@ -1,1 +0,1 @@ | ||
!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports):"function"==typeof define&&define.amd?define(["exports"],t):t(((e=e||self).index=e.index||{},e.index.js={}))}(this,(function(e){"use strict";function t(){}function n(e){return e()}function o(){return Object.create(null)}function s(e){e.forEach(n)}function i(e){return"function"==typeof e}function l(e,t){return e!=e?t==t:e!==t||e&&"object"==typeof e||"function"==typeof e}let c,r;function a(e,t){return c||(c=document.createElement("a")),c.href=t,e===c.href}function d(e,t){e.appendChild(t)}function u(e,t,n){e.insertBefore(t,n||null)}function m(e){e.parentNode.removeChild(e)}function h(e,t){for(let n=0;n<e.length;n+=1)e[n]&&e[n].d(t)}function p(e){return document.createElement(e)}function g(e){return document.createTextNode(e)}function b(){return g(" ")}function f(){return g("")}function v(e,t,n,o){return e.addEventListener(t,n,o),()=>e.removeEventListener(t,n,o)}function k(e,t,n){null==n?e.removeAttribute(t):e.getAttribute(t)!==n&&e.setAttribute(t,n)}function y(e){return""===e?null:+e}function $(e,t){t=""+t,e.wholeText!==t&&(e.data=t)}function w(e,t){e.value=null==t?"":t}function x(e,t,n,o){null===n?e.style.removeProperty(t):e.style.setProperty(t,n,o?"important":"")}function _(e,t){for(let n=0;n<e.options.length;n+=1){const o=e.options[n];if(o.__value===t)return void(o.selected=!0)}e.selectedIndex=-1}function j(e){const t=e.querySelector(":checked")||e.options[0];return t&&t.__value}function C(e){const t={};for(const n of e)t[n.name]=n.value;return t}function E(e){r=e}function T(){if(!r)throw new Error("Function called outside component initialization");return r}function M(e){T().$$.on_mount.push(e)}function L(){const e=T();return(t,n,{cancelable:o=!1}={})=>{const s=e.$$.callbacks[t];if(s){const i=function(e,t,{bubbles:n=!1,cancelable:o=!1}={}){const s=document.createEvent("CustomEvent");return s.initCustomEvent(e,n,o,t),s}(t,n,{cancelable:o});return s.slice().forEach(t=>{t.call(e,i)}),!i.defaultPrevented}return!0}}const P=[],A=[],O=[],H=[],z=Promise.resolve();let B=!1;function D(e){O.push(e)}const I=new Set;let U=0;function S(){const e=r;do{for(;U<P.length;){const e=P[U];U++,E(e),N(e.$$)}for(E(null),P.length=0,U=0;A.length;)A.pop()();for(let e=0;e<O.length;e+=1){const t=O[e];I.has(t)||(I.add(t),t())}O.length=0}while(P.length);for(;H.length;)H.pop()();B=!1,I.clear(),E(e)}function N(e){if(null!==e.fragment){e.update(),s(e.before_update);const t=e.dirty;e.dirty=[-1],e.fragment&&e.fragment.p(e.ctx,t),e.after_update.forEach(D)}}const R=new Set;let J;function F(){J={r:0,c:[],p:J}}function G(){J.r||s(J.c),J=J.p}function W(e,t){e&&e.i&&(R.delete(e),e.i(t))}function q(e,t,n,o){if(e&&e.o){if(R.has(e))return;R.add(e),J.c.push(()=>{R.delete(e),o&&(n&&e.d(1),o())}),e.o(t)}else o&&o()}const Y="undefined"!=typeof window?window:"undefined"!=typeof globalThis?globalThis:global;function Z(e){e&&e.c()}function V(e,t,o,l){const{fragment:c,on_mount:r,on_destroy:a,after_update:d}=e.$$;c&&c.m(t,o),l||D(()=>{const t=r.map(n).filter(i);a?a.push(...t):s(t),e.$$.on_mount=[]}),d.forEach(D)}function K(e,t){const n=e.$$;null!==n.fragment&&(s(n.on_destroy),n.fragment&&n.fragment.d(t),n.on_destroy=n.fragment=null,n.ctx=[])}function Q(e,t){-1===e.$$.dirty[0]&&(P.push(e),B||(B=!0,z.then(S)),e.$$.dirty.fill(0)),e.$$.dirty[t/31|0]|=1<<t%31}function X(e,n,i,l,c,a,d,u=[-1]){const h=r;E(e);const p=e.$$={fragment:null,ctx:null,props:a,update:t,not_equal:c,bound:o(),on_mount:[],on_destroy:[],on_disconnect:[],before_update:[],after_update:[],context:new Map(n.context||(h?h.$$.context:[])),callbacks:o(),dirty:u,skip_bound:!1,root:n.target||h.$$.root};d&&d(p.root);let g=!1;if(p.ctx=i?i(e,n.props||{},(t,n,...o)=>{const s=o.length?o[0]:n;return p.ctx&&c(p.ctx[t],p.ctx[t]=s)&&(!p.skip_bound&&p.bound[t]&&p.bound[t](s),g&&Q(e,t)),n}):[],p.update(),g=!0,s(p.before_update),p.fragment=!!l&&l(p.ctx),n.target){if(n.hydrate){const e=function(e){return Array.from(e.childNodes)}(n.target);p.fragment&&p.fragment.l(e),e.forEach(m)}else p.fragment&&p.fragment.c();n.intro&&W(e.$$.fragment),V(e,n.target,n.anchor,n.customElement),S()}E(h)}let ee;function te(e,t,n){const o=e.slice();return o[9]=t[n].img_url,o[10]=t[n].img_url_mobile,o[11]=t[n].link,o[13]=n,o}function ne(e){let t,n=e[3],o=[];for(let t=0;t<n.length;t+=1)o[t]=ie(te(e,n,t));return{c(){t=p("div");for(let e=0;e<o.length;e+=1)o[e].c();k(t,"class","carousel")},m(e,n){u(e,t,n);for(let e=0;e<o.length;e+=1)o[e].m(t,null)},p(e,s){if(61&s){let i;for(n=e[3],i=0;i<n.length;i+=1){const l=te(e,n,i);o[i]?o[i].p(l,s):(o[i]=ie(l),o[i].c(),o[i].m(t,null))}for(;i<o.length;i+=1)o[i].d(1);o.length=n.length}},d(e){e&&m(t),h(o,e)}}}function oe(e){let t,n,o,s,i,l,c,r,h,g=e[0]&&se(e);return{c(){t=p("a"),g&&g.c(),n=b(),o=p("img"),i=b(),l=p("img"),r=b(),k(o,"class","d-md-block"),a(o.src,s=e[9])||k(o,"src",s),k(o,"alt",""),k(o,"width","100%"),k(l,"class","d-md-none"),a(l.src,c=e[10])||k(l,"src",c),k(l,"alt",""),k(l,"width","100%"),k(t,"class","d-block"),k(t,"target","_blank"),k(t,"href",h=e[11])},m(e,s){u(e,t,s),g&&g.m(t,null),d(t,n),d(t,o),d(t,i),d(t,l),d(t,r)},p(e,i){e[0]?g?g.p(e,i):(g=se(e),g.c(),g.m(t,n)):g&&(g.d(1),g=null),8&i&&!a(o.src,s=e[9])&&k(o,"src",s),8&i&&!a(l.src,c=e[10])&&k(l,"src",c),8&i&&h!==(h=e[11])&&k(t,"href",h)},d(e){e&&m(t),g&&g.d()}}}function se(e){let t,n,o,s;return{c(){t=p("img"),k(t,"class","close-icon"),a(t.src,n=e[2])||k(t,"src",n),k(t,"alt","close")},m(n,i){var l;u(n,t,i),o||(s=v(t,"click",function(e){return function(t){return t.stopPropagation(),e.call(this,t)}}((l=e[5],function(e){return e.preventDefault(),l.call(this,e)})),!0),o=!0)},p(e,o){4&o&&!a(t.src,n=e[2])&&k(t,"src",n)},d(e){e&&m(t),o=!1,s()}}}function ie(e){let t,n=e[4]==e[13]&&oe(e);return{c(){n&&n.c(),t=f()},m(e,o){n&&n.m(e,o),u(e,t,o)},p(e,o){e[4]==e[13]?n?n.p(e,o):(n=oe(e),n.c(),n.m(t.parentNode,t)):n&&(n.d(1),n=null)},d(e){n&&n.d(e),e&&m(t)}}}function le(e){let n,o=e[1]&&ne(e);return{c(){o&&o.c(),n=f(),this.c=t},m(e,t){o&&o.m(e,t),u(e,n,t)},p(e,[t]){e[1]?o?o.p(e,t):(o=ne(e),o.c(),o.m(n.parentNode,n)):o&&(o.d(1),o=null)},i:t,o:t,d(e){o&&o.d(e),e&&m(n)}}}function ce(e,t,n){let o=!1,s="",i=[],l=0,c=!1,{showToggle:r=!0}=t,{theme:a="light"}=t;M(async()=>{const e=await fetch("https://hack-api.codingblocks.com/api/v2/dashboard-banners",{headers:{client:"hack-admin"}}),{data:t}=await e.json();n(3,i=t.map(e=>({img_url:e.attributes["image-url"],img_url_mobile:e.attributes["mobile-image-url"],link:e.attributes.link}))),n(2,s="light"===a?"https://minio.codingblocks.com/motley/wrong_g_white.min.png":"https://minio.codingblocks.com/motley/wrong_g.png"),n(1,o=!!i.length),c||d()});const d=e=>{c&&clearInterval(c),c=setInterval(()=>{l==i.length-1?n(4,l=0):n(4,l+=1)},7e3)};return e.$$set=e=>{"showToggle"in e&&n(0,r=e.showToggle),"theme"in e&&n(6,a=e.theme)},[r,o,s,i,l,()=>{n(1,o=!o)},a]}"function"==typeof HTMLElement&&(ee=class extends HTMLElement{constructor(){super(),this.attachShadow({mode:"open"})}connectedCallback(){const{on_mount:e}=this.$$;this.$$.on_disconnect=e.map(n).filter(i);for(const e in this.$$.slotted)this.appendChild(this.$$.slotted[e])}attributeChangedCallback(e,t,n){this[e]=n}disconnectedCallback(){s(this.$$.on_disconnect)}$destroy(){K(this,1),this.$destroy=t}$on(e,t){const n=this.$$.callbacks[e]||(this.$$.callbacks[e]=[]);return n.push(t),()=>{const e=n.indexOf(t);-1!==e&&n.splice(e,1)}}$set(e){var t;this.$$set&&(t=e,0!==Object.keys(t).length)&&(this.$$.skip_bound=!0,this.$$set(e),this.$$.skip_bound=!1)}});class re extends ee{constructor(e){super(),this.shadowRoot.innerHTML="<style>.d-block{display:block;position:relative}.close-icon{position:absolute;right:10px;cursor:pointer;top:10px;width:15px;transition:width 0.1s}.close-icon:hover{width:18px}.d-md-none{display:block}.d-md-block{display:none}.carousel{height:116px;overflow:hidden}@media(min-width:768px){.d-md-none{display:none}.d-md-block{display:block}}</style>",X(this,{target:this.shadowRoot,props:C(this.attributes),customElement:!0},ce,le,l,{showToggle:0,theme:6},null),e&&(e.target&&u(e.target,this,e.anchor),e.props&&(this.$set(e.props),S()))}static get observedAttributes(){return["showToggle","theme"]}get showToggle(){return this.$$.ctx[0]}set showToggle(e){this.$$set({showToggle:e}),S()}get theme(){return this.$$.ctx[6]}set theme(e){this.$$set({theme:e}),S()}}customElements.define("promotion-banner",re);var ae=new class{constructor(e){this.url=e}fetchUser(){return fetch(this.url+"/users/me?include=demographic",{credentials:"include"}).then(e=>e.json())}fetchColleges(){return fetch(this.url+"/colleges").then(e=>e.json())}fetchBranches(){return fetch(this.url+"/branches").then(e=>e.json())}updateUser(e){return fetch(this.url+"/users/me/edit",{method:"PATCH",credentials:"include",headers:{"Content-Type":"application/json"},body:JSON.stringify(e)}).then(e=>e.json())}}("https://account.codingblocks.com/api");function de(e,t,n){const o=e.slice();return o[15]=t[n],o}function ue(e,t,n){const o=e.slice();return o[18]=t[n],o}function me(e,t,n){const o=e.slice();return o[21]=t[n],o}function he(e){let t,n,o;function s(e,t){return e[7].success?ge:pe}let i=s(e),l=i(e);return{c(){t=p("div"),n=p("div"),n.innerHTML='<div class="font-md bold">Get INR 1000 Credits</div> \n <div class="mt-4">Complete your Profile & get INR 1000 credits in your wallet</div>',o=b(),l.c(),k(n,"class","bg-gradient-pink white p-4"),k(t,"class","border-card b-red p-0")},m(e,s){u(e,t,s),d(t,n),d(t,o),l.m(t,null)},p(e,n){i===(i=s(e))&&l?l.p(e,n):(l.d(1),l=i(e),l&&(l.c(),l.m(t,null)))},d(e){e&&m(t),l.d()}}}function pe(e){let t,n,o,i,l,c,r,a,g,f,y,$,w,x,j,C,E=e[4],T=[];for(let t=0;t<E.length;t+=1)T[t]=be(me(e,E,t));let M=1===e[0]&&fe(e),L=e[8],P=[];for(let t=0;t<L.length;t+=1)P[t]=ve(ue(e,L,t));let A=e[5],O=[];for(let t=0;t<A.length;t+=1)O[t]=ke(de(e,A,t));let H=e[7].error&&ye(e);return{c(){t=p("div"),n=p("select"),o=p("option"),o.textContent="-- College --";for(let e=0;e<T.length;e+=1)T[e].c();i=b(),M&&M.c(),l=b(),c=p("select"),r=p("option"),r.textContent="-- Graduation Year --";for(let e=0;e<P.length;e+=1)P[e].c();a=b(),g=p("select"),f=p("option"),f.textContent="-- Branch --";for(let e=0;e<O.length;e+=1)O[e].c();y=b(),$=p("div"),w=p("button"),w.textContent="Update Profile",x=b(),H&&H.c(),o.disabled=!0,o.selected=!0,o.__value="",o.value=o.__value,k(n,"class","input-text br-50 my-2"),void 0===e[0]&&D(()=>e[10].call(n)),r.disabled=!0,r.selected=!0,r.__value="",r.value=r.__value,k(c,"class","input-text br-50 my-2"),void 0===e[2]&&D(()=>e[12].call(c)),f.disabled=!0,f.selected=!0,f.__value="",f.value=f.__value,k(g,"class","input-text br-50 my-2"),void 0===e[1]&&D(()=>e[13].call(g)),k(w,"id","updatedButton"),k(w,"class","button-solid button-orange"),k($,"class","d-flex justify-content-center mt-5"),k(t,"class","py-4 px-5 t-align-center")},m(s,m){u(s,t,m),d(t,n),d(n,o);for(let e=0;e<T.length;e+=1)T[e].m(n,null);_(n,e[0]),d(t,i),M&&M.m(t,null),d(t,l),d(t,c),d(c,r);for(let e=0;e<P.length;e+=1)P[e].m(c,null);_(c,e[2]),d(t,a),d(t,g),d(g,f);for(let e=0;e<O.length;e+=1)O[e].m(g,null);_(g,e[1]),d(t,y),d(t,$),d($,w),d(t,x),H&&H.m(t,null),j||(C=[v(n,"change",e[10]),v(c,"change",e[12]),v(g,"change",e[13]),v(w,"click",e[9])],j=!0)},p(e,o){if(17&o){let t;for(E=e[4],t=0;t<E.length;t+=1){const s=me(e,E,t);T[t]?T[t].p(s,o):(T[t]=be(s),T[t].c(),T[t].m(n,null))}for(;t<T.length;t+=1)T[t].d(1);T.length=E.length}if(17&o&&_(n,e[0]),1===e[0]?M?M.p(e,o):(M=fe(e),M.c(),M.m(t,l)):M&&(M.d(1),M=null),260&o){let t;for(L=e[8],t=0;t<L.length;t+=1){const n=ue(e,L,t);P[t]?P[t].p(n,o):(P[t]=ve(n),P[t].c(),P[t].m(c,null))}for(;t<P.length;t+=1)P[t].d(1);P.length=L.length}if(260&o&&_(c,e[2]),34&o){let t;for(A=e[5],t=0;t<A.length;t+=1){const n=de(e,A,t);O[t]?O[t].p(n,o):(O[t]=ke(n),O[t].c(),O[t].m(g,null))}for(;t<O.length;t+=1)O[t].d(1);O.length=A.length}34&o&&_(g,e[1]),e[7].error?H?H.p(e,o):(H=ye(e),H.c(),H.m(t,null)):H&&(H.d(1),H=null)},d(e){e&&m(t),h(T,e),M&&M.d(),h(P,e),h(O,e),H&&H.d(),j=!1,s(C)}}}function ge(e){let n;return{c(){n=p("div"),n.innerHTML='<div class="font-md gradient-text extra-bold mt-4">Your profile has been updated !</div>',k(n,"class","my-5 t-align-c")},m(e,t){u(e,n,t)},p:t,d(e){e&&m(n)}}}function be(e){let t,n,o,s,i,l=e[21].name+"";return{c(){t=p("option"),n=g(l),o=b(),t.__value=s=e[21].id,t.value=t.__value,t.selected=i=e[21].id===e[0]},m(e,s){u(e,t,s),d(t,n),d(t,o)},p(e,o){16&o&&l!==(l=e[21].name+"")&&$(n,l),16&o&&s!==(s=e[21].id)&&(t.__value=s,t.value=t.__value),17&o&&i!==(i=e[21].id===e[0])&&(t.selected=i)},d(e){e&&m(t)}}}function fe(e){let t,n,o;return{c(){t=p("input"),k(t,"type","text"),k(t,"placeholder","Other College Name"),k(t,"class","input-text br-50 my-2")},m(s,i){u(s,t,i),w(t,e[3]),n||(o=v(t,"input",e[11]),n=!0)},p(e,n){8&n&&t.value!==e[3]&&w(t,e[3])},d(e){e&&m(t),n=!1,o()}}}function ve(e){let t,n,o,s,i,l=e[18]+"";return{c(){t=p("option"),n=g(l),o=b(),t.__value=s=e[18],t.value=t.__value,t.selected=i=e[18]===e[2]},m(e,s){u(e,t,s),d(t,n),d(t,o)},p(e,n){260&n&&i!==(i=e[18]===e[2])&&(t.selected=i)},d(e){e&&m(t)}}}function ke(e){let t,n,o,s,i,l=e[15].name+"";return{c(){t=p("option"),n=g(l),o=b(),t.__value=s=e[15].id,t.value=t.__value,t.selected=i=e[15].id===e[1]},m(e,s){u(e,t,s),d(t,n),d(t,o)},p(e,o){32&o&&l!==(l=e[15].name+"")&&$(n,l),32&o&&s!==(s=e[15].id)&&(t.__value=s,t.value=t.__value),34&o&&i!==(i=e[15].id===e[1])&&(t.selected=i)},d(e){e&&m(t)}}}function ye(e){let t,n,o,s=e[7].error+"";return{c(){t=p("div"),n=p("p"),o=g(s),k(n,"class","red"),k(t,"class","row justify-content-center")},m(e,s){u(e,t,s),d(t,n),d(n,o)},p(e,t){128&t&&s!==(s=e[7].error+"")&&$(o,s)},d(e){e&&m(t)}}}function $e(e){let n,o,s=e[6].id&&1===e[6].demographic.collegeId&&!e[6].demographic.otherCollege&&he(e);return{c(){s&&s.c(),n=b(),o=p("link"),this.c=t,k(o,"rel","stylesheet"),k(o,"href","https://unpkg.com/@coding-blocks/motley@0.7.4/dist/online-cb/app.min.css")},m(e,t){s&&s.m(e,t),u(e,n,t),u(e,o,t)},p(e,[t]){e[6].id&&1===e[6].demographic.collegeId&&!e[6].demographic.otherCollege?s?s.p(e,t):(s=he(e),s.c(),s.m(n.parentNode,n)):s&&(s.d(1),s=null)},i:t,o:t,d(e){s&&s.d(e),e&&m(n),e&&m(o)}}}function we(e,t,n){let o=null,s=null,i=null,l="",c=[],r=[],a=[2025,2024,2023,2022,2021,2020,2019,2018,2017,2016,2015,2014,2013,2012,2011,2010,2009,2008,2007,2006,2005,2004,2003,2002,2001,2e3],d={},u={success:null,error:null};const m=L();M(async()=>{n(6,d=await ae.fetchUser()),d.id&&(n(4,c=await ae.fetchColleges()),n(5,r=await ae.fetchBranches()),n(2,i=d.graduationYear),n(0,o=d.demographic.collegeId),n(1,s=d.demographic.branchId),n(3,l=d.demographic.otherCollege))});return[o,s,i,l,c,r,d,u,a,async()=>{try{const e=await ae.updateUser({gradYear:i,collegeId:o,branchId:s,otherCollege:l});m("updated",e),n(7,u={success:e.success}),setTimeout(async()=>{n(6,d=await ae.fetchUser())},2e3)}catch(e){n(7,u={error:e})}},function(){o=j(this),n(0,o),n(4,c)},function(){l=this.value,n(3,l)},function(){i=j(this),n(2,i),n(8,a)},function(){s=j(this),n(1,s),n(5,r)}]}class xe extends ee{constructor(e){super(),X(this,{target:this.shadowRoot,props:C(this.attributes),customElement:!0},we,$e,l,{},null),e&&e.target&&u(e.target,this,e.anchor)}}function _e(e){let n;return{c(){n=p("div"),n.innerHTML='<div class="mt-4"><div class="card-sm light extra-bold">Beginner Courses</div> \n\t\t<div class="card-sm light"><a href="https://codingblocks.com/classroom-courses/c-plus-plus-for-beginners.html">C++ For Beginners</a></div> \n\t\t<div class="card-sm light"><a href="https://codingblocks.com/classroom-courses/java-for-beginners.html">Java For Beginners</a></div> \n\t\t<div class="card-sm light"><a href="https://codingblocks.com/classroom-courses/python-app-dev.html">Python App Development</a></div></div> \n\t<div class="mt-3"><div class="card-sm light extra-bold">Development Courses</div> \n\t\t<div class="card-sm light"><a href="https://codingblocks.com/classroom-courses/android-app-development-using-kotlin-and-java.html">Android App Dev</a></div> \n\t\t<div class="card-sm light"><a href="https://codingblocks.com/classroom-courses/web-development-nodejs.html">Full Stack Web Dev</a></div> \n\t\t<div class="card-sm light"><a href="https://codingblocks.com/classroom-courses/web-development-django.html">Python Django</a></div> \n\t\t<div class="card-sm light"><a href="https://codingblocks.com/classroom-courses/unity-game-development.html">Unity Game Development</a></div></div> \n\t<div class="mt-3"><div class="card-sm light extra-bold">Advanced Courses</div> \n\t\t<div class="card-sm light"><a href="https://codingblocks.com/classroom-courses/android-app-development-using-kotlin-and-java.html">Algo++</a></div> \n\t\t<div class="card-sm light"><a href="https://codingblocks.com/classroom-courses/web-development-nodejs.html">Algo.JAVA</a></div> \n\t\t<div class="card-sm light"><a href="https://codingblocks.com/classroom-courses/web-development-django.html">Competitive Programming</a></div> \n\t\t<div class="card-sm light"><a href="https://codingblocks.com/classroom-courses/unity-game-development.html">Machine Learning</a></div></div>',this.c=t,k(n,"class","pl-4")},m(e,t){u(e,n,t)},p:t,i:t,o:t,d(e){e&&m(n)}}}customElements.define("demographic-form",xe);class je extends ee{constructor(e){super(),X(this,{target:this.shadowRoot,props:C(this.attributes),customElement:!0},null,_e,l,{},null),e&&e.target&&u(e.target,this,e.anchor)}}function Ce(e){let n;return{c(){n=p("div"),n.innerHTML='<div class="mt-4"><div class="card-sm light extra-bold">Beginner Courses</div> \n <div class="card-sm light"><a href="https://online.codingblocks.com/courses/c-plus-plus-online-course-for-beginners">C++ Master Course | Launchpad</a></div> \n <div class="card-sm light"><a href="https://online.codingblocks.com/courses/complete-java-course-online">Java Master Course | Crux</a></div> \n <div class="card-sm light"><a href="https://online.codingblocks.com/courses/python-for-beginners-developers">Python For Developers</a></div></div> \n <div class="mt-3"><div class="card-sm light extra-bold">Advanced Courses</div> \n <div class="card-sm light"><a href="https://online.codingblocks.com/courses/python-django">Web Dev with Python-Django</a></div> \n <div class="card-sm light"><a href="https://online.codingblocks.com/courses/coding-interview-preparation-online">Interview Prep Bootcamp</a></div> \n <div class="card-sm light"><a href="https://online.codingblocks.com/courses/data-structures-and-algorithms-online-course-java-algo">Algo.Java Online</a></div> \n <div class="card-sm light"><a href="https://online.codingblocks.com/courses/android-app-training-online">Android App Development Online</a></div> \n <div class="card-sm light"><a href="https://online.codingblocks.com/courses/telegram-chatbot-python-online">Build Chatbots in Python</a></div></div> \n <div class="mt-3"><div class="card-sm light extra-bold">Expert Courses</div> \n <div class="card-sm light"><a href="https://online.codingblocks.com/courses/competitive-programming-course-online">Competitive Programming Online</a></div> \n <div class="card-sm light"><a href="https://online.codingblocks.com/courses/coding-interview-preparation-course-online-c-plus-plus">Interview Preparation - C++</a></div> \n <div class="card-sm light"><a href="https://online.codingblocks.com/courses/machine-learning-course-online">Machine Learning Master Course</a></div> \n <div class="card-sm light"><a href="https://online.codingblocks.com/courses/coding-interview-preparation-course-online-java">Interview Preparation - Java</a></div></div>',this.c=t,k(n,"class","pl-4")},m(e,t){u(e,n,t)},p:t,i:t,o:t,d(e){e&&m(n)}}}customElements.define("mobile-classroom-courses",je);class Ee extends ee{constructor(e){super(),X(this,{target:this.shadowRoot,props:C(this.attributes),customElement:!0},null,Ce,l,{},null),e&&e.target&&u(e.target,this,e.anchor)}}function Te(e){let t,n;return t=new je({}),{c(){Z(t.$$.fragment)},m(e,o){V(t,e,o),n=!0},i(e){n||(W(t.$$.fragment,e),n=!0)},o(e){q(t.$$.fragment,e),n=!1},d(e){K(t,e)}}}function Me(e){let t,n;return t=new Ee({}),{c(){Z(t.$$.fragment)},m(e,o){V(t,e,o),n=!0},i(e){n||(W(t.$$.fragment,e),n=!0)},o(e){q(t.$$.fragment,e),n=!1},d(e){K(t,e)}}}function Le(e){let n,o,i,l,c,r,h,g,f,y,$,w,x,_,j,C,E,T,M,L,P,A,O,H,z,B,D,I,U,S,N,R,J,Y,Z,V,K,Q,X,ee,te,ne,oe,se,ie="classroom"==e[0]&&Te(),le="online"==e[0]&&Me();return{c(){n=p("link"),o=b(),i=p("link"),l=b(),c=p("div"),r=p("div"),h=p("img"),f=b(),y=p("img"),w=b(),x=p("div"),_=b(),j=p("slot"),C=b(),E=p("div"),T=p("div"),T.innerHTML='<div class="card-md extra-bold orange">Courses</div> \n\t\t\t<a href="#" class="orange"><i class="fas fa-angle-up fa-lg"></i></a>',M=b(),L=p("div"),P=p("div"),A=p("div"),A.textContent="Classroom Courses",O=b(),H=p("div"),H.innerHTML='<a href="#" class="orange">Explore All</a>',B=b(),ie&&ie.c(),D=b(),I=p("div"),U=p("div"),S=p("div"),S.textContent="Online Courses",N=b(),R=p("div"),R.innerHTML='<a href="#" class="orange">Explore All</a>',Y=b(),le&&le.c(),Z=b(),V=p("div"),V.innerHTML='<a href="https://codingblocks.com/campus-ambassador-program.html" target="blank">Campus Ambassadors</a>',K=b(),Q=p("div"),Q.innerHTML='<a href="https://codingblocks.com/about" target="blank">About Us</a>',X=b(),ee=p("div"),ee.innerHTML='<a href="https://codingblocks.com/centres" target="blank">Contact Us</a>',this.c=t,k(n,"rel","stylesheet"),k(n,"href",e[2]),k(i,"href","https://minio.codingblocks.com/hackerblocks-images/Gilroy.ttf"),k(i,"rel","stylesheet"),a(h.src,g=e[3])||k(h,"src",g),k(h,"alt","HB"),k(h,"class","hamburger-nav__ham-logo ml-4"),a(y.src,$="https://minio.codingblocks.com/amoeba/wrong-close.png")||k(y,"src","https://minio.codingblocks.com/amoeba/wrong-close.png"),k(y,"alt","#"),k(y,"class","mr-4 hamburger-nav__cross pointer"),k(r,"class","d-flex py-3 justify-content-between align-items-center hamburger-nav__top-bar"),k(x,"class","divider-h"),k(T,"class","d-flex justify-content-between"),k(A,"class","card-md extra-bold"),k(H,"class","card-sm light"),k(P,"class",z="hamburger-nav__menu-element "+("classroom"==e[0]&&"active")),k(L,"class","my-4 pl-4"),k(S,"class","card-md extra-bold"),k(R,"class","card-sm light"),k(U,"class",J="hamburger-nav__menu-element "+("online"==e[0]&&"active")),k(I,"class","my-4 pl-4"),k(V,"class","card-md light my-4"),k(Q,"class","card-md light my-4"),k(ee,"class","card-md light my-4"),k(E,"class","mt-4 px-4 overflow-y-auto no-scrollbar"),k(c,"class",te="hamburger-nav b-right overflow-y-auto no-scrollbar "+(!e[1]&&"hamburger-nav--hidden"))},m(t,s){u(t,n,s),u(t,o,s),u(t,i,s),u(t,l,s),u(t,c,s),d(c,r),d(r,h),d(r,f),d(r,y),d(c,w),d(c,x),d(c,_),d(c,j),d(c,C),d(c,E),d(E,T),d(E,M),d(E,L),d(L,P),d(P,A),d(P,O),d(P,H),d(L,B),ie&&ie.m(L,null),d(E,D),d(E,I),d(I,U),d(U,S),d(U,N),d(U,R),d(I,Y),le&&le.m(I,null),d(E,Z),d(E,V),d(E,K),d(E,Q),d(E,X),d(E,ee),ne=!0,oe||(se=[v(y,"click",e[4]),v(A,"click",e[5]),v(S,"click",e[6])],oe=!0)},p(e,[t]){(!ne||4&t)&&k(n,"href",e[2]),(!ne||8&t&&!a(h.src,g=e[3]))&&k(h,"src",g),(!ne||1&t&&z!==(z="hamburger-nav__menu-element "+("classroom"==e[0]&&"active")))&&k(P,"class",z),"classroom"==e[0]?ie?1&t&&W(ie,1):(ie=Te(),ie.c(),W(ie,1),ie.m(L,null)):ie&&(F(),q(ie,1,1,()=>{ie=null}),G()),(!ne||1&t&&J!==(J="hamburger-nav__menu-element "+("online"==e[0]&&"active")))&&k(U,"class",J),"online"==e[0]?le?1&t&&W(le,1):(le=Me(),le.c(),W(le,1),le.m(I,null)):le&&(F(),q(le,1,1,()=>{le=null}),G()),(!ne||2&t&&te!==(te="hamburger-nav b-right overflow-y-auto no-scrollbar "+(!e[1]&&"hamburger-nav--hidden")))&&k(c,"class",te)},i(e){ne||(W(ie),W(le),ne=!0)},o(e){q(ie),q(le),ne=!1},d(e){e&&m(n),e&&m(o),e&&m(i),e&&m(l),e&&m(c),ie&&ie.d(),le&&le.d(),oe=!1,s(se)}}}function Pe(e,t,n){let{css:o="https://unpkg.com/@coding-blocks/motley/dist/app.min.css"}=t,{tab:s="classroom"}=t,{showhamburger:i=!1}=t,{logo:l="https://codingblocks.com/assets/images/cb/cblogo.png"}=t;return e.$$set=e=>{"css"in e&&n(2,o=e.css),"tab"in e&&n(0,s=e.tab),"showhamburger"in e&&n(1,i=e.showhamburger),"logo"in e&&n(3,l=e.logo)},[s,i,o,l,()=>n(1,i=!i),()=>n(0,s="classroom"),()=>n(0,s="online")]}customElements.define("mobile-online-courses",Ee);class Ae extends ee{constructor(e){super(),X(this,{target:this.shadowRoot,props:C(this.attributes),customElement:!0},Pe,Le,l,{css:2,tab:0,showhamburger:1,logo:3},null),e&&(e.target&&u(e.target,this,e.anchor),e.props&&(this.$set(e.props),S()))}static get observedAttributes(){return["css","tab","showhamburger","logo"]}get css(){return this.$$.ctx[2]}set css(e){this.$$set({css:e}),S()}get tab(){return this.$$.ctx[0]}set tab(e){this.$$set({tab:e}),S()}get showhamburger(){return this.$$.ctx[1]}set showhamburger(e){this.$$set({showhamburger:e}),S()}get logo(){return this.$$.ctx[3]}set logo(e){this.$$set({logo:e}),S()}}function Oe(e){let n;return{c(){n=p("div"),n.innerHTML='<ul class="col-4"><li class="bold">Beginner Courses</li> \n <li><a href="https://codingblocks.com/classroom-courses/c-plus-plus-for-beginners.html" target="_blank">C++ For Beginners</a></li> \n <li><a href="https://codingblocks.com/classroom-courses/java-for-beginners.html" target="_blank">Java For Beginners</a></li> \n <li><a href="https://codingblocks.com/classroom-courses/python-app-dev.html" target="_blank">Python App Development</a></li></ul> \n <ul class="col-4"><li class="bold">Development Courses</li> \n <li><a href="https://codingblocks.com/classroom-courses/android-app-development-using-kotlin-and-java.html" target="_blank">Android App Dev</a></li> \n <li><a href="https://codingblocks.com/classroom-courses/web-development-nodejs.html" target="_blank">Full Stack Web Dev</a></li> \n <li><a href="https://codingblocks.com/classroom-courses/web-development-django.html" target="_blank">Python Django</a></li> \n <li><a href="https://codingblocks.com/classroom-courses/unity-game-development.html" target="_blank">Unity Game Development</a></li></ul> \n <ul class="col-4"><li class="bold">Advanced Courses</li> \n <li><a href="https://codingblocks.com/classroom-courses/advanced-data-structures-and-algorithms-for-interviews.html" target="_blank">Algo++</a></li> \n <li><a href="https://codingblocks.com/classroom-courses/advanced-data-structures-and-algorithms-using-java.html" target="_blank">Algo.Java</a></li> \n <li><a href="https://codingblocks.com/classroom-courses/competitive-programming.html" target="_blank">Competitive Programming</a></li> \n <li><a href="https://codingblocks.com/classroom-courses/machine-learning-with-deep-learning.html">Machine Learning</a></li></ul> \n <ul class="col-4"><li class="bold">Junior Courses</li> \n <li><a href="https://codingblocks.com/classroom-courses/code4kids.html" target="_blank">Code 4 Kids</a></li> \n <li><a href="https://codingblocks.com/classroom-courses/mathsgeeks.html" target="_blank">Maths Geek</a></li></ul> \n <ul class="col-4"><li class="bold">Bootcamps</li> \n <li><a href="https://codingblocks.com/bootcamps/react.html" target="_blank">React JS</a></li> \n <li><a href="https://codingblocks.com/bootcamps/blockchain.html" target="_blank">Blockchain</a></li> \n <li><a href="https://codingblocks.com/bootcamps/coding-interview-preparation.html" target="_blank">Interview Preparation</a></li> \n <li><a href="https://codingblocks.com/bootcamps/gamedev.html" target="_blank">Game Dev</a></li> \n <li><a href="https://codingblocks.com/bootcamps/chatbots.html" target="_blank">Chatbot</a></li></ul> \n <ul class="col-4"><li class="bold">Professional</li> \n <li><a href="https://codingblocks.com/classroom-courses/six_months_ind_training.html" target="_blank">Industrial Training</a></li></ul>',this.c=t,k(n,"class","row justify-content-around m-5")},m(e,t){u(e,n,t)},p:t,i:t,o:t,d(e){e&&m(n)}}}customElements.define("cb-mobile-navbar",Ae);class He extends ee{constructor(e){super(),X(this,{target:this.shadowRoot,props:C(this.attributes),customElement:!0},null,Oe,l,{},null),e&&e.target&&u(e.target,this,e.anchor)}}function ze(e){let n;return{c(){n=p("div"),n.innerHTML='<ul class="col-4"><li class="bold mb-3">Beginner Courses</li> \n <li><a href="https://online.codingblocks.com/courses/c-plus-plus-online-course-for-beginners">C++ Master Course | Launchpad</a></li> \n <li><a href="https://online.codingblocks.com/courses/complete-java-course-online">Java Master Course | Crux</a></li> \n <li><a href="https://online.codingblocks.com/courses/python-for-beginners-developers">Python For Developers</a></li></ul> \n <ul class="col-4"><li class="bold mb-3">Advanced Courses</li> \n <li><a href="https://online.codingblocks.com/courses/python-django">Web Dev with Python-Django</a></li> \n <li><a href="https://online.codingblocks.com/courses/coding-interview-preparation-online">Interview Prep Bootcamp</a></li> \n <li><a href="https://online.codingblocks.com/courses/data-structures-and-algorithms-online-course-java-algo">Algo.Java Online</a></li> \n <li><a href="https://online.codingblocks.com/courses/android-app-training-online">Android App Development Online</a></li> \n <li><a href="https://online.codingblocks.com/courses/telegram-chatbot-python-online">Build Chatbots in Python</a></li></ul> \n <ul class="col-4"><li class="bold mb-3">Expert Courses</li> \n <li><a href="https://online.codingblocks.com/courses/competitive-programming-course-online">Competitive Programming Online</a></li> \n <li><a href="https://online.codingblocks.com/courses/coding-interview-preparation-course-online-c-plus-plus">Interview Preparation - C++</a></li> \n <li><a href="https://online.codingblocks.com/courses/machine-learning-course-online">Machine Learning Master Course</a></li> \n <li><a href="https://online.codingblocks.com/courses/coding-interview-preparation-course-online-java">Interview Preparation - Java</a></li></ul>',this.c=t,k(n,"class","row justify-content-around m-5")},m(e,t){u(e,n,t)},p:t,i:t,o:t,d(e){e&&m(n)}}}customElements.define("classroom-courses",He);class Be extends ee{constructor(e){super(),X(this,{target:this.shadowRoot,props:C(this.attributes),customElement:!0},null,ze,l,{},null),e&&e.target&&u(e.target,this,e.anchor)}}function De(e){let t,n,o,i,l,c,r,a,h,g,f,y,$,w,_,j,C,E;const T=[Ue,Ie],M=[];function L(e,t){return"classroom"==e[1]?0:1}return w=L(e),_=M[w]=T[w](e),{c(){t=p("div"),n=p("div"),o=p("div"),o.innerHTML='<div class="font-lg my-4 offset-3">Our Courses</div>',i=b(),l=p("div"),c=p("div"),c.innerHTML='<div>Online Courses</div> \n <a href="https://online.codingblocks.com/courses" target="_blank" class="font-mds orange">Explore all</a>',a=b(),h=p("div"),g=p("div"),g.innerHTML='<div>Classroom Courses</div> \n <a href="https://codingblocks.com/classroom-courses/" target="_blank" class="font-mds orange">Explore all</a>',y=b(),$=p("div"),_.c(),k(o,"class","py-5 font-md bold hover-grey"),k(c,"class","offset-3"),k(l,"class",r="py-4 font-md bold hover-grey "+("online"==e[1]&&"selected")),k(g,"class","offset-3"),k(h,"class",f="py-4 font-md bold hover-grey "+("classroom"==e[1]&&"selected")),k(n,"class","cb-navbar-side col-3"),k($,"class","col-9 font-mds"),k(t,"class","row no-gutters cb-navbar-expanded"),x(t,"overflow","hidden")},m(s,r){u(s,t,r),d(t,n),d(n,o),d(n,i),d(n,l),d(l,c),d(n,a),d(n,h),d(h,g),d(t,y),d(t,$),M[w].m($,null),j=!0,C||(E=[v(l,"click",e[6]),v(h,"click",e[7])],C=!0)},p(e,t){(!j||2&t&&r!==(r="py-4 font-md bold hover-grey "+("online"==e[1]&&"selected")))&&k(l,"class",r),(!j||2&t&&f!==(f="py-4 font-md bold hover-grey "+("classroom"==e[1]&&"selected")))&&k(h,"class",f);let n=w;w=L(e),w!==n&&(F(),q(M[n],1,1,()=>{M[n]=null}),G(),_=M[w],_||(_=M[w]=T[w](e),_.c()),W(_,1),_.m($,null))},i(e){j||(W(_),j=!0)},o(e){q(_),j=!1},d(e){e&&m(t),M[w].d(),C=!1,s(E)}}}function Ie(e){let t,n;return t=new Be({}),{c(){Z(t.$$.fragment)},m(e,o){V(t,e,o),n=!0},i(e){n||(W(t.$$.fragment,e),n=!0)},o(e){q(t.$$.fragment,e),n=!1},d(e){K(t,e)}}}function Ue(e){let t,n;return t=new He({}),{c(){Z(t.$$.fragment)},m(e,o){V(t,e,o),n=!0},i(e){n||(W(t.$$.fragment,e),n=!0)},o(e){q(t.$$.fragment,e),n=!1},d(e){K(t,e)}}}function Se(e){let n,o,s,i,l,c,r,h,f,y,$,w,x,_,j,C,E,T,M,L,P,A,O,H,z,B,D,I,U=e[0]&&De(e);return{c(){n=p("div"),o=p("div"),s=p("div"),i=p("span"),l=g("Courses\n "),c=p("img"),h=b(),f=p("div"),f.innerHTML='<a href="https://codingblocks.com/about.html" target="_blank">About Us</a>',y=b(),$=p("div"),$.innerHTML='<a href="https://codingblocks.com/resources" target="_blank">Resources</a>',w=b(),x=p("div"),x.innerHTML='<a href="https://codingblocks.com/campus-ambassador-program.html" target="_blank">Campus Ambassadors</a>',_=b(),j=p("div"),j.innerHTML='<a href="https://codingblocks.com/centres/" target="_blank">Contact Us</a>',C=b(),E=p("slot"),M=b(),U&&U.c(),L=b(),P=p("link"),A=b(),O=p("link"),H=b(),z=p("link"),this.c=t,a(c.src,r="https://minio.cb.lk/public/fa-5.13/svgs/solid/chevron-"+(e[0]?"up":"down")+".svg")||k(c,"src",r),k(c,"alt","chevron"),k(c,"class","d-inline s-10x10"),k(i,"class","px-3 pointer"),k(f,"class","px-3"),k($,"class","px-3"),k(x,"class","px-3"),k(j,"class","px-3"),k(E,"name","header"),k(s,"class",T="d-flex "+e[3]+" py-3 pr-5"),k(o,"class","border"),k(n,"class","a-hb d-md-block d-none"),k(P,"rel","stylesheet"),k(P,"href",e[2]),k(O,"href","https://fonts.googleapis.com/css?family=Nunito+Sans:400,600,700,800"),k(O,"rel","stylesheet"),k(z,"href","https://minio.codingblocks.com/hackerblocks-images/Gilroy.ttf"),k(z,"rel","stylesheet")},m(t,r){u(t,n,r),d(n,o),d(o,s),d(s,i),d(i,l),d(i,c),d(s,h),d(s,f),d(s,y),d(s,$),d(s,w),d(s,x),d(s,_),d(s,j),d(s,C),d(s,E),d(n,M),U&&U.m(n,null),u(t,L,r),u(t,P,r),u(t,A,r),u(t,O,r),u(t,H,r),u(t,z,r),B=!0,D||(I=v(i,"click",e[4]),D=!0)},p(e,[t]){(!B||1&t&&!a(c.src,r="https://minio.cb.lk/public/fa-5.13/svgs/solid/chevron-"+(e[0]?"up":"down")+".svg"))&&k(c,"src",r),(!B||8&t&&T!==(T="d-flex "+e[3]+" py-3 pr-5"))&&k(s,"class",T),e[0]?U?(U.p(e,t),1&t&&W(U,1)):(U=De(e),U.c(),W(U,1),U.m(n,null)):U&&(F(),q(U,1,1,()=>{U=null}),G()),(!B||4&t)&&k(P,"href",e[2])},i(e){B||(W(U),B=!0)},o(e){q(U),B=!1},d(e){e&&m(n),U&&U.d(),e&&m(L),e&&m(P),e&&m(A),e&&m(O),e&&m(H),e&&m(z),D=!1,I()}}}function Ne(e,t,n){let{topalign:o="center"}=t,{expanded:s=!1}=t,{tab:i="online"}=t,{css:l="https://unpkg.com/@coding-blocks/motley/dist/app.min.css"}=t,c="justify-content-center";return e.$$set=e=>{"topalign"in e&&n(5,o=e.topalign),"expanded"in e&&n(0,s=e.expanded),"tab"in e&&n(1,i=e.tab),"css"in e&&n(2,l=e.css)},e.$$.update=()=>{if(32&e.$$.dirty)switch(o){case"left":n(3,c="justify-content-start");break;case"right":n(3,c="justify-content-end");break;default:n(3,c="justify-content-center")}},[s,i,l,c,()=>n(0,s=!s),o,()=>n(1,i="online"),()=>n(1,i="classroom")]}customElements.define("online-courses",Be);class Re extends ee{constructor(e){super(),this.shadowRoot.innerHTML="<style>a:hover{text-decoration:underline}.hover-grey.selected:hover{background:unset}.a-hb{display:none}</style>",X(this,{target:this.shadowRoot,props:C(this.attributes),customElement:!0},Ne,Se,l,{topalign:5,expanded:0,tab:1,css:2},null),e&&(e.target&&u(e.target,this,e.anchor),e.props&&(this.$set(e.props),S()))}static get observedAttributes(){return["topalign","expanded","tab","css"]}get topalign(){return this.$$.ctx[5]}set topalign(e){this.$$set({topalign:e}),S()}get expanded(){return this.$$.ctx[0]}set expanded(e){this.$$set({expanded:e}),S()}get tab(){return this.$$.ctx[1]}set tab(e){this.$$set({tab:e}),S()}get css(){return this.$$.ctx[2]}set css(e){this.$$set({css:e}),S()}}function Je(e){let n,o,s,i,l,c,r,u,h,g,b,f,v,y;return{c(){n=p("script"),s=p("script"),l=p("script"),r=p("script"),h=p("script"),b=p("script"),v=p("script"),this.c=t,a(n.src,o="https://source.zoom.us/1.8.5/lib/vendor/react.min.js")||k(n,"src","https://source.zoom.us/1.8.5/lib/vendor/react.min.js"),a(s.src,i="https://source.zoom.us/1.8.5/lib/vendor/react-dom.min.js")||k(s,"src","https://source.zoom.us/1.8.5/lib/vendor/react-dom.min.js"),a(l.src,c="https://source.zoom.us/1.8.5/lib/vendor/redux.min.js")||k(l,"src","https://source.zoom.us/1.8.5/lib/vendor/redux.min.js"),a(r.src,u="https://source.zoom.us/1.8.5/lib/vendor/redux-thunk.min.js")||k(r,"src","https://source.zoom.us/1.8.5/lib/vendor/redux-thunk.min.js"),a(h.src,g="https://source.zoom.us/1.8.5/lib/vendor/jquery.min.js")||k(h,"src","https://source.zoom.us/1.8.5/lib/vendor/jquery.min.js"),a(b.src,f="https://source.zoom.us/1.8.5/lib/vendor/lodash.min.js")||k(b,"src","https://source.zoom.us/1.8.5/lib/vendor/lodash.min.js"),a(v.src,y="https://source.zoom.us/zoom-meeting-1.8.5.min.js")||k(v,"src","https://source.zoom.us/zoom-meeting-1.8.5.min.js")},m(t,o){d(document.head,n),d(document.head,s),d(document.head,l),d(document.head,r),d(document.head,h),d(document.head,b),d(document.head,v),e[7](v)},p:t,i:t,o:t,d(t){m(n),m(s),m(l),m(r),m(h),m(b),m(v),e[7](null)}}}function Fe(e,t,n){let o,{leaveUrl:s="/"}=t,{meetingnumber:i}=t,{signature:l}=t,{apikey:c}=t,{username:r}=t,{useremail:a}=t;return M(async()=>{o.addEventListener("load",()=>{ZoomMtg.preLoadWasm(),ZoomMtg.prepareJssdk(),ZoomMtg.init({leaveUrl:s,success(){ZoomMtg.join({meetingNumber:i,userName:r,signature:l,apiKey:c,userEmail:a,success(e){console.log("success")},error(e){console.log(e)}})},error(e){console.log(e)}})})}),e.$$set=e=>{"leaveUrl"in e&&n(1,s=e.leaveUrl),"meetingnumber"in e&&n(2,i=e.meetingnumber),"signature"in e&&n(3,l=e.signature),"apikey"in e&&n(4,c=e.apikey),"username"in e&&n(5,r=e.username),"useremail"in e&&n(6,a=e.useremail)},[o,s,i,l,c,r,a,function(e){A[e?"unshift":"push"](()=>{o=e,n(0,o)})}]}customElements.define("cb-navbar",Re);class Ge extends ee{constructor(e){super(),X(this,{target:this.shadowRoot,props:C(this.attributes),customElement:!0},Fe,Je,l,{leaveUrl:1,meetingnumber:2,signature:3,apikey:4,username:5,useremail:6},null),e&&(e.target&&u(e.target,this,e.anchor),e.props&&(this.$set(e.props),S()))}static get observedAttributes(){return["leaveUrl","meetingnumber","signature","apikey","username","useremail"]}get leaveUrl(){return this.$$.ctx[1]}set leaveUrl(e){this.$$set({leaveUrl:e}),S()}get meetingnumber(){return this.$$.ctx[2]}set meetingnumber(e){this.$$set({meetingnumber:e}),S()}get signature(){return this.$$.ctx[3]}set signature(e){this.$$set({signature:e}),S()}get apikey(){return this.$$.ctx[4]}set apikey(e){this.$$set({apikey:e}),S()}get username(){return this.$$.ctx[5]}set username(e){this.$$set({username:e}),S()}get useremail(){return this.$$.ctx[6]}set useremail(e){this.$$set({useremail:e}),S()}}customElements.define("zoom-meeting",Ge);const{document:We}=Y;function qe(e){let t,n;return{c(){t=p("div"),n=g(e[4]),k(t,"class","red")},m(e,o){u(e,t,o),d(t,n)},p(e,t){16&t&&$(n,e[4])},d(e){e&&m(t)}}}function Ye(e){let t,n,o,i,l,c,r;return{c(){t=p("input"),n=b(),o=p("button"),i=g("Send OTP"),k(t,"type","number"),k(t,"placeholder","Enter 10 digit Mobile Number"),k(t,"class","w-100 mb-4"),k(o,"class","btn btn-primary w-100"),o.disabled=l=!e[1]},m(s,l){u(s,t,l),w(t,e[1]),u(s,n,l),u(s,o,l),d(o,i),c||(r=[v(t,"input",e[14]),v(o,"click",e[8])],c=!0)},p(e,n){2&n&&y(t.value)!==e[1]&&w(t,e[1]),2&n&&l!==(l=!e[1])&&(o.disabled=l)},d(e){e&&m(t),e&&m(n),e&&m(o),c=!1,s(r)}}}function Ze(e){let t,n,o,i,l,c,r;return{c(){t=p("input"),n=b(),o=p("button"),i=g("Verify OTP"),k(t,"type","number"),k(t,"placeholder","Enter OTP"),k(t,"class","w-100 mb-4"),k(o,"class","btn btn-primary w-100"),o.disabled=l=!e[2]},m(s,l){u(s,t,l),w(t,e[2]),u(s,n,l),u(s,o,l),d(o,i),c||(r=[v(t,"input",e[13]),v(o,"click",e[9])],c=!0)},p(e,n){4&n&&y(t.value)!==e[2]&&w(t,e[2]),4&n&&l!==(l=!e[2])&&(o.disabled=l)},d(e){e&&m(t),e&&m(n),e&&m(o),c=!1,s(r)}}}function Ve(e){let t;function n(e,t){return e[3]?Qe:Ke}let o=n(e),s=o(e);return{c(){s.c(),t=f()},m(e,n){s.m(e,n),u(e,t,n)},p(e,i){o===(o=n(e))&&s?s.p(e,i):(s.d(1),s=o(e),s&&(s.c(),s.m(t.parentNode,t)))},d(e){s.d(e),e&&m(t)}}}function Ke(e){let t,n,o,i,l,c,r;return{c(){t=p("input"),n=b(),o=p("button"),i=g("Send OTP"),k(t,"type","email"),k(t,"placeholder","Enter Email"),k(t,"class","w-100 mb-4"),k(o,"class","btn btn-primary w-100"),o.disabled=l=!e[0]},m(s,l){u(s,t,l),w(t,e[0]),u(s,n,l),u(s,o,l),d(o,i),c||(r=[v(t,"input",e[12]),v(o,"click",e[8])],c=!0)},p(e,n){1&n&&t.value!==e[0]&&w(t,e[0]),1&n&&l!==(l=!e[0])&&(o.disabled=l)},d(e){e&&m(t),e&&m(n),e&&m(o),c=!1,s(r)}}}function Qe(e){let t,n,o,i,l,c,r;return{c(){t=p("input"),n=b(),o=p("button"),i=g("Verify OTP"),k(t,"type","number"),k(t,"placeholder","Enter OTP"),k(t,"class","w-100 mb-4"),k(o,"class","btn btn-primary w-100"),o.disabled=l=!e[2]},m(s,l){u(s,t,l),w(t,e[2]),u(s,n,l),u(s,o,l),d(o,i),c||(r=[v(t,"input",e[11]),v(o,"click",e[9])],c=!0)},p(e,n){4&n&&y(t.value)!==e[2]&&w(t,e[2]),4&n&&l!==(l=!e[2])&&(o.disabled=l)},d(e){e&&m(t),e&&m(n),e&&m(o),c=!1,s(r)}}}function Xe(e){let n,o,i,l,c,r,a,h,f,y,$,w,_,j,C,E,T,M,L,P,A,O,H,z,B,D,I,U,S,N,R,J,F,G,W,q,Y,Z,V,K=e[4]&&qe(e);function Q(e,t){return"email"===e[5]?Ve:e[3]?Ze:Ye}let X=Q(e),ee=X(e);return{c(){n=p("link"),o=p("link"),i=p("link"),l=b(),c=p("div"),r=b(),a=p("div"),h=p("div"),f=p("h2"),f.textContent="Login / Signup",y=b(),$=p("button"),$.innerHTML='<img src="https://minio.codingblocks.com/public/cross-black.png" alt=""/>',w=b(),_=p("div"),j=g("Sign In with \n "),C=p("button"),E=g("Email"),M=g("\n Or\n "),L=p("button"),P=g("Mobile"),O=b(),K&&K.c(),H=b(),ee.c(),z=b(),B=p("div"),B.innerHTML='<span class="hr"></span> \n <span class="px-5">OR</span> \n <span class="hr"></span>',D=b(),I=p("a"),U=p("button"),U.innerHTML='<img class="logo" src="https://minio.codingblocks.com/public/google-logo.png" alt=""/> \n <span class="logo-text">Sign in with Google</span>',S=b(),N=p("a"),R=p("button"),R.innerHTML='<img class="logo" src="https://minio.codingblocks.com/public/facebook-logo.png" alt=""/> \n <span class="logo-text">Sign in with facebook</span>',J=b(),F=p("div"),F.innerHTML='<div class="header">Find your dream job</div> \n <div class="sub-header mb-4">Trusted by 100k+ students</div> \n <img src="https://minio.codingblocks.com/public/company-logo-group.png" alt=""/>',G=b(),W=p("div"),W.innerHTML='<a href="https://www.linkedin.com/school/codingblocksindia/" target="_blank"><img class="social-media-logo mr-2" src="https://minio.codingblocks.com/public/linkedin-logo.png" alt=""/></a> \n <a href="https://twitter.com/codingblocksIN" target="_blank"><img class="social-media-logo mr-2" src="https://minio.codingblocks.com/public/twitter-logo.png" alt=""/></a> \n <a href="https://github.com/coding-blocks" target="_blank"><img class="social-media-logo" src="https://minio.codingblocks.com/public/github-logo.png" alt=""/></a> \n <div><a href="https://codingblocks.com/tos.html" class="sub-header" target="_blank">Coding Blocks | Terms of service</a></div>',q=b(),Y=p("link"),this.c=t,k(n,"rel","preconnect"),k(n,"href","https://fonts.googleapis.com"),k(o,"rel","preconnect"),k(o,"href","https://fonts.gstatic.com"),k(o,"crossorigin",""),k(i,"href","https://fonts.googleapis.com/css2?family=Mulish:wght@400;600&display=swap"),k(i,"rel","stylesheet"),k(c,"class","blurrer"),x($,"color","#3B4254"),k(h,"class","d-flex justify-content-between align-items-center mb-5"),k(C,"class",T="email"===e[5]?"red":""),k(L,"class",A="mobile"===e[5]?"red":""),k(_,"class","mb-4"),k(B,"class","d-flex justify-content-center align-items-center"),x(B,"margin","30px 0px"),k(U,"class","btn btn-secondary white w-100 mb-3"),k(I,"href",e[6]),k(R,"class","btn btn-secondary white w-100 mb-5"),k(N,"href",e[7]),k(F,"class","mb-5 pt-5"),k(W,"class","position-absolute"),k(a,"id","cb-login-signup"),k(a,"class","cb-login-signup-container"),k(Y,"rel","stylesheet"),k(Y,"href","https://unpkg.com/@coding-blocks/motley@2.8.6/dist/account/app.min.css")},m(t,s){d(We.head,n),d(We.head,o),d(We.head,i),u(t,l,s),u(t,c,s),u(t,r,s),u(t,a,s),d(a,h),d(h,f),d(h,y),d(h,$),d(a,w),d(a,_),d(_,j),d(_,C),d(C,E),d(_,M),d(_,L),d(L,P),d(a,O),K&&K.m(a,null),d(a,H),ee.m(a,null),d(a,z),d(a,B),d(a,D),d(a,I),d(I,U),d(a,S),d(a,N),d(N,R),d(a,J),d(a,F),d(a,G),d(a,W),u(t,q,s),u(t,Y,s),Z||(V=[v(c,"click",et),v($,"click",et),v(C,"click",e[10]("email")),v(L,"click",e[10]("mobile"))],Z=!0)},p(e,[t]){32&t&&T!==(T="email"===e[5]?"red":"")&&k(C,"class",T),32&t&&A!==(A="mobile"===e[5]?"red":"")&&k(L,"class",A),e[4]?K?K.p(e,t):(K=qe(e),K.c(),K.m(a,H)):K&&(K.d(1),K=null),X===(X=Q(e))&&ee?ee.p(e,t):(ee.d(1),ee=X(e),ee&&(ee.c(),ee.m(a,z)))},i:t,o:t,d(e){m(n),m(o),m(i),e&&m(l),e&&m(c),e&&m(r),e&&m(a),K&&K.d(),ee.d(),e&&m(q),e&&m(Y),Z=!1,s(V)}}}function et(){document.getElementsByTagName("cb-login-signup")[0].classList.add("hide-cb-login-signup-prompt")}function tt(e,t,n){const o=window.location.host.split(".")[0],s=window.location.host.includes("codingblocks.xyz"),i={hack:2146237097,online:5633768694,hire:4190457915,"code-gym":9706874989},l={sendOtpEmail:{hack:"https://hack-api.codingblocks.com/api/v2/jwt/otp",online:"https://online-api.codingblocks.com/api/v2/jwt/otp/email",hire:"https://hire-api.codingblocks.com/login/otp/email","code-gym":"https://code-gym-api.codingblocks.com/api/jwt/otp"},sendOtpMobile:{hack:"https://hack-api.codingblocks.com/api/v2/jwt/otp",online:"https://online-api.codingblocks.com/api/v2/jwt/otp/mobile",hire:"https://hire-api.codingblocks.com/login/otp/mobile","code-gym":"https://code-gym-api.codingblocks.com/api/jwt/otp"},verifyOtpEmail:{hack:"https://hack-api.codingblocks.com/api/v2/jwt/otp/verify",online:"https://online-api.codingblocks.com/api/v2/jwt/otp/email/verify",hire:"https://hire-api.codingblocks.com/login/otp/email/verify","code-gym":"https://code-gym-api.codingblocks.com/api/jwt/otp/verify"},verifyOtpMobile:{hack:"https://hack-api.codingblocks.com/api/v2/jwt/otp/verify",online:"https://online-api.codingblocks.com/api/v2/jwt/otp/mobile/verify",hire:"https://hire-api.codingblocks.com/login/otp/mobile/verify","code-gym":"https://code-gym-api.codingblocks.com/api/jwt/otp/verify"}};let c=null,r=null,a=null,d=null,u=null,m="email",h=(localStorage.getItem("cb_login_prompt"),o.includes("localhost")?`http://localhost:3838/login/google/v2?redirect_uri=http://${o}&client=localhost&client_id=1234567890`:s?`https://account.codingblocks.xyz/login/google/v2?redirect_uri=https://${o}.codingblocks.xyz&client=${o}-codingblocks&client_id=1`:`https://account.codingblocks.com/login/google/v2?redirect_uri=https://${o}.codingblocks.com&client=${o}-codingblocks&client_id=${i[o]}`),p=o.includes("localhost")?`http://localhost:3838/login/facebook/v2?redirect_uri=http://${o}&client=localhost&client_id=1234567890`:s?`https://account.codingblocks.xyz/login/facebook/v2?redirect_uri=https://${o}.codingblocks.xyz&client=${o}-codingblocks&client_id=1`:`https://account.codingblocks.com/login/facebook/v2?redirect_uri=https://${o}.codingblocks.com&client=${o}-codingblocks&client_id=${i[o]}`;return[c,r,a,d,u,m,h,p,async function(){const e=await fetch("email"===m?l.sendOtpEmail[o]:l.sendOtpMobile[o]||"http://localhost:3000/api/jwt/otp",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({email:c,mobile:r})});if(e.ok){let{id:t}=await e.json();n(3,d=t)}else{const{message:t}=await e.json();t&&n(4,u=t)}},async function(){n(4,u=null);const e=await fetch("email"===m?l.verifyOtpEmail[o]:l.verifyOtpMobile[o]||"http://localhost:3000/api/jwt/otp/verify",{method:"POST",headers:{"Content-Type":"application/json"},credentials:"include",body:JSON.stringify({email:c,mobile:r,otp_id:d,otp:a})});if(e.ok)window.location.reload();else{const{message:t}=await e.json();t&&n(4,u=t)}},e=>()=>{n(5,m=e),n(3,d=null)},function(){a=y(this.value),n(2,a)},function(){c=this.value,n(0,c)},function(){a=y(this.value),n(2,a)},function(){r=y(this.value),n(1,r)}]}class nt extends ee{constructor(e){super(),this.shadowRoot.innerHTML="<style>input{border:none;border-bottom:solid 1px #E95547;background:#15171E;padding:10px 0px}.blurrer{position:fixed;z-index:1000;top:0;left:0;width:100vw;height:100vh;background-color:#939393;opacity:0.5}.cb-login-signup-container{background:#15171E;color:white;width:100vw;min-height:100vh;position:fixed;z-index:1001;top:0;right:0;padding:5rem 3rem 3rem 3rem;font-family:'Mulish';transition:0.5s}:host(.hide-cb-login-signup-prompt) .cb-login-signup-container{right:-100vw}:host(.hide-cb-login-signup-prompt) .blurrer{display:none}@media screen and (min-width: 768px){.cb-login-signup-container{width:35vw}:host(.hide-cb-login-signup-prompt) .cb-login-signup-container{right:-35vw}}.btn{padding:10px 10px;border-radius:3px}.btn.btn-primary{background:linear-gradient(90deg, #F26A3E 0%, #FB8133 100%)}.btn.btn-secondary{background:#15171E;border:1px solid #373E4F}.btn:disabled{background:#939393}.logo{width:20px}.logo-text{display:inline-block;transform:translate(5px, -4px)}.header{font-size:20px}.hr{display:inline-block;width:40%;border:solid 0.5px #373E4F}.sub-header{font-size:12px;color:#BDBDBD}.social-media-logo{width:15px}</style>",X(this,{target:this.shadowRoot,props:C(this.attributes),customElement:!0},tt,Xe,l,{},null),e&&e.target&&u(e.target,this,e.anchor)}}customElements.define("cb-login-signup",nt),e.banner=re,e.cb_login_signup=nt,e.cb_navbar=Re,e.demographic_form=xe,e.mobile_cb_navbar=Ae,e.zoom_meeting=Ge,Object.defineProperty(e,"__esModule",{value:!0})})); | ||
!function(t,e){"object"==typeof exports&&"undefined"!=typeof module?e(exports):"function"==typeof define&&define.amd?define(["exports"],e):e(((t=t||self).index=t.index||{},t.index.js={}))}(this,(function(t){"use strict";function e(){}function s(t){return t()}function o(){return Object.create(null)}function n(t){t.forEach(s)}function i(t){return"function"==typeof t}function l(t,e){return t!=t?e==e:t!==e||t&&"object"==typeof t||"function"==typeof t}let c,a;function r(t,e){return c||(c=document.createElement("a")),c.href=e,t===c.href}function d(t,e){t.appendChild(e)}function u(t,e,s){t.insertBefore(e,s||null)}function h(t){t.parentNode.removeChild(t)}function m(t,e){for(let s=0;s<t.length;s+=1)t[s]&&t[s].d(e)}function p(t){return document.createElement(t)}function g(t){return document.createTextNode(t)}function b(){return g(" ")}function f(){return g("")}function v(t,e,s,o){return t.addEventListener(e,s,o),()=>t.removeEventListener(e,s,o)}function k(t,e,s){null==s?t.removeAttribute(e):t.getAttribute(e)!==s&&t.setAttribute(e,s)}function y(t){return""===t?null:+t}function w(t,e){e=""+e,t.wholeText!==e&&(t.data=e)}function $(t,e){t.value=null==e?"":e}function x(t,e,s,o){null===s?t.style.removeProperty(e):t.style.setProperty(e,s,o?"important":"")}function _(t,e){for(let s=0;s<t.options.length;s+=1){const o=t.options[s];if(o.__value===e)return void(o.selected=!0)}t.selectedIndex=-1}function C(t){const e=t.querySelector(":checked")||t.options[0];return e&&e.__value}function j(t){const e={};for(const s of t)e[s.name]=s.value;return e}function T(t){a=t}function E(){if(!a)throw new Error("Function called outside component initialization");return a}function M(t){E().$$.on_mount.push(t)}function P(){const t=E();return(e,s,{cancelable:o=!1}={})=>{const n=t.$$.callbacks[e];if(n){const i=function(t,e,{bubbles:s=!1,cancelable:o=!1}={}){const n=document.createEvent("CustomEvent");return n.initCustomEvent(t,s,o,e),n}(e,s,{cancelable:o});return n.slice().forEach(e=>{e.call(t,i)}),!i.defaultPrevented}return!0}}const A=[],L=[],O=[],B=[],z=Promise.resolve();let H=!1;function D(t){O.push(t)}const I=new Set;let U=0;function S(){const t=a;do{for(;U<A.length;){const t=A[U];U++,T(t),N(t.$$)}for(T(null),A.length=0,U=0;L.length;)L.pop()();for(let t=0;t<O.length;t+=1){const e=O[t];I.has(e)||(I.add(e),e())}O.length=0}while(A.length);for(;B.length;)B.pop()();H=!1,I.clear(),T(t)}function N(t){if(null!==t.fragment){t.update(),n(t.before_update);const e=t.dirty;t.dirty=[-1],t.fragment&&t.fragment.p(t.ctx,e),t.after_update.forEach(D)}}const R=new Set;let F;function J(){F={r:0,c:[],p:F}}function G(){F.r||n(F.c),F=F.p}function W(t,e){t&&t.i&&(R.delete(t),t.i(e))}function q(t,e,s,o){if(t&&t.o){if(R.has(t))return;R.add(t),F.c.push(()=>{R.delete(t),o&&(s&&t.d(1),o())}),t.o(e)}else o&&o()}const Y="undefined"!=typeof window?window:"undefined"!=typeof globalThis?globalThis:global;function Z(t){t&&t.c()}function V(t,e,o,l){const{fragment:c,on_mount:a,on_destroy:r,after_update:d}=t.$$;c&&c.m(e,o),l||D(()=>{const e=a.map(s).filter(i);r?r.push(...e):n(e),t.$$.on_mount=[]}),d.forEach(D)}function K(t,e){const s=t.$$;null!==s.fragment&&(n(s.on_destroy),s.fragment&&s.fragment.d(e),s.on_destroy=s.fragment=null,s.ctx=[])}function Q(t,e){-1===t.$$.dirty[0]&&(A.push(t),H||(H=!0,z.then(S)),t.$$.dirty.fill(0)),t.$$.dirty[e/31|0]|=1<<e%31}function X(t,s,i,l,c,r,d,u=[-1]){const m=a;T(t);const p=t.$$={fragment:null,ctx:null,props:r,update:e,not_equal:c,bound:o(),on_mount:[],on_destroy:[],on_disconnect:[],before_update:[],after_update:[],context:new Map(s.context||(m?m.$$.context:[])),callbacks:o(),dirty:u,skip_bound:!1,root:s.target||m.$$.root};d&&d(p.root);let g=!1;if(p.ctx=i?i(t,s.props||{},(e,s,...o)=>{const n=o.length?o[0]:s;return p.ctx&&c(p.ctx[e],p.ctx[e]=n)&&(!p.skip_bound&&p.bound[e]&&p.bound[e](n),g&&Q(t,e)),s}):[],p.update(),g=!0,n(p.before_update),p.fragment=!!l&&l(p.ctx),s.target){if(s.hydrate){const t=function(t){return Array.from(t.childNodes)}(s.target);p.fragment&&p.fragment.l(t),t.forEach(h)}else p.fragment&&p.fragment.c();s.intro&&W(t.$$.fragment),V(t,s.target,s.anchor,s.customElement),S()}T(m)}let tt;function et(t,e,s){const o=t.slice();return o[9]=e[s].img_url,o[10]=e[s].img_url_mobile,o[11]=e[s].link,o[13]=s,o}function st(t){let e,s=t[3],o=[];for(let e=0;e<s.length;e+=1)o[e]=it(et(t,s,e));return{c(){e=p("div");for(let t=0;t<o.length;t+=1)o[t].c();k(e,"class","carousel")},m(t,s){u(t,e,s);for(let t=0;t<o.length;t+=1)o[t].m(e,null)},p(t,n){if(61&n){let i;for(s=t[3],i=0;i<s.length;i+=1){const l=et(t,s,i);o[i]?o[i].p(l,n):(o[i]=it(l),o[i].c(),o[i].m(e,null))}for(;i<o.length;i+=1)o[i].d(1);o.length=s.length}},d(t){t&&h(e),m(o,t)}}}function ot(t){let e,s,o,n,i,l,c,a,m,g=t[0]&&nt(t);return{c(){e=p("a"),g&&g.c(),s=b(),o=p("img"),i=b(),l=p("img"),a=b(),k(o,"class","d-md-block"),r(o.src,n=t[9])||k(o,"src",n),k(o,"alt",""),k(o,"width","100%"),k(l,"class","d-md-none"),r(l.src,c=t[10])||k(l,"src",c),k(l,"alt",""),k(l,"width","100%"),k(e,"class","d-block"),k(e,"target","_blank"),k(e,"href",m=t[11])},m(t,n){u(t,e,n),g&&g.m(e,null),d(e,s),d(e,o),d(e,i),d(e,l),d(e,a)},p(t,i){t[0]?g?g.p(t,i):(g=nt(t),g.c(),g.m(e,s)):g&&(g.d(1),g=null),8&i&&!r(o.src,n=t[9])&&k(o,"src",n),8&i&&!r(l.src,c=t[10])&&k(l,"src",c),8&i&&m!==(m=t[11])&&k(e,"href",m)},d(t){t&&h(e),g&&g.d()}}}function nt(t){let e,s,o,n;return{c(){e=p("img"),k(e,"class","close-icon"),r(e.src,s=t[2])||k(e,"src",s),k(e,"alt","close")},m(s,i){var l;u(s,e,i),o||(n=v(e,"click",function(t){return function(e){return e.stopPropagation(),t.call(this,e)}}((l=t[5],function(t){return t.preventDefault(),l.call(this,t)})),!0),o=!0)},p(t,o){4&o&&!r(e.src,s=t[2])&&k(e,"src",s)},d(t){t&&h(e),o=!1,n()}}}function it(t){let e,s=t[4]==t[13]&&ot(t);return{c(){s&&s.c(),e=f()},m(t,o){s&&s.m(t,o),u(t,e,o)},p(t,o){t[4]==t[13]?s?s.p(t,o):(s=ot(t),s.c(),s.m(e.parentNode,e)):s&&(s.d(1),s=null)},d(t){s&&s.d(t),t&&h(e)}}}function lt(t){let s,o=t[1]&&st(t);return{c(){o&&o.c(),s=f(),this.c=e},m(t,e){o&&o.m(t,e),u(t,s,e)},p(t,[e]){t[1]?o?o.p(t,e):(o=st(t),o.c(),o.m(s.parentNode,s)):o&&(o.d(1),o=null)},i:e,o:e,d(t){o&&o.d(t),t&&h(s)}}}function ct(t,e,s){let o=!1,n="",i=[],l=0,c=!1,{showToggle:a=!0}=e,{theme:r="light"}=e;M(async()=>{const t=await fetch("https://hack-api.codingblocks.com/api/v2/dashboard-banners",{headers:{client:"hack-admin"}}),{data:e}=await t.json();s(3,i=e.map(t=>({img_url:t.attributes["image-url"],img_url_mobile:t.attributes["mobile-image-url"],link:t.attributes.link}))),s(2,n="light"===r?"https://minio.codingblocks.com/motley/wrong_g_white.min.png":"https://minio.codingblocks.com/motley/wrong_g.png"),s(1,o=!!i.length),c||d()});const d=t=>{c&&clearInterval(c),c=setInterval(()=>{l==i.length-1?s(4,l=0):s(4,l+=1)},7e3)};return t.$$set=t=>{"showToggle"in t&&s(0,a=t.showToggle),"theme"in t&&s(6,r=t.theme)},[a,o,n,i,l,()=>{s(1,o=!o)},r]}"function"==typeof HTMLElement&&(tt=class extends HTMLElement{constructor(){super(),this.attachShadow({mode:"open"})}connectedCallback(){const{on_mount:t}=this.$$;this.$$.on_disconnect=t.map(s).filter(i);for(const t in this.$$.slotted)this.appendChild(this.$$.slotted[t])}attributeChangedCallback(t,e,s){this[t]=s}disconnectedCallback(){n(this.$$.on_disconnect)}$destroy(){K(this,1),this.$destroy=e}$on(t,e){const s=this.$$.callbacks[t]||(this.$$.callbacks[t]=[]);return s.push(e),()=>{const t=s.indexOf(e);-1!==t&&s.splice(t,1)}}$set(t){var e;this.$$set&&(e=t,0!==Object.keys(e).length)&&(this.$$.skip_bound=!0,this.$$set(t),this.$$.skip_bound=!1)}});class at extends tt{constructor(t){super(),this.shadowRoot.innerHTML="<style>.d-block{display:block;position:relative}.close-icon{position:absolute;right:10px;cursor:pointer;top:10px;width:15px;transition:width 0.1s}.close-icon:hover{width:18px}.d-md-none{display:block}.d-md-block{display:none}.carousel{height:116px;overflow:hidden}@media(min-width:768px){.d-md-none{display:none}.d-md-block{display:block}}</style>",X(this,{target:this.shadowRoot,props:j(this.attributes),customElement:!0},ct,lt,l,{showToggle:0,theme:6},null),t&&(t.target&&u(t.target,this,t.anchor),t.props&&(this.$set(t.props),S()))}static get observedAttributes(){return["showToggle","theme"]}get showToggle(){return this.$$.ctx[0]}set showToggle(t){this.$$set({showToggle:t}),S()}get theme(){return this.$$.ctx[6]}set theme(t){this.$$set({theme:t}),S()}}customElements.define("promotion-banner",at);var rt=new class{constructor(t){this.url=t}fetchUser(){return fetch(this.url+"/users/me?include=demographic",{credentials:"include"}).then(t=>t.json())}fetchColleges(){return fetch(this.url+"/colleges").then(t=>t.json())}fetchBranches(){return fetch(this.url+"/branches").then(t=>t.json())}updateUser(t){return fetch(this.url+"/users/me/edit",{method:"PATCH",credentials:"include",headers:{"Content-Type":"application/json"},body:JSON.stringify(t)}).then(t=>t.json())}}("https://account.codingblocks.com/api");function dt(t,e,s){const o=t.slice();return o[15]=e[s],o}function ut(t,e,s){const o=t.slice();return o[18]=e[s],o}function ht(t,e,s){const o=t.slice();return o[21]=e[s],o}function mt(t){let e,s,o;function n(t,e){return t[7].success?gt:pt}let i=n(t),l=i(t);return{c(){e=p("div"),s=p("div"),s.innerHTML='<div class="font-md bold">Get INR 1000 Credits</div> \n <div class="mt-4">Complete your Profile & get INR 1000 credits in your wallet</div>',o=b(),l.c(),k(s,"class","bg-gradient-pink white p-4"),k(e,"class","border-card b-red p-0")},m(t,n){u(t,e,n),d(e,s),d(e,o),l.m(e,null)},p(t,s){i===(i=n(t))&&l?l.p(t,s):(l.d(1),l=i(t),l&&(l.c(),l.m(e,null)))},d(t){t&&h(e),l.d()}}}function pt(t){let e,s,o,i,l,c,a,r,g,f,y,w,$,x,C,j,T=t[4],E=[];for(let e=0;e<T.length;e+=1)E[e]=bt(ht(t,T,e));let M=1===t[0]&&ft(t),P=t[8],A=[];for(let e=0;e<P.length;e+=1)A[e]=vt(ut(t,P,e));let L=t[5],O=[];for(let e=0;e<L.length;e+=1)O[e]=kt(dt(t,L,e));let B=t[7].error&&yt(t);return{c(){e=p("div"),s=p("select"),o=p("option"),o.textContent="-- College --";for(let t=0;t<E.length;t+=1)E[t].c();i=b(),M&&M.c(),l=b(),c=p("select"),a=p("option"),a.textContent="-- Graduation Year --";for(let t=0;t<A.length;t+=1)A[t].c();r=b(),g=p("select"),f=p("option"),f.textContent="-- Branch --";for(let t=0;t<O.length;t+=1)O[t].c();y=b(),w=p("div"),$=p("button"),$.textContent="Update Profile",x=b(),B&&B.c(),o.disabled=!0,o.selected=!0,o.__value="",o.value=o.__value,k(s,"class","input-text br-50 my-2"),void 0===t[0]&&D(()=>t[10].call(s)),a.disabled=!0,a.selected=!0,a.__value="",a.value=a.__value,k(c,"class","input-text br-50 my-2"),void 0===t[2]&&D(()=>t[12].call(c)),f.disabled=!0,f.selected=!0,f.__value="",f.value=f.__value,k(g,"class","input-text br-50 my-2"),void 0===t[1]&&D(()=>t[13].call(g)),k($,"id","updatedButton"),k($,"class","button-solid button-orange"),k(w,"class","d-flex justify-content-center mt-5"),k(e,"class","py-4 px-5 t-align-center")},m(n,h){u(n,e,h),d(e,s),d(s,o);for(let t=0;t<E.length;t+=1)E[t].m(s,null);_(s,t[0]),d(e,i),M&&M.m(e,null),d(e,l),d(e,c),d(c,a);for(let t=0;t<A.length;t+=1)A[t].m(c,null);_(c,t[2]),d(e,r),d(e,g),d(g,f);for(let t=0;t<O.length;t+=1)O[t].m(g,null);_(g,t[1]),d(e,y),d(e,w),d(w,$),d(e,x),B&&B.m(e,null),C||(j=[v(s,"change",t[10]),v(c,"change",t[12]),v(g,"change",t[13]),v($,"click",t[9])],C=!0)},p(t,o){if(17&o){let e;for(T=t[4],e=0;e<T.length;e+=1){const n=ht(t,T,e);E[e]?E[e].p(n,o):(E[e]=bt(n),E[e].c(),E[e].m(s,null))}for(;e<E.length;e+=1)E[e].d(1);E.length=T.length}if(17&o&&_(s,t[0]),1===t[0]?M?M.p(t,o):(M=ft(t),M.c(),M.m(e,l)):M&&(M.d(1),M=null),260&o){let e;for(P=t[8],e=0;e<P.length;e+=1){const s=ut(t,P,e);A[e]?A[e].p(s,o):(A[e]=vt(s),A[e].c(),A[e].m(c,null))}for(;e<A.length;e+=1)A[e].d(1);A.length=P.length}if(260&o&&_(c,t[2]),34&o){let e;for(L=t[5],e=0;e<L.length;e+=1){const s=dt(t,L,e);O[e]?O[e].p(s,o):(O[e]=kt(s),O[e].c(),O[e].m(g,null))}for(;e<O.length;e+=1)O[e].d(1);O.length=L.length}34&o&&_(g,t[1]),t[7].error?B?B.p(t,o):(B=yt(t),B.c(),B.m(e,null)):B&&(B.d(1),B=null)},d(t){t&&h(e),m(E,t),M&&M.d(),m(A,t),m(O,t),B&&B.d(),C=!1,n(j)}}}function gt(t){let s;return{c(){s=p("div"),s.innerHTML='<div class="font-md gradient-text extra-bold mt-4">Your profile has been updated !</div>',k(s,"class","my-5 t-align-c")},m(t,e){u(t,s,e)},p:e,d(t){t&&h(s)}}}function bt(t){let e,s,o,n,i,l=t[21].name+"";return{c(){e=p("option"),s=g(l),o=b(),e.__value=n=t[21].id,e.value=e.__value,e.selected=i=t[21].id===t[0]},m(t,n){u(t,e,n),d(e,s),d(e,o)},p(t,o){16&o&&l!==(l=t[21].name+"")&&w(s,l),16&o&&n!==(n=t[21].id)&&(e.__value=n,e.value=e.__value),17&o&&i!==(i=t[21].id===t[0])&&(e.selected=i)},d(t){t&&h(e)}}}function ft(t){let e,s,o;return{c(){e=p("input"),k(e,"type","text"),k(e,"placeholder","Other College Name"),k(e,"class","input-text br-50 my-2")},m(n,i){u(n,e,i),$(e,t[3]),s||(o=v(e,"input",t[11]),s=!0)},p(t,s){8&s&&e.value!==t[3]&&$(e,t[3])},d(t){t&&h(e),s=!1,o()}}}function vt(t){let e,s,o,n,i,l=t[18]+"";return{c(){e=p("option"),s=g(l),o=b(),e.__value=n=t[18],e.value=e.__value,e.selected=i=t[18]===t[2]},m(t,n){u(t,e,n),d(e,s),d(e,o)},p(t,s){260&s&&i!==(i=t[18]===t[2])&&(e.selected=i)},d(t){t&&h(e)}}}function kt(t){let e,s,o,n,i,l=t[15].name+"";return{c(){e=p("option"),s=g(l),o=b(),e.__value=n=t[15].id,e.value=e.__value,e.selected=i=t[15].id===t[1]},m(t,n){u(t,e,n),d(e,s),d(e,o)},p(t,o){32&o&&l!==(l=t[15].name+"")&&w(s,l),32&o&&n!==(n=t[15].id)&&(e.__value=n,e.value=e.__value),34&o&&i!==(i=t[15].id===t[1])&&(e.selected=i)},d(t){t&&h(e)}}}function yt(t){let e,s,o,n=t[7].error+"";return{c(){e=p("div"),s=p("p"),o=g(n),k(s,"class","red"),k(e,"class","row justify-content-center")},m(t,n){u(t,e,n),d(e,s),d(s,o)},p(t,e){128&e&&n!==(n=t[7].error+"")&&w(o,n)},d(t){t&&h(e)}}}function wt(t){let s,o,n=t[6].id&&1===t[6].demographic.collegeId&&!t[6].demographic.otherCollege&&mt(t);return{c(){n&&n.c(),s=b(),o=p("link"),this.c=e,k(o,"rel","stylesheet"),k(o,"href","https://unpkg.com/@coding-blocks/motley@0.7.4/dist/online-cb/app.min.css")},m(t,e){n&&n.m(t,e),u(t,s,e),u(t,o,e)},p(t,[e]){t[6].id&&1===t[6].demographic.collegeId&&!t[6].demographic.otherCollege?n?n.p(t,e):(n=mt(t),n.c(),n.m(s.parentNode,s)):n&&(n.d(1),n=null)},i:e,o:e,d(t){n&&n.d(t),t&&h(s),t&&h(o)}}}function $t(t,e,s){let o=null,n=null,i=null,l="",c=[],a=[],r=[2025,2024,2023,2022,2021,2020,2019,2018,2017,2016,2015,2014,2013,2012,2011,2010,2009,2008,2007,2006,2005,2004,2003,2002,2001,2e3],d={},u={success:null,error:null};const h=P();M(async()=>{s(6,d=await rt.fetchUser()),d.id&&(s(4,c=await rt.fetchColleges()),s(5,a=await rt.fetchBranches()),s(2,i=d.graduationYear),s(0,o=d.demographic.collegeId),s(1,n=d.demographic.branchId),s(3,l=d.demographic.otherCollege))});return[o,n,i,l,c,a,d,u,r,async()=>{try{const t=await rt.updateUser({gradYear:i,collegeId:o,branchId:n,otherCollege:l});h("updated",t),s(7,u={success:t.success}),setTimeout(async()=>{s(6,d=await rt.fetchUser())},2e3)}catch(t){s(7,u={error:t})}},function(){o=C(this),s(0,o),s(4,c)},function(){l=this.value,s(3,l)},function(){i=C(this),s(2,i),s(8,r)},function(){n=C(this),s(1,n),s(5,a)}]}class xt extends tt{constructor(t){super(),X(this,{target:this.shadowRoot,props:j(this.attributes),customElement:!0},$t,wt,l,{},null),t&&t.target&&u(t.target,this,t.anchor)}}function _t(t){let s;return{c(){s=p("div"),s.innerHTML='<div class="mt-4"><div class="card-sm light extra-bold">Beginner Courses</div> \n\t\t<div class="card-sm light"><a href="https://codingblocks.com/classroom-courses/c-plus-plus-for-beginners.html">C++ For Beginners</a></div> \n\t\t<div class="card-sm light"><a href="https://codingblocks.com/classroom-courses/java-for-beginners.html">Java For Beginners</a></div> \n\t\t<div class="card-sm light"><a href="https://codingblocks.com/classroom-courses/python-app-dev.html">Python App Development</a></div></div> \n\t<div class="mt-3"><div class="card-sm light extra-bold">Development Courses</div> \n\t\t<div class="card-sm light"><a href="https://codingblocks.com/classroom-courses/android-app-development-using-kotlin-and-java.html">Android App Dev</a></div> \n\t\t<div class="card-sm light"><a href="https://codingblocks.com/classroom-courses/web-development-nodejs.html">Full Stack Web Dev</a></div> \n\t\t<div class="card-sm light"><a href="https://codingblocks.com/classroom-courses/web-development-django.html">Python Django</a></div> \n\t\t<div class="card-sm light"><a href="https://codingblocks.com/classroom-courses/unity-game-development.html">Unity Game Development</a></div></div> \n\t<div class="mt-3"><div class="card-sm light extra-bold">Advanced Courses</div> \n\t\t<div class="card-sm light"><a href="https://codingblocks.com/classroom-courses/android-app-development-using-kotlin-and-java.html">Algo++</a></div> \n\t\t<div class="card-sm light"><a href="https://codingblocks.com/classroom-courses/web-development-nodejs.html">Algo.JAVA</a></div> \n\t\t<div class="card-sm light"><a href="https://codingblocks.com/classroom-courses/web-development-django.html">Competitive Programming</a></div> \n\t\t<div class="card-sm light"><a href="https://codingblocks.com/classroom-courses/unity-game-development.html">Machine Learning</a></div></div>',this.c=e,k(s,"class","pl-4")},m(t,e){u(t,s,e)},p:e,i:e,o:e,d(t){t&&h(s)}}}customElements.define("demographic-form",xt);class Ct extends tt{constructor(t){super(),X(this,{target:this.shadowRoot,props:j(this.attributes),customElement:!0},null,_t,l,{},null),t&&t.target&&u(t.target,this,t.anchor)}}function jt(t){let s;return{c(){s=p("div"),s.innerHTML='<div class="mt-4"><div class="card-sm light extra-bold">Beginner Courses</div> \n <div class="card-sm light"><a href="https://online.codingblocks.com/courses/c-plus-plus-online-course-for-beginners">C++ Master Course | Launchpad</a></div> \n <div class="card-sm light"><a href="https://online.codingblocks.com/courses/complete-java-course-online">Java Master Course | Crux</a></div> \n <div class="card-sm light"><a href="https://online.codingblocks.com/courses/python-for-beginners-developers">Python For Developers</a></div></div> \n <div class="mt-3"><div class="card-sm light extra-bold">Advanced Courses</div> \n <div class="card-sm light"><a href="https://online.codingblocks.com/courses/python-django">Web Dev with Python-Django</a></div> \n <div class="card-sm light"><a href="https://online.codingblocks.com/courses/coding-interview-preparation-online">Interview Prep Bootcamp</a></div> \n <div class="card-sm light"><a href="https://online.codingblocks.com/courses/data-structures-and-algorithms-online-course-java-algo">Algo.Java Online</a></div> \n <div class="card-sm light"><a href="https://online.codingblocks.com/courses/android-app-training-online">Android App Development Online</a></div> \n <div class="card-sm light"><a href="https://online.codingblocks.com/courses/telegram-chatbot-python-online">Build Chatbots in Python</a></div></div> \n <div class="mt-3"><div class="card-sm light extra-bold">Expert Courses</div> \n <div class="card-sm light"><a href="https://online.codingblocks.com/courses/competitive-programming-course-online">Competitive Programming Online</a></div> \n <div class="card-sm light"><a href="https://online.codingblocks.com/courses/coding-interview-preparation-course-online-c-plus-plus">Interview Preparation - C++</a></div> \n <div class="card-sm light"><a href="https://online.codingblocks.com/courses/machine-learning-course-online">Machine Learning Master Course</a></div> \n <div class="card-sm light"><a href="https://online.codingblocks.com/courses/coding-interview-preparation-course-online-java">Interview Preparation - Java</a></div></div>',this.c=e,k(s,"class","pl-4")},m(t,e){u(t,s,e)},p:e,i:e,o:e,d(t){t&&h(s)}}}customElements.define("mobile-classroom-courses",Ct);class Tt extends tt{constructor(t){super(),X(this,{target:this.shadowRoot,props:j(this.attributes),customElement:!0},null,jt,l,{},null),t&&t.target&&u(t.target,this,t.anchor)}}function Et(t){let e,s;return e=new Ct({}),{c(){Z(e.$$.fragment)},m(t,o){V(e,t,o),s=!0},i(t){s||(W(e.$$.fragment,t),s=!0)},o(t){q(e.$$.fragment,t),s=!1},d(t){K(e,t)}}}function Mt(t){let e,s;return e=new Tt({}),{c(){Z(e.$$.fragment)},m(t,o){V(e,t,o),s=!0},i(t){s||(W(e.$$.fragment,t),s=!0)},o(t){q(e.$$.fragment,t),s=!1},d(t){K(e,t)}}}function Pt(t){let s,o,i,l,c,a,m,g,f,y,w,$,x,_,C,j,T,E,M,P,A,L,O,B,z,H,D,I,U,S,N,R,F,Y,Z,V,K,Q,X,tt,et,st,ot,nt,it="classroom"==t[0]&&Et(),lt="online"==t[0]&&Mt();return{c(){s=p("link"),o=b(),i=p("link"),l=b(),c=p("div"),a=p("div"),m=p("img"),f=b(),y=p("img"),$=b(),x=p("div"),_=b(),C=p("slot"),j=b(),T=p("div"),E=p("div"),E.innerHTML='<div class="card-md extra-bold orange">Courses</div> \n\t\t\t<a href="#" class="orange"><i class="fas fa-angle-up fa-lg"></i></a>',M=b(),P=p("div"),A=p("div"),L=p("div"),L.textContent="Classroom Courses",O=b(),B=p("div"),B.innerHTML='<a href="#" class="orange">Explore All</a>',H=b(),it&&it.c(),D=b(),I=p("div"),U=p("div"),S=p("div"),S.textContent="Online Courses",N=b(),R=p("div"),R.innerHTML='<a href="#" class="orange">Explore All</a>',Y=b(),lt&<.c(),Z=b(),V=p("div"),V.innerHTML='<a href="https://codingblocks.com/campus-ambassador-program.html" target="blank">Campus Ambassadors</a>',K=b(),Q=p("div"),Q.innerHTML='<a href="https://codingblocks.com/about" target="blank">About Us</a>',X=b(),tt=p("div"),tt.innerHTML='<a href="https://codingblocks.com/centres" target="blank">Contact Us</a>',this.c=e,k(s,"rel","stylesheet"),k(s,"href",t[2]),k(i,"href","https://minio.codingblocks.com/hackerblocks-images/Gilroy.ttf"),k(i,"rel","stylesheet"),r(m.src,g=t[3])||k(m,"src",g),k(m,"alt","HB"),k(m,"class","hamburger-nav__ham-logo ml-4"),r(y.src,w="https://minio.codingblocks.com/amoeba/wrong-close.png")||k(y,"src","https://minio.codingblocks.com/amoeba/wrong-close.png"),k(y,"alt","#"),k(y,"class","mr-4 hamburger-nav__cross pointer"),k(a,"class","d-flex py-3 justify-content-between align-items-center hamburger-nav__top-bar"),k(x,"class","divider-h"),k(E,"class","d-flex justify-content-between"),k(L,"class","card-md extra-bold"),k(B,"class","card-sm light"),k(A,"class",z="hamburger-nav__menu-element "+("classroom"==t[0]&&"active")),k(P,"class","my-4 pl-4"),k(S,"class","card-md extra-bold"),k(R,"class","card-sm light"),k(U,"class",F="hamburger-nav__menu-element "+("online"==t[0]&&"active")),k(I,"class","my-4 pl-4"),k(V,"class","card-md light my-4"),k(Q,"class","card-md light my-4"),k(tt,"class","card-md light my-4"),k(T,"class","mt-4 px-4 overflow-y-auto no-scrollbar"),k(c,"class",et="hamburger-nav b-right overflow-y-auto no-scrollbar "+(!t[1]&&"hamburger-nav--hidden"))},m(e,n){u(e,s,n),u(e,o,n),u(e,i,n),u(e,l,n),u(e,c,n),d(c,a),d(a,m),d(a,f),d(a,y),d(c,$),d(c,x),d(c,_),d(c,C),d(c,j),d(c,T),d(T,E),d(T,M),d(T,P),d(P,A),d(A,L),d(A,O),d(A,B),d(P,H),it&&it.m(P,null),d(T,D),d(T,I),d(I,U),d(U,S),d(U,N),d(U,R),d(I,Y),lt&<.m(I,null),d(T,Z),d(T,V),d(T,K),d(T,Q),d(T,X),d(T,tt),st=!0,ot||(nt=[v(y,"click",t[4]),v(L,"click",t[5]),v(S,"click",t[6])],ot=!0)},p(t,[e]){(!st||4&e)&&k(s,"href",t[2]),(!st||8&e&&!r(m.src,g=t[3]))&&k(m,"src",g),(!st||1&e&&z!==(z="hamburger-nav__menu-element "+("classroom"==t[0]&&"active")))&&k(A,"class",z),"classroom"==t[0]?it?1&e&&W(it,1):(it=Et(),it.c(),W(it,1),it.m(P,null)):it&&(J(),q(it,1,1,()=>{it=null}),G()),(!st||1&e&&F!==(F="hamburger-nav__menu-element "+("online"==t[0]&&"active")))&&k(U,"class",F),"online"==t[0]?lt?1&e&&W(lt,1):(lt=Mt(),lt.c(),W(lt,1),lt.m(I,null)):lt&&(J(),q(lt,1,1,()=>{lt=null}),G()),(!st||2&e&&et!==(et="hamburger-nav b-right overflow-y-auto no-scrollbar "+(!t[1]&&"hamburger-nav--hidden")))&&k(c,"class",et)},i(t){st||(W(it),W(lt),st=!0)},o(t){q(it),q(lt),st=!1},d(t){t&&h(s),t&&h(o),t&&h(i),t&&h(l),t&&h(c),it&&it.d(),lt&<.d(),ot=!1,n(nt)}}}function At(t,e,s){let{css:o="https://unpkg.com/@coding-blocks/motley/dist/app.min.css"}=e,{tab:n="classroom"}=e,{showhamburger:i=!1}=e,{logo:l="https://codingblocks.com/assets/images/cb/cblogo.png"}=e;return t.$$set=t=>{"css"in t&&s(2,o=t.css),"tab"in t&&s(0,n=t.tab),"showhamburger"in t&&s(1,i=t.showhamburger),"logo"in t&&s(3,l=t.logo)},[n,i,o,l,()=>s(1,i=!i),()=>s(0,n="classroom"),()=>s(0,n="online")]}customElements.define("mobile-online-courses",Tt);class Lt extends tt{constructor(t){super(),X(this,{target:this.shadowRoot,props:j(this.attributes),customElement:!0},At,Pt,l,{css:2,tab:0,showhamburger:1,logo:3},null),t&&(t.target&&u(t.target,this,t.anchor),t.props&&(this.$set(t.props),S()))}static get observedAttributes(){return["css","tab","showhamburger","logo"]}get css(){return this.$$.ctx[2]}set css(t){this.$$set({css:t}),S()}get tab(){return this.$$.ctx[0]}set tab(t){this.$$set({tab:t}),S()}get showhamburger(){return this.$$.ctx[1]}set showhamburger(t){this.$$set({showhamburger:t}),S()}get logo(){return this.$$.ctx[3]}set logo(t){this.$$set({logo:t}),S()}}function Ot(t){let s;return{c(){s=p("div"),s.innerHTML='<ul class="col-4"><li class="bold gradient-text-orange">Beginner Courses</li> \n <li><a class="white" href="https://codingblocks.com/classroom-courses/c-plus-plus-for-beginners.html" target="_blank">C++ For Beginners</a></li> \n <li><a class="white" href="https://codingblocks.com/classroom-courses/java-for-beginners.html" target="_blank">Java For Beginners</a></li> \n <li><a class="white" href="https://codingblocks.com/classroom-courses/python-app-dev.html" target="_blank">Python App Development</a></li></ul> \n <ul class="col-4"><li class="bold gradient-text-orange">Development Courses</li> \n <li><a class="white" href="https://codingblocks.com/classroom-courses/android-app-development-using-kotlin-and-java.html" target="_blank">Android App Dev</a></li> \n <li><a class="white" href="https://codingblocks.com/classroom-courses/web-development-nodejs.html" target="_blank">Full Stack Web Dev</a></li> \n <li><a class="white" href="https://codingblocks.com/classroom-courses/web-development-django.html" target="_blank">Python Django</a></li> \n <li><a class="white" href="https://codingblocks.com/classroom-courses/unity-game-development.html" target="_blank">Unity Game Development</a></li></ul> \n <ul class="col-4"><li class="bold gradient-text-orange">Advanced Courses</li> \n <li><a class="white" href="https://codingblocks.com/classroom-courses/advanced-data-structures-and-algorithms-for-interviews.html" target="_blank">Algo++</a></li> \n <li><a class="white" href="https://codingblocks.com/classroom-courses/advanced-data-structures-and-algorithms-using-java.html" target="_blank">Algo.Java</a></li> \n <li><a class="white" href="https://codingblocks.com/classroom-courses/competitive-programming.html" target="_blank">Competitive Programming</a></li> \n <li><a class="white" href="https://codingblocks.com/classroom-courses/machine-learning-with-deep-learning.html">Machine Learning</a></li></ul> \n <ul class="col-4"><li class="bold gradient-text-orange">Junior Courses</li> \n <li><a class="white" href="https://codingblocks.com/classroom-courses/code4kids.html" target="_blank">Code 4 Kids</a></li> \n <li><a class="white" href="https://codingblocks.com/classroom-courses/mathsgeeks.html" target="_blank">Maths Geek</a></li></ul> \n <ul class="col-4"><li class="bold gradient-text-orange">Bootcamps</li> \n <li><a class="white" href="https://codingblocks.com/bootcamps/react.html" target="_blank">React JS</a></li> \n <li><a class="white" href="https://codingblocks.com/bootcamps/blockchain.html" target="_blank">Blockchain</a></li> \n <li><a class="white" href="https://codingblocks.com/bootcamps/coding-interview-preparation.html" target="_blank">Interview Preparation</a></li> \n <li><a class="white" href="https://codingblocks.com/bootcamps/gamedev.html" target="_blank">Game Dev</a></li> \n <li><a class="white" href="https://codingblocks.com/bootcamps/chatbots.html" target="_blank">Chatbot</a></li></ul> \n <ul class="col-4"><li class="bold gradient-text-orange">Professional</li> \n <li><a class="white" href="https://codingblocks.com/classroom-courses/six_months_ind_training.html" target="_blank">Industrial Training</a></li></ul>',this.c=e,k(s,"class","row justify-content-around m-5")},m(t,e){u(t,s,e)},p:e,i:e,o:e,d(t){t&&h(s)}}}customElements.define("cb-mobile-navbar",Lt);class Bt extends tt{constructor(t){super(),X(this,{target:this.shadowRoot,props:j(this.attributes),customElement:!0},null,Ot,l,{},null),t&&t.target&&u(t.target,this,t.anchor)}}function zt(t){let s;return{c(){s=p("div"),s.innerHTML='<ul class="col-4"><li class="bold mb-3 gradient-text-orange">Beginner Courses</li> \n <li><a class="white" href="https://online.codingblocks.com/courses/c-plus-plus-online-course-for-beginners">C++ Master Course | Launchpad</a></li> \n <li><a class="white" href="https://online.codingblocks.com/courses/complete-java-course-online">Java Master Course | Crux</a></li> \n <li><a class="white" href="https://online.codingblocks.com/courses/python-for-beginners-developers">Python For Developers</a></li></ul> \n <ul class="col-4"><li class="bold mb-3 gradient-text-orange">Advanced Courses</li> \n <li><a class="white" href="https://online.codingblocks.com/courses/python-django">Web Dev with Python-Django</a></li> \n <li><a class="white" href="https://online.codingblocks.com/courses/coding-interview-preparation-online">Interview Prep Bootcamp</a></li> \n <li><a class="white" href="https://online.codingblocks.com/courses/data-structures-and-algorithms-online-course-java-algo">Algo.Java Online</a></li> \n <li><a class="white" href="https://online.codingblocks.com/courses/android-app-training-online">Android App Development Online</a></li> \n <li><a class="white" href="https://online.codingblocks.com/courses/telegram-chatbot-python-online">Build Chatbots in Python</a></li></ul> \n <ul class="col-4"><li class="bold mb-3 gradient-text-orange">Expert Courses</li> \n <li><a class="white" href="https://online.codingblocks.com/courses/competitive-programming-course-online">Competitive Programming Online</a></li> \n <li><a class="white" href="https://online.codingblocks.com/courses/coding-interview-preparation-course-online-c-plus-plus">Interview Preparation - C++</a></li> \n <li><a class="white" href="https://online.codingblocks.com/courses/machine-learning-course-online">Machine Learning Master Course</a></li> \n <li><a class="white" href="https://online.codingblocks.com/courses/coding-interview-preparation-course-online-java">Interview Preparation - Java</a></li></ul>',this.c=e,k(s,"class","row justify-content-around m-5")},m(t,e){u(t,s,e)},p:e,i:e,o:e,d(t){t&&h(s)}}}customElements.define("classroom-courses",Bt);class Ht extends tt{constructor(t){super(),X(this,{target:this.shadowRoot,props:j(this.attributes),customElement:!0},null,zt,l,{},null),t&&t.target&&u(t.target,this,t.anchor)}}function Dt(t){let e,s,o,i,l,c,a,r,m,g,f,y,w,$,_,C,j,T;const E=[Ut,It],M=[];function P(t,e){return"classroom"==t[2]?0:1}return $=P(t),_=M[$]=E[$](t),{c(){e=p("div"),s=p("div"),o=p("div"),o.innerHTML='<div class="font-lg my-4 offset-3">Our Courses</div>',i=b(),l=p("div"),c=p("div"),c.innerHTML='<div>Online Courses</div> \n <a href="https://online.codingblocks.com/courses" target="_blank" class="font-mds orange">Explore all</a>',r=b(),m=p("div"),g=p("div"),g.innerHTML='<div>Classroom Courses</div> \n <a href="https://codingblocks.com/classroom-courses/" target="_blank" class="font-mds orange">Explore all</a>',y=b(),w=p("div"),_.c(),k(o,"class","py-5 font-md bold hover-grey"),k(c,"class","offset-3"),k(l,"class",a="py-4 font-md bold hover-grey "+("online"==t[2]&&"selected")),k(g,"class","offset-3"),k(m,"class",f="py-4 font-md bold hover-grey "+("classroom"==t[2]&&"selected")),k(s,"class","cb-navbar-side col-3"),k(w,"class","col-9 font-mds"),k(e,"class","row no-gutters cb-navbar-expanded"),x(e,"overflow","hidden")},m(n,a){u(n,e,a),d(e,s),d(s,o),d(s,i),d(s,l),d(l,c),d(s,r),d(s,m),d(m,g),d(e,y),d(e,w),M[$].m(w,null),C=!0,j||(T=[v(l,"click",t[12]),v(m,"click",t[13])],j=!0)},p(t,e){(!C||4&e&&a!==(a="py-4 font-md bold hover-grey "+("online"==t[2]&&"selected")))&&k(l,"class",a),(!C||4&e&&f!==(f="py-4 font-md bold hover-grey "+("classroom"==t[2]&&"selected")))&&k(m,"class",f);let s=$;$=P(t),$!==s&&(J(),q(M[s],1,1,()=>{M[s]=null}),G(),_=M[$],_||(_=M[$]=E[$](t),_.c()),W(_,1),_.m(w,null))},i(t){C||(W(_),C=!0)},o(t){q(_),C=!1},d(t){t&&h(e),M[$].d(),j=!1,n(T)}}}function It(t){let e,s;return e=new Ht({}),{c(){Z(e.$$.fragment)},m(t,o){V(e,t,o),s=!0},i(t){s||(W(e.$$.fragment,t),s=!0)},o(t){q(e.$$.fragment,t),s=!1},d(t){K(e,t)}}}function Ut(t){let e,s;return e=new Bt({}),{c(){Z(e.$$.fragment)},m(t,o){V(e,t,o),s=!0},i(t){s||(W(e.$$.fragment,t),s=!0)},o(t){q(e.$$.fragment,t),s=!1},d(t){K(e,t)}}}function St(t){let s,o,i,l,c,a,m,f,y,w,$,x,_,C,j,T,E,M,P,A,L,O,B,z,H,D,I,U,S,N,R,F,Y,Z,V,K,Q,X=t[0]&&Dt(t);return{c(){s=p("div"),o=p("div"),i=p("div"),l=p("span"),c=g("Courses\n "),a=p("img"),y=b(),w=p("div"),$=p("a"),$.textContent="About Us",_=b(),C=p("div"),j=p("a"),j.textContent="Resources",E=b(),M=p("div"),P=p("a"),P.textContent="Campus Ambassadors",L=b(),O=p("div"),B=p("a"),B.textContent="Contact Us",H=b(),D=p("slot"),U=b(),X&&X.c(),S=b(),N=p("link"),R=b(),F=p("link"),Y=b(),Z=p("link"),this.c=e,r(a.src,m="https://minio.cb.lk/public/fa-5.13/svgs/solid/chevron-"+(t[0]?"up":"down")+".svg")||k(a,"src",m),k(a,"alt","chevron"),k(a,"class","d-inline s-10x10"),k(l,"class",f="px-3 pointer position-relative "+("courses"===t[1]&&"active-tab")),k($,"class","white"),k($,"href","https://codingblocks.com/about.html"),k($,"target","_blank"),k(w,"class",x="px-3 position-relative "+("about"===t[1]&&"active-tab")),k(j,"class","white"),k(j,"href","https://codingblocks.com/resources"),k(j,"target","_blank"),k(C,"class",T="px-3 position-relative "+("resources"===t[1]&&"active-tab")),k(P,"class","white"),k(P,"href","https://codingblocks.com/campus-ambassador-program.html"),k(P,"target","_blank"),k(M,"class",A="px-3 position-relative "+("ca"===t[1]&&"active-tab")),k(B,"class","white"),k(B,"href","https://codingblocks.com/centres/"),k(B,"target","_blank"),k(O,"class",z="px-3 position-relative "+("contact"===t[1]&&"active-tab")),k(D,"name","header"),k(i,"class",I="d-flex "+t[4]+" py-3 pr-5"),k(o,"class","border"),k(s,"class","a-hb d-md-block d-none bg-background-main-3 white"),k(N,"rel","stylesheet"),k(N,"href",t[3]),k(F,"href","https://fonts.googleapis.com/css?family=Nunito+Sans:400,600,700,800"),k(F,"rel","stylesheet"),k(Z,"href","https://minio.codingblocks.com/hackerblocks-images/Gilroy.ttf"),k(Z,"rel","stylesheet")},m(e,n){u(e,s,n),d(s,o),d(o,i),d(i,l),d(l,c),d(l,a),d(i,y),d(i,w),d(w,$),d(i,_),d(i,C),d(C,j),d(i,E),d(i,M),d(M,P),d(i,L),d(i,O),d(O,B),d(i,H),d(i,D),d(s,U),X&&X.m(s,null),u(e,S,n),u(e,N,n),u(e,R,n),u(e,F,n),u(e,Y,n),u(e,Z,n),V=!0,K||(Q=[v(l,"click",t[7]),v($,"click",t[8]),v(j,"click",t[9]),v(P,"click",t[10]),v(B,"click",t[11])],K=!0)},p(t,[e]){(!V||1&e&&!r(a.src,m="https://minio.cb.lk/public/fa-5.13/svgs/solid/chevron-"+(t[0]?"up":"down")+".svg"))&&k(a,"src",m),(!V||2&e&&f!==(f="px-3 pointer position-relative "+("courses"===t[1]&&"active-tab")))&&k(l,"class",f),(!V||2&e&&x!==(x="px-3 position-relative "+("about"===t[1]&&"active-tab")))&&k(w,"class",x),(!V||2&e&&T!==(T="px-3 position-relative "+("resources"===t[1]&&"active-tab")))&&k(C,"class",T),(!V||2&e&&A!==(A="px-3 position-relative "+("ca"===t[1]&&"active-tab")))&&k(M,"class",A),(!V||2&e&&z!==(z="px-3 position-relative "+("contact"===t[1]&&"active-tab")))&&k(O,"class",z),(!V||16&e&&I!==(I="d-flex "+t[4]+" py-3 pr-5"))&&k(i,"class",I),t[0]?X?(X.p(t,e),1&e&&W(X,1)):(X=Dt(t),X.c(),W(X,1),X.m(s,null)):X&&(J(),q(X,1,1,()=>{X=null}),G()),(!V||8&e)&&k(N,"href",t[3])},i(t){V||(W(X),V=!0)},o(t){q(X),V=!1},d(t){t&&h(s),X&&X.d(),t&&h(S),t&&h(N),t&&h(R),t&&h(F),t&&h(Y),t&&h(Z),K=!1,n(Q)}}}function Nt(t,e,s){let{topalign:o="center"}=e,{expanded:n=!1}=e,{activeTab:i=""}=e,{activeCoursesTab:l="online"}=e,{css:c="https://unpkg.com/@coding-blocks/motley/dist/online-cb/app.min.css"}=e,a="justify-content-center";const r=()=>s(0,n=!n);return t.$$set=t=>{"topalign"in t&&s(6,o=t.topalign),"expanded"in t&&s(0,n=t.expanded),"activeTab"in t&&s(1,i=t.activeTab),"activeCoursesTab"in t&&s(2,l=t.activeCoursesTab),"css"in t&&s(3,c=t.css)},t.$$.update=()=>{if(64&t.$$.dirty)switch(o){case"left":s(4,a="justify-content-start");break;case"right":s(4,a="justify-content-end");break;default:s(4,a="justify-content-center")}},[n,i,l,c,a,r,o,()=>{r(),s(1,i="courses")},()=>s(1,i="about"),()=>s(1,i="resources"),()=>s(1,i="ca"),()=>s(1,i="contact"),()=>s(2,l="online"),()=>s(2,l="classroom")]}customElements.define("online-courses",Ht);class Rt extends tt{constructor(t){super(),this.shadowRoot.innerHTML='<style>a:hover{text-decoration:underline}.hover-grey.selected:hover{background:unset}.a-hb{display:none}.active-tab:after{content:"";width:98%;height:2px;position:absolute;left:-2px;bottom:-16px;display:block;background:linear-gradient(90deg, #FB8530 0%, #FEB50B 100%)}</style>',X(this,{target:this.shadowRoot,props:j(this.attributes),customElement:!0},Nt,St,l,{topalign:6,expanded:0,activeTab:1,activeCoursesTab:2,css:3},null),t&&(t.target&&u(t.target,this,t.anchor),t.props&&(this.$set(t.props),S()))}static get observedAttributes(){return["topalign","expanded","activeTab","activeCoursesTab","css"]}get topalign(){return this.$$.ctx[6]}set topalign(t){this.$$set({topalign:t}),S()}get expanded(){return this.$$.ctx[0]}set expanded(t){this.$$set({expanded:t}),S()}get activeTab(){return this.$$.ctx[1]}set activeTab(t){this.$$set({activeTab:t}),S()}get activeCoursesTab(){return this.$$.ctx[2]}set activeCoursesTab(t){this.$$set({activeCoursesTab:t}),S()}get css(){return this.$$.ctx[3]}set css(t){this.$$set({css:t}),S()}}function Ft(t){let s,o,n,i,l,c,a,u,m,g,b,f,v,y;return{c(){s=p("script"),n=p("script"),l=p("script"),a=p("script"),m=p("script"),b=p("script"),v=p("script"),this.c=e,r(s.src,o="https://source.zoom.us/1.8.5/lib/vendor/react.min.js")||k(s,"src","https://source.zoom.us/1.8.5/lib/vendor/react.min.js"),r(n.src,i="https://source.zoom.us/1.8.5/lib/vendor/react-dom.min.js")||k(n,"src","https://source.zoom.us/1.8.5/lib/vendor/react-dom.min.js"),r(l.src,c="https://source.zoom.us/1.8.5/lib/vendor/redux.min.js")||k(l,"src","https://source.zoom.us/1.8.5/lib/vendor/redux.min.js"),r(a.src,u="https://source.zoom.us/1.8.5/lib/vendor/redux-thunk.min.js")||k(a,"src","https://source.zoom.us/1.8.5/lib/vendor/redux-thunk.min.js"),r(m.src,g="https://source.zoom.us/1.8.5/lib/vendor/jquery.min.js")||k(m,"src","https://source.zoom.us/1.8.5/lib/vendor/jquery.min.js"),r(b.src,f="https://source.zoom.us/1.8.5/lib/vendor/lodash.min.js")||k(b,"src","https://source.zoom.us/1.8.5/lib/vendor/lodash.min.js"),r(v.src,y="https://source.zoom.us/zoom-meeting-1.8.5.min.js")||k(v,"src","https://source.zoom.us/zoom-meeting-1.8.5.min.js")},m(e,o){d(document.head,s),d(document.head,n),d(document.head,l),d(document.head,a),d(document.head,m),d(document.head,b),d(document.head,v),t[7](v)},p:e,i:e,o:e,d(e){h(s),h(n),h(l),h(a),h(m),h(b),h(v),t[7](null)}}}function Jt(t,e,s){let o,{leaveUrl:n="/"}=e,{meetingnumber:i}=e,{signature:l}=e,{apikey:c}=e,{username:a}=e,{useremail:r}=e;return M(async()=>{o.addEventListener("load",()=>{ZoomMtg.preLoadWasm(),ZoomMtg.prepareJssdk(),ZoomMtg.init({leaveUrl:n,success(){ZoomMtg.join({meetingNumber:i,userName:a,signature:l,apiKey:c,userEmail:r,success(t){console.log("success")},error(t){console.log(t)}})},error(t){console.log(t)}})})}),t.$$set=t=>{"leaveUrl"in t&&s(1,n=t.leaveUrl),"meetingnumber"in t&&s(2,i=t.meetingnumber),"signature"in t&&s(3,l=t.signature),"apikey"in t&&s(4,c=t.apikey),"username"in t&&s(5,a=t.username),"useremail"in t&&s(6,r=t.useremail)},[o,n,i,l,c,a,r,function(t){L[t?"unshift":"push"](()=>{o=t,s(0,o)})}]}customElements.define("cb-navbar",Rt);class Gt extends tt{constructor(t){super(),X(this,{target:this.shadowRoot,props:j(this.attributes),customElement:!0},Jt,Ft,l,{leaveUrl:1,meetingnumber:2,signature:3,apikey:4,username:5,useremail:6},null),t&&(t.target&&u(t.target,this,t.anchor),t.props&&(this.$set(t.props),S()))}static get observedAttributes(){return["leaveUrl","meetingnumber","signature","apikey","username","useremail"]}get leaveUrl(){return this.$$.ctx[1]}set leaveUrl(t){this.$$set({leaveUrl:t}),S()}get meetingnumber(){return this.$$.ctx[2]}set meetingnumber(t){this.$$set({meetingnumber:t}),S()}get signature(){return this.$$.ctx[3]}set signature(t){this.$$set({signature:t}),S()}get apikey(){return this.$$.ctx[4]}set apikey(t){this.$$set({apikey:t}),S()}get username(){return this.$$.ctx[5]}set username(t){this.$$set({username:t}),S()}get useremail(){return this.$$.ctx[6]}set useremail(t){this.$$set({useremail:t}),S()}}customElements.define("zoom-meeting",Gt);const{document:Wt}=Y;function qt(t){let e,s;return{c(){e=p("div"),s=g(t[4]),k(e,"class","red")},m(t,o){u(t,e,o),d(e,s)},p(t,e){16&e&&w(s,t[4])},d(t){t&&h(e)}}}function Yt(t){let e,s,o,i,l,c,a;return{c(){e=p("input"),s=b(),o=p("button"),i=g("Send OTP"),k(e,"type","number"),k(e,"placeholder","Enter 10 digit Mobile Number"),k(e,"class","w-100 mb-4"),k(o,"class","btn btn-primary w-100"),o.disabled=l=!t[1]},m(n,l){u(n,e,l),$(e,t[1]),u(n,s,l),u(n,o,l),d(o,i),c||(a=[v(e,"input",t[14]),v(o,"click",t[8])],c=!0)},p(t,s){2&s&&y(e.value)!==t[1]&&$(e,t[1]),2&s&&l!==(l=!t[1])&&(o.disabled=l)},d(t){t&&h(e),t&&h(s),t&&h(o),c=!1,n(a)}}}function Zt(t){let e,s,o,i,l,c,a;return{c(){e=p("input"),s=b(),o=p("button"),i=g("Verify OTP"),k(e,"type","number"),k(e,"placeholder","Enter OTP"),k(e,"class","w-100 mb-4"),k(o,"class","btn btn-primary w-100"),o.disabled=l=!t[2]},m(n,l){u(n,e,l),$(e,t[2]),u(n,s,l),u(n,o,l),d(o,i),c||(a=[v(e,"input",t[13]),v(o,"click",t[9])],c=!0)},p(t,s){4&s&&y(e.value)!==t[2]&&$(e,t[2]),4&s&&l!==(l=!t[2])&&(o.disabled=l)},d(t){t&&h(e),t&&h(s),t&&h(o),c=!1,n(a)}}}function Vt(t){let e;function s(t,e){return t[3]?Qt:Kt}let o=s(t),n=o(t);return{c(){n.c(),e=f()},m(t,s){n.m(t,s),u(t,e,s)},p(t,i){o===(o=s(t))&&n?n.p(t,i):(n.d(1),n=o(t),n&&(n.c(),n.m(e.parentNode,e)))},d(t){n.d(t),t&&h(e)}}}function Kt(t){let e,s,o,i,l,c,a;return{c(){e=p("input"),s=b(),o=p("button"),i=g("Send OTP"),k(e,"type","email"),k(e,"placeholder","Enter Email"),k(e,"class","w-100 mb-4"),k(o,"class","btn btn-primary w-100"),o.disabled=l=!t[0]},m(n,l){u(n,e,l),$(e,t[0]),u(n,s,l),u(n,o,l),d(o,i),c||(a=[v(e,"input",t[12]),v(o,"click",t[8])],c=!0)},p(t,s){1&s&&e.value!==t[0]&&$(e,t[0]),1&s&&l!==(l=!t[0])&&(o.disabled=l)},d(t){t&&h(e),t&&h(s),t&&h(o),c=!1,n(a)}}}function Qt(t){let e,s,o,i,l,c,a;return{c(){e=p("input"),s=b(),o=p("button"),i=g("Verify OTP"),k(e,"type","number"),k(e,"placeholder","Enter OTP"),k(e,"class","w-100 mb-4"),k(o,"class","btn btn-primary w-100"),o.disabled=l=!t[2]},m(n,l){u(n,e,l),$(e,t[2]),u(n,s,l),u(n,o,l),d(o,i),c||(a=[v(e,"input",t[11]),v(o,"click",t[9])],c=!0)},p(t,s){4&s&&y(e.value)!==t[2]&&$(e,t[2]),4&s&&l!==(l=!t[2])&&(o.disabled=l)},d(t){t&&h(e),t&&h(s),t&&h(o),c=!1,n(a)}}}function Xt(t){let s,o,i,l,c,a,r,m,f,y,w,$,_,C,j,T,E,M,P,A,L,O,B,z,H,D,I,U,S,N,R,F,J,G,W,q,Y,Z,V,K=t[4]&&qt(t);function Q(t,e){return"email"===t[5]?Vt:t[3]?Zt:Yt}let X=Q(t),tt=X(t);return{c(){s=p("link"),o=p("link"),i=p("link"),l=b(),c=p("div"),a=b(),r=p("div"),m=p("div"),f=p("h2"),f.textContent="Login / Signup",y=b(),w=p("button"),w.innerHTML='<img src="https://minio.codingblocks.com/public/cross-black.png" alt=""/>',$=b(),_=p("div"),C=g("Sign In with \n "),j=p("button"),T=g("Email"),M=g("\n Or\n "),P=p("button"),A=g("Mobile"),O=b(),K&&K.c(),B=b(),tt.c(),z=b(),H=p("div"),H.innerHTML='<span class="hr"></span> \n <span class="px-5">OR</span> \n <span class="hr"></span>',D=b(),I=p("a"),U=p("button"),U.innerHTML='<img class="logo" src="https://minio.codingblocks.com/public/google-logo.png" alt=""/> \n <span class="logo-text">Sign in with Google</span>',S=b(),N=p("a"),R=p("button"),R.innerHTML='<img class="logo" src="https://minio.codingblocks.com/public/facebook-logo.png" alt=""/> \n <span class="logo-text">Sign in with facebook</span>',F=b(),J=p("div"),J.innerHTML='<div class="header">Find your dream job</div> \n <div class="sub-header mb-4">Trusted by 100k+ students</div> \n <img src="https://minio.codingblocks.com/public/company-logo-group.png" alt=""/>',G=b(),W=p("div"),W.innerHTML='<a href="https://www.linkedin.com/school/codingblocksindia/" target="_blank"><img class="social-media-logo mr-2" src="https://minio.codingblocks.com/public/linkedin-logo.png" alt=""/></a> \n <a href="https://twitter.com/codingblocksIN" target="_blank"><img class="social-media-logo mr-2" src="https://minio.codingblocks.com/public/twitter-logo.png" alt=""/></a> \n <a href="https://github.com/coding-blocks" target="_blank"><img class="social-media-logo" src="https://minio.codingblocks.com/public/github-logo.png" alt=""/></a> \n <div><a href="https://codingblocks.com/tos.html" class="sub-header" target="_blank">Coding Blocks | Terms of service</a></div>',q=b(),Y=p("link"),this.c=e,k(s,"rel","preconnect"),k(s,"href","https://fonts.googleapis.com"),k(o,"rel","preconnect"),k(o,"href","https://fonts.gstatic.com"),k(o,"crossorigin",""),k(i,"href","https://fonts.googleapis.com/css2?family=Mulish:wght@400;600&display=swap"),k(i,"rel","stylesheet"),k(c,"class","blurrer"),x(w,"color","#3B4254"),k(m,"class","d-flex justify-content-between align-items-center mb-5"),k(j,"class",E="email"===t[5]?"red":""),k(P,"class",L="mobile"===t[5]?"red":""),k(_,"class","mb-4"),k(H,"class","d-flex justify-content-center align-items-center"),x(H,"margin","30px 0px"),k(U,"class","btn btn-secondary white w-100 mb-3"),k(I,"href",t[6]),k(R,"class","btn btn-secondary white w-100 mb-5"),k(N,"href",t[7]),k(J,"class","mb-5 pt-5"),k(W,"class","position-absolute"),k(r,"id","cb-login-signup"),k(r,"class","cb-login-signup-container"),k(Y,"rel","stylesheet"),k(Y,"href","https://unpkg.com/@coding-blocks/motley@2.8.6/dist/account/app.min.css")},m(e,n){d(Wt.head,s),d(Wt.head,o),d(Wt.head,i),u(e,l,n),u(e,c,n),u(e,a,n),u(e,r,n),d(r,m),d(m,f),d(m,y),d(m,w),d(r,$),d(r,_),d(_,C),d(_,j),d(j,T),d(_,M),d(_,P),d(P,A),d(r,O),K&&K.m(r,null),d(r,B),tt.m(r,null),d(r,z),d(r,H),d(r,D),d(r,I),d(I,U),d(r,S),d(r,N),d(N,R),d(r,F),d(r,J),d(r,G),d(r,W),u(e,q,n),u(e,Y,n),Z||(V=[v(c,"click",te),v(w,"click",te),v(j,"click",t[10]("email")),v(P,"click",t[10]("mobile"))],Z=!0)},p(t,[e]){32&e&&E!==(E="email"===t[5]?"red":"")&&k(j,"class",E),32&e&&L!==(L="mobile"===t[5]?"red":"")&&k(P,"class",L),t[4]?K?K.p(t,e):(K=qt(t),K.c(),K.m(r,B)):K&&(K.d(1),K=null),X===(X=Q(t))&&tt?tt.p(t,e):(tt.d(1),tt=X(t),tt&&(tt.c(),tt.m(r,z)))},i:e,o:e,d(t){h(s),h(o),h(i),t&&h(l),t&&h(c),t&&h(a),t&&h(r),K&&K.d(),tt.d(),t&&h(q),t&&h(Y),Z=!1,n(V)}}}function te(){document.getElementsByTagName("cb-login-signup")[0].classList.add("hide-cb-login-signup-prompt")}function ee(t,e,s){const o=window.location.host.split(".")[0],n=window.location.host.includes("codingblocks.xyz"),i={hack:2146237097,online:5633768694,hire:4190457915,"code-gym":9706874989},l={sendOtpEmail:{hack:"https://hack-api.codingblocks.com/api/v2/jwt/otp",online:"https://online-api.codingblocks.com/api/v2/jwt/otp/email",hire:"https://hire-api.codingblocks.com/login/otp/email","code-gym":"https://code-gym-api.codingblocks.com/api/jwt/otp"},sendOtpMobile:{hack:"https://hack-api.codingblocks.com/api/v2/jwt/otp",online:"https://online-api.codingblocks.com/api/v2/jwt/otp/mobile",hire:"https://hire-api.codingblocks.com/login/otp/mobile","code-gym":"https://code-gym-api.codingblocks.com/api/jwt/otp"},verifyOtpEmail:{hack:"https://hack-api.codingblocks.com/api/v2/jwt/otp/verify",online:"https://online-api.codingblocks.com/api/v2/jwt/otp/email/verify",hire:"https://hire-api.codingblocks.com/login/otp/email/verify","code-gym":"https://code-gym-api.codingblocks.com/api/jwt/otp/verify"},verifyOtpMobile:{hack:"https://hack-api.codingblocks.com/api/v2/jwt/otp/verify",online:"https://online-api.codingblocks.com/api/v2/jwt/otp/mobile/verify",hire:"https://hire-api.codingblocks.com/login/otp/mobile/verify","code-gym":"https://code-gym-api.codingblocks.com/api/jwt/otp/verify"}};let c=null,a=null,r=null,d=null,u=null,h="email",m=(localStorage.getItem("cb_login_prompt"),o.includes("localhost")?`http://localhost:3838/login/google/v2?redirect_uri=http://${o}&client=localhost&client_id=1234567890`:n?`https://account.codingblocks.xyz/login/google/v2?redirect_uri=https://${o}.codingblocks.xyz&client=${o}-codingblocks&client_id=1`:`https://account.codingblocks.com/login/google/v2?redirect_uri=https://${o}.codingblocks.com&client=${o}-codingblocks&client_id=${i[o]}`),p=o.includes("localhost")?`http://localhost:3838/login/facebook/v2?redirect_uri=http://${o}&client=localhost&client_id=1234567890`:n?`https://account.codingblocks.xyz/login/facebook/v2?redirect_uri=https://${o}.codingblocks.xyz&client=${o}-codingblocks&client_id=1`:`https://account.codingblocks.com/login/facebook/v2?redirect_uri=https://${o}.codingblocks.com&client=${o}-codingblocks&client_id=${i[o]}`;return[c,a,r,d,u,h,m,p,async function(){const t=await fetch("email"===h?l.sendOtpEmail[o]:l.sendOtpMobile[o]||"http://localhost:3000/api/jwt/otp",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({email:c,mobile:a})});if(t.ok){let{id:e}=await t.json();s(3,d=e)}else{const{message:e}=await t.json();e&&s(4,u=e)}},async function(){s(4,u=null);const t=await fetch("email"===h?l.verifyOtpEmail[o]:l.verifyOtpMobile[o]||"http://localhost:3000/api/jwt/otp/verify",{method:"POST",headers:{"Content-Type":"application/json"},credentials:"include",body:JSON.stringify({email:c,mobile:a,otp_id:d,otp:r})});if(t.ok)window.location.reload();else{const{message:e}=await t.json();e&&s(4,u=e)}},t=>()=>{s(5,h=t),s(3,d=null)},function(){r=y(this.value),s(2,r)},function(){c=this.value,s(0,c)},function(){r=y(this.value),s(2,r)},function(){a=y(this.value),s(1,a)}]}class se extends tt{constructor(t){super(),this.shadowRoot.innerHTML="<style>input{border:none;border-bottom:solid 1px #E95547;background:#15171E;padding:10px 0px}.blurrer{position:fixed;z-index:1000;top:0;left:0;width:100vw;height:100vh;background-color:#939393;opacity:0.5}.cb-login-signup-container{background:#15171E;color:white;width:100vw;min-height:100vh;position:fixed;z-index:1001;top:0;right:0;padding:5rem 3rem 3rem 3rem;font-family:'Mulish';transition:0.5s}:host(.hide-cb-login-signup-prompt) .cb-login-signup-container{right:-100vw}:host(.hide-cb-login-signup-prompt) .blurrer{display:none}@media screen and (min-width: 768px){.cb-login-signup-container{width:35vw}:host(.hide-cb-login-signup-prompt) .cb-login-signup-container{right:-35vw}}.btn{padding:10px 10px;border-radius:3px}.btn.btn-primary{background:linear-gradient(90deg, #F26A3E 0%, #FB8133 100%)}.btn.btn-secondary{background:#15171E;border:1px solid #373E4F}.btn:disabled{background:#939393}.logo{width:20px}.logo-text{display:inline-block;transform:translate(5px, -4px)}.header{font-size:20px}.hr{display:inline-block;width:40%;border:solid 0.5px #373E4F}.sub-header{font-size:12px;color:#BDBDBD}.social-media-logo{width:15px}</style>",X(this,{target:this.shadowRoot,props:j(this.attributes),customElement:!0},ee,Xt,l,{},null),t&&t.target&&u(t.target,this,t.anchor)}}customElements.define("cb-login-signup",se),t.banner=at,t.cb_login_signup=se,t.cb_navbar=Rt,t.demographic_form=xt,t.mobile_cb_navbar=Lt,t.zoom_meeting=Gt,Object.defineProperty(t,"__esModule",{value:!0})})); |
@@ -5,3 +5,3 @@ { | ||
"outDir": "dist/", | ||
"version": "0.6.0", | ||
"version": "1.0.0", | ||
"main": "dist/index.js", | ||
@@ -8,0 +8,0 @@ "scripts": { |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
175840
541
1