"use strict";(globalThis.webpackChunknextcloud=globalThis.webpackChunknextcloud||[]).push([[9491],{9491:(e,t,n)=>{n.d(t,{default:()=>x});var o=n(85471),i=n(21777),r=n(53334),s=n(3226),a=n(77764);const l=(0,o.pM)({__name:"FilesHeaderNoteToRecipient",setup(e,{expose:t}){const n=(0,o.KR)(),l=(0,o.EW)(()=>n.value?.attributes.note??""),d=(0,o.EW)(()=>n.value?.attributes["owner-display-name"]??""),c=(0,o.EW)(()=>{const e=n.value?.owner;return e!==(0,i.HW)()?.uid?{id:e,displayName:d.value}:null});function p(e){n.value=e}return t({updateFolder:p}),{__sfc:!0,folder:n,note:l,displayName:d,user:c,updateFolder:p,t:r.t,NcNoteCard:s.A,NcUserBubble:a.A}}});var d=n(85072),c=n.n(d),p=n(97825),u=n.n(p),A=n(77659),m=n.n(A),f=n(55056),_=n.n(f),h=n(10540),v=n.n(h),N=n(41113),g=n.n(N),C=n(22589),b={};b.styleTagTransform=g(),b.setAttributes=_(),b.insert=m().bind(null,"head"),b.domAPI=u(),b.insertStyleElement=v(),c()(C.A,b),C.A&&C.A.locals&&C.A.locals;const x=(0,n(14486).A)(l,function(){var e=this,t=e._self._c,n=e._self._setupProxy;return n.note.length>0?t(n.NcNoteCard,{staticClass:"note-to-recipient",attrs:{type:"info"}},[n.displayName?t("p",{staticClass:"note-to-recipient__heading"},[e._v("\n\t\t"+e._s(n.t("files_sharing","Note from"))+"\n\t\t"),t(n.NcUserBubble,{attrs:{user:n.user.id,"display-name":n.user.displayName}})],1):t("p",{staticClass:"note-to-recipient__heading"},[e._v("\n\t\t"+e._s(n.t("files_sharing","Note:"))+"\n\t")]),e._v(" "),t("p",{staticClass:"note-to-recipient__text",domProps:{textContent:e._s(n.note)}})]):e._e()},[],!1,null,"df1991cc",null).exports},22589:(e,t,n)=>{n.d(t,{A:()=>a});var o=n(71354),i=n.n(o),r=n(76314),s=n.n(r)()(i());s.push([e.id,"\n.note-to-recipient[data-v-df1991cc] {\n\tmargin-inline: var(--row-height)\n}\n.note-to-recipient__text[data-v-df1991cc] {\n\t/* respect new lines */\n\twhite-space: pre-line;\n}\n.note-to-recipient__heading[data-v-df1991cc] {\n\tfont-weight: bold;\n}\n@media screen and (max-width: 512px) {\n.note-to-recipient[data-v-df1991cc] {\n\t\tmargin-inline: var(--default-grid-baseline);\n}\n}\n","",{version:3,sources:["webpack://./apps/files_sharing/src/views/FilesHeaderNoteToRecipient.vue"],names:[],mappings:";AAsDA;CACA;AACA;AAEA;CACA,sBAAA;CACA,qBAAA;AACA;AAEA;CACA,iBAAA;AACA;AAEA;AACA;EACA,2CAAA;AACA;AACA",sourcesContent:["\x3c!--\n - SPDX-FileCopyrightText: 2024 Nextcloud GmbH and Nextcloud contributors\n - SPDX-License-Identifier: AGPL-3.0-or-later\n--\x3e\n\n\t 0\"\n\t\tclass=\"note-to-recipient\"\n\t\ttype=\"info\">\n\t\t\n\t\t\t{{ t('files_sharing', 'Note from') }}\n\t\t\t\n\t\t\n\t\t\n\t\t\t{{ t('files_sharing', 'Note:') }}\n\t\t\n\t\t\n\t\n\n\n
\n\t\t\t{{ t('files_sharing', 'Note from') }}\n\t\t\t\n\t\t
\n\t\t\t{{ t('files_sharing', 'Note:') }}\n\t\t