-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathchunk-A3UDRRFR.js
1 lines (1 loc) · 21 KB
/
chunk-A3UDRRFR.js
1
import"./chunk-X43OVFFB.js";import{a as z}from"./chunk-OPMHK7JA.js";import"./chunk-R2XFI5IF.js";import{a as D}from"./chunk-ZFBHFYAX.js";import"./chunk-W7J6IXWM.js";import"./chunk-WCR3DYYY.js";import{a as mt,b as vt,l as gt}from"./chunk-CVVTJZST.js";import"./chunk-AMKYUFTK.js";import"./chunk-SK5AAITW.js";import{p as ht}from"./chunk-63ZMWUDP.js";import{a as R}from"./chunk-KFOOQGOY.js";import{L as ct,M as ut,P as pt,i as lt}from"./chunk-LRGM5MED.js";import{o as dt,u as st}from"./chunk-MG7CMGQF.js";import"./chunk-WXI33M2S.js";import{B as x,E as f,Ea as Z,Eb as s,Fa as H,Fb as l,Gb as E,Gc as it,Jb as k,Kb as P,Kc as ot,La as K,Nb as y,Nc as at,Oc as rt,Pb as c,Qa as G,Qc as j,Ub as O,Va as d,Vb as T,Wb as M,Xb as I,Yb as g,Zb as F,_b as L,a as w,aa as $,b as A,bc as J,cc as Y,ga as h,hb as u,jc as tt,ma as q,nb as m,sa as X,tb as N,u as W,uc as et,v as Q,vb as v,wa as C,xa as b,xb as _,zb as p,zc as nt}from"./chunk-DXS2GHCC.js";var V=300,ft=800,B=(()=>{let o=class o{constructor(){this.destroyRef=h(Z),this.document=h(it),this.focusMonitor=h(ht),this.resizeData=u({initialContentContainerWidthInPercentage:0,initialDividerPosition:0,initialEditorContainerWidthInPercentage:0,isProgress:!1})}init(t,e,a,r){this.container=t,this.content=e,this.resizer=a,this.editor=r,this.listenToResizeStart(),this.listenToResize(),this.listenToResizeEnd(),this.resizeContainersUsingKeyArrows()}listenToResizeStart(){x(this.resizer.nativeElement,"mousedown").pipe(W(t=>({editor:this.editor,event:t})),f(t=>!!t.editor?.nativeElement),R(this.destroyRef)).subscribe(({event:t})=>{let e=this.getCurrentContainerWidth(this.content.nativeElement),a=this.getCurrentContainerWidth(this.editor.nativeElement);this.content.nativeElement.style.minWidth=`${V}px`,this.resizeData.update(r=>(r.initialDividerPosition=t.pageX,r.isProgress=!0,r.initialContentContainerWidthInPercentage=e,r.initialEditorContainerWidthInPercentage=a,w({},r)))})}listenToResize(){x(this.document,"mousemove").pipe(W(t=>({editor:this.editor,event:t})),f(t=>!!t.editor?.nativeElement),R(this.destroyRef)).subscribe(({event:t})=>{if(this.resizeData().isProgress){let e=t.pageX,a=this.getParentContainerWidth(),r=(e-this.resizeData().initialDividerPosition)/a*100,S=this.resizeData().initialContentContainerWidthInPercentage+r,_t=this.resizeData().initialEditorContainerWidthInPercentage-r;this.setWidthOfTheContainers(S,_t)}})}listenToResizeEnd(){x(this.document,"mouseup").pipe(R(this.destroyRef)).subscribe(()=>{this.resizeData().isProgress&&(this.content.nativeElement.style.minWidth=`${V}px`,this.resizeData.update(t=>(t.isProgress=!1,t.initialDividerPosition=0,t.initialContentContainerWidthInPercentage=0,t.initialEditorContainerWidthInPercentage=0,w({},t))))})}resizeContainersUsingKeyArrows(){Q([this.focusMonitor.monitor(this.resizer),x(this.document,"keydown")]).pipe(f(([t,e])=>!!t&&(e.key==="ArrowLeft"||e.key==="ArrowRight")),R(this.destroyRef)).subscribe(([t,e])=>{let a=e.key==="ArrowLeft"?-1:1,r=this.getCurrentContainerWidth(this.content.nativeElement),S=this.getCurrentContainerWidth(this.editor.nativeElement);this.setWidthOfTheContainers(r+a,S-a)})}setWidthOfTheContainers(t,e){let r=this.container.nativeElement.offsetWidth*t/100;r>V&&r<ft&&this.editor&&(this.content.nativeElement.style.width=`${t}%`,this.editor.nativeElement.style.width=`${e}%`)}getCurrentContainerWidth(t){let e=Number(t.style.width.replace("%",""));return e>0?e:t.offsetWidth/this.getParentContainerWidth()*100}getParentContainerWidth(){return this.resizer.nativeElement.offsetWidth+this.content.nativeElement.offsetWidth+this.editor.nativeElement.offsetWidth}};o.\u0275fac=function(e){return new(e||o)},o.\u0275prov=$({token:o,factory:o.\u0275fac});let n=o;return n})();var xt=["content"],Ct=["editor"],bt=["resizer"],Pt=["revealAnswerButton"];function yt(n,o){n&1&&k(0)}function Ot(n,o){n&1&&k(0)}function Tt(n,o){n&1&&E(0,"docs-viewer",11),n&2&&v("docContent",o)}function Mt(n,o){if(n&1&&(s(0,"div",10,2),m(2,Ot,1,0,"ng-container",6)(3,Tt,1,1,"docs-viewer",11),l()),n&2){let i,t=c(),e=I(7);_("adev-nav-open",t.showNavigationDropdown()),d(2),v("ngTemplateOutlet",e),d(),p((i=t.documentContent())?3:-1,i)}}function Rt(n,o){n&1&&k(0)}function Et(n,o){if(n&1&&m(0,Rt,1,0,"ng-container",13),n&2){let i=c(2);v("ngComponentOutlet",i.embeddedEditorComponent)}}function kt(n,o){if(n&1&&(s(0,"div",12,3),m(2,Et,1,1,"ng-container"),l()),n&2){let i=c();_("adev-split-tutorial",i.shouldRenderContent()),d(2),p(i.embeddedEditorComponent?2:-1)}}function Dt(n,o){if(n&1){let i=P();s(0,"button",26,4),y("click",function(){C(i);let e=c(2);return b(e.answerRevealed()?e.handleResetAnswer():e.handleRevealAnswer())}),g(2),l()}if(n&2){let i=c(2);_("adev-reset-answer-button",i.answerRevealed()),v("disabled",!i.canRevealAnswer()),N("text",i.answerRevealed()?"\u91CD\u7F6E":"\u663E\u793A\u7B54\u6848")("aria-label",i.answerRevealed()?"\u91CD\u7F6E":"\u663E\u793A\u7B54\u6848"),d(2),L(" ",i.answerRevealed()?"\u91CD\u7F6E":"\u663E\u793A\u7B54\u6848"," ")}}function zt(n,o){if(n&1&&(s(0,"a",19)(1,"button",27)(2,"docs-icon"),g(3,"download"),l()()()),n&2){let i=c(2);v("download",i.stepName()+".zip")("href",i.localTutorialZipUrl(),G)}}function St(n,o){if(n&1&&(s(0,"a",21)(1,"button",28)(2,"docs-icon"),g(3,"chevron_left"),l()()()),n&2){let i=c(2);v("routerLink",i.previousStepPath)}}function At(n,o){n&1&&(s(0,"button",22)(1,"docs-icon"),g(2,"chevron_left"),l()())}function Wt(n,o){if(n&1&&(s(0,"a",21)(1,"button",28)(2,"docs-icon"),g(3,"chevron_right"),l()()()),n&2){let i=c(2);v("routerLink",i.nextStepPath)}}function Nt(n,o){n&1&&(s(0,"button",22)(1,"docs-icon"),g(2,"chevron_right"),l()())}function It(n,o){if(n&1){let i=P();s(0,"button",29,4),y("click",function(){C(i);let e=c(2);return b(e.answerRevealed()?e.handleResetAnswer():e.handleRevealAnswer())}),g(2),l()}if(n&2){let i=c(2);_("adev-reset-answer-button",i.answerRevealed()),v("disabled",!i.canRevealAnswer()),N("text",i.answerRevealed()?"\u91CD\u7F6E":"\u663E\u793A\u7B54\u6848")("aria-label",i.answerRevealed()?"\u91CD\u7F6E":"\u663E\u793A\u7B54\u6848"),d(2),L(" ",i.answerRevealed()?"\u91CD\u7F6E":"\u663E\u793A\u7B54\u6848"," ")}}function Ft(n,o){if(n&1&&(s(0,"a",21),g(1,"\u4E0B\u4E00\u4E2A\u6559\u7A0B"),l()),n&2){let i=c(3);v("routerLink","/"+i.nextTutorialPath())}}function Lt(n,o){if(n&1){let i=P();s(0,"div",30),y("docsClickOutside",function(){C(i);let e=c(2);return b(e.hideNavigationDropdown())}),E(1,"docs-navigation-list",31),m(2,Ft,2,1,"a",21),l()}if(n&2){let i=c(2);d(),v("isDropdownView",!0)("navigationItems",i.tutorialNavigationItems()),d(),p(i.nextTutorialPath()?2:-1)}}function jt(n,o){if(n&1){let i=P();s(0,"div",14)(1,"div",15)(2,"button",16),y("click",function(e){C(i);let a=c();return b(a.toggleNavigationDropdown(e))}),s(3,"docs-icon"),g(4,"unfold_more"),l(),s(5,"div",17)(6,"span"),g(7),l(),s(8,"span"),g(9),l()()(),m(10,Dt,3,6,"button",18)(11,zt,4,2,"a",19),s(12,"div",20),m(13,St,4,1,"a",21)(14,At,3,0,"button",22)(15,Wt,4,1,"a",21)(16,Nt,3,0,"button",22),l(),s(17,"div",23),m(18,It,3,6,"button",24),l(),m(19,Lt,3,3,"div",25),l()()}if(n&2){let i=c();d(),_("adev-nav-open",i.showNavigationDropdown()),d(6),F(i.tutorialName()),d(2),F(i.stepName()),d(),p(i.shouldRenderRevealAnswer()?10:-1),d(),p(i.localTutorialZipUrl()?11:-1),d(2),p(i.previousStepPath?13:-1),d(),p(i.previousStepPath?-1:14),d(),p(i.nextStepPath?15:-1),d(),p(i.nextStepPath?-1:16),d(2),p(i.shouldRenderRevealAnswer()?18:-1),d(),p(i.showNavigationDropdown()?19:-1)}}var U="\u7B80\u4ECB",ce=(()=>{let o=class o{constructor(){this.changeDetectorRef=h(et),this.environmentInjector=h(X),this.elementRef=h(H),this.embeddedTutorialManager=h(mt),this.nodeRuntimeState=h(gt),this.platformId=h(K),this.route=h(dt),this.splitResizerHandler=h(B),this.documentContent=u(null),this.localTutorialZipUrl=u(void 0),this.nextTutorialPath=u(null),this.stepName=u(null),this.tutorialName=u(null),this.tutorialNavigationItems=u([]),this.showNavigationDropdown=u(!1),this.shouldRenderContent=u(!1),this.shouldRenderEmbeddedEditor=u(!1),this.shouldRenderRevealAnswer=u(!1),this.canRevealAnswer=u(!1),this.answerRevealed=u(!1),this.route.data.pipe(f(()=>!!this.route?.routeConfig?.path?.startsWith(`${D.TUTORIALS}/`))).subscribe(t=>{let e=t.docContent?.contents??null;this.documentContent.set(e),this.setTutorialData(t)})}async ngAfterViewInit(){j(this.platformId)&&(this.splitResizerHandler.init(this.elementRef,this.content,this.resizer,this.editor),this.loadEmbeddedEditorComponent().then(t=>{this.embeddedEditorComponent=t,this.changeDetectorRef.markForCheck()}))}toggleNavigationDropdown(t){t.stopPropagation(),this.showNavigationDropdown.update(e=>!e)}hideNavigationDropdown(){this.showNavigationDropdown.set(!1)}async handleRevealAnswer(){if(!this.canRevealAnswer())return;this.embeddedTutorialManager.revealAnswer();let t=await z(this.environmentInjector,()=>import("./chunk-2IWHYD7N.js").then(e=>e.NodeRuntimeSandbox));await Promise.all(Object.entries(this.embeddedTutorialManager.answerFiles()).map(([e,a])=>t.writeFile(e,a))),this.answerRevealed.set(!0)}async handleResetAnswer(){if(!this.canRevealAnswer())return;this.embeddedTutorialManager.resetRevealAnswer();let t=await z(this.environmentInjector,()=>import("./chunk-2IWHYD7N.js").then(e=>e.NodeRuntimeSandbox));await Promise.all(Object.entries(this.embeddedTutorialManager.tutorialFiles()).map(([e,a])=>t.writeFile(e,a))),this.answerRevealed.set(!1)}async setTutorialData(t){this.showNavigationDropdown.set(!1),this.answerRevealed.set(!1),this.setRouteData(t);let{tutorialData:e}=t;e.type==="local"?this.setLocalTutorialData(e):e.type==="editor"&&j(this.platformId)&&await this.setEditorTutorialData(t.path.replace(`${D.TUTORIALS}/`,""))}setRouteData(t){let{tutorialData:e}=t,a=t.parent?t.parent.label:t.label,r=e.title===a?U:e.title;this.tutorialName.set(a),this.stepName.set(r),this.tutorialNavigationItems.set(t.parent?[A(w({},t.parent),{label:U})]:[A(w({},t),{label:U})]),this.shouldRenderContent.set(e.type!=="editor-only"),this.nextStepPath=e.nextStep?`/${e.nextStep}`:void 0,this.previousStepPath=e.previousStep?`/${e.previousStep}`:void 0,this.nextTutorialPath.set(e.nextTutorial?`/${e.nextTutorial}`:null)}setLocalTutorialData(t){this.localTutorialZipUrl.set(t.sourceCodeZipPath),this.shouldRenderEmbeddedEditor.set(!1),this.shouldRenderRevealAnswer.set(!1)}async setEditorTutorialData(t){this.shouldRenderEmbeddedEditor.set(!0);let e=t.replace(`${D.TUTORIALS}/`,"");await this.embeddedTutorialManager.fetchAndSetTutorialFiles(e);let a=Object.keys(this.embeddedTutorialManager.answerFiles()).length>0;this.shouldRenderRevealAnswer.set(a),await this.loadEmbeddedEditor()}async loadEmbeddedEditor(){let t=await z(this.environmentInjector,()=>import("./chunk-2IWHYD7N.js").then(e=>e.NodeRuntimeSandbox));this.canRevealAnswer=nt(()=>this.nodeRuntimeState.loadingStep()>vt.BOOT),await t.init()}async loadEmbeddedEditorComponent(){return await import("./chunk-2IWHYD7N.js").then(t=>t.EmbeddedEditor)}};o.\u0275fac=function(e){return new(e||o)},o.\u0275cmp=q({type:o,selectors:[["adev-tutorial"]],viewQuery:function(e,a){if(e&1&&(O(xt,5),O(Ct,5),O(bt,5),O(Pt,5)),e&2){let r;T(r=M())&&(a.content=r.first),T(r=M())&&(a.editor=r.first),T(r=M())&&(a.resizer=r.first),T(r=M())&&(a.revealAnswerButton=r.first)}},standalone:!0,features:[J([B]),Y],decls:8,vars:7,consts:[["resizer",""],["tutorialNav",""],["content",""],["editor",""],["revealAnswerButton",""],[1,"adev-page-content"],[4,"ngTemplateOutlet"],[1,"docs-tutorial-content",3,"adev-nav-open"],["role","separator",1,"adev-tutorial-resizer"],[1,"docs-tutorial-editor",3,"adev-split-tutorial"],[1,"docs-tutorial-content"],[1,"docs-viewer","docs-viewer-scroll-margin-large",3,"docContent"],[1,"docs-tutorial-editor"],[4,"ngComponentOutlet"],[1,"adev-tutorial-nav-container"],[1,"adev-tutorial-nav"],[1,"adev-unfold-button",3,"click"],[1,"adev-current-tutorial"],[1,"docs-reveal-answer-button","adev-reveal-desktop-button","docs-primary-btn",3,"disabled","adev-reset-answer-button"],[3,"download","href"],[1,"adev-nav-arrows"],[3,"routerLink"],["disabled","",1,"docs-primary-btn"],[1,"adev-reveal-mobile-button-container"],[1,"docs-reveal-answer-button","adev-reveal-mobile-button","docs-primary-btn",3,"disabled","adev-reset-answer-button"],[1,"adev-tutorial-nav-list-dropdown"],[1,"docs-reveal-answer-button","adev-reveal-desktop-button","docs-primary-btn",3,"click","disabled"],[1,"adev-download-button","docs-primary-btn"],[1,"docs-primary-btn"],[1,"docs-reveal-answer-button","adev-reveal-mobile-button","docs-primary-btn",3,"click","disabled"],[1,"adev-tutorial-nav-list-dropdown",3,"docsClickOutside"],[1,"adev-nav-list",3,"isDropdownView","navigationItems"]],template:function(e,a){if(e&1&&(s(0,"div",5),m(1,yt,1,0,"ng-container",6)(2,Mt,4,4,"div",7),E(3,"button",8,0),m(5,kt,3,3,"div",9),l(),m(6,jt,20,12,"ng-template",null,1,tt)),e&2){let r=I(7);_("adev-nav-open",a.showNavigationDropdown()),d(),v("ngTemplateOutlet",r),d(),p(a.shouldRenderContent()?2:-1),d(),_("adev-tutorial-resizer-hidden",!a.shouldRenderEmbeddedEditor()||!a.shouldRenderContent()),d(2),p(a.shouldRenderEmbeddedEditor()?5:-1)}},dependencies:[rt,ot,at,ut,pt,lt,st,ct],styles:['.adev-page-content[_ngcontent-%COMP%]{display:flex;align-items:flex-start;flex-direction:row;position:relative;padding:0 var(--layout-padding) var(--layout-padding);max-width:calc(100vw - var(--layout-padding) * 2);container:page-content/inline-size}@media (max-width: 900px){.adev-page-content[_ngcontent-%COMP%]{flex-direction:column}}@media (min-width: 900px){.adev-page-content[_ngcontent-%COMP%] > .adev-tutorial-nav-container[_ngcontent-%COMP%]{display:none}}.adev-page-content.adev-nav-open[_ngcontent-%COMP%]:after{content:"";position:absolute;inset:0;width:100%;height:100%;-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px)}.adev-page-content[_ngcontent-%COMP%]:has(.docs-tutorial-editor) .docs-tutorial-content[_ngcontent-%COMP%]{width:calc(50% - .0625rem - var(--layout-padding))}@media (max-width: 900px){.adev-page-content[_ngcontent-%COMP%]:has(.docs-tutorial-editor) .docs-tutorial-content[_ngcontent-%COMP%]{width:100%!important}}@media (max-width: 900px){.adev-page-content[_ngcontent-%COMP%]:has(.adev-tutorial-nav-container) .docs-tutorial-editor[_ngcontent-%COMP%]{height:calc(100vh - 200px)}}@media (max-width: 700px){.adev-page-content[_ngcontent-%COMP%]:has(.adev-tutorial-nav-container) .docs-tutorial-editor[_ngcontent-%COMP%]{height:calc(100vh - 200px)}}.docs-tutorial-content[_ngcontent-%COMP%]{max-width:var(--page-width);min-width:300px;width:100%;box-sizing:content-box;container:tutorial-content/inline-size;z-index:var(--z-index-content)}@media (max-width: 900px){.docs-tutorial-content[_ngcontent-%COMP%] > .adev-tutorial-nav-container[_ngcontent-%COMP%]{display:none}}.docs-tutorial-content.adev-nav-open[_ngcontent-%COMP%]:after{content:"";position:absolute;inset:0;width:100%;height:100%;-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px)}.docs-viewer[_ngcontent-%COMP%]{padding:0}.adev-tutorial-resizer[_ngcontent-%COMP%]{position:sticky;top:var(--layout-padding);width:.0625rem;padding-inline:1.56rem;margin-block-start:var(--layout-padding);cursor:col-resize;align-self:stretch;height:100vh}.adev-tutorial-resizer[_ngcontent-%COMP%]:before{content:"";position:absolute;left:calc(50% - .5px);top:0;bottom:0;background:var(--senary-contrast);transition:background .3s ease;width:1px}.adev-tutorial-resizer-hidden[_ngcontent-%COMP%]{display:none}@media (max-width: 900px){.adev-tutorial-resizer[_ngcontent-%COMP%]{display:none}}.docs-tutorial-editor[_ngcontent-%COMP%]{position:sticky;top:0;width:100%;min-width:300px;padding-block-start:var(--layout-padding);height:100vh}.adev-split-tutorial[_ngcontent-%COMP%]{width:50%}@media (min-width: 1800px){.adev-split-tutorial[_ngcontent-%COMP%]{width:100%}}@media (max-width: 900px){.adev-split-tutorial[_ngcontent-%COMP%]{width:100%!important}}',".adev-tutorial-nav-container[_ngcontent-%COMP%]{position:sticky;top:0;width:100%;background-color:var(--page-background);padding-block-start:var(--layout-padding);padding-block-end:calc(1.5rem + 50px);margin-block-end:1rem;border-block-end:1px solid var(--septenary-contrast);z-index:var(--z-index-nav);transition:background-color .3s ease;container:nav-container/inline-size}@media (max-width: 900px){.adev-tutorial-nav-container[_ngcontent-%COMP%]{top:60px}}@media (max-width: 700px){.adev-tutorial-nav-container[_ngcontent-%COMP%]{top:55px}}@container tutorial-content (max-width: 430px){.adev-tutorial-nav-container[_ngcontent-%COMP%]:has(.docs-reveal-answer-button){padding-block-end:calc(1.5rem + 85px)}}@container page-content (max-width: 430px){.adev-tutorial-nav-container[_ngcontent-%COMP%]:has(.docs-reveal-answer-button){padding-block-end:calc(1.5rem + 85px)}}.adev-tutorial-nav[_ngcontent-%COMP%]{position:absolute;display:flex;justify-content:space-between;align-items:center;gap:.5rem;width:100%;flex-wrap:wrap;z-index:var(--z-index-nav)}.adev-unfold-button[_ngcontent-%COMP%]{display:flex;gap:.5rem;align-items:center;padding-inline:0;border:none;background-color:transparent;cursor:pointer;flex:1;z-index:var(--z-index-nav)}.adev-unfold-button[_ngcontent-%COMP%] docs-icon[_ngcontent-%COMP%]{min-width:1.5rem;color:var(--quinary-contrast);transition:color .2s ease-in-out}.adev-nav-open[_ngcontent-%COMP%] .adev-unfold-button[_ngcontent-%COMP%] docs-icon[_ngcontent-%COMP%], .adev-unfold-button[_ngcontent-%COMP%]:hover docs-icon[_ngcontent-%COMP%]{color:var(--primary-contrast)}.adev-current-tutorial[_ngcontent-%COMP%]{text-align:left;letter-spacing:.00875rem}.adev-current-tutorial[_ngcontent-%COMP%] span[_ngcontent-%COMP%]:first-child{margin-block-end:.2rem;color:var(--quaternary-contrast);display:-webkit-box;-webkit-line-clamp:1;-webkit-box-orient:vertical;overflow:hidden;text-overflow:ellipsis}.adev-current-tutorial[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{color:var(--primary-contrast);font-weight:500;font-size:.875rem;display:-webkit-box;-webkit-line-clamp:1;-webkit-box-orient:vertical;overflow:hidden;text-overflow:ellipsis}.adev-download-button[_ngcontent-%COMP%]{width:2.875rem;height:2.875rem;padding:0}@container nav-container (max-width: 430px){.adev-reveal-desktop-button[_ngcontent-%COMP%]{display:none}}.adev-reveal-mobile-button-container[_ngcontent-%COMP%]{display:flex}@container nav-container (max-width: 430px){.adev-reveal-mobile-button-container[_ngcontent-%COMP%]{width:100%;justify-content:end}}@container nav-container (min-width: 430px){.adev-reveal-mobile-button-container[_ngcontent-%COMP%]{display:none}}.docs-reveal-answer-button[_ngcontent-%COMP%]{height:2.875rem;width:120px}.adev-reset-answer-button[_ngcontent-%COMP%]{background:var(--senary-contrast);transition:opacity .3s ease,background .3s ease}.adev-reset-answer-button[_ngcontent-%COMP%]:hover{background:var(--quinary-contrast)}.adev-reset-answer-button[_ngcontent-%COMP%]:hover:after{opacity:0}.adev-reset-answer-button[_ngcontent-%COMP%]:hover:before{background:var(--octonary-contrast)}.adev-nav-arrows[_ngcontent-%COMP%]{display:flex;gap:.5rem;margin-left:auto}.adev-nav-arrows[_ngcontent-%COMP%] button[_ngcontent-%COMP%]{width:2.875rem;height:2.875rem;display:flex;justify-content:center;align-items:center}.adev-nav-arrows[_ngcontent-%COMP%] button[_ngcontent-%COMP%]:disabled{background:var(--quinary-contrast)}.adev-nav-arrows[_ngcontent-%COMP%] button[_ngcontent-%COMP%]:disabled docs-icon[_ngcontent-%COMP%]{color:var(--quinary-contrast)}.adev-nav-arrows[_ngcontent-%COMP%] button[_ngcontent-%COMP%] docs-icon[_ngcontent-%COMP%]{z-index:var(--z-index-icon);color:var(--primary-contrast)}",'.adev-tutorial-nav-list-dropdown[_ngcontent-%COMP%]{background-color:var(--page-background);border:1px solid var(--senary-contrast);border-radius:.25rem;z-index:var(--z-index-nav);margin-top:1rem;width:100%;box-shadow:10px 4px 40px #0000000d;display:flex;flex-direction:column}@container tutorial-content (max-width: 430px){.adev-tutorial-nav-list-dropdown[_ngcontent-%COMP%]{margin-top:0}}.adev-tutorial-nav-list-dropdown[_ngcontent-%COMP%] ul[_ngcontent-%COMP%]{padding-block-end:1rem}.adev-tutorial-nav-list-dropdown[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{position:sticky;display:flex;align-items:center;justify-content:flex-end;color:var(--gray-400);background-color:var(--page-background);border-block-start:1px solid var(--senary-contrast);border-radius:0 0 .25rem .25rem;text-align:right;padding:1rem;font-size:.875rem;transition:color .3s ease}.adev-tutorial-nav-list-dropdown[_ngcontent-%COMP%] a[_ngcontent-%COMP%]:hover{color:var(--primary-contrast);background-color:var(--octonary-contrast)}.adev-tutorial-nav-list-dropdown[_ngcontent-%COMP%] a[_ngcontent-%COMP%]:after{content:"chevron_right";font-family:var(--icons);font-size:1.3rem;margin-inline-start:.2rem}.adev-nav-list[_ngcontent-%COMP%]{height:max-content;max-height:calc(var(--fixed-content-height) - var(--layout-padding) - 67px);padding-block-start:1rem;padding-block-end:0}@container tutorial-content (max-width: 430px){.adev-nav-list[_ngcontent-%COMP%]{max-height:calc(var(--fixed-content-height) - var(--layout-padding) - 105px)}}@media (max-width: 900px){.adev-nav-list[_ngcontent-%COMP%]{max-height:calc(var(--fixed-content-height) - var(--layout-padding) - 167px)}}.adev-nav-list[_ngcontent-%COMP%]::-webkit-scrollbar-thumb{background-color:var(--senary-contrast)}'],changeDetection:0});let n=o;return n})();export{ce as default};