-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path701.9f97b345.iframe.bundle.js
1 lines (1 loc) · 2.48 KB
/
701.9f97b345.iframe.bundle.js
1
"use strict";(self.webpackChunkclad_ui=self.webpackChunkclad_ui||[]).push([[701],{66701(d,b,a){a.r(b),a.d(b,{renderDocs:()=>l,unmountDocs:()=>o}),a(35666),a(41539),a(88674);var e=a(67294),f=a(73935),g={fontSize:"14px",letterSpacing:"0.2px",margin:"10px 0"},h={margin:"auto",padding:30,borderRadius:10,background:"rgba(0,0,0,0.03)"},i={textAlign:"center"},c=function(){return e.createElement("div",{style:g,className:"sb-nodocs sb-wrapper"},e.createElement("div",{style:h},e.createElement("h1",{style:i},"No Docs"),e.createElement("p",null,"Sorry, but there are no docs for the selected story. To add them, set the story's\xa0",e.createElement("code",null,"docs")," parameter. If you think this is an error:"),e.createElement("ul",null,e.createElement("li",null,"Please check the story definition."),e.createElement("li",null,"Please check the Storybook config."),e.createElement("li",null,"Try reloading the page.")),e.createElement("p",null,"If the problem persists, check the browser console, or the terminal you've run Storybook from.")))};function j(c,d,e,f,g,h,i){try{var a=c[h](i),b=a.value}catch(j){e(j);return}a.done?d(b):Promise.resolve(b).then(f,g)}function k(a){return function(){var b=this,c=arguments;return new Promise(function(e,f){var g=a.apply(b,c);function d(a){j(g,e,f,d,h,"next",a)}function h(a){j(g,e,f,d,h,"throw",a)}d(void 0)})}}function l(a,b,c,d){return m(a,b,c).then(d)}function m(a,b,c){return n.apply(this,arguments)}function n(){return(n=k(regeneratorRuntime.mark(function a(b,d,g){var h,i,j,k,l,m;return regeneratorRuntime.wrap(function(a){for(;;)switch(a.prev=a.next){case 0:if(!((null!=(j=b.parameters.docs)&&j.getPage||null!=j&&j.page)&&!(null!=j&&j.getContainer||null!=j&&j.container))){a.next=3;break}throw new Error("No `docs.container` set, did you run `addon-docs/preset`?");case 3:if(a.t1=j.container,a.t1){a.next=8;break}return a.next=7,null===(h=j.getContainer)|| void 0===h?void 0:h.call(j);case 7:a.t1=a.sent;case 8:if(a.t0=a.t1,a.t0){a.next=11;break}a.t0=function(a){var b=a.children;return e.createElement(e.Fragment,null,b)};case 11:if(k=a.t0,a.t3=j.page,a.t3){a.next=17;break}return a.next=16,null===(i=j.getPage)|| void 0===i?void 0:i.call(j);case 16:a.t3=a.sent;case 17:if(a.t2=a.t3,a.t2){a.next=20;break}a.t2=c;case 20:return l=a.t2,m=e.createElement(k,{key:b.componentId,context:d},e.createElement(l,null)),a.next=24,new Promise(function(a){f.render(m,g,a)});case 24:case"end":return a.stop()}},a)}))).apply(this,arguments)}function o(a){f.unmountComponentAtNode(a)}c.displayName="NoDocs"}}])