PageSourceSearch

https://shop.3dokuteam.de/themes/docs2018/chunks/view-livebook.f5e30f3b1517ba28.js

js 3dokuteam.de collected 2026-10-08 07:10:25 UTC 4,797 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk=self.webpackChunk||[]).push([[2229],{91601:(t,e,i)=>{i.r(e),i.d(e,{default:()=>a});var n=i(91322);function s(t,e){var i=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),i.push.apply(i,n)}return i}function o(t,e,i){return e in t?Object.defineProperty(t,e,{value:i,enumerable:!0,configurable:!0,writable:!0}):t[e]=i,t}const r={data:function(){return{pageLoaded:!1,init:!1,item:null}},props:{id:{type:Number,default:null},slug:{type:String,default:null}},computed:{},methods:function(t){for(var e=1;e<arguments.length;e++){var i=null!=arguments[e]?arguments[e]:{};e%2?s(Object(i),!0).forEach((function(e){o(t,e,i[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(i)):s(Object(i)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(i,e))}))}return t}({loadData:function(){this.$root.setRouterSearch(this.search),this.loading=!0,this.getLivebookBySlug({params:this.queryParams,setLoading:!0,onError:this.onLoadError,onSuccess:this.onLoadSuccess})},onChangeSearch:function(t){""===this.search&&this.resetSearch(t)},resetSearch:function(t){this.search=null,this.loadData()},onLoadSuccess:function(t){this.item=t&&t.item?t.item:null,this.labels=t&&t.labels?t.labels:null,this.pageLoaded||(this.pageLoaded=!0),this.init||(this.init=!0),this.loading=!1},onLoadError:function(t){this.pageLoaded=!0,this.loading=!1},openLivebook:function(t){void 0!==t&&t&&void 0!==t.url&&t.url&&window.open(t.url,"_blank")},gotoLivebook:function(t){void 0!==t&&t&&void 0!==t.slug&&t.slug&&this.$router.push({name:"livebookBySlug",params:{slug:t.slug}}).catch((function(t){"NavigationDuplicated"===t.name||t.message.includes("Avoided redundant navigation to current location")||console.log(t)}))}},(0,n.mapActions)("livebooks",{getLivebookBySlug:"getLivebookBySlug"})),mounted:function(){this.routerSearch&&(this.search=this.routerSearch)}};const a=(0,i(51900).Z)(r,(function(){var t=this,e=t._self._c;return e("br-page-layout",{staticClass:"p-4 select-none",attrs:{"on-async-success":t.onLoadSuccess,"on-async-error":t.onLoadError}},[t.item?[e("div",{staticClass:"w-full flex flex-wrap justify-between items-start"},[e("div",{staticClass:"w-2/3"},[t.item.title&&t.item.title.length?e("h1",[e("span",{domProps:{innerHTML:t._s(t.item.title)}})]):t._e(),t._v(" "),t.item.subtitle&&t.item.subtitle.length?e("h2",{staticClass:"mt-1"},[e("span",{domProps:{innerHTML:t._s(t.item.subtitle)}})]):t._e(),t._v(" "),t.item.is_top||t.item.is_new?e("div",{staticClass:"w-full flex flex-wrap justify-start items-center"},[t.item.is_new?e("span",{staticClass:"mt-2 mr-2 px-4 rounded-lg bg-danger text-danger-inverse"},[t._v("NEU!\n                  ")]):t._e(),t._v(" "),t.item.is_top?e("span",{staticClass:"mt-2 px-4 rounded-lg bg-info text-info-inverse"},[t._v("TOP!\n                  ")]):t._e()]):t._e(),t._v(" "),t.item.excerpt&&t.item.excerpt.length?e("div",{staticClass:"mt-4 font-bold",domProps:{innerHTML:t._s(t.item.excerpt)}}):t._e(),t._v(" "),t.item.url&&t.item.url.length?e("div",{staticClass:"mt-2 text-sm"},[e("a",{staticClass:"text-interface-button",attrs:{href:t.item.url,target:"blank"}},[e("br-icon",{attrs:{icon:"link"}}),t._v(" "),e("span",{staticClass:"ml-1 text-interface-main-button underline",domProps:{innerHTML:t._s(t.item.url)}})],1)]):t._e()]),t._v(" "),e("div",{staticClass:"w-1/3"},[e("div",{staticClass:"flex flex-col flex-wrap justify-start items-center"},[t.item.image&&t.item.image.length?e("br-image",{staticClass:"cursor-pointer",attrs:{title:t.labels.buttons.show.title,file:t.item.image,"max-height":250,border:!1,rounded:!1},nativeOn:{click:function(e){return t.openLivebook(t.item)}}}):t.item.cover&&t.item.cover.length?e("br-image",{staticClass:"cursor-pointer",attrs:{title:t.labels.buttons.show.title,file:t.item.cover,"max-height":250,border:!1,rounded:!1},nativeOn:{click:function(e){return t.openLivebook(t.item)}}}):t._e(),t._v(" "),t.item.url&&t.item.url.length?e("button",{staticClass:"my-2 px-2 py-2 flex flex-row justify-start items-center text-sm bg-interface-main-button text-interface-main-button-inverse hover:bg-interface-main-button-dark rounded-lg",attrs:{type:"button",title:t.labels.buttons.show.title},on:{click:function(e){return t.openLivebook(t.item)}}},[e("br-icon",{attrs:{icon:t.labels.buttons.show.icon}}),t._v(" "),e("span",{staticClass:"ml-1",domProps:{innerHTML:t._s(t.labels.buttons.show.title)}})],1):t._e()],1)])]),t._v(" "),t.item.body&&t.item.body.length?e("div",{staticClass:"mt-4",domProps:{innerHTML:t._s(t.item.body)}}):t._e()]:t.init?[e("div",[t._v("Kein Livebook gefunden")])]:t._e()],2)}),[],!1,null,null,null).exports}}]);

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.