+
    Ĝi
                     x    ^ RI Ht ^ RIHtHtHtHt ^ RIHt ^RI	H
t
 ^ RIHt  ! R R]4      t ! R R	4      tR
# )    )OrderedDict)BoolSequenceAliasConvertible)Serialisable)Rule)MultiCellRangec                      a  ] tR t^t o Rt]! ]R7      t]! R4      t	]
! RR7      t]! ]R7      t]! R4      tRR ltR	 tR
 tR tR tRtV tR# )ConditionalFormattingconditionalFormatting)expected_typesqrefT)
allow_nonecfRuleNc                *    Wn         W n        W0n        R # N)r   pivotr   )selfr   r   r   extLsts   &&&&&g/Users/mibo/.openclaw/workspace/.venv-ak/lib/python3.14/site-packages/openpyxl/formatting/formatting.py__init__ConditionalFormatting.__init__   s    

    c                n    \        WP                  4      '       g   R # V P                  VP                  8H  # )F)
isinstance	__class__r   )r   others   &&r   __eq__ConditionalFormatting.__eq__"   s'    %00zzU[[((r   c                ,    \        V P                  4      # r   )hashr   r   s   &r   __hash__ConditionalFormatting.__hash__(   s    DJJr   c                d    R P                  V P                  P                  V P                  R7      # )z<{cls} {cells}>)clscells)formatr   __name__r   r#   s   &r   __repr__ConditionalFormatting.__repr__,   s&     ''DNN,C,C4::'VVr   c                    WP                   9   # )z<
Check whether a certain cell is affected by the formatting
r   )r   coords   &&r   __contains__"ConditionalFormatting.__contains__0   s     

""r   )r   r   r   ) Nr2   N)r*   
__module____qualname____firstlineno__tagnamer   r
   r   r   r(   r   r   r   r	   r   rulesr   r   r$   r+   r0   __static_attributes____classdictcell____classdict__s   @r   r   r      sY     %Gn5E'NED!ED)F(OE) W# #r   r   c                   T   a  ] tR t^7t o RtR tR tR tR tR t	R t
R tR	 tR
tV tR# )ConditionalFormattingListzConditional formatting rules.c                2    \        4       V n        ^ V n        R# )r   N)r   	_cf_rulesmax_priorityr#   s   &r   r   "ConditionalFormattingList.__init__;   s    $r   c                `   Tp\        V\        4      '       d   \        V4      p\        V\        4      '       g   \	        R4      hTpV ;P
                  ^,          un        VP                  '       g   V P
                  Vn        V P                  P                  V. 4      P                  V4       R# )zhAdd a rule such as ColorScaleRule, FormulaRule or CellIsRule

The priority will be added automatically.
z<Only instances of openpyxl.formatting.rule.Rule may be addedN)
r   strr   r	   
ValueErrorr@   priorityr?   
setdefaultappend)r   range_stringr   cfrules   &&&  r   addConditionalFormattingList.add@   s    
 lC((&|4B&$''[\\Q}}} --DM!!"b)006r   c                ,    \        V P                  4      # r   )boolr?   r#   s   &r   __bool__"ConditionalFormattingList.__bool__R   s    DNN##r   c                ,    \        V P                  4      # r   )lenr?   r#   s   &r   __len__!ConditionalFormattingList.__len__V   s    4>>""r   c              #  h   "   V P                   P                  4        F  w  rW!n        Vx  K  	  R # 5ir   )r?   itemsr7   )r   rI   r7   s   &  r   __iter__"ConditionalFormattingList.__iter__Z   s(     --/IBHH 0s   02c                l    \        V\        4      '       d   \        VR7      pV P                  V,          # )z 
Get the rules for a cell range
r.   )r   rC   r   r?   r   keys   &&r   __getitem__%ConditionalFormattingList.__getitem__`   s*     c3'c2C~~c""r   c                8    \        VR 7      pV P                  V R# )r.   N)r   r?   rZ   s   &&r   __delitem__%ConditionalFormattingList.__delitem__i   s    ##.NN3r   c                (    V P                  W4       R# )z
Add a rule for a cell range
N)rK   )r   r[   rJ   s   &&&r   __setitem__%ConditionalFormattingList.__setitem__n   s     	r   )r?   r@   N)r*   r3   r4   r5   __doc__r   rK   rO   rS   rW   r\   r_   rb   r8   r9   r:   s   @r   r=   r=   7   s5     '
7$$## 
 r   r=   N)collectionsr   openpyxl.descriptorsr   r   r   r   !openpyxl.descriptors.serialisabler   rJ   r	   openpyxl.worksheet.cell_ranger
   r   r=   r2   r   r   <module>ri      s6    $  ;  8##L ##L; ;r   