Find this useful? Enter your email to receive occasional updates for securing PHP code.

Signing you up...

Thank you for signing up!

PHP Decode

<?php namespace Wallabag\Controller\Api;use Hateoas\Configuration\Route as HateoasRoute;us..

Decoded Output download

<?php namespace Wallabag\Controller\Api;use Hateoas\Configuration\Route as HateoasRoute;use Hateoas\Representation\Factory\PagerfantaFactory;use Nelmio\ApiDocBundle\Annotation\Operation;use OpenApi\Annotations as OA;use Pagerfanta\Pagerfanta;use Psr\Log\LoggerInterface;use Symfony\Component\EventDispatcher\EventDispatcherInterface;use Symfony\Component\HttpFoundation\JsonResponse;use Symfony\Component\HttpFoundation\Request;use Symfony\Component\HttpFoundation\Response;use Symfony\Component\HttpKernel\Exception\BadRequestHttpException;use Symfony\Component\HttpKernel\Exception\HttpException;use Symfony\Component\Routing\Annotation\Route;use Wallabag\Entity\Entry;use Wallabag\Entity\Tag;use Wallabag\Event\EntryDeletedEvent;use Wallabag\Event\EntrySavedEvent;use Wallabag\Helper\ContentProxy;use Wallabag\Helper\EntriesExport;use Wallabag\Helper\TagsAssigner;use Wallabag\Helper\UrlHasher;use Wallabag\Repository\EntryRepository;use Wallabag\Repository\TagRepository;class ubrl12 extends ryro13{/**
     * Check if an entry exist by url.
     * Return ID if entry(ies) exist (and if you give the return_id parameter).
     * Otherwise it returns false.
     *
     * @todo Remove that `return_id` in the next major release
     *
     * @Operation(
     *     tags={"Entries"},
     *     summary="Check if an entry exist by url.",
     *     @OA\Parameter(
     *         name="return_id",
     *         in="query",
     *         description="Set 1 if you want to retrieve ID in case entry(ies) exists, 0 by default",
     *         required=false,
     *         @OA\Schema(
     *             type="string",
     *             enum={"1", "0"},
     *             default="0"
     *         )
     *     ),
     *     @OA\Parameter(
     *         name="url",
     *         in="query",
     *         description="DEPRECATED, use hashed_url instead. An url",
     *         required=true,
     *         @OA\Schema(type="string")
     *     ),
     *     @OA\Parameter(
     *         name="urls",
     *         in="query",
     *         description="DEPRECATED, use hashed_urls instead. An array of urls (?urls[]=http...&urls[]=http...)",
     *         required=false,
     *         @OA\Schema(type="string")
     *     ),
     *     @OA\Parameter(
     *         name="hashed_url",
     *         in="query",
     *         description="Hashed url using SHA1 to check if it exists. A hashed url",
     *         required=false,
     *         @OA\Schema(type="string")
     *     ),
     *     @OA\Parameter(
     *         name="hashed_urls",
     *         in="query",
     *         description="An array of hashed urls using SHA1 to check if they exist. An array of hashed urls (?hashed_urls[]=xxx...&hashed_urls[]=xxx...)",
     *         required=false,
     *         @OA\Schema(type="string")
     *     ),
     *     @OA\Response(
     *         response="200",
     *         description="Returned when successful"
     *     )
     * )
     *
     * @Route("/api/entries/exists.{_format}", methods={"GET"}, name="api_get_entries_exists", defaults={"_format": "json"})
     *
     * @return JsonResponse
     */ public function ysza0(Request $cvny14,EntryRepository $ljna15){$this->zkby16();$gzxx17=(null===$cvny14->$qgol18->uauz19(base64_decode('cmV0dXJuX2lk')))?false:(bool)$cvny14->$qgol18->uauz19(base64_decode('cmV0dXJuX2lk'));$qqfu1a=$cvny14->$qgol18->flyf1b(base64_decode('aGFzaGVkX3VybHM='));$cxqw1c=$cvny14->$qgol18->uauz19(base64_decode('aGFzaGVkX3VybA=='),'');if(!empty($cxqw1c)){$qqfu1a[]=$cxqw1c;}$essc1d=$cvny14->$qgol18->flyf1b(base64_decode('dXJscw=='));$trpj1e=$cvny14->$qgol18->uauz19(base64_decode('dXJs'),'');if(!empty($trpj1e)){$essc1d[]=$trpj1e;}$tuuq1f=[];foreach($essc1d as $itpc20){$qmoc21=UrlHasher::zmwd22($itpc20);$qqfu1a[]=$qmoc21;$tuuq1f[$qmoc21]=$itpc20;}if(empty($qqfu1a)){throw $this->trqv23(base64_decode('VVJMIGlzIGVtcHR5PywgbG9nZ2VkIHVzZXIgaWQ6IA==').$this->qkuz24()->qkxk25());}$xtqr26=array_fill_keys($qqfu1a,null);$mlpc27=$ljna15->ildr28($this->qkuz24()->qkxk25(),$qqfu1a);foreach($mlpc27 as $tikk29){$zuqp2a=array_keys($qqfu1a,base64_decode('YmxhaA=='),true);if([]!==array_keys($qqfu1a,$tikk29[base64_decode('aGFzaGVkVXJs')],true)){$zuqp2a=$tikk29[base64_decode('aGFzaGVkVXJs')];}elseif([]!==array_keys($qqfu1a,$tikk29[base64_decode('aGFzaGVkR2l2ZW5Vcmw=')],true)){$zuqp2a=$tikk29[base64_decode('aGFzaGVkR2l2ZW5Vcmw=')];}else{continue;}$xtqr26[$zuqp2a]=$tikk29[base64_decode('aWQ=')];}if(false===$gzxx17){$xtqr26=array_map(function($kzrc2b){return null!==$kzrc2b;},$xtqr26);}$xtqr26=$this->rmfi10($xtqr26,$tuuq1f);if(!empty($trpj1e)||!empty($cxqw1c)){$kqwm2c=array_keys($xtqr26)[0];return $this->xkil2d([base64_decode('ZXhpc3Rz')=>$xtqr26[$kqwm2c]]);}return $this->xkil2d($xtqr26);}/**
     * Retrieve all entries. It could be filtered by many options.
     *
     * @Operation(
     *     tags={"Entries"},
     *     summary="Retrieve all entries. It could be filtered by many options.",
     *     @OA\Parameter(
     *         name="archive",
     *         in="query",
     *         description="filter by archived status. all entries by default.",
     *         required=false,
     *         @OA\Schema(
     *             type="integer",
     *             enum={"1", "0"},
     *             default="0"
     *         )
     *     ),
     *     @OA\Parameter(
     *         name="starred",
     *         in="query",
     *         description="filter by starred status. all entries by default",
     *         required=false,
     *         @OA\Schema(
     *             type="integer",
     *             enum={"1", "0"},
     *             default="0"
     *         )
     *     ),
     *     @OA\Parameter(
     *         name="notParsed",
     *         in="query",
     *         description="filter by notParsed status. all entries by default",
     *         required=false,
     *         @OA\Schema(
     *             type="integer",
     *             enum={"1", "0"},
     *             default="0"
     *         )
     *     ),
     *     @OA\Parameter(
     *         name="sort",
     *         in="query",
     *         description="sort entries by date.",
     *         required=false,
     *         @OA\Schema(
     *             type="string",
     *             enum={"created", "updated", "archived"},
     *             default="created"
     *         )
     *     ),
     *     @OA\Parameter(
     *         name="order",
     *         in="query",
     *         description="order of sort.",
     *         required=false,
     *         @OA\Schema(
     *             type="string",
     *             enum={"asc", "desc"},
     *             default="desc"
     *         )
     *     ),
     *     @OA\Parameter(
     *         name="page",
     *         in="query",
     *         description="what page you want.",
     *         required=false,
     *         @OA\Schema(
     *             type="integer",
     *             default=1
     *         )
     *     ),
     *     @OA\Parameter(
     *         name="perPage",
     *         in="query",
     *         description="results per page.",
     *         required=false,
     *         @OA\Schema(
     *             type="integer",
     *             default=30
     *         )
     *     ),
     *     @OA\Parameter(
     *         name="tags",
     *         in="query",
     *         description="a comma-seperated list of tags url encoded. Will returns entries that matches ALL tags.",
     *         required=false,
     *         @OA\Schema(
     *             type="string",
     *             example="api,rest"
     *         )
     *     ),
     *     @OA\Parameter(
     *         name="since",
     *         in="query",
     *         description="The timestamp since when you want entries updated.",
     *         required=false,
     *         @OA\Schema(
     *             type="integer",
     *             default=0
     *         )
     *     ),
     *     @OA\Parameter(
     *         name="public",
     *         in="query",
     *         description="filter by entries with a public link. all entries by default",
     *         required=false,
     *         @OA\Schema(
     *             type="integer",
     *             enum={"1", "0"},
     *             default="0"
     *         )
     *     ),
     *     @OA\Parameter(
     *         name="detail",
     *         in="query",
     *         description="include content field if 'full'. 'full' by default for backward compatibility.",
     *         required=false,
     *         @OA\Schema(
     *             type="string",
     *             enum={"metadata", "full"},
     *             default="full"
     *         )
     *     ),
     *     @OA\Parameter(
     *         name="domain_name",
     *         in="query",
     *         description="filter entries with the given domain name",
     *         required=false,
     *         @OA\Schema(
     *             type="string",
     *             example="example.com",
     *         )
     *     ),
     *     @OA\Response(
     *         response="200",
     *         description="Returned when successful"
     *     )
     * )
     *
     * @Route("/api/entries.{_format}", methods={"GET"}, name="api_get_entries", defaults={"_format": "json"})
     *
     * @return JsonResponse
     */ public function aucc2(Request $cvny14,EntryRepository $ljna15){$this->zkby16();$iexi2e=(null===$cvny14->$qgol18->uauz19(base64_decode('YXJjaGl2ZQ==')))?null:(bool)$cvny14->$qgol18->uauz19(base64_decode('YXJjaGl2ZQ=='));$oavv2f=(null===$cvny14->$qgol18->uauz19(base64_decode('c3RhcnJlZA==')))?null:(bool)$cvny14->$qgol18->uauz19(base64_decode('c3RhcnJlZA=='));$tvtn30=(null===$cvny14->$qgol18->uauz19(base64_decode('cHVibGlj')))?null:(bool)$cvny14->$qgol18->uauz19(base64_decode('cHVibGlj'));$cvlm31=(null===$cvny14->$qgol18->uauz19(base64_decode('bm90UGFyc2Vk')))?null:(bool)$cvny14->$qgol18->uauz19(base64_decode('bm90UGFyc2Vk'));$yoqt32=strtolower($cvny14->$qgol18->uauz19(base64_decode('c29ydA=='),base64_decode('Y3JlYXRlZA==')));$oqgp33=strtolower($cvny14->$qgol18->uauz19(base64_decode('b3JkZXI='),base64_decode('ZGVzYw==')));$jdee34=(int)$cvny14->$qgol18->uauz19(base64_decode('cGFnZQ=='),1);$cwlw35=(int)$cvny14->$qgol18->uauz19(base64_decode('cGVyUGFnZQ=='),30);$jybe36=\is_array($cvny14->$qgol18->uauz19(base64_decode('dGFncw==')))?'':(string)$cvny14->$qgol18->uauz19(base64_decode('dGFncw=='),'');$iwpo37=$cvny14->$qgol18->uauz19(base64_decode('c2luY2U='),0);$bsqp38=strtolower($cvny14->$qgol18->uauz19(base64_decode('ZGV0YWls'),base64_decode('ZnVsbA==')));$dwue39=(null===$cvny14->$qgol18->uauz19(base64_decode('ZG9tYWluX25hbWU=')))?'':(string)$cvny14->$qgol18->uauz19(base64_decode('ZG9tYWluX25hbWU='));try{/** @var Pagerfanta $pager */ $oopl3a=$ljna15->kikk3b($this->qkuz24()->qkxk25(),$iexi2e,$oavv2f,$tvtn30,$yoqt32,$oqgp33,$iwpo37,$jybe36,$bsqp38,$dwue39,$cvlm31);}catch(\Exception $tikk29){throw new ibth3c($tikk29->dtfe3d());}$oopl3a->dicq3e($cwlw35);$oopl3a->emnl3f($jdee34);$mfyx40=new ooqp41(base64_decode('cGFnZQ=='),base64_decode('cGVyUGFnZQ=='));$ayvt42=$mfyx40->lhxf43($oopl3a,new nwub44(base64_decode('YXBpX2dldF9lbnRyaWVz'),[base64_decode('YXJjaGl2ZQ==')=>$iexi2e,base64_decode('c3RhcnJlZA==')=>$oavv2f,base64_decode('cHVibGlj')=>$tvtn30,base64_decode('bm90UGFyc2Vk')=>$cvlm31,base64_decode('c29ydA==')=>$yoqt32,base64_decode('b3JkZXI=')=>$oqgp33,base64_decode('cGFnZQ==')=>$jdee34,base64_decode('cGVyUGFnZQ==')=>$cwlw35,base64_decode('dGFncw==')=>$jybe36,base64_decode('c2luY2U=')=>$iwpo37,base64_decode('ZGV0YWls')=>$bsqp38,],true));return $this->xkil2d($ayvt42);}/**
     * Retrieve a single entry.
     *
     * @Operation(
     *     tags={"Entries"},
     *     summary="Retrieve a single entry.",
     *     @OA\Parameter(
     *         name="entry",
     *         in="path",
     *         description="The entry ID",
     *         required=true,
     *         @OA\Schema(
     *             type="integer",
     *             pattern="\w+",
     *         )
     *     ),
     *     @OA\Response(
     *         response="200",
     *         description="Returned when successful"
     *     )
     * )
     *
     * @Route("/api/entries/{entry}.{_format}", methods={"GET"}, name="api_get_entry", defaults={"_format": "json"})
     *
     * @return JsonResponse
     */ public function uqbo3(Entry $bdtz45){$this->zkby16();$this->xmzg46($bdtz45->qkuz24()->qkxk25());return $this->xkil2d($bdtz45);}/**
     * Retrieve a single entry as a predefined format.
     *
     * @Operation(
     *     tags={"Entries"},
     *     summary="Retrieve a single entry as a predefined format.",
     *     @OA\Parameter(
     *         name="entry",
     *         in="path",
     *         description="The entry ID",
     *         required=true,
     *         @OA\Schema(
     *             type="integer",
     *             pattern="\w+",
     *         )
     *     ),
     *     @OA\Parameter(
     *         name="_format",
     *         in="path",
     *         description="",
     *         required=true,
     *         @OA\Schema(
     *             type="string",
     *             enum={"xml", "json", "txt", "csv", "pdf", "epub"},
     *         )
     *     ),
     *     @OA\Response(
     *         response="200",
     *         description="Returned when successful"
     *     )
     * )
     *
     * @Route("/api/entries/{entry}/export.{_format}", methods={"GET"}, name="api_get_entry_export", defaults={"_format": "json"})
     *
     * @return Response
     */ public function pmbe4(Entry $bdtz45,Request $cvny14,EntriesExport $pnfu47){$this->zkby16();$this->xmzg46($bdtz45->qkuz24()->qkxk25());return $pnfu47->zvxd48($bdtz45)->ecwj49(base64_decode('ZW50cnk='))->zxcx4a(base64_decode('ZW50cnk='))->hmzx4b($cvny14->$ueni4c->uauz19(base64_decode('X2Zvcm1hdA==')));}/**
     * Handles an entries list and delete URL.
     *
     * @Operation(
     *     tags={"Entries"},
     *     summary="Handles an entries list and delete URL.",
     *     @OA\Parameter(
     *         name="urls",
     *         in="query",
     *         description="Urls (as an array) to delete. A JSON array of urls [{'url': 'http://...'}, {'url': 'http://...'}]",
     *         required=true,
     *         @OA\Schema(type="string")
     *     ),
     *     @OA\Response(
     *         response="200",
     *         description="Returned when successful"
     *     )
     * )
     *
     * @Route("/api/entries/list.{_format}", methods={"DELETE"}, name="api_delete_entries_list", defaults={"_format": "json"})
     *
     * @return JsonResponse
     */ public function zdee5(Request $cvny14,EntryRepository $ljna15,EventDispatcherInterface $cemb4d){$this->zkby16();$essc1d=json_decode($cvny14->$qgol18->uauz19(base64_decode('dXJscw=='),[]));if(empty($essc1d)){return $this->xkil2d([]);}$xtqr26=[];foreach($essc1d as $jftx4e=>$trpj1e){$bdtz45=$ljna15->gbsm4f($trpj1e,$this->qkuz24()->qkxk25());$xtqr26[$jftx4e][base64_decode('dXJs')]=$trpj1e;if(false!==$bdtz45){$cemb4d->rvhx50(new jgmh51($bdtz45),EntryDeletedEvent::NAME);$this->$zuhs52->ngxg53($bdtz45);$this->$zuhs52->iysy54();}$xtqr26[$jftx4e][base64_decode('ZW50cnk=')]=$bdtz45 instanceof Entry?true:false;}return $this->xkil2d($xtqr26);}/**
     * Handles an entries list and create URL.
     *
     * @Operation(
     *     tags={"Entries"},
     *     summary="Handles an entries list and create URL.",
     *     @OA\Parameter(
     *         name="urls",
     *         in="query",
     *         description="Urls (as an array) to create. A JSON array of urls [{'url': 'http://...'}, {'url': 'http://...'}]",
     *         required=true,
     *         @OA\Schema(type="string")
     *     ),
     *     @OA\Response(
     *         response="200",
     *         description="Returned when successful"
     *     )
     * )
     *
     * @Route("/api/entries/lists.{_format}", methods={"POST"}, name="api_post_entries_list", defaults={"_format": "json"})
     *
     * @throws HttpException When limit is reached
     *
     * @return JsonResponse
     */ public function qoxh6(Request $cvny14,EntryRepository $ljna15,EventDispatcherInterface $cemb4d,ContentProxy $ticf55){$this->zkby16();$essc1d=json_decode($cvny14->$qgol18->uauz19(base64_decode('dXJscw=='),[]));$rrry56=$this->lxkb57(base64_decode('d2FsbGFiYWcuYXBpX2xpbWl0X21hc3NfYWN0aW9ucw=='));if(\count($essc1d)>$rrry56){throw new ibth3c(base64_decode('QVBJIGxpbWl0IHJlYWNoZWQ='));}$xtqr26=[];if(empty($essc1d)){return $this->xkil2d($xtqr26);}foreach($essc1d as $jftx4e=>$trpj1e){$bdtz45=$ljna15->gbsm4f($trpj1e,$this->qkuz24()->qkxk25());$xtqr26[$jftx4e][base64_decode('dXJs')]=$trpj1e;if(false===$bdtz45){$bdtz45=new scoo58($this->qkuz24());$ticf55->ywle59($bdtz45,$trpj1e);}$this->$zuhs52->ocwg5a($bdtz45);$this->$zuhs52->iysy54();$xtqr26[$jftx4e][base64_decode('ZW50cnk=')]=$bdtz45 instanceof Entry?$bdtz45->qkxk25():false;$cemb4d->rvhx50(new smbm5b($bdtz45),EntrySavedEvent::NAME);}return $this->xkil2d($xtqr26);}/**
     * Create an entry.
     *
     * If you want to provide the HTML content (which means wallabag won't fetch it from the url), you must provide `content`, `title` & `url` fields **non-empty**.
     * Otherwise, content will be fetched as normal from the url and values will be overwritten.
     *
     * @Operation(
     *     tags={"Entries"},
     *     summary="Create an entry.",
     *     @OA\Parameter(
     *         name="url",
     *         in="query",
     *         description="Url for the entry.",
     *         required=true,
     *         @OA\Schema(
     *             type="string",
     *             example="http://www.test.com/article.html"
     *         )
     *     ),
     *     @OA\Parameter(
     *         name="title",
     *         in="query",
     *         description="Optional, we'll get the title from the page.",
     *         required=false,
     *         @OA\Schema(
     *             type="string",
     *         )
     *     ),
     *     @OA\Parameter(
     *         name="tags",
     *         in="query",
     *         description="a comma-separated list of tags.",
     *         required=false,
     *         @OA\Schema(
     *             type="string",
     *             example="tag1,tag2,tag3"
     *         )
     *     ),
     *     @OA\Parameter(
     *         name="archive",
     *         in="query",
     *         description="entry already archived",
     *         required=false,
     *         @OA\Schema(
     *             type="integer",
     *             enum={"1", "0"},
     *             default="0"
     *         )
     *     ),
     *     @OA\Parameter(
     *         name="starred",
     *         in="query",
     *         description="entry already starred",
     *         required=false,
     *         @OA\Schema(
     *             type="integer",
     *             enum={"1", "0"},
     *             default="0"
     *         )
     *     ),
     *     @OA\Parameter(
     *         name="content",
     *         in="query",
     *         description="Content of the entry",
     *         required=false,
     *         @OA\Schema(
     *             type="string"
     *         )
     *     ),
     *     @OA\Parameter(
     *         name="language",
     *         in="query",
     *         description="Language of the entry",
     *         required=false,
     *         @OA\Schema(
     *             type="string"
     *         )
     *     ),
     *     @OA\Parameter(
     *         name="preview_picture",
     *         in="query",
     *         description="Preview picture of the entry",
     *         required=false,
     *         @OA\Schema(
     *             type="string"
     *         )
     *     ),
     *     @OA\Parameter(
     *         name="published_at",
     *         in="query",
     *         description="Published date of the entry",
     *         required=false,
     *
     *         @OA\Schema(
     *             type="string",
     *             format="YYYY-MM-DDTHH:II:SS+TZ or a timestamp (integer)",
     *         )
     *     ),
     *     @OA\Parameter(
     *         name="authors",
     *         in="query",
     *         description="Authors of the entry",
     *         required=false,
     *         @OA\Schema(
     *             type="string",
     *             example="Name Firstname,author2,author3"
     *         )
     *     ),
     *     @OA\Parameter(
     *         name="public",
     *         in="query",
     *         description="will generate a public link for the entry",
     *         required=false,
     *         @OA\Schema(
     *             type="integer",
     *             enum={"1", "0"},
     *             default="0"
     *         )
     *     ),
     *     @OA\Parameter(
     *         name="origin_url",
     *         in="query",
     *         description="Origin url for the entry (from where you found it).",
     *         required=false,
     *         @OA\Schema(
     *             type="string",
     *             example="http://www.test.com/article.html"
     *         )
     *     ),
     *     @OA\Response(
     *         response="200",
     *         description="Returned when successful"
     *     )
     * )
     *
     * @Route("/api/entries.{_format}", methods={"POST"}, name="api_post_entries", defaults={"_format": "json"})
     *
     * @return JsonResponse
     */ public function ntix7(Request $cvny14,EntryRepository $ljna15,ContentProxy $ticf55,LoggerInterface $qnvj5c,TagsAssigner $ormy5d,EventDispatcherInterface $cemb4d){$this->zkby16();$trpj1e=$cvny14->$hzgb5e->uauz19(base64_decode('dXJs'));$bdtz45=$ljna15->gbsm4f($trpj1e,$this->qkuz24()->qkxk25());if(false===$bdtz45){$bdtz45=new scoo58($this->qkuz24());$bdtz45->fuuj5f($trpj1e);}$dzaq60=$this->keeb11($cvny14);try{$ticf55->ywle59($bdtz45,$bdtz45->subs61(),[base64_decode('dGl0bGU=')=>!empty($dzaq60[base64_decode('dGl0bGU=')])?$dzaq60[base64_decode('dGl0bGU=')]:$bdtz45->coeg62(),base64_decode('aHRtbA==')=>!empty($dzaq60[base64_decode('Y29udGVudA==')])?$dzaq60[base64_decode('Y29udGVudA==')]:$bdtz45->jjby63(),base64_decode('dXJs')=>$bdtz45->subs61(),base64_decode('bGFuZ3VhZ2U=')=>!empty($dzaq60[base64_decode('bGFuZ3VhZ2U=')])?$dzaq60[base64_decode('bGFuZ3VhZ2U=')]:$bdtz45->gbzz64(),base64_decode('ZGF0ZQ==')=>!empty($dzaq60[base64_decode('cHVibGlzaGVkQXQ=')])?$dzaq60[base64_decode('cHVibGlzaGVkQXQ=')]:$bdtz45->xwlq65(),base64_decode('aW1hZ2U=')=>!empty($dzaq60[base64_decode('cGljdHVyZQ==')])?$dzaq60[base64_decode('cGljdHVyZQ==')]:$bdtz45->hklz66(),base64_decode('YXV0aG9ycw==')=>\is_string($dzaq60[base64_decode('YXV0aG9ycw==')])?explode(base64_decode('LA=='),$dzaq60[base64_decode('YXV0aG9ycw==')]):$bdtz45->smfj67(),]);}catch(\Exception $tikk29){$qnvj5c->syby68(base64_decode('RXJyb3Igd2hpbGUgc2F2aW5nIGFuIGVudHJ5'),[base64_decode('ZXhjZXB0aW9u')=>$tikk29,base64_decode('ZW50cnk=')=>$bdtz45,]);}if(null!==$dzaq60[base64_decode('aXNBcmNoaXZlZA==')]){$bdtz45->mgvv69((bool)$dzaq60[base64_decode('aXNBcmNoaXZlZA==')]);}if(null!==$dzaq60[base64_decode('aXNTdGFycmVk')]){$bdtz45->staw6a((bool)$dzaq60[base64_decode('aXNTdGFycmVk')]);}if(!empty($dzaq60[base64_decode('dGFncw==')])){$ormy5d->ihli6b($bdtz45,$dzaq60[base64_decode('dGFncw==')]);}if(!empty($dzaq60[base64_decode('b3JpZ2luX3VybA==')])){$bdtz45->bszb6c($dzaq60[base64_decode('b3JpZ2luX3VybA==')]);}if(null!==$dzaq60[base64_decode('aXNQdWJsaWM=')]){if(true===(bool)$dzaq60[base64_decode('aXNQdWJsaWM=')]&&null===$bdtz45->watl6d()){$bdtz45->fazt6e();}elseif(false===(bool)$dzaq60[base64_decode('aXNQdWJsaWM=')]){$bdtz45->uumr6f();}}if(empty($bdtz45->pmql70())){$ticf55->cgkg71($bdtz45);}if(empty($bdtz45->coeg62())){$ticf55->tkrx72($bdtz45);}$this->$zuhs52->ocwg5a($bdtz45);$this->$zuhs52->iysy54();$cemb4d->rvhx50(new smbm5b($bdtz45),EntrySavedEvent::NAME);return $this->xkil2d($bdtz45);}/**
     * Change several properties of an entry.
     *
     * @Operation(
     *     tags={"Entries"},
     *     summary="Change several properties of an entry.",
     *     @OA\Parameter(
     *         name="entry",
     *         in="path",
     *         description="The entry ID",
     *         required=true,
     *         @OA\Schema(
     *             type="integer",
     *             pattern="\w+",
     *         )
     *     ),
     *     @OA\Parameter(
     *         name="title",
     *         in="query",
     *         description="",
     *         required=false,
     *         @OA\Schema(type="string")
     *     ),
     *     @OA\Parameter(
     *         name="tags",
     *         in="query",
     *         description="a comma-separated list of tags.",
     *         required=false,
     *         @OA\Schema(
     *             type="string",
     *             example="tag1,tag2,tag3",
     *         )
     *     ),
     *     @OA\Parameter(
     *         name="archive",
     *         in="query",
     *         description="archived the entry.",
     *         required=false,
     *         @OA\Schema(
     *             type="integer",
     *             enum={"1", "0"},
     *             default="0"
     *         )
     *     ),
     *     @OA\Parameter(
     *         name="starred",
     *         in="query",
     *         description="starred the entry.",
     *         required=false,
     *         @OA\Schema(
     *             type="integer",
     *             enum={"1", "0"},
     *             default="0"
     *         )
     *     ),
     *     @OA\Parameter(
     *         name="content",
     *         in="query",
     *         description="Content of the entry",
     *         required=false,
     *         @OA\Schema(type="string")
     *     ),
     *     @OA\Parameter(
     *         name="language",
     *         in="query",
     *         description="Language of the entry",
     *         required=false,
     *         @OA\Schema(type="string")
     *     ),
     *     @OA\Parameter(
     *         name="preview_picture",
     *         in="query",
     *         description="Preview picture of the entry",
     *         required=false,
     *         @OA\Schema(type="string")
     *     ),
     *     @OA\Parameter(
     *         name="published_at",
     *         in="query",
     *         description="Published date of the entry",
     *         required=false,
     *         @OA\Schema(
     *             type="datetime|integer",
     *             format="YYYY-MM-DDTHH:II:SS+TZ or a timestamp",
     *         )
     *     ),
     *     @OA\Parameter(
     *         name="authors",
     *         in="query",
     *         description="Authors of the entry",
     *         required=false,
     *         @OA\Schema(
     *             type="string",
     *             example="Name Firstname,author2,author3",
     *         )
     *     ),
     *     @OA\Parameter(
     *         name="public",
     *         in="query",
     *         description="will generate a public link for the entry",
     *         required=false,
     *         @OA\Schema(
     *             type="integer",
     *             enum={"1", "0"},
     *             default="0"
     *         )
     *     ),
     *     @OA\Parameter(
     *         name="origin_url",
     *         in="query",
     *         description="Origin url for the entry (from where you found it).",
     *         required=false,
     *         @OA\Schema(
     *             type="string",
     *             example="http://www.test.com/article.html",
     *         )
     *     ),
     *     @OA\Response(
     *         response="200",
     *         description="Returned when successful"
     *     )
     * )
     *
     * @Route("/api/entries/{entry}.{_format}", methods={"PATCH"}, name="api_patch_entries", defaults={"_format": "json"})
     *
     * @return JsonResponse
     */ public function kykd8(Entry $bdtz45,Request $cvny14,ContentProxy $ticf55,LoggerInterface $qnvj5c,TagsAssigner $ormy5d,EventDispatcherInterface $cemb4d){$this->zkby16();$this->xmzg46($bdtz45->qkuz24()->qkxk25());$dzaq60=$this->keeb11($cvny14);if(!empty($dzaq60[base64_decode('Y29udGVudA==')])){try{$ticf55->ywle59($bdtz45,$bdtz45->subs61(),[base64_decode('aHRtbA==')=>$dzaq60[base64_decode('Y29udGVudA==')],],true);}catch(\Exception $tikk29){$qnvj5c->syby68(base64_decode('RXJyb3Igd2hpbGUgc2F2aW5nIGFuIGVudHJ5'),[base64_decode('ZXhjZXB0aW9u')=>$tikk29,base64_decode('ZW50cnk=')=>$bdtz45,]);}}if(!empty($dzaq60[base64_decode('dGl0bGU=')])){$bdtz45->wwbh73($dzaq60[base64_decode('dGl0bGU=')]);}if(!empty($dzaq60[base64_decode('bGFuZ3VhZ2U=')])){$ticf55->vush74($bdtz45,$dzaq60[base64_decode('bGFuZ3VhZ2U=')]);}if(!empty($dzaq60[base64_decode('YXV0aG9ycw==')])&&\is_string($dzaq60[base64_decode('YXV0aG9ycw==')])){$bdtz45->rcvq75(explode(base64_decode('LA=='),$dzaq60[base64_decode('YXV0aG9ycw==')]));}if(!empty($dzaq60[base64_decode('cGljdHVyZQ==')])){$ticf55->clmp76($bdtz45,$dzaq60[base64_decode('cGljdHVyZQ==')]);}if(!empty($dzaq60[base64_decode('cHVibGlzaGVkQXQ=')])){$ticf55->ixnp77($bdtz45,$dzaq60[base64_decode('cHVibGlzaGVkQXQ=')]);}if(null!==$dzaq60[base64_decode('aXNBcmNoaXZlZA==')]){$bdtz45->mgvv69((bool)$dzaq60[base64_decode('aXNBcmNoaXZlZA==')]);}if(null!==$dzaq60[base64_decode('aXNTdGFycmVk')]){$bdtz45->staw6a((bool)$dzaq60[base64_decode('aXNTdGFycmVk')]);}if(!empty($dzaq60[base64_decode('dGFncw==')])){$bdtz45->smvo78();$ormy5d->ihli6b($bdtz45,$dzaq60[base64_decode('dGFncw==')]);}if(null!==$dzaq60[base64_decode('aXNQdWJsaWM=')]){if(true===(bool)$dzaq60[base64_decode('aXNQdWJsaWM=')]&&null===$bdtz45->watl6d()){$bdtz45->fazt6e();}elseif(false===(bool)$dzaq60[base64_decode('aXNQdWJsaWM=')]){$bdtz45->uumr6f();}}if(!empty($dzaq60[base64_decode('b3JpZ2luX3VybA==')])){$bdtz45->bszb6c($dzaq60[base64_decode('b3JpZ2luX3VybA==')]);}if(empty($bdtz45->pmql70())){$ticf55->cgkg71($bdtz45);}if(empty($bdtz45->coeg62())){$ticf55->tkrx72($bdtz45);}$this->$zuhs52->ocwg5a($bdtz45);$this->$zuhs52->iysy54();$cemb4d->rvhx50(new smbm5b($bdtz45),EntrySavedEvent::NAME);return $this->xkil2d($bdtz45);}/**
     * Reload an entry.
     * An empty response with HTTP Status 304 will be send if we weren't able to update the content (because it hasn't changed or we got an error).
     *
     * @Operation(
     *     tags={"Entries"},
     *     summary="Reload an entry.",
     *     @OA\Parameter(
     *         name="entry",
     *         in="path",
     *         description="The entry ID",
     *         required=true,
     *         @OA\Schema(
     *             type="integer",
     *             pattern="\w+",
     *         )
     *     ),
     *     @OA\Response(
     *         response="200",
     *         description="Returned when successful"
     *     )
     * )
     *
     * @Route("/api/entries/{entry}/reload.{_format}", methods={"PATCH"}, name="api_patch_entries_reload", defaults={"_format": "json"})
     *
     * @return JsonResponse
     */ public function xqsi9(Entry $bdtz45,ContentProxy $ticf55,LoggerInterface $qnvj5c,EventDispatcherInterface $cemb4d){$this->zkby16();$this->xmzg46($bdtz45->qkuz24()->qkxk25());try{$ticf55->ywle59($bdtz45,$bdtz45->subs61());}catch(\Exception $tikk29){$qnvj5c->syby68(base64_decode('RXJyb3Igd2hpbGUgc2F2aW5nIGFuIGVudHJ5'),[base64_decode('ZXhjZXB0aW9u')=>$tikk29,base64_decode('ZW50cnk=')=>$bdtz45,]);return new gjjr79([],304);}if($this->lxkb57(base64_decode('d2FsbGFiYWcuZmV0Y2hpbmdfZXJyb3JfbWVzc2FnZQ=='))===$bdtz45->jjby63()){return new gjjr79([],304);}$this->$zuhs52->ocwg5a($bdtz45);$this->$zuhs52->iysy54();$cemb4d->rvhx50(new smbm5b($bdtz45),EntrySavedEvent::NAME);return $this->xkil2d($bdtz45);}/**
     * Delete **permanently** an entry.
     *
     * @Operation(
     *     tags={"Entries"},
     *     summary="Delete permanently an entry.",
     *     @OA\Parameter(
     *         name="expect",
     *         in="query",
     *         description="Only returns the id instead of the deleted entry's full entity if 'id' is specified.",
     *         required=false,
     *         @OA\Schema(
     *             type="string",
     *             enum={"id", "entry"},
     *             default="entry"
     *         )
     *     ),
     *     @OA\Response(
     *         response="200",
     *         description="Returned when successful"
     *     )
     * )
     *
     * @Route("/api/entries/{entry}.{_format}", methods={"DELETE"}, name="api_delete_entries", defaults={"_format": "json"})
     *
     * @return JsonResponse
     */ public function xgvka(Entry $bdtz45,Request $cvny14,EventDispatcherInterface $cemb4d){$tkyx7a=$cvny14->$qgol18->uauz19(base64_decode('ZXhwZWN0'),base64_decode('ZW50cnk='));if(!\in_array($tkyx7a,[base64_decode('aWQ='),base64_decode('ZW50cnk=')],true)){throw new ibth3c(sprintf(base64_decode('ZXhwZWN0OiAnaWQnIG9yICdlbnRyeScgZXhwZWN0ZWQsICVzIGdpdmVu'),$tkyx7a));}$this->zkby16();$this->xmzg46($bdtz45->qkuz24()->qkxk25());$ojel7b=$this->xkil2d([base64_decode('aWQ=')=>$bdtz45->qkxk25(),]);if(base64_decode('ZW50cnk=')===$tkyx7a){$tikk29=clone $bdtz45;$ojel7b=$this->xkil2d($tikk29);}$cemb4d->rvhx50(new jgmh51($bdtz45),EntryDeletedEvent::NAME);$this->$zuhs52->ngxg53($bdtz45);$this->$zuhs52->iysy54();return $ojel7b;}/**
     * Retrieve all tags for an entry.
     *
     * @Operation(
     *     tags={"Entries"},
     *     summary="Retrieve all tags for an entry.",
     *     @OA\Parameter(
     *         name="entry",
     *         in="path",
     *         description="The entry ID",
     *         required=true,
     *         @OA\Schema(
     *             type="integer",
     *             pattern="\w+",
     *         )
     *     ),
     *     @OA\Response(
     *         response="200",
     *         description="Returned when successful"
     *     )
     * )
     *
     * @Route("/api/entries/{entry}/tags.{_format}", methods={"GET"}, name="api_get_entries_tags", defaults={"_format": "json"})
     *
     * @return JsonResponse
     */ public function pksub(Entry $bdtz45){$this->zkby16();$this->xmzg46($bdtz45->qkuz24()->qkxk25());return $this->xkil2d($bdtz45->higt7c());}/**
     * Add one or more tags to an entry.
     *
     * @Operation(
     *     tags={"Entries"},
     *     summary="Add one or more tags to an entry.",
     *     @OA\Parameter(
     *         name="entry",
     *         in="path",
     *         description="The entry ID",
     *         required=true,
     *         @OA\Schema(
     *             type="integer",
     *             pattern="\w+",
     *         )
     *     ),
     *     @OA\Parameter(
     *         name="tags",
     *         in="query",
     *         description="a comma-separated list of tags.",
     *         required=false,
     *         @OA\Schema(
     *             type="string",
     *             example="tag1,tag2,tag3",
     *         )
     *     ),
     *     @OA\Response(
     *         response="200",
     *         description="Returned when successful"
     *     )
     * )
     *
     * @Route("/api/entries/{entry}/tags.{_format}", methods={"POST"}, name="api_post_entries_tags", defaults={"_format": "json"})
     *
     * @return JsonResponse
     */ public function jjcgc(Request $cvny14,Entry $bdtz45,TagsAssigner $ormy5d){$this->zkby16();$this->xmzg46($bdtz45->qkuz24()->qkxk25());$jybe36=$cvny14->$hzgb5e->uauz19(base64_decode('dGFncw=='),'');if(!empty($jybe36)){$ormy5d->ihli6b($bdtz45,$jybe36);}$this->$zuhs52->ocwg5a($bdtz45);$this->$zuhs52->iysy54();return $this->xkil2d($bdtz45);}/**
     * Permanently remove one tag for an entry.
     *
     * @Operation(
     *     tags={"Entries"},
     *     summary="Permanently remove one tag for an entry.",
     *     @OA\Parameter(
     *         name="entry",
     *         in="path",
     *         description="The entry ID",
     *         required=true,
     *         @OA\Schema(
     *             type="integer",
     *             pattern="\w+",
     *         )
     *     ),
     *     @OA\Parameter(
     *         name="tag",
     *         in="path",
     *         description="The tag ID",
     *         required=true,
     *         @OA\Schema(
     *             type="integer",
     *             pattern="\w+",
     *         )
     *     ),
     *     @OA\Response(
     *         response="200",
     *         description="Returned when successful"
     *     )
     * )
     *
     * @Route("/api/entries/{entry}/tags/{tag}.{_format}", methods={"DELETE"}, name="api_delete_entries_tags", defaults={"_format": "json"})
     *
     * @return JsonResponse
     */ public function bjhfd(Entry $bdtz45,Tag $hlrf7d){$this->zkby16();$this->xmzg46($bdtz45->qkuz24()->qkxk25());$bdtz45->jiwe7e($hlrf7d);$this->$zuhs52->ocwg5a($bdtz45);$this->$zuhs52->iysy54();return $this->xkil2d($bdtz45);}/**
     * Handles an entries list delete tags from them.
     *
     * @Operation(
     *     tags={"Entries"},
     *     summary="Handles an entries list delete tags from them.",
     *     @OA\Parameter(
     *         name="list",
     *         in="query",
     *         description="Urls (as an array) to handle. A JSON array of urls [{'url': 'http://...','tags': 'tag1, tag2'}, {'url': 'http://...','tags': 'tag1, tag2'}]",
     *         required=true,
     *         @OA\Schema(type="string")
     *     ),
     *     @OA\Response(
     *         response="200",
     *         description="Returned when successful"
     *     )
     * )
     *
     * @Route("/api/entries/tags/list.{_format}", methods={"DELETE"}, name="api_delete_entries_tags_list", defaults={"_format": "json"})
     *
     * @return JsonResponse
     */ public function nzybe(Request $cvny14,TagRepository $zqmz7f,EntryRepository $ljna15){$this->zkby16();$fmqn80=json_decode($cvny14->$qgol18->uauz19(base64_decode('bGlzdA=='),[]));if(empty($fmqn80)){return $this->xkil2d([]);}$xtqr26=[];foreach($fmqn80 as $jftx4e=>$sdxs81){$bdtz45=$ljna15->gbsm4f($sdxs81->$dhgj82,$this->qkuz24()->qkxk25());$xtqr26[$jftx4e][base64_decode('dXJs')]=$sdxs81->$dhgj82;$xtqr26[$jftx4e][base64_decode('ZW50cnk=')]=$bdtz45 instanceof Entry?$bdtz45->qkxk25():false;$jybe36=$sdxs81->$gxhd83;if(false!==$bdtz45&&!(empty($jybe36))){$jybe36=explode(base64_decode('LA=='),$jybe36);foreach($jybe36 as $qlch84){$qlch84=trim($qlch84);$hlrf7d=$zqmz7f->qcrh85($qlch84);if(false!==$hlrf7d){$bdtz45->jiwe7e($hlrf7d);}}$this->$zuhs52->ocwg5a($bdtz45);$this->$zuhs52->iysy54();}}return $this->xkil2d($xtqr26);}/**
     * Handles an entries list and add tags to them.
     *
     * @Operation(
     *     tags={"Entries"},
     *     summary="Handles an entries list and add tags to them.",
     *     @OA\Parameter(
     *         name="list",
     *         in="query",
     *         description="Urls (as an array) to handle. A JSON array of urls [{'url': 'http://...','tags': 'tag1, tag2'}, {'url': 'http://...','tags': 'tag1, tag2'}]",
     *         required=true,
     *         @OA\Schema(type="string")
     *     ),
     *     @OA\Response(
     *         response="200",
     *         description="Returned when successful"
     *     )
     * )
     *
     * @Route("/api/entries/tags/lists.{_format}", methods={"POST"}, name="api_post_entries_tags_list", defaults={"_format": "json"})
     *
     * @return JsonResponse
     */ public function qorcf(Request $cvny14,EntryRepository $ljna15,TagsAssigner $ormy5d){$this->zkby16();$fmqn80=json_decode($cvny14->$qgol18->uauz19(base64_decode('bGlzdA=='),[]));if(empty($fmqn80)){return $this->xkil2d([]);}$xtqr26=[];foreach($fmqn80 as $jftx4e=>$sdxs81){$bdtz45=$ljna15->gbsm4f($sdxs81->$dhgj82,$this->qkuz24()->qkxk25());$xtqr26[$jftx4e][base64_decode('dXJs')]=$sdxs81->$dhgj82;$xtqr26[$jftx4e][base64_decode('ZW50cnk=')]=$bdtz45 instanceof Entry?$bdtz45->qkxk25():false;$jybe36=$sdxs81->$gxhd83;if(false!==$bdtz45&&!(empty($jybe36))){$ormy5d->ihli6b($bdtz45,$jybe36);$this->$zuhs52->ocwg5a($bdtz45);$this->$zuhs52->iysy54();}}return $this->xkil2d($xtqr26);}/**
     * Replace the hashedUrl keys in $results with the unhashed URL from the
     * request, as recorded in $urlHashMap.
     */ private function rmfi10(array$xtqr26,array$tuuq1f){$ztay86=[];foreach($xtqr26 as $ngcz87=>$mlpc27){if(isset($tuuq1f[$ngcz87])){$ztay86[$tuuq1f[$ngcz87]]=$mlpc27;}else{$ztay86[$ngcz87]=$mlpc27;}}return $ztay86;}/**
     * Retrieve value from the request.
     * Used for POST & PATCH on a an entry.
     *
     * @return array
     */ private function keeb11(Request $cvny14){return[base64_decode('dGl0bGU=')=>$cvny14->$hzgb5e->uauz19(base64_decode('dGl0bGU=')),base64_decode('dGFncw==')=>$cvny14->$hzgb5e->uauz19(base64_decode('dGFncw=='),[]),base64_decode('aXNBcmNoaXZlZA==')=>$cvny14->$hzgb5e->uauz19(base64_decode('YXJjaGl2ZQ==')),base64_decode('aXNTdGFycmVk')=>$cvny14->$hzgb5e->uauz19(base64_decode('c3RhcnJlZA==')),base64_decode('aXNQdWJsaWM=')=>$cvny14->$hzgb5e->uauz19(base64_decode('cHVibGlj')),base64_decode('Y29udGVudA==')=>$cvny14->$hzgb5e->uauz19(base64_decode('Y29udGVudA==')),base64_decode('bGFuZ3VhZ2U=')=>$cvny14->$hzgb5e->uauz19(base64_decode('bGFuZ3VhZ2U=')),base64_decode('cGljdHVyZQ==')=>$cvny14->$hzgb5e->uauz19(base64_decode('cHJldmlld19waWN0dXJl')),base64_decode('cHVibGlzaGVkQXQ=')=>$cvny14->$hzgb5e->uauz19(base64_decode('cHVibGlzaGVkX2F0')),base64_decode('YXV0aG9ycw==')=>$cvny14->$hzgb5e->uauz19(base64_decode('YXV0aG9ycw=='),''),base64_decode('b3JpZ2luX3VybA==')=>$cvny14->$hzgb5e->uauz19(base64_decode('b3JpZ2luX3VybA=='),''),];}}?>

Did this file decode correctly?

Original Code

<?php namespace Wallabag\Controller\Api;use Hateoas\Configuration\Route as HateoasRoute;use Hateoas\Representation\Factory\PagerfantaFactory;use Nelmio\ApiDocBundle\Annotation\Operation;use OpenApi\Annotations as OA;use Pagerfanta\Pagerfanta;use Psr\Log\LoggerInterface;use Symfony\Component\EventDispatcher\EventDispatcherInterface;use Symfony\Component\HttpFoundation\JsonResponse;use Symfony\Component\HttpFoundation\Request;use Symfony\Component\HttpFoundation\Response;use Symfony\Component\HttpKernel\Exception\BadRequestHttpException;use Symfony\Component\HttpKernel\Exception\HttpException;use Symfony\Component\Routing\Annotation\Route;use Wallabag\Entity\Entry;use Wallabag\Entity\Tag;use Wallabag\Event\EntryDeletedEvent;use Wallabag\Event\EntrySavedEvent;use Wallabag\Helper\ContentProxy;use Wallabag\Helper\EntriesExport;use Wallabag\Helper\TagsAssigner;use Wallabag\Helper\UrlHasher;use Wallabag\Repository\EntryRepository;use Wallabag\Repository\TagRepository;class ubrl12 extends ryro13{/**
     * Check if an entry exist by url.
     * Return ID if entry(ies) exist (and if you give the return_id parameter).
     * Otherwise it returns false.
     *
     * @todo Remove that `return_id` in the next major release
     *
     * @Operation(
     *     tags={"Entries"},
     *     summary="Check if an entry exist by url.",
     *     @OA\Parameter(
     *         name="return_id",
     *         in="query",
     *         description="Set 1 if you want to retrieve ID in case entry(ies) exists, 0 by default",
     *         required=false,
     *         @OA\Schema(
     *             type="string",
     *             enum={"1", "0"},
     *             default="0"
     *         )
     *     ),
     *     @OA\Parameter(
     *         name="url",
     *         in="query",
     *         description="DEPRECATED, use hashed_url instead. An url",
     *         required=true,
     *         @OA\Schema(type="string")
     *     ),
     *     @OA\Parameter(
     *         name="urls",
     *         in="query",
     *         description="DEPRECATED, use hashed_urls instead. An array of urls (?urls[]=http...&urls[]=http...)",
     *         required=false,
     *         @OA\Schema(type="string")
     *     ),
     *     @OA\Parameter(
     *         name="hashed_url",
     *         in="query",
     *         description="Hashed url using SHA1 to check if it exists. A hashed url",
     *         required=false,
     *         @OA\Schema(type="string")
     *     ),
     *     @OA\Parameter(
     *         name="hashed_urls",
     *         in="query",
     *         description="An array of hashed urls using SHA1 to check if they exist. An array of hashed urls (?hashed_urls[]=xxx...&hashed_urls[]=xxx...)",
     *         required=false,
     *         @OA\Schema(type="string")
     *     ),
     *     @OA\Response(
     *         response="200",
     *         description="Returned when successful"
     *     )
     * )
     *
     * @Route("/api/entries/exists.{_format}", methods={"GET"}, name="api_get_entries_exists", defaults={"_format": "json"})
     *
     * @return JsonResponse
     */ public function ysza0(Request $cvny14,EntryRepository $ljna15){$this->zkby16();$gzxx17=(null===$cvny14->$qgol18->uauz19(base64_decode('cmV0dXJuX2lk')))?false:(bool)$cvny14->$qgol18->uauz19(base64_decode('cmV0dXJuX2lk'));$qqfu1a=$cvny14->$qgol18->flyf1b(base64_decode('aGFzaGVkX3VybHM='));$cxqw1c=$cvny14->$qgol18->uauz19(base64_decode('aGFzaGVkX3VybA=='),'');if(!empty($cxqw1c)){$qqfu1a[]=$cxqw1c;}$essc1d=$cvny14->$qgol18->flyf1b(base64_decode('dXJscw=='));$trpj1e=$cvny14->$qgol18->uauz19(base64_decode('dXJs'),'');if(!empty($trpj1e)){$essc1d[]=$trpj1e;}$tuuq1f=[];foreach($essc1d as $itpc20){$qmoc21=UrlHasher::zmwd22($itpc20);$qqfu1a[]=$qmoc21;$tuuq1f[$qmoc21]=$itpc20;}if(empty($qqfu1a)){throw $this->trqv23(base64_decode('VVJMIGlzIGVtcHR5PywgbG9nZ2VkIHVzZXIgaWQ6IA==').$this->qkuz24()->qkxk25());}$xtqr26=array_fill_keys($qqfu1a,null);$mlpc27=$ljna15->ildr28($this->qkuz24()->qkxk25(),$qqfu1a);foreach($mlpc27 as $tikk29){$zuqp2a=array_keys($qqfu1a,base64_decode('YmxhaA=='),true);if([]!==array_keys($qqfu1a,$tikk29[base64_decode('aGFzaGVkVXJs')],true)){$zuqp2a=$tikk29[base64_decode('aGFzaGVkVXJs')];}elseif([]!==array_keys($qqfu1a,$tikk29[base64_decode('aGFzaGVkR2l2ZW5Vcmw=')],true)){$zuqp2a=$tikk29[base64_decode('aGFzaGVkR2l2ZW5Vcmw=')];}else{continue;}$xtqr26[$zuqp2a]=$tikk29[base64_decode('aWQ=')];}if(false===$gzxx17){$xtqr26=array_map(function($kzrc2b){return null!==$kzrc2b;},$xtqr26);}$xtqr26=$this->rmfi10($xtqr26,$tuuq1f);if(!empty($trpj1e)||!empty($cxqw1c)){$kqwm2c=array_keys($xtqr26)[0];return $this->xkil2d([base64_decode('ZXhpc3Rz')=>$xtqr26[$kqwm2c]]);}return $this->xkil2d($xtqr26);}/**
     * Retrieve all entries. It could be filtered by many options.
     *
     * @Operation(
     *     tags={"Entries"},
     *     summary="Retrieve all entries. It could be filtered by many options.",
     *     @OA\Parameter(
     *         name="archive",
     *         in="query",
     *         description="filter by archived status. all entries by default.",
     *         required=false,
     *         @OA\Schema(
     *             type="integer",
     *             enum={"1", "0"},
     *             default="0"
     *         )
     *     ),
     *     @OA\Parameter(
     *         name="starred",
     *         in="query",
     *         description="filter by starred status. all entries by default",
     *         required=false,
     *         @OA\Schema(
     *             type="integer",
     *             enum={"1", "0"},
     *             default="0"
     *         )
     *     ),
     *     @OA\Parameter(
     *         name="notParsed",
     *         in="query",
     *         description="filter by notParsed status. all entries by default",
     *         required=false,
     *         @OA\Schema(
     *             type="integer",
     *             enum={"1", "0"},
     *             default="0"
     *         )
     *     ),
     *     @OA\Parameter(
     *         name="sort",
     *         in="query",
     *         description="sort entries by date.",
     *         required=false,
     *         @OA\Schema(
     *             type="string",
     *             enum={"created", "updated", "archived"},
     *             default="created"
     *         )
     *     ),
     *     @OA\Parameter(
     *         name="order",
     *         in="query",
     *         description="order of sort.",
     *         required=false,
     *         @OA\Schema(
     *             type="string",
     *             enum={"asc", "desc"},
     *             default="desc"
     *         )
     *     ),
     *     @OA\Parameter(
     *         name="page",
     *         in="query",
     *         description="what page you want.",
     *         required=false,
     *         @OA\Schema(
     *             type="integer",
     *             default=1
     *         )
     *     ),
     *     @OA\Parameter(
     *         name="perPage",
     *         in="query",
     *         description="results per page.",
     *         required=false,
     *         @OA\Schema(
     *             type="integer",
     *             default=30
     *         )
     *     ),
     *     @OA\Parameter(
     *         name="tags",
     *         in="query",
     *         description="a comma-seperated list of tags url encoded. Will returns entries that matches ALL tags.",
     *         required=false,
     *         @OA\Schema(
     *             type="string",
     *             example="api,rest"
     *         )
     *     ),
     *     @OA\Parameter(
     *         name="since",
     *         in="query",
     *         description="The timestamp since when you want entries updated.",
     *         required=false,
     *         @OA\Schema(
     *             type="integer",
     *             default=0
     *         )
     *     ),
     *     @OA\Parameter(
     *         name="public",
     *         in="query",
     *         description="filter by entries with a public link. all entries by default",
     *         required=false,
     *         @OA\Schema(
     *             type="integer",
     *             enum={"1", "0"},
     *             default="0"
     *         )
     *     ),
     *     @OA\Parameter(
     *         name="detail",
     *         in="query",
     *         description="include content field if 'full'. 'full' by default for backward compatibility.",
     *         required=false,
     *         @OA\Schema(
     *             type="string",
     *             enum={"metadata", "full"},
     *             default="full"
     *         )
     *     ),
     *     @OA\Parameter(
     *         name="domain_name",
     *         in="query",
     *         description="filter entries with the given domain name",
     *         required=false,
     *         @OA\Schema(
     *             type="string",
     *             example="example.com",
     *         )
     *     ),
     *     @OA\Response(
     *         response="200",
     *         description="Returned when successful"
     *     )
     * )
     *
     * @Route("/api/entries.{_format}", methods={"GET"}, name="api_get_entries", defaults={"_format": "json"})
     *
     * @return JsonResponse
     */ public function aucc2(Request $cvny14,EntryRepository $ljna15){$this->zkby16();$iexi2e=(null===$cvny14->$qgol18->uauz19(base64_decode('YXJjaGl2ZQ==')))?null:(bool)$cvny14->$qgol18->uauz19(base64_decode('YXJjaGl2ZQ=='));$oavv2f=(null===$cvny14->$qgol18->uauz19(base64_decode('c3RhcnJlZA==')))?null:(bool)$cvny14->$qgol18->uauz19(base64_decode('c3RhcnJlZA=='));$tvtn30=(null===$cvny14->$qgol18->uauz19(base64_decode('cHVibGlj')))?null:(bool)$cvny14->$qgol18->uauz19(base64_decode('cHVibGlj'));$cvlm31=(null===$cvny14->$qgol18->uauz19(base64_decode('bm90UGFyc2Vk')))?null:(bool)$cvny14->$qgol18->uauz19(base64_decode('bm90UGFyc2Vk'));$yoqt32=strtolower($cvny14->$qgol18->uauz19(base64_decode('c29ydA=='),base64_decode('Y3JlYXRlZA==')));$oqgp33=strtolower($cvny14->$qgol18->uauz19(base64_decode('b3JkZXI='),base64_decode('ZGVzYw==')));$jdee34=(int)$cvny14->$qgol18->uauz19(base64_decode('cGFnZQ=='),1);$cwlw35=(int)$cvny14->$qgol18->uauz19(base64_decode('cGVyUGFnZQ=='),30);$jybe36=\is_array($cvny14->$qgol18->uauz19(base64_decode('dGFncw==')))?'':(string)$cvny14->$qgol18->uauz19(base64_decode('dGFncw=='),'');$iwpo37=$cvny14->$qgol18->uauz19(base64_decode('c2luY2U='),0);$bsqp38=strtolower($cvny14->$qgol18->uauz19(base64_decode('ZGV0YWls'),base64_decode('ZnVsbA==')));$dwue39=(null===$cvny14->$qgol18->uauz19(base64_decode('ZG9tYWluX25hbWU=')))?'':(string)$cvny14->$qgol18->uauz19(base64_decode('ZG9tYWluX25hbWU='));try{/** @var Pagerfanta $pager */ $oopl3a=$ljna15->kikk3b($this->qkuz24()->qkxk25(),$iexi2e,$oavv2f,$tvtn30,$yoqt32,$oqgp33,$iwpo37,$jybe36,$bsqp38,$dwue39,$cvlm31);}catch(\Exception $tikk29){throw new ibth3c($tikk29->dtfe3d());}$oopl3a->dicq3e($cwlw35);$oopl3a->emnl3f($jdee34);$mfyx40=new ooqp41(base64_decode('cGFnZQ=='),base64_decode('cGVyUGFnZQ=='));$ayvt42=$mfyx40->lhxf43($oopl3a,new nwub44(base64_decode('YXBpX2dldF9lbnRyaWVz'),[base64_decode('YXJjaGl2ZQ==')=>$iexi2e,base64_decode('c3RhcnJlZA==')=>$oavv2f,base64_decode('cHVibGlj')=>$tvtn30,base64_decode('bm90UGFyc2Vk')=>$cvlm31,base64_decode('c29ydA==')=>$yoqt32,base64_decode('b3JkZXI=')=>$oqgp33,base64_decode('cGFnZQ==')=>$jdee34,base64_decode('cGVyUGFnZQ==')=>$cwlw35,base64_decode('dGFncw==')=>$jybe36,base64_decode('c2luY2U=')=>$iwpo37,base64_decode('ZGV0YWls')=>$bsqp38,],true));return $this->xkil2d($ayvt42);}/**
     * Retrieve a single entry.
     *
     * @Operation(
     *     tags={"Entries"},
     *     summary="Retrieve a single entry.",
     *     @OA\Parameter(
     *         name="entry",
     *         in="path",
     *         description="The entry ID",
     *         required=true,
     *         @OA\Schema(
     *             type="integer",
     *             pattern="\w+",
     *         )
     *     ),
     *     @OA\Response(
     *         response="200",
     *         description="Returned when successful"
     *     )
     * )
     *
     * @Route("/api/entries/{entry}.{_format}", methods={"GET"}, name="api_get_entry", defaults={"_format": "json"})
     *
     * @return JsonResponse
     */ public function uqbo3(Entry $bdtz45){$this->zkby16();$this->xmzg46($bdtz45->qkuz24()->qkxk25());return $this->xkil2d($bdtz45);}/**
     * Retrieve a single entry as a predefined format.
     *
     * @Operation(
     *     tags={"Entries"},
     *     summary="Retrieve a single entry as a predefined format.",
     *     @OA\Parameter(
     *         name="entry",
     *         in="path",
     *         description="The entry ID",
     *         required=true,
     *         @OA\Schema(
     *             type="integer",
     *             pattern="\w+",
     *         )
     *     ),
     *     @OA\Parameter(
     *         name="_format",
     *         in="path",
     *         description="",
     *         required=true,
     *         @OA\Schema(
     *             type="string",
     *             enum={"xml", "json", "txt", "csv", "pdf", "epub"},
     *         )
     *     ),
     *     @OA\Response(
     *         response="200",
     *         description="Returned when successful"
     *     )
     * )
     *
     * @Route("/api/entries/{entry}/export.{_format}", methods={"GET"}, name="api_get_entry_export", defaults={"_format": "json"})
     *
     * @return Response
     */ public function pmbe4(Entry $bdtz45,Request $cvny14,EntriesExport $pnfu47){$this->zkby16();$this->xmzg46($bdtz45->qkuz24()->qkxk25());return $pnfu47->zvxd48($bdtz45)->ecwj49(base64_decode('ZW50cnk='))->zxcx4a(base64_decode('ZW50cnk='))->hmzx4b($cvny14->$ueni4c->uauz19(base64_decode('X2Zvcm1hdA==')));}/**
     * Handles an entries list and delete URL.
     *
     * @Operation(
     *     tags={"Entries"},
     *     summary="Handles an entries list and delete URL.",
     *     @OA\Parameter(
     *         name="urls",
     *         in="query",
     *         description="Urls (as an array) to delete. A JSON array of urls [{'url': 'http://...'}, {'url': 'http://...'}]",
     *         required=true,
     *         @OA\Schema(type="string")
     *     ),
     *     @OA\Response(
     *         response="200",
     *         description="Returned when successful"
     *     )
     * )
     *
     * @Route("/api/entries/list.{_format}", methods={"DELETE"}, name="api_delete_entries_list", defaults={"_format": "json"})
     *
     * @return JsonResponse
     */ public function zdee5(Request $cvny14,EntryRepository $ljna15,EventDispatcherInterface $cemb4d){$this->zkby16();$essc1d=json_decode($cvny14->$qgol18->uauz19(base64_decode('dXJscw=='),[]));if(empty($essc1d)){return $this->xkil2d([]);}$xtqr26=[];foreach($essc1d as $jftx4e=>$trpj1e){$bdtz45=$ljna15->gbsm4f($trpj1e,$this->qkuz24()->qkxk25());$xtqr26[$jftx4e][base64_decode('dXJs')]=$trpj1e;if(false!==$bdtz45){$cemb4d->rvhx50(new jgmh51($bdtz45),EntryDeletedEvent::NAME);$this->$zuhs52->ngxg53($bdtz45);$this->$zuhs52->iysy54();}$xtqr26[$jftx4e][base64_decode('ZW50cnk=')]=$bdtz45 instanceof Entry?true:false;}return $this->xkil2d($xtqr26);}/**
     * Handles an entries list and create URL.
     *
     * @Operation(
     *     tags={"Entries"},
     *     summary="Handles an entries list and create URL.",
     *     @OA\Parameter(
     *         name="urls",
     *         in="query",
     *         description="Urls (as an array) to create. A JSON array of urls [{'url': 'http://...'}, {'url': 'http://...'}]",
     *         required=true,
     *         @OA\Schema(type="string")
     *     ),
     *     @OA\Response(
     *         response="200",
     *         description="Returned when successful"
     *     )
     * )
     *
     * @Route("/api/entries/lists.{_format}", methods={"POST"}, name="api_post_entries_list", defaults={"_format": "json"})
     *
     * @throws HttpException When limit is reached
     *
     * @return JsonResponse
     */ public function qoxh6(Request $cvny14,EntryRepository $ljna15,EventDispatcherInterface $cemb4d,ContentProxy $ticf55){$this->zkby16();$essc1d=json_decode($cvny14->$qgol18->uauz19(base64_decode('dXJscw=='),[]));$rrry56=$this->lxkb57(base64_decode('d2FsbGFiYWcuYXBpX2xpbWl0X21hc3NfYWN0aW9ucw=='));if(\count($essc1d)>$rrry56){throw new ibth3c(base64_decode('QVBJIGxpbWl0IHJlYWNoZWQ='));}$xtqr26=[];if(empty($essc1d)){return $this->xkil2d($xtqr26);}foreach($essc1d as $jftx4e=>$trpj1e){$bdtz45=$ljna15->gbsm4f($trpj1e,$this->qkuz24()->qkxk25());$xtqr26[$jftx4e][base64_decode('dXJs')]=$trpj1e;if(false===$bdtz45){$bdtz45=new scoo58($this->qkuz24());$ticf55->ywle59($bdtz45,$trpj1e);}$this->$zuhs52->ocwg5a($bdtz45);$this->$zuhs52->iysy54();$xtqr26[$jftx4e][base64_decode('ZW50cnk=')]=$bdtz45 instanceof Entry?$bdtz45->qkxk25():false;$cemb4d->rvhx50(new smbm5b($bdtz45),EntrySavedEvent::NAME);}return $this->xkil2d($xtqr26);}/**
     * Create an entry.
     *
     * If you want to provide the HTML content (which means wallabag won't fetch it from the url), you must provide `content`, `title` & `url` fields **non-empty**.
     * Otherwise, content will be fetched as normal from the url and values will be overwritten.
     *
     * @Operation(
     *     tags={"Entries"},
     *     summary="Create an entry.",
     *     @OA\Parameter(
     *         name="url",
     *         in="query",
     *         description="Url for the entry.",
     *         required=true,
     *         @OA\Schema(
     *             type="string",
     *             example="http://www.test.com/article.html"
     *         )
     *     ),
     *     @OA\Parameter(
     *         name="title",
     *         in="query",
     *         description="Optional, we'll get the title from the page.",
     *         required=false,
     *         @OA\Schema(
     *             type="string",
     *         )
     *     ),
     *     @OA\Parameter(
     *         name="tags",
     *         in="query",
     *         description="a comma-separated list of tags.",
     *         required=false,
     *         @OA\Schema(
     *             type="string",
     *             example="tag1,tag2,tag3"
     *         )
     *     ),
     *     @OA\Parameter(
     *         name="archive",
     *         in="query",
     *         description="entry already archived",
     *         required=false,
     *         @OA\Schema(
     *             type="integer",
     *             enum={"1", "0"},
     *             default="0"
     *         )
     *     ),
     *     @OA\Parameter(
     *         name="starred",
     *         in="query",
     *         description="entry already starred",
     *         required=false,
     *         @OA\Schema(
     *             type="integer",
     *             enum={"1", "0"},
     *             default="0"
     *         )
     *     ),
     *     @OA\Parameter(
     *         name="content",
     *         in="query",
     *         description="Content of the entry",
     *         required=false,
     *         @OA\Schema(
     *             type="string"
     *         )
     *     ),
     *     @OA\Parameter(
     *         name="language",
     *         in="query",
     *         description="Language of the entry",
     *         required=false,
     *         @OA\Schema(
     *             type="string"
     *         )
     *     ),
     *     @OA\Parameter(
     *         name="preview_picture",
     *         in="query",
     *         description="Preview picture of the entry",
     *         required=false,
     *         @OA\Schema(
     *             type="string"
     *         )
     *     ),
     *     @OA\Parameter(
     *         name="published_at",
     *         in="query",
     *         description="Published date of the entry",
     *         required=false,
     *
     *         @OA\Schema(
     *             type="string",
     *             format="YYYY-MM-DDTHH:II:SS+TZ or a timestamp (integer)",
     *         )
     *     ),
     *     @OA\Parameter(
     *         name="authors",
     *         in="query",
     *         description="Authors of the entry",
     *         required=false,
     *         @OA\Schema(
     *             type="string",
     *             example="Name Firstname,author2,author3"
     *         )
     *     ),
     *     @OA\Parameter(
     *         name="public",
     *         in="query",
     *         description="will generate a public link for the entry",
     *         required=false,
     *         @OA\Schema(
     *             type="integer",
     *             enum={"1", "0"},
     *             default="0"
     *         )
     *     ),
     *     @OA\Parameter(
     *         name="origin_url",
     *         in="query",
     *         description="Origin url for the entry (from where you found it).",
     *         required=false,
     *         @OA\Schema(
     *             type="string",
     *             example="http://www.test.com/article.html"
     *         )
     *     ),
     *     @OA\Response(
     *         response="200",
     *         description="Returned when successful"
     *     )
     * )
     *
     * @Route("/api/entries.{_format}", methods={"POST"}, name="api_post_entries", defaults={"_format": "json"})
     *
     * @return JsonResponse
     */ public function ntix7(Request $cvny14,EntryRepository $ljna15,ContentProxy $ticf55,LoggerInterface $qnvj5c,TagsAssigner $ormy5d,EventDispatcherInterface $cemb4d){$this->zkby16();$trpj1e=$cvny14->$hzgb5e->uauz19(base64_decode('dXJs'));$bdtz45=$ljna15->gbsm4f($trpj1e,$this->qkuz24()->qkxk25());if(false===$bdtz45){$bdtz45=new scoo58($this->qkuz24());$bdtz45->fuuj5f($trpj1e);}$dzaq60=$this->keeb11($cvny14);try{$ticf55->ywle59($bdtz45,$bdtz45->subs61(),[base64_decode('dGl0bGU=')=>!empty($dzaq60[base64_decode('dGl0bGU=')])?$dzaq60[base64_decode('dGl0bGU=')]:$bdtz45->coeg62(),base64_decode('aHRtbA==')=>!empty($dzaq60[base64_decode('Y29udGVudA==')])?$dzaq60[base64_decode('Y29udGVudA==')]:$bdtz45->jjby63(),base64_decode('dXJs')=>$bdtz45->subs61(),base64_decode('bGFuZ3VhZ2U=')=>!empty($dzaq60[base64_decode('bGFuZ3VhZ2U=')])?$dzaq60[base64_decode('bGFuZ3VhZ2U=')]:$bdtz45->gbzz64(),base64_decode('ZGF0ZQ==')=>!empty($dzaq60[base64_decode('cHVibGlzaGVkQXQ=')])?$dzaq60[base64_decode('cHVibGlzaGVkQXQ=')]:$bdtz45->xwlq65(),base64_decode('aW1hZ2U=')=>!empty($dzaq60[base64_decode('cGljdHVyZQ==')])?$dzaq60[base64_decode('cGljdHVyZQ==')]:$bdtz45->hklz66(),base64_decode('YXV0aG9ycw==')=>\is_string($dzaq60[base64_decode('YXV0aG9ycw==')])?explode(base64_decode('LA=='),$dzaq60[base64_decode('YXV0aG9ycw==')]):$bdtz45->smfj67(),]);}catch(\Exception $tikk29){$qnvj5c->syby68(base64_decode('RXJyb3Igd2hpbGUgc2F2aW5nIGFuIGVudHJ5'),[base64_decode('ZXhjZXB0aW9u')=>$tikk29,base64_decode('ZW50cnk=')=>$bdtz45,]);}if(null!==$dzaq60[base64_decode('aXNBcmNoaXZlZA==')]){$bdtz45->mgvv69((bool)$dzaq60[base64_decode('aXNBcmNoaXZlZA==')]);}if(null!==$dzaq60[base64_decode('aXNTdGFycmVk')]){$bdtz45->staw6a((bool)$dzaq60[base64_decode('aXNTdGFycmVk')]);}if(!empty($dzaq60[base64_decode('dGFncw==')])){$ormy5d->ihli6b($bdtz45,$dzaq60[base64_decode('dGFncw==')]);}if(!empty($dzaq60[base64_decode('b3JpZ2luX3VybA==')])){$bdtz45->bszb6c($dzaq60[base64_decode('b3JpZ2luX3VybA==')]);}if(null!==$dzaq60[base64_decode('aXNQdWJsaWM=')]){if(true===(bool)$dzaq60[base64_decode('aXNQdWJsaWM=')]&&null===$bdtz45->watl6d()){$bdtz45->fazt6e();}elseif(false===(bool)$dzaq60[base64_decode('aXNQdWJsaWM=')]){$bdtz45->uumr6f();}}if(empty($bdtz45->pmql70())){$ticf55->cgkg71($bdtz45);}if(empty($bdtz45->coeg62())){$ticf55->tkrx72($bdtz45);}$this->$zuhs52->ocwg5a($bdtz45);$this->$zuhs52->iysy54();$cemb4d->rvhx50(new smbm5b($bdtz45),EntrySavedEvent::NAME);return $this->xkil2d($bdtz45);}/**
     * Change several properties of an entry.
     *
     * @Operation(
     *     tags={"Entries"},
     *     summary="Change several properties of an entry.",
     *     @OA\Parameter(
     *         name="entry",
     *         in="path",
     *         description="The entry ID",
     *         required=true,
     *         @OA\Schema(
     *             type="integer",
     *             pattern="\w+",
     *         )
     *     ),
     *     @OA\Parameter(
     *         name="title",
     *         in="query",
     *         description="",
     *         required=false,
     *         @OA\Schema(type="string")
     *     ),
     *     @OA\Parameter(
     *         name="tags",
     *         in="query",
     *         description="a comma-separated list of tags.",
     *         required=false,
     *         @OA\Schema(
     *             type="string",
     *             example="tag1,tag2,tag3",
     *         )
     *     ),
     *     @OA\Parameter(
     *         name="archive",
     *         in="query",
     *         description="archived the entry.",
     *         required=false,
     *         @OA\Schema(
     *             type="integer",
     *             enum={"1", "0"},
     *             default="0"
     *         )
     *     ),
     *     @OA\Parameter(
     *         name="starred",
     *         in="query",
     *         description="starred the entry.",
     *         required=false,
     *         @OA\Schema(
     *             type="integer",
     *             enum={"1", "0"},
     *             default="0"
     *         )
     *     ),
     *     @OA\Parameter(
     *         name="content",
     *         in="query",
     *         description="Content of the entry",
     *         required=false,
     *         @OA\Schema(type="string")
     *     ),
     *     @OA\Parameter(
     *         name="language",
     *         in="query",
     *         description="Language of the entry",
     *         required=false,
     *         @OA\Schema(type="string")
     *     ),
     *     @OA\Parameter(
     *         name="preview_picture",
     *         in="query",
     *         description="Preview picture of the entry",
     *         required=false,
     *         @OA\Schema(type="string")
     *     ),
     *     @OA\Parameter(
     *         name="published_at",
     *         in="query",
     *         description="Published date of the entry",
     *         required=false,
     *         @OA\Schema(
     *             type="datetime|integer",
     *             format="YYYY-MM-DDTHH:II:SS+TZ or a timestamp",
     *         )
     *     ),
     *     @OA\Parameter(
     *         name="authors",
     *         in="query",
     *         description="Authors of the entry",
     *         required=false,
     *         @OA\Schema(
     *             type="string",
     *             example="Name Firstname,author2,author3",
     *         )
     *     ),
     *     @OA\Parameter(
     *         name="public",
     *         in="query",
     *         description="will generate a public link for the entry",
     *         required=false,
     *         @OA\Schema(
     *             type="integer",
     *             enum={"1", "0"},
     *             default="0"
     *         )
     *     ),
     *     @OA\Parameter(
     *         name="origin_url",
     *         in="query",
     *         description="Origin url for the entry (from where you found it).",
     *         required=false,
     *         @OA\Schema(
     *             type="string",
     *             example="http://www.test.com/article.html",
     *         )
     *     ),
     *     @OA\Response(
     *         response="200",
     *         description="Returned when successful"
     *     )
     * )
     *
     * @Route("/api/entries/{entry}.{_format}", methods={"PATCH"}, name="api_patch_entries", defaults={"_format": "json"})
     *
     * @return JsonResponse
     */ public function kykd8(Entry $bdtz45,Request $cvny14,ContentProxy $ticf55,LoggerInterface $qnvj5c,TagsAssigner $ormy5d,EventDispatcherInterface $cemb4d){$this->zkby16();$this->xmzg46($bdtz45->qkuz24()->qkxk25());$dzaq60=$this->keeb11($cvny14);if(!empty($dzaq60[base64_decode('Y29udGVudA==')])){try{$ticf55->ywle59($bdtz45,$bdtz45->subs61(),[base64_decode('aHRtbA==')=>$dzaq60[base64_decode('Y29udGVudA==')],],true);}catch(\Exception $tikk29){$qnvj5c->syby68(base64_decode('RXJyb3Igd2hpbGUgc2F2aW5nIGFuIGVudHJ5'),[base64_decode('ZXhjZXB0aW9u')=>$tikk29,base64_decode('ZW50cnk=')=>$bdtz45,]);}}if(!empty($dzaq60[base64_decode('dGl0bGU=')])){$bdtz45->wwbh73($dzaq60[base64_decode('dGl0bGU=')]);}if(!empty($dzaq60[base64_decode('bGFuZ3VhZ2U=')])){$ticf55->vush74($bdtz45,$dzaq60[base64_decode('bGFuZ3VhZ2U=')]);}if(!empty($dzaq60[base64_decode('YXV0aG9ycw==')])&&\is_string($dzaq60[base64_decode('YXV0aG9ycw==')])){$bdtz45->rcvq75(explode(base64_decode('LA=='),$dzaq60[base64_decode('YXV0aG9ycw==')]));}if(!empty($dzaq60[base64_decode('cGljdHVyZQ==')])){$ticf55->clmp76($bdtz45,$dzaq60[base64_decode('cGljdHVyZQ==')]);}if(!empty($dzaq60[base64_decode('cHVibGlzaGVkQXQ=')])){$ticf55->ixnp77($bdtz45,$dzaq60[base64_decode('cHVibGlzaGVkQXQ=')]);}if(null!==$dzaq60[base64_decode('aXNBcmNoaXZlZA==')]){$bdtz45->mgvv69((bool)$dzaq60[base64_decode('aXNBcmNoaXZlZA==')]);}if(null!==$dzaq60[base64_decode('aXNTdGFycmVk')]){$bdtz45->staw6a((bool)$dzaq60[base64_decode('aXNTdGFycmVk')]);}if(!empty($dzaq60[base64_decode('dGFncw==')])){$bdtz45->smvo78();$ormy5d->ihli6b($bdtz45,$dzaq60[base64_decode('dGFncw==')]);}if(null!==$dzaq60[base64_decode('aXNQdWJsaWM=')]){if(true===(bool)$dzaq60[base64_decode('aXNQdWJsaWM=')]&&null===$bdtz45->watl6d()){$bdtz45->fazt6e();}elseif(false===(bool)$dzaq60[base64_decode('aXNQdWJsaWM=')]){$bdtz45->uumr6f();}}if(!empty($dzaq60[base64_decode('b3JpZ2luX3VybA==')])){$bdtz45->bszb6c($dzaq60[base64_decode('b3JpZ2luX3VybA==')]);}if(empty($bdtz45->pmql70())){$ticf55->cgkg71($bdtz45);}if(empty($bdtz45->coeg62())){$ticf55->tkrx72($bdtz45);}$this->$zuhs52->ocwg5a($bdtz45);$this->$zuhs52->iysy54();$cemb4d->rvhx50(new smbm5b($bdtz45),EntrySavedEvent::NAME);return $this->xkil2d($bdtz45);}/**
     * Reload an entry.
     * An empty response with HTTP Status 304 will be send if we weren't able to update the content (because it hasn't changed or we got an error).
     *
     * @Operation(
     *     tags={"Entries"},
     *     summary="Reload an entry.",
     *     @OA\Parameter(
     *         name="entry",
     *         in="path",
     *         description="The entry ID",
     *         required=true,
     *         @OA\Schema(
     *             type="integer",
     *             pattern="\w+",
     *         )
     *     ),
     *     @OA\Response(
     *         response="200",
     *         description="Returned when successful"
     *     )
     * )
     *
     * @Route("/api/entries/{entry}/reload.{_format}", methods={"PATCH"}, name="api_patch_entries_reload", defaults={"_format": "json"})
     *
     * @return JsonResponse
     */ public function xqsi9(Entry $bdtz45,ContentProxy $ticf55,LoggerInterface $qnvj5c,EventDispatcherInterface $cemb4d){$this->zkby16();$this->xmzg46($bdtz45->qkuz24()->qkxk25());try{$ticf55->ywle59($bdtz45,$bdtz45->subs61());}catch(\Exception $tikk29){$qnvj5c->syby68(base64_decode('RXJyb3Igd2hpbGUgc2F2aW5nIGFuIGVudHJ5'),[base64_decode('ZXhjZXB0aW9u')=>$tikk29,base64_decode('ZW50cnk=')=>$bdtz45,]);return new gjjr79([],304);}if($this->lxkb57(base64_decode('d2FsbGFiYWcuZmV0Y2hpbmdfZXJyb3JfbWVzc2FnZQ=='))===$bdtz45->jjby63()){return new gjjr79([],304);}$this->$zuhs52->ocwg5a($bdtz45);$this->$zuhs52->iysy54();$cemb4d->rvhx50(new smbm5b($bdtz45),EntrySavedEvent::NAME);return $this->xkil2d($bdtz45);}/**
     * Delete **permanently** an entry.
     *
     * @Operation(
     *     tags={"Entries"},
     *     summary="Delete permanently an entry.",
     *     @OA\Parameter(
     *         name="expect",
     *         in="query",
     *         description="Only returns the id instead of the deleted entry's full entity if 'id' is specified.",
     *         required=false,
     *         @OA\Schema(
     *             type="string",
     *             enum={"id", "entry"},
     *             default="entry"
     *         )
     *     ),
     *     @OA\Response(
     *         response="200",
     *         description="Returned when successful"
     *     )
     * )
     *
     * @Route("/api/entries/{entry}.{_format}", methods={"DELETE"}, name="api_delete_entries", defaults={"_format": "json"})
     *
     * @return JsonResponse
     */ public function xgvka(Entry $bdtz45,Request $cvny14,EventDispatcherInterface $cemb4d){$tkyx7a=$cvny14->$qgol18->uauz19(base64_decode('ZXhwZWN0'),base64_decode('ZW50cnk='));if(!\in_array($tkyx7a,[base64_decode('aWQ='),base64_decode('ZW50cnk=')],true)){throw new ibth3c(sprintf(base64_decode('ZXhwZWN0OiAnaWQnIG9yICdlbnRyeScgZXhwZWN0ZWQsICVzIGdpdmVu'),$tkyx7a));}$this->zkby16();$this->xmzg46($bdtz45->qkuz24()->qkxk25());$ojel7b=$this->xkil2d([base64_decode('aWQ=')=>$bdtz45->qkxk25(),]);if(base64_decode('ZW50cnk=')===$tkyx7a){$tikk29=clone $bdtz45;$ojel7b=$this->xkil2d($tikk29);}$cemb4d->rvhx50(new jgmh51($bdtz45),EntryDeletedEvent::NAME);$this->$zuhs52->ngxg53($bdtz45);$this->$zuhs52->iysy54();return $ojel7b;}/**
     * Retrieve all tags for an entry.
     *
     * @Operation(
     *     tags={"Entries"},
     *     summary="Retrieve all tags for an entry.",
     *     @OA\Parameter(
     *         name="entry",
     *         in="path",
     *         description="The entry ID",
     *         required=true,
     *         @OA\Schema(
     *             type="integer",
     *             pattern="\w+",
     *         )
     *     ),
     *     @OA\Response(
     *         response="200",
     *         description="Returned when successful"
     *     )
     * )
     *
     * @Route("/api/entries/{entry}/tags.{_format}", methods={"GET"}, name="api_get_entries_tags", defaults={"_format": "json"})
     *
     * @return JsonResponse
     */ public function pksub(Entry $bdtz45){$this->zkby16();$this->xmzg46($bdtz45->qkuz24()->qkxk25());return $this->xkil2d($bdtz45->higt7c());}/**
     * Add one or more tags to an entry.
     *
     * @Operation(
     *     tags={"Entries"},
     *     summary="Add one or more tags to an entry.",
     *     @OA\Parameter(
     *         name="entry",
     *         in="path",
     *         description="The entry ID",
     *         required=true,
     *         @OA\Schema(
     *             type="integer",
     *             pattern="\w+",
     *         )
     *     ),
     *     @OA\Parameter(
     *         name="tags",
     *         in="query",
     *         description="a comma-separated list of tags.",
     *         required=false,
     *         @OA\Schema(
     *             type="string",
     *             example="tag1,tag2,tag3",
     *         )
     *     ),
     *     @OA\Response(
     *         response="200",
     *         description="Returned when successful"
     *     )
     * )
     *
     * @Route("/api/entries/{entry}/tags.{_format}", methods={"POST"}, name="api_post_entries_tags", defaults={"_format": "json"})
     *
     * @return JsonResponse
     */ public function jjcgc(Request $cvny14,Entry $bdtz45,TagsAssigner $ormy5d){$this->zkby16();$this->xmzg46($bdtz45->qkuz24()->qkxk25());$jybe36=$cvny14->$hzgb5e->uauz19(base64_decode('dGFncw=='),'');if(!empty($jybe36)){$ormy5d->ihli6b($bdtz45,$jybe36);}$this->$zuhs52->ocwg5a($bdtz45);$this->$zuhs52->iysy54();return $this->xkil2d($bdtz45);}/**
     * Permanently remove one tag for an entry.
     *
     * @Operation(
     *     tags={"Entries"},
     *     summary="Permanently remove one tag for an entry.",
     *     @OA\Parameter(
     *         name="entry",
     *         in="path",
     *         description="The entry ID",
     *         required=true,
     *         @OA\Schema(
     *             type="integer",
     *             pattern="\w+",
     *         )
     *     ),
     *     @OA\Parameter(
     *         name="tag",
     *         in="path",
     *         description="The tag ID",
     *         required=true,
     *         @OA\Schema(
     *             type="integer",
     *             pattern="\w+",
     *         )
     *     ),
     *     @OA\Response(
     *         response="200",
     *         description="Returned when successful"
     *     )
     * )
     *
     * @Route("/api/entries/{entry}/tags/{tag}.{_format}", methods={"DELETE"}, name="api_delete_entries_tags", defaults={"_format": "json"})
     *
     * @return JsonResponse
     */ public function bjhfd(Entry $bdtz45,Tag $hlrf7d){$this->zkby16();$this->xmzg46($bdtz45->qkuz24()->qkxk25());$bdtz45->jiwe7e($hlrf7d);$this->$zuhs52->ocwg5a($bdtz45);$this->$zuhs52->iysy54();return $this->xkil2d($bdtz45);}/**
     * Handles an entries list delete tags from them.
     *
     * @Operation(
     *     tags={"Entries"},
     *     summary="Handles an entries list delete tags from them.",
     *     @OA\Parameter(
     *         name="list",
     *         in="query",
     *         description="Urls (as an array) to handle. A JSON array of urls [{'url': 'http://...','tags': 'tag1, tag2'}, {'url': 'http://...','tags': 'tag1, tag2'}]",
     *         required=true,
     *         @OA\Schema(type="string")
     *     ),
     *     @OA\Response(
     *         response="200",
     *         description="Returned when successful"
     *     )
     * )
     *
     * @Route("/api/entries/tags/list.{_format}", methods={"DELETE"}, name="api_delete_entries_tags_list", defaults={"_format": "json"})
     *
     * @return JsonResponse
     */ public function nzybe(Request $cvny14,TagRepository $zqmz7f,EntryRepository $ljna15){$this->zkby16();$fmqn80=json_decode($cvny14->$qgol18->uauz19(base64_decode('bGlzdA=='),[]));if(empty($fmqn80)){return $this->xkil2d([]);}$xtqr26=[];foreach($fmqn80 as $jftx4e=>$sdxs81){$bdtz45=$ljna15->gbsm4f($sdxs81->$dhgj82,$this->qkuz24()->qkxk25());$xtqr26[$jftx4e][base64_decode('dXJs')]=$sdxs81->$dhgj82;$xtqr26[$jftx4e][base64_decode('ZW50cnk=')]=$bdtz45 instanceof Entry?$bdtz45->qkxk25():false;$jybe36=$sdxs81->$gxhd83;if(false!==$bdtz45&&!(empty($jybe36))){$jybe36=explode(base64_decode('LA=='),$jybe36);foreach($jybe36 as $qlch84){$qlch84=trim($qlch84);$hlrf7d=$zqmz7f->qcrh85($qlch84);if(false!==$hlrf7d){$bdtz45->jiwe7e($hlrf7d);}}$this->$zuhs52->ocwg5a($bdtz45);$this->$zuhs52->iysy54();}}return $this->xkil2d($xtqr26);}/**
     * Handles an entries list and add tags to them.
     *
     * @Operation(
     *     tags={"Entries"},
     *     summary="Handles an entries list and add tags to them.",
     *     @OA\Parameter(
     *         name="list",
     *         in="query",
     *         description="Urls (as an array) to handle. A JSON array of urls [{'url': 'http://...','tags': 'tag1, tag2'}, {'url': 'http://...','tags': 'tag1, tag2'}]",
     *         required=true,
     *         @OA\Schema(type="string")
     *     ),
     *     @OA\Response(
     *         response="200",
     *         description="Returned when successful"
     *     )
     * )
     *
     * @Route("/api/entries/tags/lists.{_format}", methods={"POST"}, name="api_post_entries_tags_list", defaults={"_format": "json"})
     *
     * @return JsonResponse
     */ public function qorcf(Request $cvny14,EntryRepository $ljna15,TagsAssigner $ormy5d){$this->zkby16();$fmqn80=json_decode($cvny14->$qgol18->uauz19(base64_decode('bGlzdA=='),[]));if(empty($fmqn80)){return $this->xkil2d([]);}$xtqr26=[];foreach($fmqn80 as $jftx4e=>$sdxs81){$bdtz45=$ljna15->gbsm4f($sdxs81->$dhgj82,$this->qkuz24()->qkxk25());$xtqr26[$jftx4e][base64_decode('dXJs')]=$sdxs81->$dhgj82;$xtqr26[$jftx4e][base64_decode('ZW50cnk=')]=$bdtz45 instanceof Entry?$bdtz45->qkxk25():false;$jybe36=$sdxs81->$gxhd83;if(false!==$bdtz45&&!(empty($jybe36))){$ormy5d->ihli6b($bdtz45,$jybe36);$this->$zuhs52->ocwg5a($bdtz45);$this->$zuhs52->iysy54();}}return $this->xkil2d($xtqr26);}/**
     * Replace the hashedUrl keys in $results with the unhashed URL from the
     * request, as recorded in $urlHashMap.
     */ private function rmfi10(array$xtqr26,array$tuuq1f){$ztay86=[];foreach($xtqr26 as $ngcz87=>$mlpc27){if(isset($tuuq1f[$ngcz87])){$ztay86[$tuuq1f[$ngcz87]]=$mlpc27;}else{$ztay86[$ngcz87]=$mlpc27;}}return $ztay86;}/**
     * Retrieve value from the request.
     * Used for POST & PATCH on a an entry.
     *
     * @return array
     */ private function keeb11(Request $cvny14){return[base64_decode('dGl0bGU=')=>$cvny14->$hzgb5e->uauz19(base64_decode('dGl0bGU=')),base64_decode('dGFncw==')=>$cvny14->$hzgb5e->uauz19(base64_decode('dGFncw=='),[]),base64_decode('aXNBcmNoaXZlZA==')=>$cvny14->$hzgb5e->uauz19(base64_decode('YXJjaGl2ZQ==')),base64_decode('aXNTdGFycmVk')=>$cvny14->$hzgb5e->uauz19(base64_decode('c3RhcnJlZA==')),base64_decode('aXNQdWJsaWM=')=>$cvny14->$hzgb5e->uauz19(base64_decode('cHVibGlj')),base64_decode('Y29udGVudA==')=>$cvny14->$hzgb5e->uauz19(base64_decode('Y29udGVudA==')),base64_decode('bGFuZ3VhZ2U=')=>$cvny14->$hzgb5e->uauz19(base64_decode('bGFuZ3VhZ2U=')),base64_decode('cGljdHVyZQ==')=>$cvny14->$hzgb5e->uauz19(base64_decode('cHJldmlld19waWN0dXJl')),base64_decode('cHVibGlzaGVkQXQ=')=>$cvny14->$hzgb5e->uauz19(base64_decode('cHVibGlzaGVkX2F0')),base64_decode('YXV0aG9ycw==')=>$cvny14->$hzgb5e->uauz19(base64_decode('YXV0aG9ycw=='),''),base64_decode('b3JpZ2luX3VybA==')=>$cvny14->$hzgb5e->uauz19(base64_decode('b3JpZ2luX3VybA=='),''),];}}?>

Function Calls

None

Variables

None

Stats

MD5 3cc0ded292fbf99477c47fe0392582c0
Eval Count 0
Decode Time 138 ms