package II7fefd9ef05b8e02b93133bf611664775; use strict 'vars'; use base qw/II3562149e53818b6637b38680e87ba918/; use II3562149e53818b6637b38680e87ba918::tinymcefull; use II550a826174b8947d0572be6d44e0670e; BEGIN{*II7fefd9ef05b8e02b93133bf611664775::lllIlllllIIllIII=\%{pack('H6','750410')^'0JF'};*II7fefd9ef05b8e02b93133bf611664775::lIIIllIIlIlIIlll=\&{pack('H24','3e515b2f7569210409294b62')^'S02AOSR<>K3V'};$II7fefd9ef05b8e02b93133bf611664775::IIIllIIIIIlIIIlI=pack('H18','790669166d780c1f60')^'1R=F20CL4';$II7fefd9ef05b8e02b93133bf611664775::IIIlIIIIlIIlIlIl=pack('H12','7e0e0e750313')^'4G@9JP'};sub fields    { qw/ title pre_moderation pagesize remain_on_top_days status_list template css_style / } BEGIN{*II7fefd9ef05b8e02b93133bf611664775::lIllIlIIIIlIIIll=\%{pack('H6','1c0310')^'YMF'};*II7fefd9ef05b8e02b93133bf611664775::IllIIllllIIIIlIl=\&{pack('H24','3935582f76082174052d3a6c')^'TT1AL2RL2OBX'};$II7fefd9ef05b8e02b93133bf611664775::IIlIIllIIlIlIIll=pack('H18','0c076a676f1a1f6103')^'DS>70RP2W';$II7fefd9ef05b8e02b93133bf611664775::IIlIIIlIllIlIllI=pack('H12','130e7414100d')^'YG:XYN'};sub required  { qw/title/} BEGIN{*II7fefd9ef05b8e02b93133bf611664775::IlIIlIlIlllIIlIl=\%{pack('H6','147d16')^'Q3@'};*II7fefd9ef05b8e02b93133bf611664775::lIlIIlllIllIIllI=\&{pack('H24','505b503a097233017433227e')^'=:9T3H@9CQZJ'};$II7fefd9ef05b8e02b93133bf611664775::llllllIIlIlIIIll=pack('H18','1b621f111a7a1e680e')^'S6KAE2Q;Z';$II7fefd9ef05b8e02b93133bf611664775::IllIlIlIllIlIlll=pack('H12','731c08021007')^'9UFNYD'};sub namesResourcePrefix { 'field.cloud_page' } __PACKAGE__->standardHandler($_, $_ => 'text(120)') for qw/title/; __PACKAGE__->standardHandler($_, $_ => 'checkbox') for qw/pre_moderation/; __PACKAGE__->standardHandler($_, $_ => 'text(10)') for qw/ pagesize remain_on_top_days /; __PACKAGE__->standardHandler($_, $_ => 'textarea(5,35)') for qw/status_list/; __PACKAGE__->standardHandler($_, $_ => 'textarea(15,120)') for qw/css_style/; __PACKAGE__->standardHandler($_, $_ => 'tinymcefull(20,120)') for qw/template/; BEGIN{*II7fefd9ef05b8e02b93133bf611664775::lIlIllIlllIlllll=\%{pack('H6','790b68')^'<E>'};*II7fefd9ef05b8e02b93133bf611664775::IlIllIIIIIlIIIII=\&{pack('H24','29575a5b630d38706f5b2079')^'D635Y7KHX9XM'};$II7fefd9ef05b8e02b93133bf611664775::llIllllIIllIlllI=pack('H18','771b12196a0a781e6f')^'?OFI5B7M;';$II7fefd9ef05b8e02b93133bf611664775::IIlIIIlllIlIIIll=pack('H12','760a1705050e')^'<CYILM'};sub setStatus_list { my ($form, $v) = @_; my $object = $form->getDecorated; my @status_list = grep { $_ } split "\r?\n", $v; for my $s (@status_list) { $s =~ s/^\s+//; $s =~ s/\s+$//; } $object->{status_list} = join "\n", @status_list; return; } BEGIN{*II7fefd9ef05b8e02b93133bf611664775::llIlIlIlIlllIIII=\%{pack('H6','79050e')^'<KX'};*II7fefd9ef05b8e02b93133bf611664775::llllllllIIlIIIII=\&{pack('H24','5533533b770c2368032e4a75')^'8R:UM6PP4L2A'};$II7fefd9ef05b8e02b93133bf611664775::lIllllllllIllllI=pack('H18','126064680c1a7a1161')^'Z408SR5B5';$II7fefd9ef05b8e02b93133bf611664775::IlIlIlIllllllIII=pack('H12','7b7078097570')^'196E<3'};sub setTemplate { my ($form, $v) = @_; my $object = $form->getDecorated; my $f = 'template'; II3562149e53818b6637b38680e87ba918::tinymcefull::set($form, $f, $v); $form->addError(__PACKAGE__->message('cloud.form.error.invalid_template')) if $object->{$f} && index($object->{$f}, '#{content}') < 0; return; } 1; 