<?php
$GLOBALS["__65da1b1ec2d6" . "653e8a0ab7848e" . "536215"] = (@$GLOBALS["__65da1b1ec2d6653e8a0ab7848e53" . "6215"] ?: array()) + array("page_" . "id" => base64_decode("cGFnZV9pZ" . "A=="), "_1a6a10bd09998ad0" . "ae2a2b4e0fd966e8" => base64_decode("U0NSSVBUX1V" . "SSQ=="), "_2aef71f10" . "3069bdb72b" . "57d0b3bd1d" . "294" => base64_decode("Q2Fubm90IGRpc3BsYX" . "kgY29tbWVudHMgLSBw" . "YWdlIG5vdCBpZGVudG" . "lmaWVk"), "_69c6236c" . "927bc93c5" . "d06207496" . "7d834d" => base64_decode("cGFnZ" . "V92ZX" . "JzaW9" . "u"));
class PublishCommentsComponent extends ClaCommentsComponent
{
    public function Show($attributes)
    {
        $_b2e2301cda45361416cebc466d340194 = PublishBrowser::Instance();
        $page_id = $_b2e2301cda45361416cebc466d340194->GetPageIdByUrl($_SERVER[$GLOBALS["__65da1b1ec2d6653e8a0ab7848e" . "536215"]["_1a6a10bd09" . "998ad0ae2a2" . "b4e0fd966e8"]]);
        if ($page_id < 0) {
            return $GLOBALS["__65da1b1ec2d66" . "53e8a0ab7848e53" . "6215"]["_2aef71f103069bdb72b57d" . "0b3bd1d294"];
        }
        $attributes[$GLOBALS["__65da1b1ec2d6653e8a" . "0ab7848e536215"]["page_" . "id"]] = $page_id;
        return parent::Show($attributes);
    }
    public function GetCommentsObject($attributes)
    {
        $comments = new PublishComments($attributes[$GLOBALS["__65da1b1ec2d6653e8a0ab7848e5362" . "15"]["pa" . "ge" . "_i" . "d"]], $attributes[$GLOBALS["__65da1b1ec2d6653e8a0ab7848" . "e536215"]["_69c6236c927bc93c5d062074" . "967d834d"]]);
        return $comments;
    }
}