PageSourceSearch

https://studip.hmt-rostock.de/assets/javascripts/4873.chunk.js?h=773ec51c8388040e78b8

js hmt-rostock.de collected 2026-10-02 17:21:19 UTC 17,534 bytes, 2 lines download raw bytes

1"use strict";(self.webpackChunk_studip_core=self.webpackChunk_studip_core||[]).push([[4873],{2068:function(e,t){t.Z=["accept","add","add-circle","admin","aladdin","arr_1down","arr_1left","arr_1right","arr_1up","arr_2down","arr_2left","arr_2right","arr_2up","audio","audio3","billboard","block-canvas","block-comparison","block-eyecatcher","block-gallery","block-gallery2","block-imagemap","brainstorm","campusnavi","chat2","code","community2","computer","consultation","content","courseware","crown","date-single","decline","decline-circle","doctoral_cap","download","dropbox","edit","exclaim","exclaim-circle","export","favorite","filter","globe","graph","group2","group3","group4","home2","info","info-circle","install","institute","key","knife","learnmodule","lightbulb","lightbulb2","link2","link3","link-extern","link-intern","literature","lock-locked","lock-unlocked","mail2","medal","metro","microphone","module","network","notification","notification2","opencast","outer-space","permalink","person","phone","picture","place","plugin","question","question-circle","ranking","remove","remove-circle","resources","roles","schedule2","search","settings","span-empty","span-1quarter","span-2quarter","span-3quarter","span-full","spiral","sport","staple","star","star-empty","star-halffull","test","tools","topic","ufo","video2","visibility-visible","wizard"]},14873:function(e,t,r){r.r(t),r.d(t,{default:function(){return k}});var n=function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("div",{staticClass:"cw-block cw-block-headline"},[r("courseware-default-block",{attrs:{block:e.block,canEdit:e.canEdit,isTeacher:e.isTeacher,preview:!0},on:{showEdit:e.initCurrentData,storeEdit:e.storeText,closeEdit:e.initCurrentData},scopedSlots:e._u([{key:"content",fn:function(){return[r("div",{staticClass:"cw-block-headline-content",class:[e.currentStyle,"half"===e.currentHeight?"half":"full"],style:e.headlineStyle},[r("div",{staticClass:"icon-layer",class:["icon-"+e.currentIconColor+"-"+e.currentIcon,"half"===e.currentHeight?"half":"full"]}),e._v(" "),r("div",{staticClass:"cw-block-headline-textbox"},[r("div",{staticClass:"cw-block-headline-title"},[r("h1",{style:e.textStyle},[e._v(e._s(e.currentTitle))])]),e._v(" "),r("div",{staticClass:"cw-block-headline-subtitle"},[r("h2",{style:e.textStyle},[e._v(e._s(e.currentSubtitle))])])])])]},proxy:!0},e.canEdit?{key:"edit",fn:function(){return[r("form",{staticClass:"default",on:{submit:function(e){e.preventDefault()}}},[r("label",[r("translate",[e._v("Layout")]),e._v(" "),r("select",{directives:[{name:"model",rawName:"v-model",value:e.currentStyle,expression:"currentStyle"}],on:{change:function(t){var r=Array.prototype.filter.call(t.target.options,(function(e){return e.selected})).map((function(e){return"_value"in e?e._value:e.value}));e.currentStyle=t.target.multiple?r:r[0]}}},[r("option",{attrs:{value:"heavy"}},[r("translate",[e._v("Große Schrift")])],1),e._v(" "),r("option",{attrs:{value:"ribbon"}},[r("translate",[e._v("Band")])],1),e._v(" "),r("option",{attrs:{value:"bigicon_top"}},[r("translate",[e._v("Großes Icon oben")])],1),e._v(" "),r("option",{attrs:{value:"bigicon_before"}},[r("translate",[e._v("Großes Icon davor")])],1)])],1),e._v(" "),r("label",[r("translate",[e._v("Höhe")]),e._v(" "),r("select",{directives:[{name:"model",rawName:"v-model",value:e.currentHeight,expression:"currentHeight"}],on:{change:function(t){var r=Array.prototype.filter.call(t.target.options,(function(e){return e.selected})).map((function(e){return"_value"in e?e._value:e.value}));e.currentHeight=t.target.multiple?r:r[0]}}},[r("option",{attrs:{value:"full"}},[r("translate",[e._v("Voll")])],1),e._v(" "),r("option",{attrs:{value:"half"}},[r("translate",[e._v("Halb")])],1)])],1),e._v(" "),r("label",[r("translate",[e._v("Haupttitel")]),e._v(" "),r("input",{directives:[{name:"model",rawName:"v-model",value:e.currentTitle,expression:"currentTitle"}],attrs:{type:"text"},domProps:{value:e.currentTitle},on:{input:function(t){t.target.composing||(e.currentTitle=t.target.value)}}})],1),e._v(" "),e.hasSubtitle?r("label",[r("translate",[e._v("Untertitel")]),e._v(" "),r("input",{directives:[{name:"model",rawName:"v-model",value:e.currentSubtitle,expression:"currentSubtitle"}],attrs:{type:"text"},domProps:{value:e.currentSubtitle},on:{input:function(t){t.target.composing||(e.currentSubtitle=t.target.value)}}}
1)],1):e._e(),e._v(" "),r("label",[r("translate",[e._v("Textfarbe")]),e._v(" "),r("studip-select",{attrs:{options:e.colors,label:"hex",reduce:function(e){return e.hex},clearable:!1},scopedSlots:e._u([{key:"open-indicator",fn:function(t){return[r("span",e._b({},"span",t,!1),[r("studip-icon",{attrs:{shape:"arr_1down",size:"10"}})],1)]}},{key:"no-options",fn:function(t){t.search,t.searching,t.loading;return[r("translate",[e._v("Es steht keine Auswahl zur Verfügung.")])]}},{key:"selected-option",fn:function(t){var n=t.name,o=t.hex;return[r("span",{staticClass:"vs__option-color",style:{"background-color":o}}),r("span",[e._v(e._s(n))])]}},{key:"option",fn:function(t){var n=t.name,o=t.hex;return[r("span",{staticClass:"vs__option-color",style:{"background-color":o}}),r("span",[e._v(e._s(n))])]}}],null,!1,1031768167),model:{value:e.currentTextColor,callback:function(t){e.currentTextColor=t},expression:"currentTextColor"}})],1),e._v(" "),r("label",[r("translate",[e._v("Icon")]),e._v(" "),r("studip-select",{attrs:{clearable:!1,options:e.icons},scopedSlots:e._u([{key:"open-indicator",fn:function(t){return[r("span",e._b({},"span",t,!1),[r("studip-icon",{attrs:{shape:"arr_1down",size:"10"}})],1)]}},{key:"no-options",fn:function(t){t.search,t.searching,t.loading;return[r("translate",[e._v("Es steht keine Auswahl zur Verfügung.")])]}},{key:"selected-option",fn:function(t){return[r("studip-icon",{attrs:{shape:t.label}}),e._v(" "),r("span",{staticClass:"vs__option-with-icon"},[e._v(e._s(t.label))])]}},{key:"option",fn:function(t){return[r("studip-icon",{attrs:{shape:t.label}}),e._v(" "),r("span",{staticClass:"vs__option-with-icon"},[e._v(e._s(t.label))])]}}],null,!1,4267087591),model:{value:e.currentIcon,callback:function(t){e.currentIcon=t},expression:"currentIcon"}})],1),e._v(" "),r("label",[r("translate",[e._v("Icon-Farbe")]),e._v(" "),r("studip-select",{attrs:{options:e.iconColors,label:"name",reduce:function(e){return e.class},clearable:!1},scopedSlots:e._u([{key:"open-indicator",fn:function(t){return[r("span",e._b({},"span",t,!1),[r("studip-icon",{attrs:{shape:"arr_1down",size:"10"}})],1)]}},{key:"no-options",fn:function(t){t.search,t.searching,t.loading;return[r("translate",[e._v("Es steht keine Auswahl zur Verfügung.")])]}},{key:"selected-option",fn:function(t){var n=t.name,o=t.hex;return[r("span",{staticClass:"vs__option-color",style:{"background-color":o}}),r("span",[e._v(e._s(n))])]}},{key:"option",fn:function(t){var n=t.name,o=t.hex;return[r("span",{staticClass:"vs__option-color",style:{"background-color":o}}),r("span",[e._v(e._s(n))])]}}],null,!1,1031768167),model:{value:e.currentIconColor,callback:function(t){e.currentIconColor=t},expression:"currentIconColor"}})],1),e._v(" "),r("label",[r("translate",[e._v("Hintergrundtyp")]),e._v(" "),r("select",{directives:[{name:"model",rawName:"v-model",value:e.currentBackgroundType,expression:"currentBackgroundType"}],on:{change:function(t){var r=Array.prototype.filter.call(t.target.options,(function(e){return e.selected})).map((function(e){return"_value"in e?e._value:e.value}));e.currentBackgroundType=t.target.multiple?r:r[0]}}},[r("option",{attrs:{value:"color"}},[r("translate",[e._v("Farbe")])],1),e._v(" "),r("option",{attrs:{value:"image"}},[r("translate",[e._v("Bild")])],1)])],1),e._v(" "),"color"===e.currentBackgroundType?r("label",[r("translate",[e._v("Hintergrundfarbe")]),e._v(" "),r("studip-select",{attrs:{options:e.colors,label:"hex",reduce:function(e){return e.hex},clearable:!1},scopedSlots:e._u([{key:"open-indicator",fn:function(t){return[r("span",e._b({},"span",t,!1),[r("studip-icon",{attrs:{shape:"arr_1down",size:"10"}})],1)]}},{key:"no-options",fn:function(t){t.search,t.searching,t.loading;return[r("translate",[e._v("Es steht keine Auswahl zur Verfügung.")])]}},{key:"selected-option",fn:function(t){var n=t.name,o=t.hex;return[r("span",{staticClass:"vs__option-color",style:{"background-color":o}}),r("span",[e._v(e._s(n))])]}},{key:"option",fn:function(t){var n=t.name,o=t.hex;return[r("span",{staticClass:"vs__option-color",style:{"background-color":o}}),r("span",[e._v(e._s(n))])]}}
1],null,!1,1031768167),model:{value:e.currentBackgroundColor,callback:function(t){e.currentBackgroundColor=t},expression:"currentBackgroundColor"}})],1):e._e(),e._v(" "),"image"===e.currentBackgroundType?r("label",[r("translate",[e._v("Hintergrundbild")]),e._v(" "),r("courseware-file-chooser",{attrs:{isImage:!0},on:{selectFile:e.updateCurrentBackgroundImage},model:{value:e.currentBackgroundImageId,callback:function(t){e.currentBackgroundImageId=t},expression:"currentBackgroundImageId"}})],1):e._e()])]},proxy:!0}:null,{key:"info",fn:function(){return[r("translate",[e._v("Informationen zum Blickfang-Block")])]},proxy:!0}],null,!0)})],1)};n._withStripped=!0;var o=r(87757),a=r.n(o),l=r(48926),i=r.n(l),c=r(59713),u=r.n(c),s=r(47880),d=r(87275),p=r(20790),h=r(20629),v=r(2068);function g(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function f(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?g(Object(r),!0).forEach((function(t){u()(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):g(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var b={name:"courseware-headline-block",mixins:[p.I],components:{CoursewareDefaultBlock:s.default,CoursewareFileChooser:d.default},props:{block:Object,canEdit:Boolean,isTeacher:Boolean},data:function(){return{currentTitle:"",currentSubtitle:"",currentStyle:"",currentHeight:"",currentBackgroundColor:"",currentTextColor:"",currentIcon:"",currentIconColor:"",currentBackgroundType:"",currentBackgroundImageId:"",currentBackgroundImage:{},currentBackgroundURL:""}},computed:f(f({},(0,h.Se)({fileRefById:"file-refs/byId",urlHelper:"urlHelper",relatedTermOfUse:"terms-of-use/related"})),{},{title:function(){var e,t,r;return null===(e=this.block)||void 0===e||null===(t=e.attributes)||void 0===t||null===(r=t.payload)||void 0===r?void 0:r.title},subtitle:function(){var e,t,r;return null===(e=this.block)||void 0===e||null===(t=e.attributes)||void 0===t||null===(r=t.payload)||void 0===r?void 0:r.subtitle},style:function(){var e,t,r;return null===(e=this.block)||void 0===e||null===(t=e.attributes)||void 0===t||null===(r=t.payload)||void 0===r?void 0:r.style},height:function(){var e,t,r;return null===(e=this.block)||void 0===e||null===(t=e.attributes)||void 0===t||null===(r=t.payload)||void 0===r?void 0:r.height},backgroundColor:function(){var e,t,r;return null===(e=this.block)||void 0===e||null===(t=e.attributes)||void 0===t||null===(r=t.payload)||void 0===r?void 0:r.background_color},textColor:function(){var e,t,r;return null===(e=this.block)||void 0===e||null===(t=e.attributes)||void 0===t||null===(r=t.payload)||void 0===r?void 0:r.text_color},icon:function(){var e,t,r;return null===(e=this.block)||void 0===e||null===(t=e.attributes)||void 0===t||null===(r=t.payload)||void 0===r?void 0:r.icon},iconColor:function(){var e,t,r;return null===(e=this.block)||void 0===e||null===(t=e.attributes)||void 0===t||null===(r=t.payload)||void 0===r?void 0:r.icon_color},backgroundImageId:function(){var e,t,r;return null===(e=this.block)||void 0===e||null===(t=e.attributes)||void 0===t||null===(r=t.payload)||void 0===r?void 0:r.background_image_id},backgroundImage:function(){var e,t,r;return null===(e=this.block)||void 0===e||null===(t=e.attributes)||void 0===t||null===(r=t.payload)||void 0===r?void 0:r.background_image},backgroundType:function(){var e,t,r;return null===(e=this.block)||void 0===e||null===(t=e.attributes)||void 0===t||null===(r=t.payload)||void 0===r?void 0:r.background_type},complementBackgroundColor:function(){return this.calcComplement(this.backgroundColor)},icons:function(){return v.Z},colors:function(){var e=[{name:this.$gettext("Schwarz"),class:"black",hex:"#000000",level:100,icon:"black",darkmode:!0},{name:this.$gettext("Weiß"),class:"white",hex:"#ffffff",level:100,icon:"white",darkmode:!1},{name:this.$gettext("Blau"),class:"studip-blue",hex:"#28497c",level:100,icon:"blue",darkmode:!0},{name:this.$gettext("Hellblau"),class:"studip-lightblue",hex:"#e7ebf1",level:40,icon:"lightblue",darkmode:!1},{name:this.$gettext("Rot"),class:"studip-red",hex:"#d60000",level:100,icon:"red",darkmode:!1},{name:this.$gettext("Grün"),class:"studip-green",hex:"#008512",level:100,icon:"green",dar
1kmode:!0},{name:this.$gettext("Gelb"),class:"studip-yellow",hex:"#ffbd33",level:100,icon:"yellow",darkmode:!1},{name:this.$gettext("Grau"),class:"studip-gray",hex:"#636a71",level:100,icon:"grey",darkmode:!0},{name:this.$gettext("Holzkohle"),class:"charcoal",hex:"#3c454e",level:100,icon:!1,darkmode:!0},{name:this.$gettext("Königliches Purpur"),class:"royal-purple",hex:"#8656a2",level:80,icon:!1,darkmode:!0},{name:this.$gettext("Leguangrün"),class:"iguana-green",hex:"#66b570",level:60,icon:!1,darkmode:!0},{name:this.$gettext("Königin blau"),class:"queen-blue",hex:"#536d96",level:80,icon:!1,darkmode:!0},{name:this.$gettext("Helles Seegrün"),class:"verdigris",hex:"#41afaa",level:80,icon:!1,darkmode:!0},{name:this.$gettext("Maulbeere"),class:"mulberry",hex:"#bf5796",level:80,icon:!1,darkmode:!0},{name:this.$gettext("Kürbis"),class:"pumpkin",hex:"#f26e00",level:100,icon:!1,darkmode:!0},{name:this.$gettext("Sonnenschein"),class:"sunglow",hex:"#ffca5c",level:80,icon:!1,darkmode:!1},{name:this.$gettext("Apfelgrün"),class:"apple-green",hex:"#8bbd40",level:80,icon:!1,darkmode:!0}];return e},iconColors:function(){var e=[{name:this.$gettext("Schwarz"),class:"black",hex:"#000000"},{name:this.$gettext("Weiß"),class:"white",hex:"#ffffff"},{name:this.$gettext("Blau"),class:"studip-blue",hex:"#28497c"},{name:this.$gettext("Rot"),class:"studip-red",hex:"#d60000"},{name:this.$gettext("Grün"),class:"studip-green",hex:"#008512"},{name:this.$gettext("Gelb"),class:"studip-yellow",hex:"#ffbd33"}];return e},textStyle:function(){var e={};return e.color=this.currentTextColor,e},headlineStyle:function(){var e={};return"color"===this.currentBackgroundType&&(e["background-color"]=this.currentBackgroundColor),"image"===this.currentBackgroundType&&(e["background-color"]=this.currentBackgroundColor,e["background-image"]="url("+this.currentBackgroundURL+")"),e},hasSubtitle:function(){return!["bigicon_before"].includes(this.currentStyle)}}),mounted:function(){this.initCurrentData()},methods:f(f({},(0,h.nv)({loadFileRef:"file-refs/loadById",updateBlock:"updateBlockInContainer"})),{},{initCurrentData:function(){this.currentTitle=this.title,this.currentSubtitle=this.subtitle,this.currentStyle=this.style,this.currentHeight=this.height,this.currentBackgroundColor=this.backgroundColor,this.currentTextColor=this.textColor,this.currentIcon=this.icon,this.currentIconColor=this.iconColor,this.currentBackgroundType=this.backgroundType,this.currentBackgroundImageId=this.backgroundImageId,""!==this.currentBackgroundImageId&&this.loadFile()},loadFile:function(){var e=this;return i()(a().mark((function t(){var r,n,o;return a().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return r=e.currentBackgroundImageId,n={include:"terms-of-use"},t.next=4,e.loadFileRef({id:r,options:n});case 4:(o=e.fileRefById({id:r}))&&0===e.relatedTermOfUse({parent:o,relationship:"terms-of-use"}).attributes["download-condition"]&&e.updateCurrentBackgroundImage({id:o.id,name:o.attributes.name,download_url:e.urlHelper.getURL("sendfile.php",{type:0,file_id:o.id,file_name:o.attributes.name},!0)});case 6:case"end":return t.stop()}}),t)})))()},updateCurrentBackgroundImage:function(e){this.currentBackgroundImage=e,this.currentBackgroundImageId=e.id,this.currentBackgroundURL=e.download_url},storeText:function(){var e={payload:{}};e.payload.title=this.currentTitle,e.payload.subtitle=this.currentSubtitle,e.payload.style=this.currentStyle,e.payload.height=this.currentHeight,e.payload.text_color=this.currentTextColor,e.payload.icon=this.currentIcon,e.payload.icon_color=this.currentIconColor,e.payload.background_type=this.currentBackgroundType,e.payload.background_color="",e.payload.background_image_id="","color"===this.currentBackgroundType&&(e.payload.background_color=this.currentBackgroundColor),"image"===this.currentBackgroundType&&(e.payload.background_image_id=this.currentBackgroundImageId),this.updateBlock({attributes:e,blockId:this.block.id,containerId:this.block.relationships.container.data.id})},calcComplement:function(e){var t=this.calcRGB(e);return"#"+this.compToHex(255-t.r)+this.compToHex(255-t.g)+this.compToHex(255-t.b)},calcIconColor:function(e){var t=this.calcRGB(e);return(t.r+t.g+t.b)/3>129?"black":"white"},calcRGB:function(e){e=e.slice(1);var t=parseInt(e,16),r=t>>8&255,n=255&t;return r>255?r=255:r<0&&(r=0),n>255?n=255:n<0&&(n=0),{r:t>>16,g:r,b:n}},compToHex:function(e){var t=e.toString(16);return 1===t.length?"0"+t:t}})},k=(0,r(51900).Z)(b,n,[],!1,null,null,null).exports}}]);
2//# sourceMappingURL=4873.chunk.js.map?h=773ec51c8388040e78b8

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.